@kopexa/theme 1.5.8 → 1.6.1
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/{chunk-FLD2CUFZ.mjs → chunk-3IIJVON7.mjs} +11 -8
- package/dist/{chunk-I2NMD23O.mjs → chunk-5QIMO5EG.mjs} +1 -1
- package/dist/chunk-CZMZHA7U.mjs +37 -0
- package/dist/{chunk-3M5JSM7Y.mjs → chunk-DQEPGWAN.mjs} +1 -1
- package/dist/{chunk-4VKJFW6Y.mjs → chunk-EACX3NZF.mjs} +11 -2
- package/dist/chunk-FWRXPYLB.mjs +41 -0
- package/dist/chunk-GA6UOB2D.mjs +166 -0
- package/dist/chunk-I6M4S2KZ.mjs +41 -0
- package/dist/{chunk-UI2M2MFB.mjs → chunk-J4JIYTOU.mjs} +4 -2
- package/dist/{chunk-67PPUTSS.mjs → chunk-LG2J56LI.mjs} +2 -2
- package/dist/{chunk-CDTKWCOH.mjs → chunk-MKBU6G6Q.mjs} +44 -3
- package/dist/{chunk-32L6KXLV.mjs → chunk-T5PESSOS.mjs} +1 -1
- package/dist/chunk-TT5V2MUL.mjs +29 -0
- package/dist/chunk-V2J5XG34.mjs +43 -0
- package/dist/chunk-VCLXE57S.mjs +16 -0
- package/dist/chunk-WPOYEHD2.mjs +45 -0
- package/dist/{chunk-5BIGFSZK.mjs → chunk-XJ7XBZNF.mjs} +1 -1
- package/dist/chunk-ZLM6Z3W2.mjs +94 -0
- package/dist/components/avatar.js +2 -2
- package/dist/components/avatar.mjs +2 -2
- package/dist/components/button.js +2 -2
- package/dist/components/button.mjs +2 -2
- package/dist/components/card.d.mts +24 -0
- package/dist/components/card.d.ts +24 -0
- package/dist/components/card.js +11 -2
- package/dist/components/card.mjs +1 -1
- package/dist/components/chip.js +2 -2
- package/dist/components/chip.mjs +2 -2
- package/dist/components/code.js +2 -2
- package/dist/components/code.mjs +2 -2
- package/dist/components/drawer.d.mts +9 -3
- package/dist/components/drawer.d.ts +9 -3
- package/dist/components/drawer.js +4 -2
- package/dist/components/drawer.mjs +1 -1
- package/dist/components/index.d.mts +9 -0
- package/dist/components/index.d.ts +9 -0
- package/dist/components/index.js +585 -25
- package/dist/components/index.mjs +55 -15
- package/dist/components/page-layout.d.mts +9 -0
- package/dist/components/page-layout.d.ts +9 -0
- package/dist/components/page-layout.js +11 -8
- package/dist/components/page-layout.mjs +1 -1
- package/dist/components/preview-card.d.mts +89 -0
- package/dist/components/preview-card.d.ts +89 -0
- package/dist/components/preview-card.js +69 -0
- package/dist/components/preview-card.mjs +6 -0
- package/dist/components/risk-badge.d.mts +97 -0
- package/dist/components/risk-badge.d.ts +97 -0
- package/dist/components/risk-badge.js +67 -0
- package/dist/components/risk-badge.mjs +6 -0
- package/dist/components/risk-indicator.d.mts +76 -0
- package/dist/components/risk-indicator.d.ts +76 -0
- package/dist/components/risk-indicator.js +61 -0
- package/dist/components/risk-indicator.mjs +6 -0
- package/dist/components/section-row.d.mts +47 -0
- package/dist/components/section-row.d.ts +47 -0
- package/dist/components/section-row.js +53 -0
- package/dist/components/section-row.mjs +6 -0
- package/dist/components/separator.d.mts +22 -0
- package/dist/components/separator.d.ts +22 -0
- package/dist/components/separator.js +40 -0
- package/dist/components/separator.mjs +6 -0
- package/dist/components/sidebar.d.mts +206 -0
- package/dist/components/sidebar.d.ts +206 -0
- package/dist/components/sidebar.js +192 -0
- package/dist/components/sidebar.mjs +10 -0
- package/dist/components/split-page-layout.d.mts +49 -0
- package/dist/components/split-page-layout.d.ts +49 -0
- package/dist/components/split-page-layout.js +65 -0
- package/dist/components/split-page-layout.mjs +6 -0
- package/dist/components/tab-nav.d.mts +119 -0
- package/dist/components/tab-nav.d.ts +119 -0
- package/dist/components/tab-nav.js +118 -0
- package/dist/components/tab-nav.mjs +6 -0
- package/dist/components/table.d.mts +72 -0
- package/dist/components/table.d.ts +72 -0
- package/dist/components/table.js +44 -3
- package/dist/components/table.mjs +1 -1
- package/dist/components/tabs.d.mts +43 -0
- package/dist/components/tabs.d.ts +43 -0
- package/dist/components/tabs.js +65 -0
- package/dist/components/tabs.mjs +6 -0
- package/dist/index.css +93 -23
- package/dist/index.d.mts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +585 -25
- package/dist/index.mjs +55 -15
- package/dist/utils/variants.js +2 -2
- package/dist/utils/variants.mjs +1 -1
- package/package.json +1 -1
- /package/dist/{chunk-FWB233VZ.mjs → chunk-NP4SOC4S.mjs} +0 -0
package/dist/components/table.js
CHANGED
|
@@ -26,19 +26,23 @@ module.exports = __toCommonJS(table_exports);
|
|
|
26
26
|
var import_tailwind_variants = require("tailwind-variants");
|
|
27
27
|
var table = (0, import_tailwind_variants.tv)({
|
|
28
28
|
slots: {
|
|
29
|
+
container: ["overflow-x-auto whitespace-nowrap", "-mx-3 md:-mx-6"],
|
|
30
|
+
wrapper: ["inline-block min-w-full align-middle"],
|
|
29
31
|
table: "min-w-full h-auto",
|
|
30
32
|
thead: "",
|
|
31
33
|
tbody: "after:block divide-y",
|
|
32
34
|
tr: [
|
|
33
35
|
"group/tr outline-hidden",
|
|
34
|
-
"[&
|
|
35
|
-
"[&
|
|
36
|
+
"[&_th:last-child]:pr-4",
|
|
37
|
+
"[&_th:first-child]:pl-4"
|
|
36
38
|
],
|
|
37
39
|
th: [
|
|
38
40
|
"group/th px-3 py-3.5 text-start text-xs font-semibold whitespace-normal",
|
|
39
41
|
"text-foreground border-b"
|
|
40
42
|
],
|
|
41
43
|
td: [
|
|
44
|
+
"first:pl-3 last:pr-3",
|
|
45
|
+
"md:first:pl-6 md:last:pr-6",
|
|
42
46
|
"py-2 px-3 text-xs font-normal whitespace-normal relative",
|
|
43
47
|
"[&>*]:z-[1]",
|
|
44
48
|
"[&>*]:relative",
|
|
@@ -60,15 +64,50 @@ var table = (0, import_tailwind_variants.tv)({
|
|
|
60
64
|
"before:w-0.5",
|
|
61
65
|
"before:opacity-0",
|
|
62
66
|
"group-aria-[selected=true]/tr:first:before:opacity-100"
|
|
63
|
-
]
|
|
67
|
+
],
|
|
68
|
+
ownerCell: [
|
|
69
|
+
"min-h-[50px]",
|
|
70
|
+
"inline-flex items-center justify-center gap-2"
|
|
71
|
+
],
|
|
72
|
+
ownerCellAvatar: [],
|
|
73
|
+
ownerCelltextWrapper: "inline-flex flex-col items-start",
|
|
74
|
+
ownerCellName: "text-xs font-medium",
|
|
75
|
+
ownerCellDescription: "text-[11px] text-muted-foreground truncate",
|
|
76
|
+
ownerCellUnassigned: "text-xs italic text-muted-foreground"
|
|
64
77
|
},
|
|
65
78
|
variants: {
|
|
79
|
+
bleed: {
|
|
80
|
+
true: {},
|
|
81
|
+
false: {
|
|
82
|
+
container: ["px-3 md:px-6"],
|
|
83
|
+
th: ["first:pl-1 last:pr-1"],
|
|
84
|
+
td: ["first:pl-1 last:pr-1"]
|
|
85
|
+
}
|
|
86
|
+
},
|
|
66
87
|
overscroll: {
|
|
67
88
|
horizontal: {
|
|
68
89
|
th: "whitespace-nowrap",
|
|
69
90
|
td: "whitespace-nowrap"
|
|
70
91
|
}
|
|
71
92
|
},
|
|
93
|
+
variant: {
|
|
94
|
+
default: {},
|
|
95
|
+
// a border between cells and above the table
|
|
96
|
+
// this is used for the grid variant
|
|
97
|
+
grid: {
|
|
98
|
+
table: "border-separate border-spacing-0",
|
|
99
|
+
th: [
|
|
100
|
+
"border-l first:border-l-0 border-b",
|
|
101
|
+
"first:pl-3 md:first:pl-6 last:pr-3 md:last:pr-6"
|
|
102
|
+
],
|
|
103
|
+
td: [
|
|
104
|
+
"border-l first:border-l-0",
|
|
105
|
+
"border-b",
|
|
106
|
+
// first cell has no border
|
|
107
|
+
"[&_td:first-child]:border-l-0 [&_th:first-child]:border-l-0"
|
|
108
|
+
]
|
|
109
|
+
}
|
|
110
|
+
},
|
|
72
111
|
color: {
|
|
73
112
|
default: {
|
|
74
113
|
td: [
|
|
@@ -133,8 +172,10 @@ var table = (0, import_tailwind_variants.tv)({
|
|
|
133
172
|
}
|
|
134
173
|
},
|
|
135
174
|
defaultVariants: {
|
|
175
|
+
variant: "default",
|
|
136
176
|
layout: "auto",
|
|
137
177
|
color: "default",
|
|
178
|
+
bleed: false,
|
|
138
179
|
fullWidth: true
|
|
139
180
|
}
|
|
140
181
|
});
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
declare const tabs: tailwind_variants.TVReturnType<{
|
|
5
|
+
size: {
|
|
6
|
+
md: {
|
|
7
|
+
list: string;
|
|
8
|
+
trigger: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
}, {
|
|
12
|
+
root: string;
|
|
13
|
+
list: string[];
|
|
14
|
+
trigger: string[];
|
|
15
|
+
content: string[];
|
|
16
|
+
}, undefined, {
|
|
17
|
+
size: {
|
|
18
|
+
md: {
|
|
19
|
+
list: string;
|
|
20
|
+
trigger: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
}, {
|
|
24
|
+
root: string;
|
|
25
|
+
list: string[];
|
|
26
|
+
trigger: string[];
|
|
27
|
+
content: string[];
|
|
28
|
+
}, tailwind_variants.TVReturnType<{
|
|
29
|
+
size: {
|
|
30
|
+
md: {
|
|
31
|
+
list: string;
|
|
32
|
+
trigger: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
}, {
|
|
36
|
+
root: string;
|
|
37
|
+
list: string[];
|
|
38
|
+
trigger: string[];
|
|
39
|
+
content: string[];
|
|
40
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
41
|
+
type TabsVariantProps = VariantProps<typeof tabs>;
|
|
42
|
+
|
|
43
|
+
export { type TabsVariantProps, tabs };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
declare const tabs: tailwind_variants.TVReturnType<{
|
|
5
|
+
size: {
|
|
6
|
+
md: {
|
|
7
|
+
list: string;
|
|
8
|
+
trigger: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
}, {
|
|
12
|
+
root: string;
|
|
13
|
+
list: string[];
|
|
14
|
+
trigger: string[];
|
|
15
|
+
content: string[];
|
|
16
|
+
}, undefined, {
|
|
17
|
+
size: {
|
|
18
|
+
md: {
|
|
19
|
+
list: string;
|
|
20
|
+
trigger: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
}, {
|
|
24
|
+
root: string;
|
|
25
|
+
list: string[];
|
|
26
|
+
trigger: string[];
|
|
27
|
+
content: string[];
|
|
28
|
+
}, tailwind_variants.TVReturnType<{
|
|
29
|
+
size: {
|
|
30
|
+
md: {
|
|
31
|
+
list: string;
|
|
32
|
+
trigger: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
}, {
|
|
36
|
+
root: string;
|
|
37
|
+
list: string[];
|
|
38
|
+
trigger: string[];
|
|
39
|
+
content: string[];
|
|
40
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
41
|
+
type TabsVariantProps = VariantProps<typeof tabs>;
|
|
42
|
+
|
|
43
|
+
export { type TabsVariantProps, tabs };
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/components/tabs.ts
|
|
21
|
+
var tabs_exports = {};
|
|
22
|
+
__export(tabs_exports, {
|
|
23
|
+
tabs: () => tabs
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(tabs_exports);
|
|
26
|
+
var import_tailwind_variants = require("tailwind-variants");
|
|
27
|
+
var tabs = (0, import_tailwind_variants.tv)({
|
|
28
|
+
slots: {
|
|
29
|
+
root: "flex flex-col gap-2",
|
|
30
|
+
list: [
|
|
31
|
+
"bg-muted text-muted-foreground",
|
|
32
|
+
"inline-flex flex-col md:flex-row",
|
|
33
|
+
"w-full md:w-fit items-center justify-center rounded-lg p-[3px]"
|
|
34
|
+
],
|
|
35
|
+
trigger: [
|
|
36
|
+
"inline-flex flex-1 items-center justify-center gap-1.5 rounded-md",
|
|
37
|
+
" border border-transparent",
|
|
38
|
+
"data-[state=active]:bg-background",
|
|
39
|
+
"dark:data-[state=active]:text-foreground",
|
|
40
|
+
"focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring",
|
|
41
|
+
"dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30",
|
|
42
|
+
"text-foreground dark:text-muted-foreground",
|
|
43
|
+
"h-[calc(100%-1px)] whitespace-nowrap transition-[color,box-shadow]",
|
|
44
|
+
"focus-visible:ring-[3px] focus-visible:outline-1",
|
|
45
|
+
"disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm",
|
|
46
|
+
"[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4"
|
|
47
|
+
],
|
|
48
|
+
content: ["flex-1 outline-none"]
|
|
49
|
+
},
|
|
50
|
+
variants: {
|
|
51
|
+
size: {
|
|
52
|
+
md: {
|
|
53
|
+
list: "md:h-9",
|
|
54
|
+
trigger: "px-2 py-1 text-sm font-medium max-md:w-full"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
defaultVariants: {
|
|
59
|
+
size: "md"
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
63
|
+
0 && (module.exports = {
|
|
64
|
+
tabs
|
|
65
|
+
});
|
package/dist/index.css
CHANGED
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
@custom-variant dark (&:is(.dark *));
|
|
5
5
|
|
|
6
6
|
:root {
|
|
7
|
-
--background:
|
|
7
|
+
--background: var(--color-white);
|
|
8
8
|
--foreground: oklch(0.145 0 0);
|
|
9
|
-
--card:
|
|
9
|
+
--card: var(--color-white);
|
|
10
10
|
--card-foreground: oklch(0.145 0 0);
|
|
11
|
-
--popover:
|
|
11
|
+
--popover: var(--color-white);
|
|
12
12
|
--popover-foreground: oklch(0.145 0 0);
|
|
13
|
-
--primary: var(--color-primary-
|
|
13
|
+
--primary: var(--color-primary-600);
|
|
14
14
|
--primary-foreground: var(--color-white);
|
|
15
15
|
--secondary: var(--color-default-200);
|
|
16
16
|
--secondary-foreground: oklch(0.205 0 0);
|
|
17
|
-
--muted: var(--color-default-
|
|
18
|
-
--muted-foreground:
|
|
19
|
-
--accent: var(--color-
|
|
17
|
+
--muted: var(--color-default-50);
|
|
18
|
+
--muted-foreground: var(--color-default-800);
|
|
19
|
+
--accent: var(--color-primary-50);
|
|
20
20
|
--accent-foreground: oklch(0.205 0 0);
|
|
21
21
|
--destructive: var(--color-destructive-600);
|
|
22
22
|
--destructive-foreground: var(--color-white);
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
--chart-4: oklch(0.828 0.189 84.429);
|
|
36
36
|
--chart-5: oklch(0.769 0.188 70.08);
|
|
37
37
|
--radius: 0.625rem;
|
|
38
|
-
--sidebar:
|
|
39
|
-
--sidebar-foreground:
|
|
38
|
+
--sidebar: var(--color-primary-900);
|
|
39
|
+
--sidebar-foreground: var(--color-white);
|
|
40
40
|
--sidebar-primary: oklch(0.205 0 0);
|
|
41
|
-
--sidebar-primary-foreground:
|
|
41
|
+
--sidebar-primary-foreground: var(--color-white);
|
|
42
42
|
--sidebar-accent:var(--color-default-200);
|
|
43
43
|
--sidebar-accent-foreground: oklch(0.205 0 0);
|
|
44
44
|
--sidebar-border: var(--color-default-200);
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
.dark {
|
|
49
|
-
--background: var(--color-primary-
|
|
49
|
+
--background: var(--color-primary-900);
|
|
50
50
|
--foreground: var(--color-white);
|
|
51
51
|
--card: var(--color-primary-900);
|
|
52
52
|
--card-foreground: oklch(0.985 0 0);
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
--chart-3: oklch(0.769 0.188 70.08);
|
|
77
77
|
--chart-4: oklch(0.627 0.265 303.9);
|
|
78
78
|
--chart-5: oklch(0.645 0.246 16.439);
|
|
79
|
-
--sidebar:
|
|
79
|
+
--sidebar: var(--color-primary-950);
|
|
80
80
|
--sidebar-foreground: oklch(0.985 0 0);
|
|
81
81
|
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
82
82
|
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
@@ -87,6 +87,30 @@
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
@theme {
|
|
90
|
+
--color-desert-storm-50: oklch(0.9831 0.0034 67.78);
|
|
91
|
+
--color-desert-storm-100: oklch(0.9406 0.0121 67.68);
|
|
92
|
+
--color-desert-storm-200: oklch(0.8755 0.0243 63.46);
|
|
93
|
+
--color-desert-storm-300: oklch(0.7943 0.04 63.4);
|
|
94
|
+
--color-desert-storm-400: oklch(0.6986 0.0578 54.9);
|
|
95
|
+
--color-desert-storm-500: oklch(0.6309 0.0714 50.37);
|
|
96
|
+
--color-desert-storm-600: oklch(0.5785 0.0752 42.41);
|
|
97
|
+
--color-desert-storm-700: oklch(0.5036 0.0654 37.66);
|
|
98
|
+
--color-desert-storm-800: oklch(0.4408 0.0533 34.25);
|
|
99
|
+
--color-desert-storm-900: oklch(0.3873 0.043 34.09);
|
|
100
|
+
--color-desert-storm-950: oklch(0.2556 0.0275 30.23);
|
|
101
|
+
|
|
102
|
+
--color-slate-gray-50: oklch(0.9769 0.0032 197.11);
|
|
103
|
+
--color-slate-gray-100: oklch(0.9569 0.0065 208.78);
|
|
104
|
+
--color-slate-gray-200: oklch(0.9167 0.0095 222.06);
|
|
105
|
+
--color-slate-gray-300: oklch(0.8639 0.0167 221.1);
|
|
106
|
+
--color-slate-gray-400: oklch(0.7983 0.0218 232.21);
|
|
107
|
+
--color-slate-gray-500: oklch(0.7354 0.0268 240.8);
|
|
108
|
+
--color-slate-gray-600: oklch(0.6647 0.0326 246.78);
|
|
109
|
+
--color-slate-gray-700: oklch(0.5925 0.0309 248.35);
|
|
110
|
+
--color-slate-gray-800: oklch(0.5154 0.0253 250.43);
|
|
111
|
+
--color-slate-gray-900: oklch(0.455 0.0194 245.39);
|
|
112
|
+
--color-slate-gray-950: oklch(0.3209 0.0109 236.95);
|
|
113
|
+
|
|
90
114
|
--color-primary-50: oklch(96.58% 0.016 262.77);
|
|
91
115
|
--color-primary-100: oklch(92.21% 0.037 262.15);
|
|
92
116
|
--color-primary-200: oklch(84.55% 0.074 259.28);
|
|
@@ -111,17 +135,17 @@
|
|
|
111
135
|
--color-success-900: oklch(22.65% 0.049 162.45);
|
|
112
136
|
--color-success-950: oklch(18.48% 0.04 162.16);
|
|
113
137
|
|
|
114
|
-
--color-default-50:
|
|
115
|
-
--color-default-100:
|
|
116
|
-
--color-default-200:
|
|
117
|
-
--color-default-300:
|
|
118
|
-
--color-default-400:
|
|
119
|
-
--color-default-500:
|
|
120
|
-
--color-default-600:
|
|
121
|
-
--color-default-700:
|
|
122
|
-
--color-default-800:
|
|
123
|
-
--color-default-900:
|
|
124
|
-
--color-default-950:
|
|
138
|
+
--color-default-50: var(--color-slate-gray-50);
|
|
139
|
+
--color-default-100: var(--color-slate-gray-100);
|
|
140
|
+
--color-default-200: var(--color-slate-gray-200);
|
|
141
|
+
--color-default-300: var(--color-slate-gray-300);
|
|
142
|
+
--color-default-400: var(--color-slate-gray-400);
|
|
143
|
+
--color-default-500: var(--color-slate-gray-500);
|
|
144
|
+
--color-default-600: var(--color-slate-gray-600);
|
|
145
|
+
--color-default-700: var(--color-slate-gray-700);
|
|
146
|
+
--color-default-800: var(--color-slate-gray-800);
|
|
147
|
+
--color-default-900: var(--color-slate-gray-900);
|
|
148
|
+
--color-default-950: var(--color-slate-gray-950);
|
|
125
149
|
|
|
126
150
|
--color-warning-50: oklch(97.44% 0.014 46.3);
|
|
127
151
|
--color-warning-100: oklch(95.09% 0.027 49.62);
|
|
@@ -366,4 +390,50 @@
|
|
|
366
390
|
grid-row: var(--grid-row-order-navigation);
|
|
367
391
|
grid-area: navigation;
|
|
368
392
|
}
|
|
393
|
+
|
|
394
|
+
.section-row {
|
|
395
|
+
display: grid;
|
|
396
|
+
gap: calc(var(--spacing) * 2);
|
|
397
|
+
grid-template-columns: auto auto;
|
|
398
|
+
grid-template-areas:
|
|
399
|
+
'title title'
|
|
400
|
+
'value-container value-container';
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
.section-row.has-actions {
|
|
404
|
+
grid-template-columns: auto 28px;
|
|
405
|
+
grid-template-areas:
|
|
406
|
+
'title title'
|
|
407
|
+
'value-container action';
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
.section-row__title {
|
|
411
|
+
grid-area: title;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.section-row__value-container {
|
|
415
|
+
grid-area: value-container;
|
|
416
|
+
display: flex;
|
|
417
|
+
justify-content: flex-start;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.section-row__action {
|
|
421
|
+
grid-area: action;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
@media (min-width: theme(--breakpoint-md)) {
|
|
425
|
+
.section-row {
|
|
426
|
+
grid-template-columns: min(40%, calc(var(--spacing) * 28)) 1fr;
|
|
427
|
+
grid-template-areas: 'title value-container';
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
.section-row.has-actions {
|
|
431
|
+
grid-template-columns: min(40%, calc(var(--spacing) * 28)) 1fr 28px;
|
|
432
|
+
grid-template-areas: 'title value-container action';
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.section-row__value-container {
|
|
436
|
+
justify-content: flex-end;
|
|
437
|
+
}
|
|
438
|
+
}
|
|
369
439
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -18,8 +18,17 @@ export { InputVariantProps, input, passwordInput } from './components/input.mjs'
|
|
|
18
18
|
export { PageHeaderVariantProps, pageHeader } from './components/page-header.mjs';
|
|
19
19
|
export { PageLayoutSlots, PageLayoutVariantProps, pageLayout } from './components/page-layout.mjs';
|
|
20
20
|
export { PopoverVariants, popover } from './components/popover.mjs';
|
|
21
|
+
export { PreviewCardSlots, PreviewCardVariantProps, previewCard } from './components/preview-card.mjs';
|
|
22
|
+
export { RiskBadgeVariantProps, riskBadge } from './components/risk-badge.mjs';
|
|
23
|
+
export { RiskIndicatorVariantProps, riskIndicator } from './components/risk-indicator.mjs';
|
|
24
|
+
export { SectionRowSlots, SectionRowVariantProps, sectionRow } from './components/section-row.mjs';
|
|
25
|
+
export { SeparatorVariantProps, separator } from './components/separator.mjs';
|
|
26
|
+
export { SidebarMenuActionVariantProps, SidebarMenuButtonVariantProps, SidebarVariantProps, sidebar, sidebarMenuAction, sidebarMenuButton } from './components/sidebar.mjs';
|
|
21
27
|
export { skeleton } from './components/skeleton.mjs';
|
|
22
28
|
export { SpinnerVariants, spinner } from './components/spinner.mjs';
|
|
29
|
+
export { SplitPageLayoutVariantProps, splitPageLayout } from './components/split-page-layout.mjs';
|
|
30
|
+
export { TabNavSlots, TabNavVariantProps, tabNav } from './components/tab-nav.mjs';
|
|
23
31
|
export { TableSlots, TableVariantProps, table } from './components/table.mjs';
|
|
32
|
+
export { TabsVariantProps, tabs } from './components/tabs.mjs';
|
|
24
33
|
export { TooltipVariants, tooltip } from './components/tooltip.mjs';
|
|
25
34
|
export { SlotsToClasses } from './utils/types.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -18,8 +18,17 @@ export { InputVariantProps, input, passwordInput } from './components/input.js';
|
|
|
18
18
|
export { PageHeaderVariantProps, pageHeader } from './components/page-header.js';
|
|
19
19
|
export { PageLayoutSlots, PageLayoutVariantProps, pageLayout } from './components/page-layout.js';
|
|
20
20
|
export { PopoverVariants, popover } from './components/popover.js';
|
|
21
|
+
export { PreviewCardSlots, PreviewCardVariantProps, previewCard } from './components/preview-card.js';
|
|
22
|
+
export { RiskBadgeVariantProps, riskBadge } from './components/risk-badge.js';
|
|
23
|
+
export { RiskIndicatorVariantProps, riskIndicator } from './components/risk-indicator.js';
|
|
24
|
+
export { SectionRowSlots, SectionRowVariantProps, sectionRow } from './components/section-row.js';
|
|
25
|
+
export { SeparatorVariantProps, separator } from './components/separator.js';
|
|
26
|
+
export { SidebarMenuActionVariantProps, SidebarMenuButtonVariantProps, SidebarVariantProps, sidebar, sidebarMenuAction, sidebarMenuButton } from './components/sidebar.js';
|
|
21
27
|
export { skeleton } from './components/skeleton.js';
|
|
22
28
|
export { SpinnerVariants, spinner } from './components/spinner.js';
|
|
29
|
+
export { SplitPageLayoutVariantProps, splitPageLayout } from './components/split-page-layout.js';
|
|
30
|
+
export { TabNavSlots, TabNavVariantProps, tabNav } from './components/tab-nav.js';
|
|
23
31
|
export { TableSlots, TableVariantProps, table } from './components/table.js';
|
|
32
|
+
export { TabsVariantProps, tabs } from './components/tabs.js';
|
|
24
33
|
export { TooltipVariants, tooltip } from './components/tooltip.js';
|
|
25
34
|
export { SlotsToClasses } from './utils/types.js';
|