iryx-ui 0.27.0 → 0.29.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 { 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 };
13
+ import { isSidebarGroup as _, isSidebarSection as v, sidebarCollapsedCookie as y, sidebarCollapsedKey as b, sidebarPlacementKey as x, toSidebarSections as S, useSidebarCollapsed as C } from "./composables/sidebar.js";
14
+ import { appShellTheme as w } from "./theme/app-shell.js";
15
+ import { drawerTheme as T } from "./theme/drawer.js";
16
+ import E from "./components/Drawer.js";
17
+ import D from "./components/AppShell.js";
18
+ import O from "./components/AspectRatio.js";
19
+ import { authProvidersTheme as k } from "./theme/auth-providers.js";
20
+ import { buttonGroupContextKey as A, useButtonGroup as j } from "./composables/button-group.js";
21
+ import { buttonTheme as M } from "./theme/button.js";
22
+ import N from "./components/Button.js";
23
+ import P from "./components/AuthProviders.js";
24
+ import { avatarGroupTheme as F, avatarTheme as I } from "./theme/avatar.js";
25
+ import L from "./components/Avatar.js";
26
+ import { tooltipTheme as R } from "./theme/tooltip.js";
27
+ import z from "./components/Tooltip.js";
28
+ import B from "./components/AvatarGroup.js";
29
+ import { badgeTheme as V } from "./theme/badge.js";
30
+ import H from "./components/Badge.js";
31
+ import { bannerTheme as U } from "./theme/banner.js";
32
+ import W from "./components/Banner.js";
33
+ import { extent as G, finiteValues as K, linearScale as q, niceTicks as J } from "./composables/scale.js";
34
+ import { AXIS_GAP as Y, CATEGORY_HEIGHT as X, CHAR_WIDTH as Z, SERIES_SLOTS as Q, TOP_PAD as $, cartesianLayout as ee, clampTooltip as te, seriesColor as ne, slotOf as re, tooltipHalfWidth as ie, warnOnSlotOverflow as ae } from "./composables/cartesian.js";
35
+ import { REVEAL_DURATION as oe, useChartAnimation as se, useChartProgress as ce, useChartReveal as le } from "./composables/chart-reveal.js";
36
+ import { barChartTheme as ue } from "./theme/bar-chart.js";
37
+ import { chartLegendTheme as de } from "./theme/chart-legend.js";
38
+ import fe from "./components/ChartLegend.js";
39
+ import pe from "./components/BarChart.js";
40
+ import { breadcrumbTheme as me } from "./theme/breadcrumb.js";
41
+ import { dropdownMenuTheme as he } from "./theme/dropdown-menu.js";
42
+ import { isSeparator as ge, isSubmenu as _e } from "./composables/dropdown-menu.js";
43
+ import ve from "./components/DropdownMenu.js";
44
+ import ye from "./components/Breadcrumb.js";
45
+ import { buttonGroupTheme as be } from "./theme/button-group.js";
46
+ import xe from "./components/ButtonGroup.js";
47
+ import { CalendarDate as Se, Time as Ce, commonDateRangePresets as we, formatIsoDate as Te, isoToday as Ee, toCalendarDate as De, toIsoDate as Oe, toIsoTime as ke, toTime as Ae } from "./composables/date.js";
48
+ import { calendarTheme as je } from "./theme/calendar.js";
49
+ import Me from "./components/Calendar.js";
50
+ import { cardTheme as Ne } from "./theme/card.js";
51
+ import Pe from "./components/Card.js";
52
+ import { scrollFadeMask as Fe, useScrollEdges as Ie } from "./composables/scroll-fade.js";
53
+ import Le from "./components/Carousel.js";
54
+ import { formContextKey as Re, formFieldContextKey as ze, getByPath as Be, isStandardSchema as Ve, issuePath as He, useForm as Ue, useFormField as We } from "./composables/form.js";
55
+ import { checkboxTheme as Ge } from "./theme/checkbox.js";
56
+ import Ke from "./components/Checkbox.js";
57
+ import { codeTheme as qe } from "./theme/code.js";
58
+ import Je from "./components/Code.js";
59
+ import { collapsibleTheme as Ye } from "./theme/collapsible.js";
60
+ import Xe from "./components/Collapsible.js";
61
+ import { fieldBase as Ze, inputTheme as Qe, textareaCountTheme as $e, textareaTheme as et } from "./theme/input.js";
62
+ import { colorPickerTheme as tt } from "./theme/color-picker.js";
63
+ import nt from "./components/ColorPicker.js";
64
+ import { comboboxTheme as rt } from "./theme/combobox.js";
65
+ import it from "./components/Combobox.js";
66
+ import { isApplePlatform as at, parseHotkey as ot, useApplePlatform as st } from "./composables/kbd.js";
67
+ import { commandHaystack as ct, commandId as lt, isCommandGroup as ut, matchesHotkey as dt, pushRecent as ft, toCommandGroups as pt } from "./composables/command-palette.js";
68
+ import { commandPaletteTheme as mt } from "./theme/command-palette.js";
69
+ import { kbdTheme as ht } from "./theme/kbd.js";
70
+ import gt from "./components/Kbd.js";
71
+ import _t from "./components/CommandPalette.js";
72
+ import { resolveConfirm as vt, useConfirm as yt, useConfirmState as bt } from "./composables/confirm.js";
73
+ import { dialogTheme as xt } from "./theme/dialog.js";
74
+ import St from "./components/Dialog.js";
75
+ import Ct from "./components/ConfirmDialog.js";
76
+ import { confirmPopoverTheme as wt } from "./theme/confirm-popover.js";
77
+ import { popoverTheme as Tt } from "./theme/popover.js";
78
+ import Et from "./components/Popover.js";
79
+ import Dt from "./components/ConfirmPopover.js";
80
+ import { containerTheme as Ot } from "./theme/container.js";
81
+ import kt from "./components/Container.js";
82
+ import At from "./components/ContextMenu.js";
83
+ import { dateFieldTheme as jt } from "./theme/date-field.js";
84
+ import Mt from "./components/DateField.js";
85
+ import { datePickerTheme as Nt } from "./theme/date-picker.js";
86
+ import Pt from "./components/DatePicker.js";
87
+ import Ft from "./components/DateRangePicker.js";
88
+ import { descriptionListTheme as It } from "./theme/description-list.js";
89
+ import Lt from "./components/DescriptionList.js";
90
+ import { donutChartTheme as Rt } from "./theme/donut-chart.js";
91
+ import zt from "./components/DonutChart.js";
92
+ import { editableTheme as Bt } from "./theme/editable.js";
93
+ import Vt from "./components/Editable.js";
94
+ import { emptyStateTheme as Ht } from "./theme/empty-state.js";
95
+ import Ut from "./components/EmptyState.js";
96
+ import { fileUploadTheme as Wt } from "./theme/file-upload.js";
97
+ import { progressTheme as Gt } from "./theme/progress.js";
98
+ import Kt from "./components/Progress.js";
99
+ import qt from "./components/FileUpload.js";
100
+ import Jt from "./components/Form.js";
101
+ import { labelTheme as Yt } from "./theme/label.js";
102
+ import Xt from "./components/Label.js";
103
+ import Zt from "./components/FormField.js";
104
+ import { hoverCardTheme as Qt } from "./theme/hover-card.js";
105
+ import $t from "./components/HoverCard.js";
106
+ import en from "./components/Input.js";
107
+ import { lineChartTheme as tn } from "./theme/line-chart.js";
108
+ import nn from "./components/LineChart.js";
109
+ import { menubarTheme as rn } from "./theme/menubar.js";
110
+ import an from "./components/Menubar.js";
111
+ import { isNavigationGroup as on } from "./composables/navigation-menu.js";
112
+ import { navigationMenuTheme as sn } from "./theme/navigation-menu.js";
113
+ import cn from "./components/NavigationMenu.js";
114
+ import { addDecimals as ln, clampDecimal as un, compareDecimals as dn, formatDecimal as fn, formatForLocale as pn, isDecimal as mn, localeSeparators as hn, parseDecimal as gn, parseFromLocale as _n, roundDecimal as vn, toEditable as yn } from "./composables/decimal.js";
115
+ import { numberInputTheme as bn } from "./theme/number-input.js";
116
+ import xn from "./components/NumberInput.js";
117
+ import { pageHeaderTheme as Sn } from "./theme/page-header.js";
118
+ import Cn from "./components/PageHeader.js";
119
+ import { paginationTheme as wn } from "./theme/pagination.js";
120
+ import Tn from "./components/Pagination.js";
121
+ import { passwordInputTheme as En } from "./theme/password-input.js";
122
+ import Dn from "./components/PasswordInput.js";
123
+ import { pinInputTheme as On } from "./theme/pin-input.js";
124
+ import kn from "./components/PinInput.js";
125
+ import { radioGroupTheme as An } from "./theme/radio-group.js";
126
+ import jn from "./components/RadioGroup.js";
127
+ import Mn from "./components/Rating.js";
128
+ import { scrollAreaTheme as Nn } from "./theme/scroll-area.js";
129
+ import Pn from "./components/ScrollArea.js";
130
+ import { scrollFadeTheme as Fn } from "./theme/scroll-fade.js";
131
+ import In from "./components/ScrollFade.js";
132
+ import { selectTheme as Ln } from "./theme/select.js";
133
+ import Rn from "./components/Select.js";
134
+ import { separatorTheme as zn } from "./theme/separator.js";
135
+ import Bn from "./components/Separator.js";
136
+ import { sidebarTheme as Vn } from "./theme/sidebar.js";
137
+ import Hn from "./components/Sidebar.js";
138
+ import { hasInk as Un, strokeWidth as Wn } from "./composables/signature.js";
139
+ import { signaturePadTheme as Gn } from "./theme/signature-pad.js";
140
+ import Kn from "./components/SignaturePad.js";
141
+ import { skeletonTheme as qn } from "./theme/skeleton.js";
142
+ import Jn from "./components/Skeleton.js";
143
+ import { sliderTheme as Yn } from "./theme/slider.js";
144
+ import Xn from "./components/Slider.js";
145
+ import { sparklineTheme as Zn } from "./theme/sparkline.js";
146
+ import Qn from "./components/Sparkline.js";
147
+ import { splitterTheme as $n } from "./theme/splitter.js";
148
+ import er from "./components/Splitter.js";
149
+ import { statTheme as tr } from "./theme/stat.js";
150
+ import nr from "./components/Stat.js";
151
+ import { stepperTheme as rr } from "./theme/stepper.js";
152
+ import ir from "./components/Stepper.js";
153
+ import { switchTheme as ar } from "./theme/switch.js";
154
+ import or from "./components/Switch.js";
155
+ import { getRowValue as sr, useDataTable as cr } from "./composables/data-table.js";
156
+ import { tableTheme as lr } from "./theme/table.js";
157
+ import ur from "./components/Table.js";
158
+ import { tabsTheme as dr } from "./theme/tabs.js";
159
+ import fr from "./components/Tabs.js";
160
+ import { tagsInputTheme as pr } from "./theme/tags-input.js";
161
+ import mr from "./components/TagsInput.js";
162
+ import hr from "./components/Textarea.js";
163
+ import { timeFieldTheme as gr } from "./theme/time-field.js";
164
+ import _r from "./components/TimeField.js";
165
+ import { timelineTheme as vr } from "./theme/timeline.js";
166
+ import yr from "./components/Timeline.js";
167
+ import { useToast as br, useToastState as xr } from "./composables/toast.js";
168
+ import { toastTheme as Sr } from "./theme/toast.js";
169
+ import Cr from "./components/Toaster.js";
170
+ import { toggleGroupTheme as wr, toggleTheme as Tr } from "./theme/toggle.js";
171
+ import Er from "./components/Toggle.js";
172
+ import Dr from "./components/ToggleGroup.js";
173
+ import { toolbarTheme as Or } from "./theme/toolbar.js";
174
+ import kr from "./components/Toolbar.js";
175
+ import { treeTheme as Ar } from "./theme/tree.js";
176
+ import jr from "./components/Tree.js";
177
+ import { IryxUi as Mr, createIryxUi as Nr } from "./plugin.js";
178
+ export { Y as AXIS_GAP, s as Accordion, l as Alert, h as App, D as AppShell, O as AspectRatio, P as AuthProviders, L as Avatar, B as AvatarGroup, H as Badge, W as Banner, pe as BarChart, ye as Breadcrumb, N as Button, xe as ButtonGroup, X as CATEGORY_HEIGHT, Z as CHAR_WIDTH, Me as Calendar, Se as CalendarDate, Pe as Card, Le as Carousel, fe as ChartLegend, Ke as Checkbox, Je as Code, Xe as Collapsible, nt as ColorPicker, it as Combobox, _t as CommandPalette, Ct as ConfirmDialog, Dt as ConfirmPopover, kt as Container, At as ContextMenu, Mt as DateField, Pt as DatePicker, Ft as DateRangePicker, Lt as DescriptionList, St as Dialog, zt as DonutChart, E as Drawer, ve as DropdownMenu, Vt as Editable, Ut as EmptyState, qt as FileUpload, Jt as Form, Zt as FormField, $t as HoverCard, o as Icon, en as Input, Mr as IryxUi, gt as Kbd, Xt as Label, nn as LineChart, an as Menubar, cn as NavigationMenu, xn as NumberInput, Cn as PageHeader, Tn as Pagination, Dn as PasswordInput, kn as PinInput, Et as Popover, Kt as Progress, oe as REVEAL_DURATION, jn as RadioGroup, Mn as Rating, Q as SERIES_SLOTS, Pn as ScrollArea, In as ScrollFade, Rn as Select, Bn as Separator, Hn as Sidebar, Kn as SignaturePad, Jn as Skeleton, Xn as Slider, Qn as Sparkline, er as Splitter, nr as Stat, ir as Stepper, or as Switch, $ as TOP_PAD, ur as Table, fr as Tabs, mr as TagsInput, hr as Textarea, Ce as Time, _r as TimeField, yr as Timeline, Cr as Toaster, Er as Toggle, Dr as ToggleGroup, kr as Toolbar, z as Tooltip, jr as Tree, i as accordionTheme, ln as addDecimals, c as alertTheme, w as appShellTheme, f as applyTheme, k as authProvidersTheme, F as avatarGroupTheme, I as avatarTheme, V as badgeTheme, U as bannerTheme, ue as barChartTheme, me as breadcrumbTheme, A as buttonGroupContextKey, be as buttonGroupTheme, M as buttonTheme, je as calendarTheme, Ne as cardTheme, ee as cartesianLayout, de as chartLegendTheme, Ge as checkboxTheme, un as clampDecimal, te as clampTooltip, p as clearTheme, qe as codeTheme, Ye as collapsibleTheme, tt as colorPickerTheme, rt as comboboxTheme, ct as commandHaystack, lt as commandId, mt as commandPaletteTheme, we as commonDateRangePresets, dn as compareDecimals, e as componentNames, wt as confirmPopoverTheme, Ot as containerTheme, Nr as createIryxUi, jt as dateFieldTheme, Nt as datePickerTheme, t as defaultConfig, It as descriptionListTheme, xt as dialogTheme, Rt as donutChartTheme, T as drawerTheme, he as dropdownMenuTheme, Bt as editableTheme, Ht as emptyStateTheme, G as extent, Ze as fieldBase, Wt as fileUploadTheme, K as finiteValues, Re as formContextKey, ze as formFieldContextKey, fn as formatDecimal, pn as formatForLocale, Te as formatIsoDate, Be as getByPath, sr as getRowValue, Un as hasInk, Qt as hoverCardTheme, u as initAppearance, Qe as inputTheme, n as iryxUiConfigKey, at as isApplePlatform, ut as isCommandGroup, mn as isDecimal, a as isIconArray, on as isNavigationGroup, ge as isSeparator, _ as isSidebarGroup, v as isSidebarSection, Ve as isStandardSchema, _e as isSubmenu, Ee as isoToday, He as issuePath, ht as kbdTheme, Yt as labelTheme, tn as lineChartTheme, q as linearScale, hn as localeSeparators, dt as matchesHotkey, rn as menubarTheme, sn as navigationMenuTheme, J as niceTicks, bn as numberInputTheme, Sn as pageHeaderTheme, wn as paginationTheme, gn as parseDecimal, _n as parseFromLocale, ot as parseHotkey, En as passwordInputTheme, On as pinInputTheme, Tt as popoverTheme, Gt as progressTheme, ft as pushRecent, An as radioGroupTheme, vt as resolveConfirm, vn as roundDecimal, Nn as scrollAreaTheme, Fe as scrollFadeMask, Fn as scrollFadeTheme, Ln as selectTheme, zn as separatorTheme, ne as seriesColor, y as sidebarCollapsedCookie, b as sidebarCollapsedKey, x as sidebarPlacementKey, Vn as sidebarTheme, Gn as signaturePadTheme, qn as skeletonTheme, Yn as sliderTheme, re as slotOf, Zn as sparklineTheme, $n as splitterTheme, tr as statTheme, rr as stepperTheme, Wn as strokeWidth, ar as switchTheme, lr as tableTheme, dr as tabsTheme, pr as tagsInputTheme, $e as textareaCountTheme, et as textareaTheme, m as themes, gr as timeFieldTheme, vr as timelineTheme, De as toCalendarDate, pt as toCommandGroups, yn as toEditable, Oe as toIsoDate, ke as toIsoTime, S as toSidebarSections, Ae as toTime, Sr as toastTheme, wr as toggleGroupTheme, Tr as toggleTheme, Or as toolbarTheme, ie as tooltipHalfWidth, R as tooltipTheme, Ar as treeTheme, d as useAppearance, st as useApplePlatform, j as useButtonGroup, se as useChartAnimation, ce as useChartProgress, le as useChartReveal, yt as useConfirm, bt as useConfirmState, cr as useDataTable, g as useElementSize, Ue as useForm, We as useFormField, r as useIryxUiConfig, Ie as useScrollEdges, C as useSidebarCollapsed, br as useToast, xr as useToastState, ae as warnOnSlotOverflow };
package/dist/nuxt.js CHANGED
@@ -26,11 +26,12 @@ var a = i({
26
26
  r({
27
27
  filename: "iryx-ui.config.mjs",
28
28
  getContents: () => `
29
- import { applyTheme, initAppearance, iryxUiConfigKey } from 'iryx-ui'
30
- import { defineNuxtPlugin } from '#app'
29
+ import { applyTheme, initAppearance, iryxUiConfigKey, sidebarCollapsedCookie, sidebarCollapsedKey } from 'iryx-ui'
30
+ import { defineNuxtPlugin, useCookie } from '#app'
31
31
 
32
32
  export default defineNuxtPlugin((nuxtApp) => {
33
33
  nuxtApp.vueApp.provide(iryxUiConfigKey, ${JSON.stringify({ unstyled: i.unstyled })})
34
+ nuxtApp.vueApp.provide(sidebarCollapsedKey, useCookie(sidebarCollapsedCookie, { default: () => false, maxAge: 31536000, sameSite: 'lax' }))
34
35
  if (import.meta.client) {
35
36
  ${i.theme ? `applyTheme(${JSON.stringify(i.theme)})` : ""}
36
37
  ${i.appearance ? `initAppearance(${JSON.stringify(i.appearance)})` : ""}
@@ -33,6 +33,7 @@ export declare const appShellTheme: import("tailwind-variants").TVReturnType<{
33
33
  };
34
34
  }, {
35
35
  root: string;
36
+ topbar: string;
36
37
  body: string;
37
38
  sidebar: string;
38
39
  panel: string;
@@ -79,6 +80,7 @@ export declare const appShellTheme: import("tailwind-variants").TVReturnType<{
79
80
  };
80
81
  }, {
81
82
  root: string;
83
+ topbar: string;
82
84
  body: string;
83
85
  sidebar: string;
84
86
  panel: string;
@@ -125,6 +127,7 @@ export declare const appShellTheme: import("tailwind-variants").TVReturnType<{
125
127
  };
126
128
  }, {
127
129
  root: string;
130
+ topbar: string;
128
131
  body: string;
129
132
  sidebar: string;
130
133
  panel: string;
@@ -3,6 +3,7 @@ import { tv as e } from "tailwind-variants";
3
3
  var t = e({
4
4
  slots: {
5
5
  root: "flex w-full flex-col bg-canvas text-foreground",
6
+ topbar: "shrink-0",
6
7
  body: "flex min-h-0 w-full flex-1",
7
8
  sidebar: "shrink-0",
8
9
  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",
@@ -20,7 +21,7 @@ var t = e({
20
21
  main: {
21
22
  root: "h-svh overflow-hidden",
22
23
  panel: "min-h-0 overflow-hidden",
23
- main: "min-h-0 overflow-y-auto"
24
+ main: "relative min-h-0 overflow-y-auto"
24
25
  },
25
26
  page: {
26
27
  root: "min-h-svh",
@@ -28,6 +28,7 @@ export declare const statTheme: import("tailwind-variants").TVReturnType<{
28
28
  delta: string;
29
29
  hint: string;
30
30
  row: string;
31
+ hintRow: string;
31
32
  }, undefined, {
32
33
  size: {
33
34
  sm: {
@@ -58,6 +59,7 @@ export declare const statTheme: import("tailwind-variants").TVReturnType<{
58
59
  delta: string;
59
60
  hint: string;
60
61
  row: string;
62
+ hintRow: string;
61
63
  }, import("tailwind-variants").TVReturnTypeLike<{
62
64
  size: {
63
65
  sm: {
@@ -88,5 +90,6 @@ export declare const statTheme: import("tailwind-variants").TVReturnType<{
88
90
  delta: string;
89
91
  hint: string;
90
92
  row: string;
93
+ hintRow: string;
91
94
  }>>;
92
95
  export type StatSlots = keyof ReturnType<typeof statTheme>;
@@ -7,7 +7,8 @@ var t = e({
7
7
  value: "font-semibold tracking-tight text-foreground tabular-nums",
8
8
  delta: "inline-flex shrink-0 items-center gap-0.5 text-xs font-medium tabular-nums [&_svg]:size-3.5",
9
9
  hint: "text-xs text-muted-foreground",
10
- row: "flex flex-wrap items-baseline gap-x-2 gap-y-1"
10
+ row: "flex flex-wrap items-baseline gap-x-2 gap-y-1",
11
+ hintRow: "flex flex-wrap items-center gap-x-1.5 gap-y-1"
11
12
  },
12
13
  variants: {
13
14
  size: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "iryx-ui",
3
3
  "type": "module",
4
- "version": "0.27.0",
4
+ "version": "0.29.0",
5
5
  "description": "A Vue 3 component library built on Reka UI and Tailwind CSS v4.",
6
6
  "author": "therok1",
7
7
  "license": "MIT",
@@ -59,7 +59,7 @@
59
59
  "@hugeicons/vue": "^1.0.7",
60
60
  "@internationalized/date": "^3.12.3",
61
61
  "@nuxt/kit": "^4.4.8",
62
- "reka-ui": "~2.10.3",
62
+ "reka-ui": "~2.11.0",
63
63
  "tailwind-merge": "^3.6.0",
64
64
  "tailwind-variants": "^3.3.1"
65
65
  },
package/theme.css CHANGED
@@ -50,7 +50,7 @@
50
50
  --iryx-accent-foreground: oklch(0.205 0 0);
51
51
  --iryx-muted: oklch(0.97 0 0);
52
52
  --iryx-muted-foreground: oklch(0.556 0 0);
53
- --iryx-border: oklch(0.922 0 0);
53
+ --iryx-border: oklch(0.94 0 0);
54
54
  /*
55
55
  * Fill for controls that read as recessed — the fields and the outline
56
56
  * button. Its own token rather than `--iryx-muted`, since how raised a
@@ -129,7 +129,7 @@
129
129
  --iryx-accent-foreground: oklch(0.985 0 0);
130
130
  --iryx-muted: oklch(0.269 0 0);
131
131
  --iryx-muted-foreground: oklch(0.708 0 0);
132
- --iryx-border: oklch(1 0 0 / 10%);
132
+ --iryx-border: oklch(1 0 0 / 7%);
133
133
  /* Lifted just off the background — `--iryx-muted` reads as a panel here. */
134
134
  --iryx-input: oklch(0.205 0 0);
135
135
  /* Brand primary — kept as a violet gradient. */