iryx-ui 0.26.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.
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, commonDateRangePresets as _e, formatIsoDate as ve, isoToday as ye, toCalendarDate as be, toIsoDate as xe, toIsoTime as Se, toTime as Ce } from "./composables/date.js";
47
- import { calendarTheme as we } from "./theme/calendar.js";
48
- import Te from "./components/Calendar.js";
49
- import { cardTheme as Ee } from "./theme/card.js";
50
- import De from "./components/Card.js";
51
- import { scrollFadeMask as Oe, useScrollEdges as ke } from "./composables/scroll-fade.js";
52
- import Ae from "./components/Carousel.js";
53
- import { formContextKey as je, formFieldContextKey as Me, getByPath as Ne, isStandardSchema as Pe, issuePath as Fe, useForm as Ie, useFormField as Le } from "./composables/form.js";
54
- import { checkboxTheme as Re } from "./theme/checkbox.js";
55
- import ze from "./components/Checkbox.js";
56
- import { codeTheme as Be } from "./theme/code.js";
57
- import Ve from "./components/Code.js";
58
- import { collapsibleTheme as He } from "./theme/collapsible.js";
59
- import Ue from "./components/Collapsible.js";
60
- import { fieldBase as We, inputTheme as Ge, textareaCountTheme as Ke, textareaTheme as qe } from "./theme/input.js";
61
- import { colorPickerTheme as Je } from "./theme/color-picker.js";
62
- import Ye from "./components/ColorPicker.js";
63
- import { comboboxTheme as Xe } from "./theme/combobox.js";
64
- import Ze from "./components/Combobox.js";
65
- import { isApplePlatform as Qe, parseHotkey as $e, useApplePlatform as et } from "./composables/kbd.js";
66
- import { commandHaystack as tt, commandId as nt, isCommandGroup as rt, matchesHotkey as it, pushRecent as at, toCommandGroups as ot } from "./composables/command-palette.js";
67
- import { commandPaletteTheme as st } from "./theme/command-palette.js";
68
- import { kbdTheme as ct } from "./theme/kbd.js";
69
- import lt from "./components/Kbd.js";
70
- import ut from "./components/CommandPalette.js";
71
- import { resolveConfirm as dt, useConfirm as ft, useConfirmState as pt } from "./composables/confirm.js";
72
- import { dialogTheme as mt } from "./theme/dialog.js";
73
- import ht from "./components/Dialog.js";
74
- import gt from "./components/ConfirmDialog.js";
75
- import { confirmPopoverTheme as _t } from "./theme/confirm-popover.js";
76
- import { popoverTheme as vt } from "./theme/popover.js";
77
- import yt from "./components/Popover.js";
78
- import bt from "./components/ConfirmPopover.js";
79
- import { containerTheme as xt } from "./theme/container.js";
80
- import St from "./components/Container.js";
81
- import Ct from "./components/ContextMenu.js";
82
- import { dateFieldTheme as wt } from "./theme/date-field.js";
83
- import Tt from "./components/DateField.js";
84
- import { datePickerTheme as Et } from "./theme/date-picker.js";
85
- import Dt from "./components/DatePicker.js";
86
- import Ot from "./components/DateRangePicker.js";
87
- import { descriptionListTheme as kt } from "./theme/description-list.js";
88
- import At from "./components/DescriptionList.js";
89
- import { donutChartTheme as jt } from "./theme/donut-chart.js";
90
- import Mt from "./components/DonutChart.js";
91
- import { editableTheme as Nt } from "./theme/editable.js";
92
- import Pt from "./components/Editable.js";
93
- import { emptyStateTheme as Ft } from "./theme/empty-state.js";
94
- import It from "./components/EmptyState.js";
95
- import { fileUploadTheme as Lt } from "./theme/file-upload.js";
96
- import { progressTheme as Rt } from "./theme/progress.js";
97
- import zt from "./components/Progress.js";
98
- import Bt from "./components/FileUpload.js";
99
- import Vt from "./components/Form.js";
100
- import { labelTheme as Ht } from "./theme/label.js";
101
- import Ut from "./components/Label.js";
102
- import Wt from "./components/FormField.js";
103
- import { hoverCardTheme as Gt } from "./theme/hover-card.js";
104
- import Kt from "./components/HoverCard.js";
105
- import qt from "./components/Input.js";
106
- import { lineChartTheme as Jt } from "./theme/line-chart.js";
107
- import Yt from "./components/LineChart.js";
108
- import { menubarTheme as Xt } from "./theme/menubar.js";
109
- import Zt from "./components/Menubar.js";
110
- import { isNavigationGroup as Qt } from "./composables/navigation-menu.js";
111
- import { navigationMenuTheme as $t } from "./theme/navigation-menu.js";
112
- import en from "./components/NavigationMenu.js";
113
- import { addDecimals as tn, clampDecimal as nn, compareDecimals as rn, formatDecimal as an, formatForLocale as on, isDecimal as sn, localeSeparators as cn, parseDecimal as ln, parseFromLocale as un, roundDecimal as dn, toEditable as fn } from "./composables/decimal.js";
114
- import { numberInputTheme as pn } from "./theme/number-input.js";
115
- import mn from "./components/NumberInput.js";
116
- import { pageHeaderTheme as hn } from "./theme/page-header.js";
117
- import gn from "./components/PageHeader.js";
118
- import { paginationTheme as _n } from "./theme/pagination.js";
119
- import vn from "./components/Pagination.js";
120
- import { passwordInputTheme as yn } from "./theme/password-input.js";
121
- import bn from "./components/PasswordInput.js";
122
- import { pinInputTheme as xn } from "./theme/pin-input.js";
123
- import Sn from "./components/PinInput.js";
124
- import { radioGroupTheme as Cn } from "./theme/radio-group.js";
125
- import wn from "./components/RadioGroup.js";
126
- import Tn from "./components/Rating.js";
127
- import { scrollAreaTheme as En } from "./theme/scroll-area.js";
128
- import Dn from "./components/ScrollArea.js";
129
- import { scrollFadeTheme as On } from "./theme/scroll-fade.js";
130
- import kn from "./components/ScrollFade.js";
131
- import { selectTheme as An } from "./theme/select.js";
132
- import jn from "./components/Select.js";
133
- import { separatorTheme as Mn } from "./theme/separator.js";
134
- import Nn from "./components/Separator.js";
135
- import { isSidebarGroup as Pn, isSidebarSection as Fn, toSidebarSections as In } from "./composables/sidebar.js";
136
- import { sidebarTheme as Ln } from "./theme/sidebar.js";
137
- import Rn from "./components/Sidebar.js";
138
- import { hasInk as zn, strokeWidth as Bn } from "./composables/signature.js";
139
- import { signaturePadTheme as Vn } from "./theme/signature-pad.js";
140
- import Hn from "./components/SignaturePad.js";
141
- import { skeletonTheme as Un } from "./theme/skeleton.js";
142
- import Wn from "./components/Skeleton.js";
143
- import { sliderTheme as Gn } from "./theme/slider.js";
144
- import Kn from "./components/Slider.js";
145
- import { sparklineTheme as qn } from "./theme/sparkline.js";
146
- import Jn from "./components/Sparkline.js";
147
- import { splitterTheme as Yn } from "./theme/splitter.js";
148
- import Xn from "./components/Splitter.js";
149
- import { statTheme as Zn } from "./theme/stat.js";
150
- import Qn from "./components/Stat.js";
151
- import { stepperTheme as $n } from "./theme/stepper.js";
152
- import er from "./components/Stepper.js";
153
- import { switchTheme as tr } from "./theme/switch.js";
154
- import nr from "./components/Switch.js";
155
- import { getRowValue as rr, useDataTable as ir } from "./composables/data-table.js";
156
- import { tableTheme as ar } from "./theme/table.js";
157
- import or from "./components/Table.js";
158
- import { tabsTheme as sr } from "./theme/tabs.js";
159
- import cr from "./components/Tabs.js";
160
- import { tagsInputTheme as lr } from "./theme/tags-input.js";
161
- import ur from "./components/TagsInput.js";
162
- import dr from "./components/Textarea.js";
163
- import { timeFieldTheme as fr } from "./theme/time-field.js";
164
- import pr from "./components/TimeField.js";
165
- import { timelineTheme as mr } from "./theme/timeline.js";
166
- import hr from "./components/Timeline.js";
167
- import { useToast as gr, useToastState as _r } from "./composables/toast.js";
168
- import { toastTheme as vr } from "./theme/toast.js";
169
- import yr from "./components/Toaster.js";
170
- import { toggleGroupTheme as br, toggleTheme as xr } from "./theme/toggle.js";
171
- import Sr from "./components/Toggle.js";
172
- import Cr from "./components/ToggleGroup.js";
173
- import { toolbarTheme as wr } from "./theme/toolbar.js";
174
- import Tr from "./components/Toolbar.js";
175
- import { treeTheme as Er } from "./theme/tree.js";
176
- import Dr from "./components/Tree.js";
177
- import { IryxUi as Or, createIryxUi as kr } 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, Te as Calendar, he as CalendarDate, De as Card, Ae as Carousel, ae as ChartLegend, ze as Checkbox, Ve as Code, Ue as Collapsible, Ye as ColorPicker, Ze as Combobox, ut as CommandPalette, gt as ConfirmDialog, bt as ConfirmPopover, St as Container, Ct as ContextMenu, Tt as DateField, Dt as DatePicker, Ot as DateRangePicker, At as DescriptionList, ht as Dialog, Mt as DonutChart, y as Drawer, de as DropdownMenu, Pt as Editable, It as EmptyState, Bt as FileUpload, Vt as Form, Wt as FormField, Kt as HoverCard, o as Icon, qt as Input, Or as IryxUi, lt as Kbd, Ut as Label, Yt as LineChart, Zt as Menubar, en as NavigationMenu, mn as NumberInput, gn as PageHeader, vn as Pagination, bn as PasswordInput, Sn as PinInput, yt as Popover, zt as Progress, $ as REVEAL_DURATION, wn as RadioGroup, Tn as Rating, G as SERIES_SLOTS, Dn as ScrollArea, kn as ScrollFade, jn as Select, Nn as Separator, Rn as Sidebar, Hn as SignaturePad, Wn as Skeleton, Kn as Slider, Jn as Sparkline, Xn as Splitter, Qn as Stat, er as Stepper, nr as Switch, K as TOP_PAD, or as Table, cr as Tabs, ur as TagsInput, dr as Textarea, ge as Time, pr as TimeField, hr as Timeline, yr as Toaster, Sr as Toggle, Cr as ToggleGroup, Tr as Toolbar, M as Tooltip, Dr as Tree, i as accordionTheme, tn 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, we as calendarTheme, Ee as cardTheme, q as cartesianLayout, ie as chartLegendTheme, Re as checkboxTheme, nn as clampDecimal, J as clampTooltip, p as clearTheme, Be as codeTheme, He as collapsibleTheme, Je as colorPickerTheme, Xe as comboboxTheme, tt as commandHaystack, nt as commandId, st as commandPaletteTheme, _e as commonDateRangePresets, rn as compareDecimals, e as componentNames, _t as confirmPopoverTheme, xt as containerTheme, kr as createIryxUi, wt as dateFieldTheme, Et as datePickerTheme, t as defaultConfig, kt as descriptionListTheme, mt as dialogTheme, jt as donutChartTheme, v as drawerTheme, ce as dropdownMenuTheme, Nt as editableTheme, Ft as emptyStateTheme, R as extent, We as fieldBase, Lt as fileUploadTheme, z as finiteValues, je as formContextKey, Me as formFieldContextKey, an as formatDecimal, on as formatForLocale, ve as formatIsoDate, Ne as getByPath, rr as getRowValue, zn as hasInk, Gt as hoverCardTheme, u as initAppearance, Ge as inputTheme, n as iryxUiConfigKey, Qe as isApplePlatform, rt as isCommandGroup, sn as isDecimal, a as isIconArray, Qt as isNavigationGroup, le as isSeparator, Pn as isSidebarGroup, Fn as isSidebarSection, Pe as isStandardSchema, ue as isSubmenu, ye as isoToday, Fe as issuePath, ct as kbdTheme, Ht as labelTheme, Jt as lineChartTheme, B as linearScale, cn as localeSeparators, it as matchesHotkey, Xt as menubarTheme, $t as navigationMenuTheme, V as niceTicks, pn as numberInputTheme, hn as pageHeaderTheme, _n as paginationTheme, ln as parseDecimal, un as parseFromLocale, $e as parseHotkey, yn as passwordInputTheme, xn as pinInputTheme, vt as popoverTheme, Rt as progressTheme, at as pushRecent, Cn as radioGroupTheme, dt as resolveConfirm, dn as roundDecimal, En as scrollAreaTheme, Oe as scrollFadeMask, On as scrollFadeTheme, An as selectTheme, Mn as separatorTheme, Y as seriesColor, Ln as sidebarTheme, Vn as signaturePadTheme, Un as skeletonTheme, Gn as sliderTheme, X as slotOf, qn as sparklineTheme, Yn as splitterTheme, Zn as statTheme, $n as stepperTheme, Bn as strokeWidth, tr as switchTheme, ar as tableTheme, sr as tabsTheme, lr as tagsInputTheme, Ke as textareaCountTheme, qe as textareaTheme, m as themes, fr as timeFieldTheme, mr as timelineTheme, be as toCalendarDate, ot as toCommandGroups, fn as toEditable, xe as toIsoDate, Se as toIsoTime, In as toSidebarSections, Ce as toTime, vr as toastTheme, br as toggleGroupTheme, xr as toggleTheme, wr as toolbarTheme, Z as tooltipHalfWidth, j as tooltipTheme, Er as treeTheme, d as useAppearance, et as useApplePlatform, w as useButtonGroup, ee as useChartAnimation, te as useChartProgress, ne as useChartReveal, ft as useConfirm, pt as useConfirmState, ir as useDataTable, g as useElementSize, Ie as useForm, Le as useFormField, r as useIryxUiConfig, ke as useScrollEdges, gr as useToast, _r 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 };
@@ -2,11 +2,13 @@ export declare const appShellTheme: import("tailwind-variants").TVReturnType<{
2
2
  scroll: {
3
3
  main: {
4
4
  root: string;
5
+ panel: string;
5
6
  main: string;
6
7
  };
7
8
  page: {
8
9
  root: string;
9
10
  header: string;
11
+ headerRow: string;
10
12
  sidebar: string;
11
13
  };
12
14
  };
@@ -25,14 +27,19 @@ export declare const appShellTheme: import("tailwind-variants").TVReturnType<{
25
27
  body: string;
26
28
  };
27
29
  };
30
+ hasSidebar: {
31
+ true: {};
32
+ false: {};
33
+ };
28
34
  }, {
29
35
  root: string;
36
+ body: string;
37
+ sidebar: string;
38
+ panel: string;
30
39
  header: string;
31
40
  headerRow: string;
32
41
  headerContent: string;
33
42
  navTrigger: string;
34
- body: string;
35
- sidebar: string;
36
43
  main: string;
37
44
  footer: string;
38
45
  navDrawer: string;
@@ -41,11 +48,13 @@ export declare const appShellTheme: import("tailwind-variants").TVReturnType<{
41
48
  scroll: {
42
49
  main: {
43
50
  root: string;
51
+ panel: string;
44
52
  main: string;
45
53
  };
46
54
  page: {
47
55
  root: string;
48
56
  header: string;
57
+ headerRow: string;
49
58
  sidebar: string;
50
59
  };
51
60
  };
@@ -64,14 +73,19 @@ export declare const appShellTheme: import("tailwind-variants").TVReturnType<{
64
73
  body: string;
65
74
  };
66
75
  };
76
+ hasSidebar: {
77
+ true: {};
78
+ false: {};
79
+ };
67
80
  }, {
68
81
  root: string;
82
+ body: string;
83
+ sidebar: string;
84
+ panel: string;
69
85
  header: string;
70
86
  headerRow: string;
71
87
  headerContent: string;
72
88
  navTrigger: string;
73
- body: string;
74
- sidebar: string;
75
89
  main: string;
76
90
  footer: string;
77
91
  navDrawer: string;
@@ -80,11 +94,13 @@ export declare const appShellTheme: import("tailwind-variants").TVReturnType<{
80
94
  scroll: {
81
95
  main: {
82
96
  root: string;
97
+ panel: string;
83
98
  main: string;
84
99
  };
85
100
  page: {
86
101
  root: string;
87
102
  header: string;
103
+ headerRow: string;
88
104
  sidebar: string;
89
105
  };
90
106
  };
@@ -103,14 +119,19 @@ export declare const appShellTheme: import("tailwind-variants").TVReturnType<{
103
119
  body: string;
104
120
  };
105
121
  };
122
+ hasSidebar: {
123
+ true: {};
124
+ false: {};
125
+ };
106
126
  }, {
107
127
  root: string;
128
+ body: string;
129
+ sidebar: string;
130
+ panel: string;
108
131
  header: string;
109
132
  headerRow: string;
110
133
  headerContent: string;
111
134
  navTrigger: string;
112
- body: string;
113
- sidebar: string;
114
135
  main: string;
115
136
  footer: string;
116
137
  navDrawer: string;
@@ -2,15 +2,16 @@ import { tv as e } from "tailwind-variants";
2
2
  //#region src/theme/app-shell.ts
3
3
  var t = e({
4
4
  slots: {
5
- root: "flex w-full flex-col bg-background text-foreground",
6
- header: "z-30 shrink-0",
5
+ root: "flex w-full flex-col bg-canvas text-foreground",
6
+ body: "flex min-h-0 w-full flex-1",
7
+ sidebar: "shrink-0",
8
+ panel: "flex min-w-0 flex-1 flex-col bg-background md:m-2 md:rounded-xl md:border md:border-border md:shadow-xs",
9
+ header: "z-30 shrink-0 border-b border-border bg-background md:rounded-t-xl",
7
10
  headerRow: "flex w-full items-center",
8
11
  headerContent: "min-w-0 flex-1",
9
12
  navTrigger: "ms-2 inline-flex size-9 shrink-0 cursor-pointer items-center justify-center rounded-lg text-muted-foreground transition-[color,background-color,border-color,box-shadow] outline-none hover:bg-accent hover:text-accent-foreground focus-visible:ring-2 focus-visible:ring-primary/50 [&_svg]:size-5",
10
- body: "flex min-h-0 w-full flex-1",
11
- sidebar: "shrink-0",
12
13
  main: "flex min-w-0 flex-1 flex-col",
13
- footer: "shrink-0",
14
+ footer: "shrink-0 border-t border-border",
14
15
  navDrawer: "",
15
16
  navDrawerBody: "p-0 pt-12 [&>*]:h-full [&>*]:w-full [&>*]:border-0"
16
17
  },
@@ -18,12 +19,14 @@ var t = e({
18
19
  scroll: {
19
20
  main: {
20
21
  root: "h-svh overflow-hidden",
21
- main: "overflow-y-auto"
22
+ panel: "min-h-0 overflow-hidden",
23
+ main: "min-h-0 overflow-y-auto"
22
24
  },
23
25
  page: {
24
26
  root: "min-h-svh",
25
- header: "sticky top-0",
26
- sidebar: "sticky top-[var(--iryx-shell-header-height,0px)] h-[calc(100svh-var(--iryx-shell-header-height,0px))] self-start overflow-y-auto"
27
+ header: "sticky top-0 border-b-0 bg-canvas md:-mx-px md:-mt-[9px] md:rounded-none md:pt-2",
28
+ headerRow: "border-b border-border bg-background md:overflow-hidden md:rounded-t-xl md:border-x md:border-t",
29
+ sidebar: "sticky top-0 h-svh self-start overflow-y-auto"
27
30
  }
28
31
  },
29
32
  mobileNav: {
@@ -36,11 +39,25 @@ var t = e({
36
39
  sidebarPosition: {
37
40
  left: {},
38
41
  right: { body: "flex-row-reverse" }
42
+ },
43
+ hasSidebar: {
44
+ true: {},
45
+ false: {}
39
46
  }
40
47
  },
48
+ compoundVariants: [{
49
+ hasSidebar: !0,
50
+ sidebarPosition: "left",
51
+ class: { panel: "md:ms-0" }
52
+ }, {
53
+ hasSidebar: !0,
54
+ sidebarPosition: "right",
55
+ class: { panel: "md:me-0" }
56
+ }],
41
57
  defaultVariants: {
42
58
  scroll: "main",
43
- sidebarPosition: "left"
59
+ sidebarPosition: "left",
60
+ hasSidebar: !1
44
61
  }
45
62
  });
46
63
  //#endregion
@@ -2,7 +2,7 @@ import { tv as e } from "tailwind-variants";
2
2
  //#region src/theme/avatar.ts
3
3
  var t = e({
4
4
  slots: {
5
- root: "relative inline-flex shrink-0 items-center justify-center bg-muted align-middle select-none",
5
+ root: "relative inline-flex shrink-0 items-center justify-center bg-foreground/8 align-middle select-none",
6
6
  image: "size-full rounded-[inherit] object-cover",
7
7
  fallback: "flex size-full items-center justify-center overflow-hidden rounded-[inherit] font-medium text-muted-foreground uppercase",
8
8
  status: "absolute right-0 bottom-0 rounded-full ring-2 ring-background"
@@ -1,5 +1,6 @@
1
1
  export interface ThemeColors {
2
2
  background?: string;
3
+ canvas?: string;
3
4
  foreground?: string;
4
5
  primary?: string;
5
6
  primaryForeground?: string;
@@ -1,6 +1,7 @@
1
1
  //#region src/theme/presets.ts
2
2
  var e = {
3
3
  background: "--iryx-background",
4
+ canvas: "--iryx-canvas",
4
5
  foreground: "--iryx-foreground",
5
6
  primary: "--iryx-primary",
6
7
  primaryForeground: "--iryx-primary-foreground",