iryx-ui 0.25.0 → 0.27.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.
Files changed (35) hide show
  1. package/dist/components/AppShell.vue.d.ts +12 -11
  2. package/dist/components/AppShell.vue_vue_type_script_setup_true_lang.js +76 -61
  3. package/dist/components/Breadcrumb.vue_vue_type_script_setup_true_lang.js +2 -1
  4. package/dist/components/CommandPalette.vue.d.ts +12 -0
  5. package/dist/components/CommandPalette.vue_vue_type_script_setup_true_lang.js +122 -85
  6. package/dist/components/DateRangePicker.vue.d.ts +14 -2
  7. package/dist/components/DateRangePicker.vue_vue_type_script_setup_true_lang.js +111 -70
  8. package/dist/components/DropdownMenu.vue_vue_type_script_setup_true_lang.js +19 -18
  9. package/dist/components/DropdownMenuItems.vue_vue_type_script_setup_true_lang.js +12 -8
  10. package/dist/components/Sidebar.vue.d.ts +11 -5
  11. package/dist/components/Sidebar.vue_vue_type_script_setup_true_lang.js +172 -92
  12. package/dist/components/Tabs.vue.d.ts +7 -6
  13. package/dist/components/Tabs.vue_vue_type_script_setup_true_lang.js +65 -30
  14. package/dist/composables/command-palette.d.ts +7 -0
  15. package/dist/composables/command-palette.js +8 -2
  16. package/dist/composables/date.d.ts +25 -0
  17. package/dist/composables/date.js +59 -16
  18. package/dist/composables/dropdown-menu.d.ts +3 -1
  19. package/dist/composables/scroll-fade.d.ts +1 -1
  20. package/dist/composables/sidebar.d.ts +3 -0
  21. package/dist/composables/sidebar.js +7 -6
  22. package/dist/index.js +166 -166
  23. package/dist/theme/app-shell.d.ts +27 -6
  24. package/dist/theme/app-shell.js +26 -9
  25. package/dist/theme/avatar.js +1 -1
  26. package/dist/theme/date-picker.d.ts +9 -0
  27. package/dist/theme/date-picker.js +3 -0
  28. package/dist/theme/presets.d.ts +1 -0
  29. package/dist/theme/presets.js +1 -0
  30. package/dist/theme/sidebar.d.ts +24 -0
  31. package/dist/theme/sidebar.js +9 -2
  32. package/dist/theme/tabs.d.ts +18 -3
  33. package/dist/theme/tabs.js +20 -12
  34. package/package.json +1 -1
  35. package/theme.css +4 -0
@@ -1,33 +1,76 @@
1
- import { CalendarDate as e, DateFormatter as t, Time as n, getLocalTimeZone as r, parseDate as i, today as a } from "@internationalized/date";
1
+ import { CalendarDate as e, DateFormatter as t, Time as n, endOfMonth as r, getLocalTimeZone as i, parseDate as a, startOfMonth as o, today as s } from "@internationalized/date";
2
2
  //#region src/composables/date.ts
3
- var o = /^\d{4}-\d{2}-\d{2}$/;
4
- function s(e) {
5
- if (!(!e || !o.test(e))) try {
6
- return i(e);
3
+ var c = /^\d{4}-\d{2}-\d{2}$/;
4
+ function l(e) {
5
+ if (!(!e || !c.test(e))) try {
6
+ return a(e);
7
7
  } catch {
8
8
  return;
9
9
  }
10
10
  }
11
- function c(e) {
11
+ function u(e) {
12
12
  return e ? `${e.year.toString().padStart(4, "0")}-${e.month.toString().padStart(2, "0")}-${e.day.toString().padStart(2, "0")}` : null;
13
13
  }
14
- function l() {
15
- return c(a(r()));
14
+ function d() {
15
+ return u(s(i()));
16
16
  }
17
- function u(e, n, i = { dateStyle: "medium" }) {
18
- let a = s(e);
19
- return a ? new t(n ?? "en-US", i).format(a.toDate(r())) : "";
17
+ function f(e = {}) {
18
+ let t = {
19
+ today: "Today",
20
+ yesterday: "Yesterday",
21
+ last7Days: "Last 7 days",
22
+ last30Days: "Last 30 days",
23
+ thisMonth: "This month",
24
+ lastMonth: "Last month",
25
+ ...e
26
+ }, n = () => s(i()), a = (e, t) => ({
27
+ start: u(e),
28
+ end: u(t)
29
+ });
30
+ return [
31
+ {
32
+ label: t.today,
33
+ range: () => a(n(), n())
34
+ },
35
+ {
36
+ label: t.yesterday,
37
+ range: () => a(n().subtract({ days: 1 }), n().subtract({ days: 1 }))
38
+ },
39
+ {
40
+ label: t.last7Days,
41
+ range: () => a(n().subtract({ days: 6 }), n())
42
+ },
43
+ {
44
+ label: t.last30Days,
45
+ range: () => a(n().subtract({ days: 29 }), n())
46
+ },
47
+ {
48
+ label: t.thisMonth,
49
+ range: () => a(o(n()), r(n()))
50
+ },
51
+ {
52
+ label: t.lastMonth,
53
+ range: () => {
54
+ let e = o(n()).subtract({ months: 1 });
55
+ return a(e, r(e));
56
+ }
57
+ }
58
+ ];
20
59
  }
21
- var d = /^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d)?$/;
22
- function f(e) {
23
- if (!e || !d.test(e)) return;
60
+ function p(e, n, r = { dateStyle: "medium" }) {
61
+ let a = l(e);
62
+ return a ? new t(n ?? "en-US", r).format(a.toDate(i())) : "";
63
+ }
64
+ var m = /^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d)?$/;
65
+ function h(e) {
66
+ if (!e || !m.test(e)) return;
24
67
  let [t, r, i] = e.split(":").map(Number);
25
68
  return new n(t, r, i ?? 0);
26
69
  }
27
- function p(e) {
70
+ function g(e) {
28
71
  if (!e) return null;
29
72
  let t = (e) => String(e).padStart(2, "0"), n = `${t(e.hour)}:${t(e.minute)}`;
30
73
  return e.second ? `${n}:${t(e.second)}` : n;
31
74
  }
32
75
  //#endregion
33
- export { e as CalendarDate, n as Time, u as formatIsoDate, l as isoToday, s as toCalendarDate, c as toIsoDate, p as toIsoTime, f as toTime };
76
+ export { e as CalendarDate, n as Time, f as commonDateRangePresets, p as formatIsoDate, d as isoToday, l as toCalendarDate, u as toIsoDate, g as toIsoTime, h as toTime };
@@ -6,6 +6,8 @@ export interface DropdownMenuItemOption {
6
6
  disabled?: boolean;
7
7
  /** Style the item as destructive. */
8
8
  danger?: boolean;
9
+ /** Renders the item as a link. */
10
+ href?: string;
9
11
  /** Run when the item is chosen. Omit on an entry that opens a submenu. */
10
12
  onSelect?: () => void;
11
13
  /** Nested entries. Turns this item into a submenu trigger. */
@@ -15,7 +17,7 @@ export interface DropdownMenuItemOption {
15
17
  * One row of a menu.
16
18
  *
17
19
  * `'-'` renders a separator. An option with `items` opens a submenu, and one
18
- * with neither `items` nor `onSelect` is a non-interactive group label.
20
+ * with none of `items`, `href` or `onSelect` is a non-interactive group label.
19
21
  */
20
22
  export type DropdownMenuEntry = DropdownMenuItemOption | '-';
21
23
  export declare function isSeparator(entry: DropdownMenuEntry): entry is '-';
@@ -15,7 +15,7 @@ export interface ScrollEdges {
15
15
  * panel that fits on a desktop overflows on a phone. A fade painted on a
16
16
  * container that does not actually scroll is a lie about what is there.
17
17
  */
18
- export declare function useScrollEdges(target: Ref<HTMLElement | undefined>, axis: Ref<'vertical' | 'horizontal'>): ScrollEdges;
18
+ export declare function useScrollEdges(target: Readonly<Ref<HTMLElement | undefined>>, axis: Readonly<Ref<'vertical' | 'horizontal'>>): ScrollEdges;
19
19
  /**
20
20
  * The mask that fades the edges with something past them.
21
21
  *
@@ -1,3 +1,4 @@
1
+ import type { InjectionKey } from 'vue';
1
2
  import type { IconLike } from './icon';
2
3
  export interface SidebarLink {
3
4
  label: string;
@@ -29,6 +30,8 @@ export interface SidebarSection {
29
30
  items: SidebarLink[];
30
31
  }
31
32
  export type SidebarItems = (SidebarLink | SidebarSection)[];
33
+ /** Provided by `IAppShell` around each copy of its sidebar slot. */
34
+ export declare const sidebarPlacementKey: InjectionKey<'column' | 'drawer'>;
32
35
  export declare function isSidebarSection(item: SidebarLink | SidebarSection): item is SidebarSection;
33
36
  /** Normalise to sections, so the template has a single path to render. */
34
37
  export declare function toSidebarSections(items: SidebarItems | undefined): SidebarSection[];
@@ -1,11 +1,12 @@
1
1
  //#region src/composables/sidebar.ts
2
- function e(e) {
2
+ var e = Symbol.for("iryx-ui:sidebar-placement");
3
+ function t(e) {
3
4
  return typeof e.section == "string";
4
5
  }
5
- function t(t) {
6
+ function n(e) {
6
7
  let n = [], r;
7
- for (let i of t ?? []) {
8
- if (e(i)) {
8
+ for (let i of e ?? []) {
9
+ if (t(i)) {
9
10
  n.push(i), r = void 0;
10
11
  continue;
11
12
  }
@@ -16,8 +17,8 @@ function t(t) {
16
17
  }
17
18
  return n;
18
19
  }
19
- function n(e) {
20
+ function r(e) {
20
21
  return Array.isArray(e.items) && e.items.length > 0;
21
22
  }
22
23
  //#endregion
23
- export { n as isSidebarGroup, e as isSidebarSection, t as toSidebarSections };
24
+ export { r as isSidebarGroup, t as isSidebarSection, e as sidebarPlacementKey, n as toSidebarSections };
package/dist/index.js CHANGED
@@ -10,169 +10,169 @@ import { initAppearance as u, useAppearance as d } from "./composables/appearanc
10
10
  import { applyTheme as f, clearTheme as p, themes as m } from "./theme/presets.js";
11
11
  import h from "./components/App.js";
12
12
  import { useElementSize as g } from "./composables/element-size.js";
13
- import { appShellTheme as _ } from "./theme/app-shell.js";
14
- import { drawerTheme as v } from "./theme/drawer.js";
15
- import y from "./components/Drawer.js";
16
- import b from "./components/AppShell.js";
17
- import x from "./components/AspectRatio.js";
18
- import { authProvidersTheme as S } from "./theme/auth-providers.js";
19
- import { buttonGroupContextKey as C, useButtonGroup as w } from "./composables/button-group.js";
20
- import { buttonTheme as T } from "./theme/button.js";
21
- import E from "./components/Button.js";
22
- import D from "./components/AuthProviders.js";
23
- import { avatarGroupTheme as O, avatarTheme as k } from "./theme/avatar.js";
24
- import A from "./components/Avatar.js";
25
- import { tooltipTheme as j } from "./theme/tooltip.js";
26
- import M from "./components/Tooltip.js";
27
- import N from "./components/AvatarGroup.js";
28
- import { badgeTheme as P } from "./theme/badge.js";
29
- import F from "./components/Badge.js";
30
- import { bannerTheme as I } from "./theme/banner.js";
31
- import L from "./components/Banner.js";
32
- import { extent as R, finiteValues as z, linearScale as B, niceTicks as V } from "./composables/scale.js";
33
- import { AXIS_GAP as H, CATEGORY_HEIGHT as U, CHAR_WIDTH as W, SERIES_SLOTS as G, TOP_PAD as K, cartesianLayout as q, clampTooltip as J, seriesColor as Y, slotOf as X, tooltipHalfWidth as Z, warnOnSlotOverflow as Q } from "./composables/cartesian.js";
34
- import { REVEAL_DURATION as $, useChartAnimation as ee, useChartProgress as te, useChartReveal as ne } from "./composables/chart-reveal.js";
35
- import { barChartTheme as re } from "./theme/bar-chart.js";
36
- import { chartLegendTheme as ie } from "./theme/chart-legend.js";
37
- import ae from "./components/ChartLegend.js";
38
- import oe from "./components/BarChart.js";
39
- import { breadcrumbTheme as se } from "./theme/breadcrumb.js";
40
- import { dropdownMenuTheme as ce } from "./theme/dropdown-menu.js";
41
- import { isSeparator as le, isSubmenu as ue } from "./composables/dropdown-menu.js";
42
- import de from "./components/DropdownMenu.js";
43
- import fe from "./components/Breadcrumb.js";
44
- import { buttonGroupTheme as pe } from "./theme/button-group.js";
45
- import me from "./components/ButtonGroup.js";
46
- import { CalendarDate as he, Time as ge, formatIsoDate as _e, isoToday as ve, toCalendarDate as ye, toIsoDate as be, toIsoTime as xe, toTime as Se } from "./composables/date.js";
47
- import { calendarTheme as Ce } from "./theme/calendar.js";
48
- import we from "./components/Calendar.js";
49
- import { cardTheme as Te } from "./theme/card.js";
50
- import Ee from "./components/Card.js";
51
- import { scrollFadeMask as De, useScrollEdges as Oe } from "./composables/scroll-fade.js";
52
- import ke from "./components/Carousel.js";
53
- import { formContextKey as Ae, formFieldContextKey as je, getByPath as Me, isStandardSchema as Ne, issuePath as Pe, useForm as Fe, useFormField as Ie } from "./composables/form.js";
54
- import { checkboxTheme as Le } from "./theme/checkbox.js";
55
- import Re from "./components/Checkbox.js";
56
- import { codeTheme as ze } from "./theme/code.js";
57
- import Be from "./components/Code.js";
58
- import { collapsibleTheme as Ve } from "./theme/collapsible.js";
59
- import He from "./components/Collapsible.js";
60
- import { fieldBase as Ue, inputTheme as We, textareaCountTheme as Ge, textareaTheme as Ke } from "./theme/input.js";
61
- import { colorPickerTheme as qe } from "./theme/color-picker.js";
62
- import Je from "./components/ColorPicker.js";
63
- import { comboboxTheme as Ye } from "./theme/combobox.js";
64
- import Xe from "./components/Combobox.js";
65
- import { isApplePlatform as Ze, parseHotkey as Qe, useApplePlatform as $e } from "./composables/kbd.js";
66
- import { commandHaystack as et, isCommandGroup as tt, matchesHotkey as nt, toCommandGroups as rt } from "./composables/command-palette.js";
67
- import { commandPaletteTheme as it } from "./theme/command-palette.js";
68
- import { kbdTheme as at } from "./theme/kbd.js";
69
- import ot from "./components/Kbd.js";
70
- import st from "./components/CommandPalette.js";
71
- import { resolveConfirm as ct, useConfirm as lt, useConfirmState as ut } from "./composables/confirm.js";
72
- import { dialogTheme as dt } from "./theme/dialog.js";
73
- import ft from "./components/Dialog.js";
74
- import pt from "./components/ConfirmDialog.js";
75
- import { confirmPopoverTheme as mt } from "./theme/confirm-popover.js";
76
- import { popoverTheme as ht } from "./theme/popover.js";
77
- import gt from "./components/Popover.js";
78
- import _t from "./components/ConfirmPopover.js";
79
- import { containerTheme as vt } from "./theme/container.js";
80
- import yt from "./components/Container.js";
81
- import bt from "./components/ContextMenu.js";
82
- import { dateFieldTheme as xt } from "./theme/date-field.js";
83
- import St from "./components/DateField.js";
84
- import { datePickerTheme as Ct } from "./theme/date-picker.js";
85
- import wt from "./components/DatePicker.js";
86
- import Tt from "./components/DateRangePicker.js";
87
- import { descriptionListTheme as Et } from "./theme/description-list.js";
88
- import Dt from "./components/DescriptionList.js";
89
- import { donutChartTheme as Ot } from "./theme/donut-chart.js";
90
- import kt from "./components/DonutChart.js";
91
- import { editableTheme as At } from "./theme/editable.js";
92
- import jt from "./components/Editable.js";
93
- import { emptyStateTheme as Mt } from "./theme/empty-state.js";
94
- import Nt from "./components/EmptyState.js";
95
- import { fileUploadTheme as Pt } from "./theme/file-upload.js";
96
- import { progressTheme as Ft } from "./theme/progress.js";
97
- import It from "./components/Progress.js";
98
- import Lt from "./components/FileUpload.js";
99
- import Rt from "./components/Form.js";
100
- import { labelTheme as zt } from "./theme/label.js";
101
- import Bt from "./components/Label.js";
102
- import Vt from "./components/FormField.js";
103
- import { hoverCardTheme as Ht } from "./theme/hover-card.js";
104
- import Ut from "./components/HoverCard.js";
105
- import Wt from "./components/Input.js";
106
- import { lineChartTheme as Gt } from "./theme/line-chart.js";
107
- import Kt from "./components/LineChart.js";
108
- import { menubarTheme as qt } from "./theme/menubar.js";
109
- import Jt from "./components/Menubar.js";
110
- import { isNavigationGroup as Yt } from "./composables/navigation-menu.js";
111
- import { navigationMenuTheme as Xt } from "./theme/navigation-menu.js";
112
- import Zt from "./components/NavigationMenu.js";
113
- import { addDecimals as Qt, clampDecimal as $t, compareDecimals as en, formatDecimal as tn, formatForLocale as nn, isDecimal as rn, localeSeparators as an, parseDecimal as on, parseFromLocale as sn, roundDecimal as cn, toEditable as ln } from "./composables/decimal.js";
114
- import { numberInputTheme as un } from "./theme/number-input.js";
115
- import dn from "./components/NumberInput.js";
116
- import { pageHeaderTheme as fn } from "./theme/page-header.js";
117
- import pn from "./components/PageHeader.js";
118
- import { paginationTheme as mn } from "./theme/pagination.js";
119
- import hn from "./components/Pagination.js";
120
- import { passwordInputTheme as gn } from "./theme/password-input.js";
121
- import _n from "./components/PasswordInput.js";
122
- import { pinInputTheme as vn } from "./theme/pin-input.js";
123
- import yn from "./components/PinInput.js";
124
- import { radioGroupTheme as bn } from "./theme/radio-group.js";
125
- import xn from "./components/RadioGroup.js";
126
- import Sn from "./components/Rating.js";
127
- import { scrollAreaTheme as Cn } from "./theme/scroll-area.js";
128
- import wn from "./components/ScrollArea.js";
129
- import { scrollFadeTheme as Tn } from "./theme/scroll-fade.js";
130
- import En from "./components/ScrollFade.js";
131
- import { selectTheme as Dn } from "./theme/select.js";
132
- import On from "./components/Select.js";
133
- import { separatorTheme as kn } from "./theme/separator.js";
134
- import An from "./components/Separator.js";
135
- import { isSidebarGroup as jn, isSidebarSection as Mn, toSidebarSections as Nn } from "./composables/sidebar.js";
136
- import { sidebarTheme as Pn } from "./theme/sidebar.js";
137
- import Fn from "./components/Sidebar.js";
138
- import { hasInk as In, strokeWidth as Ln } from "./composables/signature.js";
139
- import { signaturePadTheme as Rn } from "./theme/signature-pad.js";
140
- import zn from "./components/SignaturePad.js";
141
- import { skeletonTheme as Bn } from "./theme/skeleton.js";
142
- import Vn from "./components/Skeleton.js";
143
- import { sliderTheme as Hn } from "./theme/slider.js";
144
- import Un from "./components/Slider.js";
145
- import { sparklineTheme as Wn } from "./theme/sparkline.js";
146
- import Gn from "./components/Sparkline.js";
147
- import { splitterTheme as Kn } from "./theme/splitter.js";
148
- import qn from "./components/Splitter.js";
149
- import { statTheme as Jn } from "./theme/stat.js";
150
- import Yn from "./components/Stat.js";
151
- import { stepperTheme as Xn } from "./theme/stepper.js";
152
- import Zn from "./components/Stepper.js";
153
- import { switchTheme as Qn } from "./theme/switch.js";
154
- import $n from "./components/Switch.js";
155
- import { getRowValue as er, useDataTable as tr } from "./composables/data-table.js";
156
- import { tableTheme as nr } from "./theme/table.js";
157
- import rr from "./components/Table.js";
158
- import { tabsTheme as ir } from "./theme/tabs.js";
159
- import ar from "./components/Tabs.js";
160
- import { tagsInputTheme as or } from "./theme/tags-input.js";
161
- import sr from "./components/TagsInput.js";
162
- import cr from "./components/Textarea.js";
163
- import { timeFieldTheme as lr } from "./theme/time-field.js";
164
- import ur from "./components/TimeField.js";
165
- import { timelineTheme as dr } from "./theme/timeline.js";
166
- import fr from "./components/Timeline.js";
167
- import { useToast as pr, useToastState as mr } from "./composables/toast.js";
168
- import { toastTheme as hr } from "./theme/toast.js";
169
- import gr from "./components/Toaster.js";
170
- import { toggleGroupTheme as _r, toggleTheme as vr } from "./theme/toggle.js";
171
- import yr from "./components/Toggle.js";
172
- import br from "./components/ToggleGroup.js";
173
- import { toolbarTheme as xr } from "./theme/toolbar.js";
174
- import Sr from "./components/Toolbar.js";
175
- import { treeTheme as Cr } from "./theme/tree.js";
176
- import wr from "./components/Tree.js";
177
- import { IryxUi as Tr, createIryxUi as Er } from "./plugin.js";
178
- export { H as AXIS_GAP, s as Accordion, l as Alert, h as App, b as AppShell, x as AspectRatio, D as AuthProviders, A as Avatar, N as AvatarGroup, F as Badge, L as Banner, oe as BarChart, fe as Breadcrumb, E as Button, me as ButtonGroup, U as CATEGORY_HEIGHT, W as CHAR_WIDTH, we as Calendar, he as CalendarDate, Ee as Card, ke as Carousel, ae as ChartLegend, Re as Checkbox, Be as Code, He as Collapsible, Je as ColorPicker, Xe as Combobox, st as CommandPalette, pt as ConfirmDialog, _t as ConfirmPopover, yt as Container, bt as ContextMenu, St as DateField, wt as DatePicker, Tt as DateRangePicker, Dt as DescriptionList, ft as Dialog, kt as DonutChart, y as Drawer, de as DropdownMenu, jt as Editable, Nt as EmptyState, Lt as FileUpload, Rt as Form, Vt as FormField, Ut as HoverCard, o as Icon, Wt as Input, Tr as IryxUi, ot as Kbd, Bt as Label, Kt as LineChart, Jt as Menubar, Zt as NavigationMenu, dn as NumberInput, pn as PageHeader, hn as Pagination, _n as PasswordInput, yn as PinInput, gt as Popover, It as Progress, $ as REVEAL_DURATION, xn as RadioGroup, Sn as Rating, G as SERIES_SLOTS, wn as ScrollArea, En as ScrollFade, On as Select, An as Separator, Fn as Sidebar, zn as SignaturePad, Vn as Skeleton, Un as Slider, Gn as Sparkline, qn as Splitter, Yn as Stat, Zn as Stepper, $n as Switch, K as TOP_PAD, rr as Table, ar as Tabs, sr as TagsInput, cr as Textarea, ge as Time, ur as TimeField, fr as Timeline, gr as Toaster, yr as Toggle, br as ToggleGroup, Sr as Toolbar, M as Tooltip, wr 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, P as badgeTheme, I as bannerTheme, re as barChartTheme, se as breadcrumbTheme, C as buttonGroupContextKey, pe as buttonGroupTheme, T as buttonTheme, Ce as calendarTheme, Te as cardTheme, q as cartesianLayout, ie as chartLegendTheme, Le as checkboxTheme, $t as clampDecimal, J as clampTooltip, p as clearTheme, ze as codeTheme, Ve as collapsibleTheme, qe as colorPickerTheme, Ye as comboboxTheme, et as commandHaystack, it as commandPaletteTheme, en as compareDecimals, e as componentNames, mt as confirmPopoverTheme, vt as containerTheme, Er as createIryxUi, xt as dateFieldTheme, Ct as datePickerTheme, t as defaultConfig, Et as descriptionListTheme, dt as dialogTheme, Ot as donutChartTheme, v as drawerTheme, ce as dropdownMenuTheme, At as editableTheme, Mt as emptyStateTheme, R as extent, Ue as fieldBase, Pt as fileUploadTheme, z as finiteValues, Ae as formContextKey, je as formFieldContextKey, tn as formatDecimal, nn as formatForLocale, _e as formatIsoDate, Me as getByPath, er as getRowValue, In as hasInk, Ht as hoverCardTheme, u as initAppearance, We as inputTheme, n as iryxUiConfigKey, Ze as isApplePlatform, tt as isCommandGroup, rn as isDecimal, a as isIconArray, Yt as isNavigationGroup, le as isSeparator, jn as isSidebarGroup, Mn as isSidebarSection, Ne as isStandardSchema, ue as isSubmenu, ve as isoToday, Pe as issuePath, at as kbdTheme, zt as labelTheme, Gt as lineChartTheme, B as linearScale, an as localeSeparators, nt as matchesHotkey, qt as menubarTheme, Xt as navigationMenuTheme, V as niceTicks, un as numberInputTheme, fn as pageHeaderTheme, mn as paginationTheme, on as parseDecimal, sn as parseFromLocale, Qe as parseHotkey, gn as passwordInputTheme, vn as pinInputTheme, ht as popoverTheme, Ft as progressTheme, bn as radioGroupTheme, ct as resolveConfirm, cn as roundDecimal, Cn as scrollAreaTheme, De as scrollFadeMask, Tn as scrollFadeTheme, Dn as selectTheme, kn as separatorTheme, Y as seriesColor, Pn as sidebarTheme, Rn as signaturePadTheme, Bn as skeletonTheme, Hn as sliderTheme, X as slotOf, Wn as sparklineTheme, Kn as splitterTheme, Jn as statTheme, Xn as stepperTheme, Ln as strokeWidth, Qn as switchTheme, nr as tableTheme, ir as tabsTheme, or as tagsInputTheme, Ge as textareaCountTheme, Ke as textareaTheme, m as themes, lr as timeFieldTheme, dr as timelineTheme, ye as toCalendarDate, rt as toCommandGroups, ln as toEditable, be as toIsoDate, xe as toIsoTime, Nn as toSidebarSections, Se as toTime, hr as toastTheme, _r as toggleGroupTheme, vr as toggleTheme, xr as toolbarTheme, Z as tooltipHalfWidth, j as tooltipTheme, Cr as treeTheme, d as useAppearance, $e as useApplePlatform, w as useButtonGroup, ee as useChartAnimation, te as useChartProgress, ne as useChartReveal, lt as useConfirm, ut as useConfirmState, tr as useDataTable, g as useElementSize, Fe as useForm, Ie as useFormField, r as useIryxUiConfig, Oe as useScrollEdges, pr as useToast, mr as useToastState, Q as warnOnSlotOverflow };
13
+ import { isSidebarGroup as _, isSidebarSection as v, sidebarPlacementKey as y, toSidebarSections as b } from "./composables/sidebar.js";
14
+ import { appShellTheme as x } from "./theme/app-shell.js";
15
+ import { drawerTheme as S } from "./theme/drawer.js";
16
+ import C from "./components/Drawer.js";
17
+ import w from "./components/AppShell.js";
18
+ import T from "./components/AspectRatio.js";
19
+ import { authProvidersTheme as E } from "./theme/auth-providers.js";
20
+ import { buttonGroupContextKey as D, useButtonGroup as O } from "./composables/button-group.js";
21
+ import { buttonTheme as k } from "./theme/button.js";
22
+ import A from "./components/Button.js";
23
+ import j from "./components/AuthProviders.js";
24
+ import { avatarGroupTheme as M, avatarTheme as N } from "./theme/avatar.js";
25
+ import P from "./components/Avatar.js";
26
+ import { tooltipTheme as F } from "./theme/tooltip.js";
27
+ import I from "./components/Tooltip.js";
28
+ import L from "./components/AvatarGroup.js";
29
+ import { badgeTheme as R } from "./theme/badge.js";
30
+ import z from "./components/Badge.js";
31
+ import { bannerTheme as B } from "./theme/banner.js";
32
+ import V from "./components/Banner.js";
33
+ import { extent as H, finiteValues as U, linearScale as W, niceTicks as G } from "./composables/scale.js";
34
+ import { AXIS_GAP as K, CATEGORY_HEIGHT as q, CHAR_WIDTH as J, SERIES_SLOTS as Y, TOP_PAD as X, cartesianLayout as Z, clampTooltip as Q, seriesColor as $, slotOf as ee, tooltipHalfWidth as te, warnOnSlotOverflow as ne } from "./composables/cartesian.js";
35
+ import { REVEAL_DURATION as re, useChartAnimation as ie, useChartProgress as ae, useChartReveal as oe } from "./composables/chart-reveal.js";
36
+ import { barChartTheme as se } from "./theme/bar-chart.js";
37
+ import { chartLegendTheme as ce } from "./theme/chart-legend.js";
38
+ import le from "./components/ChartLegend.js";
39
+ import ue from "./components/BarChart.js";
40
+ import { breadcrumbTheme as de } from "./theme/breadcrumb.js";
41
+ import { dropdownMenuTheme as fe } from "./theme/dropdown-menu.js";
42
+ import { isSeparator as pe, isSubmenu as me } from "./composables/dropdown-menu.js";
43
+ import he from "./components/DropdownMenu.js";
44
+ import ge from "./components/Breadcrumb.js";
45
+ import { buttonGroupTheme as _e } from "./theme/button-group.js";
46
+ import ve from "./components/ButtonGroup.js";
47
+ import { CalendarDate as ye, Time as be, commonDateRangePresets as xe, formatIsoDate as Se, isoToday as Ce, toCalendarDate as we, toIsoDate as Te, toIsoTime as Ee, toTime as De } from "./composables/date.js";
48
+ import { calendarTheme as Oe } from "./theme/calendar.js";
49
+ import ke from "./components/Calendar.js";
50
+ import { cardTheme as Ae } from "./theme/card.js";
51
+ import je from "./components/Card.js";
52
+ import { scrollFadeMask as Me, useScrollEdges as Ne } from "./composables/scroll-fade.js";
53
+ import Pe from "./components/Carousel.js";
54
+ import { formContextKey as Fe, formFieldContextKey as Ie, getByPath as Le, isStandardSchema as Re, issuePath as ze, useForm as Be, useFormField as Ve } from "./composables/form.js";
55
+ import { checkboxTheme as He } from "./theme/checkbox.js";
56
+ import Ue from "./components/Checkbox.js";
57
+ import { codeTheme as We } from "./theme/code.js";
58
+ import Ge from "./components/Code.js";
59
+ import { collapsibleTheme as Ke } from "./theme/collapsible.js";
60
+ import qe from "./components/Collapsible.js";
61
+ import { fieldBase as Je, inputTheme as Ye, textareaCountTheme as Xe, textareaTheme as Ze } from "./theme/input.js";
62
+ import { colorPickerTheme as Qe } from "./theme/color-picker.js";
63
+ import $e from "./components/ColorPicker.js";
64
+ import { comboboxTheme as et } from "./theme/combobox.js";
65
+ import tt from "./components/Combobox.js";
66
+ import { isApplePlatform as nt, parseHotkey as rt, useApplePlatform as it } from "./composables/kbd.js";
67
+ import { commandHaystack as at, commandId as ot, isCommandGroup as st, matchesHotkey as ct, pushRecent as lt, toCommandGroups as ut } from "./composables/command-palette.js";
68
+ import { commandPaletteTheme as dt } from "./theme/command-palette.js";
69
+ import { kbdTheme as ft } from "./theme/kbd.js";
70
+ import pt from "./components/Kbd.js";
71
+ import mt from "./components/CommandPalette.js";
72
+ import { resolveConfirm as ht, useConfirm as gt, useConfirmState as _t } from "./composables/confirm.js";
73
+ import { dialogTheme as vt } from "./theme/dialog.js";
74
+ import yt from "./components/Dialog.js";
75
+ import bt from "./components/ConfirmDialog.js";
76
+ import { confirmPopoverTheme as xt } from "./theme/confirm-popover.js";
77
+ import { popoverTheme as St } from "./theme/popover.js";
78
+ import Ct from "./components/Popover.js";
79
+ import wt from "./components/ConfirmPopover.js";
80
+ import { containerTheme as Tt } from "./theme/container.js";
81
+ import Et from "./components/Container.js";
82
+ import Dt from "./components/ContextMenu.js";
83
+ import { dateFieldTheme as Ot } from "./theme/date-field.js";
84
+ import kt from "./components/DateField.js";
85
+ import { datePickerTheme as At } from "./theme/date-picker.js";
86
+ import jt from "./components/DatePicker.js";
87
+ import Mt from "./components/DateRangePicker.js";
88
+ import { descriptionListTheme as Nt } from "./theme/description-list.js";
89
+ import Pt from "./components/DescriptionList.js";
90
+ import { donutChartTheme as Ft } from "./theme/donut-chart.js";
91
+ import It from "./components/DonutChart.js";
92
+ import { editableTheme as Lt } from "./theme/editable.js";
93
+ import Rt from "./components/Editable.js";
94
+ import { emptyStateTheme as zt } from "./theme/empty-state.js";
95
+ import Bt from "./components/EmptyState.js";
96
+ import { fileUploadTheme as Vt } from "./theme/file-upload.js";
97
+ import { progressTheme as Ht } from "./theme/progress.js";
98
+ import Ut from "./components/Progress.js";
99
+ import Wt from "./components/FileUpload.js";
100
+ import Gt from "./components/Form.js";
101
+ import { labelTheme as Kt } from "./theme/label.js";
102
+ import qt from "./components/Label.js";
103
+ import Jt from "./components/FormField.js";
104
+ import { hoverCardTheme as Yt } from "./theme/hover-card.js";
105
+ import Xt from "./components/HoverCard.js";
106
+ import Zt from "./components/Input.js";
107
+ import { lineChartTheme as Qt } from "./theme/line-chart.js";
108
+ import $t from "./components/LineChart.js";
109
+ import { menubarTheme as en } from "./theme/menubar.js";
110
+ import tn from "./components/Menubar.js";
111
+ import { isNavigationGroup as nn } from "./composables/navigation-menu.js";
112
+ import { navigationMenuTheme as rn } from "./theme/navigation-menu.js";
113
+ import an from "./components/NavigationMenu.js";
114
+ import { addDecimals as on, clampDecimal as sn, compareDecimals as cn, formatDecimal as ln, formatForLocale as un, isDecimal as dn, localeSeparators as fn, parseDecimal as pn, parseFromLocale as mn, roundDecimal as hn, toEditable as gn } from "./composables/decimal.js";
115
+ import { numberInputTheme as _n } from "./theme/number-input.js";
116
+ import vn from "./components/NumberInput.js";
117
+ import { pageHeaderTheme as yn } from "./theme/page-header.js";
118
+ import bn from "./components/PageHeader.js";
119
+ import { paginationTheme as xn } from "./theme/pagination.js";
120
+ import Sn from "./components/Pagination.js";
121
+ import { passwordInputTheme as Cn } from "./theme/password-input.js";
122
+ import wn from "./components/PasswordInput.js";
123
+ import { pinInputTheme as Tn } from "./theme/pin-input.js";
124
+ import En from "./components/PinInput.js";
125
+ import { radioGroupTheme as Dn } from "./theme/radio-group.js";
126
+ import On from "./components/RadioGroup.js";
127
+ import kn from "./components/Rating.js";
128
+ import { scrollAreaTheme as An } from "./theme/scroll-area.js";
129
+ import jn from "./components/ScrollArea.js";
130
+ import { scrollFadeTheme as Mn } from "./theme/scroll-fade.js";
131
+ import Nn from "./components/ScrollFade.js";
132
+ import { selectTheme as Pn } from "./theme/select.js";
133
+ import Fn from "./components/Select.js";
134
+ import { separatorTheme as In } from "./theme/separator.js";
135
+ import Ln from "./components/Separator.js";
136
+ import { sidebarTheme as Rn } from "./theme/sidebar.js";
137
+ import zn from "./components/Sidebar.js";
138
+ import { hasInk as Bn, strokeWidth as Vn } from "./composables/signature.js";
139
+ import { signaturePadTheme as Hn } from "./theme/signature-pad.js";
140
+ import Un from "./components/SignaturePad.js";
141
+ import { skeletonTheme as Wn } from "./theme/skeleton.js";
142
+ import Gn from "./components/Skeleton.js";
143
+ import { sliderTheme as Kn } from "./theme/slider.js";
144
+ import qn from "./components/Slider.js";
145
+ import { sparklineTheme as Jn } from "./theme/sparkline.js";
146
+ import Yn from "./components/Sparkline.js";
147
+ import { splitterTheme as Xn } from "./theme/splitter.js";
148
+ import Zn from "./components/Splitter.js";
149
+ import { statTheme as Qn } from "./theme/stat.js";
150
+ import $n from "./components/Stat.js";
151
+ import { stepperTheme as er } from "./theme/stepper.js";
152
+ import tr from "./components/Stepper.js";
153
+ import { switchTheme as nr } from "./theme/switch.js";
154
+ import rr from "./components/Switch.js";
155
+ import { getRowValue as ir, useDataTable as ar } from "./composables/data-table.js";
156
+ import { tableTheme as or } from "./theme/table.js";
157
+ import sr from "./components/Table.js";
158
+ import { tabsTheme as cr } from "./theme/tabs.js";
159
+ import lr from "./components/Tabs.js";
160
+ import { tagsInputTheme as ur } from "./theme/tags-input.js";
161
+ import dr from "./components/TagsInput.js";
162
+ import fr from "./components/Textarea.js";
163
+ import { timeFieldTheme as pr } from "./theme/time-field.js";
164
+ import mr from "./components/TimeField.js";
165
+ import { timelineTheme as hr } from "./theme/timeline.js";
166
+ import gr from "./components/Timeline.js";
167
+ import { useToast as _r, useToastState as vr } from "./composables/toast.js";
168
+ import { toastTheme as yr } from "./theme/toast.js";
169
+ import br from "./components/Toaster.js";
170
+ import { toggleGroupTheme as xr, toggleTheme as Sr } from "./theme/toggle.js";
171
+ import Cr from "./components/Toggle.js";
172
+ import wr from "./components/ToggleGroup.js";
173
+ import { toolbarTheme as Tr } from "./theme/toolbar.js";
174
+ import Er from "./components/Toolbar.js";
175
+ import { treeTheme as Dr } from "./theme/tree.js";
176
+ import Or from "./components/Tree.js";
177
+ import { IryxUi as kr, createIryxUi as Ar } from "./plugin.js";
178
+ export { K as AXIS_GAP, s as Accordion, l as Alert, h as App, w as AppShell, T as AspectRatio, j as AuthProviders, P as Avatar, L as AvatarGroup, z as Badge, V as Banner, ue as BarChart, ge as Breadcrumb, A as Button, ve as ButtonGroup, q as CATEGORY_HEIGHT, J as CHAR_WIDTH, ke as Calendar, ye as CalendarDate, je as Card, Pe as Carousel, le as ChartLegend, Ue as Checkbox, Ge as Code, qe as Collapsible, $e as ColorPicker, tt as Combobox, mt as CommandPalette, bt as ConfirmDialog, wt as ConfirmPopover, Et as Container, Dt as ContextMenu, kt as DateField, jt as DatePicker, Mt as DateRangePicker, Pt as DescriptionList, yt as Dialog, It as DonutChart, C as Drawer, he as DropdownMenu, Rt as Editable, Bt as EmptyState, Wt as FileUpload, Gt as Form, Jt as FormField, Xt as HoverCard, o as Icon, Zt as Input, kr as IryxUi, pt as Kbd, qt as Label, $t as LineChart, tn as Menubar, an as NavigationMenu, vn as NumberInput, bn as PageHeader, Sn as Pagination, wn as PasswordInput, En as PinInput, Ct as Popover, Ut as Progress, re as REVEAL_DURATION, On as RadioGroup, kn as Rating, Y as SERIES_SLOTS, jn as ScrollArea, Nn as ScrollFade, Fn as Select, Ln as Separator, zn as Sidebar, Un as SignaturePad, Gn as Skeleton, qn as Slider, Yn as Sparkline, Zn as Splitter, $n as Stat, tr as Stepper, rr as Switch, X as TOP_PAD, sr as Table, lr as Tabs, dr as TagsInput, fr as Textarea, be as Time, mr as TimeField, gr as Timeline, br as Toaster, Cr as Toggle, wr as ToggleGroup, Er as Toolbar, I as Tooltip, Or as Tree, i as accordionTheme, on as addDecimals, c as alertTheme, x as appShellTheme, f as applyTheme, E as authProvidersTheme, M as avatarGroupTheme, N as avatarTheme, R as badgeTheme, B as bannerTheme, se as barChartTheme, de as breadcrumbTheme, D as buttonGroupContextKey, _e as buttonGroupTheme, k as buttonTheme, Oe as calendarTheme, Ae as cardTheme, Z as cartesianLayout, ce as chartLegendTheme, He as checkboxTheme, sn as clampDecimal, Q as clampTooltip, p as clearTheme, We as codeTheme, Ke as collapsibleTheme, Qe as colorPickerTheme, et as comboboxTheme, at as commandHaystack, ot as commandId, dt as commandPaletteTheme, xe as commonDateRangePresets, cn as compareDecimals, e as componentNames, xt as confirmPopoverTheme, Tt as containerTheme, Ar as createIryxUi, Ot as dateFieldTheme, At as datePickerTheme, t as defaultConfig, Nt as descriptionListTheme, vt as dialogTheme, Ft as donutChartTheme, S as drawerTheme, fe as dropdownMenuTheme, Lt as editableTheme, zt as emptyStateTheme, H as extent, Je as fieldBase, Vt as fileUploadTheme, U as finiteValues, Fe as formContextKey, Ie as formFieldContextKey, ln as formatDecimal, un as formatForLocale, Se as formatIsoDate, Le as getByPath, ir as getRowValue, Bn as hasInk, Yt as hoverCardTheme, u as initAppearance, Ye as inputTheme, n as iryxUiConfigKey, nt as isApplePlatform, st as isCommandGroup, dn as isDecimal, a as isIconArray, nn as isNavigationGroup, pe as isSeparator, _ as isSidebarGroup, v as isSidebarSection, Re as isStandardSchema, me as isSubmenu, Ce as isoToday, ze as issuePath, ft as kbdTheme, Kt as labelTheme, Qt as lineChartTheme, W as linearScale, fn as localeSeparators, ct as matchesHotkey, en as menubarTheme, rn as navigationMenuTheme, G as niceTicks, _n as numberInputTheme, yn as pageHeaderTheme, xn as paginationTheme, pn as parseDecimal, mn as parseFromLocale, rt as parseHotkey, Cn as passwordInputTheme, Tn as pinInputTheme, St as popoverTheme, Ht as progressTheme, lt as pushRecent, Dn as radioGroupTheme, ht as resolveConfirm, hn as roundDecimal, An as scrollAreaTheme, Me as scrollFadeMask, Mn as scrollFadeTheme, Pn as selectTheme, In as separatorTheme, $ as seriesColor, y as sidebarPlacementKey, Rn as sidebarTheme, Hn as signaturePadTheme, Wn as skeletonTheme, Kn as sliderTheme, ee as slotOf, Jn as sparklineTheme, Xn as splitterTheme, Qn as statTheme, er as stepperTheme, Vn as strokeWidth, nr as switchTheme, or as tableTheme, cr as tabsTheme, ur as tagsInputTheme, Xe as textareaCountTheme, Ze as textareaTheme, m as themes, pr as timeFieldTheme, hr as timelineTheme, we as toCalendarDate, ut as toCommandGroups, gn as toEditable, Te as toIsoDate, Ee as toIsoTime, b as toSidebarSections, De as toTime, yr as toastTheme, xr as toggleGroupTheme, Sr as toggleTheme, Tr as toolbarTheme, te as tooltipHalfWidth, F as tooltipTheme, Dr as treeTheme, d as useAppearance, it as useApplePlatform, O as useButtonGroup, ie as useChartAnimation, ae as useChartProgress, oe as useChartReveal, gt as useConfirm, _t as useConfirmState, ar as useDataTable, g as useElementSize, Be as useForm, Ve as useFormField, r as useIryxUiConfig, Ne as useScrollEdges, _r as useToast, vr as useToastState, ne as warnOnSlotOverflow };