@kopexa/theme 17.6.0 → 17.8.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/chunk-CNYKIUVC.mjs +64 -0
- package/dist/chunk-CPAF7VNM.mjs +51 -0
- package/dist/{chunk-TDITF5BB.mjs → chunk-EJSDSK3G.mjs} +4 -0
- package/dist/chunk-NIEFB74U.mjs +64 -0
- package/dist/components/audit-info.d.mts +119 -0
- package/dist/components/audit-info.d.ts +119 -0
- package/dist/components/audit-info.js +75 -0
- package/dist/components/audit-info.mjs +6 -0
- package/dist/components/command.d.mts +3 -3
- package/dist/components/command.d.ts +3 -3
- package/dist/components/dropdown-menu.d.mts +3 -3
- package/dist/components/dropdown-menu.d.ts +3 -3
- package/dist/components/impact-card.d.mts +6 -0
- package/dist/components/impact-card.d.ts +6 -0
- package/dist/components/impact-card.js +4 -0
- package/dist/components/impact-card.mjs +1 -1
- package/dist/components/index.d.mts +2 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +298 -131
- package/dist/components/index.mjs +37 -29
- package/dist/components/related-control-chip.d.mts +68 -20
- package/dist/components/related-control-chip.d.ts +68 -20
- package/dist/components/related-control-chip.js +52 -2
- package/dist/components/related-control-chip.mjs +1 -1
- package/dist/components/risk-rating.d.mts +154 -0
- package/dist/components/risk-rating.d.ts +154 -0
- package/dist/components/risk-rating.js +88 -0
- package/dist/components/risk-rating.mjs +6 -0
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +298 -131
- package/dist/index.mjs +37 -29
- package/package.json +3 -3
- package/dist/chunk-7BZAMXH2.mjs +0 -14
- /package/dist/{chunk-M35MNWR7.mjs → chunk-7ED3ZIKG.mjs} +0 -0
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
// src/components/risk-rating.ts
|
|
2
|
+
import { tv } from "tailwind-variants";
|
|
3
|
+
var riskRating = tv({
|
|
4
|
+
slots: {
|
|
5
|
+
base: "flex items-center gap-2",
|
|
6
|
+
badge: "flex items-center justify-center rounded-md font-bold",
|
|
7
|
+
label: "font-medium",
|
|
8
|
+
// Icon slots for list items
|
|
9
|
+
iconWrapper: "p-2 rounded-lg shrink-0",
|
|
10
|
+
icon: "size-4"
|
|
11
|
+
},
|
|
12
|
+
variants: {
|
|
13
|
+
size: {
|
|
14
|
+
sm: {
|
|
15
|
+
badge: "size-6 text-xs",
|
|
16
|
+
label: "text-xs"
|
|
17
|
+
},
|
|
18
|
+
md: {
|
|
19
|
+
badge: "size-8 text-sm",
|
|
20
|
+
label: "text-sm"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
level: {
|
|
24
|
+
unrated: {
|
|
25
|
+
badge: "bg-muted text-muted-foreground font-medium",
|
|
26
|
+
label: "text-muted-foreground",
|
|
27
|
+
iconWrapper: "bg-muted/50",
|
|
28
|
+
icon: "text-muted-foreground"
|
|
29
|
+
},
|
|
30
|
+
low: {
|
|
31
|
+
badge: "bg-success text-white",
|
|
32
|
+
label: "text-success",
|
|
33
|
+
iconWrapper: "bg-success/10",
|
|
34
|
+
icon: "text-success"
|
|
35
|
+
},
|
|
36
|
+
medium: {
|
|
37
|
+
badge: "bg-warning text-white",
|
|
38
|
+
label: "text-warning",
|
|
39
|
+
iconWrapper: "bg-warning/10",
|
|
40
|
+
icon: "text-warning"
|
|
41
|
+
},
|
|
42
|
+
high: {
|
|
43
|
+
badge: "bg-orange-500 text-white",
|
|
44
|
+
label: "text-orange-500",
|
|
45
|
+
iconWrapper: "bg-orange-500/10",
|
|
46
|
+
icon: "text-orange-500"
|
|
47
|
+
},
|
|
48
|
+
critical: {
|
|
49
|
+
badge: "bg-destructive text-white",
|
|
50
|
+
label: "text-destructive",
|
|
51
|
+
iconWrapper: "bg-destructive/10",
|
|
52
|
+
icon: "text-destructive"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
defaultVariants: {
|
|
57
|
+
size: "md",
|
|
58
|
+
level: "unrated"
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
export {
|
|
63
|
+
riskRating
|
|
64
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// src/components/audit-info.ts
|
|
2
|
+
import { tv } from "tailwind-variants";
|
|
3
|
+
var auditInfo = tv({
|
|
4
|
+
slots: {
|
|
5
|
+
root: "",
|
|
6
|
+
title: "text-xs font-medium text-muted-foreground uppercase tracking-wide",
|
|
7
|
+
list: "text-xs",
|
|
8
|
+
item: "flex justify-between",
|
|
9
|
+
label: "text-muted-foreground",
|
|
10
|
+
value: ""
|
|
11
|
+
},
|
|
12
|
+
variants: {
|
|
13
|
+
size: {
|
|
14
|
+
sm: {
|
|
15
|
+
list: "text-[11px]"
|
|
16
|
+
},
|
|
17
|
+
md: {
|
|
18
|
+
list: "text-xs"
|
|
19
|
+
},
|
|
20
|
+
lg: {
|
|
21
|
+
list: "text-sm"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
spacing: {
|
|
25
|
+
none: {
|
|
26
|
+
root: "space-y-0",
|
|
27
|
+
list: "space-y-0"
|
|
28
|
+
},
|
|
29
|
+
sm: {
|
|
30
|
+
root: "space-y-1",
|
|
31
|
+
list: "space-y-1"
|
|
32
|
+
},
|
|
33
|
+
md: {
|
|
34
|
+
root: "space-y-2",
|
|
35
|
+
list: "space-y-2"
|
|
36
|
+
},
|
|
37
|
+
lg: {
|
|
38
|
+
root: "space-y-3",
|
|
39
|
+
list: "space-y-3"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
defaultVariants: {
|
|
44
|
+
size: "md",
|
|
45
|
+
spacing: "none"
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
export {
|
|
50
|
+
auditInfo
|
|
51
|
+
};
|
|
@@ -4,6 +4,10 @@ var impactCard = tv({
|
|
|
4
4
|
slots: {
|
|
5
5
|
// Card wrapper (extends Card.Root)
|
|
6
6
|
root: "",
|
|
7
|
+
// Wrapper for inline variant (no card)
|
|
8
|
+
wrapper: "space-y-3",
|
|
9
|
+
// Header for inline variant
|
|
10
|
+
inlineHeader: "flex items-center justify-between mb-3",
|
|
7
11
|
// Individual impact row
|
|
8
12
|
row: ["rounded-lg", "border", "p-3", "transition-all"],
|
|
9
13
|
rowContent: "flex items-center gap-3",
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
// src/components/related-control-chip.ts
|
|
2
|
+
import { tv } from "tailwind-variants";
|
|
3
|
+
var relatedControlChip = tv({
|
|
4
|
+
slots: {
|
|
5
|
+
// Container for all chips
|
|
6
|
+
root: "flex flex-wrap items-center gap-1",
|
|
7
|
+
// Individual chip/tag
|
|
8
|
+
chip: [
|
|
9
|
+
"inline-flex",
|
|
10
|
+
"items-center",
|
|
11
|
+
"gap-0.5",
|
|
12
|
+
"px-1.5",
|
|
13
|
+
"py-0.5",
|
|
14
|
+
"rounded",
|
|
15
|
+
"text-xs",
|
|
16
|
+
"font-mono",
|
|
17
|
+
"bg-muted",
|
|
18
|
+
"text-muted-foreground",
|
|
19
|
+
"transition-colors",
|
|
20
|
+
"cursor-default"
|
|
21
|
+
],
|
|
22
|
+
// Framework prefix (e.g., "iso27001:")
|
|
23
|
+
chipPrefix: "text-muted-foreground/70",
|
|
24
|
+
// Control ID (e.g., "a-7-1")
|
|
25
|
+
chipId: "font-medium",
|
|
26
|
+
// Overflow indicator (e.g., "+3")
|
|
27
|
+
overflow: [
|
|
28
|
+
"text-xs",
|
|
29
|
+
"text-muted-foreground",
|
|
30
|
+
"cursor-pointer",
|
|
31
|
+
"hover:text-foreground",
|
|
32
|
+
"transition-colors"
|
|
33
|
+
],
|
|
34
|
+
// Tooltip content
|
|
35
|
+
tooltip: "text-xs"
|
|
36
|
+
},
|
|
37
|
+
variants: {
|
|
38
|
+
size: {
|
|
39
|
+
sm: {
|
|
40
|
+
chip: "text-[10px] px-1 py-px",
|
|
41
|
+
overflow: "text-[10px]"
|
|
42
|
+
},
|
|
43
|
+
md: {},
|
|
44
|
+
lg: {
|
|
45
|
+
chip: "text-sm px-2 py-1",
|
|
46
|
+
overflow: "text-sm"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
interactive: {
|
|
50
|
+
true: {
|
|
51
|
+
chip: "cursor-pointer hover:bg-primary/10 hover:text-primary"
|
|
52
|
+
},
|
|
53
|
+
false: {}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
defaultVariants: {
|
|
57
|
+
size: "md",
|
|
58
|
+
interactive: false
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
export {
|
|
63
|
+
relatedControlChip
|
|
64
|
+
};
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
declare const auditInfo: tailwind_variants.TVReturnType<{
|
|
5
|
+
size: {
|
|
6
|
+
sm: {
|
|
7
|
+
list: string;
|
|
8
|
+
};
|
|
9
|
+
md: {
|
|
10
|
+
list: string;
|
|
11
|
+
};
|
|
12
|
+
lg: {
|
|
13
|
+
list: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
spacing: {
|
|
17
|
+
none: {
|
|
18
|
+
root: string;
|
|
19
|
+
list: string;
|
|
20
|
+
};
|
|
21
|
+
sm: {
|
|
22
|
+
root: string;
|
|
23
|
+
list: string;
|
|
24
|
+
};
|
|
25
|
+
md: {
|
|
26
|
+
root: string;
|
|
27
|
+
list: string;
|
|
28
|
+
};
|
|
29
|
+
lg: {
|
|
30
|
+
root: string;
|
|
31
|
+
list: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
}, {
|
|
35
|
+
root: string;
|
|
36
|
+
title: string;
|
|
37
|
+
list: string;
|
|
38
|
+
item: string;
|
|
39
|
+
label: string;
|
|
40
|
+
value: string;
|
|
41
|
+
}, undefined, {
|
|
42
|
+
size: {
|
|
43
|
+
sm: {
|
|
44
|
+
list: string;
|
|
45
|
+
};
|
|
46
|
+
md: {
|
|
47
|
+
list: string;
|
|
48
|
+
};
|
|
49
|
+
lg: {
|
|
50
|
+
list: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
spacing: {
|
|
54
|
+
none: {
|
|
55
|
+
root: string;
|
|
56
|
+
list: string;
|
|
57
|
+
};
|
|
58
|
+
sm: {
|
|
59
|
+
root: string;
|
|
60
|
+
list: string;
|
|
61
|
+
};
|
|
62
|
+
md: {
|
|
63
|
+
root: string;
|
|
64
|
+
list: string;
|
|
65
|
+
};
|
|
66
|
+
lg: {
|
|
67
|
+
root: string;
|
|
68
|
+
list: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
}, {
|
|
72
|
+
root: string;
|
|
73
|
+
title: string;
|
|
74
|
+
list: string;
|
|
75
|
+
item: string;
|
|
76
|
+
label: string;
|
|
77
|
+
value: string;
|
|
78
|
+
}, tailwind_variants.TVReturnType<{
|
|
79
|
+
size: {
|
|
80
|
+
sm: {
|
|
81
|
+
list: string;
|
|
82
|
+
};
|
|
83
|
+
md: {
|
|
84
|
+
list: string;
|
|
85
|
+
};
|
|
86
|
+
lg: {
|
|
87
|
+
list: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
spacing: {
|
|
91
|
+
none: {
|
|
92
|
+
root: string;
|
|
93
|
+
list: string;
|
|
94
|
+
};
|
|
95
|
+
sm: {
|
|
96
|
+
root: string;
|
|
97
|
+
list: string;
|
|
98
|
+
};
|
|
99
|
+
md: {
|
|
100
|
+
root: string;
|
|
101
|
+
list: string;
|
|
102
|
+
};
|
|
103
|
+
lg: {
|
|
104
|
+
root: string;
|
|
105
|
+
list: string;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
}, {
|
|
109
|
+
root: string;
|
|
110
|
+
title: string;
|
|
111
|
+
list: string;
|
|
112
|
+
item: string;
|
|
113
|
+
label: string;
|
|
114
|
+
value: string;
|
|
115
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
116
|
+
type AuditInfoVariantProps = VariantProps<typeof auditInfo>;
|
|
117
|
+
type AuditInfoSlots = keyof ReturnType<typeof auditInfo>;
|
|
118
|
+
|
|
119
|
+
export { type AuditInfoSlots, type AuditInfoVariantProps, auditInfo };
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
declare const auditInfo: tailwind_variants.TVReturnType<{
|
|
5
|
+
size: {
|
|
6
|
+
sm: {
|
|
7
|
+
list: string;
|
|
8
|
+
};
|
|
9
|
+
md: {
|
|
10
|
+
list: string;
|
|
11
|
+
};
|
|
12
|
+
lg: {
|
|
13
|
+
list: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
spacing: {
|
|
17
|
+
none: {
|
|
18
|
+
root: string;
|
|
19
|
+
list: string;
|
|
20
|
+
};
|
|
21
|
+
sm: {
|
|
22
|
+
root: string;
|
|
23
|
+
list: string;
|
|
24
|
+
};
|
|
25
|
+
md: {
|
|
26
|
+
root: string;
|
|
27
|
+
list: string;
|
|
28
|
+
};
|
|
29
|
+
lg: {
|
|
30
|
+
root: string;
|
|
31
|
+
list: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
}, {
|
|
35
|
+
root: string;
|
|
36
|
+
title: string;
|
|
37
|
+
list: string;
|
|
38
|
+
item: string;
|
|
39
|
+
label: string;
|
|
40
|
+
value: string;
|
|
41
|
+
}, undefined, {
|
|
42
|
+
size: {
|
|
43
|
+
sm: {
|
|
44
|
+
list: string;
|
|
45
|
+
};
|
|
46
|
+
md: {
|
|
47
|
+
list: string;
|
|
48
|
+
};
|
|
49
|
+
lg: {
|
|
50
|
+
list: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
spacing: {
|
|
54
|
+
none: {
|
|
55
|
+
root: string;
|
|
56
|
+
list: string;
|
|
57
|
+
};
|
|
58
|
+
sm: {
|
|
59
|
+
root: string;
|
|
60
|
+
list: string;
|
|
61
|
+
};
|
|
62
|
+
md: {
|
|
63
|
+
root: string;
|
|
64
|
+
list: string;
|
|
65
|
+
};
|
|
66
|
+
lg: {
|
|
67
|
+
root: string;
|
|
68
|
+
list: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
}, {
|
|
72
|
+
root: string;
|
|
73
|
+
title: string;
|
|
74
|
+
list: string;
|
|
75
|
+
item: string;
|
|
76
|
+
label: string;
|
|
77
|
+
value: string;
|
|
78
|
+
}, tailwind_variants.TVReturnType<{
|
|
79
|
+
size: {
|
|
80
|
+
sm: {
|
|
81
|
+
list: string;
|
|
82
|
+
};
|
|
83
|
+
md: {
|
|
84
|
+
list: string;
|
|
85
|
+
};
|
|
86
|
+
lg: {
|
|
87
|
+
list: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
spacing: {
|
|
91
|
+
none: {
|
|
92
|
+
root: string;
|
|
93
|
+
list: string;
|
|
94
|
+
};
|
|
95
|
+
sm: {
|
|
96
|
+
root: string;
|
|
97
|
+
list: string;
|
|
98
|
+
};
|
|
99
|
+
md: {
|
|
100
|
+
root: string;
|
|
101
|
+
list: string;
|
|
102
|
+
};
|
|
103
|
+
lg: {
|
|
104
|
+
root: string;
|
|
105
|
+
list: string;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
}, {
|
|
109
|
+
root: string;
|
|
110
|
+
title: string;
|
|
111
|
+
list: string;
|
|
112
|
+
item: string;
|
|
113
|
+
label: string;
|
|
114
|
+
value: string;
|
|
115
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
116
|
+
type AuditInfoVariantProps = VariantProps<typeof auditInfo>;
|
|
117
|
+
type AuditInfoSlots = keyof ReturnType<typeof auditInfo>;
|
|
118
|
+
|
|
119
|
+
export { type AuditInfoSlots, type AuditInfoVariantProps, auditInfo };
|
|
@@ -0,0 +1,75 @@
|
|
|
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/audit-info.ts
|
|
21
|
+
var audit_info_exports = {};
|
|
22
|
+
__export(audit_info_exports, {
|
|
23
|
+
auditInfo: () => auditInfo
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(audit_info_exports);
|
|
26
|
+
var import_tailwind_variants = require("tailwind-variants");
|
|
27
|
+
var auditInfo = (0, import_tailwind_variants.tv)({
|
|
28
|
+
slots: {
|
|
29
|
+
root: "",
|
|
30
|
+
title: "text-xs font-medium text-muted-foreground uppercase tracking-wide",
|
|
31
|
+
list: "text-xs",
|
|
32
|
+
item: "flex justify-between",
|
|
33
|
+
label: "text-muted-foreground",
|
|
34
|
+
value: ""
|
|
35
|
+
},
|
|
36
|
+
variants: {
|
|
37
|
+
size: {
|
|
38
|
+
sm: {
|
|
39
|
+
list: "text-[11px]"
|
|
40
|
+
},
|
|
41
|
+
md: {
|
|
42
|
+
list: "text-xs"
|
|
43
|
+
},
|
|
44
|
+
lg: {
|
|
45
|
+
list: "text-sm"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
spacing: {
|
|
49
|
+
none: {
|
|
50
|
+
root: "space-y-0",
|
|
51
|
+
list: "space-y-0"
|
|
52
|
+
},
|
|
53
|
+
sm: {
|
|
54
|
+
root: "space-y-1",
|
|
55
|
+
list: "space-y-1"
|
|
56
|
+
},
|
|
57
|
+
md: {
|
|
58
|
+
root: "space-y-2",
|
|
59
|
+
list: "space-y-2"
|
|
60
|
+
},
|
|
61
|
+
lg: {
|
|
62
|
+
root: "space-y-3",
|
|
63
|
+
list: "space-y-3"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
defaultVariants: {
|
|
68
|
+
size: "md",
|
|
69
|
+
spacing: "none"
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
73
|
+
0 && (module.exports = {
|
|
74
|
+
auditInfo
|
|
75
|
+
});
|
|
@@ -10,8 +10,8 @@ declare const command: tailwind_variants.TVReturnType<{
|
|
|
10
10
|
header?: tailwind_merge.ClassNameValue;
|
|
11
11
|
title?: tailwind_merge.ClassNameValue;
|
|
12
12
|
description?: tailwind_merge.ClassNameValue;
|
|
13
|
-
input?: tailwind_merge.ClassNameValue;
|
|
14
13
|
list?: tailwind_merge.ClassNameValue;
|
|
14
|
+
input?: tailwind_merge.ClassNameValue;
|
|
15
15
|
empty?: tailwind_merge.ClassNameValue;
|
|
16
16
|
group?: tailwind_merge.ClassNameValue;
|
|
17
17
|
separator?: tailwind_merge.ClassNameValue;
|
|
@@ -28,8 +28,8 @@ declare const command: tailwind_variants.TVReturnType<{
|
|
|
28
28
|
header?: tailwind_merge.ClassNameValue;
|
|
29
29
|
title?: tailwind_merge.ClassNameValue;
|
|
30
30
|
description?: tailwind_merge.ClassNameValue;
|
|
31
|
-
input?: tailwind_merge.ClassNameValue;
|
|
32
31
|
list?: tailwind_merge.ClassNameValue;
|
|
32
|
+
input?: tailwind_merge.ClassNameValue;
|
|
33
33
|
empty?: tailwind_merge.ClassNameValue;
|
|
34
34
|
group?: tailwind_merge.ClassNameValue;
|
|
35
35
|
separator?: tailwind_merge.ClassNameValue;
|
|
@@ -60,8 +60,8 @@ declare const command: tailwind_variants.TVReturnType<{
|
|
|
60
60
|
header?: tailwind_merge.ClassNameValue;
|
|
61
61
|
title?: tailwind_merge.ClassNameValue;
|
|
62
62
|
description?: tailwind_merge.ClassNameValue;
|
|
63
|
-
input?: tailwind_merge.ClassNameValue;
|
|
64
63
|
list?: tailwind_merge.ClassNameValue;
|
|
64
|
+
input?: tailwind_merge.ClassNameValue;
|
|
65
65
|
empty?: tailwind_merge.ClassNameValue;
|
|
66
66
|
group?: tailwind_merge.ClassNameValue;
|
|
67
67
|
separator?: tailwind_merge.ClassNameValue;
|
|
@@ -10,8 +10,8 @@ declare const command: tailwind_variants.TVReturnType<{
|
|
|
10
10
|
header?: tailwind_merge.ClassNameValue;
|
|
11
11
|
title?: tailwind_merge.ClassNameValue;
|
|
12
12
|
description?: tailwind_merge.ClassNameValue;
|
|
13
|
-
input?: tailwind_merge.ClassNameValue;
|
|
14
13
|
list?: tailwind_merge.ClassNameValue;
|
|
14
|
+
input?: tailwind_merge.ClassNameValue;
|
|
15
15
|
empty?: tailwind_merge.ClassNameValue;
|
|
16
16
|
group?: tailwind_merge.ClassNameValue;
|
|
17
17
|
separator?: tailwind_merge.ClassNameValue;
|
|
@@ -28,8 +28,8 @@ declare const command: tailwind_variants.TVReturnType<{
|
|
|
28
28
|
header?: tailwind_merge.ClassNameValue;
|
|
29
29
|
title?: tailwind_merge.ClassNameValue;
|
|
30
30
|
description?: tailwind_merge.ClassNameValue;
|
|
31
|
-
input?: tailwind_merge.ClassNameValue;
|
|
32
31
|
list?: tailwind_merge.ClassNameValue;
|
|
32
|
+
input?: tailwind_merge.ClassNameValue;
|
|
33
33
|
empty?: tailwind_merge.ClassNameValue;
|
|
34
34
|
group?: tailwind_merge.ClassNameValue;
|
|
35
35
|
separator?: tailwind_merge.ClassNameValue;
|
|
@@ -60,8 +60,8 @@ declare const command: tailwind_variants.TVReturnType<{
|
|
|
60
60
|
header?: tailwind_merge.ClassNameValue;
|
|
61
61
|
title?: tailwind_merge.ClassNameValue;
|
|
62
62
|
description?: tailwind_merge.ClassNameValue;
|
|
63
|
-
input?: tailwind_merge.ClassNameValue;
|
|
64
63
|
list?: tailwind_merge.ClassNameValue;
|
|
64
|
+
input?: tailwind_merge.ClassNameValue;
|
|
65
65
|
empty?: tailwind_merge.ClassNameValue;
|
|
66
66
|
group?: tailwind_merge.ClassNameValue;
|
|
67
67
|
separator?: tailwind_merge.ClassNameValue;
|
|
@@ -8,8 +8,8 @@ declare const dropdownMenu: tailwind_variants.TVReturnType<{
|
|
|
8
8
|
root?: tailwind_merge.ClassNameValue;
|
|
9
9
|
item?: tailwind_merge.ClassNameValue;
|
|
10
10
|
content?: tailwind_merge.ClassNameValue;
|
|
11
|
-
icon?: tailwind_merge.ClassNameValue;
|
|
12
11
|
label?: tailwind_merge.ClassNameValue;
|
|
12
|
+
icon?: tailwind_merge.ClassNameValue;
|
|
13
13
|
separator?: tailwind_merge.ClassNameValue;
|
|
14
14
|
shortcut?: tailwind_merge.ClassNameValue;
|
|
15
15
|
checkboxItem?: tailwind_merge.ClassNameValue;
|
|
@@ -27,8 +27,8 @@ declare const dropdownMenu: tailwind_variants.TVReturnType<{
|
|
|
27
27
|
root?: tailwind_merge.ClassNameValue;
|
|
28
28
|
item?: tailwind_merge.ClassNameValue;
|
|
29
29
|
content?: tailwind_merge.ClassNameValue;
|
|
30
|
-
icon?: tailwind_merge.ClassNameValue;
|
|
31
30
|
label?: tailwind_merge.ClassNameValue;
|
|
31
|
+
icon?: tailwind_merge.ClassNameValue;
|
|
32
32
|
separator?: tailwind_merge.ClassNameValue;
|
|
33
33
|
shortcut?: tailwind_merge.ClassNameValue;
|
|
34
34
|
checkboxItem?: tailwind_merge.ClassNameValue;
|
|
@@ -61,8 +61,8 @@ declare const dropdownMenu: tailwind_variants.TVReturnType<{
|
|
|
61
61
|
root?: tailwind_merge.ClassNameValue;
|
|
62
62
|
item?: tailwind_merge.ClassNameValue;
|
|
63
63
|
content?: tailwind_merge.ClassNameValue;
|
|
64
|
-
icon?: tailwind_merge.ClassNameValue;
|
|
65
64
|
label?: tailwind_merge.ClassNameValue;
|
|
65
|
+
icon?: tailwind_merge.ClassNameValue;
|
|
66
66
|
separator?: tailwind_merge.ClassNameValue;
|
|
67
67
|
shortcut?: tailwind_merge.ClassNameValue;
|
|
68
68
|
checkboxItem?: tailwind_merge.ClassNameValue;
|
|
@@ -8,8 +8,8 @@ declare const dropdownMenu: tailwind_variants.TVReturnType<{
|
|
|
8
8
|
root?: tailwind_merge.ClassNameValue;
|
|
9
9
|
item?: tailwind_merge.ClassNameValue;
|
|
10
10
|
content?: tailwind_merge.ClassNameValue;
|
|
11
|
-
icon?: tailwind_merge.ClassNameValue;
|
|
12
11
|
label?: tailwind_merge.ClassNameValue;
|
|
12
|
+
icon?: tailwind_merge.ClassNameValue;
|
|
13
13
|
separator?: tailwind_merge.ClassNameValue;
|
|
14
14
|
shortcut?: tailwind_merge.ClassNameValue;
|
|
15
15
|
checkboxItem?: tailwind_merge.ClassNameValue;
|
|
@@ -27,8 +27,8 @@ declare const dropdownMenu: tailwind_variants.TVReturnType<{
|
|
|
27
27
|
root?: tailwind_merge.ClassNameValue;
|
|
28
28
|
item?: tailwind_merge.ClassNameValue;
|
|
29
29
|
content?: tailwind_merge.ClassNameValue;
|
|
30
|
-
icon?: tailwind_merge.ClassNameValue;
|
|
31
30
|
label?: tailwind_merge.ClassNameValue;
|
|
31
|
+
icon?: tailwind_merge.ClassNameValue;
|
|
32
32
|
separator?: tailwind_merge.ClassNameValue;
|
|
33
33
|
shortcut?: tailwind_merge.ClassNameValue;
|
|
34
34
|
checkboxItem?: tailwind_merge.ClassNameValue;
|
|
@@ -61,8 +61,8 @@ declare const dropdownMenu: tailwind_variants.TVReturnType<{
|
|
|
61
61
|
root?: tailwind_merge.ClassNameValue;
|
|
62
62
|
item?: tailwind_merge.ClassNameValue;
|
|
63
63
|
content?: tailwind_merge.ClassNameValue;
|
|
64
|
-
icon?: tailwind_merge.ClassNameValue;
|
|
65
64
|
label?: tailwind_merge.ClassNameValue;
|
|
65
|
+
icon?: tailwind_merge.ClassNameValue;
|
|
66
66
|
separator?: tailwind_merge.ClassNameValue;
|
|
67
67
|
shortcut?: tailwind_merge.ClassNameValue;
|
|
68
68
|
checkboxItem?: tailwind_merge.ClassNameValue;
|
|
@@ -22,6 +22,8 @@ declare const impactCard: tailwind_variants.TVReturnType<{
|
|
|
22
22
|
};
|
|
23
23
|
}, {
|
|
24
24
|
root: string;
|
|
25
|
+
wrapper: string;
|
|
26
|
+
inlineHeader: string;
|
|
25
27
|
row: string[];
|
|
26
28
|
rowContent: string;
|
|
27
29
|
rowIcon: string[];
|
|
@@ -60,6 +62,8 @@ declare const impactCard: tailwind_variants.TVReturnType<{
|
|
|
60
62
|
};
|
|
61
63
|
}, {
|
|
62
64
|
root: string;
|
|
65
|
+
wrapper: string;
|
|
66
|
+
inlineHeader: string;
|
|
63
67
|
row: string[];
|
|
64
68
|
rowContent: string;
|
|
65
69
|
rowIcon: string[];
|
|
@@ -98,6 +102,8 @@ declare const impactCard: tailwind_variants.TVReturnType<{
|
|
|
98
102
|
};
|
|
99
103
|
}, {
|
|
100
104
|
root: string;
|
|
105
|
+
wrapper: string;
|
|
106
|
+
inlineHeader: string;
|
|
101
107
|
row: string[];
|
|
102
108
|
rowContent: string;
|
|
103
109
|
rowIcon: string[];
|
|
@@ -22,6 +22,8 @@ declare const impactCard: tailwind_variants.TVReturnType<{
|
|
|
22
22
|
};
|
|
23
23
|
}, {
|
|
24
24
|
root: string;
|
|
25
|
+
wrapper: string;
|
|
26
|
+
inlineHeader: string;
|
|
25
27
|
row: string[];
|
|
26
28
|
rowContent: string;
|
|
27
29
|
rowIcon: string[];
|
|
@@ -60,6 +62,8 @@ declare const impactCard: tailwind_variants.TVReturnType<{
|
|
|
60
62
|
};
|
|
61
63
|
}, {
|
|
62
64
|
root: string;
|
|
65
|
+
wrapper: string;
|
|
66
|
+
inlineHeader: string;
|
|
63
67
|
row: string[];
|
|
64
68
|
rowContent: string;
|
|
65
69
|
rowIcon: string[];
|
|
@@ -98,6 +102,8 @@ declare const impactCard: tailwind_variants.TVReturnType<{
|
|
|
98
102
|
};
|
|
99
103
|
}, {
|
|
100
104
|
root: string;
|
|
105
|
+
wrapper: string;
|
|
106
|
+
inlineHeader: string;
|
|
101
107
|
row: string[];
|
|
102
108
|
rowContent: string;
|
|
103
109
|
rowIcon: string[];
|
|
@@ -28,6 +28,10 @@ var impactCard = (0, import_tailwind_variants.tv)({
|
|
|
28
28
|
slots: {
|
|
29
29
|
// Card wrapper (extends Card.Root)
|
|
30
30
|
root: "",
|
|
31
|
+
// Wrapper for inline variant (no card)
|
|
32
|
+
wrapper: "space-y-3",
|
|
33
|
+
// Header for inline variant
|
|
34
|
+
inlineHeader: "flex items-center justify-between mb-3",
|
|
31
35
|
// Individual impact row
|
|
32
36
|
row: ["rounded-lg", "border", "p-3", "transition-all"],
|
|
33
37
|
rowContent: "flex items-center gap-3",
|