@kopexa/theme 1.7.4 → 1.7.6
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-7BZAMXH2.mjs +14 -0
- package/dist/{chunk-CQZMQVAO.mjs → chunk-JHKTRIIA.mjs} +1 -1
- package/dist/{chunk-CWX7ZJ4B.mjs → chunk-JQ74U2S3.mjs} +2 -2
- package/dist/{chunk-QDDPXEQO.mjs → chunk-OLYO7UPH.mjs} +1 -1
- package/dist/chunk-QOW6FLZ6.mjs +26 -0
- package/dist/{chunk-KRTETJ33.mjs → chunk-ROZ24JVQ.mjs} +1 -1
- package/dist/chunk-SHHD2WUZ.mjs +99 -0
- package/dist/chunk-TPFAZH22.mjs +17 -0
- package/dist/{chunk-HALNIEC7.mjs → chunk-U32YEQZ5.mjs} +1 -1
- package/dist/{chunk-V5U46MEN.mjs → chunk-WSEO3MLK.mjs} +1 -1
- package/dist/{chunk-HU3STCSK.mjs → chunk-ZL6FAOXE.mjs} +1 -1
- package/dist/components/avatar.js +2 -2
- 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/framework-row.d.mts +48 -0
- package/dist/components/framework-row.d.ts +48 -0
- package/dist/components/framework-row.js +41 -0
- package/dist/components/framework-row.mjs +6 -0
- package/dist/components/index.d.mts +4 -0
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.js +196 -48
- package/dist/components/index.mjs +48 -32
- package/dist/components/integration-card.d.mts +111 -0
- package/dist/components/integration-card.d.ts +111 -0
- package/dist/components/integration-card.js +50 -0
- package/dist/components/integration-card.mjs +6 -0
- package/dist/components/related-control-chip.d.mts +38 -0
- package/dist/components/related-control-chip.d.ts +38 -0
- package/dist/components/related-control-chip.js +38 -0
- package/dist/components/related-control-chip.mjs +6 -0
- package/dist/components/skeleton-avatar.js +2 -2
- package/dist/components/skeleton-avatar.mjs +3 -3
- package/dist/components/standard-chip.d.mts +575 -0
- package/dist/components/standard-chip.d.ts +575 -0
- package/dist/components/standard-chip.js +491 -0
- package/dist/components/standard-chip.mjs +8 -0
- package/dist/components/tooltip.js +1 -1
- package/dist/components/tooltip.mjs +1 -1
- package/dist/index.css +41 -0
- package/dist/index.d.mts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +196 -48
- package/dist/index.mjs +48 -32
- package/dist/utils/variants.js +1 -1
- package/dist/utils/variants.mjs +1 -1
- package/package.json +3 -3
- /package/dist/{chunk-MVXKHHAX.mjs → chunk-MA4DKK64.mjs} +0 -0
|
@@ -0,0 +1,491 @@
|
|
|
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/standard-chip.ts
|
|
21
|
+
var standard_chip_exports = {};
|
|
22
|
+
__export(standard_chip_exports, {
|
|
23
|
+
standardChip: () => standardChip
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(standard_chip_exports);
|
|
26
|
+
var import_tailwind_variants2 = require("tailwind-variants");
|
|
27
|
+
|
|
28
|
+
// src/components/chip.ts
|
|
29
|
+
var import_tailwind_variants = require("tailwind-variants");
|
|
30
|
+
|
|
31
|
+
// src/utils/variants.ts
|
|
32
|
+
var solid = {
|
|
33
|
+
default: "bg-default-100 text-foreground dark:bg-default-900",
|
|
34
|
+
primary: "bg-primary text-primary-foreground",
|
|
35
|
+
secondary: "bg-secondary text-secondary-foreground",
|
|
36
|
+
destructive: "bg-destructive text-destructive-foreground",
|
|
37
|
+
warning: "bg-warning text-warning-foreground",
|
|
38
|
+
success: "bg-success text-success-foreground"
|
|
39
|
+
};
|
|
40
|
+
var outline = {
|
|
41
|
+
default: "bg-transparent border border-accent text-accent-foreground",
|
|
42
|
+
primary: "bg-transparent border-primary text-primary",
|
|
43
|
+
secondary: "bg-transparent border-secondary text-secondary-foreground",
|
|
44
|
+
destructive: "bg-transparent border-destructive text-destructive",
|
|
45
|
+
warning: "bg-transparent border-warning text-warning",
|
|
46
|
+
success: "bg-transparent border-success text-success"
|
|
47
|
+
};
|
|
48
|
+
var flat = {
|
|
49
|
+
default: "bg-accent/40 text-accent-700",
|
|
50
|
+
primary: "bg-primary/20 text-primary-600",
|
|
51
|
+
secondary: "bg-secondary/20 text-secondary-600",
|
|
52
|
+
success: "bg-success/20 text-success-700 dark:text-success",
|
|
53
|
+
warning: "bg-warning/20 text-warning-700 dark:text-warning",
|
|
54
|
+
destructive: "bg-danger/20 text-danger-600 dark:text-danger-500",
|
|
55
|
+
foreground: "bg-foreground/10 text-foreground"
|
|
56
|
+
};
|
|
57
|
+
var faded = {
|
|
58
|
+
default: "border-default bg-accent/30 text-default-foreground",
|
|
59
|
+
primary: "border-default bg-accent/30 text-primary",
|
|
60
|
+
secondary: "border-default bg-accent/30 text-secondary-foreground",
|
|
61
|
+
success: "border-default bg-accent/30 text-success",
|
|
62
|
+
warning: "border-default bg-accent/30 text-warning",
|
|
63
|
+
destructive: "border-default bg-accent/30 text-danger",
|
|
64
|
+
foreground: "border-default bg-accent/30 text-foreground"
|
|
65
|
+
};
|
|
66
|
+
var ghost = {
|
|
67
|
+
primary: "bg-transparent text-primary dark:text-primary-foreground",
|
|
68
|
+
secondary: "bg-transparent text-secondary data-[active-state=on]:text-accent-foreground",
|
|
69
|
+
destructive: "bg-transparent text-destructive",
|
|
70
|
+
warning: "bg-transparent text-warning",
|
|
71
|
+
success: "bg-transparent text-success",
|
|
72
|
+
default: "bg-transparent text-accent-foreground"
|
|
73
|
+
};
|
|
74
|
+
var colorVariants = {
|
|
75
|
+
solid,
|
|
76
|
+
ghost,
|
|
77
|
+
outline,
|
|
78
|
+
flat,
|
|
79
|
+
faded
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
// src/components/chip.ts
|
|
83
|
+
var chip = (0, import_tailwind_variants.tv)({
|
|
84
|
+
slots: {
|
|
85
|
+
root: [
|
|
86
|
+
"relative",
|
|
87
|
+
"max-w-fit",
|
|
88
|
+
"min-w-min",
|
|
89
|
+
"inline-flex",
|
|
90
|
+
"items-center",
|
|
91
|
+
"justify-between",
|
|
92
|
+
"box-border",
|
|
93
|
+
"whitespace-nowrap",
|
|
94
|
+
"isolate"
|
|
95
|
+
],
|
|
96
|
+
content: "flex-1 text-inherit font-normal",
|
|
97
|
+
indicator: "relative flex size-2 ml-1",
|
|
98
|
+
indicatorPulse: "absolute inline-flex h-full w-full animate-ping rounded-full opacity-75",
|
|
99
|
+
indicatorDot: "relative inline-flex size-2 rounded-full",
|
|
100
|
+
status: "flex items-center gap-2 border-r pr-1 font-medium ml-1",
|
|
101
|
+
closeButton: [
|
|
102
|
+
"z-10 appearance-none outline-none select-none transition-opacity",
|
|
103
|
+
"opacity-70 hover:opacity-100 cursor-pointer active:opacity-50"
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
variants: {
|
|
107
|
+
variant: {
|
|
108
|
+
solid: {},
|
|
109
|
+
bordered: {
|
|
110
|
+
root: "border-2 bg-transparent"
|
|
111
|
+
},
|
|
112
|
+
faded: {
|
|
113
|
+
root: "border-2"
|
|
114
|
+
},
|
|
115
|
+
flat: {}
|
|
116
|
+
},
|
|
117
|
+
color: {
|
|
118
|
+
default: {
|
|
119
|
+
status: "border-default-200 dark:border-default-700"
|
|
120
|
+
},
|
|
121
|
+
primary: {
|
|
122
|
+
status: "border-primary-200 dark:border-primary-700"
|
|
123
|
+
},
|
|
124
|
+
secondary: {
|
|
125
|
+
status: "border-secondary-200 dark:border-secondary-700"
|
|
126
|
+
},
|
|
127
|
+
success: {
|
|
128
|
+
status: "border-success-200 dark:border-success-700"
|
|
129
|
+
},
|
|
130
|
+
destructive: {
|
|
131
|
+
status: "border-destructive-200 dark:border-destructive-700"
|
|
132
|
+
},
|
|
133
|
+
warning: {
|
|
134
|
+
status: "border-warning-200 dark:border-warning-700"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
indicatorColor: {
|
|
138
|
+
default: {
|
|
139
|
+
indicatorDot: "bg-accent"
|
|
140
|
+
},
|
|
141
|
+
primary: {
|
|
142
|
+
indicatorDot: "bg-primary"
|
|
143
|
+
},
|
|
144
|
+
secondary: {
|
|
145
|
+
indicatorDot: "bg-secondary"
|
|
146
|
+
},
|
|
147
|
+
success: {
|
|
148
|
+
indicatorDot: "bg-success"
|
|
149
|
+
},
|
|
150
|
+
warning: {
|
|
151
|
+
indicatorDot: "bg-warning"
|
|
152
|
+
},
|
|
153
|
+
destructive: {
|
|
154
|
+
indicatorDot: "bg-destructive"
|
|
155
|
+
},
|
|
156
|
+
info: {
|
|
157
|
+
indicatorDot: "bg-info"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
indicator: {
|
|
161
|
+
true: {},
|
|
162
|
+
false: {}
|
|
163
|
+
},
|
|
164
|
+
indicatorVariant: {
|
|
165
|
+
pulse: {}
|
|
166
|
+
},
|
|
167
|
+
size: {
|
|
168
|
+
sm: {
|
|
169
|
+
root: "px-1 h-6 text-[11px] [&_svg]:size-3",
|
|
170
|
+
status: "text-[11px]",
|
|
171
|
+
content: "px-1",
|
|
172
|
+
closeButton: ["[&_svg]:size-3", "px-1"]
|
|
173
|
+
},
|
|
174
|
+
md: {
|
|
175
|
+
root: "px-1 h-7 text-sm [&_svg]:size-4",
|
|
176
|
+
status: "text-sm",
|
|
177
|
+
content: "px-2",
|
|
178
|
+
closeButton: ["[&_svg]:size-4", "px-2"]
|
|
179
|
+
},
|
|
180
|
+
lg: {
|
|
181
|
+
root: "px-2 h-8 text-md [&_svg]:size-5",
|
|
182
|
+
status: "text-md",
|
|
183
|
+
content: "px-2",
|
|
184
|
+
closeButton: ["[&_svg]:size-5", "px-2"]
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
isCloseable: {
|
|
188
|
+
true: {},
|
|
189
|
+
false: {}
|
|
190
|
+
},
|
|
191
|
+
radius: {
|
|
192
|
+
none: {
|
|
193
|
+
root: "rounded-none"
|
|
194
|
+
},
|
|
195
|
+
sm: {
|
|
196
|
+
root: "rounded-sm"
|
|
197
|
+
},
|
|
198
|
+
md: {
|
|
199
|
+
root: "rounded-md"
|
|
200
|
+
},
|
|
201
|
+
lg: {
|
|
202
|
+
root: "rounded-lg"
|
|
203
|
+
},
|
|
204
|
+
full: {
|
|
205
|
+
root: "rounded-full"
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
disabled: {
|
|
209
|
+
true: {
|
|
210
|
+
root: "opacity-50 pointer-events-none"
|
|
211
|
+
},
|
|
212
|
+
false: {}
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
defaultVariants: {
|
|
216
|
+
color: "default",
|
|
217
|
+
variant: "solid",
|
|
218
|
+
size: "sm",
|
|
219
|
+
radius: "full",
|
|
220
|
+
indicatorVariant: "pulse",
|
|
221
|
+
indicatorColor: "success"
|
|
222
|
+
},
|
|
223
|
+
compoundVariants: [
|
|
224
|
+
// solid / color
|
|
225
|
+
{
|
|
226
|
+
variant: "solid",
|
|
227
|
+
color: "default",
|
|
228
|
+
class: {
|
|
229
|
+
root: colorVariants.solid.default
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
variant: "solid",
|
|
234
|
+
color: "primary",
|
|
235
|
+
class: {
|
|
236
|
+
root: colorVariants.solid.primary
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
variant: "solid",
|
|
241
|
+
color: "secondary",
|
|
242
|
+
class: {
|
|
243
|
+
root: colorVariants.solid.secondary
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
variant: "solid",
|
|
248
|
+
color: "success",
|
|
249
|
+
class: {
|
|
250
|
+
root: colorVariants.solid.success
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
variant: "solid",
|
|
255
|
+
color: "warning",
|
|
256
|
+
class: {
|
|
257
|
+
root: colorVariants.solid.warning
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
variant: "solid",
|
|
262
|
+
color: "destructive",
|
|
263
|
+
class: {
|
|
264
|
+
root: colorVariants.solid.destructive
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
// bordered / color
|
|
268
|
+
{
|
|
269
|
+
variant: "bordered",
|
|
270
|
+
color: "default",
|
|
271
|
+
class: {
|
|
272
|
+
root: colorVariants.outline.default
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
variant: "bordered",
|
|
277
|
+
color: "primary",
|
|
278
|
+
class: {
|
|
279
|
+
root: colorVariants.outline.primary
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
variant: "bordered",
|
|
284
|
+
color: "secondary",
|
|
285
|
+
class: {
|
|
286
|
+
root: colorVariants.outline.secondary
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
variant: "bordered",
|
|
291
|
+
color: "success",
|
|
292
|
+
class: {
|
|
293
|
+
root: colorVariants.outline.success
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
variant: "bordered",
|
|
298
|
+
color: "warning",
|
|
299
|
+
class: {
|
|
300
|
+
root: colorVariants.outline.warning
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
variant: "bordered",
|
|
305
|
+
color: "destructive",
|
|
306
|
+
class: {
|
|
307
|
+
root: colorVariants.outline.destructive
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
variant: "flat",
|
|
312
|
+
color: "default",
|
|
313
|
+
class: {
|
|
314
|
+
root: colorVariants.flat.default
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
variant: "flat",
|
|
319
|
+
color: "primary",
|
|
320
|
+
class: {
|
|
321
|
+
root: colorVariants.flat.primary
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
variant: "flat",
|
|
326
|
+
color: "secondary",
|
|
327
|
+
class: {
|
|
328
|
+
root: colorVariants.flat.secondary
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
variant: "flat",
|
|
333
|
+
color: "success",
|
|
334
|
+
class: {
|
|
335
|
+
root: colorVariants.flat.success
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
variant: "flat",
|
|
340
|
+
color: "warning",
|
|
341
|
+
class: {
|
|
342
|
+
root: colorVariants.flat.warning
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
variant: "flat",
|
|
347
|
+
color: "destructive",
|
|
348
|
+
class: {
|
|
349
|
+
root: colorVariants.flat.destructive
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
// faded / color
|
|
353
|
+
{
|
|
354
|
+
variant: "faded",
|
|
355
|
+
color: "default",
|
|
356
|
+
class: {
|
|
357
|
+
root: colorVariants.faded.default
|
|
358
|
+
}
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
variant: "faded",
|
|
362
|
+
color: "primary",
|
|
363
|
+
class: {
|
|
364
|
+
root: colorVariants.faded.primary
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
variant: "faded",
|
|
369
|
+
color: "secondary",
|
|
370
|
+
class: {
|
|
371
|
+
root: colorVariants.faded.secondary
|
|
372
|
+
}
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
variant: "faded",
|
|
376
|
+
color: "success",
|
|
377
|
+
class: {
|
|
378
|
+
root: colorVariants.faded.success
|
|
379
|
+
}
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
variant: "faded",
|
|
383
|
+
color: "warning",
|
|
384
|
+
class: {
|
|
385
|
+
root: colorVariants.faded.warning
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
variant: "faded",
|
|
390
|
+
color: "destructive",
|
|
391
|
+
class: {
|
|
392
|
+
root: colorVariants.faded.destructive
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
]
|
|
396
|
+
});
|
|
397
|
+
|
|
398
|
+
// src/components/standard-chip.ts
|
|
399
|
+
var standardChip = (0, import_tailwind_variants2.tv)({
|
|
400
|
+
extend: chip,
|
|
401
|
+
slots: {
|
|
402
|
+
root: [
|
|
403
|
+
"inline-flex",
|
|
404
|
+
"gap-1",
|
|
405
|
+
"items-center",
|
|
406
|
+
"rounded-full",
|
|
407
|
+
"border border-border text-xs font-semibold transition-colors focus:outline-hidden h-fit shrink-0"
|
|
408
|
+
],
|
|
409
|
+
hexagon: [
|
|
410
|
+
"size-2.5 bg-[currentColor] [clip-path:polygon(50%_0%,95%_25%,95%_75%,50%_100%,5%_75%,5%_25%)]"
|
|
411
|
+
]
|
|
412
|
+
},
|
|
413
|
+
variants: {
|
|
414
|
+
standard: {
|
|
415
|
+
"ISO 27001": {
|
|
416
|
+
hexagon: "text-standard-iso27001"
|
|
417
|
+
},
|
|
418
|
+
"ISO/IEC 27001:2017": {
|
|
419
|
+
hexagon: "text-standard-iso27001"
|
|
420
|
+
},
|
|
421
|
+
"ISO 9001": {
|
|
422
|
+
hexagon: "text-standard-iso9001"
|
|
423
|
+
},
|
|
424
|
+
"ISO 14001": {
|
|
425
|
+
hexagon: "text-standard-iso14001"
|
|
426
|
+
},
|
|
427
|
+
"NIS 2": {
|
|
428
|
+
hexagon: "text-standard-nis2"
|
|
429
|
+
},
|
|
430
|
+
"NIST 800-53": {
|
|
431
|
+
hexagon: "text-standard-nist80053"
|
|
432
|
+
},
|
|
433
|
+
"NIST CSF": {
|
|
434
|
+
hexagon: "text-standard-nistcsf"
|
|
435
|
+
},
|
|
436
|
+
"SOC 2": {
|
|
437
|
+
hexagon: "text-standard-soc2"
|
|
438
|
+
},
|
|
439
|
+
"NIST SSDF": {
|
|
440
|
+
hexagon: "text-standard-nistssdf"
|
|
441
|
+
},
|
|
442
|
+
GDPR: {
|
|
443
|
+
hexagon: "text-standard-gdpr"
|
|
444
|
+
},
|
|
445
|
+
"CIS Benchmarks": {
|
|
446
|
+
hexagon: "text-standard-cis"
|
|
447
|
+
},
|
|
448
|
+
CCM: {
|
|
449
|
+
hexagon: "text-standard-ccm"
|
|
450
|
+
},
|
|
451
|
+
HIPAA: { hexagon: "text-standard-hipaa" },
|
|
452
|
+
HIPPA: { hexagon: "text-standard-hipaa" },
|
|
453
|
+
// alias for common misspelling
|
|
454
|
+
SOX: {
|
|
455
|
+
hexagon: "text-standard-sox"
|
|
456
|
+
},
|
|
457
|
+
/* EU & DE add-ons */
|
|
458
|
+
DORA: { hexagon: "text-standard-dora" },
|
|
459
|
+
"Cyber Resilience Act": { hexagon: "text-standard-cra" },
|
|
460
|
+
"EU AI Act": { hexagon: "text-standard-eu-aiact" },
|
|
461
|
+
"eIDAS 2.0": { hexagon: "text-standard-eidas2" },
|
|
462
|
+
"BSI IT-Grundschutz": { hexagon: "text-standard-bsi-itg" },
|
|
463
|
+
"KRITIS / IT-SiG 2.0": { hexagon: "text-standard-kritis" },
|
|
464
|
+
"BSI C5": { hexagon: "text-standard-bsi-c5" },
|
|
465
|
+
/* Industry & extended ISO */
|
|
466
|
+
TISAX: { hexagon: "text-standard-tisax" },
|
|
467
|
+
"PCI DSS": { hexagon: "text-standard-pci-dss" },
|
|
468
|
+
"IEC 62443": { hexagon: "text-standard-iec-62443" },
|
|
469
|
+
"ISO 27701": { hexagon: "text-standard-iso27701" },
|
|
470
|
+
"ISO 27017": { hexagon: "text-standard-iso27017" },
|
|
471
|
+
"ISO 27018": { hexagon: "text-standard-iso27018" },
|
|
472
|
+
"ISO 22301": { hexagon: "text-standard-iso22301" },
|
|
473
|
+
"ISO 20000-1": { hexagon: "text-standard-iso20000-1" },
|
|
474
|
+
CUSTOM: {
|
|
475
|
+
hexagon: "text-standard-custom"
|
|
476
|
+
}
|
|
477
|
+
},
|
|
478
|
+
size: {
|
|
479
|
+
sm: {},
|
|
480
|
+
md: {},
|
|
481
|
+
lg: {}
|
|
482
|
+
}
|
|
483
|
+
},
|
|
484
|
+
defaultVariants: {
|
|
485
|
+
standard: "CUSTOM"
|
|
486
|
+
}
|
|
487
|
+
});
|
|
488
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
489
|
+
0 && (module.exports = {
|
|
490
|
+
standardChip
|
|
491
|
+
});
|
|
@@ -27,7 +27,7 @@ var import_tailwind_variants = require("tailwind-variants");
|
|
|
27
27
|
var tooltip = (0, import_tailwind_variants.tv)({
|
|
28
28
|
slots: {
|
|
29
29
|
content: [
|
|
30
|
-
"bg-primary text-primary-foreground",
|
|
30
|
+
"bg-primary-900 text-primary-foreground",
|
|
31
31
|
"animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
32
32
|
"z-50 w-fit origin-(--radix-tooltip-content-transform-origin)",
|
|
33
33
|
"rounded-md px-3 py-1.5 text-xs font-medium text-balance",
|
package/dist/index.css
CHANGED
|
@@ -43,6 +43,8 @@
|
|
|
43
43
|
--sidebar-accent-foreground: var(--color-primary-50);
|
|
44
44
|
--sidebar-border: var(--color-default-200);
|
|
45
45
|
--sidebar-ring: oklch(0.708 0 0);
|
|
46
|
+
|
|
47
|
+
|
|
46
48
|
}
|
|
47
49
|
|
|
48
50
|
.dark {
|
|
@@ -183,6 +185,45 @@
|
|
|
183
185
|
--color-info-900: oklch(24.87% 0.058 240.76);
|
|
184
186
|
--color-info-950: oklch(18.67% 0.043 240.07);
|
|
185
187
|
|
|
188
|
+
/** Standard Specific colors */
|
|
189
|
+
--color-standard-iso27001: var(--color-blue-700);
|
|
190
|
+
--color-standard-iso9001: var(--color-sky-500);
|
|
191
|
+
--color-standard-iso14001: var(--color-green-600);
|
|
192
|
+
--color-standard-nis2: var(--color-blue-600);
|
|
193
|
+
--color-standard-nist80053: var(--color-purple-600);
|
|
194
|
+
--color-standard-nistcsf: var(--color-indigo-600);
|
|
195
|
+
--color-standard-nistssdf: var(--color-violet-500);
|
|
196
|
+
--color-standard-soc2: var(--color-cyan-600);
|
|
197
|
+
--color-standard-gdpr: var(--color-yellow-500);
|
|
198
|
+
--color-standard-cis: var(--color-emerald-500);
|
|
199
|
+
--color-standard-ccm: var(--color-teal-500);
|
|
200
|
+
--color-standard-hipaa: var(--color-rose-500);
|
|
201
|
+
--color-standard-sox: var(--color-orange-500);
|
|
202
|
+
/** EU & DE add-ons */
|
|
203
|
+
--color-standard-dora: var(--color-amber-600);
|
|
204
|
+
--color-standard-cra: var(--color-lime-600);
|
|
205
|
+
--color-standard-eu-aiact: var(--color-fuchsia-600);
|
|
206
|
+
--color-standard-eidas2: var(--color-blue-800);
|
|
207
|
+
|
|
208
|
+
--color-standard-bsi-itg: var(--color-slate-600); /* IT-Grundschutz */
|
|
209
|
+
--color-standard-kritis: var(--color-red-700); /* KRITIS / IT-SiG 2.0 */
|
|
210
|
+
--color-standard-bsi-c5: var(--color-zinc-600);
|
|
211
|
+
|
|
212
|
+
/** Industry & extended ISO */
|
|
213
|
+
--color-standard-tisax: var(--color-yellow-600);
|
|
214
|
+
--color-standard-pci-dss: var(--color-red-600);
|
|
215
|
+
--color-standard-iec-62443: var(--color-lime-700);
|
|
216
|
+
--color-standard-iso27701: var(--color-cyan-700);
|
|
217
|
+
--color-standard-iso27017: var(--color-teal-700);
|
|
218
|
+
--color-standard-iso27018: var(--color-sky-600);
|
|
219
|
+
--color-standard-iso22301: var(--color-pink-600);
|
|
220
|
+
--color-standard-iso20000-1: var(--color-violet-600);
|
|
221
|
+
|
|
222
|
+
/** Neutral / custom */
|
|
223
|
+
--color-standard-custom: var(--color-gray-500);
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
186
227
|
|
|
187
228
|
--color-background: var(--background);
|
|
188
229
|
--color-foreground: var(--foreground);
|
package/dist/index.d.mts
CHANGED
|
@@ -16,13 +16,16 @@ export { DataTableVariants, dataTable } from './components/data-table.mjs';
|
|
|
16
16
|
export { DialogSlots, DialogVariantProps, dialog } from './components/dialog.mjs';
|
|
17
17
|
export { DrawerVariantProps, drawer } from './components/drawer.mjs';
|
|
18
18
|
export { DropdownMenuVariantProps, dropdownMenu } from './components/dropdown-menu.mjs';
|
|
19
|
+
export { frameworkRow } from './components/framework-row.mjs';
|
|
19
20
|
export { HeadingVariantProps, heading } from './components/heading.mjs';
|
|
20
21
|
export { HoverCardSlots, HoverCardVariantProps, hoverCard } from './components/hover-card.mjs';
|
|
21
22
|
export { InputVariantProps, input, passwordInput } from './components/input.mjs';
|
|
23
|
+
export { IntegrationCardSlots, IntegrationCardVariantProps, integrationCard } from './components/integration-card.mjs';
|
|
22
24
|
export { PageHeaderVariantProps, pageHeader } from './components/page-header.mjs';
|
|
23
25
|
export { PageLayoutSlots, PageLayoutVariantProps, pageLayout } from './components/page-layout.mjs';
|
|
24
26
|
export { PopoverVariants, popover } from './components/popover.mjs';
|
|
25
27
|
export { PreviewCardSlots, PreviewCardVariantProps, previewCard } from './components/preview-card.mjs';
|
|
28
|
+
export { RelatedControlChipVariantsProps, relatedControlChip } from './components/related-control-chip.mjs';
|
|
26
29
|
export { ResizableVariantProps, resizable } from './components/resizable.mjs';
|
|
27
30
|
export { RiskBadgeVariantProps, riskBadge } from './components/risk-badge.mjs';
|
|
28
31
|
export { RiskIndicatorVariantProps, riskIndicator } from './components/risk-indicator.mjs';
|
|
@@ -33,6 +36,7 @@ export { skeleton } from './components/skeleton.mjs';
|
|
|
33
36
|
export { SkeletonAvatarVariantProps, skeletonAvatar } from './components/skeleton-avatar.mjs';
|
|
34
37
|
export { SpinnerVariants, spinner } from './components/spinner.mjs';
|
|
35
38
|
export { SplitPageLayoutVariantProps, splitPageLayout } from './components/split-page-layout.mjs';
|
|
39
|
+
export { StandardChipVariants, standardChip } from './components/standard-chip.mjs';
|
|
36
40
|
export { TabNavSlots, TabNavVariantProps, tabNav } from './components/tab-nav.mjs';
|
|
37
41
|
export { TableSlots, TableVariantProps, table } from './components/table.mjs';
|
|
38
42
|
export { TabsVariantProps, tabs } from './components/tabs.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -16,13 +16,16 @@ export { DataTableVariants, dataTable } from './components/data-table.js';
|
|
|
16
16
|
export { DialogSlots, DialogVariantProps, dialog } from './components/dialog.js';
|
|
17
17
|
export { DrawerVariantProps, drawer } from './components/drawer.js';
|
|
18
18
|
export { DropdownMenuVariantProps, dropdownMenu } from './components/dropdown-menu.js';
|
|
19
|
+
export { frameworkRow } from './components/framework-row.js';
|
|
19
20
|
export { HeadingVariantProps, heading } from './components/heading.js';
|
|
20
21
|
export { HoverCardSlots, HoverCardVariantProps, hoverCard } from './components/hover-card.js';
|
|
21
22
|
export { InputVariantProps, input, passwordInput } from './components/input.js';
|
|
23
|
+
export { IntegrationCardSlots, IntegrationCardVariantProps, integrationCard } from './components/integration-card.js';
|
|
22
24
|
export { PageHeaderVariantProps, pageHeader } from './components/page-header.js';
|
|
23
25
|
export { PageLayoutSlots, PageLayoutVariantProps, pageLayout } from './components/page-layout.js';
|
|
24
26
|
export { PopoverVariants, popover } from './components/popover.js';
|
|
25
27
|
export { PreviewCardSlots, PreviewCardVariantProps, previewCard } from './components/preview-card.js';
|
|
28
|
+
export { RelatedControlChipVariantsProps, relatedControlChip } from './components/related-control-chip.js';
|
|
26
29
|
export { ResizableVariantProps, resizable } from './components/resizable.js';
|
|
27
30
|
export { RiskBadgeVariantProps, riskBadge } from './components/risk-badge.js';
|
|
28
31
|
export { RiskIndicatorVariantProps, riskIndicator } from './components/risk-indicator.js';
|
|
@@ -33,6 +36,7 @@ export { skeleton } from './components/skeleton.js';
|
|
|
33
36
|
export { SkeletonAvatarVariantProps, skeletonAvatar } from './components/skeleton-avatar.js';
|
|
34
37
|
export { SpinnerVariants, spinner } from './components/spinner.js';
|
|
35
38
|
export { SplitPageLayoutVariantProps, splitPageLayout } from './components/split-page-layout.js';
|
|
39
|
+
export { StandardChipVariants, standardChip } from './components/standard-chip.js';
|
|
36
40
|
export { TabNavSlots, TabNavVariantProps, tabNav } from './components/tab-nav.js';
|
|
37
41
|
export { TableSlots, TableVariantProps, table } from './components/table.js';
|
|
38
42
|
export { TabsVariantProps, tabs } from './components/tabs.js';
|