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.
- package/dist/components/AppShell.vue.d.ts +31 -6
- package/dist/components/AppShell.vue_vue_type_script_setup_true_lang.js +68 -28
- package/dist/components/BarChart.vue.d.ts +2 -0
- package/dist/components/BarChart.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/components/Drawer.vue.d.ts +1 -1
- package/dist/components/LineChart.vue.d.ts +18 -0
- package/dist/components/LineChart.vue_vue_type_script_setup_true_lang.js +178 -131
- package/dist/components/Popover.vue.d.ts +1 -1
- package/dist/components/Stat.vue.d.ts +1 -1
- package/dist/components/Stat.vue_vue_type_script_setup_true_lang.js +13 -13
- package/dist/components/index.js +50 -50
- package/dist/composables/cartesian.d.ts +7 -0
- package/dist/composables/cartesian.js +6 -1
- package/dist/index.js +56 -56
- package/dist/theme/app-shell.d.ts +42 -0
- package/dist/theme/app-shell.js +13 -1
- package/dist/theme/bar-chart.js +1 -1
- package/dist/theme/button.d.ts +2 -2
- package/dist/theme/button.js +1 -1
- package/dist/theme/command-palette.d.ts +3 -3
- package/dist/theme/form.js +1 -1
- package/dist/theme/line-chart.js +2 -2
- package/dist/theme/sidebar.js +1 -1
- package/package.json +1 -1
|
@@ -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 "./
|
|
15
|
-
import y from "./components/
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import C from "./
|
|
19
|
-
import
|
|
20
|
-
import T from "./components/
|
|
21
|
-
import {
|
|
22
|
-
import D from "./components/
|
|
23
|
-
import {
|
|
24
|
-
import
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import G from "./
|
|
28
|
-
import K from "./
|
|
29
|
-
import
|
|
30
|
-
import J from "./components/
|
|
31
|
-
import {
|
|
32
|
-
import
|
|
33
|
-
import Q from "./
|
|
34
|
-
import {
|
|
35
|
-
import ee from "./components/
|
|
36
|
-
import {
|
|
37
|
-
import ne from "./components/
|
|
38
|
-
import {
|
|
39
|
-
import ie from "./components/
|
|
40
|
-
import {
|
|
41
|
-
import oe from "./components/
|
|
42
|
-
import {
|
|
43
|
-
import
|
|
44
|
-
import de from "./
|
|
45
|
-
import {
|
|
46
|
-
import
|
|
47
|
-
import be from "./
|
|
48
|
-
import {
|
|
49
|
-
import
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import Ae from "./
|
|
53
|
-
import je from "./
|
|
54
|
-
import
|
|
55
|
-
import
|
|
56
|
-
import Ie from "./
|
|
57
|
-
import Le from "./
|
|
58
|
-
import
|
|
59
|
-
import ze from "./components/
|
|
60
|
-
import {
|
|
61
|
-
import
|
|
62
|
-
import
|
|
63
|
-
import {
|
|
64
|
-
import
|
|
65
|
-
import $e from "./
|
|
66
|
-
import et from "./
|
|
67
|
-
import
|
|
68
|
-
import nt from "./components/
|
|
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 {
|
|
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>;
|
package/dist/theme/app-shell.js
CHANGED
|
@@ -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" }
|
package/dist/theme/bar-chart.js
CHANGED
package/dist/theme/button.d.ts
CHANGED
|
@@ -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];
|
package/dist/theme/button.js
CHANGED
|
@@ -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;
|
package/dist/theme/form.js
CHANGED
|
@@ -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: "
|
|
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",
|
package/dist/theme/line-chart.js
CHANGED
|
@@ -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: "
|
|
11
|
+
area: "stroke-none",
|
|
12
12
|
crosshair: "stroke-border",
|
|
13
13
|
marker: "fill-current",
|
|
14
14
|
markerRing: "fill-background",
|
package/dist/theme/sidebar.js
CHANGED
|
@@ -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
|
|
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",
|