iryx-ui 0.22.0 → 0.24.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.
@@ -0,0 +1,24 @@
1
+ import { tv as e } from "tailwind-variants";
2
+ //#region src/theme/code.ts
3
+ var t = e({
4
+ slots: {
5
+ root: "",
6
+ code: "font-mono",
7
+ copy: "focus-visible:outline-ring inline-flex shrink-0 items-center justify-center rounded-md text-muted-foreground transition hover:text-foreground focus-visible:outline-2 focus-visible:outline-offset-2 [&_svg]:size-4"
8
+ },
9
+ variants: { block: {
10
+ true: {
11
+ root: "relative overflow-hidden rounded-lg border border-border bg-muted",
12
+ code: "block overflow-x-auto py-4 pr-14 pl-4 text-sm text-foreground",
13
+ copy: "absolute top-2 right-2 size-7 border border-border bg-background"
14
+ },
15
+ false: {
16
+ root: "inline-flex items-center gap-1",
17
+ code: "rounded border border-current/25 bg-current/10 px-1.5 py-0.5 font-mono text-[0.875em] text-current/90",
18
+ copy: "size-5 [&_svg]:size-3.5"
19
+ }
20
+ } },
21
+ defaultVariants: { block: !1 }
22
+ });
23
+ //#endregion
24
+ export { t as codeTheme };
@@ -0,0 +1,32 @@
1
+ export declare const confirmPopoverTheme: import("tailwind-variants").TVReturnType<{
2
+ [key: string]: {
3
+ [key: string]: import("tailwind-variants").ClassValue | {
4
+ description?: import("tailwind-variants").ClassValue;
5
+ actions?: import("tailwind-variants").ClassValue;
6
+ };
7
+ };
8
+ } | {
9
+ [x: string]: {
10
+ [x: string]: import("tailwind-variants").ClassValue | {
11
+ description?: import("tailwind-variants").ClassValue;
12
+ actions?: import("tailwind-variants").ClassValue;
13
+ };
14
+ };
15
+ } | {}, {
16
+ description: string;
17
+ actions: string;
18
+ }, undefined, {
19
+ [key: string]: {
20
+ [key: string]: import("tailwind-variants").ClassValue | {
21
+ description?: import("tailwind-variants").ClassValue;
22
+ actions?: import("tailwind-variants").ClassValue;
23
+ };
24
+ };
25
+ } | {}, {
26
+ description: string;
27
+ actions: string;
28
+ }, import("tailwind-variants").TVReturnTypeLike<unknown, {
29
+ description: string;
30
+ actions: string;
31
+ }>>;
32
+ export type ConfirmPopoverSlots = keyof ReturnType<typeof confirmPopoverTheme>;
@@ -0,0 +1,8 @@
1
+ import { tv as e } from "tailwind-variants";
2
+ //#region src/theme/confirm-popover.ts
3
+ var t = e({ slots: {
4
+ description: "text-sm text-muted-foreground",
5
+ actions: "mt-3 flex justify-end gap-2"
6
+ } });
7
+ //#endregion
8
+ export { t as confirmPopoverTheme };
@@ -0,0 +1,62 @@
1
+ export declare const descriptionListTheme: import("tailwind-variants").TVReturnType<{
2
+ orientation: {
3
+ vertical: {
4
+ root: string;
5
+ item: string;
6
+ };
7
+ horizontal: {
8
+ root: string;
9
+ item: string;
10
+ };
11
+ };
12
+ divided: {
13
+ true: {};
14
+ false: {};
15
+ };
16
+ }, {
17
+ root: string;
18
+ item: string;
19
+ term: string;
20
+ description: string;
21
+ }, undefined, {
22
+ orientation: {
23
+ vertical: {
24
+ root: string;
25
+ item: string;
26
+ };
27
+ horizontal: {
28
+ root: string;
29
+ item: string;
30
+ };
31
+ };
32
+ divided: {
33
+ true: {};
34
+ false: {};
35
+ };
36
+ }, {
37
+ root: string;
38
+ item: string;
39
+ term: string;
40
+ description: string;
41
+ }, import("tailwind-variants").TVReturnTypeLike<{
42
+ orientation: {
43
+ vertical: {
44
+ root: string;
45
+ item: string;
46
+ };
47
+ horizontal: {
48
+ root: string;
49
+ item: string;
50
+ };
51
+ };
52
+ divided: {
53
+ true: {};
54
+ false: {};
55
+ };
56
+ }, {
57
+ root: string;
58
+ item: string;
59
+ term: string;
60
+ description: string;
61
+ }>>;
62
+ export type DescriptionListSlots = keyof ReturnType<typeof descriptionListTheme>;
@@ -0,0 +1,48 @@
1
+ import { tv as e } from "tailwind-variants";
2
+ //#region src/theme/description-list.ts
3
+ var t = e({
4
+ slots: {
5
+ root: "text-sm",
6
+ item: "",
7
+ term: "font-medium text-muted-foreground",
8
+ description: "text-foreground"
9
+ },
10
+ variants: {
11
+ orientation: {
12
+ vertical: {
13
+ root: "flex flex-col",
14
+ item: "flex flex-col gap-1"
15
+ },
16
+ horizontal: {
17
+ root: "grid grid-cols-[minmax(0,1fr)_minmax(0,2fr)] gap-x-6",
18
+ item: "col-span-full grid grid-cols-subgrid items-baseline"
19
+ }
20
+ },
21
+ divided: {
22
+ true: {},
23
+ false: {}
24
+ }
25
+ },
26
+ compoundVariants: [
27
+ {
28
+ orientation: "vertical",
29
+ divided: !1,
30
+ class: { root: "gap-4" }
31
+ },
32
+ {
33
+ orientation: "horizontal",
34
+ divided: !1,
35
+ class: { root: "gap-y-4" }
36
+ },
37
+ {
38
+ divided: !0,
39
+ class: { item: "border-t border-border py-3 first:border-t-0 first:pt-0 last:pb-0" }
40
+ }
41
+ ],
42
+ defaultVariants: {
43
+ orientation: "vertical",
44
+ divided: !1
45
+ }
46
+ });
47
+ //#endregion
48
+ export { t as descriptionListTheme };
@@ -13,13 +13,16 @@ export * from './calendar';
13
13
  export * from './card';
14
14
  export * from './chart-legend';
15
15
  export * from './checkbox';
16
+ export * from './code';
16
17
  export * from './collapsible';
17
18
  export * from './color-picker';
18
19
  export * from './combobox';
19
20
  export * from './command-palette';
21
+ export * from './confirm-popover';
20
22
  export * from './container';
21
23
  export * from './date-field';
22
24
  export * from './date-picker';
25
+ export * from './description-list';
23
26
  export * from './dialog';
24
27
  export * from './donut-chart';
25
28
  export * from './drawer';
package/dist/theme/kbd.js CHANGED
@@ -3,7 +3,7 @@ import { tv as e } from "tailwind-variants";
3
3
  var t = e({
4
4
  slots: {
5
5
  root: "inline-flex shrink-0 items-center",
6
- key: "inline-flex items-center justify-center rounded border border-current/25 bg-current/10 text-center font-medium text-current/75",
6
+ key: "inline-flex items-center justify-center rounded border border-current/25 text-center font-medium text-current",
7
7
  separator: "text-current/60"
8
8
  },
9
9
  variants: { size: {
@@ -15,6 +15,7 @@ export declare const lineChartTheme: import("tailwind-variants").TVReturnType<{
15
15
  tooltip?: import("tailwind-variants").ClassValue;
16
16
  tooltipLabel?: import("tailwind-variants").ClassValue;
17
17
  tooltipValue?: import("tailwind-variants").ClassValue;
18
+ band?: import("tailwind-variants").ClassValue;
18
19
  crosshair?: import("tailwind-variants").ClassValue;
19
20
  markerRing?: import("tailwind-variants").ClassValue;
20
21
  };
@@ -36,6 +37,7 @@ export declare const lineChartTheme: import("tailwind-variants").TVReturnType<{
36
37
  tooltip?: import("tailwind-variants").ClassValue;
37
38
  tooltipLabel?: import("tailwind-variants").ClassValue;
38
39
  tooltipValue?: import("tailwind-variants").ClassValue;
40
+ band?: import("tailwind-variants").ClassValue;
39
41
  crosshair?: import("tailwind-variants").ClassValue;
40
42
  markerRing?: import("tailwind-variants").ClassValue;
41
43
  };
@@ -49,6 +51,7 @@ export declare const lineChartTheme: import("tailwind-variants").TVReturnType<{
49
51
  category: string;
50
52
  line: string;
51
53
  area: string;
54
+ band: string;
52
55
  crosshair: string;
53
56
  marker: string;
54
57
  markerRing: string;
@@ -74,6 +77,7 @@ export declare const lineChartTheme: import("tailwind-variants").TVReturnType<{
74
77
  tooltip?: import("tailwind-variants").ClassValue;
75
78
  tooltipLabel?: import("tailwind-variants").ClassValue;
76
79
  tooltipValue?: import("tailwind-variants").ClassValue;
80
+ band?: import("tailwind-variants").ClassValue;
77
81
  crosshair?: import("tailwind-variants").ClassValue;
78
82
  markerRing?: import("tailwind-variants").ClassValue;
79
83
  };
@@ -87,6 +91,7 @@ export declare const lineChartTheme: import("tailwind-variants").TVReturnType<{
87
91
  category: string;
88
92
  line: string;
89
93
  area: string;
94
+ band: string;
90
95
  crosshair: string;
91
96
  marker: string;
92
97
  markerRing: string;
@@ -104,6 +109,7 @@ export declare const lineChartTheme: import("tailwind-variants").TVReturnType<{
104
109
  category: string;
105
110
  line: string;
106
111
  area: string;
112
+ band: string;
107
113
  crosshair: string;
108
114
  marker: string;
109
115
  markerRing: string;
@@ -9,6 +9,7 @@ var t = e({ slots: {
9
9
  category: "fill-muted-foreground text-xs",
10
10
  line: "fill-none stroke-current stroke-2 [stroke-linecap:round] [stroke-linejoin:round]",
11
11
  area: "stroke-none",
12
+ band: "stroke-none opacity-80",
12
13
  crosshair: "stroke-border",
13
14
  marker: "fill-current",
14
15
  markerRing: "fill-background",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "iryx-ui",
3
3
  "type": "module",
4
- "version": "0.22.0",
4
+ "version": "0.24.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",