@vizejs/ui 0.347.7 → 0.351.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/dist/{button-BMIqJ_M5.d.mts → button-CVX8UBXj.d.mts} +6 -7
- package/dist/{button-CaLxP2l2.mjs → button-DT8AKlds.mjs} +2 -2
- package/dist/button.d.mts +1 -1
- package/dist/button.mjs +1 -1
- package/dist/catalog.d.mts +541 -0
- package/dist/catalog.mjs +784 -0
- package/dist/{checkbox-B4y9GUen.mjs → checkbox-BgIvwjyC.mjs} +2 -2
- package/dist/{checkbox-sbhaWekB.d.mts → checkbox-DP3_ko7D.d.mts} +7 -8
- package/dist/checkbox.d.mts +1 -1
- package/dist/checkbox.mjs +1 -1
- package/dist/collection.d.mts +2 -2
- package/dist/collection.mjs +1 -1
- package/dist/composite-navigation-QINW9GLy.d.mts +115 -0
- package/dist/composite-navigation-Skx3LZsv.mjs +354 -0
- package/dist/composite-navigation.d.mts +2 -0
- package/dist/composite-navigation.mjs +2 -0
- package/dist/controllable-state.d.mts +1 -1
- package/dist/dismissable-layer-4icKahVs.d.mts +119 -0
- package/dist/dismissable-layer-CwG1gtdz.mjs +488 -0
- package/dist/dismissable-layer.d.mts +2 -0
- package/dist/dismissable-layer.mjs +2 -0
- package/dist/focus-CAWi_I-0.mjs +318 -0
- package/dist/focus-K6dOifoZ.d.mts +112 -0
- package/dist/focus-guards-Bt0C-0qS.d.mts +81 -0
- package/dist/focus-guards-DhMPQAT8.mjs +299 -0
- package/dist/focus-guards.d.mts +2 -0
- package/dist/focus-guards.mjs +2 -0
- package/dist/focus-scope-CavhKWx0.d.mts +100 -0
- package/dist/focus-scope-D9U1aj67.mjs +340 -0
- package/dist/focus-scope-dom-DBwNEWxG.mjs +264 -0
- package/dist/focus-scope.d.mts +2 -0
- package/dist/focus-scope.mjs +2 -0
- package/dist/focus.d.mts +2 -0
- package/dist/focus.mjs +2 -0
- package/dist/hover-BXwwbSaO.d.mts +80 -0
- package/dist/hover.d.mts +2 -0
- package/dist/hover.mjs +197 -0
- package/dist/{id-BSgJwErt.d.mts → id-5OAUyVPd.d.mts} +2 -3
- package/dist/{id-CPBdeoL3.mjs → id-mziSyAse.mjs} +2 -2
- package/dist/id.d.mts +2 -2
- package/dist/id.mjs +1 -1
- package/dist/index.d.mts +22 -11
- package/dist/index.mjs +21 -10
- package/dist/inert-outside-CyqtoKQ4.mjs +346 -0
- package/dist/inert-outside-tuHRmaqJ.d.mts +43 -0
- package/dist/inert-outside.d.mts +2 -0
- package/dist/inert-outside.mjs +2 -0
- package/dist/interaction-modality.d.mts +2 -2
- package/dist/interaction-modality.mjs +1 -1
- package/dist/long-press-Dsul69gk.mjs +340 -0
- package/dist/{long-press-CRjjjJK2.d.mts → long-press-cll6z2K9.d.mts} +8 -18
- package/dist/long-press.d.mts +2 -2
- package/dist/long-press.mjs +1 -245
- package/dist/media-pdf.d.mts +1 -1
- package/dist/media-pdf.mjs +1 -1
- package/dist/media.d.mts +1 -1
- package/dist/media.mjs +1 -1
- package/dist/move-BOmXDYbh.d.mts +103 -0
- package/dist/move-BVvMHzxr.mjs +386 -0
- package/dist/move.d.mts +2 -0
- package/dist/move.mjs +2 -0
- package/dist/{press-Bp57IOe2.mjs → press-N_mE3Mgx.mjs} +3 -149
- package/dist/press-event-Cd2OPpmw.mjs +149 -0
- package/dist/press.d.mts +1 -1
- package/dist/press.mjs +1 -1
- package/dist/{primitive-BE28SwD7.mjs → primitive-BX31dogp.mjs} +2 -2
- package/dist/{primitive-Bog8qvd8.d.mts → primitive-C8jW7DLd.d.mts} +3 -4
- package/dist/primitive.d.mts +1 -1
- package/dist/primitive.mjs +1 -1
- package/dist/scroll-lock-BgVtX4wT.d.mts +49 -0
- package/dist/scroll-lock-Ckbmm0-J.mjs +313 -0
- package/dist/scroll-lock.d.mts +2 -0
- package/dist/scroll-lock.mjs +2 -0
- package/dist/spatial-navigation-CHj9mDZH.d.mts +106 -0
- package/dist/spatial-navigation-D6-UDavU.mjs +301 -0
- package/dist/spatial-navigation.d.mts +2 -0
- package/dist/spatial-navigation.mjs +2 -0
- package/dist/typeahead-B7KDxE_u.mjs +175 -0
- package/dist/typeahead-BbgUB2Bj.d.mts +71 -0
- package/dist/typeahead.d.mts +2 -0
- package/dist/typeahead.mjs +2 -0
- package/dist/visually-hidden-BOqfqBFt.d.mts +17 -0
- package/dist/{visually-hidden-CTSV3ctZ.mjs → visually-hidden-BwDOx5yf.mjs} +2 -2
- package/dist/visually-hidden.d.mts +1 -1
- package/dist/visually-hidden.mjs +1 -1
- package/package.json +67 -6
- package/dist/visually-hidden-CekDwEwR.d.mts +0 -19
- /package/dist/{_plugin-vue_export-helper-BVN2DL-U.mjs → _plugin-vue_export-helper-BOaGB7Aw.mjs} +0 -0
- /package/dist/{collection-aHZ6Pf0e.d.mts → collection-B_dFZOHO.d.mts} +0 -0
- /package/dist/{collection-CoOROaho.mjs → collection-eHN150dT.mjs} +0 -0
- /package/dist/{controllable-state-B9v6FClp.d.mts → controllable-state-BtoxKahh.d.mts} +0 -0
- /package/dist/{interaction-modality-CO-eQzNy.mjs → interaction-modality-DOZK0BpZ.mjs} +0 -0
- /package/dist/{interaction-modality-tee79ZBZ.d.mts → interaction-modality-jgHKjPFB.d.mts} +0 -0
- /package/dist/{pdf-source-BbZKF_dS.d.mts → pdf-source-BYFK2Pks.d.mts} +0 -0
- /package/dist/{pdf-source-C9zNQd9l.mjs → pdf-source-zu1LkCeE.mjs} +0 -0
- /package/dist/{press-types-B8Ssxqg4.d.mts → press-types-CNqStzJf.d.mts} +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//#region src/VisuallyHidden.vue.d.ts
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
7
|
+
element: Readonly<import("vue").ShallowRef<HTMLSpanElement | null>>;
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
//#endregion
|
|
17
|
+
export { _default as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import './style.css';
|
|
2
|
-
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-BOaGB7Aw.mjs";
|
|
3
3
|
import { createElementBlock, defineComponent, openBlock, renderSlot, useTemplateRef } from "vue";
|
|
4
4
|
//#endregion
|
|
5
5
|
//#region src/VisuallyHidden.vue
|
|
6
|
-
var VisuallyHidden_default =
|
|
6
|
+
var VisuallyHidden_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "VisuallyHidden",
|
|
8
8
|
setup(__props, { expose: __expose }) {
|
|
9
9
|
const element = useTemplateRef("element");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./visually-hidden-
|
|
1
|
+
import { t as _default } from "./visually-hidden-BOqfqBFt.mjs";
|
|
2
2
|
export { _default as VisuallyHidden };
|
package/dist/visually-hidden.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as VisuallyHidden_default } from "./visually-hidden-
|
|
1
|
+
import { t as VisuallyHidden_default } from "./visually-hidden-BwDOx5yf.mjs";
|
|
2
2
|
export { VisuallyHidden_default as VisuallyHidden };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vizejs/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.351.0",
|
|
4
4
|
"description": "Accessible, headless, Native CSS-first UI primitives",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"accessibility",
|
|
@@ -49,6 +49,11 @@
|
|
|
49
49
|
"import": "./dist/collection.mjs",
|
|
50
50
|
"default": "./dist/collection.mjs"
|
|
51
51
|
},
|
|
52
|
+
"./composite-navigation": {
|
|
53
|
+
"types": "./dist/composite-navigation.d.mts",
|
|
54
|
+
"import": "./dist/composite-navigation.mjs",
|
|
55
|
+
"default": "./dist/composite-navigation.mjs"
|
|
56
|
+
},
|
|
52
57
|
"./context": {
|
|
53
58
|
"types": "./dist/context.d.mts",
|
|
54
59
|
"import": "./dist/context.mjs",
|
|
@@ -59,26 +64,81 @@
|
|
|
59
64
|
"import": "./dist/controllable-state.mjs",
|
|
60
65
|
"default": "./dist/controllable-state.mjs"
|
|
61
66
|
},
|
|
67
|
+
"./dismissable-layer": {
|
|
68
|
+
"types": "./dist/dismissable-layer.d.mts",
|
|
69
|
+
"import": "./dist/dismissable-layer.mjs",
|
|
70
|
+
"default": "./dist/dismissable-layer.mjs"
|
|
71
|
+
},
|
|
72
|
+
"./catalog": {
|
|
73
|
+
"types": "./dist/catalog.d.mts",
|
|
74
|
+
"import": "./dist/catalog.mjs",
|
|
75
|
+
"default": "./dist/catalog.mjs"
|
|
76
|
+
},
|
|
62
77
|
"./id": {
|
|
63
78
|
"types": "./dist/id.d.mts",
|
|
64
79
|
"import": "./dist/id.mjs",
|
|
65
80
|
"default": "./dist/id.mjs"
|
|
66
81
|
},
|
|
82
|
+
"./inert-outside": {
|
|
83
|
+
"types": "./dist/inert-outside.d.mts",
|
|
84
|
+
"import": "./dist/inert-outside.mjs",
|
|
85
|
+
"default": "./dist/inert-outside.mjs"
|
|
86
|
+
},
|
|
67
87
|
"./interaction-modality": {
|
|
68
88
|
"types": "./dist/interaction-modality.d.mts",
|
|
69
89
|
"import": "./dist/interaction-modality.mjs",
|
|
70
90
|
"default": "./dist/interaction-modality.mjs"
|
|
71
91
|
},
|
|
92
|
+
"./focus": {
|
|
93
|
+
"types": "./dist/focus.d.mts",
|
|
94
|
+
"import": "./dist/focus.mjs",
|
|
95
|
+
"default": "./dist/focus.mjs"
|
|
96
|
+
},
|
|
97
|
+
"./focus-scope": {
|
|
98
|
+
"types": "./dist/focus-scope.d.mts",
|
|
99
|
+
"import": "./dist/focus-scope.mjs",
|
|
100
|
+
"default": "./dist/focus-scope.mjs"
|
|
101
|
+
},
|
|
102
|
+
"./focus-guards": {
|
|
103
|
+
"types": "./dist/focus-guards.d.mts",
|
|
104
|
+
"import": "./dist/focus-guards.mjs",
|
|
105
|
+
"default": "./dist/focus-guards.mjs"
|
|
106
|
+
},
|
|
107
|
+
"./hover": {
|
|
108
|
+
"types": "./dist/hover.d.mts",
|
|
109
|
+
"import": "./dist/hover.mjs",
|
|
110
|
+
"default": "./dist/hover.mjs"
|
|
111
|
+
},
|
|
72
112
|
"./long-press": {
|
|
73
113
|
"types": "./dist/long-press.d.mts",
|
|
74
114
|
"import": "./dist/long-press.mjs",
|
|
75
115
|
"default": "./dist/long-press.mjs"
|
|
76
116
|
},
|
|
117
|
+
"./move": {
|
|
118
|
+
"types": "./dist/move.d.mts",
|
|
119
|
+
"import": "./dist/move.mjs",
|
|
120
|
+
"default": "./dist/move.mjs"
|
|
121
|
+
},
|
|
77
122
|
"./press": {
|
|
78
123
|
"types": "./dist/press.d.mts",
|
|
79
124
|
"import": "./dist/press.mjs",
|
|
80
125
|
"default": "./dist/press.mjs"
|
|
81
126
|
},
|
|
127
|
+
"./scroll-lock": {
|
|
128
|
+
"types": "./dist/scroll-lock.d.mts",
|
|
129
|
+
"import": "./dist/scroll-lock.mjs",
|
|
130
|
+
"default": "./dist/scroll-lock.mjs"
|
|
131
|
+
},
|
|
132
|
+
"./spatial-navigation": {
|
|
133
|
+
"types": "./dist/spatial-navigation.d.mts",
|
|
134
|
+
"import": "./dist/spatial-navigation.mjs",
|
|
135
|
+
"default": "./dist/spatial-navigation.mjs"
|
|
136
|
+
},
|
|
137
|
+
"./typeahead": {
|
|
138
|
+
"types": "./dist/typeahead.d.mts",
|
|
139
|
+
"import": "./dist/typeahead.mjs",
|
|
140
|
+
"default": "./dist/typeahead.mjs"
|
|
141
|
+
},
|
|
82
142
|
"./primitive": {
|
|
83
143
|
"types": "./dist/primitive.d.mts",
|
|
84
144
|
"import": "./dist/primitive.mjs",
|
|
@@ -110,16 +170,16 @@
|
|
|
110
170
|
"access": "public"
|
|
111
171
|
},
|
|
112
172
|
"devDependencies": {
|
|
113
|
-
"@tsdown/css": "0.22.
|
|
173
|
+
"@tsdown/css": "0.22.14",
|
|
114
174
|
"@types/node": "25.9.2",
|
|
115
175
|
"@vitejs/plugin-vue": "6.0.7",
|
|
116
|
-
"@vizejs/native": "0.
|
|
176
|
+
"@vizejs/native": "0.351.0",
|
|
117
177
|
"@vizejs/ui-tooling": "0.298.0",
|
|
118
178
|
"@vue/test-utils": "2.4.10",
|
|
119
|
-
"happy-dom": "20.11.
|
|
179
|
+
"happy-dom": "20.11.2",
|
|
120
180
|
"typescript": "6.0.3",
|
|
121
|
-
"vite": "npm:@voidzero-dev/vite-plus-core@0.1.
|
|
122
|
-
"vite-plus": "0.1.
|
|
181
|
+
"vite": "npm:@voidzero-dev/vite-plus-core@0.1.24",
|
|
182
|
+
"vite-plus": "0.1.24",
|
|
123
183
|
"vue": "3.5.35",
|
|
124
184
|
"vue-tsc": "3.3.4"
|
|
125
185
|
},
|
|
@@ -135,6 +195,7 @@
|
|
|
135
195
|
"lint:sfc": "vp exec node scripts/lint-sfc.ts src && vp exec node scripts/check-renderers.ts src",
|
|
136
196
|
"pretest": "vp pack && pnpm check:size && pnpm check:tree-shaking",
|
|
137
197
|
"test": "vp test run",
|
|
198
|
+
"check:catalog": "vp test run src/family-catalog.test.ts",
|
|
138
199
|
"check": "vp check src scripts vite.config.ts tsconfig.typecheck.json && vue-tsc --noEmit -p tsconfig.typecheck.json",
|
|
139
200
|
"check:fix": "vp check --fix src scripts vite.config.ts tsconfig.typecheck.json",
|
|
140
201
|
"check:size": "node scripts/check-size.mjs",
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as _$vue from "vue";
|
|
2
|
-
|
|
3
|
-
//#region src/VisuallyHidden.vue.d.ts
|
|
4
|
-
declare var __VLS_1: {};
|
|
5
|
-
type __VLS_Slots = {} & {
|
|
6
|
-
default?: (props: typeof __VLS_1) => any;
|
|
7
|
-
};
|
|
8
|
-
declare const __VLS_base: _$vue.DefineComponent<{}, {
|
|
9
|
-
element: Readonly<_$vue.ShallowRef<HTMLSpanElement | null>>;
|
|
10
|
-
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
|
|
11
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
-
declare const _default: typeof __VLS_export;
|
|
13
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
-
new (): {
|
|
15
|
-
$slots: S;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
//#endregion
|
|
19
|
-
export { _default as t };
|
/package/dist/{_plugin-vue_export-helper-BVN2DL-U.mjs → _plugin-vue_export-helper-BOaGB7Aw.mjs}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|