@kopexa/theme 1.5.2 → 1.5.4

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.
Files changed (62) hide show
  1. package/dist/{chunk-BIRJNNEY.mjs → chunk-3M5JSM7Y.mjs} +5 -5
  2. package/dist/chunk-5BIGFSZK.mjs +48 -0
  3. package/dist/chunk-CDTKWCOH.mjs +120 -0
  4. package/dist/{chunk-7CM52H5K.mjs → chunk-CQDTDA47.mjs} +1 -1
  5. package/dist/chunk-GNYTZGE5.mjs +48 -0
  6. package/dist/chunk-HAVJ6EQ6.mjs +39 -0
  7. package/dist/{chunk-Q5DCJR2X.mjs → chunk-I2NMD23O.mjs} +16 -3
  8. package/dist/chunk-KPOZFVP6.mjs +13 -0
  9. package/dist/chunk-NWKBPO37.mjs +21 -0
  10. package/dist/chunk-VNQEJU4P.mjs +9 -0
  11. package/dist/chunk-XCLEKBCJ.mjs +17 -0
  12. package/dist/components/avatar-group.d.mts +29 -0
  13. package/dist/components/avatar-group.d.ts +29 -0
  14. package/dist/components/avatar-group.js +41 -0
  15. package/dist/components/avatar-group.mjs +6 -0
  16. package/dist/components/avatar.d.mts +30 -0
  17. package/dist/components/avatar.d.ts +30 -0
  18. package/dist/components/avatar.js +16 -3
  19. package/dist/components/avatar.mjs +1 -1
  20. package/dist/components/button.js +5 -5
  21. package/dist/components/button.mjs +1 -1
  22. package/dist/components/checkbox.d.mts +43 -0
  23. package/dist/components/checkbox.d.ts +43 -0
  24. package/dist/components/checkbox.js +37 -0
  25. package/dist/components/checkbox.mjs +6 -0
  26. package/dist/components/code.d.mts +70 -0
  27. package/dist/components/code.d.ts +70 -0
  28. package/dist/components/code.js +120 -0
  29. package/dist/components/code.mjs +7 -0
  30. package/dist/components/data-table.d.mts +121 -0
  31. package/dist/components/data-table.d.ts +121 -0
  32. package/dist/components/data-table.js +72 -0
  33. package/dist/components/data-table.mjs +6 -0
  34. package/dist/components/heading.d.mts +34 -0
  35. package/dist/components/heading.d.ts +34 -0
  36. package/dist/components/heading.js +45 -0
  37. package/dist/components/heading.mjs +6 -0
  38. package/dist/components/index.d.mts +8 -0
  39. package/dist/components/index.d.ts +8 -0
  40. package/dist/components/index.js +352 -36
  41. package/dist/components/index.mjs +51 -19
  42. package/dist/components/input.js +1 -1
  43. package/dist/components/input.mjs +1 -1
  44. package/dist/components/page-header.d.mts +85 -0
  45. package/dist/components/page-header.d.ts +85 -0
  46. package/dist/components/page-header.js +63 -0
  47. package/dist/components/page-header.mjs +6 -0
  48. package/dist/components/skeleton.d.mts +5 -0
  49. package/dist/components/skeleton.d.ts +5 -0
  50. package/dist/components/skeleton.js +33 -0
  51. package/dist/components/skeleton.mjs +6 -0
  52. package/dist/components/table.d.mts +215 -0
  53. package/dist/components/table.d.ts +215 -0
  54. package/dist/components/table.js +144 -0
  55. package/dist/components/table.mjs +6 -0
  56. package/dist/index.css +131 -26
  57. package/dist/index.d.mts +8 -0
  58. package/dist/index.d.ts +8 -0
  59. package/dist/index.js +352 -36
  60. package/dist/index.mjs +51 -19
  61. package/package.json +3 -3
  62. /package/dist/{chunk-PWBTAIYS.mjs → chunk-FWB233VZ.mjs} +0 -0
@@ -22,19 +22,27 @@ var components_exports = {};
22
22
  __export(components_exports, {
23
23
  alertDialog: () => alertDialog,
24
24
  avatar: () => avatar,
25
+ avatarGroup: () => avatarGroup,
25
26
  button: () => button,
26
27
  calendar: () => calendar,
27
28
  card: () => card,
29
+ checkbox: () => checkbox,
28
30
  chip: () => chip,
31
+ code: () => code,
29
32
  command: () => command,
33
+ dataTable: () => dataTable,
30
34
  dialog: () => dialog,
31
35
  drawer: () => drawer,
32
36
  dropdownMenu: () => dropdownMenu,
37
+ heading: () => heading,
33
38
  input: () => input,
39
+ pageHeader: () => pageHeader,
34
40
  pageLayout: () => pageLayout,
35
41
  passwordInput: () => passwordInput,
36
42
  popover: () => popover,
43
+ skeleton: () => skeleton,
37
44
  spinner: () => spinner,
45
+ table: () => table,
38
46
  tooltip: () => tooltip
39
47
  });
40
48
  module.exports = __toCommonJS(components_exports);
@@ -174,13 +182,13 @@ var avatar = (0, import_tailwind_variants2.tv)({
174
182
  variants: {
175
183
  size: {
176
184
  sm: {
177
- root: "w-8 h-8 text-tiny"
185
+ root: "w-8 h-8 text-[11px]"
178
186
  },
179
187
  md: {
180
- root: "w-10 h-10 text-tiny"
188
+ root: "w-10 h-10 text-[12px]"
181
189
  },
182
190
  lg: {
183
- root: "w-14 h-14 text-small"
191
+ root: "w-14 h-14 text-[14px]"
184
192
  }
185
193
  },
186
194
  color: {
@@ -229,6 +237,19 @@ var avatar = (0, import_tailwind_variants2.tv)({
229
237
  true: {
230
238
  root: "opacity-50"
231
239
  }
240
+ },
241
+ isInGroup: {
242
+ true: {
243
+ root: [
244
+ "-ms-2 hover:-translate-x-3 rtl:hover:translate-x-3 transition-transform",
245
+ "focus-visible:-translate-x-3 rtl:focus-visible:translate-x-3"
246
+ ]
247
+ }
248
+ },
249
+ isInGridGroup: {
250
+ true: {
251
+ root: "m-0 hover:translate-x-0"
252
+ }
232
253
  }
233
254
  },
234
255
  defaultVariants: {
@@ -282,9 +303,23 @@ var avatar = (0, import_tailwind_variants2.tv)({
282
303
  ]
283
304
  });
284
305
 
285
- // src/components/button.ts
306
+ // src/components/avatar-group.ts
286
307
  var import_tailwind_variants3 = require("tailwind-variants");
287
- var button = (0, import_tailwind_variants3.tv)({
308
+ var avatarGroup = (0, import_tailwind_variants3.tv)({
309
+ slots: {
310
+ base: "flex items-center justify-center h-auto w-max",
311
+ count: "hover:-translate-x-0"
312
+ },
313
+ variants: {
314
+ isGrid: {
315
+ true: "inline-grid grid-cols-4 gap-3"
316
+ }
317
+ }
318
+ });
319
+
320
+ // src/components/button.ts
321
+ var import_tailwind_variants4 = require("tailwind-variants");
322
+ var button = (0, import_tailwind_variants4.tv)({
288
323
  base: [
289
324
  "group relative inline-flex items-center justify-center select-none",
290
325
  "box-border appearance-none",
@@ -301,13 +336,13 @@ var button = (0, import_tailwind_variants3.tv)({
301
336
  variant: {
302
337
  solid: "shadow-xs",
303
338
  ghost: "",
304
- outline: "border-2 bg-transparent",
339
+ outline: "border-1 bg-transparent",
305
340
  link: ""
306
341
  },
307
342
  size: {
308
- sm: "px-3 min-w-16 h-8 text-xs gap-2 rounded-sm has-[>svg]:px-2.5",
309
- md: "px-4 min-w-20 h-10 text-sm gap-2 rounded-md has-[>svg]:px-3",
310
- lg: "px-6 min-w-24 h-12 text-base gap-3 rounded-lg has-[>svg]:px-4"
343
+ sm: "px-3 min-w-16 h-8 text-xs gap-2 rounded-sm has-[>svg]:px-2.5 [&_svg]:size-3",
344
+ md: "px-4 min-w-20 h-10 text-sm gap-2 rounded-md has-[>svg]:px-3 [&_svg]:size-4",
345
+ lg: "px-6 min-w-24 h-12 text-base gap-3 rounded-lg has-[>svg]:px-4 [&_svg]:size-4"
311
346
  },
312
347
  color: {
313
348
  primary: "",
@@ -326,7 +361,7 @@ var button = (0, import_tailwind_variants3.tv)({
326
361
  }
327
362
  },
328
363
  defaultVariants: {
329
- size: "md",
364
+ size: "sm",
330
365
  variant: "solid",
331
366
  color: "primary",
332
367
  fullWidth: false,
@@ -431,8 +466,8 @@ var button = (0, import_tailwind_variants3.tv)({
431
466
  });
432
467
 
433
468
  // src/components/calendar.ts
434
- var import_tailwind_variants4 = require("tailwind-variants");
435
- var calendar = (0, import_tailwind_variants4.tv)({
469
+ var import_tailwind_variants5 = require("tailwind-variants");
470
+ var calendar = (0, import_tailwind_variants5.tv)({
436
471
  slots: {
437
472
  base: [
438
473
  "bg-background group/calendar p-3 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",
@@ -484,8 +519,8 @@ var calendar = (0, import_tailwind_variants4.tv)({
484
519
  });
485
520
 
486
521
  // src/components/card.ts
487
- var import_tailwind_variants5 = require("tailwind-variants");
488
- var card = (0, import_tailwind_variants5.tv)({
522
+ var import_tailwind_variants6 = require("tailwind-variants");
523
+ var card = (0, import_tailwind_variants6.tv)({
489
524
  slots: {
490
525
  root: [
491
526
  "flex flex-col relative overflow-hidden h-auto outline-hidden text-card-foreground bg-card box-border",
@@ -602,9 +637,19 @@ var card = (0, import_tailwind_variants5.tv)({
602
637
  }
603
638
  });
604
639
 
640
+ // src/components/checkbox.ts
641
+ var import_tailwind_variants7 = require("tailwind-variants");
642
+ var checkbox = (0, import_tailwind_variants7.tv)({
643
+ slots: {
644
+ base: "peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
645
+ indicator: "flex items-center justify-center text-current transition-none",
646
+ icon: "size-3.5"
647
+ }
648
+ });
649
+
605
650
  // src/components/chip.ts
606
- var import_tailwind_variants6 = require("tailwind-variants");
607
- var chip = (0, import_tailwind_variants6.tv)({
651
+ var import_tailwind_variants8 = require("tailwind-variants");
652
+ var chip = (0, import_tailwind_variants8.tv)({
608
653
  slots: {
609
654
  root: [
610
655
  "relative",
@@ -919,9 +964,50 @@ var chip = (0, import_tailwind_variants6.tv)({
919
964
  ]
920
965
  });
921
966
 
967
+ // src/components/code.ts
968
+ var import_tailwind_variants9 = require("tailwind-variants");
969
+ var code = (0, import_tailwind_variants9.tv)({
970
+ base: [
971
+ "px-2",
972
+ "py-1",
973
+ "h-fit",
974
+ "font-mono",
975
+ "font-normal",
976
+ "inline-block",
977
+ "whitespace-nowrap"
978
+ ],
979
+ variants: {
980
+ color: {
981
+ default: colorVariants.flat.default,
982
+ primary: colorVariants.flat.primary,
983
+ secondary: colorVariants.flat.secondary,
984
+ success: colorVariants.flat.success,
985
+ warning: colorVariants.flat.warning,
986
+ destructive: colorVariants.flat.destructive
987
+ },
988
+ size: {
989
+ sm: "text-xs",
990
+ md: "text-sm",
991
+ lg: "text-base"
992
+ },
993
+ radius: {
994
+ none: "rounded-none",
995
+ sm: "rounded-sm",
996
+ md: "rounded-md",
997
+ lg: "rounded-lg",
998
+ full: "rounded-full"
999
+ }
1000
+ },
1001
+ defaultVariants: {
1002
+ color: "default",
1003
+ size: "sm",
1004
+ radius: "sm"
1005
+ }
1006
+ });
1007
+
922
1008
  // src/components/command.ts
923
- var import_tailwind_variants7 = require("tailwind-variants");
924
- var command = (0, import_tailwind_variants7.tv)({
1009
+ var import_tailwind_variants10 = require("tailwind-variants");
1010
+ var command = (0, import_tailwind_variants10.tv)({
925
1011
  slots: {
926
1012
  root: "bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",
927
1013
  inputWrapper: "flex h-9 items-center gap-2 border-b px-3",
@@ -939,9 +1025,54 @@ var command = (0, import_tailwind_variants7.tv)({
939
1025
  }
940
1026
  });
941
1027
 
1028
+ // src/components/data-table.ts
1029
+ var import_tailwind_variants11 = require("tailwind-variants");
1030
+ var dataTable = (0, import_tailwind_variants11.tv)({
1031
+ slots: {
1032
+ base: "relative flex min-h-0 flex-1 flex-col",
1033
+ toolbarWrapper: "flex flex-col gap-2 divide-y pb-2",
1034
+ toolbar: "flex items-center py-4",
1035
+ wrapper: "min-h-0 w-full flex-1 overflow-auto overscroll-none",
1036
+ th: "",
1037
+ td: ""
1038
+ },
1039
+ variants: {
1040
+ isFirstColumn: {
1041
+ true: {
1042
+ th: "after:absolute after:inset-y-0 after:right-0 after:h-full after:w-px after:bg-transparent after:content-['']",
1043
+ td: "after:absolute after:inset-y-0 after:right-0 after:h-full after:w-px after:bg-transparent after:content-['']"
1044
+ }
1045
+ },
1046
+ showStickyBorder: {
1047
+ true: {
1048
+ th: "after:bg-border",
1049
+ td: "after:bg-border"
1050
+ }
1051
+ },
1052
+ isSelect: {
1053
+ true: {
1054
+ th: "w-[calc(20px+24px+24px)] min-w-[calc(20px+24px+24px)] max-w-[calc(20px+24px+24px)]",
1055
+ td: "w-[calc(20px+24px+24px)] min-w-[calc(20px+24px+24px)] max-w-[calc(20px+24px+24px)]"
1056
+ }
1057
+ },
1058
+ isAction: {
1059
+ true: {
1060
+ th: "w-[calc(28px+24px+4px)] min-w-[calc(28px+24px+4px)] max-w-[calc(28px+24px+4px)]",
1061
+ td: "w-[calc(28px+24px+4px)] min-w-[calc(28px+24px+4px)] max-w-[calc(28px+24px+4px)]"
1062
+ }
1063
+ },
1064
+ isSticky: {
1065
+ true: {
1066
+ th: "bg-background sticky",
1067
+ td: "bg-background sticky z-[2]"
1068
+ }
1069
+ }
1070
+ }
1071
+ });
1072
+
942
1073
  // src/components/dialog.ts
943
- var import_tailwind_variants8 = require("tailwind-variants");
944
- var dialog = (0, import_tailwind_variants8.tv)({
1074
+ var import_tailwind_variants12 = require("tailwind-variants");
1075
+ var dialog = (0, import_tailwind_variants12.tv)({
945
1076
  slots: {
946
1077
  overlay: ["fixed inset-0 z-50 bg-black/25"],
947
1078
  content: [
@@ -1032,8 +1163,8 @@ var dialog = (0, import_tailwind_variants8.tv)({
1032
1163
  });
1033
1164
 
1034
1165
  // src/components/drawer.ts
1035
- var import_tailwind_variants9 = require("tailwind-variants");
1036
- var drawer = (0, import_tailwind_variants9.tv)({
1166
+ var import_tailwind_variants13 = require("tailwind-variants");
1167
+ var drawer = (0, import_tailwind_variants13.tv)({
1037
1168
  slots: {
1038
1169
  overlay: dialog.slots.overlay,
1039
1170
  content: [
@@ -1113,8 +1244,8 @@ var drawer = (0, import_tailwind_variants9.tv)({
1113
1244
  });
1114
1245
 
1115
1246
  // src/components/dropdown-menu.ts
1116
- var import_tailwind_variants10 = require("tailwind-variants");
1117
- var dropdownMenu = (0, import_tailwind_variants10.tv)({
1247
+ var import_tailwind_variants14 = require("tailwind-variants");
1248
+ var dropdownMenu = (0, import_tailwind_variants14.tv)({
1118
1249
  slots: {
1119
1250
  root: "",
1120
1251
  content: "min-w-56 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",
@@ -1133,15 +1264,33 @@ var dropdownMenu = (0, import_tailwind_variants10.tv)({
1133
1264
  }
1134
1265
  });
1135
1266
 
1267
+ // src/components/heading.ts
1268
+ var import_tailwind_variants15 = require("tailwind-variants");
1269
+ var heading = (0, import_tailwind_variants15.tv)({
1270
+ variants: {
1271
+ level: {
1272
+ h1: "text-h1-core",
1273
+ h2: "text-h2-core",
1274
+ h3: "text-h3-core",
1275
+ h4: "text-h4-core",
1276
+ h5: "text-h5-core",
1277
+ h6: "text-h6-core"
1278
+ }
1279
+ },
1280
+ defaultVariants: {
1281
+ level: "h1"
1282
+ }
1283
+ });
1284
+
1136
1285
  // src/components/input.ts
1137
- var import_tailwind_variants11 = require("tailwind-variants");
1138
- var passwordInput = (0, import_tailwind_variants11.tv)({
1286
+ var import_tailwind_variants16 = require("tailwind-variants");
1287
+ var passwordInput = (0, import_tailwind_variants16.tv)({
1139
1288
  slots: {
1140
1289
  button: "focus:outline-hidden",
1141
1290
  icon: "pointer-events-none text-muted-foreground"
1142
1291
  }
1143
1292
  });
1144
- var input = (0, import_tailwind_variants11.tv)({
1293
+ var input = (0, import_tailwind_variants16.tv)({
1145
1294
  base: [],
1146
1295
  slots: {
1147
1296
  inputWrapper: [
@@ -1217,13 +1366,49 @@ var input = (0, import_tailwind_variants11.tv)({
1217
1366
  }
1218
1367
  },
1219
1368
  defaultVariants: {
1220
- size: "md"
1369
+ size: "sm"
1370
+ }
1371
+ });
1372
+
1373
+ // src/components/page-header.ts
1374
+ var import_tailwind_variants17 = require("tailwind-variants");
1375
+ var pageHeader = (0, import_tailwind_variants17.tv)({
1376
+ slots: {
1377
+ root: "page-header",
1378
+ titleArea: "page-header__title-area flex gap-2 flex-row items-center",
1379
+ title: "page-header__title block",
1380
+ contextArea: [
1381
+ "page-header__context-area",
1382
+ "flex",
1383
+ "pb-2",
1384
+ "text-sm",
1385
+ "flex-row",
1386
+ "gap-2"
1387
+ ],
1388
+ leadingVisual: "page-header__leading-visual flex items-center [&_svg]:size-4",
1389
+ leadingAction: "page-header__leading-action",
1390
+ breadcrumbs: ["page-header__breadcrumbs", "flex pe-2 items-center"],
1391
+ actions: [
1392
+ "page-header__actions",
1393
+ "flex",
1394
+ "flex-row",
1395
+ "gap-2",
1396
+ "justify-end",
1397
+ "items-start",
1398
+ "min-w-max",
1399
+ "ps-2"
1400
+ ],
1401
+ description: [
1402
+ "page-header__description",
1403
+ "flex flex-row items-center gap-2 pt-2 text-sm font-normal leading-normal"
1404
+ ],
1405
+ navigation: ["page-header__navigation", "block pt-2 text-sm fonr-normal"]
1221
1406
  }
1222
1407
  });
1223
1408
 
1224
1409
  // src/components/page-layout.ts
1225
- var import_tailwind_variants12 = require("tailwind-variants");
1226
- var pageLayout = (0, import_tailwind_variants12.tv)({
1410
+ var import_tailwind_variants18 = require("tailwind-variants");
1411
+ var pageLayout = (0, import_tailwind_variants18.tv)({
1227
1412
  slots: {
1228
1413
  root: "",
1229
1414
  wrapper: "flex mx-auto flex-wrap",
@@ -1320,8 +1505,8 @@ var pageLayout = (0, import_tailwind_variants12.tv)({
1320
1505
  });
1321
1506
 
1322
1507
  // src/components/popover.ts
1323
- var import_tailwind_variants13 = require("tailwind-variants");
1324
- var popover = (0, import_tailwind_variants13.tv)({
1508
+ var import_tailwind_variants19 = require("tailwind-variants");
1509
+ var popover = (0, import_tailwind_variants19.tv)({
1325
1510
  slots: {
1326
1511
  content: [
1327
1512
  "bg-popover text-popover-foreground z-50 w-72",
@@ -1331,9 +1516,15 @@ var popover = (0, import_tailwind_variants13.tv)({
1331
1516
  }
1332
1517
  });
1333
1518
 
1519
+ // src/components/skeleton.ts
1520
+ var import_tailwind_variants20 = require("tailwind-variants");
1521
+ var skeleton = (0, import_tailwind_variants20.tv)({
1522
+ base: "bg-accent animate-pulse rounded-md"
1523
+ });
1524
+
1334
1525
  // src/components/spinner.ts
1335
- var import_tailwind_variants14 = require("tailwind-variants");
1336
- var spinner = (0, import_tailwind_variants14.tv)({
1526
+ var import_tailwind_variants21 = require("tailwind-variants");
1527
+ var spinner = (0, import_tailwind_variants21.tv)({
1337
1528
  slots: {
1338
1529
  base: "relative inline-flex flex-col gap-2 items-center justify-center",
1339
1530
  wrapper: "relative flex",
@@ -1449,9 +1640,126 @@ var spinner = (0, import_tailwind_variants14.tv)({
1449
1640
  }
1450
1641
  });
1451
1642
 
1643
+ // src/components/table.ts
1644
+ var import_tailwind_variants22 = require("tailwind-variants");
1645
+ var table = (0, import_tailwind_variants22.tv)({
1646
+ slots: {
1647
+ table: "min-w-full h-auto",
1648
+ thead: "",
1649
+ tbody: "after:block divide-y",
1650
+ tr: [
1651
+ "group/tr outline-hidden",
1652
+ "[&_td:last-child]:pr-4 [&_th:last-child]:pr-4",
1653
+ "[&_td:first-child]:pl-4 [&_th:first-child]:pl-4"
1654
+ ],
1655
+ th: [
1656
+ "group/th px-3 py-3.5 text-start text-xs font-semibold whitespace-normal",
1657
+ "text-foreground border-b"
1658
+ ],
1659
+ td: [
1660
+ "py-2 px-3 text-xs font-normal whitespace-normal relative",
1661
+ "[&>*]:z-[1]",
1662
+ "[&>*]:relative",
1663
+ // after content for selection
1664
+ "after:pointer-events-none",
1665
+ "after:content-['']",
1666
+ "after:absolute",
1667
+ "after:-z-[1]",
1668
+ "after:inset-0",
1669
+ "after:opacity-0",
1670
+ "group-aria-[selected=true]/tr:after:opacity-100",
1671
+ // before content for selection
1672
+ "before:pointer-events-none",
1673
+ "before:content-['']",
1674
+ "before:absolute",
1675
+ "before:-z-[1]",
1676
+ "before:inset-y-0",
1677
+ "before:start-0",
1678
+ "before:w-0.5",
1679
+ "before:opacity-0",
1680
+ "group-aria-[selected=true]/tr:first:before:opacity-100"
1681
+ ]
1682
+ },
1683
+ variants: {
1684
+ overscroll: {
1685
+ horizontal: {
1686
+ th: "whitespace-nowrap",
1687
+ td: "whitespace-nowrap"
1688
+ }
1689
+ },
1690
+ color: {
1691
+ default: {
1692
+ td: [
1693
+ "first:before:bg-primary group-aria-[selected=true]/tr:text-accent-foreground"
1694
+ ]
1695
+ },
1696
+ primary: {
1697
+ td: [
1698
+ "before:bg-primary group-aria-[selected=true]/tr:text-primary dark:group-aria-[selected=true]/tr:text-primary-foreground",
1699
+ "after:bg-primary/10 dark:after:bg-primary/20"
1700
+ ]
1701
+ }
1702
+ },
1703
+ layout: {
1704
+ auto: {
1705
+ table: "table-auto"
1706
+ },
1707
+ fixed: {
1708
+ table: "table-fixed"
1709
+ }
1710
+ },
1711
+ isSelectable: {
1712
+ true: {
1713
+ tr: "cursor-default",
1714
+ td: [
1715
+ "group-aria-[selected=false]/tr:group-data-[hover=true]/tr:bg-muted/30"
1716
+ ]
1717
+ }
1718
+ },
1719
+ hasSelect: {
1720
+ true: {
1721
+ tr: "[&_th:first-of-type]:w-[1%] [&_th:first-of-type]:whitespace-nowrap"
1722
+ }
1723
+ },
1724
+ hasActions: {
1725
+ true: {
1726
+ tr: "[&_th:last-of-type]:w-[1%] [&_th:last-of-type]:whitespace-nowrap"
1727
+ }
1728
+ },
1729
+ isStickyCell: {
1730
+ true: {
1731
+ th: "sticky bg-background z-[2]",
1732
+ td: "sticky h-full bg-background z-[2]"
1733
+ }
1734
+ },
1735
+ isSelectCell: {
1736
+ true: {
1737
+ td: "w-[calc(20px+24px+24px)] min-w-[calc(20px+24px+24px)] max-w-[calc(20px+24px+24px)]"
1738
+ }
1739
+ },
1740
+ isActionCell: {
1741
+ true: {
1742
+ td: "w-[calc(28px+24px+4px)] min-w-[calc(28px+24px+4px)] max-w-[calc(28px+24px+4px)]"
1743
+ }
1744
+ },
1745
+ fullWidth: {
1746
+ true: {
1747
+ base: "w-full",
1748
+ wrapper: "w-full",
1749
+ table: "w-full"
1750
+ }
1751
+ }
1752
+ },
1753
+ defaultVariants: {
1754
+ layout: "auto",
1755
+ color: "default",
1756
+ fullWidth: true
1757
+ }
1758
+ });
1759
+
1452
1760
  // src/components/tooltip.ts
1453
- var import_tailwind_variants15 = require("tailwind-variants");
1454
- var tooltip = (0, import_tailwind_variants15.tv)({
1761
+ var import_tailwind_variants23 = require("tailwind-variants");
1762
+ var tooltip = (0, import_tailwind_variants23.tv)({
1455
1763
  slots: {
1456
1764
  content: [
1457
1765
  "bg-primary text-primary-foreground",
@@ -1465,18 +1773,26 @@ var tooltip = (0, import_tailwind_variants15.tv)({
1465
1773
  0 && (module.exports = {
1466
1774
  alertDialog,
1467
1775
  avatar,
1776
+ avatarGroup,
1468
1777
  button,
1469
1778
  calendar,
1470
1779
  card,
1780
+ checkbox,
1471
1781
  chip,
1782
+ code,
1472
1783
  command,
1784
+ dataTable,
1473
1785
  dialog,
1474
1786
  drawer,
1475
1787
  dropdownMenu,
1788
+ heading,
1476
1789
  input,
1790
+ pageHeader,
1477
1791
  pageLayout,
1478
1792
  passwordInput,
1479
1793
  popover,
1794
+ skeleton,
1480
1795
  spinner,
1796
+ table,
1481
1797
  tooltip
1482
1798
  });
@@ -1,39 +1,67 @@
1
- import "../chunk-PWBTAIYS.mjs";
1
+ import "../chunk-FWB233VZ.mjs";
2
2
  import {
3
3
  tooltip
4
4
  } from "../chunk-SVCFD7RR.mjs";
5
- import {
6
- drawer
7
- } from "../chunk-UI2M2MFB.mjs";
8
- import {
9
- dialog
10
- } from "../chunk-5DF3M5JP.mjs";
11
- import {
12
- dropdownMenu
13
- } from "../chunk-EXBKQDH5.mjs";
14
5
  import {
15
6
  input,
16
7
  passwordInput
17
- } from "../chunk-7CM52H5K.mjs";
8
+ } from "../chunk-CQDTDA47.mjs";
9
+ import {
10
+ pageHeader
11
+ } from "../chunk-HAVJ6EQ6.mjs";
18
12
  import {
19
13
  pageLayout
20
14
  } from "../chunk-GQV7INYX.mjs";
21
15
  import {
22
16
  popover
23
17
  } from "../chunk-J35D7RWA.mjs";
18
+ import {
19
+ skeleton
20
+ } from "../chunk-VNQEJU4P.mjs";
24
21
  import {
25
22
  spinner
26
23
  } from "../chunk-4UDOCFU5.mjs";
24
+ import {
25
+ table
26
+ } from "../chunk-CDTKWCOH.mjs";
27
+ import {
28
+ chip
29
+ } from "../chunk-32L6KXLV.mjs";
30
+ import {
31
+ code
32
+ } from "../chunk-5BIGFSZK.mjs";
33
+ import {
34
+ command
35
+ } from "../chunk-YPHFKGNI.mjs";
36
+ import {
37
+ dataTable
38
+ } from "../chunk-GNYTZGE5.mjs";
39
+ import {
40
+ drawer
41
+ } from "../chunk-UI2M2MFB.mjs";
42
+ import {
43
+ dialog
44
+ } from "../chunk-5DF3M5JP.mjs";
45
+ import {
46
+ dropdownMenu
47
+ } from "../chunk-EXBKQDH5.mjs";
48
+ import {
49
+ heading
50
+ } from "../chunk-NWKBPO37.mjs";
27
51
  import {
28
52
  alertDialog
29
53
  } from "../chunk-CPEP2RO4.mjs";
54
+ import {
55
+ avatarGroup
56
+ } from "../chunk-XCLEKBCJ.mjs";
30
57
  import {
31
58
  avatar
32
- } from "../chunk-Q5DCJR2X.mjs";
59
+ } from "../chunk-I2NMD23O.mjs";
33
60
  import {
34
61
  button
35
- } from "../chunk-BIRJNNEY.mjs";
62
+ } from "../chunk-3M5JSM7Y.mjs";
36
63
  import "../chunk-25L2JS6A.mjs";
64
+ import "../chunk-67PPUTSS.mjs";
37
65
  import {
38
66
  calendar
39
67
  } from "../chunk-JWF5ABNP.mjs";
@@ -41,27 +69,31 @@ import {
41
69
  card
42
70
  } from "../chunk-4VKJFW6Y.mjs";
43
71
  import {
44
- chip
45
- } from "../chunk-32L6KXLV.mjs";
46
- import "../chunk-67PPUTSS.mjs";
47
- import {
48
- command
49
- } from "../chunk-YPHFKGNI.mjs";
72
+ checkbox
73
+ } from "../chunk-KPOZFVP6.mjs";
50
74
  export {
51
75
  alertDialog,
52
76
  avatar,
77
+ avatarGroup,
53
78
  button,
54
79
  calendar,
55
80
  card,
81
+ checkbox,
56
82
  chip,
83
+ code,
57
84
  command,
85
+ dataTable,
58
86
  dialog,
59
87
  drawer,
60
88
  dropdownMenu,
89
+ heading,
61
90
  input,
91
+ pageHeader,
62
92
  pageLayout,
63
93
  passwordInput,
64
94
  popover,
95
+ skeleton,
65
96
  spinner,
97
+ table,
66
98
  tooltip
67
99
  };
@@ -114,7 +114,7 @@ var input = (0, import_tailwind_variants.tv)({
114
114
  }
115
115
  },
116
116
  defaultVariants: {
117
- size: "md"
117
+ size: "sm"
118
118
  }
119
119
  });
120
120
  // Annotate the CommonJS export names for ESM import in node:
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  input,
3
3
  passwordInput
4
- } from "../chunk-7CM52H5K.mjs";
4
+ } from "../chunk-CQDTDA47.mjs";
5
5
  import "../chunk-25L2JS6A.mjs";
6
6
  export {
7
7
  input,