@vuetify/v0 1.0.0-rc.8 → 1.0.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.
- package/README.md +2 -3
- package/dist/browser/index.d.ts +42 -5
- package/dist/browser/index.js +94 -18
- package/dist/components/index.d.mts +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/{components-Cl9fclA1.mjs → components-CnCuPk_X.mjs} +61 -25
- package/dist/composables/index.mjs +21 -21
- package/dist/{composables-CU2JD9oM.mjs → composables-BBAf4-4K.mjs} +14 -10
- package/dist/constants/index.mjs +1 -1
- package/dist/{createDataTable-BaYtcmAO.mjs → createDataTable-D63eN5cu.mjs} +3 -3
- package/dist/{createGroup-5UjYS6_G.mjs → createGroup-DbjK7JgC.mjs} +1 -1
- package/dist/{createRegistry-C_M475FE.mjs → createRegistry-D2ZJpCGZ.mjs} +1 -1
- package/dist/{createSelection-BokWvmnd.mjs → createSelection-BLDg_z0y.mjs} +1 -1
- package/dist/{createSingle-DTqmo-GH.mjs → createSingle-ByJ87S5F.mjs} +1 -1
- package/dist/{createTokens-q-A6Ywox.mjs → createTokens-D4TdRDD_.mjs} +3 -2
- package/dist/data-table/index.mjs +1 -1
- package/dist/date/index.mjs +1 -1
- package/dist/features/adapters/posthog/index.mjs +1 -1
- package/dist/features/index.mjs +1 -1
- package/dist/{globals-C0tKiM_M.mjs → globals-IUytflXD.mjs} +1 -1
- package/dist/{index-DOjheBVl.d.mts → index-CnqCKZE2.d.mts} +124 -87
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +23 -23
- package/dist/json/attributes.json +28 -0
- package/dist/json/tags.json +7 -0
- package/dist/json/web-types.json +65 -2
- package/dist/locale/adapters/index.mjs +1 -1
- package/dist/locale/adapters/v0/index.mjs +1 -1
- package/dist/locale/index.mjs +2 -2
- package/dist/locale/messages/en/index.d.mts +3 -0
- package/dist/locale/messages/en/index.mjs +2 -1
- package/dist/logger/adapters/index.mjs +1 -1
- package/dist/logger/adapters/v0/index.mjs +1 -1
- package/dist/logger/index.mjs +2 -2
- package/dist/notifications/index.mjs +2 -2
- package/dist/permissions/index.mjs +1 -1
- package/dist/rules/index.mjs +1 -1
- package/dist/storage/index.mjs +1 -1
- package/dist/theme/adapters/index.mjs +2 -2
- package/dist/theme/adapters/unhead/index.mjs +1 -1
- package/dist/theme/adapters/v0/index.mjs +1 -1
- package/dist/theme/index.mjs +3 -3
- package/dist/{unhead-BXJ8cqN-.mjs → unhead-DILc2h2Q.mjs} +20 -2
- package/dist/{useEventListener-UJ8VS4eS.mjs → useEventListener-DHgoVuDM.mjs} +1 -1
- package/dist/{useFeatures-Cn-HGB7v.mjs → useFeatures-DQTSY61T.mjs} +3 -3
- package/dist/{useLocale-BFKJosku.mjs → useLocale-Oi7Kmpf2.mjs} +4 -4
- package/dist/{useLogger-DGG3fsnB.mjs → useLogger-sRl4HXej.mjs} +2 -2
- package/dist/{useNotifications-DO10ylRQ.mjs → useNotifications-DyFItOQC.mjs} +3 -3
- package/dist/{usePermissions-BC-ppxf2.mjs → usePermissions-BpxH8XTC.mjs} +2 -2
- package/dist/{useRovingFocus-BWww4Lm1.mjs → useRovingFocus-C5HKUytW.mjs} +9 -9
- package/dist/{useRules-CMDEY2-D.mjs → useRules-BoWaxdCG.mjs} +2 -2
- package/dist/{useStorage-BkutRChm.mjs → useStorage-DlD2rul3.mjs} +3 -3
- package/dist/{useTheme-CJ5fgT5y.mjs → useTheme-CKALhQOk.mjs} +4 -4
- package/dist/utilities/index.mjs +1 -1
- package/dist/{v0-DUvaNE4R.mjs → v0-CVDbODQ2.mjs} +1 -1
- package/dist/{v0-M7azful7.mjs → v0-D5rhsC84.mjs} +1 -1
- package/dist/{v0-sTRNcP5u.mjs → v0-f0ASZ9GY.mjs} +19 -2
- package/package.json +8 -8
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { isNumber, isString } from "./utilities/index.mjs";
|
|
2
|
-
import { o as createPluginContext } from "./useLogger-
|
|
3
|
-
import { t as createSingle } from "./createSingle-
|
|
4
|
-
import { r as flatten, t as createTokens } from "./createTokens-
|
|
5
|
-
import { t as V0LocaleAdapter } from "./v0-
|
|
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";
|
|
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-
|
|
1
|
+
import { s as __LOGGER_ENABLED__, t as IN_BROWSER } from "./globals-IUytflXD.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-
|
|
4
|
+
import { t as V0LoggerAdapter } from "./v0-CVDbODQ2.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-
|
|
1
|
+
import { t as IN_BROWSER } from "./globals-IUytflXD.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-
|
|
5
|
-
import { t as createRegistry } from "./createRegistry-
|
|
4
|
+
import { o as createPluginContext } from "./useLogger-sRl4HXej.mjs";
|
|
5
|
+
import { t as createRegistry } from "./createRegistry-D2ZJpCGZ.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-
|
|
3
|
-
import { t as createTokens } from "./createTokens-
|
|
2
|
+
import { o as createPluginContext } from "./useLogger-sRl4HXej.mjs";
|
|
3
|
+
import { t as createTokens } from "./createTokens-D4TdRDD_.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-
|
|
1
|
+
import { a as SUPPORTS_OBSERVER, n as SUPPORTS_INTERSECTION_OBSERVER, t as IN_BROWSER } from "./globals-IUytflXD.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-
|
|
5
|
-
import { t as createRegistry } from "./createRegistry-
|
|
6
|
-
import { i as createModel, t as createSelection } from "./createSelection-
|
|
7
|
-
import { t as createSingle } from "./createSingle-
|
|
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";
|
|
8
8
|
import { t as toArray } from "./toArray-C89ZaEuF.mjs";
|
|
9
|
-
import { n as useEventListener, r as useWindowEventListener, t as useDocumentEventListener } from "./useEventListener-
|
|
10
|
-
import { t as createGroup } from "./createGroup-
|
|
11
|
-
import { c as useTimer } from "./useNotifications-
|
|
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";
|
|
12
12
|
import { i as createFilter } from "./createPagination-B5dfqY-a.mjs";
|
|
13
|
-
import { a as useRules, o as isStandardSchema } from "./useRules-
|
|
13
|
+
import { a as useRules, o as isStandardSchema } from "./useRules-BoWaxdCG.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-
|
|
3
|
-
import { a as useLocale } from "./useLocale-
|
|
2
|
+
import { i as useLogger, o as createPluginContext } from "./useLogger-sRl4HXej.mjs";
|
|
3
|
+
import { a as useLocale } from "./useLocale-Oi7Kmpf2.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-
|
|
1
|
+
import { t as IN_BROWSER } from "./globals-IUytflXD.mjs";
|
|
2
2
|
import { isArray, isNullOrUndefined, isObject } from "./utilities/index.mjs";
|
|
3
|
-
import { i as useLogger, o as createPluginContext } from "./useLogger-
|
|
4
|
-
import { r as useWindowEventListener } from "./useEventListener-
|
|
3
|
+
import { i as useLogger, o as createPluginContext } from "./useLogger-sRl4HXej.mjs";
|
|
4
|
+
import { r as useWindowEventListener } from "./useEventListener-DHgoVuDM.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-
|
|
3
|
-
import { t as createSingle } from "./createSingle-
|
|
4
|
-
import { r as flatten, t as createTokens } from "./createTokens-
|
|
5
|
-
import { t as V0StyleSheetThemeAdapter } from "./v0-
|
|
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";
|
|
6
6
|
import { computed, shallowRef, toRef } from "vue";
|
|
7
7
|
//#region src/composables/useTheme/index.ts
|
|
8
8
|
/**
|
package/dist/utilities/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as IN_BROWSER } from "./globals-
|
|
1
|
+
import { t as IN_BROWSER } from "./globals-IUytflXD.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-
|
|
1
|
+
import { t as IN_BROWSER } from "./globals-IUytflXD.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-
|
|
1
|
+
import { t as IN_BROWSER } from "./globals-IUytflXD.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
|
-
|
|
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
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuetify/v0",
|
|
3
|
-
"version": "1.0.0
|
|
3
|
+
"version": "1.0.0",
|
|
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.
|
|
73
|
-
"@vue/compiler-dom": "^3.5.
|
|
74
|
-
"@vue/test-utils": "^2.4.
|
|
75
|
-
"launchdarkly-js-client-sdk": "^3.9.
|
|
76
|
-
"posthog-js": "^1.
|
|
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.
|
|
80
|
+
"vue": "3.5.39",
|
|
81
81
|
"vue-component-meta": "3.2.7",
|
|
82
|
-
"vue-i18n": "^11.4.
|
|
82
|
+
"vue-i18n": "^11.4.6"
|
|
83
83
|
},
|
|
84
84
|
"imports": {
|
|
85
85
|
"#v0/*": {
|