iryx-ui 0.23.0 → 0.24.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/ConfirmPopover.js +5 -0
- package/dist/components/ConfirmPopover.vue.d.ts +63 -0
- package/dist/components/ConfirmPopover.vue_vue_type_script_setup_true_lang.js +102 -0
- package/dist/components/LineChart.vue.d.ts +7 -3
- package/dist/components/LineChart.vue_vue_type_script_setup_true_lang.js +124 -95
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +110 -108
- package/dist/index.d.ts +1 -0
- package/dist/index.js +109 -107
- package/dist/theme/confirm-popover.d.ts +32 -0
- package/dist/theme/confirm-popover.js +8 -0
- package/dist/theme/index.d.ts +1 -0
- package/dist/theme/kbd.js +1 -1
- package/dist/theme/line-chart.d.ts +6 -0
- package/dist/theme/line-chart.js +1 -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", "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"];
|
|
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", "ConfirmPopover", "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.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 = [
|
|
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.ConfirmPopover.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,63 @@
|
|
|
1
|
+
import type { ClassValue } from '../class-value';
|
|
2
|
+
export interface ConfirmPopoverProps {
|
|
3
|
+
/** The question. */
|
|
4
|
+
title?: string;
|
|
5
|
+
/** Secondary detail under the question. */
|
|
6
|
+
description?: string;
|
|
7
|
+
confirmLabel?: string;
|
|
8
|
+
cancelLabel?: string;
|
|
9
|
+
/** Style the confirming button as destructive. */
|
|
10
|
+
danger?: boolean;
|
|
11
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
12
|
+
align?: 'start' | 'center' | 'end';
|
|
13
|
+
sideOffset?: number;
|
|
14
|
+
/** Render the little pointer against the trigger. */
|
|
15
|
+
arrow?: boolean;
|
|
16
|
+
/** Skip built-in classes; you take over styling entirely. */
|
|
17
|
+
unstyled?: boolean;
|
|
18
|
+
class?: ClassValue;
|
|
19
|
+
/** Override classes per element, e.g. `{ confirm: 'w-full' }`. */
|
|
20
|
+
ui?: {
|
|
21
|
+
content?: string;
|
|
22
|
+
title?: string;
|
|
23
|
+
description?: string;
|
|
24
|
+
actions?: string;
|
|
25
|
+
cancel?: string;
|
|
26
|
+
confirm?: string;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
type __VLS_Props = ConfirmPopoverProps;
|
|
30
|
+
type __VLS_ModelProps = {
|
|
31
|
+
'open'?: boolean | undefined;
|
|
32
|
+
};
|
|
33
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
34
|
+
declare var __VLS_9: {}, __VLS_11: {};
|
|
35
|
+
type __VLS_Slots = {} & {
|
|
36
|
+
trigger?: (props: typeof __VLS_9) => any;
|
|
37
|
+
} & {
|
|
38
|
+
description?: (props: typeof __VLS_11) => any;
|
|
39
|
+
};
|
|
40
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
41
|
+
"update:open": (value: boolean | undefined) => any;
|
|
42
|
+
cancel: () => any;
|
|
43
|
+
confirm: () => any;
|
|
44
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
45
|
+
"onUpdate:open"?: ((value: boolean | undefined) => any) | undefined;
|
|
46
|
+
onCancel?: (() => any) | undefined;
|
|
47
|
+
onConfirm?: (() => any) | undefined;
|
|
48
|
+
}>, {
|
|
49
|
+
unstyled: boolean;
|
|
50
|
+
side: "top" | "right" | "bottom" | "left";
|
|
51
|
+
sideOffset: number;
|
|
52
|
+
confirmLabel: string;
|
|
53
|
+
cancelLabel: string;
|
|
54
|
+
arrow: boolean;
|
|
55
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
56
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
57
|
+
declare const _default: typeof __VLS_export;
|
|
58
|
+
export default _default;
|
|
59
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
60
|
+
new (): {
|
|
61
|
+
$slots: S;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { useIryxUiConfig as e } from "../config.js";
|
|
2
|
+
import t from "./Button.js";
|
|
3
|
+
import { confirmPopoverTheme as n } from "../theme/confirm-popover.js";
|
|
4
|
+
import r from "./Popover.js";
|
|
5
|
+
import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, defineComponent as d, mergeModels as f, normalizeClass as p, openBlock as m, renderSlot as h, toDisplayString as g, useModel as _, withCtx as v } from "vue";
|
|
6
|
+
//#region src/components/ConfirmPopover.vue?vue&type=script&setup=true&lang.ts
|
|
7
|
+
var y = /*@__PURE__*/ d({
|
|
8
|
+
__name: "ConfirmPopover",
|
|
9
|
+
props: /*@__PURE__*/ f({
|
|
10
|
+
title: {},
|
|
11
|
+
description: {},
|
|
12
|
+
confirmLabel: { default: "Confirm" },
|
|
13
|
+
cancelLabel: { default: "Cancel" },
|
|
14
|
+
danger: { type: Boolean },
|
|
15
|
+
side: { default: "bottom" },
|
|
16
|
+
align: {},
|
|
17
|
+
sideOffset: { default: 6 },
|
|
18
|
+
arrow: {
|
|
19
|
+
type: Boolean,
|
|
20
|
+
default: !0
|
|
21
|
+
},
|
|
22
|
+
unstyled: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
default: void 0
|
|
25
|
+
},
|
|
26
|
+
class: { type: [
|
|
27
|
+
String,
|
|
28
|
+
Boolean,
|
|
29
|
+
null,
|
|
30
|
+
Array
|
|
31
|
+
] },
|
|
32
|
+
ui: {}
|
|
33
|
+
}, {
|
|
34
|
+
open: {
|
|
35
|
+
type: Boolean,
|
|
36
|
+
default: void 0
|
|
37
|
+
},
|
|
38
|
+
openModifiers: {}
|
|
39
|
+
}),
|
|
40
|
+
emits: /*@__PURE__*/ f(["confirm", "cancel"], ["update:open"]),
|
|
41
|
+
setup(d, { emit: f }) {
|
|
42
|
+
let y = d, b = f, x = _(d, "open");
|
|
43
|
+
function S() {
|
|
44
|
+
b("confirm"), x.value = !1;
|
|
45
|
+
}
|
|
46
|
+
function C() {
|
|
47
|
+
b("cancel"), x.value = !1;
|
|
48
|
+
}
|
|
49
|
+
let w = e(), T = i(() => y.unstyled ?? w.unstyled), E = i(() => n()), D = i(() => T.value ? y.ui?.description : E.value.description({ class: y.ui?.description })), O = i(() => T.value ? y.ui?.actions : E.value.actions({ class: y.ui?.actions }));
|
|
50
|
+
return (e, n) => (m(), a(r, {
|
|
51
|
+
open: x.value,
|
|
52
|
+
"onUpdate:open": n[0] ||= (e) => x.value = e,
|
|
53
|
+
side: y.side,
|
|
54
|
+
align: y.align,
|
|
55
|
+
"side-offset": y.sideOffset,
|
|
56
|
+
arrow: y.arrow,
|
|
57
|
+
padding: "sm",
|
|
58
|
+
width: "sm",
|
|
59
|
+
title: y.title,
|
|
60
|
+
unstyled: y.unstyled,
|
|
61
|
+
class: p(y.class),
|
|
62
|
+
ui: {
|
|
63
|
+
content: y.ui?.content,
|
|
64
|
+
title: y.ui?.title
|
|
65
|
+
}
|
|
66
|
+
}, {
|
|
67
|
+
trigger: v(() => [h(e.$slots, "trigger")]),
|
|
68
|
+
default: v(() => [y.description || e.$slots.description ? (m(), s("p", {
|
|
69
|
+
key: 0,
|
|
70
|
+
class: p(D.value)
|
|
71
|
+
}, [h(e.$slots, "description", {}, () => [l(g(y.description), 1)])], 2)) : o("", !0), c("div", { class: p(O.value) }, [u(t, {
|
|
72
|
+
size: "sm",
|
|
73
|
+
variant: "outline",
|
|
74
|
+
class: p(y.ui?.cancel),
|
|
75
|
+
onClick: C
|
|
76
|
+
}, {
|
|
77
|
+
default: v(() => [l(g(y.cancelLabel), 1)]),
|
|
78
|
+
_: 1
|
|
79
|
+
}, 8, ["class"]), u(t, {
|
|
80
|
+
size: "sm",
|
|
81
|
+
class: p([y.danger && "bg-danger bg-none text-danger-foreground hover:brightness-110", y.ui?.confirm]),
|
|
82
|
+
onClick: S
|
|
83
|
+
}, {
|
|
84
|
+
default: v(() => [l(g(y.confirmLabel), 1)]),
|
|
85
|
+
_: 1
|
|
86
|
+
}, 8, ["class"])], 2)]),
|
|
87
|
+
_: 3
|
|
88
|
+
}, 8, [
|
|
89
|
+
"open",
|
|
90
|
+
"side",
|
|
91
|
+
"align",
|
|
92
|
+
"side-offset",
|
|
93
|
+
"arrow",
|
|
94
|
+
"title",
|
|
95
|
+
"unstyled",
|
|
96
|
+
"class",
|
|
97
|
+
"ui"
|
|
98
|
+
]));
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
//#endregion
|
|
102
|
+
export { y as default };
|
|
@@ -19,8 +19,12 @@ export interface LineChartProps {
|
|
|
19
19
|
/**
|
|
20
20
|
* `area` adds a wash beneath the line. Ignored for multiple series, where
|
|
21
21
|
* overlapping washes muddy into a colour that belongs to neither.
|
|
22
|
+
*
|
|
23
|
+
* `stacked` is the multi-series answer to that: each series sits on top of
|
|
24
|
+
* the one before it, so the bands abut instead of overlapping and the top
|
|
25
|
+
* edge reads as the total. It falls back to `area` for a single series.
|
|
22
26
|
*/
|
|
23
|
-
variant?: 'line' | 'area';
|
|
27
|
+
variant?: 'line' | 'area' | 'stacked';
|
|
24
28
|
/**
|
|
25
29
|
* How much to curve the line, from `0` (straight segments between
|
|
26
30
|
* readings) to `1` (fully rounded). Straight by default: a curve claims the
|
|
@@ -66,7 +70,7 @@ export interface LineChartProps {
|
|
|
66
70
|
/** Skip built-in classes; you take over styling entirely. */
|
|
67
71
|
unstyled?: boolean;
|
|
68
72
|
class?: ClassValue;
|
|
69
|
-
ui?: Partial<Record<'root' | 'svg' | 'grid' | 'tick' | 'category' | 'line' | 'area' | 'crosshair' | 'marker' | 'markerRing' | 'tooltip' | 'tooltipLabel' | 'tooltipValue' | 'table', string>>;
|
|
73
|
+
ui?: Partial<Record<'root' | 'svg' | 'grid' | 'tick' | 'category' | 'line' | 'area' | 'band' | 'crosshair' | 'marker' | 'markerRing' | 'tooltip' | 'tooltipLabel' | 'tooltipValue' | 'table', string>>;
|
|
70
74
|
}
|
|
71
75
|
declare var __VLS_6: {
|
|
72
76
|
orientation: import("..").ChartOrientation;
|
|
@@ -105,7 +109,7 @@ type __VLS_Slots = {} & {
|
|
|
105
109
|
overlay?: (props: typeof __VLS_8) => any;
|
|
106
110
|
};
|
|
107
111
|
declare const __VLS_base: import("vue").DefineComponent<LineChartProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LineChartProps> & Readonly<{}>, {
|
|
108
|
-
variant: "line" | "area";
|
|
112
|
+
variant: "line" | "area" | "stacked";
|
|
109
113
|
unstyled: boolean;
|
|
110
114
|
data: readonly LineChartDatum[];
|
|
111
115
|
legend: boolean;
|
|
@@ -4,34 +4,34 @@ import { cartesianLayout as n, clampTooltip as r, seriesColor as i, slotOf as a,
|
|
|
4
4
|
import { useChartAnimation as s, useChartReveal as c } from "../composables/chart-reveal.js";
|
|
5
5
|
import l from "./ChartLegend.js";
|
|
6
6
|
import { lineChartTheme as u } from "../theme/line-chart.js";
|
|
7
|
-
import { Fragment as d, computed as f, createBlock as ee, createCommentVNode as p, createElementBlock as m, createElementVNode as h, defineComponent as g, guardReactiveProps as _, normalizeClass as v, normalizeProps as y, normalizeStyle as b, openBlock as x, ref as S, renderList as C, renderSlot as w, toDisplayString as T, unref as E, useId as
|
|
7
|
+
import { Fragment as d, computed as f, createBlock as ee, createCommentVNode as p, createElementBlock as m, createElementVNode as h, defineComponent as g, guardReactiveProps as _, normalizeClass as v, normalizeProps as y, normalizeStyle as b, openBlock as x, ref as S, renderList as C, renderSlot as w, toDisplayString as T, unref as E, useId as te } from "vue";
|
|
8
8
|
//#region src/components/LineChart.vue?vue&type=script&setup=true&lang.ts
|
|
9
|
-
var
|
|
9
|
+
var ne = ["role", "aria-label"], re = [
|
|
10
10
|
"width",
|
|
11
11
|
"height",
|
|
12
12
|
"viewBox"
|
|
13
|
-
],
|
|
13
|
+
], ie = [
|
|
14
14
|
"x1",
|
|
15
15
|
"y1",
|
|
16
16
|
"x2",
|
|
17
17
|
"y2"
|
|
18
|
-
],
|
|
18
|
+
], ae = ["x", "y"], oe = [
|
|
19
19
|
"x",
|
|
20
20
|
"y",
|
|
21
21
|
"width",
|
|
22
22
|
"height"
|
|
23
|
-
],
|
|
23
|
+
], se = [
|
|
24
24
|
"x1",
|
|
25
25
|
"y1",
|
|
26
26
|
"x2",
|
|
27
27
|
"y2"
|
|
28
|
-
],
|
|
28
|
+
], ce = ["clip-path"], le = ["d", "fill"], ue = ["d"], de = ["d"], fe = ["cx", "cy"], pe = ["cx", "cy"], me = ["x", "y"], he = [
|
|
29
29
|
"x",
|
|
30
30
|
"y",
|
|
31
31
|
"width",
|
|
32
32
|
"height",
|
|
33
33
|
"onPointerenter"
|
|
34
|
-
],
|
|
34
|
+
], ge = { scope: "row" }, D = /*@__PURE__*/ g({
|
|
35
35
|
__name: "LineChart",
|
|
36
36
|
props: {
|
|
37
37
|
data: { default: () => [] },
|
|
@@ -76,52 +76,68 @@ var te = ["role", "aria-label"], ne = [
|
|
|
76
76
|
ui: {}
|
|
77
77
|
},
|
|
78
78
|
setup(g) {
|
|
79
|
-
let
|
|
80
|
-
function
|
|
81
|
-
return
|
|
79
|
+
let D = g, _e = e(), O = f(() => D.unstyled ?? _e.unstyled), k = S(), { width: A } = t(k), ve = f(() => new Intl.NumberFormat(D.locale, D.format));
|
|
80
|
+
function j(e) {
|
|
81
|
+
return ve.value.format(e);
|
|
82
82
|
}
|
|
83
|
-
let
|
|
84
|
-
let e =
|
|
83
|
+
let M = f(() => {
|
|
84
|
+
let e = D.series?.length ? [...D.series] : [{ key: "value" }];
|
|
85
85
|
return o(e.length), e;
|
|
86
|
-
}),
|
|
87
|
-
function
|
|
86
|
+
}), N = f(() => M.value.length > 1), ye = f(() => N.value || D.legend && M.value[0].name != null);
|
|
87
|
+
function P(e, t) {
|
|
88
88
|
let n = e[t];
|
|
89
89
|
return typeof n == "number" && Number.isFinite(n) ? n : null;
|
|
90
90
|
}
|
|
91
|
-
let
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
91
|
+
let F = f(() => D.variant === "stacked" && N.value), I = f(() => D.data.map((e) => M.value.reduce((t, n) => {
|
|
92
|
+
let r = t[t.length - 1] ?? 0;
|
|
93
|
+
return t.push(r + (P(e, n.key) ?? 0)), t;
|
|
94
|
+
}, []))), L = f(() => n({
|
|
95
|
+
values: F.value ? I.value.map((e) => e[e.length - 1]) : D.data.flatMap((e) => M.value.map((t) => P(e, t.key))),
|
|
96
|
+
categories: D.data.length,
|
|
97
|
+
longestLabel: Math.max(...D.data.map((e) => e.label.length), 1),
|
|
98
|
+
width: A.value,
|
|
99
|
+
height: D.height,
|
|
100
|
+
tickCount: D.ticks,
|
|
101
|
+
showAxis: D.axis,
|
|
102
|
+
formatTick: j,
|
|
103
|
+
includeZero: D.zero || F.value
|
|
101
104
|
}));
|
|
102
105
|
function R(e) {
|
|
103
106
|
return Math.round(e * 100) / 100;
|
|
104
107
|
}
|
|
105
|
-
let z = f(() =>
|
|
108
|
+
let z = f(() => A.value ? M.value.map((e, t) => {
|
|
106
109
|
let n = [], r = [];
|
|
107
|
-
return
|
|
108
|
-
let
|
|
109
|
-
if (
|
|
110
|
+
return D.data.forEach((i, a) => {
|
|
111
|
+
let o = F.value ? I.value[a][t] : P(i, e.key);
|
|
112
|
+
if (o == null) {
|
|
110
113
|
r.length && n.push(r), r = [];
|
|
111
114
|
return;
|
|
112
115
|
}
|
|
113
116
|
r.push({
|
|
114
|
-
x: R(L.value.pointAt(
|
|
115
|
-
y: R(L.value.y(
|
|
116
|
-
index:
|
|
117
|
+
x: R(L.value.pointAt(a)),
|
|
118
|
+
y: R(L.value.y(o)),
|
|
119
|
+
index: a
|
|
117
120
|
});
|
|
118
121
|
}), r.length && n.push(r), {
|
|
119
122
|
runs: n,
|
|
120
123
|
color: i(a(e, t)),
|
|
121
124
|
seriesIndex: t
|
|
122
125
|
};
|
|
123
|
-
}) : []), B = f(() =>
|
|
124
|
-
|
|
126
|
+
}) : []), B = f(() => (D.variant === "area" || D.variant === "stacked") && !N.value && z.value.length > 0), be = f(() => !F.value || !A.value ? [] : M.value.map((e, t) => ({
|
|
127
|
+
top: D.data.map((e, n) => ({
|
|
128
|
+
x: R(L.value.pointAt(n)),
|
|
129
|
+
y: R(L.value.y(I.value[n][t])),
|
|
130
|
+
index: n
|
|
131
|
+
})),
|
|
132
|
+
base: D.data.map((e, n) => ({
|
|
133
|
+
x: R(L.value.pointAt(n)),
|
|
134
|
+
y: R(L.value.y(t === 0 ? 0 : I.value[n][t - 1])),
|
|
135
|
+
index: n
|
|
136
|
+
})),
|
|
137
|
+
color: i(a(e, t)),
|
|
138
|
+
seriesIndex: t
|
|
139
|
+
}))), V = f(() => {
|
|
140
|
+
let e = D.data?.length ?? 0;
|
|
125
141
|
return {
|
|
126
142
|
first: e ? R(L.value.pointAt(0)) : 0,
|
|
127
143
|
last: e ? R(L.value.pointAt(e - 1)) : 0,
|
|
@@ -130,11 +146,11 @@ var te = ["role", "aria-label"], ne = [
|
|
|
130
146
|
};
|
|
131
147
|
});
|
|
132
148
|
function H(e) {
|
|
133
|
-
return
|
|
149
|
+
return D.flush && e.x === V.value.last ? `L${V.value.right} ${e.y}` : "";
|
|
134
150
|
}
|
|
135
|
-
let U = f(() => Math.min(Math.max(
|
|
151
|
+
let U = f(() => Math.min(Math.max(D.tension, 0), 1) / 6);
|
|
136
152
|
function W(e) {
|
|
137
|
-
let t = e[0], n = e[e.length - 1], r =
|
|
153
|
+
let t = e[0], n = e[e.length - 1], r = D.flush && t.x === V.value.first ? `M${V.value.left} ${t.y} L${t.x} ${t.y}` : `M${t.x} ${t.y}`;
|
|
138
154
|
if (U.value === 0 || e.length < 2) return [
|
|
139
155
|
r,
|
|
140
156
|
...e.slice(1).map((e) => `L${e.x} ${e.y}`),
|
|
@@ -150,11 +166,14 @@ var te = ["role", "aria-label"], ne = [
|
|
|
150
166
|
H(n)
|
|
151
167
|
].filter(Boolean).join(" ");
|
|
152
168
|
}
|
|
153
|
-
function
|
|
154
|
-
let t = L.value.plot.top + L.value.plot.height, n = e[0], r = e[e.length - 1], i =
|
|
169
|
+
function xe(e) {
|
|
170
|
+
let t = L.value.plot.top + L.value.plot.height, n = e[0], r = e[e.length - 1], i = D.flush && n.x === V.value.first ? V.value.left : n.x, a = D.flush && r.x === V.value.last ? V.value.right : r.x;
|
|
155
171
|
return `${W(e)} L${a} ${t} L${i} ${t} Z`;
|
|
156
172
|
}
|
|
157
|
-
|
|
173
|
+
function Se(e, t) {
|
|
174
|
+
return `${W(e)} ${W([...t].reverse()).replace("M", "L")} Z`;
|
|
175
|
+
}
|
|
176
|
+
let G = `iryx-area-${te()}`, K = `iryx-plot-clip-${te()}`, q = S(), J = f(() => q.value == null ? [] : z.value.flatMap((e) => {
|
|
158
177
|
for (let t of e.runs) {
|
|
159
178
|
let n = t.find((e) => e.index === q.value);
|
|
160
179
|
if (n) return [{
|
|
@@ -165,69 +184,70 @@ var te = ["role", "aria-label"], ne = [
|
|
|
165
184
|
return [];
|
|
166
185
|
})), Y = f(() => q.value == null ? void 0 : R(L.value.pointAt(q.value))), X = f(() => {
|
|
167
186
|
if (q.value == null) return;
|
|
168
|
-
let e =
|
|
187
|
+
let e = D.data[q.value];
|
|
169
188
|
if (!e) return;
|
|
170
|
-
let t =
|
|
189
|
+
let t = M.value.map((t, n) => ({
|
|
171
190
|
name: t.name ?? t.key,
|
|
172
191
|
color: i(a(t, n)),
|
|
173
|
-
value:
|
|
192
|
+
value: P(e, t.key)
|
|
174
193
|
})).filter((e) => e.value != null).map((e) => ({
|
|
175
194
|
...e,
|
|
176
|
-
value:
|
|
195
|
+
value: j(e.value)
|
|
177
196
|
}));
|
|
178
197
|
if (!t.length) return;
|
|
179
|
-
let n =
|
|
198
|
+
let n = N.value ? Math.max(e.label.length, ...t.map((e) => e.name.length + e.value.length + 3)) : e.label.length + t[0].value.length + 2;
|
|
180
199
|
return {
|
|
181
200
|
label: e.label,
|
|
182
201
|
rows: t,
|
|
183
|
-
multi:
|
|
184
|
-
x: r(L.value.pointAt(q.value), "x".repeat(n),
|
|
202
|
+
multi: N.value,
|
|
203
|
+
x: r(L.value.pointAt(q.value), "x".repeat(n), A.value),
|
|
185
204
|
y: Math.min(...J.value.map((e) => e.y), L.value.plot.top + L.value.plot.height)
|
|
186
205
|
};
|
|
187
|
-
}), Z = s(f(() =>
|
|
188
|
-
transform: `scaleX(${+!!
|
|
206
|
+
}), Z = s(f(() => D.animate)), { revealed: Ce } = c(f(() => !!(A.value && z.value.length)), Z), we = f(() => ({
|
|
207
|
+
transform: `scaleX(${+!!Ce.value})`,
|
|
189
208
|
transformOrigin: `${L.value.plot.left}px 0px`,
|
|
190
209
|
transition: `transform ${Z.value.duration}ms ${Z.value.css}`
|
|
191
210
|
})), Q = f(() => u());
|
|
192
211
|
function $(e, t) {
|
|
193
|
-
let n =
|
|
194
|
-
return
|
|
212
|
+
let n = D.ui?.[e];
|
|
213
|
+
return O.value ? [n, t] : Q.value[e]({ class: [n, t] });
|
|
195
214
|
}
|
|
196
215
|
return (e, t) => (x(), m("div", {
|
|
197
216
|
ref_key: "root",
|
|
198
|
-
ref:
|
|
199
|
-
role:
|
|
200
|
-
"aria-label":
|
|
201
|
-
class: v($("root",
|
|
217
|
+
ref: k,
|
|
218
|
+
role: D.label ? "figure" : void 0,
|
|
219
|
+
"aria-label": D.label,
|
|
220
|
+
class: v($("root", D.class))
|
|
202
221
|
}, [
|
|
203
|
-
|
|
222
|
+
ye.value ? (x(), ee(l, {
|
|
204
223
|
key: 0,
|
|
205
|
-
series:
|
|
206
|
-
unstyled:
|
|
224
|
+
series: M.value,
|
|
225
|
+
unstyled: D.unstyled
|
|
207
226
|
}, null, 8, ["series", "unstyled"])) : p("", !0),
|
|
208
|
-
h("div", { class: v(
|
|
209
|
-
width: E(
|
|
210
|
-
height:
|
|
211
|
-
viewBox: `0 0 ${E(
|
|
227
|
+
h("div", { class: v(O.value ? void 0 : Q.value.plot()) }, [(x(), m("svg", {
|
|
228
|
+
width: E(A),
|
|
229
|
+
height: D.height,
|
|
230
|
+
viewBox: `0 0 ${E(A)} ${D.height}`,
|
|
212
231
|
"aria-hidden": "true",
|
|
213
232
|
class: v($("svg"))
|
|
214
233
|
}, [
|
|
215
|
-
|
|
234
|
+
D.axis ? (x(!0), m(d, { key: 0 }, C(L.value.ticks, (e) => (x(), m("g", { key: `tick-${e}` }, [h("line", {
|
|
216
235
|
x1: L.value.plot.left,
|
|
217
236
|
y1: L.value.y(e),
|
|
218
237
|
x2: L.value.plot.left + L.value.plot.width,
|
|
219
238
|
y2: L.value.y(e),
|
|
220
239
|
"stroke-width": "1",
|
|
221
240
|
class: v($("grid"))
|
|
222
|
-
}, null, 10,
|
|
241
|
+
}, null, 10, ie), h("text", {
|
|
223
242
|
x: L.value.plot.left - E(8),
|
|
224
243
|
y: L.value.y(e),
|
|
225
244
|
"text-anchor": "end",
|
|
226
245
|
"dominant-baseline": "middle",
|
|
227
246
|
class: v($("tick"))
|
|
228
|
-
}, T(
|
|
247
|
+
}, T(j(e)), 11, ae)]))), 128)) : p("", !0),
|
|
229
248
|
w(e.$slots, "underlay", y(_(L.value))),
|
|
230
|
-
B.value ? (x(), m("
|
|
249
|
+
h("defs", null, [B.value ? (x(), m("linearGradient", {
|
|
250
|
+
key: 0,
|
|
231
251
|
id: G,
|
|
232
252
|
x1: "0",
|
|
233
253
|
y1: "0",
|
|
@@ -241,65 +261,74 @@ var te = ["role", "aria-label"], ne = [
|
|
|
241
261
|
offset: "100%",
|
|
242
262
|
"stop-color": "currentColor",
|
|
243
263
|
"stop-opacity": "0"
|
|
244
|
-
}, null, -1)]]), h("clipPath", { id: K }, [h("rect", {
|
|
264
|
+
}, null, -1)]])) : p("", !0), h("clipPath", { id: K }, [h("rect", {
|
|
245
265
|
x: L.value.plot.left,
|
|
246
266
|
y: L.value.plot.top,
|
|
247
267
|
width: L.value.plot.width,
|
|
248
268
|
height: L.value.plot.height,
|
|
249
|
-
style: b(
|
|
250
|
-
}, null, 12,
|
|
269
|
+
style: b(we.value)
|
|
270
|
+
}, null, 12, oe)])]),
|
|
251
271
|
Y.value == null ? p("", !0) : (x(), m("line", {
|
|
252
|
-
key:
|
|
272
|
+
key: 1,
|
|
253
273
|
x1: Y.value,
|
|
254
274
|
y1: L.value.plot.top,
|
|
255
275
|
x2: Y.value,
|
|
256
276
|
y2: L.value.plot.top + L.value.plot.height,
|
|
257
277
|
"stroke-width": "1",
|
|
258
278
|
class: v($("crosshair"))
|
|
259
|
-
}, null, 10,
|
|
260
|
-
h("g", { "clip-path": `url(#${K})` }, [
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
d
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
279
|
+
}, null, 10, se)),
|
|
280
|
+
h("g", { "clip-path": `url(#${K})` }, [
|
|
281
|
+
(x(!0), m(d, null, C(B.value ? z.value[0].runs : [], (e, t) => (x(), m("path", {
|
|
282
|
+
key: `area-${t}`,
|
|
283
|
+
d: xe(e),
|
|
284
|
+
fill: `url(#${G})`,
|
|
285
|
+
style: b({ color: z.value[0].color }),
|
|
286
|
+
class: v($("area"))
|
|
287
|
+
}, null, 14, le))), 128)),
|
|
288
|
+
(x(!0), m(d, null, C(be.value, (e) => (x(), m("path", {
|
|
289
|
+
key: `band-${e.seriesIndex}`,
|
|
290
|
+
d: Se(e.top, e.base),
|
|
291
|
+
style: b({ fill: e.color }),
|
|
292
|
+
class: v($("band"))
|
|
293
|
+
}, null, 14, ue))), 128)),
|
|
294
|
+
(x(!0), m(d, null, C(z.value, (e) => (x(), m(d, { key: `series-${e.seriesIndex}` }, [(x(!0), m(d, null, C(e.runs, (t, n) => (x(), m("path", {
|
|
295
|
+
key: `line-${e.seriesIndex}-${n}`,
|
|
296
|
+
d: W(t),
|
|
297
|
+
style: b({ stroke: e.color }),
|
|
298
|
+
class: v($("line"))
|
|
299
|
+
}, null, 14, de))), 128))], 64))), 128))
|
|
300
|
+
], 8, ce),
|
|
272
301
|
(x(!0), m(d, null, C(J.value, (e, t) => (x(), m(d, { key: `marker-${t}` }, [h("circle", {
|
|
273
302
|
cx: e.x,
|
|
274
303
|
cy: e.y,
|
|
275
304
|
r: "6",
|
|
276
305
|
class: v($("markerRing"))
|
|
277
|
-
}, null, 10,
|
|
306
|
+
}, null, 10, fe), h("circle", {
|
|
278
307
|
cx: e.x,
|
|
279
308
|
cy: e.y,
|
|
280
309
|
r: "4",
|
|
281
310
|
style: b({ fill: e.color }),
|
|
282
311
|
class: v($("marker"))
|
|
283
|
-
}, null, 14,
|
|
284
|
-
(x(!0), m(d, null, C(
|
|
312
|
+
}, null, 14, pe)], 64))), 128)),
|
|
313
|
+
(x(!0), m(d, null, C(D.data, (e, t) => (x(), m(d, { key: `label-${e.label}-${t}` }, [t % L.value.labelStep === 0 ? (x(), m("text", {
|
|
285
314
|
key: 0,
|
|
286
315
|
x: L.value.pointAt(t),
|
|
287
316
|
y: L.value.plot.top + L.value.plot.height + 14,
|
|
288
317
|
"text-anchor": "middle",
|
|
289
318
|
class: v($("category"))
|
|
290
|
-
}, T(e.label), 11,
|
|
319
|
+
}, T(e.label), 11, me)) : p("", !0)], 64))), 128)),
|
|
291
320
|
w(e.$slots, "overlay", y(_(L.value))),
|
|
292
|
-
(x(!0), m(d, null, C(
|
|
321
|
+
(x(!0), m(d, null, C(D.data, (e, n) => (x(), m("rect", {
|
|
293
322
|
key: `hit-${e.label}-${n}`,
|
|
294
323
|
x: L.value.plot.left + L.value.bandWidth * n,
|
|
295
324
|
y: L.value.plot.top,
|
|
296
325
|
width: L.value.bandWidth,
|
|
297
326
|
height: L.value.plot.height,
|
|
298
|
-
class: v(
|
|
327
|
+
class: v(O.value ? void 0 : Q.value.hit()),
|
|
299
328
|
onPointerenter: (e) => q.value = n,
|
|
300
329
|
onPointerleave: t[0] ||= (e) => q.value = void 0
|
|
301
|
-
}, null, 42,
|
|
302
|
-
], 10,
|
|
330
|
+
}, null, 42, he))), 128))
|
|
331
|
+
], 10, re)), X.value ? (x(), m("div", {
|
|
303
332
|
key: 0,
|
|
304
333
|
class: v($("tooltip", X.value.multi ? "flex-col items-start gap-1" : void 0)),
|
|
305
334
|
style: b({
|
|
@@ -322,15 +351,15 @@ var te = ["role", "aria-label"], ne = [
|
|
|
322
351
|
class: v($("tooltipValue"))
|
|
323
352
|
}, T(X.value.rows[0].value), 3))], 6)) : p("", !0)], 2),
|
|
324
353
|
h("div", { class: v($("table")) }, [h("table", null, [
|
|
325
|
-
h("caption", null, T(
|
|
326
|
-
h("thead", null, [h("tr", null, [t[2] ||= h("th", { scope: "col" }, " Category ", -1), (x(!0), m(d, null, C(
|
|
354
|
+
h("caption", null, T(D.label), 1),
|
|
355
|
+
h("thead", null, [h("tr", null, [t[2] ||= h("th", { scope: "col" }, " Category ", -1), (x(!0), m(d, null, C(M.value, (e) => (x(), m("th", {
|
|
327
356
|
key: e.key,
|
|
328
357
|
scope: "col"
|
|
329
358
|
}, T(e.name ?? "Value"), 1))), 128))])]),
|
|
330
|
-
h("tbody", null, [(x(!0), m(d, null, C(
|
|
359
|
+
h("tbody", null, [(x(!0), m(d, null, C(D.data, (e, t) => (x(), m("tr", { key: `row-${e.label}-${t}` }, [h("th", ge, T(e.label), 1), (x(!0), m(d, null, C(M.value, (t) => (x(), m("td", { key: t.key }, T(P(e, t.key) == null ? "—" : j(P(e, t.key))), 1))), 128))]))), 128))])
|
|
331
360
|
])], 2)
|
|
332
|
-
], 10,
|
|
361
|
+
], 10, ne));
|
|
333
362
|
}
|
|
334
363
|
});
|
|
335
364
|
//#endregion
|
|
336
|
-
export {
|
|
365
|
+
export { D as default };
|
|
@@ -23,6 +23,7 @@ export { default as ColorPicker } from './ColorPicker.vue';
|
|
|
23
23
|
export { default as Combobox } from './Combobox.vue';
|
|
24
24
|
export { default as CommandPalette } from './CommandPalette.vue';
|
|
25
25
|
export { default as ConfirmDialog } from './ConfirmDialog.vue';
|
|
26
|
+
export { default as ConfirmPopover } from './ConfirmPopover.vue';
|
|
26
27
|
export { default as Container } from './Container.vue';
|
|
27
28
|
export { default as ContextMenu } from './ContextMenu.vue';
|
|
28
29
|
export { default as DateField } from './DateField.vue';
|
package/dist/components/index.js
CHANGED
|
@@ -28,61 +28,62 @@ import E from "./Kbd.js";
|
|
|
28
28
|
import D from "./CommandPalette.js";
|
|
29
29
|
import O from "./Dialog.js";
|
|
30
30
|
import k from "./ConfirmDialog.js";
|
|
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 "./
|
|
82
|
-
import De from "./
|
|
83
|
-
import Oe from "./
|
|
31
|
+
import A from "./Popover.js";
|
|
32
|
+
import j from "./ConfirmPopover.js";
|
|
33
|
+
import M from "./Container.js";
|
|
34
|
+
import N from "./ContextMenu.js";
|
|
35
|
+
import P from "./DateField.js";
|
|
36
|
+
import F from "./DatePicker.js";
|
|
37
|
+
import I from "./DateRangePicker.js";
|
|
38
|
+
import L from "./DescriptionList.js";
|
|
39
|
+
import R from "./DonutChart.js";
|
|
40
|
+
import z from "./DropdownMenu.js";
|
|
41
|
+
import B from "./Editable.js";
|
|
42
|
+
import V from "./EmptyState.js";
|
|
43
|
+
import H from "./FileUpload.js";
|
|
44
|
+
import U from "./Form.js";
|
|
45
|
+
import W from "./Label.js";
|
|
46
|
+
import G from "./FormField.js";
|
|
47
|
+
import K from "./HoverCard.js";
|
|
48
|
+
import q from "./Input.js";
|
|
49
|
+
import J from "./LineChart.js";
|
|
50
|
+
import Y from "./Menubar.js";
|
|
51
|
+
import X from "./NavigationMenu.js";
|
|
52
|
+
import Z from "./NumberInput.js";
|
|
53
|
+
import Q from "./PageHeader.js";
|
|
54
|
+
import $ from "./Pagination.js";
|
|
55
|
+
import ee from "./PasswordInput.js";
|
|
56
|
+
import te from "./PinInput.js";
|
|
57
|
+
import ne from "./Progress.js";
|
|
58
|
+
import re from "./RadioGroup.js";
|
|
59
|
+
import ie from "./Rating.js";
|
|
60
|
+
import ae from "./ScrollArea.js";
|
|
61
|
+
import oe from "./ScrollFade.js";
|
|
62
|
+
import se from "./Select.js";
|
|
63
|
+
import ce from "./Separator.js";
|
|
64
|
+
import le from "./Sidebar.js";
|
|
65
|
+
import ue from "./SignaturePad.js";
|
|
66
|
+
import de from "./Skeleton.js";
|
|
67
|
+
import fe from "./Slider.js";
|
|
68
|
+
import pe from "./Sparkline.js";
|
|
69
|
+
import me from "./Splitter.js";
|
|
70
|
+
import he from "./Stat.js";
|
|
71
|
+
import ge from "./Stepper.js";
|
|
72
|
+
import _e from "./Switch.js";
|
|
73
|
+
import ve from "./Table.js";
|
|
74
|
+
import ye from "./Tabs.js";
|
|
75
|
+
import be from "./TagsInput.js";
|
|
76
|
+
import xe from "./Textarea.js";
|
|
77
|
+
import Se from "./TimeField.js";
|
|
78
|
+
import Ce from "./Timeline.js";
|
|
79
|
+
import we from "./Toaster.js";
|
|
80
|
+
import Te from "./Toggle.js";
|
|
81
|
+
import Ee from "./ToggleGroup.js";
|
|
82
|
+
import De from "./Toolbar.js";
|
|
83
|
+
import Oe from "./Tooltip.js";
|
|
84
|
+
import ke from "./Tree.js";
|
|
84
85
|
//#region src/components/index.ts
|
|
85
|
-
var
|
|
86
|
+
var Ae = /* @__PURE__ */ e({
|
|
86
87
|
Accordion: () => n,
|
|
87
88
|
Alert: () => r,
|
|
88
89
|
App: () => i,
|
|
@@ -108,63 +109,64 @@ var ke = /* @__PURE__ */ e({
|
|
|
108
109
|
Combobox: () => T,
|
|
109
110
|
CommandPalette: () => D,
|
|
110
111
|
ConfirmDialog: () => k,
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
112
|
+
ConfirmPopover: () => j,
|
|
113
|
+
Container: () => M,
|
|
114
|
+
ContextMenu: () => N,
|
|
115
|
+
DateField: () => P,
|
|
116
|
+
DatePicker: () => F,
|
|
117
|
+
DateRangePicker: () => I,
|
|
118
|
+
DescriptionList: () => L,
|
|
117
119
|
Dialog: () => O,
|
|
118
|
-
DonutChart: () =>
|
|
120
|
+
DonutChart: () => R,
|
|
119
121
|
Drawer: () => a,
|
|
120
|
-
DropdownMenu: () =>
|
|
121
|
-
Editable: () =>
|
|
122
|
-
EmptyState: () =>
|
|
123
|
-
FileUpload: () =>
|
|
124
|
-
Form: () =>
|
|
125
|
-
FormField: () =>
|
|
126
|
-
HoverCard: () =>
|
|
122
|
+
DropdownMenu: () => z,
|
|
123
|
+
Editable: () => B,
|
|
124
|
+
EmptyState: () => V,
|
|
125
|
+
FileUpload: () => H,
|
|
126
|
+
Form: () => U,
|
|
127
|
+
FormField: () => G,
|
|
128
|
+
HoverCard: () => K,
|
|
127
129
|
Icon: () => t,
|
|
128
|
-
Input: () =>
|
|
130
|
+
Input: () => q,
|
|
129
131
|
Kbd: () => E,
|
|
130
|
-
Label: () =>
|
|
131
|
-
LineChart: () =>
|
|
132
|
-
Menubar: () =>
|
|
133
|
-
NavigationMenu: () =>
|
|
134
|
-
NumberInput: () =>
|
|
135
|
-
PageHeader: () =>
|
|
136
|
-
Pagination: () =>
|
|
137
|
-
PasswordInput: () =>
|
|
138
|
-
PinInput: () =>
|
|
139
|
-
Popover: () =>
|
|
140
|
-
Progress: () =>
|
|
141
|
-
RadioGroup: () =>
|
|
142
|
-
Rating: () =>
|
|
143
|
-
ScrollArea: () =>
|
|
144
|
-
ScrollFade: () =>
|
|
145
|
-
Select: () =>
|
|
146
|
-
Separator: () =>
|
|
147
|
-
Sidebar: () =>
|
|
148
|
-
SignaturePad: () =>
|
|
149
|
-
Skeleton: () =>
|
|
150
|
-
Slider: () =>
|
|
151
|
-
Sparkline: () =>
|
|
152
|
-
Splitter: () =>
|
|
153
|
-
Stat: () =>
|
|
154
|
-
Stepper: () =>
|
|
155
|
-
Switch: () =>
|
|
156
|
-
Table: () =>
|
|
157
|
-
Tabs: () =>
|
|
158
|
-
TagsInput: () =>
|
|
159
|
-
Textarea: () =>
|
|
160
|
-
TimeField: () =>
|
|
161
|
-
Timeline: () =>
|
|
162
|
-
Toaster: () =>
|
|
163
|
-
Toggle: () =>
|
|
164
|
-
ToggleGroup: () =>
|
|
165
|
-
Toolbar: () =>
|
|
166
|
-
Tooltip: () =>
|
|
167
|
-
Tree: () =>
|
|
132
|
+
Label: () => W,
|
|
133
|
+
LineChart: () => J,
|
|
134
|
+
Menubar: () => Y,
|
|
135
|
+
NavigationMenu: () => X,
|
|
136
|
+
NumberInput: () => Z,
|
|
137
|
+
PageHeader: () => Q,
|
|
138
|
+
Pagination: () => $,
|
|
139
|
+
PasswordInput: () => ee,
|
|
140
|
+
PinInput: () => te,
|
|
141
|
+
Popover: () => A,
|
|
142
|
+
Progress: () => ne,
|
|
143
|
+
RadioGroup: () => re,
|
|
144
|
+
Rating: () => ie,
|
|
145
|
+
ScrollArea: () => ae,
|
|
146
|
+
ScrollFade: () => oe,
|
|
147
|
+
Select: () => se,
|
|
148
|
+
Separator: () => ce,
|
|
149
|
+
Sidebar: () => le,
|
|
150
|
+
SignaturePad: () => ue,
|
|
151
|
+
Skeleton: () => de,
|
|
152
|
+
Slider: () => fe,
|
|
153
|
+
Sparkline: () => pe,
|
|
154
|
+
Splitter: () => me,
|
|
155
|
+
Stat: () => he,
|
|
156
|
+
Stepper: () => ge,
|
|
157
|
+
Switch: () => _e,
|
|
158
|
+
Table: () => ve,
|
|
159
|
+
Tabs: () => ye,
|
|
160
|
+
TagsInput: () => be,
|
|
161
|
+
Textarea: () => xe,
|
|
162
|
+
TimeField: () => Se,
|
|
163
|
+
Timeline: () => Ce,
|
|
164
|
+
Toaster: () => we,
|
|
165
|
+
Toggle: () => Te,
|
|
166
|
+
ToggleGroup: () => Ee,
|
|
167
|
+
Toolbar: () => De,
|
|
168
|
+
Tooltip: () => Oe,
|
|
169
|
+
Tree: () => ke
|
|
168
170
|
});
|
|
169
171
|
//#endregion
|
|
170
|
-
export {
|
|
172
|
+
export { Ae as components_exports };
|
package/dist/index.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export type { ColorPickerProps } from './components/ColorPicker.vue';
|
|
|
27
27
|
export type { ComboboxItemGroup, ComboboxItemOption, ComboboxItems, ComboboxProps } from './components/Combobox.vue';
|
|
28
28
|
export type { CommandPaletteProps } from './components/CommandPalette.vue';
|
|
29
29
|
export type { ConfirmDialogProps } from './components/ConfirmDialog.vue';
|
|
30
|
+
export type { ConfirmPopoverProps } from './components/ConfirmPopover.vue';
|
|
30
31
|
export type { ContainerProps } from './components/Container.vue';
|
|
31
32
|
export type { ContextMenuProps } from './components/ContextMenu.vue';
|
|
32
33
|
export type { DateFieldProps } from './components/DateField.vue';
|
package/dist/index.js
CHANGED
|
@@ -67,110 +67,112 @@ import { resolveConfirm as tt, useConfirm as nt, useConfirmState as rt } from ".
|
|
|
67
67
|
import { dialogTheme as it } from "./theme/dialog.js";
|
|
68
68
|
import at from "./components/Dialog.js";
|
|
69
69
|
import ot from "./components/ConfirmDialog.js";
|
|
70
|
-
import {
|
|
71
|
-
import ct from "./
|
|
72
|
-
import
|
|
73
|
-
import
|
|
74
|
-
import
|
|
75
|
-
import
|
|
76
|
-
import
|
|
77
|
-
import {
|
|
78
|
-
import gt from "./components/
|
|
79
|
-
import _t from "./
|
|
80
|
-
import
|
|
81
|
-
import yt from "./
|
|
82
|
-
import
|
|
83
|
-
import xt from "./components/
|
|
84
|
-
import St from "./
|
|
85
|
-
import
|
|
86
|
-
import wt from "./
|
|
87
|
-
import
|
|
88
|
-
import Et from "./components/
|
|
89
|
-
import {
|
|
90
|
-
import Ot from "./components/
|
|
91
|
-
import kt from "./
|
|
92
|
-
import
|
|
93
|
-
import jt from "./
|
|
94
|
-
import Mt from "./components/
|
|
95
|
-
import
|
|
96
|
-
import Pt from "./
|
|
97
|
-
import Ft from "./components/
|
|
98
|
-
import
|
|
99
|
-
import Lt from "./
|
|
100
|
-
import
|
|
101
|
-
import zt from "./components/
|
|
102
|
-
import {
|
|
103
|
-
import
|
|
104
|
-
import Ht from "./
|
|
105
|
-
import
|
|
106
|
-
import {
|
|
107
|
-
import
|
|
108
|
-
import
|
|
109
|
-
import rn from "./
|
|
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 {
|
|
119
|
-
import mn from "./components/
|
|
120
|
-
import {
|
|
121
|
-
import gn from "./components/
|
|
122
|
-
import _n from "./
|
|
123
|
-
import
|
|
124
|
-
import yn from "./components/
|
|
125
|
-
import {
|
|
126
|
-
import xn from "./components/
|
|
127
|
-
import {
|
|
128
|
-
import Cn from "./components/
|
|
129
|
-
import {
|
|
130
|
-
import Tn from "./components/
|
|
131
|
-
import {
|
|
132
|
-
import
|
|
133
|
-
import An from "./
|
|
134
|
-
import {
|
|
135
|
-
import
|
|
136
|
-
import Pn from "./
|
|
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 Kn from "./components/
|
|
149
|
-
import {
|
|
150
|
-
import Jn from "./components/
|
|
151
|
-
import {
|
|
152
|
-
import
|
|
153
|
-
import Qn from "./
|
|
154
|
-
import {
|
|
155
|
-
import er from "./components/
|
|
156
|
-
import {
|
|
157
|
-
import nr from "./components/
|
|
158
|
-
import rr from "./
|
|
159
|
-
import
|
|
160
|
-
import ar from "./components/
|
|
161
|
-
import {
|
|
162
|
-
import sr from "./components/
|
|
163
|
-
import {
|
|
164
|
-
import
|
|
165
|
-
import dr from "./
|
|
166
|
-
import {
|
|
167
|
-
import
|
|
168
|
-
import hr from "./
|
|
169
|
-
import
|
|
170
|
-
import _r from "./components/
|
|
171
|
-
import {
|
|
172
|
-
import yr from "./components/
|
|
173
|
-
import {
|
|
174
|
-
import xr from "./components/
|
|
175
|
-
import {
|
|
176
|
-
|
|
70
|
+
import { confirmPopoverTheme as st } from "./theme/confirm-popover.js";
|
|
71
|
+
import { popoverTheme as ct } from "./theme/popover.js";
|
|
72
|
+
import lt from "./components/Popover.js";
|
|
73
|
+
import ut from "./components/ConfirmPopover.js";
|
|
74
|
+
import { containerTheme as dt } from "./theme/container.js";
|
|
75
|
+
import ft from "./components/Container.js";
|
|
76
|
+
import { dropdownMenuTheme as pt } from "./theme/dropdown-menu.js";
|
|
77
|
+
import { isSeparator as mt, isSubmenu as ht } from "./composables/dropdown-menu.js";
|
|
78
|
+
import gt from "./components/ContextMenu.js";
|
|
79
|
+
import { dateFieldTheme as _t } from "./theme/date-field.js";
|
|
80
|
+
import vt from "./components/DateField.js";
|
|
81
|
+
import { datePickerTheme as yt } from "./theme/date-picker.js";
|
|
82
|
+
import bt from "./components/DatePicker.js";
|
|
83
|
+
import xt from "./components/DateRangePicker.js";
|
|
84
|
+
import { descriptionListTheme as St } from "./theme/description-list.js";
|
|
85
|
+
import Ct from "./components/DescriptionList.js";
|
|
86
|
+
import { donutChartTheme as wt } from "./theme/donut-chart.js";
|
|
87
|
+
import Tt from "./components/DonutChart.js";
|
|
88
|
+
import Et from "./components/DropdownMenu.js";
|
|
89
|
+
import { editableTheme as Dt } from "./theme/editable.js";
|
|
90
|
+
import Ot from "./components/Editable.js";
|
|
91
|
+
import { emptyStateTheme as kt } from "./theme/empty-state.js";
|
|
92
|
+
import At from "./components/EmptyState.js";
|
|
93
|
+
import { fileUploadTheme as jt } from "./theme/file-upload.js";
|
|
94
|
+
import Mt from "./components/FileUpload.js";
|
|
95
|
+
import Nt from "./components/Form.js";
|
|
96
|
+
import { labelTheme as Pt } from "./theme/label.js";
|
|
97
|
+
import Ft from "./components/Label.js";
|
|
98
|
+
import It from "./components/FormField.js";
|
|
99
|
+
import { hoverCardTheme as Lt } from "./theme/hover-card.js";
|
|
100
|
+
import Rt from "./components/HoverCard.js";
|
|
101
|
+
import zt from "./components/Input.js";
|
|
102
|
+
import { lineChartTheme as Bt } from "./theme/line-chart.js";
|
|
103
|
+
import Vt from "./components/LineChart.js";
|
|
104
|
+
import { menubarTheme as Ht } from "./theme/menubar.js";
|
|
105
|
+
import Ut from "./components/Menubar.js";
|
|
106
|
+
import { isNavigationGroup as Wt } from "./composables/navigation-menu.js";
|
|
107
|
+
import { navigationMenuTheme as Gt } from "./theme/navigation-menu.js";
|
|
108
|
+
import Kt from "./components/NavigationMenu.js";
|
|
109
|
+
import { addDecimals as qt, clampDecimal as Jt, compareDecimals as Yt, formatDecimal as Xt, formatForLocale as Zt, isDecimal as Qt, localeSeparators as $t, parseDecimal as en, parseFromLocale as tn, roundDecimal as nn, toEditable as rn } from "./composables/decimal.js";
|
|
110
|
+
import { numberInputTheme as an } from "./theme/number-input.js";
|
|
111
|
+
import on from "./components/NumberInput.js";
|
|
112
|
+
import { pageHeaderTheme as sn } from "./theme/page-header.js";
|
|
113
|
+
import cn from "./components/PageHeader.js";
|
|
114
|
+
import { paginationTheme as ln } from "./theme/pagination.js";
|
|
115
|
+
import un from "./components/Pagination.js";
|
|
116
|
+
import { passwordInputTheme as dn } from "./theme/password-input.js";
|
|
117
|
+
import fn from "./components/PasswordInput.js";
|
|
118
|
+
import { pinInputTheme as pn } from "./theme/pin-input.js";
|
|
119
|
+
import mn from "./components/PinInput.js";
|
|
120
|
+
import { progressTheme as hn } from "./theme/progress.js";
|
|
121
|
+
import gn from "./components/Progress.js";
|
|
122
|
+
import { radioGroupTheme as _n } from "./theme/radio-group.js";
|
|
123
|
+
import vn from "./components/RadioGroup.js";
|
|
124
|
+
import yn from "./components/Rating.js";
|
|
125
|
+
import { scrollAreaTheme as bn } from "./theme/scroll-area.js";
|
|
126
|
+
import xn from "./components/ScrollArea.js";
|
|
127
|
+
import { scrollFadeTheme as Sn } from "./theme/scroll-fade.js";
|
|
128
|
+
import Cn from "./components/ScrollFade.js";
|
|
129
|
+
import { selectTheme as wn } from "./theme/select.js";
|
|
130
|
+
import Tn from "./components/Select.js";
|
|
131
|
+
import { separatorTheme as En } from "./theme/separator.js";
|
|
132
|
+
import Dn from "./components/Separator.js";
|
|
133
|
+
import { isSidebarGroup as On, isSidebarSection as kn, toSidebarSections as An } from "./composables/sidebar.js";
|
|
134
|
+
import { sidebarTheme as jn } from "./theme/sidebar.js";
|
|
135
|
+
import Mn from "./components/Sidebar.js";
|
|
136
|
+
import { hasInk as Nn, strokeWidth as Pn } from "./composables/signature.js";
|
|
137
|
+
import { signaturePadTheme as Fn } from "./theme/signature-pad.js";
|
|
138
|
+
import In from "./components/SignaturePad.js";
|
|
139
|
+
import { skeletonTheme as Ln } from "./theme/skeleton.js";
|
|
140
|
+
import Rn from "./components/Skeleton.js";
|
|
141
|
+
import { sliderTheme as zn } from "./theme/slider.js";
|
|
142
|
+
import Bn from "./components/Slider.js";
|
|
143
|
+
import { sparklineTheme as Vn } from "./theme/sparkline.js";
|
|
144
|
+
import Hn from "./components/Sparkline.js";
|
|
145
|
+
import { splitterTheme as Un } from "./theme/splitter.js";
|
|
146
|
+
import Wn from "./components/Splitter.js";
|
|
147
|
+
import { statTheme as Gn } from "./theme/stat.js";
|
|
148
|
+
import Kn from "./components/Stat.js";
|
|
149
|
+
import { stepperTheme as qn } from "./theme/stepper.js";
|
|
150
|
+
import Jn from "./components/Stepper.js";
|
|
151
|
+
import { switchTheme as Yn } from "./theme/switch.js";
|
|
152
|
+
import Xn from "./components/Switch.js";
|
|
153
|
+
import { getRowValue as Zn, useDataTable as Qn } from "./composables/data-table.js";
|
|
154
|
+
import { tableTheme as $n } from "./theme/table.js";
|
|
155
|
+
import er from "./components/Table.js";
|
|
156
|
+
import { tabsTheme as tr } from "./theme/tabs.js";
|
|
157
|
+
import nr from "./components/Tabs.js";
|
|
158
|
+
import { tagsInputTheme as rr } from "./theme/tags-input.js";
|
|
159
|
+
import ir from "./components/TagsInput.js";
|
|
160
|
+
import ar from "./components/Textarea.js";
|
|
161
|
+
import { timeFieldTheme as or } from "./theme/time-field.js";
|
|
162
|
+
import sr from "./components/TimeField.js";
|
|
163
|
+
import { timelineTheme as cr } from "./theme/timeline.js";
|
|
164
|
+
import lr from "./components/Timeline.js";
|
|
165
|
+
import { useToast as ur, useToastState as dr } from "./composables/toast.js";
|
|
166
|
+
import { toastTheme as fr } from "./theme/toast.js";
|
|
167
|
+
import pr from "./components/Toaster.js";
|
|
168
|
+
import { toggleGroupTheme as mr, toggleTheme as hr } from "./theme/toggle.js";
|
|
169
|
+
import gr from "./components/Toggle.js";
|
|
170
|
+
import _r from "./components/ToggleGroup.js";
|
|
171
|
+
import { toolbarTheme as vr } from "./theme/toolbar.js";
|
|
172
|
+
import yr from "./components/Toolbar.js";
|
|
173
|
+
import { tooltipTheme as br } from "./theme/tooltip.js";
|
|
174
|
+
import xr from "./components/Tooltip.js";
|
|
175
|
+
import { treeTheme as Sr } from "./theme/tree.js";
|
|
176
|
+
import Cr from "./components/Tree.js";
|
|
177
|
+
import { IryxUi as wr, createIryxUi as Tr } from "./plugin.js";
|
|
178
|
+
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, ut as ConfirmPopover, ft as Container, gt as ContextMenu, vt as DateField, bt as DatePicker, xt as DateRangePicker, Ct as DescriptionList, at as Dialog, Tt as DonutChart, y as Drawer, Et as DropdownMenu, Ot as Editable, At as EmptyState, Mt as FileUpload, Nt as Form, It as FormField, Rt as HoverCard, o as Icon, zt as Input, wr as IryxUi, $e as Kbd, Ft as Label, Vt as LineChart, Ut as Menubar, Kt as NavigationMenu, on as NumberInput, cn as PageHeader, un as Pagination, fn as PasswordInput, mn as PinInput, lt as Popover, gn as Progress, Z as REVEAL_DURATION, vn as RadioGroup, yn as Rating, U as SERIES_SLOTS, xn as ScrollArea, Cn as ScrollFade, Tn as Select, Dn as Separator, Mn as Sidebar, In as SignaturePad, Rn as Skeleton, Bn as Slider, Hn as Sparkline, Wn as Splitter, Kn as Stat, Jn as Stepper, Xn as Switch, W as TOP_PAD, er as Table, nr as Tabs, ir as TagsInput, ar as Textarea, ue as Time, sr as TimeField, lr as Timeline, pr as Toaster, gr as Toggle, _r as ToggleGroup, yr as Toolbar, xr as Tooltip, Cr as Tree, i as accordionTheme, qt 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, Jt 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, Yt as compareDecimals, e as componentNames, st as confirmPopoverTheme, dt as containerTheme, Tr as createIryxUi, _t as dateFieldTheme, yt as datePickerTheme, t as defaultConfig, St as descriptionListTheme, it as dialogTheme, wt as donutChartTheme, v as drawerTheme, pt as dropdownMenuTheme, Dt as editableTheme, kt as emptyStateTheme, I as extent, Le as fieldBase, jt as fileUploadTheme, L as finiteValues, we as formContextKey, Te as formFieldContextKey, Xt as formatDecimal, Zt as formatForLocale, de as formatIsoDate, Ee as getByPath, Zn as getRowValue, Nn as hasInk, Lt as hoverCardTheme, u as initAppearance, Re as inputTheme, n as iryxUiConfigKey, We as isApplePlatform, Je as isCommandGroup, Qt as isDecimal, a as isIconArray, Wt as isNavigationGroup, mt as isSeparator, On as isSidebarGroup, kn as isSidebarSection, De as isStandardSchema, ht as isSubmenu, fe as isoToday, Oe as issuePath, Qe as kbdTheme, Pt as labelTheme, Bt as lineChartTheme, R as linearScale, $t as localeSeparators, Ye as matchesHotkey, Ht as menubarTheme, Gt as navigationMenuTheme, z as niceTicks, an as numberInputTheme, sn as pageHeaderTheme, ln as paginationTheme, en as parseDecimal, tn as parseFromLocale, Ge as parseHotkey, dn as passwordInputTheme, pn as pinInputTheme, ct as popoverTheme, hn as progressTheme, _n as radioGroupTheme, tt as resolveConfirm, nn as roundDecimal, bn as scrollAreaTheme, xe as scrollFadeMask, Sn as scrollFadeTheme, wn as selectTheme, En as separatorTheme, q as seriesColor, jn as sidebarTheme, Fn as signaturePadTheme, Ln as skeletonTheme, zn as sliderTheme, J as slotOf, Vn as sparklineTheme, Un as splitterTheme, Gn as statTheme, qn as stepperTheme, Pn as strokeWidth, Yn as switchTheme, $n as tableTheme, tr as tabsTheme, rr as tagsInputTheme, ze as textareaTheme, m as themes, or as timeFieldTheme, cr as timelineTheme, pe as toCalendarDate, Xe as toCommandGroups, rn as toEditable, me as toIsoDate, he as toIsoTime, An as toSidebarSections, ge as toTime, fr as toastTheme, mr as toggleGroupTheme, hr as toggleTheme, vr as toolbarTheme, Y as tooltipHalfWidth, br as tooltipTheme, Sr 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, Qn as useDataTable, g as useElementSize, ke as useForm, Ae as useFormField, r as useIryxUiConfig, Se as useScrollEdges, ur as useToast, dr as useToastState, X as warnOnSlotOverflow };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare const confirmPopoverTheme: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
[key: string]: {
|
|
3
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
4
|
+
description?: import("tailwind-variants").ClassValue;
|
|
5
|
+
actions?: import("tailwind-variants").ClassValue;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
} | {
|
|
9
|
+
[x: string]: {
|
|
10
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
11
|
+
description?: import("tailwind-variants").ClassValue;
|
|
12
|
+
actions?: import("tailwind-variants").ClassValue;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
} | {}, {
|
|
16
|
+
description: string;
|
|
17
|
+
actions: string;
|
|
18
|
+
}, undefined, {
|
|
19
|
+
[key: string]: {
|
|
20
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
21
|
+
description?: import("tailwind-variants").ClassValue;
|
|
22
|
+
actions?: import("tailwind-variants").ClassValue;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
} | {}, {
|
|
26
|
+
description: string;
|
|
27
|
+
actions: string;
|
|
28
|
+
}, import("tailwind-variants").TVReturnTypeLike<unknown, {
|
|
29
|
+
description: string;
|
|
30
|
+
actions: string;
|
|
31
|
+
}>>;
|
|
32
|
+
export type ConfirmPopoverSlots = keyof ReturnType<typeof confirmPopoverTheme>;
|
package/dist/theme/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export * from './collapsible';
|
|
|
18
18
|
export * from './color-picker';
|
|
19
19
|
export * from './combobox';
|
|
20
20
|
export * from './command-palette';
|
|
21
|
+
export * from './confirm-popover';
|
|
21
22
|
export * from './container';
|
|
22
23
|
export * from './date-field';
|
|
23
24
|
export * from './date-picker';
|
package/dist/theme/kbd.js
CHANGED
|
@@ -3,7 +3,7 @@ import { tv as e } from "tailwind-variants";
|
|
|
3
3
|
var t = e({
|
|
4
4
|
slots: {
|
|
5
5
|
root: "inline-flex shrink-0 items-center",
|
|
6
|
-
key: "inline-flex items-center justify-center rounded border border-current/25
|
|
6
|
+
key: "inline-flex items-center justify-center rounded border border-current/25 text-center font-medium text-current",
|
|
7
7
|
separator: "text-current/60"
|
|
8
8
|
},
|
|
9
9
|
variants: { size: {
|
|
@@ -15,6 +15,7 @@ export declare const lineChartTheme: import("tailwind-variants").TVReturnType<{
|
|
|
15
15
|
tooltip?: import("tailwind-variants").ClassValue;
|
|
16
16
|
tooltipLabel?: import("tailwind-variants").ClassValue;
|
|
17
17
|
tooltipValue?: import("tailwind-variants").ClassValue;
|
|
18
|
+
band?: import("tailwind-variants").ClassValue;
|
|
18
19
|
crosshair?: import("tailwind-variants").ClassValue;
|
|
19
20
|
markerRing?: import("tailwind-variants").ClassValue;
|
|
20
21
|
};
|
|
@@ -36,6 +37,7 @@ export declare const lineChartTheme: import("tailwind-variants").TVReturnType<{
|
|
|
36
37
|
tooltip?: import("tailwind-variants").ClassValue;
|
|
37
38
|
tooltipLabel?: import("tailwind-variants").ClassValue;
|
|
38
39
|
tooltipValue?: import("tailwind-variants").ClassValue;
|
|
40
|
+
band?: import("tailwind-variants").ClassValue;
|
|
39
41
|
crosshair?: import("tailwind-variants").ClassValue;
|
|
40
42
|
markerRing?: import("tailwind-variants").ClassValue;
|
|
41
43
|
};
|
|
@@ -49,6 +51,7 @@ export declare const lineChartTheme: import("tailwind-variants").TVReturnType<{
|
|
|
49
51
|
category: string;
|
|
50
52
|
line: string;
|
|
51
53
|
area: string;
|
|
54
|
+
band: string;
|
|
52
55
|
crosshair: string;
|
|
53
56
|
marker: string;
|
|
54
57
|
markerRing: string;
|
|
@@ -74,6 +77,7 @@ export declare const lineChartTheme: import("tailwind-variants").TVReturnType<{
|
|
|
74
77
|
tooltip?: import("tailwind-variants").ClassValue;
|
|
75
78
|
tooltipLabel?: import("tailwind-variants").ClassValue;
|
|
76
79
|
tooltipValue?: import("tailwind-variants").ClassValue;
|
|
80
|
+
band?: import("tailwind-variants").ClassValue;
|
|
77
81
|
crosshair?: import("tailwind-variants").ClassValue;
|
|
78
82
|
markerRing?: import("tailwind-variants").ClassValue;
|
|
79
83
|
};
|
|
@@ -87,6 +91,7 @@ export declare const lineChartTheme: import("tailwind-variants").TVReturnType<{
|
|
|
87
91
|
category: string;
|
|
88
92
|
line: string;
|
|
89
93
|
area: string;
|
|
94
|
+
band: string;
|
|
90
95
|
crosshair: string;
|
|
91
96
|
marker: string;
|
|
92
97
|
markerRing: string;
|
|
@@ -104,6 +109,7 @@ export declare const lineChartTheme: import("tailwind-variants").TVReturnType<{
|
|
|
104
109
|
category: string;
|
|
105
110
|
line: string;
|
|
106
111
|
area: string;
|
|
112
|
+
band: string;
|
|
107
113
|
crosshair: string;
|
|
108
114
|
marker: string;
|
|
109
115
|
markerRing: string;
|
package/dist/theme/line-chart.js
CHANGED
|
@@ -9,6 +9,7 @@ var t = e({ slots: {
|
|
|
9
9
|
category: "fill-muted-foreground text-xs",
|
|
10
10
|
line: "fill-none stroke-current stroke-2 [stroke-linecap:round] [stroke-linejoin:round]",
|
|
11
11
|
area: "stroke-none",
|
|
12
|
+
band: "stroke-none opacity-80",
|
|
12
13
|
crosshair: "stroke-border",
|
|
13
14
|
marker: "fill-current",
|
|
14
15
|
markerRing: "fill-background",
|