@vuetify/v0 1.0.0-rc.8 → 1.0.0-rc.9

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 (58) hide show
  1. package/README.md +2 -2
  2. package/dist/browser/index.d.ts +42 -5
  3. package/dist/browser/index.js +94 -18
  4. package/dist/components/index.d.mts +1 -1
  5. package/dist/components/index.mjs +1 -1
  6. package/dist/{components-Cl9fclA1.mjs → components-BVbls2Zu.mjs} +61 -25
  7. package/dist/composables/index.mjs +21 -21
  8. package/dist/{composables-CU2JD9oM.mjs → composables-BT7flkAT.mjs} +14 -10
  9. package/dist/constants/index.mjs +1 -1
  10. package/dist/{createDataTable-BaYtcmAO.mjs → createDataTable-s3eVS4Zu.mjs} +3 -3
  11. package/dist/{createGroup-5UjYS6_G.mjs → createGroup-B6LPZBb5.mjs} +1 -1
  12. package/dist/{createRegistry-C_M475FE.mjs → createRegistry-BGTmeeis.mjs} +1 -1
  13. package/dist/{createSelection-BokWvmnd.mjs → createSelection-CyN6WFYU.mjs} +1 -1
  14. package/dist/{createSingle-DTqmo-GH.mjs → createSingle-B2ccuoDn.mjs} +1 -1
  15. package/dist/{createTokens-q-A6Ywox.mjs → createTokens-CmFlFaiL.mjs} +3 -2
  16. package/dist/data-table/index.mjs +1 -1
  17. package/dist/date/index.mjs +1 -1
  18. package/dist/features/adapters/posthog/index.mjs +1 -1
  19. package/dist/features/index.mjs +1 -1
  20. package/dist/{globals-C0tKiM_M.mjs → globals-RL3Sag6Q.mjs} +1 -1
  21. package/dist/{index-DOjheBVl.d.mts → index-CfoyBH6V.d.mts} +41 -4
  22. package/dist/index.d.mts +1 -1
  23. package/dist/index.mjs +23 -23
  24. package/dist/json/attributes.json +28 -0
  25. package/dist/json/tags.json +7 -0
  26. package/dist/json/web-types.json +65 -2
  27. package/dist/locale/adapters/index.mjs +1 -1
  28. package/dist/locale/adapters/v0/index.mjs +1 -1
  29. package/dist/locale/index.mjs +2 -2
  30. package/dist/locale/messages/en/index.d.mts +3 -0
  31. package/dist/locale/messages/en/index.mjs +2 -1
  32. package/dist/logger/adapters/index.mjs +1 -1
  33. package/dist/logger/adapters/v0/index.mjs +1 -1
  34. package/dist/logger/index.mjs +2 -2
  35. package/dist/notifications/index.mjs +2 -2
  36. package/dist/permissions/index.mjs +1 -1
  37. package/dist/rules/index.mjs +1 -1
  38. package/dist/storage/index.mjs +1 -1
  39. package/dist/theme/adapters/index.mjs +2 -2
  40. package/dist/theme/adapters/unhead/index.mjs +1 -1
  41. package/dist/theme/adapters/v0/index.mjs +1 -1
  42. package/dist/theme/index.mjs +3 -3
  43. package/dist/{unhead-BXJ8cqN-.mjs → unhead-CEoip0pl.mjs} +20 -2
  44. package/dist/{useEventListener-UJ8VS4eS.mjs → useEventListener-CBJTFVtj.mjs} +1 -1
  45. package/dist/{useFeatures-Cn-HGB7v.mjs → useFeatures-BZszg39v.mjs} +3 -3
  46. package/dist/{useLocale-BFKJosku.mjs → useLocale-DeC8QRi3.mjs} +4 -4
  47. package/dist/{useLogger-DGG3fsnB.mjs → useLogger-6LS-fgWD.mjs} +2 -2
  48. package/dist/{useNotifications-DO10ylRQ.mjs → useNotifications-DD7vR-tx.mjs} +3 -3
  49. package/dist/{usePermissions-BC-ppxf2.mjs → usePermissions-BIfS_ihQ.mjs} +2 -2
  50. package/dist/{useRovingFocus-BWww4Lm1.mjs → useRovingFocus-Dzw1c9uA.mjs} +9 -9
  51. package/dist/{useRules-CMDEY2-D.mjs → useRules-BzgsUHWa.mjs} +2 -2
  52. package/dist/{useStorage-BkutRChm.mjs → useStorage-5nEMSv-y.mjs} +3 -3
  53. package/dist/{useTheme-CJ5fgT5y.mjs → useTheme-K1dwhgeW.mjs} +4 -4
  54. package/dist/utilities/index.mjs +1 -1
  55. package/dist/{v0-M7azful7.mjs → v0-BOXWgl8G.mjs} +1 -1
  56. package/dist/{v0-sTRNcP5u.mjs → v0-CFy_iJEG.mjs} +19 -2
  57. package/dist/{v0-DUvaNE4R.mjs → v0-DsrbK05t.mjs} +1 -1
  58. package/package.json +8 -8
@@ -1,4 +1,4 @@
1
1
  import { t as LocaleAdapter } from "../adapter-bwZo7b5p.mjs";
2
- import { t as V0LocaleAdapter } from "../v0-M7azful7.mjs";
3
- import { a as useLocale, i as createLocalePlugin, n as createLocaleContext, r as createLocaleFallback, t as createLocale } from "../useLocale-BFKJosku.mjs";
2
+ import { t as V0LocaleAdapter } from "../v0-BOXWgl8G.mjs";
3
+ import { a as useLocale, i as createLocalePlugin, n as createLocaleContext, r as createLocaleFallback, t as createLocale } from "../useLocale-DeC8QRi3.mjs";
4
4
  export { LocaleAdapter, V0LocaleAdapter, createLocale, createLocaleContext, createLocaleFallback, createLocalePlugin, useLocale };
@@ -68,6 +68,9 @@ declare const _default: {
68
68
  readonly Snackbar: {
69
69
  readonly close: "Dismiss";
70
70
  };
71
+ readonly Splitter: {
72
+ readonly handle: "Resize";
73
+ };
71
74
  };
72
75
  //#endregion
73
76
  export { _default as default };
@@ -51,7 +51,8 @@ var en_default = {
51
51
  status: "Page {page} of {pages}"
52
52
  },
53
53
  Rating: { valueText: "{value} of {size} stars" },
54
- Snackbar: { close: "Dismiss" }
54
+ Snackbar: { close: "Dismiss" },
55
+ Splitter: { handle: "Resize" }
55
56
  };
56
57
  //#endregion
57
58
  export { en_default as default };
@@ -1,5 +1,5 @@
1
1
  import { t as LoggerAdapter } from "../../adapter-Chznb9Ju.mjs";
2
2
  import { t as ConsolaLoggerAdapter } from "../../consola-cad-VEV2.mjs";
3
3
  import { t as PinoLoggerAdapter } from "../../pino-BscMO3RR.mjs";
4
- import { t as V0LoggerAdapter } from "../../v0-DUvaNE4R.mjs";
4
+ import { t as V0LoggerAdapter } from "../../v0-DsrbK05t.mjs";
5
5
  export { ConsolaLoggerAdapter, LoggerAdapter, PinoLoggerAdapter, V0LoggerAdapter };
@@ -1,2 +1,2 @@
1
- import { t as V0LoggerAdapter } from "../../../v0-DUvaNE4R.mjs";
1
+ import { t as V0LoggerAdapter } from "../../../v0-DsrbK05t.mjs";
2
2
  export { V0LoggerAdapter };
@@ -1,6 +1,6 @@
1
- import { i as useLogger, n as createLoggerContext, r as createLoggerPlugin, t as createLogger } from "../useLogger-DGG3fsnB.mjs";
1
+ import { i as useLogger, n as createLoggerContext, r as createLoggerPlugin, t as createLogger } from "../useLogger-6LS-fgWD.mjs";
2
2
  import { t as LoggerAdapter } from "../adapter-Chznb9Ju.mjs";
3
3
  import { t as ConsolaLoggerAdapter } from "../consola-cad-VEV2.mjs";
4
4
  import { t as PinoLoggerAdapter } from "../pino-BscMO3RR.mjs";
5
- import { t as V0LoggerAdapter } from "../v0-DUvaNE4R.mjs";
5
+ import { t as V0LoggerAdapter } from "../v0-DsrbK05t.mjs";
6
6
  export { ConsolaLoggerAdapter, LoggerAdapter, PinoLoggerAdapter, V0LoggerAdapter, createLogger, createLoggerContext, createLoggerPlugin, useLogger };
@@ -1,5 +1,5 @@
1
- import { t as IN_BROWSER } from "../globals-C0tKiM_M.mjs";
2
- import { i as useNotifications, n as createNotificationsContext, r as createNotificationsPlugin, t as createNotifications } from "../useNotifications-DO10ylRQ.mjs";
1
+ import { t as IN_BROWSER } from "../globals-RL3Sag6Q.mjs";
2
+ import { i as useNotifications, n as createNotificationsContext, r as createNotificationsPlugin, t as createNotifications } from "../useNotifications-DD7vR-tx.mjs";
3
3
  //#region src/composables/useNotifications/adapters/adapter.ts
4
4
  var NotificationsAdapter = class {};
5
5
  //#endregion
@@ -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-BC-ppxf2.mjs";
2
+ import { i as usePermissions, n as createPermissionsContext, r as createPermissionsPlugin, t as createPermissions } from "../usePermissions-BIfS_ihQ.mjs";
3
3
  export { PermissionsAdapter, createPermissions, createPermissionsContext, createPermissionsPlugin, usePermissions };
@@ -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-CMDEY2-D.mjs";
1
+ import { a as useRules, i as createRulesPlugin, n as createRulesContext, o as isStandardSchema, r as createRulesFallback, t as createRules } from "../useRules-BzgsUHWa.mjs";
2
2
  export { createRules, createRulesContext, createRulesFallback, createRulesPlugin, isStandardSchema, useRules };
@@ -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-BkutRChm.mjs";
2
+ import { i as useStorage, n as createStorageContext, r as createStoragePlugin, t as createStorage } from "../useStorage-5nEMSv-y.mjs";
3
3
  export { MemoryStorageAdapter, StorageAdapter, createStorage, createStorageContext, createStoragePlugin, useStorage };
@@ -1,4 +1,4 @@
1
1
  import { t as ThemeAdapter } from "../../adapter-lS_VpRow.mjs";
2
- import { t as V0StyleSheetThemeAdapter } from "../../v0-sTRNcP5u.mjs";
3
- import { t as V0UnheadThemeAdapter } from "../../unhead-BXJ8cqN-.mjs";
2
+ import { t as V0StyleSheetThemeAdapter } from "../../v0-CFy_iJEG.mjs";
3
+ import { t as V0UnheadThemeAdapter } from "../../unhead-CEoip0pl.mjs";
4
4
  export { ThemeAdapter, V0StyleSheetThemeAdapter, V0UnheadThemeAdapter };
@@ -1,2 +1,2 @@
1
- import { t as V0UnheadThemeAdapter } from "../../../unhead-BXJ8cqN-.mjs";
1
+ import { t as V0UnheadThemeAdapter } from "../../../unhead-CEoip0pl.mjs";
2
2
  export { V0UnheadThemeAdapter };
@@ -1,2 +1,2 @@
1
- import { t as V0StyleSheetThemeAdapter } from "../../../v0-sTRNcP5u.mjs";
1
+ import { t as V0StyleSheetThemeAdapter } from "../../../v0-CFy_iJEG.mjs";
2
2
  export { V0StyleSheetThemeAdapter };
@@ -1,5 +1,5 @@
1
1
  import { t as ThemeAdapter } from "../adapter-lS_VpRow.mjs";
2
- import { t as V0StyleSheetThemeAdapter } from "../v0-sTRNcP5u.mjs";
3
- import { t as V0UnheadThemeAdapter } from "../unhead-BXJ8cqN-.mjs";
4
- import { i as useTheme, n as createThemeContext, r as createThemePlugin, t as createTheme } from "../useTheme-CJ5fgT5y.mjs";
2
+ import { t as V0StyleSheetThemeAdapter } from "../v0-CFy_iJEG.mjs";
3
+ import { t as V0UnheadThemeAdapter } from "../unhead-CEoip0pl.mjs";
4
+ import { i as useTheme, n as createThemeContext, r as createThemePlugin, t as createTheme } from "../useTheme-K1dwhgeW.mjs";
5
5
  export { ThemeAdapter, V0StyleSheetThemeAdapter, V0UnheadThemeAdapter, createTheme, createThemeContext, createThemePlugin, useTheme };
@@ -1,4 +1,4 @@
1
- import { t as IN_BROWSER } from "./globals-C0tKiM_M.mjs";
1
+ import { t as IN_BROWSER } from "./globals-RL3Sag6Q.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";
@@ -58,7 +58,25 @@ var V0UnheadThemeAdapter = class extends ThemeAdapter {
58
58
  stopWatch();
59
59
  this.entry?.dispose?.();
60
60
  };
61
- } else this.dispose = () => this.entry?.dispose?.();
61
+ } else {
62
+ const stop = watch([
63
+ context.colors,
64
+ context.isDark,
65
+ context.selectedId
66
+ ], ([colors, isDark, id]) => {
67
+ this.entry?.patch?.({
68
+ htmlAttrs: { "data-theme": id ? String(id) : "" },
69
+ style: [{
70
+ innerHTML: this.generate(colors, isDark),
71
+ id: this.stylesheetId
72
+ }]
73
+ });
74
+ });
75
+ this.dispose = () => {
76
+ stop();
77
+ this.entry?.dispose?.();
78
+ };
79
+ }
62
80
  }
63
81
  update(colors, isDark) {
64
82
  if (!this.entry) return;
@@ -1,4 +1,4 @@
1
- import { t as IN_BROWSER } from "./globals-C0tKiM_M.mjs";
1
+ import { t as IN_BROWSER } from "./globals-RL3Sag6Q.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-DGG3fsnB.mjs";
3
- import { t as createTokens } from "./createTokens-q-A6Ywox.mjs";
4
- import { t as createGroup } from "./createGroup-5UjYS6_G.mjs";
2
+ import { o as createPluginContext } from "./useLogger-6LS-fgWD.mjs";
3
+ import { t as createTokens } from "./createTokens-CmFlFaiL.mjs";
4
+ import { t as createGroup } from "./createGroup-B6LPZBb5.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-DGG3fsnB.mjs";
3
- import { t as createSingle } from "./createSingle-DTqmo-GH.mjs";
4
- import { r as flatten, t as createTokens } from "./createTokens-q-A6Ywox.mjs";
5
- import { t as V0LocaleAdapter } from "./v0-M7azful7.mjs";
2
+ import { o as createPluginContext } from "./useLogger-6LS-fgWD.mjs";
3
+ import { t as createSingle } from "./createSingle-B2ccuoDn.mjs";
4
+ import { r as flatten, t as createTokens } from "./createTokens-CmFlFaiL.mjs";
5
+ import { t as V0LocaleAdapter } from "./v0-BOXWgl8G.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-C0tKiM_M.mjs";
1
+ import { s as __LOGGER_ENABLED__, t as IN_BROWSER } from "./globals-RL3Sag6Q.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-DUvaNE4R.mjs";
4
+ import { t as V0LoggerAdapter } from "./v0-DsrbK05t.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-C0tKiM_M.mjs";
1
+ import { t as IN_BROWSER } from "./globals-RL3Sag6Q.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-DGG3fsnB.mjs";
5
- import { t as createRegistry } from "./createRegistry-C_M475FE.mjs";
4
+ import { o as createPluginContext } from "./useLogger-6LS-fgWD.mjs";
5
+ import { t as createRegistry } from "./createRegistry-BGTmeeis.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-DGG3fsnB.mjs";
3
- import { t as createTokens } from "./createTokens-q-A6Ywox.mjs";
2
+ import { o as createPluginContext } from "./useLogger-6LS-fgWD.mjs";
3
+ import { t as createTokens } from "./createTokens-CmFlFaiL.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-C0tKiM_M.mjs";
1
+ import { a as SUPPORTS_OBSERVER, n as SUPPORTS_INTERSECTION_OBSERVER, t as IN_BROWSER } from "./globals-RL3Sag6Q.mjs";
2
2
  import { clamp, instanceExists, isArray, isElement, isFunction, 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-DGG3fsnB.mjs";
5
- import { t as createRegistry } from "./createRegistry-C_M475FE.mjs";
6
- import { i as createModel, t as createSelection } from "./createSelection-BokWvmnd.mjs";
7
- import { t as createSingle } from "./createSingle-DTqmo-GH.mjs";
4
+ import { a as createPlugin, i as useLogger, o as createPluginContext } from "./useLogger-6LS-fgWD.mjs";
5
+ import { t as createRegistry } from "./createRegistry-BGTmeeis.mjs";
6
+ import { i as createModel, t as createSelection } from "./createSelection-CyN6WFYU.mjs";
7
+ import { t as createSingle } from "./createSingle-B2ccuoDn.mjs";
8
8
  import { t as toArray } from "./toArray-C89ZaEuF.mjs";
9
- import { n as useEventListener, r as useWindowEventListener, t as useDocumentEventListener } from "./useEventListener-UJ8VS4eS.mjs";
10
- import { t as createGroup } from "./createGroup-5UjYS6_G.mjs";
11
- import { c as useTimer } from "./useNotifications-DO10ylRQ.mjs";
9
+ import { n as useEventListener, r as useWindowEventListener, t as useDocumentEventListener } from "./useEventListener-CBJTFVtj.mjs";
10
+ import { t as createGroup } from "./createGroup-B6LPZBb5.mjs";
11
+ import { c as useTimer } from "./useNotifications-DD7vR-tx.mjs";
12
12
  import { i as createFilter } from "./createPagination-B5dfqY-a.mjs";
13
- import { a as useRules, o as isStandardSchema } from "./useRules-CMDEY2-D.mjs";
13
+ import { a as useRules, o as isStandardSchema } from "./useRules-BzgsUHWa.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
  /**
@@ -1,6 +1,6 @@
1
1
  import { instanceExists, isFunction, isObject } from "./utilities/index.mjs";
2
- import { i as useLogger, o as createPluginContext } from "./useLogger-DGG3fsnB.mjs";
3
- import { a as useLocale } from "./useLocale-BFKJosku.mjs";
2
+ import { i as useLogger, o as createPluginContext } from "./useLogger-6LS-fgWD.mjs";
3
+ import { a as useLocale } from "./useLocale-DeC8QRi3.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-C0tKiM_M.mjs";
1
+ import { t as IN_BROWSER } from "./globals-RL3Sag6Q.mjs";
2
2
  import { isArray, isNullOrUndefined, isObject } from "./utilities/index.mjs";
3
- import { i as useLogger, o as createPluginContext } from "./useLogger-DGG3fsnB.mjs";
4
- import { r as useWindowEventListener } from "./useEventListener-UJ8VS4eS.mjs";
3
+ import { i as useLogger, o as createPluginContext } from "./useLogger-6LS-fgWD.mjs";
4
+ import { r as useWindowEventListener } from "./useEventListener-CBJTFVtj.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-DGG3fsnB.mjs";
3
- import { t as createSingle } from "./createSingle-DTqmo-GH.mjs";
4
- import { r as flatten, t as createTokens } from "./createTokens-q-A6Ywox.mjs";
5
- import { t as V0StyleSheetThemeAdapter } from "./v0-sTRNcP5u.mjs";
2
+ import { o as createPluginContext } from "./useLogger-6LS-fgWD.mjs";
3
+ import { t as createSingle } from "./createSingle-B2ccuoDn.mjs";
4
+ import { r as flatten, t as createTokens } from "./createTokens-CmFlFaiL.mjs";
5
+ import { t as V0StyleSheetThemeAdapter } from "./v0-CFy_iJEG.mjs";
6
6
  import { computed, shallowRef, toRef } from "vue";
7
7
  //#region src/composables/useTheme/index.ts
8
8
  /**
@@ -1,4 +1,4 @@
1
- import { t as IN_BROWSER } from "../globals-C0tKiM_M.mjs";
1
+ import { t as IN_BROWSER } from "../globals-RL3Sag6Q.mjs";
2
2
  import * as Vue from "vue";
3
3
  import { useId as useId$1 } from "vue";
4
4
  //#region src/utilities/color.ts
@@ -1,4 +1,4 @@
1
- import { t as IN_BROWSER } from "./globals-C0tKiM_M.mjs";
1
+ import { t as IN_BROWSER } from "./globals-RL3Sag6Q.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
@@ -1,4 +1,4 @@
1
- import { t as IN_BROWSER } from "./globals-C0tKiM_M.mjs";
1
+ import { t as IN_BROWSER } from "./globals-RL3Sag6Q.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";
@@ -58,7 +58,24 @@ var V0StyleSheetThemeAdapter = class extends ThemeAdapter {
58
58
  ...this.cspNonce ? { nonce: this.cspNonce } : {}
59
59
  }]
60
60
  });
61
- if (entry?.dispose) this.dispose = entry.dispose;
61
+ const stop = watch([
62
+ context.selectedId,
63
+ context.colors,
64
+ context.isDark
65
+ ], ([themeId, colors, isDark]) => {
66
+ entry.patch?.({
67
+ htmlAttrs: { "data-theme": themeId ? String(themeId) : "" },
68
+ style: [{
69
+ innerHTML: this.generate(colors, isDark),
70
+ id: this.stylesheetId,
71
+ ...this.cspNonce ? { nonce: this.cspNonce } : {}
72
+ }]
73
+ });
74
+ });
75
+ this.dispose = () => {
76
+ stop();
77
+ entry.dispose?.();
78
+ };
62
79
  }
63
80
  }
64
81
  }
@@ -1,4 +1,4 @@
1
- import { t as IN_BROWSER } from "./globals-C0tKiM_M.mjs";
1
+ import { t as IN_BROWSER } from "./globals-RL3Sag6Q.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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vuetify/v0",
3
- "version": "1.0.0-rc.8",
3
+ "version": "1.0.0-rc.9",
4
4
  "description": "A meta UI framework for building applications, component libraries, and design systems with Vue 3",
5
5
  "license": "MIT",
6
6
  "funding": [
@@ -69,17 +69,17 @@
69
69
  "@js-temporal/polyfill": "0.5.1",
70
70
  "@material/material-color-utilities": "^0.4.0",
71
71
  "@testing-library/vue": "^8.1.0",
72
- "@vitest/browser-playwright": "4.1.5",
73
- "@vue/compiler-dom": "^3.5.33",
74
- "@vue/test-utils": "^2.4.10",
75
- "launchdarkly-js-client-sdk": "^3.9.1",
76
- "posthog-js": "^1.372.6",
72
+ "@vitest/browser-playwright": "4.1.10",
73
+ "@vue/compiler-dom": "^3.5.39",
74
+ "@vue/test-utils": "^2.4.11",
75
+ "launchdarkly-js-client-sdk": "^3.9.3",
76
+ "posthog-js": "^1.398.0",
77
77
  "tsdown": "^0.21.10",
78
78
  "typescript": "6.0.3",
79
79
  "unplugin-vue": "^7.2.0",
80
- "vue": "3.5.33",
80
+ "vue": "3.5.39",
81
81
  "vue-component-meta": "3.2.7",
82
- "vue-i18n": "^11.4.0"
82
+ "vue-i18n": "^11.4.6"
83
83
  },
84
84
  "imports": {
85
85
  "#v0/*": {