iryx-ui 0.14.0 → 0.15.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.
@@ -16,7 +16,12 @@ function s(i) {
16
16
  y: m,
17
17
  bandWidth: g,
18
18
  labelStep: y,
19
- bandCentre: (e) => _ + g * (e + .5)
19
+ bandCentre: (e) => _ + g * (e + .5),
20
+ pointAt: (e) => {
21
+ if (i.categories <= 1) return _ + h / 2;
22
+ let t = g * .25, n = h - t * 2;
23
+ return _ + t + n * e / (i.categories - 1);
24
+ }
20
25
  };
21
26
  }
22
27
  var c = 8;
package/dist/index.js CHANGED
@@ -11,61 +11,61 @@ import { applyTheme as f, clearTheme as p, themes as m } from "./theme/presets.j
11
11
  import h from "./components/App.js";
12
12
  import { useElementSize as g } from "./composables/element-size.js";
13
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";
14
+ import { drawerTheme as v } from "./theme/drawer.js";
15
+ import y from "./components/Drawer.js";
16
+ import b from "./components/AppShell.js";
17
+ import x from "./components/AspectRatio.js";
18
+ import { avatarGroupTheme as S, avatarTheme as C } from "./theme/avatar.js";
19
+ import w from "./components/Avatar.js";
20
+ import T from "./components/AvatarGroup.js";
21
+ import { badgeTheme as E } from "./theme/badge.js";
22
+ import D from "./components/Badge.js";
23
+ import { bannerTheme as O } from "./theme/banner.js";
24
+ import k from "./components/Banner.js";
25
+ import { extent as A, finiteValues as j, linearScale as M, niceTicks as N } from "./composables/scale.js";
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
69
  import rt from "./components/DropdownMenu.js";
70
70
  import { emptyStateTheme as it } from "./theme/empty-state.js";
71
71
  import at from "./components/EmptyState.js";
@@ -154,4 +154,4 @@ import Zn from "./components/Tooltip.js";
154
154
  import { treeTheme as Qn } from "./theme/tree.js";
155
155
  import $n from "./components/Tree.js";
156
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 };
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 };
@@ -10,6 +10,15 @@ export declare const appShellTheme: import("tailwind-variants").TVReturnType<{
10
10
  sidebar: string;
11
11
  };
12
12
  };
13
+ mobileNav: {
14
+ true: {
15
+ sidebar: string;
16
+ navTrigger: string;
17
+ };
18
+ false: {
19
+ navTrigger: string;
20
+ };
21
+ };
13
22
  sidebarPosition: {
14
23
  left: {};
15
24
  right: {
@@ -19,10 +28,15 @@ export declare const appShellTheme: import("tailwind-variants").TVReturnType<{
19
28
  }, {
20
29
  root: string;
21
30
  header: string;
31
+ headerRow: string;
32
+ headerContent: string;
33
+ navTrigger: string;
22
34
  body: string;
23
35
  sidebar: string;
24
36
  main: string;
25
37
  footer: string;
38
+ navDrawer: string;
39
+ navDrawerBody: string;
26
40
  }, undefined, {
27
41
  scroll: {
28
42
  main: {
@@ -35,6 +49,15 @@ export declare const appShellTheme: import("tailwind-variants").TVReturnType<{
35
49
  sidebar: string;
36
50
  };
37
51
  };
52
+ mobileNav: {
53
+ true: {
54
+ sidebar: string;
55
+ navTrigger: string;
56
+ };
57
+ false: {
58
+ navTrigger: string;
59
+ };
60
+ };
38
61
  sidebarPosition: {
39
62
  left: {};
40
63
  right: {
@@ -44,10 +67,15 @@ export declare const appShellTheme: import("tailwind-variants").TVReturnType<{
44
67
  }, {
45
68
  root: string;
46
69
  header: string;
70
+ headerRow: string;
71
+ headerContent: string;
72
+ navTrigger: string;
47
73
  body: string;
48
74
  sidebar: string;
49
75
  main: string;
50
76
  footer: string;
77
+ navDrawer: string;
78
+ navDrawerBody: string;
51
79
  }, import("tailwind-variants").TVReturnType<{
52
80
  scroll: {
53
81
  main: {
@@ -60,6 +88,15 @@ export declare const appShellTheme: import("tailwind-variants").TVReturnType<{
60
88
  sidebar: string;
61
89
  };
62
90
  };
91
+ mobileNav: {
92
+ true: {
93
+ sidebar: string;
94
+ navTrigger: string;
95
+ };
96
+ false: {
97
+ navTrigger: string;
98
+ };
99
+ };
63
100
  sidebarPosition: {
64
101
  left: {};
65
102
  right: {
@@ -69,9 +106,14 @@ export declare const appShellTheme: import("tailwind-variants").TVReturnType<{
69
106
  }, {
70
107
  root: string;
71
108
  header: string;
109
+ headerRow: string;
110
+ headerContent: string;
111
+ navTrigger: string;
72
112
  body: string;
73
113
  sidebar: string;
74
114
  main: string;
75
115
  footer: string;
116
+ navDrawer: string;
117
+ navDrawerBody: string;
76
118
  }, undefined, unknown, unknown, undefined>>;
77
119
  export type AppShellSlots = keyof ReturnType<typeof appShellTheme>;
@@ -4,10 +4,15 @@ var t = e({
4
4
  slots: {
5
5
  root: "flex w-full flex-col bg-background text-foreground",
6
6
  header: "z-30 shrink-0",
7
+ headerRow: "flex w-full items-center",
8
+ headerContent: "min-w-0 flex-1",
9
+ navTrigger: "ms-2 inline-flex size-9 shrink-0 cursor-pointer items-center justify-center rounded-lg text-muted-foreground transition-colors outline-none hover:bg-accent hover:text-accent-foreground focus-visible:ring-2 focus-visible:ring-primary/50 [&_svg]:size-5",
7
10
  body: "flex min-h-0 w-full flex-1",
8
11
  sidebar: "shrink-0",
9
12
  main: "flex min-w-0 flex-1 flex-col",
10
- footer: "shrink-0"
13
+ footer: "shrink-0",
14
+ navDrawer: "",
15
+ navDrawerBody: "p-0 pt-12 [&>*]:h-full [&>*]:w-full [&>*]:border-0"
11
16
  },
12
17
  variants: {
13
18
  scroll: {
@@ -21,6 +26,13 @@ var t = e({
21
26
  sidebar: "sticky top-[var(--iryx-shell-header-height,0px)] max-h-[calc(100svh-var(--iryx-shell-header-height,0px))] self-start overflow-y-auto"
22
27
  }
23
28
  },
29
+ mobileNav: {
30
+ true: {
31
+ sidebar: "hidden md:block",
32
+ navTrigger: "md:hidden"
33
+ },
34
+ false: { navTrigger: "hidden" }
35
+ },
24
36
  sidebarPosition: {
25
37
  left: {},
26
38
  right: { body: "flex-row-reverse" }
@@ -1,7 +1,7 @@
1
1
  import { tv as e } from "tailwind-variants";
2
2
  //#region src/theme/bar-chart.ts
3
3
  var t = e({ slots: {
4
- root: "w-full text-primary",
4
+ root: "relative w-full text-primary",
5
5
  plot: "relative",
6
6
  svg: "block w-full overflow-visible",
7
7
  grid: "stroke-border",
@@ -19,7 +19,7 @@ export declare const buttonTheme: import("tailwind-variants").TVReturnType<{
19
19
  block: {
20
20
  true: string;
21
21
  };
22
- }, undefined, "inline-flex shrink-0 items-center justify-center gap-2 rounded-xl border border-transparent font-medium transition-[color,background-color,border-color,box-shadow,opacity,filter,translate] outline-none focus-visible:ring-2 focus-visible:ring-primary/50 active:translate-y-px disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", {
22
+ }, undefined, "inline-flex shrink-0 items-center justify-center gap-2 rounded-xl border border-transparent font-medium no-underline transition-[color,background-color,border-color,box-shadow,opacity,filter,translate] outline-none focus-visible:ring-2 focus-visible:ring-primary/50 active:translate-y-px disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", {
23
23
  variant: {
24
24
  solid: string;
25
25
  outline: string;
@@ -61,5 +61,5 @@ export declare const buttonTheme: import("tailwind-variants").TVReturnType<{
61
61
  block: {
62
62
  true: string;
63
63
  };
64
- }, undefined, "inline-flex shrink-0 items-center justify-center gap-2 rounded-xl border border-transparent font-medium transition-[color,background-color,border-color,box-shadow,opacity,filter,translate] outline-none focus-visible:ring-2 focus-visible:ring-primary/50 active:translate-y-px disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", unknown, unknown, undefined>>;
64
+ }, undefined, "inline-flex shrink-0 items-center justify-center gap-2 rounded-xl border border-transparent font-medium no-underline transition-[color,background-color,border-color,box-shadow,opacity,filter,translate] outline-none focus-visible:ring-2 focus-visible:ring-primary/50 active:translate-y-px disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", unknown, unknown, undefined>>;
65
65
  export type ButtonVariants = Parameters<typeof buttonTheme>[0];
@@ -1,7 +1,7 @@
1
1
  import { tv as e } from "tailwind-variants";
2
2
  //#region src/theme/button.ts
3
3
  var t = e({
4
- base: "inline-flex shrink-0 items-center justify-center gap-2 rounded-xl border border-transparent font-medium transition-[color,background-color,border-color,box-shadow,opacity,filter,translate] outline-none focus-visible:ring-2 focus-visible:ring-primary/50 active:translate-y-px disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
4
+ base: "inline-flex shrink-0 items-center justify-center gap-2 rounded-xl border border-transparent font-medium no-underline transition-[color,background-color,border-color,box-shadow,opacity,filter,translate] outline-none focus-visible:ring-2 focus-visible:ring-primary/50 active:translate-y-px disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
5
5
  variants: {
6
6
  variant: {
7
7
  solid: "bg-linear-to-b from-primary-from to-primary-to text-primary-foreground hover:brightness-110 active:brightness-95",
@@ -8,12 +8,12 @@ export declare const commandPaletteTheme: import("tailwind-variants").TVReturnTy
8
8
  input?: import("tailwind-variants").ClassValue;
9
9
  key?: import("tailwind-variants").ClassValue;
10
10
  footer?: import("tailwind-variants").ClassValue;
11
+ overlay?: import("tailwind-variants").ClassValue;
11
12
  list?: import("tailwind-variants").ClassValue;
12
13
  group?: import("tailwind-variants").ClassValue;
13
14
  viewport?: import("tailwind-variants").ClassValue;
14
15
  empty?: import("tailwind-variants").ClassValue;
15
16
  groupLabel?: import("tailwind-variants").ClassValue;
16
- overlay?: import("tailwind-variants").ClassValue;
17
17
  itemIcon?: import("tailwind-variants").ClassValue;
18
18
  itemLabel?: import("tailwind-variants").ClassValue;
19
19
  shortcut?: import("tailwind-variants").ClassValue;
@@ -29,12 +29,12 @@ export declare const commandPaletteTheme: import("tailwind-variants").TVReturnTy
29
29
  input?: import("tailwind-variants").ClassValue;
30
30
  key?: import("tailwind-variants").ClassValue;
31
31
  footer?: import("tailwind-variants").ClassValue;
32
+ overlay?: import("tailwind-variants").ClassValue;
32
33
  list?: import("tailwind-variants").ClassValue;
33
34
  group?: import("tailwind-variants").ClassValue;
34
35
  viewport?: import("tailwind-variants").ClassValue;
35
36
  empty?: import("tailwind-variants").ClassValue;
36
37
  groupLabel?: import("tailwind-variants").ClassValue;
37
- overlay?: import("tailwind-variants").ClassValue;
38
38
  itemIcon?: import("tailwind-variants").ClassValue;
39
39
  itemLabel?: import("tailwind-variants").ClassValue;
40
40
  shortcut?: import("tailwind-variants").ClassValue;
@@ -69,12 +69,12 @@ export declare const commandPaletteTheme: import("tailwind-variants").TVReturnTy
69
69
  input?: import("tailwind-variants").ClassValue;
70
70
  key?: import("tailwind-variants").ClassValue;
71
71
  footer?: import("tailwind-variants").ClassValue;
72
+ overlay?: import("tailwind-variants").ClassValue;
72
73
  list?: import("tailwind-variants").ClassValue;
73
74
  group?: import("tailwind-variants").ClassValue;
74
75
  viewport?: import("tailwind-variants").ClassValue;
75
76
  empty?: import("tailwind-variants").ClassValue;
76
77
  groupLabel?: import("tailwind-variants").ClassValue;
77
- overlay?: import("tailwind-variants").ClassValue;
78
78
  itemIcon?: import("tailwind-variants").ClassValue;
79
79
  itemLabel?: import("tailwind-variants").ClassValue;
80
80
  shortcut?: import("tailwind-variants").ClassValue;
@@ -1,7 +1,7 @@
1
1
  import { tv as e } from "tailwind-variants";
2
2
  //#region src/theme/form.ts
3
3
  var t = e({ slots: {
4
- root: "space-y-2",
4
+ root: "flex flex-col gap-2",
5
5
  header: "flex items-center justify-between gap-2",
6
6
  label: "",
7
7
  hint: "text-sm leading-none text-muted-foreground",
@@ -1,14 +1,14 @@
1
1
  import { tv as e } from "tailwind-variants";
2
2
  //#region src/theme/line-chart.ts
3
3
  var t = e({ slots: {
4
- root: "w-full text-primary",
4
+ root: "relative w-full text-primary",
5
5
  plot: "relative",
6
6
  svg: "block w-full overflow-visible",
7
7
  grid: "stroke-border",
8
8
  tick: "fill-muted-foreground text-xs [font-variant-numeric:tabular-nums]",
9
9
  category: "fill-muted-foreground text-xs",
10
10
  line: "fill-none stroke-current stroke-2 [stroke-linecap:round] [stroke-linejoin:round]",
11
- area: "fill-current stroke-none opacity-10",
11
+ area: "stroke-none",
12
12
  crosshair: "stroke-border",
13
13
  marker: "fill-current",
14
14
  markerRing: "fill-background",
@@ -4,7 +4,7 @@ var t = e({
4
4
  slots: {
5
5
  root: "flex h-full flex-col gap-2 border-border bg-background text-foreground transition-[width] duration-200 ease-out",
6
6
  header: "flex shrink-0 items-center gap-2 px-3 py-3",
7
- nav: "flex min-h-0 flex-1 flex-col gap-4 overflow-y-auto px-2 py-1",
7
+ nav: "flex min-h-0 flex-1 flex-col gap-4 overflow-y-auto p-2",
8
8
  footer: "flex shrink-0 items-center gap-2 border-t border-border px-3 py-3",
9
9
  section: "flex flex-col gap-1",
10
10
  sectionLabel: "px-2 pt-1 pb-0.5 text-xs font-medium tracking-wide text-muted-foreground uppercase",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "iryx-ui",
3
3
  "type": "module",
4
- "version": "0.14.0",
4
+ "version": "0.15.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",