@kopexa/theme 1.6.0 → 1.6.2
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-OMS3433R.mjs → chunk-5QIMO5EG.mjs} +1 -1
- package/dist/{chunk-MGYGD5BF.mjs → chunk-DQEPGWAN.mjs} +1 -1
- package/dist/chunk-IY7SLI3T.mjs +41 -0
- package/dist/{chunk-DH3KNPAO.mjs → chunk-J4JIYTOU.mjs} +1 -1
- package/dist/{chunk-UVT775TU.mjs → chunk-LG2J56LI.mjs} +1 -1
- package/dist/{chunk-SU53TZN7.mjs → chunk-MKBU6G6Q.mjs} +10 -1
- package/dist/chunk-RV656WRF.mjs +30 -0
- package/dist/{chunk-HOQ2LD24.mjs → chunk-T5PESSOS.mjs} +1 -1
- package/dist/chunk-TT5V2MUL.mjs +29 -0
- package/dist/chunk-V2J5XG34.mjs +43 -0
- package/dist/{chunk-IRKCLWJD.mjs → chunk-VCLXE57S.mjs} +2 -1
- package/dist/chunk-WPOYEHD2.mjs +45 -0
- package/dist/{chunk-WSX3HKVE.mjs → chunk-XJ7XBZNF.mjs} +1 -1
- package/dist/{chunk-UPTG533L.mjs → chunk-ZLM6Z3W2.mjs} +7 -0
- package/dist/components/avatar.js +1 -1
- package/dist/components/avatar.mjs +2 -2
- package/dist/components/button.js +1 -1
- package/dist/components/button.mjs +2 -2
- package/dist/components/chip.js +1 -1
- package/dist/components/chip.mjs +2 -2
- package/dist/components/code.js +1 -1
- package/dist/components/code.mjs +2 -2
- package/dist/components/drawer.js +1 -1
- package/dist/components/drawer.mjs +1 -1
- package/dist/components/index.d.mts +5 -0
- package/dist/components/index.d.ts +5 -0
- package/dist/components/index.js +224 -24
- package/dist/components/index.mjs +45 -25
- 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/resizable.d.mts +49 -0
- package/dist/components/resizable.d.ts +49 -0
- package/dist/components/resizable.js +54 -0
- package/dist/components/resizable.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/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.js +2 -1
- package/dist/components/separator.mjs +1 -1
- 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 +18 -0
- package/dist/components/tab-nav.d.ts +18 -0
- package/dist/components/tab-nav.js +7 -0
- package/dist/components/tab-nav.mjs +1 -1
- package/dist/components/table.d.mts +18 -0
- package/dist/components/table.d.ts +18 -0
- package/dist/components/table.js +10 -1
- package/dist/components/table.mjs +1 -1
- package/dist/index.css +71 -13
- package/dist/index.d.mts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +224 -24
- package/dist/index.mjs +45 -25
- package/dist/utils/variants.js +1 -1
- package/dist/utils/variants.mjs +1 -1
- package/package.json +1 -1
- /package/dist/{chunk-EOJ6MEGH.mjs → chunk-GZPF57JX.mjs} +0 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
declare const splitPageLayout: tailwind_variants.TVReturnType<{
|
|
5
|
+
inset: {
|
|
6
|
+
true: {
|
|
7
|
+
panelContainer: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
root: string[];
|
|
12
|
+
content: string[];
|
|
13
|
+
panelContainer: string[];
|
|
14
|
+
panel: string[];
|
|
15
|
+
bleed: string;
|
|
16
|
+
mobileWrapper: string;
|
|
17
|
+
mobileContainer: string[];
|
|
18
|
+
}, undefined, {
|
|
19
|
+
inset: {
|
|
20
|
+
true: {
|
|
21
|
+
panelContainer: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
}, {
|
|
25
|
+
root: string[];
|
|
26
|
+
content: string[];
|
|
27
|
+
panelContainer: string[];
|
|
28
|
+
panel: string[];
|
|
29
|
+
bleed: string;
|
|
30
|
+
mobileWrapper: string;
|
|
31
|
+
mobileContainer: string[];
|
|
32
|
+
}, tailwind_variants.TVReturnType<{
|
|
33
|
+
inset: {
|
|
34
|
+
true: {
|
|
35
|
+
panelContainer: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
}, {
|
|
39
|
+
root: string[];
|
|
40
|
+
content: string[];
|
|
41
|
+
panelContainer: string[];
|
|
42
|
+
panel: string[];
|
|
43
|
+
bleed: string;
|
|
44
|
+
mobileWrapper: string;
|
|
45
|
+
mobileContainer: string[];
|
|
46
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
47
|
+
type SplitPageLayoutVariantProps = VariantProps<typeof splitPageLayout>;
|
|
48
|
+
|
|
49
|
+
export { type SplitPageLayoutVariantProps, splitPageLayout };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
declare const splitPageLayout: tailwind_variants.TVReturnType<{
|
|
5
|
+
inset: {
|
|
6
|
+
true: {
|
|
7
|
+
panelContainer: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
root: string[];
|
|
12
|
+
content: string[];
|
|
13
|
+
panelContainer: string[];
|
|
14
|
+
panel: string[];
|
|
15
|
+
bleed: string;
|
|
16
|
+
mobileWrapper: string;
|
|
17
|
+
mobileContainer: string[];
|
|
18
|
+
}, undefined, {
|
|
19
|
+
inset: {
|
|
20
|
+
true: {
|
|
21
|
+
panelContainer: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
}, {
|
|
25
|
+
root: string[];
|
|
26
|
+
content: string[];
|
|
27
|
+
panelContainer: string[];
|
|
28
|
+
panel: string[];
|
|
29
|
+
bleed: string;
|
|
30
|
+
mobileWrapper: string;
|
|
31
|
+
mobileContainer: string[];
|
|
32
|
+
}, tailwind_variants.TVReturnType<{
|
|
33
|
+
inset: {
|
|
34
|
+
true: {
|
|
35
|
+
panelContainer: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
}, {
|
|
39
|
+
root: string[];
|
|
40
|
+
content: string[];
|
|
41
|
+
panelContainer: string[];
|
|
42
|
+
panel: string[];
|
|
43
|
+
bleed: string;
|
|
44
|
+
mobileWrapper: string;
|
|
45
|
+
mobileContainer: string[];
|
|
46
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
47
|
+
type SplitPageLayoutVariantProps = VariantProps<typeof splitPageLayout>;
|
|
48
|
+
|
|
49
|
+
export { type SplitPageLayoutVariantProps, splitPageLayout };
|
|
@@ -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/split-page-layout.ts
|
|
21
|
+
var split_page_layout_exports = {};
|
|
22
|
+
__export(split_page_layout_exports, {
|
|
23
|
+
splitPageLayout: () => splitPageLayout
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(split_page_layout_exports);
|
|
26
|
+
var import_tailwind_variants = require("tailwind-variants");
|
|
27
|
+
var splitPageLayout = (0, import_tailwind_variants.tv)({
|
|
28
|
+
slots: {
|
|
29
|
+
root: [
|
|
30
|
+
"size-full min-h-0 grid grid-cols-[1fr_10px] md:grid-cols-3 relative"
|
|
31
|
+
],
|
|
32
|
+
content: ["p-4 md:p-6 col-span-1 md:col-span-2"],
|
|
33
|
+
panelContainer: [
|
|
34
|
+
"flex flex-col",
|
|
35
|
+
"md:border-s",
|
|
36
|
+
//"size-full",
|
|
37
|
+
"bg-muted dark:bg-primary-900"
|
|
38
|
+
],
|
|
39
|
+
panel: [
|
|
40
|
+
//"md:border-s",
|
|
41
|
+
"p-4 md:p-6",
|
|
42
|
+
"overflow-y-auto overflow-x-hidden",
|
|
43
|
+
"flex-1",
|
|
44
|
+
"min-h-0",
|
|
45
|
+
"h-full"
|
|
46
|
+
],
|
|
47
|
+
bleed: "-mx-4 md:-mx-6",
|
|
48
|
+
mobileWrapper: "relative",
|
|
49
|
+
mobileContainer: ["absolute top-2 right-2 z-10"]
|
|
50
|
+
},
|
|
51
|
+
variants: {
|
|
52
|
+
inset: {
|
|
53
|
+
true: {
|
|
54
|
+
panelContainer: "rounded-e-md max-md:rounded-md"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
defaultVariants: {
|
|
59
|
+
inset: true
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
63
|
+
0 && (module.exports = {
|
|
64
|
+
splitPageLayout
|
|
65
|
+
});
|
|
@@ -2,6 +2,12 @@ import * as tailwind_variants from 'tailwind-variants';
|
|
|
2
2
|
import { VariantProps } from 'tailwind-variants';
|
|
3
3
|
|
|
4
4
|
declare const tabNav: tailwind_variants.TVReturnType<{
|
|
5
|
+
bleed: {
|
|
6
|
+
true: {
|
|
7
|
+
list: string;
|
|
8
|
+
};
|
|
9
|
+
false: {};
|
|
10
|
+
};
|
|
5
11
|
color: {
|
|
6
12
|
primary: {
|
|
7
13
|
link: string[];
|
|
@@ -33,6 +39,12 @@ declare const tabNav: tailwind_variants.TVReturnType<{
|
|
|
33
39
|
linkInner: string[];
|
|
34
40
|
linkInnerHidden: string[];
|
|
35
41
|
}, undefined, {
|
|
42
|
+
bleed: {
|
|
43
|
+
true: {
|
|
44
|
+
list: string;
|
|
45
|
+
};
|
|
46
|
+
false: {};
|
|
47
|
+
};
|
|
36
48
|
color: {
|
|
37
49
|
primary: {
|
|
38
50
|
link: string[];
|
|
@@ -64,6 +76,12 @@ declare const tabNav: tailwind_variants.TVReturnType<{
|
|
|
64
76
|
linkInner: string[];
|
|
65
77
|
linkInnerHidden: string[];
|
|
66
78
|
}, tailwind_variants.TVReturnType<{
|
|
79
|
+
bleed: {
|
|
80
|
+
true: {
|
|
81
|
+
list: string;
|
|
82
|
+
};
|
|
83
|
+
false: {};
|
|
84
|
+
};
|
|
67
85
|
color: {
|
|
68
86
|
primary: {
|
|
69
87
|
link: string[];
|
|
@@ -2,6 +2,12 @@ import * as tailwind_variants from 'tailwind-variants';
|
|
|
2
2
|
import { VariantProps } from 'tailwind-variants';
|
|
3
3
|
|
|
4
4
|
declare const tabNav: tailwind_variants.TVReturnType<{
|
|
5
|
+
bleed: {
|
|
6
|
+
true: {
|
|
7
|
+
list: string;
|
|
8
|
+
};
|
|
9
|
+
false: {};
|
|
10
|
+
};
|
|
5
11
|
color: {
|
|
6
12
|
primary: {
|
|
7
13
|
link: string[];
|
|
@@ -33,6 +39,12 @@ declare const tabNav: tailwind_variants.TVReturnType<{
|
|
|
33
39
|
linkInner: string[];
|
|
34
40
|
linkInnerHidden: string[];
|
|
35
41
|
}, undefined, {
|
|
42
|
+
bleed: {
|
|
43
|
+
true: {
|
|
44
|
+
list: string;
|
|
45
|
+
};
|
|
46
|
+
false: {};
|
|
47
|
+
};
|
|
36
48
|
color: {
|
|
37
49
|
primary: {
|
|
38
50
|
link: string[];
|
|
@@ -64,6 +76,12 @@ declare const tabNav: tailwind_variants.TVReturnType<{
|
|
|
64
76
|
linkInner: string[];
|
|
65
77
|
linkInnerHidden: string[];
|
|
66
78
|
}, tailwind_variants.TVReturnType<{
|
|
79
|
+
bleed: {
|
|
80
|
+
true: {
|
|
81
|
+
list: string;
|
|
82
|
+
};
|
|
83
|
+
false: {};
|
|
84
|
+
};
|
|
67
85
|
color: {
|
|
68
86
|
primary: {
|
|
69
87
|
link: string[];
|
|
@@ -29,6 +29,7 @@ var tabNav = (0, import_tailwind_variants.tv)({
|
|
|
29
29
|
base: "",
|
|
30
30
|
list: [
|
|
31
31
|
"flex",
|
|
32
|
+
"items-center",
|
|
32
33
|
"justify-start",
|
|
33
34
|
"overflow-x-auto",
|
|
34
35
|
"whitespace-nowrap",
|
|
@@ -66,6 +67,12 @@ var tabNav = (0, import_tailwind_variants.tv)({
|
|
|
66
67
|
]
|
|
67
68
|
},
|
|
68
69
|
variants: {
|
|
70
|
+
bleed: {
|
|
71
|
+
true: {
|
|
72
|
+
list: "-mx-4 md:-mx-6 px-4 md:px-6"
|
|
73
|
+
},
|
|
74
|
+
false: {}
|
|
75
|
+
},
|
|
69
76
|
color: {
|
|
70
77
|
primary: {
|
|
71
78
|
link: ["before:bg-primary"]
|
|
@@ -88,6 +88,12 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
88
88
|
tr: string[];
|
|
89
89
|
th: string[];
|
|
90
90
|
td: string[];
|
|
91
|
+
ownerCell: string[];
|
|
92
|
+
ownerCellAvatar: never[];
|
|
93
|
+
ownerCelltextWrapper: string;
|
|
94
|
+
ownerCellName: string;
|
|
95
|
+
ownerCellDescription: string;
|
|
96
|
+
ownerCellUnassigned: string;
|
|
91
97
|
}, undefined, {
|
|
92
98
|
bleed: {
|
|
93
99
|
true: {};
|
|
@@ -175,6 +181,12 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
175
181
|
tr: string[];
|
|
176
182
|
th: string[];
|
|
177
183
|
td: string[];
|
|
184
|
+
ownerCell: string[];
|
|
185
|
+
ownerCellAvatar: never[];
|
|
186
|
+
ownerCelltextWrapper: string;
|
|
187
|
+
ownerCellName: string;
|
|
188
|
+
ownerCellDescription: string;
|
|
189
|
+
ownerCellUnassigned: string;
|
|
178
190
|
}, tailwind_variants.TVReturnType<{
|
|
179
191
|
bleed: {
|
|
180
192
|
true: {};
|
|
@@ -262,6 +274,12 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
262
274
|
tr: string[];
|
|
263
275
|
th: string[];
|
|
264
276
|
td: string[];
|
|
277
|
+
ownerCell: string[];
|
|
278
|
+
ownerCellAvatar: never[];
|
|
279
|
+
ownerCelltextWrapper: string;
|
|
280
|
+
ownerCellName: string;
|
|
281
|
+
ownerCellDescription: string;
|
|
282
|
+
ownerCellUnassigned: string;
|
|
265
283
|
}, undefined, unknown, unknown, undefined>>;
|
|
266
284
|
type TableVariantProps = VariantProps<typeof table>;
|
|
267
285
|
type TableSlots = keyof ReturnType<typeof table>;
|
|
@@ -88,6 +88,12 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
88
88
|
tr: string[];
|
|
89
89
|
th: string[];
|
|
90
90
|
td: string[];
|
|
91
|
+
ownerCell: string[];
|
|
92
|
+
ownerCellAvatar: never[];
|
|
93
|
+
ownerCelltextWrapper: string;
|
|
94
|
+
ownerCellName: string;
|
|
95
|
+
ownerCellDescription: string;
|
|
96
|
+
ownerCellUnassigned: string;
|
|
91
97
|
}, undefined, {
|
|
92
98
|
bleed: {
|
|
93
99
|
true: {};
|
|
@@ -175,6 +181,12 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
175
181
|
tr: string[];
|
|
176
182
|
th: string[];
|
|
177
183
|
td: string[];
|
|
184
|
+
ownerCell: string[];
|
|
185
|
+
ownerCellAvatar: never[];
|
|
186
|
+
ownerCelltextWrapper: string;
|
|
187
|
+
ownerCellName: string;
|
|
188
|
+
ownerCellDescription: string;
|
|
189
|
+
ownerCellUnassigned: string;
|
|
178
190
|
}, tailwind_variants.TVReturnType<{
|
|
179
191
|
bleed: {
|
|
180
192
|
true: {};
|
|
@@ -262,6 +274,12 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
262
274
|
tr: string[];
|
|
263
275
|
th: string[];
|
|
264
276
|
td: string[];
|
|
277
|
+
ownerCell: string[];
|
|
278
|
+
ownerCellAvatar: never[];
|
|
279
|
+
ownerCelltextWrapper: string;
|
|
280
|
+
ownerCellName: string;
|
|
281
|
+
ownerCellDescription: string;
|
|
282
|
+
ownerCellUnassigned: string;
|
|
265
283
|
}, undefined, unknown, unknown, undefined>>;
|
|
266
284
|
type TableVariantProps = VariantProps<typeof table>;
|
|
267
285
|
type TableSlots = keyof ReturnType<typeof table>;
|
package/dist/components/table.js
CHANGED
|
@@ -64,7 +64,16 @@ var table = (0, import_tailwind_variants.tv)({
|
|
|
64
64
|
"before:w-0.5",
|
|
65
65
|
"before:opacity-0",
|
|
66
66
|
"group-aria-[selected=true]/tr:first:before:opacity-100"
|
|
67
|
-
]
|
|
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"
|
|
68
77
|
},
|
|
69
78
|
variants: {
|
|
70
79
|
bleed: {
|
package/dist/index.css
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
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: var(--color-default-
|
|
17
|
+
--muted: var(--color-default-50);
|
|
18
|
+
--muted-foreground: var(--color-default-800);
|
|
19
19
|
--accent: var(--color-primary-50);
|
|
20
20
|
--accent-foreground: oklch(0.205 0 0);
|
|
21
21
|
--destructive: var(--color-destructive-600);
|
|
@@ -99,6 +99,18 @@
|
|
|
99
99
|
--color-desert-storm-900: oklch(0.3873 0.043 34.09);
|
|
100
100
|
--color-desert-storm-950: oklch(0.2556 0.0275 30.23);
|
|
101
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
|
+
|
|
102
114
|
--color-primary-50: oklch(96.58% 0.016 262.77);
|
|
103
115
|
--color-primary-100: oklch(92.21% 0.037 262.15);
|
|
104
116
|
--color-primary-200: oklch(84.55% 0.074 259.28);
|
|
@@ -123,17 +135,17 @@
|
|
|
123
135
|
--color-success-900: oklch(22.65% 0.049 162.45);
|
|
124
136
|
--color-success-950: oklch(18.48% 0.04 162.16);
|
|
125
137
|
|
|
126
|
-
--color-default-50:
|
|
127
|
-
--color-default-100:
|
|
128
|
-
--color-default-200:
|
|
129
|
-
--color-default-300:
|
|
130
|
-
--color-default-400:
|
|
131
|
-
--color-default-500:
|
|
132
|
-
--color-default-600:
|
|
133
|
-
--color-default-700:
|
|
134
|
-
--color-default-800:
|
|
135
|
-
--color-default-900:
|
|
136
|
-
--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);
|
|
137
149
|
|
|
138
150
|
--color-warning-50: oklch(97.44% 0.014 46.3);
|
|
139
151
|
--color-warning-100: oklch(95.09% 0.027 49.62);
|
|
@@ -378,4 +390,50 @@
|
|
|
378
390
|
grid-row: var(--grid-row-order-navigation);
|
|
379
391
|
grid-area: navigation;
|
|
380
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
|
+
}
|
|
381
439
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -18,11 +18,16 @@ 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 { ResizableVariantProps, resizable } from './components/resizable.mjs';
|
|
23
|
+
export { RiskBadgeVariantProps, riskBadge } from './components/risk-badge.mjs';
|
|
21
24
|
export { RiskIndicatorVariantProps, riskIndicator } from './components/risk-indicator.mjs';
|
|
25
|
+
export { SectionRowSlots, SectionRowVariantProps, sectionRow } from './components/section-row.mjs';
|
|
22
26
|
export { SeparatorVariantProps, separator } from './components/separator.mjs';
|
|
23
27
|
export { SidebarMenuActionVariantProps, SidebarMenuButtonVariantProps, SidebarVariantProps, sidebar, sidebarMenuAction, sidebarMenuButton } from './components/sidebar.mjs';
|
|
24
28
|
export { skeleton } from './components/skeleton.mjs';
|
|
25
29
|
export { SpinnerVariants, spinner } from './components/spinner.mjs';
|
|
30
|
+
export { SplitPageLayoutVariantProps, splitPageLayout } from './components/split-page-layout.mjs';
|
|
26
31
|
export { TabNavSlots, TabNavVariantProps, tabNav } from './components/tab-nav.mjs';
|
|
27
32
|
export { TableSlots, TableVariantProps, table } from './components/table.mjs';
|
|
28
33
|
export { TabsVariantProps, tabs } from './components/tabs.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -18,11 +18,16 @@ 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 { ResizableVariantProps, resizable } from './components/resizable.js';
|
|
23
|
+
export { RiskBadgeVariantProps, riskBadge } from './components/risk-badge.js';
|
|
21
24
|
export { RiskIndicatorVariantProps, riskIndicator } from './components/risk-indicator.js';
|
|
25
|
+
export { SectionRowSlots, SectionRowVariantProps, sectionRow } from './components/section-row.js';
|
|
22
26
|
export { SeparatorVariantProps, separator } from './components/separator.js';
|
|
23
27
|
export { SidebarMenuActionVariantProps, SidebarMenuButtonVariantProps, SidebarVariantProps, sidebar, sidebarMenuAction, sidebarMenuButton } from './components/sidebar.js';
|
|
24
28
|
export { skeleton } from './components/skeleton.js';
|
|
25
29
|
export { SpinnerVariants, spinner } from './components/spinner.js';
|
|
30
|
+
export { SplitPageLayoutVariantProps, splitPageLayout } from './components/split-page-layout.js';
|
|
26
31
|
export { TabNavSlots, TabNavVariantProps, tabNav } from './components/tab-nav.js';
|
|
27
32
|
export { TableSlots, TableVariantProps, table } from './components/table.js';
|
|
28
33
|
export { TabsVariantProps, tabs } from './components/tabs.js';
|