Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: sync changes from main to develop #21

Merged
merged 1 commit into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v2
with:
fetch-depth: 1
fetch-depth: 0

- name: Sync with Remote Branch
run: |
git fetch origin
git reset --hard origin/${{ github.ref_name }}
- name: Install Dependencies
run: npm ci
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"engines": {
"node": "20.5.0"
},
"version": "1.9.0-rc.1",
"version": "1.9.1",
"module": "./dist/react-formiga-components.es.js",
"types": "./dist/index.d.ts",
"exports": {
Expand Down
4 changes: 2 additions & 2 deletions src/components/ui/FieldSet/FieldSet.styles.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import styled from "styled-components";

export const FieldSetElement = styled.fieldset<{ borderRadius?: string }>`
export const FieldSetElement = styled.fieldset<{ $borderRadius?: string }>`
padding: 0.5rem;
border-color: #d9d9d9;
border-width: 1px;
border-style: solid;
border-radius: ${(props) => props.borderRadius || "5px"};
border-radius: ${(props) => props.$borderRadius || "5px"};
font-family:
ui-sans-serif,
system-ui,
Expand Down
2 changes: 1 addition & 1 deletion src/components/ui/FieldSet/FieldSet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const FieldSet = (props: FieldSetProps): React.ReactElement => {
);

return (
<FieldSetElement borderRadius={`${borderRadius || token.borderRadius}px`}>
<FieldSetElement $borderRadius={`${borderRadius || token.borderRadius}px`}>
<Legend>{labelComponent}</Legend>
{children}
</FieldSetElement>
Expand Down
Loading