iryx-ui 0.26.0 → 0.28.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/components/AppShell.vue.d.ts +12 -11
- package/dist/components/AppShell.vue_vue_type_script_setup_true_lang.js +76 -61
- package/dist/components/Breadcrumb.vue_vue_type_script_setup_true_lang.js +2 -1
- package/dist/components/DropdownMenu.vue_vue_type_script_setup_true_lang.js +19 -18
- package/dist/components/DropdownMenuItems.vue_vue_type_script_setup_true_lang.js +12 -8
- package/dist/components/Input.vue.d.ts +1 -1
- package/dist/components/Sidebar.vue.d.ts +11 -5
- package/dist/components/Sidebar.vue_vue_type_script_setup_true_lang.js +174 -93
- package/dist/components/Textarea.vue.d.ts +1 -1
- package/dist/composables/character-count.d.ts +1 -1
- package/dist/composables/character-count.js +8 -5
- package/dist/composables/dropdown-menu.d.ts +3 -1
- package/dist/composables/sidebar.d.ts +13 -0
- package/dist/composables/sidebar.js +24 -12
- package/dist/index.js +166 -166
- package/dist/nuxt.js +3 -2
- package/dist/theme/app-shell.d.ts +27 -6
- package/dist/theme/app-shell.js +26 -9
- package/dist/theme/avatar.js +1 -1
- package/dist/theme/presets.d.ts +1 -0
- package/dist/theme/presets.js +1 -0
- package/dist/theme/sidebar.d.ts +24 -0
- package/dist/theme/sidebar.js +9 -2
- package/package.json +1 -1
- package/theme.css +4 -0
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 {
|
|
14
|
-
import {
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import {
|
|
48
|
-
import
|
|
49
|
-
import
|
|
50
|
-
import
|
|
51
|
-
import
|
|
52
|
-
import
|
|
53
|
-
import
|
|
54
|
-
import {
|
|
55
|
-
import
|
|
56
|
-
import
|
|
57
|
-
import
|
|
58
|
-
import
|
|
59
|
-
import
|
|
60
|
-
import
|
|
61
|
-
import {
|
|
62
|
-
import
|
|
63
|
-
import
|
|
64
|
-
import
|
|
65
|
-
import
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import
|
|
70
|
-
import
|
|
71
|
-
import
|
|
72
|
-
import {
|
|
73
|
-
import
|
|
74
|
-
import
|
|
75
|
-
import
|
|
76
|
-
import {
|
|
77
|
-
import
|
|
78
|
-
import
|
|
79
|
-
import
|
|
80
|
-
import
|
|
81
|
-
import
|
|
82
|
-
import
|
|
83
|
-
import
|
|
84
|
-
import
|
|
85
|
-
import
|
|
86
|
-
import
|
|
87
|
-
import
|
|
88
|
-
import
|
|
89
|
-
import
|
|
90
|
-
import
|
|
91
|
-
import
|
|
92
|
-
import
|
|
93
|
-
import
|
|
94
|
-
import
|
|
95
|
-
import
|
|
96
|
-
import {
|
|
97
|
-
import
|
|
98
|
-
import
|
|
99
|
-
import
|
|
100
|
-
import
|
|
101
|
-
import
|
|
102
|
-
import
|
|
103
|
-
import
|
|
104
|
-
import
|
|
105
|
-
import
|
|
106
|
-
import
|
|
107
|
-
import
|
|
108
|
-
import
|
|
109
|
-
import
|
|
110
|
-
import
|
|
111
|
-
import {
|
|
112
|
-
import
|
|
113
|
-
import
|
|
114
|
-
import {
|
|
115
|
-
import
|
|
116
|
-
import
|
|
117
|
-
import
|
|
118
|
-
import
|
|
119
|
-
import
|
|
120
|
-
import
|
|
121
|
-
import
|
|
122
|
-
import
|
|
123
|
-
import
|
|
124
|
-
import
|
|
125
|
-
import
|
|
126
|
-
import
|
|
127
|
-
import
|
|
128
|
-
import
|
|
129
|
-
import
|
|
130
|
-
import
|
|
131
|
-
import
|
|
132
|
-
import
|
|
133
|
-
import
|
|
134
|
-
import
|
|
135
|
-
import
|
|
136
|
-
import { sidebarTheme as
|
|
137
|
-
import
|
|
138
|
-
import { hasInk as
|
|
139
|
-
import { signaturePadTheme as
|
|
140
|
-
import
|
|
141
|
-
import { skeletonTheme as
|
|
142
|
-
import
|
|
143
|
-
import { sliderTheme as
|
|
144
|
-
import
|
|
145
|
-
import { sparklineTheme as
|
|
146
|
-
import
|
|
147
|
-
import { splitterTheme as
|
|
148
|
-
import
|
|
149
|
-
import { statTheme as
|
|
150
|
-
import
|
|
151
|
-
import { stepperTheme as
|
|
152
|
-
import
|
|
153
|
-
import { switchTheme as
|
|
154
|
-
import
|
|
155
|
-
import { getRowValue as
|
|
156
|
-
import { tableTheme as
|
|
157
|
-
import
|
|
158
|
-
import { tabsTheme as
|
|
159
|
-
import
|
|
160
|
-
import { tagsInputTheme as
|
|
161
|
-
import
|
|
162
|
-
import
|
|
163
|
-
import { timeFieldTheme as
|
|
164
|
-
import
|
|
165
|
-
import { timelineTheme as
|
|
166
|
-
import
|
|
167
|
-
import { useToast as
|
|
168
|
-
import { toastTheme as
|
|
169
|
-
import
|
|
170
|
-
import { toggleGroupTheme as
|
|
171
|
-
import
|
|
172
|
-
import
|
|
173
|
-
import { toolbarTheme as
|
|
174
|
-
import
|
|
175
|
-
import { treeTheme as
|
|
176
|
-
import
|
|
177
|
-
import { IryxUi as
|
|
178
|
-
export {
|
|
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)})` : ""}
|
|
@@ -2,11 +2,13 @@ export declare const appShellTheme: import("tailwind-variants").TVReturnType<{
|
|
|
2
2
|
scroll: {
|
|
3
3
|
main: {
|
|
4
4
|
root: string;
|
|
5
|
+
panel: string;
|
|
5
6
|
main: string;
|
|
6
7
|
};
|
|
7
8
|
page: {
|
|
8
9
|
root: string;
|
|
9
10
|
header: string;
|
|
11
|
+
headerRow: string;
|
|
10
12
|
sidebar: string;
|
|
11
13
|
};
|
|
12
14
|
};
|
|
@@ -25,14 +27,19 @@ export declare const appShellTheme: import("tailwind-variants").TVReturnType<{
|
|
|
25
27
|
body: string;
|
|
26
28
|
};
|
|
27
29
|
};
|
|
30
|
+
hasSidebar: {
|
|
31
|
+
true: {};
|
|
32
|
+
false: {};
|
|
33
|
+
};
|
|
28
34
|
}, {
|
|
29
35
|
root: string;
|
|
36
|
+
body: string;
|
|
37
|
+
sidebar: string;
|
|
38
|
+
panel: string;
|
|
30
39
|
header: string;
|
|
31
40
|
headerRow: string;
|
|
32
41
|
headerContent: string;
|
|
33
42
|
navTrigger: string;
|
|
34
|
-
body: string;
|
|
35
|
-
sidebar: string;
|
|
36
43
|
main: string;
|
|
37
44
|
footer: string;
|
|
38
45
|
navDrawer: string;
|
|
@@ -41,11 +48,13 @@ export declare const appShellTheme: import("tailwind-variants").TVReturnType<{
|
|
|
41
48
|
scroll: {
|
|
42
49
|
main: {
|
|
43
50
|
root: string;
|
|
51
|
+
panel: string;
|
|
44
52
|
main: string;
|
|
45
53
|
};
|
|
46
54
|
page: {
|
|
47
55
|
root: string;
|
|
48
56
|
header: string;
|
|
57
|
+
headerRow: string;
|
|
49
58
|
sidebar: string;
|
|
50
59
|
};
|
|
51
60
|
};
|
|
@@ -64,14 +73,19 @@ export declare const appShellTheme: import("tailwind-variants").TVReturnType<{
|
|
|
64
73
|
body: string;
|
|
65
74
|
};
|
|
66
75
|
};
|
|
76
|
+
hasSidebar: {
|
|
77
|
+
true: {};
|
|
78
|
+
false: {};
|
|
79
|
+
};
|
|
67
80
|
}, {
|
|
68
81
|
root: string;
|
|
82
|
+
body: string;
|
|
83
|
+
sidebar: string;
|
|
84
|
+
panel: string;
|
|
69
85
|
header: string;
|
|
70
86
|
headerRow: string;
|
|
71
87
|
headerContent: string;
|
|
72
88
|
navTrigger: string;
|
|
73
|
-
body: string;
|
|
74
|
-
sidebar: string;
|
|
75
89
|
main: string;
|
|
76
90
|
footer: string;
|
|
77
91
|
navDrawer: string;
|
|
@@ -80,11 +94,13 @@ export declare const appShellTheme: import("tailwind-variants").TVReturnType<{
|
|
|
80
94
|
scroll: {
|
|
81
95
|
main: {
|
|
82
96
|
root: string;
|
|
97
|
+
panel: string;
|
|
83
98
|
main: string;
|
|
84
99
|
};
|
|
85
100
|
page: {
|
|
86
101
|
root: string;
|
|
87
102
|
header: string;
|
|
103
|
+
headerRow: string;
|
|
88
104
|
sidebar: string;
|
|
89
105
|
};
|
|
90
106
|
};
|
|
@@ -103,14 +119,19 @@ export declare const appShellTheme: import("tailwind-variants").TVReturnType<{
|
|
|
103
119
|
body: string;
|
|
104
120
|
};
|
|
105
121
|
};
|
|
122
|
+
hasSidebar: {
|
|
123
|
+
true: {};
|
|
124
|
+
false: {};
|
|
125
|
+
};
|
|
106
126
|
}, {
|
|
107
127
|
root: string;
|
|
128
|
+
body: string;
|
|
129
|
+
sidebar: string;
|
|
130
|
+
panel: string;
|
|
108
131
|
header: string;
|
|
109
132
|
headerRow: string;
|
|
110
133
|
headerContent: string;
|
|
111
134
|
navTrigger: string;
|
|
112
|
-
body: string;
|
|
113
|
-
sidebar: string;
|
|
114
135
|
main: string;
|
|
115
136
|
footer: string;
|
|
116
137
|
navDrawer: string;
|
package/dist/theme/app-shell.js
CHANGED
|
@@ -2,15 +2,16 @@ import { tv as e } from "tailwind-variants";
|
|
|
2
2
|
//#region src/theme/app-shell.ts
|
|
3
3
|
var t = e({
|
|
4
4
|
slots: {
|
|
5
|
-
root: "flex w-full flex-col bg-
|
|
6
|
-
|
|
5
|
+
root: "flex w-full flex-col bg-canvas text-foreground",
|
|
6
|
+
body: "flex min-h-0 w-full flex-1",
|
|
7
|
+
sidebar: "shrink-0",
|
|
8
|
+
panel: "flex min-w-0 flex-1 flex-col bg-background md:m-2 md:rounded-xl md:border md:border-border md:shadow-xs",
|
|
9
|
+
header: "z-30 shrink-0 border-b border-border bg-background md:rounded-t-xl",
|
|
7
10
|
headerRow: "flex w-full items-center",
|
|
8
11
|
headerContent: "min-w-0 flex-1",
|
|
9
12
|
navTrigger: "ms-2 inline-flex size-9 shrink-0 cursor-pointer items-center justify-center rounded-lg text-muted-foreground transition-[color,background-color,border-color,box-shadow] outline-none hover:bg-accent hover:text-accent-foreground focus-visible:ring-2 focus-visible:ring-primary/50 [&_svg]:size-5",
|
|
10
|
-
body: "flex min-h-0 w-full flex-1",
|
|
11
|
-
sidebar: "shrink-0",
|
|
12
13
|
main: "flex min-w-0 flex-1 flex-col",
|
|
13
|
-
footer: "shrink-0",
|
|
14
|
+
footer: "shrink-0 border-t border-border",
|
|
14
15
|
navDrawer: "",
|
|
15
16
|
navDrawerBody: "p-0 pt-12 [&>*]:h-full [&>*]:w-full [&>*]:border-0"
|
|
16
17
|
},
|
|
@@ -18,12 +19,14 @@ var t = e({
|
|
|
18
19
|
scroll: {
|
|
19
20
|
main: {
|
|
20
21
|
root: "h-svh overflow-hidden",
|
|
21
|
-
|
|
22
|
+
panel: "min-h-0 overflow-hidden",
|
|
23
|
+
main: "min-h-0 overflow-y-auto"
|
|
22
24
|
},
|
|
23
25
|
page: {
|
|
24
26
|
root: "min-h-svh",
|
|
25
|
-
header: "sticky top-0",
|
|
26
|
-
|
|
27
|
+
header: "sticky top-0 border-b-0 bg-canvas md:-mx-px md:-mt-[9px] md:rounded-none md:pt-2",
|
|
28
|
+
headerRow: "border-b border-border bg-background md:overflow-hidden md:rounded-t-xl md:border-x md:border-t",
|
|
29
|
+
sidebar: "sticky top-0 h-svh self-start overflow-y-auto"
|
|
27
30
|
}
|
|
28
31
|
},
|
|
29
32
|
mobileNav: {
|
|
@@ -36,11 +39,25 @@ var t = e({
|
|
|
36
39
|
sidebarPosition: {
|
|
37
40
|
left: {},
|
|
38
41
|
right: { body: "flex-row-reverse" }
|
|
42
|
+
},
|
|
43
|
+
hasSidebar: {
|
|
44
|
+
true: {},
|
|
45
|
+
false: {}
|
|
39
46
|
}
|
|
40
47
|
},
|
|
48
|
+
compoundVariants: [{
|
|
49
|
+
hasSidebar: !0,
|
|
50
|
+
sidebarPosition: "left",
|
|
51
|
+
class: { panel: "md:ms-0" }
|
|
52
|
+
}, {
|
|
53
|
+
hasSidebar: !0,
|
|
54
|
+
sidebarPosition: "right",
|
|
55
|
+
class: { panel: "md:me-0" }
|
|
56
|
+
}],
|
|
41
57
|
defaultVariants: {
|
|
42
58
|
scroll: "main",
|
|
43
|
-
sidebarPosition: "left"
|
|
59
|
+
sidebarPosition: "left",
|
|
60
|
+
hasSidebar: !1
|
|
44
61
|
}
|
|
45
62
|
});
|
|
46
63
|
//#endregion
|
package/dist/theme/avatar.js
CHANGED
|
@@ -2,7 +2,7 @@ import { tv as e } from "tailwind-variants";
|
|
|
2
2
|
//#region src/theme/avatar.ts
|
|
3
3
|
var t = e({
|
|
4
4
|
slots: {
|
|
5
|
-
root: "relative inline-flex shrink-0 items-center justify-center bg-
|
|
5
|
+
root: "relative inline-flex shrink-0 items-center justify-center bg-foreground/8 align-middle select-none",
|
|
6
6
|
image: "size-full rounded-[inherit] object-cover",
|
|
7
7
|
fallback: "flex size-full items-center justify-center overflow-hidden rounded-[inherit] font-medium text-muted-foreground uppercase",
|
|
8
8
|
status: "absolute right-0 bottom-0 rounded-full ring-2 ring-background"
|
package/dist/theme/presets.d.ts
CHANGED