numori-ui 0.3.0 → 0.4.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/CHANGELOG.md +82 -0
- package/README.md +23 -20
- package/dist/components/Banner.js +29 -32
- package/dist/components/Banner.js.map +1 -1
- package/dist/components/Button.js +10 -19
- package/dist/components/Button.js.map +1 -1
- package/dist/components/Card.js +15 -9
- package/dist/components/Card.js.map +1 -1
- package/dist/components/Checkbox.js +2 -7
- package/dist/components/Checkbox.js.map +1 -1
- package/dist/components/Dropdown.js +10 -3
- package/dist/components/Dropdown.js.map +1 -1
- package/dist/components/DropdownSubmenu.js +5 -3
- package/dist/components/DropdownSubmenu.js.map +1 -1
- package/dist/components/FileInput.js +12 -4
- package/dist/components/FileInput.js.map +1 -1
- package/dist/components/IconTile.js +5 -9
- package/dist/components/IconTile.js.map +1 -1
- package/dist/components/Input.js +6 -6
- package/dist/components/Input.js.map +1 -1
- package/dist/components/ListMenuItem.js +38 -31
- package/dist/components/ListMenuItem.js.map +1 -1
- package/dist/components/Numpad.js +4 -4
- package/dist/components/Numpad.js.map +1 -1
- package/dist/components/Popup.js +9 -3
- package/dist/components/Popup.js.map +1 -1
- package/dist/components/Radio.js +2 -7
- package/dist/components/Radio.js.map +1 -1
- package/dist/components/Segmented.js +100 -26
- package/dist/components/Segmented.js.map +1 -1
- package/dist/components/Select.js +6 -4
- package/dist/components/Select.js.map +1 -1
- package/dist/components/Table.js +174 -0
- package/dist/components/Table.js.map +1 -0
- package/dist/components/index.js +65 -67
- package/dist/components/index.js.map +1 -1
- package/dist/composables/useMergedClasses.js +52 -0
- package/dist/composables/useMergedClasses.js.map +1 -0
- package/dist/icons/mdi.js +1 -0
- package/dist/icons/mdi.js.map +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.js +34 -35
- package/dist/index.js.map +1 -1
- package/dist/internal/controlSizes.js +21 -0
- package/dist/internal/controlSizes.js.map +1 -0
- package/dist/internal/menu.js +20 -0
- package/dist/internal/menu.js.map +1 -0
- package/dist/manifest.js +1 -2
- package/dist/manifest.js.map +1 -1
- package/package.json +2 -1
- package/src/components/Banner.vue +20 -9
- package/src/components/Button.vue +12 -19
- package/src/components/Card.vue +11 -12
- package/src/components/Checkbox.vue +2 -10
- package/src/components/Dropdown.vue +14 -2
- package/src/components/DropdownSubmenu.vue +4 -2
- package/src/components/FileInput.vue +19 -4
- package/src/components/IconTile.vue +4 -9
- package/src/components/Input.vue +6 -6
- package/src/components/ListMenuItem.vue +21 -5
- package/src/components/Numpad.vue +7 -4
- package/src/components/Popup.vue +6 -2
- package/src/components/Radio.vue +2 -10
- package/src/components/Segmented.vue +108 -38
- package/src/components/Select.vue +11 -2
- package/src/components/Table.vue +193 -0
- package/src/components/index.js +3 -6
- package/src/composables/useMergedClasses.js +49 -0
- package/src/icons/mdi.js +1 -0
- package/src/internal/controlSizes.js +17 -0
- package/src/internal/menu.js +16 -0
- package/src/manifest.js +1 -2
- package/dist/components/ButtonsGroup.js +0 -153
- package/dist/components/ButtonsGroup.js.map +0 -1
- package/dist/components/ComparisonTable.js +0 -152
- package/dist/components/ComparisonTable.js.map +0 -1
- package/src/components/ButtonsGroup.vue +0 -140
- package/src/components/ComparisonTable.vue +0 -141
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import _sfc_main$1 from "../icons/Icon.js";
|
|
2
|
+
import { Fragment, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, normalizeClass, openBlock, renderList, renderSlot, toDisplayString } from "vue";
|
|
3
|
+
//#region src/components/Table.vue
|
|
4
|
+
var _hoisted_1 = { class: "overflow-x-auto rounded-2xl border border-gray-200 dark:border-gray-700" };
|
|
5
|
+
var _hoisted_2 = { class: "w-full border-collapse text-sm" };
|
|
6
|
+
var _hoisted_3 = { class: "border-b border-gray-200 dark:border-gray-700" };
|
|
7
|
+
var _sfc_main = {
|
|
8
|
+
__name: "Table",
|
|
9
|
+
props: {
|
|
10
|
+
/**
|
|
11
|
+
* Column definitions, left to right. Each is
|
|
12
|
+
* `{ key, label?, align?, header?, highlight?, icon?, width? }`:
|
|
13
|
+
* - `key` — the row field this column reads.
|
|
14
|
+
* - `label` — the column heading.
|
|
15
|
+
* - `align` — `'left'` (default) | `'center'` | `'right'`.
|
|
16
|
+
* - `header` — render this column's cells as row headers (`<th scope="row">`).
|
|
17
|
+
* - `highlight` — accent-tint the column (the featured column in a comparison).
|
|
18
|
+
* - `icon` — MDI icon shown before each value in the column.
|
|
19
|
+
* - `width` — optional width utility class, e.g. `'w-2/5'`.
|
|
20
|
+
* @type {Array<{ key: string, label?: string, align?: string, header?: boolean, highlight?: boolean, icon?: string, width?: string }>}
|
|
21
|
+
*/
|
|
22
|
+
columns: {
|
|
23
|
+
type: Array,
|
|
24
|
+
required: true
|
|
25
|
+
},
|
|
26
|
+
/**
|
|
27
|
+
* Row objects, each keyed by the column `key`s.
|
|
28
|
+
* @type {Array<Record<string, unknown>>}
|
|
29
|
+
*/
|
|
30
|
+
rows: {
|
|
31
|
+
type: Array,
|
|
32
|
+
required: true
|
|
33
|
+
},
|
|
34
|
+
/**
|
|
35
|
+
* Table caption. Rendered as a real `<caption>` for accessibility; visible by
|
|
36
|
+
* default, or visually hidden with `hideCaption`.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @default ''
|
|
39
|
+
*/
|
|
40
|
+
caption: {
|
|
41
|
+
type: String,
|
|
42
|
+
default: ""
|
|
43
|
+
},
|
|
44
|
+
/**
|
|
45
|
+
* Keep the caption for assistive technology but hide it visually.
|
|
46
|
+
* @type {boolean}
|
|
47
|
+
* @default false
|
|
48
|
+
*/
|
|
49
|
+
hideCaption: {
|
|
50
|
+
type: Boolean,
|
|
51
|
+
default: false
|
|
52
|
+
},
|
|
53
|
+
/**
|
|
54
|
+
* Row field used as the `v-for` key; falls back to the row index.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @default 'key'
|
|
57
|
+
*/
|
|
58
|
+
rowKey: {
|
|
59
|
+
type: String,
|
|
60
|
+
default: "key"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
setup(__props) {
|
|
64
|
+
/**
|
|
65
|
+
* UiTable — a data table with sensible defaults, and a built-in comparison mode.
|
|
66
|
+
*
|
|
67
|
+
* Drive it with `columns` and `rows`: each column names a `key`, and each row
|
|
68
|
+
* is an object keyed by those column keys. It renders a real, accessible
|
|
69
|
+
* `<table>` (`<caption>`, `scope="col"` headers) that scrolls horizontally on
|
|
70
|
+
* narrow screens rather than crushing its columns.
|
|
71
|
+
*
|
|
72
|
+
* **Comparison** is just a configuration, not a separate component: mark the
|
|
73
|
+
* label column `header: true` (so it renders as a `<th scope="row">`), give the
|
|
74
|
+
* column you want to feature `highlight: true` (accent tint), and hand each
|
|
75
|
+
* value column an `icon` (e.g. a tick for the highlighted column, a dash for
|
|
76
|
+
* the others). That reproduces the "us vs. the usual" table without a bespoke
|
|
77
|
+
* component. For full control of a cell, use the `#cell` scoped slot.
|
|
78
|
+
*
|
|
79
|
+
* @example A plain data table
|
|
80
|
+
* <UiTable
|
|
81
|
+
* caption="Team"
|
|
82
|
+
* :columns="[
|
|
83
|
+
* { key: 'name', label: 'Name' },
|
|
84
|
+
* { key: 'role', label: 'Role' },
|
|
85
|
+
* { key: 'commits', label: 'Commits', align: 'right' },
|
|
86
|
+
* ]"
|
|
87
|
+
* :rows="[
|
|
88
|
+
* { name: 'Ada Lovelace', role: 'Engineer', commits: 128 },
|
|
89
|
+
* { name: 'Grace Hopper', role: 'Lead', commits: 342 },
|
|
90
|
+
* ]"
|
|
91
|
+
* />
|
|
92
|
+
*
|
|
93
|
+
* @example A comparison table (the old UiComparisonTable, now a configuration)
|
|
94
|
+
* <UiTable
|
|
95
|
+
* caption="How Numori compares"
|
|
96
|
+
* :columns="[
|
|
97
|
+
* { key: 'feature', label: 'Feature', header: true },
|
|
98
|
+
* { key: 'numori', label: 'Numori', highlight: true, icon: 'mdi:check-circle' },
|
|
99
|
+
* { key: 'usual', label: 'The usual', icon: 'mdi:minus-circle-outline' },
|
|
100
|
+
* ]"
|
|
101
|
+
* :rows="[
|
|
102
|
+
* { feature: 'Open source', numori: 'Entire ecosystem', usual: 'The client, sometimes' },
|
|
103
|
+
* ]"
|
|
104
|
+
* />
|
|
105
|
+
*
|
|
106
|
+
* @example Custom cell rendering
|
|
107
|
+
* <UiTable :columns="cols" :rows="rows">
|
|
108
|
+
* <template #cell="{ column, value }">
|
|
109
|
+
* <UiBadge v-if="column.key === 'status'" :color="value === 'active' ? 'green' : 'gray'">
|
|
110
|
+
* {{ value }}
|
|
111
|
+
* </UiBadge>
|
|
112
|
+
* <template v-else>{{ value }}</template>
|
|
113
|
+
* </template>
|
|
114
|
+
* </UiTable>
|
|
115
|
+
*
|
|
116
|
+
* @slot caption — Rich caption content (overrides the `caption` prop).
|
|
117
|
+
* @slot cell — Custom cell content. Scope: `{ row, column, value }`.
|
|
118
|
+
*/
|
|
119
|
+
const alignClass = (align) => align === "right" ? "text-right" : align === "center" ? "text-center" : "text-left";
|
|
120
|
+
return (_ctx, _cache) => {
|
|
121
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("table", _hoisted_2, [
|
|
122
|
+
__props.caption || _ctx.$slots.caption ? (openBlock(), createElementBlock("caption", {
|
|
123
|
+
key: 0,
|
|
124
|
+
class: normalizeClass(__props.hideCaption ? "sr-only" : "caption-top px-5 py-4 text-left text-sm font-semibold text-gray-900 dark:text-gray-100")
|
|
125
|
+
}, [renderSlot(_ctx.$slots, "caption", {}, () => [createTextVNode(toDisplayString(__props.caption), 1)])], 2)) : createCommentVNode("", true),
|
|
126
|
+
createElementVNode("thead", null, [createElementVNode("tr", _hoisted_3, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.columns, (col) => {
|
|
127
|
+
return openBlock(), createElementBlock("th", {
|
|
128
|
+
key: col.key,
|
|
129
|
+
scope: "col",
|
|
130
|
+
class: normalizeClass(["px-5 py-4 font-semibold", [
|
|
131
|
+
alignClass(col.align),
|
|
132
|
+
col.highlight ? "bg-primary-50 text-primary-800 dark:bg-primary-400/10 dark:text-primary-200" : "text-gray-600 dark:text-gray-300",
|
|
133
|
+
col.width
|
|
134
|
+
]])
|
|
135
|
+
}, [col.label ? (openBlock(), createElementBlock("span", {
|
|
136
|
+
key: 0,
|
|
137
|
+
class: normalizeClass(col.header && !col.label ? "sr-only" : "")
|
|
138
|
+
}, toDisplayString(col.label), 3)) : createCommentVNode("", true)], 2);
|
|
139
|
+
}), 128))])]),
|
|
140
|
+
createElementVNode("tbody", null, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.rows, (row, index) => {
|
|
141
|
+
return openBlock(), createElementBlock("tr", {
|
|
142
|
+
key: row[__props.rowKey] ?? index,
|
|
143
|
+
class: "border-b border-gray-100 transition-colors duration-200 last:border-0 hover:bg-gray-50 dark:border-gray-800 dark:hover:bg-gray-900/60"
|
|
144
|
+
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.columns, (col) => {
|
|
145
|
+
return openBlock(), createElementBlock(Fragment, { key: col.key }, [col.header ? (openBlock(), createElementBlock("th", {
|
|
146
|
+
key: 0,
|
|
147
|
+
scope: "row",
|
|
148
|
+
class: normalizeClass(["px-5 py-4 font-medium text-gray-900 dark:text-gray-100", alignClass(col.align)])
|
|
149
|
+
}, [renderSlot(_ctx.$slots, "cell", {
|
|
150
|
+
row,
|
|
151
|
+
column: col,
|
|
152
|
+
value: row[col.key]
|
|
153
|
+
}, () => [createTextVNode(toDisplayString(row[col.key]), 1)])], 2)) : (openBlock(), createElementBlock("td", {
|
|
154
|
+
key: 1,
|
|
155
|
+
class: normalizeClass(["px-5 py-4", [alignClass(col.align), col.highlight ? "bg-primary-50/50 text-gray-700 dark:bg-primary-400/5 dark:text-gray-200" : "text-gray-600 dark:text-gray-400"]])
|
|
156
|
+
}, [renderSlot(_ctx.$slots, "cell", {
|
|
157
|
+
row,
|
|
158
|
+
column: col,
|
|
159
|
+
value: row[col.key]
|
|
160
|
+
}, () => [createElementVNode("span", { class: normalizeClass(col.icon ? "flex items-start gap-2" : "") }, [col.icon ? (openBlock(), createBlock(_sfc_main$1, {
|
|
161
|
+
key: 0,
|
|
162
|
+
name: col.icon,
|
|
163
|
+
class: normalizeClass(["mt-0.5 size-4 shrink-0", col.highlight ? "text-success-600 dark:text-success-400" : "text-gray-400 dark:text-gray-500"])
|
|
164
|
+
}, null, 8, ["name", "class"])) : createCommentVNode("", true), createTextVNode(" " + toDisplayString(row[col.key]), 1)], 2)])], 2))], 64);
|
|
165
|
+
}), 128))]);
|
|
166
|
+
}), 128))])
|
|
167
|
+
])]);
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
//#endregion
|
|
172
|
+
export { _sfc_main as default };
|
|
173
|
+
|
|
174
|
+
//# sourceMappingURL=Table.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Table.js","names":["$slots"],"sources":["../../src/components/Table.vue"],"sourcesContent":["<template>\n <div class=\"overflow-x-auto rounded-2xl border border-gray-200 dark:border-gray-700\">\n <table class=\"w-full border-collapse text-sm\">\n <caption\n v-if=\"caption || $slots.caption\"\n :class=\"\n hideCaption\n ? 'sr-only'\n : 'caption-top px-5 py-4 text-left text-sm font-semibold text-gray-900 dark:text-gray-100'\n \"\n >\n <slot name=\"caption\">{{ caption }}</slot>\n </caption>\n\n <thead>\n <tr class=\"border-b border-gray-200 dark:border-gray-700\">\n <th\n v-for=\"col in columns\"\n :key=\"col.key\"\n scope=\"col\"\n class=\"px-5 py-4 font-semibold\"\n :class=\"[\n alignClass(col.align),\n col.highlight\n ? 'bg-primary-50 text-primary-800 dark:bg-primary-400/10 dark:text-primary-200'\n : 'text-gray-600 dark:text-gray-300',\n col.width,\n ]\"\n >\n <span v-if=\"col.label\" :class=\"col.header && !col.label ? 'sr-only' : ''\">{{\n col.label\n }}</span>\n </th>\n </tr>\n </thead>\n\n <tbody>\n <tr\n v-for=\"(row, index) in rows\"\n :key=\"row[rowKey] ?? index\"\n class=\"border-b border-gray-100 transition-colors duration-200 last:border-0 hover:bg-gray-50 dark:border-gray-800 dark:hover:bg-gray-900/60\"\n >\n <template v-for=\"col in columns\" :key=\"col.key\">\n <!-- Header columns render as row headers (<th scope=\"row\">), e.g. the\n feature column of a comparison table. -->\n <th\n v-if=\"col.header\"\n scope=\"row\"\n class=\"px-5 py-4 font-medium text-gray-900 dark:text-gray-100\"\n :class=\"alignClass(col.align)\"\n >\n <slot name=\"cell\" :row=\"row\" :column=\"col\" :value=\"row[col.key]\">\n {{ row[col.key] }}\n </slot>\n </th>\n <td\n v-else\n class=\"px-5 py-4\"\n :class=\"[\n alignClass(col.align),\n col.highlight\n ? 'bg-primary-50/50 text-gray-700 dark:bg-primary-400/5 dark:text-gray-200'\n : 'text-gray-600 dark:text-gray-400',\n ]\"\n >\n <slot name=\"cell\" :row=\"row\" :column=\"col\" :value=\"row[col.key]\">\n <span :class=\"col.icon ? 'flex items-start gap-2' : ''\">\n <UiIcon\n v-if=\"col.icon\"\n :name=\"col.icon\"\n class=\"mt-0.5 size-4 shrink-0\"\n :class=\"\n col.highlight\n ? 'text-success-600 dark:text-success-400'\n : 'text-gray-400 dark:text-gray-500'\n \"\n />\n {{ row[col.key] }}\n </span>\n </slot>\n </td>\n </template>\n </tr>\n </tbody>\n </table>\n </div>\n</template>\n\n<script setup>\n/**\n * UiTable — a data table with sensible defaults, and a built-in comparison mode.\n *\n * Drive it with `columns` and `rows`: each column names a `key`, and each row\n * is an object keyed by those column keys. It renders a real, accessible\n * `<table>` (`<caption>`, `scope=\"col\"` headers) that scrolls horizontally on\n * narrow screens rather than crushing its columns.\n *\n * **Comparison** is just a configuration, not a separate component: mark the\n * label column `header: true` (so it renders as a `<th scope=\"row\">`), give the\n * column you want to feature `highlight: true` (accent tint), and hand each\n * value column an `icon` (e.g. a tick for the highlighted column, a dash for\n * the others). That reproduces the \"us vs. the usual\" table without a bespoke\n * component. For full control of a cell, use the `#cell` scoped slot.\n *\n * @example A plain data table\n * <UiTable\n * caption=\"Team\"\n * :columns=\"[\n * { key: 'name', label: 'Name' },\n * { key: 'role', label: 'Role' },\n * { key: 'commits', label: 'Commits', align: 'right' },\n * ]\"\n * :rows=\"[\n * { name: 'Ada Lovelace', role: 'Engineer', commits: 128 },\n * { name: 'Grace Hopper', role: 'Lead', commits: 342 },\n * ]\"\n * />\n *\n * @example A comparison table (the old UiComparisonTable, now a configuration)\n * <UiTable\n * caption=\"How Numori compares\"\n * :columns=\"[\n * { key: 'feature', label: 'Feature', header: true },\n * { key: 'numori', label: 'Numori', highlight: true, icon: 'mdi:check-circle' },\n * { key: 'usual', label: 'The usual', icon: 'mdi:minus-circle-outline' },\n * ]\"\n * :rows=\"[\n * { feature: 'Open source', numori: 'Entire ecosystem', usual: 'The client, sometimes' },\n * ]\"\n * />\n *\n * @example Custom cell rendering\n * <UiTable :columns=\"cols\" :rows=\"rows\">\n * <template #cell=\"{ column, value }\">\n * <UiBadge v-if=\"column.key === 'status'\" :color=\"value === 'active' ? 'green' : 'gray'\">\n * {{ value }}\n * </UiBadge>\n * <template v-else>{{ value }}</template>\n * </template>\n * </UiTable>\n *\n * @slot caption — Rich caption content (overrides the `caption` prop).\n * @slot cell — Custom cell content. Scope: `{ row, column, value }`.\n */\nimport UiIcon from '../icons/Icon.vue'\n\ndefineProps({\n /**\n * Column definitions, left to right. Each is\n * `{ key, label?, align?, header?, highlight?, icon?, width? }`:\n * - `key` — the row field this column reads.\n * - `label` — the column heading.\n * - `align` — `'left'` (default) | `'center'` | `'right'`.\n * - `header` — render this column's cells as row headers (`<th scope=\"row\">`).\n * - `highlight` — accent-tint the column (the featured column in a comparison).\n * - `icon` — MDI icon shown before each value in the column.\n * - `width` — optional width utility class, e.g. `'w-2/5'`.\n * @type {Array<{ key: string, label?: string, align?: string, header?: boolean, highlight?: boolean, icon?: string, width?: string }>}\n */\n columns: { type: Array, required: true },\n\n /**\n * Row objects, each keyed by the column `key`s.\n * @type {Array<Record<string, unknown>>}\n */\n rows: { type: Array, required: true },\n\n /**\n * Table caption. Rendered as a real `<caption>` for accessibility; visible by\n * default, or visually hidden with `hideCaption`.\n * @type {string}\n * @default ''\n */\n caption: { type: String, default: '' },\n\n /**\n * Keep the caption for assistive technology but hide it visually.\n * @type {boolean}\n * @default false\n */\n hideCaption: { type: Boolean, default: false },\n\n /**\n * Row field used as the `v-for` key; falls back to the row index.\n * @type {string}\n * @default 'key'\n */\n rowKey: { type: String, default: 'key' },\n})\n\nconst alignClass = (align) =>\n align === 'right' ? 'text-right' : align === 'center' ? 'text-center' : 'text-left'\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8LA,MAAM,cAAc,UAClB,UAAU,UAAU,eAAe,UAAU,WAAW,gBAAgB;;GA9LxE,OAAA,UAAA,GAAA,mBAoFM,OApFN,YAoFM,CAnFJ,mBAkFQ,SAlFR,YAkFQ;IAhFE,QAAA,WAAWA,KAAAA,OAAO,WAD1B,UAAA,GAAA,mBASU,WAAA;;KAPP,OAAK,eAAa,QAAA,cAAA,YAAA,wFAAA;IAMnB,GAAA,CAAA,WAAyC,KAAA,QAAA,WAAA,CAAA,SAAA,CAAjB,gBAAA,gBAAA,QAAA,OAAO,GAAA,CAAA,CAAA,CAAA,CAAA,GAAA,CAAA,KAAA,mBAAA,IAAA,IAAA;IAGjC,mBAoBQ,SAAA,MAAA,CAnBN,mBAkBK,MAlBL,YAkBK,EAjBH,UAAA,IAAA,GAAA,mBAgBK,UAAA,MAAA,WAfW,QAAA,UAAP,QAAG;KADZ,OAAA,UAAA,GAAA,mBAgBK,MAAA;MAdF,KAAK,IAAI;MACV,OAAM;MACN,OAAK,eAAA,CAAC,2BAAyB;OACP,WAAW,IAAI,KAAK;OAAiB,IAAI,YAAA,gFAAA;OAA8K,IAAI;;KAQvO,GAAA,CAAA,IAAI,SAAhB,UAAA,GAAA,mBAES,QAAA;;MAFe,OAAK,eAAE,IAAI,UAAM,CAAK,IAAI,QAAK,YAAA,EAAA;KACrD,GAAA,gBAAA,IAAI,KAAK,GAAA,CAAA,KAAA,mBAAA,IAAA,IAAA,CAAA,GAAA,CAAA;;IAMjB,mBA+CQ,SAAA,MAAA,EA9CN,UAAA,IAAA,GAAA,mBA6CK,UAAA,MAAA,WA5CoB,QAAA,OAAf,KAAK,UAAK;KADpB,OAAA,UAAA,GAAA,mBA6CK,MAAA;MA3CF,KAAK,IAAI,QAAA,WAAW;MACrB,OAAM;KAEN,GAAA,EAAA,UAAA,IAAA,GAAA,mBAuCW,UAAA,MAAA,WAvCa,QAAA,UAAP,QAAG;MAAmB,OAAA,UAAA,GAAA,mBAAA,UAAA,EAAA,KAAA,IAAI,IAAA,GAAA,CAIjC,IAAI,UADZ,UAAA,GAAA,mBASK,MAAA;;OAPH,OAAM;OACN,OAAK,eAAA,CAAC,0DACE,WAAW,IAAI,KAAK,CAAA,CAAA;MAE5B,GAAA,CAAA,WAEO,KAAA,QAAA,QAAA;OAFiB;OAAM,QAAQ;OAAM,OAAO,IAAI,IAAI;MAA3D,SAEO,CADF,gBAAA,gBAAA,IAAI,IAAI,IAAG,GAAA,CAAA,CAAA,CAAA,CAAA,GAAA,CAAA,MAGlB,UAAA,GAAA,mBAyBK,MAAA;;OAvBH,OAAK,eAAA,CAAC,aAAW,CACS,WAAW,IAAI,KAAK,GAAmB,IAAI,YAAA,4EAAA,kCAAA,CAAA,CAAA;MAOrE,GAAA,CAAA,WAcO,KAAA,QAAA,QAAA;OAdiB;OAAM,QAAQ;OAAM,OAAO,IAAI,IAAI;MAA3D,SAcO,CAbL,mBAYO,QAAA,EAZA,OAAK,eAAE,IAAI,OAAI,2BAAA,EAAA,EAAA,GAAA,CAEZ,IAAI,QADZ,UAAA,GAAA,YASE,aAAA;;OAPC,MAAM,IAAI;OACX,OAAK,eAAA,CAAC,0BACyB,IAAI,YAAA,2CAAA,kCAAA,CAAA;MAKnC,GAAA,MAAA,GAAA,CAAA,QAAA,OAAA,CAAA,KAAA,mBAAA,IAAA,IAAA,GAAA,gBAAA,MACF,gBAAG,IAAI,IAAI,IAAG,GAAA,CAAA,CAAA,GAAA,CAAA,CAAA,CAAA,CAAA,GAAA,CAAA,EAAA,GAAA,EAAA"}
|
package/dist/components/index.js
CHANGED
|
@@ -5,39 +5,38 @@ import _sfc_main$3 from "./Badge.js";
|
|
|
5
5
|
import _sfc_main$4 from "./Banner.js";
|
|
6
6
|
import _sfc_main$5 from "./Breadcrumb.js";
|
|
7
7
|
import _sfc_main$6 from "./Button.js";
|
|
8
|
-
import _sfc_main$7 from "./
|
|
9
|
-
import _sfc_main$8 from "./
|
|
10
|
-
import _sfc_main$9 from "./
|
|
11
|
-
import _sfc_main$10 from "./
|
|
12
|
-
import _sfc_main$11 from "./
|
|
13
|
-
import _sfc_main$12 from "./
|
|
14
|
-
import _sfc_main$13 from "./
|
|
15
|
-
import _sfc_main$14 from "./
|
|
16
|
-
import _sfc_main$15 from "./
|
|
17
|
-
import _sfc_main$16 from "./
|
|
18
|
-
import _sfc_main$17 from "./
|
|
19
|
-
import _sfc_main$18 from "./
|
|
20
|
-
import _sfc_main$19 from "./
|
|
21
|
-
import _sfc_main$20 from "./
|
|
22
|
-
import _sfc_main$21 from "./
|
|
23
|
-
import _sfc_main$22 from "./
|
|
24
|
-
import _sfc_main$23 from "./
|
|
25
|
-
import _sfc_main$24 from "./
|
|
26
|
-
import _sfc_main$25 from "./
|
|
27
|
-
import _sfc_main$26 from "./
|
|
28
|
-
import _sfc_main$27 from "./
|
|
29
|
-
import _sfc_main$28 from "./
|
|
30
|
-
import _sfc_main$29 from "./
|
|
31
|
-
import _sfc_main$30 from "./
|
|
32
|
-
import _sfc_main$31 from "./
|
|
33
|
-
import _sfc_main$32 from "./
|
|
34
|
-
import _sfc_main$33 from "./
|
|
35
|
-
import _sfc_main$34 from "./
|
|
36
|
-
import _sfc_main$35 from "./
|
|
37
|
-
import _sfc_main$36 from "./
|
|
38
|
-
import _sfc_main$37 from "./
|
|
39
|
-
import _sfc_main$38 from "./
|
|
40
|
-
import _sfc_main$39 from "./Tooltip.js";
|
|
8
|
+
import _sfc_main$7 from "./Card.js";
|
|
9
|
+
import _sfc_main$8 from "./Checkbox.js";
|
|
10
|
+
import _sfc_main$9 from "./CodeBlock.js";
|
|
11
|
+
import _sfc_main$10 from "./Divider.js";
|
|
12
|
+
import _sfc_main$11 from "./Dropdown.js";
|
|
13
|
+
import _sfc_main$12 from "./DropdownItem.js";
|
|
14
|
+
import _sfc_main$13 from "./DropdownRow.js";
|
|
15
|
+
import _sfc_main$14 from "./DropdownSubmenu.js";
|
|
16
|
+
import _sfc_main$15 from "./FileInput.js";
|
|
17
|
+
import _sfc_main$16 from "./FormField.js";
|
|
18
|
+
import _sfc_main$17 from "./IconTile.js";
|
|
19
|
+
import _sfc_main$18 from "./Input.js";
|
|
20
|
+
import _sfc_main$19 from "./Kbd.js";
|
|
21
|
+
import _sfc_main$20 from "./ListMenu.js";
|
|
22
|
+
import _sfc_main$21 from "./ListMenuItem.js";
|
|
23
|
+
import _sfc_main$22 from "./Modal.js";
|
|
24
|
+
import _sfc_main$23 from "./Numpad.js";
|
|
25
|
+
import _sfc_main$24 from "./Popup.js";
|
|
26
|
+
import _sfc_main$25 from "./ProgressBar.js";
|
|
27
|
+
import _sfc_main$26 from "./Prompt.js";
|
|
28
|
+
import _sfc_main$27 from "./Radio.js";
|
|
29
|
+
import _sfc_main$28 from "./SectionHeading.js";
|
|
30
|
+
import _sfc_main$29 from "./Segmented.js";
|
|
31
|
+
import _sfc_main$30 from "./Select.js";
|
|
32
|
+
import _sfc_main$31 from "./Slider.js";
|
|
33
|
+
import _sfc_main$32 from "./Spinner.js";
|
|
34
|
+
import _sfc_main$33 from "./Stepper.js";
|
|
35
|
+
import _sfc_main$34 from "./Table.js";
|
|
36
|
+
import _sfc_main$35 from "./ThemeToggle.js";
|
|
37
|
+
import _sfc_main$36 from "./Toast.js";
|
|
38
|
+
import _sfc_main$37 from "./Toggle.js";
|
|
39
|
+
import _sfc_main$38 from "./Tooltip.js";
|
|
41
40
|
//#region src/components/index.js
|
|
42
41
|
/**
|
|
43
42
|
* Real component imports, re-exported under the default `Ui` prefix.
|
|
@@ -62,42 +61,41 @@ var components = {
|
|
|
62
61
|
Banner: _sfc_main$4,
|
|
63
62
|
Breadcrumb: _sfc_main$5,
|
|
64
63
|
Button: _sfc_main$6,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
Tooltip: _sfc_main$39,
|
|
64
|
+
Card: _sfc_main$7,
|
|
65
|
+
Checkbox: _sfc_main$8,
|
|
66
|
+
CodeBlock: _sfc_main$9,
|
|
67
|
+
Divider: _sfc_main$10,
|
|
68
|
+
Dropdown: _sfc_main$11,
|
|
69
|
+
DropdownItem: _sfc_main$12,
|
|
70
|
+
DropdownRow: _sfc_main$13,
|
|
71
|
+
DropdownSubmenu: _sfc_main$14,
|
|
72
|
+
FileInput: _sfc_main$15,
|
|
73
|
+
FormField: _sfc_main$16,
|
|
74
|
+
IconTile: _sfc_main$17,
|
|
75
|
+
Input: _sfc_main$18,
|
|
76
|
+
Kbd: _sfc_main$19,
|
|
77
|
+
ListMenu: _sfc_main$20,
|
|
78
|
+
ListMenuItem: _sfc_main$21,
|
|
79
|
+
Modal: _sfc_main$22,
|
|
80
|
+
Numpad: _sfc_main$23,
|
|
81
|
+
Popup: _sfc_main$24,
|
|
82
|
+
ProgressBar: _sfc_main$25,
|
|
83
|
+
Prompt: _sfc_main$26,
|
|
84
|
+
Radio: _sfc_main$27,
|
|
85
|
+
SectionHeading: _sfc_main$28,
|
|
86
|
+
Segmented: _sfc_main$29,
|
|
87
|
+
Select: _sfc_main$30,
|
|
88
|
+
Slider: _sfc_main$31,
|
|
89
|
+
Spinner: _sfc_main$32,
|
|
90
|
+
Stepper: _sfc_main$33,
|
|
91
|
+
Table: _sfc_main$34,
|
|
92
|
+
ThemeToggle: _sfc_main$35,
|
|
93
|
+
Toast: _sfc_main$36,
|
|
94
|
+
Toggle: _sfc_main$37,
|
|
95
|
+
Tooltip: _sfc_main$38,
|
|
98
96
|
Icon: _sfc_main
|
|
99
97
|
};
|
|
100
98
|
//#endregion
|
|
101
|
-
export { _sfc_main$1 as UiAlert, _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
|
|
99
|
+
export { _sfc_main$1 as UiAlert, _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 UiDivider, _sfc_main$11 as UiDropdown, _sfc_main$12 as UiDropdownItem, _sfc_main$13 as UiDropdownRow, _sfc_main$14 as UiDropdownSubmenu, _sfc_main$15 as UiFileInput, _sfc_main$16 as UiFormField, _sfc_main as UiIcon, _sfc_main$17 as UiIconTile, _sfc_main$18 as UiInput, _sfc_main$19 as UiKbd, _sfc_main$20 as UiListMenu, _sfc_main$21 as UiListMenuItem, _sfc_main$22 as UiModal, _sfc_main$23 as UiNumpad, _sfc_main$24 as UiPopup, _sfc_main$25 as UiProgressBar, _sfc_main$26 as UiPrompt, _sfc_main$27 as UiRadio, _sfc_main$28 as UiSectionHeading, _sfc_main$29 as UiSegmented, _sfc_main$30 as UiSelect, _sfc_main$31 as UiSlider, _sfc_main$32 as UiSpinner, _sfc_main$33 as UiStepper, _sfc_main$34 as UiTable, _sfc_main$35 as UiThemeToggle, _sfc_main$36 as UiToast, _sfc_main$37 as UiToggle, _sfc_main$38 as UiTooltip, components };
|
|
102
100
|
|
|
103
101
|
//# 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 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
|
|
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 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 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 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 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 Slider from './Slider.vue'\nimport Spinner from './Spinner.vue'\nimport Stepper from './Stepper.vue'\nimport Table from './Table.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 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 Divider as UiDivider,\n Dropdown as UiDropdown,\n DropdownItem as UiDropdownItem,\n DropdownRow as UiDropdownRow,\n DropdownSubmenu as UiDropdownSubmenu,\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 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 Slider as UiSlider,\n Spinner as UiSpinner,\n Stepper as UiStepper,\n Table as UiTable,\n ThemeToggle as UiThemeToggle,\n Toast as UiToast,\n Toggle as UiToggle,\n Tooltip as UiTooltip,\n Icon as UiIcon,\n}\n\n/**\n * Base-name -> component map, used by the Vue plugin to register everything\n * under whatever prefix the host chose.\n * @type {Record<string, import('vue').Component>}\n */\nexport const components = {\n Alert,\n Avatar,\n Badge,\n Banner,\n Breadcrumb,\n Button,\n Card,\n Checkbox,\n CodeBlock,\n Divider,\n Dropdown,\n DropdownItem,\n DropdownRow,\n DropdownSubmenu,\n FileInput,\n FormField,\n IconTile,\n Input,\n Kbd,\n ListMenu,\n ListMenuItem,\n Modal,\n Numpad,\n Popup,\n ProgressBar,\n Prompt,\n Radio,\n SectionHeading,\n Segmented,\n Select,\n Slider,\n Spinner,\n Stepper,\n Table,\n ThemeToggle,\n Toast,\n Toggle,\n Tooltip,\n Icon,\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkGA,IAAa,aAAa;CACxB,OAAA;CACA,QAAA;CACA,OAAA;CACA,QAAA;CACA,YAAA;CACA,QAAA;CACA,MAAA;CACA,UAAA;CACA,WAAA;CACA,SAAA;CACA,UAAA;CACA,cAAA;CACA,aAAA;CACA,iBAAA;CACA,WAAA;CACA,WAAA;CACA,UAAA;CACA,OAAA;CACA,KAAA;CACA,UAAA;CACA,cAAA;CACA,OAAA;CACA,QAAA;CACA,OAAA;CACA,aAAA;CACA,QAAA;CACA,OAAA;CACA,gBAAA;CACA,WAAA;CACA,QAAA;CACA,QAAA;CACA,SAAA;CACA,SAAA;CACA,OAAA;CACA,aAAA;CACA,OAAA;CACA,QAAA;CACA,SAAA;CACA,MAAA;AACF"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { computed, toValue, useAttrs } from "vue";
|
|
2
|
+
import { twMerge } from "tailwind-merge";
|
|
3
|
+
//#region src/composables/useMergedClasses.js
|
|
4
|
+
/**
|
|
5
|
+
* useMergedClasses — merge a component's internal Tailwind classes with the
|
|
6
|
+
* caller's `class`, letting the caller win, and split the remaining attributes
|
|
7
|
+
* off for forwarding.
|
|
8
|
+
*
|
|
9
|
+
* This is the shared half of the "external classes override internals" pattern
|
|
10
|
+
* that UiButton, UiCard and UiIconTile all implement identically: bind
|
|
11
|
+
* `mergedClasses` to the root element's `:class`, spread `restAttrs` onto it
|
|
12
|
+
* with `v-bind`, and declare `defineOptions({ inheritAttrs: false })` in the
|
|
13
|
+
* component so Vue does not also apply `class` a second time.
|
|
14
|
+
*
|
|
15
|
+
* `tailwind-merge` resolves conflicts by keeping the last occurrence, and the
|
|
16
|
+
* caller's `class` is always passed last — so `bg-gray-100` from the outside
|
|
17
|
+
* beats a built-in `bg-primary-600` rather than both landing on the element.
|
|
18
|
+
* Passing the internal classes as one space-joined string is equivalent to
|
|
19
|
+
* passing them as separate arguments; twMerge tokenises either the same way.
|
|
20
|
+
*
|
|
21
|
+
* `defineOptions` is a compiler macro and cannot live in a composable, so each
|
|
22
|
+
* consuming SFC still declares `inheritAttrs: false` itself. Everything else —
|
|
23
|
+
* `useAttrs`, the class/rest split, and the merge — lives here.
|
|
24
|
+
*
|
|
25
|
+
* @param {import('vue').MaybeRefOrGetter<string>} internal
|
|
26
|
+
* The component's own classes, as a ref, getter, or plain string. A getter is
|
|
27
|
+
* the safest form when the internal classes are a `computed` declared later
|
|
28
|
+
* in setup, since it defers evaluation past that declaration.
|
|
29
|
+
* @returns {{ mergedClasses: import('vue').ComputedRef<string>, restAttrs: import('vue').ComputedRef<Record<string, unknown>> }}
|
|
30
|
+
* `mergedClasses` for the root `:class`; `restAttrs` (everything except
|
|
31
|
+
* `class`) for `v-bind`.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* defineOptions({ inheritAttrs: false })
|
|
35
|
+
* const internal = computed(() => `inline-flex ${sizeClass.value} ${colorClass.value}`)
|
|
36
|
+
* const { mergedClasses, restAttrs } = useMergedClasses(internal)
|
|
37
|
+
*/
|
|
38
|
+
function useMergedClasses(internal) {
|
|
39
|
+
const attrs = useAttrs();
|
|
40
|
+
const restAttrs = computed(() => {
|
|
41
|
+
const { class: _class, ...rest } = attrs;
|
|
42
|
+
return rest;
|
|
43
|
+
});
|
|
44
|
+
return {
|
|
45
|
+
mergedClasses: computed(() => twMerge(toValue(internal), attrs.class)),
|
|
46
|
+
restAttrs
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
//#endregion
|
|
50
|
+
export { useMergedClasses };
|
|
51
|
+
|
|
52
|
+
//# sourceMappingURL=useMergedClasses.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useMergedClasses.js","names":[],"sources":["../../src/composables/useMergedClasses.js"],"sourcesContent":["import { computed, useAttrs, toValue } from 'vue'\nimport { twMerge } from 'tailwind-merge'\n\n/**\n * useMergedClasses — merge a component's internal Tailwind classes with the\n * caller's `class`, letting the caller win, and split the remaining attributes\n * off for forwarding.\n *\n * This is the shared half of the \"external classes override internals\" pattern\n * that UiButton, UiCard and UiIconTile all implement identically: bind\n * `mergedClasses` to the root element's `:class`, spread `restAttrs` onto it\n * with `v-bind`, and declare `defineOptions({ inheritAttrs: false })` in the\n * component so Vue does not also apply `class` a second time.\n *\n * `tailwind-merge` resolves conflicts by keeping the last occurrence, and the\n * caller's `class` is always passed last — so `bg-gray-100` from the outside\n * beats a built-in `bg-primary-600` rather than both landing on the element.\n * Passing the internal classes as one space-joined string is equivalent to\n * passing them as separate arguments; twMerge tokenises either the same way.\n *\n * `defineOptions` is a compiler macro and cannot live in a composable, so each\n * consuming SFC still declares `inheritAttrs: false` itself. Everything else —\n * `useAttrs`, the class/rest split, and the merge — lives here.\n *\n * @param {import('vue').MaybeRefOrGetter<string>} internal\n * The component's own classes, as a ref, getter, or plain string. A getter is\n * the safest form when the internal classes are a `computed` declared later\n * in setup, since it defers evaluation past that declaration.\n * @returns {{ mergedClasses: import('vue').ComputedRef<string>, restAttrs: import('vue').ComputedRef<Record<string, unknown>> }}\n * `mergedClasses` for the root `:class`; `restAttrs` (everything except\n * `class`) for `v-bind`.\n *\n * @example\n * defineOptions({ inheritAttrs: false })\n * const internal = computed(() => `inline-flex ${sizeClass.value} ${colorClass.value}`)\n * const { mergedClasses, restAttrs } = useMergedClasses(internal)\n */\nexport function useMergedClasses(internal) {\n const attrs = useAttrs()\n\n const restAttrs = computed(() => {\n const { class: _class, ...rest } = attrs\n return rest\n })\n\n const mergedClasses = computed(() => twMerge(toValue(internal), attrs.class))\n\n return { mergedClasses, restAttrs }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqCA,SAAgB,iBAAiB,UAAU;CACzC,MAAM,QAAQ,SAAS;CAEvB,MAAM,YAAY,eAAe;EAC/B,MAAM,EAAE,OAAO,QAAQ,GAAG,SAAS;EACnC,OAAO;CACT,CAAC;CAID,OAAO;EAAE,eAFa,eAAe,QAAQ,QAAQ,QAAQ,GAAG,MAAM,KAAK,CAEtD;EAAG;CAAU;AACpC"}
|
package/dist/icons/mdi.js
CHANGED
|
@@ -24,6 +24,7 @@ var mdiPaths = {
|
|
|
24
24
|
"check": "M21 7L9 19l-5.5-5.5l1.41-1.41L9 16.17L19.59 5.59z",
|
|
25
25
|
"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",
|
|
26
26
|
"chevron-down": "M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6z",
|
|
27
|
+
"chevron-left": "M15.41 16.58L10.83 12l4.58-4.59L14 6l-6 6l6 6z",
|
|
27
28
|
"chevron-right": "M8.59 16.58L13.17 12L8.59 7.41L10 6l6 6l-6 6z",
|
|
28
29
|
"chevron-up": "M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6l-6 6z",
|
|
29
30
|
"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",
|
package/dist/icons/mdi.js.map
CHANGED
|
@@ -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 '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-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 '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 '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 '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 '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 '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,qBAAqB;CACrB,SAAS;CACT,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,eAAe;CACf,iBAAiB;CACjB,eAAe;CACf,eAAe;CACf,WAAW;CACX,QAAQ;CACR,UAAU;CACV,SAAS;CACT,wBAAwB;CACxB,qBAAqB;CACrB,OAAO;CACP,UAAU;CACV,QAAQ;CACR,SAAS;CACT,uBAAuB;CACvB,QAAQ;CACR,aAAa;CACb,aAAa;CACb,qBAAqB;CACrB,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 '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 '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 '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 '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 '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 '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,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,eAAe;CACf,iBAAiB;CACjB,eAAe;CACf,eAAe;CACf,WAAW;CACX,QAAQ;CACR,UAAU;CACV,SAAS;CACT,wBAAwB;CACxB,qBAAqB;CACrB,OAAO;CACP,UAAU;CACV,QAAQ;CACR,SAAS;CACT,uBAAuB;CACvB,QAAQ;CACR,aAAa;CACb,aAAa;CACb,qBAAqB;CACrB,aAAa;CACb,aAAa;CACb,iBAAiB;CACjB,iBAAiB;CACjB,YAAY;CACZ,QAAQ;AACV;;;;;;;;;;AAWA,IAAa,eAA6B,qBAAO,KAAK,QAAQ"}
|
package/dist/index.d.ts
CHANGED
|
@@ -13,11 +13,9 @@ export declare const UiBadge: UiComponent
|
|
|
13
13
|
export declare const UiBanner: UiComponent
|
|
14
14
|
export declare const UiBreadcrumb: UiComponent
|
|
15
15
|
export declare const UiButton: UiComponent
|
|
16
|
-
export declare const UiButtonsGroup: UiComponent
|
|
17
16
|
export declare const UiCard: UiComponent
|
|
18
17
|
export declare const UiCheckbox: UiComponent
|
|
19
18
|
export declare const UiCodeBlock: UiComponent
|
|
20
|
-
export declare const UiComparisonTable: UiComponent
|
|
21
19
|
export declare const UiDivider: UiComponent
|
|
22
20
|
export declare const UiDropdown: UiComponent
|
|
23
21
|
export declare const UiDropdownItem: UiComponent
|
|
@@ -42,6 +40,7 @@ export declare const UiSelect: UiComponent
|
|
|
42
40
|
export declare const UiSlider: UiComponent
|
|
43
41
|
export declare const UiSpinner: UiComponent
|
|
44
42
|
export declare const UiStepper: UiComponent
|
|
43
|
+
export declare const UiTable: UiComponent
|
|
45
44
|
export declare const UiThemeToggle: UiComponent
|
|
46
45
|
export declare const UiToast: UiComponent
|
|
47
46
|
export declare const UiToggle: UiComponent
|
package/dist/index.js
CHANGED
|
@@ -1,49 +1,48 @@
|
|
|
1
1
|
import { MDI_VIEW_BOX, mdiIconNames, mdiPaths } from "./icons/mdi.js";
|
|
2
2
|
import { iconRegistry, registerIcons, resolveIconPath } from "./icons/registry.js";
|
|
3
3
|
import { ICON_COMPONENT_KEY, provideIconComponent, useIconComponent } from "./icons/resolver.js";
|
|
4
|
-
import _sfc_main$
|
|
4
|
+
import _sfc_main$16 from "./icons/Icon.js";
|
|
5
5
|
import _sfc_main from "./components/Alert.js";
|
|
6
6
|
import _sfc_main$1 from "./components/Avatar.js";
|
|
7
7
|
import _sfc_main$2 from "./components/Badge.js";
|
|
8
8
|
import _sfc_main$3 from "./components/Banner.js";
|
|
9
9
|
import _sfc_main$4 from "./components/Breadcrumb.js";
|
|
10
10
|
import _sfc_main$5 from "./components/Button.js";
|
|
11
|
-
import _sfc_main$6 from "./components/
|
|
12
|
-
import _sfc_main$7 from "./components/
|
|
13
|
-
import _sfc_main$8 from "./components/
|
|
14
|
-
import _sfc_main$9 from "./components/
|
|
15
|
-
import _sfc_main$10 from "./components/ComparisonTable.js";
|
|
16
|
-
import _sfc_main$11 from "./components/Divider.js";
|
|
11
|
+
import _sfc_main$6 from "./components/Card.js";
|
|
12
|
+
import _sfc_main$7 from "./components/Checkbox.js";
|
|
13
|
+
import _sfc_main$8 from "./components/CodeBlock.js";
|
|
14
|
+
import _sfc_main$9 from "./components/Divider.js";
|
|
17
15
|
import { useEventListener } from "./composables/useEventListener.js";
|
|
18
16
|
import { onClickOutside } from "./composables/onClickOutside.js";
|
|
19
|
-
import _sfc_main$
|
|
20
|
-
import _sfc_main$
|
|
21
|
-
import _sfc_main$
|
|
22
|
-
import _sfc_main$
|
|
23
|
-
import _sfc_main$
|
|
24
|
-
import _sfc_main$
|
|
25
|
-
import _sfc_main$
|
|
26
|
-
import _sfc_main$
|
|
27
|
-
import _sfc_main$
|
|
28
|
-
import _sfc_main$
|
|
29
|
-
import _sfc_main$
|
|
17
|
+
import _sfc_main$10 from "./components/Dropdown.js";
|
|
18
|
+
import _sfc_main$11 from "./components/DropdownItem.js";
|
|
19
|
+
import _sfc_main$12 from "./components/DropdownRow.js";
|
|
20
|
+
import _sfc_main$13 from "./components/DropdownSubmenu.js";
|
|
21
|
+
import _sfc_main$14 from "./components/FileInput.js";
|
|
22
|
+
import _sfc_main$15 from "./components/FormField.js";
|
|
23
|
+
import _sfc_main$17 from "./components/IconTile.js";
|
|
24
|
+
import _sfc_main$18 from "./components/Input.js";
|
|
25
|
+
import _sfc_main$19 from "./components/Kbd.js";
|
|
26
|
+
import _sfc_main$20 from "./components/ListMenu.js";
|
|
27
|
+
import _sfc_main$21 from "./components/ListMenuItem.js";
|
|
30
28
|
import { useBackButton } from "./composables/useBackButton.js";
|
|
31
|
-
import _sfc_main$
|
|
32
|
-
import _sfc_main$
|
|
33
|
-
import _sfc_main$
|
|
34
|
-
import _sfc_main$
|
|
35
|
-
import _sfc_main$
|
|
36
|
-
import _sfc_main$
|
|
37
|
-
import _sfc_main$
|
|
38
|
-
import _sfc_main$
|
|
39
|
-
import _sfc_main$
|
|
40
|
-
import _sfc_main$
|
|
41
|
-
import _sfc_main$
|
|
42
|
-
import _sfc_main$
|
|
43
|
-
import _sfc_main$
|
|
44
|
-
import _sfc_main$
|
|
45
|
-
import _sfc_main$
|
|
46
|
-
import _sfc_main$
|
|
29
|
+
import _sfc_main$22 from "./components/Modal.js";
|
|
30
|
+
import _sfc_main$23 from "./components/Numpad.js";
|
|
31
|
+
import _sfc_main$24 from "./components/Popup.js";
|
|
32
|
+
import _sfc_main$25 from "./components/ProgressBar.js";
|
|
33
|
+
import _sfc_main$26 from "./components/Prompt.js";
|
|
34
|
+
import _sfc_main$27 from "./components/Radio.js";
|
|
35
|
+
import _sfc_main$28 from "./components/SectionHeading.js";
|
|
36
|
+
import _sfc_main$29 from "./components/Segmented.js";
|
|
37
|
+
import _sfc_main$30 from "./components/Select.js";
|
|
38
|
+
import _sfc_main$31 from "./components/Slider.js";
|
|
39
|
+
import _sfc_main$32 from "./components/Spinner.js";
|
|
40
|
+
import _sfc_main$33 from "./components/Stepper.js";
|
|
41
|
+
import _sfc_main$34 from "./components/Table.js";
|
|
42
|
+
import _sfc_main$35 from "./components/ThemeToggle.js";
|
|
43
|
+
import _sfc_main$36 from "./components/Toast.js";
|
|
44
|
+
import _sfc_main$37 from "./components/Toggle.js";
|
|
45
|
+
import _sfc_main$38 from "./components/Tooltip.js";
|
|
47
46
|
import { components } from "./components/index.js";
|
|
48
47
|
import { COMPONENT_NAMES, DEFAULT_PREFIX, componentEntries, prefixed } from "./manifest.js";
|
|
49
48
|
//#region src/index.js
|
|
@@ -163,6 +162,6 @@ function createNumoriUI(components = {}, options = {}) {
|
|
|
163
162
|
} };
|
|
164
163
|
}
|
|
165
164
|
//#endregion
|
|
166
|
-
export { COMPONENT_NAMES, DEFAULT_PREFIX, ICON_COMPONENT_KEY, MDI_VIEW_BOX, NumoriUI, NumoriUI as default, _sfc_main as UiAlert, _sfc_main$1 as UiAvatar, _sfc_main$2 as UiBadge, _sfc_main$3 as UiBanner, _sfc_main$4 as UiBreadcrumb, _sfc_main$5 as UiButton, _sfc_main$6 as
|
|
165
|
+
export { COMPONENT_NAMES, DEFAULT_PREFIX, ICON_COMPONENT_KEY, MDI_VIEW_BOX, NumoriUI, NumoriUI as default, _sfc_main as UiAlert, _sfc_main$1 as UiAvatar, _sfc_main$2 as UiBadge, _sfc_main$3 as UiBanner, _sfc_main$4 as UiBreadcrumb, _sfc_main$5 as UiButton, _sfc_main$6 as UiCard, _sfc_main$7 as UiCheckbox, _sfc_main$8 as UiCodeBlock, _sfc_main$9 as UiDivider, _sfc_main$10 as UiDropdown, _sfc_main$11 as UiDropdownItem, _sfc_main$12 as UiDropdownRow, _sfc_main$13 as UiDropdownSubmenu, _sfc_main$14 as UiFileInput, _sfc_main$15 as UiFormField, _sfc_main$16 as UiIcon, _sfc_main$17 as UiIconTile, _sfc_main$18 as UiInput, _sfc_main$19 as UiKbd, _sfc_main$20 as UiListMenu, _sfc_main$21 as UiListMenuItem, _sfc_main$22 as UiModal, _sfc_main$23 as UiNumpad, _sfc_main$24 as UiPopup, _sfc_main$25 as UiProgressBar, _sfc_main$26 as UiPrompt, _sfc_main$27 as UiRadio, _sfc_main$28 as UiSectionHeading, _sfc_main$29 as UiSegmented, _sfc_main$30 as UiSelect, _sfc_main$31 as UiSlider, _sfc_main$32 as UiSpinner, _sfc_main$33 as UiStepper, _sfc_main$34 as UiTable, _sfc_main$35 as UiThemeToggle, _sfc_main$36 as UiToast, _sfc_main$37 as UiToggle, _sfc_main$38 as UiTooltip, componentEntries, components, createNumoriUI, iconRegistry, mdiIconNames, mdiPaths, onClickOutside, prefixed, provideIconComponent, registerIcons, resolveIconPath, useBackButton, useEventListener, useIconComponent };
|
|
167
166
|
|
|
168
167
|
//# sourceMappingURL=index.js.map
|