iryx-ui 0.13.0 → 0.14.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
@@ -1,155 +1,157 @@
1
1
  import { componentNames as e } from "./component-names.js";
2
2
  import { defaultConfig as t, iryxUiConfigKey as n, useIryxUiConfig as r } from "./config.js";
3
3
  import { accordionTheme as i } from "./theme/accordion.js";
4
- import a from "./components/Accordion.js";
5
- import { alertTheme as o } from "./theme/alert.js";
6
- import s from "./components/Alert.js";
7
- import { initAppearance as c, useAppearance as l } from "./composables/appearance.js";
8
- import { applyTheme as u, clearTheme as d, themes as f } from "./theme/presets.js";
9
- import p from "./components/App.js";
10
- import { useElementSize as m } from "./composables/element-size.js";
11
- import { appShellTheme as h } from "./theme/app-shell.js";
12
- import g from "./components/AppShell.js";
13
- import _ from "./components/AspectRatio.js";
14
- import { avatarGroupTheme as v, avatarTheme as y } from "./theme/avatar.js";
15
- import b from "./components/Avatar.js";
16
- import x from "./components/AvatarGroup.js";
17
- import { badgeTheme as S } from "./theme/badge.js";
18
- import C from "./components/Badge.js";
19
- import { bannerTheme as w } from "./theme/banner.js";
20
- import T from "./components/Banner.js";
21
- import { extent as E, finiteValues as D, linearScale as O, niceTicks as k } from "./composables/scale.js";
22
- import { AXIS_GAP as A, CATEGORY_HEIGHT as j, CHAR_WIDTH as M, SERIES_SLOTS as N, TOP_PAD as P, cartesianLayout as F, clampTooltip as I, seriesColor as L, slotOf as R, tooltipHalfWidth as z, warnOnSlotOverflow as B } from "./composables/cartesian.js";
23
- import { barChartTheme as V } from "./theme/bar-chart.js";
24
- import { chartLegendTheme as H } from "./theme/chart-legend.js";
25
- import U from "./components/ChartLegend.js";
26
- import W from "./components/BarChart.js";
27
- import { breadcrumbTheme as G } from "./theme/breadcrumb.js";
28
- import K from "./components/Breadcrumb.js";
29
- import { buttonGroupContextKey as q, useButtonGroup as J } from "./composables/button-group.js";
30
- import { buttonTheme as Y } from "./theme/button.js";
31
- import X from "./components/Button.js";
32
- import { buttonGroupTheme as Z } from "./theme/button-group.js";
33
- import Q from "./components/ButtonGroup.js";
34
- import { cardTheme as $ } from "./theme/card.js";
35
- import ee from "./components/Card.js";
36
- import { checkboxTheme as te } from "./theme/checkbox.js";
37
- import ne from "./components/Checkbox.js";
38
- import { collapsibleTheme as re } from "./theme/collapsible.js";
39
- import ie from "./components/Collapsible.js";
40
- import { fieldBase as ae, inputTheme as oe, textareaTheme as se } from "./theme/input.js";
41
- import { colorPickerTheme as ce } from "./theme/color-picker.js";
42
- import le from "./components/ColorPicker.js";
43
- import { formContextKey as ue, formFieldContextKey as de, getByPath as fe, isStandardSchema as pe, issuePath as me, useForm as he, useFormField as ge } from "./composables/form.js";
44
- import { comboboxTheme as _e } from "./theme/combobox.js";
45
- import ve from "./components/Combobox.js";
46
- import { isApplePlatform as ye, parseHotkey as be, useApplePlatform as xe } from "./composables/kbd.js";
47
- import { commandHaystack as Se, isCommandGroup as Ce, matchesHotkey as we, toCommandGroups as Te } from "./composables/command-palette.js";
48
- import { commandPaletteTheme as Ee } from "./theme/command-palette.js";
49
- import { kbdTheme as De } from "./theme/kbd.js";
50
- import Oe from "./components/Kbd.js";
51
- import ke from "./components/CommandPalette.js";
52
- import { resolveConfirm as Ae, useConfirm as je, useConfirmState as Me } from "./composables/confirm.js";
53
- import { dialogTheme as Ne } from "./theme/dialog.js";
54
- import Pe from "./components/Dialog.js";
55
- import Fe from "./components/ConfirmDialog.js";
56
- import { containerTheme as Ie } from "./theme/container.js";
57
- import Le from "./components/Container.js";
58
- import { dropdownMenuTheme as Re } from "./theme/dropdown-menu.js";
59
- import { isSeparator as ze, isSubmenu as Be } from "./composables/dropdown-menu.js";
60
- import Ve from "./components/ContextMenu.js";
61
- import { CalendarDate as He, Time as Ue, formatIsoDate as We, isoToday as Ge, toCalendarDate as Ke, toIsoDate as qe, toIsoTime as Je, toTime as Ye } from "./composables/date.js";
62
- import { datePickerTheme as Xe } from "./theme/date-picker.js";
63
- import Ze from "./components/DatePicker.js";
64
- import Qe from "./components/DateRangePicker.js";
65
- import { drawerTheme as $e } from "./theme/drawer.js";
66
- import et from "./components/Drawer.js";
67
- import tt from "./components/DropdownMenu.js";
68
- import { emptyStateTheme as nt } from "./theme/empty-state.js";
69
- import rt from "./components/EmptyState.js";
70
- import { fileUploadTheme as it } from "./theme/file-upload.js";
71
- import at from "./components/FileUpload.js";
72
- import ot from "./components/Form.js";
73
- import { labelTheme as st } from "./theme/label.js";
74
- import ct from "./components/Label.js";
75
- import lt from "./components/FormField.js";
76
- import ut from "./components/Input.js";
77
- import { lineChartTheme as dt } from "./theme/line-chart.js";
78
- import ft from "./components/LineChart.js";
79
- import { menubarTheme as pt } from "./theme/menubar.js";
80
- import mt from "./components/Menubar.js";
81
- import { isNavigationGroup as ht } from "./composables/navigation-menu.js";
82
- import { navigationMenuTheme as gt } from "./theme/navigation-menu.js";
83
- import _t from "./components/NavigationMenu.js";
84
- import { addDecimals as vt, clampDecimal as yt, compareDecimals as bt, formatDecimal as xt, formatForLocale as St, isDecimal as Ct, localeSeparators as wt, parseDecimal as Tt, parseFromLocale as Et, roundDecimal as Dt, toEditable as Ot } from "./composables/decimal.js";
85
- import { numberInputTheme as kt } from "./theme/number-input.js";
86
- import At from "./components/NumberInput.js";
87
- import { pageHeaderTheme as jt } from "./theme/page-header.js";
88
- import Mt from "./components/PageHeader.js";
89
- import { paginationTheme as Nt } from "./theme/pagination.js";
90
- import Pt from "./components/Pagination.js";
91
- import { passwordInputTheme as Ft } from "./theme/password-input.js";
92
- import It from "./components/PasswordInput.js";
93
- import { pinInputTheme as Lt } from "./theme/pin-input.js";
94
- import Rt from "./components/PinInput.js";
95
- import { popoverTheme as zt } from "./theme/popover.js";
96
- import Bt from "./components/Popover.js";
97
- import { progressTheme as Vt } from "./theme/progress.js";
98
- import Ht from "./components/Progress.js";
99
- import { radioGroupTheme as Ut } from "./theme/radio-group.js";
100
- import Wt from "./components/RadioGroup.js";
101
- import { scrollAreaTheme as Gt } from "./theme/scroll-area.js";
102
- import Kt from "./components/ScrollArea.js";
103
- import { scrollFadeMask as qt, useScrollEdges as Jt } from "./composables/scroll-fade.js";
104
- import { scrollFadeTheme as Yt } from "./theme/scroll-fade.js";
105
- import Xt from "./components/ScrollFade.js";
106
- import { selectTheme as Zt } from "./theme/select.js";
107
- import Qt from "./components/Select.js";
108
- import { separatorTheme as $t } from "./theme/separator.js";
109
- import en from "./components/Separator.js";
110
- import { isSidebarGroup as tn, isSidebarSection as nn, toSidebarSections as rn } from "./composables/sidebar.js";
111
- import { sidebarTheme as an } from "./theme/sidebar.js";
112
- import on from "./components/Sidebar.js";
113
- import { hasInk as sn, strokeWidth as cn } from "./composables/signature.js";
114
- import { signaturePadTheme as ln } from "./theme/signature-pad.js";
115
- import un from "./components/SignaturePad.js";
116
- import { skeletonTheme as dn } from "./theme/skeleton.js";
117
- import fn from "./components/Skeleton.js";
118
- import { sliderTheme as pn } from "./theme/slider.js";
119
- import mn from "./components/Slider.js";
120
- import { sparklineTheme as hn } from "./theme/sparkline.js";
121
- import gn from "./components/Sparkline.js";
122
- import { splitterTheme as _n } from "./theme/splitter.js";
123
- import vn from "./components/Splitter.js";
124
- import { statTheme as yn } from "./theme/stat.js";
125
- import bn from "./components/Stat.js";
126
- import { stepperTheme as xn } from "./theme/stepper.js";
127
- import Sn from "./components/Stepper.js";
128
- import { switchTheme as Cn } from "./theme/switch.js";
129
- import wn from "./components/Switch.js";
130
- import { getRowValue as Tn, useDataTable as En } from "./composables/data-table.js";
131
- import { tableTheme as Dn } from "./theme/table.js";
132
- import On from "./components/Table.js";
133
- import { tabsTheme as kn } from "./theme/tabs.js";
134
- import An from "./components/Tabs.js";
135
- import { tagsInputTheme as jn } from "./theme/tags-input.js";
136
- import Mn from "./components/TagsInput.js";
137
- import Nn from "./components/Textarea.js";
138
- import { timeFieldTheme as Pn } from "./theme/time-field.js";
139
- import Fn from "./components/TimeField.js";
140
- import { timelineTheme as In } from "./theme/timeline.js";
141
- import Ln from "./components/Timeline.js";
142
- import { useToast as Rn, useToastState as zn } from "./composables/toast.js";
143
- import { toastTheme as Bn } from "./theme/toast.js";
144
- import Vn from "./components/Toaster.js";
145
- import { toggleGroupTheme as Hn, toggleTheme as Un } from "./theme/toggle.js";
146
- import Wn from "./components/Toggle.js";
147
- import Gn from "./components/ToggleGroup.js";
148
- import { toolbarTheme as Kn } from "./theme/toolbar.js";
149
- import qn from "./components/Toolbar.js";
150
- import { tooltipTheme as Jn } from "./theme/tooltip.js";
151
- import Yn from "./components/Tooltip.js";
152
- import { treeTheme as Xn } from "./theme/tree.js";
153
- import Zn from "./components/Tree.js";
154
- import { IryxUi as Qn, createIryxUi as $n } from "./plugin.js";
155
- export { A as AXIS_GAP, a as Accordion, s as Alert, p as App, g as AppShell, _ as AspectRatio, b as Avatar, x as AvatarGroup, C as Badge, T as Banner, W as BarChart, K as Breadcrumb, X as Button, Q as ButtonGroup, j as CATEGORY_HEIGHT, M as CHAR_WIDTH, He as CalendarDate, ee as Card, U as ChartLegend, ne as Checkbox, ie as Collapsible, le as ColorPicker, ve as Combobox, ke as CommandPalette, Fe as ConfirmDialog, Le as Container, Ve as ContextMenu, Ze as DatePicker, Qe as DateRangePicker, Pe as Dialog, et as Drawer, tt as DropdownMenu, rt as EmptyState, at as FileUpload, ot as Form, lt as FormField, ut as Input, Qn as IryxUi, Oe as Kbd, ct as Label, ft as LineChart, mt as Menubar, _t as NavigationMenu, At as NumberInput, Mt as PageHeader, Pt as Pagination, It as PasswordInput, Rt as PinInput, Bt as Popover, Ht as Progress, Wt as RadioGroup, N as SERIES_SLOTS, Kt as ScrollArea, Xt as ScrollFade, Qt as Select, en as Separator, on as Sidebar, un as SignaturePad, fn as Skeleton, mn as Slider, gn as Sparkline, vn as Splitter, bn as Stat, Sn as Stepper, wn as Switch, P as TOP_PAD, On as Table, An as Tabs, Mn as TagsInput, Nn as Textarea, Ue as Time, Fn as TimeField, Ln as Timeline, Vn as Toaster, Wn as Toggle, Gn as ToggleGroup, qn as Toolbar, Yn as Tooltip, Zn as Tree, i as accordionTheme, vt as addDecimals, o as alertTheme, h as appShellTheme, u as applyTheme, v as avatarGroupTheme, y as avatarTheme, S as badgeTheme, w as bannerTheme, V as barChartTheme, G as breadcrumbTheme, q as buttonGroupContextKey, Z as buttonGroupTheme, Y as buttonTheme, $ as cardTheme, F as cartesianLayout, H as chartLegendTheme, te as checkboxTheme, yt as clampDecimal, I as clampTooltip, d as clearTheme, re as collapsibleTheme, ce as colorPickerTheme, _e as comboboxTheme, Se as commandHaystack, Ee as commandPaletteTheme, bt as compareDecimals, e as componentNames, Ie as containerTheme, $n as createIryxUi, Xe as datePickerTheme, t as defaultConfig, Ne as dialogTheme, $e as drawerTheme, Re as dropdownMenuTheme, nt as emptyStateTheme, E as extent, ae as fieldBase, it as fileUploadTheme, D as finiteValues, ue as formContextKey, de as formFieldContextKey, xt as formatDecimal, St as formatForLocale, We as formatIsoDate, fe as getByPath, Tn as getRowValue, sn as hasInk, c as initAppearance, oe as inputTheme, n as iryxUiConfigKey, ye as isApplePlatform, Ce as isCommandGroup, Ct as isDecimal, ht as isNavigationGroup, ze as isSeparator, tn as isSidebarGroup, nn as isSidebarSection, pe as isStandardSchema, Be as isSubmenu, Ge as isoToday, me as issuePath, De as kbdTheme, st as labelTheme, dt as lineChartTheme, O as linearScale, wt as localeSeparators, we as matchesHotkey, pt as menubarTheme, gt as navigationMenuTheme, k as niceTicks, kt as numberInputTheme, jt as pageHeaderTheme, Nt as paginationTheme, Tt as parseDecimal, Et as parseFromLocale, be as parseHotkey, Ft as passwordInputTheme, Lt as pinInputTheme, zt as popoverTheme, Vt as progressTheme, Ut as radioGroupTheme, Ae as resolveConfirm, Dt as roundDecimal, Gt as scrollAreaTheme, qt as scrollFadeMask, Yt as scrollFadeTheme, Zt as selectTheme, $t as separatorTheme, L as seriesColor, an as sidebarTheme, ln as signaturePadTheme, dn as skeletonTheme, pn as sliderTheme, R as slotOf, hn as sparklineTheme, _n as splitterTheme, yn as statTheme, xn as stepperTheme, cn as strokeWidth, Cn as switchTheme, Dn as tableTheme, kn as tabsTheme, jn as tagsInputTheme, se as textareaTheme, f as themes, Pn as timeFieldTheme, In as timelineTheme, Ke as toCalendarDate, Te as toCommandGroups, Ot as toEditable, qe as toIsoDate, Je as toIsoTime, rn as toSidebarSections, Ye as toTime, Bn as toastTheme, Hn as toggleGroupTheme, Un as toggleTheme, Kn as toolbarTheme, z as tooltipHalfWidth, Jn as tooltipTheme, Xn as treeTheme, l as useAppearance, xe as useApplePlatform, J as useButtonGroup, je as useConfirm, Me as useConfirmState, En as useDataTable, m as useElementSize, he as useForm, ge as useFormField, r as useIryxUiConfig, Jt as useScrollEdges, Rn as useToast, zn as useToastState, B as warnOnSlotOverflow };
4
+ import { isIconArray as a } from "./composables/icon.js";
5
+ import o from "./components/Icon.js";
6
+ import s from "./components/Accordion.js";
7
+ import { alertTheme as c } from "./theme/alert.js";
8
+ import l from "./components/Alert.js";
9
+ import { initAppearance as u, useAppearance as d } from "./composables/appearance.js";
10
+ import { applyTheme as f, clearTheme as p, themes as m } from "./theme/presets.js";
11
+ import h from "./components/App.js";
12
+ import { useElementSize as g } from "./composables/element-size.js";
13
+ import { appShellTheme as _ } from "./theme/app-shell.js";
14
+ import v from "./components/AppShell.js";
15
+ import y from "./components/AspectRatio.js";
16
+ import { avatarGroupTheme as b, avatarTheme as x } from "./theme/avatar.js";
17
+ import S from "./components/Avatar.js";
18
+ import C from "./components/AvatarGroup.js";
19
+ import { badgeTheme as w } from "./theme/badge.js";
20
+ import T from "./components/Badge.js";
21
+ import { bannerTheme as E } from "./theme/banner.js";
22
+ import D from "./components/Banner.js";
23
+ import { extent as O, finiteValues as k, linearScale as A, niceTicks as j } from "./composables/scale.js";
24
+ import { AXIS_GAP as M, CATEGORY_HEIGHT as N, CHAR_WIDTH as P, SERIES_SLOTS as F, TOP_PAD as I, cartesianLayout as L, clampTooltip as R, seriesColor as z, slotOf as B, tooltipHalfWidth as V, warnOnSlotOverflow as H } from "./composables/cartesian.js";
25
+ import { barChartTheme as U } from "./theme/bar-chart.js";
26
+ import { chartLegendTheme as W } from "./theme/chart-legend.js";
27
+ import G from "./components/ChartLegend.js";
28
+ import K from "./components/BarChart.js";
29
+ import { breadcrumbTheme as q } from "./theme/breadcrumb.js";
30
+ import J from "./components/Breadcrumb.js";
31
+ import { buttonGroupContextKey as Y, useButtonGroup as X } from "./composables/button-group.js";
32
+ import { buttonTheme as Z } from "./theme/button.js";
33
+ import Q from "./components/Button.js";
34
+ import { buttonGroupTheme as $ } from "./theme/button-group.js";
35
+ import ee from "./components/ButtonGroup.js";
36
+ import { cardTheme as te } from "./theme/card.js";
37
+ import ne from "./components/Card.js";
38
+ import { checkboxTheme as re } from "./theme/checkbox.js";
39
+ import ie from "./components/Checkbox.js";
40
+ import { collapsibleTheme as ae } from "./theme/collapsible.js";
41
+ import oe from "./components/Collapsible.js";
42
+ import { fieldBase as se, inputTheme as ce, textareaTheme as le } from "./theme/input.js";
43
+ import { colorPickerTheme as ue } from "./theme/color-picker.js";
44
+ import de from "./components/ColorPicker.js";
45
+ import { formContextKey as fe, formFieldContextKey as pe, getByPath as me, isStandardSchema as he, issuePath as ge, useForm as _e, useFormField as ve } from "./composables/form.js";
46
+ import { comboboxTheme as ye } from "./theme/combobox.js";
47
+ import be from "./components/Combobox.js";
48
+ import { isApplePlatform as xe, parseHotkey as Se, useApplePlatform as Ce } from "./composables/kbd.js";
49
+ import { commandHaystack as we, isCommandGroup as Te, matchesHotkey as Ee, toCommandGroups as De } from "./composables/command-palette.js";
50
+ import { commandPaletteTheme as Oe } from "./theme/command-palette.js";
51
+ import { kbdTheme as ke } from "./theme/kbd.js";
52
+ import Ae from "./components/Kbd.js";
53
+ import je from "./components/CommandPalette.js";
54
+ import { resolveConfirm as Me, useConfirm as Ne, useConfirmState as Pe } from "./composables/confirm.js";
55
+ import { dialogTheme as Fe } from "./theme/dialog.js";
56
+ import Ie from "./components/Dialog.js";
57
+ import Le from "./components/ConfirmDialog.js";
58
+ import { containerTheme as Re } from "./theme/container.js";
59
+ import ze from "./components/Container.js";
60
+ import { dropdownMenuTheme as Be } from "./theme/dropdown-menu.js";
61
+ import { isSeparator as Ve, isSubmenu as He } from "./composables/dropdown-menu.js";
62
+ import Ue from "./components/ContextMenu.js";
63
+ import { CalendarDate as We, Time as Ge, formatIsoDate as Ke, isoToday as qe, toCalendarDate as Je, toIsoDate as Ye, toIsoTime as Xe, toTime as Ze } from "./composables/date.js";
64
+ import { datePickerTheme as Qe } from "./theme/date-picker.js";
65
+ import $e from "./components/DatePicker.js";
66
+ import et from "./components/DateRangePicker.js";
67
+ import { drawerTheme as tt } from "./theme/drawer.js";
68
+ import nt from "./components/Drawer.js";
69
+ import rt from "./components/DropdownMenu.js";
70
+ import { emptyStateTheme as it } from "./theme/empty-state.js";
71
+ import at from "./components/EmptyState.js";
72
+ import { fileUploadTheme as ot } from "./theme/file-upload.js";
73
+ import st from "./components/FileUpload.js";
74
+ import ct from "./components/Form.js";
75
+ import { labelTheme as lt } from "./theme/label.js";
76
+ import ut from "./components/Label.js";
77
+ import dt from "./components/FormField.js";
78
+ import ft from "./components/Input.js";
79
+ import { lineChartTheme as pt } from "./theme/line-chart.js";
80
+ import mt from "./components/LineChart.js";
81
+ import { menubarTheme as ht } from "./theme/menubar.js";
82
+ import gt from "./components/Menubar.js";
83
+ import { isNavigationGroup as _t } from "./composables/navigation-menu.js";
84
+ import { navigationMenuTheme as vt } from "./theme/navigation-menu.js";
85
+ import yt from "./components/NavigationMenu.js";
86
+ import { addDecimals as bt, clampDecimal as xt, compareDecimals as St, formatDecimal as Ct, formatForLocale as wt, isDecimal as Tt, localeSeparators as Et, parseDecimal as Dt, parseFromLocale as Ot, roundDecimal as kt, toEditable as At } from "./composables/decimal.js";
87
+ import { numberInputTheme as jt } from "./theme/number-input.js";
88
+ import Mt from "./components/NumberInput.js";
89
+ import { pageHeaderTheme as Nt } from "./theme/page-header.js";
90
+ import Pt from "./components/PageHeader.js";
91
+ import { paginationTheme as Ft } from "./theme/pagination.js";
92
+ import It from "./components/Pagination.js";
93
+ import { passwordInputTheme as Lt } from "./theme/password-input.js";
94
+ import Rt from "./components/PasswordInput.js";
95
+ import { pinInputTheme as zt } from "./theme/pin-input.js";
96
+ import Bt from "./components/PinInput.js";
97
+ import { popoverTheme as Vt } from "./theme/popover.js";
98
+ import Ht from "./components/Popover.js";
99
+ import { progressTheme as Ut } from "./theme/progress.js";
100
+ import Wt from "./components/Progress.js";
101
+ import { radioGroupTheme as Gt } from "./theme/radio-group.js";
102
+ import Kt from "./components/RadioGroup.js";
103
+ import { scrollAreaTheme as qt } from "./theme/scroll-area.js";
104
+ import Jt from "./components/ScrollArea.js";
105
+ import { scrollFadeMask as Yt, useScrollEdges as Xt } from "./composables/scroll-fade.js";
106
+ import { scrollFadeTheme as Zt } from "./theme/scroll-fade.js";
107
+ import Qt from "./components/ScrollFade.js";
108
+ import { selectTheme as $t } from "./theme/select.js";
109
+ import en from "./components/Select.js";
110
+ import { separatorTheme as tn } from "./theme/separator.js";
111
+ import nn from "./components/Separator.js";
112
+ import { isSidebarGroup as rn, isSidebarSection as an, toSidebarSections as on } from "./composables/sidebar.js";
113
+ import { sidebarTheme as sn } from "./theme/sidebar.js";
114
+ import cn from "./components/Sidebar.js";
115
+ import { hasInk as ln, strokeWidth as un } from "./composables/signature.js";
116
+ import { signaturePadTheme as dn } from "./theme/signature-pad.js";
117
+ import fn from "./components/SignaturePad.js";
118
+ import { skeletonTheme as pn } from "./theme/skeleton.js";
119
+ import mn from "./components/Skeleton.js";
120
+ import { sliderTheme as hn } from "./theme/slider.js";
121
+ import gn from "./components/Slider.js";
122
+ import { sparklineTheme as _n } from "./theme/sparkline.js";
123
+ import vn from "./components/Sparkline.js";
124
+ import { splitterTheme as yn } from "./theme/splitter.js";
125
+ import bn from "./components/Splitter.js";
126
+ import { statTheme as xn } from "./theme/stat.js";
127
+ import Sn from "./components/Stat.js";
128
+ import { stepperTheme as Cn } from "./theme/stepper.js";
129
+ import wn from "./components/Stepper.js";
130
+ import { switchTheme as Tn } from "./theme/switch.js";
131
+ import En from "./components/Switch.js";
132
+ import { getRowValue as Dn, useDataTable as On } from "./composables/data-table.js";
133
+ import { tableTheme as kn } from "./theme/table.js";
134
+ import An from "./components/Table.js";
135
+ import { tabsTheme as jn } from "./theme/tabs.js";
136
+ import Mn from "./components/Tabs.js";
137
+ import { tagsInputTheme as Nn } from "./theme/tags-input.js";
138
+ import Pn from "./components/TagsInput.js";
139
+ import Fn from "./components/Textarea.js";
140
+ import { timeFieldTheme as In } from "./theme/time-field.js";
141
+ import Ln from "./components/TimeField.js";
142
+ import { timelineTheme as Rn } from "./theme/timeline.js";
143
+ import zn from "./components/Timeline.js";
144
+ import { useToast as Bn, useToastState as Vn } from "./composables/toast.js";
145
+ import { toastTheme as Hn } from "./theme/toast.js";
146
+ import Un from "./components/Toaster.js";
147
+ import { toggleGroupTheme as Wn, toggleTheme as Gn } from "./theme/toggle.js";
148
+ import Kn from "./components/Toggle.js";
149
+ import qn from "./components/ToggleGroup.js";
150
+ import { toolbarTheme as Jn } from "./theme/toolbar.js";
151
+ import Yn from "./components/Toolbar.js";
152
+ import { tooltipTheme as Xn } from "./theme/tooltip.js";
153
+ import Zn from "./components/Tooltip.js";
154
+ import { treeTheme as Qn } from "./theme/tree.js";
155
+ import $n from "./components/Tree.js";
156
+ import { IryxUi as er, createIryxUi as tr } from "./plugin.js";
157
+ export { M as AXIS_GAP, s as Accordion, l as Alert, h as App, v as AppShell, y as AspectRatio, S as Avatar, C as AvatarGroup, T as Badge, D as Banner, K as BarChart, J as Breadcrumb, Q as Button, ee as ButtonGroup, N as CATEGORY_HEIGHT, P as CHAR_WIDTH, We as CalendarDate, ne as Card, G as ChartLegend, ie as Checkbox, oe as Collapsible, de as ColorPicker, be as Combobox, je as CommandPalette, Le as ConfirmDialog, ze as Container, Ue as ContextMenu, $e as DatePicker, et as DateRangePicker, Ie as Dialog, nt as Drawer, rt as DropdownMenu, at as EmptyState, st as FileUpload, ct as Form, dt as FormField, o as Icon, ft as Input, er as IryxUi, Ae as Kbd, ut as Label, mt as LineChart, gt as Menubar, yt as NavigationMenu, Mt as NumberInput, Pt as PageHeader, It as Pagination, Rt as PasswordInput, Bt as PinInput, Ht as Popover, Wt as Progress, Kt as RadioGroup, F as SERIES_SLOTS, Jt as ScrollArea, Qt as ScrollFade, en as Select, nn as Separator, cn as Sidebar, fn as SignaturePad, mn as Skeleton, gn as Slider, vn as Sparkline, bn as Splitter, Sn as Stat, wn as Stepper, En as Switch, I as TOP_PAD, An as Table, Mn as Tabs, Pn as TagsInput, Fn as Textarea, Ge as Time, Ln as TimeField, zn as Timeline, Un as Toaster, Kn as Toggle, qn as ToggleGroup, Yn as Toolbar, Zn as Tooltip, $n as Tree, i as accordionTheme, bt as addDecimals, c as alertTheme, _ as appShellTheme, f as applyTheme, b as avatarGroupTheme, x as avatarTheme, w as badgeTheme, E as bannerTheme, U as barChartTheme, q as breadcrumbTheme, Y as buttonGroupContextKey, $ as buttonGroupTheme, Z as buttonTheme, te as cardTheme, L as cartesianLayout, W as chartLegendTheme, re as checkboxTheme, xt as clampDecimal, R as clampTooltip, p as clearTheme, ae as collapsibleTheme, ue as colorPickerTheme, ye as comboboxTheme, we as commandHaystack, Oe as commandPaletteTheme, St as compareDecimals, e as componentNames, Re as containerTheme, tr as createIryxUi, Qe as datePickerTheme, t as defaultConfig, Fe as dialogTheme, tt as drawerTheme, Be as dropdownMenuTheme, it as emptyStateTheme, O as extent, se as fieldBase, ot as fileUploadTheme, k as finiteValues, fe as formContextKey, pe as formFieldContextKey, Ct as formatDecimal, wt as formatForLocale, Ke as formatIsoDate, me as getByPath, Dn as getRowValue, ln as hasInk, u as initAppearance, ce as inputTheme, n as iryxUiConfigKey, xe as isApplePlatform, Te as isCommandGroup, Tt as isDecimal, a as isIconArray, _t as isNavigationGroup, Ve as isSeparator, rn as isSidebarGroup, an as isSidebarSection, he as isStandardSchema, He as isSubmenu, qe as isoToday, ge as issuePath, ke as kbdTheme, lt as labelTheme, pt as lineChartTheme, A as linearScale, Et as localeSeparators, Ee as matchesHotkey, ht as menubarTheme, vt as navigationMenuTheme, j as niceTicks, jt as numberInputTheme, Nt as pageHeaderTheme, Ft as paginationTheme, Dt as parseDecimal, Ot as parseFromLocale, Se as parseHotkey, Lt as passwordInputTheme, zt as pinInputTheme, Vt as popoverTheme, Ut as progressTheme, Gt as radioGroupTheme, Me as resolveConfirm, kt as roundDecimal, qt as scrollAreaTheme, Yt as scrollFadeMask, Zt as scrollFadeTheme, $t as selectTheme, tn as separatorTheme, z as seriesColor, sn as sidebarTheme, dn as signaturePadTheme, pn as skeletonTheme, hn as sliderTheme, B as slotOf, _n as sparklineTheme, yn as splitterTheme, xn as statTheme, Cn as stepperTheme, un as strokeWidth, Tn as switchTheme, kn as tableTheme, jn as tabsTheme, Nn as tagsInputTheme, le as textareaTheme, m as themes, In as timeFieldTheme, Rn as timelineTheme, Je as toCalendarDate, De as toCommandGroups, At as toEditable, Ye as toIsoDate, Xe as toIsoTime, on as toSidebarSections, Ze as toTime, Hn as toastTheme, Wn as toggleGroupTheme, Gn as toggleTheme, Jn as toolbarTheme, V as tooltipHalfWidth, Xn as tooltipTheme, Qn as treeTheme, d as useAppearance, Ce as useApplePlatform, X as useButtonGroup, Ne as useConfirm, Pe as useConfirmState, On as useDataTable, g as useElementSize, _e as useForm, ve as useFormField, r as useIryxUiConfig, Xt as useScrollEdges, Bn as useToast, Vn as useToastState, H as warnOnSlotOverflow };
@@ -2,12 +2,24 @@ export declare const comboboxTheme: import("tailwind-variants").TVReturnType<{
2
2
  size: {
3
3
  sm: {
4
4
  anchor: string;
5
+ tag: string;
6
+ tagDelete: string;
5
7
  };
6
8
  md: {
7
9
  anchor: string;
10
+ tag: string;
11
+ tagDelete: string;
8
12
  };
9
13
  lg: {
10
14
  anchor: string;
15
+ tag: string;
16
+ tagDelete: string;
17
+ };
18
+ };
19
+ chips: {
20
+ true: {
21
+ anchor: string;
22
+ input: string;
11
23
  };
12
24
  };
13
25
  invalid: {
@@ -24,6 +36,10 @@ export declare const comboboxTheme: import("tailwind-variants").TVReturnType<{
24
36
  anchor: string;
25
37
  input: string;
26
38
  trigger: string;
39
+ clear: string;
40
+ tag: string;
41
+ tagText: string;
42
+ tagDelete: string;
27
43
  content: string;
28
44
  viewport: string;
29
45
  item: string;
@@ -35,12 +51,24 @@ export declare const comboboxTheme: import("tailwind-variants").TVReturnType<{
35
51
  size: {
36
52
  sm: {
37
53
  anchor: string;
54
+ tag: string;
55
+ tagDelete: string;
38
56
  };
39
57
  md: {
40
58
  anchor: string;
59
+ tag: string;
60
+ tagDelete: string;
41
61
  };
42
62
  lg: {
43
63
  anchor: string;
64
+ tag: string;
65
+ tagDelete: string;
66
+ };
67
+ };
68
+ chips: {
69
+ true: {
70
+ anchor: string;
71
+ input: string;
44
72
  };
45
73
  };
46
74
  invalid: {
@@ -57,6 +85,10 @@ export declare const comboboxTheme: import("tailwind-variants").TVReturnType<{
57
85
  anchor: string;
58
86
  input: string;
59
87
  trigger: string;
88
+ clear: string;
89
+ tag: string;
90
+ tagText: string;
91
+ tagDelete: string;
60
92
  content: string;
61
93
  viewport: string;
62
94
  item: string;
@@ -68,12 +100,24 @@ export declare const comboboxTheme: import("tailwind-variants").TVReturnType<{
68
100
  size: {
69
101
  sm: {
70
102
  anchor: string;
103
+ tag: string;
104
+ tagDelete: string;
71
105
  };
72
106
  md: {
73
107
  anchor: string;
108
+ tag: string;
109
+ tagDelete: string;
74
110
  };
75
111
  lg: {
76
112
  anchor: string;
113
+ tag: string;
114
+ tagDelete: string;
115
+ };
116
+ };
117
+ chips: {
118
+ true: {
119
+ anchor: string;
120
+ input: string;
77
121
  };
78
122
  };
79
123
  invalid: {
@@ -90,6 +134,10 @@ export declare const comboboxTheme: import("tailwind-variants").TVReturnType<{
90
134
  anchor: string;
91
135
  input: string;
92
136
  trigger: string;
137
+ clear: string;
138
+ tag: string;
139
+ tagText: string;
140
+ tagDelete: string;
93
141
  content: string;
94
142
  viewport: string;
95
143
  item: string;
@@ -6,6 +6,10 @@ var n = t({
6
6
  anchor: `flex items-center gap-2 ${e} focus-within:ring-2 focus-within:ring-primary/50`,
7
7
  input: "min-w-0 grow bg-transparent outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed",
8
8
  trigger: "flex shrink-0 cursor-pointer items-center text-muted-foreground disabled:cursor-not-allowed [&_svg]:size-4",
9
+ clear: "flex shrink-0 cursor-pointer items-center rounded-md text-muted-foreground transition-colors outline-none hover:text-foreground focus-visible:ring-2 focus-visible:ring-primary/50 [&_svg]:size-3.5",
10
+ tag: "inline-flex shrink-0 items-center rounded-md border border-border bg-background font-medium whitespace-nowrap text-foreground",
11
+ tagText: "truncate",
12
+ tagDelete: "flex shrink-0 cursor-pointer items-center rounded-sm text-muted-foreground transition-colors outline-none hover:text-danger focus-visible:ring-2 focus-visible:ring-primary/50",
9
13
  content: "z-50 max-h-64 w-(--reka-combobox-trigger-width) min-w-32 overflow-hidden rounded-xl border border-border bg-background text-foreground shadow-md",
10
14
  viewport: "max-h-64 overflow-y-auto p-1",
11
15
  item: "relative flex w-full cursor-pointer items-center rounded-lg py-1.5 pr-2 pl-8 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground",
@@ -16,10 +20,26 @@ var n = t({
16
20
  },
17
21
  variants: {
18
22
  size: {
19
- sm: { anchor: "h-8 px-2.5 text-sm" },
20
- md: { anchor: "h-9 px-3 text-sm" },
21
- lg: { anchor: "h-10 px-4 text-base" }
23
+ sm: {
24
+ anchor: "h-8 px-2.5 text-sm",
25
+ tag: "h-5 gap-1 px-1.5 text-xs",
26
+ tagDelete: "[&_svg]:size-3"
27
+ },
28
+ md: {
29
+ anchor: "h-9 px-3 text-sm",
30
+ tag: "h-6 gap-1 px-2 text-xs",
31
+ tagDelete: "[&_svg]:size-3"
32
+ },
33
+ lg: {
34
+ anchor: "h-10 px-4 text-base",
35
+ tag: "h-7 gap-1.5 px-2.5 text-sm",
36
+ tagDelete: "[&_svg]:size-3.5"
37
+ }
22
38
  },
39
+ chips: { true: {
40
+ anchor: "h-auto flex-wrap gap-1.5 py-1",
41
+ input: "min-w-24 flex-1"
42
+ } },
23
43
  invalid: { true: { anchor: "border-red-500 focus-within:ring-red-500/40" } },
24
44
  disabled: { true: { anchor: "cursor-not-allowed opacity-50" } }
25
45
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "iryx-ui",
3
3
  "type": "module",
4
- "version": "0.13.0",
4
+ "version": "0.14.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",