@vizejs/ui 0.407.0 → 0.408.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 (56) hide show
  1. package/dist/alert-dialog.d.mts +1 -1
  2. package/dist/{announcer-CuBryPW9.d.mts → announcer-Dldh-8I4.d.mts} +77 -16
  3. package/dist/announcer.d.mts +1 -1
  4. package/dist/avatar.d.mts +1 -1
  5. package/dist/badge.d.mts +1 -1
  6. package/dist/banner.d.mts +1 -1
  7. package/dist/block-ui.d.mts +1 -1
  8. package/dist/blockquote.d.mts +1 -1
  9. package/dist/callout.d.mts +1 -1
  10. package/dist/card.d.mts +1 -1
  11. package/dist/catalog.d.mts +3 -3
  12. package/dist/catalog.mjs +4 -2
  13. package/dist/checkbox.d.mts +1 -1
  14. package/dist/code.d.mts +1 -1
  15. package/dist/collapsible.d.mts +1 -1
  16. package/dist/copy-button.d.mts +1 -1
  17. package/dist/dialog.d.mts +1 -1
  18. package/dist/empty-state.d.mts +1 -1
  19. package/dist/form-BSS3SlU9.d.mts +182 -0
  20. package/dist/form-DnMzKS86.mjs +219 -0
  21. package/dist/form.d.mts +2 -2
  22. package/dist/form.mjs +2 -1
  23. package/dist/fullscreen-button.d.mts +1 -1
  24. package/dist/heading.d.mts +1 -1
  25. package/dist/icon-button.d.mts +1 -1
  26. package/dist/icon.d.mts +1 -1
  27. package/dist/index.d.mts +5 -5
  28. package/dist/index.mjs +3 -3
  29. package/dist/kbd.d.mts +1 -1
  30. package/dist/list.d.mts +1 -1
  31. package/dist/listbox.d.mts +1 -1
  32. package/dist/{locale-DzWqhJZs.mjs → locale-DmAAufmA.mjs} +179 -16
  33. package/dist/locale.d.mts +2 -2
  34. package/dist/locale.mjs +2 -2
  35. package/dist/native-select.d.mts +1 -1
  36. package/dist/pagination.d.mts +1 -1
  37. package/dist/popover.d.mts +1 -1
  38. package/dist/print-button.d.mts +1 -1
  39. package/dist/progress-bar.d.mts +1 -1
  40. package/dist/radio-group.d.mts +1 -1
  41. package/dist/{rating-CFaa2JnD.d.mts → rating-souDdL9t.d.mts} +2 -2
  42. package/dist/rating.d.mts +1 -1
  43. package/dist/scroll-area.d.mts +1 -1
  44. package/dist/{search-field-CmFd3uhI.d.mts → search-field-zyMCYvZ2.d.mts} +2 -2
  45. package/dist/search-field.d.mts +1 -1
  46. package/dist/share-button.d.mts +1 -1
  47. package/dist/status-light.d.mts +1 -1
  48. package/dist/stepper.d.mts +1 -1
  49. package/dist/surface.d.mts +1 -1
  50. package/dist/switch.d.mts +1 -1
  51. package/dist/tabs.d.mts +1 -1
  52. package/dist/text.d.mts +1 -1
  53. package/dist/toggle.d.mts +1 -1
  54. package/dist/tooltip.d.mts +1 -1
  55. package/package.json +2 -2
  56. package/dist/form-1V2V30Sv.d.mts +0 -20
@@ -3,21 +3,57 @@ import { createContext } from "./context.mjs";
3
3
  import { computed, createElementBlock, defineComponent, getCurrentInstance, openBlock, reactive, renderSlot, toValue, watchEffect } from "vue";
4
4
  //#region src/families/i18n/locale/locale-runtime.ts
5
5
  const fallbackLocaleValue = "en-US";
6
+ const fallbackTimeZoneValue = "UTC";
7
+ const fallbackTimeZoneDisambiguation = "compatible";
6
8
  const setupDiagnostic = "VIZE_UI_LOCALE_SETUP";
7
9
  const defaultSearchCollatorOptions = Object.freeze({
8
10
  sensitivity: "base",
9
11
  usage: "search"
10
12
  });
13
+ const timeZoneDisambiguations = [
14
+ "compatible",
15
+ "earlier",
16
+ "later",
17
+ "reject"
18
+ ];
19
+ const supportedIntlValues = typeof Intl.supportedValuesOf === "function" ? Intl.supportedValuesOf.bind(Intl) : void 0;
11
20
  /** Typed locale context for application and component subtrees. */
12
21
  const localeContext = createContext("Locale");
22
+ /** Fallback locale. */
13
23
  function fallbackLocale() {
14
24
  if (typeof document === "undefined") return fallbackLocaleValue;
15
25
  return resolveLocale(document.documentElement.lang);
16
26
  }
27
+ /** Fallback direction. */
17
28
  function fallbackDirection() {
18
29
  if (typeof document === "undefined") return "ltr";
19
30
  return document.documentElement.dir === "rtl" ? "rtl" : "ltr";
20
31
  }
32
+ /** Fallback context. */
33
+ function fallbackLocaleContext() {
34
+ return {
35
+ locale: fallbackLocale(),
36
+ direction: fallbackDirection(),
37
+ numberingSystem: void 0,
38
+ calendar: void 0,
39
+ timeZone: fallbackTimeZoneValue,
40
+ timeZoneDisambiguation: fallbackTimeZoneDisambiguation
41
+ };
42
+ }
43
+ /** Trim Intl identifiers. */
44
+ function maybeTrimmedIdentifier(value) {
45
+ const candidate = value?.trim();
46
+ return candidate && candidate.length > 0 ? candidate : void 0;
47
+ }
48
+ /** Check Intl support. */
49
+ function isSupportedIntlValue(key, value) {
50
+ if (!supportedIntlValues) return true;
51
+ try {
52
+ return supportedIntlValues(key).includes(value);
53
+ } catch {
54
+ return true;
55
+ }
56
+ }
21
57
  /** Resolve a BCP 47 locale, or `en-US`. */
22
58
  function resolveLocale(locale) {
23
59
  const candidate = locale.trim();
@@ -38,6 +74,48 @@ function resolveDirection(direction, locale) {
38
74
  } catch {}
39
75
  return "ltr";
40
76
  }
77
+ /** Resolve a numbering-system identifier, or the locale default. */
78
+ function resolveNumberingSystem(numberingSystem, locale = fallbackLocaleValue) {
79
+ const candidate = maybeTrimmedIdentifier(numberingSystem);
80
+ if (!candidate) return void 0;
81
+ try {
82
+ const resolvedLocale = resolveLocale(locale);
83
+ const canonical = new Intl.Locale(resolvedLocale, { numberingSystem: candidate }).numberingSystem;
84
+ if (!canonical || !isSupportedIntlValue("numberingSystem", canonical)) return void 0;
85
+ const resolved = new Intl.NumberFormat(resolvedLocale, { numberingSystem: canonical }).resolvedOptions().numberingSystem;
86
+ return resolved === canonical ? resolved : void 0;
87
+ } catch {
88
+ return;
89
+ }
90
+ }
91
+ /** Resolve a calendar-system identifier, or the locale default. */
92
+ function resolveCalendar(calendar, locale = fallbackLocaleValue) {
93
+ const candidate = maybeTrimmedIdentifier(calendar);
94
+ if (!candidate) return void 0;
95
+ try {
96
+ const resolvedLocale = resolveLocale(locale);
97
+ const canonical = new Intl.Locale(resolvedLocale, { calendar: candidate }).calendar;
98
+ if (!canonical || !isSupportedIntlValue("calendar", canonical)) return void 0;
99
+ const resolved = new Intl.DateTimeFormat(resolvedLocale, { calendar: canonical }).resolvedOptions().calendar;
100
+ return resolved === canonical ? resolved : void 0;
101
+ } catch {
102
+ return;
103
+ }
104
+ }
105
+ /** Resolve an IANA time-zone identifier, or `UTC`. */
106
+ function resolveTimeZone(timeZone) {
107
+ const candidate = maybeTrimmedIdentifier(timeZone);
108
+ if (!candidate) return fallbackTimeZoneValue;
109
+ try {
110
+ return new Intl.DateTimeFormat(fallbackLocaleValue, { timeZone: candidate }).resolvedOptions().timeZone;
111
+ } catch {
112
+ return fallbackTimeZoneValue;
113
+ }
114
+ }
115
+ /** Resolve a Temporal-compatible time-zone disambiguation policy. */
116
+ function resolveTimeZoneDisambiguation(disambiguation) {
117
+ return disambiguation && timeZoneDisambiguations.includes(disambiguation) ? disambiguation : fallbackTimeZoneDisambiguation;
118
+ }
41
119
  /** Create a number formatter. */
42
120
  function resolveNumberFormatter(locale, options) {
43
121
  return new Intl.NumberFormat(resolveLocale(locale), options);
@@ -69,27 +147,72 @@ function resolveSearchCollator(locale, options) {
69
147
  ...options
70
148
  });
71
149
  }
72
- /** Read the nearest locale, or the document/SSR fallback. */
73
- function useLocale() {
150
+ /** Require setup. */
151
+ function requireLocaleSetup() {
74
152
  if (!getCurrentInstance()) throw new Error(`${setupDiagnostic}: use inside component setup`);
153
+ }
154
+ /** Merge number defaults. */
155
+ function withNumberingSystem(options, numberingSystem) {
156
+ if (!numberingSystem || options?.numberingSystem !== void 0) return options;
157
+ return {
158
+ ...options,
159
+ numberingSystem
160
+ };
161
+ }
162
+ /** Merge date defaults. */
163
+ function withDateTimeDefaults(options, value) {
164
+ return {
165
+ ...options,
166
+ calendar: options?.calendar ?? value.calendar,
167
+ numberingSystem: options?.numberingSystem ?? value.numberingSystem,
168
+ timeZone: options?.timeZone ?? value.timeZone
169
+ };
170
+ }
171
+ /** Read the nearest locale context, or the document/SSR fallback. */
172
+ function useLocaleValue() {
173
+ requireLocaleSetup();
75
174
  const provided = localeContext.useOptional();
76
- return computed(() => provided?.locale ?? fallbackLocale());
175
+ return computed(() => provided ?? fallbackLocaleContext());
176
+ }
177
+ /** Read the nearest locale, or the document/SSR fallback. */
178
+ function useLocale() {
179
+ const value = useLocaleValue();
180
+ return computed(() => value.value.locale);
77
181
  }
78
182
  /** Read the nearest resolved writing direction, or the document/SSR fallback. */
79
183
  function useDirection() {
80
- if (!getCurrentInstance()) throw new Error(`${setupDiagnostic}: use inside component setup`);
81
- const provided = localeContext.useOptional();
82
- return computed(() => provided?.direction ?? fallbackDirection());
184
+ const value = useLocaleValue();
185
+ return computed(() => value.value.direction);
186
+ }
187
+ /** Read the nearest numbering system, or the locale default. */
188
+ function useNumberingSystem() {
189
+ const value = useLocaleValue();
190
+ return computed(() => value.value.numberingSystem);
191
+ }
192
+ /** Read the nearest calendar system, or the locale default. */
193
+ function useCalendar() {
194
+ const value = useLocaleValue();
195
+ return computed(() => value.value.calendar);
196
+ }
197
+ /** Read the nearest time zone, or the deterministic `UTC` fallback. */
198
+ function useTimeZone() {
199
+ const value = useLocaleValue();
200
+ return computed(() => value.value.timeZone);
201
+ }
202
+ /** Read the nearest time-zone disambiguation policy. */
203
+ function useTimeZoneDisambiguation() {
204
+ const value = useLocaleValue();
205
+ return computed(() => value.value.timeZoneDisambiguation);
83
206
  }
84
207
  /** Read the nearest locale and memoize a number formatter. */
85
208
  function useNumberFormatter(options) {
86
- const locale = useLocale();
87
- return computed(() => resolveNumberFormatter(locale.value, toValue(options)));
209
+ const value = useLocaleValue();
210
+ return computed(() => resolveNumberFormatter(value.value.locale, withNumberingSystem(toValue(options), value.value.numberingSystem)));
88
211
  }
89
212
  /** Read the nearest locale and memoize a date-time formatter. */
90
213
  function useDateTimeFormatter(options) {
91
- const locale = useLocale();
92
- return computed(() => resolveDateTimeFormatter(locale.value, toValue(options)));
214
+ const value = useLocaleValue();
215
+ return computed(() => resolveDateTimeFormatter(value.value.locale, withDateTimeDefaults(toValue(options), value.value)));
93
216
  }
94
217
  /** Read the nearest locale and memoize a list formatter. */
95
218
  function useListFormatter(options) {
@@ -98,8 +221,8 @@ function useListFormatter(options) {
98
221
  }
99
222
  /** Read the nearest locale and memoize a relative-time formatter. */
100
223
  function useRelativeTimeFormatter(options) {
101
- const locale = useLocale();
102
- return computed(() => resolveRelativeTimeFormatter(locale.value, toValue(options)));
224
+ const value = useLocaleValue();
225
+ return computed(() => resolveRelativeTimeFormatter(value.value.locale, withNumberingSystem(toValue(options), value.value.numberingSystem)));
103
226
  }
104
227
  /** Read the nearest locale and memoize a display-name formatter. */
105
228
  function useDisplayNames(options) {
@@ -163,7 +286,14 @@ function* codeUnitOffsets(value) {
163
286
  }
164
287
  //#endregion
165
288
  //#region src/families/i18n/locale/locale-provider.vue?vue&type=script&setup=true&lang.ts
166
- const _hoisted_1 = ["lang", "dir"];
289
+ const _hoisted_1 = [
290
+ "data-vize-ui-numbering-system",
291
+ "data-vize-ui-calendar",
292
+ "data-vize-ui-time-zone",
293
+ "data-vize-ui-time-zone-disambiguation",
294
+ "lang",
295
+ "dir"
296
+ ];
167
297
  //#endregion
168
298
  //#region src/families/i18n/locale/locale-provider.vue
169
299
  var locale_provider_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
@@ -178,29 +308,62 @@ var locale_provider_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
178
308
  type: String,
179
309
  required: false,
180
310
  default: "ltr"
311
+ },
312
+ numberingSystem: {
313
+ type: String,
314
+ required: false
315
+ },
316
+ calendar: {
317
+ type: String,
318
+ required: false
319
+ },
320
+ timeZone: {
321
+ type: String,
322
+ required: false
323
+ },
324
+ timeZoneDisambiguation: {
325
+ type: String,
326
+ required: false,
327
+ default: "compatible"
181
328
  }
182
329
  },
183
330
  setup(__props) {
184
331
  const value = reactive({
185
332
  locale: "en-US",
186
- direction: "ltr"
333
+ direction: "ltr",
334
+ numberingSystem: void 0,
335
+ calendar: void 0,
336
+ timeZone: "UTC",
337
+ timeZoneDisambiguation: "compatible"
187
338
  });
188
339
  watchEffect(() => {
189
340
  value.locale = resolveLocale(__props.locale);
190
341
  value.direction = resolveDirection(__props.direction, value.locale);
342
+ value.numberingSystem = resolveNumberingSystem(__props.numberingSystem, value.locale);
343
+ value.calendar = resolveCalendar(__props.calendar, value.locale);
344
+ value.timeZone = resolveTimeZone(__props.timeZone);
345
+ value.timeZoneDisambiguation = resolveTimeZoneDisambiguation(__props.timeZoneDisambiguation);
191
346
  });
192
347
  localeContext.provide(value);
193
348
  return (_ctx, _cache) => {
194
349
  return openBlock(), createElementBlock("div", {
195
350
  "data-vize-ui": "locale",
351
+ "data-vize-ui-numbering-system": value.numberingSystem,
352
+ "data-vize-ui-calendar": value.calendar,
353
+ "data-vize-ui-time-zone": value.timeZone,
354
+ "data-vize-ui-time-zone-disambiguation": value.timeZoneDisambiguation,
196
355
  lang: value.locale,
197
356
  dir: value.direction
198
357
  }, [renderSlot(_ctx.$slots, "default", {
199
358
  locale: value.locale,
200
- direction: value.direction
359
+ direction: value.direction,
360
+ numberingSystem: value.numberingSystem,
361
+ calendar: value.calendar,
362
+ timeZone: value.timeZone,
363
+ timeZoneDisambiguation: value.timeZoneDisambiguation
201
364
  }, void 0, true)], 8, _hoisted_1);
202
365
  };
203
366
  }
204
367
  }), [["__scopeId", "data-v-d8cdfe77"]]);
205
368
  //#endregion
206
- export { useRelativeTimeFormatter as C, useNumberFormatter as S, useDateTimeFormatter as _, normalizeLocaleText as a, useListFormatter as b, resolveDateTimeFormatter as c, resolveListFormatter as d, resolveLocale as f, useCollator as g, resolveSearchCollator as h, localeTextStartsWith as i, resolveDirection as l, resolveRelativeTimeFormatter as m, localeTextContains as n, localeContext as o, resolveNumberFormatter as p, localeTextMatches as r, resolveCollator as s, locale_provider_default as t, resolveDisplayNames as u, useDirection as v, useSearchCollator as w, useLocale as x, useDisplayNames as y };
369
+ export { useRelativeTimeFormatter as A, useDirection as C, useLocaleValue as D, useLocale as E, useTimeZone as M, useTimeZoneDisambiguation as N, useNumberFormatter as O, useDateTimeFormatter as S, useListFormatter as T, resolveSearchCollator as _, normalizeLocaleText as a, useCalendar as b, resolveCollator as c, resolveDisplayNames as d, resolveListFormatter as f, resolveRelativeTimeFormatter as g, resolveNumberingSystem as h, localeTextStartsWith as i, useSearchCollator as j, useNumberingSystem as k, resolveDateTimeFormatter as l, resolveNumberFormatter as m, localeTextContains as n, localeContext as o, resolveLocale as p, localeTextMatches as r, resolveCalendar as s, locale_provider_default as t, resolveDirection as u, resolveTimeZone as v, useDisplayNames as w, useCollator as x, resolveTimeZoneDisambiguation as y };
package/dist/locale.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as LocaleRelativeTimeFormatterOptions, B as localeTextContains, G as LocaleCollatorOptions, H as localeTextStartsWith, J as LocaleDisplayNamesOptionsInput, K as LocaleDateTimeFormatterOptions, L as _default, Q as LocaleNumberFormatterOptions, R as LocaleTextMatchMode, U as normalizeLocaleText, V as localeTextMatches, W as DirectionPreference, X as LocaleFormatterOptionsInput, Y as LocaleDisplayNamesType, Z as LocaleListFormatterOptions, _t as useLocale, at as resolveDirection, bt as useSearchCollator, ct as resolveLocale, dt as resolveSearchCollator, et as LocaleValue, ft as useCollator, gt as useListFormatter, ht as useDisplayNames, it as resolveDateTimeFormatter, lt as resolveNumberFormatter, mt as useDirection, nt as localeContext, ot as resolveDisplayNames, pt as useDateTimeFormatter, q as LocaleDisplayNamesOptions, rt as resolveCollator, st as resolveListFormatter, tt as TextDirection, ut as resolveRelativeTimeFormatter, vt as useNumberFormatter, yt as useRelativeTimeFormatter, z as LocaleTextMatchOptions } from "./announcer-CuBryPW9.mjs";
2
- export { type DirectionPreference, type LocaleCollatorOptions, type LocaleDateTimeFormatterOptions, type LocaleDisplayNamesOptions, type LocaleDisplayNamesOptionsInput, type LocaleDisplayNamesType, type LocaleFormatterOptionsInput, type LocaleListFormatterOptions, type LocaleNumberFormatterOptions, _default as LocaleProvider, type LocaleRelativeTimeFormatterOptions, type LocaleTextMatchMode, type LocaleTextMatchOptions, type LocaleValue, type TextDirection, localeContext, localeTextContains, localeTextMatches, localeTextStartsWith, normalizeLocaleText, resolveCollator, resolveDateTimeFormatter, resolveDirection, resolveDisplayNames, resolveListFormatter, resolveLocale, resolveNumberFormatter, resolveRelativeTimeFormatter, resolveSearchCollator, useCollator, useDateTimeFormatter, useDirection, useDisplayNames, useListFormatter, useLocale, useNumberFormatter, useRelativeTimeFormatter, useSearchCollator };
1
+ import { $ as LocaleNumberFormatterOptions, At as useRelativeTimeFormatter, B as localeTextContains, Ct as useDirection, Dt as useLocaleValue, Et as useLocale, G as LocaleCalendar, H as localeTextStartsWith, J as LocaleDisplayNamesOptions, K as LocaleCollatorOptions, L as _default, Mt as useTimeZone, Nt as useTimeZoneDisambiguation, Ot as useNumberFormatter, Q as LocaleListFormatterOptions, R as LocaleTextMatchMode, St as useDateTimeFormatter, Tt as useListFormatter, U as normalizeLocaleText, V as localeTextMatches, W as DirectionPreference, X as LocaleDisplayNamesType, Y as LocaleDisplayNamesOptionsInput, Z as LocaleFormatterOptionsInput, _t as resolveSearchCollator, at as TextDirection, bt as useCalendar, ct as resolveCollator, dt as resolveDisplayNames, et as LocaleNumberingSystem, ft as resolveListFormatter, gt as resolveRelativeTimeFormatter, ht as resolveNumberingSystem, it as LocaleValue, jt as useSearchCollator, kt as useNumberingSystem, lt as resolveDateTimeFormatter, mt as resolveNumberFormatter, nt as LocaleTimeZone, ot as localeContext, pt as resolveLocale, q as LocaleDateTimeFormatterOptions, rt as LocaleTimeZoneDisambiguation, st as resolveCalendar, tt as LocaleRelativeTimeFormatterOptions, ut as resolveDirection, vt as resolveTimeZone, wt as useDisplayNames, xt as useCollator, yt as resolveTimeZoneDisambiguation, z as LocaleTextMatchOptions } from "./announcer-Dldh-8I4.mjs";
2
+ export { type DirectionPreference, type LocaleCalendar, type LocaleCollatorOptions, type LocaleDateTimeFormatterOptions, type LocaleDisplayNamesOptions, type LocaleDisplayNamesOptionsInput, type LocaleDisplayNamesType, type LocaleFormatterOptionsInput, type LocaleListFormatterOptions, type LocaleNumberFormatterOptions, type LocaleNumberingSystem, _default as LocaleProvider, type LocaleRelativeTimeFormatterOptions, type LocaleTextMatchMode, type LocaleTextMatchOptions, type LocaleTimeZone, type LocaleTimeZoneDisambiguation, type LocaleValue, type TextDirection, localeContext, localeTextContains, localeTextMatches, localeTextStartsWith, normalizeLocaleText, resolveCalendar, resolveCollator, resolveDateTimeFormatter, resolveDirection, resolveDisplayNames, resolveListFormatter, resolveLocale, resolveNumberFormatter, resolveNumberingSystem, resolveRelativeTimeFormatter, resolveSearchCollator, resolveTimeZone, resolveTimeZoneDisambiguation, useCalendar, useCollator, useDateTimeFormatter, useDirection, useDisplayNames, useListFormatter, useLocale, useLocaleValue, useNumberFormatter, useNumberingSystem, useRelativeTimeFormatter, useSearchCollator, useTimeZone, useTimeZoneDisambiguation };
package/dist/locale.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { C as useRelativeTimeFormatter, S as useNumberFormatter, _ as useDateTimeFormatter, a as normalizeLocaleText, b as useListFormatter, c as resolveDateTimeFormatter, d as resolveListFormatter, f as resolveLocale, g as useCollator, h as resolveSearchCollator, i as localeTextStartsWith, l as resolveDirection, m as resolveRelativeTimeFormatter, n as localeTextContains, o as localeContext, p as resolveNumberFormatter, r as localeTextMatches, s as resolveCollator, t as locale_provider_default, u as resolveDisplayNames, v as useDirection, w as useSearchCollator, x as useLocale, y as useDisplayNames } from "./locale-DzWqhJZs.mjs";
2
- export { locale_provider_default as LocaleProvider, localeContext, localeTextContains, localeTextMatches, localeTextStartsWith, normalizeLocaleText, resolveCollator, resolveDateTimeFormatter, resolveDirection, resolveDisplayNames, resolveListFormatter, resolveLocale, resolveNumberFormatter, resolveRelativeTimeFormatter, resolveSearchCollator, useCollator, useDateTimeFormatter, useDirection, useDisplayNames, useListFormatter, useLocale, useNumberFormatter, useRelativeTimeFormatter, useSearchCollator };
1
+ import { A as useRelativeTimeFormatter, C as useDirection, D as useLocaleValue, E as useLocale, M as useTimeZone, N as useTimeZoneDisambiguation, O as useNumberFormatter, S as useDateTimeFormatter, T as useListFormatter, _ as resolveSearchCollator, a as normalizeLocaleText, b as useCalendar, c as resolveCollator, d as resolveDisplayNames, f as resolveListFormatter, g as resolveRelativeTimeFormatter, h as resolveNumberingSystem, i as localeTextStartsWith, j as useSearchCollator, k as useNumberingSystem, l as resolveDateTimeFormatter, m as resolveNumberFormatter, n as localeTextContains, o as localeContext, p as resolveLocale, r as localeTextMatches, s as resolveCalendar, t as locale_provider_default, u as resolveDirection, v as resolveTimeZone, w as useDisplayNames, x as useCollator, y as resolveTimeZoneDisambiguation } from "./locale-DmAAufmA.mjs";
2
+ export { locale_provider_default as LocaleProvider, localeContext, localeTextContains, localeTextMatches, localeTextStartsWith, normalizeLocaleText, resolveCalendar, resolveCollator, resolveDateTimeFormatter, resolveDirection, resolveDisplayNames, resolveListFormatter, resolveLocale, resolveNumberFormatter, resolveNumberingSystem, resolveRelativeTimeFormatter, resolveSearchCollator, resolveTimeZone, resolveTimeZoneDisambiguation, useCalendar, useCollator, useDateTimeFormatter, useDirection, useDisplayNames, useListFormatter, useLocale, useLocaleValue, useNumberFormatter, useNumberingSystem, useRelativeTimeFormatter, useSearchCollator, useTimeZone, useTimeZoneDisambiguation };
@@ -1,2 +1,2 @@
1
- import { _r as NativeSelectSlotState, ar as normalizeNativeSelectValue, br as NativeSelectValue, cr as NativeSelectDirection, dr as NativeSelectMultipleValue, fr as NativeSelectOption, gr as NativeSelectSingleValue, hr as NativeSelectSelectionMode, ir as nativeSelectSelectedValues, lr as NativeSelectEmits, mr as NativeSelectProps, or as _default, pr as NativeSelectOptionState, rr as areNativeSelectValuesEqual, sr as NativeSelectAriaInvalid, ur as NativeSelectExpose, vr as NativeSelectSlots, yr as NativeSelectState } from "./announcer-CuBryPW9.mjs";
1
+ import { Ar as NativeSelectSlotState, Cr as NativeSelectExpose, Dr as NativeSelectProps, Er as NativeSelectOptionState, Mr as NativeSelectState, Nr as NativeSelectValue, Or as NativeSelectSelectionMode, Sr as NativeSelectEmits, Tr as NativeSelectOption, _r as nativeSelectSelectedValues, br as NativeSelectAriaInvalid, gr as areNativeSelectValuesEqual, jr as NativeSelectSlots, kr as NativeSelectSingleValue, vr as normalizeNativeSelectValue, wr as NativeSelectMultipleValue, xr as NativeSelectDirection, yr as _default } from "./announcer-Dldh-8I4.mjs";
2
2
  export { _default as NativeSelect, type NativeSelectAriaInvalid, type NativeSelectDirection, type NativeSelectEmits, type NativeSelectExpose, type NativeSelectMultipleValue, type NativeSelectOption, type NativeSelectOptionState, type NativeSelectProps, type NativeSelectSelectionMode, type NativeSelectSingleValue, type NativeSelectSlotState, type NativeSelectSlots, type NativeSelectState, type NativeSelectValue, areNativeSelectValuesEqual, nativeSelectSelectedValues, normalizeNativeSelectValue };
@@ -1,2 +1,2 @@
1
- import { $t as PaginationPageState, Bt as _default, Ft as _default$5, Gt as PaginationEllipsisPosition, Ht as PaginationControlSlotState, It as _default$4, Jt as PaginationItemSlotState, Kt as PaginationEllipsisSlotState, Lt as _default$3, Pt as _default$6, Qt as PaginationPageSlotState, Rt as _default$2, Ut as PaginationControlState, Vt as PaginationControlExpose, Wt as PaginationEllipsisExpose, Xt as PaginationListSlotState, Yt as PaginationListExpose, Zt as PaginationPageExpose, an as PaginationRangeItem, cn as createPaginationRange, dn as normalizePaginationPageCount, en as PaginationRootExpose, fn as toPaginationPageInRange, in as PaginationRangeEllipsis, ln as getPaginationPageIdSegment, nn as PaginationSlotState, on as PaginationRangeOptions, qt as PaginationItemExpose, rn as PaginationState, sn as PaginationRangePage, tn as PaginationRootProps, un as normalizePaginationPage, zt as _default$1 } from "./announcer-CuBryPW9.mjs";
1
+ import { $t as _default, Cn as normalizePaginationPage, Jt as _default$5, Qt as _default$1, Sn as getPaginationPageIdSegment, Tn as toPaginationPageInRange, Xt as _default$3, Yt as _default$4, Zt as _default$2, _n as PaginationRangeEllipsis, an as PaginationEllipsisSlotState, bn as PaginationRangePage, cn as PaginationListExpose, dn as PaginationPageSlotState, en as PaginationControlExpose, fn as PaginationPageState, gn as PaginationState, hn as PaginationSlotState, in as PaginationEllipsisPosition, ln as PaginationListSlotState, mn as PaginationRootProps, nn as PaginationControlState, on as PaginationItemExpose, pn as PaginationRootExpose, qt as _default$6, rn as PaginationEllipsisExpose, sn as PaginationItemSlotState, tn as PaginationControlSlotState, un as PaginationPageExpose, vn as PaginationRangeItem, wn as normalizePaginationPageCount, xn as createPaginationRange, yn as PaginationRangeOptions } from "./announcer-Dldh-8I4.mjs";
2
2
  export { _default as Pagination, _default as PaginationRoot, type PaginationControlExpose, type PaginationControlSlotState, type PaginationControlState, _default$1 as PaginationEllipsis, type PaginationEllipsisExpose, type PaginationEllipsisPosition, type PaginationEllipsisSlotState, _default$2 as PaginationItem, type PaginationItemExpose, type PaginationItemSlotState, _default$3 as PaginationList, type PaginationListExpose, type PaginationListSlotState, _default$4 as PaginationNext, _default$5 as PaginationPage, type PaginationPageExpose, type PaginationPageSlotState, type PaginationPageState, _default$6 as PaginationPrevious, type PaginationRangeEllipsis, type PaginationRangeItem, type PaginationRangeOptions, type PaginationRangePage, type PaginationRootExpose, type PaginationRootProps, type PaginationSlotState, type PaginationState, createPaginationRange, getPaginationPageIdSegment, normalizePaginationPage, normalizePaginationPageCount, toPaginationPageInRange };
@@ -1,2 +1,2 @@
1
- import { Ai as PopoverContentSlotState, Bi as PopoverSlotState, Ci as _default$1, Di as PopoverArrowSlotState, Ei as PopoverArrowExpose, Fi as PopoverPlacement, Hi as PopoverTriggerExpose, Ii as PopoverPointerDownOutsideEvent, Li as PopoverPositionerStrategy, Mi as PopoverEscapeKeyDownEvent, Ni as PopoverFocusOutsideEvent, Oi as PopoverAutoFocusEvent, Pi as PopoverInteractOutsideEvent, Ri as PopoverRootExpose, Si as _default$2, Ti as PopoverAlign, Ui as PopoverViewport, Vi as PopoverState, ji as PopoverDismissEvent, ki as PopoverContentExpose, wi as _default, xi as _default$3, zi as PopoverSide } from "./announcer-CuBryPW9.mjs";
1
+ import { $i as PopoverSlotState, Bi as PopoverArrowSlotState, Fi as _default$2, Gi as PopoverEscapeKeyDownEvent, Hi as PopoverContentExpose, Ii as _default$1, Ji as PopoverPlacement, Ki as PopoverFocusOutsideEvent, Li as _default, Pi as _default$3, Qi as PopoverSide, Ri as PopoverAlign, Ui as PopoverContentSlotState, Vi as PopoverAutoFocusEvent, Wi as PopoverDismissEvent, Xi as PopoverPositionerStrategy, Yi as PopoverPointerDownOutsideEvent, Zi as PopoverRootExpose, ea as PopoverState, na as PopoverViewport, qi as PopoverInteractOutsideEvent, ta as PopoverTriggerExpose, zi as PopoverArrowExpose } from "./announcer-Dldh-8I4.mjs";
2
2
  export { _default as Popover, _default as PopoverRoot, type PopoverAlign, _default$1 as PopoverArrow, type PopoverArrowExpose, type PopoverArrowSlotState, type PopoverAutoFocusEvent, _default$2 as PopoverContent, type PopoverContentExpose, type PopoverContentSlotState, type PopoverDismissEvent, type PopoverEscapeKeyDownEvent, type PopoverFocusOutsideEvent, type PopoverInteractOutsideEvent, type PopoverPlacement, type PopoverPointerDownOutsideEvent, type PopoverPositionerStrategy, type PopoverRootExpose, type PopoverSide, type PopoverSlotState, type PopoverState, _default$3 as PopoverTrigger, type PopoverTriggerExpose, type PopoverViewport };
@@ -1,2 +1,2 @@
1
- import { Ba as PrintButtonEmits, Fa as PrintButtonAction, Ga as PrintButtonSlots, Ha as PrintButtonPart, Ia as PrintButtonCssCustomProperty, Ka as PrintButtonState, La as PrintButtonDataAttribute, Pa as _default, Ra as PrintButtonDataName, Ua as PrintButtonProps, Va as PrintButtonExpose, Wa as PrintButtonSlotState, qa as PrintButtonType, za as PrintButtonElement } from "./announcer-CuBryPW9.mjs";
1
+ import { $a as PrintButtonEmits, Ja as PrintButtonAction, Qa as PrintButtonElement, Xa as PrintButtonDataAttribute, Ya as PrintButtonCssCustomProperty, Za as PrintButtonDataName, ao as PrintButtonState, eo as PrintButtonExpose, io as PrintButtonSlots, no as PrintButtonProps, oo as PrintButtonType, qa as _default, ro as PrintButtonSlotState, to as PrintButtonPart } from "./announcer-Dldh-8I4.mjs";
2
2
  export { _default as PrintButton, type PrintButtonAction, type PrintButtonCssCustomProperty, type PrintButtonDataAttribute, type PrintButtonDataName, type PrintButtonElement, type PrintButtonEmits, type PrintButtonExpose, type PrintButtonPart, type PrintButtonProps, type PrintButtonSlotState, type PrintButtonSlots, type PrintButtonState, type PrintButtonType };
@@ -1,2 +1,2 @@
1
- import { A as ProgressBarDirection, D as PROGRESS_BAR_DEFAULT_MIN, E as PROGRESS_BAR_DEFAULT_MAX, F as ProgressBarState, I as ProgressBarStyle, M as ProgressBarProps, N as ProgressBarSlotState, O as getProgressBarState, P as ProgressBarSlots, T as _default, j as ProgressBarExpose, k as getProgressBarStyle } from "./announcer-CuBryPW9.mjs";
1
+ import { A as ProgressBarDirection, D as PROGRESS_BAR_DEFAULT_MIN, E as PROGRESS_BAR_DEFAULT_MAX, F as ProgressBarState, I as ProgressBarStyle, M as ProgressBarProps, N as ProgressBarSlotState, O as getProgressBarState, P as ProgressBarSlots, T as _default, j as ProgressBarExpose, k as getProgressBarStyle } from "./announcer-Dldh-8I4.mjs";
2
2
  export { PROGRESS_BAR_DEFAULT_MAX, PROGRESS_BAR_DEFAULT_MIN, _default as ProgressBar, type ProgressBarDirection, type ProgressBarExpose, type ProgressBarProps, type ProgressBarSlotState, type ProgressBarSlots, type ProgressBarState, type ProgressBarStyle, getProgressBarState, getProgressBarStyle };
@@ -1,2 +1,2 @@
1
- import { $r as RadioGroupAriaInvalid, Qr as _default, Zr as _default$1, ai as RadioGroupState, ei as RadioGroupExpose, ii as RadioGroupSlotState, ni as RadioGroupItemState, oi as RadioGroupValue, ri as RadioGroupOrientation, ti as RadioGroupItemExpose } from "./announcer-CuBryPW9.mjs";
1
+ import { _i as RadioGroupSlotState, di as _default, fi as RadioGroupAriaInvalid, gi as RadioGroupOrientation, hi as RadioGroupItemState, mi as RadioGroupItemExpose, pi as RadioGroupExpose, ui as _default$1, vi as RadioGroupState, yi as RadioGroupValue } from "./announcer-Dldh-8I4.mjs";
2
2
  export { _default as RadioGroup, type RadioGroupAriaInvalid, type RadioGroupExpose, _default$1 as RadioGroupItem, type RadioGroupItemExpose, type RadioGroupItemState, type RadioGroupOrientation, type RadioGroupSlotState, type RadioGroupState, type RadioGroupValue };
@@ -254,13 +254,13 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
254
254
  state: import("vue").ComputedRef<RatingState>;
255
255
  value: import("vue").ComputedRef<RatingValue>;
256
256
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
257
+ clear: (previous: number, nativeEvent: Event) => any;
257
258
  "update:modelValue": (value: RatingValue) => any;
258
259
  change: (value: RatingValue, previous: RatingValue, nativeEvent: Event) => any;
259
- clear: (previous: number, nativeEvent: Event) => any;
260
260
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
261
+ onClear?: (previous: number, nativeEvent: Event) => any;
261
262
  "onUpdate:modelValue"?: (value: RatingValue) => any;
262
263
  onChange?: (value: RatingValue, previous: RatingValue, nativeEvent: Event) => any;
263
- onClear?: (previous: number, nativeEvent: Event) => any;
264
264
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
265
265
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
266
266
  declare const _default: typeof __VLS_export;
package/dist/rating.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as RatingExpose, c as RatingProps, d as RatingState, f as RatingStyle, i as RatingEmits, l as RatingSlotState, n as RatingAriaInvalid, o as RatingItemSlotState, p as RatingValue, r as RatingDirection, s as RatingItemState, t as _default, u as RatingSlots } from "./rating-CFaa2JnD.mjs";
1
+ import { a as RatingExpose, c as RatingProps, d as RatingState, f as RatingStyle, i as RatingEmits, l as RatingSlotState, n as RatingAriaInvalid, o as RatingItemSlotState, p as RatingValue, r as RatingDirection, s as RatingItemState, t as _default, u as RatingSlots } from "./rating-souDdL9t.mjs";
2
2
  export { _default as Rating, type RatingAriaInvalid, type RatingDirection, type RatingEmits, type RatingExpose, type RatingItemSlotState, type RatingItemState, type RatingProps, type RatingSlotState, type RatingSlots, type RatingState, type RatingStyle, type RatingValue };
@@ -1,2 +1,2 @@
1
- import { Br as ScrollAreaOverscrollBehavior, Fr as ScrollAreaEmits, Gr as ScrollAreaScrollBehavior, Hr as ScrollAreaResolvedLayout, Ir as ScrollAreaExpose, Jr as ScrollAreaSlotState, Kr as ScrollAreaScrollbarGutter, Lr as ScrollAreaLength, Mr as ScrollAreaAriaState, Nr as ScrollAreaAs, Pr as ScrollAreaDirection, Rr as ScrollAreaOrientation, Ur as ScrollAreaResolvedLength, Vr as ScrollAreaProps, Wr as ScrollAreaRootElement, Xr as ScrollAreaStyle, Yr as ScrollAreaState, jr as _default, qr as ScrollAreaScrollbarWidth, zr as ScrollAreaOverflow } from "./announcer-CuBryPW9.mjs";
1
+ import { $r as ScrollAreaOverscrollBehavior, Gr as ScrollAreaAriaState, Jr as ScrollAreaEmits, Kr as ScrollAreaAs, Qr as ScrollAreaOverflow, Wr as _default, Xr as ScrollAreaLength, Yr as ScrollAreaExpose, Zr as ScrollAreaOrientation, ai as ScrollAreaScrollbarGutter, ci as ScrollAreaState, ei as ScrollAreaProps, ii as ScrollAreaScrollBehavior, li as ScrollAreaStyle, ni as ScrollAreaResolvedLength, oi as ScrollAreaScrollbarWidth, qr as ScrollAreaDirection, ri as ScrollAreaRootElement, si as ScrollAreaSlotState, ti as ScrollAreaResolvedLayout } from "./announcer-Dldh-8I4.mjs";
2
2
  export { _default as ScrollArea, type ScrollAreaAriaState, type ScrollAreaAs, type ScrollAreaDirection, type ScrollAreaEmits, type ScrollAreaExpose, type ScrollAreaLength, type ScrollAreaOrientation, type ScrollAreaOverflow, type ScrollAreaOverscrollBehavior, type ScrollAreaProps, type ScrollAreaResolvedLayout, type ScrollAreaResolvedLength, type ScrollAreaRootElement, type ScrollAreaScrollBehavior, type ScrollAreaScrollbarGutter, type ScrollAreaScrollbarWidth, type ScrollAreaSlotState, type ScrollAreaState, type ScrollAreaStyle };
@@ -132,17 +132,17 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
132
132
  value: import("vue").ComputedRef<string>;
133
133
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
134
134
  input: (value: string, nativeEvent: Event) => any;
135
+ clear: (value: "", nativeEvent: MouseEvent) => any;
135
136
  "update:modelValue": (value: string) => any;
136
137
  change: (value: string, nativeEvent: Event) => any;
137
- clear: (value: "", nativeEvent: MouseEvent) => any;
138
138
  compositionStart: (value: string, nativeEvent: CompositionEvent) => any;
139
139
  compositionEnd: (value: string, nativeEvent: CompositionEvent) => any;
140
140
  search: (value: string, nativeEvent: Event) => any;
141
141
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
142
142
  onInput?: (value: string, nativeEvent: Event) => any;
143
+ onClear?: (value: "", nativeEvent: MouseEvent) => any;
143
144
  "onUpdate:modelValue"?: (value: string) => any;
144
145
  onChange?: (value: string, nativeEvent: Event) => any;
145
- onClear?: (value: "", nativeEvent: MouseEvent) => any;
146
146
  onCompositionStart?: (value: string, nativeEvent: CompositionEvent) => any;
147
147
  onCompositionEnd?: (value: string, nativeEvent: CompositionEvent) => any;
148
148
  onSearch?: (value: string, nativeEvent: Event) => any;
@@ -1,2 +1,2 @@
1
- import { a as SearchFieldEmits, c as SearchFieldInputMode, i as SearchFieldClearVisibility, l as SearchFieldProps, n as SearchFieldAriaInvalid, o as SearchFieldEnterKeyHint, r as SearchFieldClearSlotState, s as SearchFieldExpose, t as _default, u as SearchFieldSlots } from "./search-field-CmFd3uhI.mjs";
1
+ import { a as SearchFieldEmits, c as SearchFieldInputMode, i as SearchFieldClearVisibility, l as SearchFieldProps, n as SearchFieldAriaInvalid, o as SearchFieldEnterKeyHint, r as SearchFieldClearSlotState, s as SearchFieldExpose, t as _default, u as SearchFieldSlots } from "./search-field-zyMCYvZ2.mjs";
2
2
  export { _default as SearchField, type SearchFieldAriaInvalid, type SearchFieldClearSlotState, type SearchFieldClearVisibility, type SearchFieldEmits, type SearchFieldEnterKeyHint, type SearchFieldExpose, type SearchFieldInputMode, type SearchFieldProps, type SearchFieldSlots };
@@ -1,2 +1,2 @@
1
- import { Aa as ShareButtonSlotState, Ca as ShareButtonDataName, Da as ShareButtonPart, Ea as ShareButtonExpose, Ma as ShareButtonState, Na as ShareButtonType, Oa as ShareButtonPayload, Sa as ShareButtonDataAttribute, Ta as ShareButtonEmits, ba as ShareButtonAction, ja as ShareButtonSlots, ka as ShareButtonProps, wa as ShareButtonElement, xa as ShareButtonCssCustomProperty, ya as _default } from "./announcer-CuBryPW9.mjs";
1
+ import { Ba as ShareButtonPart, Fa as ShareButtonDataAttribute, Ga as ShareButtonState, Ha as ShareButtonProps, Ia as ShareButtonDataName, Ka as ShareButtonType, La as ShareButtonElement, Ma as _default, Na as ShareButtonAction, Pa as ShareButtonCssCustomProperty, Ra as ShareButtonEmits, Ua as ShareButtonSlotState, Va as ShareButtonPayload, Wa as ShareButtonSlots, za as ShareButtonExpose } from "./announcer-Dldh-8I4.mjs";
2
2
  export { _default as ShareButton, type ShareButtonAction, type ShareButtonCssCustomProperty, type ShareButtonDataAttribute, type ShareButtonDataName, type ShareButtonElement, type ShareButtonEmits, type ShareButtonExpose, type ShareButtonPart, type ShareButtonPayload, type ShareButtonProps, type ShareButtonSlotState, type ShareButtonSlots, type ShareButtonState, type ShareButtonType };
@@ -1,2 +1,2 @@
1
- import { C as StatusLightState, S as StatusLightSlotState, _ as StatusLightElement, b as StatusLightRole, g as StatusLightAriaState, h as _default, v as StatusLightExpose, w as StatusLightTone, x as StatusLightSize, y as StatusLightProps } from "./announcer-CuBryPW9.mjs";
1
+ import { C as StatusLightState, S as StatusLightSlotState, _ as StatusLightElement, b as StatusLightRole, g as StatusLightAriaState, h as _default, v as StatusLightExpose, w as StatusLightTone, x as StatusLightSize, y as StatusLightProps } from "./announcer-Dldh-8I4.mjs";
2
2
  export { _default as StatusLight, type StatusLightAriaState, type StatusLightElement, type StatusLightExpose, type StatusLightProps, type StatusLightRole, type StatusLightSize, type StatusLightSlotState, type StatusLightState, type StatusLightTone };
@@ -1,2 +1,2 @@
1
- import { $s as StepperListExpose, Bs as _default$4, Gs as StepperContentExpose, Hs as _default$2, Js as StepperContentState, Ks as StepperContentRole, Qs as StepperItemState, Rs as getStepperValueIdSegment, Us as _default$1, Vs as _default$3, Ws as _default, Xs as StepperItemExpose, Ys as StepperDirection, Zs as StepperItemSlotState, ac as StepperRootState, cc as StepperTriggerSlotState, ec as StepperListSlotState, ic as StepperRootProps, lc as StepperValue, nc as StepperOrientation, oc as StepperSlotState, qs as StepperContentSlotState, rc as StepperRootExpose, sc as StepperTriggerExpose, tc as StepperNavigationMode, zs as stepperValueEquals } from "./announcer-CuBryPW9.mjs";
1
+ import { $s as _default$4, Qs as stepperValueEquals, Sc as StepperValue, Zs as getStepperValueIdSegment, _c as StepperRootProps, ac as StepperContentRole, bc as StepperTriggerExpose, cc as StepperDirection, dc as StepperItemState, ec as _default$3, fc as StepperListExpose, gc as StepperRootExpose, hc as StepperOrientation, ic as StepperContentExpose, lc as StepperItemExpose, mc as StepperNavigationMode, nc as _default$1, oc as StepperContentSlotState, pc as StepperListSlotState, rc as _default, sc as StepperContentState, tc as _default$2, uc as StepperItemSlotState, vc as StepperRootState, xc as StepperTriggerSlotState, yc as StepperSlotState } from "./announcer-Dldh-8I4.mjs";
2
2
  export { _default as Stepper, _default as StepperRoot, _default$1 as StepperContent, type StepperContentExpose, type StepperContentRole, type StepperContentSlotState, type StepperContentState, type StepperDirection, _default$2 as StepperItem, type StepperItemExpose, type StepperItemSlotState, type StepperItemState, _default$3 as StepperList, type StepperListExpose, type StepperListSlotState, type StepperNavigationMode, type StepperOrientation, type StepperRootExpose, type StepperRootProps, type StepperRootState, type StepperSlotState, _default$4 as StepperTrigger, type StepperTriggerExpose, type StepperTriggerSlotState, type StepperValue, getStepperValueIdSegment, stepperValueEquals };
@@ -1,2 +1,2 @@
1
- import { Ar as SurfaceTone, Cr as SurfaceAs, Dr as SurfaceProps, Er as SurfaceExpose, Or as SurfaceSemanticHost, Sr as SurfaceAriaState, Tr as SurfaceElevation, kr as SurfaceSlotState, wr as SurfaceElement, xr as _default } from "./announcer-CuBryPW9.mjs";
1
+ import { Br as SurfaceProps, Fr as SurfaceAriaState, Hr as SurfaceSlotState, Ir as SurfaceAs, Lr as SurfaceElement, Pr as _default, Rr as SurfaceElevation, Ur as SurfaceTone, Vr as SurfaceSemanticHost, zr as SurfaceExpose } from "./announcer-Dldh-8I4.mjs";
2
2
  export { _default as Surface, type SurfaceAriaState, type SurfaceAs, type SurfaceElement, type SurfaceElevation, type SurfaceExpose, type SurfaceProps, type SurfaceSemanticHost, type SurfaceSlotState, type SurfaceTone };
package/dist/switch.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { Ct as SwitchAriaInvalid, Et as SwitchState, St as _default, Tt as SwitchSlotState, wt as SwitchExpose } from "./announcer-CuBryPW9.mjs";
1
+ import { Ft as _default, It as SwitchAriaInvalid, Lt as SwitchExpose, Rt as SwitchSlotState, zt as SwitchState } from "./announcer-Dldh-8I4.mjs";
2
2
  export { _default as Switch, type SwitchAriaInvalid, type SwitchExpose, type SwitchSlotState, type SwitchState };
package/dist/tabs.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { Cc as TabsSlotState, Dc as TabsTriggerState, Ec as TabsTriggerSlotState, Oc as TabsValue, Sc as TabsRootExpose, Tc as TabsTriggerExpose, _c as TabsContentState, bc as TabsListSlotState, dc as _default$2, fc as _default$1, gc as TabsContentSlotState, hc as TabsContentExpose, mc as TabsActivationMode, pc as _default, uc as _default$3, vc as TabsDirection, wc as TabsState, xc as TabsOrientation, yc as TabsListExpose } from "./announcer-CuBryPW9.mjs";
1
+ import { Ac as TabsContentState, Bc as TabsTriggerState, Cc as _default$3, Dc as TabsActivationMode, Ec as _default, Fc as TabsRootExpose, Ic as TabsSlotState, Lc as TabsState, Mc as TabsListExpose, Nc as TabsListSlotState, Oc as TabsContentExpose, Pc as TabsOrientation, Rc as TabsTriggerExpose, Tc as _default$1, Vc as TabsValue, jc as TabsDirection, kc as TabsContentSlotState, wc as _default$2, zc as TabsTriggerSlotState } from "./announcer-Dldh-8I4.mjs";
2
2
  export { _default as Tabs, _default as TabsRoot, type TabsActivationMode, _default$1 as TabsContent, type TabsContentExpose, type TabsContentSlotState, type TabsContentState, type TabsDirection, _default$2 as TabsList, type TabsListExpose, type TabsListSlotState, type TabsOrientation, type TabsRootExpose, type TabsSlotState, type TabsState, _default$3 as TabsTrigger, type TabsTriggerExpose, type TabsTriggerSlotState, type TabsTriggerState, type TabsValue };
package/dist/text.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { At as TextSize, Dt as _default, Mt as TextTone, Nt as TextWeight, Ot as TextElement, jt as TextSlotState, kt as TextExpose } from "./announcer-CuBryPW9.mjs";
1
+ import { Bt as _default, Gt as TextTone, Ht as TextExpose, Kt as TextWeight, Ut as TextSize, Vt as TextElement, Wt as TextSlotState } from "./announcer-Dldh-8I4.mjs";
2
2
  export { _default as Text, type TextElement, type TextExpose, type TextSize, type TextSlotState, type TextTone, type TextWeight };
package/dist/toggle.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { Gi as ToggleExpose, Ki as ToggleSlotState, Wi as _default } from "./announcer-CuBryPW9.mjs";
1
+ import { aa as ToggleSlotState, ia as ToggleExpose, ra as _default } from "./announcer-Dldh-8I4.mjs";
2
2
  export { _default as Toggle, type ToggleExpose, type ToggleSlotState };
@@ -1,2 +1,2 @@
1
- import { _i as TooltipSlotState, bi as TooltipViewport, ci as _default$1, di as TooltipContentSlotState, fi as TooltipDismissEvent, gi as TooltipRootExpose, hi as TooltipPositionerStrategy, li as _default, mi as TooltipPlacement, pi as TooltipEscapeKeyDownEvent, si as _default$2, ui as TooltipContentExpose, vi as TooltipState, yi as TooltipTriggerExpose } from "./announcer-CuBryPW9.mjs";
1
+ import { Ai as TooltipSlotState, Ci as TooltipContentExpose, Di as TooltipPlacement, Ei as TooltipEscapeKeyDownEvent, Mi as TooltipTriggerExpose, Ni as TooltipViewport, Oi as TooltipPositionerStrategy, Si as _default, Ti as TooltipDismissEvent, bi as _default$2, ji as TooltipState, ki as TooltipRootExpose, wi as TooltipContentSlotState, xi as _default$1 } from "./announcer-Dldh-8I4.mjs";
2
2
  export { _default as Tooltip, _default as TooltipRoot, _default$1 as TooltipContent, type TooltipContentExpose, type TooltipContentSlotState, type TooltipDismissEvent, type TooltipEscapeKeyDownEvent, type TooltipPlacement, type TooltipPositionerStrategy, type TooltipRootExpose, type TooltipSlotState, type TooltipState, _default$2 as TooltipTrigger, type TooltipTriggerExpose, type TooltipViewport };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vizejs/ui",
3
- "version": "0.407.0",
3
+ "version": "0.408.0",
4
4
  "description": "Accessible, headless, Native CSS-first UI primitives",
5
5
  "keywords": [
6
6
  "accessibility",
@@ -591,7 +591,7 @@
591
591
  "@tsdown/css": "0.22.14",
592
592
  "@types/node": "25.9.2",
593
593
  "@vitejs/plugin-vue": "6.0.7",
594
- "@vizejs/native": "0.407.0",
594
+ "@vizejs/native": "0.408.0",
595
595
  "@vue/compiler-sfc": "3.5.35",
596
596
  "@vue/test-utils": "2.4.10",
597
597
  "happy-dom": "20.11.2",
@@ -1,20 +0,0 @@
1
- import { n as ErrorSummaryField } from "./error-summary-types-5ePaC9O3.mjs";
2
- import { a as FormFieldError, c as FormPathKey, f as StandardSchemaV1, i as FormFieldController, n as FormErrorSummaryFieldOptions, o as FormFieldErrorOptions, p as StandardSchemaValidationOptions, r as FormErrorSummaryOptions, s as FormFieldOptions, t as FormErrorSummaryController, u as FormValidationResult } from "./form-types-DXwZRLcs.mjs";
3
-
4
- //#region src/families/form/form/form-runtime.d.ts
5
- /** Convert a Standard Schema issue path into a conventional HTML field name. */
6
- declare function formatFormFieldName(path: readonly FormPathKey[]): string;
7
- /** Convert Standard Schema issues into normalized field errors. */
8
- declare function normalizeStandardSchemaIssues(issues: readonly StandardSchemaV1.Issue[], options?: FormFieldErrorOptions): readonly FormFieldError[];
9
- /** Convert normalized field errors into unique fields for the error summary. */
10
- declare function createFormErrorSummaryFields(errors: readonly FormFieldError[], options?: FormErrorSummaryFieldOptions): readonly ErrorSummaryField[];
11
- /** Normalize a Standard Schema validation result for form fields and summaries. */
12
- declare function normalizeStandardSchemaResult<Output>(result: StandardSchemaV1.Result<Output>, options?: StandardSchemaValidationOptions): FormValidationResult<Output>;
13
- /** Validate a Standard Schema and normalize the result for form consumers. */
14
- declare function validateStandardSchema<Input, Output>(schema: StandardSchemaV1<Input, Output>, value: Input, options?: StandardSchemaValidationOptions): Promise<FormValidationResult<Output>>;
15
- /** Create normalized field state whose invalid flag can feed existing field wiring. */
16
- declare function useFormField(options: FormFieldOptions): FormFieldController;
17
- /** Create error-summary fields from normalized form errors. */
18
- declare function useFormErrorSummary(options?: FormErrorSummaryOptions): FormErrorSummaryController;
19
- //#endregion
20
- export { useFormErrorSummary as a, normalizeStandardSchemaResult as i, formatFormFieldName as n, useFormField as o, normalizeStandardSchemaIssues as r, validateStandardSchema as s, createFormErrorSummaryFields as t };