@ark-ui/vue 5.18.2 → 5.18.4

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.
@@ -4,10 +4,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
5
  const createContext = require('../../utils/create-context.cjs');
6
6
 
7
- const [ComboboxProvider, useComboboxContext] = (
8
- // biome-ignore lint/suspicious/noExplicitAny: <explanation>
9
- createContext.createContext("ComboboxContext")
10
- );
7
+ const [ComboboxProvider, useComboboxContext] = createContext.createContext("ComboboxContext");
11
8
 
12
9
  exports.ComboboxProvider = ComboboxProvider;
13
10
  exports.useComboboxContext = useComboboxContext;
@@ -1,8 +1,5 @@
1
1
  import { createContext } from '../../utils/create-context.js';
2
2
 
3
- const [ComboboxProvider, useComboboxContext] = (
4
- // biome-ignore lint/suspicious/noExplicitAny: <explanation>
5
- createContext("ComboboxContext")
6
- );
3
+ const [ComboboxProvider, useComboboxContext] = createContext("ComboboxContext");
7
4
 
8
5
  export { ComboboxProvider, useComboboxContext };
@@ -19,7 +19,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
19
19
  return vue.unref(field).required ? (vue.openBlock(), vue.createBlock(vue.unref(factory.ark).span, vue.mergeProps({ key: 0 }, vue.unref(field).getRequiredIndicatorProps(), { "as-child": _ctx.asChild }), {
20
20
  default: vue.withCtx(() => [
21
21
  vue.renderSlot(_ctx.$slots, "default", {}, () => [
22
- _cache[0] || (_cache[0] = vue.createTextVNode("*"))
22
+ _cache[0] || (_cache[0] = vue.createTextVNode("*", -1))
23
23
  ])
24
24
  ]),
25
25
  _: 3
@@ -15,7 +15,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
15
15
  return unref(field).required ? (openBlock(), createBlock(unref(ark).span, mergeProps({ key: 0 }, unref(field).getRequiredIndicatorProps(), { "as-child": _ctx.asChild }), {
16
16
  default: withCtx(() => [
17
17
  renderSlot(_ctx.$slots, "default", {}, () => [
18
- _cache[0] || (_cache[0] = createTextVNode("*"))
18
+ _cache[0] || (_cache[0] = createTextVNode("*", -1))
19
19
  ])
20
20
  ]),
21
21
  _: 3
@@ -1,4 +1,4 @@
1
- export type { HighlightChangeDetails as TagsInputHighlightChangeDetails, ValidityChangeDetails as TagsInputValidityChangeDetails, ValueChangeDetails as TagsInputValueChangeDetails, } from '@zag-js/tags-input';
1
+ export type { HighlightChangeDetails as TagsInputHighlightChangeDetails, ValidityChangeDetails as TagsInputValidityChangeDetails, ValueChangeDetails as TagsInputValueChangeDetails, InputValueChangeDetails as TagsInputInputValueChangeDetails, } from '@zag-js/tags-input';
2
2
  export { default as TagsInputClearTrigger, type TagsInputClearTriggerBaseProps, type TagsInputClearTriggerProps, } from './tags-input-clear-trigger.vue';
3
3
  export { default as TagsInputContext, type TagsInputContextProps } from './tags-input-context.vue';
4
4
  export { default as TagsInputControl, type TagsInputControlBaseProps, type TagsInputControlProps, } from './tags-input-control.vue';
@@ -1,4 +1,4 @@
1
- export type { HighlightChangeDetails as TagsInputHighlightChangeDetails, ValidityChangeDetails as TagsInputValidityChangeDetails, ValueChangeDetails as TagsInputValueChangeDetails, } from '@zag-js/tags-input';
1
+ export type { HighlightChangeDetails as TagsInputHighlightChangeDetails, ValidityChangeDetails as TagsInputValidityChangeDetails, ValueChangeDetails as TagsInputValueChangeDetails, InputValueChangeDetails as TagsInputInputValueChangeDetails, } from '@zag-js/tags-input';
2
2
  export { default as TagsInputClearTrigger, type TagsInputClearTriggerBaseProps, type TagsInputClearTriggerProps, } from './tags-input-clear-trigger.vue';
3
3
  export { default as TagsInputContext, type TagsInputContextProps } from './tags-input-context.vue';
4
4
  export { default as TagsInputControl, type TagsInputControlBaseProps, type TagsInputControlProps, } from './tags-input-control.vue';
@@ -1,4 +1,4 @@
1
- export type { HighlightChangeDetails, ValidityChangeDetails, ValueChangeDetails } from '@zag-js/tags-input';
1
+ export type { HighlightChangeDetails, ValidityChangeDetails, ValueChangeDetails, InputValueChangeDetails, } from '@zag-js/tags-input';
2
2
  export { default as ClearTrigger, type TagsInputClearTriggerProps as ClearTriggerProps, type TagsInputClearTriggerBaseProps as ClearTriggerBaseProps, } from './tags-input-clear-trigger.vue';
3
3
  export { default as Context, type TagsInputContextProps as ContextProps } from './tags-input-context.vue';
4
4
  export { default as Control, type TagsInputControlProps as ControlProps, type TagsInputControlBaseProps as ControlBaseProps, } from './tags-input-control.vue';
@@ -1,4 +1,4 @@
1
- export type { HighlightChangeDetails, ValidityChangeDetails, ValueChangeDetails } from '@zag-js/tags-input';
1
+ export type { HighlightChangeDetails, ValidityChangeDetails, ValueChangeDetails, InputValueChangeDetails, } from '@zag-js/tags-input';
2
2
  export { default as ClearTrigger, type TagsInputClearTriggerProps as ClearTriggerProps, type TagsInputClearTriggerBaseProps as ClearTriggerBaseProps, } from './tags-input-clear-trigger.vue';
3
3
  export { default as Context, type TagsInputContextProps as ContextProps } from './tags-input-context.vue';
4
4
  export { default as Control, type TagsInputControlProps as ControlProps, type TagsInputControlBaseProps as ControlBaseProps, } from './tags-input-control.vue';
@@ -5,7 +5,10 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
5
  const vue = require('vue');
6
6
  const unrefElement = require('./unref-element.cjs');
7
7
 
8
- const isElement = (el) => Object.prototype.hasOwnProperty.call(el, "nodeName") && typeof el.nodeName === "string";
8
+ const isElement = (el) => (
9
+ // biome-ignore lint/suspicious/noPrototypeBuiltins: <explanation>
10
+ Object.prototype.hasOwnProperty.call(el, "nodeName") && typeof el.nodeName === "string"
11
+ );
9
12
  function useForwardExpose() {
10
13
  const instance = vue.getCurrentInstance();
11
14
  const currentRef = vue.ref();
@@ -32,7 +35,7 @@ function useForwardExpose() {
32
35
  Object.defineProperty(ret, key, {
33
36
  enumerable: true,
34
37
  configurable: true,
35
- // biome-ignore lint/style/noNonNullAssertion: <explanation>
38
+ // biome-ignore lint/style/noNonNullAssertion: intentional
36
39
  get: () => localExpose[key]
37
40
  });
38
41
  }
@@ -1,7 +1,10 @@
1
1
  import { getCurrentInstance, ref, computed } from 'vue';
2
2
  import { unrefElement } from './unref-element.js';
3
3
 
4
- const isElement = (el) => Object.prototype.hasOwnProperty.call(el, "nodeName") && typeof el.nodeName === "string";
4
+ const isElement = (el) => (
5
+ // biome-ignore lint/suspicious/noPrototypeBuiltins: <explanation>
6
+ Object.prototype.hasOwnProperty.call(el, "nodeName") && typeof el.nodeName === "string"
7
+ );
5
8
  function useForwardExpose() {
6
9
  const instance = getCurrentInstance();
7
10
  const currentRef = ref();
@@ -28,7 +31,7 @@ function useForwardExpose() {
28
31
  Object.defineProperty(ret, key, {
29
32
  enumerable: true,
30
33
  configurable: true,
31
- // biome-ignore lint/style/noNonNullAssertion: <explanation>
34
+ // biome-ignore lint/style/noNonNullAssertion: intentional
32
35
  get: () => localExpose[key]
33
36
  });
34
37
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ark-ui/vue",
3
3
  "type": "module",
4
- "version": "5.18.2",
4
+ "version": "5.18.4",
5
5
  "description": "A collection of unstyled, accessible UI components for Vue, utilizing state machines for seamless interaction.",
6
6
  "keywords": [
7
7
  "accordion",
@@ -140,90 +140,90 @@
140
140
  "sideEffects": false,
141
141
  "dependencies": {
142
142
  "@internationalized/date": "3.8.2",
143
- "@zag-js/accordion": "1.21.0",
144
- "@zag-js/angle-slider": "1.21.0",
145
- "@zag-js/anatomy": "1.21.0",
146
- "@zag-js/auto-resize": "1.21.0",
147
- "@zag-js/avatar": "1.21.0",
148
- "@zag-js/carousel": "1.21.0",
149
- "@zag-js/checkbox": "1.21.0",
150
- "@zag-js/clipboard": "1.21.0",
151
- "@zag-js/collapsible": "1.21.0",
152
- "@zag-js/collection": "1.21.0",
153
- "@zag-js/color-picker": "1.21.0",
154
- "@zag-js/color-utils": "1.21.0",
155
- "@zag-js/combobox": "1.21.0",
156
- "@zag-js/core": "1.21.0",
157
- "@zag-js/date-picker": "1.21.0",
158
- "@zag-js/date-utils": "1.21.0",
159
- "@zag-js/dialog": "1.21.0",
160
- "@zag-js/dom-query": "1.21.0",
161
- "@zag-js/editable": "1.21.0",
162
- "@zag-js/file-upload": "1.21.0",
163
- "@zag-js/file-utils": "1.21.0",
164
- "@zag-js/focus-trap": "1.21.0",
165
- "@zag-js/floating-panel": "1.21.0",
166
- "@zag-js/highlight-word": "1.21.0",
167
- "@zag-js/hover-card": "1.21.0",
168
- "@zag-js/i18n-utils": "1.21.0",
169
- "@zag-js/json-tree-utils": "1.21.0",
170
- "@zag-js/listbox": "1.21.0",
171
- "@zag-js/menu": "1.21.0",
172
- "@zag-js/number-input": "1.21.0",
173
- "@zag-js/pagination": "1.21.0",
174
- "@zag-js/password-input": "1.21.0",
175
- "@zag-js/pin-input": "1.21.0",
176
- "@zag-js/popover": "1.21.0",
177
- "@zag-js/presence": "1.21.0",
178
- "@zag-js/progress": "1.21.0",
179
- "@zag-js/qr-code": "1.21.0",
180
- "@zag-js/radio-group": "1.21.0",
181
- "@zag-js/rating-group": "1.21.0",
182
- "@zag-js/select": "1.21.0",
183
- "@zag-js/signature-pad": "1.21.0",
184
- "@zag-js/slider": "1.21.0",
185
- "@zag-js/splitter": "1.21.0",
186
- "@zag-js/switch": "1.21.0",
187
- "@zag-js/tabs": "1.21.0",
188
- "@zag-js/tags-input": "1.21.0",
189
- "@zag-js/time-picker": "1.21.0",
190
- "@zag-js/timer": "1.21.0",
191
- "@zag-js/toast": "1.21.0",
192
- "@zag-js/toggle": "1.21.0",
193
- "@zag-js/toggle-group": "1.21.0",
194
- "@zag-js/tooltip": "1.21.0",
195
- "@zag-js/tour": "1.21.0",
196
- "@zag-js/tree-view": "1.21.0",
197
- "@zag-js/types": "1.21.0",
198
- "@zag-js/utils": "1.21.0",
199
- "@zag-js/steps": "1.21.0",
200
- "@zag-js/vue": "1.21.0"
143
+ "@zag-js/accordion": "1.21.3",
144
+ "@zag-js/angle-slider": "1.21.3",
145
+ "@zag-js/anatomy": "1.21.3",
146
+ "@zag-js/auto-resize": "1.21.3",
147
+ "@zag-js/avatar": "1.21.3",
148
+ "@zag-js/carousel": "1.21.3",
149
+ "@zag-js/checkbox": "1.21.3",
150
+ "@zag-js/clipboard": "1.21.3",
151
+ "@zag-js/collapsible": "1.21.3",
152
+ "@zag-js/collection": "1.21.3",
153
+ "@zag-js/color-picker": "1.21.3",
154
+ "@zag-js/color-utils": "1.21.3",
155
+ "@zag-js/combobox": "1.21.3",
156
+ "@zag-js/core": "1.21.3",
157
+ "@zag-js/date-picker": "1.21.3",
158
+ "@zag-js/date-utils": "1.21.3",
159
+ "@zag-js/dialog": "1.21.3",
160
+ "@zag-js/dom-query": "1.21.3",
161
+ "@zag-js/editable": "1.21.3",
162
+ "@zag-js/file-upload": "1.21.3",
163
+ "@zag-js/file-utils": "1.21.3",
164
+ "@zag-js/focus-trap": "1.21.3",
165
+ "@zag-js/floating-panel": "1.21.3",
166
+ "@zag-js/highlight-word": "1.21.3",
167
+ "@zag-js/hover-card": "1.21.3",
168
+ "@zag-js/i18n-utils": "1.21.3",
169
+ "@zag-js/json-tree-utils": "1.21.3",
170
+ "@zag-js/listbox": "1.21.3",
171
+ "@zag-js/menu": "1.21.3",
172
+ "@zag-js/number-input": "1.21.3",
173
+ "@zag-js/pagination": "1.21.3",
174
+ "@zag-js/password-input": "1.21.3",
175
+ "@zag-js/pin-input": "1.21.3",
176
+ "@zag-js/popover": "1.21.3",
177
+ "@zag-js/presence": "1.21.3",
178
+ "@zag-js/progress": "1.21.3",
179
+ "@zag-js/qr-code": "1.21.3",
180
+ "@zag-js/radio-group": "1.21.3",
181
+ "@zag-js/rating-group": "1.21.3",
182
+ "@zag-js/select": "1.21.3",
183
+ "@zag-js/signature-pad": "1.21.3",
184
+ "@zag-js/slider": "1.21.3",
185
+ "@zag-js/splitter": "1.21.3",
186
+ "@zag-js/switch": "1.21.3",
187
+ "@zag-js/tabs": "1.21.3",
188
+ "@zag-js/tags-input": "1.21.3",
189
+ "@zag-js/time-picker": "1.21.3",
190
+ "@zag-js/timer": "1.21.3",
191
+ "@zag-js/toast": "1.21.3",
192
+ "@zag-js/toggle": "1.21.3",
193
+ "@zag-js/toggle-group": "1.21.3",
194
+ "@zag-js/tooltip": "1.21.3",
195
+ "@zag-js/tour": "1.21.3",
196
+ "@zag-js/tree-view": "1.21.3",
197
+ "@zag-js/types": "1.21.3",
198
+ "@zag-js/utils": "1.21.3",
199
+ "@zag-js/steps": "1.21.3",
200
+ "@zag-js/vue": "1.21.3"
201
201
  },
202
202
  "devDependencies": {
203
- "@biomejs/biome": "1.9.4",
203
+ "@biomejs/biome": "2.2.0",
204
204
  "@histoire/plugin-vue": "0.17.17",
205
- "@testing-library/dom": "10.4.0",
206
- "@testing-library/jest-dom": "6.6.3",
205
+ "@testing-library/dom": "10.4.1",
206
+ "@testing-library/jest-dom": "6.7.0",
207
207
  "@testing-library/user-event": "14.6.1",
208
208
  "@testing-library/vue": "8.1.0",
209
209
  "@types/jsdom": "21.1.7",
210
- "@vitejs/plugin-vue": "6.0.0",
210
+ "@vitejs/plugin-vue": "6.0.1",
211
211
  "@vitejs/plugin-vue-jsx": "5.0.1",
212
- "@vue/compiler-sfc": "3.5.17",
212
+ "@vue/compiler-sfc": "3.5.18",
213
213
  "clean-package": "2.2.0",
214
214
  "image-conversion": "2.1.1",
215
215
  "globby": "14.1.0",
216
216
  "histoire": "0.17.17",
217
217
  "jsdom": "26.1.0",
218
- "lucide-vue-next": "0.525.0",
218
+ "lucide-vue-next": "0.539.0",
219
219
  "resize-observer-polyfill": "1.5.1",
220
- "typescript": "5.8.3",
221
- "vite": "7.0.5",
220
+ "typescript": "5.9.2",
221
+ "vite": "7.1.2",
222
222
  "vite-plugin-dts": "4.5.4",
223
223
  "vitest": "3.2.4",
224
224
  "@vitest/coverage-v8": "3.2.4",
225
- "vue": "3.5.17",
226
- "vue-tsc": "3.0.3"
225
+ "vue": "3.5.18",
226
+ "vue-tsc": "3.0.5"
227
227
  },
228
228
  "peerDependencies": {
229
229
  "vue": ">=3.5.0"