@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
package/dist/components/index.js
CHANGED
|
@@ -37,6 +37,7 @@ __export(components_exports, {
|
|
|
37
37
|
colorHighlightButton: () => colorHighlightButton,
|
|
38
38
|
combobox: () => combobox,
|
|
39
39
|
command: () => command,
|
|
40
|
+
complianceBadge: () => complianceBadge,
|
|
40
41
|
controlExtension: () => controlExtension,
|
|
41
42
|
dataTable: () => dataTable,
|
|
42
43
|
datagrid: () => datagrid,
|
|
@@ -45,10 +46,12 @@ __export(components_exports, {
|
|
|
45
46
|
dropdownMenu: () => dropdownMenu,
|
|
46
47
|
editorBasic: () => editorBasic,
|
|
47
48
|
editorSpinner: () => editorSpinner,
|
|
49
|
+
filter: () => filter,
|
|
48
50
|
frameworkRow: () => frameworkRow,
|
|
49
51
|
heading: () => heading,
|
|
50
52
|
hoverCard: () => hoverCard,
|
|
51
53
|
imageCrop: () => imageCrop,
|
|
54
|
+
impactCard: () => impactCard,
|
|
52
55
|
input: () => input,
|
|
53
56
|
inputGroup: () => inputGroup,
|
|
54
57
|
inputWrapper: () => inputWrapper,
|
|
@@ -65,6 +68,7 @@ __export(components_exports, {
|
|
|
65
68
|
resizable: () => resizable,
|
|
66
69
|
riskBadge: () => riskBadge,
|
|
67
70
|
riskIndicator: () => riskIndicator,
|
|
71
|
+
riskRating: () => riskRating,
|
|
68
72
|
scrollArea: () => scrollArea,
|
|
69
73
|
sectionRow: () => sectionRow,
|
|
70
74
|
select: () => select,
|
|
@@ -1624,7 +1628,7 @@ var combobox = (0, import_tailwind_variants16.tv)({
|
|
|
1624
1628
|
"[&_svg]:size-4 [&_svg]:text-primary"
|
|
1625
1629
|
],
|
|
1626
1630
|
groupLabel: "px-2 py-1.5 text-xs text-muted-foreground font-medium",
|
|
1627
|
-
empty: "px-2 py-1.5 text-sm text-muted-foreground empty:m-0 empty:p-0",
|
|
1631
|
+
empty: "px-2 py-1.5 text-sm text-muted-foreground empty:m-0 empty:p-0 shrink-0",
|
|
1628
1632
|
clear: [
|
|
1629
1633
|
"absolute cursor-pointer end-6 top-1/2 -translate-y-1/2 rounded-sm opacity-70 ring-offset-background",
|
|
1630
1634
|
"transition-opacity opacity-60 hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",
|
|
@@ -1654,7 +1658,10 @@ var combobox = (0, import_tailwind_variants16.tv)({
|
|
|
1654
1658
|
"[&_svg]:size-3.5"
|
|
1655
1659
|
],
|
|
1656
1660
|
separator: "my-1.5 h-px bg-muted",
|
|
1657
|
-
header: [
|
|
1661
|
+
header: [
|
|
1662
|
+
"flex flex-col items-start justify-between px-3 py-2 border-b",
|
|
1663
|
+
"shrink-0"
|
|
1664
|
+
],
|
|
1658
1665
|
title: "text-sm font-semibold",
|
|
1659
1666
|
description: "text-xs text-muted-foreground",
|
|
1660
1667
|
footer: [
|
|
@@ -1673,11 +1680,11 @@ var combobox = (0, import_tailwind_variants16.tv)({
|
|
|
1673
1680
|
inside: {
|
|
1674
1681
|
popup: [
|
|
1675
1682
|
"overflow-hidden",
|
|
1676
|
-
"
|
|
1683
|
+
"max-h-[min(var(--available-height),30rem)]"
|
|
1677
1684
|
],
|
|
1678
1685
|
list: [
|
|
1679
1686
|
"overflow-y-auto scroll-py-2 py-2 overscroll-contain",
|
|
1680
|
-
"max-h-
|
|
1687
|
+
"max-h-80"
|
|
1681
1688
|
]
|
|
1682
1689
|
}
|
|
1683
1690
|
},
|
|
@@ -1741,13 +1748,60 @@ var command = (0, import_tailwind_variants17.tv)({
|
|
|
1741
1748
|
}
|
|
1742
1749
|
});
|
|
1743
1750
|
|
|
1744
|
-
// src/components/
|
|
1751
|
+
// src/components/compliance-badge.ts
|
|
1745
1752
|
var import_tailwind_variants18 = require("tailwind-variants");
|
|
1746
|
-
var
|
|
1753
|
+
var complianceBadge = (0, import_tailwind_variants18.tv)({
|
|
1754
|
+
slots: {
|
|
1755
|
+
root: [
|
|
1756
|
+
"group/badge",
|
|
1757
|
+
"inline-flex",
|
|
1758
|
+
"items-center",
|
|
1759
|
+
"py-0.5",
|
|
1760
|
+
"px-1.5",
|
|
1761
|
+
"rounded",
|
|
1762
|
+
"text-xs",
|
|
1763
|
+
"font-medium",
|
|
1764
|
+
"transition-all",
|
|
1765
|
+
"duration-200",
|
|
1766
|
+
"ease-out",
|
|
1767
|
+
"cursor-default"
|
|
1768
|
+
],
|
|
1769
|
+
icon: "shrink-0",
|
|
1770
|
+
label: [
|
|
1771
|
+
"overflow-hidden",
|
|
1772
|
+
"whitespace-nowrap",
|
|
1773
|
+
"max-w-0",
|
|
1774
|
+
"opacity-0",
|
|
1775
|
+
"group-hover/badge:max-w-[50px]",
|
|
1776
|
+
"group-hover/badge:opacity-100",
|
|
1777
|
+
"group-hover/badge:ml-1",
|
|
1778
|
+
"transition-all",
|
|
1779
|
+
"duration-200",
|
|
1780
|
+
"ease-out"
|
|
1781
|
+
]
|
|
1782
|
+
},
|
|
1783
|
+
variants: {
|
|
1784
|
+
color: {
|
|
1785
|
+
dora: {
|
|
1786
|
+
root: "bg-blue-100 text-blue-700 dark:bg-blue-900/30 dark:text-blue-400"
|
|
1787
|
+
},
|
|
1788
|
+
nis2: {
|
|
1789
|
+
root: "bg-purple-100 text-purple-700 dark:bg-purple-900/30 dark:text-purple-400"
|
|
1790
|
+
}
|
|
1791
|
+
}
|
|
1792
|
+
},
|
|
1793
|
+
defaultVariants: {
|
|
1794
|
+
color: "dora"
|
|
1795
|
+
}
|
|
1796
|
+
});
|
|
1747
1797
|
|
|
1748
|
-
// src/components/
|
|
1798
|
+
// src/components/control-extension.ts
|
|
1749
1799
|
var import_tailwind_variants19 = require("tailwind-variants");
|
|
1750
|
-
var
|
|
1800
|
+
var controlExtension = (0, import_tailwind_variants19.tv)({});
|
|
1801
|
+
|
|
1802
|
+
// src/components/data-grid.ts
|
|
1803
|
+
var import_tailwind_variants20 = require("tailwind-variants");
|
|
1804
|
+
var datagrid = (0, import_tailwind_variants20.tv)({
|
|
1751
1805
|
slots: {
|
|
1752
1806
|
container: "grid w-full",
|
|
1753
1807
|
table: "w-full align-middle caption-bottom text-left rtl:text-right text-foreground font-normal text-sm",
|
|
@@ -1952,8 +2006,8 @@ var datagrid = (0, import_tailwind_variants19.tv)({
|
|
|
1952
2006
|
});
|
|
1953
2007
|
|
|
1954
2008
|
// src/components/data-table.ts
|
|
1955
|
-
var
|
|
1956
|
-
var dataTable = (0,
|
|
2009
|
+
var import_tailwind_variants21 = require("tailwind-variants");
|
|
2010
|
+
var dataTable = (0, import_tailwind_variants21.tv)({
|
|
1957
2011
|
slots: {
|
|
1958
2012
|
base: "relative flex min-h-0 flex-1 flex-col",
|
|
1959
2013
|
toolbarWrapper: "flex flex-col gap-2 divide-y pb-2",
|
|
@@ -1997,8 +2051,8 @@ var dataTable = (0, import_tailwind_variants20.tv)({
|
|
|
1997
2051
|
});
|
|
1998
2052
|
|
|
1999
2053
|
// src/components/dialog.ts
|
|
2000
|
-
var
|
|
2001
|
-
var dialog = (0,
|
|
2054
|
+
var import_tailwind_variants22 = require("tailwind-variants");
|
|
2055
|
+
var dialog = (0, import_tailwind_variants22.tv)({
|
|
2002
2056
|
slots: {
|
|
2003
2057
|
overlay: [
|
|
2004
2058
|
"fixed inset-0 bg-black/25 [backdrop-filter:blur(4px)]",
|
|
@@ -2093,8 +2147,8 @@ var dialog = (0, import_tailwind_variants21.tv)({
|
|
|
2093
2147
|
});
|
|
2094
2148
|
|
|
2095
2149
|
// src/components/drawer.ts
|
|
2096
|
-
var
|
|
2097
|
-
var drawer = (0,
|
|
2150
|
+
var import_tailwind_variants23 = require("tailwind-variants");
|
|
2151
|
+
var drawer = (0, import_tailwind_variants23.tv)({
|
|
2098
2152
|
slots: {
|
|
2099
2153
|
overlay: [
|
|
2100
2154
|
dialog.slots.overlay,
|
|
@@ -2202,8 +2256,8 @@ var drawer = (0, import_tailwind_variants22.tv)({
|
|
|
2202
2256
|
});
|
|
2203
2257
|
|
|
2204
2258
|
// src/components/dropdown-menu.ts
|
|
2205
|
-
var
|
|
2206
|
-
var dropdownMenu = (0,
|
|
2259
|
+
var import_tailwind_variants24 = require("tailwind-variants");
|
|
2260
|
+
var dropdownMenu = (0, import_tailwind_variants24.tv)({
|
|
2207
2261
|
slots: {
|
|
2208
2262
|
root: "",
|
|
2209
2263
|
content: "min-w-[8rem] bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-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 z-50 max-h-(--radix-dropdown-menu-content-available-height) origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",
|
|
@@ -2223,8 +2277,8 @@ var dropdownMenu = (0, import_tailwind_variants23.tv)({
|
|
|
2223
2277
|
});
|
|
2224
2278
|
|
|
2225
2279
|
// src/components/editor-basic.ts
|
|
2226
|
-
var
|
|
2227
|
-
var editorBasic = (0,
|
|
2280
|
+
var import_tailwind_variants25 = require("tailwind-variants");
|
|
2281
|
+
var editorBasic = (0, import_tailwind_variants25.tv)({
|
|
2228
2282
|
slots: {
|
|
2229
2283
|
root: [
|
|
2230
2284
|
"grid grid-rows-[auto,minmax(0,1fr)]",
|
|
@@ -2283,8 +2337,8 @@ var editorBasic = (0, import_tailwind_variants24.tv)({
|
|
|
2283
2337
|
});
|
|
2284
2338
|
|
|
2285
2339
|
// src/components/editor-spinner.ts
|
|
2286
|
-
var
|
|
2287
|
-
var editorSpinner = (0,
|
|
2340
|
+
var import_tailwind_variants26 = require("tailwind-variants");
|
|
2341
|
+
var editorSpinner = (0, import_tailwind_variants26.tv)({
|
|
2288
2342
|
slots: {
|
|
2289
2343
|
root: "size-full grow shrink flex items-center justify-center",
|
|
2290
2344
|
content: ["flex", "flex-col", "items-center", "justify-center", "gap-2"],
|
|
@@ -2296,8 +2350,8 @@ var editorSpinner = (0, import_tailwind_variants25.tv)({
|
|
|
2296
2350
|
});
|
|
2297
2351
|
|
|
2298
2352
|
// src/components/file-upload.ts
|
|
2299
|
-
var
|
|
2300
|
-
var avatarUpload = (0,
|
|
2353
|
+
var import_tailwind_variants27 = require("tailwind-variants");
|
|
2354
|
+
var avatarUpload = (0, import_tailwind_variants27.tv)({
|
|
2301
2355
|
slots: {
|
|
2302
2356
|
root: "flex flex-col",
|
|
2303
2357
|
previewAndText: "",
|
|
@@ -2356,9 +2410,105 @@ var avatarUpload = (0, import_tailwind_variants26.tv)({
|
|
|
2356
2410
|
}
|
|
2357
2411
|
});
|
|
2358
2412
|
|
|
2413
|
+
// src/components/filter.ts
|
|
2414
|
+
var import_tailwind_variants28 = require("tailwind-variants");
|
|
2415
|
+
var filter = (0, import_tailwind_variants28.tv)({
|
|
2416
|
+
slots: {
|
|
2417
|
+
root: "flex flex-wrap items-center gap-2",
|
|
2418
|
+
// Trigger Button
|
|
2419
|
+
trigger: [
|
|
2420
|
+
"inline-flex items-center gap-2 rounded-md",
|
|
2421
|
+
"border border-dashed border-input text-sm",
|
|
2422
|
+
"hover:bg-accent hover:text-accent-foreground",
|
|
2423
|
+
"transition-colors cursor-pointer",
|
|
2424
|
+
...focusVisibleClasses
|
|
2425
|
+
],
|
|
2426
|
+
triggerIcon: "size-4 opacity-60",
|
|
2427
|
+
// Feld-Auswahl Menü
|
|
2428
|
+
menu: [
|
|
2429
|
+
"bg-popover text-popover-foreground border rounded-lg shadow-lg p-1 min-w-[220px]",
|
|
2430
|
+
"data-[open]:animate-in data-[closed]:animate-out",
|
|
2431
|
+
"data-[closed]:fade-out-0 data-[open]:fade-in-0",
|
|
2432
|
+
"data-[closed]:zoom-out-95 data-[open]:zoom-in-95"
|
|
2433
|
+
],
|
|
2434
|
+
menuGroup: "py-1",
|
|
2435
|
+
menuGroupLabel: "px-2 py-1.5 text-xs font-medium text-muted-foreground uppercase tracking-wide",
|
|
2436
|
+
menuItem: [
|
|
2437
|
+
"flex items-center gap-2 px-2 py-1.5 rounded-sm text-sm cursor-pointer",
|
|
2438
|
+
"outline-none select-none",
|
|
2439
|
+
"data-highlighted:bg-accent data-highlighted:text-accent-foreground",
|
|
2440
|
+
"data-disabled:opacity-50 data-disabled:pointer-events-none"
|
|
2441
|
+
],
|
|
2442
|
+
menuItemIcon: "size-4 text-muted-foreground",
|
|
2443
|
+
menuSeparator: "bg-border -mx-1 my-1 h-px",
|
|
2444
|
+
// Aktiver Filter (Chip-artig)
|
|
2445
|
+
field: [
|
|
2446
|
+
"inline-flex items-center gap-1 rounded-md",
|
|
2447
|
+
"bg-secondary text-secondary-foreground text-sm",
|
|
2448
|
+
"border border-transparent hover:border-border",
|
|
2449
|
+
"cursor-pointer transition-colors"
|
|
2450
|
+
],
|
|
2451
|
+
fieldLabel: "font-medium",
|
|
2452
|
+
fieldOperator: "text-muted-foreground text-xs",
|
|
2453
|
+
fieldValue: "max-w-[150px] truncate",
|
|
2454
|
+
fieldRemove: [
|
|
2455
|
+
"size-5 rounded-sm flex items-center justify-center",
|
|
2456
|
+
"hover:bg-destructive/10 hover:text-destructive",
|
|
2457
|
+
"transition-colors cursor-pointer",
|
|
2458
|
+
...focusVisibleClasses
|
|
2459
|
+
],
|
|
2460
|
+
// Wert-Editor Popover
|
|
2461
|
+
editor: [
|
|
2462
|
+
"bg-popover text-popover-foreground border rounded-lg shadow-lg p-3 min-w-[240px]",
|
|
2463
|
+
"data-[open]:animate-in data-[closed]:animate-out",
|
|
2464
|
+
"data-[closed]:fade-out-0 data-[open]:fade-in-0",
|
|
2465
|
+
"data-[closed]:zoom-out-95 data-[open]:zoom-in-95"
|
|
2466
|
+
],
|
|
2467
|
+
editorHeader: "flex items-center justify-between mb-2",
|
|
2468
|
+
editorTitle: "text-sm font-medium",
|
|
2469
|
+
editorOperator: "w-full mb-2",
|
|
2470
|
+
editorInput: "w-full",
|
|
2471
|
+
// Active Filters Container
|
|
2472
|
+
active: "flex flex-wrap items-center gap-2",
|
|
2473
|
+
// Clear All Button
|
|
2474
|
+
clearAll: [
|
|
2475
|
+
"text-xs text-muted-foreground hover:text-foreground",
|
|
2476
|
+
"cursor-pointer transition-colors"
|
|
2477
|
+
]
|
|
2478
|
+
},
|
|
2479
|
+
variants: {
|
|
2480
|
+
size: {
|
|
2481
|
+
sm: {
|
|
2482
|
+
trigger: "h-7 text-xs px-2.5",
|
|
2483
|
+
field: "h-6 text-xs pl-2 pr-0.5",
|
|
2484
|
+
fieldRemove: "size-4"
|
|
2485
|
+
},
|
|
2486
|
+
md: {
|
|
2487
|
+
trigger: "h-8 px-3",
|
|
2488
|
+
field: "h-7 pl-2.5 pr-1"
|
|
2489
|
+
},
|
|
2490
|
+
lg: {
|
|
2491
|
+
trigger: "h-9 px-4 text-base",
|
|
2492
|
+
field: "h-8 pl-3 pr-1.5 text-base",
|
|
2493
|
+
fieldRemove: "size-6"
|
|
2494
|
+
}
|
|
2495
|
+
},
|
|
2496
|
+
variant: {
|
|
2497
|
+
outline: {
|
|
2498
|
+
field: "bg-transparent border-input"
|
|
2499
|
+
},
|
|
2500
|
+
solid: {}
|
|
2501
|
+
}
|
|
2502
|
+
},
|
|
2503
|
+
defaultVariants: {
|
|
2504
|
+
size: "md",
|
|
2505
|
+
variant: "solid"
|
|
2506
|
+
}
|
|
2507
|
+
});
|
|
2508
|
+
|
|
2359
2509
|
// src/components/framework-row.ts
|
|
2360
|
-
var
|
|
2361
|
-
var frameworkRow = (0,
|
|
2510
|
+
var import_tailwind_variants29 = require("tailwind-variants");
|
|
2511
|
+
var frameworkRow = (0, import_tailwind_variants29.tv)({
|
|
2362
2512
|
slots: {
|
|
2363
2513
|
root: "flex w-full items-start gap-3 py-2 first:pt-0 last:pb-0 border-b border-dotted last:border-0",
|
|
2364
2514
|
standardContainer: "shrink-0",
|
|
@@ -2371,8 +2521,8 @@ var frameworkRow = (0, import_tailwind_variants27.tv)({
|
|
|
2371
2521
|
});
|
|
2372
2522
|
|
|
2373
2523
|
// src/components/heading.ts
|
|
2374
|
-
var
|
|
2375
|
-
var heading = (0,
|
|
2524
|
+
var import_tailwind_variants30 = require("tailwind-variants");
|
|
2525
|
+
var heading = (0, import_tailwind_variants30.tv)({
|
|
2376
2526
|
variants: {
|
|
2377
2527
|
level: {
|
|
2378
2528
|
h1: "text-h1-core",
|
|
@@ -2389,8 +2539,8 @@ var heading = (0, import_tailwind_variants28.tv)({
|
|
|
2389
2539
|
});
|
|
2390
2540
|
|
|
2391
2541
|
// src/components/hover-card.ts
|
|
2392
|
-
var
|
|
2393
|
-
var hoverCard = (0,
|
|
2542
|
+
var import_tailwind_variants31 = require("tailwind-variants");
|
|
2543
|
+
var hoverCard = (0, import_tailwind_variants31.tv)({
|
|
2394
2544
|
slots: {
|
|
2395
2545
|
content: [
|
|
2396
2546
|
...popoverContentClasses,
|
|
@@ -2405,17 +2555,93 @@ var hoverCard = (0, import_tailwind_variants29.tv)({
|
|
|
2405
2555
|
});
|
|
2406
2556
|
|
|
2407
2557
|
// src/components/image-crop.ts
|
|
2408
|
-
var
|
|
2409
|
-
var imageCrop = (0,
|
|
2558
|
+
var import_tailwind_variants32 = require("tailwind-variants");
|
|
2559
|
+
var imageCrop = (0, import_tailwind_variants32.tv)({
|
|
2410
2560
|
slots: {
|
|
2411
2561
|
content: "max-h-[277px] max-w-full",
|
|
2412
2562
|
image: "size-fullcover"
|
|
2413
2563
|
}
|
|
2414
2564
|
});
|
|
2415
2565
|
|
|
2566
|
+
// src/components/impact-card.ts
|
|
2567
|
+
var import_tailwind_variants33 = require("tailwind-variants");
|
|
2568
|
+
var impactCard = (0, import_tailwind_variants33.tv)({
|
|
2569
|
+
slots: {
|
|
2570
|
+
// Card wrapper (extends Card.Root)
|
|
2571
|
+
root: "",
|
|
2572
|
+
// Individual impact row
|
|
2573
|
+
row: ["rounded-lg", "border", "p-3", "transition-all"],
|
|
2574
|
+
rowContent: "flex items-center gap-3",
|
|
2575
|
+
// Circle icon with short label (C, I, A, Au)
|
|
2576
|
+
rowIcon: [
|
|
2577
|
+
"w-8",
|
|
2578
|
+
"h-8",
|
|
2579
|
+
"rounded-full",
|
|
2580
|
+
"flex",
|
|
2581
|
+
"items-center",
|
|
2582
|
+
"justify-center",
|
|
2583
|
+
"text-sm",
|
|
2584
|
+
"font-bold",
|
|
2585
|
+
"shrink-0"
|
|
2586
|
+
],
|
|
2587
|
+
// Content area next to icon
|
|
2588
|
+
rowBody: "flex-1 min-w-0",
|
|
2589
|
+
rowHeader: "flex items-center justify-between mb-1",
|
|
2590
|
+
rowLabel: "text-sm font-medium",
|
|
2591
|
+
// Value display (when not editing)
|
|
2592
|
+
rowValue: "flex items-center gap-2",
|
|
2593
|
+
rowValueNumber: "text-xs text-muted-foreground font-mono",
|
|
2594
|
+
rowValueBadge: "text-sm font-medium px-2 py-0.5 rounded",
|
|
2595
|
+
// Progress bar
|
|
2596
|
+
progressContainer: "h-1.5 bg-muted rounded-full overflow-hidden",
|
|
2597
|
+
progressBar: "h-full rounded-full transition-all",
|
|
2598
|
+
// Edit button
|
|
2599
|
+
editButton: [
|
|
2600
|
+
"p-1.5",
|
|
2601
|
+
"rounded-md",
|
|
2602
|
+
"hover:bg-muted",
|
|
2603
|
+
"text-muted-foreground",
|
|
2604
|
+
"hover:text-foreground",
|
|
2605
|
+
"transition-colors"
|
|
2606
|
+
],
|
|
2607
|
+
// Justification section
|
|
2608
|
+
justificationSection: "pt-3 border-t",
|
|
2609
|
+
justificationLabel: "block text-sm font-medium mb-2",
|
|
2610
|
+
justificationHint: "text-muted-foreground font-normal ml-1",
|
|
2611
|
+
justificationText: "text-sm text-foreground bg-muted/30 rounded-md p-3",
|
|
2612
|
+
justificationEmpty: "text-sm text-muted-foreground/50 italic"
|
|
2613
|
+
},
|
|
2614
|
+
variants: {
|
|
2615
|
+
// Row state: unrated vs rated
|
|
2616
|
+
unrated: {
|
|
2617
|
+
true: {
|
|
2618
|
+
row: "bg-muted/30 border-dashed border-muted-foreground/20",
|
|
2619
|
+
rowIcon: "bg-muted text-muted-foreground",
|
|
2620
|
+
rowLabel: "text-muted-foreground",
|
|
2621
|
+
rowValueBadge: "text-muted-foreground"
|
|
2622
|
+
},
|
|
2623
|
+
false: {
|
|
2624
|
+
row: "bg-background border-border",
|
|
2625
|
+
rowIcon: "bg-primary/10 text-primary"
|
|
2626
|
+
}
|
|
2627
|
+
},
|
|
2628
|
+
// Editing state
|
|
2629
|
+
editing: {
|
|
2630
|
+
true: {
|
|
2631
|
+
root: "ring-2 ring-primary"
|
|
2632
|
+
},
|
|
2633
|
+
false: {}
|
|
2634
|
+
}
|
|
2635
|
+
},
|
|
2636
|
+
defaultVariants: {
|
|
2637
|
+
unrated: false,
|
|
2638
|
+
editing: false
|
|
2639
|
+
}
|
|
2640
|
+
});
|
|
2641
|
+
|
|
2416
2642
|
// src/components/input-group.ts
|
|
2417
|
-
var
|
|
2418
|
-
var inputGroup = (0,
|
|
2643
|
+
var import_tailwind_variants34 = require("tailwind-variants");
|
|
2644
|
+
var inputGroup = (0, import_tailwind_variants34.tv)({
|
|
2419
2645
|
base: [
|
|
2420
2646
|
"flex items-stretch",
|
|
2421
2647
|
"[&_[data-slot=input]]:grow",
|
|
@@ -2436,8 +2662,8 @@ var inputGroup = (0, import_tailwind_variants31.tv)({
|
|
|
2436
2662
|
});
|
|
2437
2663
|
|
|
2438
2664
|
// src/components/input-wrapper.ts
|
|
2439
|
-
var
|
|
2440
|
-
var inputWrapper = (0,
|
|
2665
|
+
var import_tailwind_variants35 = require("tailwind-variants");
|
|
2666
|
+
var inputWrapper = (0, import_tailwind_variants35.tv)({
|
|
2441
2667
|
base: [
|
|
2442
2668
|
"flex items-center gap-1.5",
|
|
2443
2669
|
"has-[:focus-visible]:ring-ring/30",
|
|
@@ -2481,8 +2707,8 @@ var inputWrapper = (0, import_tailwind_variants32.tv)({
|
|
|
2481
2707
|
});
|
|
2482
2708
|
|
|
2483
2709
|
// src/components/integration-card.ts
|
|
2484
|
-
var
|
|
2485
|
-
var integrationCard = (0,
|
|
2710
|
+
var import_tailwind_variants36 = require("tailwind-variants");
|
|
2711
|
+
var integrationCard = (0, import_tailwind_variants36.tv)({
|
|
2486
2712
|
slots: {
|
|
2487
2713
|
root: "",
|
|
2488
2714
|
header: "flex items-start justify-between gap-3",
|
|
@@ -2504,8 +2730,8 @@ var integrationCard = (0, import_tailwind_variants33.tv)({
|
|
|
2504
2730
|
});
|
|
2505
2731
|
|
|
2506
2732
|
// src/components/kbd.ts
|
|
2507
|
-
var
|
|
2508
|
-
var kbd = (0,
|
|
2733
|
+
var import_tailwind_variants37 = require("tailwind-variants");
|
|
2734
|
+
var kbd = (0, import_tailwind_variants37.tv)({
|
|
2509
2735
|
base: "inline-flex items-center justify-center font-mono rounded-md",
|
|
2510
2736
|
variants: {
|
|
2511
2737
|
variant: {
|
|
@@ -2524,8 +2750,8 @@ var kbd = (0, import_tailwind_variants34.tv)({
|
|
|
2524
2750
|
});
|
|
2525
2751
|
|
|
2526
2752
|
// src/components/label.ts
|
|
2527
|
-
var
|
|
2528
|
-
var label = (0,
|
|
2753
|
+
var import_tailwind_variants38 = require("tailwind-variants");
|
|
2754
|
+
var label = (0, import_tailwind_variants38.tv)({
|
|
2529
2755
|
base: [
|
|
2530
2756
|
"text-sm leading-none",
|
|
2531
2757
|
"text-foreground",
|
|
@@ -2543,8 +2769,8 @@ var label = (0, import_tailwind_variants35.tv)({
|
|
|
2543
2769
|
});
|
|
2544
2770
|
|
|
2545
2771
|
// src/components/loading-page.ts
|
|
2546
|
-
var
|
|
2547
|
-
var loadingPage = (0,
|
|
2772
|
+
var import_tailwind_variants39 = require("tailwind-variants");
|
|
2773
|
+
var loadingPage = (0, import_tailwind_variants39.tv)({
|
|
2548
2774
|
slots: {
|
|
2549
2775
|
root: "relative isolate flex min-h-screen items-center justify-center px-6 py-10 bg-background",
|
|
2550
2776
|
container: "flex flex-col items-center gap-4 text-center",
|
|
@@ -2564,8 +2790,8 @@ var loadingPage = (0, import_tailwind_variants36.tv)({
|
|
|
2564
2790
|
});
|
|
2565
2791
|
|
|
2566
2792
|
// src/components/page-header.ts
|
|
2567
|
-
var
|
|
2568
|
-
var pageHeader = (0,
|
|
2793
|
+
var import_tailwind_variants40 = require("tailwind-variants");
|
|
2794
|
+
var pageHeader = (0, import_tailwind_variants40.tv)({
|
|
2569
2795
|
slots: {
|
|
2570
2796
|
root: "page-header",
|
|
2571
2797
|
titleArea: "page-header__title-area flex gap-2 flex-row items-center",
|
|
@@ -2600,8 +2826,8 @@ var pageHeader = (0, import_tailwind_variants37.tv)({
|
|
|
2600
2826
|
});
|
|
2601
2827
|
|
|
2602
2828
|
// src/components/page-layout.ts
|
|
2603
|
-
var
|
|
2604
|
-
var pageLayout = (0,
|
|
2829
|
+
var import_tailwind_variants41 = require("tailwind-variants");
|
|
2830
|
+
var pageLayout = (0, import_tailwind_variants41.tv)({
|
|
2605
2831
|
slots: {
|
|
2606
2832
|
root: "",
|
|
2607
2833
|
wrapper: "flex flex-wrap w-full",
|
|
@@ -2718,8 +2944,8 @@ var pageLayout = (0, import_tailwind_variants38.tv)({
|
|
|
2718
2944
|
});
|
|
2719
2945
|
|
|
2720
2946
|
// src/components/popover.ts
|
|
2721
|
-
var
|
|
2722
|
-
var popover = (0,
|
|
2947
|
+
var import_tailwind_variants42 = require("tailwind-variants");
|
|
2948
|
+
var popover = (0, import_tailwind_variants42.tv)({
|
|
2723
2949
|
slots: {
|
|
2724
2950
|
content: [
|
|
2725
2951
|
"data-[open]:animate-in data-[closed]:animate-out data-[closed]:fade-out-0 data-[open]:fade-in-0 data-[closed]:zoom-out-95",
|
|
@@ -2767,8 +2993,8 @@ var popover = (0, import_tailwind_variants39.tv)({
|
|
|
2767
2993
|
});
|
|
2768
2994
|
|
|
2769
2995
|
// src/components/preview-card.ts
|
|
2770
|
-
var
|
|
2771
|
-
var previewCard = (0,
|
|
2996
|
+
var import_tailwind_variants43 = require("tailwind-variants");
|
|
2997
|
+
var previewCard = (0, import_tailwind_variants43.tv)({
|
|
2772
2998
|
slots: {
|
|
2773
2999
|
root: [
|
|
2774
3000
|
"grid w-full grid-cols-[auto_1fr_auto] items-center gap-y-1.5 rounded-md bg-background p-2",
|
|
@@ -2833,19 +3059,69 @@ var previewCard = (0, import_tailwind_variants40.tv)({
|
|
|
2833
3059
|
});
|
|
2834
3060
|
|
|
2835
3061
|
// src/components/related-control-chip.ts
|
|
2836
|
-
var
|
|
2837
|
-
var relatedControlChip = (0,
|
|
3062
|
+
var import_tailwind_variants44 = require("tailwind-variants");
|
|
3063
|
+
var relatedControlChip = (0, import_tailwind_variants44.tv)({
|
|
2838
3064
|
slots: {
|
|
2839
|
-
|
|
2840
|
-
|
|
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"
|
|
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"
|
|
2841
3093
|
],
|
|
3094
|
+
// Tooltip content
|
|
2842
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
|
|
2843
3119
|
}
|
|
2844
3120
|
});
|
|
2845
3121
|
|
|
2846
3122
|
// src/components/resizable.ts
|
|
2847
|
-
var
|
|
2848
|
-
var resizable = (0,
|
|
3123
|
+
var import_tailwind_variants45 = require("tailwind-variants");
|
|
3124
|
+
var resizable = (0, import_tailwind_variants45.tv)({
|
|
2849
3125
|
slots: {
|
|
2850
3126
|
root: ["flex h-full w-full data-[panel-group-direction=vertical]:flex-col"],
|
|
2851
3127
|
panel: [],
|
|
@@ -2871,8 +3147,8 @@ var resizable = (0, import_tailwind_variants42.tv)({
|
|
|
2871
3147
|
});
|
|
2872
3148
|
|
|
2873
3149
|
// src/components/risk-badge.ts
|
|
2874
|
-
var
|
|
2875
|
-
var riskBadge = (0,
|
|
3150
|
+
var import_tailwind_variants46 = require("tailwind-variants");
|
|
3151
|
+
var riskBadge = (0, import_tailwind_variants46.tv)({
|
|
2876
3152
|
slots: {
|
|
2877
3153
|
root: ["inline-flex flex-col items-start gap-0.5"],
|
|
2878
3154
|
label: ["inline-flex items-center gap-0.5 text-xs"],
|
|
@@ -2911,8 +3187,8 @@ var riskBadge = (0, import_tailwind_variants43.tv)({
|
|
|
2911
3187
|
});
|
|
2912
3188
|
|
|
2913
3189
|
// src/components/risk-indicator.ts
|
|
2914
|
-
var
|
|
2915
|
-
var riskIndicator = (0,
|
|
3190
|
+
var import_tailwind_variants47 = require("tailwind-variants");
|
|
3191
|
+
var riskIndicator = (0, import_tailwind_variants47.tv)({
|
|
2916
3192
|
slots: {
|
|
2917
3193
|
base: "flex items-end gap-0.5",
|
|
2918
3194
|
bar: "rounded-sm",
|
|
@@ -2944,9 +3220,70 @@ var riskIndicator = (0, import_tailwind_variants44.tv)({
|
|
|
2944
3220
|
}
|
|
2945
3221
|
});
|
|
2946
3222
|
|
|
3223
|
+
// src/components/risk-rating.ts
|
|
3224
|
+
var import_tailwind_variants48 = require("tailwind-variants");
|
|
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
|
+
|
|
2947
3284
|
// src/components/scroll-area.ts
|
|
2948
|
-
var
|
|
2949
|
-
var scrollArea = (0,
|
|
3285
|
+
var import_tailwind_variants49 = require("tailwind-variants");
|
|
3286
|
+
var scrollArea = (0, import_tailwind_variants49.tv)({
|
|
2950
3287
|
slots: {
|
|
2951
3288
|
root: "relative",
|
|
2952
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",
|
|
@@ -2960,8 +3297,8 @@ var scrollArea = (0, import_tailwind_variants45.tv)({
|
|
|
2960
3297
|
});
|
|
2961
3298
|
|
|
2962
3299
|
// src/components/section-row.ts
|
|
2963
|
-
var
|
|
2964
|
-
var sectionRow = (0,
|
|
3300
|
+
var import_tailwind_variants50 = require("tailwind-variants");
|
|
3301
|
+
var sectionRow = (0, import_tailwind_variants50.tv)({
|
|
2965
3302
|
slots: {
|
|
2966
3303
|
root: ["grid grid-cols-1 text-base/6 sm:text-sm/6", "w-full"],
|
|
2967
3304
|
title: [
|
|
@@ -3032,8 +3369,8 @@ var sectionRow = (0, import_tailwind_variants46.tv)({
|
|
|
3032
3369
|
});
|
|
3033
3370
|
|
|
3034
3371
|
// src/components/select.ts
|
|
3035
|
-
var
|
|
3036
|
-
var select = (0,
|
|
3372
|
+
var import_tailwind_variants51 = require("tailwind-variants");
|
|
3373
|
+
var select = (0, import_tailwind_variants51.tv)({
|
|
3037
3374
|
slots: {
|
|
3038
3375
|
trigger: [
|
|
3039
3376
|
"w-full",
|
|
@@ -3137,8 +3474,8 @@ var select = (0, import_tailwind_variants47.tv)({
|
|
|
3137
3474
|
});
|
|
3138
3475
|
|
|
3139
3476
|
// src/components/separator.ts
|
|
3140
|
-
var
|
|
3141
|
-
var separator = (0,
|
|
3477
|
+
var import_tailwind_variants52 = require("tailwind-variants");
|
|
3478
|
+
var separator = (0, import_tailwind_variants52.tv)({
|
|
3142
3479
|
base: [
|
|
3143
3480
|
"bg-border shrink-0",
|
|
3144
3481
|
"data-[orientation=horizontal]:h-px",
|
|
@@ -3156,8 +3493,8 @@ var separator = (0, import_tailwind_variants48.tv)({
|
|
|
3156
3493
|
});
|
|
3157
3494
|
|
|
3158
3495
|
// src/components/sidebar.ts
|
|
3159
|
-
var
|
|
3160
|
-
var sidebar = (0,
|
|
3496
|
+
var import_tailwind_variants53 = require("tailwind-variants");
|
|
3497
|
+
var sidebar = (0, import_tailwind_variants53.tv)({
|
|
3161
3498
|
slots: {
|
|
3162
3499
|
provider: [
|
|
3163
3500
|
"group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full isolate"
|
|
@@ -3245,7 +3582,7 @@ var sidebar = (0, import_tailwind_variants49.tv)({
|
|
|
3245
3582
|
isMobile: false
|
|
3246
3583
|
}
|
|
3247
3584
|
});
|
|
3248
|
-
var sidebarMenuButton = (0,
|
|
3585
|
+
var sidebarMenuButton = (0, import_tailwind_variants53.tv)({
|
|
3249
3586
|
base: [
|
|
3250
3587
|
"peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md",
|
|
3251
3588
|
"p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding]",
|
|
@@ -3297,7 +3634,7 @@ var sidebarMenuButton = (0, import_tailwind_variants49.tv)({
|
|
|
3297
3634
|
}
|
|
3298
3635
|
]
|
|
3299
3636
|
});
|
|
3300
|
-
var sidebarMenuAction = (0,
|
|
3637
|
+
var sidebarMenuAction = (0, import_tailwind_variants53.tv)({
|
|
3301
3638
|
base: [
|
|
3302
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",
|
|
3303
3640
|
// Increases the hit area of the button on mobile.
|
|
@@ -3317,14 +3654,14 @@ var sidebarMenuAction = (0, import_tailwind_variants49.tv)({
|
|
|
3317
3654
|
});
|
|
3318
3655
|
|
|
3319
3656
|
// src/components/skeleton.ts
|
|
3320
|
-
var
|
|
3321
|
-
var skeleton = (0,
|
|
3657
|
+
var import_tailwind_variants54 = require("tailwind-variants");
|
|
3658
|
+
var skeleton = (0, import_tailwind_variants54.tv)({
|
|
3322
3659
|
base: "bg-accent animate-pulse rounded-md"
|
|
3323
3660
|
});
|
|
3324
3661
|
|
|
3325
3662
|
// src/components/skeleton-avatar.ts
|
|
3326
|
-
var
|
|
3327
|
-
var skeletonAvatar = (0,
|
|
3663
|
+
var import_tailwind_variants55 = require("tailwind-variants");
|
|
3664
|
+
var skeletonAvatar = (0, import_tailwind_variants55.tv)({
|
|
3328
3665
|
base: "rounded-full",
|
|
3329
3666
|
variants: {
|
|
3330
3667
|
size: {
|
|
@@ -3341,8 +3678,8 @@ var skeletonAvatar = (0, import_tailwind_variants51.tv)({
|
|
|
3341
3678
|
});
|
|
3342
3679
|
|
|
3343
3680
|
// src/components/slash-dropdown-menu.ts
|
|
3344
|
-
var
|
|
3345
|
-
var slashDropdownMenu = (0,
|
|
3681
|
+
var import_tailwind_variants56 = require("tailwind-variants");
|
|
3682
|
+
var slashDropdownMenu = (0, import_tailwind_variants56.tv)({
|
|
3346
3683
|
slots: {
|
|
3347
3684
|
card: [...popoverContentClasses, "p-0", "flex flex-col outline-none"],
|
|
3348
3685
|
body: ["p-1.5 flex-auto grow shrink overflow-y-auto w-full"],
|
|
@@ -3361,8 +3698,8 @@ var slashDropdownMenu = (0, import_tailwind_variants52.tv)({
|
|
|
3361
3698
|
});
|
|
3362
3699
|
|
|
3363
3700
|
// src/components/spinner.ts
|
|
3364
|
-
var
|
|
3365
|
-
var spinner = (0,
|
|
3701
|
+
var import_tailwind_variants57 = require("tailwind-variants");
|
|
3702
|
+
var spinner = (0, import_tailwind_variants57.tv)({
|
|
3366
3703
|
slots: {
|
|
3367
3704
|
base: "relative inline-flex flex-col gap-2 items-center justify-center",
|
|
3368
3705
|
wrapper: "relative flex",
|
|
@@ -3479,8 +3816,8 @@ var spinner = (0, import_tailwind_variants53.tv)({
|
|
|
3479
3816
|
});
|
|
3480
3817
|
|
|
3481
3818
|
// src/components/split-page-layout.ts
|
|
3482
|
-
var
|
|
3483
|
-
var splitPageLayout = (0,
|
|
3819
|
+
var import_tailwind_variants58 = require("tailwind-variants");
|
|
3820
|
+
var splitPageLayout = (0, import_tailwind_variants58.tv)({
|
|
3484
3821
|
slots: {
|
|
3485
3822
|
root: [
|
|
3486
3823
|
"size-full min-h-0 grid grid-cols-[1fr_10px] md:grid-cols-3 relative"
|
|
@@ -3517,8 +3854,8 @@ var splitPageLayout = (0, import_tailwind_variants54.tv)({
|
|
|
3517
3854
|
});
|
|
3518
3855
|
|
|
3519
3856
|
// src/components/standard-chip.ts
|
|
3520
|
-
var
|
|
3521
|
-
var standardChip = (0,
|
|
3857
|
+
var import_tailwind_variants59 = require("tailwind-variants");
|
|
3858
|
+
var standardChip = (0, import_tailwind_variants59.tv)({
|
|
3522
3859
|
extend: chip,
|
|
3523
3860
|
slots: {
|
|
3524
3861
|
root: [
|
|
@@ -3609,8 +3946,8 @@ var standardChip = (0, import_tailwind_variants55.tv)({
|
|
|
3609
3946
|
});
|
|
3610
3947
|
|
|
3611
3948
|
// src/components/switch.ts
|
|
3612
|
-
var
|
|
3613
|
-
var switchVariants = (0,
|
|
3949
|
+
var import_tailwind_variants60 = require("tailwind-variants");
|
|
3950
|
+
var switchVariants = (0, import_tailwind_variants60.tv)({
|
|
3614
3951
|
slots: {
|
|
3615
3952
|
root: [
|
|
3616
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",
|
|
@@ -3645,8 +3982,8 @@ var switchVariants = (0, import_tailwind_variants56.tv)({
|
|
|
3645
3982
|
});
|
|
3646
3983
|
|
|
3647
3984
|
// src/components/tab-nav.ts
|
|
3648
|
-
var
|
|
3649
|
-
var tabNav = (0,
|
|
3985
|
+
var import_tailwind_variants61 = require("tailwind-variants");
|
|
3986
|
+
var tabNav = (0, import_tailwind_variants61.tv)({
|
|
3650
3987
|
slots: {
|
|
3651
3988
|
base: "",
|
|
3652
3989
|
list: [
|
|
@@ -3736,8 +4073,8 @@ var tabNav = (0, import_tailwind_variants57.tv)({
|
|
|
3736
4073
|
});
|
|
3737
4074
|
|
|
3738
4075
|
// src/components/table.ts
|
|
3739
|
-
var
|
|
3740
|
-
var table = (0,
|
|
4076
|
+
var import_tailwind_variants62 = require("tailwind-variants");
|
|
4077
|
+
var table = (0, import_tailwind_variants62.tv)({
|
|
3741
4078
|
slots: {
|
|
3742
4079
|
container: ["overflow-x-auto whitespace-nowrap", "-mx-(--gutter)"],
|
|
3743
4080
|
wrapper: ["inline-block min-w-full align-middle"],
|
|
@@ -3899,8 +4236,8 @@ var table = (0, import_tailwind_variants58.tv)({
|
|
|
3899
4236
|
});
|
|
3900
4237
|
|
|
3901
4238
|
// src/components/tabs.ts
|
|
3902
|
-
var
|
|
3903
|
-
var tabs = (0,
|
|
4239
|
+
var import_tailwind_variants63 = require("tailwind-variants");
|
|
4240
|
+
var tabs = (0, import_tailwind_variants63.tv)({
|
|
3904
4241
|
slots: {
|
|
3905
4242
|
root: "flex flex-col gap-2",
|
|
3906
4243
|
list: [
|
|
@@ -3937,8 +4274,8 @@ var tabs = (0, import_tailwind_variants59.tv)({
|
|
|
3937
4274
|
});
|
|
3938
4275
|
|
|
3939
4276
|
// src/components/textarea.ts
|
|
3940
|
-
var
|
|
3941
|
-
var textarea = (0,
|
|
4277
|
+
var import_tailwind_variants64 = require("tailwind-variants");
|
|
4278
|
+
var textarea = (0, import_tailwind_variants64.tv)({
|
|
3942
4279
|
base: [
|
|
3943
4280
|
"w-full border border-input bg-background text-foreground shadow-xs shadow-black/5 transition-[color,box-shadow]",
|
|
3944
4281
|
"text-foreground placeholder:text-muted-foreground/80",
|
|
@@ -3962,8 +4299,8 @@ var textarea = (0, import_tailwind_variants60.tv)({
|
|
|
3962
4299
|
});
|
|
3963
4300
|
|
|
3964
4301
|
// src/components/toolbar.ts
|
|
3965
|
-
var
|
|
3966
|
-
var toolbar = (0,
|
|
4302
|
+
var import_tailwind_variants65 = require("tailwind-variants");
|
|
4303
|
+
var toolbar = (0, import_tailwind_variants65.tv)({
|
|
3967
4304
|
slots: {
|
|
3968
4305
|
root: "flex items-center gap-2.5 p-1",
|
|
3969
4306
|
button: "shrink-0",
|
|
@@ -4002,8 +4339,8 @@ var toolbar = (0, import_tailwind_variants61.tv)({
|
|
|
4002
4339
|
});
|
|
4003
4340
|
|
|
4004
4341
|
// src/components/tooltip.ts
|
|
4005
|
-
var
|
|
4006
|
-
var tooltip = (0,
|
|
4342
|
+
var import_tailwind_variants66 = require("tailwind-variants");
|
|
4343
|
+
var tooltip = (0, import_tailwind_variants66.tv)({
|
|
4007
4344
|
slots: {
|
|
4008
4345
|
content: [
|
|
4009
4346
|
"bg-primary-900 text-primary-foreground",
|
|
@@ -4033,6 +4370,7 @@ var tooltip = (0, import_tailwind_variants62.tv)({
|
|
|
4033
4370
|
colorHighlightButton,
|
|
4034
4371
|
combobox,
|
|
4035
4372
|
command,
|
|
4373
|
+
complianceBadge,
|
|
4036
4374
|
controlExtension,
|
|
4037
4375
|
dataTable,
|
|
4038
4376
|
datagrid,
|
|
@@ -4041,10 +4379,12 @@ var tooltip = (0, import_tailwind_variants62.tv)({
|
|
|
4041
4379
|
dropdownMenu,
|
|
4042
4380
|
editorBasic,
|
|
4043
4381
|
editorSpinner,
|
|
4382
|
+
filter,
|
|
4044
4383
|
frameworkRow,
|
|
4045
4384
|
heading,
|
|
4046
4385
|
hoverCard,
|
|
4047
4386
|
imageCrop,
|
|
4387
|
+
impactCard,
|
|
4048
4388
|
input,
|
|
4049
4389
|
inputGroup,
|
|
4050
4390
|
inputWrapper,
|
|
@@ -4061,6 +4401,7 @@ var tooltip = (0, import_tailwind_variants62.tv)({
|
|
|
4061
4401
|
resizable,
|
|
4062
4402
|
riskBadge,
|
|
4063
4403
|
riskIndicator,
|
|
4404
|
+
riskRating,
|
|
4064
4405
|
scrollArea,
|
|
4065
4406
|
sectionRow,
|
|
4066
4407
|
select,
|