@vuetify/v0 1.0.3 → 1.0.5
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/dist/adapter-BCtceV3b.mjs +66 -0
- package/dist/{adapter-C5F2huij.d.mts → adapter-Bc0yPSfo.d.mts} +6 -1
- package/dist/browser/index.d.ts +23 -7
- package/dist/browser/index.js +163 -73
- package/dist/components/index.d.mts +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/{components-CeyYdes9.mjs → components-OCsY4P1f.mjs} +50 -16
- package/dist/composables/index.d.mts +2 -2
- package/dist/composables/index.mjs +22 -22
- package/dist/{composables-Br-ApSWN.mjs → composables-xhcxXjuE.mjs} +44 -65
- package/dist/constants/index.mjs +1 -1
- package/dist/{createDataTable-B1uf_rZu.mjs → createDataTable-D38H0Zbp.mjs} +3 -3
- package/dist/{createGroup-Czt0x8tf.mjs → createGroup-CjUHFae5.mjs} +1 -1
- package/dist/{createRegistry-Cu1WQTyV.mjs → createRegistry-B8VqA-QF.mjs} +1 -1
- package/dist/{createSelection-kydb14hZ.mjs → createSelection-BXd5clS0.mjs} +1 -1
- package/dist/{createSingle-JWAjGQLk.mjs → createSingle-Bdkfht_B.mjs} +1 -1
- package/dist/{createTokens-BD7p5_XB.mjs → createTokens-vgyk_0vA.mjs} +2 -2
- package/dist/data-table/index.mjs +1 -1
- package/dist/date/index.d.mts +2 -2
- package/dist/date/index.mjs +7 -36
- package/dist/features/adapters/posthog/index.mjs +1 -1
- package/dist/features/index.d.mts +1 -1
- package/dist/features/index.mjs +1 -1
- package/dist/{globals-XB8xcQFv.mjs → globals-B7ejLnrz.mjs} +1 -1
- package/dist/{index-0Wnlny_C.d.mts → index-CrAgM2EJ.d.mts} +5 -3
- package/dist/{index-BS_OGRsE.d.mts → index-DY81ptHb.d.mts} +112 -103
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +24 -24
- package/dist/json/web-types.json +1 -1
- package/dist/locale/adapters/index.mjs +1 -1
- package/dist/locale/adapters/v0/index.mjs +1 -1
- package/dist/locale/index.d.mts +1 -1
- package/dist/locale/index.mjs +2 -2
- package/dist/logger/adapters/index.mjs +1 -1
- package/dist/logger/adapters/v0/index.mjs +1 -1
- package/dist/logger/index.d.mts +1 -1
- package/dist/logger/index.mjs +2 -2
- package/dist/notifications/index.d.mts +1 -1
- package/dist/notifications/index.mjs +2 -2
- package/dist/palettes/index.d.mts +1 -1
- package/dist/permissions/adapters/index.d.mts +1 -1
- package/dist/permissions/adapters/v0/index.d.mts +1 -1
- package/dist/permissions/index.d.mts +1 -1
- package/dist/permissions/index.mjs +1 -1
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/index.mjs +1 -1
- package/dist/storage/index.d.mts +1 -1
- package/dist/storage/index.mjs +1 -1
- package/dist/theme/adapters/index.d.mts +1 -1
- package/dist/theme/adapters/index.mjs +2 -2
- package/dist/theme/adapters/unhead/index.d.mts +1 -1
- package/dist/theme/adapters/unhead/index.mjs +1 -1
- package/dist/theme/adapters/v0/index.d.mts +1 -1
- package/dist/theme/adapters/v0/index.mjs +1 -1
- package/dist/theme/index.d.mts +1 -1
- package/dist/theme/index.mjs +3 -3
- package/dist/{unhead-VVWCVv5Z.mjs → unhead-DxiB3P5p.mjs} +1 -1
- package/dist/{useEventListener-DasgNSNh.mjs → useEventListener-BjWJPfYS.mjs} +1 -1
- package/dist/{useFeatures-SX-DoCwv.mjs → useFeatures-DcgU66KC.mjs} +3 -3
- package/dist/{useLocale-C8E7B4Il.mjs → useLocale-B2BAEieU.mjs} +4 -4
- package/dist/{useLogger-pEmKLFsd.mjs → useLogger-CXKIZhks.mjs} +2 -2
- package/dist/{useNotifications-C6xFiQsD.mjs → useNotifications-Czgbh8Ns.mjs} +3 -3
- package/dist/{usePermissions-CCA_18Be.mjs → usePermissions-BkndJNpk.mjs} +2 -2
- package/dist/{useRovingFocus-D2_aApXC.mjs → useRovingFocus-Cn96TXRw.mjs} +37 -21
- package/dist/{useRules-CWWsE2Xt.mjs → useRules-NzJChxfk.mjs} +2 -2
- package/dist/{useStorage-Dd_snxwm.mjs → useStorage-D6xihSHv.mjs} +3 -3
- package/dist/{useTheme-8qFLgTvi.mjs → useTheme-BuXEQdPz.mjs} +4 -4
- package/dist/utilities/index.mjs +1 -1
- package/dist/{v0-DYG-2UmI.mjs → v0-BFMaRqAx.mjs} +1 -1
- package/dist/{v0-Bdm1oHXK.mjs → v0-eZcJPyii.mjs} +1 -1
- package/dist/{v0-BLhsLm61.mjs → v0-gU93DxmF.mjs} +1 -1
- package/package.json +1 -1
- package/dist/adapter-Cy7wXVFe.mjs +0 -4
|
@@ -1,17 +1,17 @@
|
|
|
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-B7ejLnrz.mjs";
|
|
2
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-
|
|
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-CXKIZhks.mjs";
|
|
5
|
+
import { t as createRegistry } from "./createRegistry-B8VqA-QF.mjs";
|
|
6
|
+
import { i as createModel, t as createSelection } from "./createSelection-BXd5clS0.mjs";
|
|
7
|
+
import { t as createSingle } from "./createSingle-Bdkfht_B.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-BjWJPfYS.mjs";
|
|
10
|
+
import { t as createGroup } from "./createGroup-CjUHFae5.mjs";
|
|
11
|
+
import { c as useTimer } from "./useNotifications-Czgbh8Ns.mjs";
|
|
12
12
|
import { i as createFilter } from "./createPagination-B5dfqY-a.mjs";
|
|
13
|
-
import { a as useRules, o as isStandardSchema } from "./useRules-
|
|
14
|
-
import { computed, effectScope, hasInjectionContext, isReadonly, isRef, nextTick,
|
|
13
|
+
import { a as useRules, o as isStandardSchema } from "./useRules-NzJChxfk.mjs";
|
|
14
|
+
import { computed, effectScope, hasInjectionContext, isReadonly, isRef, nextTick, onScopeDispose, ref, shallowReactive, shallowReadonly, shallowRef, toRef, toValue, watch } from "vue";
|
|
15
15
|
//#region src/composables/useClickOutside/index.ts
|
|
16
16
|
/**
|
|
17
17
|
* @module useClickOutside
|
|
@@ -2127,25 +2127,41 @@ function usePopover(options = {}) {
|
|
|
2127
2127
|
"position-anchor": anchor,
|
|
2128
2128
|
"position-try-fallbacks": positionTry
|
|
2129
2129
|
}));
|
|
2130
|
-
/* v8 ignore start -- browser popover API */
|
|
2131
2130
|
function attach(el) {
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
if (
|
|
2135
|
-
|
|
2136
|
-
|
|
2131
|
+
let current;
|
|
2132
|
+
function hide(element) {
|
|
2133
|
+
if (!IN_BROWSER || /* @__PURE__ */ isNullOrUndefined(element)) return;
|
|
2134
|
+
try {
|
|
2135
|
+
if (element.matches?.(":popover-open") === false) return;
|
|
2136
|
+
element.hidePopover?.();
|
|
2137
|
+
} catch {}
|
|
2138
|
+
}
|
|
2139
|
+
function sync() {
|
|
2140
|
+
if (!IN_BROWSER) return;
|
|
2137
2141
|
const element = toValue(el);
|
|
2138
|
-
if (
|
|
2139
|
-
|
|
2140
|
-
if (
|
|
2141
|
-
|
|
2142
|
+
if (!/* @__PURE__ */ isNullOrUndefined(current) && current !== element) hide(current);
|
|
2143
|
+
current = /* @__PURE__ */ isNullOrUndefined(element) ? void 0 : element;
|
|
2144
|
+
if (/* @__PURE__ */ isNullOrUndefined(element)) return;
|
|
2145
|
+
if (!isOpen.value) {
|
|
2146
|
+
hide(element);
|
|
2147
|
+
return;
|
|
2148
|
+
}
|
|
2149
|
+
if (!element.isConnected) return;
|
|
2150
|
+
if (element.matches?.(":popover-open")) return;
|
|
2151
|
+
element.showPopover?.();
|
|
2152
|
+
}
|
|
2153
|
+
watch([isOpen, () => toValue(el)], sync, {
|
|
2154
|
+
immediate: true,
|
|
2155
|
+
flush: "post"
|
|
2142
2156
|
});
|
|
2157
|
+
onScopeDispose(() => {
|
|
2158
|
+
hide(toValue(el) ?? current);
|
|
2159
|
+
}, true);
|
|
2143
2160
|
useEventListener(el, "toggle", (e) => {
|
|
2144
2161
|
if (!toValue(el)?.isConnected) return;
|
|
2145
2162
|
isOpen.value = e.newState === "open";
|
|
2146
2163
|
});
|
|
2147
2164
|
}
|
|
2148
|
-
/* v8 ignore stop */
|
|
2149
2165
|
return {
|
|
2150
2166
|
isOpen,
|
|
2151
2167
|
id,
|
|
@@ -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-CXKIZhks.mjs";
|
|
3
|
+
import { a as useLocale } from "./useLocale-B2BAEieU.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-B7ejLnrz.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-CXKIZhks.mjs";
|
|
4
|
+
import { r as useWindowEventListener } from "./useEventListener-BjWJPfYS.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-CXKIZhks.mjs";
|
|
3
|
+
import { t as createSingle } from "./createSingle-Bdkfht_B.mjs";
|
|
4
|
+
import { r as flatten, t as createTokens } from "./createTokens-vgyk_0vA.mjs";
|
|
5
|
+
import { t as V0StyleSheetThemeAdapter } from "./v0-BFMaRqAx.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-B7ejLnrz.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-B7ejLnrz.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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuetify/v0",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "Headless, unstyled, accessible Vue 3 primitives and composables — a meta UI framework for building applications, component libraries, and design systems",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vue",
|