Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit 0ceaa20

Browse files
committed
feat: update packages
1 parent b72fcea commit 0ceaa20

File tree

12 files changed

+1348
-1152
lines changed

12 files changed

+1348
-1152
lines changed

apps/docs/package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@
1717
"@codefixlabs/ui": "workspace:*",
1818
"@faker-js/faker": "^8.3.1",
1919
"@hookform/resolvers": "^3.3.2",
20-
"@storybook/addon-a11y": "^7.6.1",
21-
"@storybook/addon-essentials": "^7.6.1",
22-
"@storybook/addon-interactions": "^7.6.1",
23-
"@storybook/addon-links": "^7.6.1",
24-
"@storybook/blocks": "^7.6.1",
25-
"@storybook/manager-api": "^7.6.1",
26-
"@storybook/nextjs": "^7.6.1",
27-
"@storybook/react": "^7.6.1",
20+
"@storybook/addon-a11y": "^7.6.3",
21+
"@storybook/addon-essentials": "^7.6.3",
22+
"@storybook/addon-interactions": "^7.6.3",
23+
"@storybook/addon-links": "^7.6.3",
24+
"@storybook/blocks": "^7.6.3",
25+
"@storybook/manager-api": "^7.6.3",
26+
"@storybook/nextjs": "^7.6.3",
27+
"@storybook/react": "^7.6.3",
2828
"@storybook/testing-library": "^0.2.2",
29-
"@storybook/theming": "^7.6.1",
30-
"@storybook/types": "^7.6.1",
29+
"@storybook/theming": "^7.6.3",
30+
"@storybook/types": "^7.6.3",
3131
"@tanstack/react-table": "^8.10.7",
3232
"class-variance-authority": "^0.7.0",
3333
"date-fns": "^2.30.0",
@@ -37,22 +37,22 @@
3737
"react-day-picker": "^8.9.1",
3838
"react-dom": "^18.2.0",
3939
"react-hook-form": "^7.48.2",
40-
"storybook": "^7.6.1",
41-
"tailwind-merge": "^2.0.0",
40+
"storybook": "^7.6.3",
41+
"tailwind-merge": "^2.1.0",
4242
"zod": "^3.22.4"
4343
},
4444
"devDependencies": {
4545
"@codefixlabs/tailwindcss": "workspace:*",
4646
"@codefixlabs/tsconfig": "workspace:*",
4747
"@next/eslint-plugin-next": "^14.0.3",
48-
"@types/node": "^20.10.1",
49-
"@types/react": "^18.2.39",
48+
"@types/node": "^20.10.3",
49+
"@types/react": "^18.2.42",
5050
"@types/react-dom": "^18.2.17",
5151
"autoprefixer": "^10.4.16",
52-
"chromatic": "^9.1.0",
52+
"chromatic": "^10.0.0",
5353
"eslint-config-codefixlabs": "workspace:*",
54-
"postcss": "^8.4.31",
55-
"tailwindcss": "^3.3.5",
54+
"postcss": "^8.4.32",
55+
"tailwindcss": "^3.3.6",
5656
"typescript": "^5.3.2"
5757
}
5858
}

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@
4949
"devDependencies": {
5050
"@changesets/cli": "^2.27.1",
5151
"@codefixlabs/tsconfig": "workspace:*",
52-
"eslint": "^8.54.0",
53-
"lint-staged": "^15.1.0",
52+
"eslint": "^8.55.0",
53+
"lint-staged": "^15.2.0",
5454
"prettier": "^3.1.0",
55-
"prettier-plugin-tailwindcss": "^0.5.7",
55+
"prettier-plugin-tailwindcss": "^0.5.9",
5656
"simple-git-hooks": "^2.9.0",
57-
"turbo": "^1.10.16"
57+
"turbo": "^1.11.0"
5858
},
5959
"packageManager": "[email protected]"
6060
}

packages/hooks/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @codefixlabs/hooks
22

3+
## 0.1.24
4+
5+
### Patch Changes
6+
7+
- Update packages
8+
39
## 0.1.23
410

511
### Patch Changes

packages/hooks/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@codefixlabs/hooks",
3-
"version": "0.1.23",
3+
"version": "0.1.24",
44
"license": "MIT",
55
"sideEffects": false,
66
"exports": {
@@ -40,7 +40,7 @@
4040
},
4141
"devDependencies": {
4242
"@codefixlabs/tsconfig": "workspace:*",
43-
"@types/react": "^18.2.39",
43+
"@types/react": "^18.2.42",
4444
"eslint-config-codefixlabs": "workspace:*",
4545
"tsup": "^8.0.1",
4646
"typescript": "^5.3.2"

packages/lib/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @codefixlabs/lib
22

3+
## 0.1.26
4+
5+
### Patch Changes
6+
7+
- Update packages
8+
39
## 0.1.25
410

511
### Patch Changes

packages/lib/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@codefixlabs/lib",
3-
"version": "0.1.25",
3+
"version": "0.1.26",
44
"license": "MIT",
55
"sideEffects": false,
66
"exports": {
@@ -49,7 +49,7 @@
4949
},
5050
"devDependencies": {
5151
"@codefixlabs/tsconfig": "workspace:*",
52-
"@types/react": "^18.2.39",
52+
"@types/react": "^18.2.42",
5353
"eslint-config-codefixlabs": "workspace:*",
5454
"tsup": "^8.0.1",
5555
"typescript": "^5.3.2"

packages/tailwindcss/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @codefixlabs/tailwindcss
22

3+
## 0.1.31
4+
5+
### Patch Changes
6+
7+
- Update packages
8+
39
## 0.1.30
410

511
### Patch Changes

packages/tailwindcss/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@codefixlabs/tailwindcss",
3-
"version": "0.1.30",
3+
"version": "0.1.31",
44
"license": "MIT",
55
"sideEffects": false,
66
"exports": {
@@ -36,7 +36,7 @@
3636
"dependencies": {
3737
"@tailwindcss/container-queries": "^0.1.1",
3838
"@tailwindcss/typography": "^0.5.10",
39-
"tailwindcss": "^3.3.5"
39+
"tailwindcss": "^3.3.6"
4040
},
4141
"devDependencies": {
4242
"@codefixlabs/tsconfig": "workspace:*",

packages/ui/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# @codefixlabs/ui
22

3+
## 0.1.61
4+
5+
### Patch Changes
6+
7+
- Update packages
8+
- Updated dependencies
9+
- @codefixlabs/hooks@0.1.24
10+
- @codefixlabs/lib@0.1.26
11+
312
## 0.1.60
413

514
### Patch Changes

packages/ui/package.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@codefixlabs/ui",
3-
"version": "0.1.60",
3+
"version": "0.1.61",
44
"license": "MIT",
55
"sideEffects": false,
66
"exports": {
@@ -67,19 +67,19 @@
6767
"@radix-ui/react-tooltip": "^1.0.7",
6868
"@tanstack/react-table": "^8.10.7",
6969
"@tanstack/table-core": "^8.10.7",
70-
"@tiptap/extension-highlight": "^2.1.12",
71-
"@tiptap/extension-image": "^2.1.12",
72-
"@tiptap/extension-table": "^2.1.12",
73-
"@tiptap/extension-table-cell": "^2.1.12",
74-
"@tiptap/extension-table-header": "^2.1.12",
75-
"@tiptap/extension-table-row": "^2.1.12",
76-
"@tiptap/extension-task-item": "^2.1.12",
77-
"@tiptap/extension-task-list": "^2.1.12",
78-
"@tiptap/extension-text-align": "^2.1.12",
79-
"@tiptap/extension-youtube": "^2.1.12",
80-
"@tiptap/pm": "^2.1.12",
81-
"@tiptap/react": "^2.1.12",
82-
"@tiptap/starter-kit": "^2.1.12",
70+
"@tiptap/extension-highlight": "^2.1.13",
71+
"@tiptap/extension-image": "^2.1.13",
72+
"@tiptap/extension-table": "^2.1.13",
73+
"@tiptap/extension-table-cell": "^2.1.13",
74+
"@tiptap/extension-table-header": "^2.1.13",
75+
"@tiptap/extension-table-row": "^2.1.13",
76+
"@tiptap/extension-task-item": "^2.1.13",
77+
"@tiptap/extension-task-list": "^2.1.13",
78+
"@tiptap/extension-text-align": "^2.1.13",
79+
"@tiptap/extension-youtube": "^2.1.13",
80+
"@tiptap/pm": "^2.1.13",
81+
"@tiptap/react": "^2.1.13",
82+
"@tiptap/starter-kit": "^2.1.13",
8383
"class-variance-authority": "^0.7.0",
8484
"clsx": "^2.0.0",
8585
"cmdk": "^0.2.0",
@@ -89,19 +89,19 @@
8989
"react": "^18.2.0",
9090
"react-day-picker": "^8.9.1",
9191
"react-hook-form": "^7.48.2",
92-
"tailwind-merge": "^2.0.0",
92+
"tailwind-merge": "^2.1.0",
9393
"use-debounce": "^10.0.0"
9494
},
9595
"devDependencies": {
9696
"@codefixlabs/tailwindcss": "workspace:*",
9797
"@codefixlabs/tsconfig": "workspace:*",
98-
"@types/node": "^20.10.1",
98+
"@types/node": "^20.10.3",
9999
"@types/pluralize": "^0.0.33",
100-
"@types/react": "^18.2.39",
100+
"@types/react": "^18.2.42",
101101
"autoprefixer": "^10.4.16",
102102
"eslint-config-codefixlabs": "workspace:*",
103-
"postcss": "^8.4.31",
104-
"tailwindcss": "^3.3.5",
103+
"postcss": "^8.4.32",
104+
"tailwindcss": "^3.3.6",
105105
"tsup": "^8.0.1",
106106
"typescript": "^5.3.2"
107107
},

packages/ui/src/react/input.tsx

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,16 @@ const inputVariants = cva('relative', {
6060
* Component: PrimitiveInput
6161
* -------------------------------------------------------------------------- */
6262

63+
type PrimitiveInputElement = React.ElementRef<'input'>;
64+
type PrimitiveInputProps = Omit<
65+
React.ComponentPropsWithoutRef<'input'>,
66+
'size'
67+
> &
68+
PrimitiveInputVariants;
69+
6370
export const PrimitiveInput = forwardRef<
64-
React.ElementRef<'input'>,
65-
Omit<React.ComponentPropsWithoutRef<'input'>, 'size'> & PrimitiveInputVariants
71+
PrimitiveInputElement,
72+
PrimitiveInputProps
6673
>(({ className, size, inline, ...props }, forwardedRef) => (
6774
<input
6875
className={twMerge(primitiveInputVariants({ inline, size }), className)}
@@ -78,8 +85,8 @@ PrimitiveInput.displayName = 'PrimitiveInput';
7885
* -------------------------------------------------------------------------- */
7986

8087
export const InputPassword = forwardRef<
81-
React.ElementRef<typeof PrimitiveInput>,
82-
Omit<React.ComponentPropsWithoutRef<typeof PrimitiveInput>, 'type'>
88+
PrimitiveInputElement,
89+
Omit<PrimitiveInputProps, 'type'>
8390
>(({ className, ...props }, forwardedRef) => {
8491
const [showPassword, setShowPassword] = useState(false);
8592
const type = showPassword ? 'text' : 'password';
@@ -117,8 +124,8 @@ InputPassword.displayName = 'InputPassword';
117124
* -------------------------------------------------------------------------- */
118125

119126
export const Input = forwardRef<
120-
React.ElementRef<typeof PrimitiveInput>,
121-
React.ComponentPropsWithoutRef<typeof PrimitiveInput> & {
127+
PrimitiveInputElement,
128+
PrimitiveInputProps & {
122129
startIcon?: React.ReactNode;
123130
endIcon?: React.ReactNode;
124131
classNames?: {

0 commit comments

Comments
 (0)