iryx-ui 0.22.0 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/component-names.d.ts +1 -1
- package/dist/component-names.js +1 -1
- package/dist/components/Code.js +5 -0
- package/dist/components/Code.vue.d.ts +38 -0
- package/dist/components/Code.vue_vue_type_script_setup_true_lang.js +66 -0
- package/dist/components/DescriptionList.js +5 -0
- package/dist/components/DescriptionList.vue.d.ts +50 -0
- package/dist/components/DescriptionList.vue_vue_type_script_setup_true_lang.js +48 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +124 -120
- package/dist/index.d.ts +2 -0
- package/dist/index.js +126 -122
- package/dist/theme/code.d.ts +53 -0
- package/dist/theme/code.js +24 -0
- package/dist/theme/description-list.d.ts +62 -0
- package/dist/theme/description-list.js +48 -0
- package/dist/theme/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Consumed by the Vue plugin (global registration) and the Nuxt module
|
|
4
4
|
* (auto-imports). Keep in sync with `src/components/index.ts`.
|
|
5
5
|
*/
|
|
6
|
-
export declare const componentNames: readonly ["Accordion", "Alert", "App", "AppShell", "AspectRatio", "AuthProviders", "Avatar", "AvatarGroup", "Badge", "BarChart", "Banner", "Breadcrumb", "Button", "ButtonGroup", "Calendar", "Card", "Carousel", "ChartLegend", "Checkbox", "ColorPicker", "Combobox", "Collapsible", "CommandPalette", "Container", "ConfirmDialog", "ContextMenu", "DateField", "DatePicker", "DateRangePicker", "Dialog", "DonutChart", "Drawer", "DropdownMenu", "Editable", "EmptyState", "FileUpload", "Form", "FormField", "HoverCard", "Icon", "Input", "Kbd", "Label", "LineChart", "NavigationMenu", "NumberInput", "Menubar", "PageHeader", "Pagination", "PasswordInput", "PinInput", "Popover", "Progress", "RadioGroup", "Rating", "ScrollArea", "ScrollFade", "Select", "Separator", "Sidebar", "SignaturePad", "Skeleton", "Slider", "Sparkline", "Splitter", "Stat", "Stepper", "Switch", "Table", "Tabs", "TagsInput", "Textarea", "Toaster", "Toggle", "ToggleGroup", "TimeField", "Timeline", "Toolbar", "Tooltip", "Tree"];
|
|
6
|
+
export declare const componentNames: readonly ["Accordion", "Alert", "App", "AppShell", "AspectRatio", "AuthProviders", "Avatar", "AvatarGroup", "Badge", "BarChart", "Banner", "Breadcrumb", "Button", "ButtonGroup", "Calendar", "Card", "Carousel", "ChartLegend", "Checkbox", "Code", "ColorPicker", "Combobox", "Collapsible", "CommandPalette", "Container", "ConfirmDialog", "ContextMenu", "DateField", "DatePicker", "DateRangePicker", "DescriptionList", "Dialog", "DonutChart", "Drawer", "DropdownMenu", "Editable", "EmptyState", "FileUpload", "Form", "FormField", "HoverCard", "Icon", "Input", "Kbd", "Label", "LineChart", "NavigationMenu", "NumberInput", "Menubar", "PageHeader", "Pagination", "PasswordInput", "PinInput", "Popover", "Progress", "RadioGroup", "Rating", "ScrollArea", "ScrollFade", "Select", "Separator", "Sidebar", "SignaturePad", "Skeleton", "Slider", "Sparkline", "Splitter", "Stat", "Stepper", "Switch", "Table", "Tabs", "TagsInput", "Textarea", "Toaster", "Toggle", "ToggleGroup", "TimeField", "Timeline", "Toolbar", "Tooltip", "Tree"];
|
|
7
7
|
export type ComponentName = (typeof componentNames)[number];
|
|
8
8
|
/**
|
|
9
9
|
* Names of every block exported from `iryx-ui/marketing`.
|
package/dist/component-names.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/component-names.ts
|
|
2
|
-
var e = /* @__PURE__ */ "Accordion.Alert.App.AppShell.AspectRatio.AuthProviders.Avatar.AvatarGroup.Badge.BarChart.Banner.Breadcrumb.Button.ButtonGroup.Calendar.Card.Carousel.ChartLegend.Checkbox.ColorPicker.Combobox.Collapsible.CommandPalette.Container.ConfirmDialog.ContextMenu.DateField.DatePicker.DateRangePicker.Dialog.DonutChart.Drawer.DropdownMenu.Editable.EmptyState.FileUpload.Form.FormField.HoverCard.Icon.Input.Kbd.Label.LineChart.NavigationMenu.NumberInput.Menubar.PageHeader.Pagination.PasswordInput.PinInput.Popover.Progress.RadioGroup.Rating.ScrollArea.ScrollFade.Select.Separator.Sidebar.SignaturePad.Skeleton.Slider.Sparkline.Splitter.Stat.Stepper.Switch.Table.Tabs.TagsInput.Textarea.Toaster.Toggle.ToggleGroup.TimeField.Timeline.Toolbar.Tooltip.Tree".split("."), t = [
|
|
2
|
+
var e = /* @__PURE__ */ "Accordion.Alert.App.AppShell.AspectRatio.AuthProviders.Avatar.AvatarGroup.Badge.BarChart.Banner.Breadcrumb.Button.ButtonGroup.Calendar.Card.Carousel.ChartLegend.Checkbox.Code.ColorPicker.Combobox.Collapsible.CommandPalette.Container.ConfirmDialog.ContextMenu.DateField.DatePicker.DateRangePicker.DescriptionList.Dialog.DonutChart.Drawer.DropdownMenu.Editable.EmptyState.FileUpload.Form.FormField.HoverCard.Icon.Input.Kbd.Label.LineChart.NavigationMenu.NumberInput.Menubar.PageHeader.Pagination.PasswordInput.PinInput.Popover.Progress.RadioGroup.Rating.ScrollArea.ScrollFade.Select.Separator.Sidebar.SignaturePad.Skeleton.Slider.Sparkline.Splitter.Stat.Stepper.Switch.Table.Tabs.TagsInput.Textarea.Toaster.Toggle.ToggleGroup.TimeField.Timeline.Toolbar.Tooltip.Tree".split("."), t = [
|
|
3
3
|
"BrowserFrame",
|
|
4
4
|
"FeatureCard",
|
|
5
5
|
"Hero",
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { ClassValue } from '../class-value';
|
|
2
|
+
export interface CodeProps {
|
|
3
|
+
/** The code itself. The default slot renders instead when it is absent. */
|
|
4
|
+
code?: string;
|
|
5
|
+
/** Render a `pre` block rather than an inline chip. */
|
|
6
|
+
block?: boolean;
|
|
7
|
+
/** Show a copy button. Defaults to on for a block, off inline. */
|
|
8
|
+
copy?: boolean;
|
|
9
|
+
copyLabel?: string;
|
|
10
|
+
copiedLabel?: string;
|
|
11
|
+
/** Skip built-in classes; you take over styling entirely. */
|
|
12
|
+
unstyled?: boolean;
|
|
13
|
+
class?: ClassValue;
|
|
14
|
+
/** Override classes per element, e.g. `{ code: 'text-xs' }`. */
|
|
15
|
+
ui?: {
|
|
16
|
+
root?: string;
|
|
17
|
+
code?: string;
|
|
18
|
+
copy?: string;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
declare var __VLS_8: {};
|
|
22
|
+
type __VLS_Slots = {} & {
|
|
23
|
+
default?: (props: typeof __VLS_8) => any;
|
|
24
|
+
};
|
|
25
|
+
declare const __VLS_base: import("vue").DefineComponent<CodeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CodeProps> & Readonly<{}>, {
|
|
26
|
+
unstyled: boolean;
|
|
27
|
+
copy: boolean;
|
|
28
|
+
copyLabel: string;
|
|
29
|
+
copiedLabel: string;
|
|
30
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
32
|
+
declare const _default: typeof __VLS_export;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { useIryxUiConfig as e } from "../config.js";
|
|
2
|
+
import t from "./Icon.js";
|
|
3
|
+
import { codeTheme as n } from "../theme/code.js";
|
|
4
|
+
import { computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, defineComponent as u, normalizeClass as d, onBeforeUnmount as f, openBlock as p, ref as m, renderSlot as h, toDisplayString as g, unref as _, withCtx as v } from "vue";
|
|
5
|
+
import { Copy01Icon as y, Tick02Icon as b } from "@hugeicons/core-free-icons";
|
|
6
|
+
import { Primitive as x } from "reka-ui";
|
|
7
|
+
//#region src/components/Code.vue?vue&type=script&setup=true&lang.ts
|
|
8
|
+
var S = ["aria-label"], C = /*@__PURE__*/ u({
|
|
9
|
+
__name: "Code",
|
|
10
|
+
props: {
|
|
11
|
+
code: {},
|
|
12
|
+
block: { type: Boolean },
|
|
13
|
+
copy: {
|
|
14
|
+
type: Boolean,
|
|
15
|
+
default: void 0
|
|
16
|
+
},
|
|
17
|
+
copyLabel: { default: "Copy code" },
|
|
18
|
+
copiedLabel: { default: "Copied" },
|
|
19
|
+
unstyled: {
|
|
20
|
+
type: Boolean,
|
|
21
|
+
default: void 0
|
|
22
|
+
},
|
|
23
|
+
class: { type: [
|
|
24
|
+
String,
|
|
25
|
+
Boolean,
|
|
26
|
+
null,
|
|
27
|
+
Array
|
|
28
|
+
] },
|
|
29
|
+
ui: {}
|
|
30
|
+
},
|
|
31
|
+
setup(u) {
|
|
32
|
+
let C = u, w = e(), T = r(() => C.unstyled ?? w.unstyled), E = r(() => C.copy ?? C.block ?? !1), D = m(), O = m(!1), k;
|
|
33
|
+
async function A() {
|
|
34
|
+
let e = C.code ?? D.value?.textContent ?? "";
|
|
35
|
+
if (e) {
|
|
36
|
+
try {
|
|
37
|
+
await navigator.clipboard.writeText(e);
|
|
38
|
+
} catch {
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
O.value = !0, clearTimeout(k), k = setTimeout(() => O.value = !1, 2e3);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
f(() => clearTimeout(k));
|
|
45
|
+
let j = r(() => n({ block: C.block })), M = r(() => T.value ? [C.ui?.root, C.class] : j.value.root({ class: [C.ui?.root, C.class] })), N = r(() => T.value ? C.ui?.code : j.value.code({ class: C.ui?.code })), P = r(() => T.value ? C.ui?.copy : j.value.copy({ class: C.ui?.copy }));
|
|
46
|
+
return (e, n) => (p(), i(_(x), {
|
|
47
|
+
as: C.block ? "pre" : "span",
|
|
48
|
+
class: d(M.value)
|
|
49
|
+
}, {
|
|
50
|
+
default: v(() => [s("code", {
|
|
51
|
+
ref_key: "codeEl",
|
|
52
|
+
ref: D,
|
|
53
|
+
class: d(N.value)
|
|
54
|
+
}, [h(e.$slots, "default", {}, () => [c(g(C.code), 1)])], 2), E.value ? (p(), o("button", {
|
|
55
|
+
key: 0,
|
|
56
|
+
type: "button",
|
|
57
|
+
class: d(P.value),
|
|
58
|
+
"aria-label": O.value ? C.copiedLabel : C.copyLabel,
|
|
59
|
+
onClick: A
|
|
60
|
+
}, [l(t, { icon: O.value ? _(b) : _(y) }, null, 8, ["icon"])], 10, S)) : a("", !0)]),
|
|
61
|
+
_: 3
|
|
62
|
+
}, 8, ["as", "class"]));
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
//#endregion
|
|
66
|
+
export { C as default };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { ClassValue } from '../class-value';
|
|
2
|
+
export interface DescriptionListItem {
|
|
3
|
+
term: string;
|
|
4
|
+
description?: string | number;
|
|
5
|
+
/** Passed to the slots, so a row can be rendered by name rather than by index. */
|
|
6
|
+
key?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface DescriptionListProps {
|
|
9
|
+
items?: DescriptionListItem[];
|
|
10
|
+
/** `horizontal` puts the term and the description side by side on one row. */
|
|
11
|
+
orientation?: 'vertical' | 'horizontal';
|
|
12
|
+
/** Separate the rows with a rule instead of whitespace. */
|
|
13
|
+
divided?: boolean;
|
|
14
|
+
/** Skip built-in classes; you take over styling entirely. */
|
|
15
|
+
unstyled?: boolean;
|
|
16
|
+
class?: ClassValue;
|
|
17
|
+
/** Override classes per element, e.g. `{ term: 'text-foreground' }`. */
|
|
18
|
+
ui?: {
|
|
19
|
+
root?: string;
|
|
20
|
+
item?: string;
|
|
21
|
+
term?: string;
|
|
22
|
+
description?: string;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
declare var __VLS_8: {
|
|
26
|
+
item: DescriptionListItem;
|
|
27
|
+
index: number;
|
|
28
|
+
}, __VLS_10: {
|
|
29
|
+
item: DescriptionListItem;
|
|
30
|
+
index: number;
|
|
31
|
+
}, __VLS_12: {};
|
|
32
|
+
type __VLS_Slots = {} & {
|
|
33
|
+
term?: (props: typeof __VLS_8) => any;
|
|
34
|
+
} & {
|
|
35
|
+
description?: (props: typeof __VLS_10) => any;
|
|
36
|
+
} & {
|
|
37
|
+
default?: (props: typeof __VLS_12) => any;
|
|
38
|
+
};
|
|
39
|
+
declare const __VLS_base: import("vue").DefineComponent<DescriptionListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DescriptionListProps> & Readonly<{}>, {
|
|
40
|
+
items: DescriptionListItem[];
|
|
41
|
+
unstyled: boolean;
|
|
42
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
43
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
44
|
+
declare const _default: typeof __VLS_export;
|
|
45
|
+
export default _default;
|
|
46
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
47
|
+
new (): {
|
|
48
|
+
$slots: S;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { useIryxUiConfig as e } from "../config.js";
|
|
2
|
+
import { descriptionListTheme as t } from "../theme/description-list.js";
|
|
3
|
+
import { Fragment as n, computed as r, createBlock as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, defineComponent as c, normalizeClass as l, openBlock as u, renderList as d, renderSlot as f, toDisplayString as p, unref as m, withCtx as h } from "vue";
|
|
4
|
+
import { Primitive as g } from "reka-ui";
|
|
5
|
+
//#region src/components/DescriptionList.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
+
var _ = /*@__PURE__*/ c({
|
|
7
|
+
__name: "DescriptionList",
|
|
8
|
+
props: {
|
|
9
|
+
items: { default: () => [] },
|
|
10
|
+
orientation: {},
|
|
11
|
+
divided: { type: Boolean },
|
|
12
|
+
unstyled: {
|
|
13
|
+
type: Boolean,
|
|
14
|
+
default: void 0
|
|
15
|
+
},
|
|
16
|
+
class: { type: [
|
|
17
|
+
String,
|
|
18
|
+
Boolean,
|
|
19
|
+
null,
|
|
20
|
+
Array
|
|
21
|
+
] },
|
|
22
|
+
ui: {}
|
|
23
|
+
},
|
|
24
|
+
setup(c) {
|
|
25
|
+
let _ = c, v = e(), y = r(() => _.unstyled ?? v.unstyled), b = r(() => t({
|
|
26
|
+
orientation: _.orientation,
|
|
27
|
+
divided: _.divided
|
|
28
|
+
})), x = r(() => y.value ? [_.ui?.root, _.class] : b.value.root({ class: [_.ui?.root, _.class] })), S = r(() => y.value ? _.ui?.item : b.value.item({ class: _.ui?.item })), C = r(() => y.value ? _.ui?.term : b.value.term({ class: _.ui?.term })), w = r(() => y.value ? _.ui?.description : b.value.description({ class: _.ui?.description }));
|
|
29
|
+
return (e, t) => (u(), i(m(g), {
|
|
30
|
+
as: "dl",
|
|
31
|
+
class: l(x.value)
|
|
32
|
+
}, {
|
|
33
|
+
default: h(() => [(u(!0), a(n, null, d(_.items, (t, n) => (u(), a("div", {
|
|
34
|
+
key: t.key ?? t.term,
|
|
35
|
+
class: l(S.value)
|
|
36
|
+
}, [o("dt", { class: l(C.value) }, [f(e.$slots, "term", {
|
|
37
|
+
item: t,
|
|
38
|
+
index: n
|
|
39
|
+
}, () => [s(p(t.term), 1)])], 2), o("dd", { class: l(w.value) }, [f(e.$slots, "description", {
|
|
40
|
+
item: t,
|
|
41
|
+
index: n
|
|
42
|
+
}, () => [s(p(t.description), 1)])], 2)], 2))), 128)), f(e.$slots, "default")]),
|
|
43
|
+
_: 3
|
|
44
|
+
}, 8, ["class"]));
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
//#endregion
|
|
48
|
+
export { _ as default };
|
|
@@ -17,6 +17,7 @@ export { default as Card } from './Card.vue';
|
|
|
17
17
|
export { default as Carousel } from './Carousel.vue';
|
|
18
18
|
export { default as ChartLegend } from './ChartLegend.vue';
|
|
19
19
|
export { default as Checkbox } from './Checkbox.vue';
|
|
20
|
+
export { default as Code } from './Code.vue';
|
|
20
21
|
export { default as Collapsible } from './Collapsible.vue';
|
|
21
22
|
export { default as ColorPicker } from './ColorPicker.vue';
|
|
22
23
|
export { default as Combobox } from './Combobox.vue';
|
|
@@ -27,6 +28,7 @@ export { default as ContextMenu } from './ContextMenu.vue';
|
|
|
27
28
|
export { default as DateField } from './DateField.vue';
|
|
28
29
|
export { default as DatePicker } from './DatePicker.vue';
|
|
29
30
|
export { default as DateRangePicker } from './DateRangePicker.vue';
|
|
31
|
+
export { default as DescriptionList } from './DescriptionList.vue';
|
|
30
32
|
export { default as Dialog } from './Dialog.vue';
|
|
31
33
|
export { default as DonutChart } from './DonutChart.vue';
|
|
32
34
|
export { default as Drawer } from './Drawer.vue';
|
package/dist/components/index.js
CHANGED
|
@@ -20,67 +20,69 @@ import v from "./Calendar.js";
|
|
|
20
20
|
import y from "./Card.js";
|
|
21
21
|
import b from "./Carousel.js";
|
|
22
22
|
import x from "./Checkbox.js";
|
|
23
|
-
import S from "./
|
|
24
|
-
import C from "./
|
|
25
|
-
import w from "./
|
|
26
|
-
import T from "./
|
|
27
|
-
import E from "./
|
|
28
|
-
import D from "./
|
|
29
|
-
import O from "./
|
|
30
|
-
import k from "./
|
|
31
|
-
import A from "./
|
|
32
|
-
import j from "./
|
|
33
|
-
import M from "./
|
|
34
|
-
import N from "./
|
|
35
|
-
import P from "./
|
|
36
|
-
import F from "./
|
|
37
|
-
import I from "./
|
|
38
|
-
import L from "./
|
|
39
|
-
import R from "./
|
|
40
|
-
import z from "./
|
|
41
|
-
import B from "./
|
|
42
|
-
import V from "./
|
|
43
|
-
import H from "./
|
|
44
|
-
import U from "./
|
|
45
|
-
import W from "./
|
|
46
|
-
import G from "./
|
|
47
|
-
import K from "./
|
|
48
|
-
import q from "./
|
|
49
|
-
import J from "./
|
|
50
|
-
import Y from "./
|
|
51
|
-
import X from "./
|
|
52
|
-
import Z from "./
|
|
53
|
-
import Q from "./
|
|
54
|
-
import $ from "./
|
|
55
|
-
import ee from "./
|
|
56
|
-
import te from "./
|
|
57
|
-
import ne from "./
|
|
58
|
-
import re from "./
|
|
59
|
-
import ie from "./
|
|
60
|
-
import ae from "./
|
|
61
|
-
import oe from "./
|
|
62
|
-
import se from "./
|
|
63
|
-
import ce from "./
|
|
64
|
-
import le from "./
|
|
65
|
-
import ue from "./
|
|
66
|
-
import de from "./
|
|
67
|
-
import fe from "./
|
|
68
|
-
import pe from "./
|
|
69
|
-
import me from "./
|
|
70
|
-
import he from "./
|
|
71
|
-
import ge from "./
|
|
72
|
-
import _e from "./
|
|
73
|
-
import ve from "./
|
|
74
|
-
import ye from "./
|
|
75
|
-
import be from "./
|
|
76
|
-
import xe from "./
|
|
77
|
-
import Se from "./
|
|
78
|
-
import Ce from "./
|
|
79
|
-
import we from "./
|
|
80
|
-
import Te from "./
|
|
81
|
-
import Ee from "./
|
|
23
|
+
import S from "./Code.js";
|
|
24
|
+
import C from "./Collapsible.js";
|
|
25
|
+
import w from "./ColorPicker.js";
|
|
26
|
+
import T from "./Combobox.js";
|
|
27
|
+
import E from "./Kbd.js";
|
|
28
|
+
import D from "./CommandPalette.js";
|
|
29
|
+
import O from "./Dialog.js";
|
|
30
|
+
import k from "./ConfirmDialog.js";
|
|
31
|
+
import A from "./Container.js";
|
|
32
|
+
import j from "./ContextMenu.js";
|
|
33
|
+
import M from "./DateField.js";
|
|
34
|
+
import N from "./DatePicker.js";
|
|
35
|
+
import P from "./DateRangePicker.js";
|
|
36
|
+
import F from "./DescriptionList.js";
|
|
37
|
+
import I from "./DonutChart.js";
|
|
38
|
+
import L from "./DropdownMenu.js";
|
|
39
|
+
import R from "./Editable.js";
|
|
40
|
+
import z from "./EmptyState.js";
|
|
41
|
+
import B from "./FileUpload.js";
|
|
42
|
+
import V from "./Form.js";
|
|
43
|
+
import H from "./Label.js";
|
|
44
|
+
import U from "./FormField.js";
|
|
45
|
+
import W from "./HoverCard.js";
|
|
46
|
+
import G from "./Input.js";
|
|
47
|
+
import K from "./LineChart.js";
|
|
48
|
+
import q from "./Menubar.js";
|
|
49
|
+
import J from "./NavigationMenu.js";
|
|
50
|
+
import Y from "./NumberInput.js";
|
|
51
|
+
import X from "./PageHeader.js";
|
|
52
|
+
import Z from "./Pagination.js";
|
|
53
|
+
import Q from "./PasswordInput.js";
|
|
54
|
+
import $ from "./PinInput.js";
|
|
55
|
+
import ee from "./Popover.js";
|
|
56
|
+
import te from "./Progress.js";
|
|
57
|
+
import ne from "./RadioGroup.js";
|
|
58
|
+
import re from "./Rating.js";
|
|
59
|
+
import ie from "./ScrollArea.js";
|
|
60
|
+
import ae from "./ScrollFade.js";
|
|
61
|
+
import oe from "./Select.js";
|
|
62
|
+
import se from "./Separator.js";
|
|
63
|
+
import ce from "./Sidebar.js";
|
|
64
|
+
import le from "./SignaturePad.js";
|
|
65
|
+
import ue from "./Skeleton.js";
|
|
66
|
+
import de from "./Slider.js";
|
|
67
|
+
import fe from "./Sparkline.js";
|
|
68
|
+
import pe from "./Splitter.js";
|
|
69
|
+
import me from "./Stat.js";
|
|
70
|
+
import he from "./Stepper.js";
|
|
71
|
+
import ge from "./Switch.js";
|
|
72
|
+
import _e from "./Table.js";
|
|
73
|
+
import ve from "./Tabs.js";
|
|
74
|
+
import ye from "./TagsInput.js";
|
|
75
|
+
import be from "./Textarea.js";
|
|
76
|
+
import xe from "./TimeField.js";
|
|
77
|
+
import Se from "./Timeline.js";
|
|
78
|
+
import Ce from "./Toaster.js";
|
|
79
|
+
import we from "./Toggle.js";
|
|
80
|
+
import Te from "./ToggleGroup.js";
|
|
81
|
+
import Ee from "./Toolbar.js";
|
|
82
|
+
import De from "./Tooltip.js";
|
|
83
|
+
import Oe from "./Tree.js";
|
|
82
84
|
//#region src/components/index.ts
|
|
83
|
-
var
|
|
85
|
+
var ke = /* @__PURE__ */ e({
|
|
84
86
|
Accordion: () => n,
|
|
85
87
|
Alert: () => r,
|
|
86
88
|
App: () => i,
|
|
@@ -100,67 +102,69 @@ var De = /* @__PURE__ */ e({
|
|
|
100
102
|
Carousel: () => b,
|
|
101
103
|
ChartLegend: () => m,
|
|
102
104
|
Checkbox: () => x,
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
105
|
+
Code: () => S,
|
|
106
|
+
Collapsible: () => C,
|
|
107
|
+
ColorPicker: () => w,
|
|
108
|
+
Combobox: () => T,
|
|
109
|
+
CommandPalette: () => D,
|
|
110
|
+
ConfirmDialog: () => k,
|
|
111
|
+
Container: () => A,
|
|
112
|
+
ContextMenu: () => j,
|
|
113
|
+
DateField: () => M,
|
|
114
|
+
DatePicker: () => N,
|
|
115
|
+
DateRangePicker: () => P,
|
|
116
|
+
DescriptionList: () => F,
|
|
117
|
+
Dialog: () => O,
|
|
118
|
+
DonutChart: () => I,
|
|
115
119
|
Drawer: () => a,
|
|
116
|
-
DropdownMenu: () =>
|
|
117
|
-
Editable: () =>
|
|
118
|
-
EmptyState: () =>
|
|
119
|
-
FileUpload: () =>
|
|
120
|
-
Form: () =>
|
|
121
|
-
FormField: () =>
|
|
122
|
-
HoverCard: () =>
|
|
120
|
+
DropdownMenu: () => L,
|
|
121
|
+
Editable: () => R,
|
|
122
|
+
EmptyState: () => z,
|
|
123
|
+
FileUpload: () => B,
|
|
124
|
+
Form: () => V,
|
|
125
|
+
FormField: () => U,
|
|
126
|
+
HoverCard: () => W,
|
|
123
127
|
Icon: () => t,
|
|
124
|
-
Input: () =>
|
|
125
|
-
Kbd: () =>
|
|
126
|
-
Label: () =>
|
|
127
|
-
LineChart: () =>
|
|
128
|
-
Menubar: () =>
|
|
129
|
-
NavigationMenu: () =>
|
|
130
|
-
NumberInput: () =>
|
|
131
|
-
PageHeader: () =>
|
|
132
|
-
Pagination: () =>
|
|
133
|
-
PasswordInput: () =>
|
|
134
|
-
PinInput: () =>
|
|
135
|
-
Popover: () =>
|
|
136
|
-
Progress: () =>
|
|
137
|
-
RadioGroup: () =>
|
|
138
|
-
Rating: () =>
|
|
139
|
-
ScrollArea: () =>
|
|
140
|
-
ScrollFade: () =>
|
|
141
|
-
Select: () =>
|
|
142
|
-
Separator: () =>
|
|
143
|
-
Sidebar: () =>
|
|
144
|
-
SignaturePad: () =>
|
|
145
|
-
Skeleton: () =>
|
|
146
|
-
Slider: () =>
|
|
147
|
-
Sparkline: () =>
|
|
148
|
-
Splitter: () =>
|
|
149
|
-
Stat: () =>
|
|
150
|
-
Stepper: () =>
|
|
151
|
-
Switch: () =>
|
|
152
|
-
Table: () =>
|
|
153
|
-
Tabs: () =>
|
|
154
|
-
TagsInput: () =>
|
|
155
|
-
Textarea: () =>
|
|
156
|
-
TimeField: () =>
|
|
157
|
-
Timeline: () =>
|
|
158
|
-
Toaster: () =>
|
|
159
|
-
Toggle: () =>
|
|
160
|
-
ToggleGroup: () =>
|
|
161
|
-
Toolbar: () =>
|
|
162
|
-
Tooltip: () =>
|
|
163
|
-
Tree: () =>
|
|
128
|
+
Input: () => G,
|
|
129
|
+
Kbd: () => E,
|
|
130
|
+
Label: () => H,
|
|
131
|
+
LineChart: () => K,
|
|
132
|
+
Menubar: () => q,
|
|
133
|
+
NavigationMenu: () => J,
|
|
134
|
+
NumberInput: () => Y,
|
|
135
|
+
PageHeader: () => X,
|
|
136
|
+
Pagination: () => Z,
|
|
137
|
+
PasswordInput: () => Q,
|
|
138
|
+
PinInput: () => $,
|
|
139
|
+
Popover: () => ee,
|
|
140
|
+
Progress: () => te,
|
|
141
|
+
RadioGroup: () => ne,
|
|
142
|
+
Rating: () => re,
|
|
143
|
+
ScrollArea: () => ie,
|
|
144
|
+
ScrollFade: () => ae,
|
|
145
|
+
Select: () => oe,
|
|
146
|
+
Separator: () => se,
|
|
147
|
+
Sidebar: () => ce,
|
|
148
|
+
SignaturePad: () => le,
|
|
149
|
+
Skeleton: () => ue,
|
|
150
|
+
Slider: () => de,
|
|
151
|
+
Sparkline: () => fe,
|
|
152
|
+
Splitter: () => pe,
|
|
153
|
+
Stat: () => me,
|
|
154
|
+
Stepper: () => he,
|
|
155
|
+
Switch: () => ge,
|
|
156
|
+
Table: () => _e,
|
|
157
|
+
Tabs: () => ve,
|
|
158
|
+
TagsInput: () => ye,
|
|
159
|
+
Textarea: () => be,
|
|
160
|
+
TimeField: () => xe,
|
|
161
|
+
Timeline: () => Se,
|
|
162
|
+
Toaster: () => Ce,
|
|
163
|
+
Toggle: () => we,
|
|
164
|
+
ToggleGroup: () => Te,
|
|
165
|
+
Toolbar: () => Ee,
|
|
166
|
+
Tooltip: () => De,
|
|
167
|
+
Tree: () => Oe
|
|
164
168
|
});
|
|
165
169
|
//#endregion
|
|
166
|
-
export {
|
|
170
|
+
export { ke as components_exports };
|
package/dist/index.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export type { CardProps } from './components/Card.vue';
|
|
|
21
21
|
export type { CarouselProps } from './components/Carousel.vue';
|
|
22
22
|
export type { ChartLegendProps } from './components/ChartLegend.vue';
|
|
23
23
|
export type { CheckboxProps } from './components/Checkbox.vue';
|
|
24
|
+
export type { CodeProps } from './components/Code.vue';
|
|
24
25
|
export type { CollapsibleProps } from './components/Collapsible.vue';
|
|
25
26
|
export type { ColorPickerProps } from './components/ColorPicker.vue';
|
|
26
27
|
export type { ComboboxItemGroup, ComboboxItemOption, ComboboxItems, ComboboxProps } from './components/Combobox.vue';
|
|
@@ -31,6 +32,7 @@ export type { ContextMenuProps } from './components/ContextMenu.vue';
|
|
|
31
32
|
export type { DateFieldProps } from './components/DateField.vue';
|
|
32
33
|
export type { DatePickerProps } from './components/DatePicker.vue';
|
|
33
34
|
export type { DateRange, DateRangePickerProps } from './components/DateRangePicker.vue';
|
|
35
|
+
export type { DescriptionListItem, DescriptionListProps } from './components/DescriptionList.vue';
|
|
34
36
|
export type { DialogProps } from './components/Dialog.vue';
|
|
35
37
|
export type { DonutChartDatum, DonutChartProps } from './components/DonutChart.vue';
|
|
36
38
|
export type { DrawerProps, DrawerSide, DrawerSnapPoint } from './components/Drawer.vue';
|
package/dist/index.js
CHANGED
|
@@ -48,125 +48,129 @@ import Ce from "./components/Carousel.js";
|
|
|
48
48
|
import { formContextKey as we, formFieldContextKey as Te, getByPath as Ee, isStandardSchema as De, issuePath as Oe, useForm as ke, useFormField as Ae } from "./composables/form.js";
|
|
49
49
|
import { checkboxTheme as je } from "./theme/checkbox.js";
|
|
50
50
|
import Me from "./components/Checkbox.js";
|
|
51
|
-
import {
|
|
52
|
-
import Pe from "./components/
|
|
53
|
-
import {
|
|
54
|
-
import
|
|
55
|
-
import ze from "./
|
|
56
|
-
import {
|
|
57
|
-
import Ve from "./components/
|
|
58
|
-
import {
|
|
59
|
-
import
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import Ze from "./
|
|
63
|
-
import Qe from "./
|
|
64
|
-
import
|
|
65
|
-
import
|
|
66
|
-
import rt from "./
|
|
67
|
-
import it from "./
|
|
68
|
-
import
|
|
69
|
-
import ot from "./components/
|
|
70
|
-
import {
|
|
71
|
-
import
|
|
72
|
-
import
|
|
73
|
-
import {
|
|
74
|
-
import ft from "./components/
|
|
75
|
-
import {
|
|
76
|
-
import mt from "./components/
|
|
77
|
-
import ht from "./
|
|
78
|
-
import
|
|
79
|
-
import _t from "./components/
|
|
80
|
-
import vt from "./
|
|
81
|
-
import
|
|
82
|
-
import bt from "./
|
|
83
|
-
import
|
|
84
|
-
import St from "./components/
|
|
85
|
-
import {
|
|
86
|
-
import wt from "./components/
|
|
87
|
-
import Tt from "./
|
|
88
|
-
import
|
|
89
|
-
import Dt from "./
|
|
90
|
-
import Ot from "./components/
|
|
91
|
-
import
|
|
92
|
-
import At from "./
|
|
93
|
-
import jt from "./components/
|
|
94
|
-
import
|
|
95
|
-
import Nt from "./
|
|
96
|
-
import
|
|
97
|
-
import Ft from "./components/
|
|
98
|
-
import {
|
|
99
|
-
import
|
|
100
|
-
import Rt from "./
|
|
101
|
-
import
|
|
102
|
-
import {
|
|
103
|
-
import
|
|
104
|
-
import
|
|
105
|
-
import $t from "./
|
|
106
|
-
import {
|
|
107
|
-
import tn from "./components/
|
|
108
|
-
import {
|
|
109
|
-
import rn from "./components/
|
|
110
|
-
import {
|
|
111
|
-
import on from "./components/
|
|
112
|
-
import {
|
|
113
|
-
import cn from "./components/
|
|
114
|
-
import {
|
|
115
|
-
import un from "./components/
|
|
116
|
-
import {
|
|
117
|
-
import fn from "./components/
|
|
118
|
-
import pn from "./
|
|
119
|
-
import
|
|
120
|
-
import hn from "./
|
|
121
|
-
import
|
|
122
|
-
import _n from "./components/
|
|
123
|
-
import {
|
|
124
|
-
import yn from "./components/
|
|
125
|
-
import {
|
|
126
|
-
import xn from "./components/
|
|
127
|
-
import {
|
|
128
|
-
import
|
|
129
|
-
import
|
|
130
|
-
import
|
|
131
|
-
import {
|
|
132
|
-
import
|
|
133
|
-
import
|
|
134
|
-
import Mn from "./
|
|
135
|
-
import {
|
|
136
|
-
import Pn from "./components/
|
|
137
|
-
import {
|
|
138
|
-
import In from "./components/
|
|
139
|
-
import {
|
|
140
|
-
import Rn from "./components/
|
|
141
|
-
import {
|
|
142
|
-
import Bn from "./components/
|
|
143
|
-
import {
|
|
144
|
-
import Hn from "./components/
|
|
145
|
-
import {
|
|
146
|
-
import Wn from "./components/
|
|
147
|
-
import {
|
|
148
|
-
import
|
|
149
|
-
import
|
|
150
|
-
import
|
|
151
|
-
import Xn from "./
|
|
152
|
-
import {
|
|
153
|
-
import Qn from "./components/
|
|
154
|
-
import $n from "./
|
|
155
|
-
import
|
|
156
|
-
import tr from "./
|
|
157
|
-
import
|
|
158
|
-
import rr from "./components/
|
|
159
|
-
import {
|
|
160
|
-
import
|
|
161
|
-
import
|
|
162
|
-
import
|
|
163
|
-
import
|
|
164
|
-
import
|
|
165
|
-
import
|
|
166
|
-
import pr from "./
|
|
167
|
-
import
|
|
168
|
-
import hr from "./components/
|
|
169
|
-
import {
|
|
170
|
-
import _r from "./components/
|
|
171
|
-
import {
|
|
172
|
-
|
|
51
|
+
import { codeTheme as Ne } from "./theme/code.js";
|
|
52
|
+
import Pe from "./components/Code.js";
|
|
53
|
+
import { collapsibleTheme as Fe } from "./theme/collapsible.js";
|
|
54
|
+
import Ie from "./components/Collapsible.js";
|
|
55
|
+
import { fieldBase as Le, inputTheme as Re, textareaTheme as ze } from "./theme/input.js";
|
|
56
|
+
import { colorPickerTheme as Be } from "./theme/color-picker.js";
|
|
57
|
+
import Ve from "./components/ColorPicker.js";
|
|
58
|
+
import { comboboxTheme as He } from "./theme/combobox.js";
|
|
59
|
+
import Ue from "./components/Combobox.js";
|
|
60
|
+
import { isApplePlatform as We, parseHotkey as Ge, useApplePlatform as Ke } from "./composables/kbd.js";
|
|
61
|
+
import { commandHaystack as qe, isCommandGroup as Je, matchesHotkey as Ye, toCommandGroups as Xe } from "./composables/command-palette.js";
|
|
62
|
+
import { commandPaletteTheme as Ze } from "./theme/command-palette.js";
|
|
63
|
+
import { kbdTheme as Qe } from "./theme/kbd.js";
|
|
64
|
+
import $e from "./components/Kbd.js";
|
|
65
|
+
import et from "./components/CommandPalette.js";
|
|
66
|
+
import { resolveConfirm as tt, useConfirm as nt, useConfirmState as rt } from "./composables/confirm.js";
|
|
67
|
+
import { dialogTheme as it } from "./theme/dialog.js";
|
|
68
|
+
import at from "./components/Dialog.js";
|
|
69
|
+
import ot from "./components/ConfirmDialog.js";
|
|
70
|
+
import { containerTheme as st } from "./theme/container.js";
|
|
71
|
+
import ct from "./components/Container.js";
|
|
72
|
+
import { dropdownMenuTheme as lt } from "./theme/dropdown-menu.js";
|
|
73
|
+
import { isSeparator as ut, isSubmenu as dt } from "./composables/dropdown-menu.js";
|
|
74
|
+
import ft from "./components/ContextMenu.js";
|
|
75
|
+
import { dateFieldTheme as pt } from "./theme/date-field.js";
|
|
76
|
+
import mt from "./components/DateField.js";
|
|
77
|
+
import { datePickerTheme as ht } from "./theme/date-picker.js";
|
|
78
|
+
import gt from "./components/DatePicker.js";
|
|
79
|
+
import _t from "./components/DateRangePicker.js";
|
|
80
|
+
import { descriptionListTheme as vt } from "./theme/description-list.js";
|
|
81
|
+
import yt from "./components/DescriptionList.js";
|
|
82
|
+
import { donutChartTheme as bt } from "./theme/donut-chart.js";
|
|
83
|
+
import xt from "./components/DonutChart.js";
|
|
84
|
+
import St from "./components/DropdownMenu.js";
|
|
85
|
+
import { editableTheme as Ct } from "./theme/editable.js";
|
|
86
|
+
import wt from "./components/Editable.js";
|
|
87
|
+
import { emptyStateTheme as Tt } from "./theme/empty-state.js";
|
|
88
|
+
import Et from "./components/EmptyState.js";
|
|
89
|
+
import { fileUploadTheme as Dt } from "./theme/file-upload.js";
|
|
90
|
+
import Ot from "./components/FileUpload.js";
|
|
91
|
+
import kt from "./components/Form.js";
|
|
92
|
+
import { labelTheme as At } from "./theme/label.js";
|
|
93
|
+
import jt from "./components/Label.js";
|
|
94
|
+
import Mt from "./components/FormField.js";
|
|
95
|
+
import { hoverCardTheme as Nt } from "./theme/hover-card.js";
|
|
96
|
+
import Pt from "./components/HoverCard.js";
|
|
97
|
+
import Ft from "./components/Input.js";
|
|
98
|
+
import { lineChartTheme as It } from "./theme/line-chart.js";
|
|
99
|
+
import Lt from "./components/LineChart.js";
|
|
100
|
+
import { menubarTheme as Rt } from "./theme/menubar.js";
|
|
101
|
+
import zt from "./components/Menubar.js";
|
|
102
|
+
import { isNavigationGroup as Bt } from "./composables/navigation-menu.js";
|
|
103
|
+
import { navigationMenuTheme as Vt } from "./theme/navigation-menu.js";
|
|
104
|
+
import Ht from "./components/NavigationMenu.js";
|
|
105
|
+
import { addDecimals as Ut, clampDecimal as Wt, compareDecimals as Gt, formatDecimal as Kt, formatForLocale as qt, isDecimal as Jt, localeSeparators as Yt, parseDecimal as Xt, parseFromLocale as Zt, roundDecimal as Qt, toEditable as $t } from "./composables/decimal.js";
|
|
106
|
+
import { numberInputTheme as en } from "./theme/number-input.js";
|
|
107
|
+
import tn from "./components/NumberInput.js";
|
|
108
|
+
import { pageHeaderTheme as nn } from "./theme/page-header.js";
|
|
109
|
+
import rn from "./components/PageHeader.js";
|
|
110
|
+
import { paginationTheme as an } from "./theme/pagination.js";
|
|
111
|
+
import on from "./components/Pagination.js";
|
|
112
|
+
import { passwordInputTheme as sn } from "./theme/password-input.js";
|
|
113
|
+
import cn from "./components/PasswordInput.js";
|
|
114
|
+
import { pinInputTheme as ln } from "./theme/pin-input.js";
|
|
115
|
+
import un from "./components/PinInput.js";
|
|
116
|
+
import { popoverTheme as dn } from "./theme/popover.js";
|
|
117
|
+
import fn from "./components/Popover.js";
|
|
118
|
+
import { progressTheme as pn } from "./theme/progress.js";
|
|
119
|
+
import mn from "./components/Progress.js";
|
|
120
|
+
import { radioGroupTheme as hn } from "./theme/radio-group.js";
|
|
121
|
+
import gn from "./components/RadioGroup.js";
|
|
122
|
+
import _n from "./components/Rating.js";
|
|
123
|
+
import { scrollAreaTheme as vn } from "./theme/scroll-area.js";
|
|
124
|
+
import yn from "./components/ScrollArea.js";
|
|
125
|
+
import { scrollFadeTheme as bn } from "./theme/scroll-fade.js";
|
|
126
|
+
import xn from "./components/ScrollFade.js";
|
|
127
|
+
import { selectTheme as Sn } from "./theme/select.js";
|
|
128
|
+
import Cn from "./components/Select.js";
|
|
129
|
+
import { separatorTheme as wn } from "./theme/separator.js";
|
|
130
|
+
import Tn from "./components/Separator.js";
|
|
131
|
+
import { isSidebarGroup as En, isSidebarSection as Dn, toSidebarSections as On } from "./composables/sidebar.js";
|
|
132
|
+
import { sidebarTheme as kn } from "./theme/sidebar.js";
|
|
133
|
+
import An from "./components/Sidebar.js";
|
|
134
|
+
import { hasInk as jn, strokeWidth as Mn } from "./composables/signature.js";
|
|
135
|
+
import { signaturePadTheme as Nn } from "./theme/signature-pad.js";
|
|
136
|
+
import Pn from "./components/SignaturePad.js";
|
|
137
|
+
import { skeletonTheme as Fn } from "./theme/skeleton.js";
|
|
138
|
+
import In from "./components/Skeleton.js";
|
|
139
|
+
import { sliderTheme as Ln } from "./theme/slider.js";
|
|
140
|
+
import Rn from "./components/Slider.js";
|
|
141
|
+
import { sparklineTheme as zn } from "./theme/sparkline.js";
|
|
142
|
+
import Bn from "./components/Sparkline.js";
|
|
143
|
+
import { splitterTheme as Vn } from "./theme/splitter.js";
|
|
144
|
+
import Hn from "./components/Splitter.js";
|
|
145
|
+
import { statTheme as Un } from "./theme/stat.js";
|
|
146
|
+
import Wn from "./components/Stat.js";
|
|
147
|
+
import { stepperTheme as Gn } from "./theme/stepper.js";
|
|
148
|
+
import Kn from "./components/Stepper.js";
|
|
149
|
+
import { switchTheme as qn } from "./theme/switch.js";
|
|
150
|
+
import Jn from "./components/Switch.js";
|
|
151
|
+
import { getRowValue as Yn, useDataTable as Xn } from "./composables/data-table.js";
|
|
152
|
+
import { tableTheme as Zn } from "./theme/table.js";
|
|
153
|
+
import Qn from "./components/Table.js";
|
|
154
|
+
import { tabsTheme as $n } from "./theme/tabs.js";
|
|
155
|
+
import er from "./components/Tabs.js";
|
|
156
|
+
import { tagsInputTheme as tr } from "./theme/tags-input.js";
|
|
157
|
+
import nr from "./components/TagsInput.js";
|
|
158
|
+
import rr from "./components/Textarea.js";
|
|
159
|
+
import { timeFieldTheme as ir } from "./theme/time-field.js";
|
|
160
|
+
import ar from "./components/TimeField.js";
|
|
161
|
+
import { timelineTheme as or } from "./theme/timeline.js";
|
|
162
|
+
import sr from "./components/Timeline.js";
|
|
163
|
+
import { useToast as cr, useToastState as lr } from "./composables/toast.js";
|
|
164
|
+
import { toastTheme as ur } from "./theme/toast.js";
|
|
165
|
+
import dr from "./components/Toaster.js";
|
|
166
|
+
import { toggleGroupTheme as fr, toggleTheme as pr } from "./theme/toggle.js";
|
|
167
|
+
import mr from "./components/Toggle.js";
|
|
168
|
+
import hr from "./components/ToggleGroup.js";
|
|
169
|
+
import { toolbarTheme as gr } from "./theme/toolbar.js";
|
|
170
|
+
import _r from "./components/Toolbar.js";
|
|
171
|
+
import { tooltipTheme as vr } from "./theme/tooltip.js";
|
|
172
|
+
import yr from "./components/Tooltip.js";
|
|
173
|
+
import { treeTheme as br } from "./theme/tree.js";
|
|
174
|
+
import xr from "./components/Tree.js";
|
|
175
|
+
import { IryxUi as Sr, createIryxUi as Cr } from "./plugin.js";
|
|
176
|
+
export { B as AXIS_GAP, s as Accordion, l as Alert, h as App, b as AppShell, x as AspectRatio, D as AuthProviders, A as Avatar, j as AvatarGroup, N as Badge, F as Banner, ie as BarChart, oe as Breadcrumb, E as Button, ce as ButtonGroup, V as CATEGORY_HEIGHT, H as CHAR_WIDTH, ve as Calendar, le as CalendarDate, be as Card, Ce as Carousel, re as ChartLegend, Me as Checkbox, Pe as Code, Ie as Collapsible, Ve as ColorPicker, Ue as Combobox, et as CommandPalette, ot as ConfirmDialog, ct as Container, ft as ContextMenu, mt as DateField, gt as DatePicker, _t as DateRangePicker, yt as DescriptionList, at as Dialog, xt as DonutChart, y as Drawer, St as DropdownMenu, wt as Editable, Et as EmptyState, Ot as FileUpload, kt as Form, Mt as FormField, Pt as HoverCard, o as Icon, Ft as Input, Sr as IryxUi, $e as Kbd, jt as Label, Lt as LineChart, zt as Menubar, Ht as NavigationMenu, tn as NumberInput, rn as PageHeader, on as Pagination, cn as PasswordInput, un as PinInput, fn as Popover, mn as Progress, Z as REVEAL_DURATION, gn as RadioGroup, _n as Rating, U as SERIES_SLOTS, yn as ScrollArea, xn as ScrollFade, Cn as Select, Tn as Separator, An as Sidebar, Pn as SignaturePad, In as Skeleton, Rn as Slider, Bn as Sparkline, Hn as Splitter, Wn as Stat, Kn as Stepper, Jn as Switch, W as TOP_PAD, Qn as Table, er as Tabs, nr as TagsInput, rr as Textarea, ue as Time, ar as TimeField, sr as Timeline, dr as Toaster, mr as Toggle, hr as ToggleGroup, _r as Toolbar, yr as Tooltip, xr as Tree, i as accordionTheme, Ut as addDecimals, c as alertTheme, _ as appShellTheme, f as applyTheme, S as authProvidersTheme, O as avatarGroupTheme, k as avatarTheme, M as badgeTheme, P as bannerTheme, te as barChartTheme, ae as breadcrumbTheme, C as buttonGroupContextKey, se as buttonGroupTheme, T as buttonTheme, _e as calendarTheme, ye as cardTheme, G as cartesianLayout, ne as chartLegendTheme, je as checkboxTheme, Wt as clampDecimal, K as clampTooltip, p as clearTheme, Ne as codeTheme, Fe as collapsibleTheme, Be as colorPickerTheme, He as comboboxTheme, qe as commandHaystack, Ze as commandPaletteTheme, Gt as compareDecimals, e as componentNames, st as containerTheme, Cr as createIryxUi, pt as dateFieldTheme, ht as datePickerTheme, t as defaultConfig, vt as descriptionListTheme, it as dialogTheme, bt as donutChartTheme, v as drawerTheme, lt as dropdownMenuTheme, Ct as editableTheme, Tt as emptyStateTheme, I as extent, Le as fieldBase, Dt as fileUploadTheme, L as finiteValues, we as formContextKey, Te as formFieldContextKey, Kt as formatDecimal, qt as formatForLocale, de as formatIsoDate, Ee as getByPath, Yn as getRowValue, jn as hasInk, Nt as hoverCardTheme, u as initAppearance, Re as inputTheme, n as iryxUiConfigKey, We as isApplePlatform, Je as isCommandGroup, Jt as isDecimal, a as isIconArray, Bt as isNavigationGroup, ut as isSeparator, En as isSidebarGroup, Dn as isSidebarSection, De as isStandardSchema, dt as isSubmenu, fe as isoToday, Oe as issuePath, Qe as kbdTheme, At as labelTheme, It as lineChartTheme, R as linearScale, Yt as localeSeparators, Ye as matchesHotkey, Rt as menubarTheme, Vt as navigationMenuTheme, z as niceTicks, en as numberInputTheme, nn as pageHeaderTheme, an as paginationTheme, Xt as parseDecimal, Zt as parseFromLocale, Ge as parseHotkey, sn as passwordInputTheme, ln as pinInputTheme, dn as popoverTheme, pn as progressTheme, hn as radioGroupTheme, tt as resolveConfirm, Qt as roundDecimal, vn as scrollAreaTheme, xe as scrollFadeMask, bn as scrollFadeTheme, Sn as selectTheme, wn as separatorTheme, q as seriesColor, kn as sidebarTheme, Nn as signaturePadTheme, Fn as skeletonTheme, Ln as sliderTheme, J as slotOf, zn as sparklineTheme, Vn as splitterTheme, Un as statTheme, Gn as stepperTheme, Mn as strokeWidth, qn as switchTheme, Zn as tableTheme, $n as tabsTheme, tr as tagsInputTheme, ze as textareaTheme, m as themes, ir as timeFieldTheme, or as timelineTheme, pe as toCalendarDate, Xe as toCommandGroups, $t as toEditable, me as toIsoDate, he as toIsoTime, On as toSidebarSections, ge as toTime, ur as toastTheme, fr as toggleGroupTheme, pr as toggleTheme, gr as toolbarTheme, Y as tooltipHalfWidth, vr as tooltipTheme, br as treeTheme, d as useAppearance, Ke as useApplePlatform, w as useButtonGroup, Q as useChartAnimation, $ as useChartProgress, ee as useChartReveal, nt as useConfirm, rt as useConfirmState, Xn as useDataTable, g as useElementSize, ke as useForm, Ae as useFormField, r as useIryxUiConfig, Se as useScrollEdges, cr as useToast, lr as useToastState, X as warnOnSlotOverflow };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export declare const codeTheme: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
block: {
|
|
3
|
+
true: {
|
|
4
|
+
root: string;
|
|
5
|
+
code: string;
|
|
6
|
+
copy: string;
|
|
7
|
+
};
|
|
8
|
+
false: {
|
|
9
|
+
root: string;
|
|
10
|
+
code: string;
|
|
11
|
+
copy: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
}, {
|
|
15
|
+
root: string;
|
|
16
|
+
code: string;
|
|
17
|
+
copy: string;
|
|
18
|
+
}, undefined, {
|
|
19
|
+
block: {
|
|
20
|
+
true: {
|
|
21
|
+
root: string;
|
|
22
|
+
code: string;
|
|
23
|
+
copy: string;
|
|
24
|
+
};
|
|
25
|
+
false: {
|
|
26
|
+
root: string;
|
|
27
|
+
code: string;
|
|
28
|
+
copy: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
}, {
|
|
32
|
+
root: string;
|
|
33
|
+
code: string;
|
|
34
|
+
copy: string;
|
|
35
|
+
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
36
|
+
block: {
|
|
37
|
+
true: {
|
|
38
|
+
root: string;
|
|
39
|
+
code: string;
|
|
40
|
+
copy: string;
|
|
41
|
+
};
|
|
42
|
+
false: {
|
|
43
|
+
root: string;
|
|
44
|
+
code: string;
|
|
45
|
+
copy: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
}, {
|
|
49
|
+
root: string;
|
|
50
|
+
code: string;
|
|
51
|
+
copy: string;
|
|
52
|
+
}>>;
|
|
53
|
+
export type CodeSlots = keyof ReturnType<typeof codeTheme>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { tv as e } from "tailwind-variants";
|
|
2
|
+
//#region src/theme/code.ts
|
|
3
|
+
var t = e({
|
|
4
|
+
slots: {
|
|
5
|
+
root: "",
|
|
6
|
+
code: "font-mono",
|
|
7
|
+
copy: "focus-visible:outline-ring inline-flex shrink-0 items-center justify-center rounded-md text-muted-foreground transition hover:text-foreground focus-visible:outline-2 focus-visible:outline-offset-2 [&_svg]:size-4"
|
|
8
|
+
},
|
|
9
|
+
variants: { block: {
|
|
10
|
+
true: {
|
|
11
|
+
root: "relative overflow-hidden rounded-lg border border-border bg-muted",
|
|
12
|
+
code: "block overflow-x-auto py-4 pr-14 pl-4 text-sm text-foreground",
|
|
13
|
+
copy: "absolute top-2 right-2 size-7 border border-border bg-background"
|
|
14
|
+
},
|
|
15
|
+
false: {
|
|
16
|
+
root: "inline-flex items-center gap-1",
|
|
17
|
+
code: "rounded border border-current/25 bg-current/10 px-1.5 py-0.5 font-mono text-[0.875em] text-current/90",
|
|
18
|
+
copy: "size-5 [&_svg]:size-3.5"
|
|
19
|
+
}
|
|
20
|
+
} },
|
|
21
|
+
defaultVariants: { block: !1 }
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
export { t as codeTheme };
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export declare const descriptionListTheme: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
orientation: {
|
|
3
|
+
vertical: {
|
|
4
|
+
root: string;
|
|
5
|
+
item: string;
|
|
6
|
+
};
|
|
7
|
+
horizontal: {
|
|
8
|
+
root: string;
|
|
9
|
+
item: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
divided: {
|
|
13
|
+
true: {};
|
|
14
|
+
false: {};
|
|
15
|
+
};
|
|
16
|
+
}, {
|
|
17
|
+
root: string;
|
|
18
|
+
item: string;
|
|
19
|
+
term: string;
|
|
20
|
+
description: string;
|
|
21
|
+
}, undefined, {
|
|
22
|
+
orientation: {
|
|
23
|
+
vertical: {
|
|
24
|
+
root: string;
|
|
25
|
+
item: string;
|
|
26
|
+
};
|
|
27
|
+
horizontal: {
|
|
28
|
+
root: string;
|
|
29
|
+
item: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
divided: {
|
|
33
|
+
true: {};
|
|
34
|
+
false: {};
|
|
35
|
+
};
|
|
36
|
+
}, {
|
|
37
|
+
root: string;
|
|
38
|
+
item: string;
|
|
39
|
+
term: string;
|
|
40
|
+
description: string;
|
|
41
|
+
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
42
|
+
orientation: {
|
|
43
|
+
vertical: {
|
|
44
|
+
root: string;
|
|
45
|
+
item: string;
|
|
46
|
+
};
|
|
47
|
+
horizontal: {
|
|
48
|
+
root: string;
|
|
49
|
+
item: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
divided: {
|
|
53
|
+
true: {};
|
|
54
|
+
false: {};
|
|
55
|
+
};
|
|
56
|
+
}, {
|
|
57
|
+
root: string;
|
|
58
|
+
item: string;
|
|
59
|
+
term: string;
|
|
60
|
+
description: string;
|
|
61
|
+
}>>;
|
|
62
|
+
export type DescriptionListSlots = keyof ReturnType<typeof descriptionListTheme>;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { tv as e } from "tailwind-variants";
|
|
2
|
+
//#region src/theme/description-list.ts
|
|
3
|
+
var t = e({
|
|
4
|
+
slots: {
|
|
5
|
+
root: "text-sm",
|
|
6
|
+
item: "",
|
|
7
|
+
term: "font-medium text-muted-foreground",
|
|
8
|
+
description: "text-foreground"
|
|
9
|
+
},
|
|
10
|
+
variants: {
|
|
11
|
+
orientation: {
|
|
12
|
+
vertical: {
|
|
13
|
+
root: "flex flex-col",
|
|
14
|
+
item: "flex flex-col gap-1"
|
|
15
|
+
},
|
|
16
|
+
horizontal: {
|
|
17
|
+
root: "grid grid-cols-[minmax(0,1fr)_minmax(0,2fr)] gap-x-6",
|
|
18
|
+
item: "col-span-full grid grid-cols-subgrid items-baseline"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
divided: {
|
|
22
|
+
true: {},
|
|
23
|
+
false: {}
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
compoundVariants: [
|
|
27
|
+
{
|
|
28
|
+
orientation: "vertical",
|
|
29
|
+
divided: !1,
|
|
30
|
+
class: { root: "gap-4" }
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
orientation: "horizontal",
|
|
34
|
+
divided: !1,
|
|
35
|
+
class: { root: "gap-y-4" }
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
divided: !0,
|
|
39
|
+
class: { item: "border-t border-border py-3 first:border-t-0 first:pt-0 last:pb-0" }
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
defaultVariants: {
|
|
43
|
+
orientation: "vertical",
|
|
44
|
+
divided: !1
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
//#endregion
|
|
48
|
+
export { t as descriptionListTheme };
|
package/dist/theme/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export * from './calendar';
|
|
|
13
13
|
export * from './card';
|
|
14
14
|
export * from './chart-legend';
|
|
15
15
|
export * from './checkbox';
|
|
16
|
+
export * from './code';
|
|
16
17
|
export * from './collapsible';
|
|
17
18
|
export * from './color-picker';
|
|
18
19
|
export * from './combobox';
|
|
@@ -20,6 +21,7 @@ export * from './command-palette';
|
|
|
20
21
|
export * from './container';
|
|
21
22
|
export * from './date-field';
|
|
22
23
|
export * from './date-picker';
|
|
24
|
+
export * from './description-list';
|
|
23
25
|
export * from './dialog';
|
|
24
26
|
export * from './donut-chart';
|
|
25
27
|
export * from './drawer';
|