Skip to content

Commit 07fe0e1

Browse files
authored
chore(deps): update deps (#180)
* chore(deps): bump deps * chore: update docs * chore: update actions
1 parent 6d42a74 commit 07fe0e1

File tree

8 files changed

+96
-101
lines changed

8 files changed

+96
-101
lines changed

.github/setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ runs:
1111
- name: Setup pnpm
1212
uses: pnpm/action-setup@v4
1313
with:
14-
version: 10.15.1
14+
version: 10.22.0
1515

1616
- run: pnpm install
1717
shell: bash

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Setup pnpm
2626
uses: pnpm/action-setup@v4
2727
with:
28-
version: 10.15.1
28+
version: 10.22.0
2929
- uses: ./.github/setup
3030

3131
- name: Check formatting
@@ -39,7 +39,7 @@ jobs:
3939
- name: Setup pnpm
4040
uses: pnpm/action-setup@v4
4141
with:
42-
version: 10.15.1
42+
version: 10.22.0
4343
- uses: ./.github/setup
4444

4545
- run: pnpm turbo build
@@ -52,7 +52,7 @@ jobs:
5252
- name: Setup pnpm
5353
uses: pnpm/action-setup@v4
5454
with:
55-
version: 10.15.1
55+
version: 10.22.0
5656
- uses: ./.github/setup
5757

5858
- run: pnpm lint
@@ -65,7 +65,7 @@ jobs:
6565
- name: Setup pnpm
6666
uses: pnpm/action-setup@v4
6767
with:
68-
version: 10.15.1
68+
version: 10.22.0
6969
- uses: ./.github/setup
7070

7171
- run: pnpm turbo test
@@ -78,7 +78,7 @@ jobs:
7878
- name: Setup pnpm
7979
uses: pnpm/action-setup@v4
8080
with:
81-
version: 10.15.1
81+
version: 10.22.0
8282
- uses: ./.github/setup
8383

8484
- run: pnpm turbo typecheck

biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.3.1/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.3.5/schema.json",
33
"assist": {
44
"actions": {
55
"source": {

docs/content/docs/components/compare-slider.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ A compare slider with vertical orientation, perfect for comparing tall images or
7373

7474
Compare slider with custom handle, labels, and vertical orientation.
7575

76-
<ComponentTabs name="compare-slider-custom-demo" />
76+
<ComponentTabs name="compare-slider-customization-demo" />
7777

7878
## API Reference
7979

docs/package.json

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -26,75 +26,75 @@
2626
"@dnd-kit/sortable": "^10.0.0",
2727
"@dnd-kit/utilities": "^3.2.2",
2828
"@hookform/resolvers": "^5.2.2",
29-
"@mux/mux-video-react": "^0.27.1",
30-
"@radix-ui/react-avatar": "^1.1.10",
29+
"@mux/mux-video-react": "^0.27.2",
30+
"@radix-ui/react-avatar": "^1.1.11",
3131
"@radix-ui/react-checkbox": "^1.3.3",
3232
"@radix-ui/react-collapsible": "^1.1.12",
3333
"@radix-ui/react-dialog": "^1.1.15",
3434
"@radix-ui/react-dropdown-menu": "^2.1.16",
3535
"@radix-ui/react-hover-card": "^1.1.15",
36-
"@radix-ui/react-label": "^2.1.7",
36+
"@radix-ui/react-label": "^2.1.8",
3737
"@radix-ui/react-popover": "^1.1.15",
38-
"@radix-ui/react-progress": "^1.1.7",
38+
"@radix-ui/react-progress": "^1.1.8",
3939
"@radix-ui/react-radio-group": "^1.3.8",
4040
"@radix-ui/react-scroll-area": "^1.2.10",
4141
"@radix-ui/react-select": "^2.2.6",
42-
"@radix-ui/react-separator": "^1.1.7",
42+
"@radix-ui/react-separator": "^1.1.8",
4343
"@radix-ui/react-slider": "^1.3.6",
44-
"@radix-ui/react-slot": "^1.2.3",
44+
"@radix-ui/react-slot": "^1.2.4",
4545
"@radix-ui/react-switch": "^1.2.6",
4646
"@radix-ui/react-tabs": "^1.1.13",
4747
"@radix-ui/react-tooltip": "^1.2.8",
4848
"@tanstack/react-table": "^8.21.3",
4949
"@tanstack/react-virtual": "^3.13.12",
5050
"@uploadthing/react": "^7.3.3",
51-
"@upstash/ratelimit": "^2.0.6",
51+
"@upstash/ratelimit": "^2.0.7",
5252
"@upstash/redis": "^1.35.6",
5353
"class-variance-authority": "^0.7.1",
5454
"clsx": "^2.1.1",
5555
"cmdk": "1.1.1",
5656
"date-fns": "^4.1.0",
57-
"fumadocs-core": "^16.0.4",
58-
"fumadocs-docgen": "^3.0.3",
59-
"fumadocs-mdx": "^13.0.2",
60-
"fumadocs-typescript": "^4.0.12",
61-
"fumadocs-ui": "^16.0.4",
62-
"jotai": "^2.15.0",
63-
"lucide-react": "^0.548.0",
57+
"fumadocs-core": "^16.0.11",
58+
"fumadocs-docgen": "^3.0.4",
59+
"fumadocs-mdx": "^13.0.8",
60+
"fumadocs-typescript": "^4.0.13",
61+
"fumadocs-ui": "^16.0.11",
62+
"jotai": "^2.15.1",
63+
"lucide-react": "^0.553.0",
6464
"match-sorter": "^8.1.0",
65-
"media-chrome": "^4.15.0",
65+
"media-chrome": "^4.15.1",
6666
"motion": "^12.23.24",
6767
"nanoid": "^5.1.6",
68-
"next": "^16.0.0",
68+
"next": "^16.0.3",
6969
"next-themes": "^0.4.6",
70-
"nuqs": "^2.7.2",
70+
"nuqs": "^2.7.3",
7171
"qrcode": "^1.5.4",
7272
"react": "^19.2.0",
7373
"react-day-picker": "9.11.1",
7474
"react-dom": "^19.2.0",
75-
"react-hook-form": "^7.65.0",
75+
"react-hook-form": "^7.66.0",
7676
"shadcn": "^3.5.0",
7777
"sonner": "^2.0.7",
78-
"tailwind-merge": "^3.3.1",
78+
"tailwind-merge": "^3.4.0",
7979
"uploadthing": "^7.7.4",
8080
"zod": "^4.1.12"
8181
},
8282
"devDependencies": {
8383
"@faker-js/faker": "^10.1.0",
84-
"@tailwindcss/postcss": "^4.1.16",
84+
"@tailwindcss/postcss": "^4.1.17",
8585
"@types/mdx": "^2.0.13",
8686
"@types/qrcode": "^1.5.6",
87-
"@types/react": "^19.2.2",
88-
"@types/react-dom": "^19.2.2",
87+
"@types/react": "^19.2.5",
88+
"@types/react-dom": "^19.2.3",
8989
"postcss": "^8.5.6",
9090
"react-reconciler": "^0.33.0",
9191
"react-scan": "^0.4.3",
9292
"rehype-pretty-code": "^0.14.1",
9393
"rehype-slug": "^6.0.0",
9494
"remark-code-import": "^1.2.0",
9595
"remark-math": "^6.0.0",
96-
"shiki": "^3.14.0",
97-
"tailwindcss": "^4.1.16",
96+
"shiki": "^3.15.0",
97+
"tailwindcss": "^4.1.17",
9898
"ts-morph": "^27.0.2",
9999
"tsx": "^4.20.6",
100100
"tw-animate-css": "^1.4.0",

docs/registry/default/ui/compare-slider.tsx

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -113,15 +113,10 @@ interface CompareSliderRootProps extends DivProps {
113113
}
114114

115115
function CompareSliderRoot(props: CompareSliderRootProps) {
116-
const {
117-
value: valueProp,
118-
defaultValue = 50,
119-
onValueChange,
120-
...rootProps
121-
} = props;
116+
const { value, defaultValue = 50, onValueChange, ...rootProps } = props;
122117

123118
const stateRef = useLazyRef<StoreState>(() => ({
124-
value: clamp(valueProp ?? defaultValue, 0, 100),
119+
value: clamp(value ?? defaultValue, 0, 100),
125120
isDragging: false,
126121
}));
127122
const listenersRef = useLazyRef(() => new Set<() => void>());
@@ -160,10 +155,10 @@ function CompareSliderRoot(props: CompareSliderRootProps) {
160155
}, [listenersRef, stateRef, onValueChangeRef]);
161156

162157
useIsomorphicLayoutEffect(() => {
163-
if (valueProp !== undefined) {
164-
store.updateValue(valueProp);
158+
if (value !== undefined) {
159+
store.updateValue(value);
165160
}
166-
}, [valueProp]);
161+
}, [value]);
167162

168163
return (
169164
<StoreContext.Provider value={store}>

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "diceui",
3-
"packageManager": "pnpm@10.15.1",
3+
"packageManager": "pnpm@10.22.0",
44
"private": true,
55
"type": "module",
66
"workspaces": [
@@ -23,19 +23,19 @@
2323
"release": "changeset publish"
2424
},
2525
"devDependencies": {
26-
"@biomejs/biome": "^2.3.1",
26+
"@biomejs/biome": "^2.3.5",
2727
"@changesets/cli": "^2.29.7",
2828
"@testing-library/jest-dom": "^6.9.1",
2929
"@testing-library/react": "^16.3.0",
3030
"@testing-library/user-event": "^14.6.1",
31-
"@types/node": "^24.9.1",
32-
"@vitejs/plugin-react": "^5.1.0",
31+
"@types/node": "^24.10.1",
32+
"@vitejs/plugin-react": "^5.1.1",
3333
"expect-type": "^1.2.2",
34-
"jsdom": "^27.0.1",
35-
"rimraf": "^6.0.1",
36-
"turbo": "^2.5.8",
34+
"jsdom": "^27.2.0",
35+
"rimraf": "^6.1.0",
36+
"turbo": "^2.6.1",
3737
"typescript": "^5.9.3",
3838
"vite-tsconfig-paths": "^5.1.4",
39-
"vitest": "^4.0.4"
39+
"vitest": "^4.0.9"
4040
}
4141
}

0 commit comments

Comments
 (0)