numori-ui 0.2.0 → 0.3.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 +40 -0
- package/README.md +12 -10
- package/dist/components/Banner.js +179 -0
- package/dist/components/Banner.js.map +1 -0
- package/dist/components/CodeBlock.js +101 -0
- package/dist/components/CodeBlock.js.map +1 -0
- package/dist/components/ComparisonTable.js +152 -0
- package/dist/components/ComparisonTable.js.map +1 -0
- package/dist/components/Spinner.js +87 -0
- package/dist/components/Spinner.js.map +1 -0
- package/dist/components/ThemeToggle.js +85 -0
- package/dist/components/ThemeToggle.js.map +1 -0
- package/dist/components/Toast.js +107 -0
- package/dist/components/Toast.js.map +1 -0
- package/dist/components/index.js +73 -61
- package/dist/components/index.js.map +1 -1
- package/dist/icons/mdi.js +9 -0
- package/dist/icons/mdi.js.map +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.js +38 -32
- package/dist/index.js.map +1 -1
- package/dist/manifest.js +6 -0
- package/dist/manifest.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Banner.vue +149 -0
- package/src/components/CodeBlock.vue +99 -0
- package/src/components/ComparisonTable.vue +141 -0
- package/src/components/Spinner.vue +70 -0
- package/src/components/ThemeToggle.vue +81 -0
- package/src/components/Toast.vue +106 -0
- package/src/components/index.js +18 -0
- package/src/icons/mdi.js +9 -0
- package/src/manifest.js +6 -0
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import _sfc_main$1 from "../icons/Icon.js";
|
|
2
|
+
import { computed, createBlock, normalizeClass, openBlock } from "vue";
|
|
3
|
+
//#region src/components/Spinner.vue
|
|
4
|
+
var _sfc_main = {
|
|
5
|
+
__name: "Spinner",
|
|
6
|
+
props: {
|
|
7
|
+
/**
|
|
8
|
+
* Diameter of the spinner.
|
|
9
|
+
* @type {string}
|
|
10
|
+
* @default 'md'
|
|
11
|
+
* @values 'xs' | 'sm' | 'md' | 'lg' | 'xl'
|
|
12
|
+
*/
|
|
13
|
+
size: {
|
|
14
|
+
type: String,
|
|
15
|
+
default: "md"
|
|
16
|
+
},
|
|
17
|
+
/**
|
|
18
|
+
* Accessible label. When set, the spinner is announced as a live status
|
|
19
|
+
* region; when omitted, it is hidden from assistive technology as decorative.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @default ''
|
|
22
|
+
*/
|
|
23
|
+
label: {
|
|
24
|
+
type: String,
|
|
25
|
+
default: ""
|
|
26
|
+
},
|
|
27
|
+
/**
|
|
28
|
+
* MDI icon to spin. The default is the same one `UiButton` uses; pass another
|
|
29
|
+
* (e.g. `'mdi:sync'`) for a different look.
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @default 'mdi:loading'
|
|
32
|
+
*/
|
|
33
|
+
icon: {
|
|
34
|
+
type: String,
|
|
35
|
+
default: "mdi:loading"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
setup(__props) {
|
|
39
|
+
/**
|
|
40
|
+
* UiSpinner — a spinning icon for loading and in-progress states.
|
|
41
|
+
*
|
|
42
|
+
* The same glyph `UiButton` shows while loading, pulled out as a standalone
|
|
43
|
+
* primitive so anything can signal work in progress without reaching for a
|
|
44
|
+
* button or hand-rolling `animate-spin`. Colour is inherited (`text-*`), exactly
|
|
45
|
+
* like `UiIcon`, so a spinner tints to match whatever surrounds it.
|
|
46
|
+
*
|
|
47
|
+
* By default it is decorative and hidden from assistive technology, which is
|
|
48
|
+
* right when a nearby label already says what is happening ("Saving…" next to
|
|
49
|
+
* it). Give it a `label` and it becomes a live `role="status"` region that
|
|
50
|
+
* announces on its own — use that when the spinner is the only thing on screen.
|
|
51
|
+
*
|
|
52
|
+
* @example Inline, decorative
|
|
53
|
+
* <UiSpinner />
|
|
54
|
+
*
|
|
55
|
+
* @example Larger, tinted, and self-announcing
|
|
56
|
+
* <UiSpinner size="lg" label="Syncing" class="text-primary-600 dark:text-primary-400" />
|
|
57
|
+
*/
|
|
58
|
+
const props = __props;
|
|
59
|
+
const SIZES = {
|
|
60
|
+
xs: "w-3 h-3",
|
|
61
|
+
sm: "w-3.5 h-3.5",
|
|
62
|
+
md: "w-5 h-5",
|
|
63
|
+
lg: "w-6 h-6",
|
|
64
|
+
xl: "w-8 h-8"
|
|
65
|
+
};
|
|
66
|
+
const sizeClass = computed(() => SIZES[props.size] || SIZES.md);
|
|
67
|
+
return (_ctx, _cache) => {
|
|
68
|
+
return openBlock(), createBlock(_sfc_main$1, {
|
|
69
|
+
name: __props.icon,
|
|
70
|
+
class: normalizeClass(["animate-spin", sizeClass.value]),
|
|
71
|
+
"aria-hidden": __props.label ? void 0 : "true",
|
|
72
|
+
"aria-label": __props.label || void 0,
|
|
73
|
+
role: __props.label ? "status" : void 0
|
|
74
|
+
}, null, 8, [
|
|
75
|
+
"name",
|
|
76
|
+
"class",
|
|
77
|
+
"aria-hidden",
|
|
78
|
+
"aria-label",
|
|
79
|
+
"role"
|
|
80
|
+
]);
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
//#endregion
|
|
85
|
+
export { _sfc_main as default };
|
|
86
|
+
|
|
87
|
+
//# sourceMappingURL=Spinner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Spinner.js","names":[],"sources":["../../src/components/Spinner.vue"],"sourcesContent":["<template>\n <UiIcon\n :name=\"icon\"\n class=\"animate-spin\"\n :class=\"sizeClass\"\n :aria-hidden=\"label ? undefined : 'true'\"\n :aria-label=\"label || undefined\"\n :role=\"label ? 'status' : undefined\"\n />\n</template>\n\n<script setup>\n/**\n * UiSpinner — a spinning icon for loading and in-progress states.\n *\n * The same glyph `UiButton` shows while loading, pulled out as a standalone\n * primitive so anything can signal work in progress without reaching for a\n * button or hand-rolling `animate-spin`. Colour is inherited (`text-*`), exactly\n * like `UiIcon`, so a spinner tints to match whatever surrounds it.\n *\n * By default it is decorative and hidden from assistive technology, which is\n * right when a nearby label already says what is happening (\"Saving…\" next to\n * it). Give it a `label` and it becomes a live `role=\"status\"` region that\n * announces on its own — use that when the spinner is the only thing on screen.\n *\n * @example Inline, decorative\n * <UiSpinner />\n *\n * @example Larger, tinted, and self-announcing\n * <UiSpinner size=\"lg\" label=\"Syncing\" class=\"text-primary-600 dark:text-primary-400\" />\n */\nimport { computed } from 'vue'\nimport UiIcon from '../icons/Icon.vue'\n\nconst props = defineProps({\n /**\n * Diameter of the spinner.\n * @type {string}\n * @default 'md'\n * @values 'xs' | 'sm' | 'md' | 'lg' | 'xl'\n */\n size: { type: String, default: 'md' },\n\n /**\n * Accessible label. When set, the spinner is announced as a live status\n * region; when omitted, it is hidden from assistive technology as decorative.\n * @type {string}\n * @default ''\n */\n label: { type: String, default: '' },\n\n /**\n * MDI icon to spin. The default is the same one `UiButton` uses; pass another\n * (e.g. `'mdi:sync'`) for a different look.\n * @type {string}\n * @default 'mdi:loading'\n */\n icon: { type: String, default: 'mdi:loading' },\n})\n\nconst SIZES = {\n xs: 'w-3 h-3',\n sm: 'w-3.5 h-3.5',\n md: 'w-5 h-5',\n lg: 'w-6 h-6',\n xl: 'w-8 h-8',\n}\n\nconst sizeClass = computed(() => SIZES[props.size] || SIZES.md)\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkCA,MAAM,QAAQ;EA0Bd,MAAM,QAAQ;GACZ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;EACN;EAEA,MAAM,YAAY,eAAe,MAAM,MAAM,SAAS,MAAM,EAAE;;GAnE5D,OAAA,UAAA,GAAA,YAOE,aAAA;IANC,MAAM,QAAA;IACP,OAAK,eAAA,CAAC,gBACE,UAAA,KAAS,CAAA;IAChB,eAAa,QAAA,QAAQ,KAAA,IAAS;IAC9B,cAAY,QAAA,SAAS,KAAA;IACrB,MAAM,QAAA,QAAK,WAAc,KAAA"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import _sfc_main$1 from "../icons/Icon.js";
|
|
2
|
+
import _sfc_main$2 from "./Button.js";
|
|
3
|
+
import { createBlock, createElementVNode, createVNode, normalizeClass, openBlock, withCtx } from "vue";
|
|
4
|
+
//#region src/components/ThemeToggle.vue
|
|
5
|
+
var _hoisted_1 = { class: "grid size-5 place-items-center" };
|
|
6
|
+
var _sfc_main = {
|
|
7
|
+
__name: "ThemeToggle",
|
|
8
|
+
props: {
|
|
9
|
+
/**
|
|
10
|
+
* Whether the dark theme is currently active. Drives which glyph is shown.
|
|
11
|
+
* @type {boolean}
|
|
12
|
+
* @default false
|
|
13
|
+
*/
|
|
14
|
+
isDark: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
default: false
|
|
17
|
+
},
|
|
18
|
+
/**
|
|
19
|
+
* Accessible name and hover tooltip. Should describe the action the control
|
|
20
|
+
* performs, e.g. "Switch to dark mode".
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @default 'Toggle theme'
|
|
23
|
+
*/
|
|
24
|
+
label: {
|
|
25
|
+
type: String,
|
|
26
|
+
default: "Toggle theme"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
emits: ["toggle"],
|
|
30
|
+
setup(__props, { emit: __emit }) {
|
|
31
|
+
/**
|
|
32
|
+
* UiThemeToggle — an icon button that flips between light and dark.
|
|
33
|
+
*
|
|
34
|
+
* Deliberately presentational and stateless. Numori UI's dark mode is a `.dark`
|
|
35
|
+
* class on `<html>`, but *how* that class gets toggled and persisted is the
|
|
36
|
+
* host's decision — `@nuxtjs/color-mode`, VueUse's `useDark`, or two hand-written
|
|
37
|
+
* lines. So this component owns none of that: it takes the current state as
|
|
38
|
+
* `isDark` and emits `toggle`, and the parent does the flip.
|
|
39
|
+
*
|
|
40
|
+
* Because it is icon-only it carries both `title` (for pointer users) and
|
|
41
|
+
* `aria-label` (an icon has no accessible name otherwise), both from `label`.
|
|
42
|
+
* The sun and moon share one grid cell and cross-fade with a rotation.
|
|
43
|
+
*
|
|
44
|
+
* Under SSR the rendered theme is not known until the client reads the stored
|
|
45
|
+
* preference, so wrap it in whatever your framework uses to defer to the client
|
|
46
|
+
* (Nuxt's `<ClientOnly>`, for instance) if you render on the server, to avoid a
|
|
47
|
+
* hydration mismatch on the icon.
|
|
48
|
+
*
|
|
49
|
+
* @example With @nuxtjs/color-mode
|
|
50
|
+
* <script setup>
|
|
51
|
+
* const colorMode = useColorMode()
|
|
52
|
+
* const isDark = computed(() => colorMode.value === 'dark')
|
|
53
|
+
* const toggle = () => { colorMode.preference = isDark.value ? 'light' : 'dark' }
|
|
54
|
+
* <\/script>
|
|
55
|
+
*
|
|
56
|
+
* <UiThemeToggle :is-dark="isDark" :label="isDark ? 'Switch to light' : 'Switch to dark'"
|
|
57
|
+
* @toggle="toggle" />
|
|
58
|
+
*/
|
|
59
|
+
const emit = __emit;
|
|
60
|
+
return (_ctx, _cache) => {
|
|
61
|
+
return openBlock(), createBlock(_sfc_main$2, {
|
|
62
|
+
variant: "ghost",
|
|
63
|
+
color: "gray",
|
|
64
|
+
"icon-only": "",
|
|
65
|
+
title: __props.label,
|
|
66
|
+
"aria-label": __props.label,
|
|
67
|
+
class: "group",
|
|
68
|
+
onClick: _cache[0] || (_cache[0] = ($event) => emit("toggle"))
|
|
69
|
+
}, {
|
|
70
|
+
default: withCtx(() => [createElementVNode("span", _hoisted_1, [createVNode(_sfc_main$1, {
|
|
71
|
+
name: "mdi:weather-sunny",
|
|
72
|
+
class: normalizeClass(["col-start-1 row-start-1 size-5 transition-all duration-300", __props.isDark ? "rotate-0 scale-100 opacity-100" : "-rotate-90 scale-50 opacity-0"])
|
|
73
|
+
}, null, 8, ["class"]), createVNode(_sfc_main$1, {
|
|
74
|
+
name: "mdi:weather-night",
|
|
75
|
+
class: normalizeClass(["col-start-1 row-start-1 size-5 transition-all duration-300", __props.isDark ? "rotate-90 scale-50 opacity-0" : "rotate-0 scale-100 opacity-100"])
|
|
76
|
+
}, null, 8, ["class"])])]),
|
|
77
|
+
_: 1
|
|
78
|
+
}, 8, ["title", "aria-label"]);
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
//#endregion
|
|
83
|
+
export { _sfc_main as default };
|
|
84
|
+
|
|
85
|
+
//# sourceMappingURL=ThemeToggle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeToggle.js","names":[],"sources":["../../src/components/ThemeToggle.vue"],"sourcesContent":["<template>\n <UiButton\n variant=\"ghost\"\n color=\"gray\"\n icon-only\n :title=\"label\"\n :aria-label=\"label\"\n class=\"group\"\n @click=\"emit('toggle')\"\n >\n <!--\n The two glyphs occupy the same grid cell and cross-fade with a quarter\n turn, so flipping the theme reads as one control turning over rather than\n an icon being swapped out.\n -->\n <span class=\"grid size-5 place-items-center\">\n <UiIcon\n name=\"mdi:weather-sunny\"\n class=\"col-start-1 row-start-1 size-5 transition-all duration-300\"\n :class=\"isDark ? 'rotate-0 scale-100 opacity-100' : '-rotate-90 scale-50 opacity-0'\"\n />\n <UiIcon\n name=\"mdi:weather-night\"\n class=\"col-start-1 row-start-1 size-5 transition-all duration-300\"\n :class=\"isDark ? 'rotate-90 scale-50 opacity-0' : 'rotate-0 scale-100 opacity-100'\"\n />\n </span>\n </UiButton>\n</template>\n\n<script setup>\n/**\n * UiThemeToggle — an icon button that flips between light and dark.\n *\n * Deliberately presentational and stateless. Numori UI's dark mode is a `.dark`\n * class on `<html>`, but *how* that class gets toggled and persisted is the\n * host's decision — `@nuxtjs/color-mode`, VueUse's `useDark`, or two hand-written\n * lines. So this component owns none of that: it takes the current state as\n * `isDark` and emits `toggle`, and the parent does the flip.\n *\n * Because it is icon-only it carries both `title` (for pointer users) and\n * `aria-label` (an icon has no accessible name otherwise), both from `label`.\n * The sun and moon share one grid cell and cross-fade with a rotation.\n *\n * Under SSR the rendered theme is not known until the client reads the stored\n * preference, so wrap it in whatever your framework uses to defer to the client\n * (Nuxt's `<ClientOnly>`, for instance) if you render on the server, to avoid a\n * hydration mismatch on the icon.\n *\n * @example With @nuxtjs/color-mode\n * <script setup>\n * const colorMode = useColorMode()\n * const isDark = computed(() => colorMode.value === 'dark')\n * const toggle = () => { colorMode.preference = isDark.value ? 'light' : 'dark' }\n * <\\/script>\n *\n * <UiThemeToggle :is-dark=\"isDark\" :label=\"isDark ? 'Switch to light' : 'Switch to dark'\"\n * @toggle=\"toggle\" />\n */\nimport UiButton from './Button.vue'\nimport UiIcon from '../icons/Icon.vue'\n\ndefineProps({\n /**\n * Whether the dark theme is currently active. Drives which glyph is shown.\n * @type {boolean}\n * @default false\n */\n isDark: { type: Boolean, default: false },\n\n /**\n * Accessible name and hover tooltip. Should describe the action the control\n * performs, e.g. \"Switch to dark mode\".\n * @type {string}\n * @default 'Toggle theme'\n */\n label: { type: String, default: 'Toggle theme' },\n})\n\nconst emit = defineEmits(['toggle'])\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+EA,MAAM,OAAO;;GA9EX,OAAA,UAAA,GAAA,YA0BW,aAAA;IAzBT,SAAQ;IACR,OAAM;IACN,aAAA;IACC,OAAO,QAAA;IACP,cAAY,QAAA;IACb,OAAM;IACL,SAAK,OAAA,OAAA,OAAA,MAAA,WAAE,KAAI,QAAA;;IAOZ,SAAA,cAWO,CAXP,mBAWO,QAXP,YAWO,CAVL,YAIE,aAAA;KAHA,MAAK;KACL,OAAK,eAAA,CAAC,8DACE,QAAA,SAAM,mCAAA,+BAAA,CAAA;IAEhB,GAAA,MAAA,GAAA,CAAA,OAAA,CAAA,GAAA,YAIE,aAAA;KAHA,MAAK;KACL,OAAK,eAAA,CAAC,8DACE,QAAA,SAAM,iCAAA,gCAAA,CAAA"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import _sfc_main$1 from "../icons/Icon.js";
|
|
2
|
+
import { Fragment, Teleport, TransitionGroup, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, normalizeClass, openBlock, renderList, toDisplayString, withCtx } from "vue";
|
|
3
|
+
//#region src/components/Toast.vue
|
|
4
|
+
var _sfc_main = {
|
|
5
|
+
__name: "Toast",
|
|
6
|
+
props: {
|
|
7
|
+
/**
|
|
8
|
+
* The messages to show. Each is `{ id, message, type?, icon? }`, where `id`
|
|
9
|
+
* is stable and unique, `type` is one of the values below (default neutral),
|
|
10
|
+
* and `icon` is an optional MDI name.
|
|
11
|
+
* @type {Array<{ id: string|number, message: string, type?: string, icon?: string }>}
|
|
12
|
+
* @default []
|
|
13
|
+
*/
|
|
14
|
+
toasts: {
|
|
15
|
+
type: Array,
|
|
16
|
+
default: () => []
|
|
17
|
+
},
|
|
18
|
+
/**
|
|
19
|
+
* Where the stack anchors on screen.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @default 'top'
|
|
22
|
+
* @values 'top' | 'bottom'
|
|
23
|
+
*/
|
|
24
|
+
position: {
|
|
25
|
+
type: String,
|
|
26
|
+
default: "top"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
setup(__props) {
|
|
30
|
+
/**
|
|
31
|
+
* UiToast — a stack of transient, self-dismissing messages.
|
|
32
|
+
*
|
|
33
|
+
* The presentational half of a toast system: it renders and animates a list of
|
|
34
|
+
* messages, teleported to `<body>` so it floats above everything and clear of
|
|
35
|
+
* any parent's `overflow` or stacking context. Owning the list — adding a toast,
|
|
36
|
+
* timing it out, removing it — is the app's job, because *when* something is
|
|
37
|
+
* worth announcing is application logic, not layout. Hand it a reactive array
|
|
38
|
+
* and mutate that array; the enter/leave transitions handle the rest.
|
|
39
|
+
*
|
|
40
|
+
* Each entry is `{ id, message, type?, icon? }`. `id` must be stable and unique
|
|
41
|
+
* (it keys the transition); `type` picks the colour and defaults to a neutral
|
|
42
|
+
* dark pill; `icon` is optional and drawn through `UiIcon`.
|
|
43
|
+
*
|
|
44
|
+
* The container does not capture pointer events, so it never blocks the UI
|
|
45
|
+
* underneath; only the pills themselves do. Each pill is a `role="status"`, so a
|
|
46
|
+
* screen reader announces it politely without stealing focus.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* <script setup>
|
|
50
|
+
* import { ref } from 'vue'
|
|
51
|
+
* const toasts = ref([])
|
|
52
|
+
* let seq = 0
|
|
53
|
+
* function notify(message, type = 'info') {
|
|
54
|
+
* const id = ++seq
|
|
55
|
+
* toasts.value.push({ id, message, type })
|
|
56
|
+
* setTimeout(() => { toasts.value = toasts.value.filter((t) => t.id !== id) }, 3000)
|
|
57
|
+
* }
|
|
58
|
+
* <\/script>
|
|
59
|
+
*
|
|
60
|
+
* <UiToast :toasts="toasts" />
|
|
61
|
+
* <UiButton @click="notify('Saved', 'success')">Save</UiButton>
|
|
62
|
+
*/
|
|
63
|
+
const props = __props;
|
|
64
|
+
const positionClass = computed(() => props.position === "bottom" ? "bottom-6" : "top-6");
|
|
65
|
+
/**
|
|
66
|
+
* Toast colours are drawn from the design tokens (`success`/`warning`/`error`)
|
|
67
|
+
* rather than literal Tailwind palette names, so a rebrand of those ramps
|
|
68
|
+
* carries through here too. Anything unrecognised falls back to a neutral pill.
|
|
69
|
+
* @param {string} type
|
|
70
|
+
*/
|
|
71
|
+
const toastClass = (type) => {
|
|
72
|
+
switch (type) {
|
|
73
|
+
case "success": return "bg-success-600/90 text-white dark:bg-success-500/90";
|
|
74
|
+
case "warning": return "bg-warning-500/90 text-white dark:bg-warning-500/90";
|
|
75
|
+
case "error": return "bg-error-600/90 text-white dark:bg-error-500/90";
|
|
76
|
+
default: return "bg-gray-800/90 text-white dark:bg-gray-200/90 dark:text-gray-900";
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
return (_ctx, _cache) => {
|
|
80
|
+
return openBlock(), createBlock(Teleport, { to: "body" }, [createElementVNode("div", { class: normalizeClass(["fixed left-1/2 -translate-x-1/2 z-[100] flex flex-col items-center gap-2 pointer-events-none", positionClass.value]) }, [createVNode(TransitionGroup, {
|
|
81
|
+
"enter-active-class": "transition-all duration-250 ease-out",
|
|
82
|
+
"enter-from-class": "opacity-0 -translate-y-3 scale-95",
|
|
83
|
+
"enter-to-class": "opacity-100 translate-y-0 scale-100",
|
|
84
|
+
"leave-active-class": "transition-all duration-200 ease-in",
|
|
85
|
+
"leave-from-class": "opacity-100 translate-y-0 scale-100",
|
|
86
|
+
"leave-to-class": "opacity-0 -translate-y-1 scale-95"
|
|
87
|
+
}, {
|
|
88
|
+
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.toasts, (toast) => {
|
|
89
|
+
return openBlock(), createElementBlock("div", {
|
|
90
|
+
key: toast.id,
|
|
91
|
+
class: normalizeClass(["pointer-events-auto flex items-center gap-2 px-4 py-2.5 rounded-xl shadow-lg text-sm font-medium backdrop-blur-xs", toastClass(toast.type)]),
|
|
92
|
+
role: "status"
|
|
93
|
+
}, [toast.icon ? (openBlock(), createBlock(_sfc_main$1, {
|
|
94
|
+
key: 0,
|
|
95
|
+
name: toast.icon,
|
|
96
|
+
class: "w-4 h-4 shrink-0"
|
|
97
|
+
}, null, 8, ["name"])) : createCommentVNode("", true), createElementVNode("span", null, toDisplayString(toast.message), 1)], 2);
|
|
98
|
+
}), 128))]),
|
|
99
|
+
_: 1
|
|
100
|
+
})], 2)]);
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
//#endregion
|
|
105
|
+
export { _sfc_main as default };
|
|
106
|
+
|
|
107
|
+
//# sourceMappingURL=Toast.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toast.js","names":[],"sources":["../../src/components/Toast.vue"],"sourcesContent":["<template>\n <Teleport to=\"body\">\n <div\n class=\"fixed left-1/2 -translate-x-1/2 z-[100] flex flex-col items-center gap-2 pointer-events-none\"\n :class=\"positionClass\"\n >\n <TransitionGroup\n enter-active-class=\"transition-all duration-250 ease-out\"\n enter-from-class=\"opacity-0 -translate-y-3 scale-95\"\n enter-to-class=\"opacity-100 translate-y-0 scale-100\"\n leave-active-class=\"transition-all duration-200 ease-in\"\n leave-from-class=\"opacity-100 translate-y-0 scale-100\"\n leave-to-class=\"opacity-0 -translate-y-1 scale-95\"\n >\n <div\n v-for=\"toast in toasts\"\n :key=\"toast.id\"\n class=\"pointer-events-auto flex items-center gap-2 px-4 py-2.5 rounded-xl shadow-lg text-sm font-medium backdrop-blur-xs\"\n :class=\"toastClass(toast.type)\"\n role=\"status\"\n >\n <UiIcon v-if=\"toast.icon\" :name=\"toast.icon\" class=\"w-4 h-4 shrink-0\" />\n <span>{{ toast.message }}</span>\n </div>\n </TransitionGroup>\n </div>\n </Teleport>\n</template>\n\n<script setup>\n/**\n * UiToast — a stack of transient, self-dismissing messages.\n *\n * The presentational half of a toast system: it renders and animates a list of\n * messages, teleported to `<body>` so it floats above everything and clear of\n * any parent's `overflow` or stacking context. Owning the list — adding a toast,\n * timing it out, removing it — is the app's job, because *when* something is\n * worth announcing is application logic, not layout. Hand it a reactive array\n * and mutate that array; the enter/leave transitions handle the rest.\n *\n * Each entry is `{ id, message, type?, icon? }`. `id` must be stable and unique\n * (it keys the transition); `type` picks the colour and defaults to a neutral\n * dark pill; `icon` is optional and drawn through `UiIcon`.\n *\n * The container does not capture pointer events, so it never blocks the UI\n * underneath; only the pills themselves do. Each pill is a `role=\"status\"`, so a\n * screen reader announces it politely without stealing focus.\n *\n * @example\n * <script setup>\n * import { ref } from 'vue'\n * const toasts = ref([])\n * let seq = 0\n * function notify(message, type = 'info') {\n * const id = ++seq\n * toasts.value.push({ id, message, type })\n * setTimeout(() => { toasts.value = toasts.value.filter((t) => t.id !== id) }, 3000)\n * }\n * <\\/script>\n *\n * <UiToast :toasts=\"toasts\" />\n * <UiButton @click=\"notify('Saved', 'success')\">Save</UiButton>\n */\nimport { computed } from 'vue'\nimport UiIcon from '../icons/Icon.vue'\n\nconst props = defineProps({\n /**\n * The messages to show. Each is `{ id, message, type?, icon? }`, where `id`\n * is stable and unique, `type` is one of the values below (default neutral),\n * and `icon` is an optional MDI name.\n * @type {Array<{ id: string|number, message: string, type?: string, icon?: string }>}\n * @default []\n */\n toasts: { type: Array, default: () => [] },\n\n /**\n * Where the stack anchors on screen.\n * @type {string}\n * @default 'top'\n * @values 'top' | 'bottom'\n */\n position: { type: String, default: 'top' },\n})\n\nconst positionClass = computed(() => (props.position === 'bottom' ? 'bottom-6' : 'top-6'))\n\n/**\n * Toast colours are drawn from the design tokens (`success`/`warning`/`error`)\n * rather than literal Tailwind palette names, so a rebrand of those ramps\n * carries through here too. Anything unrecognised falls back to a neutral pill.\n * @param {string} type\n */\nconst toastClass = (type) => {\n switch (type) {\n case 'success':\n return 'bg-success-600/90 text-white dark:bg-success-500/90'\n case 'warning':\n return 'bg-warning-500/90 text-white dark:bg-warning-500/90'\n case 'error':\n return 'bg-error-600/90 text-white dark:bg-error-500/90'\n default:\n return 'bg-gray-800/90 text-white dark:bg-gray-200/90 dark:text-gray-900'\n }\n}\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkEA,MAAM,QAAQ;EAmBd,MAAM,gBAAgB,eAAgB,MAAM,aAAa,WAAW,aAAa,OAAQ;;;;;;;EAQzF,MAAM,cAAc,SAAS;GAC3B,QAAQ,MAAR;IACE,KAAK,WACH,OAAO;IACT,KAAK,WACH,OAAO;IACT,KAAK,SACH,OAAO;IACT,SACE,OAAO;GACX;EACF;;GAvGE,OAAA,UAAA,GAAA,YAyBW,UAAA,EAzBD,IAAG,OAAM,GAAA,CACjB,mBAuBM,OAAA,EAtBJ,OAAK,eAAA,CAAC,gGACE,cAAA,KAAa,CAAA,EAAA,GAAA,CAErB,YAkBkB,iBAAA;IAjBhB,sBAAmB;IACnB,oBAAiB;IACjB,kBAAe;IACf,sBAAmB;IACnB,oBAAiB;IACjB,kBAAe;;IAGb,SAAA,cAAuB,EADzB,UAAA,IAAA,GAAA,mBASM,UAAA,MAAA,WARY,QAAA,SAAT,UAAK;KADd,OAAA,UAAA,GAAA,mBASM,OAAA;MAPH,KAAK,MAAM;MACZ,OAAK,eAAA,CAAC,qHACE,WAAW,MAAM,IAAI,CAAA,CAAA;MAC7B,MAAK;KAES,GAAA,CAAA,MAAM,QAApB,UAAA,GAAA,YAAwE,aAAA;;MAA7C,MAAM,MAAM;MAAM,OAAM;KACnD,GAAA,MAAA,GAAA,CAAA,MAAA,CAAA,KAAA,mBAAA,IAAA,IAAA,GAAA,mBAAgC,QAAA,MAAA,gBAAvB,MAAM,OAAO,GAAA,CAAA,CAAA,GAAA,CAAA"}
|
package/dist/components/index.js
CHANGED
|
@@ -2,36 +2,42 @@ import _sfc_main from "../icons/Icon.js";
|
|
|
2
2
|
import _sfc_main$1 from "./Alert.js";
|
|
3
3
|
import _sfc_main$2 from "./Avatar.js";
|
|
4
4
|
import _sfc_main$3 from "./Badge.js";
|
|
5
|
-
import _sfc_main$4 from "./
|
|
6
|
-
import _sfc_main$5 from "./
|
|
7
|
-
import _sfc_main$6 from "./
|
|
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 "./
|
|
5
|
+
import _sfc_main$4 from "./Banner.js";
|
|
6
|
+
import _sfc_main$5 from "./Breadcrumb.js";
|
|
7
|
+
import _sfc_main$6 from "./Button.js";
|
|
8
|
+
import _sfc_main$7 from "./ButtonsGroup.js";
|
|
9
|
+
import _sfc_main$8 from "./Card.js";
|
|
10
|
+
import _sfc_main$9 from "./Checkbox.js";
|
|
11
|
+
import _sfc_main$10 from "./CodeBlock.js";
|
|
12
|
+
import _sfc_main$11 from "./ComparisonTable.js";
|
|
13
|
+
import _sfc_main$12 from "./Divider.js";
|
|
14
|
+
import _sfc_main$13 from "./Dropdown.js";
|
|
15
|
+
import _sfc_main$14 from "./DropdownItem.js";
|
|
16
|
+
import _sfc_main$15 from "./DropdownRow.js";
|
|
17
|
+
import _sfc_main$16 from "./DropdownSubmenu.js";
|
|
18
|
+
import _sfc_main$17 from "./FileInput.js";
|
|
19
|
+
import _sfc_main$18 from "./FormField.js";
|
|
20
|
+
import _sfc_main$19 from "./IconTile.js";
|
|
21
|
+
import _sfc_main$20 from "./Input.js";
|
|
22
|
+
import _sfc_main$21 from "./Kbd.js";
|
|
23
|
+
import _sfc_main$22 from "./ListMenu.js";
|
|
24
|
+
import _sfc_main$23 from "./ListMenuItem.js";
|
|
25
|
+
import _sfc_main$24 from "./Modal.js";
|
|
26
|
+
import _sfc_main$25 from "./Numpad.js";
|
|
27
|
+
import _sfc_main$26 from "./Popup.js";
|
|
28
|
+
import _sfc_main$27 from "./ProgressBar.js";
|
|
29
|
+
import _sfc_main$28 from "./Prompt.js";
|
|
30
|
+
import _sfc_main$29 from "./Radio.js";
|
|
31
|
+
import _sfc_main$30 from "./SectionHeading.js";
|
|
32
|
+
import _sfc_main$31 from "./Segmented.js";
|
|
33
|
+
import _sfc_main$32 from "./Select.js";
|
|
34
|
+
import _sfc_main$33 from "./Slider.js";
|
|
35
|
+
import _sfc_main$34 from "./Spinner.js";
|
|
36
|
+
import _sfc_main$35 from "./Stepper.js";
|
|
37
|
+
import _sfc_main$36 from "./ThemeToggle.js";
|
|
38
|
+
import _sfc_main$37 from "./Toast.js";
|
|
39
|
+
import _sfc_main$38 from "./Toggle.js";
|
|
40
|
+
import _sfc_main$39 from "./Tooltip.js";
|
|
35
41
|
//#region src/components/index.js
|
|
36
42
|
/**
|
|
37
43
|
* Real component imports, re-exported under the default `Ui` prefix.
|
|
@@ -53,39 +59,45 @@ var components = {
|
|
|
53
59
|
Alert: _sfc_main$1,
|
|
54
60
|
Avatar: _sfc_main$2,
|
|
55
61
|
Badge: _sfc_main$3,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
62
|
+
Banner: _sfc_main$4,
|
|
63
|
+
Breadcrumb: _sfc_main$5,
|
|
64
|
+
Button: _sfc_main$6,
|
|
65
|
+
ButtonsGroup: _sfc_main$7,
|
|
66
|
+
Card: _sfc_main$8,
|
|
67
|
+
Checkbox: _sfc_main$9,
|
|
68
|
+
CodeBlock: _sfc_main$10,
|
|
69
|
+
ComparisonTable: _sfc_main$11,
|
|
70
|
+
Divider: _sfc_main$12,
|
|
71
|
+
Dropdown: _sfc_main$13,
|
|
72
|
+
DropdownItem: _sfc_main$14,
|
|
73
|
+
DropdownRow: _sfc_main$15,
|
|
74
|
+
DropdownSubmenu: _sfc_main$16,
|
|
75
|
+
FileInput: _sfc_main$17,
|
|
76
|
+
FormField: _sfc_main$18,
|
|
77
|
+
IconTile: _sfc_main$19,
|
|
78
|
+
Input: _sfc_main$20,
|
|
79
|
+
Kbd: _sfc_main$21,
|
|
80
|
+
ListMenu: _sfc_main$22,
|
|
81
|
+
ListMenuItem: _sfc_main$23,
|
|
82
|
+
Modal: _sfc_main$24,
|
|
83
|
+
Numpad: _sfc_main$25,
|
|
84
|
+
Popup: _sfc_main$26,
|
|
85
|
+
ProgressBar: _sfc_main$27,
|
|
86
|
+
Prompt: _sfc_main$28,
|
|
87
|
+
Radio: _sfc_main$29,
|
|
88
|
+
SectionHeading: _sfc_main$30,
|
|
89
|
+
Segmented: _sfc_main$31,
|
|
90
|
+
Select: _sfc_main$32,
|
|
91
|
+
Slider: _sfc_main$33,
|
|
92
|
+
Spinner: _sfc_main$34,
|
|
93
|
+
Stepper: _sfc_main$35,
|
|
94
|
+
ThemeToggle: _sfc_main$36,
|
|
95
|
+
Toast: _sfc_main$37,
|
|
96
|
+
Toggle: _sfc_main$38,
|
|
97
|
+
Tooltip: _sfc_main$39,
|
|
86
98
|
Icon: _sfc_main
|
|
87
99
|
};
|
|
88
100
|
//#endregion
|
|
89
|
-
export { _sfc_main$1 as UiAlert, _sfc_main$2 as UiAvatar, _sfc_main$3 as UiBadge, _sfc_main$4 as
|
|
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 UiButtonsGroup, _sfc_main$8 as UiCard, _sfc_main$9 as UiCheckbox, _sfc_main$10 as UiCodeBlock, _sfc_main$11 as UiComparisonTable, _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 UiFileInput, _sfc_main$18 as UiFormField, _sfc_main as UiIcon, _sfc_main$19 as UiIconTile, _sfc_main$20 as UiInput, _sfc_main$21 as UiKbd, _sfc_main$22 as UiListMenu, _sfc_main$23 as UiListMenuItem, _sfc_main$24 as UiModal, _sfc_main$25 as UiNumpad, _sfc_main$26 as UiPopup, _sfc_main$27 as UiProgressBar, _sfc_main$28 as UiPrompt, _sfc_main$29 as UiRadio, _sfc_main$30 as UiSectionHeading, _sfc_main$31 as UiSegmented, _sfc_main$32 as UiSelect, _sfc_main$33 as UiSlider, _sfc_main$34 as UiSpinner, _sfc_main$35 as UiStepper, _sfc_main$36 as UiThemeToggle, _sfc_main$37 as UiToast, _sfc_main$38 as UiToggle, _sfc_main$39 as UiTooltip, components };
|
|
90
102
|
|
|
91
103
|
//# 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 Breadcrumb from './Breadcrumb.vue'\nimport Button from './Button.vue'\nimport ButtonsGroup from './ButtonsGroup.vue'\nimport Card from './Card.vue'\nimport Checkbox from './Checkbox.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 Stepper from './Stepper.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 Breadcrumb as UiBreadcrumb,\n Button as UiButton,\n ButtonsGroup as UiButtonsGroup,\n Card as UiCard,\n Checkbox as UiCheckbox,\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 Stepper as UiStepper,\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 Breadcrumb,\n Button,\n ButtonsGroup,\n Card,\n Checkbox,\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 Stepper,\n Toggle,\n Tooltip,\n Icon,\n}\n"],"mappings":"
|
|
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 ButtonsGroup from './ButtonsGroup.vue'\nimport Card from './Card.vue'\nimport Checkbox from './Checkbox.vue'\nimport CodeBlock from './CodeBlock.vue'\nimport ComparisonTable from './ComparisonTable.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 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 ButtonsGroup as UiButtonsGroup,\n Card as UiCard,\n Checkbox as UiCheckbox,\n CodeBlock as UiCodeBlock,\n ComparisonTable as UiComparisonTable,\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 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 ButtonsGroup,\n Card,\n Checkbox,\n CodeBlock,\n ComparisonTable,\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 ThemeToggle,\n Toast,\n Toggle,\n Tooltip,\n Icon,\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoGA,IAAa,aAAa;CACxB,OAAA;CACA,QAAA;CACA,OAAA;CACA,QAAA;CACA,YAAA;CACA,QAAA;CACA,cAAA;CACA,MAAA;CACA,UAAA;CACA,WAAA;CACA,iBAAA;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,aAAA;CACA,OAAA;CACA,QAAA;CACA,SAAA;CACA,MAAA;AACF"}
|
package/dist/icons/mdi.js
CHANGED
|
@@ -28,9 +28,11 @@ var mdiPaths = {
|
|
|
28
28
|
"chevron-up": "M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6l-6 6z",
|
|
29
29
|
"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",
|
|
30
30
|
"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",
|
|
31
|
+
"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",
|
|
31
32
|
"delete": "M19 4h-3.5l-1-1h-5l-1 1H5v2h14M6 19a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7H6z",
|
|
32
33
|
"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",
|
|
33
34
|
"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",
|
|
35
|
+
"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",
|
|
34
36
|
"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",
|
|
35
37
|
"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",
|
|
36
38
|
"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,15 +44,22 @@ var mdiPaths = {
|
|
|
42
44
|
"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",
|
|
43
45
|
"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",
|
|
44
46
|
"minus": "M19 13H5v-2h14z",
|
|
47
|
+
"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",
|
|
48
|
+
"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",
|
|
45
49
|
"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",
|
|
46
50
|
"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",
|
|
47
51
|
"plus": "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z",
|
|
48
52
|
"share": "m21 12l-7-7v4C7 10 4 15 3 20c2.5-3.5 6-5.1 11-5.1V19z",
|
|
53
|
+
"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",
|
|
54
|
+
"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",
|
|
49
55
|
"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",
|
|
50
56
|
"trash-can": "M9 3v1H4v2h1v13a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6h1V4h-5V3zm0 5h2v9H9zm4 0h2v9h-2z",
|
|
51
57
|
"trash-can-outline": "M9 3v1H4v2h1v13a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6h1V4h-5V3zM7 6h10v13H7zm2 2v9h2V8zm4 0v9h2V8z",
|
|
52
58
|
"view-grid": "M3 11h8V3H3m0 18h8v-8H3m10 8h8v-8h-8m0-10v8h8V3",
|
|
53
59
|
"view-list": "M9 5v4h12V5M9 19h12v-4H9m0-1h12v-4H9M4 9h4V5H4m0 14h4v-4H4m0-1h4v-4H4z",
|
|
60
|
+
"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",
|
|
61
|
+
"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",
|
|
62
|
+
"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",
|
|
54
63
|
"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"
|
|
55
64
|
};
|
|
56
65
|
/**
|
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 '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 '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 '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 '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 '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,UAAU;CACV,iBAAiB;CACjB,SAAS;CACT,UAAU;CACV,mBAAmB;CACnB,eAAe;CACf,eAAe;CACf,iBAAiB;CACjB,eAAe;CACf,eAAe;CACf,WAAW;CACX,QAAQ;CACR,UAAU;CACV,SAAS;CACT,OAAO;CACP,UAAU;CACV,QAAQ;CACR,SAAS;CACT,aAAa;CACb,aAAa;CACb,qBAAqB;CACrB,aAAa;CACb,aAAa;CACb,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-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"}
|
package/dist/index.d.ts
CHANGED
|
@@ -10,11 +10,14 @@ type UiComponent = Component
|
|
|
10
10
|
export declare const UiAlert: UiComponent
|
|
11
11
|
export declare const UiAvatar: UiComponent
|
|
12
12
|
export declare const UiBadge: UiComponent
|
|
13
|
+
export declare const UiBanner: UiComponent
|
|
13
14
|
export declare const UiBreadcrumb: UiComponent
|
|
14
15
|
export declare const UiButton: UiComponent
|
|
15
16
|
export declare const UiButtonsGroup: UiComponent
|
|
16
17
|
export declare const UiCard: UiComponent
|
|
17
18
|
export declare const UiCheckbox: UiComponent
|
|
19
|
+
export declare const UiCodeBlock: UiComponent
|
|
20
|
+
export declare const UiComparisonTable: UiComponent
|
|
18
21
|
export declare const UiDivider: UiComponent
|
|
19
22
|
export declare const UiDropdown: UiComponent
|
|
20
23
|
export declare const UiDropdownItem: UiComponent
|
|
@@ -37,7 +40,10 @@ export declare const UiSectionHeading: UiComponent
|
|
|
37
40
|
export declare const UiSegmented: UiComponent
|
|
38
41
|
export declare const UiSelect: UiComponent
|
|
39
42
|
export declare const UiSlider: UiComponent
|
|
43
|
+
export declare const UiSpinner: UiComponent
|
|
40
44
|
export declare const UiStepper: UiComponent
|
|
45
|
+
export declare const UiThemeToggle: UiComponent
|
|
46
|
+
export declare const UiToast: UiComponent
|
|
41
47
|
export declare const UiToggle: UiComponent
|
|
42
48
|
export declare const UiTooltip: UiComponent
|
|
43
49
|
export declare const UiIcon: UiComponent
|