iryx-ui 0.13.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/component-names.d.ts +1 -1
- package/dist/component-names.js +1 -1
- 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/Banner.vue.d.ts +1 -1
- 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/Breadcrumb.vue.d.ts +1 -1
- package/dist/components/Combobox.vue.d.ts +34 -7
- package/dist/components/Combobox.vue_vue_type_script_setup_true_lang.js +172 -103
- package/dist/components/CommandPalette.vue.d.ts +1 -1
- package/dist/components/DatePicker.vue.d.ts +1 -1
- package/dist/components/DateRangePicker.vue.d.ts +1 -1
- package/dist/components/Drawer.vue.d.ts +1 -1
- package/dist/components/FileUpload.vue.d.ts +2 -2
- package/dist/components/Icon.vue.d.ts +6 -0
- package/dist/components/Icon.vue_vue_type_script_setup_true_lang.js +11 -9
- 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/NavigationMenu.vue.d.ts +1 -1
- package/dist/components/Pagination.vue.d.ts +1 -1
- package/dist/components/Popover.vue.d.ts +1 -1
- package/dist/components/Sidebar.vue.d.ts +1 -1
- package/dist/components/SignaturePad.vue.d.ts +1 -1
- package/dist/components/Skeleton.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.d.ts +1 -0
- package/dist/components/index.js +146 -144
- package/dist/composables/cartesian.d.ts +7 -0
- package/dist/composables/cartesian.js +6 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +154 -152
- 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/combobox.d.ts +48 -0
- package/dist/theme/combobox.js +23 -3
- 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
package/dist/theme/combobox.js
CHANGED
|
@@ -6,6 +6,10 @@ var n = t({
|
|
|
6
6
|
anchor: `flex items-center gap-2 ${e} focus-within:ring-2 focus-within:ring-primary/50`,
|
|
7
7
|
input: "min-w-0 grow bg-transparent outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed",
|
|
8
8
|
trigger: "flex shrink-0 cursor-pointer items-center text-muted-foreground disabled:cursor-not-allowed [&_svg]:size-4",
|
|
9
|
+
clear: "flex shrink-0 cursor-pointer items-center rounded-md text-muted-foreground transition-colors outline-none hover:text-foreground focus-visible:ring-2 focus-visible:ring-primary/50 [&_svg]:size-3.5",
|
|
10
|
+
tag: "inline-flex shrink-0 items-center rounded-md border border-border bg-background font-medium whitespace-nowrap text-foreground",
|
|
11
|
+
tagText: "truncate",
|
|
12
|
+
tagDelete: "flex shrink-0 cursor-pointer items-center rounded-sm text-muted-foreground transition-colors outline-none hover:text-danger focus-visible:ring-2 focus-visible:ring-primary/50",
|
|
9
13
|
content: "z-50 max-h-64 w-(--reka-combobox-trigger-width) min-w-32 overflow-hidden rounded-xl border border-border bg-background text-foreground shadow-md",
|
|
10
14
|
viewport: "max-h-64 overflow-y-auto p-1",
|
|
11
15
|
item: "relative flex w-full cursor-pointer items-center rounded-lg py-1.5 pr-2 pl-8 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground",
|
|
@@ -16,10 +20,26 @@ var n = t({
|
|
|
16
20
|
},
|
|
17
21
|
variants: {
|
|
18
22
|
size: {
|
|
19
|
-
sm: {
|
|
20
|
-
|
|
21
|
-
|
|
23
|
+
sm: {
|
|
24
|
+
anchor: "h-8 px-2.5 text-sm",
|
|
25
|
+
tag: "h-5 gap-1 px-1.5 text-xs",
|
|
26
|
+
tagDelete: "[&_svg]:size-3"
|
|
27
|
+
},
|
|
28
|
+
md: {
|
|
29
|
+
anchor: "h-9 px-3 text-sm",
|
|
30
|
+
tag: "h-6 gap-1 px-2 text-xs",
|
|
31
|
+
tagDelete: "[&_svg]:size-3"
|
|
32
|
+
},
|
|
33
|
+
lg: {
|
|
34
|
+
anchor: "h-10 px-4 text-base",
|
|
35
|
+
tag: "h-7 gap-1.5 px-2.5 text-sm",
|
|
36
|
+
tagDelete: "[&_svg]:size-3.5"
|
|
37
|
+
}
|
|
22
38
|
},
|
|
39
|
+
chips: { true: {
|
|
40
|
+
anchor: "h-auto flex-wrap gap-1.5 py-1",
|
|
41
|
+
input: "min-w-24 flex-1"
|
|
42
|
+
} },
|
|
23
43
|
invalid: { true: { anchor: "border-red-500 focus-within:ring-red-500/40" } },
|
|
24
44
|
disabled: { true: { anchor: "cursor-not-allowed opacity-50" } }
|
|
25
45
|
},
|
|
@@ -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",
|