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

Commit 2b2a77d

Browse files
committed
Update package versions
Updated several dependencies and devDependencies in `packages/ui/package.json`, `app/docs/package.json` and `pnpm-lock.yaml`. This includes updates to version numbers for tanstack, tiptap, react-table, and clsx among others.
1 parent 172634f commit 2b2a77d

File tree

8 files changed

+11688
-8852
lines changed

8 files changed

+11688
-8852
lines changed

apps/docs/package.json

+40-36
Original file line numberDiff line numberDiff line change
@@ -6,54 +6,58 @@
66
"scripts": {
77
"build": "next build",
88
"build-storybook": "storybook build",
9-
"clean": "rm -rf .next && rm -rf .turbo && rm -rf node_modules",
10-
"dev": "next dev",
11-
"lint": "next lint",
9+
"clean": "rm -rf .next && rm -rf .turbo && rm -rf storybook-static && rm -rf node_modules",
10+
"dev": "concurrently -k -p \"[{name}]\" -n \"next,storybook\" -c \"cyan,yellow\" \"pnpm run dev-next\" \"pnpm run dev-storybook\"",
11+
"dev-next": "next dev --turbo",
12+
"dev-storybook": "storybook dev -p 6006 --no-open --quiet",
13+
"lint": "next lint --fix --max-warnings 0",
1214
"start": "next start",
13-
"storybook": "storybook dev -p 6006 --quiet"
15+
"start-storybook": "serve storybook-static",
16+
"storybook": "storybook dev -p 6006"
1417
},
1518
"dependencies": {
1619
"@codefixlabs/lib": "workspace:*",
1720
"@codefixlabs/ui": "workspace:*",
1821
"@faker-js/faker": "^8.4.1",
19-
"@hookform/resolvers": "^3.3.4",
20-
"@storybook/addon-a11y": "^8.0.0",
21-
"@storybook/addon-essentials": "^8.0.0",
22-
"@storybook/addon-interactions": "^8.0.0",
23-
"@storybook/addon-links": "^8.0.0",
24-
"@storybook/blocks": "^8.0.0",
25-
"@storybook/manager-api": "^8.0.0",
26-
"@storybook/nextjs": "^8.0.0",
27-
"@storybook/react": "^8.0.0",
22+
"@hookform/resolvers": "^3.4.2",
23+
"@storybook/addon-a11y": "^8.1.2",
24+
"@storybook/addon-essentials": "^8.1.2",
25+
"@storybook/addon-interactions": "^8.1.2",
26+
"@storybook/addon-links": "^8.1.2",
27+
"@storybook/blocks": "^8.1.2",
28+
"@storybook/manager-api": "^8.1.2",
29+
"@storybook/nextjs": "^8.1.2",
30+
"@storybook/react": "^8.1.2",
2831
"@storybook/testing-library": "^0.2.2",
29-
"@storybook/theming": "^8.0.0",
30-
"@storybook/types": "^8.0.0",
31-
"@tanstack/react-table": "^8.13.2",
32+
"@storybook/theming": "^8.1.2",
33+
"@storybook/types": "^8.1.2",
34+
"@tanstack/react-table": "^8.17.3",
3235
"class-variance-authority": "^0.7.0",
33-
"clsx": "^2.1.0",
34-
"date-fns": "^3.5.0",
35-
"lucide-react": "^0.358.0",
36-
"next": "^14.1.3",
37-
"react": "^18.2.0",
38-
"react-day-picker": "^8.10.0",
39-
"react-dom": "^18.2.0",
40-
"react-hook-form": "^7.51.0",
41-
"storybook": "^8.0.0",
42-
"tailwind-merge": "^2.2.1",
43-
"zod": "^3.22.4"
36+
"clsx": "^2.1.1",
37+
"date-fns": "^3.6.0",
38+
"lucide-react": "^0.379.0",
39+
"next": "^14.2.3",
40+
"react": "^18.3.1",
41+
"react-day-picker": "^8.10.1",
42+
"react-dom": "^18.3.1",
43+
"react-hook-form": "^7.51.5",
44+
"storybook": "^8.1.2",
45+
"tailwind-merge": "^2.3.0",
46+
"zod": "^3.23.8"
4447
},
4548
"devDependencies": {
4649
"@codefixlabs/tailwindcss": "workspace:*",
4750
"@codefixlabs/tsconfig": "workspace:*",
48-
"@next/eslint-plugin-next": "^14.1.3",
49-
"@types/node": "^20.11.28",
50-
"@types/react": "^18.2.66",
51-
"@types/react-dom": "^18.2.22",
52-
"autoprefixer": "^10.4.18",
53-
"chromatic": "^11.0.8",
51+
"@next/eslint-plugin-next": "^14.2.3",
52+
"@types/node": "^20.12.12",
53+
"@types/react": "^18.3.2",
54+
"@types/react-dom": "^18.3.0",
55+
"autoprefixer": "^10.4.19",
56+
"chromatic": "^11.4.0",
57+
"concurrently": "^8.2.2",
5458
"eslint-config-codefixlabs": "workspace:*",
55-
"postcss": "^8.4.35",
56-
"tailwindcss": "^3.4.1",
57-
"typescript": "^5.4.2"
59+
"postcss": "^8.4.38",
60+
"tailwindcss": "^3.4.3",
61+
"typescript": "^5.4.5"
5862
}
5963
}

package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@
3939
"trailingComma": "all"
4040
},
4141
"devDependencies": {
42-
"@changesets/cli": "^2.27.1",
42+
"@changesets/cli": "^2.27.3",
4343
"@codefixlabs/tsconfig": "workspace:*",
4444
"eslint": "^8.57.0",
45-
"lint-staged": "^15.2.2",
45+
"lint-staged": "^15.2.4",
4646
"prettier": "^3.2.5",
47-
"prettier-plugin-tailwindcss": "^0.5.12",
48-
"simple-git-hooks": "^2.10.0",
49-
"turbo": "^1.12.5",
50-
"typescript": "^5.4.2"
47+
"prettier-plugin-tailwindcss": "^0.5.14",
48+
"simple-git-hooks": "^2.11.1",
49+
"turbo": "^1.13.3",
50+
"typescript": "^5.4.5"
5151
},
52-
"packageManager": "pnpm@8.9.2"
52+
"packageManager": "pnpm@9.1.2"
5353
}

packages/hooks/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@codefixlabs/hooks",
3-
"version": "0.1.36",
3+
"version": "0.1.37",
44
"license": "MIT",
55
"sideEffects": false,
66
"exports": {
@@ -30,15 +30,15 @@
3030
},
3131
"dependencies": {
3232
"country-state-city": "^3.2.1",
33-
"react": "^18.2.0",
33+
"react": "^18.3.1",
3434
"zustand": "^4.5.2"
3535
},
3636
"devDependencies": {
3737
"@codefixlabs/tsconfig": "workspace:*",
38-
"@types/react": "^18.2.66",
38+
"@types/react": "^18.3.2",
3939
"eslint-config-codefixlabs": "workspace:*",
4040
"tsup": "^8.0.2",
41-
"typescript": "^5.4.2"
41+
"typescript": "^5.4.5"
4242
},
4343
"publishConfig": {
4444
"access": "public"

packages/lib/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@codefixlabs/lib",
3-
"version": "0.1.39",
3+
"version": "0.1.40",
44
"license": "MIT",
55
"sideEffects": false,
66
"exports": {
@@ -29,8 +29,8 @@
2929
"lint": "eslint src/"
3030
},
3131
"dependencies": {
32-
"libphonenumber-js": "^1.10.58",
33-
"react": "^18.2.0",
32+
"libphonenumber-js": "^1.11.1",
33+
"react": "^18.3.1",
3434
"rehype-format": "^5.0.0",
3535
"rehype-parse": "^9.0.0",
3636
"rehype-raw": "^7.0.0",
@@ -44,10 +44,10 @@
4444
},
4545
"devDependencies": {
4646
"@codefixlabs/tsconfig": "workspace:*",
47-
"@types/react": "^18.2.66",
47+
"@types/react": "^18.3.2",
4848
"eslint-config-codefixlabs": "workspace:*",
4949
"tsup": "^8.0.2",
50-
"typescript": "^5.4.2"
50+
"typescript": "^5.4.5"
5151
},
5252
"publishConfig": {
5353
"access": "public"

packages/tailwindcss/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@codefixlabs/tailwindcss",
3-
"version": "0.1.50",
3+
"version": "0.1.51",
44
"license": "MIT",
55
"sideEffects": false,
66
"exports": {
@@ -30,14 +30,14 @@
3030
},
3131
"dependencies": {
3232
"@tailwindcss/container-queries": "^0.1.1",
33-
"@tailwindcss/typography": "^0.5.10",
34-
"tailwindcss": "^3.4.1"
33+
"@tailwindcss/typography": "^0.5.13",
34+
"tailwindcss": "^3.4.3"
3535
},
3636
"devDependencies": {
3737
"@codefixlabs/tsconfig": "workspace:*",
3838
"eslint-config-codefixlabs": "workspace:*",
3939
"tsup": "^8.0.2",
40-
"typescript": "^5.4.2"
40+
"typescript": "^5.4.5"
4141
},
4242
"publishConfig": {
4343
"access": "public"

packages/ui/package.json

+30-30
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@codefixlabs/ui",
3-
"version": "0.1.101",
3+
"version": "0.1.102",
44
"license": "MIT",
55
"sideEffects": false,
66
"exports": {
@@ -59,46 +59,46 @@
5959
"@radix-ui/react-toggle-group": "^1.0.4",
6060
"@radix-ui/react-toolbar": "^1.0.4",
6161
"@radix-ui/react-tooltip": "^1.0.7",
62-
"@tanstack/react-table": "^8.13.2",
63-
"@tanstack/table-core": "^8.13.2",
64-
"@tiptap/extension-highlight": "^2.2.4",
65-
"@tiptap/extension-image": "^2.2.4",
66-
"@tiptap/extension-table": "^2.2.4",
67-
"@tiptap/extension-table-cell": "^2.2.4",
68-
"@tiptap/extension-table-header": "^2.2.4",
69-
"@tiptap/extension-table-row": "^2.2.4",
70-
"@tiptap/extension-task-item": "^2.2.4",
71-
"@tiptap/extension-task-list": "^2.2.4",
72-
"@tiptap/extension-text-align": "^2.2.4",
73-
"@tiptap/extension-youtube": "^2.2.4",
74-
"@tiptap/pm": "^2.2.4",
75-
"@tiptap/react": "^2.2.4",
76-
"@tiptap/starter-kit": "^2.2.4",
62+
"@tanstack/react-table": "^8.17.3",
63+
"@tanstack/table-core": "^8.17.3",
64+
"@tiptap/extension-highlight": "^2.4.0",
65+
"@tiptap/extension-image": "^2.4.0",
66+
"@tiptap/extension-table": "^2.4.0",
67+
"@tiptap/extension-table-cell": "^2.4.0",
68+
"@tiptap/extension-table-header": "^2.4.0",
69+
"@tiptap/extension-table-row": "^2.4.0",
70+
"@tiptap/extension-task-item": "^2.4.0",
71+
"@tiptap/extension-task-list": "^2.4.0",
72+
"@tiptap/extension-text-align": "^2.4.0",
73+
"@tiptap/extension-youtube": "^2.4.0",
74+
"@tiptap/pm": "^2.4.0",
75+
"@tiptap/react": "^2.4.0",
76+
"@tiptap/starter-kit": "^2.4.0",
7777
"class-variance-authority": "^0.7.0",
78-
"clsx": "^2.1.0",
78+
"clsx": "^2.1.1",
7979
"cmdk": "^1.0.0",
80-
"date-fns": "^3.5.0",
81-
"lucide-react": "^0.358.0",
80+
"date-fns": "^3.6.0",
81+
"lucide-react": "^0.379.0",
8282
"pluralize": "^8.0.0",
83-
"react": "^18.2.0",
84-
"react-day-picker": "^8.10.0",
85-
"react-hook-form": "^7.51.0",
86-
"sonner": "^1.4.3",
87-
"tailwind-merge": "^2.2.1",
83+
"react": "^18.3.1",
84+
"react-day-picker": "^8.10.1",
85+
"react-hook-form": "^7.51.5",
86+
"sonner": "^1.4.41",
87+
"tailwind-merge": "^2.3.0",
8888
"use-debounce": "^10.0.0"
8989
},
9090
"devDependencies": {
9191
"@codefixlabs/tailwindcss": "workspace:*",
9292
"@codefixlabs/tsconfig": "workspace:*",
93-
"@types/node": "^20.11.28",
93+
"@types/node": "^20.12.12",
9494
"@types/pluralize": "^0.0.33",
95-
"@types/react": "^18.2.66",
96-
"autoprefixer": "^10.4.18",
95+
"@types/react": "^18.3.2",
96+
"autoprefixer": "^10.4.19",
9797
"eslint-config-codefixlabs": "workspace:*",
98-
"postcss": "^8.4.35",
99-
"tailwindcss": "^3.4.1",
98+
"postcss": "^8.4.38",
99+
"tailwindcss": "^3.4.3",
100100
"tsup": "^8.0.2",
101-
"typescript": "^5.4.2"
101+
"typescript": "^5.4.5"
102102
},
103103
"publishConfig": {
104104
"access": "public"

packages/ui/src/react/form.tsx

+12-9
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
1-
import { type SlotProps as FormControlProps, Slot } from '@radix-ui/react-slot';
2-
import { type VariantProps, cva } from 'class-variance-authority';
1+
import { Slot, type SlotProps as FormControlProps } from '@radix-ui/react-slot';
2+
import { cva, type VariantProps } from 'class-variance-authority';
33
import * as React from 'react';
44
import {
5+
Controller,
56
type ControllerProps as FormFieldProps,
67
type FieldError,
8+
type FieldErrorsImpl,
79
type FieldPath,
810
type FieldValues,
9-
Controller,
1011
FormProvider,
12+
type Merge,
1113
useFormContext,
1214
} from 'react-hook-form';
13-
import { type LabelProps as FormLabelProps, Label } from '@/react/label';
15+
import { Label, type LabelProps as FormLabelProps } from '@/react/label';
1416
import { cn } from '@/server/cn';
1517

1618
/* -----------------------------------------------------------------------------
@@ -55,15 +57,16 @@ export const FormItemContext = React.createContext<{
5557
}>({} as FormItemContextValue);
5658

5759
export function useFormField(): {
60+
error?: FieldError | Merge<FieldError, FieldErrorsImpl> | undefined;
61+
formDescriptionId: string;
62+
formItemId: string;
63+
formMessageId: string;
64+
id: string;
5865
invalid: boolean;
5966
isDirty: boolean;
6067
isTouched: boolean;
61-
error?: FieldError;
62-
id: string;
68+
isValidating: boolean;
6369
name: string;
64-
formItemId: string;
65-
formDescriptionId: string;
66-
formMessageId: string;
6770
} {
6871
const fieldContext = React.useContext(FormFieldContext);
6972
const itemContext = React.useContext(FormItemContext);

0 commit comments

Comments
 (0)