@kopexa/theme 17.5.0 → 17.7.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-NIEFB74U.mjs +64 -0
- package/dist/chunk-PKB6QHSP.mjs +103 -0
- package/dist/chunk-RZ45NVOH.mjs +50 -0
- package/dist/chunk-TDITF5BB.mjs +79 -0
- package/dist/{chunk-PWH7OU6T.mjs → chunk-Z2SMCAER.mjs} +7 -4
- package/dist/components/combobox.js +7 -4
- package/dist/components/combobox.mjs +1 -1
- package/dist/components/compliance-badge.d.mts +47 -0
- package/dist/components/compliance-badge.d.ts +47 -0
- package/dist/components/compliance-badge.js +74 -0
- package/dist/components/compliance-badge.mjs +6 -0
- package/dist/components/filter.d.mts +143 -0
- package/dist/components/filter.d.ts +143 -0
- package/dist/components/filter.js +131 -0
- package/dist/components/filter.mjs +7 -0
- package/dist/components/impact-card.d.mts +122 -0
- package/dist/components/impact-card.d.ts +122 -0
- package/dist/components/impact-card.js +103 -0
- package/dist/components/impact-card.mjs +6 -0
- package/dist/components/index.d.mts +4 -0
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.js +439 -98
- package/dist/components/index.mjs +57 -41
- 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 +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +439 -98
- package/dist/index.mjs +57 -41
- package/package.json +2 -2
- package/dist/chunk-7BZAMXH2.mjs +0 -14
- /package/dist/{chunk-BYXTAZ4I.mjs → chunk-ALG7CNQH.mjs} +0 -0
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
|
|
3
|
+
declare const riskRating: tailwind_variants.TVReturnType<{
|
|
4
|
+
size: {
|
|
5
|
+
sm: {
|
|
6
|
+
badge: string;
|
|
7
|
+
label: string;
|
|
8
|
+
};
|
|
9
|
+
md: {
|
|
10
|
+
badge: string;
|
|
11
|
+
label: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
level: {
|
|
15
|
+
unrated: {
|
|
16
|
+
badge: string;
|
|
17
|
+
label: string;
|
|
18
|
+
iconWrapper: string;
|
|
19
|
+
icon: string;
|
|
20
|
+
};
|
|
21
|
+
low: {
|
|
22
|
+
badge: string;
|
|
23
|
+
label: string;
|
|
24
|
+
iconWrapper: string;
|
|
25
|
+
icon: string;
|
|
26
|
+
};
|
|
27
|
+
medium: {
|
|
28
|
+
badge: string;
|
|
29
|
+
label: string;
|
|
30
|
+
iconWrapper: string;
|
|
31
|
+
icon: string;
|
|
32
|
+
};
|
|
33
|
+
high: {
|
|
34
|
+
badge: string;
|
|
35
|
+
label: string;
|
|
36
|
+
iconWrapper: string;
|
|
37
|
+
icon: string;
|
|
38
|
+
};
|
|
39
|
+
critical: {
|
|
40
|
+
badge: string;
|
|
41
|
+
label: string;
|
|
42
|
+
iconWrapper: string;
|
|
43
|
+
icon: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
}, {
|
|
47
|
+
base: string;
|
|
48
|
+
badge: string;
|
|
49
|
+
label: string;
|
|
50
|
+
iconWrapper: string;
|
|
51
|
+
icon: string;
|
|
52
|
+
}, undefined, {
|
|
53
|
+
size: {
|
|
54
|
+
sm: {
|
|
55
|
+
badge: string;
|
|
56
|
+
label: string;
|
|
57
|
+
};
|
|
58
|
+
md: {
|
|
59
|
+
badge: string;
|
|
60
|
+
label: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
level: {
|
|
64
|
+
unrated: {
|
|
65
|
+
badge: string;
|
|
66
|
+
label: string;
|
|
67
|
+
iconWrapper: string;
|
|
68
|
+
icon: string;
|
|
69
|
+
};
|
|
70
|
+
low: {
|
|
71
|
+
badge: string;
|
|
72
|
+
label: string;
|
|
73
|
+
iconWrapper: string;
|
|
74
|
+
icon: string;
|
|
75
|
+
};
|
|
76
|
+
medium: {
|
|
77
|
+
badge: string;
|
|
78
|
+
label: string;
|
|
79
|
+
iconWrapper: string;
|
|
80
|
+
icon: string;
|
|
81
|
+
};
|
|
82
|
+
high: {
|
|
83
|
+
badge: string;
|
|
84
|
+
label: string;
|
|
85
|
+
iconWrapper: string;
|
|
86
|
+
icon: string;
|
|
87
|
+
};
|
|
88
|
+
critical: {
|
|
89
|
+
badge: string;
|
|
90
|
+
label: string;
|
|
91
|
+
iconWrapper: string;
|
|
92
|
+
icon: string;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}, {
|
|
96
|
+
base: string;
|
|
97
|
+
badge: string;
|
|
98
|
+
label: string;
|
|
99
|
+
iconWrapper: string;
|
|
100
|
+
icon: string;
|
|
101
|
+
}, tailwind_variants.TVReturnType<{
|
|
102
|
+
size: {
|
|
103
|
+
sm: {
|
|
104
|
+
badge: string;
|
|
105
|
+
label: string;
|
|
106
|
+
};
|
|
107
|
+
md: {
|
|
108
|
+
badge: string;
|
|
109
|
+
label: string;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
level: {
|
|
113
|
+
unrated: {
|
|
114
|
+
badge: string;
|
|
115
|
+
label: string;
|
|
116
|
+
iconWrapper: string;
|
|
117
|
+
icon: string;
|
|
118
|
+
};
|
|
119
|
+
low: {
|
|
120
|
+
badge: string;
|
|
121
|
+
label: string;
|
|
122
|
+
iconWrapper: string;
|
|
123
|
+
icon: string;
|
|
124
|
+
};
|
|
125
|
+
medium: {
|
|
126
|
+
badge: string;
|
|
127
|
+
label: string;
|
|
128
|
+
iconWrapper: string;
|
|
129
|
+
icon: string;
|
|
130
|
+
};
|
|
131
|
+
high: {
|
|
132
|
+
badge: string;
|
|
133
|
+
label: string;
|
|
134
|
+
iconWrapper: string;
|
|
135
|
+
icon: string;
|
|
136
|
+
};
|
|
137
|
+
critical: {
|
|
138
|
+
badge: string;
|
|
139
|
+
label: string;
|
|
140
|
+
iconWrapper: string;
|
|
141
|
+
icon: string;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
}, {
|
|
145
|
+
base: string;
|
|
146
|
+
badge: string;
|
|
147
|
+
label: string;
|
|
148
|
+
iconWrapper: string;
|
|
149
|
+
icon: string;
|
|
150
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
151
|
+
type RiskRatingVariantProps = Parameters<typeof riskRating>[0];
|
|
152
|
+
type RiskRatingSlots = keyof ReturnType<typeof riskRating>;
|
|
153
|
+
|
|
154
|
+
export { type RiskRatingSlots, type RiskRatingVariantProps, riskRating };
|
|
@@ -0,0 +1,88 @@
|
|
|
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/risk-rating.ts
|
|
21
|
+
var risk_rating_exports = {};
|
|
22
|
+
__export(risk_rating_exports, {
|
|
23
|
+
riskRating: () => riskRating
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(risk_rating_exports);
|
|
26
|
+
var import_tailwind_variants = require("tailwind-variants");
|
|
27
|
+
var riskRating = (0, import_tailwind_variants.tv)({
|
|
28
|
+
slots: {
|
|
29
|
+
base: "flex items-center gap-2",
|
|
30
|
+
badge: "flex items-center justify-center rounded-md font-bold",
|
|
31
|
+
label: "font-medium",
|
|
32
|
+
// Icon slots for list items
|
|
33
|
+
iconWrapper: "p-2 rounded-lg shrink-0",
|
|
34
|
+
icon: "size-4"
|
|
35
|
+
},
|
|
36
|
+
variants: {
|
|
37
|
+
size: {
|
|
38
|
+
sm: {
|
|
39
|
+
badge: "size-6 text-xs",
|
|
40
|
+
label: "text-xs"
|
|
41
|
+
},
|
|
42
|
+
md: {
|
|
43
|
+
badge: "size-8 text-sm",
|
|
44
|
+
label: "text-sm"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
level: {
|
|
48
|
+
unrated: {
|
|
49
|
+
badge: "bg-muted text-muted-foreground font-medium",
|
|
50
|
+
label: "text-muted-foreground",
|
|
51
|
+
iconWrapper: "bg-muted/50",
|
|
52
|
+
icon: "text-muted-foreground"
|
|
53
|
+
},
|
|
54
|
+
low: {
|
|
55
|
+
badge: "bg-success text-white",
|
|
56
|
+
label: "text-success",
|
|
57
|
+
iconWrapper: "bg-success/10",
|
|
58
|
+
icon: "text-success"
|
|
59
|
+
},
|
|
60
|
+
medium: {
|
|
61
|
+
badge: "bg-warning text-white",
|
|
62
|
+
label: "text-warning",
|
|
63
|
+
iconWrapper: "bg-warning/10",
|
|
64
|
+
icon: "text-warning"
|
|
65
|
+
},
|
|
66
|
+
high: {
|
|
67
|
+
badge: "bg-orange-500 text-white",
|
|
68
|
+
label: "text-orange-500",
|
|
69
|
+
iconWrapper: "bg-orange-500/10",
|
|
70
|
+
icon: "text-orange-500"
|
|
71
|
+
},
|
|
72
|
+
critical: {
|
|
73
|
+
badge: "bg-destructive text-white",
|
|
74
|
+
label: "text-destructive",
|
|
75
|
+
iconWrapper: "bg-destructive/10",
|
|
76
|
+
icon: "text-destructive"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
defaultVariants: {
|
|
81
|
+
size: "md",
|
|
82
|
+
level: "unrated"
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
86
|
+
0 && (module.exports = {
|
|
87
|
+
riskRating
|
|
88
|
+
});
|
package/dist/index.d.mts
CHANGED
|
@@ -15,6 +15,7 @@ export { CodeVariantProps, code } from './components/code.mjs';
|
|
|
15
15
|
export { colorHighlightButton } from './components/color-highlight-button.mjs';
|
|
16
16
|
export { ComboboxVariantProps, combobox } from './components/combobox.mjs';
|
|
17
17
|
export { CommandVariants, command } from './components/command.mjs';
|
|
18
|
+
export { ComplianceBadgeSlots, ComplianceBadgeVariantProps, complianceBadge } from './components/compliance-badge.mjs';
|
|
18
19
|
export { controlExtension } from './components/control-extension.mjs';
|
|
19
20
|
export { DataGridVariants, datagrid } from './components/data-grid.mjs';
|
|
20
21
|
export { DataTableVariants, dataTable } from './components/data-table.mjs';
|
|
@@ -24,10 +25,12 @@ export { DropdownMenuVariantProps, dropdownMenu } from './components/dropdown-me
|
|
|
24
25
|
export { EditorBasicVariants, editorBasic } from './components/editor-basic.mjs';
|
|
25
26
|
export { editorSpinner } from './components/editor-spinner.mjs';
|
|
26
27
|
export { AvatarUploadSlots, AvatarUploadVariants, avatarUpload } from './components/file-upload.mjs';
|
|
28
|
+
export { FilterSlots, FilterVariantProps, filter } from './components/filter.mjs';
|
|
27
29
|
export { frameworkRow } from './components/framework-row.mjs';
|
|
28
30
|
export { HeadingVariantProps, heading } from './components/heading.mjs';
|
|
29
31
|
export { HoverCardSlots, HoverCardVariantProps, hoverCard } from './components/hover-card.mjs';
|
|
30
32
|
export { imageCrop } from './components/image-crop.mjs';
|
|
33
|
+
export { ImpactCardSlots, ImpactCardVariantProps, impactCard } from './components/impact-card.mjs';
|
|
31
34
|
export { InputVariantProps, input, passwordInput } from './components/input.mjs';
|
|
32
35
|
export { inputGroup } from './components/input-group.mjs';
|
|
33
36
|
export { InputWrapperVariantProps, inputWrapper } from './components/input-wrapper.mjs';
|
|
@@ -43,6 +46,7 @@ export { RelatedControlChipVariantsProps, relatedControlChip } from './component
|
|
|
43
46
|
export { ResizableVariantProps, resizable } from './components/resizable.mjs';
|
|
44
47
|
export { RiskBadgeVariantProps, riskBadge } from './components/risk-badge.mjs';
|
|
45
48
|
export { RiskIndicatorVariantProps, riskIndicator } from './components/risk-indicator.mjs';
|
|
49
|
+
export { RiskRatingSlots, RiskRatingVariantProps, riskRating } from './components/risk-rating.mjs';
|
|
46
50
|
export { ScrollAreaVariantProps, scrollArea } from './components/scroll-area.mjs';
|
|
47
51
|
export { SectionRowSlots, SectionRowVariantProps, sectionRow } from './components/section-row.mjs';
|
|
48
52
|
export { SelectVariantProps, select } from './components/select.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export { CodeVariantProps, code } from './components/code.js';
|
|
|
15
15
|
export { colorHighlightButton } from './components/color-highlight-button.js';
|
|
16
16
|
export { ComboboxVariantProps, combobox } from './components/combobox.js';
|
|
17
17
|
export { CommandVariants, command } from './components/command.js';
|
|
18
|
+
export { ComplianceBadgeSlots, ComplianceBadgeVariantProps, complianceBadge } from './components/compliance-badge.js';
|
|
18
19
|
export { controlExtension } from './components/control-extension.js';
|
|
19
20
|
export { DataGridVariants, datagrid } from './components/data-grid.js';
|
|
20
21
|
export { DataTableVariants, dataTable } from './components/data-table.js';
|
|
@@ -24,10 +25,12 @@ export { DropdownMenuVariantProps, dropdownMenu } from './components/dropdown-me
|
|
|
24
25
|
export { EditorBasicVariants, editorBasic } from './components/editor-basic.js';
|
|
25
26
|
export { editorSpinner } from './components/editor-spinner.js';
|
|
26
27
|
export { AvatarUploadSlots, AvatarUploadVariants, avatarUpload } from './components/file-upload.js';
|
|
28
|
+
export { FilterSlots, FilterVariantProps, filter } from './components/filter.js';
|
|
27
29
|
export { frameworkRow } from './components/framework-row.js';
|
|
28
30
|
export { HeadingVariantProps, heading } from './components/heading.js';
|
|
29
31
|
export { HoverCardSlots, HoverCardVariantProps, hoverCard } from './components/hover-card.js';
|
|
30
32
|
export { imageCrop } from './components/image-crop.js';
|
|
33
|
+
export { ImpactCardSlots, ImpactCardVariantProps, impactCard } from './components/impact-card.js';
|
|
31
34
|
export { InputVariantProps, input, passwordInput } from './components/input.js';
|
|
32
35
|
export { inputGroup } from './components/input-group.js';
|
|
33
36
|
export { InputWrapperVariantProps, inputWrapper } from './components/input-wrapper.js';
|
|
@@ -43,6 +46,7 @@ export { RelatedControlChipVariantsProps, relatedControlChip } from './component
|
|
|
43
46
|
export { ResizableVariantProps, resizable } from './components/resizable.js';
|
|
44
47
|
export { RiskBadgeVariantProps, riskBadge } from './components/risk-badge.js';
|
|
45
48
|
export { RiskIndicatorVariantProps, riskIndicator } from './components/risk-indicator.js';
|
|
49
|
+
export { RiskRatingSlots, RiskRatingVariantProps, riskRating } from './components/risk-rating.js';
|
|
46
50
|
export { ScrollAreaVariantProps, scrollArea } from './components/scroll-area.js';
|
|
47
51
|
export { SectionRowSlots, SectionRowVariantProps, sectionRow } from './components/section-row.js';
|
|
48
52
|
export { SelectVariantProps, select } from './components/select.js';
|