numori-ui 0.5.0 → 0.6.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.
Files changed (45) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/README.md +9 -1
  3. package/dist/components/Avatar.js +71 -19
  4. package/dist/components/Avatar.js.map +1 -1
  5. package/dist/components/Dropdown.js +3 -1
  6. package/dist/components/Dropdown.js.map +1 -1
  7. package/dist/components/Modal.js +61 -4
  8. package/dist/components/Modal.js.map +1 -1
  9. package/dist/components/Prompt.js +11 -6
  10. package/dist/components/Prompt.js.map +1 -1
  11. package/dist/components/Select.js +1 -1
  12. package/dist/components/Select.js.map +1 -1
  13. package/dist/components/Skeleton.js +122 -0
  14. package/dist/components/Skeleton.js.map +1 -0
  15. package/dist/components/SplitPane.js +264 -0
  16. package/dist/components/SplitPane.js.map +1 -0
  17. package/dist/components/Tree.js +417 -0
  18. package/dist/components/Tree.js.map +1 -0
  19. package/dist/components/VirtualList.js +292 -0
  20. package/dist/components/VirtualList.js.map +1 -0
  21. package/dist/components/index.js +29 -22
  22. package/dist/components/index.js.map +1 -1
  23. package/dist/icons/mdi.js +2 -0
  24. package/dist/icons/mdi.js.map +1 -1
  25. package/dist/index.d.ts +4 -0
  26. package/dist/index.js +15 -11
  27. package/dist/index.js.map +1 -1
  28. package/dist/internal/focusTrap.js +163 -0
  29. package/dist/internal/focusTrap.js.map +1 -0
  30. package/dist/manifest.js +5 -1
  31. package/dist/manifest.js.map +1 -1
  32. package/package.json +1 -1
  33. package/src/components/Avatar.vue +69 -18
  34. package/src/components/Dropdown.vue +4 -1
  35. package/src/components/Modal.vue +51 -3
  36. package/src/components/Prompt.vue +14 -3
  37. package/src/components/Select.vue +1 -1
  38. package/src/components/Skeleton.vue +91 -0
  39. package/src/components/SplitPane.vue +264 -0
  40. package/src/components/Tree.vue +428 -0
  41. package/src/components/VirtualList.vue +250 -0
  42. package/src/components/index.js +12 -1
  43. package/src/icons/mdi.js +2 -0
  44. package/src/internal/focusTrap.js +185 -0
  45. package/src/manifest.js +4 -0
@@ -0,0 +1,292 @@
1
+ import { Fragment, computed, createElementBlock, normalizeStyle, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, watch } from "vue";
2
+ //#region src/components/VirtualList.vue
3
+ var _hoisted_1 = [
4
+ "role",
5
+ "aria-label",
6
+ "aria-multiselectable",
7
+ "tabindex"
8
+ ];
9
+ var _hoisted_2 = [
10
+ "role",
11
+ "aria-setsize",
12
+ "aria-posinset"
13
+ ];
14
+ var _sfc_main = {
15
+ __name: "VirtualList",
16
+ props: {
17
+ /**
18
+ * The rows to render.
19
+ * @type {Array<any>}
20
+ * @default []
21
+ */
22
+ items: {
23
+ type: Array,
24
+ default: () => []
25
+ },
26
+ /**
27
+ * Height of every row in pixels.
28
+ * @type {number}
29
+ * @default 48
30
+ */
31
+ itemHeight: {
32
+ type: Number,
33
+ default: 48
34
+ },
35
+ /**
36
+ * Property used as each row's key, or a function `(item, index) => key`.
37
+ * Falls back to the index when the property is missing.
38
+ * @type {string | Function}
39
+ * @default 'id'
40
+ */
41
+ itemKey: {
42
+ type: [String, Function],
43
+ default: "id"
44
+ },
45
+ /**
46
+ * Extra rows rendered above and below the viewport, so fast scrolling does
47
+ * not show blank space.
48
+ * @type {number}
49
+ * @default 8
50
+ */
51
+ overscan: {
52
+ type: Number,
53
+ default: 8
54
+ },
55
+ /**
56
+ * Viewport height assumed before the list has been measured (and on the
57
+ * server), in pixels.
58
+ * @type {number}
59
+ * @default 800
60
+ */
61
+ initialHeight: {
62
+ type: Number,
63
+ default: 800
64
+ },
65
+ /**
66
+ * How many rows from the bottom `end-reached` fires.
67
+ * @type {number}
68
+ * @default 5
69
+ */
70
+ endThreshold: {
71
+ type: Number,
72
+ default: 5
73
+ },
74
+ /**
75
+ * ARIA role of the scroll container. Empty for none.
76
+ * @type {string}
77
+ * @default 'list'
78
+ */
79
+ role: {
80
+ type: String,
81
+ default: "list"
82
+ },
83
+ /**
84
+ * ARIA role of each row wrapper. Empty for none.
85
+ * @type {string}
86
+ * @default 'listitem'
87
+ */
88
+ itemRole: {
89
+ type: String,
90
+ default: "listitem"
91
+ },
92
+ /**
93
+ * Accessible name for the list.
94
+ * @type {string}
95
+ * @default ''
96
+ */
97
+ label: {
98
+ type: String,
99
+ default: ""
100
+ },
101
+ /**
102
+ * With `role="listbox"`, announce that several rows can be selected.
103
+ * @type {boolean}
104
+ * @default false
105
+ */
106
+ multiselectable: {
107
+ type: Boolean,
108
+ default: false
109
+ },
110
+ /**
111
+ * Make the scroll container itself a tab stop, so keyboard users can scroll
112
+ * it. Turn off when your rows manage focus themselves.
113
+ * @type {boolean}
114
+ * @default true
115
+ */
116
+ focusable: {
117
+ type: Boolean,
118
+ default: true
119
+ }
120
+ },
121
+ emits: [
122
+ "range",
123
+ "end-reached",
124
+ "scroll"
125
+ ],
126
+ setup(__props, { expose: __expose, emit: __emit }) {
127
+ /**
128
+ * UiVirtualList — a scrolling list that renders only the rows near the
129
+ * viewport, so ten thousand items cost about as much as thirty.
130
+ *
131
+ * Rows have a fixed height (`itemHeight`). That is a deliberate restriction:
132
+ * it makes the position of every row a multiplication rather than a
133
+ * measurement, so scrolling never jumps and `scrollToIndex` is exact. Lists
134
+ * with variable-height content (an inbox with optional snippets, say) should
135
+ * pick one height per density setting.
136
+ *
137
+ * Accessibility: because most rows are not in the DOM, each rendered row
138
+ * carries `aria-setsize` and `aria-posinset`, so a screen reader still
139
+ * announces "item 412 of 9,000". The container and row roles default to
140
+ * `list` / `listitem`; for a selectable list set `role="listbox"` and
141
+ * `item-role="option"`, and put `aria-selected` on your row content's root via
142
+ * the slot (or pass `item-role=""` and supply roles yourself).
143
+ *
144
+ * Keyboard navigation between rows is the caller's job — what Up and Down mean
145
+ * differs between a picker and an inbox — but `scrollToIndex()` is exposed so
146
+ * the active row can be kept in view.
147
+ *
148
+ * @example
149
+ * <UiVirtualList :items="messages" :item-height="72" label="Messages" @end-reached="loadMore">
150
+ * <template #default="{ item }"><MessageRow :message="item" /></template>
151
+ * <template #empty><UiEmptyState title="Nothing here" /></template>
152
+ * </UiVirtualList>
153
+ *
154
+ * @emits {{ start: number, end: number }} range — The rendered index range changed
155
+ * (end exclusive). Useful for prefetching what is about to be seen.
156
+ * @emits {void} end-reached — Scrolled within `endThreshold` rows of the bottom.
157
+ * @emits {Event} scroll — The list scrolled.
158
+ *
159
+ * @slot default — One row. Scope: `{ item, index }`.
160
+ * @slot empty — Shown when `items` is empty.
161
+ */
162
+ const props = __props;
163
+ const emit = __emit;
164
+ const scrollerRef = ref(null);
165
+ const scrollTop = ref(0);
166
+ const viewport = ref(props.initialHeight);
167
+ const totalHeight = computed(() => props.items.length * props.itemHeight);
168
+ const range = computed(() => {
169
+ const first = Math.floor(scrollTop.value / props.itemHeight);
170
+ const visible = Math.ceil(viewport.value / props.itemHeight) + 1;
171
+ return {
172
+ start: Math.max(0, first - props.overscan),
173
+ end: Math.min(props.items.length, first + visible + props.overscan)
174
+ };
175
+ });
176
+ const keyOf = (item, index) => {
177
+ if (typeof props.itemKey === "function") return props.itemKey(item, index);
178
+ return (item && typeof item === "object" ? item[props.itemKey] : void 0) ?? index;
179
+ };
180
+ const visibleRows = computed(() => {
181
+ const rows = [];
182
+ for (let index = range.value.start; index < range.value.end; index++) {
183
+ const item = props.items[index];
184
+ rows.push({
185
+ item,
186
+ index,
187
+ key: keyOf(item, index)
188
+ });
189
+ }
190
+ return rows;
191
+ });
192
+ watch(range, (next, previous) => {
193
+ if (previous && next.start === previous.start && next.end === previous.end) return;
194
+ emit("range", { ...next });
195
+ });
196
+ let endArmed = true;
197
+ const checkEnd = () => {
198
+ if (props.items.length - Math.ceil((scrollTop.value + viewport.value) / props.itemHeight) <= props.endThreshold) {
199
+ if (endArmed && props.items.length > 0) {
200
+ endArmed = false;
201
+ emit("end-reached");
202
+ }
203
+ } else endArmed = true;
204
+ };
205
+ watch(() => props.items.length, () => {
206
+ endArmed = true;
207
+ checkEnd();
208
+ });
209
+ function onScroll(event) {
210
+ scrollTop.value = event.target.scrollTop;
211
+ checkEnd();
212
+ emit("scroll", event);
213
+ }
214
+ /**
215
+ * Scroll so the row at `index` is visible.
216
+ *
217
+ * @param {number} index
218
+ * @param {'auto' | 'start' | 'center' | 'end'} [align='auto'] `auto` scrolls
219
+ * only as far as needed, and not at all if the row is already in view.
220
+ */
221
+ function scrollToIndex(index, align = "auto") {
222
+ const el = scrollerRef.value;
223
+ if (!el || index < 0 || index >= props.items.length) return;
224
+ const top = index * props.itemHeight;
225
+ const bottom = top + props.itemHeight;
226
+ const view = el.clientHeight;
227
+ let target = null;
228
+ if (align === "start") target = top;
229
+ else if (align === "end") target = bottom - view;
230
+ else if (align === "center") target = top - (view - props.itemHeight) / 2;
231
+ else if (top < el.scrollTop) target = top;
232
+ else if (bottom > el.scrollTop + view) target = bottom - view;
233
+ if (target === null) return;
234
+ el.scrollTop = Math.max(0, target);
235
+ scrollTop.value = el.scrollTop;
236
+ }
237
+ __expose({
238
+ scrollToIndex,
239
+ scrollerRef
240
+ });
241
+ let observer = null;
242
+ onMounted(() => {
243
+ const el = scrollerRef.value;
244
+ if (!el) return;
245
+ const measure = () => {
246
+ viewport.value = el.clientHeight || props.initialHeight;
247
+ checkEnd();
248
+ };
249
+ measure();
250
+ if (typeof ResizeObserver !== "undefined") {
251
+ observer = new ResizeObserver(measure);
252
+ observer.observe(el);
253
+ }
254
+ });
255
+ onBeforeUnmount(() => observer?.disconnect());
256
+ return (_ctx, _cache) => {
257
+ return openBlock(), createElementBlock("div", {
258
+ ref_key: "scrollerRef",
259
+ ref: scrollerRef,
260
+ class: "relative min-h-0 overflow-y-auto overscroll-contain focus-visible:outline-none",
261
+ role: __props.role || void 0,
262
+ "aria-label": __props.label || void 0,
263
+ "aria-multiselectable": __props.role === "listbox" && __props.multiselectable ? "true" : void 0,
264
+ tabindex: __props.focusable ? 0 : void 0,
265
+ onScrollPassive: onScroll
266
+ }, [__props.items.length === 0 ? renderSlot(_ctx.$slots, "empty", {}, void 0, void 0, 0) : (openBlock(), createElementBlock("div", {
267
+ key: 1,
268
+ class: "relative w-full",
269
+ style: normalizeStyle({ height: `${totalHeight.value}px` })
270
+ }, [(openBlock(true), createElementBlock(Fragment, null, renderList(visibleRows.value, (row) => {
271
+ return openBlock(), createElementBlock("div", {
272
+ key: row.key,
273
+ role: __props.itemRole || void 0,
274
+ "aria-setsize": __props.items.length,
275
+ "aria-posinset": row.index + 1,
276
+ class: "absolute inset-x-0",
277
+ style: normalizeStyle({
278
+ top: `${row.index * __props.itemHeight}px`,
279
+ height: `${__props.itemHeight}px`
280
+ })
281
+ }, [renderSlot(_ctx.$slots, "default", {
282
+ item: row.item,
283
+ index: row.index
284
+ })], 12, _hoisted_2);
285
+ }), 128))], 4))], 40, _hoisted_1);
286
+ };
287
+ }
288
+ };
289
+ //#endregion
290
+ export { _sfc_main as default };
291
+
292
+ //# sourceMappingURL=VirtualList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VirtualList.js","names":[],"sources":["../../src/components/VirtualList.vue"],"sourcesContent":["<template>\n <div\n ref=\"scrollerRef\"\n class=\"relative min-h-0 overflow-y-auto overscroll-contain focus-visible:outline-none\"\n :role=\"role || undefined\"\n :aria-label=\"label || undefined\"\n :aria-multiselectable=\"role === 'listbox' && multiselectable ? 'true' : undefined\"\n :tabindex=\"focusable ? 0 : undefined\"\n @scroll.passive=\"onScroll\"\n >\n <slot v-if=\"items.length === 0\" name=\"empty\" />\n <!-- One spacer as tall as the whole list keeps the scrollbar honest; only\n the rows near the viewport are rendered inside it. -->\n <div v-else class=\"relative w-full\" :style=\"{ height: `${totalHeight}px` }\">\n <div\n v-for=\"row in visibleRows\"\n :key=\"row.key\"\n :role=\"itemRole || undefined\"\n :aria-setsize=\"items.length\"\n :aria-posinset=\"row.index + 1\"\n class=\"absolute inset-x-0\"\n :style=\"{ top: `${row.index * itemHeight}px`, height: `${itemHeight}px` }\"\n >\n <slot :item=\"row.item\" :index=\"row.index\" />\n </div>\n </div>\n </div>\n</template>\n\n<script setup>\n/**\n * UiVirtualList — a scrolling list that renders only the rows near the\n * viewport, so ten thousand items cost about as much as thirty.\n *\n * Rows have a fixed height (`itemHeight`). That is a deliberate restriction:\n * it makes the position of every row a multiplication rather than a\n * measurement, so scrolling never jumps and `scrollToIndex` is exact. Lists\n * with variable-height content (an inbox with optional snippets, say) should\n * pick one height per density setting.\n *\n * Accessibility: because most rows are not in the DOM, each rendered row\n * carries `aria-setsize` and `aria-posinset`, so a screen reader still\n * announces \"item 412 of 9,000\". The container and row roles default to\n * `list` / `listitem`; for a selectable list set `role=\"listbox\"` and\n * `item-role=\"option\"`, and put `aria-selected` on your row content's root via\n * the slot (or pass `item-role=\"\"` and supply roles yourself).\n *\n * Keyboard navigation between rows is the caller's job — what Up and Down mean\n * differs between a picker and an inbox — but `scrollToIndex()` is exposed so\n * the active row can be kept in view.\n *\n * @example\n * <UiVirtualList :items=\"messages\" :item-height=\"72\" label=\"Messages\" @end-reached=\"loadMore\">\n * <template #default=\"{ item }\"><MessageRow :message=\"item\" /></template>\n * <template #empty><UiEmptyState title=\"Nothing here\" /></template>\n * </UiVirtualList>\n *\n * @emits {{ start: number, end: number }} range — The rendered index range changed\n * (end exclusive). Useful for prefetching what is about to be seen.\n * @emits {void} end-reached — Scrolled within `endThreshold` rows of the bottom.\n * @emits {Event} scroll — The list scrolled.\n *\n * @slot default — One row. Scope: `{ item, index }`.\n * @slot empty — Shown when `items` is empty.\n */\nimport { computed, onBeforeUnmount, onMounted, ref, watch } from 'vue'\n\nconst props = defineProps({\n /**\n * The rows to render.\n * @type {Array<any>}\n * @default []\n */\n items: { type: Array, default: () => [] },\n /**\n * Height of every row in pixels.\n * @type {number}\n * @default 48\n */\n itemHeight: { type: Number, default: 48 },\n /**\n * Property used as each row's key, or a function `(item, index) => key`.\n * Falls back to the index when the property is missing.\n * @type {string | Function}\n * @default 'id'\n */\n itemKey: { type: [String, Function], default: 'id' },\n /**\n * Extra rows rendered above and below the viewport, so fast scrolling does\n * not show blank space.\n * @type {number}\n * @default 8\n */\n overscan: { type: Number, default: 8 },\n /**\n * Viewport height assumed before the list has been measured (and on the\n * server), in pixels.\n * @type {number}\n * @default 800\n */\n initialHeight: { type: Number, default: 800 },\n /**\n * How many rows from the bottom `end-reached` fires.\n * @type {number}\n * @default 5\n */\n endThreshold: { type: Number, default: 5 },\n /**\n * ARIA role of the scroll container. Empty for none.\n * @type {string}\n * @default 'list'\n */\n role: { type: String, default: 'list' },\n /**\n * ARIA role of each row wrapper. Empty for none.\n * @type {string}\n * @default 'listitem'\n */\n itemRole: { type: String, default: 'listitem' },\n /**\n * Accessible name for the list.\n * @type {string}\n * @default ''\n */\n label: { type: String, default: '' },\n /**\n * With `role=\"listbox\"`, announce that several rows can be selected.\n * @type {boolean}\n * @default false\n */\n multiselectable: { type: Boolean, default: false },\n /**\n * Make the scroll container itself a tab stop, so keyboard users can scroll\n * it. Turn off when your rows manage focus themselves.\n * @type {boolean}\n * @default true\n */\n focusable: { type: Boolean, default: true },\n})\n\nconst emit = defineEmits(['range', 'end-reached', 'scroll'])\n\nconst scrollerRef = ref(null)\nconst scrollTop = ref(0)\nconst viewport = ref(props.initialHeight)\n\nconst totalHeight = computed(() => props.items.length * props.itemHeight)\n\nconst range = computed(() => {\n const first = Math.floor(scrollTop.value / props.itemHeight)\n const visible = Math.ceil(viewport.value / props.itemHeight) + 1\n const start = Math.max(0, first - props.overscan)\n const end = Math.min(props.items.length, first + visible + props.overscan)\n return { start, end }\n})\n\nconst keyOf = (item, index) => {\n if (typeof props.itemKey === 'function') return props.itemKey(item, index)\n const key = item && typeof item === 'object' ? item[props.itemKey] : undefined\n return key ?? index\n}\n\nconst visibleRows = computed(() => {\n const rows = []\n for (let index = range.value.start; index < range.value.end; index++) {\n const item = props.items[index]\n rows.push({ item, index, key: keyOf(item, index) })\n }\n return rows\n})\n\nwatch(range, (next, previous) => {\n if (previous && next.start === previous.start && next.end === previous.end) return\n emit('range', { ...next })\n})\n\n// ── End detection ──\n// Fires once per arrival at the bottom; scrolling away and back re-arms it.\nlet endArmed = true\nconst checkEnd = () => {\n const remaining =\n props.items.length - Math.ceil((scrollTop.value + viewport.value) / props.itemHeight)\n if (remaining <= props.endThreshold) {\n if (endArmed && props.items.length > 0) {\n endArmed = false\n emit('end-reached')\n }\n } else {\n endArmed = true\n }\n}\n\n// New items arriving (a page loaded) re-arms the trigger.\nwatch(\n () => props.items.length,\n () => {\n endArmed = true\n checkEnd()\n },\n)\n\nfunction onScroll(event) {\n scrollTop.value = event.target.scrollTop\n checkEnd()\n emit('scroll', event)\n}\n\n/**\n * Scroll so the row at `index` is visible.\n *\n * @param {number} index\n * @param {'auto' | 'start' | 'center' | 'end'} [align='auto'] `auto` scrolls\n * only as far as needed, and not at all if the row is already in view.\n */\nfunction scrollToIndex(index, align = 'auto') {\n const el = scrollerRef.value\n if (!el || index < 0 || index >= props.items.length) return\n const top = index * props.itemHeight\n const bottom = top + props.itemHeight\n const view = el.clientHeight\n let target = null\n if (align === 'start') target = top\n else if (align === 'end') target = bottom - view\n else if (align === 'center') target = top - (view - props.itemHeight) / 2\n else if (top < el.scrollTop) target = top\n else if (bottom > el.scrollTop + view) target = bottom - view\n if (target === null) return\n el.scrollTop = Math.max(0, target)\n scrollTop.value = el.scrollTop\n}\n\ndefineExpose({ scrollToIndex, scrollerRef })\n\n// ── Measure the viewport ──\nlet observer = null\nonMounted(() => {\n const el = scrollerRef.value\n if (!el) return\n const measure = () => {\n viewport.value = el.clientHeight || props.initialHeight\n checkEnd()\n }\n measure()\n if (typeof ResizeObserver !== 'undefined') {\n observer = new ResizeObserver(measure)\n observer.observe(el)\n }\n})\nonBeforeUnmount(() => observer?.disconnect())\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmEA,MAAM,QAAQ;EAyEd,MAAM,OAAO;EAEb,MAAM,cAAc,IAAI,IAAI;EAC5B,MAAM,YAAY,IAAI,CAAC;EACvB,MAAM,WAAW,IAAI,MAAM,aAAa;EAExC,MAAM,cAAc,eAAe,MAAM,MAAM,SAAS,MAAM,UAAU;EAExE,MAAM,QAAQ,eAAe;GAC3B,MAAM,QAAQ,KAAK,MAAM,UAAU,QAAQ,MAAM,UAAU;GAC3D,MAAM,UAAU,KAAK,KAAK,SAAS,QAAQ,MAAM,UAAU,IAAI;GAG/D,OAAO;IAAE,OAFK,KAAK,IAAI,GAAG,QAAQ,MAAM,QAE3B;IAAG,KADJ,KAAK,IAAI,MAAM,MAAM,QAAQ,QAAQ,UAAU,MAAM,QAC/C;GAAE;EACtB,CAAC;EAED,MAAM,SAAS,MAAM,UAAU;GAC7B,IAAI,OAAO,MAAM,YAAY,YAAY,OAAO,MAAM,QAAQ,MAAM,KAAK;GAEzE,QADY,QAAQ,OAAO,SAAS,WAAW,KAAK,MAAM,WAAW,KAAA,MACvD;EAChB;EAEA,MAAM,cAAc,eAAe;GACjC,MAAM,OAAO,CAAC;GACd,KAAK,IAAI,QAAQ,MAAM,MAAM,OAAO,QAAQ,MAAM,MAAM,KAAK,SAAS;IACpE,MAAM,OAAO,MAAM,MAAM;IACzB,KAAK,KAAK;KAAE;KAAM;KAAO,KAAK,MAAM,MAAM,KAAK;IAAE,CAAC;GACpD;GACA,OAAO;EACT,CAAC;EAED,MAAM,QAAQ,MAAM,aAAa;GAC/B,IAAI,YAAY,KAAK,UAAU,SAAS,SAAS,KAAK,QAAQ,SAAS,KAAK;GAC5E,KAAK,SAAS,EAAE,GAAG,KAAK,CAAC;EAC3B,CAAC;EAID,IAAI,WAAW;EACf,MAAM,iBAAiB;GAGrB,IADE,MAAM,MAAM,SAAS,KAAK,MAAM,UAAU,QAAQ,SAAS,SAAS,MAAM,UAAU,KACrE,MAAM,cACjB;QAAA,YAAY,MAAM,MAAM,SAAS,GAAG;KACtC,WAAW;KACX,KAAK,aAAa;IACpB;UAEA,WAAW;EAEf;EAGA,YACQ,MAAM,MAAM,cACZ;GACJ,WAAW;GACX,SAAS;EACX,CACF;EAEA,SAAS,SAAS,OAAO;GACvB,UAAU,QAAQ,MAAM,OAAO;GAC/B,SAAS;GACT,KAAK,UAAU,KAAK;EACtB;;;;;;;;EASA,SAAS,cAAc,OAAO,QAAQ,QAAQ;GAC5C,MAAM,KAAK,YAAY;GACvB,IAAI,CAAC,MAAM,QAAQ,KAAK,SAAS,MAAM,MAAM,QAAQ;GACrD,MAAM,MAAM,QAAQ,MAAM;GAC1B,MAAM,SAAS,MAAM,MAAM;GAC3B,MAAM,OAAO,GAAG;GAChB,IAAI,SAAS;GACb,IAAI,UAAU,SAAS,SAAS;QAC3B,IAAI,UAAU,OAAO,SAAS,SAAS;QACvC,IAAI,UAAU,UAAU,SAAS,OAAO,OAAO,MAAM,cAAc;QACnE,IAAI,MAAM,GAAG,WAAW,SAAS;QACjC,IAAI,SAAS,GAAG,YAAY,MAAM,SAAS,SAAS;GACzD,IAAI,WAAW,MAAM;GACrB,GAAG,YAAY,KAAK,IAAI,GAAG,MAAM;GACjC,UAAU,QAAQ,GAAG;EACvB;EAEA,SAAa;GAAE;GAAe;EAAY,CAAC;EAG3C,IAAI,WAAW;EACf,gBAAgB;GACd,MAAM,KAAK,YAAY;GACvB,IAAI,CAAC,IAAI;GACT,MAAM,gBAAgB;IACpB,SAAS,QAAQ,GAAG,gBAAgB,MAAM;IAC1C,SAAS;GACX;GACA,QAAQ;GACR,IAAI,OAAO,mBAAmB,aAAa;IACzC,WAAW,IAAI,eAAe,OAAO;IACrC,SAAS,QAAQ,EAAE;GACrB;EACF,CAAC;EACD,sBAAsB,UAAU,WAAW,CAAC;;GAvP1C,OAAA,UAAA,GAAA,mBAyBM,OAAA;IAxBA,SAAA;IAAJ,KAAI;IACJ,OAAM;IACL,MAAM,QAAA,QAAQ,KAAA;IACd,cAAY,QAAA,SAAS,KAAA;IACrB,wBAAsB,QAAA,SAAI,aAAkB,QAAA,kBAAe,SAAY,KAAA;IACvE,UAAU,QAAA,YAAS,IAAO,KAAA;IACV,iBAAA;GAEL,GAAA,CAAA,QAAA,MAAM,WAAM,IAAxB,WAA+C,KAAA,QAAA,SAAA,CAAA,GAAA,KAAA,GAAA,KAAA,GAAA,CAAA,KAG/C,UAAA,GAAA,mBAYM,OAAA;;IAZM,OAAM;IAAmB,OAAK,eAAA,EAAA,QAAA,GAAe,YAAA,MAAW,IAAA,CAAA;GAClE,GAAA,EAAA,UAAA,IAAA,GAAA,mBAUM,UAAA,MAAA,WATU,YAAA,QAAP,QAAG;IADZ,OAAA,UAAA,GAAA,mBAUM,OAAA;KARH,KAAK,IAAI;KACT,MAAM,QAAA,YAAY,KAAA;KAClB,gBAAc,QAAA,MAAM;KACpB,iBAAe,IAAI,QAAK;KACzB,OAAM;KACL,OAAK,eAAA;MAAA,KAAA,GAAY,IAAI,QAAQ,QAAA,WAAU;MAAA,QAAA,GAAiB,QAAA,WAAU;KAAA,CAAA;IAEnE,GAAA,CAAA,WAA4C,KAAA,QAAA,WAAA;KAArC,MAAM,IAAI;KAAO,OAAO,IAAI"}
@@ -38,16 +38,20 @@ import _sfc_main$36 from "./Select.js";
38
38
  import _sfc_main$37 from "./Sidebar.js";
39
39
  import _sfc_main$38 from "./SidebarGroup.js";
40
40
  import _sfc_main$39 from "./SidebarItem.js";
41
- import _sfc_main$40 from "./Slider.js";
42
- import _sfc_main$41 from "./Spinner.js";
43
- import _sfc_main$42 from "./StatCard.js";
44
- import _sfc_main$43 from "./Stepper.js";
45
- import _sfc_main$44 from "./Table.js";
46
- import _sfc_main$45 from "./Tabs.js";
47
- import _sfc_main$46 from "./ThemeToggle.js";
48
- import _sfc_main$47 from "./Toast.js";
49
- import _sfc_main$48 from "./Toggle.js";
50
- import _sfc_main$49 from "./Tooltip.js";
41
+ import _sfc_main$40 from "./Skeleton.js";
42
+ import _sfc_main$41 from "./Slider.js";
43
+ import _sfc_main$42 from "./Spinner.js";
44
+ import _sfc_main$43 from "./SplitPane.js";
45
+ import _sfc_main$44 from "./StatCard.js";
46
+ import _sfc_main$45 from "./Stepper.js";
47
+ import _sfc_main$46 from "./Table.js";
48
+ import _sfc_main$47 from "./Tabs.js";
49
+ import _sfc_main$48 from "./ThemeToggle.js";
50
+ import _sfc_main$49 from "./Toast.js";
51
+ import _sfc_main$50 from "./Toggle.js";
52
+ import _sfc_main$51 from "./Tooltip.js";
53
+ import _sfc_main$52 from "./Tree.js";
54
+ import _sfc_main$53 from "./VirtualList.js";
51
55
  //#region src/components/index.js
52
56
  /**
53
57
  * Real component imports, re-exported under the default `Ui` prefix.
@@ -100,19 +104,22 @@ var components = {
100
104
  Sidebar: _sfc_main$37,
101
105
  SidebarGroup: _sfc_main$38,
102
106
  SidebarItem: _sfc_main$39,
103
- Slider: _sfc_main$40,
104
- Spinner: _sfc_main$41,
105
- StatCard: _sfc_main$42,
106
- Stepper: _sfc_main$43,
107
- Table: _sfc_main$44,
108
- Tabs: _sfc_main$45,
109
- ThemeToggle: _sfc_main$46,
110
- Toast: _sfc_main$47,
111
- Toggle: _sfc_main$48,
112
- Tooltip: _sfc_main$49,
113
- Icon: _sfc_main
107
+ Skeleton: _sfc_main$40,
108
+ Slider: _sfc_main$41,
109
+ Spinner: _sfc_main$42,
110
+ SplitPane: _sfc_main$43,
111
+ StatCard: _sfc_main$44,
112
+ Stepper: _sfc_main$45,
113
+ Table: _sfc_main$46,
114
+ Tabs: _sfc_main$47,
115
+ ThemeToggle: _sfc_main$48,
116
+ Toast: _sfc_main$49,
117
+ Toggle: _sfc_main$50,
118
+ Tooltip: _sfc_main$51,
119
+ Tree: _sfc_main$52,
120
+ VirtualList: _sfc_main$53
114
121
  };
115
122
  //#endregion
116
- export { _sfc_main$1 as UiAlert, _sfc_main$2 as UiAppShell, _sfc_main$3 as UiAvatar, _sfc_main$4 as UiBadge, _sfc_main$5 as UiBanner, _sfc_main$6 as UiBreadcrumb, _sfc_main$7 as UiButton, _sfc_main$8 as UiCard, _sfc_main$9 as UiCheckbox, _sfc_main$10 as UiCodeBlock, _sfc_main$11 as UiCopyField, _sfc_main$12 as UiDescriptionList, _sfc_main$13 as UiDivider, _sfc_main$14 as UiDropdown, _sfc_main$15 as UiDropdownItem, _sfc_main$16 as UiDropdownRow, _sfc_main$17 as UiDropdownSubmenu, _sfc_main$18 as UiEmptyState, _sfc_main$19 as UiFileInput, _sfc_main$20 as UiFormField, _sfc_main as UiIcon, _sfc_main$21 as UiIconTile, _sfc_main$22 as UiInput, _sfc_main$23 as UiKbd, _sfc_main$24 as UiListMenu, _sfc_main$25 as UiListMenuItem, _sfc_main$26 as UiModal, _sfc_main$27 as UiNumpad, _sfc_main$28 as UiPageHeader, _sfc_main$29 as UiPagination, _sfc_main$30 as UiPopup, _sfc_main$31 as UiProgressBar, _sfc_main$32 as UiPrompt, _sfc_main$33 as UiRadio, _sfc_main$34 as UiSectionHeading, _sfc_main$35 as UiSegmented, _sfc_main$36 as UiSelect, _sfc_main$37 as UiSidebar, _sfc_main$38 as UiSidebarGroup, _sfc_main$39 as UiSidebarItem, _sfc_main$40 as UiSlider, _sfc_main$41 as UiSpinner, _sfc_main$42 as UiStatCard, _sfc_main$43 as UiStepper, _sfc_main$44 as UiTable, _sfc_main$45 as UiTabs, _sfc_main$46 as UiThemeToggle, _sfc_main$47 as UiToast, _sfc_main$48 as UiToggle, _sfc_main$49 as UiTooltip, components };
123
+ export { _sfc_main$1 as UiAlert, _sfc_main$2 as UiAppShell, _sfc_main$3 as UiAvatar, _sfc_main$4 as UiBadge, _sfc_main$5 as UiBanner, _sfc_main$6 as UiBreadcrumb, _sfc_main$7 as UiButton, _sfc_main$8 as UiCard, _sfc_main$9 as UiCheckbox, _sfc_main$10 as UiCodeBlock, _sfc_main$11 as UiCopyField, _sfc_main$12 as UiDescriptionList, _sfc_main$13 as UiDivider, _sfc_main$14 as UiDropdown, _sfc_main$15 as UiDropdownItem, _sfc_main$16 as UiDropdownRow, _sfc_main$17 as UiDropdownSubmenu, _sfc_main$18 as UiEmptyState, _sfc_main$19 as UiFileInput, _sfc_main$20 as UiFormField, _sfc_main as UiIcon, _sfc_main$21 as UiIconTile, _sfc_main$22 as UiInput, _sfc_main$23 as UiKbd, _sfc_main$24 as UiListMenu, _sfc_main$25 as UiListMenuItem, _sfc_main$26 as UiModal, _sfc_main$27 as UiNumpad, _sfc_main$28 as UiPageHeader, _sfc_main$29 as UiPagination, _sfc_main$30 as UiPopup, _sfc_main$31 as UiProgressBar, _sfc_main$32 as UiPrompt, _sfc_main$33 as UiRadio, _sfc_main$34 as UiSectionHeading, _sfc_main$35 as UiSegmented, _sfc_main$36 as UiSelect, _sfc_main$37 as UiSidebar, _sfc_main$38 as UiSidebarGroup, _sfc_main$39 as UiSidebarItem, _sfc_main$40 as UiSkeleton, _sfc_main$41 as UiSlider, _sfc_main$42 as UiSpinner, _sfc_main$43 as UiSplitPane, _sfc_main$44 as UiStatCard, _sfc_main$45 as UiStepper, _sfc_main$46 as UiTable, _sfc_main$47 as UiTabs, _sfc_main$48 as UiThemeToggle, _sfc_main$49 as UiToast, _sfc_main$50 as UiToggle, _sfc_main$51 as UiTooltip, _sfc_main$52 as UiTree, _sfc_main$53 as UiVirtualList, components };
117
124
 
118
125
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/components/index.js"],"sourcesContent":["/**\n * Real component imports, re-exported under the default `Ui` prefix.\n *\n * The prefix is baked into the export names so that `import { UiButton }`\n * reads the same as `<UiButton>` in a template. Consumers who register the\n * library with a different prefix still import these names — only the\n * globally registered tag changes.\n *\n * `../manifest.js` carries the same list as plain data for build-time\n * consumers; `scripts/verify.mjs` keeps the two in sync.\n */\nimport Alert from './Alert.vue'\nimport AppShell from './AppShell.vue'\nimport Avatar from './Avatar.vue'\nimport Badge from './Badge.vue'\nimport Banner from './Banner.vue'\nimport Breadcrumb from './Breadcrumb.vue'\nimport Button from './Button.vue'\nimport Card from './Card.vue'\nimport Checkbox from './Checkbox.vue'\nimport CodeBlock from './CodeBlock.vue'\nimport CopyField from './CopyField.vue'\nimport DescriptionList from './DescriptionList.vue'\nimport Divider from './Divider.vue'\nimport Dropdown from './Dropdown.vue'\nimport DropdownItem from './DropdownItem.vue'\nimport DropdownRow from './DropdownRow.vue'\nimport DropdownSubmenu from './DropdownSubmenu.vue'\nimport EmptyState from './EmptyState.vue'\nimport FileInput from './FileInput.vue'\nimport FormField from './FormField.vue'\nimport IconTile from './IconTile.vue'\nimport Input from './Input.vue'\nimport Kbd from './Kbd.vue'\nimport ListMenu from './ListMenu.vue'\nimport ListMenuItem from './ListMenuItem.vue'\nimport Modal from './Modal.vue'\nimport Numpad from './Numpad.vue'\nimport PageHeader from './PageHeader.vue'\nimport Pagination from './Pagination.vue'\nimport Popup from './Popup.vue'\nimport ProgressBar from './ProgressBar.vue'\nimport Prompt from './Prompt.vue'\nimport Radio from './Radio.vue'\nimport SectionHeading from './SectionHeading.vue'\nimport Segmented from './Segmented.vue'\nimport Select from './Select.vue'\nimport Sidebar from './Sidebar.vue'\nimport SidebarGroup from './SidebarGroup.vue'\nimport SidebarItem from './SidebarItem.vue'\nimport Slider from './Slider.vue'\nimport Spinner from './Spinner.vue'\nimport StatCard from './StatCard.vue'\nimport Stepper from './Stepper.vue'\nimport Table from './Table.vue'\nimport Tabs from './Tabs.vue'\nimport ThemeToggle from './ThemeToggle.vue'\nimport Toast from './Toast.vue'\nimport Toggle from './Toggle.vue'\nimport Tooltip from './Tooltip.vue'\nimport Icon from '../icons/Icon.vue'\n\nexport {\n Alert as UiAlert,\n AppShell as UiAppShell,\n Avatar as UiAvatar,\n Badge as UiBadge,\n Banner as UiBanner,\n Breadcrumb as UiBreadcrumb,\n Button as UiButton,\n Card as UiCard,\n Checkbox as UiCheckbox,\n CodeBlock as UiCodeBlock,\n CopyField as UiCopyField,\n DescriptionList as UiDescriptionList,\n Divider as UiDivider,\n Dropdown as UiDropdown,\n DropdownItem as UiDropdownItem,\n DropdownRow as UiDropdownRow,\n DropdownSubmenu as UiDropdownSubmenu,\n EmptyState as UiEmptyState,\n FileInput as UiFileInput,\n FormField as UiFormField,\n IconTile as UiIconTile,\n Input as UiInput,\n Kbd as UiKbd,\n ListMenu as UiListMenu,\n ListMenuItem as UiListMenuItem,\n Modal as UiModal,\n Numpad as UiNumpad,\n PageHeader as UiPageHeader,\n Pagination as UiPagination,\n Popup as UiPopup,\n ProgressBar as UiProgressBar,\n Prompt as UiPrompt,\n Radio as UiRadio,\n SectionHeading as UiSectionHeading,\n Segmented as UiSegmented,\n Select as UiSelect,\n Sidebar as UiSidebar,\n SidebarGroup as UiSidebarGroup,\n SidebarItem as UiSidebarItem,\n Slider as UiSlider,\n Spinner as UiSpinner,\n StatCard as UiStatCard,\n Stepper as UiStepper,\n Table as UiTable,\n Tabs as UiTabs,\n ThemeToggle as UiThemeToggle,\n Toast as UiToast,\n Toggle as UiToggle,\n Tooltip as UiTooltip,\n Icon as UiIcon,\n}\n\nexport const components = {\n Alert,\n AppShell,\n Avatar,\n Badge,\n Banner,\n Breadcrumb,\n Button,\n Card,\n Checkbox,\n CodeBlock,\n CopyField,\n DescriptionList,\n Divider,\n Dropdown,\n DropdownItem,\n DropdownRow,\n DropdownSubmenu,\n EmptyState,\n FileInput,\n FormField,\n IconTile,\n Input,\n Kbd,\n ListMenu,\n ListMenuItem,\n Modal,\n Numpad,\n PageHeader,\n Pagination,\n Popup,\n ProgressBar,\n Prompt,\n Radio,\n SectionHeading,\n Segmented,\n Select,\n Sidebar,\n SidebarGroup,\n SidebarItem,\n Slider,\n Spinner,\n StatCard,\n Stepper,\n Table,\n Tabs,\n ThemeToggle,\n Toast,\n Toggle,\n Tooltip,\n Icon,\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmHA,IAAa,aAAa;CACxB,OAAA;CACA,UAAA;CACA,QAAA;CACA,OAAA;CACA,QAAA;CACA,YAAA;CACA,QAAA;CACA,MAAA;CACA,UAAA;CACA,WAAA;CACA,WAAA;CACA,iBAAA;CACA,SAAA;CACA,UAAA;CACA,cAAA;CACA,aAAA;CACA,iBAAA;CACA,YAAA;CACA,WAAA;CACA,WAAA;CACA,UAAA;CACA,OAAA;CACA,KAAA;CACA,UAAA;CACA,cAAA;CACA,OAAA;CACA,QAAA;CACA,YAAA;CACA,YAAA;CACA,OAAA;CACA,aAAA;CACA,QAAA;CACA,OAAA;CACA,gBAAA;CACA,WAAA;CACA,QAAA;CACA,SAAA;CACA,cAAA;CACA,aAAA;CACA,QAAA;CACA,SAAA;CACA,UAAA;CACA,SAAA;CACA,OAAA;CACA,MAAA;CACA,aAAA;CACA,OAAA;CACA,QAAA;CACA,SAAA;CACA,MAAA;AACF"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/components/index.js"],"sourcesContent":["/**\n * Real component imports, re-exported under the default `Ui` prefix.\n *\n * The prefix is baked into the export names so that `import { UiButton }`\n * reads the same as `<UiButton>` in a template. Consumers who register the\n * library with a different prefix still import these names — only the\n * globally registered tag changes.\n *\n * `../manifest.js` carries the same list as plain data for build-time\n * consumers; `scripts/verify.mjs` keeps the two in sync.\n */\nimport Alert from './Alert.vue'\nimport AppShell from './AppShell.vue'\nimport Avatar from './Avatar.vue'\nimport Badge from './Badge.vue'\nimport Banner from './Banner.vue'\nimport Breadcrumb from './Breadcrumb.vue'\nimport Button from './Button.vue'\nimport Card from './Card.vue'\nimport Checkbox from './Checkbox.vue'\nimport CodeBlock from './CodeBlock.vue'\nimport CopyField from './CopyField.vue'\nimport DescriptionList from './DescriptionList.vue'\nimport Divider from './Divider.vue'\nimport Dropdown from './Dropdown.vue'\nimport DropdownItem from './DropdownItem.vue'\nimport DropdownRow from './DropdownRow.vue'\nimport DropdownSubmenu from './DropdownSubmenu.vue'\nimport EmptyState from './EmptyState.vue'\nimport FileInput from './FileInput.vue'\nimport FormField from './FormField.vue'\nimport IconTile from './IconTile.vue'\nimport Input from './Input.vue'\nimport Kbd from './Kbd.vue'\nimport ListMenu from './ListMenu.vue'\nimport ListMenuItem from './ListMenuItem.vue'\nimport Modal from './Modal.vue'\nimport Numpad from './Numpad.vue'\nimport PageHeader from './PageHeader.vue'\nimport Pagination from './Pagination.vue'\nimport Popup from './Popup.vue'\nimport ProgressBar from './ProgressBar.vue'\nimport Prompt from './Prompt.vue'\nimport Radio from './Radio.vue'\nimport SectionHeading from './SectionHeading.vue'\nimport Segmented from './Segmented.vue'\nimport Select from './Select.vue'\nimport Sidebar from './Sidebar.vue'\nimport SidebarGroup from './SidebarGroup.vue'\nimport SidebarItem from './SidebarItem.vue'\nimport Skeleton from './Skeleton.vue'\nimport Slider from './Slider.vue'\nimport Spinner from './Spinner.vue'\nimport SplitPane from './SplitPane.vue'\nimport StatCard from './StatCard.vue'\nimport Stepper from './Stepper.vue'\nimport Table from './Table.vue'\nimport Tabs from './Tabs.vue'\nimport ThemeToggle from './ThemeToggle.vue'\nimport Toast from './Toast.vue'\nimport Toggle from './Toggle.vue'\nimport Tooltip from './Tooltip.vue'\nimport Tree from './Tree.vue'\nimport VirtualList from './VirtualList.vue'\nimport Icon from '../icons/Icon.vue'\n\nexport {\n Alert as UiAlert,\n AppShell as UiAppShell,\n Avatar as UiAvatar,\n Badge as UiBadge,\n Banner as UiBanner,\n Breadcrumb as UiBreadcrumb,\n Button as UiButton,\n Card as UiCard,\n Checkbox as UiCheckbox,\n CodeBlock as UiCodeBlock,\n CopyField as UiCopyField,\n DescriptionList as UiDescriptionList,\n Divider as UiDivider,\n Dropdown as UiDropdown,\n DropdownItem as UiDropdownItem,\n DropdownRow as UiDropdownRow,\n DropdownSubmenu as UiDropdownSubmenu,\n EmptyState as UiEmptyState,\n FileInput as UiFileInput,\n FormField as UiFormField,\n IconTile as UiIconTile,\n Input as UiInput,\n Kbd as UiKbd,\n ListMenu as UiListMenu,\n ListMenuItem as UiListMenuItem,\n Modal as UiModal,\n Numpad as UiNumpad,\n PageHeader as UiPageHeader,\n Pagination as UiPagination,\n Popup as UiPopup,\n ProgressBar as UiProgressBar,\n Prompt as UiPrompt,\n Radio as UiRadio,\n SectionHeading as UiSectionHeading,\n Segmented as UiSegmented,\n Select as UiSelect,\n Sidebar as UiSidebar,\n SidebarGroup as UiSidebarGroup,\n SidebarItem as UiSidebarItem,\n Skeleton as UiSkeleton,\n Slider as UiSlider,\n Spinner as UiSpinner,\n SplitPane as UiSplitPane,\n StatCard as UiStatCard,\n Stepper as UiStepper,\n Table as UiTable,\n Tabs as UiTabs,\n ThemeToggle as UiThemeToggle,\n Toast as UiToast,\n Toggle as UiToggle,\n Tooltip as UiTooltip,\n Tree as UiTree,\n VirtualList as UiVirtualList,\n Icon as UiIcon,\n}\n\nexport const components = {\n Alert,\n AppShell,\n Avatar,\n Badge,\n Banner,\n Breadcrumb,\n Button,\n Card,\n Checkbox,\n CodeBlock,\n CopyField,\n DescriptionList,\n Divider,\n Dropdown,\n DropdownItem,\n DropdownRow,\n DropdownSubmenu,\n EmptyState,\n FileInput,\n FormField,\n IconTile,\n Input,\n Kbd,\n ListMenu,\n ListMenuItem,\n Modal,\n Numpad,\n PageHeader,\n Pagination,\n Popup,\n ProgressBar,\n Prompt,\n Radio,\n SectionHeading,\n Segmented,\n Select,\n Sidebar,\n SidebarGroup,\n SidebarItem,\n Skeleton,\n Slider,\n Spinner,\n SplitPane,\n StatCard,\n Stepper,\n Table,\n Tabs,\n ThemeToggle,\n Toast,\n Toggle,\n Tooltip,\n Tree,\n VirtualList,\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2HA,IAAa,aAAa;CACxB,OAAA;CACA,UAAA;CACA,QAAA;CACA,OAAA;CACA,QAAA;CACA,YAAA;CACA,QAAA;CACA,MAAA;CACA,UAAA;CACA,WAAA;CACA,WAAA;CACA,iBAAA;CACA,SAAA;CACA,UAAA;CACA,cAAA;CACA,aAAA;CACA,iBAAA;CACA,YAAA;CACA,WAAA;CACA,WAAA;CACA,UAAA;CACA,OAAA;CACA,KAAA;CACA,UAAA;CACA,cAAA;CACA,OAAA;CACA,QAAA;CACA,YAAA;CACA,YAAA;CACA,OAAA;CACA,aAAA;CACA,QAAA;CACA,OAAA;CACA,gBAAA;CACA,WAAA;CACA,QAAA;CACA,SAAA;CACA,cAAA;CACA,aAAA;CACA,UAAA;CACA,QAAA;CACA,SAAA;CACA,WAAA;CACA,UAAA;CACA,SAAA;CACA,OAAA;CACA,MAAA;CACA,aAAA;CACA,OAAA;CACA,QAAA;CACA,SAAA;CACA,MAAA;CACA,aAAA;AACF"}
package/dist/icons/mdi.js CHANGED
@@ -40,9 +40,11 @@ var mdiPaths = {
40
40
  "eye-off-outline": "M2 5.27L3.28 4L20 20.72L18.73 22l-3.08-3.08c-1.15.38-2.37.58-3.65.58c-5 0-9.27-3.11-11-7.5c.69-1.76 1.79-3.31 3.19-4.54zM12 9a3 3 0 0 1 3 3a3 3 0 0 1-.17 1L11 9.17A3 3 0 0 1 12 9m0-4.5c5 0 9.27 3.11 11 7.5a11.8 11.8 0 0 1-4 5.19l-1.42-1.43A9.86 9.86 0 0 0 20.82 12A9.82 9.82 0 0 0 12 6.5c-1.09 0-2.16.18-3.16.5L7.3 5.47c1.44-.62 3.03-.97 4.7-.97M3.18 12A9.82 9.82 0 0 0 12 17.5c.69 0 1.37-.07 2-.21L11.72 15A3.064 3.064 0 0 1 9 12.28L5.6 8.87c-.99.85-1.82 1.91-2.42 3.13",
41
41
  "eye-outline": "M12 9a3 3 0 0 1 3 3a3 3 0 0 1-3 3a3 3 0 0 1-3-3a3 3 0 0 1 3-3m0-4.5c5 0 9.27 3.11 11 7.5c-1.73 4.39-6 7.5-11 7.5S2.73 16.39 1 12c1.73-4.39 6-7.5 11-7.5M3.18 12a9.821 9.821 0 0 0 17.64 0a9.821 9.821 0 0 0-17.64 0",
42
42
  "file-document-outline": "M6 2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm0 2h7v5h5v11H6zm2 8v2h8v-2zm0 4v2h5v-2z",
43
+ "folder-outline": "M20 18H4V8h16m0-2h-8l-2-2H4c-1.11 0-2 .89-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2",
43
44
  "format-bold": "M13.5 15.5H10v-3h3.5A1.5 1.5 0 0 1 15 14a1.5 1.5 0 0 1-1.5 1.5m-3.5-9h3A1.5 1.5 0 0 1 14.5 8A1.5 1.5 0 0 1 13 9.5h-3m5.6 1.29c.97-.68 1.65-1.79 1.65-2.79c0-2.26-1.75-4-4-4H7v14h7.04c2.1 0 3.71-1.7 3.71-3.79c0-1.52-.86-2.82-2.15-3.42",
44
45
  "format-italic": "M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4z",
45
46
  "format-text": "m18.5 4l1.16 4.35l-.96.26c-.45-.87-.91-1.74-1.44-2.18C16.73 6 16.11 6 15.5 6H13v10.5c0 .5 0 1 .33 1.25c.34.25 1 .25 1.67.25v1H9v-1c.67 0 1.33 0 1.67-.25c.33-.25.33-.75.33-1.25V6H8.5c-.61 0-1.23 0-1.76.43c-.53.44-.99 1.31-1.44 2.18l-.96-.26L5.5 4z",
47
+ "inbox": "M19 15h-4a3 3 0 0 1-3 3a3 3 0 0 1-3-3H5V5h14m0-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2",
46
48
  "inbox-outline": "M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2M5 19v-2h3.13a4.13 4.13 0 0 0 1.27 2m9.6 0h-4.4a4.13 4.13 0 0 0 1.27-2H19m0-2h-5v1a2 2 0 0 1-4 0v-1H5V5h14Z",
47
49
  "information": "M13 9h-2V7h2m0 10h-2v-6h2m-1-9A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2",
48
50
  "lan-connect": "M4 1c-1.11 0-2 .89-2 2v4c0 1.11.89 2 2 2H1v2h12V9h-3c1.11 0 2-.89 2-2V3c0-1.11-.89-2-2-2zm0 2h6v4H4zM3 13v7h7v-2H5v-5zm11 0c-1.11 0-2 .89-2 2v4c0 1.11.89 2 2 2h-3v2h12v-2h-3c1.11 0 2-.89 2-2v-4c0-1.11-.89-2-2-2zm0 2h6v4h-6z",
@@ -1 +1 @@
1
- {"version":3,"file":"mdi.js","names":[],"sources":["../../src/icons/mdi.js"],"sourcesContent":["/**\n * GENERATED FILE — do not edit by hand.\n * Regenerate with: npm run icons\n *\n * Inline path data for the Material Design Icons used by Numori UI, keyed by\n * icon name without the `mdi:` prefix. All paths are drawn on a 24x24 grid\n * and filled with `currentColor`.\n *\n * Material Design Icons — https://pictogrammers.com/library/mdi/\n * Copyright (c) Austin Andrews and contributors, licensed under Apache-2.0:\n * https://github.com/Templarian/MaterialDesign/blob/master/LICENSE\n * Icon data sourced from @iconify-json/mdi.\n */\n\n/** Shared viewBox for every icon in this set. */\nexport const MDI_VIEW_BOX = '0 0 24 24'\n\n/** @type {Record<string, string>} */\nexport const mdiPaths = {\n 'account': \"M12 4a4 4 0 0 1 4 4a4 4 0 0 1-4 4a4 4 0 0 1-4-4a4 4 0 0 1 4-4m0 10c4.42 0 8 1.79 8 4v2H4v-2c0-2.21 3.58-4 8-4\",\n 'account-group': \"M12 5.5A3.5 3.5 0 0 1 15.5 9a3.5 3.5 0 0 1-3.5 3.5A3.5 3.5 0 0 1 8.5 9A3.5 3.5 0 0 1 12 5.5M5 8c.56 0 1.08.15 1.53.42c-.15 1.43.27 2.85 1.13 3.96C7.16 13.34 6.16 14 5 14a3 3 0 0 1-3-3a3 3 0 0 1 3-3m14 0a3 3 0 0 1 3 3a3 3 0 0 1-3 3c-1.16 0-2.16-.66-2.66-1.62a5.54 5.54 0 0 0 1.13-3.96c.45-.27.97-.42 1.53-.42M5.5 18.25c0-2.07 2.91-3.75 6.5-3.75s6.5 1.68 6.5 3.75V20h-13zM0 20v-1.5c0-1.39 1.89-2.56 4.45-2.9c-.59.68-.95 1.62-.95 2.65V20zm24 0h-3.5v-1.75c0-1.03-.36-1.97-.95-2.65c2.56.34 4.45 1.51 4.45 2.9z\",\n 'alert-circle': \"M13 13h-2V7h2m0 10h-2v-2h2M12 2A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2\",\n 'alert-outline': \"M12 2L1 21h22M12 6l7.53 13H4.47M11 10v4h2v-4m-2 6v2h2v-2\",\n 'arrow-down': \"M11 4h2v12l5.5-5.5l1.42 1.42L12 19.84l-7.92-7.92L5.5 10.5L11 16z\",\n 'arrow-up': \"M13 20h-2V8l-5.5 5.5l-1.42-1.42L12 4.16l7.92 7.92l-1.42 1.42L13 8z\",\n 'backspace-outline': \"M19 15.59L17.59 17L14 13.41L10.41 17L9 15.59L12.59 12L9 8.41L10.41 7L14 10.59L17.59 7L19 8.41L15.41 12zM22 3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H7c-.69 0-1.23-.36-1.59-.89L0 12l5.41-8.12C5.77 3.35 6.31 3 7 3zm0 2H7l-4.72 7L7 19h15z\",\n 'check': \"M21 7L9 19l-5.5-5.5l1.41-1.41L9 16.17L19.59 5.59z\",\n 'check-circle': \"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10s10-4.5 10-10S17.5 2 12 2m-2 15l-5-5l1.41-1.41L10 14.17l7.59-7.59L19 8z\",\n 'chevron-down': \"M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6z\",\n 'chevron-left': \"M15.41 16.58L10.83 12l4.58-4.59L14 6l-6 6l6 6z\",\n 'chevron-right': \"M8.59 16.58L13.17 12L8.59 7.41L10 6l6 6l-6 6z\",\n 'chevron-up': \"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6l-6 6z\",\n 'close': \"M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12z\",\n 'close-circle': \"M12 2c5.53 0 10 4.47 10 10s-4.47 10-10 10S2 17.53 2 12S6.47 2 12 2m3.59 5L12 10.59L8.41 7L7 8.41L10.59 12L7 15.59L8.41 17L12 13.41L15.59 17L17 15.59L13.41 12L17 8.41z\",\n 'content-copy': \"M19 21H8V7h11m0-2H8a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2m-3-4H4a2 2 0 0 0-2 2v14h2V3h12z\",\n 'delete': \"M19 4h-3.5l-1-1h-5l-1 1H5v2h14M6 19a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7H6z\",\n 'dots-vertical': \"M12 16a2 2 0 0 1 2 2a2 2 0 0 1-2 2a2 2 0 0 1-2-2a2 2 0 0 1 2-2m0-6a2 2 0 0 1 2 2a2 2 0 0 1-2 2a2 2 0 0 1-2-2a2 2 0 0 1 2-2m0-6a2 2 0 0 1 2 2a2 2 0 0 1-2 2a2 2 0 0 1-2-2a2 2 0 0 1 2-2\",\n 'email': \"m20 8l-8 5l-8-5V6l8 5l8-5m0-2H4c-1.11 0-2 .89-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2\",\n 'email-alert-outline': \"M24 7h-2v6h2zm0 8h-2v2h2zm-4-9c0-1.1-.9-2-2-2H2C.9 4 0 4.9 0 6v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2zm-2 0l-8 5l-8-5zm0 12H2V8l8 5l8-5z\",\n 'eraser': \"m16.24 3.56l4.95 4.94c.78.79.78 2.05 0 2.84L12 20.53a4.01 4.01 0 0 1-5.66 0L2.81 17c-.78-.79-.78-2.05 0-2.84l10.6-10.6c.79-.78 2.05-.78 2.83 0M4.22 15.58l3.54 3.53c.78.79 2.04.79 2.83 0l3.53-3.53l-4.95-4.95z\",\n 'eye-off-outline': \"M2 5.27L3.28 4L20 20.72L18.73 22l-3.08-3.08c-1.15.38-2.37.58-3.65.58c-5 0-9.27-3.11-11-7.5c.69-1.76 1.79-3.31 3.19-4.54zM12 9a3 3 0 0 1 3 3a3 3 0 0 1-.17 1L11 9.17A3 3 0 0 1 12 9m0-4.5c5 0 9.27 3.11 11 7.5a11.8 11.8 0 0 1-4 5.19l-1.42-1.43A9.86 9.86 0 0 0 20.82 12A9.82 9.82 0 0 0 12 6.5c-1.09 0-2.16.18-3.16.5L7.3 5.47c1.44-.62 3.03-.97 4.7-.97M3.18 12A9.82 9.82 0 0 0 12 17.5c.69 0 1.37-.07 2-.21L11.72 15A3.064 3.064 0 0 1 9 12.28L5.6 8.87c-.99.85-1.82 1.91-2.42 3.13\",\n 'eye-outline': \"M12 9a3 3 0 0 1 3 3a3 3 0 0 1-3 3a3 3 0 0 1-3-3a3 3 0 0 1 3-3m0-4.5c5 0 9.27 3.11 11 7.5c-1.73 4.39-6 7.5-11 7.5S2.73 16.39 1 12c1.73-4.39 6-7.5 11-7.5M3.18 12a9.821 9.821 0 0 0 17.64 0a9.821 9.821 0 0 0-17.64 0\",\n 'file-document-outline': \"M6 2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm0 2h7v5h5v11H6zm2 8v2h8v-2zm0 4v2h5v-2z\",\n 'format-bold': \"M13.5 15.5H10v-3h3.5A1.5 1.5 0 0 1 15 14a1.5 1.5 0 0 1-1.5 1.5m-3.5-9h3A1.5 1.5 0 0 1 14.5 8A1.5 1.5 0 0 1 13 9.5h-3m5.6 1.29c.97-.68 1.65-1.79 1.65-2.79c0-2.26-1.75-4-4-4H7v14h7.04c2.1 0 3.71-1.7 3.71-3.79c0-1.52-.86-2.82-2.15-3.42\",\n 'format-italic': \"M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4z\",\n 'format-text': \"m18.5 4l1.16 4.35l-.96.26c-.45-.87-.91-1.74-1.44-2.18C16.73 6 16.11 6 15.5 6H13v10.5c0 .5 0 1 .33 1.25c.34.25 1 .25 1.67.25v1H9v-1c.67 0 1.33 0 1.67-.25c.33-.25.33-.75.33-1.25V6H8.5c-.61 0-1.23 0-1.76.43c-.53.44-.99 1.31-1.44 2.18l-.96-.26L5.5 4z\",\n 'inbox-outline': \"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2M5 19v-2h3.13a4.13 4.13 0 0 0 1.27 2m9.6 0h-4.4a4.13 4.13 0 0 0 1.27-2H19m0-2h-5v1a2 2 0 0 1-4 0v-1H5V5h14Z\",\n 'information': \"M13 9h-2V7h2m0 10h-2v-6h2m-1-9A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2\",\n 'lan-connect': \"M4 1c-1.11 0-2 .89-2 2v4c0 1.11.89 2 2 2H1v2h12V9h-3c1.11 0 2-.89 2-2V3c0-1.11-.89-2-2-2zm0 2h6v4H4zM3 13v7h7v-2H5v-5zm11 0c-1.11 0-2 .89-2 2v4c0 1.11.89 2 2 2h-3v2h12v-2h-3c1.11 0 2-.89 2-2v-4c0-1.11-.89-2-2-2zm0 2h6v4h-6z\",\n 'loading': \"M12 4V2A10 10 0 0 0 2 12h2a8 8 0 0 1 8-8\",\n 'lock': \"M12 17a2 2 0 0 0 2-2a2 2 0 0 0-2-2a2 2 0 0 0-2 2a2 2 0 0 0 2 2m6-9a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2h1V6a5 5 0 0 1 5-5a5 5 0 0 1 5 5v2zm-6-5a3 3 0 0 0-3 3v2h6V6a3 3 0 0 0-3-3\",\n 'logout': \"m17 7l-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5M4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z\",\n 'menu': \"M3 6h18v2H3zm0 5h18v2H3zm0 5h18v2H3z\",\n 'minus': \"M19 13H5v-2h14z\",\n 'minus-circle-outline': \"M12 20c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8m0-18A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2M7 13h10v-2H7\",\n 'note-text-outline': \"M15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V9zm4 16H5V5h9v5h5m-2 4H7v-2h10m-3 5H7v-2h7\",\n 'pen': \"M20.71 7.04c-.34.34-.67.67-.68 1c-.03.32.31.65.63.96c.48.5.95.95.93 1.44s-.53 1-1.04 1.5l-4.13 4.14L15 14.66l4.25-4.24l-.96-.96l-1.42 1.41l-3.75-3.75l3.84-3.83c.39-.39 1.04-.39 1.41 0l2.34 2.34c.39.37.39 1.02 0 1.41M3 17.25l9.56-9.57l3.75 3.75L6.75 21H3z\",\n 'pencil': \"M20.71 7.04c.39-.39.39-1.04 0-1.41l-2.34-2.34c-.37-.39-1.02-.39-1.41 0l-1.84 1.83l3.75 3.75M3 17.25V21h3.75L17.81 9.93l-3.75-3.75z\",\n 'plus': \"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z\",\n 'share': \"m21 12l-7-7v4C7 10 4 15 3 20c2.5-3.5 6-5.1 11-5.1V19z\",\n 'shield-lock-outline': \"M21 11c0 5.55-3.84 10.74-9 12c-5.16-1.26-9-6.45-9-12V5l9-4l9 4zm-9 10c3.75-1 7-5.46 7-9.78V6.3l-7-3.12L5 6.3v4.92C5 15.54 8.25 20 12 21m2.8-10V9.5C14.8 8.1 13.4 7 12 7S9.2 8.1 9.2 9.5V11c-.6 0-1.2.6-1.2 1.2v3.5c0 .7.6 1.3 1.2 1.3h5.5c.7 0 1.3-.6 1.3-1.2v-3.5c0-.7-.6-1.3-1.2-1.3m-1.3 0h-3V9.5c0-.8.7-1.3 1.5-1.3s1.5.5 1.5 1.3z\",\n 'sync': \"M12 18a6 6 0 0 1-6-6c0-1 .25-1.97.7-2.8L5.24 7.74A7.93 7.93 0 0 0 4 12a8 8 0 0 0 8 8v3l4-4l-4-4m0-11V1L8 5l4 4V6a6 6 0 0 1 6 6c0 1-.25 1.97-.7 2.8l1.46 1.46A7.93 7.93 0 0 0 20 12a8 8 0 0 0-8-8\",\n 'translate': \"m12.87 15.07l-2.54-2.51l.03-.03A17.5 17.5 0 0 0 14.07 6H17V4h-7V2H8v2H1v2h11.17C11.5 7.92 10.44 9.75 9 11.35C8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5l3.11 3.11zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2zm-2.62 7l1.62-4.33L19.12 17z\",\n 'trash-can': \"M9 3v1H4v2h1v13a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6h1V4h-5V3zm0 5h2v9H9zm4 0h2v9h-2z\",\n 'trash-can-outline': \"M9 3v1H4v2h1v13a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6h1V4h-5V3zM7 6h10v13H7zm2 2v9h2V8zm4 0v9h2V8z\",\n 'trending-down': \"m16 18l2.29-2.29l-4.88-4.88l-4 4L2 7.41L3.41 6l6 6l4-4l6.3 6.29L22 12v6z\",\n 'trending-neutral': \"m22 12l-4-4v3H3v2h15v3z\",\n 'trending-up': \"m16 6l2.29 2.29l-4.88 4.88l-4-4L2 16.59L3.41 18l6-6l4 4l6.3-6.29L22 12V6z\",\n 'unfold-more-horizontal': \"M12 18.17L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15M12 5.83L15.17 9l1.41-1.41L12 3L7.41 7.59L8.83 9z\",\n 'view-grid': \"M3 11h8V3H3m0 18h8v-8H3m10 8h8v-8h-8m0-10v8h8V3\",\n 'view-list': \"M9 5v4h12V5M9 19h12v-4H9m0-1h12v-4H9M4 9h4V5H4m0 14h4v-4H4m0-1h4v-4H4z\",\n 'weather-night': \"m17.75 4.09l-2.53 1.94l.91 3.06l-2.63-1.81l-2.63 1.81l.91-3.06l-2.53-1.94L12.44 4l1.06-3l1.06 3zm3.5 6.91l-1.64 1.25l.59 1.98l-1.7-1.17l-1.7 1.17l.59-1.98L15.75 11l2.06-.05L18.5 9l.69 1.95zm-2.28 4.95c.83-.08 1.72 1.1 1.19 1.85c-.32.45-.66.87-1.08 1.27C15.17 23 8.84 23 4.94 19.07c-3.91-3.9-3.91-10.24 0-14.14c.4-.4.82-.76 1.27-1.08c.75-.53 1.93.36 1.85 1.19c-.27 2.86.69 5.83 2.89 8.02a9.96 9.96 0 0 0 8.02 2.89m-1.64 2.02a12.08 12.08 0 0 1-7.8-3.47c-2.17-2.19-3.33-5-3.49-7.82c-2.81 3.14-2.7 7.96.31 10.98c3.02 3.01 7.84 3.12 10.98.31\",\n 'weather-sunny': \"M12 7a5 5 0 0 1 5 5a5 5 0 0 1-5 5a5 5 0 0 1-5-5a5 5 0 0 1 5-5m0 2a3 3 0 0 0-3 3a3 3 0 0 0 3 3a3 3 0 0 0 3-3a3 3 0 0 0-3-3m0-7l2.39 3.42C13.65 5.15 12.84 5 12 5s-1.65.15-2.39.42zM3.34 7l4.16-.35A7.2 7.2 0 0 0 5.94 8.5c-.44.74-.69 1.5-.83 2.29zm.02 10l1.76-3.77a7.13 7.13 0 0 0 2.38 4.14zM20.65 7l-1.77 3.79a7.02 7.02 0 0 0-2.38-4.15zm-.01 10l-4.14.36c.59-.51 1.12-1.14 1.54-1.86c.42-.73.69-1.5.83-2.29zM12 22l-2.41-3.44c.74.27 1.55.44 2.41.44c.82 0 1.63-.17 2.37-.44z\",\n 'wifi-off': \"M2.28 3L1 4.27l1.47 1.47c-.43.26-.86.55-1.27.86L3 9c.53-.4 1.08-.75 1.66-1.07l2.23 2.23c-.74.34-1.45.75-2.09 1.24l1.8 2.4c.78-.58 1.66-1.03 2.6-1.33L11.75 15c-1.25.07-2.41.5-3.35 1.2L12 21l2.46-3.27L17.74 21L19 19.72M12 3c-2.15 0-4.2.38-6.1 1.07l2.39 2.4C9.5 6.16 10.72 6 12 6c3.38 0 6.5 1.11 9 3l1.8-2.4C19.79 4.34 16.06 3 12 3m0 6c-.38 0-.75 0-1.12.05l3.19 3.2c1.22.28 2.36.82 3.33 1.55l1.8-2.4C17.2 9.89 14.7 9 12 9\",\n 'wrap': \"M21 5H3v2h18zM3 19h7v-2H3zm0-6h15c1 0 2 .43 2 2s-1 2-2 2h-2v-2l-4 3l4 3v-2h2c2.95 0 4-1.27 4-4c0-2.72-1-4-4-4H3z\",\n}\n\n/**\n * Icon names available in the bundled subset.\n *\n * Annotated pure so bundlers can drop it. Without the annotation this\n * top-level `Object.keys` call is treated as a possible side effect, which\n * keeps `mdiPaths` reachable and forces every icon into any bundle that\n * touches this package — even one importing only `UiKbd`, which draws no\n * icons.\n */\nexport const mdiIconNames = /*#__PURE__*/ Object.keys(mdiPaths)\n"],"mappings":";;;;;;;;;;;;;;;AAeA,IAAa,eAAe;;AAG5B,IAAa,WAAW;CACtB,WAAW;CACX,iBAAiB;CACjB,gBAAgB;CAChB,iBAAiB;CACjB,cAAc;CACd,YAAY;CACZ,qBAAqB;CACrB,SAAS;CACT,gBAAgB;CAChB,gBAAgB;CAChB,gBAAgB;CAChB,iBAAiB;CACjB,cAAc;CACd,SAAS;CACT,gBAAgB;CAChB,gBAAgB;CAChB,UAAU;CACV,iBAAiB;CACjB,SAAS;CACT,uBAAuB;CACvB,UAAU;CACV,mBAAmB;CACnB,eAAe;CACf,yBAAyB;CACzB,eAAe;CACf,iBAAiB;CACjB,eAAe;CACf,iBAAiB;CACjB,eAAe;CACf,eAAe;CACf,WAAW;CACX,QAAQ;CACR,UAAU;CACV,QAAQ;CACR,SAAS;CACT,wBAAwB;CACxB,qBAAqB;CACrB,OAAO;CACP,UAAU;CACV,QAAQ;CACR,SAAS;CACT,uBAAuB;CACvB,QAAQ;CACR,aAAa;CACb,aAAa;CACb,qBAAqB;CACrB,iBAAiB;CACjB,oBAAoB;CACpB,eAAe;CACf,0BAA0B;CAC1B,aAAa;CACb,aAAa;CACb,iBAAiB;CACjB,iBAAiB;CACjB,YAAY;CACZ,QAAQ;AACV;;;;;;;;;;AAWA,IAAa,eAA6B,qBAAO,KAAK,QAAQ"}
1
+ {"version":3,"file":"mdi.js","names":[],"sources":["../../src/icons/mdi.js"],"sourcesContent":["/**\n * GENERATED FILE — do not edit by hand.\n * Regenerate with: npm run icons\n *\n * Inline path data for the Material Design Icons used by Numori UI, keyed by\n * icon name without the `mdi:` prefix. All paths are drawn on a 24x24 grid\n * and filled with `currentColor`.\n *\n * Material Design Icons — https://pictogrammers.com/library/mdi/\n * Copyright (c) Austin Andrews and contributors, licensed under Apache-2.0:\n * https://github.com/Templarian/MaterialDesign/blob/master/LICENSE\n * Icon data sourced from @iconify-json/mdi.\n */\n\n/** Shared viewBox for every icon in this set. */\nexport const MDI_VIEW_BOX = '0 0 24 24'\n\n/** @type {Record<string, string>} */\nexport const mdiPaths = {\n 'account': \"M12 4a4 4 0 0 1 4 4a4 4 0 0 1-4 4a4 4 0 0 1-4-4a4 4 0 0 1 4-4m0 10c4.42 0 8 1.79 8 4v2H4v-2c0-2.21 3.58-4 8-4\",\n 'account-group': \"M12 5.5A3.5 3.5 0 0 1 15.5 9a3.5 3.5 0 0 1-3.5 3.5A3.5 3.5 0 0 1 8.5 9A3.5 3.5 0 0 1 12 5.5M5 8c.56 0 1.08.15 1.53.42c-.15 1.43.27 2.85 1.13 3.96C7.16 13.34 6.16 14 5 14a3 3 0 0 1-3-3a3 3 0 0 1 3-3m14 0a3 3 0 0 1 3 3a3 3 0 0 1-3 3c-1.16 0-2.16-.66-2.66-1.62a5.54 5.54 0 0 0 1.13-3.96c.45-.27.97-.42 1.53-.42M5.5 18.25c0-2.07 2.91-3.75 6.5-3.75s6.5 1.68 6.5 3.75V20h-13zM0 20v-1.5c0-1.39 1.89-2.56 4.45-2.9c-.59.68-.95 1.62-.95 2.65V20zm24 0h-3.5v-1.75c0-1.03-.36-1.97-.95-2.65c2.56.34 4.45 1.51 4.45 2.9z\",\n 'alert-circle': \"M13 13h-2V7h2m0 10h-2v-2h2M12 2A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2\",\n 'alert-outline': \"M12 2L1 21h22M12 6l7.53 13H4.47M11 10v4h2v-4m-2 6v2h2v-2\",\n 'arrow-down': \"M11 4h2v12l5.5-5.5l1.42 1.42L12 19.84l-7.92-7.92L5.5 10.5L11 16z\",\n 'arrow-up': \"M13 20h-2V8l-5.5 5.5l-1.42-1.42L12 4.16l7.92 7.92l-1.42 1.42L13 8z\",\n 'backspace-outline': \"M19 15.59L17.59 17L14 13.41L10.41 17L9 15.59L12.59 12L9 8.41L10.41 7L14 10.59L17.59 7L19 8.41L15.41 12zM22 3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H7c-.69 0-1.23-.36-1.59-.89L0 12l5.41-8.12C5.77 3.35 6.31 3 7 3zm0 2H7l-4.72 7L7 19h15z\",\n 'check': \"M21 7L9 19l-5.5-5.5l1.41-1.41L9 16.17L19.59 5.59z\",\n 'check-circle': \"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10s10-4.5 10-10S17.5 2 12 2m-2 15l-5-5l1.41-1.41L10 14.17l7.59-7.59L19 8z\",\n 'chevron-down': \"M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6z\",\n 'chevron-left': \"M15.41 16.58L10.83 12l4.58-4.59L14 6l-6 6l6 6z\",\n 'chevron-right': \"M8.59 16.58L13.17 12L8.59 7.41L10 6l6 6l-6 6z\",\n 'chevron-up': \"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6l-6 6z\",\n 'close': \"M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12z\",\n 'close-circle': \"M12 2c5.53 0 10 4.47 10 10s-4.47 10-10 10S2 17.53 2 12S6.47 2 12 2m3.59 5L12 10.59L8.41 7L7 8.41L10.59 12L7 15.59L8.41 17L12 13.41L15.59 17L17 15.59L13.41 12L17 8.41z\",\n 'content-copy': \"M19 21H8V7h11m0-2H8a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2m-3-4H4a2 2 0 0 0-2 2v14h2V3h12z\",\n 'delete': \"M19 4h-3.5l-1-1h-5l-1 1H5v2h14M6 19a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7H6z\",\n 'dots-vertical': \"M12 16a2 2 0 0 1 2 2a2 2 0 0 1-2 2a2 2 0 0 1-2-2a2 2 0 0 1 2-2m0-6a2 2 0 0 1 2 2a2 2 0 0 1-2 2a2 2 0 0 1-2-2a2 2 0 0 1 2-2m0-6a2 2 0 0 1 2 2a2 2 0 0 1-2 2a2 2 0 0 1-2-2a2 2 0 0 1 2-2\",\n 'email': \"m20 8l-8 5l-8-5V6l8 5l8-5m0-2H4c-1.11 0-2 .89-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2\",\n 'email-alert-outline': \"M24 7h-2v6h2zm0 8h-2v2h2zm-4-9c0-1.1-.9-2-2-2H2C.9 4 0 4.9 0 6v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2zm-2 0l-8 5l-8-5zm0 12H2V8l8 5l8-5z\",\n 'eraser': \"m16.24 3.56l4.95 4.94c.78.79.78 2.05 0 2.84L12 20.53a4.01 4.01 0 0 1-5.66 0L2.81 17c-.78-.79-.78-2.05 0-2.84l10.6-10.6c.79-.78 2.05-.78 2.83 0M4.22 15.58l3.54 3.53c.78.79 2.04.79 2.83 0l3.53-3.53l-4.95-4.95z\",\n 'eye-off-outline': \"M2 5.27L3.28 4L20 20.72L18.73 22l-3.08-3.08c-1.15.38-2.37.58-3.65.58c-5 0-9.27-3.11-11-7.5c.69-1.76 1.79-3.31 3.19-4.54zM12 9a3 3 0 0 1 3 3a3 3 0 0 1-.17 1L11 9.17A3 3 0 0 1 12 9m0-4.5c5 0 9.27 3.11 11 7.5a11.8 11.8 0 0 1-4 5.19l-1.42-1.43A9.86 9.86 0 0 0 20.82 12A9.82 9.82 0 0 0 12 6.5c-1.09 0-2.16.18-3.16.5L7.3 5.47c1.44-.62 3.03-.97 4.7-.97M3.18 12A9.82 9.82 0 0 0 12 17.5c.69 0 1.37-.07 2-.21L11.72 15A3.064 3.064 0 0 1 9 12.28L5.6 8.87c-.99.85-1.82 1.91-2.42 3.13\",\n 'eye-outline': \"M12 9a3 3 0 0 1 3 3a3 3 0 0 1-3 3a3 3 0 0 1-3-3a3 3 0 0 1 3-3m0-4.5c5 0 9.27 3.11 11 7.5c-1.73 4.39-6 7.5-11 7.5S2.73 16.39 1 12c1.73-4.39 6-7.5 11-7.5M3.18 12a9.821 9.821 0 0 0 17.64 0a9.821 9.821 0 0 0-17.64 0\",\n 'file-document-outline': \"M6 2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm0 2h7v5h5v11H6zm2 8v2h8v-2zm0 4v2h5v-2z\",\n 'folder-outline': \"M20 18H4V8h16m0-2h-8l-2-2H4c-1.11 0-2 .89-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2\",\n 'format-bold': \"M13.5 15.5H10v-3h3.5A1.5 1.5 0 0 1 15 14a1.5 1.5 0 0 1-1.5 1.5m-3.5-9h3A1.5 1.5 0 0 1 14.5 8A1.5 1.5 0 0 1 13 9.5h-3m5.6 1.29c.97-.68 1.65-1.79 1.65-2.79c0-2.26-1.75-4-4-4H7v14h7.04c2.1 0 3.71-1.7 3.71-3.79c0-1.52-.86-2.82-2.15-3.42\",\n 'format-italic': \"M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4z\",\n 'format-text': \"m18.5 4l1.16 4.35l-.96.26c-.45-.87-.91-1.74-1.44-2.18C16.73 6 16.11 6 15.5 6H13v10.5c0 .5 0 1 .33 1.25c.34.25 1 .25 1.67.25v1H9v-1c.67 0 1.33 0 1.67-.25c.33-.25.33-.75.33-1.25V6H8.5c-.61 0-1.23 0-1.76.43c-.53.44-.99 1.31-1.44 2.18l-.96-.26L5.5 4z\",\n 'inbox': \"M19 15h-4a3 3 0 0 1-3 3a3 3 0 0 1-3-3H5V5h14m0-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2\",\n 'inbox-outline': \"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2M5 19v-2h3.13a4.13 4.13 0 0 0 1.27 2m9.6 0h-4.4a4.13 4.13 0 0 0 1.27-2H19m0-2h-5v1a2 2 0 0 1-4 0v-1H5V5h14Z\",\n 'information': \"M13 9h-2V7h2m0 10h-2v-6h2m-1-9A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2\",\n 'lan-connect': \"M4 1c-1.11 0-2 .89-2 2v4c0 1.11.89 2 2 2H1v2h12V9h-3c1.11 0 2-.89 2-2V3c0-1.11-.89-2-2-2zm0 2h6v4H4zM3 13v7h7v-2H5v-5zm11 0c-1.11 0-2 .89-2 2v4c0 1.11.89 2 2 2h-3v2h12v-2h-3c1.11 0 2-.89 2-2v-4c0-1.11-.89-2-2-2zm0 2h6v4h-6z\",\n 'loading': \"M12 4V2A10 10 0 0 0 2 12h2a8 8 0 0 1 8-8\",\n 'lock': \"M12 17a2 2 0 0 0 2-2a2 2 0 0 0-2-2a2 2 0 0 0-2 2a2 2 0 0 0 2 2m6-9a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2h1V6a5 5 0 0 1 5-5a5 5 0 0 1 5 5v2zm-6-5a3 3 0 0 0-3 3v2h6V6a3 3 0 0 0-3-3\",\n 'logout': \"m17 7l-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5M4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z\",\n 'menu': \"M3 6h18v2H3zm0 5h18v2H3zm0 5h18v2H3z\",\n 'minus': \"M19 13H5v-2h14z\",\n 'minus-circle-outline': \"M12 20c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8m0-18A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2M7 13h10v-2H7\",\n 'note-text-outline': \"M15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V9zm4 16H5V5h9v5h5m-2 4H7v-2h10m-3 5H7v-2h7\",\n 'pen': \"M20.71 7.04c-.34.34-.67.67-.68 1c-.03.32.31.65.63.96c.48.5.95.95.93 1.44s-.53 1-1.04 1.5l-4.13 4.14L15 14.66l4.25-4.24l-.96-.96l-1.42 1.41l-3.75-3.75l3.84-3.83c.39-.39 1.04-.39 1.41 0l2.34 2.34c.39.37.39 1.02 0 1.41M3 17.25l9.56-9.57l3.75 3.75L6.75 21H3z\",\n 'pencil': \"M20.71 7.04c.39-.39.39-1.04 0-1.41l-2.34-2.34c-.37-.39-1.02-.39-1.41 0l-1.84 1.83l3.75 3.75M3 17.25V21h3.75L17.81 9.93l-3.75-3.75z\",\n 'plus': \"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z\",\n 'share': \"m21 12l-7-7v4C7 10 4 15 3 20c2.5-3.5 6-5.1 11-5.1V19z\",\n 'shield-lock-outline': \"M21 11c0 5.55-3.84 10.74-9 12c-5.16-1.26-9-6.45-9-12V5l9-4l9 4zm-9 10c3.75-1 7-5.46 7-9.78V6.3l-7-3.12L5 6.3v4.92C5 15.54 8.25 20 12 21m2.8-10V9.5C14.8 8.1 13.4 7 12 7S9.2 8.1 9.2 9.5V11c-.6 0-1.2.6-1.2 1.2v3.5c0 .7.6 1.3 1.2 1.3h5.5c.7 0 1.3-.6 1.3-1.2v-3.5c0-.7-.6-1.3-1.2-1.3m-1.3 0h-3V9.5c0-.8.7-1.3 1.5-1.3s1.5.5 1.5 1.3z\",\n 'sync': \"M12 18a6 6 0 0 1-6-6c0-1 .25-1.97.7-2.8L5.24 7.74A7.93 7.93 0 0 0 4 12a8 8 0 0 0 8 8v3l4-4l-4-4m0-11V1L8 5l4 4V6a6 6 0 0 1 6 6c0 1-.25 1.97-.7 2.8l1.46 1.46A7.93 7.93 0 0 0 20 12a8 8 0 0 0-8-8\",\n 'translate': \"m12.87 15.07l-2.54-2.51l.03-.03A17.5 17.5 0 0 0 14.07 6H17V4h-7V2H8v2H1v2h11.17C11.5 7.92 10.44 9.75 9 11.35C8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5l3.11 3.11zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2zm-2.62 7l1.62-4.33L19.12 17z\",\n 'trash-can': \"M9 3v1H4v2h1v13a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6h1V4h-5V3zm0 5h2v9H9zm4 0h2v9h-2z\",\n 'trash-can-outline': \"M9 3v1H4v2h1v13a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6h1V4h-5V3zM7 6h10v13H7zm2 2v9h2V8zm4 0v9h2V8z\",\n 'trending-down': \"m16 18l2.29-2.29l-4.88-4.88l-4 4L2 7.41L3.41 6l6 6l4-4l6.3 6.29L22 12v6z\",\n 'trending-neutral': \"m22 12l-4-4v3H3v2h15v3z\",\n 'trending-up': \"m16 6l2.29 2.29l-4.88 4.88l-4-4L2 16.59L3.41 18l6-6l4 4l6.3-6.29L22 12V6z\",\n 'unfold-more-horizontal': \"M12 18.17L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15M12 5.83L15.17 9l1.41-1.41L12 3L7.41 7.59L8.83 9z\",\n 'view-grid': \"M3 11h8V3H3m0 18h8v-8H3m10 8h8v-8h-8m0-10v8h8V3\",\n 'view-list': \"M9 5v4h12V5M9 19h12v-4H9m0-1h12v-4H9M4 9h4V5H4m0 14h4v-4H4m0-1h4v-4H4z\",\n 'weather-night': \"m17.75 4.09l-2.53 1.94l.91 3.06l-2.63-1.81l-2.63 1.81l.91-3.06l-2.53-1.94L12.44 4l1.06-3l1.06 3zm3.5 6.91l-1.64 1.25l.59 1.98l-1.7-1.17l-1.7 1.17l.59-1.98L15.75 11l2.06-.05L18.5 9l.69 1.95zm-2.28 4.95c.83-.08 1.72 1.1 1.19 1.85c-.32.45-.66.87-1.08 1.27C15.17 23 8.84 23 4.94 19.07c-3.91-3.9-3.91-10.24 0-14.14c.4-.4.82-.76 1.27-1.08c.75-.53 1.93.36 1.85 1.19c-.27 2.86.69 5.83 2.89 8.02a9.96 9.96 0 0 0 8.02 2.89m-1.64 2.02a12.08 12.08 0 0 1-7.8-3.47c-2.17-2.19-3.33-5-3.49-7.82c-2.81 3.14-2.7 7.96.31 10.98c3.02 3.01 7.84 3.12 10.98.31\",\n 'weather-sunny': \"M12 7a5 5 0 0 1 5 5a5 5 0 0 1-5 5a5 5 0 0 1-5-5a5 5 0 0 1 5-5m0 2a3 3 0 0 0-3 3a3 3 0 0 0 3 3a3 3 0 0 0 3-3a3 3 0 0 0-3-3m0-7l2.39 3.42C13.65 5.15 12.84 5 12 5s-1.65.15-2.39.42zM3.34 7l4.16-.35A7.2 7.2 0 0 0 5.94 8.5c-.44.74-.69 1.5-.83 2.29zm.02 10l1.76-3.77a7.13 7.13 0 0 0 2.38 4.14zM20.65 7l-1.77 3.79a7.02 7.02 0 0 0-2.38-4.15zm-.01 10l-4.14.36c.59-.51 1.12-1.14 1.54-1.86c.42-.73.69-1.5.83-2.29zM12 22l-2.41-3.44c.74.27 1.55.44 2.41.44c.82 0 1.63-.17 2.37-.44z\",\n 'wifi-off': \"M2.28 3L1 4.27l1.47 1.47c-.43.26-.86.55-1.27.86L3 9c.53-.4 1.08-.75 1.66-1.07l2.23 2.23c-.74.34-1.45.75-2.09 1.24l1.8 2.4c.78-.58 1.66-1.03 2.6-1.33L11.75 15c-1.25.07-2.41.5-3.35 1.2L12 21l2.46-3.27L17.74 21L19 19.72M12 3c-2.15 0-4.2.38-6.1 1.07l2.39 2.4C9.5 6.16 10.72 6 12 6c3.38 0 6.5 1.11 9 3l1.8-2.4C19.79 4.34 16.06 3 12 3m0 6c-.38 0-.75 0-1.12.05l3.19 3.2c1.22.28 2.36.82 3.33 1.55l1.8-2.4C17.2 9.89 14.7 9 12 9\",\n 'wrap': \"M21 5H3v2h18zM3 19h7v-2H3zm0-6h15c1 0 2 .43 2 2s-1 2-2 2h-2v-2l-4 3l4 3v-2h2c2.95 0 4-1.27 4-4c0-2.72-1-4-4-4H3z\",\n}\n\n/**\n * Icon names available in the bundled subset.\n *\n * Annotated pure so bundlers can drop it. Without the annotation this\n * top-level `Object.keys` call is treated as a possible side effect, which\n * keeps `mdiPaths` reachable and forces every icon into any bundle that\n * touches this package — even one importing only `UiKbd`, which draws no\n * icons.\n */\nexport const mdiIconNames = /*#__PURE__*/ Object.keys(mdiPaths)\n"],"mappings":";;;;;;;;;;;;;;;AAeA,IAAa,eAAe;;AAG5B,IAAa,WAAW;CACtB,WAAW;CACX,iBAAiB;CACjB,gBAAgB;CAChB,iBAAiB;CACjB,cAAc;CACd,YAAY;CACZ,qBAAqB;CACrB,SAAS;CACT,gBAAgB;CAChB,gBAAgB;CAChB,gBAAgB;CAChB,iBAAiB;CACjB,cAAc;CACd,SAAS;CACT,gBAAgB;CAChB,gBAAgB;CAChB,UAAU;CACV,iBAAiB;CACjB,SAAS;CACT,uBAAuB;CACvB,UAAU;CACV,mBAAmB;CACnB,eAAe;CACf,yBAAyB;CACzB,kBAAkB;CAClB,eAAe;CACf,iBAAiB;CACjB,eAAe;CACf,SAAS;CACT,iBAAiB;CACjB,eAAe;CACf,eAAe;CACf,WAAW;CACX,QAAQ;CACR,UAAU;CACV,QAAQ;CACR,SAAS;CACT,wBAAwB;CACxB,qBAAqB;CACrB,OAAO;CACP,UAAU;CACV,QAAQ;CACR,SAAS;CACT,uBAAuB;CACvB,QAAQ;CACR,aAAa;CACb,aAAa;CACb,qBAAqB;CACrB,iBAAiB;CACjB,oBAAoB;CACpB,eAAe;CACf,0BAA0B;CAC1B,aAAa;CACb,aAAa;CACb,iBAAiB;CACjB,iBAAiB;CACjB,YAAY;CACZ,QAAQ;AACV;;;;;;;;;;AAWA,IAAa,eAA6B,qBAAO,KAAK,QAAQ"}
package/dist/index.d.ts CHANGED
@@ -46,8 +46,10 @@ export declare const UiSelect: UiComponent
46
46
  export declare const UiSidebar: UiComponent
47
47
  export declare const UiSidebarGroup: UiComponent
48
48
  export declare const UiSidebarItem: UiComponent
49
+ export declare const UiSkeleton: UiComponent
49
50
  export declare const UiSlider: UiComponent
50
51
  export declare const UiSpinner: UiComponent
52
+ export declare const UiSplitPane: UiComponent
51
53
  export declare const UiStatCard: UiComponent
52
54
  export declare const UiStepper: UiComponent
53
55
  export declare const UiTable: UiComponent
@@ -56,6 +58,8 @@ export declare const UiThemeToggle: UiComponent
56
58
  export declare const UiToast: UiComponent
57
59
  export declare const UiToggle: UiComponent
58
60
  export declare const UiTooltip: UiComponent
61
+ export declare const UiTree: UiComponent
62
+ export declare const UiVirtualList: UiComponent
59
63
  export declare const UiIcon: UiComponent
60
64
 
61
65
  export declare const components: Record<string, UiComponent>
package/dist/index.js CHANGED
@@ -44,16 +44,20 @@ import _sfc_main$36 from "./components/Select.js";
44
44
  import _sfc_main$37 from "./components/Sidebar.js";
45
45
  import _sfc_main$38 from "./components/SidebarGroup.js";
46
46
  import _sfc_main$39 from "./components/SidebarItem.js";
47
- import _sfc_main$40 from "./components/Slider.js";
48
- import _sfc_main$41 from "./components/Spinner.js";
49
- import _sfc_main$42 from "./components/StatCard.js";
50
- import _sfc_main$43 from "./components/Stepper.js";
51
- import _sfc_main$44 from "./components/Table.js";
52
- import _sfc_main$45 from "./components/Tabs.js";
53
- import _sfc_main$46 from "./components/ThemeToggle.js";
54
- import _sfc_main$47 from "./components/Toast.js";
55
- import _sfc_main$48 from "./components/Toggle.js";
56
- import _sfc_main$49 from "./components/Tooltip.js";
47
+ import _sfc_main$40 from "./components/Skeleton.js";
48
+ import _sfc_main$41 from "./components/Slider.js";
49
+ import _sfc_main$42 from "./components/Spinner.js";
50
+ import _sfc_main$43 from "./components/SplitPane.js";
51
+ import _sfc_main$44 from "./components/StatCard.js";
52
+ import _sfc_main$45 from "./components/Stepper.js";
53
+ import _sfc_main$46 from "./components/Table.js";
54
+ import _sfc_main$47 from "./components/Tabs.js";
55
+ import _sfc_main$48 from "./components/ThemeToggle.js";
56
+ import _sfc_main$49 from "./components/Toast.js";
57
+ import _sfc_main$50 from "./components/Toggle.js";
58
+ import _sfc_main$51 from "./components/Tooltip.js";
59
+ import _sfc_main$52 from "./components/Tree.js";
60
+ import _sfc_main$53 from "./components/VirtualList.js";
57
61
  import { components } from "./components/index.js";
58
62
  import { COMPONENT_NAMES, DEFAULT_PREFIX, componentEntries, prefixed } from "./manifest.js";
59
63
  //#region src/index.js
@@ -173,6 +177,6 @@ function createNumoriUI(components = {}, options = {}) {
173
177
  } };
174
178
  }
175
179
  //#endregion
176
- export { COMPONENT_NAMES, DEFAULT_PREFIX, ICON_COMPONENT_KEY, MDI_VIEW_BOX, NumoriUI, NumoriUI as default, _sfc_main as UiAlert, _sfc_main$1 as UiAppShell, _sfc_main$2 as UiAvatar, _sfc_main$3 as UiBadge, _sfc_main$4 as UiBanner, _sfc_main$5 as UiBreadcrumb, _sfc_main$6 as UiButton, _sfc_main$7 as UiCard, _sfc_main$8 as UiCheckbox, _sfc_main$9 as UiCodeBlock, _sfc_main$10 as UiCopyField, _sfc_main$11 as UiDescriptionList, _sfc_main$12 as UiDivider, _sfc_main$13 as UiDropdown, _sfc_main$14 as UiDropdownItem, _sfc_main$15 as UiDropdownRow, _sfc_main$16 as UiDropdownSubmenu, _sfc_main$17 as UiEmptyState, _sfc_main$18 as UiFileInput, _sfc_main$19 as UiFormField, _sfc_main$20 as UiIcon, _sfc_main$21 as UiIconTile, _sfc_main$22 as UiInput, _sfc_main$23 as UiKbd, _sfc_main$24 as UiListMenu, _sfc_main$25 as UiListMenuItem, _sfc_main$26 as UiModal, _sfc_main$27 as UiNumpad, _sfc_main$28 as UiPageHeader, _sfc_main$29 as UiPagination, _sfc_main$30 as UiPopup, _sfc_main$31 as UiProgressBar, _sfc_main$32 as UiPrompt, _sfc_main$33 as UiRadio, _sfc_main$34 as UiSectionHeading, _sfc_main$35 as UiSegmented, _sfc_main$36 as UiSelect, _sfc_main$37 as UiSidebar, _sfc_main$38 as UiSidebarGroup, _sfc_main$39 as UiSidebarItem, _sfc_main$40 as UiSlider, _sfc_main$41 as UiSpinner, _sfc_main$42 as UiStatCard, _sfc_main$43 as UiStepper, _sfc_main$44 as UiTable, _sfc_main$45 as UiTabs, _sfc_main$46 as UiThemeToggle, _sfc_main$47 as UiToast, _sfc_main$48 as UiToggle, _sfc_main$49 as UiTooltip, componentEntries, components, createNumoriUI, iconRegistry, mdiIconNames, mdiPaths, onClickOutside, prefixed, provideIconComponent, registerIcons, resolveIconPath, useBackButton, useEventListener, useIconComponent };
180
+ export { COMPONENT_NAMES, DEFAULT_PREFIX, ICON_COMPONENT_KEY, MDI_VIEW_BOX, NumoriUI, NumoriUI as default, _sfc_main as UiAlert, _sfc_main$1 as UiAppShell, _sfc_main$2 as UiAvatar, _sfc_main$3 as UiBadge, _sfc_main$4 as UiBanner, _sfc_main$5 as UiBreadcrumb, _sfc_main$6 as UiButton, _sfc_main$7 as UiCard, _sfc_main$8 as UiCheckbox, _sfc_main$9 as UiCodeBlock, _sfc_main$10 as UiCopyField, _sfc_main$11 as UiDescriptionList, _sfc_main$12 as UiDivider, _sfc_main$13 as UiDropdown, _sfc_main$14 as UiDropdownItem, _sfc_main$15 as UiDropdownRow, _sfc_main$16 as UiDropdownSubmenu, _sfc_main$17 as UiEmptyState, _sfc_main$18 as UiFileInput, _sfc_main$19 as UiFormField, _sfc_main$20 as UiIcon, _sfc_main$21 as UiIconTile, _sfc_main$22 as UiInput, _sfc_main$23 as UiKbd, _sfc_main$24 as UiListMenu, _sfc_main$25 as UiListMenuItem, _sfc_main$26 as UiModal, _sfc_main$27 as UiNumpad, _sfc_main$28 as UiPageHeader, _sfc_main$29 as UiPagination, _sfc_main$30 as UiPopup, _sfc_main$31 as UiProgressBar, _sfc_main$32 as UiPrompt, _sfc_main$33 as UiRadio, _sfc_main$34 as UiSectionHeading, _sfc_main$35 as UiSegmented, _sfc_main$36 as UiSelect, _sfc_main$37 as UiSidebar, _sfc_main$38 as UiSidebarGroup, _sfc_main$39 as UiSidebarItem, _sfc_main$40 as UiSkeleton, _sfc_main$41 as UiSlider, _sfc_main$42 as UiSpinner, _sfc_main$43 as UiSplitPane, _sfc_main$44 as UiStatCard, _sfc_main$45 as UiStepper, _sfc_main$46 as UiTable, _sfc_main$47 as UiTabs, _sfc_main$48 as UiThemeToggle, _sfc_main$49 as UiToast, _sfc_main$50 as UiToggle, _sfc_main$51 as UiTooltip, _sfc_main$52 as UiTree, _sfc_main$53 as UiVirtualList, componentEntries, components, createNumoriUI, iconRegistry, mdiIconNames, mdiPaths, onClickOutside, prefixed, provideIconComponent, registerIcons, resolveIconPath, useBackButton, useEventListener, useIconComponent };
177
181
 
178
182
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../src/index.js"],"sourcesContent":["/**\n * Numori UI — the Numori design system as a standalone Vue 3 component library.\n *\n * This is the framework-agnostic entry point. It works in any Vue 3 app with\n * no build-tool integration at all:\n *\n * import { createApp } from 'vue'\n * import NumoriUI from 'numori-ui'\n * import './app.css' // @import \"tailwindcss\"; @import \"numori-ui/css\";\n *\n * createApp(App).use(NumoriUI).mount('#app')\n *\n * For a nicer developer experience there are two build-tool integrations that\n * register the components for you, so templates need no imports:\n *\n * - `numori-ui/nuxt` — a Nuxt module\n * - `numori-ui/vite` — a Vite plugin\n *\n * Styling is Tailwind CSS v4 and is deliberately NOT bundled as compiled CSS.\n * The components are plain utility classes, so they inherit the host app's\n * Tailwind build: one pass, one stylesheet, no duplication, and every token is\n * overridable. All the host has to do is import `numori-ui/css`, which supplies\n * the design tokens and tells Tailwind to scan this package for classes.\n */\n\nimport { components } from './components/index.js'\nimport { DEFAULT_PREFIX, prefixed } from './manifest.js'\nimport { ICON_COMPONENT_KEY } from './icons/resolver.js'\nimport { registerIcons } from './icons/registry.js'\n\nexport * from './components/index.js'\n\nexport { DEFAULT_PREFIX, COMPONENT_NAMES, componentEntries, prefixed } from './manifest.js'\nexport { registerIcons, iconRegistry, resolveIconPath } from './icons/registry.js'\nexport { provideIconComponent, useIconComponent, ICON_COMPONENT_KEY } from './icons/resolver.js'\nexport { MDI_VIEW_BOX, mdiPaths, mdiIconNames } from './icons/mdi.js'\nexport { useBackButton } from './composables/useBackButton.js'\nexport { onClickOutside } from './composables/onClickOutside.js'\nexport { useEventListener } from './composables/useEventListener.js'\n\n/**\n * Vue plugin that globally registers every Numori UI component.\n *\n * @type {import('vue').Plugin}\n *\n * @param {import('vue').App} app\n * @param {object} [options]\n * @param {string} [options.prefix='Ui']\n * Prefix for registered tags. `'Ui'` gives `<UiButton>`. Must be non-empty —\n * see the note in `install` for why.\n * @param {string[]} [options.include]\n * Register only these base names (e.g. `['Button', 'Modal']`). Note this\n * affects *global registration* only — it is not tree-shaking. To actually\n * drop unused components from the bundle, skip the plugin and import the\n * components you use directly.\n * @param {string[]} [options.exclude]\n * Skip these base names. Useful when the host has its own `<UiButton>`.\n * @param {object} [options.icons]\n * @param {import('vue').Component|string} [options.icons.component]\n * Render all icons with this component instead of the bundled inline SVGs.\n * Receives a `name` prop and must forward `class` to its root element.\n * @param {Record<string,string>} [options.icons.extra]\n * Extra icon path data to add to the bundled set, keyed by name.\n *\n * @example Default registration\n * app.use(NumoriUI)\n *\n * @example Custom prefix\n * app.use(NumoriUI, { prefix: 'N' }) // <NButton>\n *\n * @example Delegate icons to an existing icon component\n * app.use(NumoriUI, { icons: { component: MyIcon } })\n */\nexport const NumoriUI = {\n install(app, options = {}) {\n const { prefix = DEFAULT_PREFIX, include, exclude = [], icons = {} } = options\n\n // An empty prefix is rejected rather than merely discouraged. `Button`\n // renders its root as `<component :is=\"tag\">` with `tag` defaulting to\n // `'button'`, and Vue's dynamic-component lookup capitalises before\n // matching — so a globally registered `Button` would resolve `'button'`\n // back to itself and recurse until the stack blows. The failure is a bare\n // \"Maximum call stack size exceeded\" with no hint of the cause, so it is\n // much kinder to refuse up front.\n if (typeof prefix !== 'string' || prefix.length === 0) {\n throw new Error(\n '[numori-ui] `prefix` must be a non-empty string. Registering components under their ' +\n 'bare names would make <Button> resolve its own native `button` root element, ' +\n 'recursing infinitely. Use a prefix such as \"Ui\" or \"N\".',\n )\n }\n\n if (icons.extra) registerIcons(icons.extra)\n // app-level provide, so it reaches every component including those\n // teleported out of the tree (modals, select panels).\n if (icons.component) app.provide(ICON_COMPONENT_KEY, icons.component)\n\n for (const [name, component] of Object.entries(components)) {\n if (include && !include.includes(name)) continue\n if (exclude.includes(name)) continue\n app.component(prefixed(name, prefix), component)\n }\n },\n}\n\nexport default NumoriUI\n\n/**\n * Build a Vue plugin that globally registers only the components you hand it.\n *\n * `NumoriUI` is convenient but it is not tree-shakeable: to register everything\n * it has to reference everything, so `app.use(NumoriUI)` puts all 29 components\n * in your bundle (~82 kB) whether you render them or not. The `include` option\n * does not change that — it controls registration, not bundling.\n *\n * This factory is the way to get both. You import the components you want, so\n * the bundler sees exactly that set and drops the rest, and you still get global\n * tags instead of importing them into every file.\n *\n * Keys become the registered tag names verbatim, so no prefix option is needed\n * and there is no naming magic — rename in the object literal if you want a\n * different tag.\n *\n * @param {Record<string, import('vue').Component>} components\n * Map of tag name to component, e.g. `{ UiButton, UiModal }`.\n * @param {object} [options]\n * @param {object} [options.icons] Same shape as the `NumoriUI` plugin's option.\n * @returns {import('vue').Plugin}\n *\n * @example Global tags, but only two components bundled\n * import { createNumoriUI, UiButton, UiModal } from 'numori-ui'\n *\n * app.use(createNumoriUI({ UiButton, UiModal }))\n *\n * @example Registering under different tag names\n * app.use(createNumoriUI({ NButton: UiButton, NModal: UiModal }))\n */\nexport function createNumoriUI(components = {}, options = {}) {\n const { icons = {} } = options\n\n // `UiButton` renders its root as `<component :is=\"tag\">`, and Vue capitalises\n // when resolving a dynamic component. Registering it under a name that\n // case-insensitively matches one of those tags would make it resolve itself\n // and recurse until the stack overflows, reported only as \"Maximum call stack\n // size exceeded\". Cheap to catch here, miserable to debug later.\n const DYNAMIC_TAGS = ['button', 'a', 'div', 'span', 'label', 'li']\n for (const name of Object.keys(components)) {\n if (DYNAMIC_TAGS.includes(name.toLowerCase())) {\n throw new Error(\n `[numori-ui] Cannot register a component as \"${name}\": it collides with the native <${name.toLowerCase()}> ` +\n 'element that UiButton can render as its root, which would recurse infinitely. ' +\n `Use a prefixed name such as \"Ui${name}\".`,\n )\n }\n }\n\n return {\n install(app) {\n if (icons.extra) registerIcons(icons.extra)\n if (icons.component) app.provide(ICON_COMPONENT_KEY, icons.component)\n\n for (const [name, component] of Object.entries(components)) {\n app.component(name, component)\n }\n },\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyEA,IAAa,WAAW,EACtB,QAAQ,KAAK,UAAU,CAAC,GAAG;CACzB,MAAM,EAAE,SAAA,MAAyB,SAAS,UAAU,CAAC,GAAG,QAAQ,CAAC,MAAM;CASvE,IAAI,OAAO,WAAW,YAAY,OAAO,WAAW,GAClD,MAAM,IAAI,MACR,8NAGF;CAGF,IAAI,MAAM,OAAO,cAAc,MAAM,KAAK;CAG1C,IAAI,MAAM,WAAW,IAAI,QAAQ,oBAAoB,MAAM,SAAS;CAEpE,KAAK,MAAM,CAAC,MAAM,cAAc,OAAO,QAAQ,UAAU,GAAG;EAC1D,IAAI,WAAW,CAAC,QAAQ,SAAS,IAAI,GAAG;EACxC,IAAI,QAAQ,SAAS,IAAI,GAAG;EAC5B,IAAI,UAAU,SAAS,MAAM,MAAM,GAAG,SAAS;CACjD;AACF,EACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCA,SAAgB,eAAe,aAAa,CAAC,GAAG,UAAU,CAAC,GAAG;CAC5D,MAAM,EAAE,QAAQ,CAAC,MAAM;CAOvB,MAAM,eAAe;EAAC;EAAU;EAAK;EAAO;EAAQ;EAAS;CAAI;CACjE,KAAK,MAAM,QAAQ,OAAO,KAAK,UAAU,GACvC,IAAI,aAAa,SAAS,KAAK,YAAY,CAAC,GAC1C,MAAM,IAAI,MACR,+CAA+C,KAAK,kCAAkC,KAAK,YAAY,EAAE,iHAErE,KAAK,GAC3C;CAIJ,OAAO,EACL,QAAQ,KAAK;EACX,IAAI,MAAM,OAAO,cAAc,MAAM,KAAK;EAC1C,IAAI,MAAM,WAAW,IAAI,QAAQ,oBAAoB,MAAM,SAAS;EAEpE,KAAK,MAAM,CAAC,MAAM,cAAc,OAAO,QAAQ,UAAU,GACvD,IAAI,UAAU,MAAM,SAAS;CAEjC,EACF;AACF"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../src/index.js"],"sourcesContent":["/**\n * Numori UI — the Numori design system as a standalone Vue 3 component library.\n *\n * This is the framework-agnostic entry point. It works in any Vue 3 app with\n * no build-tool integration at all:\n *\n * import { createApp } from 'vue'\n * import NumoriUI from 'numori-ui'\n * import './app.css' // @import \"tailwindcss\"; @import \"numori-ui/css\";\n *\n * createApp(App).use(NumoriUI).mount('#app')\n *\n * For a nicer developer experience there are two build-tool integrations that\n * register the components for you, so templates need no imports:\n *\n * - `numori-ui/nuxt` — a Nuxt module\n * - `numori-ui/vite` — a Vite plugin\n *\n * Styling is Tailwind CSS v4 and is deliberately NOT bundled as compiled CSS.\n * The components are plain utility classes, so they inherit the host app's\n * Tailwind build: one pass, one stylesheet, no duplication, and every token is\n * overridable. All the host has to do is import `numori-ui/css`, which supplies\n * the design tokens and tells Tailwind to scan this package for classes.\n */\n\nimport { components } from './components/index.js'\nimport { DEFAULT_PREFIX, prefixed } from './manifest.js'\nimport { ICON_COMPONENT_KEY } from './icons/resolver.js'\nimport { registerIcons } from './icons/registry.js'\n\nexport * from './components/index.js'\n\nexport { DEFAULT_PREFIX, COMPONENT_NAMES, componentEntries, prefixed } from './manifest.js'\nexport { registerIcons, iconRegistry, resolveIconPath } from './icons/registry.js'\nexport { provideIconComponent, useIconComponent, ICON_COMPONENT_KEY } from './icons/resolver.js'\nexport { MDI_VIEW_BOX, mdiPaths, mdiIconNames } from './icons/mdi.js'\nexport { useBackButton } from './composables/useBackButton.js'\nexport { onClickOutside } from './composables/onClickOutside.js'\nexport { useEventListener } from './composables/useEventListener.js'\n\n/**\n * Vue plugin that globally registers every Numori UI component.\n *\n * @type {import('vue').Plugin}\n *\n * @param {import('vue').App} app\n * @param {object} [options]\n * @param {string} [options.prefix='Ui']\n * Prefix for registered tags. `'Ui'` gives `<UiButton>`. Must be non-empty —\n * see the note in `install` for why.\n * @param {string[]} [options.include]\n * Register only these base names (e.g. `['Button', 'Modal']`). Note this\n * affects *global registration* only — it is not tree-shaking. To actually\n * drop unused components from the bundle, skip the plugin and import the\n * components you use directly.\n * @param {string[]} [options.exclude]\n * Skip these base names. Useful when the host has its own `<UiButton>`.\n * @param {object} [options.icons]\n * @param {import('vue').Component|string} [options.icons.component]\n * Render all icons with this component instead of the bundled inline SVGs.\n * Receives a `name` prop and must forward `class` to its root element.\n * @param {Record<string,string>} [options.icons.extra]\n * Extra icon path data to add to the bundled set, keyed by name.\n *\n * @example Default registration\n * app.use(NumoriUI)\n *\n * @example Custom prefix\n * app.use(NumoriUI, { prefix: 'N' }) // <NButton>\n *\n * @example Delegate icons to an existing icon component\n * app.use(NumoriUI, { icons: { component: MyIcon } })\n */\nexport const NumoriUI = {\n install(app, options = {}) {\n const { prefix = DEFAULT_PREFIX, include, exclude = [], icons = {} } = options\n\n // An empty prefix is rejected rather than merely discouraged. `Button`\n // renders its root as `<component :is=\"tag\">` with `tag` defaulting to\n // `'button'`, and Vue's dynamic-component lookup capitalises before\n // matching — so a globally registered `Button` would resolve `'button'`\n // back to itself and recurse until the stack blows. The failure is a bare\n // \"Maximum call stack size exceeded\" with no hint of the cause, so it is\n // much kinder to refuse up front.\n if (typeof prefix !== 'string' || prefix.length === 0) {\n throw new Error(\n '[numori-ui] `prefix` must be a non-empty string. Registering components under their ' +\n 'bare names would make <Button> resolve its own native `button` root element, ' +\n 'recursing infinitely. Use a prefix such as \"Ui\" or \"N\".',\n )\n }\n\n if (icons.extra) registerIcons(icons.extra)\n // app-level provide, so it reaches every component including those\n // teleported out of the tree (modals, select panels).\n if (icons.component) app.provide(ICON_COMPONENT_KEY, icons.component)\n\n for (const [name, component] of Object.entries(components)) {\n if (include && !include.includes(name)) continue\n if (exclude.includes(name)) continue\n app.component(prefixed(name, prefix), component)\n }\n },\n}\n\nexport default NumoriUI\n\n/**\n * Build a Vue plugin that globally registers only the components you hand it.\n *\n * `NumoriUI` is convenient but it is not tree-shakeable: to register everything\n * it has to reference everything, so `app.use(NumoriUI)` puts all 29 components\n * in your bundle (~82 kB) whether you render them or not. The `include` option\n * does not change that — it controls registration, not bundling.\n *\n * This factory is the way to get both. You import the components you want, so\n * the bundler sees exactly that set and drops the rest, and you still get global\n * tags instead of importing them into every file.\n *\n * Keys become the registered tag names verbatim, so no prefix option is needed\n * and there is no naming magic — rename in the object literal if you want a\n * different tag.\n *\n * @param {Record<string, import('vue').Component>} components\n * Map of tag name to component, e.g. `{ UiButton, UiModal }`.\n * @param {object} [options]\n * @param {object} [options.icons] Same shape as the `NumoriUI` plugin's option.\n * @returns {import('vue').Plugin}\n *\n * @example Global tags, but only two components bundled\n * import { createNumoriUI, UiButton, UiModal } from 'numori-ui'\n *\n * app.use(createNumoriUI({ UiButton, UiModal }))\n *\n * @example Registering under different tag names\n * app.use(createNumoriUI({ NButton: UiButton, NModal: UiModal }))\n */\nexport function createNumoriUI(components = {}, options = {}) {\n const { icons = {} } = options\n\n // `UiButton` renders its root as `<component :is=\"tag\">`, and Vue capitalises\n // when resolving a dynamic component. Registering it under a name that\n // case-insensitively matches one of those tags would make it resolve itself\n // and recurse until the stack overflows, reported only as \"Maximum call stack\n // size exceeded\". Cheap to catch here, miserable to debug later.\n const DYNAMIC_TAGS = ['button', 'a', 'div', 'span', 'label', 'li']\n for (const name of Object.keys(components)) {\n if (DYNAMIC_TAGS.includes(name.toLowerCase())) {\n throw new Error(\n `[numori-ui] Cannot register a component as \"${name}\": it collides with the native <${name.toLowerCase()}> ` +\n 'element that UiButton can render as its root, which would recurse infinitely. ' +\n `Use a prefixed name such as \"Ui${name}\".`,\n )\n }\n }\n\n return {\n install(app) {\n if (icons.extra) registerIcons(icons.extra)\n if (icons.component) app.provide(ICON_COMPONENT_KEY, icons.component)\n\n for (const [name, component] of Object.entries(components)) {\n app.component(name, component)\n }\n },\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyEA,IAAa,WAAW,EACtB,QAAQ,KAAK,UAAU,CAAC,GAAG;CACzB,MAAM,EAAE,SAAA,MAAyB,SAAS,UAAU,CAAC,GAAG,QAAQ,CAAC,MAAM;CASvE,IAAI,OAAO,WAAW,YAAY,OAAO,WAAW,GAClD,MAAM,IAAI,MACR,8NAGF;CAGF,IAAI,MAAM,OAAO,cAAc,MAAM,KAAK;CAG1C,IAAI,MAAM,WAAW,IAAI,QAAQ,oBAAoB,MAAM,SAAS;CAEpE,KAAK,MAAM,CAAC,MAAM,cAAc,OAAO,QAAQ,UAAU,GAAG;EAC1D,IAAI,WAAW,CAAC,QAAQ,SAAS,IAAI,GAAG;EACxC,IAAI,QAAQ,SAAS,IAAI,GAAG;EAC5B,IAAI,UAAU,SAAS,MAAM,MAAM,GAAG,SAAS;CACjD;AACF,EACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCA,SAAgB,eAAe,aAAa,CAAC,GAAG,UAAU,CAAC,GAAG;CAC5D,MAAM,EAAE,QAAQ,CAAC,MAAM;CAOvB,MAAM,eAAe;EAAC;EAAU;EAAK;EAAO;EAAQ;EAAS;CAAI;CACjE,KAAK,MAAM,QAAQ,OAAO,KAAK,UAAU,GACvC,IAAI,aAAa,SAAS,KAAK,YAAY,CAAC,GAC1C,MAAM,IAAI,MACR,+CAA+C,KAAK,kCAAkC,KAAK,YAAY,EAAE,iHAErE,KAAK,GAC3C;CAIJ,OAAO,EACL,QAAQ,KAAK;EACX,IAAI,MAAM,OAAO,cAAc,MAAM,KAAK;EAC1C,IAAI,MAAM,WAAW,IAAI,QAAQ,oBAAoB,MAAM,SAAS;EAEpE,KAAK,MAAM,CAAC,MAAM,cAAc,OAAO,QAAQ,UAAU,GACvD,IAAI,UAAU,MAAM,SAAS;CAEjC,EACF;AACF"}