@vuetify/v0 1.0.0 → 1.0.2

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 (89) hide show
  1. package/README.md +9 -3
  2. package/dist/{adapter-CVNRHfrz.d.mts → adapter-hq9YlPOF.d.mts} +1 -1
  3. package/dist/browser/index.d.ts +403 -250
  4. package/dist/browser/index.js +575 -401
  5. package/dist/components/index.d.mts +2 -2
  6. package/dist/components/index.mjs +2 -2
  7. package/dist/{components-CnCuPk_X.mjs → components-EPI-OV3g.mjs} +329 -213
  8. package/dist/composables/index.d.mts +4 -4
  9. package/dist/composables/index.mjs +21 -21
  10. package/dist/{composables-BBAf4-4K.mjs → composables-Ce3inP9P.mjs} +9 -9
  11. package/dist/constants/index.mjs +1 -1
  12. package/dist/{createDataTable-D63eN5cu.mjs → createDataTable-BnL2eb_0.mjs} +3 -3
  13. package/dist/{createGroup-DbjK7JgC.mjs → createGroup-CJjPnhGu.mjs} +1 -1
  14. package/dist/{createRegistry-D2ZJpCGZ.mjs → createRegistry-BCyeTWME.mjs} +1 -1
  15. package/dist/{createSelection-BLDg_z0y.mjs → createSelection-MKYbRsRh.mjs} +1 -1
  16. package/dist/{createSingle-ByJ87S5F.mjs → createSingle-BqTldaCh.mjs} +1 -1
  17. package/dist/{createTokens-D4TdRDD_.mjs → createTokens-1CBBjmzi.mjs} +20 -48
  18. package/dist/data-table/index.mjs +1 -1
  19. package/dist/date/index.mjs +1 -1
  20. package/dist/features/adapters/posthog/index.mjs +1 -1
  21. package/dist/features/index.d.mts +1 -1
  22. package/dist/features/index.mjs +1 -1
  23. package/dist/{globals-IUytflXD.mjs → globals-BVulH1kl.mjs} +1 -1
  24. package/dist/{index-BwNRi6BK.d.mts → index-0Wnlny_C.d.mts} +46 -2
  25. package/dist/{index-CnqCKZE2.d.mts → index-DBm7uM6h.d.mts} +170 -81
  26. package/dist/{index-u0Sy6Dif.d.mts → index-DF0tMI2_.d.mts} +22 -2
  27. package/dist/{index-CrFFilCd.d.mts → index-QnpcDsV7.d.mts} +1 -1
  28. package/dist/index.d.mts +7 -7
  29. package/dist/index.mjs +24 -24
  30. package/dist/json/attributes.json +16 -0
  31. package/dist/json/importMap.json +4 -0
  32. package/dist/json/tags.json +145 -47
  33. package/dist/json/web-types.json +252 -1
  34. package/dist/locale/adapters/index.d.mts +2 -2
  35. package/dist/locale/adapters/index.mjs +1 -1
  36. package/dist/locale/adapters/v0/index.d.mts +1 -1
  37. package/dist/locale/adapters/v0/index.mjs +1 -1
  38. package/dist/locale/adapters/vue-i18n/index.d.mts +1 -1
  39. package/dist/locale/index.d.mts +3 -3
  40. package/dist/locale/index.mjs +2 -2
  41. package/dist/locale/messages/en/index.d.mts +1 -0
  42. package/dist/locale/messages/en/index.mjs +4 -1
  43. package/dist/logger/adapters/index.mjs +1 -1
  44. package/dist/logger/adapters/v0/index.mjs +1 -1
  45. package/dist/logger/index.d.mts +1 -1
  46. package/dist/logger/index.mjs +2 -2
  47. package/dist/notifications/index.d.mts +1 -1
  48. package/dist/notifications/index.mjs +2 -2
  49. package/dist/palettes/ant/index.d.mts +1 -1
  50. package/dist/palettes/index.d.mts +2 -2
  51. package/dist/palettes/material/index.d.mts +1 -1
  52. package/dist/palettes/md1/index.d.mts +1 -1
  53. package/dist/palettes/md2/index.d.mts +1 -1
  54. package/dist/palettes/radix/index.d.mts +1 -1
  55. package/dist/palettes/tailwind/index.d.mts +1 -1
  56. package/dist/permissions/adapters/index.d.mts +1 -1
  57. package/dist/permissions/adapters/v0/index.d.mts +1 -1
  58. package/dist/permissions/index.d.mts +1 -1
  59. package/dist/permissions/index.mjs +1 -1
  60. package/dist/rules/index.d.mts +1 -1
  61. package/dist/rules/index.mjs +1 -1
  62. package/dist/storage/index.d.mts +1 -1
  63. package/dist/storage/index.mjs +1 -1
  64. package/dist/theme/adapters/index.d.mts +1 -1
  65. package/dist/theme/adapters/index.mjs +2 -2
  66. package/dist/theme/adapters/unhead/index.d.mts +1 -1
  67. package/dist/theme/adapters/unhead/index.mjs +1 -1
  68. package/dist/theme/adapters/v0/index.d.mts +1 -1
  69. package/dist/theme/adapters/v0/index.mjs +1 -1
  70. package/dist/theme/index.d.mts +1 -1
  71. package/dist/theme/index.mjs +3 -3
  72. package/dist/{unhead-DILc2h2Q.mjs → unhead-OxL9-io3.mjs} +1 -1
  73. package/dist/{useEventListener-DHgoVuDM.mjs → useEventListener-DvBy0REl.mjs} +1 -1
  74. package/dist/{useFeatures-DQTSY61T.mjs → useFeatures-BzLoyh-D.mjs} +3 -3
  75. package/dist/{useLocale-Oi7Kmpf2.mjs → useLocale-6nnyjL_b.mjs} +4 -4
  76. package/dist/{useLogger-sRl4HXej.mjs → useLogger-SKBSf2Ry.mjs} +2 -2
  77. package/dist/{useNotifications-DyFItOQC.mjs → useNotifications-CD7VNgfs.mjs} +3 -3
  78. package/dist/{usePermissions-BpxH8XTC.mjs → usePermissions-CT4nIEtD.mjs} +2 -2
  79. package/dist/{useRovingFocus-C5HKUytW.mjs → useRovingFocus-DPa2z5II.mjs} +91 -25
  80. package/dist/{useRules-BoWaxdCG.mjs → useRules-DhN_Glen.mjs} +2 -2
  81. package/dist/{useStorage-DlD2rul3.mjs → useStorage-vwbN1KlV.mjs} +3 -3
  82. package/dist/{useTheme-CKALhQOk.mjs → useTheme-HbZK7iGf.mjs} +4 -4
  83. package/dist/utilities/index.d.mts +1 -1
  84. package/dist/utilities/index.mjs +21 -1
  85. package/dist/{v0-C0OfckSF.d.mts → v0-BnUwMaOv.d.mts} +1 -1
  86. package/dist/{v0-f0ASZ9GY.mjs → v0-C2JHbe3R.mjs} +1 -1
  87. package/dist/{v0-CVDbODQ2.mjs → v0-CvlDO4sB.mjs} +1 -1
  88. package/dist/{v0-D5rhsC84.mjs → v0-D-N-Egmx.mjs} +1 -1
  89. package/package.json +25 -3
@@ -1,4 +1,4 @@
1
- import { r as TokenCollection } from "../../index-CrFFilCd.mjs";
1
+ import { r as TokenCollection } from "../../index-QnpcDsV7.mjs";
2
2
 
3
3
  //#region src/palettes/material/index.d.ts
4
4
  declare const material: TokenCollection;
@@ -1,4 +1,4 @@
1
- import { r as TokenCollection } from "../../index-CrFFilCd.mjs";
1
+ import { r as TokenCollection } from "../../index-QnpcDsV7.mjs";
2
2
 
3
3
  //#region src/palettes/md1/index.d.ts
4
4
  declare const md1: TokenCollection;
@@ -1,4 +1,4 @@
1
- import { r as TokenCollection } from "../../index-CrFFilCd.mjs";
1
+ import { r as TokenCollection } from "../../index-QnpcDsV7.mjs";
2
2
 
3
3
  //#region src/palettes/md2/index.d.ts
4
4
  declare const md2: TokenCollection;
@@ -1,4 +1,4 @@
1
- import { r as TokenCollection } from "../../index-CrFFilCd.mjs";
1
+ import { r as TokenCollection } from "../../index-QnpcDsV7.mjs";
2
2
 
3
3
  //#region src/palettes/radix/index.d.ts
4
4
  declare const radix: TokenCollection;
@@ -1,4 +1,4 @@
1
- import { r as TokenCollection } from "../../index-CrFFilCd.mjs";
1
+ import { r as TokenCollection } from "../../index-QnpcDsV7.mjs";
2
2
 
3
3
  //#region src/palettes/tailwind/index.d.ts
4
4
  declare const tailwind: TokenCollection;
@@ -1,2 +1,2 @@
1
- import { Qt as PermissionsAdapter, Zt as V0PermissionsAdapter } from "../../index-BwNRi6BK.mjs";
1
+ import { Qt as PermissionsAdapter, Zt as V0PermissionsAdapter } from "../../index-0Wnlny_C.mjs";
2
2
  export { PermissionsAdapter, V0PermissionsAdapter };
@@ -1,2 +1,2 @@
1
- import { Zt as V0PermissionsAdapter } from "../../../index-BwNRi6BK.mjs";
1
+ import { Zt as V0PermissionsAdapter } from "../../../index-0Wnlny_C.mjs";
2
2
  export { V0PermissionsAdapter };
@@ -1,2 +1,2 @@
1
- import { Gt as PermissionPluginOptions, Ht as PermissionContext, Jt as createPermissionsContext, Kt as PermissionTicket, Qt as PermissionsAdapter, Ut as PermissionContextOptions, Wt as PermissionOptions, Xt as usePermissions, Yt as createPermissionsPlugin, qt as createPermissions } from "../index-BwNRi6BK.mjs";
1
+ import { Gt as PermissionPluginOptions, Ht as PermissionContext, Jt as createPermissionsContext, Kt as PermissionTicket, Qt as PermissionsAdapter, Ut as PermissionContextOptions, Wt as PermissionOptions, Xt as usePermissions, Yt as createPermissionsPlugin, qt as createPermissions } from "../index-0Wnlny_C.mjs";
2
2
  export { PermissionContext, PermissionContextOptions, PermissionOptions, PermissionPluginOptions, PermissionTicket, PermissionsAdapter, createPermissions, createPermissionsContext, createPermissionsPlugin, usePermissions };
@@ -1,3 +1,3 @@
1
1
  import { n as PermissionsAdapter } from "../v0-UNyykD27.mjs";
2
- import { i as usePermissions, n as createPermissionsContext, r as createPermissionsPlugin, t as createPermissions } from "../usePermissions-BpxH8XTC.mjs";
2
+ import { i as usePermissions, n as createPermissionsContext, r as createPermissionsPlugin, t as createPermissions } from "../usePermissions-CT4nIEtD.mjs";
3
3
  export { PermissionsAdapter, createPermissions, createPermissionsContext, createPermissionsPlugin, usePermissions };
@@ -1,2 +1,2 @@
1
- import { Ao as RulesOptions, Do as RuleInput, Eo as RuleAliases, Fo as useRules, Io as StandardSchemaV1, Lo as isStandardSchema, Mo as createRulesContext, No as createRulesFallback, Oo as RulesContext, Po as createRulesPlugin, To as RuleAlias, jo as createRules, ko as RulesContextOptions } from "../index-BwNRi6BK.mjs";
1
+ import { Ao as RulesOptions, Do as RuleInput, Eo as RuleAliases, Fo as useRules, Io as StandardSchemaV1, Lo as isStandardSchema, Mo as createRulesContext, No as createRulesFallback, Oo as RulesContext, Po as createRulesPlugin, To as RuleAlias, jo as createRules, ko as RulesContextOptions } from "../index-0Wnlny_C.mjs";
2
2
  export { RuleAlias, RuleAliases, RuleInput, RulesContext, RulesContextOptions, RulesOptions, StandardSchemaV1, createRules, createRulesContext, createRulesFallback, createRulesPlugin, isStandardSchema, useRules };
@@ -1,2 +1,2 @@
1
- import { a as useRules, i as createRulesPlugin, n as createRulesContext, o as isStandardSchema, r as createRulesFallback, t as createRules } from "../useRules-BoWaxdCG.mjs";
1
+ import { a as useRules, i as createRulesPlugin, n as createRulesContext, o as isStandardSchema, r as createRulesFallback, t as createRules } from "../useRules-DhN_Glen.mjs";
2
2
  export { createRules, createRulesContext, createRulesFallback, createRulesPlugin, isStandardSchema, useRules };
@@ -1,4 +1,4 @@
1
- import { F as StoragePluginOptions, I as createStorage, L as createStorageContext, M as StorageContext, N as StorageContextOptions, P as StorageOptions, R as createStoragePlugin, z as useStorage } from "../index-BwNRi6BK.mjs";
1
+ import { F as StoragePluginOptions, I as createStorage, L as createStorageContext, M as StorageContext, N as StorageContextOptions, P as StorageOptions, R as createStoragePlugin, z as useStorage } from "../index-0Wnlny_C.mjs";
2
2
  import { n as StorageAdapter, t as MemoryStorageAdapter } from "../memory-DbyZeNjg.mjs";
3
3
  import { t as StorageType } from "../index-DidZKN6S.mjs";
4
4
  export { MemoryStorageAdapter, StorageAdapter, StorageContext, StorageContextOptions, StorageOptions, StoragePluginOptions, StorageType, createStorage, createStorageContext, createStoragePlugin, useStorage };
@@ -1,3 +1,3 @@
1
1
  import { n as StorageAdapter, t as MemoryStorageAdapter } from "../memory-BJjkQzxs.mjs";
2
- import { i as useStorage, n as createStorageContext, r as createStoragePlugin, t as createStorage } from "../useStorage-DlD2rul3.mjs";
2
+ import { i as useStorage, n as createStorageContext, r as createStoragePlugin, t as createStorage } from "../useStorage-vwbN1KlV.mjs";
3
3
  export { MemoryStorageAdapter, StorageAdapter, createStorage, createStorageContext, createStoragePlugin, useStorage };
@@ -1,2 +1,2 @@
1
- import { D as V0UnheadThemeAdapter, j as ThemeAdapter, k as V0StyleSheetThemeAdapter } from "../../index-BwNRi6BK.mjs";
1
+ import { D as V0UnheadThemeAdapter, j as ThemeAdapter, k as V0StyleSheetThemeAdapter } from "../../index-0Wnlny_C.mjs";
2
2
  export { ThemeAdapter, V0StyleSheetThemeAdapter, V0UnheadThemeAdapter };
@@ -1,4 +1,4 @@
1
1
  import { t as ThemeAdapter } from "../../adapter-lS_VpRow.mjs";
2
- import { t as V0StyleSheetThemeAdapter } from "../../v0-f0ASZ9GY.mjs";
3
- import { t as V0UnheadThemeAdapter } from "../../unhead-DILc2h2Q.mjs";
2
+ import { t as V0StyleSheetThemeAdapter } from "../../v0-C2JHbe3R.mjs";
3
+ import { t as V0UnheadThemeAdapter } from "../../unhead-OxL9-io3.mjs";
4
4
  export { ThemeAdapter, V0StyleSheetThemeAdapter, V0UnheadThemeAdapter };
@@ -1,2 +1,2 @@
1
- import { D as V0UnheadThemeAdapter, O as V0UnheadThemeOptions } from "../../../index-BwNRi6BK.mjs";
1
+ import { D as V0UnheadThemeAdapter, O as V0UnheadThemeOptions } from "../../../index-0Wnlny_C.mjs";
2
2
  export { V0UnheadThemeAdapter, V0UnheadThemeOptions };
@@ -1,2 +1,2 @@
1
- import { t as V0UnheadThemeAdapter } from "../../../unhead-DILc2h2Q.mjs";
1
+ import { t as V0UnheadThemeAdapter } from "../../../unhead-OxL9-io3.mjs";
2
2
  export { V0UnheadThemeAdapter };
@@ -1,2 +1,2 @@
1
- import { A as Vuetify0ThemeOptions, k as V0StyleSheetThemeAdapter } from "../../../index-BwNRi6BK.mjs";
1
+ import { A as Vuetify0ThemeOptions, k as V0StyleSheetThemeAdapter } from "../../../index-0Wnlny_C.mjs";
2
2
  export { V0StyleSheetThemeAdapter, Vuetify0ThemeOptions };
@@ -1,2 +1,2 @@
1
- import { t as V0StyleSheetThemeAdapter } from "../../../v0-f0ASZ9GY.mjs";
1
+ import { t as V0StyleSheetThemeAdapter } from "../../../v0-C2JHbe3R.mjs";
2
2
  export { V0StyleSheetThemeAdapter };
@@ -1,2 +1,2 @@
1
- import { C as createTheme, D as V0UnheadThemeAdapter, E as useTheme, S as ThemeTicketInput, T as createThemePlugin, _ as ThemeContextOptions, b as ThemeRecord, g as ThemeContext, h as ThemeColors, j as ThemeAdapter, k as V0StyleSheetThemeAdapter, m as Colors, v as ThemeOptions, w as createThemeContext, x as ThemeTicket, y as ThemePluginOptions } from "../index-BwNRi6BK.mjs";
1
+ import { C as createTheme, D as V0UnheadThemeAdapter, E as useTheme, S as ThemeTicketInput, T as createThemePlugin, _ as ThemeContextOptions, b as ThemeRecord, g as ThemeContext, h as ThemeColors, j as ThemeAdapter, k as V0StyleSheetThemeAdapter, m as Colors, v as ThemeOptions, w as createThemeContext, x as ThemeTicket, y as ThemePluginOptions } from "../index-0Wnlny_C.mjs";
2
2
  export { Colors, ThemeAdapter, ThemeColors, ThemeContext, ThemeContextOptions, ThemeOptions, ThemePluginOptions, ThemeRecord, ThemeTicket, ThemeTicketInput, V0StyleSheetThemeAdapter, V0UnheadThemeAdapter, createTheme, createThemeContext, createThemePlugin, useTheme };
@@ -1,5 +1,5 @@
1
1
  import { t as ThemeAdapter } from "../adapter-lS_VpRow.mjs";
2
- import { t as V0StyleSheetThemeAdapter } from "../v0-f0ASZ9GY.mjs";
3
- import { t as V0UnheadThemeAdapter } from "../unhead-DILc2h2Q.mjs";
4
- import { i as useTheme, n as createThemeContext, r as createThemePlugin, t as createTheme } from "../useTheme-CKALhQOk.mjs";
2
+ import { t as V0StyleSheetThemeAdapter } from "../v0-C2JHbe3R.mjs";
3
+ import { t as V0UnheadThemeAdapter } from "../unhead-OxL9-io3.mjs";
4
+ import { i as useTheme, n as createThemeContext, r as createThemePlugin, t as createTheme } from "../useTheme-HbZK7iGf.mjs";
5
5
  export { ThemeAdapter, V0StyleSheetThemeAdapter, V0UnheadThemeAdapter, createTheme, createThemeContext, createThemePlugin, useTheme };
@@ -1,4 +1,4 @@
1
- import { t as IN_BROWSER } from "./globals-IUytflXD.mjs";
1
+ import { t as IN_BROWSER } from "./globals-BVulH1kl.mjs";
2
2
  import { isNull, isString } from "./utilities/index.mjs";
3
3
  import { t as ThemeAdapter } from "./adapter-lS_VpRow.mjs";
4
4
  import { watch } from "vue";
@@ -1,4 +1,4 @@
1
- import { t as IN_BROWSER } from "./globals-IUytflXD.mjs";
1
+ import { t as IN_BROWSER } from "./globals-BVulH1kl.mjs";
2
2
  import { t as toArray } from "./toArray-C89ZaEuF.mjs";
3
3
  import { onScopeDispose, toValue, unref, watch } from "vue";
4
4
  //#region src/composables/useEventListener/index.ts
@@ -1,7 +1,7 @@
1
1
  import { isArray, isBoolean, isFunction, isObject } from "./utilities/index.mjs";
2
- import { o as createPluginContext } from "./useLogger-sRl4HXej.mjs";
3
- import { t as createTokens } from "./createTokens-D4TdRDD_.mjs";
4
- import { t as createGroup } from "./createGroup-DbjK7JgC.mjs";
2
+ import { o as createPluginContext } from "./useLogger-SKBSf2Ry.mjs";
3
+ import { t as createTokens } from "./createTokens-1CBBjmzi.mjs";
4
+ import { t as createGroup } from "./createGroup-CJjPnhGu.mjs";
5
5
  //#region src/composables/useFeatures/index.ts
6
6
  /**
7
7
  * @module useFeatures
@@ -1,8 +1,8 @@
1
1
  import { isNumber, isString } from "./utilities/index.mjs";
2
- import { o as createPluginContext } from "./useLogger-sRl4HXej.mjs";
3
- import { t as createSingle } from "./createSingle-ByJ87S5F.mjs";
4
- import { r as flatten, t as createTokens } from "./createTokens-D4TdRDD_.mjs";
5
- import { t as V0LocaleAdapter } from "./v0-D5rhsC84.mjs";
2
+ import { o as createPluginContext } from "./useLogger-SKBSf2Ry.mjs";
3
+ import { t as createSingle } from "./createSingle-BqTldaCh.mjs";
4
+ import { r as flatten, t as createTokens } from "./createTokens-1CBBjmzi.mjs";
5
+ import { t as V0LocaleAdapter } from "./v0-D-N-Egmx.mjs";
6
6
  //#region src/composables/useLocale/index.ts
7
7
  /**
8
8
  * @module useLocale
@@ -1,7 +1,7 @@
1
- import { s as __LOGGER_ENABLED__, t as IN_BROWSER } from "./globals-IUytflXD.mjs";
1
+ import { s as __LOGGER_ENABLED__, t as IN_BROWSER } from "./globals-BVulH1kl.mjs";
2
2
  import { isNullOrUndefined, isUndefined } from "./utilities/index.mjs";
3
3
  import { i as useContext, t as createTrinity } from "./createTrinity-z-3q9QWR.mjs";
4
- import { t as V0LoggerAdapter } from "./v0-CVDbODQ2.mjs";
4
+ import { t as V0LoggerAdapter } from "./v0-CvlDO4sB.mjs";
5
5
  import { hasInjectionContext, inject, watch } from "vue";
6
6
  //#region src/composables/createPlugin/index.ts
7
7
  /**
@@ -1,8 +1,8 @@
1
- import { t as IN_BROWSER } from "./globals-IUytflXD.mjs";
1
+ import { t as IN_BROWSER } from "./globals-BVulH1kl.mjs";
2
2
  import { isFunction, isNull, isUndefined, useId as useId$1 } from "./utilities/index.mjs";
3
3
  import { i as useContext, t as createTrinity } from "./createTrinity-z-3q9QWR.mjs";
4
- import { o as createPluginContext } from "./useLogger-sRl4HXej.mjs";
5
- import { t as createRegistry } from "./createRegistry-D2ZJpCGZ.mjs";
4
+ import { o as createPluginContext } from "./useLogger-SKBSf2Ry.mjs";
5
+ import { t as createRegistry } from "./createRegistry-BCyeTWME.mjs";
6
6
  import { onScopeDispose, shallowRef, toValue } from "vue";
7
7
  //#region src/composables/useTimer/index.ts
8
8
  /**
@@ -1,6 +1,6 @@
1
1
  import { UNSAFE_KEYS } from "./utilities/index.mjs";
2
- import { o as createPluginContext } from "./useLogger-sRl4HXej.mjs";
3
- import { t as createTokens } from "./createTokens-D4TdRDD_.mjs";
2
+ import { o as createPluginContext } from "./useLogger-SKBSf2Ry.mjs";
3
+ import { t as createTokens } from "./createTokens-1CBBjmzi.mjs";
4
4
  import { t as toArray } from "./toArray-C89ZaEuF.mjs";
5
5
  import { t as V0PermissionsAdapter } from "./v0-UNyykD27.mjs";
6
6
  //#region src/composables/usePermissions/index.ts
@@ -1,16 +1,16 @@
1
- import { a as SUPPORTS_OBSERVER, n as SUPPORTS_INTERSECTION_OBSERVER, t as IN_BROWSER } from "./globals-IUytflXD.mjs";
2
- import { clamp, instanceExists, isArray, isElement, isFunction, isNull, isNullOrUndefined, isObject, isString, isUndefined, range, resolveIds, resolveIndexes, useId as useId$1 } from "./utilities/index.mjs";
1
+ import { a as SUPPORTS_OBSERVER, n as SUPPORTS_INTERSECTION_OBSERVER, t as IN_BROWSER } from "./globals-BVulH1kl.mjs";
2
+ import { clamp, instanceExists, isArray, isElement, isFunction, isNaN, isNull, isNullOrUndefined, isObject, isString, isUndefined, range, resolveIds, resolveIndexes, useId as useId$1 } from "./utilities/index.mjs";
3
3
  import { i as useContext, t as createTrinity } from "./createTrinity-z-3q9QWR.mjs";
4
- import { a as createPlugin, i as useLogger, o as createPluginContext } from "./useLogger-sRl4HXej.mjs";
5
- import { t as createRegistry } from "./createRegistry-D2ZJpCGZ.mjs";
6
- import { i as createModel, t as createSelection } from "./createSelection-BLDg_z0y.mjs";
7
- import { t as createSingle } from "./createSingle-ByJ87S5F.mjs";
4
+ import { a as createPlugin, i as useLogger, o as createPluginContext } from "./useLogger-SKBSf2Ry.mjs";
5
+ import { t as createRegistry } from "./createRegistry-BCyeTWME.mjs";
6
+ import { i as createModel, t as createSelection } from "./createSelection-MKYbRsRh.mjs";
7
+ import { t as createSingle } from "./createSingle-BqTldaCh.mjs";
8
8
  import { t as toArray } from "./toArray-C89ZaEuF.mjs";
9
- import { n as useEventListener, r as useWindowEventListener, t as useDocumentEventListener } from "./useEventListener-DHgoVuDM.mjs";
10
- import { t as createGroup } from "./createGroup-DbjK7JgC.mjs";
11
- import { c as useTimer } from "./useNotifications-DyFItOQC.mjs";
9
+ import { n as useEventListener, r as useWindowEventListener, t as useDocumentEventListener } from "./useEventListener-DvBy0REl.mjs";
10
+ import { t as createGroup } from "./createGroup-CJjPnhGu.mjs";
11
+ import { c as useTimer } from "./useNotifications-CD7VNgfs.mjs";
12
12
  import { i as createFilter } from "./createPagination-B5dfqY-a.mjs";
13
- import { a as useRules, o as isStandardSchema } from "./useRules-BoWaxdCG.mjs";
13
+ import { a as useRules, o as isStandardSchema } from "./useRules-DhN_Glen.mjs";
14
14
  import { computed, effectScope, hasInjectionContext, isReadonly, isRef, nextTick, onMounted, onScopeDispose, ref, shallowReactive, shallowReadonly, shallowRef, toRef, toValue, watch } from "vue";
15
15
  //#region src/composables/useClickOutside/index.ts
16
16
  /**
@@ -927,6 +927,7 @@ function createObserver(target, userCallback, config) {
927
927
  * - SSR-safe (checks SUPPORTS_OBSERVER)
928
928
  * - Hydration-aware
929
929
  * - Box model options (content-box/border-box)
930
+ * - Reports `borderBoxSize` and `contentBoxSize` alongside `contentRect`
930
931
  *
931
932
  * Perfect for responsive components and size-based rendering.
932
933
  *
@@ -941,6 +942,66 @@ function createObserver(target, userCallback, config) {
941
942
  * })
942
943
  * ```
943
944
  */
945
+ /* @__NO_SIDE_EFFECTS__ */
946
+ function pxToNumber(value, fallback = 0) {
947
+ if (!/* @__PURE__ */ isString(value)) return fallback;
948
+ const parsed = Number.parseFloat(value);
949
+ return /* @__PURE__ */ isNaN(parsed) ? fallback : parsed;
950
+ }
951
+ /**
952
+ * Synthesize the entry the observer would report for `el`, for the `immediate`
953
+ * callback that fires before the observer's own first delivery.
954
+ *
955
+ * The box sizes come from `getComputedStyle` rather than
956
+ * `getBoundingClientRect` because resolved lengths are layout values — like the
957
+ * observer, and unlike a client rect, they are not scaled by CSS transforms.
958
+ * `contentRect` keeps its existing client-rect source so callers reading it see
959
+ * no change.
960
+ *
961
+ * Every read is written to tolerate a partial style declaration: an element
962
+ * with no layout box resolves its lengths to `''`, and this runs on whatever
963
+ * `getComputedStyle` returns.
964
+ */
965
+ /* @__NO_SIDE_EFFECTS__ */
966
+ function measure(el) {
967
+ const rect = el.getBoundingClientRect();
968
+ const style = getComputedStyle(el);
969
+ const paddingX = /* @__PURE__ */ pxToNumber(style.paddingLeft) + /* @__PURE__ */ pxToNumber(style.paddingRight);
970
+ const paddingY = /* @__PURE__ */ pxToNumber(style.paddingTop) + /* @__PURE__ */ pxToNumber(style.paddingBottom);
971
+ const borderX = /* @__PURE__ */ pxToNumber(style.borderLeftWidth) + /* @__PURE__ */ pxToNumber(style.borderRightWidth);
972
+ const borderY = /* @__PURE__ */ pxToNumber(style.borderTopWidth) + /* @__PURE__ */ pxToNumber(style.borderBottomWidth);
973
+ const outer = style.boxSizing === "border-box";
974
+ const resolvedX = /* @__PURE__ */ pxToNumber(style.width, rect.width);
975
+ const resolvedY = /* @__PURE__ */ pxToNumber(style.height, rect.height);
976
+ const width = {
977
+ border: outer ? resolvedX : resolvedX + paddingX + borderX,
978
+ content: Math.max(0, outer ? resolvedX - paddingX - borderX : resolvedX)
979
+ };
980
+ const height = {
981
+ border: outer ? resolvedY : resolvedY + paddingY + borderY,
982
+ content: Math.max(0, outer ? resolvedY - paddingY - borderY : resolvedY)
983
+ };
984
+ const vertical = /* @__PURE__ */ isString(style.writingMode) && style.writingMode.startsWith("vertical");
985
+ const inline = vertical ? height : width;
986
+ const block = vertical ? width : height;
987
+ return {
988
+ contentRect: {
989
+ width: rect.width,
990
+ height: rect.height,
991
+ top: rect.top,
992
+ left: rect.left
993
+ },
994
+ borderBoxSize: [{
995
+ inlineSize: inline.border,
996
+ blockSize: block.border
997
+ }],
998
+ contentBoxSize: [{
999
+ inlineSize: inline.content,
1000
+ blockSize: block.content
1001
+ }],
1002
+ target: el
1003
+ };
1004
+ }
944
1005
  /**
945
1006
  * A composable that uses the Resize Observer API to detect when an element's
946
1007
  * size changes.
@@ -981,6 +1042,15 @@ function createObserver(target, userCallback, config) {
981
1042
  * // Resume observation
982
1043
  * resume()
983
1044
  * ```
1045
+ *
1046
+ * @example
1047
+ * Measuring the border box — padding and borders included:
1048
+ *
1049
+ * ```ts
1050
+ * useResizeObserver(el, ([entry]) => {
1051
+ * height.value = entry.borderBoxSize[0].blockSize
1052
+ * }, { box: 'border-box' })
1053
+ * ```
984
1054
  */
985
1055
  function useResizeObserver(target, callback, options = {}) {
986
1056
  return createObserver(target, callback, {
@@ -994,22 +1064,13 @@ function useResizeObserver(target, callback, options = {}) {
994
1064
  top: e.contentRect.top,
995
1065
  left: e.contentRect.left
996
1066
  },
1067
+ borderBoxSize: e.borderBoxSize,
1068
+ contentBoxSize: e.contentBoxSize,
997
1069
  target: e.target
998
1070
  })));
999
1071
  }),
1000
1072
  observe: (obs, el) => obs.observe(el, { box: options.box ?? "content-box" }),
1001
- immediate: options.immediate ? (el) => {
1002
- const rect = el.getBoundingClientRect();
1003
- return [{
1004
- contentRect: {
1005
- width: rect.width,
1006
- height: rect.height,
1007
- top: rect.top,
1008
- left: rect.left
1009
- },
1010
- target: el
1011
- }];
1012
- } : void 0
1073
+ immediate: options.immediate ? (el) => [/* @__PURE__ */ measure(el)] : void 0
1013
1074
  });
1014
1075
  }
1015
1076
  /**
@@ -1609,11 +1670,14 @@ function useProxyModel(context, model, options) {
1609
1670
  }
1610
1671
  const applyOptions = toValue(multiple) === toValue(context.multiple ?? false) ? void 0 : { multiple: toValue(multiple) };
1611
1672
  const pending = /* @__PURE__ */ new Set();
1673
+ function deferred(value) {
1674
+ return !context.browse?.(value)?.length;
1675
+ }
1612
1676
  function reconcile(values) {
1613
1677
  context.apply(values, applyOptions);
1614
1678
  const selected = new Set(context.selectedValues.value);
1615
1679
  pending.clear();
1616
- for (const value of values) if (!selected.has(value)) pending.add(value);
1680
+ for (const value of values) if (!selected.has(value) && deferred(value)) pending.add(value);
1617
1681
  }
1618
1682
  reconcile(transformIn(model));
1619
1683
  let syncing = false;
@@ -1635,8 +1699,10 @@ function useProxyModel(context, model, options) {
1635
1699
  syncing = true;
1636
1700
  contextWatch.pause();
1637
1701
  reconcile(transformIn(val));
1638
- const actual = transformOut(Array.from(context.selectedValues.value));
1639
- if (!shallowEqual(val, actual)) model.value = actual;
1702
+ if (pending.size === 0) {
1703
+ const actual = transformOut(Array.from(context.selectedValues.value));
1704
+ if (!shallowEqual(val, actual)) model.value = actual;
1705
+ }
1640
1706
  contextWatch.resume();
1641
1707
  syncing = false;
1642
1708
  }, {
@@ -1,6 +1,6 @@
1
1
  import { instanceExists, isFunction, isObject } from "./utilities/index.mjs";
2
- import { i as useLogger, o as createPluginContext } from "./useLogger-sRl4HXej.mjs";
3
- import { a as useLocale } from "./useLocale-Oi7Kmpf2.mjs";
2
+ import { i as useLogger, o as createPluginContext } from "./useLogger-SKBSf2Ry.mjs";
3
+ import { a as useLocale } from "./useLocale-6nnyjL_b.mjs";
4
4
  //#region src/composables/useRules/adapters/standard.ts
5
5
  /**
6
6
  * Type guard for Standard Schema objects.
@@ -1,7 +1,7 @@
1
- import { t as IN_BROWSER } from "./globals-IUytflXD.mjs";
1
+ import { t as IN_BROWSER } from "./globals-BVulH1kl.mjs";
2
2
  import { isArray, isNullOrUndefined, isObject } from "./utilities/index.mjs";
3
- import { i as useLogger, o as createPluginContext } from "./useLogger-sRl4HXej.mjs";
4
- import { r as useWindowEventListener } from "./useEventListener-DHgoVuDM.mjs";
3
+ import { i as useLogger, o as createPluginContext } from "./useLogger-SKBSf2Ry.mjs";
4
+ import { r as useWindowEventListener } from "./useEventListener-DvBy0REl.mjs";
5
5
  import { t as MemoryStorageAdapter } from "./memory-BJjkQzxs.mjs";
6
6
  import { ref, watch } from "vue";
7
7
  //#region src/composables/useStorage/index.ts
@@ -1,8 +1,8 @@
1
1
  import { foreground, isNumber, isString } from "./utilities/index.mjs";
2
- import { o as createPluginContext } from "./useLogger-sRl4HXej.mjs";
3
- import { t as createSingle } from "./createSingle-ByJ87S5F.mjs";
4
- import { r as flatten, t as createTokens } from "./createTokens-D4TdRDD_.mjs";
5
- import { t as V0StyleSheetThemeAdapter } from "./v0-f0ASZ9GY.mjs";
2
+ import { o as createPluginContext } from "./useLogger-SKBSf2Ry.mjs";
3
+ import { t as createSingle } from "./createSingle-BqTldaCh.mjs";
4
+ import { r as flatten, t as createTokens } from "./createTokens-1CBBjmzi.mjs";
5
+ import { t as V0StyleSheetThemeAdapter } from "./v0-C2JHbe3R.mjs";
6
6
  import { computed, shallowRef, toRef } from "vue";
7
7
  //#region src/composables/useTheme/index.ts
8
8
  /**
@@ -1,2 +1,2 @@
1
- import { A as rgbToHex, C as useId, D as foreground, E as apca, O as RGB, S as resolveIndexes, T as isV0Error, _ as isThenable, a as isArray, b as range, c as isFunction, d as isNullOrUndefined, f as isNumber, g as isSymbol, h as isString, i as clamp, k as hexToRgb, l as isNaN, m as isPrimitive, n as instanceName, o as isBoolean, p as isObject, r as UNSAFE_KEYS, s as isElement, t as instanceExists, u as isNull, v as isUndefined, w as V0Error, x as resolveIds, y as mergeDeep } from "../index-u0Sy6Dif.mjs";
1
+ import { A as rgbToHex, C as useId, D as foreground, E as apca, O as RGB, S as resolveIndexes, T as isV0Error, _ as isThenable, a as isArray, b as range, c as isFunction, d as isNullOrUndefined, f as isNumber, g as isSymbol, h as isString, i as clamp, k as hexToRgb, l as isNaN, m as isPrimitive, n as instanceName, o as isBoolean, p as isObject, r as UNSAFE_KEYS, s as isElement, t as instanceExists, u as isNull, v as isUndefined, w as V0Error, x as resolveIds, y as mergeDeep } from "../index-DF0tMI2_.mjs";
2
2
  export { RGB, UNSAFE_KEYS, V0Error, apca, clamp, foreground, hexToRgb, instanceExists, instanceName, isArray, isBoolean, isElement, isFunction, isNaN, isNull, isNullOrUndefined, isNumber, isObject, isPrimitive, isString, isSymbol, isThenable, isUndefined, isV0Error, mergeDeep, range, resolveIds, resolveIndexes, rgbToHex, useId };
@@ -1,4 +1,4 @@
1
- import { t as IN_BROWSER } from "../globals-IUytflXD.mjs";
1
+ import { t as IN_BROWSER } from "../globals-BVulH1kl.mjs";
2
2
  import * as Vue from "vue";
3
3
  import { useId as useId$1 } from "vue";
4
4
  //#region src/utilities/color.ts
@@ -214,6 +214,11 @@ function isBoolean(item) {
214
214
  * Returns false for null and arrays, even though `typeof null === 'object'`
215
215
  * and `typeof [] === 'object'` in JavaScript.
216
216
  *
217
+ * `Record<string, any>` is load-bearing: TypeScript does not grant interfaces
218
+ * an implicit index signature, so `Record<string, unknown>` destroys known
219
+ * property types on interface-typed values and fails to subtract
220
+ * `Record<string, any>` members in the negative branch.
221
+ *
217
222
  * @example
218
223
  * ```ts
219
224
  * isObject({}) // true
@@ -265,6 +270,21 @@ function isThenable(item) {
265
270
  * isArray([1, 2, 3]) // true
266
271
  * isArray('string') // false
267
272
  * ```
273
+ *
274
+ * @remarks The guard keeps whichever array constituents the input already had —
275
+ * element types, tuple arity and `readonly` all survive, and the `else` branch
276
+ * drops exactly those constituents. Three branches, in order:
277
+ *
278
+ * 1. `0 extends (1 & T)` detects an `any` input and yields `T[]` (`any[]`),
279
+ * matching `Array.isArray` so callback parameters stay contextually typed.
280
+ * 2. Nothing array-shaped to extract (an `unknown` value, say) falls back to
281
+ * `unknown[]`, reproducing the previous narrowing so mutation and assignment
282
+ * to `unknown[]` keep compiling.
283
+ * 3. Otherwise the array constituents of `T` pass through untouched.
284
+ *
285
+ * `NoInfer<T[]>` widens the parameter just enough for TypeScript to accept the
286
+ * first branch (a predicate must be assignable to its parameter's type) without
287
+ * letting an array argument capture the inference site.
268
288
  */
269
289
  /* @__NO_SIDE_EFFECTS__ */
270
290
  function isArray(item) {
@@ -1,4 +1,4 @@
1
- import { n as LocaleAdapterContext, t as LocaleAdapter } from "./adapter-CVNRHfrz.mjs";
1
+ import { n as LocaleAdapterContext, t as LocaleAdapter } from "./adapter-hq9YlPOF.mjs";
2
2
 
3
3
  //#region src/composables/useLocale/adapters/v0.d.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { t as IN_BROWSER } from "./globals-IUytflXD.mjs";
1
+ import { t as IN_BROWSER } from "./globals-BVulH1kl.mjs";
2
2
  import { isNull, isString } from "./utilities/index.mjs";
3
3
  import { t as ThemeAdapter } from "./adapter-lS_VpRow.mjs";
4
4
  import { watch } from "vue";
@@ -1,4 +1,4 @@
1
- import { t as IN_BROWSER } from "./globals-IUytflXD.mjs";
1
+ import { t as IN_BROWSER } from "./globals-BVulH1kl.mjs";
2
2
  import { isFunction } from "./utilities/index.mjs";
3
3
  import { t as LoggerAdapter } from "./adapter-Chznb9Ju.mjs";
4
4
  //#region src/composables/useLogger/adapters/v0.ts
@@ -1,4 +1,4 @@
1
- import { t as IN_BROWSER } from "./globals-IUytflXD.mjs";
1
+ import { t as IN_BROWSER } from "./globals-BVulH1kl.mjs";
2
2
  import { isObject, isString, isUndefined } from "./utilities/index.mjs";
3
3
  import { t as LocaleAdapter } from "./adapter-bwZo7b5p.mjs";
4
4
  //#region src/composables/useLocale/adapters/v0.ts
package/package.json CHANGED
@@ -1,7 +1,28 @@
1
1
  {
2
2
  "name": "@vuetify/v0",
3
- "version": "1.0.0",
4
- "description": "A meta UI framework for building applications, component libraries, and design systems with Vue 3",
3
+ "version": "1.0.2",
4
+ "description": "Headless, unstyled, accessible Vue 3 primitives and composables — a meta UI framework for building applications, component libraries, and design systems",
5
+ "keywords": [
6
+ "vue",
7
+ "vue3",
8
+ "headless",
9
+ "headless-ui",
10
+ "unstyled",
11
+ "composables",
12
+ "primitives",
13
+ "accessible",
14
+ "accessibility",
15
+ "a11y",
16
+ "wai-aria",
17
+ "design-system",
18
+ "component-library",
19
+ "ui",
20
+ "vuetify"
21
+ ],
22
+ "homepage": "https://0.vuetifyjs.com",
23
+ "bugs": {
24
+ "url": "https://issues.vuetifyjs.com/?repo=vuetify0&type=bug"
25
+ },
5
26
  "license": "MIT",
6
27
  "funding": [
7
28
  {
@@ -33,7 +54,7 @@
33
54
  "@material/material-color-utilities": ">=0.3.0",
34
55
  "launchdarkly-js-client-sdk": "^3.0.0",
35
56
  "posthog-js": "^1.0.0",
36
- "vue": ">=3.5.0",
57
+ "vue": ">=3.5.0 || >=3.6.0-0",
37
58
  "vue-i18n": ">=10.0.0"
38
59
  },
39
60
  "peerDependenciesMeta": {
@@ -72,6 +93,7 @@
72
93
  "@vitest/browser-playwright": "4.1.10",
73
94
  "@vue/compiler-dom": "^3.5.39",
74
95
  "@vue/test-utils": "^2.4.11",
96
+ "axe-core": "^4.12.1",
75
97
  "launchdarkly-js-client-sdk": "^3.9.3",
76
98
  "posthog-js": "^1.398.0",
77
99
  "tsdown": "^0.21.10",