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.
@@ -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`.
@@ -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,5 @@
1
+ import e from "./ConfirmPopover.vue_vue_type_script_setup_true_lang.js";
2
+ //#region src/components/ConfirmPopover.vue
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
@@ -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 D } from "vue";
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 te = ["role", "aria-label"], ne = [
9
+ var ne = ["role", "aria-label"], re = [
10
10
  "width",
11
11
  "height",
12
12
  "viewBox"
13
- ], O = [
13
+ ], ie = [
14
14
  "x1",
15
15
  "y1",
16
16
  "x2",
17
17
  "y2"
18
- ], re = ["x", "y"], ie = { key: 1 }, ae = [
18
+ ], ae = ["x", "y"], oe = [
19
19
  "x",
20
20
  "y",
21
21
  "width",
22
22
  "height"
23
- ], oe = [
23
+ ], se = [
24
24
  "x1",
25
25
  "y1",
26
26
  "x2",
27
27
  "y2"
28
- ], se = ["clip-path"], ce = ["d", "fill"], le = ["d"], ue = ["cx", "cy"], de = ["cx", "cy"], fe = ["x", "y"], pe = [
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
- ], me = { scope: "row" }, k = /*@__PURE__*/ g({
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 k = g, he = e(), A = f(() => k.unstyled ?? he.unstyled), j = S(), { width: M } = t(j), ge = f(() => new Intl.NumberFormat(k.locale, k.format));
80
- function N(e) {
81
- return ge.value.format(e);
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 P = f(() => {
84
- let e = k.series?.length ? [...k.series] : [{ key: "value" }];
83
+ let M = f(() => {
84
+ let e = D.series?.length ? [...D.series] : [{ key: "value" }];
85
85
  return o(e.length), e;
86
- }), F = f(() => P.value.length > 1), _e = f(() => F.value || k.legend && P.value[0].name != null);
87
- function I(e, t) {
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 L = f(() => n({
92
- values: k.data.flatMap((e) => P.value.map((t) => I(e, t.key))),
93
- categories: k.data.length,
94
- longestLabel: Math.max(...k.data.map((e) => e.label.length), 1),
95
- width: M.value,
96
- height: k.height,
97
- tickCount: k.ticks,
98
- showAxis: k.axis,
99
- formatTick: N,
100
- includeZero: k.zero
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(() => M.value ? P.value.map((e, t) => {
108
+ let z = f(() => A.value ? M.value.map((e, t) => {
106
109
  let n = [], r = [];
107
- return k.data.forEach((t, i) => {
108
- let a = I(t, e.key);
109
- if (a == null) {
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(i)),
115
- y: R(L.value.y(a)),
116
- index: i
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(() => k.variant === "area" && !F.value && z.value.length > 0), V = f(() => {
124
- let e = k.data?.length ?? 0;
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 k.flush && e.x === V.value.last ? `L${V.value.right} ${e.y}` : "";
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(k.tension, 0), 1) / 6);
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 = k.flush && t.x === V.value.first ? `M${V.value.left} ${t.y} L${t.x} ${t.y}` : `M${t.x} ${t.y}`;
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 ve(e) {
154
- let t = L.value.plot.top + L.value.plot.height, n = e[0], r = e[e.length - 1], i = k.flush && n.x === V.value.first ? V.value.left : n.x, a = k.flush && r.x === V.value.last ? V.value.right : r.x;
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
- let G = `iryx-area-${D()}`, K = `iryx-plot-clip-${D()}`, q = S(), J = f(() => q.value == null ? [] : z.value.flatMap((e) => {
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 = k.data[q.value];
187
+ let e = D.data[q.value];
169
188
  if (!e) return;
170
- let t = P.value.map((t, n) => ({
189
+ let t = M.value.map((t, n) => ({
171
190
  name: t.name ?? t.key,
172
191
  color: i(a(t, n)),
173
- value: I(e, t.key)
192
+ value: P(e, t.key)
174
193
  })).filter((e) => e.value != null).map((e) => ({
175
194
  ...e,
176
- value: N(e.value)
195
+ value: j(e.value)
177
196
  }));
178
197
  if (!t.length) return;
179
- let n = F.value ? Math.max(e.label.length, ...t.map((e) => e.name.length + e.value.length + 3)) : e.label.length + t[0].value.length + 2;
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: F.value,
184
- x: r(L.value.pointAt(q.value), "x".repeat(n), M.value),
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(() => k.animate)), { revealed: ye } = c(f(() => !!(M.value && z.value.length)), Z), be = f(() => ({
188
- transform: `scaleX(${+!!ye.value})`,
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 = k.ui?.[e];
194
- return A.value ? [n, t] : Q.value[e]({ class: [n, t] });
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: j,
199
- role: k.label ? "figure" : void 0,
200
- "aria-label": k.label,
201
- class: v($("root", k.class))
217
+ ref: k,
218
+ role: D.label ? "figure" : void 0,
219
+ "aria-label": D.label,
220
+ class: v($("root", D.class))
202
221
  }, [
203
- _e.value ? (x(), ee(l, {
222
+ ye.value ? (x(), ee(l, {
204
223
  key: 0,
205
- series: P.value,
206
- unstyled: k.unstyled
224
+ series: M.value,
225
+ unstyled: D.unstyled
207
226
  }, null, 8, ["series", "unstyled"])) : p("", !0),
208
- h("div", { class: v(A.value ? void 0 : Q.value.plot()) }, [(x(), m("svg", {
209
- width: E(M),
210
- height: k.height,
211
- viewBox: `0 0 ${E(M)} ${k.height}`,
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
- k.axis ? (x(!0), m(d, { key: 0 }, C(L.value.ticks, (e) => (x(), m("g", { key: `tick-${e}` }, [h("line", {
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, O), h("text", {
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(N(e)), 11, re)]))), 128)) : p("", !0),
247
+ }, T(j(e)), 11, ae)]))), 128)) : p("", !0),
229
248
  w(e.$slots, "underlay", y(_(L.value))),
230
- B.value ? (x(), m("defs", ie, [h("linearGradient", {
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(be.value)
250
- }, null, 12, ae)])])) : p("", !0),
269
+ style: b(we.value)
270
+ }, null, 12, oe)])]),
251
271
  Y.value == null ? p("", !0) : (x(), m("line", {
252
- key: 2,
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, oe)),
260
- h("g", { "clip-path": `url(#${K})` }, [(x(!0), m(d, null, C(B.value ? z.value[0].runs : [], (e, t) => (x(), m("path", {
261
- key: `area-${t}`,
262
- d: ve(e),
263
- fill: `url(#${G})`,
264
- style: b({ color: z.value[0].color }),
265
- class: v($("area"))
266
- }, null, 14, ce))), 128)), (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", {
267
- key: `line-${e.seriesIndex}-${n}`,
268
- d: W(t),
269
- style: b({ stroke: e.color }),
270
- class: v($("line"))
271
- }, null, 14, le))), 128))], 64))), 128))], 8, se),
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, ue), h("circle", {
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, de)], 64))), 128)),
284
- (x(!0), m(d, null, C(k.data, (e, t) => (x(), m(d, { key: `label-${e.label}-${t}` }, [t % L.value.labelStep === 0 ? (x(), m("text", {
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, fe)) : p("", !0)], 64))), 128)),
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(k.data, (e, n) => (x(), m("rect", {
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(A.value ? void 0 : Q.value.hit()),
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, pe))), 128))
302
- ], 10, ne)), X.value ? (x(), m("div", {
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(k.label), 1),
326
- h("thead", null, [h("tr", null, [t[2] ||= h("th", { scope: "col" }, " Category ", -1), (x(!0), m(d, null, C(P.value, (e) => (x(), m("th", {
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(k.data, (e, t) => (x(), m("tr", { key: `row-${e.label}-${t}` }, [h("th", me, T(e.label), 1), (x(!0), m(d, null, C(P.value, (t) => (x(), m("td", { key: t.key }, T(I(e, t.key) == null ? "—" : N(I(e, t.key))), 1))), 128))]))), 128))])
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, te));
361
+ ], 10, ne));
333
362
  }
334
363
  });
335
364
  //#endregion
336
- export { k as default };
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';
@@ -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 "./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";
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 ke = /* @__PURE__ */ e({
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
- Container: () => A,
112
- ContextMenu: () => j,
113
- DateField: () => M,
114
- DatePicker: () => N,
115
- DateRangePicker: () => P,
116
- DescriptionList: () => F,
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: () => I,
120
+ DonutChart: () => R,
119
121
  Drawer: () => a,
120
- DropdownMenu: () => L,
121
- Editable: () => R,
122
- EmptyState: () => z,
123
- FileUpload: () => B,
124
- Form: () => V,
125
- FormField: () => U,
126
- HoverCard: () => W,
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: () => G,
130
+ Input: () => q,
129
131
  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
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 { ke as components_exports };
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 { 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 };
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>;
@@ -0,0 +1,8 @@
1
+ import { tv as e } from "tailwind-variants";
2
+ //#region src/theme/confirm-popover.ts
3
+ var t = e({ slots: {
4
+ description: "text-sm text-muted-foreground",
5
+ actions: "mt-3 flex justify-end gap-2"
6
+ } });
7
+ //#endregion
8
+ export { t as confirmPopoverTheme };
@@ -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 bg-current/10 text-center font-medium text-current/75",
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;
@@ -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",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "iryx-ui",
3
3
  "type": "module",
4
- "version": "0.23.0",
4
+ "version": "0.24.0",
5
5
  "description": "A Vue 3 component library built on Reka UI and Tailwind CSS v4.",
6
6
  "author": "therok1",
7
7
  "license": "MIT",