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