@kopexa/theme 17.6.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/components/index.d.mts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +153 -40
- package/dist/components/index.mjs +12 -8
- 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 +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +153 -40
- package/dist/index.mjs +12 -8
- package/package.json +2 -2
- package/dist/chunk-7BZAMXH2.mjs +0 -14
- /package/dist/{chunk-M35MNWR7.mjs → chunk-ALG7CNQH.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,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
|
+
};
|
|
@@ -45,6 +45,7 @@ export { RelatedControlChipVariantsProps, relatedControlChip } from './related-c
|
|
|
45
45
|
export { ResizableVariantProps, resizable } from './resizable.mjs';
|
|
46
46
|
export { RiskBadgeVariantProps, riskBadge } from './risk-badge.mjs';
|
|
47
47
|
export { RiskIndicatorVariantProps, riskIndicator } from './risk-indicator.mjs';
|
|
48
|
+
export { RiskRatingSlots, RiskRatingVariantProps, riskRating } from './risk-rating.mjs';
|
|
48
49
|
export { ScrollAreaVariantProps, scrollArea } from './scroll-area.mjs';
|
|
49
50
|
export { SectionRowSlots, SectionRowVariantProps, sectionRow } from './section-row.mjs';
|
|
50
51
|
export { SelectVariantProps, select } from './select.mjs';
|
|
@@ -45,6 +45,7 @@ export { RelatedControlChipVariantsProps, relatedControlChip } from './related-c
|
|
|
45
45
|
export { ResizableVariantProps, resizable } from './resizable.js';
|
|
46
46
|
export { RiskBadgeVariantProps, riskBadge } from './risk-badge.js';
|
|
47
47
|
export { RiskIndicatorVariantProps, riskIndicator } from './risk-indicator.js';
|
|
48
|
+
export { RiskRatingSlots, RiskRatingVariantProps, riskRating } from './risk-rating.js';
|
|
48
49
|
export { ScrollAreaVariantProps, scrollArea } from './scroll-area.js';
|
|
49
50
|
export { SectionRowSlots, SectionRowVariantProps, sectionRow } from './section-row.js';
|
|
50
51
|
export { SelectVariantProps, select } from './select.js';
|
package/dist/components/index.js
CHANGED
|
@@ -68,6 +68,7 @@ __export(components_exports, {
|
|
|
68
68
|
resizable: () => resizable,
|
|
69
69
|
riskBadge: () => riskBadge,
|
|
70
70
|
riskIndicator: () => riskIndicator,
|
|
71
|
+
riskRating: () => riskRating,
|
|
71
72
|
scrollArea: () => scrollArea,
|
|
72
73
|
sectionRow: () => sectionRow,
|
|
73
74
|
select: () => select,
|
|
@@ -3061,10 +3062,60 @@ var previewCard = (0, import_tailwind_variants43.tv)({
|
|
|
3061
3062
|
var import_tailwind_variants44 = require("tailwind-variants");
|
|
3062
3063
|
var relatedControlChip = (0, import_tailwind_variants44.tv)({
|
|
3063
3064
|
slots: {
|
|
3064
|
-
|
|
3065
|
-
|
|
3065
|
+
// Container for all chips
|
|
3066
|
+
root: "flex flex-wrap items-center gap-1",
|
|
3067
|
+
// Individual chip/tag
|
|
3068
|
+
chip: [
|
|
3069
|
+
"inline-flex",
|
|
3070
|
+
"items-center",
|
|
3071
|
+
"gap-0.5",
|
|
3072
|
+
"px-1.5",
|
|
3073
|
+
"py-0.5",
|
|
3074
|
+
"rounded",
|
|
3075
|
+
"text-xs",
|
|
3076
|
+
"font-mono",
|
|
3077
|
+
"bg-muted",
|
|
3078
|
+
"text-muted-foreground",
|
|
3079
|
+
"transition-colors",
|
|
3080
|
+
"cursor-default"
|
|
3066
3081
|
],
|
|
3082
|
+
// Framework prefix (e.g., "iso27001:")
|
|
3083
|
+
chipPrefix: "text-muted-foreground/70",
|
|
3084
|
+
// Control ID (e.g., "a-7-1")
|
|
3085
|
+
chipId: "font-medium",
|
|
3086
|
+
// Overflow indicator (e.g., "+3")
|
|
3087
|
+
overflow: [
|
|
3088
|
+
"text-xs",
|
|
3089
|
+
"text-muted-foreground",
|
|
3090
|
+
"cursor-pointer",
|
|
3091
|
+
"hover:text-foreground",
|
|
3092
|
+
"transition-colors"
|
|
3093
|
+
],
|
|
3094
|
+
// Tooltip content
|
|
3067
3095
|
tooltip: "text-xs"
|
|
3096
|
+
},
|
|
3097
|
+
variants: {
|
|
3098
|
+
size: {
|
|
3099
|
+
sm: {
|
|
3100
|
+
chip: "text-[10px] px-1 py-px",
|
|
3101
|
+
overflow: "text-[10px]"
|
|
3102
|
+
},
|
|
3103
|
+
md: {},
|
|
3104
|
+
lg: {
|
|
3105
|
+
chip: "text-sm px-2 py-1",
|
|
3106
|
+
overflow: "text-sm"
|
|
3107
|
+
}
|
|
3108
|
+
},
|
|
3109
|
+
interactive: {
|
|
3110
|
+
true: {
|
|
3111
|
+
chip: "cursor-pointer hover:bg-primary/10 hover:text-primary"
|
|
3112
|
+
},
|
|
3113
|
+
false: {}
|
|
3114
|
+
}
|
|
3115
|
+
},
|
|
3116
|
+
defaultVariants: {
|
|
3117
|
+
size: "md",
|
|
3118
|
+
interactive: false
|
|
3068
3119
|
}
|
|
3069
3120
|
});
|
|
3070
3121
|
|
|
@@ -3169,9 +3220,70 @@ var riskIndicator = (0, import_tailwind_variants47.tv)({
|
|
|
3169
3220
|
}
|
|
3170
3221
|
});
|
|
3171
3222
|
|
|
3172
|
-
// src/components/
|
|
3223
|
+
// src/components/risk-rating.ts
|
|
3173
3224
|
var import_tailwind_variants48 = require("tailwind-variants");
|
|
3174
|
-
var
|
|
3225
|
+
var riskRating = (0, import_tailwind_variants48.tv)({
|
|
3226
|
+
slots: {
|
|
3227
|
+
base: "flex items-center gap-2",
|
|
3228
|
+
badge: "flex items-center justify-center rounded-md font-bold",
|
|
3229
|
+
label: "font-medium",
|
|
3230
|
+
// Icon slots for list items
|
|
3231
|
+
iconWrapper: "p-2 rounded-lg shrink-0",
|
|
3232
|
+
icon: "size-4"
|
|
3233
|
+
},
|
|
3234
|
+
variants: {
|
|
3235
|
+
size: {
|
|
3236
|
+
sm: {
|
|
3237
|
+
badge: "size-6 text-xs",
|
|
3238
|
+
label: "text-xs"
|
|
3239
|
+
},
|
|
3240
|
+
md: {
|
|
3241
|
+
badge: "size-8 text-sm",
|
|
3242
|
+
label: "text-sm"
|
|
3243
|
+
}
|
|
3244
|
+
},
|
|
3245
|
+
level: {
|
|
3246
|
+
unrated: {
|
|
3247
|
+
badge: "bg-muted text-muted-foreground font-medium",
|
|
3248
|
+
label: "text-muted-foreground",
|
|
3249
|
+
iconWrapper: "bg-muted/50",
|
|
3250
|
+
icon: "text-muted-foreground"
|
|
3251
|
+
},
|
|
3252
|
+
low: {
|
|
3253
|
+
badge: "bg-success text-white",
|
|
3254
|
+
label: "text-success",
|
|
3255
|
+
iconWrapper: "bg-success/10",
|
|
3256
|
+
icon: "text-success"
|
|
3257
|
+
},
|
|
3258
|
+
medium: {
|
|
3259
|
+
badge: "bg-warning text-white",
|
|
3260
|
+
label: "text-warning",
|
|
3261
|
+
iconWrapper: "bg-warning/10",
|
|
3262
|
+
icon: "text-warning"
|
|
3263
|
+
},
|
|
3264
|
+
high: {
|
|
3265
|
+
badge: "bg-orange-500 text-white",
|
|
3266
|
+
label: "text-orange-500",
|
|
3267
|
+
iconWrapper: "bg-orange-500/10",
|
|
3268
|
+
icon: "text-orange-500"
|
|
3269
|
+
},
|
|
3270
|
+
critical: {
|
|
3271
|
+
badge: "bg-destructive text-white",
|
|
3272
|
+
label: "text-destructive",
|
|
3273
|
+
iconWrapper: "bg-destructive/10",
|
|
3274
|
+
icon: "text-destructive"
|
|
3275
|
+
}
|
|
3276
|
+
}
|
|
3277
|
+
},
|
|
3278
|
+
defaultVariants: {
|
|
3279
|
+
size: "md",
|
|
3280
|
+
level: "unrated"
|
|
3281
|
+
}
|
|
3282
|
+
});
|
|
3283
|
+
|
|
3284
|
+
// src/components/scroll-area.ts
|
|
3285
|
+
var import_tailwind_variants49 = require("tailwind-variants");
|
|
3286
|
+
var scrollArea = (0, import_tailwind_variants49.tv)({
|
|
3175
3287
|
slots: {
|
|
3176
3288
|
root: "relative",
|
|
3177
3289
|
viewport: "focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1",
|
|
@@ -3185,8 +3297,8 @@ var scrollArea = (0, import_tailwind_variants48.tv)({
|
|
|
3185
3297
|
});
|
|
3186
3298
|
|
|
3187
3299
|
// src/components/section-row.ts
|
|
3188
|
-
var
|
|
3189
|
-
var sectionRow = (0,
|
|
3300
|
+
var import_tailwind_variants50 = require("tailwind-variants");
|
|
3301
|
+
var sectionRow = (0, import_tailwind_variants50.tv)({
|
|
3190
3302
|
slots: {
|
|
3191
3303
|
root: ["grid grid-cols-1 text-base/6 sm:text-sm/6", "w-full"],
|
|
3192
3304
|
title: [
|
|
@@ -3257,8 +3369,8 @@ var sectionRow = (0, import_tailwind_variants49.tv)({
|
|
|
3257
3369
|
});
|
|
3258
3370
|
|
|
3259
3371
|
// src/components/select.ts
|
|
3260
|
-
var
|
|
3261
|
-
var select = (0,
|
|
3372
|
+
var import_tailwind_variants51 = require("tailwind-variants");
|
|
3373
|
+
var select = (0, import_tailwind_variants51.tv)({
|
|
3262
3374
|
slots: {
|
|
3263
3375
|
trigger: [
|
|
3264
3376
|
"w-full",
|
|
@@ -3362,8 +3474,8 @@ var select = (0, import_tailwind_variants50.tv)({
|
|
|
3362
3474
|
});
|
|
3363
3475
|
|
|
3364
3476
|
// src/components/separator.ts
|
|
3365
|
-
var
|
|
3366
|
-
var separator = (0,
|
|
3477
|
+
var import_tailwind_variants52 = require("tailwind-variants");
|
|
3478
|
+
var separator = (0, import_tailwind_variants52.tv)({
|
|
3367
3479
|
base: [
|
|
3368
3480
|
"bg-border shrink-0",
|
|
3369
3481
|
"data-[orientation=horizontal]:h-px",
|
|
@@ -3381,8 +3493,8 @@ var separator = (0, import_tailwind_variants51.tv)({
|
|
|
3381
3493
|
});
|
|
3382
3494
|
|
|
3383
3495
|
// src/components/sidebar.ts
|
|
3384
|
-
var
|
|
3385
|
-
var sidebar = (0,
|
|
3496
|
+
var import_tailwind_variants53 = require("tailwind-variants");
|
|
3497
|
+
var sidebar = (0, import_tailwind_variants53.tv)({
|
|
3386
3498
|
slots: {
|
|
3387
3499
|
provider: [
|
|
3388
3500
|
"group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full isolate"
|
|
@@ -3470,7 +3582,7 @@ var sidebar = (0, import_tailwind_variants52.tv)({
|
|
|
3470
3582
|
isMobile: false
|
|
3471
3583
|
}
|
|
3472
3584
|
});
|
|
3473
|
-
var sidebarMenuButton = (0,
|
|
3585
|
+
var sidebarMenuButton = (0, import_tailwind_variants53.tv)({
|
|
3474
3586
|
base: [
|
|
3475
3587
|
"peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md",
|
|
3476
3588
|
"p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding]",
|
|
@@ -3522,7 +3634,7 @@ var sidebarMenuButton = (0, import_tailwind_variants52.tv)({
|
|
|
3522
3634
|
}
|
|
3523
3635
|
]
|
|
3524
3636
|
});
|
|
3525
|
-
var sidebarMenuAction = (0,
|
|
3637
|
+
var sidebarMenuAction = (0, import_tailwind_variants53.tv)({
|
|
3526
3638
|
base: [
|
|
3527
3639
|
"text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
|
|
3528
3640
|
// Increases the hit area of the button on mobile.
|
|
@@ -3542,14 +3654,14 @@ var sidebarMenuAction = (0, import_tailwind_variants52.tv)({
|
|
|
3542
3654
|
});
|
|
3543
3655
|
|
|
3544
3656
|
// src/components/skeleton.ts
|
|
3545
|
-
var
|
|
3546
|
-
var skeleton = (0,
|
|
3657
|
+
var import_tailwind_variants54 = require("tailwind-variants");
|
|
3658
|
+
var skeleton = (0, import_tailwind_variants54.tv)({
|
|
3547
3659
|
base: "bg-accent animate-pulse rounded-md"
|
|
3548
3660
|
});
|
|
3549
3661
|
|
|
3550
3662
|
// src/components/skeleton-avatar.ts
|
|
3551
|
-
var
|
|
3552
|
-
var skeletonAvatar = (0,
|
|
3663
|
+
var import_tailwind_variants55 = require("tailwind-variants");
|
|
3664
|
+
var skeletonAvatar = (0, import_tailwind_variants55.tv)({
|
|
3553
3665
|
base: "rounded-full",
|
|
3554
3666
|
variants: {
|
|
3555
3667
|
size: {
|
|
@@ -3566,8 +3678,8 @@ var skeletonAvatar = (0, import_tailwind_variants54.tv)({
|
|
|
3566
3678
|
});
|
|
3567
3679
|
|
|
3568
3680
|
// src/components/slash-dropdown-menu.ts
|
|
3569
|
-
var
|
|
3570
|
-
var slashDropdownMenu = (0,
|
|
3681
|
+
var import_tailwind_variants56 = require("tailwind-variants");
|
|
3682
|
+
var slashDropdownMenu = (0, import_tailwind_variants56.tv)({
|
|
3571
3683
|
slots: {
|
|
3572
3684
|
card: [...popoverContentClasses, "p-0", "flex flex-col outline-none"],
|
|
3573
3685
|
body: ["p-1.5 flex-auto grow shrink overflow-y-auto w-full"],
|
|
@@ -3586,8 +3698,8 @@ var slashDropdownMenu = (0, import_tailwind_variants55.tv)({
|
|
|
3586
3698
|
});
|
|
3587
3699
|
|
|
3588
3700
|
// src/components/spinner.ts
|
|
3589
|
-
var
|
|
3590
|
-
var spinner = (0,
|
|
3701
|
+
var import_tailwind_variants57 = require("tailwind-variants");
|
|
3702
|
+
var spinner = (0, import_tailwind_variants57.tv)({
|
|
3591
3703
|
slots: {
|
|
3592
3704
|
base: "relative inline-flex flex-col gap-2 items-center justify-center",
|
|
3593
3705
|
wrapper: "relative flex",
|
|
@@ -3704,8 +3816,8 @@ var spinner = (0, import_tailwind_variants56.tv)({
|
|
|
3704
3816
|
});
|
|
3705
3817
|
|
|
3706
3818
|
// src/components/split-page-layout.ts
|
|
3707
|
-
var
|
|
3708
|
-
var splitPageLayout = (0,
|
|
3819
|
+
var import_tailwind_variants58 = require("tailwind-variants");
|
|
3820
|
+
var splitPageLayout = (0, import_tailwind_variants58.tv)({
|
|
3709
3821
|
slots: {
|
|
3710
3822
|
root: [
|
|
3711
3823
|
"size-full min-h-0 grid grid-cols-[1fr_10px] md:grid-cols-3 relative"
|
|
@@ -3742,8 +3854,8 @@ var splitPageLayout = (0, import_tailwind_variants57.tv)({
|
|
|
3742
3854
|
});
|
|
3743
3855
|
|
|
3744
3856
|
// src/components/standard-chip.ts
|
|
3745
|
-
var
|
|
3746
|
-
var standardChip = (0,
|
|
3857
|
+
var import_tailwind_variants59 = require("tailwind-variants");
|
|
3858
|
+
var standardChip = (0, import_tailwind_variants59.tv)({
|
|
3747
3859
|
extend: chip,
|
|
3748
3860
|
slots: {
|
|
3749
3861
|
root: [
|
|
@@ -3834,8 +3946,8 @@ var standardChip = (0, import_tailwind_variants58.tv)({
|
|
|
3834
3946
|
});
|
|
3835
3947
|
|
|
3836
3948
|
// src/components/switch.ts
|
|
3837
|
-
var
|
|
3838
|
-
var switchVariants = (0,
|
|
3949
|
+
var import_tailwind_variants60 = require("tailwind-variants");
|
|
3950
|
+
var switchVariants = (0, import_tailwind_variants60.tv)({
|
|
3839
3951
|
slots: {
|
|
3840
3952
|
root: [
|
|
3841
3953
|
"peer data-[checked]:bg-primary data-[unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[unchecked]:bg-input/80",
|
|
@@ -3870,8 +3982,8 @@ var switchVariants = (0, import_tailwind_variants59.tv)({
|
|
|
3870
3982
|
});
|
|
3871
3983
|
|
|
3872
3984
|
// src/components/tab-nav.ts
|
|
3873
|
-
var
|
|
3874
|
-
var tabNav = (0,
|
|
3985
|
+
var import_tailwind_variants61 = require("tailwind-variants");
|
|
3986
|
+
var tabNav = (0, import_tailwind_variants61.tv)({
|
|
3875
3987
|
slots: {
|
|
3876
3988
|
base: "",
|
|
3877
3989
|
list: [
|
|
@@ -3961,8 +4073,8 @@ var tabNav = (0, import_tailwind_variants60.tv)({
|
|
|
3961
4073
|
});
|
|
3962
4074
|
|
|
3963
4075
|
// src/components/table.ts
|
|
3964
|
-
var
|
|
3965
|
-
var table = (0,
|
|
4076
|
+
var import_tailwind_variants62 = require("tailwind-variants");
|
|
4077
|
+
var table = (0, import_tailwind_variants62.tv)({
|
|
3966
4078
|
slots: {
|
|
3967
4079
|
container: ["overflow-x-auto whitespace-nowrap", "-mx-(--gutter)"],
|
|
3968
4080
|
wrapper: ["inline-block min-w-full align-middle"],
|
|
@@ -4124,8 +4236,8 @@ var table = (0, import_tailwind_variants61.tv)({
|
|
|
4124
4236
|
});
|
|
4125
4237
|
|
|
4126
4238
|
// src/components/tabs.ts
|
|
4127
|
-
var
|
|
4128
|
-
var tabs = (0,
|
|
4239
|
+
var import_tailwind_variants63 = require("tailwind-variants");
|
|
4240
|
+
var tabs = (0, import_tailwind_variants63.tv)({
|
|
4129
4241
|
slots: {
|
|
4130
4242
|
root: "flex flex-col gap-2",
|
|
4131
4243
|
list: [
|
|
@@ -4162,8 +4274,8 @@ var tabs = (0, import_tailwind_variants62.tv)({
|
|
|
4162
4274
|
});
|
|
4163
4275
|
|
|
4164
4276
|
// src/components/textarea.ts
|
|
4165
|
-
var
|
|
4166
|
-
var textarea = (0,
|
|
4277
|
+
var import_tailwind_variants64 = require("tailwind-variants");
|
|
4278
|
+
var textarea = (0, import_tailwind_variants64.tv)({
|
|
4167
4279
|
base: [
|
|
4168
4280
|
"w-full border border-input bg-background text-foreground shadow-xs shadow-black/5 transition-[color,box-shadow]",
|
|
4169
4281
|
"text-foreground placeholder:text-muted-foreground/80",
|
|
@@ -4187,8 +4299,8 @@ var textarea = (0, import_tailwind_variants63.tv)({
|
|
|
4187
4299
|
});
|
|
4188
4300
|
|
|
4189
4301
|
// src/components/toolbar.ts
|
|
4190
|
-
var
|
|
4191
|
-
var toolbar = (0,
|
|
4302
|
+
var import_tailwind_variants65 = require("tailwind-variants");
|
|
4303
|
+
var toolbar = (0, import_tailwind_variants65.tv)({
|
|
4192
4304
|
slots: {
|
|
4193
4305
|
root: "flex items-center gap-2.5 p-1",
|
|
4194
4306
|
button: "shrink-0",
|
|
@@ -4227,8 +4339,8 @@ var toolbar = (0, import_tailwind_variants64.tv)({
|
|
|
4227
4339
|
});
|
|
4228
4340
|
|
|
4229
4341
|
// src/components/tooltip.ts
|
|
4230
|
-
var
|
|
4231
|
-
var tooltip = (0,
|
|
4342
|
+
var import_tailwind_variants66 = require("tailwind-variants");
|
|
4343
|
+
var tooltip = (0, import_tailwind_variants66.tv)({
|
|
4232
4344
|
slots: {
|
|
4233
4345
|
content: [
|
|
4234
4346
|
"bg-primary-900 text-primary-foreground",
|
|
@@ -4289,6 +4401,7 @@ var tooltip = (0, import_tailwind_variants65.tv)({
|
|
|
4289
4401
|
resizable,
|
|
4290
4402
|
riskBadge,
|
|
4291
4403
|
riskIndicator,
|
|
4404
|
+
riskRating,
|
|
4292
4405
|
scrollArea,
|
|
4293
4406
|
sectionRow,
|
|
4294
4407
|
select,
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import "../chunk-
|
|
1
|
+
import "../chunk-ALG7CNQH.mjs";
|
|
2
|
+
import {
|
|
3
|
+
tabs
|
|
4
|
+
} from "../chunk-I6M4S2KZ.mjs";
|
|
2
5
|
import {
|
|
3
6
|
textarea
|
|
4
7
|
} from "../chunk-ARLLAC5V.mjs";
|
|
@@ -8,6 +11,9 @@ import {
|
|
|
8
11
|
import {
|
|
9
12
|
tooltip
|
|
10
13
|
} from "../chunk-OLYO7UPH.mjs";
|
|
14
|
+
import {
|
|
15
|
+
skeleton
|
|
16
|
+
} from "../chunk-VNQEJU4P.mjs";
|
|
11
17
|
import {
|
|
12
18
|
slashDropdownMenu
|
|
13
19
|
} from "../chunk-NNKYGAZC.mjs";
|
|
@@ -29,12 +35,12 @@ import {
|
|
|
29
35
|
import {
|
|
30
36
|
table
|
|
31
37
|
} from "../chunk-YC2FQDBV.mjs";
|
|
32
|
-
import {
|
|
33
|
-
tabs
|
|
34
|
-
} from "../chunk-I6M4S2KZ.mjs";
|
|
35
38
|
import {
|
|
36
39
|
riskIndicator
|
|
37
40
|
} from "../chunk-CZMZHA7U.mjs";
|
|
41
|
+
import {
|
|
42
|
+
riskRating
|
|
43
|
+
} from "../chunk-CNYKIUVC.mjs";
|
|
38
44
|
import {
|
|
39
45
|
scrollArea
|
|
40
46
|
} from "../chunk-SPQE7K66.mjs";
|
|
@@ -55,9 +61,6 @@ import {
|
|
|
55
61
|
import {
|
|
56
62
|
skeletonAvatar
|
|
57
63
|
} from "../chunk-7Q2RNHL5.mjs";
|
|
58
|
-
import {
|
|
59
|
-
skeleton
|
|
60
|
-
} from "../chunk-VNQEJU4P.mjs";
|
|
61
64
|
import {
|
|
62
65
|
loadingPage
|
|
63
66
|
} from "../chunk-ZOTN264E.mjs";
|
|
@@ -75,7 +78,7 @@ import {
|
|
|
75
78
|
} from "../chunk-4XIBRN6X.mjs";
|
|
76
79
|
import {
|
|
77
80
|
relatedControlChip
|
|
78
|
-
} from "../chunk-
|
|
81
|
+
} from "../chunk-NIEFB74U.mjs";
|
|
79
82
|
import {
|
|
80
83
|
resizable
|
|
81
84
|
} from "../chunk-RV656WRF.mjs";
|
|
@@ -248,6 +251,7 @@ export {
|
|
|
248
251
|
resizable,
|
|
249
252
|
riskBadge,
|
|
250
253
|
riskIndicator,
|
|
254
|
+
riskRating,
|
|
251
255
|
scrollArea,
|
|
252
256
|
sectionRow,
|
|
253
257
|
select,
|
|
@@ -1,36 +1,84 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
2
|
import { VariantProps } from 'tailwind-variants';
|
|
3
|
-
import * as tailwind_merge from 'tailwind-merge';
|
|
4
3
|
|
|
4
|
+
/**
|
|
5
|
+
* Theme styles for related control chips.
|
|
6
|
+
* Used to display KRN-based control references as compact chips/tags.
|
|
7
|
+
*/
|
|
5
8
|
declare const relatedControlChip: tailwind_variants.TVReturnType<{
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
size: {
|
|
10
|
+
sm: {
|
|
11
|
+
chip: string;
|
|
12
|
+
overflow: string;
|
|
13
|
+
};
|
|
14
|
+
md: {};
|
|
15
|
+
lg: {
|
|
16
|
+
chip: string;
|
|
17
|
+
overflow: string;
|
|
10
18
|
};
|
|
11
19
|
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
root?: tailwind_merge.ClassNameValue;
|
|
16
|
-
tooltip?: tailwind_merge.ClassNameValue;
|
|
20
|
+
interactive: {
|
|
21
|
+
true: {
|
|
22
|
+
chip: string;
|
|
17
23
|
};
|
|
24
|
+
false: {};
|
|
18
25
|
};
|
|
19
|
-
}
|
|
20
|
-
root: string
|
|
26
|
+
}, {
|
|
27
|
+
root: string;
|
|
28
|
+
chip: string[];
|
|
29
|
+
chipPrefix: string;
|
|
30
|
+
chipId: string;
|
|
31
|
+
overflow: string[];
|
|
21
32
|
tooltip: string;
|
|
22
33
|
}, undefined, {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
34
|
+
size: {
|
|
35
|
+
sm: {
|
|
36
|
+
chip: string;
|
|
37
|
+
overflow: string;
|
|
38
|
+
};
|
|
39
|
+
md: {};
|
|
40
|
+
lg: {
|
|
41
|
+
chip: string;
|
|
42
|
+
overflow: string;
|
|
27
43
|
};
|
|
28
44
|
};
|
|
29
|
-
|
|
30
|
-
|
|
45
|
+
interactive: {
|
|
46
|
+
true: {
|
|
47
|
+
chip: string;
|
|
48
|
+
};
|
|
49
|
+
false: {};
|
|
50
|
+
};
|
|
51
|
+
}, {
|
|
52
|
+
root: string;
|
|
53
|
+
chip: string[];
|
|
54
|
+
chipPrefix: string;
|
|
55
|
+
chipId: string;
|
|
56
|
+
overflow: string[];
|
|
31
57
|
tooltip: string;
|
|
32
|
-
}, tailwind_variants.TVReturnType<
|
|
33
|
-
|
|
58
|
+
}, tailwind_variants.TVReturnType<{
|
|
59
|
+
size: {
|
|
60
|
+
sm: {
|
|
61
|
+
chip: string;
|
|
62
|
+
overflow: string;
|
|
63
|
+
};
|
|
64
|
+
md: {};
|
|
65
|
+
lg: {
|
|
66
|
+
chip: string;
|
|
67
|
+
overflow: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
interactive: {
|
|
71
|
+
true: {
|
|
72
|
+
chip: string;
|
|
73
|
+
};
|
|
74
|
+
false: {};
|
|
75
|
+
};
|
|
76
|
+
}, {
|
|
77
|
+
root: string;
|
|
78
|
+
chip: string[];
|
|
79
|
+
chipPrefix: string;
|
|
80
|
+
chipId: string;
|
|
81
|
+
overflow: string[];
|
|
34
82
|
tooltip: string;
|
|
35
83
|
}, undefined, unknown, unknown, undefined>>;
|
|
36
84
|
type RelatedControlChipVariantsProps = VariantProps<typeof relatedControlChip>;
|