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

feat: Update dependencies, fix label size of Switch component #61

Merged
merged 7 commits into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
Changes from 6 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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

### Changed

- Update minor and patch versions of dependencies

## [1.0.7] - 2024-01-12

### Added
Expand Down
58 changes: 29 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,48 +61,48 @@
"@rollup/plugin-image": "^3.0.3",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.5",
"@storybook/addon-designs": "^7.0.5",
"@storybook/addon-essentials": "^7.5.3",
"@storybook/addon-links": "^7.5.3",
"@rollup/plugin-typescript": "^11.1.6",
"@storybook/addon-designs": "^7.0.9",
"@storybook/addon-essentials": "^7.6.8",
"@storybook/addon-links": "^7.6.8",
"@storybook/addon-styling": "^1.3.7",
"@storybook/blocks": "^7.5.3",
"@storybook/react": "^7.5.3",
"@storybook/react-webpack5": "^7.5.3",
"@storybook/blocks": "^7.6.8",
"@storybook/react": "^7.6.8",
"@storybook/react-webpack5": "^7.6.8",
"@storybook/storybook-deployer": "^2.8.16",
"@storybook/testing-library": "^0.2.2",
"@svgr/rollup": "^8.1.0",
"@svgr/webpack": "^8.1.0",
"@testing-library/jest-dom": "^6.1.3",
"@testing-library/react": "^14.0.0",
"@types/jest": "^29.5.5",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0",
"autoprefixer": "^10.4.15",
"@testing-library/jest-dom": "^6.2.0",
"@testing-library/react": "^14.1.2",
"@types/jest": "^29.5.11",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"autoprefixer": "^10.4.16",
"cross-env": "^7.0.3",
"eslint": "^8.49.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint": "^8.56.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-storybook": "^0.6.13",
"eslint-plugin-tailwindcss": "^3.13.0",
"eslint-plugin-testing-library": "^6.0.1",
"eslint-plugin-storybook": "^0.6.15",
"eslint-plugin-tailwindcss": "^3.14.0",
"eslint-plugin-testing-library": "^6.2.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.1.0",
"postcss": "^8.4.29",
"prettier": "^3.0.3",
"prettier-plugin-organize-imports": "^3.2.3",
"prettier-plugin-tailwindcss": "^0.5.4",
"rollup": "^4.5.0",
"lint-staged": "^15.2.0",
"postcss": "^8.4.33",
"prettier": "^3.2.2",
"prettier-plugin-organize-imports": "^3.2.4",
"prettier-plugin-tailwindcss": "^0.5.11",
"rollup": "^4.9.5",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-visualizer": "^5.9.2",
"storybook": "^7.5.3",
"tailwindcss": "^3.3.5",
"rollup-plugin-visualizer": "^5.12.0",
"storybook": "^7.6.8",
"tailwindcss": "^3.4.1",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
"typescript": "^5.3.3"
},
"bugs": {
"url": "https://github.com/aragon/ods/issues"
Expand Down
2 changes: 1 addition & 1 deletion src/components/input/useInputProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const useInputProps = (props: IInputComponentProps): IUseInputPropsResult
};

const inputClasses = classNames(
'h-full w-full rounded-xl px-4 py-3 caret-neutral-500 outline-none', // Default
'size-full rounded-xl px-4 py-3 caret-neutral-500 outline-none', // Default
'placeholder:text-base placeholder:font-normal placeholder:leading-tight placeholder:text-neutral-300', // Placeholder
inputClassName, // Prop
);
Expand Down
2 changes: 1 addition & 1 deletion src/components/switch/switch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const rootClassNames = classNames(
);

const thumbClassNames = classNames(
'block h-4 w-4 rounded-full bg-neutral-300 transition-transform duration-100 will-change-transform', // Default
'block size-4 rounded-full bg-neutral-300 transition-transform duration-100 will-change-transform', // Default
cgero-eth marked this conversation as resolved.
Show resolved Hide resolved
'data-[state=checked]:translate-x-[14px] data-[state=checked]:bg-primary-400', // State is checked
'group-disabled:bg-neutral-200 group-disabled:data-[state=checked]:bg-neutral-300', // Disabled
);
Expand Down
Loading