@ark-ui/solid 5.4.0 → 5.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/dist/chunk/{L6IGMFHF.js → 24OEHSBA.js} +1 -1
  2. package/dist/chunk/{WEP4LIH4.js → 2WVEDTEK.js} +1 -1
  3. package/dist/chunk/{CSQ4G2ZR.js → 4VSNWWYK.js} +2 -2
  4. package/dist/chunk/{YKX6LWQZ.js → 74VQO5NB.js} +1 -1
  5. package/dist/chunk/{H2PO7WYN.jsx → 7LCINU3A.jsx} +1 -1
  6. package/dist/chunk/{JSBTYBVG.js → 7S3N5UQH.js} +10 -3
  7. package/dist/chunk/{EDWTEZRE.jsx → 7TPJ7KWF.jsx} +1 -1
  8. package/dist/chunk/{QDNMUVUH.js → ABSJMCRQ.js} +1 -1
  9. package/dist/chunk/{KVZN5EIK.js → BVKIR2P4.js} +1 -1
  10. package/dist/chunk/{CCJXFSD4.js → CGUVAYKV.js} +1 -1
  11. package/dist/chunk/{SKLHGDXX.jsx → CRYRP5LM.jsx} +1 -1
  12. package/dist/chunk/DJIEVIL4.jsx +175 -0
  13. package/dist/chunk/DPTBH7NV.js +116 -0
  14. package/dist/chunk/{WNMJRJ4R.jsx → DXWAFMGQ.jsx} +1 -1
  15. package/dist/chunk/{ZVM34F6R.js → E2CL7JEV.js} +1 -1
  16. package/dist/chunk/{YUDHR2PE.jsx → F4L2MTJA.jsx} +1 -1
  17. package/dist/chunk/G2DDCQSJ.jsx +1783 -0
  18. package/dist/chunk/{TVG6ZU7O.js → GNQB7IOU.js} +1 -1
  19. package/dist/chunk/{DV4N466N.jsx → JTNTC6FF.jsx} +1 -1
  20. package/dist/chunk/{5EMVTPVL.jsx → K5AG7O7B.jsx} +1 -1
  21. package/dist/chunk/{E3OI2TND.jsx → KLURGV6W.jsx} +1 -1
  22. package/dist/chunk/{TOZ7BU2Z.js → KOWWX76D.js} +1 -1
  23. package/dist/chunk/{QCBVLVTA.js → S42D66WQ.js} +1 -1
  24. package/dist/chunk/SSZEXBY3.js +1670 -0
  25. package/dist/chunk/{T6XMELG3.jsx → T3IKIVSG.jsx} +1 -1
  26. package/dist/chunk/{YVFRVXSX.jsx → TM5I6GID.jsx} +1 -1
  27. package/dist/chunk/{BFPOA7P4.jsx → UGS5HMDP.jsx} +2 -1
  28. package/dist/chunk/{PSNFSH4B.jsx → WC2HBDLJ.jsx} +10 -3
  29. package/dist/chunk/{5N6RITOU.js → WOSTAOH5.js} +1 -1
  30. package/dist/chunk/{ZEKNH4J5.jsx → Y3WE2S3D.jsx} +1 -1
  31. package/dist/components/angle-slider/index.d.ts +86 -0
  32. package/dist/components/angle-slider/index.js +1 -0
  33. package/dist/components/angle-slider/index.jsx +40 -0
  34. package/dist/components/checkbox/index.d.ts +1 -1
  35. package/dist/components/color-picker/index.d.ts +2 -2
  36. package/dist/components/color-picker/index.js +1 -1
  37. package/dist/components/color-picker/index.jsx +2 -2
  38. package/dist/components/combobox/index.d.ts +2 -2
  39. package/dist/components/combobox/index.js +1 -1
  40. package/dist/components/combobox/index.jsx +2 -2
  41. package/dist/components/date-picker/index.d.ts +2 -2
  42. package/dist/components/date-picker/index.js +1 -1
  43. package/dist/components/date-picker/index.jsx +2 -2
  44. package/dist/components/dialog/index.d.ts +1 -1
  45. package/dist/components/dialog/index.js +1 -1
  46. package/dist/components/dialog/index.jsx +2 -2
  47. package/dist/components/floating-panel/index.d.ts +119 -0
  48. package/dist/components/floating-panel/index.js +1 -0
  49. package/dist/components/floating-panel/index.jsx +51 -0
  50. package/dist/components/hover-card/index.d.ts +1 -1
  51. package/dist/components/hover-card/index.js +1 -1
  52. package/dist/components/hover-card/index.jsx +2 -2
  53. package/dist/components/index.d.ts +5 -1
  54. package/dist/components/index.js +29 -27
  55. package/dist/components/index.jsx +385 -317
  56. package/dist/components/menu/index.d.ts +1 -1
  57. package/dist/components/menu/index.js +1 -1
  58. package/dist/components/menu/index.jsx +2 -2
  59. package/dist/components/popover/index.d.ts +1 -1
  60. package/dist/components/popover/index.js +1 -1
  61. package/dist/components/popover/index.jsx +2 -2
  62. package/dist/components/presence/index.d.ts +3 -3
  63. package/dist/components/presence/index.js +1 -1
  64. package/dist/components/presence/index.jsx +1 -1
  65. package/dist/components/select/index.d.ts +1 -1
  66. package/dist/components/select/index.js +1 -1
  67. package/dist/components/select/index.jsx +2 -2
  68. package/dist/components/tabs/index.js +1 -1
  69. package/dist/components/tabs/index.jsx +2 -2
  70. package/dist/components/time-picker/index.d.ts +1 -1
  71. package/dist/components/time-picker/index.js +1 -1
  72. package/dist/components/time-picker/index.jsx +2 -2
  73. package/dist/components/tooltip/index.d.ts +1 -1
  74. package/dist/components/tooltip/index.js +1 -1
  75. package/dist/components/tooltip/index.jsx +2 -2
  76. package/dist/components/tour/index.d.ts +1 -1
  77. package/dist/components/tour/index.js +1 -1
  78. package/dist/components/tour/index.jsx +2 -2
  79. package/dist/index.d.ts +5 -1
  80. package/dist/index.js +29 -27
  81. package/dist/index.jsx +385 -317
  82. package/dist/{use-presence-BUVPqaFu.d.ts → use-presence-CT1xpuuo.d.ts} +6 -1
  83. package/package.json +66 -66
  84. /package/dist/chunk/{XUQC4TSL.js → E7EIHMW2.js} +0 -0
  85. /package/dist/chunk/{6G6HOPPW.jsx → XH6HBC54.jsx} +0 -0
@@ -4,6 +4,11 @@ import { O as Optional, M as MaybeAccessor } from './types-Bc0WfPsv.js';
4
4
  import { R as RenderStrategyProps } from './render-strategy-B5MqQP3X.js';
5
5
 
6
6
  interface UsePresenceProps extends Optional<presence.Props, 'present'>, RenderStrategyProps {
7
+ /**
8
+ * Whether to allow the initial presence animation.
9
+ * @default false
10
+ */
11
+ skipAnimationOnMount?: boolean;
7
12
  }
8
13
  interface UsePresenceReturn extends ReturnType<typeof usePresence> {
9
14
  }
@@ -13,7 +18,7 @@ declare const usePresence: (props: MaybeAccessor<UsePresenceProps>) => solid_js.
13
18
  ref: (node: HTMLElement | null) => void;
14
19
  presenceProps: {
15
20
  hidden: boolean;
16
- 'data-state': string;
21
+ 'data-state': string | undefined;
17
22
  };
18
23
  }>;
19
24
 
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@ark-ui/solid",
3
3
  "type": "module",
4
- "version": "5.4.0",
4
+ "version": "5.6.0",
5
5
  "description": "A collection of unstyled, accessible UI components for Solid, utilizing state machines for seamless interaction.",
6
6
  "keywords": [
7
7
  "accordion",
8
+ "angle slider",
8
9
  "avatar",
9
10
  "carousel",
10
11
  "checkbox",
@@ -102,7 +103,6 @@
102
103
  "test:ci": "vitest --run",
103
104
  "typecheck": "tsc",
104
105
  "storybook": "storybook dev -p 6006",
105
- "release-it": "release-it --config ../../release-it.json",
106
106
  "prepack": "clean-package",
107
107
  "postpack": "clean-package restore"
108
108
  },
@@ -112,89 +112,89 @@
112
112
  "sideEffects": false,
113
113
  "dependencies": {
114
114
  "@internationalized/date": "3.7.0",
115
- "@zag-js/accordion": "1.7.0",
116
- "@zag-js/anatomy": "1.7.0",
117
- "@zag-js/auto-resize": "1.7.0",
118
- "@zag-js/avatar": "1.7.0",
119
- "@zag-js/carousel": "1.7.0",
120
- "@zag-js/checkbox": "1.7.0",
121
- "@zag-js/clipboard": "1.7.0",
122
- "@zag-js/collapsible": "1.7.0",
123
- "@zag-js/collection": "1.7.0",
124
- "@zag-js/color-picker": "1.7.0",
125
- "@zag-js/combobox": "1.7.0",
126
- "@zag-js/date-picker": "1.7.0",
127
- "@zag-js/dialog": "1.7.0",
128
- "@zag-js/dom-query": "1.7.0",
129
- "@zag-js/editable": "1.7.0",
130
- "@zag-js/file-upload": "1.7.0",
131
- "@zag-js/file-utils": "1.7.0",
132
- "@zag-js/focus-trap": "1.7.0",
133
- "@zag-js/highlight-word": "1.7.0",
134
- "@zag-js/hover-card": "1.7.0",
135
- "@zag-js/i18n-utils": "1.7.0",
136
- "@zag-js/menu": "1.7.0",
137
- "@zag-js/number-input": "1.7.0",
138
- "@zag-js/pagination": "1.7.0",
139
- "@zag-js/pin-input": "1.7.0",
140
- "@zag-js/popover": "1.7.0",
141
- "@zag-js/presence": "1.7.0",
142
- "@zag-js/progress": "1.7.0",
143
- "@zag-js/qr-code": "1.7.0",
144
- "@zag-js/radio-group": "1.7.0",
145
- "@zag-js/rating-group": "1.7.0",
146
- "@zag-js/select": "1.7.0",
147
- "@zag-js/signature-pad": "1.7.0",
148
- "@zag-js/slider": "1.7.0",
149
- "@zag-js/solid": "1.7.0",
150
- "@zag-js/splitter": "1.7.0",
151
- "@zag-js/steps": "1.7.0",
152
- "@zag-js/switch": "1.7.0",
153
- "@zag-js/tabs": "1.7.0",
154
- "@zag-js/tags-input": "1.7.0",
155
- "@zag-js/time-picker": "1.7.0",
156
- "@zag-js/timer": "1.7.0",
157
- "@zag-js/toast": "1.7.0",
158
- "@zag-js/toggle": "1.7.0",
159
- "@zag-js/toggle-group": "1.7.0",
160
- "@zag-js/tooltip": "1.7.0",
161
- "@zag-js/tour": "1.7.0",
162
- "@zag-js/tree-view": "1.7.0",
163
- "@zag-js/types": "1.7.0",
164
- "@zag-js/utils": "1.7.0"
115
+ "@zag-js/accordion": "1.9.2",
116
+ "@zag-js/angle-slider": "1.9.2",
117
+ "@zag-js/anatomy": "1.9.2",
118
+ "@zag-js/auto-resize": "1.9.2",
119
+ "@zag-js/avatar": "1.9.2",
120
+ "@zag-js/carousel": "1.9.2",
121
+ "@zag-js/checkbox": "1.9.2",
122
+ "@zag-js/clipboard": "1.9.2",
123
+ "@zag-js/collapsible": "1.9.2",
124
+ "@zag-js/collection": "1.9.2",
125
+ "@zag-js/color-picker": "1.9.2",
126
+ "@zag-js/combobox": "1.9.2",
127
+ "@zag-js/date-picker": "1.9.2",
128
+ "@zag-js/dialog": "1.9.2",
129
+ "@zag-js/dom-query": "1.9.2",
130
+ "@zag-js/editable": "1.9.2",
131
+ "@zag-js/file-upload": "1.9.2",
132
+ "@zag-js/file-utils": "1.9.2",
133
+ "@zag-js/focus-trap": "1.9.2",
134
+ "@zag-js/highlight-word": "1.9.2",
135
+ "@zag-js/hover-card": "1.9.2",
136
+ "@zag-js/i18n-utils": "1.9.2",
137
+ "@zag-js/menu": "1.9.2",
138
+ "@zag-js/number-input": "1.9.2",
139
+ "@zag-js/pagination": "1.9.2",
140
+ "@zag-js/pin-input": "1.9.2",
141
+ "@zag-js/popover": "1.9.2",
142
+ "@zag-js/presence": "1.9.2",
143
+ "@zag-js/progress": "1.9.2",
144
+ "@zag-js/qr-code": "1.9.2",
145
+ "@zag-js/radio-group": "1.9.2",
146
+ "@zag-js/rating-group": "1.9.2",
147
+ "@zag-js/select": "1.9.2",
148
+ "@zag-js/signature-pad": "1.9.2",
149
+ "@zag-js/slider": "1.9.2",
150
+ "@zag-js/solid": "1.9.2",
151
+ "@zag-js/splitter": "1.9.2",
152
+ "@zag-js/steps": "1.9.2",
153
+ "@zag-js/switch": "1.9.2",
154
+ "@zag-js/tabs": "1.9.2",
155
+ "@zag-js/tags-input": "1.9.2",
156
+ "@zag-js/time-picker": "1.9.2",
157
+ "@zag-js/timer": "1.9.2",
158
+ "@zag-js/toast": "1.9.2",
159
+ "@zag-js/toggle": "1.9.2",
160
+ "@zag-js/toggle-group": "1.9.2",
161
+ "@zag-js/tooltip": "1.9.2",
162
+ "@zag-js/tour": "1.9.2",
163
+ "@zag-js/tree-view": "1.9.2",
164
+ "@zag-js/types": "1.9.2",
165
+ "@zag-js/utils": "1.9.2"
165
166
  },
166
167
  "devDependencies": {
168
+ "@ark-ui/shared": "workspace:*",
167
169
  "@biomejs/biome": "1.9.4",
168
170
  "@modular-forms/solid": "0.25.1",
169
- "@release-it/keep-a-changelog": "6.0.0",
170
171
  "@solidjs/testing-library": "0.8.10",
171
- "@storybook/addon-a11y": "8.6.11",
172
- "@storybook/addon-essentials": "8.6.11",
173
- "@storybook/addon-interactions": "8.6.11",
174
- "@storybook/addon-links": "8.6.11",
175
- "@storybook/docs-tools": "8.6.11",
172
+ "@storybook/addon-a11y": "8.6.12",
173
+ "@storybook/addon-essentials": "8.6.12",
174
+ "@storybook/addon-interactions": "8.6.12",
175
+ "@storybook/addon-links": "8.6.12",
176
+ "@storybook/docs-tools": "8.6.12",
176
177
  "@testing-library/dom": "10.4.0",
177
178
  "@testing-library/jest-dom": "6.6.3",
178
179
  "@testing-library/user-event": "14.6.1",
179
180
  "@types/jsdom": "21.1.7",
180
- "@zag-js/stringify-state": "1.7.0",
181
+ "@zag-js/stringify-state": "1.9.2",
181
182
  "clean-package": "2.2.0",
182
183
  "esbuild-plugin-solid": "0.6.0",
183
184
  "globby": "14.1.0",
184
185
  "jsdom": "26.0.0",
185
- "lucide-solid": "0.484.0",
186
- "release-it": "18.1.2",
186
+ "lucide-solid": "0.487.0",
187
187
  "resize-observer-polyfill": "1.5.1",
188
188
  "solid-js": "1.9.5",
189
- "storybook": "8.6.11",
189
+ "storybook": "8.6.12",
190
190
  "storybook-solidjs": "1.0.0-beta.6",
191
191
  "storybook-solidjs-vite": "1.0.0-beta.6",
192
192
  "tsup": "8.4.0",
193
- "typescript": "5.8.2",
194
- "vite": "6.2.3",
193
+ "typescript": "5.8.3",
194
+ "vite": "6.2.5",
195
195
  "vite-plugin-solid": "2.11.6",
196
- "vitest": "3.0.9",
197
- "@vitest/coverage-v8": "3.0.9",
196
+ "vitest": "3.1.1",
197
+ "@vitest/coverage-v8": "3.1.1",
198
198
  "vitest-axe": "1.0.0-pre.5"
199
199
  },
200
200
  "peerDependencies": {
File without changes
File without changes