@vuetify/v0 0.0.22 → 0.0.23
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 +33 -26
- package/dist/browser/index.js +3591 -1911
- package/dist/components/index.d.mts +2 -2
- package/dist/components/index.mjs +5 -5
- package/dist/{components-mxRTI3xB.mjs → components-BI9xdoz5.mjs} +827 -67
- package/dist/composables/index.d.mts +2 -2
- package/dist/composables/index.mjs +4 -4
- package/dist/constants/index.mjs +1 -1
- package/dist/{globals-B0yp-n-D.mjs → globals-WKdFmgwy.mjs} +1 -1
- package/dist/{index-D3xuqKI0.d.mts → index-C8YcMooA.d.mts} +1 -1
- package/dist/{index-DF1O-1ZO.d.mts → index-_y91DmIS.d.mts} +2048 -968
- package/dist/{index-Dr-ge3ZA.d.mts → index-rcTqb9U3.d.mts} +449 -37
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +5 -5
- package/dist/json/attributes.json +898 -0
- package/dist/json/importMap.json +176 -0
- package/dist/json/tags.json +441 -0
- package/dist/json/web-types.json +2132 -0
- package/dist/{useClickOutside-bbFXLr1p.mjs → useClickOutside-B47X8X6-.mjs} +2941 -2035
- package/dist/utilities/index.d.mts +1 -1
- package/dist/utilities/index.mjs +1 -1
- package/dist/{utilities-CKvM4p7S.mjs → utilities-9i1hJnMd.mjs} +18 -4
- package/package.json +10 -4
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "../index-DYSwiS9k.mjs";
|
|
2
|
-
import { _ as isUndefined, a as genId, c as isFunction, d as isNullOrUndefined, f as isNumber, g as isSymbol, h as isString, i as debounce, l as isNaN, m as isPrimitive, n as instanceName, o as isArray, p as isObject, r as clamp, s as isBoolean, t as instanceExists, u as isNull, v as mergeDeep, y as range } from "../index-
|
|
2
|
+
import { _ as isUndefined, a as genId, c as isFunction, d as isNullOrUndefined, f as isNumber, g as isSymbol, h as isString, i as debounce, l as isNaN, m as isPrimitive, n as instanceName, o as isArray, p as isObject, r as clamp, s as isBoolean, t as instanceExists, u as isNull, v as mergeDeep, y as range } from "../index-C8YcMooA.mjs";
|
|
3
3
|
export { clamp, debounce, genId, instanceExists, instanceName, isArray, isBoolean, isFunction, isNaN, isNull, isNullOrUndefined, isNumber, isObject, isPrimitive, isString, isSymbol, isUndefined, mergeDeep, range };
|
package/dist/utilities/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { _ as isUndefined, a as genId, c as isFunction, d as isNullOrUndefined, f as isNumber, g as isSymbol, h as isString, i as debounce, l as isNaN, m as isPrimitive, n as instanceName, o as isArray, p as isObject, r as clamp, s as isBoolean, t as instanceExists, u as isNull, v as mergeDeep, y as range } from "../utilities-
|
|
1
|
+
import { _ as isUndefined, a as genId, c as isFunction, d as isNullOrUndefined, f as isNumber, g as isSymbol, h as isString, i as debounce, l as isNaN, m as isPrimitive, n as instanceName, o as isArray, p as isObject, r as clamp, s as isBoolean, t as instanceExists, u as isNull, v as mergeDeep, y as range } from "../utilities-9i1hJnMd.mjs";
|
|
2
2
|
|
|
3
3
|
export { clamp, debounce, genId, instanceExists, instanceName, isArray, isBoolean, isFunction, isNaN, isNull, isNullOrUndefined, isNumber, isObject, isPrimitive, isString, isSymbol, isUndefined, mergeDeep, range };
|
|
@@ -369,13 +369,27 @@ function debounce(fn, delay) {
|
|
|
369
369
|
|
|
370
370
|
//#endregion
|
|
371
371
|
//#region src/utilities/instance.ts
|
|
372
|
+
/**
|
|
373
|
+
* Vue 3.6+ exposes `currentInstance` for Vapor mode compatibility.
|
|
374
|
+
* `getCurrentInstance()` returns null in Vapor components by design,
|
|
375
|
+
* so we access `currentInstance` directly when available.
|
|
376
|
+
*
|
|
377
|
+
* Uses dynamic key to avoid bundler static analysis warnings.
|
|
378
|
+
*
|
|
379
|
+
* @see https://github.com/orgs/vuejs/discussions/13629
|
|
380
|
+
* @internal
|
|
381
|
+
*/
|
|
382
|
+
const INSTANCE_KEY = "currentInstance";
|
|
383
|
+
function getInstanceCompat() {
|
|
384
|
+
const vueExports = Vue;
|
|
385
|
+
if (INSTANCE_KEY in vueExports) return vueExports[INSTANCE_KEY];
|
|
386
|
+
return Vue.getCurrentInstance();
|
|
387
|
+
}
|
|
372
388
|
function instanceExists() {
|
|
373
|
-
|
|
374
|
-
return Vue.getCurrentInstance() !== null;
|
|
389
|
+
return !/* @__PURE__ */ isNull(getInstanceCompat());
|
|
375
390
|
}
|
|
376
391
|
function instanceName() {
|
|
377
|
-
|
|
378
|
-
return Vue.getCurrentInstance()?.type?.name;
|
|
392
|
+
return getInstanceCompat()?.type?.name;
|
|
379
393
|
}
|
|
380
394
|
|
|
381
395
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuetify/v0",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.23",
|
|
4
4
|
"description": "Vuetify0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/index.mjs",
|
|
@@ -20,10 +20,12 @@
|
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@vue/test-utils": "^2.4.6",
|
|
23
|
-
"tsdown": "^0.16.
|
|
23
|
+
"tsdown": "^0.16.8",
|
|
24
|
+
"tsx": "^4.21.0",
|
|
24
25
|
"typescript": "5.9.3",
|
|
25
26
|
"unplugin-vue": "^7.1.0",
|
|
26
|
-
"vue": "3.5.24"
|
|
27
|
+
"vue": "3.5.24",
|
|
28
|
+
"vue-component-meta": "^3.2.2"
|
|
27
29
|
},
|
|
28
30
|
"exports": {
|
|
29
31
|
".": "./dist/index.mjs",
|
|
@@ -35,8 +37,12 @@
|
|
|
35
37
|
"./package.json": "./package.json",
|
|
36
38
|
"./browser": "./dist/browser/index.js"
|
|
37
39
|
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"@js-temporal/polyfill": "0.5.1"
|
|
42
|
+
},
|
|
38
43
|
"scripts": {
|
|
39
|
-
"build": "tsdown",
|
|
44
|
+
"build": "tsdown && pnpm generate:web-types",
|
|
45
|
+
"generate:web-types": "tsx scripts/generate-web-types.ts",
|
|
40
46
|
"typecheck": "vue-tsc --noEmit --incremental"
|
|
41
47
|
}
|
|
42
48
|
}
|