@fewangsit/wangsvue-presets 1.0.108-alpha.0 → 1.0.108

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 (107) hide show
  1. package/fixedasset/badge/index.d.ts +14 -14
  2. package/fixedasset/badge/index.js +15 -14
  3. package/fixedasset/badgegroup/index.js +4 -2
  4. package/fixedasset/breadcrumb/index.d.ts +4 -4
  5. package/fixedasset/breadcrumb/index.js +6 -5
  6. package/fixedasset/button/index.d.ts +2 -2
  7. package/fixedasset/button/index.js +39 -80
  8. package/fixedasset/buttonbulkaction/index.d.ts +2 -2
  9. package/fixedasset/buttonbulkaction/index.js +8 -5
  10. package/fixedasset/buttondownload/index.d.ts +2 -2
  11. package/fixedasset/buttondownload/index.js +5 -4
  12. package/fixedasset/buttonfilter/index.d.ts +4 -7
  13. package/fixedasset/buttonfilter/index.js +5 -7
  14. package/fixedasset/buttonradio/index.d.ts +20 -20
  15. package/fixedasset/buttonradio/index.js +11 -10
  16. package/fixedasset/buttonsearch/index.d.ts +2 -2
  17. package/fixedasset/buttonsearch/index.js +9 -8
  18. package/fixedasset/calendar/index.js +64 -66
  19. package/fixedasset/card/index.js +2 -2
  20. package/fixedasset/checkbox/index.d.ts +58 -58
  21. package/fixedasset/checkbox/index.js +19 -18
  22. package/fixedasset/codesnippet/index.js +3 -3
  23. package/fixedasset/customcolumn/index.d.ts +2 -2
  24. package/fixedasset/customcolumn/index.js +3 -2
  25. package/fixedasset/datatable/index.d.ts +50 -43
  26. package/fixedasset/datatable/index.js +30 -24
  27. package/fixedasset/dialog/index.d.ts +4 -4
  28. package/fixedasset/dialog/index.js +16 -16
  29. package/fixedasset/dialogconfirm/index.d.ts +2 -2
  30. package/fixedasset/dialogconfirm/index.js +3 -2
  31. package/fixedasset/dialogform/index.d.ts +2 -2
  32. package/fixedasset/dialogform/index.js +4 -3
  33. package/fixedasset/dropdown/index.d.ts +41 -41
  34. package/fixedasset/dropdown/index.js +20 -21
  35. package/fixedasset/fieldwrapper/index.d.ts +2 -2
  36. package/fixedasset/fieldwrapper/index.js +8 -7
  37. package/fixedasset/fileupload/index.d.ts +2 -2
  38. package/fixedasset/fileupload/index.js +2 -1
  39. package/fixedasset/filtercontainer/index.d.ts +2 -2
  40. package/fixedasset/filtercontainer/index.js +3 -2
  41. package/fixedasset/form/index.d.ts +2 -2
  42. package/fixedasset/form/index.js +3 -2
  43. package/fixedasset/global.js +1 -1
  44. package/fixedasset/image/index.d.ts +2 -2
  45. package/fixedasset/image/index.js +21 -20
  46. package/fixedasset/index.es.js +795 -803
  47. package/fixedasset/index.system.js +2 -2
  48. package/fixedasset/inlinemessage/index.d.ts +4 -4
  49. package/fixedasset/inlinemessage/index.js +6 -4
  50. package/fixedasset/inputbadge/index.d.ts +10 -10
  51. package/fixedasset/inputbadge/index.js +6 -6
  52. package/fixedasset/inputcurrency/index.d.ts +6 -6
  53. package/fixedasset/inputcurrency/index.js +2 -1
  54. package/fixedasset/inputgroup/index.d.ts +2 -2
  55. package/fixedasset/inputgroup/index.js +8 -7
  56. package/fixedasset/inputgroupaddon/index.d.ts +6 -6
  57. package/fixedasset/inputgroupaddon/index.js +5 -4
  58. package/fixedasset/inputnumber/index.d.ts +2 -2
  59. package/fixedasset/inputnumber/index.js +8 -5
  60. package/fixedasset/inputotp/index.js +6 -7
  61. package/fixedasset/inputphonenumber/index.d.ts +8 -8
  62. package/fixedasset/inputphonenumber/index.js +7 -6
  63. package/fixedasset/inputtext/index.d.ts +4 -4
  64. package/fixedasset/inputtext/index.js +6 -5
  65. package/fixedasset/loading/index.d.ts +2 -2
  66. package/fixedasset/loading/index.js +5 -4
  67. package/fixedasset/menu/index.d.ts +3 -3
  68. package/fixedasset/menu/index.js +9 -5
  69. package/fixedasset/multiselect/index.d.ts +107 -107
  70. package/fixedasset/multiselect/index.js +25 -27
  71. package/fixedasset/overlaypanel/index.d.ts +2 -2
  72. package/fixedasset/overlaypanel/index.js +4 -3
  73. package/fixedasset/paginator/index.d.ts +19 -19
  74. package/fixedasset/paginator/index.js +24 -23
  75. package/fixedasset/password/index.d.ts +5 -5
  76. package/fixedasset/password/index.js +13 -13
  77. package/fixedasset/style.css +1325 -67
  78. package/fixedasset/tabmenu/index.js +13 -13
  79. package/fixedasset/textarea/index.d.ts +2 -2
  80. package/fixedasset/textarea/index.js +6 -5
  81. package/fixedasset/timeline/index.d.ts +2 -2
  82. package/fixedasset/timeline/index.js +12 -8
  83. package/fixedasset/toast/index.d.ts +8 -8
  84. package/fixedasset/toast/index.js +8 -7
  85. package/fixedasset/toggleswitch/index.d.ts +42 -42
  86. package/fixedasset/toggleswitch/index.js +12 -11
  87. package/fixedasset/tooltip/index.d.ts +2 -2
  88. package/fixedasset/tooltip/index.js +4 -3
  89. package/fixedasset/tree/index.d.ts +26 -29
  90. package/fixedasset/tree/index.js +17 -24
  91. package/fixedasset/username/index.js +7 -5
  92. package/fixedasset/validatormessage/index.d.ts +2 -2
  93. package/fixedasset/validatormessage/index.js +5 -2
  94. package/globalsettings/datatable/index.d.ts +9 -9
  95. package/globalsettings/datatable/index.js +3 -2
  96. package/globalsettings/index.es.js +1 -1
  97. package/globalsettings/index.system.js +1 -1
  98. package/globalsettings/style.css +1348 -42
  99. package/package.json +1 -1
  100. package/supplyasset/datatable/index.d.ts +9 -9
  101. package/supplyasset/datatable/index.js +3 -2
  102. package/supplyasset/index.es.js +5 -5
  103. package/supplyasset/index.system.js +1 -1
  104. package/supplyasset/style.css +1353 -47
  105. package/wangsvue/datatable/index.d.ts +2 -2
  106. package/wangsvue/datatable/index.js +2 -1
  107. package/wangsvue/style.css +1326 -68
@@ -1,7 +1,7 @@
1
1
  var j = Object.defineProperty;
2
- var A = (e, t, r) => t in e ? j(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
- var b = (e, t, r) => A(e, typeof t != "symbol" ? t + "" : t, r);
4
- const T = {
2
+ var A = (e, r, t) => r in e ? j(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
3
+ var b = (e, r, t) => A(e, typeof r != "symbol" ? r + "" : r, t);
4
+ const _ = {
5
5
  accordiontab: {
6
6
  header: ({ props: e }) => ({
7
7
  class: [
@@ -63,7 +63,7 @@ const T = {
63
63
  leaveToClass: "max-h-0"
64
64
  }
65
65
  }
66
- }, _ = {
66
+ }, P = {
67
67
  root: ({ props: e }) => ({
68
68
  class: [
69
69
  "relative",
@@ -79,7 +79,7 @@ const T = {
79
79
  }
80
80
  ]
81
81
  }),
82
- container: ({ props: e, state: t }) => ({
82
+ container: ({ props: e, state: r }) => ({
83
83
  class: [
84
84
  // Font
85
85
  "font-sans sm:text-sm leading-none",
@@ -102,8 +102,8 @@ const T = {
102
102
  // States
103
103
  "focus:outline-none focus:outline-offset-0",
104
104
  {
105
- "ring-1 ring-inset ring-surface-300": !t.focused,
106
- "ring-2 ring-primary-500": t.focused
105
+ "ring-1 ring-inset ring-surface-300": !r.focused,
106
+ "ring-2 ring-primary-500": r.focused
107
107
  },
108
108
  // Transition
109
109
  "transition duration-200 ease-in-out",
@@ -292,9 +292,9 @@ const T = {
292
292
  leaveActiveClass: "transition-opacity duration-100 ease-linear",
293
293
  leaveToClass: "opacity-0"
294
294
  }
295
- }, N = {
296
- root: ({ props: e, parent: t }) => {
297
- var r, i, n;
295
+ }, T = {
296
+ root: ({ props: e, parent: r }) => {
297
+ var t, a, n;
298
298
  return {
299
299
  class: [
300
300
  // Font
@@ -313,17 +313,17 @@ const T = {
313
313
  "w-12 h-12": e.size == "large",
314
314
  "w-16 h-16": e.size == "xlarge"
315
315
  },
316
- { "-ml-4": ((r = t.instance.$style) == null ? void 0 : r.name) == "avatargroup" },
316
+ { "-ml-4": ((t = r.instance.$style) == null ? void 0 : t.name) == "avatargroup" },
317
317
  // Shapes
318
318
  {
319
319
  "rounded-lg": e.shape == "square",
320
320
  "rounded-full": e.shape == "circle"
321
321
  },
322
- { "border-[0.5px]": ((i = t.instance.$style) == null ? void 0 : i.name) == "avatargroup" },
322
+ { "border-[0.5px]": ((a = r.instance.$style) == null ? void 0 : a.name) == "avatargroup" },
323
323
  // Colors
324
324
  "bg-general-300",
325
325
  {
326
- "border-gray-100": ((n = t.instance.$style) == null ? void 0 : n.name) == "avatargroup"
326
+ "border-gray-100": ((n = r.instance.$style) == null ? void 0 : n.name) == "avatargroup"
327
327
  },
328
328
  "text-white"
329
329
  ]
@@ -332,13 +332,13 @@ const T = {
332
332
  image: {
333
333
  class: "h-full w-full rounded-full"
334
334
  }
335
- }, I = {
335
+ }, N = {
336
336
  root: {
337
337
  class: "flex items-center ml-4",
338
338
  "data-wv-name": "usergroup",
339
339
  "data-wv-section": "root"
340
340
  }
341
- }, c = {
341
+ }, d = {
342
342
  root: ({ props: e }) => ({
343
343
  class: [
344
344
  // Alignment
@@ -349,23 +349,23 @@ const T = {
349
349
  "rounded-lg ",
350
350
  // Color
351
351
  {
352
- "text-general-400 bg-general-100": e.disabled,
353
- "text-success-500 bg-success-100": !e.disabled && e.severity == "success",
354
- "text-primary-500 bg-primary-50": !e.disabled && (e.severity == null || e.severity == "primary"),
355
- "text-grayscale-800 bg-grayscale-200": !e.disabled && e.severity == "dark",
356
- "text-warning-600 bg-warning-100": !e.disabled && e.severity == "warning",
357
- "text-danger-600 bg-danger-100": !e.disabled && e.severity == "danger"
352
+ "text-primary-500 bg-primary-50 dark:text-primary-800 dark:bg-primary-300": !e.disabled && (e.severity === "primary" || e.severity === null),
353
+ "text-success-500 bg-success-100 dark:text-success-800 dark:bg-success-200": !e.disabled && e.severity === "success",
354
+ "text-warning-600 bg-warning-100 dark:text-warning-800 dark:bg-warning-400": !e.disabled && e.severity === "warning",
355
+ "text-danger-600 bg-danger-100 dark:text-danger-700 dark:bg-danger-200": !e.disabled && e.severity === "danger",
356
+ "text-grayscale-800 bg-grayscale-200 dark:text-grayscale-50 dark:bg-grayscale-800": !e.disabled && e.severity === "dark",
357
+ "text-general-400 bg-general-100 dark:text-general-100 dark:bg-general-400": e.disabled
358
358
  }
359
359
  ],
360
360
  "data-wv-name": "badge",
361
361
  "data-wv-section": "root"
362
362
  }),
363
- input: ({ props: e, context: t }) => ({
363
+ input: ({ props: e, context: r }) => ({
364
364
  class: [
365
365
  "text-nowrap whitespace-nowrap font-semibold text-[9px] leading-3 tracking-[0.02em]",
366
366
  {
367
367
  "caret-primary-700": e.editable,
368
- "cursor-default": !!t.badgeTooltip
368
+ "cursor-default": !!r.badgeTooltip
369
369
  }
370
370
  ]
371
371
  }),
@@ -373,18 +373,18 @@ const T = {
373
373
  class: [
374
374
  "!p-0 !w-[10px] !h-[10px] ml-1",
375
375
  {
376
- "text-primary-500": !e.disabled && (!e.badgeSeverity || e.badgeSeverity === "primary"),
377
- "text-success-500": !e.disabled && e.badgeSeverity === "success",
378
- "text-danger-600": !e.disabled && e.badgeSeverity === "danger",
379
- "text-warning-600": !e.disabled && e.badgeSeverity === "warning",
380
- "text-grayscale-800 hover:bg-grayscale-300": !e.disabled && e.badgeSeverity === "dark",
381
- "text-general-400": e.disabled
376
+ "text-primary-500 dark:text-primary-800": !e.disabled && (!e.badgeSeverity || e.badgeSeverity === "primary"),
377
+ "text-success-500 dark:text-success-800": !e.disabled && e.badgeSeverity === "success",
378
+ "text-danger-600 dark:text-danger-700": !e.disabled && e.badgeSeverity === "danger",
379
+ "text-warning-600 dark:text-warning-800": !e.disabled && e.badgeSeverity === "warning",
380
+ "text-grayscale-800 hover:bg-grayscale-50 dark:text-grayscale-50 dark:hover:bg-grayscale-700": !e.disabled && e.badgeSeverity === "dark",
381
+ "text-general-400 dark:text-general-100": e.disabled
382
382
  }
383
383
  ],
384
384
  "icon-class": "w-[10px] h-[10px] !text-[10px]",
385
385
  "data-wv-section": "removebutton"
386
386
  })
387
- }, P = {
387
+ }, I = {
388
388
  root: ({ context: e }) => ({
389
389
  class: [
390
390
  // Font
@@ -423,7 +423,7 @@ const T = {
423
423
  ]
424
424
  })
425
425
  }, S = {
426
- root: ({ props: e, context: t }) => ({
426
+ root: ({ props: e, context: r }) => ({
427
427
  class: [
428
428
  "relative",
429
429
  // Alignments
@@ -459,13 +459,13 @@ const T = {
459
459
  },
460
460
  // Plain Button
461
461
  {
462
- "text-white bg-gray-500 ring-1 ring-gray-500": e.plain && !e.outlined && !e.text
462
+ "text-white dark:text-black bg-gray-500 dark:bg-gray-300 ring-1 ring-gray-500 dark:ring-gray-300": e.plain && !e.outlined && !e.text
463
463
  },
464
464
  // Plain Text Button
465
- { "text-primary-500": e.plain && e.text },
465
+ { "text-primary-500 dark:text-primary-300": e.plain && e.text },
466
466
  // Plain Outlined Button
467
467
  {
468
- "text-primary-500 ring-1 ring-gray-500": e.plain && e.outlined
468
+ "text-primary-500 dark:text-primary-300 ring-1 ring-gray-500 dark:ring-gray-300": e.plain && e.outlined
469
469
  },
470
470
  // Text Button
471
471
  { "bg-transparent ring-transparent": e.text && !e.plain },
@@ -474,45 +474,39 @@ const T = {
474
474
  // --- Severity Buttons ---
475
475
  // Secondary Button
476
476
  {
477
- "text-white": !e.link && e.severity === "secondary" && !e.text && !e.outlined && !e.plain,
478
- "bg-grayscale-900": !e.link && e.severity === "secondary" && !e.text && !e.outlined && !e.plain,
479
- "ring-1 ring-grayscale-900": !e.link && e.severity === "secondary" && !e.text && !e.outlined && !e.plain
477
+ "text-white bg-grayscale-900 ring-1 ring-grayscale-900 dark:text-general-900 dark:bg-general-50 dark:ring-general-50": !e.link && e.severity === "secondary" && !e.text && !e.outlined && !e.plain
480
478
  },
481
479
  // Secondary Text Button
482
480
  {
483
- "text-grayscale-900": e.text && e.severity === "secondary" && !e.plain
481
+ "text-grayscale-900 dark:text-general-50": e.text && e.severity === "secondary" && !e.plain
484
482
  },
485
483
  // Secondary Outlined Button
486
484
  {
487
- "text-grayscale-900 ring-1 ring-grayscale-900": e.outlined && e.severity === "secondary" && !e.plain
485
+ "text-grayscale-900 ring-1 ring-grayscale-900 dark:text-general-50 dark:ring-general-50": e.outlined && e.severity === "secondary" && !e.plain
488
486
  },
489
487
  // Primary Blue Button
490
488
  {
491
- "text-white": (e.severity == null || e.severity === "primary") && !e.text && !e.outlined && !e.plain,
492
- "bg-primary-500": (e.severity == null || e.severity === "primary") && !e.text && !e.outlined && !e.plain,
493
- "ring-1 ring-primary-500": (e.severity == null || e.severity === "primary") && !e.text && !e.outlined && !e.plain
489
+ "text-white bg-primary-500 ring-1 ring-primary-500 dark:text-primary-800 dark:bg-primary-300 dark:ring-primary-300": (e.severity == null || e.severity === "primary") && !e.text && !e.outlined && !e.plain
494
490
  },
495
491
  // Primary Blue Text Button
496
492
  {
497
- "text-primary-500": e.text && (e.severity == null || e.severity === "primary") && !e.plain
493
+ "text-primary-500 dark:text-primary-300": e.text && (e.severity == null || e.severity === "primary") && !e.plain
498
494
  },
499
495
  // Primary Blue Outlined Button
500
496
  {
501
- "text-primary-500 ring-1 ring-primary-500 hover:bg-primary-500/20": e.outlined && (e.severity == null || e.severity === "primary") && !e.plain
497
+ "text-primary-500 ring-1 ring-primary-500 hover:bg-primary-500/20 dark:text-primary-300 dark:ring-primary-300 dark:hover:bg-primary-900/40": e.outlined && (e.severity == null || e.severity === "primary") && !e.plain
502
498
  },
503
499
  // Success Button
504
500
  {
505
- "text-white": e.severity === "success" && !e.text && !e.outlined && !e.plain,
506
- "bg-success-500": e.severity === "success" && !e.text && !e.outlined && !e.plain,
507
- "ring-1 ring-success-500": e.severity === "success" && !e.text && !e.outlined && !e.plain
501
+ "text-white bg-success-500 ring-1 ring-success-500 dark:text-success-900 dark:bg-success-300 dark:ring-success-300": e.severity === "success" && !e.text && !e.outlined && !e.plain
508
502
  },
509
503
  // Success Text Button
510
504
  {
511
- "text-success-500": e.text && e.severity === "success" && !e.plain
505
+ "text-success-500 dark:text-success-300": e.text && e.severity === "success" && !e.plain
512
506
  },
513
507
  // Success Outlined Button
514
508
  {
515
- "text-success-500 ring-1 ring-success-500 hover:bg-success-300/20": e.outlined && e.severity === "success" && !e.plain
509
+ "text-success-500 ring-1 ring-success-500 hover:bg-success-300/20 dark:text-success-300 dark:ring-success-300 dark:hover:bg-success-900/40": e.outlined && e.severity === "success" && !e.plain
516
510
  },
517
511
  // Info Button
518
512
  {
@@ -530,17 +524,15 @@ const T = {
530
524
  },
531
525
  // Warning Button
532
526
  {
533
- "text-white": e.severity === "warning" && !e.text && !e.outlined && !e.plain,
534
- "bg-warning-500": e.severity === "warning" && !e.text && !e.outlined && !e.plain,
535
- "ring-1 ring-warning-500": e.severity === "warning" && !e.text && !e.outlined && !e.plain
527
+ "text-white bg-warning-500 ring-1 ring-warning-500 dark:text-warning-800 dark:bg-warning-300 dark:ring-warning-300": e.severity === "warning" && !e.text && !e.outlined && !e.plain
536
528
  },
537
529
  // Warning Text Button
538
530
  {
539
- "text-warning-500": e.text && e.severity === "warning" && !e.plain
531
+ "text-warning-500 dark:text-warning-300": e.text && e.severity === "warning" && !e.plain
540
532
  },
541
533
  // Warning Outlined Button
542
534
  {
543
- "text-warning-500 ring-1 ring-warning-500 hover:bg-warning-300/20": e.outlined && e.severity === "warning" && !e.plain
535
+ "text-warning-500 ring-1 ring-warning-500 hover:bg-warning-300/20 dark:text-warning-300 dark:ring-warning-300 dark:hover:bg-warning-900/40": e.outlined && e.severity === "warning" && !e.plain
544
536
  },
545
537
  // Help Button
546
538
  {
@@ -558,17 +550,15 @@ const T = {
558
550
  },
559
551
  // Danger Button
560
552
  {
561
- "text-white": e.severity === "danger" && !e.text && !e.outlined && !e.plain,
562
- "bg-danger-500": e.severity === "danger" && !e.text && !e.outlined && !e.plain,
563
- "ring-1 ring-danger-500": e.severity === "danger" && !e.text && !e.outlined && !e.plain
553
+ "text-white bg-danger-500 ring-1 ring-danger-500 dark:text-danger-800 dark:bg-danger-200 dark:ring-danger-200": e.severity === "danger" && !e.text && !e.outlined && !e.plain
564
554
  },
565
555
  // Danger Text Button
566
556
  {
567
- "text-danger-500": e.text && e.severity === "danger" && !e.plain
557
+ "text-danger-500 dark:text-danger-200": e.text && e.severity === "danger" && !e.plain
568
558
  },
569
559
  // Danger Outlined Button
570
560
  {
571
- "text-danger-500 ring-1 ring-danger-500 hover:bg-danger-300/20": e.outlined && e.severity === "danger" && !e.plain
561
+ "text-danger-500 ring-1 ring-danger-500 hover:bg-danger-300/20 dark:text-danger-200 dark:ring-danger-200 dark:hover:bg-danger-900/40": e.outlined && e.severity === "danger" && !e.plain
572
562
  },
573
563
  // Contrast Button
574
564
  {
@@ -587,29 +577,29 @@ const T = {
587
577
  // --- Severity Button States ---
588
578
  "focus:outline-none focus:outline-offset-0",
589
579
  // Link
590
- { "focus:ring-grayscale-900": e.link },
580
+ { "focus:ring-grayscale-900 dark:focus:ring-grayscale-100": e.link },
591
581
  // Plain
592
582
  {
593
- "hover:bg-gray-600 hover:ring-gray-600": e.plain && !e.outlined && !e.text
583
+ "hover:bg-gray-600 dark:hover:bg-gray-300 hover:ring-gray-600 dark:hover:ring-gray-300": e.plain && !e.outlined && !e.text
594
584
  },
595
585
  // Text & Outlined Button
596
586
  {
597
- "hover:bg-primary-500/20": e.plain && (e.text || e.outlined)
587
+ "hover:bg-primary-500/20 dark:hover:bg-primary-300/20": e.plain && (e.text || e.outlined)
598
588
  },
599
589
  // Secondary
600
590
  {
601
- "hover:bg-grayscale-900/[8%] active:bg-grayscale-900/[12%] ": e.severity === "secondary",
602
- "hover:shadow-hover active:!shadow-none hover:!bg-grayscale-900/90 active:bg-grayscale-900/90 hover:ring-0": !e.link && e.severity === "secondary" && !e.text && !e.outlined && !e.plain
591
+ "hover:bg-grayscale-900/[8%] active:bg-grayscale-900/[12%] dark:hover:bg-grayscale-50/[8%] dark:active:bg-grayscale-50/[12%]": e.severity === "secondary",
592
+ "hover:shadow-hover active:!shadow-none hover:!bg-grayscale-900/90 active:bg-grayscale-900/90 dark:hover:!bg-grayscale-50/90 dark:active:!bg-grayscale-50/90 hover:ring-0": !e.link && e.severity === "secondary" && !e.text && !e.outlined && !e.plain
603
593
  },
604
594
  // Primary
605
595
  {
606
- "hover:bg-primary-500/[8%] active:bg-primary-500/[12%] ": e.severity == null || e.severity === "primary",
607
- "hover:shadow-hover active:!shadow-none hover:!bg-primary-500/90 active:bg-primary-500/90 hover:ring-0": !e.link && (e.severity == null || e.severity === "primary") && !e.text && !e.outlined && !t.disabled && !e.plain
596
+ "hover:bg-primary-500/[8%] active:bg-primary-500/[12%] dark:hover:bg-primary-300/[8%] dark:active:bg-primary-300/[12%]": e.severity == null || e.severity === "primary",
597
+ "hover:shadow-hover active:!shadow-none hover:!bg-primary-500/90 active:bg-primary-500/90 dark:bg-primary-300/90 dark:active:bg-primary-300/90 hover:ring-0": !e.link && (e.severity == null || e.severity === "primary") && !e.text && !e.outlined && !r.disabled && !e.plain
608
598
  },
609
599
  // Success
610
600
  {
611
- "hover:bg-success-500/[8%] active:bg-success-500/[12%] ": e.severity === "success",
612
- "hover:shadow-hover active:!shadow-none hover:!bg-success-500/90 active:bg-success-500/90 hover:ring-0": !e.link && e.severity === "success" && !e.text && !e.outlined && !e.plain
601
+ "hover:bg-success-500/[8%] active:bg-success-500/[12%] dark:hover:bg-success-300/[8%] dark:active:bg-success-300/[12%]": e.severity === "success",
602
+ "hover:shadow-hover active:!shadow-none hover:!bg-success-500/90 active:bg-success-500/90 dark:bg-success-300/90 dark:active:bg-success-300/90 hover:ring-0": !e.link && e.severity === "success" && !e.text && !e.outlined && !e.plain
613
603
  },
614
604
  // Info
615
605
  {
@@ -624,12 +614,12 @@ const T = {
624
614
  },
625
615
  // Warning
626
616
  {
627
- "hover:bg-warning-500/[8%] active:bg-warning-500/[12%] ": e.severity === "warning",
628
- "hover:shadow-hover active:!shadow-none hover:!bg-warning-500/90 active:bg-warning-500/90 hover:ring-0": !e.link && e.severity === "warning" && !e.text && !e.outlined && !e.plain
617
+ "hover:bg-warning-500/[8%] active:bg-warning-500/[12%] dark:hover:bg-warning-300/[8%] dark:active:bg-warning-300/[12%]": e.severity === "warning",
618
+ "hover:shadow-hover active:!shadow-none hover:!bg-warning-500/90 active:bg-warning-500/90 dark:hover:!bg-warning-300/90 dark:active:!bg-warning-300/90 hover:ring-0": !e.link && e.severity === "warning" && !e.text && !e.outlined && !e.plain
629
619
  },
630
620
  // Text & Outlined Button
631
621
  {
632
- "hover:bg-warning-300/20": (e.text || e.outlined) && e.severity === "warning" && !e.plain
622
+ "hover:bg-warning-300/20 dark:hover:bg-warning-900/40": (e.text || e.outlined) && e.severity === "warning" && !e.plain
633
623
  },
634
624
  // Help
635
625
  {
@@ -644,19 +634,19 @@ const T = {
644
634
  },
645
635
  // Danger
646
636
  {
647
- "hover:bg-danger-500/[8%] active:bg-danger-500/[12%] ": e.severity === "danger",
648
- "hover:shadow-hover active:!shadow-none hover:!bg-danger-500/90 active:bg-danger-500/90 hover:ring-0": !e.link && e.severity === "danger" && !e.text && !e.outlined && !e.plain
637
+ "hover:bg-danger-500/[8%] active:bg-danger-500/[12%] dark:hover:bg-danger-300/[8%] dark:active:bg-danger-300/[12%]": e.severity === "danger",
638
+ "hover:shadow-hover active:!shadow-none hover:!bg-danger-500/90 active:bg-danger-500/90 dark:bg-danger-300/90 dark:active:bg-danger-300/90 hover:ring-0": !e.link && e.severity === "danger" && !e.text && !e.outlined && !e.plain
649
639
  },
650
640
  // Text & Outlined Button
651
641
  {
652
- "hover:bg-danger-300/20": (e.text || e.outlined) && e.severity === "danger" && !e.plain
642
+ "hover:bg-danger-300/20 dark:hover:bg-danger-900/40": (e.text || e.outlined) && e.severity === "danger" && !e.plain
653
643
  },
654
644
  // Contrast
655
645
  {
656
646
  "hover:bg-surface-800 hover:ring-surface-800": e.severity === "contrast" && !e.text && !e.outlined && !e.plain
657
647
  },
658
648
  {
659
- "focus:ring-primary-500": e.severity === "contrast"
649
+ "focus:ring-primary-500 dark:focus:ring-primary-300": e.severity === "contrast"
660
650
  },
661
651
  // Text & Outlined Button
662
652
  {
@@ -664,10 +654,10 @@ const T = {
664
654
  },
665
655
  // Disabled
666
656
  {
667
- "pointer-events-none cursor-default": t.disabled,
668
- "!text-general-300": t.disabled && (e.outlined || e.text),
669
- "!ring-general-300": t.disabled && e.outlined,
670
- "!bg-general-300 !text-white !ring-0": t.disabled && !e.outlined && !e.text
657
+ "pointer-events-none cursor-default": r.disabled,
658
+ "!text-general-300 dark:!text-grayscale-500": r.disabled && (e.outlined || e.text),
659
+ "!ring-general-300 dark:!ring-grayscale-700": r.disabled && e.outlined,
660
+ "!bg-general-300 !text-white !ring-0 dark:!bg-grayscale-700 dark:!text-grayscale-500": r.disabled && !e.outlined && !e.text
671
661
  },
672
662
  // Transitions
673
663
  "transition duration-200 ease-in-out",
@@ -717,13 +707,13 @@ const T = {
717
707
  }
718
708
  ]
719
709
  })
720
- }, F = {
710
+ }, $ = {
721
711
  root: ({ props: e }) => ({
722
712
  class: [
723
- "rounded ring-1 ring-success-500 p-[5px] ring-inset",
724
- "focus-within:ring-2 focus-within:ring-primary-500 focus-within:outline-none",
713
+ "rounded ring-1 ring-success-500 dark:ring-success-300 p-[5px] ring-inset",
714
+ "focus-within:ring-2 focus-within:ring-primary-500 dark:focus-within:ring-primary-300 focus-within:outline-none",
725
715
  "flex gap-1 items-center",
726
- "text-success-500",
716
+ "text-success-500 dark:text-success-300",
727
717
  { "px-3": e.label }
728
718
  ],
729
719
  "data-wv-name": "buttondownload",
@@ -734,54 +724,51 @@ const T = {
734
724
  "data-wv-section": "icon",
735
725
  severity: "success"
736
726
  }
737
- }, V = {
727
+ }, F = {
738
728
  root: ({ context: e }) => ({
739
729
  class: [
740
- "rounded ring-1 ring-general-500 p-[5px] ring-inset",
730
+ "rounded ring-1 ring-general-500 dark:ring-general-100 p-[5px] ring-inset",
741
731
  "focus-within:ring-2 focus-within:outline-none",
742
- { "bg-general-500": e.active }
732
+ { "bg-general-500 dark:bg-general-300": e.active }
743
733
  ],
744
734
  "data-wv-name": "buttonfilter",
745
735
  "data-wv-section": "root"
746
736
  }),
747
737
  icon: ({ context: e }) => ({
748
- class: [
749
- "text-base",
750
- { "text-general-400": !e.active, "text-white": e.active }
751
- ],
738
+ class: ["text-base"],
752
739
  "data-wv-section": "icon"
753
740
  })
754
- }, U = {
741
+ }, V = {
755
742
  buttontrigger: {
756
743
  root: ({ context: e }) => ({
757
744
  class: [
758
745
  { "w-max": !e.showSearchInput },
759
- "ring-1 ring-general-500 rounded p-[5px] ring-inset",
760
- "focus-within:ring-2 focus-within:ring-primary-500 focus-within:outline-none"
746
+ "ring-1 ring-general-500 dark:ring-general-100 rounded p-[5px] ring-inset",
747
+ "focus-within:ring-2 focus-within:ring-primary-500 dark:focus-within:ring-primary-300 focus-within:outline-none"
761
748
  ],
762
749
  "data-wv-section": "buttontrigger"
763
750
  }),
764
751
  icon: {
765
- class: "w-4 h-4 text-general-400 shrink-0"
752
+ class: "w-4 h-4 text-general-400 dark:text-general-100 shrink-0"
766
753
  }
767
754
  },
768
755
  collapsebutton: {
769
756
  root: ({ context: e }) => ({
770
757
  class: [
771
758
  { "w-max": !e.showSearchInput },
772
- "focus-within:ring-2 focus-within:ring-primary-500 focus-within:outline-none rounded"
759
+ "focus-within:ring-2 focus-within:ring-primary-500 dark:focus-within:ring-primary-300 focus-within:outline-none rounded"
773
760
  ],
774
761
  "data-wv-section": "collapsebutton"
775
762
  }),
776
763
  icon: {
777
- class: "w-4 h-4 text-general-400 shrink-0"
764
+ class: "w-4 h-4 text-general-400 dark:text-general-100 shrink-0"
778
765
  }
779
766
  },
780
767
  resetbutton: {
781
768
  root: ({ query: e }) => ({
782
769
  class: [
783
770
  { invisible: !e },
784
- "focus-within:ring-2 focus-within:ring-primary-500 focus-within:outline-none rounded"
771
+ "focus-within:ring-2 focus-within:ring-primary-500 dark:focus-within:ring-primary-300 focus-within:outline-none rounded"
785
772
  ],
786
773
  "data-wv-section": "resetbutton"
787
774
  }),
@@ -793,14 +780,14 @@ const T = {
793
780
  { show: e.showSearchInput },
794
781
  "grid grid-cols-[max-content,auto,max-content] items-center gap-1",
795
782
  "py-[5px] px-2 h-max max-w-[224px]",
796
- "ring-inset ring-1 ring-general-500 rounded focus-within:outline-none focus-within:ring-primary-500 focus-within:ring-2"
783
+ "ring-inset ring-1 ring-general-500 dark:ring-general-300 rounded focus-within:outline-none focus-within:ring-primary-500 dark:focus-within:ring-primary-300 focus-within:ring-2"
797
784
  ],
798
785
  "data-wv-section": "form"
799
786
  }),
800
787
  inputtext: {
801
788
  class: "!h-max !py-0 !px-0"
802
789
  }
803
- }, E = {
790
+ }, U = {
804
791
  root: ["w-max"],
805
792
  button: {
806
793
  class: [
@@ -831,21 +818,24 @@ const T = {
831
818
  "text-xs font-normal placeholder:font-normal",
832
819
  // Colors
833
820
  {
834
- "text-grayscale-900": !e.disabled,
835
- "text-general-200": e.disabled
821
+ "text-grayscale-900 dark:text-white": !e.disabled,
822
+ "text-general-200 dark:text-grayscale-500": e.disabled
836
823
  },
837
- "placeholder:text-general-200",
824
+ "bg-transparent dark:bg-transparent",
825
+ "placeholder:text-general-200 dark:placeholder:text-general-600",
838
826
  // Shape
839
827
  "appearance-none",
840
828
  // Transitions
841
829
  "transition-colors",
842
830
  "duration-200",
843
831
  // States
844
- "outline-none focus:ring-primary-400"
832
+ "outline-none focus:ring-primary-400 dark:focus:ring-primary-400"
845
833
  ]
846
834
  }),
847
835
  inputicon: {
848
- class: ["w-4 h-4 text-grayscale-900 peer-disabled:text-general-300"]
836
+ class: [
837
+ "w-4 h-4 text-grayscale-900 dark:text-white peer-disabled:text-general-300 dark:peer-disabled:text-grayscale-700"
838
+ ]
849
839
  },
850
840
  dropdownbutton: {
851
841
  root: {
@@ -858,13 +848,10 @@ const T = {
858
848
  // Size
859
849
  "px-2.5 py-1.5 leading-none",
860
850
  // Colors
861
- "text-surface-600",
862
- "bg-surface-100",
863
- "ring-1 ring-inset ring-surface-300",
851
+ "ring-1 ring-inset",
864
852
  // States
865
- "hover:bg-surface-200",
866
853
  "focus:outline-none focus:outline-offset-0 focus:ring-1",
867
- "focus:ring-primary-400"
854
+ "focus:ring-primary-400 dark:focus:ring-primary-400"
868
855
  ]
869
856
  }
870
857
  },
@@ -875,27 +862,27 @@ const T = {
875
862
  "flex flex-col justify-start items-center",
876
863
  // Size
877
864
  "h-max p-6 gap-2.5",
878
- "bg-white w-[272px] !min-w-[272px]",
865
+ "w-[272px] !min-w-[272px]",
879
866
  // Shape
880
867
  "rounded-lg",
881
868
  // Colors
882
- "bg-white shadow-panel"
869
+ "bg-white dark:bg-grayscale-900 shadow-panel"
883
870
  ]
884
871
  }),
885
872
  datepickerMask: {
886
873
  class: [
887
874
  "fixed top-0 left-0 w-full h-full",
888
875
  "flex items-center justify-center",
889
- "bg-black bg-opacity-90"
876
+ "bg-black dark:bg-white bg-opacity-90"
890
877
  ]
891
878
  },
892
- header: ({ props: e, state: t }) => {
893
- var r;
879
+ header: ({ props: e, state: r }) => {
880
+ var t;
894
881
  return {
895
882
  class: [
896
883
  "h-6 w-full",
897
884
  {
898
- hidden: !((r = e.dateFormat) != null && r.toString().toLowerCase().includes("y")) && t.currentView === "month"
885
+ hidden: !((t = e.dateFormat) != null && t.toString().toLowerCase().includes("y")) && r.currentView === "month"
899
886
  },
900
887
  //Font
901
888
  "text-xs font-normal",
@@ -904,8 +891,8 @@ const T = {
904
891
  // Shape
905
892
  "rounded-t-md",
906
893
  // Colors
907
- "text-grayscale-900",
908
- "bg-white"
894
+ "text-grayscale-900 dark:text-white",
895
+ "bg-white dark:bg-grayscale-900"
909
896
  ]
910
897
  };
911
898
  },
@@ -924,11 +911,11 @@ const T = {
924
911
  // Size
925
912
  "p-1.5 m-0",
926
913
  // Colors
927
- "text-grayscale-900",
914
+ "text-grayscale-900 dark:text-white",
928
915
  "border-0 ",
929
- "bg-transparent",
916
+ "bg-transparent dark:bg-transparent",
930
917
  // States
931
- "hover:bg-general-50",
918
+ "hover:bg-general-50 dark:hover:bg-general-900",
932
919
  // Misc
933
920
  "cursor-pointer overflow-hidden"
934
921
  ]
@@ -952,36 +939,36 @@ const T = {
952
939
  //Font
953
940
  "text-xs font-normal",
954
941
  // Colors
955
- "text-grayscale-900",
956
- "bg-white",
942
+ "text-grayscale-900 dark:text-white",
943
+ "bg-white dark:bg-grayscale-900",
957
944
  // Transitions
958
945
  "transition duration-200",
959
946
  // Spacing
960
947
  "mr-1",
961
948
  // States
962
- "hover:text-primary-400",
949
+ "hover:text-primary-400 dark:hover:text-primary-400",
963
950
  // Misc
964
951
  "cursor-pointer"
965
952
  ]
966
953
  },
967
954
  yearTitle: ({ props: e }) => {
968
- var t;
955
+ var r;
969
956
  return {
970
957
  class: [
971
958
  {
972
- hidden: !((t = e.dateFormat) != null && t.toString().toLowerCase().includes("y"))
959
+ hidden: !((r = e.dateFormat) != null && r.toString().toLowerCase().includes("y"))
973
960
  },
974
961
  //Font
975
962
  "text-xs font-normal",
976
963
  // Colors
977
- "text-grayscale-900",
978
- "bg-white",
964
+ "text-grayscale-900 dark:text-white",
965
+ "bg-white dark:bg-grayscale-900",
979
966
  // Transitions
980
967
  "transition duration-200",
981
968
  // Spacing
982
969
  "m-0 mr-1",
983
970
  // States
984
- "hover:text-primary-600",
971
+ "hover:text-primary-600 dark:hover:text-primary-600",
985
972
  // Misc
986
973
  "cursor-pointer"
987
974
  ]
@@ -1001,11 +988,11 @@ const T = {
1001
988
  // Size
1002
989
  "p-1.5 m-0",
1003
990
  // Colors
1004
- "text-grayscale-900",
991
+ "text-grayscale-900 dark:text-white",
1005
992
  "border-0 ",
1006
- "bg-transparent",
993
+ "bg-transparent dark:bg-transparent",
1007
994
  // States
1008
- "hover:bg-general-50",
995
+ "hover:bg-general-50 dark:hover:bg-general-900",
1009
996
  // Misc
1010
997
  "cursor-pointer overflow-hidden"
1011
998
  ]
@@ -1020,7 +1007,7 @@ const T = {
1020
1007
  "m-0",
1021
1008
  "[&_th]:text-xs [&_td]:text-xs",
1022
1009
  "[&_th]:font-normal [&_td]:font-normal",
1023
- "[&_th]:text-grayscale-900 [&_td]:text-grayscale-900",
1010
+ "[&_th]:text-grayscale-900 dark:[&_th]:text-white [&_td]:text-grayscale-900 dark:[&_td]:text-white",
1024
1011
  // Hide the other months day
1025
1012
  '[&_[data-p-other-month="true"]]:invisible'
1026
1013
  ]
@@ -1042,13 +1029,12 @@ const T = {
1042
1029
  weekheader: {
1043
1030
  class: [
1044
1031
  "leading-6 text-sm font-normal",
1045
- "text-surface-600/70",
1046
1032
  "opacity-40 cursor-default",
1047
1033
  "mb-2"
1048
1034
  ]
1049
1035
  },
1050
1036
  weeknumber: {
1051
- class: ["text-surface-600/70 font-normal", "opacity-40 cursor-default"]
1037
+ class: ["font-normal", "opacity-40 cursor-default"]
1052
1038
  },
1053
1039
  weekday: {
1054
1040
  class: [
@@ -1075,14 +1061,11 @@ const T = {
1075
1061
  "border-transparent border",
1076
1062
  // Colors
1077
1063
  {
1078
- "text-surface-600/70 bg-transparent": !e.selected && !e.disabled,
1079
- "text-primary-400 ": e.selected && !e.disabled
1064
+ "bg-transparent": !e.selected && !e.disabled,
1065
+ "text-primary-400 dark:text-primary-400": e.selected && !e.disabled
1080
1066
  },
1081
1067
  // States
1082
- "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50",
1083
- {
1084
- "hover:bg-surface-100": !e.disabled
1085
- },
1068
+ "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-400/50",
1086
1069
  {
1087
1070
  "opacity-40 cursor-default": e.disabled,
1088
1071
  "cursor-pointer": !e.disabled
@@ -1100,9 +1083,9 @@ const T = {
1100
1083
  "w-8 h-8",
1101
1084
  // Colors
1102
1085
  {
1103
- "bg-general-100": e.date.today && !e.selected,
1104
- "bg-primary-200 rounded-none": e.selected && !(e.firstSelected || e.lastSelected) && !e.disabled,
1105
- "rounded-full bg-primary-500 text-white": e.firstSelected || e.lastSelected
1086
+ "bg-general-100 dark:bg-general-500": e.date.today && !e.selected,
1087
+ "bg-primary-200 dark:bg-general-600 rounded-none": e.selected && !(e.firstSelected || e.lastSelected) && !e.disabled,
1088
+ "rounded-full bg-primary-500 dark:bg-primary-300 text-white dark:text-grayscale-900": e.firstSelected || e.lastSelected
1106
1089
  },
1107
1090
  {
1108
1091
  "!rounded-full": !e.selected
@@ -1110,10 +1093,10 @@ const T = {
1110
1093
  // States
1111
1094
  "focus:outline-none focus-visible:outline-none",
1112
1095
  {
1113
- "hover:bg-primary-200/90": e.selected,
1114
- "hover:!bg-primary-500/90": e.lastSelected || e.firstSelected,
1115
- "hover:bg-general-50": !e.selected && !e.date.today,
1116
- "hover:bg-general-100/90": e.date.today
1096
+ "hover:bg-primary-200/90 dark:hover:bg-primary-300/90": e.selected,
1097
+ "hover:!bg-primary-500/90 dark:hover:!bg-primary-300/90": e.lastSelected || e.firstSelected,
1098
+ "hover:bg-general-50 dark:hover:bg-general-900": !e.selected && !e.date.today,
1099
+ "hover:bg-general-100/90 dark:hover:bg-general-500/90": e.date.today
1117
1100
  },
1118
1101
  {
1119
1102
  "opacity-40 cursor-default": e.disabled,
@@ -1139,17 +1122,17 @@ const T = {
1139
1122
  "!rounded-[20px]",
1140
1123
  // Colors
1141
1124
  {
1142
- "text-grayscale-900 bg-transparent": !e.selected && !e.disabled,
1143
- "bg-primary-400 text-white": e.selected && !e.disabled,
1144
- "cursor-default text-general-200": e.disabled
1125
+ "text-grayscale-900 dark:text-white bg-transparent dark:bg-transparent": !e.selected && !e.disabled,
1126
+ "bg-primary-400 dark:bg-primary-400 text-white dark:text-grayscale-900": e.selected && !e.disabled,
1127
+ "cursor-default text-general-200 dark:text-general-600": e.disabled
1145
1128
  },
1146
1129
  /*
1147
1130
  * States
1148
1131
  * 'focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-primary-400',
1149
1132
  */
1150
1133
  {
1151
- "hover:bg-primary-50": !e.selected && !e.disabled,
1152
- "hover:bg-primary-400/90": e.selected && !e.disabled
1134
+ "hover:bg-primary-50 dark:hover:bg-grayscale-800": !e.selected && !e.disabled,
1135
+ "hover:bg-primary-400/90 dark:hover:bg-primary-400/90": e.selected && !e.disabled
1153
1136
  },
1154
1137
  // Misc
1155
1138
  "cursor-pointer"
@@ -1173,17 +1156,17 @@ const T = {
1173
1156
  "!rounded-[20px]",
1174
1157
  // Colors
1175
1158
  {
1176
- "text-grayscale-900 bg-transparent": !e.selected && !e.disabled,
1177
- "bg-primary-400 text-white": e.selected && !e.disabled,
1178
- "cursor-default text-general-200": e.disabled
1159
+ "text-grayscale-900 dark:text-white bg-transparent dark:bg-transparent": !e.selected && !e.disabled,
1160
+ "bg-primary-400 dark:bg-primary-400 text-white dark:text-grayscale-900": e.selected && !e.disabled,
1161
+ "cursor-default text-general-200 dark:text-general-600": e.disabled
1179
1162
  },
1180
1163
  /*
1181
1164
  * States
1182
1165
  * 'focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-primary-400',
1183
1166
  */
1184
1167
  {
1185
- "hover:bg-primary-50": !e.selected && !e.disabled,
1186
- "hover:bg-primary-400/90": e.selected && !e.disabled
1168
+ "hover:bg-primary-50 dark:hover:bg-grayscale-800": !e.selected && !e.disabled,
1169
+ "hover:bg-primary-400/90 dark:hover:bg-primary-400/90": e.selected && !e.disabled
1187
1170
  },
1188
1171
  // Misc
1189
1172
  "cursor-pointer"
@@ -1265,7 +1248,7 @@ const T = {
1265
1248
  },
1266
1249
  timepickerlabel: {
1267
1250
  class: [
1268
- "w-[39px] h-[26px] flex justify-center items-center ring-general-200 rounded",
1251
+ "w-[39px] h-[26px] flex justify-center items-center ring-general-200 dark:ring-general-200 rounded",
1269
1252
  {
1270
1253
  "ring-1": !x,
1271
1254
  "ring-[0.5px]": x
@@ -1281,9 +1264,9 @@ const T = {
1281
1264
  "p-0.5 m-0",
1282
1265
  "!h-6 !w-6",
1283
1266
  // Colors
1284
- "text-grayscale-900",
1267
+ "text-grayscale-900 dark:text-white",
1285
1268
  "border-0",
1286
- "bg-transparent",
1269
+ "bg-transparent dark:bg-transparent",
1287
1270
  /*
1288
1271
  * States
1289
1272
  * 'hover:text-surface-700',
@@ -1307,9 +1290,9 @@ const T = {
1307
1290
  "p-0.5 m-0",
1308
1291
  "!h-6 !w-6",
1309
1292
  // Colors
1310
- "text-grayscale-900",
1293
+ "text-grayscale-900 dark:text-white",
1311
1294
  "border-0",
1312
- "bg-transparent",
1295
+ "bg-transparent dark:bg-transparent",
1313
1296
  /*
1314
1297
  * States
1315
1298
  * 'hover:text-surface-700',
@@ -1326,7 +1309,9 @@ const T = {
1326
1309
  ]
1327
1310
  },
1328
1311
  container: {
1329
- class: ["text-grayscale-900 text-xs flex flex-col gap-1 w-full"]
1312
+ class: [
1313
+ "text-grayscale-900 dark:text-white text-xs flex flex-col gap-1 w-full"
1314
+ ]
1330
1315
  },
1331
1316
  group: {
1332
1317
  class: []
@@ -1338,7 +1323,7 @@ const T = {
1338
1323
  // Spacing
1339
1324
  "pt-2.5 pb-1.5 px-0",
1340
1325
  // Shape
1341
- "border-t border-surface-200"
1326
+ "border-t"
1342
1327
  ]
1343
1328
  },
1344
1329
  todaybutton: {
@@ -1351,8 +1336,8 @@ const T = {
1351
1336
  // Shape
1352
1337
  "",
1353
1338
  // Colors
1354
- "bg-transparent border-transparent",
1355
- "text-primary-400",
1339
+ "bg-transparent dark:bg-transparent border-transparent dark:border-transparent",
1340
+ "text-primary-400 dark:text-primary-400",
1356
1341
  // Transitions
1357
1342
  "transition-colors duration-200 ease-in-out",
1358
1343
  /*
@@ -1374,14 +1359,14 @@ const T = {
1374
1359
  "px-2.5 py-1.5 text-sm leading-none",
1375
1360
  // Shape
1376
1361
  // Colors
1377
- "bg-transparent border-transparent",
1378
- "text-primary-400",
1362
+ "bg-transparent dark:bg-transparent border-transparent dark:border-transparent",
1363
+ "text-primary-400 dark:text-primary-400",
1379
1364
  // Transitions
1380
1365
  "transition-colors duration-200 ease-in-out",
1381
1366
  // States
1382
1367
  "focus:outline-none focus:outline-offset-0 focus:ring-2 ring-inset",
1383
- "focus:ring-primary-400",
1384
- "hover:bg-primary-300/20",
1368
+ "focus:ring-primary-400 dark:focus:ring-primary-400",
1369
+ "hover:bg-primary-300/20 dark:hover:bg-primary-300/20",
1385
1370
  // Misc
1386
1371
  "cursor-pointer"
1387
1372
  ]
@@ -1393,15 +1378,15 @@ const T = {
1393
1378
  leaveActiveClass: "transition-opacity duration-100 ease-linear",
1394
1379
  leaveToClass: "opacity-0"
1395
1380
  }
1396
- }, G = {
1381
+ }, E = {
1397
1382
  root: {
1398
1383
  class: [
1399
1384
  //Shape
1400
1385
  "rounded-lg p-6",
1401
1386
  "flex flex-col gap-y-3",
1402
1387
  //Color
1403
- "bg-white",
1404
- "text-general-800"
1388
+ "bg-white dark:bg-grayscale-900",
1389
+ "text-general-800 dark:text-general-100"
1405
1390
  ]
1406
1391
  },
1407
1392
  header: {
@@ -1422,7 +1407,7 @@ const T = {
1422
1407
  footer: {
1423
1408
  class: ["inline-flex gap-1 text-xs items-center"]
1424
1409
  }
1425
- }, $ = {
1410
+ }, G = {
1426
1411
  root: {
1427
1412
  class: [
1428
1413
  // Flexbox
@@ -1537,7 +1522,7 @@ const T = {
1537
1522
  ]
1538
1523
  })
1539
1524
  }, O = {
1540
- root: ({ props: e, state: t }) => ({
1525
+ root: ({ props: e, state: r }) => ({
1541
1526
  class: [
1542
1527
  // Display and Position
1543
1528
  "inline-flex",
@@ -1550,8 +1535,8 @@ const T = {
1550
1535
  "bg-surface-0",
1551
1536
  // States
1552
1537
  {
1553
- "ring-1 ring-inset ring-surface-300": !t.focused,
1554
- "ring-2 ring-inset ring-primary-500": t.focused
1538
+ "ring-1 ring-inset ring-surface-300": !r.focused,
1539
+ "ring-2 ring-inset ring-primary-500": r.focused
1555
1540
  },
1556
1541
  // Misc
1557
1542
  "cursor-default",
@@ -1716,9 +1701,9 @@ const T = {
1716
1701
  leaveToClass: "opacity-0"
1717
1702
  }
1718
1703
  }, L = {
1719
- button: ({ props: e, buttonClass: t }) => ({
1704
+ button: ({ props: e, buttonClass: r }) => ({
1720
1705
  class: [
1721
- t,
1706
+ r,
1722
1707
  "w-max",
1723
1708
  "rounded p-[5px] ring-inset",
1724
1709
  "focus-within:ring-2 focus-within:ring-primary-500 focus-within:outline-none",
@@ -1754,7 +1739,7 @@ const T = {
1754
1739
  buttondownload: {
1755
1740
  "data-wv-section": "changelog-dialog-button-download"
1756
1741
  }
1757
- }, d = {
1742
+ }, c = {
1758
1743
  root: {
1759
1744
  class: [
1760
1745
  "relative",
@@ -1768,7 +1753,7 @@ const T = {
1768
1753
  "duration-200"
1769
1754
  ]
1770
1755
  },
1771
- box: ({ props: e, context: t }) => ({
1756
+ box: ({ props: e, context: r }) => ({
1772
1757
  class: [
1773
1758
  // Alignment
1774
1759
  "flex",
@@ -1780,30 +1765,30 @@ const T = {
1780
1765
  "rounded",
1781
1766
  "border-2",
1782
1767
  // Colors
1783
- "text-white",
1768
+ "text-white dark:text-grayscale-900",
1784
1769
  {
1785
- "border-general-200": e.disabled,
1786
- "border-general-100": !e.disabled && !t.checked && !t.partialChecked,
1787
- "bg-white": !(t.checked || t.partialChecked) && !e.disabled,
1788
- "bg-general-50": !(t.checked || t.partialChecked) && e.disabled,
1789
- "bg-primary-500 border-primary-500": (t.checked || t.partialChecked) && !e.disabled,
1790
- "bg-general-200": (t.checked || t.partialChecked) && e.disabled
1770
+ "border-general-200 dark:border-general-400": e.disabled,
1771
+ "border-general-100 dark:border-general-300": !e.disabled && !r.checked && !r.partialChecked,
1772
+ "bg-white dark:bg-grayscale-800": !(r.checked || r.partialChecked) && !e.disabled,
1773
+ "bg-general-50 dark:bg-general-300": !(r.checked || r.partialChecked) && e.disabled,
1774
+ "bg-primary-500 border-primary-500 dark:bg-primary-300 dark:border-primary-300": (r.checked || r.partialChecked) && !e.disabled,
1775
+ "bg-general-200 dark:bg-general-400": (r.checked || r.partialChecked) && e.disabled
1791
1776
  },
1792
1777
  {
1793
- "ring-8 ring-primary-400/[12%]": !e.disabled && t.focused
1778
+ "ring-8 ring-primary-400/[12%] dark:ring-primary-200/[12%]": !e.disabled && r.focused
1794
1779
  },
1795
1780
  // States
1796
1781
  {
1797
- "peer-focus-visible:ring-8 peer-focus-visible:ring-offset-0 peer-focus-visible:ring-primary-400/[8%]": !e.disabled,
1798
- "peer-active:ring-8 peer-active:ring-offset-0 peer-active:ring-primary-400/[12%]": !e.disabled,
1799
- "cursor-default bg-general-50 border-general-200": e.disabled && !(t.checked || t.partialChecked),
1800
- "bg-general-200 border-general-200": e.disabled && (t.checked || t.partialChecked)
1782
+ "peer-focus-visible:ring-8 peer-focus-visible:ring-offset-0 peer-focus-visible:ring-primary-400/[8%] dark:peer-focus-visible:ring-primary-200/[8%]": !e.disabled,
1783
+ "peer-active:ring-8 peer-active:ring-offset-0 peer-active:ring-primary-400/[12%] dark:peer-active:ring-primary-200/[12%]": !e.disabled,
1784
+ "cursor-default bg-general-50 dark:bg-general-300 border-general-200 dark:border-general-400": e.disabled && !(r.checked || r.partialChecked),
1785
+ "bg-general-200 dark:bg-general-400 border-general-200 dark:border-general-400": e.disabled && (r.checked || r.partialChecked)
1801
1786
  },
1802
1787
  // Icon state
1803
1788
  {
1804
- "[&_i]:bg-transparent": e.disabled && !(t.checked || t.partialChecked),
1805
- "[&_i]:text-white": t.checked || t.partialChecked,
1806
- "[&_i]:text-transparent": !(t.checked || t.partialChecked)
1789
+ "[&_i]:bg-transparent [&_i]:dark:bg-transparent": e.disabled && !(r.checked || r.partialChecked),
1790
+ "[&_i]:text-white [&_i]:dark:text-grayscale-900": r.checked || r.partialChecked,
1791
+ "[&_i]:text-transparent [&_i]:dark:text-transparent": !(r.checked || r.partialChecked)
1807
1792
  },
1808
1793
  // Transitions
1809
1794
  "transition-all",
@@ -1857,12 +1842,12 @@ const T = {
1857
1842
  label: ({ props: e }) => ({
1858
1843
  class: [
1859
1844
  "flex items-start gap-px select-none text-xs tracking-[0.02em] font-medium",
1860
- "text-general-800",
1845
+ "text-general-800 dark:text-general-100",
1861
1846
  e.labelClass
1862
1847
  ]
1863
1848
  }),
1864
1849
  tooltipicon: {
1865
- class: "text-primary-500 w-[10px] h-[10px]"
1850
+ class: "text-primary-500 dark:text-primary-300 w-[10px] h-[10px]"
1866
1851
  }
1867
1852
  }, R = {
1868
1853
  root: {
@@ -1995,19 +1980,19 @@ const T = {
1995
1980
  class: "peer-hover:visible scale-125 !absolute top-2 right-2 z-50"
1996
1981
  },
1997
1982
  body: {
1998
- class: "relative rounded text-xs font-normal peer text-grayscale-900 bg-primary-50 overflow-x-auto overflow-y-hidden tracking-normal"
1983
+ class: "relative rounded text-xs font-normal peer text-grayscale-900 bg-primary-50 overflow-x-auto overflow-y-hidden tracking-normal dark:text-general-500 dark:bg-general-700"
1999
1984
  },
2000
1985
  textarea: {
2001
1986
  class: [
2002
1987
  "whitespace-nowrap overflow-x-auto pr-1.5 mt-1",
2003
1988
  "absolute bg-transparent text-transparent z-30 leading-5 w-full h-full border-0 outline-none !font-poppins resize-none px-1.5",
2004
- "caret-primary-500"
1989
+ "caret-primary-500 dark:caret-primary-300"
2005
1990
  ]
2006
1991
  },
2007
1992
  linenumber: {
2008
1993
  class: [
2009
1994
  "font-poppins tracking-0.5px]",
2010
- "px-2 bg-primary-100 sticky left-0 text-right select-none"
1995
+ "px-2 bg-primary-100 sticky left-0 text-right select-none dark:bg-general-800 dark:text-general-50"
2011
1996
  ]
2012
1997
  }
2013
1998
  }, D = {
@@ -2328,11 +2313,11 @@ const T = {
2328
2313
  menustart: {
2329
2314
  class: ""
2330
2315
  },
2331
- menuitem: ({ context: e, props: t }) => ({
2316
+ menuitem: ({ context: e, props: r }) => ({
2332
2317
  class: [
2333
2318
  "flex gap-1 py-[7px] px-4 transition-transform",
2334
2319
  {
2335
- "!pl-0.5 !pr-2 !py-[4.5px]": t.type === "flat"
2320
+ "!pl-0.5 !pr-2 !py-[4.5px]": r.type === "flat"
2336
2321
  },
2337
2322
  {
2338
2323
  "cursor-grab [&_label]:cursor-grab ": e.dragable,
@@ -2344,7 +2329,7 @@ const T = {
2344
2329
  }),
2345
2330
  dragicon: ({ context: e }) => ({
2346
2331
  class: [
2347
- "!cursor-move w-[18px] h-[18px] !text-general-200 shrink-0",
2332
+ "!cursor-move w-[18px] h-[18px] !text-general-200 dark:!text-grayscale-700 shrink-0",
2348
2333
  { invisible: e.dragable === !1 }
2349
2334
  ]
2350
2335
  })
@@ -2364,7 +2349,7 @@ const T = {
2364
2349
  table: {
2365
2350
  class: [
2366
2351
  "min-w-max w-full h-1",
2367
- "!border-separate !border-spacing-0 border !border-solid !border-general-100 !border-t-0 !border-l-0 !border-r-0 !rounded-lg"
2352
+ "!border-separate !border-spacing-0 border !border-solid !border-general-100 dark:!border-general-500 !border-t-0 !border-l-0 !border-r-0 !rounded-lg"
2368
2353
  ],
2369
2354
  "data-wv-section": "table"
2370
2355
  },
@@ -2379,54 +2364,57 @@ const T = {
2379
2364
  class: ["sticky top-0 z-50"]
2380
2365
  },
2381
2366
  headerrow: {
2382
- class: ["border-b border-general-100"]
2367
+ class: ["border-b border-general-100 dark:border-general-500"]
2383
2368
  },
2384
- bodyrow: ({ context: e, props: t }) => ({
2369
+ bodyrow: ({ context: e, props: r }) => ({
2385
2370
  class: [
2386
- "border-b border-general-100 group",
2371
+ "border-b border-general-100 dark:border-general-500 group",
2387
2372
  {
2388
- "!h-[28px]": t.rowHeight === "fixed"
2373
+ "!h-[28px]": r.rowHeight === "fixed"
2389
2374
  // Style(DXJCiX2e): set table row height to fixed 35px
2390
2375
  },
2391
2376
  // Color
2392
- "text-general-800 text-xs font-medium",
2377
+ "text-general-800 dark:text-general-50 text-xs font-medium",
2393
2378
  {
2394
2379
  "bg-transparent": !e.selected,
2395
- "bg-primary-50 [&>td]:border-primary-200": e.selected
2380
+ 'bg-primary-50 [&>td]:border-primary-200 [&_[data-wv-section="multi-row"]]:border-primary-200': e.selected,
2381
+ 'dark:bg-primary-100 dark:[&>td]:border-primary-300 dark:[&_[data-wv-section="multi-row"]]:border-primary-300 dark:text-primary-800 dark:[&_button>i]:!text-primary-800': e.selected
2396
2382
  },
2397
2383
  // State
2398
2384
  {
2399
- "focus:outline-none focus:outline-offset-0": t.selectionType,
2385
+ "focus:outline-none focus:outline-offset-0": r.selectionType,
2400
2386
  // To sets the bg to single action td
2401
- "hover:!bg-grayscale-50": !e.highlighted && !e.selected,
2402
- "hover:!bg-warning-300 !bg-warning-200": e.highlighted
2387
+ "hover:!bg-grayscale-50 dark:hover:!bg-grayscale-800": !e.highlighted && !e.selected,
2388
+ "hover:!bg-warning-300 !bg-warning-200 dark:hover:!bg-warning-300 dark:!bg-warning-200 dark:text-primary-800": e.highlighted
2403
2389
  },
2404
2390
  // Transition
2405
2391
  {
2406
- "transition duration-200": t.selectionType && !e.selected || t.rowHover
2392
+ "transition duration-200": r.selectionType && !e.selected || r.rowHover
2407
2393
  },
2408
2394
  "px-4 transition-transform",
2409
2395
  { "select-none": e.dragging, "select-auto": !e.dragging },
2410
2396
  { "!cursor-grab [&_label]:!cursor-grab": e.draggable },
2411
2397
  // Misc
2412
- { "cursor-pointer": t.selectionType !== "none" && !e.disabled }
2398
+ { "cursor-pointer": r.selectionType !== "none" && !e.disabled }
2413
2399
  ]
2414
2400
  }),
2415
2401
  headercell: ({ context: e }) => ({
2416
2402
  class: [
2417
- "text-xs font-bold text-general-800 p-2 cursor-pointer tracking-[0.02em]",
2403
+ "text-xs font-bold text-general-800 dark:text-general-800 p-2 cursor-pointer tracking-[0.02em]",
2418
2404
  {
2419
2405
  "text-center": e.isParentHeader,
2420
2406
  "text-left": !e.isParentHeader
2421
2407
  },
2422
- { "bg-primary-200": !e.sorted || !e.sortable },
2423
- { "bg-primary-300": e.sorted },
2424
2408
  {
2425
- "sticky right-0 hover:bg-primary-300": e.customColumn,
2409
+ "bg-primary-200 dark:bg-primary-300": !e.sorted || !e.sortable
2410
+ },
2411
+ { "bg-primary-300 dark:bg-primary-400": e.sorted },
2412
+ {
2413
+ "sticky right-0 hover:bg-primary-300 hover:dark:bg-primary-400": e.customColumn,
2426
2414
  "!cursor-default": !e.customColumn && !e.sortable
2427
2415
  },
2428
2416
  "border-0 !border-b border-solid",
2429
- "border-general-100"
2417
+ "border-general-100 dark:border-general-500"
2430
2418
  ],
2431
2419
  "data-wv-section": "headercell"
2432
2420
  }),
@@ -2444,7 +2432,7 @@ const T = {
2444
2432
  headercheckbox: ({ context: e }) => ({
2445
2433
  class: [
2446
2434
  {
2447
- "[&_[data-pc-section=box]]:!border-general-100 [&_[data-pc-section=box]]:!bg-white": !e.isSelectedAll
2435
+ "[&_[data-pc-section=box]]:!border-general-100 dark:[&_[data-pc-section=box]]:!border-general-500 [&_[data-pc-section=box]]:!bg-white dark:[&_[data-pc-section=box]]:!bg-grayscale-800": !e.isSelectedAll
2448
2436
  }
2449
2437
  ],
2450
2438
  "data-wv-section": "headercheckbox"
@@ -2467,7 +2455,7 @@ const T = {
2467
2455
  { "rotate-180": e.isExpandedAll },
2468
2456
  { "rotate-0": !e.isExpandedAll }
2469
2457
  ],
2470
- "icon-class": "w-6 h-6 text-general-800",
2458
+ "icon-class": "w-6 h-6 text-general-800 dark:text-general-800",
2471
2459
  "data-wv-section": "headertogglerbutton"
2472
2460
  }),
2473
2461
  rowcheckbox: {
@@ -2477,7 +2465,7 @@ const T = {
2477
2465
  bodycell: {
2478
2466
  class: [
2479
2467
  "text-xs px-2 py-[4.5px]",
2480
- "border-0 !border-b !border-solid border-general-100",
2468
+ "border-0 !border-b !border-solid border-general-100 dark:border-general-500",
2481
2469
  "justify-items-start",
2482
2470
  "[&:has([data-wv-section=rowcheckbox])]:text-center",
2483
2471
  "[&:has([data-wv-section=rowcheckbox])]:text-center"
@@ -2493,7 +2481,9 @@ const T = {
2493
2481
  multirow: ({ context: e }) => ({
2494
2482
  class: [
2495
2483
  "min-h-[35px] h-full flex items-center px-2",
2496
- { "border-t border-general-100 border-solid": !e.firstIndex }
2484
+ {
2485
+ "border-t border-general-100 dark:border-general-500 border-solid": !e.firstIndex
2486
+ }
2497
2487
  ]
2498
2488
  }),
2499
2489
  rowtogglerbutton: ({ context: e }) => ({
@@ -2502,7 +2492,7 @@ const T = {
2502
2492
  { "rotate-180": e.isRowExpanded },
2503
2493
  { "rotate-0": !e.isRowExpanded }
2504
2494
  ],
2505
- "icon-class": "w-6 h-6 text-general-800",
2495
+ "icon-class": "w-6 h-6 text-general-800 dark:text-general-50",
2506
2496
  "data-wv-section": "rowtogglerbutton"
2507
2497
  }),
2508
2498
  childrowheader: {
@@ -2512,18 +2502,18 @@ const T = {
2512
2502
  celleditableelement: {
2513
2503
  class: [
2514
2504
  "focus:px-2",
2515
- "w-full inline-block py-2 focus:outline-grayscale-600 focus:outline-1"
2505
+ "w-full inline-block py-2 focus:outline-grayscale-600 dark:focus:outline-grayscale-600 focus:outline-1"
2516
2506
  ],
2517
2507
  "data-wv-section": "celleditableelement"
2518
2508
  },
2519
- rowsingleactioncell: ({ props: e, context: t }) => ({
2509
+ rowsingleactioncell: ({ props: e, context: r }) => ({
2520
2510
  class: [
2521
2511
  "w-[35px]",
2522
2512
  {
2523
- "sticky right-0 bg-white": e.useOption,
2524
- "!bg-primary-50": t.selected,
2525
- "group-hover:!bg-grayscale-50": !t.highlighted && !t.selected,
2526
- "group-hover:!bg-warning-300 !bg-warning-200": t.highlighted
2513
+ "sticky right-0 bg-white dark:bg-grayscale-900": e.useOption,
2514
+ "!bg-primary-50 dark:!bg-primary-100": r.selected,
2515
+ "group-hover:!bg-grayscale-50 dark:group-hover:!bg-grayscale-800": !r.highlighted && !r.selected,
2516
+ "group-hover:!bg-warning-300 !bg-warning-200 dark:group-hover:!bg-warning-300 dark:!bg-warning-200": r.highlighted
2527
2517
  }
2528
2518
  ],
2529
2519
  "data-wv-section": "rowsingleactioncell"
@@ -2535,7 +2525,7 @@ const T = {
2535
2525
  singleactionbutton: ({ props: e }) => ({
2536
2526
  class: [
2537
2527
  {
2538
- "pointer-events-none !border-general-100 [&>i]:text-general-200": e.disableAllRows
2528
+ "pointer-events-none !border-general-100 dark:!border-general-500 [&>i]:text-general-200 dark:[&>i]:text-general-400": e.disableAllRows
2539
2529
  },
2540
2530
  { "pointer-events-auto": !e.disableAllRows },
2541
2531
  "!rounded-full"
@@ -2663,7 +2653,7 @@ const T = {
2663
2653
  "p-6",
2664
2654
  "gap-3",
2665
2655
  // Background
2666
- "bg-white",
2656
+ "bg-white dark:bg-grayscale-900",
2667
2657
  // Size
2668
2658
  "max-h-[90vh]",
2669
2659
  { "sm:max-w-[90vw]": !e.maximized },
@@ -2692,12 +2682,12 @@ const T = {
2692
2682
  "rounded-tl-lg",
2693
2683
  "rounded-tr-lg",
2694
2684
  // Colors
2695
- "text-general-800"
2685
+ "text-general-800 dark:text-general-50"
2696
2686
  ]
2697
2687
  },
2698
2688
  title: {
2699
2689
  class: [
2700
- "text-general-800 text-sm font-bold leading-[19.12px] tracking-[0.24px]"
2690
+ "text-general-800 dark:text-general-50 text-sm font-bold leading-[19.12px] tracking-[0.24px]"
2701
2691
  ]
2702
2692
  },
2703
2693
  icons: {
@@ -2714,12 +2704,12 @@ const T = {
2714
2704
  "border-0",
2715
2705
  "rounded-full",
2716
2706
  // Colors
2717
- "text-general-200",
2707
+ "text-general-200 dark:text-general-400",
2718
2708
  "bg-transparent",
2719
2709
  // Transitions
2720
2710
  "transition duration-200 ease-in-out",
2721
2711
  // States
2722
- "hover:bg-general-50 hover:text-general-300",
2712
+ "hover:bg-general-50 hover:text-general-300 dark:hover:bg-grayscale-700 dark:hover:text-general-200",
2723
2713
  // Misc
2724
2714
  "overflow-hidden"
2725
2715
  ]
@@ -2737,15 +2727,14 @@ const T = {
2737
2727
  "border-0",
2738
2728
  "rounded-full",
2739
2729
  // Colors
2740
- "text-surface-500",
2730
+ "text-surface-500 dark:text-general-300",
2741
2731
  "bg-transparent",
2742
2732
  // Transitions
2743
2733
  "transition duration-200 ease-in-out",
2744
2734
  // States
2745
- "hover:text-surface-700",
2746
- "hover:bg-surface-100",
2735
+ "hover:bg-general-50 hover:text-general-300 dark:hover:bg-grayscale-700 dark:hover:text-general-200",
2747
2736
  "focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-inset",
2748
- "focus:ring-primary-500",
2737
+ "focus:ring-primary-500 dark:focus:ring-primary-800",
2749
2738
  // Misc
2750
2739
  "overflow-hidden"
2751
2740
  ]
@@ -2755,7 +2744,7 @@ const T = {
2755
2744
  // Display
2756
2745
  "inline-block",
2757
2746
  // Color
2758
- "text-general-200",
2747
+ "text-general-200 dark:text-general-200",
2759
2748
  // Size
2760
2749
  "w-3.5",
2761
2750
  "h-3.5"
@@ -2770,16 +2759,16 @@ const T = {
2770
2759
  "h-3"
2771
2760
  ]
2772
2761
  },
2773
- content: ({ state: e, instance: t }) => ({
2762
+ content: ({ state: e, instance: r }) => ({
2774
2763
  class: [
2775
2764
  // Font
2776
- "!text-general-800 text-xs font-medium tracking-[0.02em]",
2765
+ "!text-general-800 dark:!text-general-100 text-xs font-medium tracking-[0.02em]",
2777
2766
  "pr-1.5 -mr-1.5 pl-1.5 -ml-1.5 pt-1.5 -mt-1.5 !pb-1.5 -mb-1.5",
2778
2767
  // Layout
2779
2768
  "flex flex-col gap-3",
2780
2769
  // Shape
2781
2770
  // Colors
2782
- "text-surface-600",
2771
+ "text-surface-600 dark:text-surface-200",
2783
2772
  // Misc
2784
2773
  "overflow-y-auto scrollbar-w-none",
2785
2774
  {
@@ -2801,7 +2790,7 @@ const T = {
2801
2790
  "empty:hidden",
2802
2791
  // Colors
2803
2792
  "bg-inherit",
2804
- "text-surface-700/80"
2793
+ "text-surface-700/80 dark:text-surface-200/80"
2805
2794
  ]
2806
2795
  },
2807
2796
  mask: ({ props: e }) => ({
@@ -2812,7 +2801,7 @@ const T = {
2812
2801
  { "p-5": !e.position == "full" },
2813
2802
  // Background and Effects
2814
2803
  {
2815
- "has-[.mask-active]:bg-transparent bg-dialog-mask": e.modal,
2804
+ "has-[.mask-active]:bg-transparent bg-dialog-mask dark:bg-grayscale-950/80": e.modal,
2816
2805
  "has-[.mask-active]:backdrop-blur-none backdrop-blur-sm": e.modal
2817
2806
  }
2818
2807
  ]
@@ -2836,7 +2825,7 @@ const T = {
2836
2825
  enterFromClass: "opacity-0 scale-75 translate-x-full translate-y-0 translate-z-0 mask-active",
2837
2826
  enterActiveClass: "transition-all duration-200 ease-out",
2838
2827
  leaveActiveClass: "transition-all duration-200 ease-out",
2839
- leaveToClass: "opacity-0 scale-75 opacity-0 scale-75 translate-x-full translate-y-0 translate-z-0 mask-active"
2828
+ leaveToClass: "opacity-0 scale-75 translate-x-full translate-y-0 translate-z-0 mask-active"
2840
2829
  } : {
2841
2830
  enterFromClass: "opacity-0 scale-75 mask-active",
2842
2831
  enterActiveClass: "transition-all duration-200 ease-out",
@@ -2860,7 +2849,7 @@ const T = {
2860
2849
  headertitle: (e) => ({
2861
2850
  class: [
2862
2851
  "!text-[14px] leading-6 !font-bold tracking-[0.02em]",
2863
- "text-general-800"
2852
+ "text-general-800 dark:text-general-50"
2864
2853
  ],
2865
2854
  "data-wv-section": "dialog-confirm-title"
2866
2855
  }),
@@ -2896,7 +2885,7 @@ const T = {
2896
2885
  },
2897
2886
  headericon: { class: "text-2xl", "data-wv-section": "headericon" },
2898
2887
  headertitle: {
2899
- class: "mr-auto text-general-800 text-center !text-[0.9rem] leading-[1.125rem] !font-bold tracking-[0.28px]",
2888
+ class: "mr-auto text-general-800 dark:text-general-50 text-center !text-[0.9rem] leading-[1.125rem] !font-bold tracking-[0.28px]",
2900
2889
  "data-wv-section": "dialog-form-title"
2901
2890
  },
2902
2891
  expandasidebutton: {
@@ -2904,7 +2893,7 @@ const T = {
2904
2893
  "data-wv-section": "expand-aside-button"
2905
2894
  },
2906
2895
  closedialog: {
2907
- class: "!p-0.5 !text-general-200",
2896
+ class: "!p-0.5 !text-general-200 dark:!text-general-500",
2908
2897
  "data-wv-section": "closebutton"
2909
2898
  },
2910
2899
  container: (e) => ({
@@ -2918,13 +2907,13 @@ const T = {
2918
2907
  class: ["flex flex-col gap-3 w-full"],
2919
2908
  "data-wv-section": "dialog-form-main"
2920
2909
  },
2921
- asidesection: (e, t) => ({
2910
+ asidesection: (e, r) => ({
2922
2911
  class: [
2923
2912
  "flex flex-col gap-3 shrink-0",
2924
2913
  { "opacity-0": !e },
2925
2914
  { "opacity-100": e }
2926
2915
  ],
2927
- style: `width: ${e ? t - 24 : 0}px`,
2916
+ style: `width: ${e ? r - 24 : 0}px`,
2928
2917
  "data-wv-section": "dialog-form-aside"
2929
2918
  }),
2930
2919
  form: {
@@ -3007,7 +2996,7 @@ const T = {
3007
2996
  "bg-surface-0"
3008
2997
  ]
3009
2998
  }
3010
- }, te = {
2999
+ }, re = {
3011
3000
  root: ({ props: e }) => ({
3012
3001
  class: [
3013
3002
  // Positioning
@@ -3052,15 +3041,15 @@ const T = {
3052
3041
  "outline-none"
3053
3042
  ]
3054
3043
  }),
3055
- menuitem: ({ props: e, context: t, instance: r }) => ({
3044
+ menuitem: ({ props: e, context: r, instance: t }) => ({
3056
3045
  class: [
3057
3046
  // Spacing & Shape
3058
3047
  "p-2 rounded-md",
3059
3048
  // Conditional Scaling
3060
3049
  {
3061
- "hover:scale-150": r.currentIndex === t.index,
3062
- "scale-125": r.currentIndex - 1 === t.index || r.currentIndex + 1 === t.index,
3063
- "scale-110": r.currentIndex - 2 === t.index || r.currentIndex + 2 === t.index
3050
+ "hover:scale-150": t.currentIndex === r.index,
3051
+ "scale-125": t.currentIndex - 1 === r.index || t.currentIndex + 1 === r.index,
3052
+ "scale-110": t.currentIndex - 2 === r.index || t.currentIndex + 2 === r.index
3064
3053
  },
3065
3054
  // Positioning & Hover States
3066
3055
  {
@@ -3085,8 +3074,8 @@ const T = {
3085
3074
  "cursor-default overflow-hidden"
3086
3075
  ]
3087
3076
  }
3088
- }, s = {
3089
- root: ({ props: e, state: t }) => ({
3077
+ }, i = {
3078
+ root: ({ props: e, state: r }) => ({
3090
3079
  class: [
3091
3080
  // Display and Position
3092
3081
  "inline-flex",
@@ -3103,7 +3092,7 @@ const T = {
3103
3092
  class: "overflow-hidden flex flex-auto items-center cursor-pointer py-[3px] h-[26px] px-3 pr-0"
3104
3093
  },
3105
3094
  label: ({ props: e }) => {
3106
- var t, r;
3095
+ var r, t;
3107
3096
  return {
3108
3097
  class: [
3109
3098
  "flex gap-1",
@@ -3114,8 +3103,8 @@ const T = {
3114
3103
  "rounded-none",
3115
3104
  // Color
3116
3105
  {
3117
- "text-general-200": !((t = e.modelValue) != null && t.length),
3118
- "text-grayscale-900": (r = e.modelValue) == null ? void 0 : r.length
3106
+ "text-general-200 dark:text-general-500": !((r = e.modelValue) != null && r.length),
3107
+ "text-general-800 dark:text-general-50": (t = e.modelValue) == null ? void 0 : t.length
3119
3108
  },
3120
3109
  // Transitions
3121
3110
  "transition duration-200",
@@ -3124,21 +3113,21 @@ const T = {
3124
3113
  ]
3125
3114
  };
3126
3115
  },
3127
- token: c.root({ props: { severity: "dark" } }),
3128
- tokenLabel: c.input({ props: {}, context: {} }),
3129
- removeTokenIcon: c.removebutton({
3116
+ token: d.root({ props: { severity: "dark" } }),
3117
+ tokenLabel: d.input({ props: {}, context: {} }),
3118
+ removeTokenIcon: d.removebutton({
3130
3119
  props: { badgeSeverity: "dark" }
3131
3120
  }),
3132
3121
  loadingplaceholder: {
3133
- class: "text-general-200 font-light"
3122
+ class: "text-general-200 dark:text-general-500 font-light"
3134
3123
  },
3135
3124
  loadingicon: {
3136
- class: "text-xs animate-spin duration-200 !text-general-500",
3125
+ class: "text-xs animate-spin duration-200 !text-general-500 dark:!text-general-100",
3137
3126
  icon: "spinner"
3138
3127
  },
3139
3128
  dropdownicon: ({ state: e }) => ({
3140
3129
  class: [
3141
- "w-full h-full transition-transform !text-general-500",
3130
+ "w-full h-full transition-transform !text-general-500 dark:!text-general-100",
3142
3131
  { "rotate-180": e.isShowOverlay }
3143
3132
  ],
3144
3133
  icon: "arrow-drop-down"
@@ -3153,8 +3142,7 @@ const T = {
3153
3142
  "flex items-center justify-center",
3154
3143
  "shrink-0",
3155
3144
  // Color and Background
3156
- "bg-transparent",
3157
- "text-surface-500",
3145
+ "bg-transparent dark:bg-transparent",
3158
3146
  // Size
3159
3147
  "w-6",
3160
3148
  // Shape
@@ -3172,7 +3160,7 @@ const T = {
3172
3160
  "rounded-lg",
3173
3161
  "shadow-panel",
3174
3162
  // Color
3175
- "bg-grayscale-100"
3163
+ "bg-grayscale-100 dark:bg-general-600"
3176
3164
  ]
3177
3165
  },
3178
3166
  header: {
@@ -3204,12 +3192,12 @@ const T = {
3204
3192
  ]
3205
3193
  },
3206
3194
  headerCheckbox: {
3207
- ...d,
3195
+ ...c,
3208
3196
  root: {
3209
- class: ["!mx-auto", ...d.root.class]
3197
+ class: ["!mx-auto", ...c.root.class]
3210
3198
  }
3211
3199
  },
3212
- itemCheckbox: d,
3200
+ itemCheckbox: c,
3213
3201
  closeButton: {
3214
3202
  class: ["hidden"]
3215
3203
  },
@@ -3228,7 +3216,7 @@ const T = {
3228
3216
  "max-h-[15rem]",
3229
3217
  // Shape
3230
3218
  // Color
3231
- "bg-white",
3219
+ "bg-white dark:bg-grayscale-900",
3232
3220
  // Misc
3233
3221
  "overflow-auto",
3234
3222
  "rounded-br-lg",
@@ -3254,20 +3242,20 @@ const T = {
3254
3242
  "py-1.5 px-4",
3255
3243
  // Color
3256
3244
  {
3257
- "text-general-800": !e.focused && !e.selected && !e.disabled
3245
+ "text-general-800 dark:text-general-50": !e.focused && !e.selected && !e.disabled
3258
3246
  },
3259
3247
  {
3260
- "text-general-400": !e.focused && !e.selected && e.disabled
3248
+ "text-general-400 dark:text-general-100": !e.focused && !e.selected && e.disabled
3261
3249
  },
3262
- { "bg-primary-50": e.focused },
3250
+ { "bg-primary-50 dark:bg-grayscale-800": e.focused },
3263
3251
  {
3264
- "text-primary-500": e.focused || e.selected
3252
+ "text-primary-500 dark:text-primary-300": e.focused || e.selected
3265
3253
  },
3266
3254
  {
3267
- "text-general-900": !e.focused && e.selected
3255
+ "text-general-900 dark:text-general-100": !e.focused && e.selected
3268
3256
  },
3269
3257
  //States
3270
- "focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary-500",
3258
+ "focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary-500 dark:focus-visible:ring-primary-300",
3271
3259
  // Misc
3272
3260
  { "pointer-events-none cursor-default": e.disabled },
3273
3261
  { "cursor-pointer": !e.disabled },
@@ -3287,8 +3275,6 @@ const T = {
3287
3275
  "m-0",
3288
3276
  "py-2 px-4",
3289
3277
  // Color
3290
- "text-surface-800",
3291
- "bg-surface-0",
3292
3278
  // Misc
3293
3279
  "cursor-auto"
3294
3280
  ]
@@ -3302,20 +3288,21 @@ const T = {
3302
3288
  // Sizing
3303
3289
  "w-full py-2 px-3",
3304
3290
  //Color
3305
- "text-general-100",
3306
- "bg-white",
3291
+ "text-general-100 dark:text-general-500",
3292
+ "bg-white dark:bg-grayscale-900",
3307
3293
  // Shape
3308
- "ring-inset ring-1 ring-general-500",
3294
+ "ring-inset ring-1 ring-general-200 dark:ring-grayscale-600",
3309
3295
  "rounded-[6px]"
3310
3296
  ]
3311
3297
  },
3312
3298
  filterinput: {
3313
3299
  class: [
3314
3300
  "w-full",
3315
- "text-general-800",
3301
+ "bg-white dark:bg-grayscale-900",
3302
+ "text-general-800 dark:text-general-100",
3316
3303
  "text-xs tracking-[0.02em]",
3317
3304
  "font-medium",
3318
- "placeholder:text-general-200",
3305
+ "placeholder:text-general-200 dark:placeholder:text-general-600",
3319
3306
  "placeholder:font-light",
3320
3307
  // Misc
3321
3308
  "appearance-none",
@@ -3324,13 +3311,12 @@ const T = {
3324
3311
  ]
3325
3312
  },
3326
3313
  filtericon: {
3327
- class: ["text-base text-general-400"],
3314
+ class: ["text-base text-general-100 dark:text-general-300"],
3328
3315
  icon: "search"
3329
3316
  },
3330
3317
  clearicon: {
3331
3318
  class: [
3332
3319
  // Color
3333
- "text-surface-500",
3334
3320
  // Position
3335
3321
  "absolute",
3336
3322
  "top-1/2",
@@ -3347,8 +3333,8 @@ const T = {
3347
3333
  // Spacing
3348
3334
  "py-2 px-4",
3349
3335
  // Color
3350
- "text-grayscale-800",
3351
- "bg-transparent"
3336
+ "text-grayscale-800 dark:text-grayscale-50",
3337
+ "bg-transparent dark:bg-transparent"
3352
3338
  ]
3353
3339
  },
3354
3340
  transition: {
@@ -3357,8 +3343,8 @@ const T = {
3357
3343
  leaveActiveClass: "transition-opacity duration-100 ease-linear",
3358
3344
  leaveToClass: "opacity-0"
3359
3345
  }
3360
- }, re = {
3361
- root: ({ props: e, state: t }) => ({
3346
+ }, te = {
3347
+ root: ({ props: e, state: r }) => ({
3362
3348
  class: [
3363
3349
  // Display and Position
3364
3350
  "inline-flex items-center justify-between",
@@ -3377,14 +3363,14 @@ const T = {
3377
3363
  //Font
3378
3364
  "text-xs tracking-[0.02em]",
3379
3365
  {
3380
- "!text-general-200 font-light": e.modelValue == null,
3381
- "text-general-800 font-medium": e.modelValue != null
3366
+ "!text-general-200 dark:text-general-600 font-light": e.modelValue == null,
3367
+ "text-general-800 font-medium dark:text-general-50": e.modelValue != null
3382
3368
  },
3383
3369
  // Display
3384
3370
  "flex items-center",
3385
3371
  // Color and Background
3386
- "bg-transparent",
3387
- "placeholder:text-general-200",
3372
+ "bg-transparent dark:bg-transparent",
3373
+ "placeholder:text-general-200 dark:placeholder:text-general-600",
3388
3374
  // Sizing and Spacing
3389
3375
  "h-[26px] w-full",
3390
3376
  "px-3 pr-0",
@@ -3414,8 +3400,8 @@ const T = {
3414
3400
  "flex items-center justify-center",
3415
3401
  "shrink-0",
3416
3402
  // Color and Background
3417
- "bg-transparent",
3418
- "text-general-200",
3403
+ "bg-transparent dark:bg-transparent",
3404
+ "text-general-200 dark:text-grayscale-900",
3419
3405
  // Size
3420
3406
  "w-6 h-6",
3421
3407
  // Shape
@@ -3437,7 +3423,7 @@ const T = {
3437
3423
  "shadow-panel",
3438
3424
  "overflow-clip",
3439
3425
  // Color
3440
- "bg-grayscale-100"
3426
+ "bg-grayscale-100 dark:bg-general-600"
3441
3427
  ]
3442
3428
  }),
3443
3429
  wrapper: ({ props: e }) => ({
@@ -3445,7 +3431,8 @@ const T = {
3445
3431
  // Sizing
3446
3432
  "max-h-[15rem]",
3447
3433
  // Color
3448
- "bg-white",
3434
+ "bg-white dark:bg-grayscale-900",
3435
+ "text-general-800 dark:text-general-100",
3449
3436
  // Misc
3450
3437
  "overflow-auto",
3451
3438
  {
@@ -3475,20 +3462,20 @@ const T = {
3475
3462
  "py-1.5 px-4",
3476
3463
  // Color
3477
3464
  {
3478
- "text-general-800": !e.focused && !e.selected && !e.disabled
3465
+ "text-general-800 dark:text-general-50": !e.focused && !e.selected && !e.disabled
3479
3466
  },
3480
3467
  {
3481
- "text-general-400": !e.focused && !e.selected && e.disabled
3468
+ "text-general-400 dark:text-general-100": !e.focused && !e.selected && e.disabled
3482
3469
  },
3483
- { "bg-primary-50": e.focused },
3470
+ { "bg-primary-50 dark:bg-grayscale-800": e.focused },
3484
3471
  {
3485
- "text-primary-500": e.focused || e.selected
3472
+ "text-primary-500 dark:text-primary-300": e.focused || e.selected
3486
3473
  },
3487
3474
  {
3488
- "text-general-900": !e.focused && e.selected
3475
+ "text-general-900 dark:text-general-100": !e.focused && e.selected
3489
3476
  },
3490
3477
  //States
3491
- "focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-primary-500",
3478
+ "focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-primary-500 dark:focus-visible:ring-primary-300",
3492
3479
  // Misc
3493
3480
  { "pointer-events-none cursor-default": e.disabled },
3494
3481
  { "cursor-pointer": !e.disabled },
@@ -3505,8 +3492,6 @@ const T = {
3505
3492
  "m-0",
3506
3493
  "py-2 px-4",
3507
3494
  // Color
3508
- "text-surface-800",
3509
- "bg-surface-0",
3510
3495
  // Misc
3511
3496
  "cursor-auto"
3512
3497
  ]
@@ -3518,20 +3503,19 @@ const T = {
3518
3503
  // Spacing
3519
3504
  "py-2 px-4",
3520
3505
  // Color
3521
- "text-surface-800",
3522
- "bg-transparent"
3506
+ "bg-transparent dark:bg-transparent"
3523
3507
  ]
3524
3508
  },
3525
- header: s == null ? void 0 : s.header,
3526
- filtercontainer: s == null ? void 0 : s.filtercontainer,
3527
- filterinput: s == null ? void 0 : s.filterinput,
3528
- filtericon: s == null ? void 0 : s.filtericon,
3529
- loadingicon: s == null ? void 0 : s.loadingicon,
3530
- dropdownicon: ({ state: e }) => s.dropdownicon({ state: e }),
3509
+ header: i == null ? void 0 : i.header,
3510
+ filtercontainer: i == null ? void 0 : i.filtercontainer,
3511
+ filterinput: i == null ? void 0 : i.filterinput,
3512
+ filtericon: i == null ? void 0 : i.filtericon,
3513
+ loadingicon: i == null ? void 0 : i.loadingicon,
3514
+ dropdownicon: ({ state: e }) => i.dropdownicon({ state: e }),
3531
3515
  clearicon: {
3532
3516
  class: [
3533
3517
  // Color
3534
- "text-general-200",
3518
+ "text-general-200 dark:text-grayscale-800",
3535
3519
  // Position
3536
3520
  "absolute",
3537
3521
  "top-1/2",
@@ -3547,9 +3531,9 @@ const T = {
3547
3531
  leaveToClass: "opacity-0"
3548
3532
  },
3549
3533
  loadingplaceholder: {
3550
- class: "text-general-200 font-light"
3534
+ class: "text-general-200 dark:text-grayscale-500 font-light"
3551
3535
  }
3552
- }, ie = {
3536
+ }, ae = {
3553
3537
  root: {
3554
3538
  class: [
3555
3539
  "block",
@@ -3627,11 +3611,11 @@ const T = {
3627
3611
  leaveActiveClass: "overflow-hidden transition-[max-height] duration-[450ms] ease-[cubic-bezier(0,1,0,1)]",
3628
3612
  leaveToClass: "max-h-0"
3629
3613
  }
3630
- }, se = {
3614
+ }, ie = {
3631
3615
  // :class="['ts-form', { 'sticky-buttons': props.stickyButtons }]"
3632
3616
  root: () => ({
3633
3617
  class: [
3634
- "flex flex-col gap-3 text-general-800 text-[0.75rem] font-medium leading-[16.8px] tracking-[0.02em]"
3618
+ "flex flex-col gap-3 text-general-800 text-[0.75rem] font-medium leading-[16.8px] tracking-[0.02em] dark:text-general-100"
3635
3619
  ],
3636
3620
  "data-wv-section": "root"
3637
3621
  }),
@@ -3677,8 +3661,8 @@ const T = {
3677
3661
  "ring-[0.5px] p-[0.5px]": !navigator.userAgent.includes("Firefox")
3678
3662
  },
3679
3663
  "ring-inset",
3680
- "ring-general-200"
3681
- ], ae = {
3664
+ "ring-general-200 dark:ring-grayscale-600"
3665
+ ], se = {
3682
3666
  css: `
3683
3667
  *[data-pd-ripple="true"]{
3684
3668
  overflow: hidden;
@@ -3770,13 +3754,13 @@ const T = {
3770
3754
  height: `${e.width}px`
3771
3755
  } : void 0
3772
3756
  }),
3773
- image: ({ props: e, context: t }) => ({
3757
+ image: ({ props: e, context: r }) => ({
3774
3758
  class: [
3775
3759
  "object-cover",
3776
3760
  { "!rounded-full": e.rounded },
3777
3761
  { "!rounded-lg": !e.rounded }
3778
3762
  ],
3779
- style: `width: ${t.imageSize}px; height: ${t.imageSize}px;`
3763
+ style: `width: ${r.imageSize}px; height: ${r.imageSize}px;`
3780
3764
  }),
3781
3765
  button: {
3782
3766
  class: [
@@ -3784,20 +3768,20 @@ const T = {
3784
3768
  "absolute",
3785
3769
  "w-full h-full",
3786
3770
  "inset-0 opacity-0 transition-opacity duration-300",
3787
- "bg-transparent text-white",
3788
- "hover:cursor-pointer hover:bg-grayscale-900 hover:opacity-50"
3771
+ "bg-transparent dark:bg-transparent text-white dark:text-grayscale-900",
3772
+ "hover:cursor-pointer hover:bg-grayscale-900 dark:hover:bg-grayscale-900 hover:opacity-50"
3789
3773
  ],
3790
3774
  style: "border-radius: inherit"
3791
3775
  },
3792
3776
  icon: {
3793
- class: "text-white w-6 h-6 opacity-100 max-w-[50%]"
3777
+ class: "text-white dark:text-white w-6 h-6 opacity-100 max-w-[50%]"
3794
3778
  },
3795
3779
  mask: {
3796
3780
  class: [
3797
3781
  "flex items-center justify-center",
3798
3782
  "fixed top-0 left-0",
3799
3783
  "w-full h-full",
3800
- "bg-grayscale-950/90"
3784
+ "bg-grayscale-950/90 dark:bg-grayscale-950/90"
3801
3785
  ]
3802
3786
  },
3803
3787
  toolbar: {
@@ -3810,9 +3794,9 @@ const T = {
3810
3794
  "w-6 h-6",
3811
3795
  "mr-2",
3812
3796
  "rounded-full",
3813
- "text-white bg-transparent",
3814
- "hover:text-white hover:bg-white/10",
3815
- "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50",
3797
+ "text-white dark:text-white bg-transparent dark:bg-transparent",
3798
+ "hover:text-white dark:hover:text-white hover:bg-white/10 dark:hover:bg-white/10",
3799
+ "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-400/50",
3816
3800
  "transition duration-200 ease-in-out"
3817
3801
  ]
3818
3802
  },
@@ -3826,9 +3810,9 @@ const T = {
3826
3810
  "w-6 h-6",
3827
3811
  "mr-2",
3828
3812
  "rounded-full",
3829
- "text-white bg-transparent",
3830
- "hover:text-white hover:bg-white/10",
3831
- "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50",
3813
+ "text-white dark:text-white bg-transparent dark:bg-transparent",
3814
+ "hover:text-white dark:hover:text-white hover:bg-white/10 dark:hover:bg-white/10",
3815
+ "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-400/50",
3832
3816
  "transition duration-200 ease-in-out"
3833
3817
  ]
3834
3818
  },
@@ -3842,9 +3826,9 @@ const T = {
3842
3826
  "w-6 h-6",
3843
3827
  "mr-2",
3844
3828
  "rounded-full",
3845
- "text-white bg-transparent",
3846
- "hover:text-white hover:bg-white/10",
3847
- "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50",
3829
+ "text-white dark:text-white bg-transparent dark:bg-transparent",
3830
+ "hover:text-white dark:hover:text-white hover:bg-white/10 dark:hover:bg-white/10",
3831
+ "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-400/50",
3848
3832
  "transition duration-200 ease-in-out"
3849
3833
  ]
3850
3834
  },
@@ -3858,9 +3842,9 @@ const T = {
3858
3842
  "w-6 h-6",
3859
3843
  "mr-2",
3860
3844
  "rounded-full",
3861
- "text-white bg-transparent",
3862
- "hover:text-white hover:bg-white/10",
3863
- "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50",
3845
+ "text-white dark:text-white bg-transparent dark:bg-transparent",
3846
+ "hover:text-white dark:hover:text-white hover:bg-white/10 dark:hover:bg-white/10",
3847
+ "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-400/50",
3864
3848
  "transition duration-200 ease-in-out"
3865
3849
  ]
3866
3850
  },
@@ -3874,9 +3858,9 @@ const T = {
3874
3858
  "w-6 h-6",
3875
3859
  "mr-2",
3876
3860
  "rounded-full",
3877
- "text-white bg-transparent",
3878
- "hover:text-white hover:bg-white/10",
3879
- "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50",
3861
+ "text-white dark:text-white bg-transparent dark:bg-transparent",
3862
+ "hover:text-white dark:hover:text-white hover:bg-white/10 dark:hover:bg-white/10",
3863
+ "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-400/50",
3880
3864
  "transition duration-200 ease-in-out"
3881
3865
  ]
3882
3866
  },
@@ -3895,9 +3879,9 @@ const T = {
3895
3879
  "rounded-md p-3",
3896
3880
  "w-full",
3897
3881
  {
3898
- "bg-success-50 text-success-500": e.severity == "success",
3899
- "bg-danger-50 text-danger-500": e.severity == "danger",
3900
- "bg-grayscale-50 text-general-800": e.severity == "secondary"
3882
+ "bg-success-50 dark:bg-success-50 text-success-500 dark:text-success-600": e.severity == "success",
3883
+ "bg-danger-50 dark:bg-danger-50 text-danger-500 dark:text-danger-600": e.severity == "danger",
3884
+ "bg-grayscale-50 dark:bg-grayscale-800 text-general-800 dark:text-general-50": e.severity == "secondary"
3901
3885
  }
3902
3886
  ],
3903
3887
  "data-wv-name": "inlinemessage",
@@ -3906,7 +3890,9 @@ const T = {
3906
3890
  icon: ({ props: e }) => ({
3907
3891
  class: [
3908
3892
  "w-4 h-4 !cursor-auto",
3909
- { "animate-spin duration-200 text-general-100": e.loading }
3893
+ {
3894
+ "animate-spin duration-200 text-general-100 dark:text-general-400": e.loading
3895
+ }
3910
3896
  ],
3911
3897
  "data-wv-section": "messageicon"
3912
3898
  }),
@@ -3920,83 +3906,84 @@ const T = {
3920
3906
  ]
3921
3907
  }
3922
3908
  }, z = {
3923
- root: ({ props: e, context: t, parent: r }) => {
3924
- var i, n;
3909
+ root: ({ props: e, context: r, parent: t }) => {
3910
+ var a, n;
3925
3911
  return {
3926
3912
  class: [
3927
- "px-3 py-[5px] w-full bg-transparent",
3913
+ "px-3 py-[5px] w-full bg-transparent dark:bg-transparent",
3928
3914
  // Size
3929
3915
  "h-max",
3930
3916
  {
3931
- "max-h-[43px]": (n = (i = r.instance) == null ? void 0 : i.placeholder) == null ? void 0 : n.includes("password")
3917
+ "max-h-[43px]": (n = (a = t.instance) == null ? void 0 : a.placeholder) == null ? void 0 : n.includes("password")
3932
3918
  },
3933
3919
  // Font
3934
- "text-general-800 text-xs tracking-[0.02em] font-medium",
3935
- "placeholder:text-general-200",
3920
+ "text-general-800 dark:text-general-50 text-xs tracking-[0.02em] font-medium",
3921
+ "placeholder:text-general-200 dark:placeholder:text-general-600",
3936
3922
  "placeholder:!font-light",
3937
3923
  "appearance-none",
3938
3924
  // Interactions
3939
3925
  {
3940
- "outline-none": !t.disabled,
3941
- "!text-general-200 select-none pointer-events-none cursor-default": t.disabled
3926
+ "outline-none": !r.disabled,
3927
+ "!text-general-200 dark:!text-grayscale-500 select-none pointer-events-none cursor-default": r.disabled
3942
3928
  }
3943
3929
  ]
3944
3930
  };
3945
3931
  }
3946
- }, v = navigator.userAgent.includes("Chrome"), ce = {
3932
+ }, y = navigator.userAgent.includes("Chrome"), de = {
3947
3933
  root: ({ context: e }) => ({
3948
3934
  class: [
3949
3935
  "flex flex-wrap gap-x-0.5 gap-y-[5px] items-center",
3950
3936
  "min-h-[26px] h-fit w-full",
3951
3937
  "ring-inset rounded px-[12px] py-[3px]",
3952
3938
  {
3953
- "ring-[1px]": !v,
3954
- "ring-[0.5px]": v
3939
+ "ring-[1px]": !y,
3940
+ "ring-[0.5px]": y
3955
3941
  },
3956
- { "!ring-danger-500 !dark:ring-danger-500": e.invalidInput },
3957
- { "!ring-general-200 !dark:ring-general-200": !e.invalidInput },
3942
+ { "!ring-danger-500 !dark:ring-danger-300": e.invalidInput },
3943
+ { "!ring-general-200 !dark:ring-grayscale-600": !e.invalidInput },
3958
3944
  { "pointer-events-none": e.disabled }
3959
3945
  ]
3960
3946
  }),
3961
- input: ({ context: e, parent: t, props: r }) => ({
3947
+ input: ({ context: e, parent: r, props: t }) => ({
3962
3948
  class: [
3963
3949
  ...z.root({
3964
- props: r,
3950
+ props: t,
3965
3951
  context: e,
3966
- parent: t
3952
+ parent: r
3967
3953
  }).class,
3968
3954
  "outline-none !w-full !bg-transparent !p-0 !shadow-none h-max !leading-4 min-w-[70px]",
3969
3955
  { "placeholder:text-transparent": e.showPlaceholder },
3970
- "focus:placeholder:text-general-200"
3956
+ // TODO: Doesn't work on dark mode
3957
+ "focus:placeholder:text-general-200 dark:focus:placeholder:text-general-600"
3971
3958
  ]
3972
3959
  }),
3973
3960
  erroricon: {
3974
- class: ["mr-1 text-warning-600 text-base"]
3961
+ class: ["mr-1 text-warning-600 dark:text-warning-800 text-base"]
3975
3962
  },
3976
3963
  erroroverlaypanel: {
3977
- class: ["px-3 py-1 text-[12px] text-general-800"]
3964
+ class: ["px-3 py-1 text-[12px] text-general-800 dark:text-general-50"]
3978
3965
  }
3979
- }, h = navigator.userAgent.includes("Chrome"), de = {
3966
+ }, v = navigator.userAgent.includes("Chrome"), ce = {
3980
3967
  root: ({ props: e }) => ({
3981
3968
  class: [
3982
3969
  {
3983
- "!ring-danger-500 [&_.inputgroupaddon]:ring-danger-500": e.invalid && e.ring !== "none",
3984
- "[&_.inputgroupaddon]:ring-general-200": !e.invalid && e.ring !== "none",
3985
- "!bg-general-50 ": e.disabled
3970
+ "!ring-danger-500 [&_.inputgroupaddon]:ring-danger-500 dark:!ring-danger-300 dark:[&_.inputgroupaddon]:ring-danger-300": e.invalid && e.ring !== "none",
3971
+ "[&_.inputgroupaddon]:ring-general-200 dark:[&_.inputgroupaddon]:ring-grayscale-600": !e.invalid && e.ring !== "none",
3972
+ "!bg-general-50 dark:!bg-grayscale-700": e.disabled
3986
3973
  },
3987
3974
  {
3988
- "[&:has(:focus)]:!ring-primary-500 [&:has(:focus)_.inputgroupaddon]:!ring-primary-500": e.ring !== "none"
3975
+ "[&:has(:focus)]:!ring-primary-500 [&:has(:focus)_.inputgroupaddon]:!ring-primary-500 dark:[&:has(:focus)]:!ring-primary-300 dark:[&:has(:focus)_.inputgroupaddon]:!ring-primary-300": e.ring !== "none"
3989
3976
  },
3990
3977
  {
3991
- "ring-[1px] [&_.inputgroupaddon]:ring-[1px]": !h && e.ring !== "none",
3992
- "ring-[0.5px] [&_.inputgroupaddon]:ring-[0.5px]": h && e.ring !== "none"
3978
+ "ring-[1px] [&_.inputgroupaddon]:ring-[1px]": !v && e.ring !== "none",
3979
+ "ring-[0.5px] [&_.inputgroupaddon]:ring-[0.5px]": v && e.ring !== "none"
3993
3980
  },
3994
3981
  "[&_.inputgroupaddon[data-addon-variant=plain]]:!ring-[0px]",
3995
3982
  "[&:has(input)]:cursor-text",
3996
3983
  "flex items-stretch",
3997
3984
  "w-full",
3998
- "ring-inset ring-general-200 rounded",
3999
- "bg-white",
3985
+ "ring-inset ring-general-200 dark:ring-grayscale-600 rounded",
3986
+ "bg-white dark:bg-grayscale-900",
4000
3987
  e.class
4001
3988
  ],
4002
3989
  "data-wv-section": "inputgroup"
@@ -4019,19 +4006,19 @@ const T = {
4019
4006
  // Size
4020
4007
  "w-max",
4021
4008
  // Font
4022
- "text-general-800",
4009
+ "text-general-800 dark:text-general-50",
4023
4010
  "text-xs font-medium leading-none tracking-tight",
4024
4011
  // Color
4025
- { "bg-general-50": e.addonVariant !== "plain" },
4012
+ { "bg-general-50 dark:bg-grayscale-700": e.addonVariant !== "plain" },
4026
4013
  {
4027
- "!text-general-200": e.disabled,
4014
+ "!text-general-200 dark:!text-grayscale-500": e.disabled,
4028
4015
  "!px-2": e.showButtons
4029
4016
  }
4030
4017
  ],
4031
4018
  "data-addon-variant": e.addonVariant
4032
4019
  // Used in inputgroup to set styling
4033
4020
  })
4034
- }, fe = {
4021
+ }, ge = {
4035
4022
  root: ({ context: e }) => ({
4036
4023
  class: [
4037
4024
  // Font
@@ -4054,8 +4041,8 @@ const T = {
4054
4041
  }
4055
4042
  ]
4056
4043
  })
4057
- }, y = "text-xs font-medium tracking-[0.02em] leading-[18px]", w = "h-[26px]", ge = {
4058
- root: ({ props: e, parent: t }) => ({
4044
+ }, h = "text-xs font-medium tracking-[0.02em] leading-[18px]", w = "h-[26px]", fe = {
4045
+ root: ({ props: e, parent: r }) => ({
4059
4046
  class: [
4060
4047
  // Layout
4061
4048
  "flex items-center self-stretch shrink-0 grow",
@@ -4069,19 +4056,19 @@ const T = {
4069
4056
  ]
4070
4057
  }),
4071
4058
  input: {
4072
- root: ({ parent: e, context: t }) => ({
4059
+ root: ({ parent: e, context: r }) => ({
4073
4060
  class: [
4074
4061
  "border-0 h-full w-full outline-none",
4075
4062
  "bg-inherit",
4076
- y,
4077
- "placeholder:text-general-200 placeholder:font-light",
4078
- t.disabled ? "text-general-200" : "text-general-800"
4063
+ h,
4064
+ "placeholder:text-general-200 dark:placeholder:text-general-600 placeholder:font-light",
4065
+ r.disabled ? "text-general-200 dark:text-grayscale-500" : "text-general-800 dark:text-general-50"
4079
4066
  ]
4080
4067
  })
4081
4068
  },
4082
4069
  inputresizer: {
4083
4070
  class: [
4084
- y,
4071
+ h,
4085
4072
  w,
4086
4073
  "user-select-none py-1 px-3 block min-w-4 text-transparent"
4087
4074
  ]
@@ -4107,7 +4094,7 @@ const T = {
4107
4094
  },
4108
4095
  incrementicon: ({ props: e }) => ({
4109
4096
  class: [
4110
- "!text-base text-general-500",
4097
+ "!text-base text-general-500 dark:text-general-100",
4111
4098
  {
4112
4099
  "!text-general-200": e.disabled
4113
4100
  }
@@ -4115,15 +4102,15 @@ const T = {
4115
4102
  }),
4116
4103
  decrementicon: ({ props: e }) => ({
4117
4104
  class: [
4118
- "!text-base text-general-500",
4105
+ "!text-base text-general-500 dark:text-general-100",
4119
4106
  {
4120
4107
  "!text-general-200": e.disabled
4121
4108
  }
4122
4109
  ]
4123
4110
  })
4124
4111
  };
4125
- function m(e, t) {
4126
- return { [e]: t }[e];
4112
+ function m(e, r) {
4113
+ return { [e]: r }[e];
4127
4114
  }
4128
4115
  m("WANGS-TAB-MENU", {
4129
4116
  root: {
@@ -4144,8 +4131,8 @@ m("WANGS-TAB-MENU", {
4144
4131
  menuitem: {
4145
4132
  class: "mr-0"
4146
4133
  },
4147
- action: ({ props: e, context: t }) => {
4148
- var r, i;
4134
+ action: ({ props: e, context: r }) => {
4135
+ var t, a;
4149
4136
  return {
4150
4137
  class: [
4151
4138
  "relative",
@@ -4160,36 +4147,36 @@ m("WANGS-TAB-MENU", {
4160
4147
  rounded: e.type === "segmented",
4161
4148
  "p-2 pb-1.5 pt-0.5 !h-6": e.type === "tab",
4162
4149
  "py-[5px] px-3 !h-6": e.type === "segmented",
4163
- "ml-1": e.type === "pill" && t.index !== 0,
4164
- "gap-1": t.item.icon
4150
+ "ml-1": e.type === "pill" && r.index !== 0,
4151
+ "gap-1": r.item.icon
4165
4152
  },
4166
4153
  // Shape
4167
4154
  {
4168
4155
  "border-b-2": e.type === "tab",
4169
- "shadow-[-2px_2px_2px_rgba(0,0,0,0.25)] overflow-visible": e.type === "segmented" && t.active
4156
+ "shadow-[-2px_2px_2px_rgba(0,0,0,0.25)] overflow-visible": e.type === "segmented" && r.active
4170
4157
  },
4171
4158
  // Colors and Conditions
4172
4159
  {
4173
- "border-primary-700": t.active,
4174
- "border-grayscale-400": !t.active,
4175
- "text-grayscale-600": !t.active && e.type === "tab",
4176
- "text-primary-700": t.active && e.type === "tab",
4177
- "bg-primary-700 text-white": e.type === "pill" && t.active,
4178
- "bg-grayscale-100 text-grayscale-800": e.type === "pill" && !t.active,
4179
- "bg-primary-500 text-white": e.type === "segmented" && t.active,
4180
- "!text-general-800": e.type === "segmented" && !t.active,
4181
- "bg-transparent ": e.type !== "pill" && !t.active
4160
+ "border-primary-700": r.active,
4161
+ "border-grayscale-400": !r.active,
4162
+ "text-grayscale-600": !r.active && e.type === "tab",
4163
+ "text-primary-700": r.active && e.type === "tab",
4164
+ "bg-primary-700 text-white": e.type === "pill" && r.active,
4165
+ "bg-grayscale-100 text-grayscale-800": e.type === "pill" && !r.active,
4166
+ "bg-primary-500 text-white": e.type === "segmented" && r.active,
4167
+ "!text-general-800": e.type === "segmented" && !r.active,
4168
+ "bg-transparent ": e.type !== "pill" && !r.active
4182
4169
  },
4183
4170
  // States
4184
4171
  { "hover:bg-primary-50": e.type === "tab" },
4185
4172
  "focus-visible:outline-none focus-visible:outline-offset-0",
4186
4173
  {
4187
- "focus-visible:border-primary-200 focus-visible:text-primary-400": !t.active
4174
+ "focus-visible:border-primary-200 focus-visible:text-primary-400": !r.active
4188
4175
  },
4189
4176
  // Disabled States
4190
4177
  {
4191
- "pointer-events-none": (r = t.item) == null ? void 0 : r.disabled,
4192
- "opacity-60": (i = t.item) == null ? void 0 : i.disabled
4178
+ "pointer-events-none": (t = r.item) == null ? void 0 : t.disabled,
4179
+ "opacity-60": (a = r.item) == null ? void 0 : a.disabled
4193
4180
  },
4194
4181
  // Transitions
4195
4182
  "transition-all duration-200",
@@ -4218,24 +4205,24 @@ m("WANGS-INPUT-OTP", {
4218
4205
  "w-max"
4219
4206
  ]
4220
4207
  },
4221
- input: ({ props: e, context: t, parent: r }) => ({
4208
+ input: ({ props: e, context: r, parent: t }) => ({
4222
4209
  class: [
4223
4210
  // Font
4224
4211
  "text-[14px] leading-none font-medium",
4225
4212
  // Flex & Alignment
4226
- { "flex-1 w-[1%]": r.tagName == "WANGS-INPUT-GROUP" },
4213
+ { "flex-1 w-[1%]": t.tagName == "WANGS-INPUT-GROUP" },
4227
4214
  "text-center",
4228
4215
  // Spacing
4229
4216
  "m-0",
4230
4217
  // Size
4231
4218
  "w-[42px] h-[42px]",
4232
4219
  // Shape
4233
- { "rounded-md": r.tagName !== "WANGS-INPUT-GROUP" },
4220
+ { "rounded-md": t.tagName !== "WANGS-INPUT-GROUP" },
4234
4221
  {
4235
- "first:rounded-l-md rounded-none last:rounded-r-md": r.tagName == "WANGS-INPUT-GROUP"
4222
+ "first:rounded-l-md rounded-none last:rounded-r-md": t.tagName == "WANGS-INPUT-GROUP"
4236
4223
  },
4237
4224
  {
4238
- "border-0 border-y border-l last:border-r": r.tagName == "WANGS-INPUT-GROUP"
4225
+ "border-0 border-y border-l last:border-r": t.tagName == "WANGS-INPUT-GROUP"
4239
4226
  },
4240
4227
  // Colors
4241
4228
  "text-general-800 dark:text-general-800",
@@ -4250,36 +4237,36 @@ m("WANGS-INPUT-OTP", {
4250
4237
  { "ring-danger-500 dark:ring-danger-500": e.invalid },
4251
4238
  // States
4252
4239
  {
4253
- "hover:bg-primary-50/50 hover:ring-primary-500 dark:hover:ring-primary-400": !t.disabled && !e.invalid,
4254
- "focus:bg-primary-50/50 focus:ring-primary-500 dark:focus:ring-primary-400": !t.disabled && !e.invalid,
4255
- "focus:outline-none focus:outline-offset-0": !t.disabled,
4256
- "opacity-60 select-none pointer-events-none cursor-default": t.disabled
4240
+ "hover:bg-primary-50/50 hover:ring-primary-500 dark:hover:ring-primary-400": !r.disabled && !e.invalid,
4241
+ "focus:bg-primary-50/50 focus:ring-primary-500 dark:focus:ring-primary-400": !r.disabled && !e.invalid,
4242
+ "focus:outline-none focus:outline-offset-0": !r.disabled,
4243
+ "opacity-60 select-none pointer-events-none cursor-default": r.disabled
4257
4244
  },
4258
4245
  // Filled State *for FloatLabel
4259
- { filled: r.tagName == "WANGS-FLOAT-LABEL" && t.filled },
4246
+ { filled: t.tagName == "WANGS-FLOAT-LABEL" && r.filled },
4260
4247
  // Misc
4261
4248
  "appearance-none",
4262
4249
  "transition-colors duration-200"
4263
4250
  ]
4264
4251
  })
4265
4252
  });
4266
- const a = class a {
4253
+ const s = class s {
4267
4254
  constructor() {
4268
4255
  /**
4269
4256
  * Stores base URLs associated with different app identifiers.
4270
4257
  */
4271
4258
  b(this, "_baseUrl", "");
4272
- if (globalThis[a.SINGLETON_KEY])
4273
- return globalThis[a.SINGLETON_KEY];
4274
- globalThis[a.SINGLETON_KEY] = this;
4259
+ if (globalThis[s.SINGLETON_KEY])
4260
+ return globalThis[s.SINGLETON_KEY];
4261
+ globalThis[s.SINGLETON_KEY] = this;
4275
4262
  }
4276
4263
  /**
4277
4264
  * Registers a base URL for a specific app.
4278
4265
  *
4279
4266
  * @param base - The base URL to be used as a prefix for all routes in that app.
4280
4267
  */
4281
- setNavigationBaseUrl(t) {
4282
- this._baseUrl = this.normalizeBase(t);
4268
+ setNavigationBaseUrl(r) {
4269
+ this._baseUrl = this.normalizeBase(r);
4283
4270
  }
4284
4271
  /**
4285
4272
  * Retrieves the base URL for a specific app.
@@ -4295,8 +4282,8 @@ const a = class a {
4295
4282
  * @param base - The base URL to normalize.
4296
4283
  * @returns A clean base URL ending with a single `/`.
4297
4284
  */
4298
- normalizeBase(t) {
4299
- return t.replace(/\/+$/, "").concat("/");
4285
+ normalizeBase(r) {
4286
+ return r.replace(/\/+$/, "").concat("/");
4300
4287
  }
4301
4288
  /**
4302
4289
  * Prepends the base URL (if any) to the given path.
@@ -4304,14 +4291,14 @@ const a = class a {
4304
4291
  * @param path - The relative path to normalize.
4305
4292
  * @returns A fully normalized path prefixed with the base URL if applicable.
4306
4293
  */
4307
- normalizePath(t) {
4308
- if (!t.startsWith("/"))
4309
- return new URL(t, window.location.href).pathname;
4310
- const r = this.getNavigationBaseUrl();
4311
- if (!r)
4312
- return t;
4313
- const i = t.slice(1);
4314
- return `${r}${i}`;
4294
+ normalizePath(r) {
4295
+ if (!r.startsWith("/"))
4296
+ return new URL(r, window.location.href).pathname;
4297
+ const t = this.getNavigationBaseUrl();
4298
+ if (!t)
4299
+ return r;
4300
+ const a = r.slice(1);
4301
+ return `${t}${a}`;
4315
4302
  }
4316
4303
  /**
4317
4304
  * Removes the specified base path from the beginning of a given route path.
@@ -4329,8 +4316,8 @@ const a = class a {
4329
4316
  * stripBase('/about', '/base'); // returns '/about' (base not present)
4330
4317
  * stripBase('/base', '/base'); // returns '/'
4331
4318
  */
4332
- stripBase(t, r) {
4333
- return r || (r = this.getNavigationBaseUrl()), r !== "/" && t.startsWith(r) ? "/" + t.slice(r.length).replace(/^\/+/, "") : t;
4319
+ stripBase(r, t) {
4320
+ return t || (t = this.getNavigationBaseUrl()), t !== "/" && r.startsWith(t) ? "/" + r.slice(t.length).replace(/^\/+/, "") : r;
4334
4321
  }
4335
4322
  /**
4336
4323
  * Pushes a new entry to the browser's history stack.
@@ -4342,18 +4329,18 @@ const a = class a {
4342
4329
  * @example
4343
4330
  * Router.push('/about', { from: 'home' });
4344
4331
  */
4345
- push(t, r = {}, i = "") {
4332
+ push(r, t = {}, a = "") {
4346
4333
  var l;
4347
4334
  const n = {
4348
- ...r,
4335
+ ...t,
4349
4336
  ...history.state ?? {},
4350
- current: t,
4337
+ current: r,
4351
4338
  back: (l = history.state) == null ? void 0 : l.current,
4352
4339
  forward: void 0,
4353
4340
  replaced: !1,
4354
4341
  position: history.length + 1
4355
4342
  };
4356
- window.history.pushState(n, i, t);
4343
+ window.history.pushState(n, a, r);
4357
4344
  }
4358
4345
  /**
4359
4346
  * Replaces the current entry in the browser's history stack.
@@ -4365,15 +4352,15 @@ const a = class a {
4365
4352
  * @example
4366
4353
  * Router.replace('/login', { reason: 'session expired' });
4367
4354
  */
4368
- replace(t, r = {}, i = "") {
4355
+ replace(r, t = {}, a = "") {
4369
4356
  const n = {
4370
- ...r,
4357
+ ...t,
4371
4358
  ...history.state ?? {},
4372
4359
  forward: void 0,
4373
- current: t,
4360
+ current: r,
4374
4361
  replaced: !0
4375
4362
  };
4376
- window.history.replaceState(n, i, t);
4363
+ window.history.replaceState(n, a, r);
4377
4364
  }
4378
4365
  /**
4379
4366
  * Dispatches a custom event before navigation occurs.
@@ -4383,9 +4370,9 @@ const a = class a {
4383
4370
  * @param mode - The navigation mode ('push' or 'replace').
4384
4371
  * @param data - Optional state object for the navigation.
4385
4372
  */
4386
- dispatchBeforeNavigationEvent(t, r, i) {
4373
+ dispatchBeforeNavigationEvent(r, t, a) {
4387
4374
  window.dispatchEvent(new CustomEvent("wangs-ui-core:before-navigation-event", {
4388
- detail: { route: t, mode: r, state: i }
4375
+ detail: { route: r, mode: t, state: a }
4389
4376
  }));
4390
4377
  }
4391
4378
  /**
@@ -4396,9 +4383,9 @@ const a = class a {
4396
4383
  * @param mode - The navigation mode ('push' or 'replace').
4397
4384
  * @param data - Optional state object for the navigation.
4398
4385
  */
4399
- dispatchNavigationEvent(t, r, i) {
4386
+ dispatchNavigationEvent(r, t, a) {
4400
4387
  window.dispatchEvent(new CustomEvent("wangs-ui-core:navigation-event", {
4401
- detail: { route: t, mode: r, state: i }
4388
+ detail: { route: r, mode: t, state: a }
4402
4389
  }));
4403
4390
  }
4404
4391
  /**
@@ -4418,17 +4405,17 @@ const a = class a {
4418
4405
  * @example
4419
4406
  * router.navigateToRoute('/about', 'push', { some: 'state' }, '',);
4420
4407
  */
4421
- navigateToRoute(t, r = "push", i = history.state, n = "") {
4422
- if (!t)
4408
+ navigateToRoute(r, t = "push", a = history.state, n = "") {
4409
+ if (!r)
4423
4410
  return;
4424
- const l = typeof t == "string" ? t : t.toString(), o = this.normalizePath(l);
4411
+ const l = typeof r == "string" ? r : r.toString(), o = this.normalizePath(l);
4425
4412
  if (o === location.pathname)
4426
4413
  return console.warn("[WangsUIRouter] Navigation aborted: target route is the same as the current route.");
4427
- this.dispatchBeforeNavigationEvent(o, r, i), r === "push" ? this.push(o, i, n) : this.replace(o, i, n), this.dispatchNavigationEvent(o, r, i);
4414
+ this.dispatchBeforeNavigationEvent(o, t, a), t === "push" ? this.push(o, a, n) : this.replace(o, a, n), this.dispatchNavigationEvent(o, t, a);
4428
4415
  }
4429
4416
  };
4430
- b(a, "SINGLETON_KEY", "__WANGS_UI_ROUTER_INSTANCE__");
4431
- let p = a;
4417
+ b(s, "SINGLETON_KEY", "__WANGS_UI_ROUTER_INSTANCE__");
4418
+ let p = s;
4432
4419
  new p();
4433
4420
  const me = m("WANGS-INPUT-OTP", {
4434
4421
  root: {
@@ -4439,73 +4426,72 @@ const me = m("WANGS-INPUT-OTP", {
4439
4426
  "w-max"
4440
4427
  ]
4441
4428
  },
4442
- input: ({ props: e, context: t, parent: r }) => ({
4429
+ input: ({ props: e, context: r, parent: t }) => ({
4443
4430
  class: [
4444
4431
  // Font
4445
4432
  "text-[14px] leading-none font-medium",
4446
4433
  // Flex & Alignment
4447
- { "flex-1 w-[1%]": r.tagName == "WANGS-INPUT-GROUP" },
4434
+ { "flex-1 w-[1%]": t.tagName == "WANGS-INPUT-GROUP" },
4448
4435
  "text-center",
4449
4436
  // Spacing
4450
4437
  "m-0",
4451
4438
  // Size
4452
4439
  "w-[42px] h-[42px]",
4453
4440
  // Shape
4454
- { "rounded-md": r.tagName !== "WANGS-INPUT-GROUP" },
4441
+ { "rounded-md": t.tagName !== "WANGS-INPUT-GROUP" },
4455
4442
  {
4456
- "first:rounded-l-md rounded-none last:rounded-r-md": r.tagName == "WANGS-INPUT-GROUP"
4443
+ "first:rounded-l-md rounded-none last:rounded-r-md": t.tagName == "WANGS-INPUT-GROUP"
4457
4444
  },
4458
4445
  {
4459
- "border-0 border-y border-l last:border-r": r.tagName == "WANGS-INPUT-GROUP"
4446
+ "border-0 border-y border-l last:border-r": t.tagName == "WANGS-INPUT-GROUP"
4460
4447
  },
4461
4448
  // Colors
4462
- "text-general-800 dark:text-general-800",
4463
- "placeholder:text-surface-400 dark:placeholder:text-surface-500",
4464
- "bg-white dark:bg-white",
4449
+ "text-general-800 dark:text-general-50",
4450
+ "bg-white dark:bg-grayscale-900",
4465
4451
  {
4466
4452
  "ring-1": navigator.userAgent.includes("Firefox"),
4467
4453
  "ring-[0.5px]": !navigator.userAgent.includes("Firefox")
4468
4454
  },
4469
- { "ring-general-200 dark:ring-general-200": !e.invalid },
4455
+ { "ring-general-200 dark:ring-grayscale-600": !e.invalid },
4470
4456
  // Invalid State
4471
- { "ring-danger-500 dark:ring-danger-500": e.invalid },
4457
+ { "ring-danger-500 dark:ring-danger-600": e.invalid },
4472
4458
  // States
4473
4459
  {
4474
- "hover:bg-primary-50/30 hover:ring-primary-500 dark:hover:ring-primary-400": !t.disabled && !e.invalid,
4475
- "focus:bg-primary-50/30 focus:ring-primary-500 dark:focus:ring-primary-400": !t.disabled && !e.invalid,
4476
- "focus:outline-none focus:outline-offset-0": !t.disabled,
4477
- "opacity-60 select-none pointer-events-none cursor-default": t.disabled
4460
+ "hover:bg-primary-50/30 dark:hover:bg-grayscale-800/30 hover:ring-primary-500 dark:hover:ring-primary-300": !r.disabled && !e.invalid,
4461
+ "focus:bg-primary-50/30 dark:focus:bg-grayscale-800/30 focus:ring-primary-500 dark:focus:ring-primary-300": !r.disabled && !e.invalid,
4462
+ "focus:outline-none focus:outline-offset-0": !r.disabled,
4463
+ "opacity-60 select-none pointer-events-none cursor-default": r.disabled
4478
4464
  },
4479
4465
  // Filled State *for FloatLabel
4480
- { filled: r.tagName == "WANGS-FLOAT-LABEL" && t.filled },
4466
+ { filled: t.tagName == "WANGS-FLOAT-LABEL" && r.filled },
4481
4467
  // Misc
4482
4468
  "appearance-none",
4483
4469
  "transition-colors duration-200"
4484
4470
  ]
4485
4471
  })
4486
- }), f = ({ isChromeBased: e, invalidInput: t }) => [
4472
+ }), g = ({ isChromeBased: e, invalidInput: r }) => [
4487
4473
  { "ring-[1px]": !e, "ring-[0.5px]": e },
4488
- { "!ring-danger-500": t },
4474
+ { "!ring-danger-500 dark:!ring-danger-300": r },
4489
4475
  "ring-inset",
4490
- "ring-general-200",
4476
+ "ring-general-200 dark:ring-grayscale-600",
4491
4477
  "[&:has(:focus)]:bg-none",
4492
- "[&:has(:focus)]:ring-primary-500",
4478
+ "[&:has(:focus)]:ring-primary-500 dark:[&:has(:focus)]:ring-primary-300",
4493
4479
  "[&:has(:focus)]:ring-1",
4494
- "bg-white",
4480
+ "bg-white dark:bg-grayscale-900",
4495
4481
  "z-[0] [&:has(:focus)]:z-[12]"
4496
4482
  ], be = {
4497
4483
  dialcode: {
4498
4484
  root: (e) => ({
4499
- class: [...f(e), "!rounded-l !rounded-r-none"]
4485
+ class: [...g(e), "!rounded-l !rounded-r-none"]
4500
4486
  }),
4501
- dropdownicon: ({ state: e }) => s.dropdownicon({ state: e })
4487
+ dropdownicon: ({ state: e }) => i.dropdownicon({ state: e })
4502
4488
  },
4503
4489
  input: (e) => ({
4504
4490
  class: [
4505
- ...f(e),
4491
+ ...g(e),
4506
4492
  "!rounded-r !rounded-l-none -ml-[1px]",
4507
4493
  "focus:bg-none",
4508
- "focus:ring-primary-500",
4494
+ "focus:ring-primary-500 dark:focus:ring-primary-300",
4509
4495
  "focus:ring-1"
4510
4496
  ]
4511
4497
  })
@@ -4680,7 +4666,7 @@ const me = m("WANGS-INPUT-OTP", {
4680
4666
  "bg-transparent"
4681
4667
  ]
4682
4668
  }
4683
- }, ve = {
4669
+ }, ye = {
4684
4670
  root: ({ props: e }) => ({
4685
4671
  class: [
4686
4672
  "relative",
@@ -4737,21 +4723,21 @@ const me = m("WANGS-INPUT-OTP", {
4737
4723
  }
4738
4724
  ]
4739
4725
  }),
4740
- content: ({ props: e, context: t }) => ({
4726
+ content: ({ props: e, context: r }) => ({
4741
4727
  class: [
4742
4728
  // Shape
4743
4729
  { "rounded-md": e.level < 1 },
4744
4730
  // Colors
4745
4731
  {
4746
- "text-surface-500/70": !t.focused && !t.active,
4747
- "text-surface-500/70 bg-surface-200": t.focused && !t.active,
4748
- "text-surface-900/80 bg-surface-50": t.focused && t.active,
4749
- "text-surface-900/80 bg-surface-50": !t.focused && t.active
4732
+ "text-surface-500/70": !r.focused && !r.active,
4733
+ "text-surface-500/70 bg-surface-200": r.focused && !r.active,
4734
+ "text-surface-900/80 bg-surface-50": r.focused && r.active,
4735
+ "text-surface-900/80 bg-surface-50": !r.focused && r.active
4750
4736
  },
4751
4737
  // Hover States
4752
4738
  {
4753
- "hover:bg-surface-50": !t.active,
4754
- "hover:bg-surface-100 text-surface-900/80": t.active
4739
+ "hover:bg-surface-50": !r.active,
4740
+ "hover:bg-surface-100 text-surface-900/80": r.active
4755
4741
  },
4756
4742
  // Transitions
4757
4743
  "transition-all",
@@ -4861,7 +4847,7 @@ const me = m("WANGS-INPUT-OTP", {
4861
4847
  end: {
4862
4848
  class: "ml-auto self-center"
4863
4849
  }
4864
- }, he = {
4850
+ }, ve = {
4865
4851
  root: {
4866
4852
  class: [
4867
4853
  // Position
@@ -4880,8 +4866,8 @@ const me = m("WANGS-INPUT-OTP", {
4880
4866
  "shadow",
4881
4867
  "overflow-hidden",
4882
4868
  // Colors
4883
- "bg-white",
4884
- "text-general-800"
4869
+ "bg-white dark:bg-grayscale-900",
4870
+ "text-general-800 dark:text-general-100"
4885
4871
  ]
4886
4872
  },
4887
4873
  menu: {
@@ -4922,7 +4908,7 @@ const me = m("WANGS-INPUT-OTP", {
4922
4908
  class: [
4923
4909
  "flex items-center justify-start gap-2",
4924
4910
  "px-4 py-[7px]",
4925
- "hover:bg-primary-50/80",
4911
+ "hover:bg-primary-50/80 dark:hover:bg-grayscale-800/80",
4926
4912
  "text-xs",
4927
4913
  // 'relative',
4928
4914
  // Font
@@ -4947,7 +4933,10 @@ const me = m("WANGS-INPUT-OTP", {
4947
4933
  ]
4948
4934
  },
4949
4935
  label: ({ props: e }) => ({
4950
- class: ["text-inherit", { "!text-danger-500": e.danger }]
4936
+ class: [
4937
+ "text-inherit",
4938
+ { "!text-danger-500 dark:!text-danger-600": e.danger }
4939
+ ]
4951
4940
  }),
4952
4941
  submenuheader: {
4953
4942
  class: [
@@ -4961,7 +4950,7 @@ const me = m("WANGS-INPUT-OTP", {
4961
4950
  leaveActiveClass: "transition-opacity duration-100 ease-linear",
4962
4951
  leaveToClass: "opacity-0"
4963
4952
  }
4964
- }, ye = {
4953
+ }, he = {
4965
4954
  root: {
4966
4955
  class: [
4967
4956
  "relative",
@@ -5011,20 +5000,20 @@ const me = m("WANGS-INPUT-OTP", {
5011
5000
  menuitem: {
5012
5001
  class: "sm:relative sm:w-auto w-full static"
5013
5002
  },
5014
- content: ({ props: e, context: t }) => ({
5003
+ content: ({ props: e, context: r }) => ({
5015
5004
  class: [
5016
5005
  // Shape
5017
5006
  { "rounded-md": e.root },
5018
5007
  // Colors
5019
5008
  {
5020
- "text-surface-500/70": !t.focused && !t.active,
5021
- "text-surface-500/70 bg-surface-200": t.focused && !t.active,
5022
- "text-surface-900/80 bg-surface-50": !t.focused && t.active
5009
+ "text-surface-500/70": !r.focused && !r.active,
5010
+ "text-surface-500/70 bg-surface-200": r.focused && !r.active,
5011
+ "text-surface-900/80 bg-surface-50": !r.focused && r.active
5023
5012
  },
5024
5013
  // Hover States
5025
5014
  {
5026
- "hover:bg-surface-50": !t.active,
5027
- "hover:bg-surface-100 text-surface-900/80": t.active
5015
+ "hover:bg-surface-50": !r.active,
5016
+ "hover:bg-surface-100 text-surface-900/80": r.active
5028
5017
  },
5029
5018
  // Transitions
5030
5019
  "transition-all",
@@ -5547,8 +5536,8 @@ const me = m("WANGS-INPUT-OTP", {
5547
5536
  "absolute left-0 top-0 mt-2",
5548
5537
  "z-40 transform origin-center",
5549
5538
  // Color
5550
- "bg-white",
5551
- "text-general-800",
5539
+ "bg-white dark:bg-grayscale-900",
5540
+ "text-general-800 dark:text-white",
5552
5541
  // Before: Triangle
5553
5542
  "before:absolute before:-top-2 before:ml-4 before:z-50",
5554
5543
  "before:w-0 before:h-0 before:shadow-xl"
@@ -5571,8 +5560,8 @@ const me = m("WANGS-INPUT-OTP", {
5571
5560
  class: [
5572
5561
  // Flex & Alignment
5573
5562
  "flex items-center justify-start flex-wrap gap-0.5",
5574
- "bg-white",
5575
- "text-grayscale-900"
5563
+ "bg-white dark:bg-grayscale-900",
5564
+ "text-grayscale-900 dark:text-grayscale-50"
5576
5565
  ]
5577
5566
  },
5578
5567
  paginatorwrapper: {
@@ -5593,7 +5582,7 @@ const me = m("WANGS-INPUT-OTP", {
5593
5582
  // Size
5594
5583
  "w-6 h-6",
5595
5584
  // Color
5596
- "text-general-300",
5585
+ "text-general-300 dark:text-grayscale-500 ",
5597
5586
  // Transition
5598
5587
  "transition duration-200",
5599
5588
  // Misc
@@ -5613,7 +5602,7 @@ const me = m("WANGS-INPUT-OTP", {
5613
5602
  // Size
5614
5603
  "w-6 h-6",
5615
5604
  // Color
5616
- "text-general-300",
5605
+ "text-general-300 dark:text-grayscale-500 ",
5617
5606
  // Transition
5618
5607
  "transition duration-200",
5619
5608
  // Misc
@@ -5633,7 +5622,7 @@ const me = m("WANGS-INPUT-OTP", {
5633
5622
  // Size
5634
5623
  "w-6 h-6",
5635
5624
  // Color
5636
- "text-general-300",
5625
+ "text-general-300 dark:text-grayscale-500 ",
5637
5626
  // Transition
5638
5627
  "transition duration-200",
5639
5628
  // Misc
@@ -5653,7 +5642,7 @@ const me = m("WANGS-INPUT-OTP", {
5653
5642
  // Size
5654
5643
  "w-6 h-6",
5655
5644
  // Color
5656
- "text-general-300",
5645
+ "text-general-300 dark:text-grayscale-500 ",
5657
5646
  // Transition
5658
5647
  "transition duration-200",
5659
5648
  // Misc
@@ -5672,13 +5661,13 @@ const me = m("WANGS-INPUT-OTP", {
5672
5661
  "w-6 h-6",
5673
5662
  // Color
5674
5663
  {
5675
- "text-general-300 border-none hover:bg-grayscale-50": !e.active,
5676
- "text-white bg-primary-500": e.active
5664
+ "text-general-300 dark:text-grayscale-700 border-none hover:bg-grayscale-50 dark:hover:bg-grayscale-800": !e.active,
5665
+ "text-white dark:text-primary-800 bg-primary-500 dark:bg-primary-300": e.active
5677
5666
  },
5678
5667
  // State
5679
5668
  {
5680
5669
  "hover:border-surface-300": !e.disabled && !e.active,
5681
- "focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring-2 focus-visible:ring-primary-500": !e.disabled
5670
+ "focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-300": !e.disabled
5682
5671
  },
5683
5672
  // Transition
5684
5673
  "transition duration-200",
@@ -5688,7 +5677,7 @@ const me = m("WANGS-INPUT-OTP", {
5688
5677
  ]
5689
5678
  }),
5690
5679
  rowperpagedropdown: {
5691
- root: ({ props: e, state: t }) => ({
5680
+ root: ({ props: e, state: r }) => ({
5692
5681
  class: [
5693
5682
  // Display and Position
5694
5683
  "inline-flex items-center justify-center",
@@ -5700,13 +5689,13 @@ const me = m("WANGS-INPUT-OTP", {
5700
5689
  "rounded-[50px]",
5701
5690
  // Color and Background
5702
5691
  "bg-transparent",
5703
- "border-[0.5px] border-general-200",
5692
+ "border-[0.5px] border-general-200 dark:border-grayscale-600",
5704
5693
  // Transitions
5705
5694
  "transition-all",
5706
5695
  "duration-200",
5707
5696
  // States
5708
5697
  {
5709
- "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-600": !t.focused
5698
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-600 dark:focus-visible:ring-primary-400": !r.focused
5710
5699
  },
5711
5700
  // Misc
5712
5701
  "cursor-pointer",
@@ -5728,7 +5717,7 @@ const me = m("WANGS-INPUT-OTP", {
5728
5717
  "flex items-center",
5729
5718
  // Color and Background
5730
5719
  "bg-transparent",
5731
- "text-general-800",
5720
+ "text-general-800 dark:text-general-50",
5732
5721
  // Sizing and Spacing
5733
5722
  "w-max",
5734
5723
  // 'py-1.5 px-3 pr-0',
@@ -5776,9 +5765,9 @@ const me = m("WANGS-INPUT-OTP", {
5776
5765
  "rounded-md",
5777
5766
  // 'shadow-md',
5778
5767
  // Color
5779
- "bg-white",
5780
- "text-general-800",
5781
- "ring-1 ring-inset ring-general-200"
5768
+ "bg-white dark:bg-grayscale-900",
5769
+ "text-general-800 dark:text-general-100",
5770
+ "ring-1 ring-inset ring-general-200 dark:ring-grayscale-600"
5782
5771
  ]
5783
5772
  },
5784
5773
  wrapper: {
@@ -5820,7 +5809,7 @@ const me = m("WANGS-INPUT-OTP", {
5820
5809
  // !context.focused && context.selected,
5821
5810
  // },
5822
5811
  //States
5823
- "hover:bg-primary-50",
5812
+ "hover:bg-primary-50 dark:hover:bg-grayscale-800",
5824
5813
  // Misc
5825
5814
  "cursor-pointer",
5826
5815
  "overflow-hidden",
@@ -5845,8 +5834,8 @@ const me = m("WANGS-INPUT-OTP", {
5845
5834
  "flex-auto",
5846
5835
  // Color and Background
5847
5836
  "bg-transparent",
5848
- "border-general-200 border-[0.5px]",
5849
- "text-general-800",
5837
+ "border-general-200 dark:border-grayscale-600 border-[0.5px]",
5838
+ "text-general-800 dark:text-general-100",
5850
5839
  // Sizing and Spacing
5851
5840
  "max-w-[3rem] w-fit",
5852
5841
  "px-3 py-1",
@@ -5856,7 +5845,7 @@ const me = m("WANGS-INPUT-OTP", {
5856
5845
  "transition",
5857
5846
  "duration-200",
5858
5847
  // States
5859
- "hover:ring-general-200",
5848
+ "hover:ring-general-200 dark:hover:ring-grayscale-600",
5860
5849
  "focus-visible:outline-none focus-visible:shadow-none",
5861
5850
  // 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-body',
5862
5851
  // Misc
@@ -5869,7 +5858,7 @@ const me = m("WANGS-INPUT-OTP", {
5869
5858
  }
5870
5859
  },
5871
5860
  jumptopagedropdown: {
5872
- root: ({ props: e, state: t }) => ({
5861
+ root: ({ props: e, state: r }) => ({
5873
5862
  class: [
5874
5863
  // Display and Position
5875
5864
  "inline-flex",
@@ -5886,7 +5875,7 @@ const me = m("WANGS-INPUT-OTP", {
5886
5875
  "duration-200",
5887
5876
  // States
5888
5877
  {
5889
- "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-600": !t.focused
5878
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-600 dark:focus-visible:ring-primary-400": !r.focused
5890
5879
  },
5891
5880
  // Misc
5892
5881
  "cursor-pointer",
@@ -5993,13 +5982,13 @@ const me = m("WANGS-INPUT-OTP", {
5993
5982
  "text-surface-700/80": !e.focused && !e.selected
5994
5983
  },
5995
5984
  {
5996
- "bg-primary-500 text-white": e.focused && e.selected
5985
+ "bg-primary-500 dark:bg-primary-300 text-white dark:text-primary-800": e.focused && e.selected
5997
5986
  },
5998
5987
  {
5999
5988
  "bg-transparent text-surface-700/80": !e.focused && e.selected
6000
5989
  },
6001
5990
  //States
6002
- "hover:bg-primary-500 hover:text-white",
5991
+ "hover:bg-primary-500 hover:text-white dark:hover:bg-primary-300 dark:hover:text-primary-800",
6003
5992
  // Misc
6004
5993
  "cursor-pointer",
6005
5994
  "overflow-hidden",
@@ -6089,7 +6078,7 @@ const me = m("WANGS-INPUT-OTP", {
6089
6078
  leaveActiveClass: "overflow-hidden transition-[max-height] duration-[450ms] ease-[cubic-bezier(0,1,0,1)]",
6090
6079
  leaveToClass: "max-h-0"
6091
6080
  }
6092
- }, Te = {
6081
+ }, _e = {
6093
6082
  panel: {
6094
6083
  class: "mb-1"
6095
6084
  },
@@ -6100,15 +6089,15 @@ const me = m("WANGS-INPUT-OTP", {
6100
6089
  "focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring focus-visible:ring-primary-400/50"
6101
6090
  ]
6102
6091
  },
6103
- headercontent: ({ context: e, instance: t }) => {
6104
- var r, i;
6092
+ headercontent: ({ context: e, instance: r }) => {
6093
+ var t, a;
6105
6094
  return {
6106
6095
  class: [
6107
6096
  // Shape
6108
6097
  "rounded-t-md",
6109
6098
  {
6110
- "rounded-br-md rounded-bl-md": !e.active || ((r = t.activeItem) == null ? void 0 : r.items) === void 0,
6111
- "rounded-br-0 rounded-bl-0": e.active && ((i = t.activeItem) == null ? void 0 : i.items) !== void 0
6099
+ "rounded-br-md rounded-bl-md": !e.active || ((t = r.activeItem) == null ? void 0 : t.items) === void 0,
6100
+ "rounded-br-0 rounded-bl-0": e.active && ((a = r.activeItem) == null ? void 0 : a.items) !== void 0
6112
6101
  },
6113
6102
  // Color
6114
6103
  "border border-surface-200",
@@ -6206,13 +6195,13 @@ const me = m("WANGS-INPUT-OTP", {
6206
6195
  leaveActiveClass: "overflow-hidden transition-[max-height] duration-[450ms] ease-[cubic-bezier(0,1,0,1)]",
6207
6196
  leaveToClass: "max-h-0"
6208
6197
  }
6209
- }, _e = {
6198
+ }, Pe = {
6210
6199
  root: ({ props: e }) => ({
6211
6200
  class: [
6212
6201
  "w-full",
6213
6202
  "inline-flex relative",
6214
6203
  // 'border-[0.5px] border-general-200 rounded',
6215
- "text-general-800",
6204
+ "text-general-800 dark:text-general-50",
6216
6205
  {
6217
6206
  "opacity-60 select-none pointer-events-none cursor-default": e.disabled
6218
6207
  }
@@ -6220,7 +6209,7 @@ const me = m("WANGS-INPUT-OTP", {
6220
6209
  }),
6221
6210
  input: {
6222
6211
  class: [
6223
- "!bg-primary-500",
6212
+ "!bg-primary-500 dark:!bg-primary-300",
6224
6213
  "placeholder:!font-normal"
6225
6214
  // 'bg-white text-general-800 placeholder:text-general-200 placeholder:font-light',
6226
6215
  // 'w-full h-full !max-h-[43px]',
@@ -6239,8 +6228,8 @@ const me = m("WANGS-INPUT-OTP", {
6239
6228
  "border-0",
6240
6229
  "shadow-md rounded-md",
6241
6230
  // Colors
6242
- "bg-white",
6243
- "text-general-800",
6231
+ "bg-white dark:bg-grayscale-900",
6232
+ "text-general-800 dark:text-general-50",
6244
6233
  ""
6245
6234
  ]
6246
6235
  },
@@ -6254,22 +6243,21 @@ const me = m("WANGS-INPUT-OTP", {
6254
6243
  "h-2",
6255
6244
  "rounded-md",
6256
6245
  // Spacing
6257
- "mb-2",
6246
+ "mb-2"
6258
6247
  // Colors
6259
- "bg-surface-100"
6260
6248
  ]
6261
6249
  },
6262
6250
  meterlabel: ({ instance: e }) => {
6263
- var t, r, i;
6251
+ var r, t, a;
6264
6252
  return {
6265
6253
  class: [
6266
6254
  // Size
6267
6255
  "h-full",
6268
6256
  // Colors
6269
6257
  {
6270
- "bg-red-500/50": ((t = e == null ? void 0 : e.meter) == null ? void 0 : t.strength) == "weak",
6271
- "bg-orange-500/50": ((r = e == null ? void 0 : e.meter) == null ? void 0 : r.strength) == "medium",
6272
- "bg-green-500/50": ((i = e == null ? void 0 : e.meter) == null ? void 0 : i.strength) == "strong"
6258
+ "bg-red-500/50 dark:bg-red-600/50": ((r = e == null ? void 0 : e.meter) == null ? void 0 : r.strength) == "weak",
6259
+ "bg-orange-500/50 dark:bg-orange-600/50": ((t = e == null ? void 0 : e.meter) == null ? void 0 : t.strength) == "medium",
6260
+ "bg-green-500/50 dark:bg-green-600/50": ((a = e == null ? void 0 : e.meter) == null ? void 0 : a.strength) == "strong"
6273
6261
  },
6274
6262
  // Transitions
6275
6263
  "transition-all duration-1000 ease-in-out"
@@ -6279,15 +6267,15 @@ const me = m("WANGS-INPUT-OTP", {
6279
6267
  showicon: {
6280
6268
  class: [
6281
6269
  "absolute top-[54%] right-3 -mt-2",
6282
- "text-general-200",
6283
- "focus-visible:text-general-500 hover:text-general-500",
6270
+ "text-general-200 dark:text-general-400",
6271
+ "focus-visible:text-general-500 dark:focus-visible:text-general-100 hover:text-general-500 dark:hover:text-general-100",
6284
6272
  "[&>.icon]:!w-4 [&>.icon]:!h-4"
6285
6273
  ]
6286
6274
  },
6287
6275
  hideicon: {
6288
6276
  class: [
6289
6277
  "absolute top-[54%] right-3 -mt-2",
6290
- "text-general-200"
6278
+ "text-general-200 dark:text-general-400"
6291
6279
  ]
6292
6280
  },
6293
6281
  transition: {
@@ -6296,7 +6284,7 @@ const me = m("WANGS-INPUT-OTP", {
6296
6284
  leaveActiveClass: "transition-opacity duration-100 ease-linear",
6297
6285
  leaveToClass: "opacity-0"
6298
6286
  }
6299
- }, Ne = {
6287
+ }, Te = {
6300
6288
  root: {
6301
6289
  class: [
6302
6290
  // Flexbox
@@ -6867,7 +6855,7 @@ const me = m("WANGS-INPUT-OTP", {
6867
6855
  leaveActiveClass: "!transition-none",
6868
6856
  leaveToClass: "!transition-none"
6869
6857
  }
6870
- }, Ie = {
6858
+ }, Ne = {
6871
6859
  root: ({ props: e }) => ({
6872
6860
  class: [
6873
6861
  {
@@ -6993,21 +6981,21 @@ const me = m("WANGS-INPUT-OTP", {
6993
6981
  "ring-1",
6994
6982
  { "ring-1": !k, "ring-[0.5px]": k },
6995
6983
  {
6996
- "before:bg-white": e.modelValue == e.trueValue,
6997
- "before:bg-general-100": e.modelValue !== e.trueValue,
6984
+ "before:bg-white dark:before:bg-grayscale-900": e.modelValue == e.trueValue,
6985
+ "before:bg-general-100 dark:before:bg-general-500": e.modelValue !== e.trueValue,
6998
6986
  // Inactive and Enabled
6999
- "bg-white ring-general-100": e.modelValue !== e.trueValue && !e.disabled,
6987
+ "bg-transparent ring-general-100 dark:ring-general-500": e.modelValue !== e.trueValue && !e.disabled,
7000
6988
  // Active and Enabled
7001
- "bg-primary-500 ring-transparent": e.modelValue == e.trueValue && !e.disabled,
6989
+ "bg-primary-500 dark:bg-primary-300 ring-transparent": e.modelValue == e.trueValue && !e.disabled,
7002
6990
  // Active and Disabled
7003
- "bg-general-200 ring-transparent": e.modelValue == e.trueValue && e.disabled,
6991
+ "bg-general-200 dark:bg-general-400 ring-transparent": e.modelValue == e.trueValue && e.disabled,
7004
6992
  // Inactive and Disabled
7005
- "bg-general-200 ring-general-100": e.modelValue !== e.trueValue && e.disabled
6993
+ "bg-general-200 dark:bg-general-400 ring-general-100 dark:ring-general-500": e.modelValue !== e.trueValue && e.disabled
7006
6994
  },
7007
6995
  // TriState colors
7008
6996
  e.triState && {
7009
- "!bg-danger-500 before:!bg-white ring-transparent": e.modelValue == e.falseValue && !e.disabled,
7010
- "!bg-success-500 before:!bg-white ring-transparent": e.modelValue == e.trueValue && !e.disabled
6997
+ "!bg-danger-500 dark:!bg-danger-200 before:!bg-white dark:before:!bg-grayscale-900 ring-transparent": e.modelValue == e.falseValue && !e.disabled,
6998
+ "!bg-success-500 dark:!bg-success-300 before:!bg-white dark:before:!bg-grayscale-900 ring-transparent": e.modelValue == e.trueValue && !e.disabled
7011
6999
  },
7012
7000
  // States
7013
7001
  "peer-focus-visible:!outline peer-focus-visible:!outline-offset-0 peer-focus-visible:!outline-primary-500/[5%]",
@@ -7049,7 +7037,7 @@ const me = m("WANGS-INPUT-OTP", {
7049
7037
  "relative",
7050
7038
  "w-max h-max items-start cursor-pointer",
7051
7039
  "flex items-start select-none text-xs tracking-[0.02em] font-medium",
7052
- "text-general-800",
7040
+ "text-general-800 dark:text-general-100",
7053
7041
  "shrink-0",
7054
7042
  // Alignment
7055
7043
  "inline-flex",
@@ -7063,10 +7051,10 @@ const me = m("WANGS-INPUT-OTP", {
7063
7051
  class: "ml-1 leading-4"
7064
7052
  },
7065
7053
  tooltipicon: {
7066
- class: "text-primary-500 w-[10px] h-[10px]"
7054
+ class: "text-primary-500 dark:text-primary-300 w-[10px] h-[10px]"
7067
7055
  }
7068
- }, Pe = {
7069
- root: ({ props: e, state: t }) => ({
7056
+ }, Ie = {
7057
+ root: ({ props: e, state: r }) => ({
7070
7058
  class: [
7071
7059
  "relative",
7072
7060
  // Flexbox & Alignment
@@ -7079,14 +7067,14 @@ const me = m("WANGS-INPUT-OTP", {
7079
7067
  "rounded-full",
7080
7068
  // Colors
7081
7069
  {
7082
- "bg-white": !e.disabled || t.checked,
7083
- "bg-general-50": e.disabled && !t.checked,
7084
- "ring-general-100": !e.disabled && !t.checked,
7085
- "ring-primary-500": !e.disabled && t.checked,
7086
- "ring-general-200": e.disabled
7070
+ "bg-white dark:bg-grayscale-800": !e.disabled || r.checked,
7071
+ "bg-general-50 dark:bg-grayscale-300": e.disabled && !r.checked,
7072
+ "ring-general-100 dark:ring-general-300": !e.disabled && !r.checked,
7073
+ "ring-primary-500 dark:ring-primary-300": !e.disabled && r.checked,
7074
+ "ring-general-200 dark:ring-general-400": e.disabled
7087
7075
  },
7088
7076
  {
7089
- "!ring-danger-500": e.invalid
7077
+ "!ring-danger-500 dark:!ring-danger-600": e.invalid
7090
7078
  },
7091
7079
  // Misc
7092
7080
  "cursor-pointer"
@@ -7094,7 +7082,7 @@ const me = m("WANGS-INPUT-OTP", {
7094
7082
  "data-wv-name": "buttonradio",
7095
7083
  "data-wv-section": "root"
7096
7084
  }),
7097
- box: ({ props: e, state: t }) => ({
7085
+ box: ({ props: e, state: r }) => ({
7098
7086
  class: [
7099
7087
  // Size
7100
7088
  "w-2 h-2",
@@ -7109,13 +7097,13 @@ const me = m("WANGS-INPUT-OTP", {
7109
7097
  "transition duration-200 ease-in-out",
7110
7098
  // Colors
7111
7099
  {
7112
- "bg-primary-500": t.checked && e.value !== void 0 && !e.disabled,
7113
- "bg-general-200": t.checked && e.value !== void 0 && e.disabled
7100
+ "bg-primary-500 dark:bg-primary-400": r.checked && e.value !== void 0 && !e.disabled,
7101
+ "bg-general-200 dark:bg-general-400": r.checked && e.value !== void 0 && e.disabled
7114
7102
  },
7115
7103
  // States
7116
7104
  {
7117
7105
  "outline-none outline-offset-0": !e.disabled,
7118
- "peer-focus-visible:ring-8 peer-focus-visible:ring-offset-2 peer-focus-visible:ring-primary-400/[8%]": !e.disabled
7106
+ "peer-focus-visible:ring-8 peer-focus-visible:ring-offset-2 peer-focus-visible:ring-primary-400/[8%] dark:peer-focus-visible:ring-primary-300": !e.disabled
7119
7107
  }
7120
7108
  ]
7121
7109
  }),
@@ -7180,13 +7168,13 @@ const me = m("WANGS-INPUT-OTP", {
7180
7168
  "text-red-500"
7181
7169
  ]
7182
7170
  },
7183
- item: ({ props: e, context: t }) => ({
7171
+ item: ({ props: e, context: r }) => ({
7184
7172
  class: [
7185
7173
  // Flex & Alignment
7186
7174
  "inline-flex items-center",
7187
7175
  // State
7188
7176
  {
7189
- "outline-none ring-2 ring-primary-500": t.focused
7177
+ "outline-none ring-2 ring-primary-500": r.focused
7190
7178
  },
7191
7179
  // Misc
7192
7180
  {
@@ -7217,12 +7205,12 @@ const me = m("WANGS-INPUT-OTP", {
7217
7205
  "transition duration-200 ease-in"
7218
7206
  ]
7219
7207
  })
7220
- }, Fe = {
7208
+ }, $e = {
7221
7209
  root: {
7222
7210
  class: ["block absolute bg-surface-0/50 rounded-full pointer-events-none"],
7223
7211
  style: "transform: scale(0)"
7224
7212
  }
7225
- }, Ve = {
7213
+ }, Fe = {
7226
7214
  wrapper: {
7227
7215
  class: [
7228
7216
  // Size & Position
@@ -7281,7 +7269,7 @@ const me = m("WANGS-INPUT-OTP", {
7281
7269
  "relative"
7282
7270
  ]
7283
7271
  }
7284
- }, Ue = {
7272
+ }, Ve = {
7285
7273
  root: ({ props: e }) => ({
7286
7274
  class: [
7287
7275
  // Flex & Alignment
@@ -7317,7 +7305,7 @@ const me = m("WANGS-INPUT-OTP", {
7317
7305
  leaveActiveClass: "transition-opacity duration-150",
7318
7306
  leaveToClass: "opacity-0"
7319
7307
  }
7320
- }, Ee = {
7308
+ }, Ue = {
7321
7309
  root: ({ props: e }) => ({
7322
7310
  class: [
7323
7311
  "shadow-sm flex flex-col min-w-[43px] w-max"
@@ -7489,7 +7477,7 @@ const me = m("WANGS-INPUT-OTP", {
7489
7477
  leaveActiveClass: "transition-opacity duration-400 ease-in",
7490
7478
  leaveToClass: "opacity-0 mask-active"
7491
7479
  }
7492
- }, Ge = {
7480
+ }, Ee = {
7493
7481
  root: ({ props: e }) => ({
7494
7482
  class: [
7495
7483
  "overflow-hidden",
@@ -7505,7 +7493,7 @@ const me = m("WANGS-INPUT-OTP", {
7505
7493
  "bg-general-50"
7506
7494
  ]
7507
7495
  })
7508
- }, $e = {
7496
+ }, Ge = {
7509
7497
  root: ({ props: e }) => ({
7510
7498
  class: [
7511
7499
  "relative",
@@ -8136,7 +8124,7 @@ const me = m("WANGS-INPUT-OTP", {
8136
8124
  "justify-center"
8137
8125
  ]
8138
8126
  },
8139
- action: ({ props: e, context: t, state: r }) => ({
8127
+ action: ({ props: e, context: r, state: t }) => ({
8140
8128
  class: [
8141
8129
  // Flexbox
8142
8130
  "inline-flex items-start relative",
@@ -8146,7 +8134,7 @@ const me = m("WANGS-INPUT-OTP", {
8146
8134
  "rounded-md",
8147
8135
  // Spacing
8148
8136
  {
8149
- "pr-4 min-[576px]:pr-32 md:pr-40": e.model.length !== t.index + 1
8137
+ "pr-4 min-[576px]:pr-32 md:pr-40": e.model.length !== r.index + 1
8150
8138
  },
8151
8139
  // Colors
8152
8140
  "bg-surface-0",
@@ -8156,10 +8144,10 @@ const me = m("WANGS-INPUT-OTP", {
8156
8144
  // After
8157
8145
  "after:border-t-2",
8158
8146
  {
8159
- "after:border-surface-200": r.d_activeStep <= t.index
8147
+ "after:border-surface-200": t.d_activeStep <= r.index
8160
8148
  },
8161
8149
  {
8162
- "after:border-primary-500": r.d_activeStep > t.index
8150
+ "after:border-primary-500": t.d_activeStep > r.index
8163
8151
  },
8164
8152
  "after:w-full",
8165
8153
  "after:absolute",
@@ -8167,10 +8155,10 @@ const me = m("WANGS-INPUT-OTP", {
8167
8155
  "after:left-0",
8168
8156
  "after:transform",
8169
8157
  "after:-mt-3",
8170
- { "after:hidden": e.model.length == t.index + 1 }
8158
+ { "after:hidden": e.model.length == r.index + 1 }
8171
8159
  ]
8172
8160
  }),
8173
- step: ({ context: e, props: t, state: r }) => ({
8161
+ step: ({ context: e, props: r, state: t }) => ({
8174
8162
  class: [
8175
8163
  // Flexbox
8176
8164
  "flex items-center justify-center",
@@ -8186,22 +8174,22 @@ const me = m("WANGS-INPUT-OTP", {
8186
8174
  "leading-[2rem]",
8187
8175
  // Colors
8188
8176
  {
8189
- "text-surface-400/60": !e.active && r.d_activeStep < e.index,
8190
- "border-surface-100": !e.active && r.d_activeStep < e.index,
8191
- "bg-surface-0": r.d_activeStep <= e.index
8177
+ "text-surface-400/60": !e.active && t.d_activeStep < e.index,
8178
+ "border-surface-100": !e.active && t.d_activeStep < e.index,
8179
+ "bg-surface-0": t.d_activeStep <= e.index
8192
8180
  },
8193
8181
  {
8194
8182
  "border-primary-500": e.active,
8195
8183
  "text-primary-500": e.active
8196
8184
  },
8197
8185
  {
8198
- "bg-primary-500": r.d_activeStep > e.index,
8199
- "text-surface-0": r.d_activeStep > e.index,
8200
- "border-primary-500": r.d_activeStep > e.index
8186
+ "bg-primary-500": t.d_activeStep > e.index,
8187
+ "text-surface-0": t.d_activeStep > e.index,
8188
+ "border-primary-500": t.d_activeStep > e.index
8201
8189
  },
8202
8190
  // States
8203
8191
  {
8204
- "hover:border-surface-300": !e.active && !t.readonly
8192
+ "hover:border-surface-300": !e.active && !r.readonly
8205
8193
  },
8206
8194
  // Transition
8207
8195
  "transition-colors duration-200 ease-in-out"
@@ -8241,17 +8229,17 @@ const me = m("WANGS-INPUT-OTP", {
8241
8229
  "list-none",
8242
8230
  "p-0 m-0",
8243
8231
  // Colors
8244
- "text-general-100",
8232
+ "text-general-100 dark:text-general-100",
8245
8233
  {
8246
- "w-max ring-1 ring-inset ring-general-100 rounded !m-[2px]": e.type === "segmented"
8234
+ "w-max ring-1 ring-inset ring-general-100 dark:ring-general-100 rounded !m-[2px]": e.type === "segmented"
8247
8235
  }
8248
8236
  ]
8249
8237
  }),
8250
8238
  menuitem: {
8251
8239
  class: "mr-0"
8252
8240
  },
8253
- action: ({ context: e, props: t }) => {
8254
- var r, i;
8241
+ action: ({ context: e, props: r }) => {
8242
+ var t, a;
8255
8243
  return {
8256
8244
  class: [
8257
8245
  "relative",
@@ -8262,37 +8250,37 @@ const me = m("WANGS-INPUT-OTP", {
8262
8250
  "flex items-center",
8263
8251
  // Spacing
8264
8252
  {
8265
- "rounded-xl py-1 px-3": t.type === "pill",
8266
- rounded: t.type === "segmented",
8267
- "p-2 pb-1.5 pt-0.5 !h-6": t.type === "tab",
8268
- "py-[5px] px-3 !h-[26px]": t.type === "segmented",
8269
- "ml-1": t.type === "pill" && e.index !== 0
8253
+ "rounded-xl py-1 px-3": r.type === "pill",
8254
+ rounded: r.type === "segmented",
8255
+ "p-2 pb-1.5 pt-0.5 !h-6": r.type === "tab",
8256
+ "py-[5px] px-3 !h-[26px]": r.type === "segmented",
8257
+ "ml-1": r.type === "pill" && e.index !== 0
8270
8258
  },
8271
8259
  // Shape
8272
8260
  {
8273
- "border-b-2": t.type === "tab"
8261
+ "border-b-2": r.type === "tab"
8274
8262
  },
8275
8263
  // Colors and Conditions
8276
8264
  {
8277
- "border-primary-500": e.active,
8278
- "border-grayscale-400": !e.active,
8279
- "text-grayscale-600": !e.active,
8280
- "text-primary-500": e.active && t.type !== "segmented",
8281
- "bg-primary-50 text-primary-500": t.type === "pill" && e.active,
8282
- "bg-grayscale-200 text-grayscale-800": t.type === "pill" && !e.active,
8283
- "bg-primary-500 text-white shadow-[-2px_2px_2px_rgba(0,0,0,0.25)]": t.type === "segmented" && e.active,
8284
- "!text-general-800": t.type === "segmented" && !e.active,
8285
- "bg-transparent ": t.type !== "pill" && !e.active
8265
+ "border-primary-500 dark:border-primary-300": e.active,
8266
+ "border-grayscale-400 dark:border-grayscale-600": !e.active,
8267
+ "text-grayscale-600 dark:text-grayscale-600": !e.active,
8268
+ "text-primary-500 dark:text-primary-300": e.active && r.type !== "segmented",
8269
+ "bg-primary-50 text-primary-500 dark:bg-primary-300 dark:text-primary-800": r.type === "pill" && e.active,
8270
+ "bg-grayscale-200 text-grayscale-800 dark:bg-grayscale-800 dark:text-grayscale-50": r.type === "pill" && !e.active,
8271
+ "bg-primary-500 text-white shadow-[-2px_2px_2px_rgba(0,0,0,0.25)] dark:bg-primary-300 dark:text-primary-800": r.type === "segmented" && e.active,
8272
+ "!text-general-800 dark:!text-general-50": r.type === "segmented" && !e.active,
8273
+ "bg-transparent dark:bg-transparent": r.type !== "pill" && !e.active
8286
8274
  },
8287
8275
  // States
8288
8276
  "focus-visible:outline-none focus-visible:outline-offset-0",
8289
8277
  {
8290
- "focus-visible:border-primary-200 focus-visible:text-primary-400": !e.active
8278
+ "focus-visible:border-primary-200 dark:focus-visible:border-primary-300 focus-visible:text-primary-400 dark:focus-visible:text-primary-500": !e.active
8291
8279
  },
8292
8280
  // Disabled States
8293
8281
  {
8294
- "pointer-events-none": (r = e.item) == null ? void 0 : r.disabled,
8295
- "opacity-60": (i = e.item) == null ? void 0 : i.disabled
8282
+ "pointer-events-none": (t = e.item) == null ? void 0 : t.disabled,
8283
+ "opacity-60": (a = e.item) == null ? void 0 : a.disabled
8296
8284
  },
8297
8285
  // Transitions
8298
8286
  "transition-all duration-200",
@@ -8310,7 +8298,7 @@ const me = m("WANGS-INPUT-OTP", {
8310
8298
  },
8311
8299
  inkbar: ({ props: e }) => ({
8312
8300
  class: [
8313
- "grow border-b-2 border-primary-100",
8301
+ "grow border-b-2 border-grayscale-400 dark:border-grayscale-600",
8314
8302
  {
8315
8303
  hidden: e.type === "pill" || e.useTrailingLine === !1 || e.type === "segmented"
8316
8304
  }
@@ -8392,7 +8380,7 @@ const me = m("WANGS-INPUT-OTP", {
8392
8380
  }
8393
8381
  ]
8394
8382
  }),
8395
- headerAction: ({ parent: e, context: t }) => ({
8383
+ headerAction: ({ parent: e, context: r }) => ({
8396
8384
  class: [
8397
8385
  "relative",
8398
8386
  // Font
@@ -8408,20 +8396,20 @@ const me = m("WANGS-INPUT-OTP", {
8408
8396
  "rounded-t-md",
8409
8397
  // Colors and Conditions
8410
8398
  {
8411
- "border-surface-200": e.state.d_activeIndex !== t.index,
8412
- "bg-surface-0": e.state.d_activeIndex !== t.index,
8413
- "text-surface-700/80": e.state.d_activeIndex !== t.index,
8414
- "bg-surface-0": e.state.d_activeIndex === t.index,
8415
- "border-primary-500": e.state.d_activeIndex === t.index,
8416
- "text-primary-500": e.state.d_activeIndex === t.index
8399
+ "border-surface-200": e.state.d_activeIndex !== r.index,
8400
+ "bg-surface-0": e.state.d_activeIndex !== r.index,
8401
+ "text-surface-700/80": e.state.d_activeIndex !== r.index,
8402
+ "bg-surface-0": e.state.d_activeIndex === r.index,
8403
+ "border-primary-500": e.state.d_activeIndex === r.index,
8404
+ "text-primary-500": e.state.d_activeIndex === r.index
8417
8405
  },
8418
8406
  // States
8419
8407
  "focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring-2 focus-visible:ring-inset",
8420
8408
  "focus-visible:ring-primary-500",
8421
8409
  {
8422
- "hover:bg-surface-0": e.state.d_activeIndex !== t.index,
8423
- "hover:border-surface-400": e.state.d_activeIndex !== t.index,
8424
- "hover:text-surface-900": e.state.d_activeIndex !== t.index
8410
+ "hover:bg-surface-0": e.state.d_activeIndex !== r.index,
8411
+ "hover:border-surface-400": e.state.d_activeIndex !== r.index,
8412
+ "hover:text-surface-900": e.state.d_activeIndex !== r.index
8425
8413
  },
8426
8414
  // Transitions
8427
8415
  "transition-all duration-200",
@@ -8536,17 +8524,17 @@ const me = m("WANGS-INPUT-OTP", {
8536
8524
  ]
8537
8525
  }
8538
8526
  }, He = {
8539
- root: ({ context: e, props: t }) => ({
8527
+ root: ({ context: e, props: r }) => ({
8540
8528
  class: [
8541
8529
  // Font
8542
8530
  "font-medium text-xs tracking-[0.02em]",
8543
- "placeholder:text-general-200 placeholder:!font-light",
8531
+ "placeholder:text-general-200 dark:placeholder:text-general-600 placeholder:!font-light",
8544
8532
  "w-full",
8545
8533
  {
8546
- "resize-none": t.autoResize,
8547
- resize: !t.autoResize
8534
+ "resize-none": r.autoResize,
8535
+ resize: !r.autoResize
8548
8536
  },
8549
- t.inputClass,
8537
+ r.inputClass,
8550
8538
  // Spacing
8551
8539
  "m-0",
8552
8540
  "py-1 px-3",
@@ -8555,19 +8543,19 @@ const me = m("WANGS-INPUT-OTP", {
8555
8543
  "appearance-none",
8556
8544
  ...ne,
8557
8545
  {
8558
- "!ring-danger-500": e.invalidInput
8546
+ "!ring-danger-500 dark:!ring-danger-300": e.invalidInput
8559
8547
  },
8560
8548
  // // States
8561
8549
  {
8562
- "bg-white text-general-800": !e.disabled,
8563
- "bg-general-50 text-general-200": e.disabled
8550
+ "bg-white text-general-800 dark:bg-grayscale-900 dark:text-general-50": !e.disabled,
8551
+ "bg-general-50 dark:bg-general-700 text-general-200 dark:text-general-500": e.disabled
8564
8552
  },
8565
8553
  "focus-visible:outline-none",
8566
8554
  // Misc
8567
8555
  "appearance-none",
8568
8556
  "transition-colors duration-200"
8569
8557
  ],
8570
- style: `min-height: ${t.rows * 26}px`,
8558
+ style: `min-height: ${r.rows * 26}px`,
8571
8559
  "data-wv-name": "textarea",
8572
8560
  "data-wv-section": "root"
8573
8561
  })
@@ -8673,23 +8661,26 @@ const me = m("WANGS-INPUT-OTP", {
8673
8661
  separator: {
8674
8662
  class: "border-t border-surface-200 my-1"
8675
8663
  }
8676
- }, g = (e) => {
8664
+ }, f = (e) => {
8677
8665
  if (!e) return !0;
8678
- const t = Object.keys(e);
8679
- return t.length ? t.every((r) => {
8680
- const i = e[r];
8681
- return typeof i == "object" ? Array.isArray(i) ? !i.length || i.every(
8682
- (n) => typeof n == "object" ? g(n) : n == null
8683
- ) : g(i) : i == null;
8666
+ const r = Object.keys(e);
8667
+ return r.length ? r.every((t) => {
8668
+ const a = e[t];
8669
+ return typeof a == "object" ? Array.isArray(a) ? !a.length || a.every(
8670
+ (n) => typeof n == "object" ? f(n) : n == null
8671
+ ) : f(a) : a == null;
8684
8672
  }) : !0;
8685
8673
  }, Ke = {
8686
8674
  root: ({ props: e }) => ({
8687
- class: ["flex flex-col grow", "text-xs font-normal text-grayscale-900"]
8675
+ class: [
8676
+ "flex flex-col grow",
8677
+ "text-xs font-normal text-grayscale-900 dark:text-general-100"
8678
+ ]
8688
8679
  }),
8689
- event: ({ props: e, context: t }) => ({
8680
+ event: ({ props: e, context: r }) => ({
8690
8681
  class: ["grid grid-cols-[max-content,1fr] gap-x-[10px] gap-y-1"]
8691
8682
  }),
8692
- opposite: ({ props: e, context: t }) => ({
8683
+ opposite: ({ props: e, context: r }) => ({
8693
8684
  class: "hidden"
8694
8685
  }),
8695
8686
  separator: ({ props: e }) => ({
@@ -8706,22 +8697,22 @@ const me = m("WANGS-INPUT-OTP", {
8706
8697
  "w-[22px] h-[22px]",
8707
8698
  "rounded-full",
8708
8699
  "bg-transparent",
8709
- "ring-1 ring-inset ring-general-100 p-0.5",
8700
+ "ring-1 ring-inset ring-general-100 dark:ring-general-500 p-0.5",
8710
8701
  "flex items-center justify-center"
8711
8702
  ]
8712
8703
  },
8713
8704
  markerArrow: (e) => ({
8714
8705
  class: [
8715
- "!w-3 !h-3 hidden transition-transform duration-200 ease-in-out text-grayscale-900",
8716
- { "!flex": e.detail && !g(e.detail) },
8706
+ "!w-3 !h-3 hidden transition-transform duration-200 ease-in-out text-grayscale-900 dark:text-general-100",
8707
+ { "!flex": e.detail && !f(e.detail) },
8717
8708
  { "rotate-180": e.showDetail }
8718
8709
  ],
8719
8710
  "data-wv-section": "markerArrow"
8720
8711
  }),
8721
8712
  markerDot: (e) => ({
8722
8713
  class: [
8723
- "hidden w-[6px] h-[6px] m-[3px] rounded-full bg-black",
8724
- { "!flex": !e.detail || g(e.detail) }
8714
+ "hidden w-[6px] h-[6px] m-[3px] rounded-full bg-black dark:bg-general-100",
8715
+ { "!flex": !e.detail || f(e.detail) }
8725
8716
  ],
8726
8717
  "data-wv-section": "markerDot"
8727
8718
  }),
@@ -8729,18 +8720,18 @@ const me = m("WANGS-INPUT-OTP", {
8729
8720
  class: ["leading-5 cursor-pointer truncate !text-xs !font-bold"]
8730
8721
  },
8731
8722
  contentDetailKey: {
8732
- class: ["text-general-400 whitespace-nowrap"]
8723
+ class: ["text-general-400 dark:text-general-200 whitespace-nowrap"]
8733
8724
  },
8734
8725
  contentDetailValue: {
8735
- class: ["text-xs text-general-800"]
8726
+ class: ["text-xs text-general-800 dark:text-general-50"]
8736
8727
  },
8737
8728
  contentDate: {
8738
8729
  class: ["text-xs font-medium"]
8739
8730
  },
8740
8731
  connector: ({ props: e }) => ({
8741
- class: ["w-[1px] grow bg-general-100"]
8732
+ class: ["w-[1px] grow bg-general-100 dark:bg-general-500"]
8742
8733
  }),
8743
- content: ({ props: e, context: t }) => ({
8734
+ content: ({ props: e, context: r }) => ({
8744
8735
  class: ["grid grid-rows-[max-content,auto] pb-2.5 gap-1"]
8745
8736
  })
8746
8737
  }, qe = {
@@ -8762,9 +8753,9 @@ const me = m("WANGS-INPUT-OTP", {
8762
8753
  "shadow-lg",
8763
8754
  // Colors
8764
8755
  {
8765
- "border-success-500 text-success-500 bg-success-50": e.message.severity === "success",
8766
- "border-danger-500 text-danger-500 bg-danger-50": e.message.severity === "error",
8767
- "border-primary-500 text-primary-500 bg-primary-50": e.message.severity === "info"
8756
+ "border-success-500 text-success-500 bg-success-50 dark:bg-success-50 dark:border-success-600 dark:text-success-600": e.message.severity === "success",
8757
+ "border-danger-500 text-danger-500 bg-danger-50 dark:bg-danger-50 dark:border-danger-600 dark:text-danger-600": e.message.severity === "error",
8758
+ "border-primary-500 text-primary-500 bg-primary-50 dark:bg-primary-50 dark:border-primary-600 dark:text-primary-600": e.message.severity === "info"
8768
8759
  }
8769
8760
  ],
8770
8761
  "data-wv-severity": e.message.severity
@@ -8801,9 +8792,9 @@ const me = m("WANGS-INPUT-OTP", {
8801
8792
  // Colors
8802
8793
  "bg-transparent",
8803
8794
  {
8804
- "text-success-500 hover:bg-success-100": e.message.severity === "success",
8805
- "text-danger-500 hover:bg-danger-100": e.message.severity === "error",
8806
- "text-primary-500 hover:bg-primary-100": e.message.severity === "info"
8795
+ "text-success-500 dark:text-success-600 hover:bg-success-100 dark:hover:bg-success-200": e.message.severity === "success",
8796
+ "text-danger-500 dark:text-danger-600 hover:bg-danger-100 dark:hover:bg-danger-200": e.message.severity === "error",
8797
+ "text-primary-500 dark:text-primary-600 hover:bg-primary-100 dark:hover:bg-primary-200": e.message.severity === "info"
8807
8798
  },
8808
8799
  // Transitions
8809
8800
  "transition duration-200 ease-in-out",
@@ -8924,7 +8915,7 @@ const me = m("WANGS-INPUT-OTP", {
8924
8915
  class: "flex items-center"
8925
8916
  }
8926
8917
  }, Ze = {
8927
- root: ({ context: e, props: t }) => ({
8918
+ root: ({ context: e, props: r }) => ({
8928
8919
  class: [
8929
8920
  // Position
8930
8921
  "absolute",
@@ -8946,13 +8937,13 @@ const me = m("WANGS-INPUT-OTP", {
8946
8937
  // Shape
8947
8938
  "rounded-lg",
8948
8939
  // Background
8949
- "bg-primary-50",
8940
+ "bg-primary-50 dark:bg-primary-100",
8950
8941
  // Spacing
8951
8942
  "px-2 py-1",
8952
8943
  // Typography
8953
8944
  "text-[0.7rem] font-light leading-4 text-left",
8954
8945
  // Color
8955
- "text-grayscale-900",
8946
+ "text-general-900 dark:text-general-900",
8956
8947
  // Misc
8957
8948
  "whitespace-pre-line",
8958
8949
  "break-words"
@@ -8992,7 +8983,7 @@ const me = m("WANGS-INPUT-OTP", {
8992
8983
  "focus:outline-none focus:outline-offset-0"
8993
8984
  ]
8994
8985
  },
8995
- content: ({ context: e, props: t }) => ({
8986
+ content: ({ context: e, props: r }) => ({
8996
8987
  class: [
8997
8988
  // Flex and Alignment
8998
8989
  "flex items-center",
@@ -9001,22 +8992,21 @@ const me = m("WANGS-INPUT-OTP", {
9001
8992
  // Spacing
9002
8993
  "p-1",
9003
8994
  // Colors
9004
- "text-surface-700",
9005
8995
  {
9006
- "bg-primary-50 !text-primary-500 [&_*]:text-primary-500": e.selected && t.selectionMode === "single"
8996
+ "bg-primary-50 dark:bg-primary-100 !text-primary-500 dark:!text-primary-300 [&_*]:text-primary-500 dark:[&_*]:text-primary-300 dark:[&_*]:hover:text-primary-300": e.selected && r.selectionMode === "single"
9007
8997
  },
9008
8998
  // States
9009
8999
  {
9010
- "hover:bg-primary-50": (t.selectionMode == "single" || t.selectionMode == "multiple" || t.selectionMode == "checkbox") && !e.disabled && !e.exactDisabled
9000
+ "hover:bg-primary-50 dark:hover:bg-primary-100 dark:[&_*]:hover:text-general-800 group": (r.selectionMode == "single" || r.selectionMode == "multiple" || r.selectionMode == "checkbox") && !e.disabled && !e.exactDisabled
9011
9001
  },
9012
9002
  {
9013
- "!text-general-200": e.disabled && !e.exactDisabled,
9003
+ "!text-general-200 dark:!text-grayscale-500": e.disabled && !e.exactDisabled,
9014
9004
  "!pointer-events-none !cursor-default": e.disabled || e.exactDisabled
9015
9005
  },
9016
9006
  // Transition
9017
9007
  "transition-shadow duration-200",
9018
9008
  {
9019
- "cursor-pointer select-none": t.selectionMode == "single" || t.selectionMode == "multiple"
9009
+ "cursor-pointer select-none": r.selectionMode == "single" || r.selectionMode == "multiple"
9020
9010
  },
9021
9011
  // Miscelanous
9022
9012
  { "cursor-pointer": !e.disabled }
@@ -9034,13 +9024,12 @@ const me = m("WANGS-INPUT-OTP", {
9034
9024
  // Spacing
9035
9025
  "mr-0.5",
9036
9026
  // Colors
9037
- "text-general-800",
9038
- "bg-transparent",
9027
+ "text-general-800 dark:text-general-100",
9028
+ "bg-transparent dark:bg-transparent",
9039
9029
  {
9040
9030
  invisible: e.leaf
9041
9031
  },
9042
9032
  // States
9043
- "hover:bg-surface-100",
9044
9033
  // Transition
9045
9034
  "transition duration-200",
9046
9035
  // Misc
@@ -9072,7 +9061,7 @@ const me = m("WANGS-INPUT-OTP", {
9072
9061
  "select-none"
9073
9062
  ]
9074
9063
  },
9075
- box: ({ props: e, context: t }) => ({
9064
+ box: ({ props: e, context: r }) => ({
9076
9065
  class: [
9077
9066
  // Alignment
9078
9067
  "flex",
@@ -9085,18 +9074,16 @@ const me = m("WANGS-INPUT-OTP", {
9085
9074
  "rounded",
9086
9075
  "border",
9087
9076
  // Colors
9088
- "text-surface-600",
9089
9077
  {
9090
- "border-surface-300 bg-surface-0": !t.checked,
9091
- "border-primary-500 bg-primary-500": t.checked
9078
+ "border-primary-500 bg-primary-500 dark:border-primary-300 dark:bg-primary-300": r.checked
9092
9079
  },
9093
9080
  {
9094
- "ring-2 ring-primary-500": !e.disabled && t.focused,
9081
+ "ring-2 ring-primary-500 dark:ring-primary-300": !e.disabled && r.focused,
9095
9082
  "cursor-default opacity-60": e.disabled
9096
9083
  },
9097
9084
  // States
9098
9085
  {
9099
- "peer-focus-visible:ring-2 peer-focus-visible:ring-primary-500": !e.disabled,
9086
+ "peer-focus-visible:ring-2 peer-focus-visible:ring-primary-500 dark:peer-focus-visible:ring-primary-300": !e.disabled,
9100
9087
  "cursor-default opacity-60": e.disabled
9101
9088
  },
9102
9089
  // Transitions
@@ -9124,7 +9111,7 @@ const me = m("WANGS-INPUT-OTP", {
9124
9111
  "opacity-0",
9125
9112
  "rounded-md",
9126
9113
  "outline-none",
9127
- "border-2 border-surface-300",
9114
+ "border-2",
9128
9115
  // Misc
9129
9116
  "appareance-none"
9130
9117
  ]
@@ -9137,7 +9124,7 @@ const me = m("WANGS-INPUT-OTP", {
9137
9124
  "w-3",
9138
9125
  "h-3",
9139
9126
  // Colors
9140
- "text-white",
9127
+ "text-white dark:text-general-800",
9141
9128
  // Transitions
9142
9129
  "transition-all",
9143
9130
  "duration-200"
@@ -9173,13 +9160,10 @@ const me = m("WANGS-INPUT-OTP", {
9173
9160
  // Shape
9174
9161
  "rounded-md",
9175
9162
  // Colors
9176
- "text-surface-900",
9177
- "placeholder:text-surface-400",
9178
- "bg-surface-0",
9179
- "ring-1 ring-inset ring-surface-300",
9163
+ "ring-1 ring-inset dark:ring-white",
9180
9164
  // States
9181
- "hover:border-primary-500",
9182
- "focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset focus:ring-primary-500",
9165
+ "hover:border-primary-500 dark:hover:border-primary-300",
9166
+ "focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset focus:ring-primary-500 dark:focus:ring-primary-300",
9183
9167
  // Transition & Misc
9184
9168
  "appearance-none",
9185
9169
  "transition-colors duration-200"
@@ -9187,30 +9171,29 @@ const me = m("WANGS-INPUT-OTP", {
9187
9171
  },
9188
9172
  loadingicon: {
9189
9173
  class: [
9190
- "text-general-400",
9174
+ "text-general-400 dark:text-general-100",
9191
9175
  "absolute text-lg top-[50%] right-[50%] -mt-2 -mr-2 animate-spin"
9192
9176
  ]
9193
9177
  },
9194
9178
  searchicon: {
9195
9179
  class: [
9196
9180
  // Position
9197
- "absolute top-1/2 -mt-2 right-3",
9181
+ "absolute top-1/2 -mt-2 right-3"
9198
9182
  // Color
9199
- "text-surface-600"
9200
9183
  ]
9201
9184
  },
9202
- label: ({ props: e, context: t }) => ({
9185
+ label: ({ props: e, context: r }) => ({
9203
9186
  class: [
9204
9187
  "inline-flex justify-between items-center gap-2",
9205
9188
  "w-full",
9206
9189
  {
9207
- "!text-general-200 !cursor-default": t.exactDisabled && e.node.key != -1
9190
+ "!text-general-200 !cursor-default": r.exactDisabled && e.node.key != -1
9208
9191
  },
9209
- "text-xs font-medium text-general-800"
9192
+ "text-xs font-medium text-general-800 dark:text-general-100"
9210
9193
  ]
9211
9194
  })
9212
- }, et = {
9213
- root: ({ props: e, state: t }) => ({
9195
+ }, er = {
9196
+ root: ({ props: e, state: r }) => ({
9214
9197
  class: [
9215
9198
  // Display and Position
9216
9199
  "inline-flex",
@@ -9223,8 +9206,8 @@ const me = m("WANGS-INPUT-OTP", {
9223
9206
  "bg-surface-0",
9224
9207
  // States
9225
9208
  {
9226
- "ring-1 ring-inset ring-surface-300": !t.focused,
9227
- "ring-2 ring-inset ring-primary-500": t.focused
9209
+ "ring-1 ring-inset ring-surface-300": !r.focused,
9210
+ "ring-2 ring-inset ring-primary-500": r.focused
9228
9211
  },
9229
9212
  // Misc
9230
9213
  "cursor-default",
@@ -9314,7 +9297,7 @@ const me = m("WANGS-INPUT-OTP", {
9314
9297
  "focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset focus:ring-primary-500"
9315
9298
  ]
9316
9299
  },
9317
- content: ({ context: e, props: t }) => ({
9300
+ content: ({ context: e, props: r }) => ({
9318
9301
  class: [
9319
9302
  // Flex and Alignment
9320
9303
  "flex items-center",
@@ -9329,12 +9312,12 @@ const me = m("WANGS-INPUT-OTP", {
9329
9312
  },
9330
9313
  // States
9331
9314
  {
9332
- "hover:bg-surface-200": t.selectionMode == "single" || t.selectionMode == "multiple"
9315
+ "hover:bg-surface-200": r.selectionMode == "single" || r.selectionMode == "multiple"
9333
9316
  },
9334
9317
  // Transition
9335
9318
  "transition-shadow duration-200",
9336
9319
  {
9337
- "cursor-pointer select-none": t.selectionMode == "single" || t.selectionMode == "multiple"
9320
+ "cursor-pointer select-none": r.selectionMode == "single" || r.selectionMode == "multiple"
9338
9321
  }
9339
9322
  ]
9340
9323
  }),
@@ -9391,7 +9374,7 @@ const me = m("WANGS-INPUT-OTP", {
9391
9374
  "select-none"
9392
9375
  ]
9393
9376
  },
9394
- box: ({ props: e, context: t }) => ({
9377
+ box: ({ props: e, context: r }) => ({
9395
9378
  class: [
9396
9379
  // Alignment
9397
9380
  "flex",
@@ -9406,11 +9389,11 @@ const me = m("WANGS-INPUT-OTP", {
9406
9389
  // Colors
9407
9390
  "text-surface-600",
9408
9391
  {
9409
- "border-surface-300 bg-surface-0": !t.checked,
9410
- "border-primary-500 bg-primary-500": t.checked
9392
+ "border-surface-300 bg-surface-0": !r.checked,
9393
+ "border-primary-500 bg-primary-500": r.checked
9411
9394
  },
9412
9395
  {
9413
- "ring-2 ring-primary-500": !e.disabled && t.focused,
9396
+ "ring-2 ring-primary-500": !e.disabled && r.focused,
9414
9397
  "cursor-default opacity-60": e.disabled
9415
9398
  },
9416
9399
  // States
@@ -9530,7 +9513,7 @@ const me = m("WANGS-INPUT-OTP", {
9530
9513
  leaveActiveClass: "transition-opacity duration-100 ease-linear",
9531
9514
  leaveToClass: "opacity-0"
9532
9515
  }
9533
- }, tt = {
9516
+ }, rr = {
9534
9517
  root: {
9535
9518
  class: [
9536
9519
  "relative",
@@ -9543,7 +9526,7 @@ const me = m("WANGS-INPUT-OTP", {
9543
9526
  "duration-200"
9544
9527
  ]
9545
9528
  },
9546
- box: ({ props: e, context: t }) => ({
9529
+ box: ({ props: e, context: r }) => ({
9547
9530
  class: [
9548
9531
  // Alignment
9549
9532
  "flex",
@@ -9558,18 +9541,18 @@ const me = m("WANGS-INPUT-OTP", {
9558
9541
  // Colors
9559
9542
  "text-surface-0",
9560
9543
  {
9561
- "border-general-100 bg-surface-0": !t.active && !e.disabled,
9562
- "border-primary-500 bg-primary-500": t.active && !e.disabled
9544
+ "border-general-100 bg-surface-0": !r.active && !e.disabled,
9545
+ "border-primary-500 bg-primary-500": r.active && !e.disabled
9563
9546
  },
9564
9547
  {
9565
- "ring-2 ring-primary-500": !e.disabled && t.focused,
9548
+ "ring-2 ring-primary-500": !e.disabled && r.focused,
9566
9549
  "cursor-default": e.disabled
9567
9550
  },
9568
9551
  // States
9569
9552
  {
9570
9553
  "peer-focus-visible:ring-2 peer-focus-visible:ring-offset-1 peer-focus-visible:ring-primary": !e.disabled,
9571
- "cursor-default bg-general-50 border-general-200": e.disabled && !t.active,
9572
- "bg-general-200 border-general-200": e.disabled && t.active
9554
+ "cursor-default bg-general-50 border-general-200": e.disabled && !r.active,
9555
+ "bg-general-200 border-general-200": e.disabled && r.active
9573
9556
  },
9574
9557
  // Transitions
9575
9558
  "transition-colors",
@@ -9630,13 +9613,15 @@ const me = m("WANGS-INPUT-OTP", {
9630
9613
  "duration-200"
9631
9614
  ]
9632
9615
  }
9633
- }, rt = {
9616
+ }, tr = {
9634
9617
  root: {
9635
- class: ["!mt-0 text-danger-500 text-xs font-light tracking-[0.02em]"],
9618
+ class: [
9619
+ "!mt-0 text-danger-500 text-xs font-light tracking-[0.02em] dark:text-danger-300"
9620
+ ],
9636
9621
  "data-wv-name": "validatormessage",
9637
9622
  "data-wv-section": "root"
9638
9623
  }
9639
- }, it = {
9624
+ }, ar = {
9640
9625
  root: {
9641
9626
  class: "flex gap-2 items-center shrink-0",
9642
9627
  "data-wv-name": "buttonbulkaction",
@@ -9648,7 +9633,7 @@ const me = m("WANGS-INPUT-OTP", {
9648
9633
  "data-wv-section": "menu"
9649
9634
  },
9650
9635
  selectionmessage: {
9651
- class: "text-xs text-grayscale-900 cursor-default whitespace-nowrap",
9636
+ class: "text-xs text-grayscale-900 dark:text-white cursor-default whitespace-nowrap",
9652
9637
  "data-wv-section": "selectionmessage"
9653
9638
  },
9654
9639
  buttonselectall: ({ context: e }) => ({
@@ -9663,23 +9648,25 @@ const me = m("WANGS-INPUT-OTP", {
9663
9648
  "data-wv-section": "bulkactiontoggle"
9664
9649
  },
9665
9650
  dropdownmenu: {
9666
- root: ({ props: e, state: t }) => ({
9651
+ root: ({ props: e, state: r }) => ({
9667
9652
  class: [
9668
9653
  "flex items-center gap-1 transition-all shrink-0",
9669
9654
  "py-[5px] px-3",
9670
- "ring-inset ring-1 ring-primary-500 rounded",
9655
+ "ring-inset ring-1 ring-primary-500 dark:ring-primary-300 rounded",
9671
9656
  { "opacity-60": e.disabled, "pointer-events-none": e.disabled }
9672
9657
  ],
9673
9658
  "data-wv-section": "dropdownmenu"
9674
9659
  }),
9675
- input: ({ props: e, state: t }) => ({
9660
+ input: ({ props: e, state: r }) => ({
9676
9661
  class: [
9677
- "w-full h-full transition-transform !text-primary-500 cursor-pointer",
9662
+ "w-full h-full transition-transform !text-primary-500 dark:!text-primary-300 cursor-pointer",
9678
9663
  "text-xs font-medium outline-none tracking-[0.02em] leading-4"
9679
9664
  ]
9680
9665
  }),
9681
9666
  trigger: {
9682
- class: ["text-primary-500 [&_i]:w-4 [&_i]:h-4 shrink-0"]
9667
+ class: [
9668
+ "text-primary-500 dark:text-primary-300 [&_i]:w-4 [&_i]:h-4 shrink-0"
9669
+ ]
9683
9670
  },
9684
9671
  item: () => ""
9685
9672
  },
@@ -9691,14 +9678,14 @@ const me = m("WANGS-INPUT-OTP", {
9691
9678
  class: "!p-0 !w-6 !h-6 [&_.icon]:!w-5 [&_.icon]:!h-5",
9692
9679
  "data-wv-section": "buttonclearselection"
9693
9680
  }
9694
- }, st = {
9681
+ }, ir = {
9695
9682
  root: {
9696
9683
  class: "flex flex-nowrap items-center gap-1",
9697
9684
  "data-wv-name": "badgegroup",
9698
9685
  "data-wv-section": "root"
9699
9686
  },
9700
9687
  showmorebutton: {
9701
- class: "!p-1 !h-auto text-primary-500 !font-medium text-xs leading-4 tracking-[0.02em]",
9688
+ class: "!p-1 !h-auto text-primary-500 dark:text-primary-300 !font-medium text-xs leading-4 tracking-[0.02em]",
9702
9689
  "data-wv-section": "showmorebutton"
9703
9690
  },
9704
9691
  showmoredialog: {
@@ -9707,7 +9694,9 @@ const me = m("WANGS-INPUT-OTP", {
9707
9694
  "data-wv-section": "showmoredialog"
9708
9695
  },
9709
9696
  title: {
9710
- class: ["text-general-900 text-sm font-semibold leading-5"],
9697
+ class: [
9698
+ "text-general-900 dark:text-general-100 text-sm font-semibold leading-5"
9699
+ ],
9711
9700
  "data-wv-section": "showmoredialogtitle"
9712
9701
  },
9713
9702
  content: {
@@ -9716,11 +9705,11 @@ const me = m("WANGS-INPUT-OTP", {
9716
9705
  }
9717
9706
  // All section in Dialog Preset can be added here
9718
9707
  }
9719
- }, nt = {
9708
+ }, nr = {
9720
9709
  root: {
9721
9710
  class: [
9722
9711
  "flex gap-[5px] items-center text-left h-[26px]",
9723
- "text-general-800",
9712
+ "text-general-800 dark:text-general-100",
9724
9713
  "text-xs font-medium leading-4 tracking-[0.02em]"
9725
9714
  ],
9726
9715
  "data-wv-name": "breadcrumb",
@@ -9728,29 +9717,29 @@ const me = m("WANGS-INPUT-OTP", {
9728
9717
  },
9729
9718
  item: ({ context: e }) => ({
9730
9719
  class: {
9731
- "font-bold text-general-400": e.lastItem,
9732
- "text-primary-500": !e.lastItem && !e.firstItem
9720
+ "font-bold text-general-400 dark:text-general-50": e.lastItem,
9721
+ "text-primary-500 dark:text-primary-300": !e.lastItem && !e.firstItem
9733
9722
  },
9734
9723
  "data-wv-section": "breadcrumb-menu"
9735
9724
  }),
9736
9725
  itemlink: {
9737
- class: "cursor-pointer text-primary",
9726
+ class: "cursor-pointer",
9738
9727
  "data-wv-section": "itemlink"
9739
9728
  },
9740
9729
  separator: {
9741
9730
  content: ">",
9742
9731
  "data-wv-section": "separator"
9743
9732
  }
9744
- }, at = {
9733
+ }, sr = {
9745
9734
  currency: (e) => ({
9746
- class: [...f(e), "!rounded-l !rounded-r-none"],
9735
+ class: [...g(e), "!rounded-l !rounded-r-none"],
9747
9736
  "data-wv-section": "currency"
9748
9737
  }),
9749
9738
  value: (e) => ({
9750
- class: [...f(e), "!rounded-r !rounded-l-none -ml-[1px]"],
9739
+ class: [...g(e), "!rounded-r !rounded-l-none -ml-[1px]"],
9751
9740
  "data-wv-section": "value"
9752
9741
  })
9753
- }, ot = {
9742
+ }, or = {
9754
9743
  root: {
9755
9744
  "data-wv-name": "fileupload",
9756
9745
  "data-wv-section": "root"
@@ -9772,7 +9761,7 @@ const me = m("WANGS-INPUT-OTP", {
9772
9761
  requirements: {
9773
9762
  class: "flex justify-start"
9774
9763
  }
9775
- }, lt = {
9764
+ }, lr = {
9776
9765
  root: {
9777
9766
  class: [
9778
9767
  "flex flex-col items-start justify-start relative gap-1 w-full shrink-0 overflow-hidden"
@@ -9780,28 +9769,28 @@ const me = m("WANGS-INPUT-OTP", {
9780
9769
  "data-wv-name": "fieldwrapper",
9781
9770
  "data-wv-section": "root"
9782
9771
  },
9783
- label: ({ props: e, slots: t }) => ({
9772
+ label: ({ props: e, slots: r }) => ({
9784
9773
  class: [
9785
9774
  [
9786
- "text-general-900 text-xs flex gap-[2px] font-medium tracking-[0.02em]",
9775
+ "text-general-900 dark:text-general-100 text-xs flex gap-[2px] font-medium tracking-[0.02em]",
9787
9776
  e.labelClass
9788
9777
  ],
9789
9778
  {
9790
- "w-full": t["label-addon"]
9779
+ "w-full": r["label-addon"]
9791
9780
  }
9792
9781
  ],
9793
9782
  "data-wv-section": "fieldlabel"
9794
9783
  }),
9795
9784
  info: {
9796
- class: "w-2.5 h-2.5 text-primary-500"
9785
+ class: "w-2.5 h-2.5 text-primary-500 dark:text-primary-300"
9797
9786
  },
9798
9787
  optionaltext: {
9799
- class: "text-grayscale-700 text-[10px] font-normal leading-4"
9788
+ class: "text-grayscale-700 dark:text-general-200 text-[10px] font-normal leading-4"
9800
9789
  },
9801
9790
  arterisksign: {
9802
- class: "text-danger-500"
9791
+ class: "text-danger-500 dark:text-danger-500"
9803
9792
  }
9804
- }, ct = {
9793
+ }, dr = {
9805
9794
  next: ({ context: e }) => ({
9806
9795
  class: [
9807
9796
  "text-2xl text-general-900",
@@ -9825,40 +9814,43 @@ const me = m("WANGS-INPUT-OTP", {
9825
9814
  }
9826
9815
  ]
9827
9816
  })
9828
- }, dt = {
9817
+ }, cr = {
9829
9818
  root: {
9830
9819
  class: [
9831
- "bg-general-50 rounded-lg [&>*]:w-full [&>*]min-w-0",
9820
+ "bg-general-50 dark:bg-grayscale-800 rounded-lg [&>*]:w-full [&>*]min-w-0",
9832
9821
  "grid items-end p-3 gap-x-3 gap-y-4"
9833
9822
  ]
9834
9823
  }
9835
- }, ut = {
9824
+ }, ur = {
9836
9825
  root: {
9837
9826
  class: [
9838
9827
  "w-screen h-screen fixed top-0 left-0 z-[9999999]",
9839
- "bg-white",
9828
+ "bg-white dark:bg-grayscale-900",
9829
+ "text-black dark:text-primary-50",
9840
9830
  "text-base",
9841
9831
  "flex flex-col items-center justify-center",
9842
9832
  "transition-opacity"
9843
9833
  ]
9844
9834
  },
9845
9835
  animation: {
9846
- class: ["w-[700px] h-auto"]
9836
+ class: ["w-[700px] dark:w-[200px] dark:my-[150px] h-auto"]
9847
9837
  }
9848
- }, ft = {
9838
+ }, gr = {
9849
9839
  root: {
9850
9840
  class: "flex items-center gap-1"
9851
9841
  },
9852
9842
  displayname: ({ props: e }) => ({
9853
9843
  class: [
9854
9844
  "text-xs font-medium cursor-pointer",
9855
- { "text-primary-500 cursor-pointer": e.type === "icon" },
9856
- { "text-general-800": e.type !== "icon" }
9845
+ {
9846
+ "text-primary-500 dark:text-primary-300 cursor-pointer": e.type === "icon"
9847
+ },
9848
+ { "text-general-800 dark:text-general-50": e.type !== "icon" }
9857
9849
  ]
9858
9850
  }),
9859
9851
  panel: {
9860
9852
  background: {
9861
- class: "bg-primary-100 absolute top-0 h-[42px] w-full"
9853
+ class: "bg-primary-100 dark:bg-primary-900 absolute top-0 h-[42px] w-full"
9862
9854
  },
9863
9855
  username: {
9864
9856
  class: "font-semibold text-[10px] leading-[15px] text-center text-balance"
@@ -9870,64 +9862,64 @@ const me = m("WANGS-INPUT-OTP", {
9870
9862
  class: "text-[8px] font-normal leading-3"
9871
9863
  },
9872
9864
  userdetaillink: {
9873
- class: "underline text-primary-400 text-[10px] leading-4 cursor-pointer hover:text-primary-500 transition-colors duration-100"
9865
+ class: "underline text-primary-400 dark:text-primary-300 text-[10px] leading-4 cursor-pointer hover:text-primary-500 dark:hover:text-primary-400 transition-colors duration-100"
9874
9866
  },
9875
9867
  contentwrapper: {
9876
- class: "relative overflow-hidden flex flex-col gap-2 w-[200px] h-max items-center justify-center p-3 rounded-[10px] border border-grayscale-900 text-grayscale-900"
9868
+ class: "relative overflow-hidden flex flex-col gap-2 w-[200px] h-max items-center justify-center p-3 rounded-[10px] border border-grayscale-900 dark:border-white text-grayscale-900 dark:text-white"
9877
9869
  },
9878
9870
  detailwrapper: {
9879
9871
  class: "flex flex-col gap-0.5 items-center justify-center"
9880
9872
  }
9881
9873
  }
9882
- }, gt = {
9883
- badge: P,
9884
- ripple: Fe,
9874
+ }, fr = {
9875
+ badge: I,
9876
+ ripple: $e,
9885
9877
  tooltip: Ze
9886
- }, bt = {
9887
- global: ae,
9888
- directives: gt,
9878
+ }, br = {
9879
+ global: se,
9880
+ directives: fr,
9889
9881
  // Forms
9890
- form: se,
9891
- filtercontainer: dt,
9892
- autocomplete: _,
9893
- dropdown: re,
9894
- inputnumber: ge,
9882
+ form: ie,
9883
+ filtercontainer: cr,
9884
+ autocomplete: P,
9885
+ dropdown: te,
9886
+ inputnumber: fe,
9895
9887
  inputphonenumber: be,
9896
- inputcurrency: at,
9888
+ inputcurrency: sr,
9897
9889
  inputotp: me,
9898
9890
  inputtext: z,
9899
- inputbadge: ce,
9891
+ inputbadge: de,
9900
9892
  calendar: B,
9901
- checkbox: d,
9902
- buttonradio: Pe,
9903
- selectbutton: Ee,
9904
- slider: $e,
9893
+ checkbox: c,
9894
+ buttonradio: Ie,
9895
+ selectbutton: Ue,
9896
+ slider: Ge,
9905
9897
  chips: M,
9906
9898
  rating: Se,
9907
- multiselect: s,
9899
+ multiselect: i,
9908
9900
  togglebutton: Je,
9909
9901
  toggleswitch: u,
9910
9902
  cascadeselect: O,
9911
9903
  listbox: xe,
9912
9904
  colorpicker: D,
9913
- inputgroup: de,
9905
+ inputgroup: ce,
9914
9906
  inputgroupaddon: ue,
9915
- inputmask: fe,
9907
+ inputmask: ge,
9916
9908
  knob: pe,
9917
- treeselect: et,
9918
- tristatecheckbox: tt,
9909
+ treeselect: er,
9910
+ tristatecheckbox: rr,
9919
9911
  textarea: He,
9920
- password: _e,
9921
- validatormessage: rt,
9922
- fileupload: ot,
9923
- fieldwrapper: lt,
9912
+ password: Pe,
9913
+ validatormessage: tr,
9914
+ fileupload: or,
9915
+ fieldwrapper: lr,
9924
9916
  // Buttons
9925
9917
  button: S,
9926
- buttondownload: F,
9927
- buttonbulkaction: it,
9928
- buttonsearch: U,
9929
- buttonsplit: E,
9930
- buttonfilter: V,
9918
+ buttondownload: $,
9919
+ buttonbulkaction: ar,
9920
+ buttonsearch: V,
9921
+ buttonsplit: U,
9922
+ buttonfilter: F,
9931
9923
  splitbutton: Oe,
9932
9924
  // Data
9933
9925
  paginator: je,
@@ -9938,28 +9930,28 @@ const me = m("WANGS-INPUT-OTP", {
9938
9930
  dataviewlayoutoptions: X,
9939
9931
  organizationchart: Ce,
9940
9932
  orderlist: ke,
9941
- picklist: Ne,
9933
+ picklist: Te,
9942
9934
  timeline: Ke,
9943
9935
  changelog: L,
9944
9936
  // Panels
9945
- accordion: T,
9937
+ accordion: _,
9946
9938
  panel: Ae,
9947
- fieldset: ie,
9948
- card: G,
9939
+ fieldset: ae,
9940
+ card: E,
9949
9941
  tabview: Me,
9950
9942
  divider: ee,
9951
9943
  toolbar: Xe,
9952
- scrollpanel: Ve,
9944
+ scrollpanel: Fe,
9953
9945
  // Menu
9954
9946
  contextmenu: Y,
9955
- menu: he,
9956
- menubar: ye,
9947
+ menu: ve,
9948
+ menubar: he,
9957
9949
  steps: Le,
9958
- breadcrumb: nt,
9950
+ breadcrumb: nr,
9959
9951
  tieredmenu: Ye,
9960
- panelmenu: Te,
9961
- megamenu: ve,
9962
- dock: te,
9952
+ panelmenu: _e,
9953
+ megamenu: ye,
9954
+ dock: re,
9963
9955
  tabmenu: Re,
9964
9956
  // Overlays
9965
9957
  dialog: C,
@@ -9973,24 +9965,24 @@ const me = m("WANGS-INPUT-OTP", {
9973
9965
  inlinemessage: le,
9974
9966
  toast: qe,
9975
9967
  // Media
9976
- carousel: $,
9968
+ carousel: G,
9977
9969
  // Misc
9978
- badge: c,
9979
- badgegroup: st,
9980
- avatar: N,
9981
- avatargroup: I,
9970
+ badge: d,
9971
+ badgegroup: ir,
9972
+ avatar: T,
9973
+ avatargroup: N,
9982
9974
  tag: We,
9983
9975
  chip: R,
9984
- progressbar: Ie,
9985
- skeleton: Ge,
9986
- scrolltop: Ue,
9976
+ progressbar: Ne,
9977
+ skeleton: Ee,
9978
+ scrolltop: Ve,
9987
9979
  terminal: De,
9988
9980
  image: oe,
9989
- workcalendar: ct,
9990
- loading: ut,
9981
+ workcalendar: dr,
9982
+ loading: ur,
9991
9983
  codesnippet: W,
9992
- username: ft
9984
+ username: gr
9993
9985
  };
9994
9986
  export {
9995
- bt as default
9987
+ br as default
9996
9988
  };