iryx-ui 0.15.0 → 0.17.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/README.md +3 -1
- package/dist/component-names.d.ts +1 -1
- package/dist/component-names.js +1 -1
- package/dist/components/BarChart.vue.d.ts +8 -0
- package/dist/components/BarChart.vue_vue_type_script_setup_true_lang.js +169 -151
- package/dist/components/Calendar.js +5 -0
- package/dist/components/Calendar.vue.d.ts +69 -0
- package/dist/components/Calendar.vue_vue_type_script_setup_true_lang.js +168 -0
- package/dist/components/Combobox.vue.d.ts +9 -9
- package/dist/components/Combobox.vue_vue_type_script_setup_true_lang.js +180 -144
- package/dist/components/DateField.js +5 -0
- package/dist/components/DateField.vue.d.ts +38 -0
- package/dist/components/DateField.vue_vue_type_script_setup_true_lang.js +94 -0
- package/dist/components/DatePicker.vue.d.ts +7 -2
- package/dist/components/DatePicker.vue_vue_type_script_setup_true_lang.js +73 -124
- package/dist/components/DateRangePicker.vue.d.ts +2 -2
- package/dist/components/DateRangePicker.vue_vue_type_script_setup_true_lang.js +81 -78
- package/dist/components/DonutChart.js +5 -0
- package/dist/components/DonutChart.vue.d.ts +96 -0
- package/dist/components/DonutChart.vue_vue_type_script_setup_true_lang.js +234 -0
- package/dist/components/DropdownMenu.vue.d.ts +13 -6
- package/dist/components/DropdownMenu.vue_vue_type_script_setup_true_lang.js +28 -22
- package/dist/components/Editable.js +5 -0
- package/dist/components/Editable.vue.d.ts +81 -0
- package/dist/components/Editable.vue_vue_type_script_setup_true_lang.js +140 -0
- package/dist/components/HoverCard.js +5 -0
- package/dist/components/HoverCard.vue.d.ts +68 -0
- package/dist/components/HoverCard.vue_vue_type_script_setup_true_lang.js +79 -0
- package/dist/components/LineChart.vue.d.ts +8 -0
- package/dist/components/LineChart.vue_vue_type_script_setup_true_lang.js +160 -141
- package/dist/components/Sparkline.vue.d.ts +9 -0
- package/dist/components/Sparkline.vue_vue_type_script_setup_true_lang.js +90 -53
- package/dist/components/TagsInput.vue.d.ts +2 -2
- package/dist/components/TimeField.vue_vue_type_script_setup_true_lang.js +17 -14
- package/dist/components/index.d.ts +5 -0
- package/dist/components/index.js +124 -114
- package/dist/composables/cartesian.d.ts +10 -2
- package/dist/composables/chart-reveal.d.ts +45 -0
- package/dist/composables/chart-reveal.js +93 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +142 -131
- package/dist/theme/accordion.d.ts +0 -15
- package/dist/theme/alert.d.ts +0 -3
- package/dist/theme/avatar.d.ts +0 -3
- package/dist/theme/banner.d.ts +0 -6
- package/dist/theme/bar-chart.d.ts +0 -18
- package/dist/theme/breadcrumb.d.ts +0 -3
- package/dist/theme/calendar.d.ts +62 -0
- package/dist/theme/calendar.js +29 -0
- package/dist/theme/card.d.ts +0 -6
- package/dist/theme/chart-legend.d.ts +0 -3
- package/dist/theme/checkbox.d.ts +0 -6
- package/dist/theme/color-picker.d.ts +0 -6
- package/dist/theme/combobox.js +4 -4
- package/dist/theme/command-palette.d.ts +0 -6
- package/dist/theme/container.d.ts +0 -3
- package/dist/theme/container.js +3 -3
- package/dist/theme/date-field.d.ts +65 -0
- package/dist/theme/date-field.js +21 -0
- package/dist/theme/date-picker.d.ts +0 -195
- package/dist/theme/date-picker.js +2 -24
- package/dist/theme/donut-chart.d.ts +86 -0
- package/dist/theme/donut-chart.js +17 -0
- package/dist/theme/dropdown-menu.d.ts +3 -0
- package/dist/theme/dropdown-menu.js +1 -0
- package/dist/theme/editable.d.ts +77 -0
- package/dist/theme/editable.js +26 -0
- package/dist/theme/empty-state.d.ts +0 -3
- package/dist/theme/file-upload.d.ts +0 -39
- package/dist/theme/hover-card.d.ts +92 -0
- package/dist/theme/hover-card.js +28 -0
- package/dist/theme/index.d.ts +5 -0
- package/dist/theme/input.d.ts +0 -18
- package/dist/theme/kbd.d.ts +0 -3
- package/dist/theme/line-chart.d.ts +0 -18
- package/dist/theme/navigation-menu.d.ts +0 -48
- package/dist/theme/number-input.d.ts +0 -3
- package/dist/theme/page-header.d.ts +0 -3
- package/dist/theme/password-input.d.ts +0 -23
- package/dist/theme/pin-input.d.ts +0 -3
- package/dist/theme/popover.d.ts +0 -6
- package/dist/theme/progress.d.ts +0 -51
- package/dist/theme/scroll-area.d.ts +0 -3
- package/dist/theme/separator.d.ts +0 -3
- package/dist/theme/sidebar.d.ts +0 -54
- package/dist/theme/skeleton.d.ts +0 -3
- package/dist/theme/skeleton.js +1 -1
- package/dist/theme/slider.d.ts +0 -6
- package/dist/theme/sparkline.d.ts +0 -11
- package/dist/theme/sparkline.js +1 -1
- package/dist/theme/splitter.d.ts +0 -3
- package/dist/theme/stat.d.ts +0 -12
- package/dist/theme/stat.js +2 -2
- package/dist/theme/switch.d.ts +0 -6
- package/dist/theme/table.d.ts +0 -39
- package/dist/theme/tabs.d.ts +0 -12
- package/dist/theme/time-field.d.ts +0 -3
- package/dist/theme/timeline.d.ts +0 -18
- package/dist/theme/toast.d.ts +0 -3
- package/dist/theme/toggle.d.ts +0 -23
- package/dist/theme/tree.d.ts +0 -3
- package/package.json +1 -1
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { computed as e, onBeforeUnmount as t, ref as n, watch as r } from "vue";
|
|
2
|
+
//#region src/composables/chart-reveal.ts
|
|
3
|
+
var i = 700, a = {
|
|
4
|
+
"ease-out": [
|
|
5
|
+
.16,
|
|
6
|
+
1,
|
|
7
|
+
.3,
|
|
8
|
+
1
|
|
9
|
+
],
|
|
10
|
+
"ease-in": [
|
|
11
|
+
.7,
|
|
12
|
+
0,
|
|
13
|
+
.84,
|
|
14
|
+
0
|
|
15
|
+
],
|
|
16
|
+
"ease-in-out": [
|
|
17
|
+
.65,
|
|
18
|
+
0,
|
|
19
|
+
.35,
|
|
20
|
+
1
|
|
21
|
+
],
|
|
22
|
+
linear: [
|
|
23
|
+
0,
|
|
24
|
+
0,
|
|
25
|
+
1,
|
|
26
|
+
1
|
|
27
|
+
]
|
|
28
|
+
};
|
|
29
|
+
function o([e, t, n, r]) {
|
|
30
|
+
let i = (e, t, n) => {
|
|
31
|
+
let r = 1 - n;
|
|
32
|
+
return 3 * r * r * n * e + 3 * r * n * n * t + n * n * n;
|
|
33
|
+
};
|
|
34
|
+
return (a) => {
|
|
35
|
+
if (a <= 0) return 0;
|
|
36
|
+
if (a >= 1) return 1;
|
|
37
|
+
let o = 0, s = 1, c = a;
|
|
38
|
+
for (let t = 0; t < 20; t++) i(e, n, c) < a ? o = c : s = c, c = (o + s) / 2;
|
|
39
|
+
return i(t, r, c);
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function s(t) {
|
|
43
|
+
return e(() => {
|
|
44
|
+
let e = t.value ?? !0, n = typeof e == "object" ? e : {}, r = a[n.easing ?? "ease-out"] ?? a["ease-out"];
|
|
45
|
+
return {
|
|
46
|
+
enabled: e !== !1,
|
|
47
|
+
duration: Math.max(n.duration ?? 700, 0),
|
|
48
|
+
css: `cubic-bezier(${r.join(", ")})`,
|
|
49
|
+
ease: o(r)
|
|
50
|
+
};
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
function c() {
|
|
54
|
+
return typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
55
|
+
}
|
|
56
|
+
function l(e) {
|
|
57
|
+
return e.enabled && e.duration > 0 && typeof requestAnimationFrame < "u" && !c();
|
|
58
|
+
}
|
|
59
|
+
function u(e, t) {
|
|
60
|
+
let i = n(!1), a = !1;
|
|
61
|
+
return r(e, (e) => {
|
|
62
|
+
if (!(!e || a)) {
|
|
63
|
+
if (a = !0, !l(t.value)) {
|
|
64
|
+
i.value = !0;
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
requestAnimationFrame(() => requestAnimationFrame(() => {
|
|
68
|
+
i.value = !0;
|
|
69
|
+
}));
|
|
70
|
+
}
|
|
71
|
+
}, { immediate: !0 }), { revealed: i };
|
|
72
|
+
}
|
|
73
|
+
function d(e, i) {
|
|
74
|
+
let a = n(0), o = !1, s;
|
|
75
|
+
return r(e, (e) => {
|
|
76
|
+
if (!e || o) return;
|
|
77
|
+
if (o = !0, !l(i.value)) {
|
|
78
|
+
a.value = 1;
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
let { duration: t, ease: n } = i.value, r;
|
|
82
|
+
function c(e) {
|
|
83
|
+
r ??= e;
|
|
84
|
+
let i = Math.min((e - r) / t, 1);
|
|
85
|
+
a.value = n(i), i < 1 && (s = requestAnimationFrame(c));
|
|
86
|
+
}
|
|
87
|
+
s = requestAnimationFrame(c);
|
|
88
|
+
}, { immediate: !0 }), t(() => {
|
|
89
|
+
s != null && cancelAnimationFrame(s);
|
|
90
|
+
}), { progress: a };
|
|
91
|
+
}
|
|
92
|
+
//#endregion
|
|
93
|
+
export { i as REVEAL_DURATION, s as useChartAnimation, d as useChartProgress, u as useChartReveal };
|
package/dist/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export type { BarChartDatum, BarChartProps } from './components/BarChart.vue';
|
|
|
14
14
|
export type { BreadcrumbItem, BreadcrumbProps } from './components/Breadcrumb.vue';
|
|
15
15
|
export type { ButtonProps } from './components/Button.vue';
|
|
16
16
|
export type { ButtonGroupProps } from './components/ButtonGroup.vue';
|
|
17
|
+
export type { CalendarProps } from './components/Calendar.vue';
|
|
17
18
|
export type { CardProps } from './components/Card.vue';
|
|
18
19
|
export type { ChartLegendProps } from './components/ChartLegend.vue';
|
|
19
20
|
export type { CheckboxProps } from './components/Checkbox.vue';
|
|
@@ -24,15 +25,19 @@ export type { CommandPaletteProps } from './components/CommandPalette.vue';
|
|
|
24
25
|
export type { ConfirmDialogProps } from './components/ConfirmDialog.vue';
|
|
25
26
|
export type { ContainerProps } from './components/Container.vue';
|
|
26
27
|
export type { ContextMenuProps } from './components/ContextMenu.vue';
|
|
28
|
+
export type { DateFieldProps } from './components/DateField.vue';
|
|
27
29
|
export type { DatePickerProps } from './components/DatePicker.vue';
|
|
28
30
|
export type { DateRange, DateRangePickerProps } from './components/DateRangePicker.vue';
|
|
29
31
|
export type { DialogProps } from './components/Dialog.vue';
|
|
32
|
+
export type { DonutChartDatum, DonutChartProps } from './components/DonutChart.vue';
|
|
30
33
|
export type { DrawerProps, DrawerSide, DrawerSnapPoint } from './components/Drawer.vue';
|
|
31
34
|
export type { DropdownMenuProps } from './components/DropdownMenu.vue';
|
|
35
|
+
export type { EditableProps } from './components/Editable.vue';
|
|
32
36
|
export type { EmptyStateProps } from './components/EmptyState.vue';
|
|
33
37
|
export type { FileRejection, FileUploadProps } from './components/FileUpload.vue';
|
|
34
38
|
export type { FormProps } from './components/Form.vue';
|
|
35
39
|
export type { FormFieldProps } from './components/FormField.vue';
|
|
40
|
+
export type { HoverCardProps } from './components/HoverCard.vue';
|
|
36
41
|
export type { IconProps } from './components/Icon.vue';
|
|
37
42
|
export type { InputProps } from './components/Input.vue';
|
|
38
43
|
export type { KbdProps } from './components/Kbd.vue';
|
|
@@ -76,6 +81,7 @@ export type { TreeItemOption, TreeProps } from './components/Tree.vue';
|
|
|
76
81
|
export * from './composables/appearance';
|
|
77
82
|
export * from './composables/button-group';
|
|
78
83
|
export * from './composables/cartesian';
|
|
84
|
+
export * from './composables/chart-reveal';
|
|
79
85
|
export * from './composables/command-palette';
|
|
80
86
|
export * from './composables/confirm';
|
|
81
87
|
export * from './composables/data-table';
|
package/dist/index.js
CHANGED
|
@@ -24,134 +24,145 @@ import { bannerTheme as O } from "./theme/banner.js";
|
|
|
24
24
|
import k from "./components/Banner.js";
|
|
25
25
|
import { extent as A, finiteValues as j, linearScale as M, niceTicks as N } from "./composables/scale.js";
|
|
26
26
|
import { AXIS_GAP as P, CATEGORY_HEIGHT as F, CHAR_WIDTH as I, SERIES_SLOTS as L, TOP_PAD as R, cartesianLayout as z, clampTooltip as B, seriesColor as V, slotOf as H, tooltipHalfWidth as U, warnOnSlotOverflow as W } from "./composables/cartesian.js";
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import {
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
import {
|
|
41
|
-
import
|
|
42
|
-
import {
|
|
43
|
-
import
|
|
44
|
-
import {
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import
|
|
48
|
-
import {
|
|
49
|
-
import
|
|
50
|
-
import
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import
|
|
54
|
-
import
|
|
55
|
-
import
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import
|
|
59
|
-
import
|
|
60
|
-
import {
|
|
61
|
-
import
|
|
62
|
-
import
|
|
63
|
-
import
|
|
64
|
-
import
|
|
65
|
-
import
|
|
66
|
-
import {
|
|
67
|
-
import
|
|
68
|
-
import
|
|
69
|
-
import
|
|
70
|
-
import
|
|
71
|
-
import
|
|
72
|
-
import
|
|
73
|
-
import
|
|
74
|
-
import
|
|
75
|
-
import
|
|
76
|
-
import
|
|
77
|
-
import
|
|
78
|
-
import
|
|
79
|
-
import {
|
|
80
|
-
import
|
|
81
|
-
import {
|
|
82
|
-
import
|
|
83
|
-
import
|
|
84
|
-
import {
|
|
85
|
-
import
|
|
86
|
-
import
|
|
87
|
-
import {
|
|
88
|
-
import
|
|
89
|
-
import
|
|
90
|
-
import
|
|
91
|
-
import
|
|
92
|
-
import
|
|
93
|
-
import
|
|
94
|
-
import
|
|
95
|
-
import {
|
|
96
|
-
import
|
|
97
|
-
import {
|
|
98
|
-
import
|
|
99
|
-
import
|
|
100
|
-
import
|
|
101
|
-
import
|
|
102
|
-
import
|
|
103
|
-
import
|
|
104
|
-
import
|
|
105
|
-
import
|
|
106
|
-
import {
|
|
107
|
-
import
|
|
108
|
-
import {
|
|
109
|
-
import
|
|
110
|
-
import {
|
|
111
|
-
import
|
|
112
|
-
import {
|
|
113
|
-
import
|
|
114
|
-
import cn from "./
|
|
115
|
-
import
|
|
116
|
-
import {
|
|
117
|
-
import fn from "./
|
|
118
|
-
import
|
|
119
|
-
import mn from "./
|
|
120
|
-
import
|
|
121
|
-
import gn from "./
|
|
122
|
-
import
|
|
123
|
-
import vn from "./
|
|
124
|
-
import {
|
|
125
|
-
import
|
|
126
|
-
import {
|
|
127
|
-
import
|
|
128
|
-
import
|
|
129
|
-
import
|
|
130
|
-
import
|
|
131
|
-
import
|
|
132
|
-
import
|
|
133
|
-
import {
|
|
134
|
-
import
|
|
135
|
-
import {
|
|
136
|
-
import
|
|
137
|
-
import {
|
|
138
|
-
import
|
|
139
|
-
import
|
|
140
|
-
import
|
|
141
|
-
import
|
|
142
|
-
import
|
|
143
|
-
import
|
|
144
|
-
import {
|
|
145
|
-
import
|
|
146
|
-
import
|
|
147
|
-
import
|
|
148
|
-
import
|
|
149
|
-
import
|
|
150
|
-
import
|
|
151
|
-
import
|
|
152
|
-
import
|
|
153
|
-
import
|
|
154
|
-
import
|
|
155
|
-
import
|
|
156
|
-
import {
|
|
157
|
-
|
|
27
|
+
import { REVEAL_DURATION as G, useChartAnimation as K, useChartProgress as q, useChartReveal as J } from "./composables/chart-reveal.js";
|
|
28
|
+
import { barChartTheme as Y } from "./theme/bar-chart.js";
|
|
29
|
+
import { chartLegendTheme as X } from "./theme/chart-legend.js";
|
|
30
|
+
import Z from "./components/ChartLegend.js";
|
|
31
|
+
import Q from "./components/BarChart.js";
|
|
32
|
+
import { breadcrumbTheme as $ } from "./theme/breadcrumb.js";
|
|
33
|
+
import ee from "./components/Breadcrumb.js";
|
|
34
|
+
import { buttonGroupContextKey as te, useButtonGroup as ne } from "./composables/button-group.js";
|
|
35
|
+
import { buttonTheme as re } from "./theme/button.js";
|
|
36
|
+
import ie from "./components/Button.js";
|
|
37
|
+
import { buttonGroupTheme as ae } from "./theme/button-group.js";
|
|
38
|
+
import oe from "./components/ButtonGroup.js";
|
|
39
|
+
import { CalendarDate as se, Time as ce, formatIsoDate as le, isoToday as ue, toCalendarDate as de, toIsoDate as fe, toIsoTime as pe, toTime as me } from "./composables/date.js";
|
|
40
|
+
import { calendarTheme as he } from "./theme/calendar.js";
|
|
41
|
+
import ge from "./components/Calendar.js";
|
|
42
|
+
import { cardTheme as _e } from "./theme/card.js";
|
|
43
|
+
import ve from "./components/Card.js";
|
|
44
|
+
import { checkboxTheme as ye } from "./theme/checkbox.js";
|
|
45
|
+
import be from "./components/Checkbox.js";
|
|
46
|
+
import { collapsibleTheme as xe } from "./theme/collapsible.js";
|
|
47
|
+
import Se from "./components/Collapsible.js";
|
|
48
|
+
import { fieldBase as Ce, inputTheme as we, textareaTheme as Te } from "./theme/input.js";
|
|
49
|
+
import { colorPickerTheme as Ee } from "./theme/color-picker.js";
|
|
50
|
+
import De from "./components/ColorPicker.js";
|
|
51
|
+
import { formContextKey as Oe, formFieldContextKey as ke, getByPath as Ae, isStandardSchema as je, issuePath as Me, useForm as Ne, useFormField as Pe } from "./composables/form.js";
|
|
52
|
+
import { comboboxTheme as Fe } from "./theme/combobox.js";
|
|
53
|
+
import Ie from "./components/Combobox.js";
|
|
54
|
+
import { isApplePlatform as Le, parseHotkey as Re, useApplePlatform as ze } from "./composables/kbd.js";
|
|
55
|
+
import { commandHaystack as Be, isCommandGroup as Ve, matchesHotkey as He, toCommandGroups as Ue } from "./composables/command-palette.js";
|
|
56
|
+
import { commandPaletteTheme as We } from "./theme/command-palette.js";
|
|
57
|
+
import { kbdTheme as Ge } from "./theme/kbd.js";
|
|
58
|
+
import Ke from "./components/Kbd.js";
|
|
59
|
+
import qe from "./components/CommandPalette.js";
|
|
60
|
+
import { resolveConfirm as Je, useConfirm as Ye, useConfirmState as Xe } from "./composables/confirm.js";
|
|
61
|
+
import { dialogTheme as Ze } from "./theme/dialog.js";
|
|
62
|
+
import Qe from "./components/Dialog.js";
|
|
63
|
+
import $e from "./components/ConfirmDialog.js";
|
|
64
|
+
import { containerTheme as et } from "./theme/container.js";
|
|
65
|
+
import tt from "./components/Container.js";
|
|
66
|
+
import { dropdownMenuTheme as nt } from "./theme/dropdown-menu.js";
|
|
67
|
+
import { isSeparator as rt, isSubmenu as it } from "./composables/dropdown-menu.js";
|
|
68
|
+
import at from "./components/ContextMenu.js";
|
|
69
|
+
import { dateFieldTheme as ot } from "./theme/date-field.js";
|
|
70
|
+
import st from "./components/DateField.js";
|
|
71
|
+
import { datePickerTheme as ct } from "./theme/date-picker.js";
|
|
72
|
+
import lt from "./components/DatePicker.js";
|
|
73
|
+
import ut from "./components/DateRangePicker.js";
|
|
74
|
+
import { donutChartTheme as dt } from "./theme/donut-chart.js";
|
|
75
|
+
import ft from "./components/DonutChart.js";
|
|
76
|
+
import pt from "./components/DropdownMenu.js";
|
|
77
|
+
import { editableTheme as mt } from "./theme/editable.js";
|
|
78
|
+
import ht from "./components/Editable.js";
|
|
79
|
+
import { emptyStateTheme as gt } from "./theme/empty-state.js";
|
|
80
|
+
import _t from "./components/EmptyState.js";
|
|
81
|
+
import { fileUploadTheme as vt } from "./theme/file-upload.js";
|
|
82
|
+
import yt from "./components/FileUpload.js";
|
|
83
|
+
import bt from "./components/Form.js";
|
|
84
|
+
import { labelTheme as xt } from "./theme/label.js";
|
|
85
|
+
import St from "./components/Label.js";
|
|
86
|
+
import Ct from "./components/FormField.js";
|
|
87
|
+
import { hoverCardTheme as wt } from "./theme/hover-card.js";
|
|
88
|
+
import Tt from "./components/HoverCard.js";
|
|
89
|
+
import Et from "./components/Input.js";
|
|
90
|
+
import { lineChartTheme as Dt } from "./theme/line-chart.js";
|
|
91
|
+
import Ot from "./components/LineChart.js";
|
|
92
|
+
import { menubarTheme as kt } from "./theme/menubar.js";
|
|
93
|
+
import At from "./components/Menubar.js";
|
|
94
|
+
import { isNavigationGroup as jt } from "./composables/navigation-menu.js";
|
|
95
|
+
import { navigationMenuTheme as Mt } from "./theme/navigation-menu.js";
|
|
96
|
+
import Nt from "./components/NavigationMenu.js";
|
|
97
|
+
import { addDecimals as Pt, clampDecimal as Ft, compareDecimals as It, formatDecimal as Lt, formatForLocale as Rt, isDecimal as zt, localeSeparators as Bt, parseDecimal as Vt, parseFromLocale as Ht, roundDecimal as Ut, toEditable as Wt } from "./composables/decimal.js";
|
|
98
|
+
import { numberInputTheme as Gt } from "./theme/number-input.js";
|
|
99
|
+
import Kt from "./components/NumberInput.js";
|
|
100
|
+
import { pageHeaderTheme as qt } from "./theme/page-header.js";
|
|
101
|
+
import Jt from "./components/PageHeader.js";
|
|
102
|
+
import { paginationTheme as Yt } from "./theme/pagination.js";
|
|
103
|
+
import Xt from "./components/Pagination.js";
|
|
104
|
+
import { passwordInputTheme as Zt } from "./theme/password-input.js";
|
|
105
|
+
import Qt from "./components/PasswordInput.js";
|
|
106
|
+
import { pinInputTheme as $t } from "./theme/pin-input.js";
|
|
107
|
+
import en from "./components/PinInput.js";
|
|
108
|
+
import { popoverTheme as tn } from "./theme/popover.js";
|
|
109
|
+
import nn from "./components/Popover.js";
|
|
110
|
+
import { progressTheme as rn } from "./theme/progress.js";
|
|
111
|
+
import an from "./components/Progress.js";
|
|
112
|
+
import { radioGroupTheme as on } from "./theme/radio-group.js";
|
|
113
|
+
import sn from "./components/RadioGroup.js";
|
|
114
|
+
import { scrollAreaTheme as cn } from "./theme/scroll-area.js";
|
|
115
|
+
import ln from "./components/ScrollArea.js";
|
|
116
|
+
import { scrollFadeMask as un, useScrollEdges as dn } from "./composables/scroll-fade.js";
|
|
117
|
+
import { scrollFadeTheme as fn } from "./theme/scroll-fade.js";
|
|
118
|
+
import pn from "./components/ScrollFade.js";
|
|
119
|
+
import { selectTheme as mn } from "./theme/select.js";
|
|
120
|
+
import hn from "./components/Select.js";
|
|
121
|
+
import { separatorTheme as gn } from "./theme/separator.js";
|
|
122
|
+
import _n from "./components/Separator.js";
|
|
123
|
+
import { isSidebarGroup as vn, isSidebarSection as yn, toSidebarSections as bn } from "./composables/sidebar.js";
|
|
124
|
+
import { sidebarTheme as xn } from "./theme/sidebar.js";
|
|
125
|
+
import Sn from "./components/Sidebar.js";
|
|
126
|
+
import { hasInk as Cn, strokeWidth as wn } from "./composables/signature.js";
|
|
127
|
+
import { signaturePadTheme as Tn } from "./theme/signature-pad.js";
|
|
128
|
+
import En from "./components/SignaturePad.js";
|
|
129
|
+
import { skeletonTheme as Dn } from "./theme/skeleton.js";
|
|
130
|
+
import On from "./components/Skeleton.js";
|
|
131
|
+
import { sliderTheme as kn } from "./theme/slider.js";
|
|
132
|
+
import An from "./components/Slider.js";
|
|
133
|
+
import { sparklineTheme as jn } from "./theme/sparkline.js";
|
|
134
|
+
import Mn from "./components/Sparkline.js";
|
|
135
|
+
import { splitterTheme as Nn } from "./theme/splitter.js";
|
|
136
|
+
import Pn from "./components/Splitter.js";
|
|
137
|
+
import { statTheme as Fn } from "./theme/stat.js";
|
|
138
|
+
import In from "./components/Stat.js";
|
|
139
|
+
import { stepperTheme as Ln } from "./theme/stepper.js";
|
|
140
|
+
import Rn from "./components/Stepper.js";
|
|
141
|
+
import { switchTheme as zn } from "./theme/switch.js";
|
|
142
|
+
import Bn from "./components/Switch.js";
|
|
143
|
+
import { getRowValue as Vn, useDataTable as Hn } from "./composables/data-table.js";
|
|
144
|
+
import { tableTheme as Un } from "./theme/table.js";
|
|
145
|
+
import Wn from "./components/Table.js";
|
|
146
|
+
import { tabsTheme as Gn } from "./theme/tabs.js";
|
|
147
|
+
import Kn from "./components/Tabs.js";
|
|
148
|
+
import { tagsInputTheme as qn } from "./theme/tags-input.js";
|
|
149
|
+
import Jn from "./components/TagsInput.js";
|
|
150
|
+
import Yn from "./components/Textarea.js";
|
|
151
|
+
import { timeFieldTheme as Xn } from "./theme/time-field.js";
|
|
152
|
+
import Zn from "./components/TimeField.js";
|
|
153
|
+
import { timelineTheme as Qn } from "./theme/timeline.js";
|
|
154
|
+
import $n from "./components/Timeline.js";
|
|
155
|
+
import { useToast as er, useToastState as tr } from "./composables/toast.js";
|
|
156
|
+
import { toastTheme as nr } from "./theme/toast.js";
|
|
157
|
+
import rr from "./components/Toaster.js";
|
|
158
|
+
import { toggleGroupTheme as ir, toggleTheme as ar } from "./theme/toggle.js";
|
|
159
|
+
import or from "./components/Toggle.js";
|
|
160
|
+
import sr from "./components/ToggleGroup.js";
|
|
161
|
+
import { toolbarTheme as cr } from "./theme/toolbar.js";
|
|
162
|
+
import lr from "./components/Toolbar.js";
|
|
163
|
+
import { tooltipTheme as ur } from "./theme/tooltip.js";
|
|
164
|
+
import dr from "./components/Tooltip.js";
|
|
165
|
+
import { treeTheme as fr } from "./theme/tree.js";
|
|
166
|
+
import pr from "./components/Tree.js";
|
|
167
|
+
import { IryxUi as mr, createIryxUi as hr } from "./plugin.js";
|
|
168
|
+
export { P as AXIS_GAP, s as Accordion, l as Alert, h as App, b as AppShell, x as AspectRatio, w as Avatar, T as AvatarGroup, D as Badge, k as Banner, Q as BarChart, ee as Breadcrumb, ie as Button, oe as ButtonGroup, F as CATEGORY_HEIGHT, I as CHAR_WIDTH, ge as Calendar, se as CalendarDate, ve as Card, Z as ChartLegend, be as Checkbox, Se as Collapsible, De as ColorPicker, Ie as Combobox, qe as CommandPalette, $e as ConfirmDialog, tt as Container, at as ContextMenu, st as DateField, lt as DatePicker, ut as DateRangePicker, Qe as Dialog, ft as DonutChart, y as Drawer, pt as DropdownMenu, ht as Editable, _t as EmptyState, yt as FileUpload, bt as Form, Ct as FormField, Tt as HoverCard, o as Icon, Et as Input, mr as IryxUi, Ke as Kbd, St as Label, Ot as LineChart, At as Menubar, Nt as NavigationMenu, Kt as NumberInput, Jt as PageHeader, Xt as Pagination, Qt as PasswordInput, en as PinInput, nn as Popover, an as Progress, G as REVEAL_DURATION, sn as RadioGroup, L as SERIES_SLOTS, ln as ScrollArea, pn as ScrollFade, hn as Select, _n as Separator, Sn as Sidebar, En as SignaturePad, On as Skeleton, An as Slider, Mn as Sparkline, Pn as Splitter, In as Stat, Rn as Stepper, Bn as Switch, R as TOP_PAD, Wn as Table, Kn as Tabs, Jn as TagsInput, Yn as Textarea, ce as Time, Zn as TimeField, $n as Timeline, rr as Toaster, or as Toggle, sr as ToggleGroup, lr as Toolbar, dr as Tooltip, pr as Tree, i as accordionTheme, Pt as addDecimals, c as alertTheme, _ as appShellTheme, f as applyTheme, S as avatarGroupTheme, C as avatarTheme, E as badgeTheme, O as bannerTheme, Y as barChartTheme, $ as breadcrumbTheme, te as buttonGroupContextKey, ae as buttonGroupTheme, re as buttonTheme, he as calendarTheme, _e as cardTheme, z as cartesianLayout, X as chartLegendTheme, ye as checkboxTheme, Ft as clampDecimal, B as clampTooltip, p as clearTheme, xe as collapsibleTheme, Ee as colorPickerTheme, Fe as comboboxTheme, Be as commandHaystack, We as commandPaletteTheme, It as compareDecimals, e as componentNames, et as containerTheme, hr as createIryxUi, ot as dateFieldTheme, ct as datePickerTheme, t as defaultConfig, Ze as dialogTheme, dt as donutChartTheme, v as drawerTheme, nt as dropdownMenuTheme, mt as editableTheme, gt as emptyStateTheme, A as extent, Ce as fieldBase, vt as fileUploadTheme, j as finiteValues, Oe as formContextKey, ke as formFieldContextKey, Lt as formatDecimal, Rt as formatForLocale, le as formatIsoDate, Ae as getByPath, Vn as getRowValue, Cn as hasInk, wt as hoverCardTheme, u as initAppearance, we as inputTheme, n as iryxUiConfigKey, Le as isApplePlatform, Ve as isCommandGroup, zt as isDecimal, a as isIconArray, jt as isNavigationGroup, rt as isSeparator, vn as isSidebarGroup, yn as isSidebarSection, je as isStandardSchema, it as isSubmenu, ue as isoToday, Me as issuePath, Ge as kbdTheme, xt as labelTheme, Dt as lineChartTheme, M as linearScale, Bt as localeSeparators, He as matchesHotkey, kt as menubarTheme, Mt as navigationMenuTheme, N as niceTicks, Gt as numberInputTheme, qt as pageHeaderTheme, Yt as paginationTheme, Vt as parseDecimal, Ht as parseFromLocale, Re as parseHotkey, Zt as passwordInputTheme, $t as pinInputTheme, tn as popoverTheme, rn as progressTheme, on as radioGroupTheme, Je as resolveConfirm, Ut as roundDecimal, cn as scrollAreaTheme, un as scrollFadeMask, fn as scrollFadeTheme, mn as selectTheme, gn as separatorTheme, V as seriesColor, xn as sidebarTheme, Tn as signaturePadTheme, Dn as skeletonTheme, kn as sliderTheme, H as slotOf, jn as sparklineTheme, Nn as splitterTheme, Fn as statTheme, Ln as stepperTheme, wn as strokeWidth, zn as switchTheme, Un as tableTheme, Gn as tabsTheme, qn as tagsInputTheme, Te as textareaTheme, m as themes, Xn as timeFieldTheme, Qn as timelineTheme, de as toCalendarDate, Ue as toCommandGroups, Wt as toEditable, fe as toIsoDate, pe as toIsoTime, bn as toSidebarSections, me as toTime, nr as toastTheme, ir as toggleGroupTheme, ar as toggleTheme, cr as toolbarTheme, U as tooltipHalfWidth, ur as tooltipTheme, fr as treeTheme, d as useAppearance, ze as useApplePlatform, ne as useButtonGroup, K as useChartAnimation, q as useChartProgress, J as useChartReveal, Ye as useConfirm, Xe as useConfirmState, Hn as useDataTable, g as useElementSize, Ne as useForm, Pe as useFormField, r as useIryxUiConfig, dn as useScrollEdges, er as useToast, tr as useToastState, W as warnOnSlotOverflow };
|
|
@@ -13,11 +13,6 @@ export declare const accordionTheme: import("tailwind-variants").TVReturnType<{
|
|
|
13
13
|
header: string;
|
|
14
14
|
trigger: string;
|
|
15
15
|
icon: string;
|
|
16
|
-
/**
|
|
17
|
-
* The animated element carries no spacing of its own — margin is not part
|
|
18
|
-
* of an animated height, so it survives the close as a gap under a panel
|
|
19
|
-
* that is supposedly shut. All padding lives on the inner wrapper.
|
|
20
|
-
*/
|
|
21
16
|
content: string;
|
|
22
17
|
contentInner: string;
|
|
23
18
|
}, undefined, {
|
|
@@ -35,11 +30,6 @@ export declare const accordionTheme: import("tailwind-variants").TVReturnType<{
|
|
|
35
30
|
header: string;
|
|
36
31
|
trigger: string;
|
|
37
32
|
icon: string;
|
|
38
|
-
/**
|
|
39
|
-
* The animated element carries no spacing of its own — margin is not part
|
|
40
|
-
* of an animated height, so it survives the close as a gap under a panel
|
|
41
|
-
* that is supposedly shut. All padding lives on the inner wrapper.
|
|
42
|
-
*/
|
|
43
33
|
content: string;
|
|
44
34
|
contentInner: string;
|
|
45
35
|
}, import("tailwind-variants").TVReturnType<{
|
|
@@ -57,11 +47,6 @@ export declare const accordionTheme: import("tailwind-variants").TVReturnType<{
|
|
|
57
47
|
header: string;
|
|
58
48
|
trigger: string;
|
|
59
49
|
icon: string;
|
|
60
|
-
/**
|
|
61
|
-
* The animated element carries no spacing of its own — margin is not part
|
|
62
|
-
* of an animated height, so it survives the close as a gap under a panel
|
|
63
|
-
* that is supposedly shut. All padding lives on the inner wrapper.
|
|
64
|
-
*/
|
|
65
50
|
content: string;
|
|
66
51
|
contentInner: string;
|
|
67
52
|
}, undefined, unknown, unknown, undefined>>;
|
package/dist/theme/alert.d.ts
CHANGED
|
@@ -13,7 +13,6 @@ export declare const alertTheme: import("tailwind-variants").TVReturnType<{
|
|
|
13
13
|
icon: string;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
-
/** Tightens the title/description gap when both are present. */
|
|
17
16
|
withTitle: {
|
|
18
17
|
true: {
|
|
19
18
|
description: string;
|
|
@@ -42,7 +41,6 @@ export declare const alertTheme: import("tailwind-variants").TVReturnType<{
|
|
|
42
41
|
icon: string;
|
|
43
42
|
};
|
|
44
43
|
};
|
|
45
|
-
/** Tightens the title/description gap when both are present. */
|
|
46
44
|
withTitle: {
|
|
47
45
|
true: {
|
|
48
46
|
description: string;
|
|
@@ -71,7 +69,6 @@ export declare const alertTheme: import("tailwind-variants").TVReturnType<{
|
|
|
71
69
|
icon: string;
|
|
72
70
|
};
|
|
73
71
|
};
|
|
74
|
-
/** Tightens the title/description gap when both are present. */
|
|
75
72
|
withTitle: {
|
|
76
73
|
true: {
|
|
77
74
|
description: string;
|
package/dist/theme/avatar.d.ts
CHANGED
|
@@ -191,7 +191,6 @@ export declare const avatarGroupTheme: import("tailwind-variants").TVReturnType<
|
|
|
191
191
|
}, {
|
|
192
192
|
root: string;
|
|
193
193
|
item: string;
|
|
194
|
-
/** The "+3" chip closing the stack. */
|
|
195
194
|
overflow: string;
|
|
196
195
|
}, undefined, {
|
|
197
196
|
size: {
|
|
@@ -219,7 +218,6 @@ export declare const avatarGroupTheme: import("tailwind-variants").TVReturnType<
|
|
|
219
218
|
}, {
|
|
220
219
|
root: string;
|
|
221
220
|
item: string;
|
|
222
|
-
/** The "+3" chip closing the stack. */
|
|
223
221
|
overflow: string;
|
|
224
222
|
}, import("tailwind-variants").TVReturnType<{
|
|
225
223
|
size: {
|
|
@@ -247,7 +245,6 @@ export declare const avatarGroupTheme: import("tailwind-variants").TVReturnType<
|
|
|
247
245
|
}, {
|
|
248
246
|
root: string;
|
|
249
247
|
item: string;
|
|
250
|
-
/** The "+3" chip closing the stack. */
|
|
251
248
|
overflow: string;
|
|
252
249
|
}, undefined, unknown, unknown, undefined>>;
|
|
253
250
|
export type AvatarGroupSlots = keyof ReturnType<typeof avatarGroupTheme>;
|
package/dist/theme/banner.d.ts
CHANGED
|
@@ -30,12 +30,10 @@ export declare const bannerTheme: import("tailwind-variants").TVReturnType<{
|
|
|
30
30
|
top: {
|
|
31
31
|
root: string;
|
|
32
32
|
};
|
|
33
|
-
/** Pinned to the bottom of the viewport; the rule moves to the top edge. */
|
|
34
33
|
bottom: {
|
|
35
34
|
root: string;
|
|
36
35
|
};
|
|
37
36
|
};
|
|
38
|
-
/** Constrains the text while the fill still spans the viewport. */
|
|
39
37
|
contained: {
|
|
40
38
|
true: {
|
|
41
39
|
container: string;
|
|
@@ -88,12 +86,10 @@ export declare const bannerTheme: import("tailwind-variants").TVReturnType<{
|
|
|
88
86
|
top: {
|
|
89
87
|
root: string;
|
|
90
88
|
};
|
|
91
|
-
/** Pinned to the bottom of the viewport; the rule moves to the top edge. */
|
|
92
89
|
bottom: {
|
|
93
90
|
root: string;
|
|
94
91
|
};
|
|
95
92
|
};
|
|
96
|
-
/** Constrains the text while the fill still spans the viewport. */
|
|
97
93
|
contained: {
|
|
98
94
|
true: {
|
|
99
95
|
container: string;
|
|
@@ -146,12 +142,10 @@ export declare const bannerTheme: import("tailwind-variants").TVReturnType<{
|
|
|
146
142
|
top: {
|
|
147
143
|
root: string;
|
|
148
144
|
};
|
|
149
|
-
/** Pinned to the bottom of the viewport; the rule moves to the top edge. */
|
|
150
145
|
bottom: {
|
|
151
146
|
root: string;
|
|
152
147
|
};
|
|
153
148
|
};
|
|
154
|
-
/** Constrains the text while the fill still spans the viewport. */
|
|
155
149
|
contained: {
|
|
156
150
|
true: {
|
|
157
151
|
container: string;
|
|
@@ -36,18 +36,12 @@ export declare const barChartTheme: import("tailwind-variants").TVReturnType<{
|
|
|
36
36
|
};
|
|
37
37
|
} | {}, {
|
|
38
38
|
root: string;
|
|
39
|
-
/**
|
|
40
|
-
* The tooltip's coordinates come from the SVG, so the SVG has to be its
|
|
41
|
-
* positioning context. Anchoring to the root instead shifts it up by the
|
|
42
|
-
* height of anything above the plot — the legend, most obviously.
|
|
43
|
-
*/
|
|
44
39
|
plot: string;
|
|
45
40
|
svg: string;
|
|
46
41
|
grid: string;
|
|
47
42
|
tick: string;
|
|
48
43
|
category: string;
|
|
49
44
|
bar: string;
|
|
50
|
-
/** Hit target, deliberately wider than the mark it selects. */
|
|
51
45
|
hit: string;
|
|
52
46
|
faded: string;
|
|
53
47
|
tooltip: string;
|
|
@@ -74,18 +68,12 @@ export declare const barChartTheme: import("tailwind-variants").TVReturnType<{
|
|
|
74
68
|
};
|
|
75
69
|
} | {}, {
|
|
76
70
|
root: string;
|
|
77
|
-
/**
|
|
78
|
-
* The tooltip's coordinates come from the SVG, so the SVG has to be its
|
|
79
|
-
* positioning context. Anchoring to the root instead shifts it up by the
|
|
80
|
-
* height of anything above the plot — the legend, most obviously.
|
|
81
|
-
*/
|
|
82
71
|
plot: string;
|
|
83
72
|
svg: string;
|
|
84
73
|
grid: string;
|
|
85
74
|
tick: string;
|
|
86
75
|
category: string;
|
|
87
76
|
bar: string;
|
|
88
|
-
/** Hit target, deliberately wider than the mark it selects. */
|
|
89
77
|
hit: string;
|
|
90
78
|
faded: string;
|
|
91
79
|
tooltip: string;
|
|
@@ -94,18 +82,12 @@ export declare const barChartTheme: import("tailwind-variants").TVReturnType<{
|
|
|
94
82
|
table: string;
|
|
95
83
|
}, import("tailwind-variants").TVReturnType<unknown, {
|
|
96
84
|
root: string;
|
|
97
|
-
/**
|
|
98
|
-
* The tooltip's coordinates come from the SVG, so the SVG has to be its
|
|
99
|
-
* positioning context. Anchoring to the root instead shifts it up by the
|
|
100
|
-
* height of anything above the plot — the legend, most obviously.
|
|
101
|
-
*/
|
|
102
85
|
plot: string;
|
|
103
86
|
svg: string;
|
|
104
87
|
grid: string;
|
|
105
88
|
tick: string;
|
|
106
89
|
category: string;
|
|
107
90
|
bar: string;
|
|
108
|
-
/** Hit target, deliberately wider than the mark it selects. */
|
|
109
91
|
hit: string;
|
|
110
92
|
faded: string;
|
|
111
93
|
tooltip: string;
|