@fewangsit/wangsvue-presets 1.0.107 → 1.0.108-alpha.1

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 (108) hide show
  1. package/fixedasset/badge/index.d.ts +14 -14
  2. package/fixedasset/badge/index.js +15 -14
  3. package/fixedasset/breadcrumb/index.d.ts +4 -4
  4. package/fixedasset/breadcrumb/index.js +6 -5
  5. package/fixedasset/button/index.d.ts +2 -2
  6. package/fixedasset/button/index.js +39 -80
  7. package/fixedasset/buttonbulkaction/index.d.ts +2 -2
  8. package/fixedasset/buttonbulkaction/index.js +8 -5
  9. package/fixedasset/buttondownload/index.d.ts +2 -2
  10. package/fixedasset/buttondownload/index.js +5 -4
  11. package/fixedasset/buttonfilter/index.d.ts +4 -7
  12. package/fixedasset/buttonfilter/index.js +5 -7
  13. package/fixedasset/buttonradio/index.d.ts +20 -20
  14. package/fixedasset/buttonradio/index.js +11 -10
  15. package/fixedasset/buttonsearch/index.d.ts +2 -2
  16. package/fixedasset/buttonsearch/index.js +9 -8
  17. package/fixedasset/calendar/index.js +64 -66
  18. package/fixedasset/card/index.js +2 -2
  19. package/fixedasset/checkbox/index.d.ts +58 -58
  20. package/fixedasset/checkbox/index.js +19 -18
  21. package/fixedasset/codesnippet/index.js +3 -3
  22. package/fixedasset/customcolumn/index.d.ts +2 -2
  23. package/fixedasset/customcolumn/index.js +3 -2
  24. package/fixedasset/datatable/index.d.ts +50 -44
  25. package/fixedasset/datatable/index.js +34 -31
  26. package/fixedasset/dialog/index.d.ts +4 -4
  27. package/fixedasset/dialog/index.js +16 -16
  28. package/fixedasset/dialogconfirm/index.d.ts +2 -2
  29. package/fixedasset/dialogconfirm/index.js +3 -2
  30. package/fixedasset/dialogform/index.d.ts +2 -2
  31. package/fixedasset/dialogform/index.js +4 -3
  32. package/fixedasset/dropdown/index.d.ts +41 -41
  33. package/fixedasset/dropdown/index.js +20 -21
  34. package/fixedasset/fieldwrapper/index.d.ts +2 -2
  35. package/fixedasset/fieldwrapper/index.js +8 -7
  36. package/fixedasset/fileupload/index.d.ts +2 -2
  37. package/fixedasset/fileupload/index.js +2 -1
  38. package/fixedasset/filtercontainer/index.d.ts +2 -2
  39. package/fixedasset/filtercontainer/index.js +3 -2
  40. package/fixedasset/form/index.d.ts +2 -2
  41. package/fixedasset/form/index.js +3 -2
  42. package/fixedasset/global.js +1 -1
  43. package/fixedasset/image/index.d.ts +2 -2
  44. package/fixedasset/image/index.js +21 -20
  45. package/fixedasset/index.es.js +793 -804
  46. package/fixedasset/index.system.js +2 -2
  47. package/fixedasset/inlinemessage/index.d.ts +4 -4
  48. package/fixedasset/inlinemessage/index.js +6 -4
  49. package/fixedasset/inputbadge/index.d.ts +10 -10
  50. package/fixedasset/inputbadge/index.js +6 -6
  51. package/fixedasset/inputcurrency/index.d.ts +6 -6
  52. package/fixedasset/inputcurrency/index.js +2 -1
  53. package/fixedasset/inputgroup/index.d.ts +2 -2
  54. package/fixedasset/inputgroup/index.js +8 -7
  55. package/fixedasset/inputgroupaddon/index.d.ts +6 -6
  56. package/fixedasset/inputgroupaddon/index.js +5 -4
  57. package/fixedasset/inputnumber/index.d.ts +2 -2
  58. package/fixedasset/inputnumber/index.js +8 -5
  59. package/fixedasset/inputotp/index.js +6 -7
  60. package/fixedasset/inputphonenumber/index.d.ts +8 -8
  61. package/fixedasset/inputphonenumber/index.js +7 -6
  62. package/fixedasset/inputtext/index.d.ts +4 -4
  63. package/fixedasset/inputtext/index.js +6 -5
  64. package/fixedasset/loading/index.d.ts +2 -2
  65. package/fixedasset/loading/index.js +5 -4
  66. package/fixedasset/menu/index.d.ts +3 -3
  67. package/fixedasset/menu/index.js +9 -5
  68. package/fixedasset/multiselect/index.d.ts +107 -107
  69. package/fixedasset/multiselect/index.js +25 -27
  70. package/fixedasset/overlaypanel/index.d.ts +2 -2
  71. package/fixedasset/overlaypanel/index.js +4 -3
  72. package/fixedasset/paginator/index.d.ts +19 -19
  73. package/fixedasset/paginator/index.js +24 -23
  74. package/fixedasset/password/index.d.ts +5 -5
  75. package/fixedasset/password/index.js +13 -13
  76. package/fixedasset/style.css +1333 -77
  77. package/fixedasset/tabmenu/index.js +13 -13
  78. package/fixedasset/textarea/index.d.ts +2 -2
  79. package/fixedasset/textarea/index.js +6 -5
  80. package/fixedasset/timeline/index.d.ts +2 -2
  81. package/fixedasset/timeline/index.js +12 -8
  82. package/fixedasset/toast/index.d.ts +8 -8
  83. package/fixedasset/toast/index.js +8 -7
  84. package/fixedasset/toggleswitch/index.d.ts +42 -42
  85. package/fixedasset/toggleswitch/index.js +12 -11
  86. package/fixedasset/tooltip/index.d.ts +2 -2
  87. package/fixedasset/tooltip/index.js +4 -3
  88. package/fixedasset/tree/index.d.ts +26 -29
  89. package/fixedasset/tree/index.js +17 -24
  90. package/fixedasset/username/index.js +7 -5
  91. package/fixedasset/validatormessage/index.d.ts +2 -2
  92. package/fixedasset/validatormessage/index.js +5 -2
  93. package/globalsettings/datatable/index.d.ts +9 -10
  94. package/globalsettings/datatable/index.js +7 -9
  95. package/globalsettings/index.es.js +7 -8
  96. package/globalsettings/index.system.js +2 -2
  97. package/globalsettings/style.css +1353 -49
  98. package/package.json +1 -1
  99. package/supplyasset/datatable/index.d.ts +9 -10
  100. package/supplyasset/datatable/index.js +7 -9
  101. package/supplyasset/index.es.js +13 -14
  102. package/supplyasset/index.system.js +2 -2
  103. package/supplyasset/style.css +1359 -55
  104. package/wangsvue/datatable/index.d.ts +2 -3
  105. package/wangsvue/datatable/index.js +6 -8
  106. package/wangsvue/index.es.js +14 -15
  107. package/wangsvue/index.system.js +2 -2
  108. package/wangsvue/style.css +1332 -76
@@ -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"
@@ -2548,7 +2538,7 @@ const T = {
2548
2538
  class: "p-4 invisible"
2549
2539
  },
2550
2540
  nodatalottiewrapper: {
2551
- class: "w-full p-4 absolute top-[37.5px] inset-x-0 pointer-events-none",
2541
+ class: "w-full p-4 absolute inset-x-0 pointer-events-none",
2552
2542
  "data-wv-section": "nodatalottiewrapper"
2553
2543
  },
2554
2544
  nodatalottie: {
@@ -2559,7 +2549,7 @@ const T = {
2559
2549
  class: "text-general-body"
2560
2550
  },
2561
2551
  loadingtablewrapper: {
2562
- class: "w-full p-4 flex items-center justify-center absolute top-[37.5px] inset-x-0 pointer-events-none",
2552
+ class: "w-full p-4 flex items-center justify-center absolute inset-x-0 pointer-events-none",
2563
2553
  "data-wv-section": "loadingtablewrapper"
2564
2554
  },
2565
2555
  loadingtablelottie: {
@@ -2567,7 +2557,6 @@ const T = {
2567
2557
  "data-wv-section": "loadingtablelottie"
2568
2558
  },
2569
2559
  paginator: ({ context: e }) => ({
2570
- "current-page-report-template": e.totalRecords ? "Showing {first} to {last} of {totalRecords}" : "No Data Found",
2571
2560
  class: "",
2572
2561
  template: "FirstPageLink PrevPageLink PageLinks JumpToPageInput NextPageLink LastPageLink CurrentPageReport RowsPerPageDropdown"
2573
2562
  })
@@ -2664,7 +2653,7 @@ const T = {
2664
2653
  "p-6",
2665
2654
  "gap-3",
2666
2655
  // Background
2667
- "bg-white",
2656
+ "bg-white dark:bg-grayscale-900",
2668
2657
  // Size
2669
2658
  "max-h-[90vh]",
2670
2659
  { "sm:max-w-[90vw]": !e.maximized },
@@ -2693,12 +2682,12 @@ const T = {
2693
2682
  "rounded-tl-lg",
2694
2683
  "rounded-tr-lg",
2695
2684
  // Colors
2696
- "text-general-800"
2685
+ "text-general-800 dark:text-general-50"
2697
2686
  ]
2698
2687
  },
2699
2688
  title: {
2700
2689
  class: [
2701
- "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]"
2702
2691
  ]
2703
2692
  },
2704
2693
  icons: {
@@ -2715,12 +2704,12 @@ const T = {
2715
2704
  "border-0",
2716
2705
  "rounded-full",
2717
2706
  // Colors
2718
- "text-general-200",
2707
+ "text-general-200 dark:text-general-400",
2719
2708
  "bg-transparent",
2720
2709
  // Transitions
2721
2710
  "transition duration-200 ease-in-out",
2722
2711
  // States
2723
- "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",
2724
2713
  // Misc
2725
2714
  "overflow-hidden"
2726
2715
  ]
@@ -2738,15 +2727,14 @@ const T = {
2738
2727
  "border-0",
2739
2728
  "rounded-full",
2740
2729
  // Colors
2741
- "text-surface-500",
2730
+ "text-surface-500 dark:text-general-300",
2742
2731
  "bg-transparent",
2743
2732
  // Transitions
2744
2733
  "transition duration-200 ease-in-out",
2745
2734
  // States
2746
- "hover:text-surface-700",
2747
- "hover:bg-surface-100",
2735
+ "hover:bg-general-50 hover:text-general-300 dark:hover:bg-grayscale-700 dark:hover:text-general-200",
2748
2736
  "focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-inset",
2749
- "focus:ring-primary-500",
2737
+ "focus:ring-primary-500 dark:focus:ring-primary-800",
2750
2738
  // Misc
2751
2739
  "overflow-hidden"
2752
2740
  ]
@@ -2756,7 +2744,7 @@ const T = {
2756
2744
  // Display
2757
2745
  "inline-block",
2758
2746
  // Color
2759
- "text-general-200",
2747
+ "text-general-200 dark:text-general-200",
2760
2748
  // Size
2761
2749
  "w-3.5",
2762
2750
  "h-3.5"
@@ -2771,16 +2759,16 @@ const T = {
2771
2759
  "h-3"
2772
2760
  ]
2773
2761
  },
2774
- content: ({ state: e, instance: t }) => ({
2762
+ content: ({ state: e, instance: r }) => ({
2775
2763
  class: [
2776
2764
  // Font
2777
- "!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]",
2778
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",
2779
2767
  // Layout
2780
2768
  "flex flex-col gap-3",
2781
2769
  // Shape
2782
2770
  // Colors
2783
- "text-surface-600",
2771
+ "text-surface-600 dark:text-surface-200",
2784
2772
  // Misc
2785
2773
  "overflow-y-auto scrollbar-w-none",
2786
2774
  {
@@ -2802,7 +2790,7 @@ const T = {
2802
2790
  "empty:hidden",
2803
2791
  // Colors
2804
2792
  "bg-inherit",
2805
- "text-surface-700/80"
2793
+ "text-surface-700/80 dark:text-surface-200/80"
2806
2794
  ]
2807
2795
  },
2808
2796
  mask: ({ props: e }) => ({
@@ -2813,7 +2801,7 @@ const T = {
2813
2801
  { "p-5": !e.position == "full" },
2814
2802
  // Background and Effects
2815
2803
  {
2816
- "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,
2817
2805
  "has-[.mask-active]:backdrop-blur-none backdrop-blur-sm": e.modal
2818
2806
  }
2819
2807
  ]
@@ -2837,7 +2825,7 @@ const T = {
2837
2825
  enterFromClass: "opacity-0 scale-75 translate-x-full translate-y-0 translate-z-0 mask-active",
2838
2826
  enterActiveClass: "transition-all duration-200 ease-out",
2839
2827
  leaveActiveClass: "transition-all duration-200 ease-out",
2840
- 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"
2841
2829
  } : {
2842
2830
  enterFromClass: "opacity-0 scale-75 mask-active",
2843
2831
  enterActiveClass: "transition-all duration-200 ease-out",
@@ -2861,7 +2849,7 @@ const T = {
2861
2849
  headertitle: (e) => ({
2862
2850
  class: [
2863
2851
  "!text-[14px] leading-6 !font-bold tracking-[0.02em]",
2864
- "text-general-800"
2852
+ "text-general-800 dark:text-general-50"
2865
2853
  ],
2866
2854
  "data-wv-section": "dialog-confirm-title"
2867
2855
  }),
@@ -2897,7 +2885,7 @@ const T = {
2897
2885
  },
2898
2886
  headericon: { class: "text-2xl", "data-wv-section": "headericon" },
2899
2887
  headertitle: {
2900
- 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]",
2901
2889
  "data-wv-section": "dialog-form-title"
2902
2890
  },
2903
2891
  expandasidebutton: {
@@ -2905,7 +2893,7 @@ const T = {
2905
2893
  "data-wv-section": "expand-aside-button"
2906
2894
  },
2907
2895
  closedialog: {
2908
- class: "!p-0.5 !text-general-200",
2896
+ class: "!p-0.5 !text-general-200 dark:!text-general-500",
2909
2897
  "data-wv-section": "closebutton"
2910
2898
  },
2911
2899
  container: (e) => ({
@@ -2919,13 +2907,13 @@ const T = {
2919
2907
  class: ["flex flex-col gap-3 w-full"],
2920
2908
  "data-wv-section": "dialog-form-main"
2921
2909
  },
2922
- asidesection: (e, t) => ({
2910
+ asidesection: (e, r) => ({
2923
2911
  class: [
2924
2912
  "flex flex-col gap-3 shrink-0",
2925
2913
  { "opacity-0": !e },
2926
2914
  { "opacity-100": e }
2927
2915
  ],
2928
- style: `width: ${e ? t - 24 : 0}px`,
2916
+ style: `width: ${e ? r - 24 : 0}px`,
2929
2917
  "data-wv-section": "dialog-form-aside"
2930
2918
  }),
2931
2919
  form: {
@@ -3008,7 +2996,7 @@ const T = {
3008
2996
  "bg-surface-0"
3009
2997
  ]
3010
2998
  }
3011
- }, te = {
2999
+ }, re = {
3012
3000
  root: ({ props: e }) => ({
3013
3001
  class: [
3014
3002
  // Positioning
@@ -3053,15 +3041,15 @@ const T = {
3053
3041
  "outline-none"
3054
3042
  ]
3055
3043
  }),
3056
- menuitem: ({ props: e, context: t, instance: r }) => ({
3044
+ menuitem: ({ props: e, context: r, instance: t }) => ({
3057
3045
  class: [
3058
3046
  // Spacing & Shape
3059
3047
  "p-2 rounded-md",
3060
3048
  // Conditional Scaling
3061
3049
  {
3062
- "hover:scale-150": r.currentIndex === t.index,
3063
- "scale-125": r.currentIndex - 1 === t.index || r.currentIndex + 1 === t.index,
3064
- "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
3065
3053
  },
3066
3054
  // Positioning & Hover States
3067
3055
  {
@@ -3086,8 +3074,8 @@ const T = {
3086
3074
  "cursor-default overflow-hidden"
3087
3075
  ]
3088
3076
  }
3089
- }, s = {
3090
- root: ({ props: e, state: t }) => ({
3077
+ }, i = {
3078
+ root: ({ props: e, state: r }) => ({
3091
3079
  class: [
3092
3080
  // Display and Position
3093
3081
  "inline-flex",
@@ -3104,7 +3092,7 @@ const T = {
3104
3092
  class: "overflow-hidden flex flex-auto items-center cursor-pointer py-[3px] h-[26px] px-3 pr-0"
3105
3093
  },
3106
3094
  label: ({ props: e }) => {
3107
- var t, r;
3095
+ var r, t;
3108
3096
  return {
3109
3097
  class: [
3110
3098
  "flex gap-1",
@@ -3115,8 +3103,8 @@ const T = {
3115
3103
  "rounded-none",
3116
3104
  // Color
3117
3105
  {
3118
- "text-general-200": !((t = e.modelValue) != null && t.length),
3119
- "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
3120
3108
  },
3121
3109
  // Transitions
3122
3110
  "transition duration-200",
@@ -3125,21 +3113,21 @@ const T = {
3125
3113
  ]
3126
3114
  };
3127
3115
  },
3128
- token: c.root({ props: { severity: "dark" } }),
3129
- tokenLabel: c.input({ props: {}, context: {} }),
3130
- removeTokenIcon: c.removebutton({
3116
+ token: d.root({ props: { severity: "dark" } }),
3117
+ tokenLabel: d.input({ props: {}, context: {} }),
3118
+ removeTokenIcon: d.removebutton({
3131
3119
  props: { badgeSeverity: "dark" }
3132
3120
  }),
3133
3121
  loadingplaceholder: {
3134
- class: "text-general-200 font-light"
3122
+ class: "text-general-200 dark:text-general-500 font-light"
3135
3123
  },
3136
3124
  loadingicon: {
3137
- 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",
3138
3126
  icon: "spinner"
3139
3127
  },
3140
3128
  dropdownicon: ({ state: e }) => ({
3141
3129
  class: [
3142
- "w-full h-full transition-transform !text-general-500",
3130
+ "w-full h-full transition-transform !text-general-500 dark:!text-general-100",
3143
3131
  { "rotate-180": e.isShowOverlay }
3144
3132
  ],
3145
3133
  icon: "arrow-drop-down"
@@ -3154,8 +3142,7 @@ const T = {
3154
3142
  "flex items-center justify-center",
3155
3143
  "shrink-0",
3156
3144
  // Color and Background
3157
- "bg-transparent",
3158
- "text-surface-500",
3145
+ "bg-transparent dark:bg-transparent",
3159
3146
  // Size
3160
3147
  "w-6",
3161
3148
  // Shape
@@ -3173,7 +3160,7 @@ const T = {
3173
3160
  "rounded-lg",
3174
3161
  "shadow-panel",
3175
3162
  // Color
3176
- "bg-grayscale-100"
3163
+ "bg-grayscale-100 dark:bg-general-600"
3177
3164
  ]
3178
3165
  },
3179
3166
  header: {
@@ -3205,12 +3192,12 @@ const T = {
3205
3192
  ]
3206
3193
  },
3207
3194
  headerCheckbox: {
3208
- ...d,
3195
+ ...c,
3209
3196
  root: {
3210
- class: ["!mx-auto", ...d.root.class]
3197
+ class: ["!mx-auto", ...c.root.class]
3211
3198
  }
3212
3199
  },
3213
- itemCheckbox: d,
3200
+ itemCheckbox: c,
3214
3201
  closeButton: {
3215
3202
  class: ["hidden"]
3216
3203
  },
@@ -3229,7 +3216,7 @@ const T = {
3229
3216
  "max-h-[15rem]",
3230
3217
  // Shape
3231
3218
  // Color
3232
- "bg-white",
3219
+ "bg-white dark:bg-grayscale-900",
3233
3220
  // Misc
3234
3221
  "overflow-auto",
3235
3222
  "rounded-br-lg",
@@ -3255,20 +3242,20 @@ const T = {
3255
3242
  "py-1.5 px-4",
3256
3243
  // Color
3257
3244
  {
3258
- "text-general-800": !e.focused && !e.selected && !e.disabled
3245
+ "text-general-800 dark:text-general-50": !e.focused && !e.selected && !e.disabled
3259
3246
  },
3260
3247
  {
3261
- "text-general-400": !e.focused && !e.selected && e.disabled
3248
+ "text-general-400 dark:text-general-100": !e.focused && !e.selected && e.disabled
3262
3249
  },
3263
- { "bg-primary-50": e.focused },
3250
+ { "bg-primary-50 dark:bg-grayscale-800": e.focused },
3264
3251
  {
3265
- "text-primary-500": e.focused || e.selected
3252
+ "text-primary-500 dark:text-primary-300": e.focused || e.selected
3266
3253
  },
3267
3254
  {
3268
- "text-general-900": !e.focused && e.selected
3255
+ "text-general-900 dark:text-general-100": !e.focused && e.selected
3269
3256
  },
3270
3257
  //States
3271
- "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",
3272
3259
  // Misc
3273
3260
  { "pointer-events-none cursor-default": e.disabled },
3274
3261
  { "cursor-pointer": !e.disabled },
@@ -3288,8 +3275,6 @@ const T = {
3288
3275
  "m-0",
3289
3276
  "py-2 px-4",
3290
3277
  // Color
3291
- "text-surface-800",
3292
- "bg-surface-0",
3293
3278
  // Misc
3294
3279
  "cursor-auto"
3295
3280
  ]
@@ -3303,20 +3288,21 @@ const T = {
3303
3288
  // Sizing
3304
3289
  "w-full py-2 px-3",
3305
3290
  //Color
3306
- "text-general-100",
3307
- "bg-white",
3291
+ "text-general-100 dark:text-general-500",
3292
+ "bg-white dark:bg-grayscale-900",
3308
3293
  // Shape
3309
- "ring-inset ring-1 ring-general-500",
3294
+ "ring-inset ring-1 ring-general-200 dark:ring-grayscale-600",
3310
3295
  "rounded-[6px]"
3311
3296
  ]
3312
3297
  },
3313
3298
  filterinput: {
3314
3299
  class: [
3315
3300
  "w-full",
3316
- "text-general-800",
3301
+ "bg-white dark:bg-grayscale-900",
3302
+ "text-general-800 dark:text-general-100",
3317
3303
  "text-xs tracking-[0.02em]",
3318
3304
  "font-medium",
3319
- "placeholder:text-general-200",
3305
+ "placeholder:text-general-200 dark:placeholder:text-general-600",
3320
3306
  "placeholder:font-light",
3321
3307
  // Misc
3322
3308
  "appearance-none",
@@ -3325,13 +3311,12 @@ const T = {
3325
3311
  ]
3326
3312
  },
3327
3313
  filtericon: {
3328
- class: ["text-base text-general-400"],
3314
+ class: ["text-base text-general-100 dark:text-general-300"],
3329
3315
  icon: "search"
3330
3316
  },
3331
3317
  clearicon: {
3332
3318
  class: [
3333
3319
  // Color
3334
- "text-surface-500",
3335
3320
  // Position
3336
3321
  "absolute",
3337
3322
  "top-1/2",
@@ -3348,8 +3333,8 @@ const T = {
3348
3333
  // Spacing
3349
3334
  "py-2 px-4",
3350
3335
  // Color
3351
- "text-grayscale-800",
3352
- "bg-transparent"
3336
+ "text-grayscale-800 dark:text-grayscale-50",
3337
+ "bg-transparent dark:bg-transparent"
3353
3338
  ]
3354
3339
  },
3355
3340
  transition: {
@@ -3358,8 +3343,8 @@ const T = {
3358
3343
  leaveActiveClass: "transition-opacity duration-100 ease-linear",
3359
3344
  leaveToClass: "opacity-0"
3360
3345
  }
3361
- }, re = {
3362
- root: ({ props: e, state: t }) => ({
3346
+ }, te = {
3347
+ root: ({ props: e, state: r }) => ({
3363
3348
  class: [
3364
3349
  // Display and Position
3365
3350
  "inline-flex items-center justify-between",
@@ -3378,14 +3363,14 @@ const T = {
3378
3363
  //Font
3379
3364
  "text-xs tracking-[0.02em]",
3380
3365
  {
3381
- "!text-general-200 font-light": e.modelValue == null,
3382
- "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
3383
3368
  },
3384
3369
  // Display
3385
3370
  "flex items-center",
3386
3371
  // Color and Background
3387
- "bg-transparent",
3388
- "placeholder:text-general-200",
3372
+ "bg-transparent dark:bg-transparent",
3373
+ "placeholder:text-general-200 dark:placeholder:text-grayscale-600",
3389
3374
  // Sizing and Spacing
3390
3375
  "h-[26px] w-full",
3391
3376
  "px-3 pr-0",
@@ -3415,8 +3400,8 @@ const T = {
3415
3400
  "flex items-center justify-center",
3416
3401
  "shrink-0",
3417
3402
  // Color and Background
3418
- "bg-transparent",
3419
- "text-general-200",
3403
+ "bg-transparent dark:bg-transparent",
3404
+ "text-general-200 dark:text-grayscale-900",
3420
3405
  // Size
3421
3406
  "w-6 h-6",
3422
3407
  // Shape
@@ -3438,7 +3423,7 @@ const T = {
3438
3423
  "shadow-panel",
3439
3424
  "overflow-clip",
3440
3425
  // Color
3441
- "bg-grayscale-100"
3426
+ "bg-grayscale-100 dark:bg-general-600"
3442
3427
  ]
3443
3428
  }),
3444
3429
  wrapper: ({ props: e }) => ({
@@ -3446,7 +3431,8 @@ const T = {
3446
3431
  // Sizing
3447
3432
  "max-h-[15rem]",
3448
3433
  // Color
3449
- "bg-white",
3434
+ "bg-white dark:bg-grayscale-900",
3435
+ "text-general-800 dark:text-general-100",
3450
3436
  // Misc
3451
3437
  "overflow-auto",
3452
3438
  {
@@ -3476,20 +3462,20 @@ const T = {
3476
3462
  "py-1.5 px-4",
3477
3463
  // Color
3478
3464
  {
3479
- "text-general-800": !e.focused && !e.selected && !e.disabled
3465
+ "text-general-800 dark:text-general-50": !e.focused && !e.selected && !e.disabled
3480
3466
  },
3481
3467
  {
3482
- "text-general-400": !e.focused && !e.selected && e.disabled
3468
+ "text-general-400 dark:text-general-100": !e.focused && !e.selected && e.disabled
3483
3469
  },
3484
- { "bg-primary-50": e.focused },
3470
+ { "bg-primary-50 dark:bg-grayscale-800": e.focused },
3485
3471
  {
3486
- "text-primary-500": e.focused || e.selected
3472
+ "text-primary-500 dark:text-primary-300": e.focused || e.selected
3487
3473
  },
3488
3474
  {
3489
- "text-general-900": !e.focused && e.selected
3475
+ "text-general-900 dark:text-general-100": !e.focused && e.selected
3490
3476
  },
3491
3477
  //States
3492
- "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",
3493
3479
  // Misc
3494
3480
  { "pointer-events-none cursor-default": e.disabled },
3495
3481
  { "cursor-pointer": !e.disabled },
@@ -3506,8 +3492,6 @@ const T = {
3506
3492
  "m-0",
3507
3493
  "py-2 px-4",
3508
3494
  // Color
3509
- "text-surface-800",
3510
- "bg-surface-0",
3511
3495
  // Misc
3512
3496
  "cursor-auto"
3513
3497
  ]
@@ -3519,20 +3503,19 @@ const T = {
3519
3503
  // Spacing
3520
3504
  "py-2 px-4",
3521
3505
  // Color
3522
- "text-surface-800",
3523
- "bg-transparent"
3506
+ "bg-transparent dark:bg-transparent"
3524
3507
  ]
3525
3508
  },
3526
- header: s == null ? void 0 : s.header,
3527
- filtercontainer: s == null ? void 0 : s.filtercontainer,
3528
- filterinput: s == null ? void 0 : s.filterinput,
3529
- filtericon: s == null ? void 0 : s.filtericon,
3530
- loadingicon: s == null ? void 0 : s.loadingicon,
3531
- 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 }),
3532
3515
  clearicon: {
3533
3516
  class: [
3534
3517
  // Color
3535
- "text-general-200",
3518
+ "text-general-200 dark:text-grayscale-800",
3536
3519
  // Position
3537
3520
  "absolute",
3538
3521
  "top-1/2",
@@ -3548,9 +3531,9 @@ const T = {
3548
3531
  leaveToClass: "opacity-0"
3549
3532
  },
3550
3533
  loadingplaceholder: {
3551
- class: "text-general-200 font-light"
3534
+ class: "text-general-200 dark:text-grayscale-500 font-light"
3552
3535
  }
3553
- }, ie = {
3536
+ }, ae = {
3554
3537
  root: {
3555
3538
  class: [
3556
3539
  "block",
@@ -3628,11 +3611,11 @@ const T = {
3628
3611
  leaveActiveClass: "overflow-hidden transition-[max-height] duration-[450ms] ease-[cubic-bezier(0,1,0,1)]",
3629
3612
  leaveToClass: "max-h-0"
3630
3613
  }
3631
- }, se = {
3614
+ }, ie = {
3632
3615
  // :class="['ts-form', { 'sticky-buttons': props.stickyButtons }]"
3633
3616
  root: () => ({
3634
3617
  class: [
3635
- "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"
3636
3619
  ],
3637
3620
  "data-wv-section": "root"
3638
3621
  }),
@@ -3678,8 +3661,8 @@ const T = {
3678
3661
  "ring-[0.5px] p-[0.5px]": !navigator.userAgent.includes("Firefox")
3679
3662
  },
3680
3663
  "ring-inset",
3681
- "ring-general-200"
3682
- ], ae = {
3664
+ "ring-general-200 dark:ring-grayscale-600"
3665
+ ], se = {
3683
3666
  css: `
3684
3667
  *[data-pd-ripple="true"]{
3685
3668
  overflow: hidden;
@@ -3771,13 +3754,13 @@ const T = {
3771
3754
  height: `${e.width}px`
3772
3755
  } : void 0
3773
3756
  }),
3774
- image: ({ props: e, context: t }) => ({
3757
+ image: ({ props: e, context: r }) => ({
3775
3758
  class: [
3776
3759
  "object-cover",
3777
3760
  { "!rounded-full": e.rounded },
3778
3761
  { "!rounded-lg": !e.rounded }
3779
3762
  ],
3780
- style: `width: ${t.imageSize}px; height: ${t.imageSize}px;`
3763
+ style: `width: ${r.imageSize}px; height: ${r.imageSize}px;`
3781
3764
  }),
3782
3765
  button: {
3783
3766
  class: [
@@ -3785,20 +3768,20 @@ const T = {
3785
3768
  "absolute",
3786
3769
  "w-full h-full",
3787
3770
  "inset-0 opacity-0 transition-opacity duration-300",
3788
- "bg-transparent text-white",
3789
- "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"
3790
3773
  ],
3791
3774
  style: "border-radius: inherit"
3792
3775
  },
3793
3776
  icon: {
3794
- 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%]"
3795
3778
  },
3796
3779
  mask: {
3797
3780
  class: [
3798
3781
  "flex items-center justify-center",
3799
3782
  "fixed top-0 left-0",
3800
3783
  "w-full h-full",
3801
- "bg-grayscale-950/90"
3784
+ "bg-grayscale-950/90 dark:bg-grayscale-950/90"
3802
3785
  ]
3803
3786
  },
3804
3787
  toolbar: {
@@ -3811,9 +3794,9 @@ const T = {
3811
3794
  "w-6 h-6",
3812
3795
  "mr-2",
3813
3796
  "rounded-full",
3814
- "text-white bg-transparent",
3815
- "hover:text-white hover:bg-white/10",
3816
- "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",
3817
3800
  "transition duration-200 ease-in-out"
3818
3801
  ]
3819
3802
  },
@@ -3827,9 +3810,9 @@ const T = {
3827
3810
  "w-6 h-6",
3828
3811
  "mr-2",
3829
3812
  "rounded-full",
3830
- "text-white bg-transparent",
3831
- "hover:text-white hover:bg-white/10",
3832
- "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",
3833
3816
  "transition duration-200 ease-in-out"
3834
3817
  ]
3835
3818
  },
@@ -3843,9 +3826,9 @@ const T = {
3843
3826
  "w-6 h-6",
3844
3827
  "mr-2",
3845
3828
  "rounded-full",
3846
- "text-white bg-transparent",
3847
- "hover:text-white hover:bg-white/10",
3848
- "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",
3849
3832
  "transition duration-200 ease-in-out"
3850
3833
  ]
3851
3834
  },
@@ -3859,9 +3842,9 @@ const T = {
3859
3842
  "w-6 h-6",
3860
3843
  "mr-2",
3861
3844
  "rounded-full",
3862
- "text-white bg-transparent",
3863
- "hover:text-white hover:bg-white/10",
3864
- "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",
3865
3848
  "transition duration-200 ease-in-out"
3866
3849
  ]
3867
3850
  },
@@ -3875,9 +3858,9 @@ const T = {
3875
3858
  "w-6 h-6",
3876
3859
  "mr-2",
3877
3860
  "rounded-full",
3878
- "text-white bg-transparent",
3879
- "hover:text-white hover:bg-white/10",
3880
- "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",
3881
3864
  "transition duration-200 ease-in-out"
3882
3865
  ]
3883
3866
  },
@@ -3896,9 +3879,9 @@ const T = {
3896
3879
  "rounded-md p-3",
3897
3880
  "w-full",
3898
3881
  {
3899
- "bg-success-50 text-success-500": e.severity == "success",
3900
- "bg-danger-50 text-danger-500": e.severity == "danger",
3901
- "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"
3902
3885
  }
3903
3886
  ],
3904
3887
  "data-wv-name": "inlinemessage",
@@ -3907,7 +3890,9 @@ const T = {
3907
3890
  icon: ({ props: e }) => ({
3908
3891
  class: [
3909
3892
  "w-4 h-4 !cursor-auto",
3910
- { "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
+ }
3911
3896
  ],
3912
3897
  "data-wv-section": "messageicon"
3913
3898
  }),
@@ -3921,83 +3906,84 @@ const T = {
3921
3906
  ]
3922
3907
  }
3923
3908
  }, z = {
3924
- root: ({ props: e, context: t, parent: r }) => {
3925
- var i, n;
3909
+ root: ({ props: e, context: r, parent: t }) => {
3910
+ var a, n;
3926
3911
  return {
3927
3912
  class: [
3928
- "px-3 py-[5px] w-full bg-transparent",
3913
+ "px-3 py-[5px] w-full bg-transparent dark:bg-transparent",
3929
3914
  // Size
3930
3915
  "h-max",
3931
3916
  {
3932
- "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")
3933
3918
  },
3934
3919
  // Font
3935
- "text-general-800 text-xs tracking-[0.02em] font-medium",
3936
- "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",
3937
3922
  "placeholder:!font-light",
3938
3923
  "appearance-none",
3939
3924
  // Interactions
3940
3925
  {
3941
- "outline-none": !t.disabled,
3942
- "!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
3943
3928
  }
3944
3929
  ]
3945
3930
  };
3946
3931
  }
3947
- }, v = navigator.userAgent.includes("Chrome"), ce = {
3932
+ }, y = navigator.userAgent.includes("Chrome"), de = {
3948
3933
  root: ({ context: e }) => ({
3949
3934
  class: [
3950
3935
  "flex flex-wrap gap-x-0.5 gap-y-[5px] items-center",
3951
3936
  "min-h-[26px] h-fit w-full",
3952
3937
  "ring-inset rounded px-[12px] py-[3px]",
3953
3938
  {
3954
- "ring-[1px]": !v,
3955
- "ring-[0.5px]": v
3939
+ "ring-[1px]": !y,
3940
+ "ring-[0.5px]": y
3956
3941
  },
3957
- { "!ring-danger-500 !dark:ring-danger-500": e.invalidInput },
3958
- { "!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 },
3959
3944
  { "pointer-events-none": e.disabled }
3960
3945
  ]
3961
3946
  }),
3962
- input: ({ context: e, parent: t, props: r }) => ({
3947
+ input: ({ context: e, parent: r, props: t }) => ({
3963
3948
  class: [
3964
3949
  ...z.root({
3965
- props: r,
3950
+ props: t,
3966
3951
  context: e,
3967
- parent: t
3952
+ parent: r
3968
3953
  }).class,
3969
3954
  "outline-none !w-full !bg-transparent !p-0 !shadow-none h-max !leading-4 min-w-[70px]",
3970
3955
  { "placeholder:text-transparent": e.showPlaceholder },
3971
- "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"
3972
3958
  ]
3973
3959
  }),
3974
3960
  erroricon: {
3975
- class: ["mr-1 text-warning-600 text-base"]
3961
+ class: ["mr-1 text-warning-600 dark:text-warning-800 text-base"]
3976
3962
  },
3977
3963
  erroroverlaypanel: {
3978
- 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"]
3979
3965
  }
3980
- }, h = navigator.userAgent.includes("Chrome"), de = {
3966
+ }, v = navigator.userAgent.includes("Chrome"), ce = {
3981
3967
  root: ({ props: e }) => ({
3982
3968
  class: [
3983
3969
  {
3984
- "!ring-danger-500 [&_.inputgroupaddon]:ring-danger-500": e.invalid && e.ring !== "none",
3985
- "[&_.inputgroupaddon]:ring-general-200": !e.invalid && e.ring !== "none",
3986
- "!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
3987
3973
  },
3988
3974
  {
3989
- "[&: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"
3990
3976
  },
3991
3977
  {
3992
- "ring-[1px] [&_.inputgroupaddon]:ring-[1px]": !h && e.ring !== "none",
3993
- "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"
3994
3980
  },
3995
3981
  "[&_.inputgroupaddon[data-addon-variant=plain]]:!ring-[0px]",
3996
3982
  "[&:has(input)]:cursor-text",
3997
3983
  "flex items-stretch",
3998
3984
  "w-full",
3999
- "ring-inset ring-general-200 rounded",
4000
- "bg-white",
3985
+ "ring-inset ring-general-200 dark:ring-grayscale-600 rounded",
3986
+ "bg-white dark:bg-grayscale-900",
4001
3987
  e.class
4002
3988
  ],
4003
3989
  "data-wv-section": "inputgroup"
@@ -4020,19 +4006,19 @@ const T = {
4020
4006
  // Size
4021
4007
  "w-max",
4022
4008
  // Font
4023
- "text-general-800",
4009
+ "text-general-800 dark:text-general-50",
4024
4010
  "text-xs font-medium leading-none tracking-tight",
4025
4011
  // Color
4026
- { "bg-general-50": e.addonVariant !== "plain" },
4012
+ { "bg-general-50 dark:bg-grayscale-700": e.addonVariant !== "plain" },
4027
4013
  {
4028
- "!text-general-200": e.disabled,
4014
+ "!text-general-200 dark:!text-grayscale-500": e.disabled,
4029
4015
  "!px-2": e.showButtons
4030
4016
  }
4031
4017
  ],
4032
4018
  "data-addon-variant": e.addonVariant
4033
4019
  // Used in inputgroup to set styling
4034
4020
  })
4035
- }, fe = {
4021
+ }, ge = {
4036
4022
  root: ({ context: e }) => ({
4037
4023
  class: [
4038
4024
  // Font
@@ -4055,8 +4041,8 @@ const T = {
4055
4041
  }
4056
4042
  ]
4057
4043
  })
4058
- }, y = "text-xs font-medium tracking-[0.02em] leading-[18px]", w = "h-[26px]", ge = {
4059
- 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 }) => ({
4060
4046
  class: [
4061
4047
  // Layout
4062
4048
  "flex items-center self-stretch shrink-0 grow",
@@ -4070,19 +4056,19 @@ const T = {
4070
4056
  ]
4071
4057
  }),
4072
4058
  input: {
4073
- root: ({ parent: e, context: t }) => ({
4059
+ root: ({ parent: e, context: r }) => ({
4074
4060
  class: [
4075
4061
  "border-0 h-full w-full outline-none",
4076
4062
  "bg-inherit",
4077
- y,
4078
- "placeholder:text-general-200 placeholder:font-light",
4079
- 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"
4080
4066
  ]
4081
4067
  })
4082
4068
  },
4083
4069
  inputresizer: {
4084
4070
  class: [
4085
- y,
4071
+ h,
4086
4072
  w,
4087
4073
  "user-select-none py-1 px-3 block min-w-4 text-transparent"
4088
4074
  ]
@@ -4108,7 +4094,7 @@ const T = {
4108
4094
  },
4109
4095
  incrementicon: ({ props: e }) => ({
4110
4096
  class: [
4111
- "!text-base text-general-500",
4097
+ "!text-base text-general-500 dark:text-general-100",
4112
4098
  {
4113
4099
  "!text-general-200": e.disabled
4114
4100
  }
@@ -4116,15 +4102,15 @@ const T = {
4116
4102
  }),
4117
4103
  decrementicon: ({ props: e }) => ({
4118
4104
  class: [
4119
- "!text-base text-general-500",
4105
+ "!text-base text-general-500 dark:text-general-100",
4120
4106
  {
4121
4107
  "!text-general-200": e.disabled
4122
4108
  }
4123
4109
  ]
4124
4110
  })
4125
4111
  };
4126
- function m(e, t) {
4127
- return { [e]: t }[e];
4112
+ function m(e, r) {
4113
+ return { [e]: r }[e];
4128
4114
  }
4129
4115
  m("WANGS-TAB-MENU", {
4130
4116
  root: {
@@ -4145,8 +4131,8 @@ m("WANGS-TAB-MENU", {
4145
4131
  menuitem: {
4146
4132
  class: "mr-0"
4147
4133
  },
4148
- action: ({ props: e, context: t }) => {
4149
- var r, i;
4134
+ action: ({ props: e, context: r }) => {
4135
+ var t, a;
4150
4136
  return {
4151
4137
  class: [
4152
4138
  "relative",
@@ -4161,36 +4147,36 @@ m("WANGS-TAB-MENU", {
4161
4147
  rounded: e.type === "segmented",
4162
4148
  "p-2 pb-1.5 pt-0.5 !h-6": e.type === "tab",
4163
4149
  "py-[5px] px-3 !h-6": e.type === "segmented",
4164
- "ml-1": e.type === "pill" && t.index !== 0,
4165
- "gap-1": t.item.icon
4150
+ "ml-1": e.type === "pill" && r.index !== 0,
4151
+ "gap-1": r.item.icon
4166
4152
  },
4167
4153
  // Shape
4168
4154
  {
4169
4155
  "border-b-2": e.type === "tab",
4170
- "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
4171
4157
  },
4172
4158
  // Colors and Conditions
4173
4159
  {
4174
- "border-primary-700": t.active,
4175
- "border-grayscale-400": !t.active,
4176
- "text-grayscale-600": !t.active && e.type === "tab",
4177
- "text-primary-700": t.active && e.type === "tab",
4178
- "bg-primary-700 text-white": e.type === "pill" && t.active,
4179
- "bg-grayscale-100 text-grayscale-800": e.type === "pill" && !t.active,
4180
- "bg-primary-500 text-white": e.type === "segmented" && t.active,
4181
- "!text-general-800": e.type === "segmented" && !t.active,
4182
- "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
4183
4169
  },
4184
4170
  // States
4185
4171
  { "hover:bg-primary-50": e.type === "tab" },
4186
4172
  "focus-visible:outline-none focus-visible:outline-offset-0",
4187
4173
  {
4188
- "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
4189
4175
  },
4190
4176
  // Disabled States
4191
4177
  {
4192
- "pointer-events-none": (r = t.item) == null ? void 0 : r.disabled,
4193
- "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
4194
4180
  },
4195
4181
  // Transitions
4196
4182
  "transition-all duration-200",
@@ -4219,24 +4205,24 @@ m("WANGS-INPUT-OTP", {
4219
4205
  "w-max"
4220
4206
  ]
4221
4207
  },
4222
- input: ({ props: e, context: t, parent: r }) => ({
4208
+ input: ({ props: e, context: r, parent: t }) => ({
4223
4209
  class: [
4224
4210
  // Font
4225
4211
  "text-[14px] leading-none font-medium",
4226
4212
  // Flex & Alignment
4227
- { "flex-1 w-[1%]": r.tagName == "WANGS-INPUT-GROUP" },
4213
+ { "flex-1 w-[1%]": t.tagName == "WANGS-INPUT-GROUP" },
4228
4214
  "text-center",
4229
4215
  // Spacing
4230
4216
  "m-0",
4231
4217
  // Size
4232
4218
  "w-[42px] h-[42px]",
4233
4219
  // Shape
4234
- { "rounded-md": r.tagName !== "WANGS-INPUT-GROUP" },
4220
+ { "rounded-md": t.tagName !== "WANGS-INPUT-GROUP" },
4235
4221
  {
4236
- "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"
4237
4223
  },
4238
4224
  {
4239
- "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"
4240
4226
  },
4241
4227
  // Colors
4242
4228
  "text-general-800 dark:text-general-800",
@@ -4251,36 +4237,36 @@ m("WANGS-INPUT-OTP", {
4251
4237
  { "ring-danger-500 dark:ring-danger-500": e.invalid },
4252
4238
  // States
4253
4239
  {
4254
- "hover:bg-primary-50/50 hover:ring-primary-500 dark:hover:ring-primary-400": !t.disabled && !e.invalid,
4255
- "focus:bg-primary-50/50 focus:ring-primary-500 dark:focus:ring-primary-400": !t.disabled && !e.invalid,
4256
- "focus:outline-none focus:outline-offset-0": !t.disabled,
4257
- "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
4258
4244
  },
4259
4245
  // Filled State *for FloatLabel
4260
- { filled: r.tagName == "WANGS-FLOAT-LABEL" && t.filled },
4246
+ { filled: t.tagName == "WANGS-FLOAT-LABEL" && r.filled },
4261
4247
  // Misc
4262
4248
  "appearance-none",
4263
4249
  "transition-colors duration-200"
4264
4250
  ]
4265
4251
  })
4266
4252
  });
4267
- const a = class a {
4253
+ const s = class s {
4268
4254
  constructor() {
4269
4255
  /**
4270
4256
  * Stores base URLs associated with different app identifiers.
4271
4257
  */
4272
4258
  b(this, "_baseUrl", "");
4273
- if (globalThis[a.SINGLETON_KEY])
4274
- return globalThis[a.SINGLETON_KEY];
4275
- globalThis[a.SINGLETON_KEY] = this;
4259
+ if (globalThis[s.SINGLETON_KEY])
4260
+ return globalThis[s.SINGLETON_KEY];
4261
+ globalThis[s.SINGLETON_KEY] = this;
4276
4262
  }
4277
4263
  /**
4278
4264
  * Registers a base URL for a specific app.
4279
4265
  *
4280
4266
  * @param base - The base URL to be used as a prefix for all routes in that app.
4281
4267
  */
4282
- setNavigationBaseUrl(t) {
4283
- this._baseUrl = this.normalizeBase(t);
4268
+ setNavigationBaseUrl(r) {
4269
+ this._baseUrl = this.normalizeBase(r);
4284
4270
  }
4285
4271
  /**
4286
4272
  * Retrieves the base URL for a specific app.
@@ -4296,8 +4282,8 @@ const a = class a {
4296
4282
  * @param base - The base URL to normalize.
4297
4283
  * @returns A clean base URL ending with a single `/`.
4298
4284
  */
4299
- normalizeBase(t) {
4300
- return t.replace(/\/+$/, "").concat("/");
4285
+ normalizeBase(r) {
4286
+ return r.replace(/\/+$/, "").concat("/");
4301
4287
  }
4302
4288
  /**
4303
4289
  * Prepends the base URL (if any) to the given path.
@@ -4305,14 +4291,14 @@ const a = class a {
4305
4291
  * @param path - The relative path to normalize.
4306
4292
  * @returns A fully normalized path prefixed with the base URL if applicable.
4307
4293
  */
4308
- normalizePath(t) {
4309
- if (!t.startsWith("/"))
4310
- return new URL(t, window.location.href).pathname;
4311
- const r = this.getNavigationBaseUrl();
4312
- if (!r)
4313
- return t;
4314
- const i = t.slice(1);
4315
- 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}`;
4316
4302
  }
4317
4303
  /**
4318
4304
  * Removes the specified base path from the beginning of a given route path.
@@ -4330,8 +4316,8 @@ const a = class a {
4330
4316
  * stripBase('/about', '/base'); // returns '/about' (base not present)
4331
4317
  * stripBase('/base', '/base'); // returns '/'
4332
4318
  */
4333
- stripBase(t, r) {
4334
- 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;
4335
4321
  }
4336
4322
  /**
4337
4323
  * Pushes a new entry to the browser's history stack.
@@ -4343,18 +4329,18 @@ const a = class a {
4343
4329
  * @example
4344
4330
  * Router.push('/about', { from: 'home' });
4345
4331
  */
4346
- push(t, r = {}, i = "") {
4332
+ push(r, t = {}, a = "") {
4347
4333
  var l;
4348
4334
  const n = {
4349
- ...r,
4335
+ ...t,
4350
4336
  ...history.state ?? {},
4351
- current: t,
4337
+ current: r,
4352
4338
  back: (l = history.state) == null ? void 0 : l.current,
4353
4339
  forward: void 0,
4354
4340
  replaced: !1,
4355
4341
  position: history.length + 1
4356
4342
  };
4357
- window.history.pushState(n, i, t);
4343
+ window.history.pushState(n, a, r);
4358
4344
  }
4359
4345
  /**
4360
4346
  * Replaces the current entry in the browser's history stack.
@@ -4366,15 +4352,15 @@ const a = class a {
4366
4352
  * @example
4367
4353
  * Router.replace('/login', { reason: 'session expired' });
4368
4354
  */
4369
- replace(t, r = {}, i = "") {
4355
+ replace(r, t = {}, a = "") {
4370
4356
  const n = {
4371
- ...r,
4357
+ ...t,
4372
4358
  ...history.state ?? {},
4373
4359
  forward: void 0,
4374
- current: t,
4360
+ current: r,
4375
4361
  replaced: !0
4376
4362
  };
4377
- window.history.replaceState(n, i, t);
4363
+ window.history.replaceState(n, a, r);
4378
4364
  }
4379
4365
  /**
4380
4366
  * Dispatches a custom event before navigation occurs.
@@ -4384,9 +4370,9 @@ const a = class a {
4384
4370
  * @param mode - The navigation mode ('push' or 'replace').
4385
4371
  * @param data - Optional state object for the navigation.
4386
4372
  */
4387
- dispatchBeforeNavigationEvent(t, r, i) {
4373
+ dispatchBeforeNavigationEvent(r, t, a) {
4388
4374
  window.dispatchEvent(new CustomEvent("wangs-ui-core:before-navigation-event", {
4389
- detail: { route: t, mode: r, state: i }
4375
+ detail: { route: r, mode: t, state: a }
4390
4376
  }));
4391
4377
  }
4392
4378
  /**
@@ -4397,9 +4383,9 @@ const a = class a {
4397
4383
  * @param mode - The navigation mode ('push' or 'replace').
4398
4384
  * @param data - Optional state object for the navigation.
4399
4385
  */
4400
- dispatchNavigationEvent(t, r, i) {
4386
+ dispatchNavigationEvent(r, t, a) {
4401
4387
  window.dispatchEvent(new CustomEvent("wangs-ui-core:navigation-event", {
4402
- detail: { route: t, mode: r, state: i }
4388
+ detail: { route: r, mode: t, state: a }
4403
4389
  }));
4404
4390
  }
4405
4391
  /**
@@ -4419,17 +4405,17 @@ const a = class a {
4419
4405
  * @example
4420
4406
  * router.navigateToRoute('/about', 'push', { some: 'state' }, '',);
4421
4407
  */
4422
- navigateToRoute(t, r = "push", i = history.state, n = "") {
4423
- if (!t)
4408
+ navigateToRoute(r, t = "push", a = history.state, n = "") {
4409
+ if (!r)
4424
4410
  return;
4425
- 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);
4426
4412
  if (o === location.pathname)
4427
4413
  return console.warn("[WangsUIRouter] Navigation aborted: target route is the same as the current route.");
4428
- 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);
4429
4415
  }
4430
4416
  };
4431
- b(a, "SINGLETON_KEY", "__WANGS_UI_ROUTER_INSTANCE__");
4432
- let p = a;
4417
+ b(s, "SINGLETON_KEY", "__WANGS_UI_ROUTER_INSTANCE__");
4418
+ let p = s;
4433
4419
  new p();
4434
4420
  const me = m("WANGS-INPUT-OTP", {
4435
4421
  root: {
@@ -4440,73 +4426,72 @@ const me = m("WANGS-INPUT-OTP", {
4440
4426
  "w-max"
4441
4427
  ]
4442
4428
  },
4443
- input: ({ props: e, context: t, parent: r }) => ({
4429
+ input: ({ props: e, context: r, parent: t }) => ({
4444
4430
  class: [
4445
4431
  // Font
4446
4432
  "text-[14px] leading-none font-medium",
4447
4433
  // Flex & Alignment
4448
- { "flex-1 w-[1%]": r.tagName == "WANGS-INPUT-GROUP" },
4434
+ { "flex-1 w-[1%]": t.tagName == "WANGS-INPUT-GROUP" },
4449
4435
  "text-center",
4450
4436
  // Spacing
4451
4437
  "m-0",
4452
4438
  // Size
4453
4439
  "w-[42px] h-[42px]",
4454
4440
  // Shape
4455
- { "rounded-md": r.tagName !== "WANGS-INPUT-GROUP" },
4441
+ { "rounded-md": t.tagName !== "WANGS-INPUT-GROUP" },
4456
4442
  {
4457
- "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"
4458
4444
  },
4459
4445
  {
4460
- "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"
4461
4447
  },
4462
4448
  // Colors
4463
- "text-general-800 dark:text-general-800",
4464
- "placeholder:text-surface-400 dark:placeholder:text-surface-500",
4465
- "bg-white dark:bg-white",
4449
+ "text-general-800 dark:text-general-50",
4450
+ "bg-white dark:bg-grayscale-900",
4466
4451
  {
4467
4452
  "ring-1": navigator.userAgent.includes("Firefox"),
4468
4453
  "ring-[0.5px]": !navigator.userAgent.includes("Firefox")
4469
4454
  },
4470
- { "ring-general-200 dark:ring-general-200": !e.invalid },
4455
+ { "ring-general-200 dark:ring-grayscale-600": !e.invalid },
4471
4456
  // Invalid State
4472
- { "ring-danger-500 dark:ring-danger-500": e.invalid },
4457
+ { "ring-danger-500 dark:ring-danger-600": e.invalid },
4473
4458
  // States
4474
4459
  {
4475
- "hover:bg-primary-50/30 hover:ring-primary-500 dark:hover:ring-primary-400": !t.disabled && !e.invalid,
4476
- "focus:bg-primary-50/30 focus:ring-primary-500 dark:focus:ring-primary-400": !t.disabled && !e.invalid,
4477
- "focus:outline-none focus:outline-offset-0": !t.disabled,
4478
- "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
4479
4464
  },
4480
4465
  // Filled State *for FloatLabel
4481
- { filled: r.tagName == "WANGS-FLOAT-LABEL" && t.filled },
4466
+ { filled: t.tagName == "WANGS-FLOAT-LABEL" && r.filled },
4482
4467
  // Misc
4483
4468
  "appearance-none",
4484
4469
  "transition-colors duration-200"
4485
4470
  ]
4486
4471
  })
4487
- }), f = ({ isChromeBased: e, invalidInput: t }) => [
4472
+ }), g = ({ isChromeBased: e, invalidInput: r }) => [
4488
4473
  { "ring-[1px]": !e, "ring-[0.5px]": e },
4489
- { "!ring-danger-500": t },
4474
+ { "!ring-danger-500 dark:!ring-danger-300": r },
4490
4475
  "ring-inset",
4491
- "ring-general-200",
4476
+ "ring-general-200 dark:ring-grayscale-600",
4492
4477
  "[&:has(:focus)]:bg-none",
4493
- "[&:has(:focus)]:ring-primary-500",
4478
+ "[&:has(:focus)]:ring-primary-500 dark:[&:has(:focus)]:ring-primary-300",
4494
4479
  "[&:has(:focus)]:ring-1",
4495
- "bg-white",
4480
+ "bg-white dark:bg-grayscale-900",
4496
4481
  "z-[0] [&:has(:focus)]:z-[12]"
4497
4482
  ], be = {
4498
4483
  dialcode: {
4499
4484
  root: (e) => ({
4500
- class: [...f(e), "!rounded-l !rounded-r-none"]
4485
+ class: [...g(e), "!rounded-l !rounded-r-none"]
4501
4486
  }),
4502
- dropdownicon: ({ state: e }) => s.dropdownicon({ state: e })
4487
+ dropdownicon: ({ state: e }) => i.dropdownicon({ state: e })
4503
4488
  },
4504
4489
  input: (e) => ({
4505
4490
  class: [
4506
- ...f(e),
4491
+ ...g(e),
4507
4492
  "!rounded-r !rounded-l-none -ml-[1px]",
4508
4493
  "focus:bg-none",
4509
- "focus:ring-primary-500",
4494
+ "focus:ring-primary-500 dark:focus:ring-primary-300",
4510
4495
  "focus:ring-1"
4511
4496
  ]
4512
4497
  })
@@ -4681,7 +4666,7 @@ const me = m("WANGS-INPUT-OTP", {
4681
4666
  "bg-transparent"
4682
4667
  ]
4683
4668
  }
4684
- }, ve = {
4669
+ }, ye = {
4685
4670
  root: ({ props: e }) => ({
4686
4671
  class: [
4687
4672
  "relative",
@@ -4738,21 +4723,21 @@ const me = m("WANGS-INPUT-OTP", {
4738
4723
  }
4739
4724
  ]
4740
4725
  }),
4741
- content: ({ props: e, context: t }) => ({
4726
+ content: ({ props: e, context: r }) => ({
4742
4727
  class: [
4743
4728
  // Shape
4744
4729
  { "rounded-md": e.level < 1 },
4745
4730
  // Colors
4746
4731
  {
4747
- "text-surface-500/70": !t.focused && !t.active,
4748
- "text-surface-500/70 bg-surface-200": t.focused && !t.active,
4749
- "text-surface-900/80 bg-surface-50": t.focused && t.active,
4750
- "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
4751
4736
  },
4752
4737
  // Hover States
4753
4738
  {
4754
- "hover:bg-surface-50": !t.active,
4755
- "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
4756
4741
  },
4757
4742
  // Transitions
4758
4743
  "transition-all",
@@ -4862,7 +4847,7 @@ const me = m("WANGS-INPUT-OTP", {
4862
4847
  end: {
4863
4848
  class: "ml-auto self-center"
4864
4849
  }
4865
- }, he = {
4850
+ }, ve = {
4866
4851
  root: {
4867
4852
  class: [
4868
4853
  // Position
@@ -4881,8 +4866,8 @@ const me = m("WANGS-INPUT-OTP", {
4881
4866
  "shadow",
4882
4867
  "overflow-hidden",
4883
4868
  // Colors
4884
- "bg-white",
4885
- "text-general-800"
4869
+ "bg-white dark:bg-grayscale-900",
4870
+ "text-general-800 dark:text-general-100"
4886
4871
  ]
4887
4872
  },
4888
4873
  menu: {
@@ -4923,7 +4908,7 @@ const me = m("WANGS-INPUT-OTP", {
4923
4908
  class: [
4924
4909
  "flex items-center justify-start gap-2",
4925
4910
  "px-4 py-[7px]",
4926
- "hover:bg-primary-50/80",
4911
+ "hover:bg-primary-50/80 dark:hover:bg-grayscale-800/80",
4927
4912
  "text-xs",
4928
4913
  // 'relative',
4929
4914
  // Font
@@ -4948,7 +4933,10 @@ const me = m("WANGS-INPUT-OTP", {
4948
4933
  ]
4949
4934
  },
4950
4935
  label: ({ props: e }) => ({
4951
- class: ["text-inherit", { "!text-danger-500": e.danger }]
4936
+ class: [
4937
+ "text-inherit",
4938
+ { "!text-danger-500 dark:!text-danger-600": e.danger }
4939
+ ]
4952
4940
  }),
4953
4941
  submenuheader: {
4954
4942
  class: [
@@ -4962,7 +4950,7 @@ const me = m("WANGS-INPUT-OTP", {
4962
4950
  leaveActiveClass: "transition-opacity duration-100 ease-linear",
4963
4951
  leaveToClass: "opacity-0"
4964
4952
  }
4965
- }, ye = {
4953
+ }, he = {
4966
4954
  root: {
4967
4955
  class: [
4968
4956
  "relative",
@@ -5012,20 +5000,20 @@ const me = m("WANGS-INPUT-OTP", {
5012
5000
  menuitem: {
5013
5001
  class: "sm:relative sm:w-auto w-full static"
5014
5002
  },
5015
- content: ({ props: e, context: t }) => ({
5003
+ content: ({ props: e, context: r }) => ({
5016
5004
  class: [
5017
5005
  // Shape
5018
5006
  { "rounded-md": e.root },
5019
5007
  // Colors
5020
5008
  {
5021
- "text-surface-500/70": !t.focused && !t.active,
5022
- "text-surface-500/70 bg-surface-200": t.focused && !t.active,
5023
- "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
5024
5012
  },
5025
5013
  // Hover States
5026
5014
  {
5027
- "hover:bg-surface-50": !t.active,
5028
- "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
5029
5017
  },
5030
5018
  // Transitions
5031
5019
  "transition-all",
@@ -5548,8 +5536,8 @@ const me = m("WANGS-INPUT-OTP", {
5548
5536
  "absolute left-0 top-0 mt-2",
5549
5537
  "z-40 transform origin-center",
5550
5538
  // Color
5551
- "bg-white",
5552
- "text-general-800",
5539
+ "bg-white dark:bg-grayscale-900",
5540
+ "text-general-800 dark:text-white",
5553
5541
  // Before: Triangle
5554
5542
  "before:absolute before:-top-2 before:ml-4 before:z-50",
5555
5543
  "before:w-0 before:h-0 before:shadow-xl"
@@ -5572,8 +5560,8 @@ const me = m("WANGS-INPUT-OTP", {
5572
5560
  class: [
5573
5561
  // Flex & Alignment
5574
5562
  "flex items-center justify-start flex-wrap gap-0.5",
5575
- "bg-white",
5576
- "text-grayscale-900"
5563
+ "bg-white dark:bg-grayscale-900",
5564
+ "text-grayscale-900 dark:text-grayscale-50"
5577
5565
  ]
5578
5566
  },
5579
5567
  paginatorwrapper: {
@@ -5594,7 +5582,7 @@ const me = m("WANGS-INPUT-OTP", {
5594
5582
  // Size
5595
5583
  "w-6 h-6",
5596
5584
  // Color
5597
- "text-general-300",
5585
+ "text-general-300 dark:text-grayscale-500 ",
5598
5586
  // Transition
5599
5587
  "transition duration-200",
5600
5588
  // Misc
@@ -5614,7 +5602,7 @@ const me = m("WANGS-INPUT-OTP", {
5614
5602
  // Size
5615
5603
  "w-6 h-6",
5616
5604
  // Color
5617
- "text-general-300",
5605
+ "text-general-300 dark:text-grayscale-500 ",
5618
5606
  // Transition
5619
5607
  "transition duration-200",
5620
5608
  // Misc
@@ -5634,7 +5622,7 @@ const me = m("WANGS-INPUT-OTP", {
5634
5622
  // Size
5635
5623
  "w-6 h-6",
5636
5624
  // Color
5637
- "text-general-300",
5625
+ "text-general-300 dark:text-grayscale-500 ",
5638
5626
  // Transition
5639
5627
  "transition duration-200",
5640
5628
  // Misc
@@ -5654,7 +5642,7 @@ const me = m("WANGS-INPUT-OTP", {
5654
5642
  // Size
5655
5643
  "w-6 h-6",
5656
5644
  // Color
5657
- "text-general-300",
5645
+ "text-general-300 dark:text-grayscale-500 ",
5658
5646
  // Transition
5659
5647
  "transition duration-200",
5660
5648
  // Misc
@@ -5673,13 +5661,13 @@ const me = m("WANGS-INPUT-OTP", {
5673
5661
  "w-6 h-6",
5674
5662
  // Color
5675
5663
  {
5676
- "text-general-300 border-none hover:bg-grayscale-50": !e.active,
5677
- "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
5678
5666
  },
5679
5667
  // State
5680
5668
  {
5681
5669
  "hover:border-surface-300": !e.disabled && !e.active,
5682
- "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
5683
5671
  },
5684
5672
  // Transition
5685
5673
  "transition duration-200",
@@ -5689,7 +5677,7 @@ const me = m("WANGS-INPUT-OTP", {
5689
5677
  ]
5690
5678
  }),
5691
5679
  rowperpagedropdown: {
5692
- root: ({ props: e, state: t }) => ({
5680
+ root: ({ props: e, state: r }) => ({
5693
5681
  class: [
5694
5682
  // Display and Position
5695
5683
  "inline-flex items-center justify-center",
@@ -5701,13 +5689,13 @@ const me = m("WANGS-INPUT-OTP", {
5701
5689
  "rounded-[50px]",
5702
5690
  // Color and Background
5703
5691
  "bg-transparent",
5704
- "border-[0.5px] border-general-200",
5692
+ "border-[0.5px] border-general-200 dark:border-grayscale-600",
5705
5693
  // Transitions
5706
5694
  "transition-all",
5707
5695
  "duration-200",
5708
5696
  // States
5709
5697
  {
5710
- "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
5711
5699
  },
5712
5700
  // Misc
5713
5701
  "cursor-pointer",
@@ -5729,7 +5717,7 @@ const me = m("WANGS-INPUT-OTP", {
5729
5717
  "flex items-center",
5730
5718
  // Color and Background
5731
5719
  "bg-transparent",
5732
- "text-general-800",
5720
+ "text-general-800 dark:text-general-50",
5733
5721
  // Sizing and Spacing
5734
5722
  "w-max",
5735
5723
  // 'py-1.5 px-3 pr-0',
@@ -5777,9 +5765,9 @@ const me = m("WANGS-INPUT-OTP", {
5777
5765
  "rounded-md",
5778
5766
  // 'shadow-md',
5779
5767
  // Color
5780
- "bg-white",
5781
- "text-general-800",
5782
- "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"
5783
5771
  ]
5784
5772
  },
5785
5773
  wrapper: {
@@ -5821,7 +5809,7 @@ const me = m("WANGS-INPUT-OTP", {
5821
5809
  // !context.focused && context.selected,
5822
5810
  // },
5823
5811
  //States
5824
- "hover:bg-primary-50",
5812
+ "hover:bg-primary-50 dark:hover:bg-grayscale-800",
5825
5813
  // Misc
5826
5814
  "cursor-pointer",
5827
5815
  "overflow-hidden",
@@ -5846,8 +5834,8 @@ const me = m("WANGS-INPUT-OTP", {
5846
5834
  "flex-auto",
5847
5835
  // Color and Background
5848
5836
  "bg-transparent",
5849
- "border-general-200 border-[0.5px]",
5850
- "text-general-800",
5837
+ "border-general-200 dark:border-grayscale-600 border-[0.5px]",
5838
+ "text-general-800 dark:text-general-100",
5851
5839
  // Sizing and Spacing
5852
5840
  "max-w-[3rem] w-fit",
5853
5841
  "px-3 py-1",
@@ -5857,7 +5845,7 @@ const me = m("WANGS-INPUT-OTP", {
5857
5845
  "transition",
5858
5846
  "duration-200",
5859
5847
  // States
5860
- "hover:ring-general-200",
5848
+ "hover:ring-general-200 dark:hover:ring-grayscale-600",
5861
5849
  "focus-visible:outline-none focus-visible:shadow-none",
5862
5850
  // 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-body',
5863
5851
  // Misc
@@ -5870,7 +5858,7 @@ const me = m("WANGS-INPUT-OTP", {
5870
5858
  }
5871
5859
  },
5872
5860
  jumptopagedropdown: {
5873
- root: ({ props: e, state: t }) => ({
5861
+ root: ({ props: e, state: r }) => ({
5874
5862
  class: [
5875
5863
  // Display and Position
5876
5864
  "inline-flex",
@@ -5887,7 +5875,7 @@ const me = m("WANGS-INPUT-OTP", {
5887
5875
  "duration-200",
5888
5876
  // States
5889
5877
  {
5890
- "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
5891
5879
  },
5892
5880
  // Misc
5893
5881
  "cursor-pointer",
@@ -5994,13 +5982,13 @@ const me = m("WANGS-INPUT-OTP", {
5994
5982
  "text-surface-700/80": !e.focused && !e.selected
5995
5983
  },
5996
5984
  {
5997
- "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
5998
5986
  },
5999
5987
  {
6000
5988
  "bg-transparent text-surface-700/80": !e.focused && e.selected
6001
5989
  },
6002
5990
  //States
6003
- "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",
6004
5992
  // Misc
6005
5993
  "cursor-pointer",
6006
5994
  "overflow-hidden",
@@ -6090,7 +6078,7 @@ const me = m("WANGS-INPUT-OTP", {
6090
6078
  leaveActiveClass: "overflow-hidden transition-[max-height] duration-[450ms] ease-[cubic-bezier(0,1,0,1)]",
6091
6079
  leaveToClass: "max-h-0"
6092
6080
  }
6093
- }, Te = {
6081
+ }, _e = {
6094
6082
  panel: {
6095
6083
  class: "mb-1"
6096
6084
  },
@@ -6101,15 +6089,15 @@ const me = m("WANGS-INPUT-OTP", {
6101
6089
  "focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring focus-visible:ring-primary-400/50"
6102
6090
  ]
6103
6091
  },
6104
- headercontent: ({ context: e, instance: t }) => {
6105
- var r, i;
6092
+ headercontent: ({ context: e, instance: r }) => {
6093
+ var t, a;
6106
6094
  return {
6107
6095
  class: [
6108
6096
  // Shape
6109
6097
  "rounded-t-md",
6110
6098
  {
6111
- "rounded-br-md rounded-bl-md": !e.active || ((r = t.activeItem) == null ? void 0 : r.items) === void 0,
6112
- "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
6113
6101
  },
6114
6102
  // Color
6115
6103
  "border border-surface-200",
@@ -6207,13 +6195,13 @@ const me = m("WANGS-INPUT-OTP", {
6207
6195
  leaveActiveClass: "overflow-hidden transition-[max-height] duration-[450ms] ease-[cubic-bezier(0,1,0,1)]",
6208
6196
  leaveToClass: "max-h-0"
6209
6197
  }
6210
- }, _e = {
6198
+ }, Pe = {
6211
6199
  root: ({ props: e }) => ({
6212
6200
  class: [
6213
6201
  "w-full",
6214
6202
  "inline-flex relative",
6215
6203
  // 'border-[0.5px] border-general-200 rounded',
6216
- "text-general-800",
6204
+ "text-general-800 dark:text-general-50",
6217
6205
  {
6218
6206
  "opacity-60 select-none pointer-events-none cursor-default": e.disabled
6219
6207
  }
@@ -6221,7 +6209,7 @@ const me = m("WANGS-INPUT-OTP", {
6221
6209
  }),
6222
6210
  input: {
6223
6211
  class: [
6224
- "!bg-primary-500",
6212
+ "!bg-primary-500 dark:!bg-primary-300",
6225
6213
  "placeholder:!font-normal"
6226
6214
  // 'bg-white text-general-800 placeholder:text-general-200 placeholder:font-light',
6227
6215
  // 'w-full h-full !max-h-[43px]',
@@ -6240,8 +6228,8 @@ const me = m("WANGS-INPUT-OTP", {
6240
6228
  "border-0",
6241
6229
  "shadow-md rounded-md",
6242
6230
  // Colors
6243
- "bg-white",
6244
- "text-general-800",
6231
+ "bg-white dark:bg-grayscale-900",
6232
+ "text-general-800 dark:text-general-50",
6245
6233
  ""
6246
6234
  ]
6247
6235
  },
@@ -6255,22 +6243,21 @@ const me = m("WANGS-INPUT-OTP", {
6255
6243
  "h-2",
6256
6244
  "rounded-md",
6257
6245
  // Spacing
6258
- "mb-2",
6246
+ "mb-2"
6259
6247
  // Colors
6260
- "bg-surface-100"
6261
6248
  ]
6262
6249
  },
6263
6250
  meterlabel: ({ instance: e }) => {
6264
- var t, r, i;
6251
+ var r, t, a;
6265
6252
  return {
6266
6253
  class: [
6267
6254
  // Size
6268
6255
  "h-full",
6269
6256
  // Colors
6270
6257
  {
6271
- "bg-red-500/50": ((t = e == null ? void 0 : e.meter) == null ? void 0 : t.strength) == "weak",
6272
- "bg-orange-500/50": ((r = e == null ? void 0 : e.meter) == null ? void 0 : r.strength) == "medium",
6273
- "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"
6274
6261
  },
6275
6262
  // Transitions
6276
6263
  "transition-all duration-1000 ease-in-out"
@@ -6280,15 +6267,15 @@ const me = m("WANGS-INPUT-OTP", {
6280
6267
  showicon: {
6281
6268
  class: [
6282
6269
  "absolute top-[54%] right-3 -mt-2",
6283
- "text-general-200",
6284
- "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",
6285
6272
  "[&>.icon]:!w-4 [&>.icon]:!h-4"
6286
6273
  ]
6287
6274
  },
6288
6275
  hideicon: {
6289
6276
  class: [
6290
6277
  "absolute top-[54%] right-3 -mt-2",
6291
- "text-general-200"
6278
+ "text-general-200 dark:text-general-400"
6292
6279
  ]
6293
6280
  },
6294
6281
  transition: {
@@ -6297,7 +6284,7 @@ const me = m("WANGS-INPUT-OTP", {
6297
6284
  leaveActiveClass: "transition-opacity duration-100 ease-linear",
6298
6285
  leaveToClass: "opacity-0"
6299
6286
  }
6300
- }, Ne = {
6287
+ }, Te = {
6301
6288
  root: {
6302
6289
  class: [
6303
6290
  // Flexbox
@@ -6868,7 +6855,7 @@ const me = m("WANGS-INPUT-OTP", {
6868
6855
  leaveActiveClass: "!transition-none",
6869
6856
  leaveToClass: "!transition-none"
6870
6857
  }
6871
- }, Ie = {
6858
+ }, Ne = {
6872
6859
  root: ({ props: e }) => ({
6873
6860
  class: [
6874
6861
  {
@@ -6994,21 +6981,21 @@ const me = m("WANGS-INPUT-OTP", {
6994
6981
  "ring-1",
6995
6982
  { "ring-1": !k, "ring-[0.5px]": k },
6996
6983
  {
6997
- "before:bg-white": e.modelValue == e.trueValue,
6998
- "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,
6999
6986
  // Inactive and Enabled
7000
- "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,
7001
6988
  // Active and Enabled
7002
- "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,
7003
6990
  // Active and Disabled
7004
- "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,
7005
6992
  // Inactive and Disabled
7006
- "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
7007
6994
  },
7008
6995
  // TriState colors
7009
6996
  e.triState && {
7010
- "!bg-danger-500 before:!bg-white ring-transparent": e.modelValue == e.falseValue && !e.disabled,
7011
- "!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
7012
6999
  },
7013
7000
  // States
7014
7001
  "peer-focus-visible:!outline peer-focus-visible:!outline-offset-0 peer-focus-visible:!outline-primary-500/[5%]",
@@ -7050,7 +7037,7 @@ const me = m("WANGS-INPUT-OTP", {
7050
7037
  "relative",
7051
7038
  "w-max h-max items-start cursor-pointer",
7052
7039
  "flex items-start select-none text-xs tracking-[0.02em] font-medium",
7053
- "text-general-800",
7040
+ "text-general-800 dark:text-general-100",
7054
7041
  "shrink-0",
7055
7042
  // Alignment
7056
7043
  "inline-flex",
@@ -7064,10 +7051,10 @@ const me = m("WANGS-INPUT-OTP", {
7064
7051
  class: "ml-1 leading-4"
7065
7052
  },
7066
7053
  tooltipicon: {
7067
- class: "text-primary-500 w-[10px] h-[10px]"
7054
+ class: "text-primary-500 dark:text-primary-300 w-[10px] h-[10px]"
7068
7055
  }
7069
- }, Pe = {
7070
- root: ({ props: e, state: t }) => ({
7056
+ }, Ie = {
7057
+ root: ({ props: e, state: r }) => ({
7071
7058
  class: [
7072
7059
  "relative",
7073
7060
  // Flexbox & Alignment
@@ -7080,14 +7067,14 @@ const me = m("WANGS-INPUT-OTP", {
7080
7067
  "rounded-full",
7081
7068
  // Colors
7082
7069
  {
7083
- "bg-white": !e.disabled || t.checked,
7084
- "bg-general-50": e.disabled && !t.checked,
7085
- "ring-general-100": !e.disabled && !t.checked,
7086
- "ring-primary-500": !e.disabled && t.checked,
7087
- "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
7088
7075
  },
7089
7076
  {
7090
- "!ring-danger-500": e.invalid
7077
+ "!ring-danger-500 dark:!ring-danger-600": e.invalid
7091
7078
  },
7092
7079
  // Misc
7093
7080
  "cursor-pointer"
@@ -7095,7 +7082,7 @@ const me = m("WANGS-INPUT-OTP", {
7095
7082
  "data-wv-name": "buttonradio",
7096
7083
  "data-wv-section": "root"
7097
7084
  }),
7098
- box: ({ props: e, state: t }) => ({
7085
+ box: ({ props: e, state: r }) => ({
7099
7086
  class: [
7100
7087
  // Size
7101
7088
  "w-2 h-2",
@@ -7110,13 +7097,13 @@ const me = m("WANGS-INPUT-OTP", {
7110
7097
  "transition duration-200 ease-in-out",
7111
7098
  // Colors
7112
7099
  {
7113
- "bg-primary-500": t.checked && e.value !== void 0 && !e.disabled,
7114
- "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
7115
7102
  },
7116
7103
  // States
7117
7104
  {
7118
7105
  "outline-none outline-offset-0": !e.disabled,
7119
- "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
7120
7107
  }
7121
7108
  ]
7122
7109
  }),
@@ -7181,13 +7168,13 @@ const me = m("WANGS-INPUT-OTP", {
7181
7168
  "text-red-500"
7182
7169
  ]
7183
7170
  },
7184
- item: ({ props: e, context: t }) => ({
7171
+ item: ({ props: e, context: r }) => ({
7185
7172
  class: [
7186
7173
  // Flex & Alignment
7187
7174
  "inline-flex items-center",
7188
7175
  // State
7189
7176
  {
7190
- "outline-none ring-2 ring-primary-500": t.focused
7177
+ "outline-none ring-2 ring-primary-500": r.focused
7191
7178
  },
7192
7179
  // Misc
7193
7180
  {
@@ -7218,12 +7205,12 @@ const me = m("WANGS-INPUT-OTP", {
7218
7205
  "transition duration-200 ease-in"
7219
7206
  ]
7220
7207
  })
7221
- }, Fe = {
7208
+ }, $e = {
7222
7209
  root: {
7223
7210
  class: ["block absolute bg-surface-0/50 rounded-full pointer-events-none"],
7224
7211
  style: "transform: scale(0)"
7225
7212
  }
7226
- }, Ve = {
7213
+ }, Fe = {
7227
7214
  wrapper: {
7228
7215
  class: [
7229
7216
  // Size & Position
@@ -7282,7 +7269,7 @@ const me = m("WANGS-INPUT-OTP", {
7282
7269
  "relative"
7283
7270
  ]
7284
7271
  }
7285
- }, Ue = {
7272
+ }, Ve = {
7286
7273
  root: ({ props: e }) => ({
7287
7274
  class: [
7288
7275
  // Flex & Alignment
@@ -7318,7 +7305,7 @@ const me = m("WANGS-INPUT-OTP", {
7318
7305
  leaveActiveClass: "transition-opacity duration-150",
7319
7306
  leaveToClass: "opacity-0"
7320
7307
  }
7321
- }, Ee = {
7308
+ }, Ue = {
7322
7309
  root: ({ props: e }) => ({
7323
7310
  class: [
7324
7311
  "shadow-sm flex flex-col min-w-[43px] w-max"
@@ -7490,7 +7477,7 @@ const me = m("WANGS-INPUT-OTP", {
7490
7477
  leaveActiveClass: "transition-opacity duration-400 ease-in",
7491
7478
  leaveToClass: "opacity-0 mask-active"
7492
7479
  }
7493
- }, Ge = {
7480
+ }, Ee = {
7494
7481
  root: ({ props: e }) => ({
7495
7482
  class: [
7496
7483
  "overflow-hidden",
@@ -7506,7 +7493,7 @@ const me = m("WANGS-INPUT-OTP", {
7506
7493
  "bg-general-50"
7507
7494
  ]
7508
7495
  })
7509
- }, $e = {
7496
+ }, Ge = {
7510
7497
  root: ({ props: e }) => ({
7511
7498
  class: [
7512
7499
  "relative",
@@ -8137,7 +8124,7 @@ const me = m("WANGS-INPUT-OTP", {
8137
8124
  "justify-center"
8138
8125
  ]
8139
8126
  },
8140
- action: ({ props: e, context: t, state: r }) => ({
8127
+ action: ({ props: e, context: r, state: t }) => ({
8141
8128
  class: [
8142
8129
  // Flexbox
8143
8130
  "inline-flex items-start relative",
@@ -8147,7 +8134,7 @@ const me = m("WANGS-INPUT-OTP", {
8147
8134
  "rounded-md",
8148
8135
  // Spacing
8149
8136
  {
8150
- "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
8151
8138
  },
8152
8139
  // Colors
8153
8140
  "bg-surface-0",
@@ -8157,10 +8144,10 @@ const me = m("WANGS-INPUT-OTP", {
8157
8144
  // After
8158
8145
  "after:border-t-2",
8159
8146
  {
8160
- "after:border-surface-200": r.d_activeStep <= t.index
8147
+ "after:border-surface-200": t.d_activeStep <= r.index
8161
8148
  },
8162
8149
  {
8163
- "after:border-primary-500": r.d_activeStep > t.index
8150
+ "after:border-primary-500": t.d_activeStep > r.index
8164
8151
  },
8165
8152
  "after:w-full",
8166
8153
  "after:absolute",
@@ -8168,10 +8155,10 @@ const me = m("WANGS-INPUT-OTP", {
8168
8155
  "after:left-0",
8169
8156
  "after:transform",
8170
8157
  "after:-mt-3",
8171
- { "after:hidden": e.model.length == t.index + 1 }
8158
+ { "after:hidden": e.model.length == r.index + 1 }
8172
8159
  ]
8173
8160
  }),
8174
- step: ({ context: e, props: t, state: r }) => ({
8161
+ step: ({ context: e, props: r, state: t }) => ({
8175
8162
  class: [
8176
8163
  // Flexbox
8177
8164
  "flex items-center justify-center",
@@ -8187,22 +8174,22 @@ const me = m("WANGS-INPUT-OTP", {
8187
8174
  "leading-[2rem]",
8188
8175
  // Colors
8189
8176
  {
8190
- "text-surface-400/60": !e.active && r.d_activeStep < e.index,
8191
- "border-surface-100": !e.active && r.d_activeStep < e.index,
8192
- "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
8193
8180
  },
8194
8181
  {
8195
8182
  "border-primary-500": e.active,
8196
8183
  "text-primary-500": e.active
8197
8184
  },
8198
8185
  {
8199
- "bg-primary-500": r.d_activeStep > e.index,
8200
- "text-surface-0": r.d_activeStep > e.index,
8201
- "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
8202
8189
  },
8203
8190
  // States
8204
8191
  {
8205
- "hover:border-surface-300": !e.active && !t.readonly
8192
+ "hover:border-surface-300": !e.active && !r.readonly
8206
8193
  },
8207
8194
  // Transition
8208
8195
  "transition-colors duration-200 ease-in-out"
@@ -8242,17 +8229,17 @@ const me = m("WANGS-INPUT-OTP", {
8242
8229
  "list-none",
8243
8230
  "p-0 m-0",
8244
8231
  // Colors
8245
- "text-general-100",
8232
+ "text-general-100 dark:text-general-100",
8246
8233
  {
8247
- "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"
8248
8235
  }
8249
8236
  ]
8250
8237
  }),
8251
8238
  menuitem: {
8252
8239
  class: "mr-0"
8253
8240
  },
8254
- action: ({ context: e, props: t }) => {
8255
- var r, i;
8241
+ action: ({ context: e, props: r }) => {
8242
+ var t, a;
8256
8243
  return {
8257
8244
  class: [
8258
8245
  "relative",
@@ -8263,37 +8250,37 @@ const me = m("WANGS-INPUT-OTP", {
8263
8250
  "flex items-center",
8264
8251
  // Spacing
8265
8252
  {
8266
- "rounded-xl py-1 px-3": t.type === "pill",
8267
- rounded: t.type === "segmented",
8268
- "p-2 pb-1.5 pt-0.5 !h-6": t.type === "tab",
8269
- "py-[5px] px-3 !h-[26px]": t.type === "segmented",
8270
- "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
8271
8258
  },
8272
8259
  // Shape
8273
8260
  {
8274
- "border-b-2": t.type === "tab"
8261
+ "border-b-2": r.type === "tab"
8275
8262
  },
8276
8263
  // Colors and Conditions
8277
8264
  {
8278
- "border-primary-500": e.active,
8279
- "border-grayscale-400": !e.active,
8280
- "text-grayscale-600": !e.active,
8281
- "text-primary-500": e.active && t.type !== "segmented",
8282
- "bg-primary-50 text-primary-500": t.type === "pill" && e.active,
8283
- "bg-grayscale-200 text-grayscale-800": t.type === "pill" && !e.active,
8284
- "bg-primary-500 text-white shadow-[-2px_2px_2px_rgba(0,0,0,0.25)]": t.type === "segmented" && e.active,
8285
- "!text-general-800": t.type === "segmented" && !e.active,
8286
- "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
8287
8274
  },
8288
8275
  // States
8289
8276
  "focus-visible:outline-none focus-visible:outline-offset-0",
8290
8277
  {
8291
- "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
8292
8279
  },
8293
8280
  // Disabled States
8294
8281
  {
8295
- "pointer-events-none": (r = e.item) == null ? void 0 : r.disabled,
8296
- "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
8297
8284
  },
8298
8285
  // Transitions
8299
8286
  "transition-all duration-200",
@@ -8311,7 +8298,7 @@ const me = m("WANGS-INPUT-OTP", {
8311
8298
  },
8312
8299
  inkbar: ({ props: e }) => ({
8313
8300
  class: [
8314
- "grow border-b-2 border-primary-100",
8301
+ "grow border-b-2 border-grayscale-400 dark:border-grayscale-600",
8315
8302
  {
8316
8303
  hidden: e.type === "pill" || e.useTrailingLine === !1 || e.type === "segmented"
8317
8304
  }
@@ -8393,7 +8380,7 @@ const me = m("WANGS-INPUT-OTP", {
8393
8380
  }
8394
8381
  ]
8395
8382
  }),
8396
- headerAction: ({ parent: e, context: t }) => ({
8383
+ headerAction: ({ parent: e, context: r }) => ({
8397
8384
  class: [
8398
8385
  "relative",
8399
8386
  // Font
@@ -8409,20 +8396,20 @@ const me = m("WANGS-INPUT-OTP", {
8409
8396
  "rounded-t-md",
8410
8397
  // Colors and Conditions
8411
8398
  {
8412
- "border-surface-200": e.state.d_activeIndex !== t.index,
8413
- "bg-surface-0": e.state.d_activeIndex !== t.index,
8414
- "text-surface-700/80": e.state.d_activeIndex !== t.index,
8415
- "bg-surface-0": e.state.d_activeIndex === t.index,
8416
- "border-primary-500": e.state.d_activeIndex === t.index,
8417
- "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
8418
8405
  },
8419
8406
  // States
8420
8407
  "focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring-2 focus-visible:ring-inset",
8421
8408
  "focus-visible:ring-primary-500",
8422
8409
  {
8423
- "hover:bg-surface-0": e.state.d_activeIndex !== t.index,
8424
- "hover:border-surface-400": e.state.d_activeIndex !== t.index,
8425
- "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
8426
8413
  },
8427
8414
  // Transitions
8428
8415
  "transition-all duration-200",
@@ -8537,17 +8524,17 @@ const me = m("WANGS-INPUT-OTP", {
8537
8524
  ]
8538
8525
  }
8539
8526
  }, He = {
8540
- root: ({ context: e, props: t }) => ({
8527
+ root: ({ context: e, props: r }) => ({
8541
8528
  class: [
8542
8529
  // Font
8543
8530
  "font-medium text-xs tracking-[0.02em]",
8544
- "placeholder:text-general-200 placeholder:!font-light",
8531
+ "placeholder:text-general-200 dark:placeholder:text-general-600 placeholder:!font-light",
8545
8532
  "w-full",
8546
8533
  {
8547
- "resize-none": t.autoResize,
8548
- resize: !t.autoResize
8534
+ "resize-none": r.autoResize,
8535
+ resize: !r.autoResize
8549
8536
  },
8550
- t.inputClass,
8537
+ r.inputClass,
8551
8538
  // Spacing
8552
8539
  "m-0",
8553
8540
  "py-1 px-3",
@@ -8556,19 +8543,19 @@ const me = m("WANGS-INPUT-OTP", {
8556
8543
  "appearance-none",
8557
8544
  ...ne,
8558
8545
  {
8559
- "!ring-danger-500": e.invalidInput
8546
+ "!ring-danger-500 dark:!ring-danger-600": e.invalidInput
8560
8547
  },
8561
8548
  // // States
8562
8549
  {
8563
- "bg-white text-general-800": !e.disabled,
8564
- "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
8565
8552
  },
8566
8553
  "focus-visible:outline-none",
8567
8554
  // Misc
8568
8555
  "appearance-none",
8569
8556
  "transition-colors duration-200"
8570
8557
  ],
8571
- style: `min-height: ${t.rows * 26}px`,
8558
+ style: `min-height: ${r.rows * 26}px`,
8572
8559
  "data-wv-name": "textarea",
8573
8560
  "data-wv-section": "root"
8574
8561
  })
@@ -8674,23 +8661,26 @@ const me = m("WANGS-INPUT-OTP", {
8674
8661
  separator: {
8675
8662
  class: "border-t border-surface-200 my-1"
8676
8663
  }
8677
- }, g = (e) => {
8664
+ }, f = (e) => {
8678
8665
  if (!e) return !0;
8679
- const t = Object.keys(e);
8680
- return t.length ? t.every((r) => {
8681
- const i = e[r];
8682
- return typeof i == "object" ? Array.isArray(i) ? !i.length || i.every(
8683
- (n) => typeof n == "object" ? g(n) : n == null
8684
- ) : 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;
8685
8672
  }) : !0;
8686
8673
  }, Ke = {
8687
8674
  root: ({ props: e }) => ({
8688
- 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
+ ]
8689
8679
  }),
8690
- event: ({ props: e, context: t }) => ({
8680
+ event: ({ props: e, context: r }) => ({
8691
8681
  class: ["grid grid-cols-[max-content,1fr] gap-x-[10px] gap-y-1"]
8692
8682
  }),
8693
- opposite: ({ props: e, context: t }) => ({
8683
+ opposite: ({ props: e, context: r }) => ({
8694
8684
  class: "hidden"
8695
8685
  }),
8696
8686
  separator: ({ props: e }) => ({
@@ -8707,22 +8697,22 @@ const me = m("WANGS-INPUT-OTP", {
8707
8697
  "w-[22px] h-[22px]",
8708
8698
  "rounded-full",
8709
8699
  "bg-transparent",
8710
- "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",
8711
8701
  "flex items-center justify-center"
8712
8702
  ]
8713
8703
  },
8714
8704
  markerArrow: (e) => ({
8715
8705
  class: [
8716
- "!w-3 !h-3 hidden transition-transform duration-200 ease-in-out text-grayscale-900",
8717
- { "!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) },
8718
8708
  { "rotate-180": e.showDetail }
8719
8709
  ],
8720
8710
  "data-wv-section": "markerArrow"
8721
8711
  }),
8722
8712
  markerDot: (e) => ({
8723
8713
  class: [
8724
- "hidden w-[6px] h-[6px] m-[3px] rounded-full bg-black",
8725
- { "!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) }
8726
8716
  ],
8727
8717
  "data-wv-section": "markerDot"
8728
8718
  }),
@@ -8730,18 +8720,18 @@ const me = m("WANGS-INPUT-OTP", {
8730
8720
  class: ["leading-5 cursor-pointer truncate !text-xs !font-bold"]
8731
8721
  },
8732
8722
  contentDetailKey: {
8733
- class: ["text-general-400 whitespace-nowrap"]
8723
+ class: ["text-general-400 dark:text-general-200 whitespace-nowrap"]
8734
8724
  },
8735
8725
  contentDetailValue: {
8736
- class: ["text-xs text-general-800"]
8726
+ class: ["text-xs text-general-800 dark:text-general-50"]
8737
8727
  },
8738
8728
  contentDate: {
8739
8729
  class: ["text-xs font-medium"]
8740
8730
  },
8741
8731
  connector: ({ props: e }) => ({
8742
- class: ["w-[1px] grow bg-general-100"]
8732
+ class: ["w-[1px] grow bg-general-100 dark:bg-general-500"]
8743
8733
  }),
8744
- content: ({ props: e, context: t }) => ({
8734
+ content: ({ props: e, context: r }) => ({
8745
8735
  class: ["grid grid-rows-[max-content,auto] pb-2.5 gap-1"]
8746
8736
  })
8747
8737
  }, qe = {
@@ -8763,9 +8753,9 @@ const me = m("WANGS-INPUT-OTP", {
8763
8753
  "shadow-lg",
8764
8754
  // Colors
8765
8755
  {
8766
- "border-success-500 text-success-500 bg-success-50": e.message.severity === "success",
8767
- "border-danger-500 text-danger-500 bg-danger-50": e.message.severity === "error",
8768
- "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"
8769
8759
  }
8770
8760
  ],
8771
8761
  "data-wv-severity": e.message.severity
@@ -8802,9 +8792,9 @@ const me = m("WANGS-INPUT-OTP", {
8802
8792
  // Colors
8803
8793
  "bg-transparent",
8804
8794
  {
8805
- "text-success-500 hover:bg-success-100": e.message.severity === "success",
8806
- "text-danger-500 hover:bg-danger-100": e.message.severity === "error",
8807
- "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"
8808
8798
  },
8809
8799
  // Transitions
8810
8800
  "transition duration-200 ease-in-out",
@@ -8925,7 +8915,7 @@ const me = m("WANGS-INPUT-OTP", {
8925
8915
  class: "flex items-center"
8926
8916
  }
8927
8917
  }, Ze = {
8928
- root: ({ context: e, props: t }) => ({
8918
+ root: ({ context: e, props: r }) => ({
8929
8919
  class: [
8930
8920
  // Position
8931
8921
  "absolute",
@@ -8947,13 +8937,13 @@ const me = m("WANGS-INPUT-OTP", {
8947
8937
  // Shape
8948
8938
  "rounded-lg",
8949
8939
  // Background
8950
- "bg-primary-50",
8940
+ "bg-primary-50 dark:bg-primary-100",
8951
8941
  // Spacing
8952
8942
  "px-2 py-1",
8953
8943
  // Typography
8954
8944
  "text-[0.7rem] font-light leading-4 text-left",
8955
8945
  // Color
8956
- "text-grayscale-900",
8946
+ "text-general-900 dark:text-general-900",
8957
8947
  // Misc
8958
8948
  "whitespace-pre-line",
8959
8949
  "break-words"
@@ -8993,7 +8983,7 @@ const me = m("WANGS-INPUT-OTP", {
8993
8983
  "focus:outline-none focus:outline-offset-0"
8994
8984
  ]
8995
8985
  },
8996
- content: ({ context: e, props: t }) => ({
8986
+ content: ({ context: e, props: r }) => ({
8997
8987
  class: [
8998
8988
  // Flex and Alignment
8999
8989
  "flex items-center",
@@ -9002,22 +8992,21 @@ const me = m("WANGS-INPUT-OTP", {
9002
8992
  // Spacing
9003
8993
  "p-1",
9004
8994
  // Colors
9005
- "text-surface-700",
9006
8995
  {
9007
- "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"
9008
8997
  },
9009
8998
  // States
9010
8999
  {
9011
- "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
9012
9001
  },
9013
9002
  {
9014
- "!text-general-200": e.disabled && !e.exactDisabled,
9003
+ "!text-general-200 dark:!text-grayscale-500": e.disabled && !e.exactDisabled,
9015
9004
  "!pointer-events-none !cursor-default": e.disabled || e.exactDisabled
9016
9005
  },
9017
9006
  // Transition
9018
9007
  "transition-shadow duration-200",
9019
9008
  {
9020
- "cursor-pointer select-none": t.selectionMode == "single" || t.selectionMode == "multiple"
9009
+ "cursor-pointer select-none": r.selectionMode == "single" || r.selectionMode == "multiple"
9021
9010
  },
9022
9011
  // Miscelanous
9023
9012
  { "cursor-pointer": !e.disabled }
@@ -9035,13 +9024,12 @@ const me = m("WANGS-INPUT-OTP", {
9035
9024
  // Spacing
9036
9025
  "mr-0.5",
9037
9026
  // Colors
9038
- "text-general-800",
9039
- "bg-transparent",
9027
+ "text-general-800 dark:text-general-100",
9028
+ "bg-transparent dark:bg-transparent",
9040
9029
  {
9041
9030
  invisible: e.leaf
9042
9031
  },
9043
9032
  // States
9044
- "hover:bg-surface-100",
9045
9033
  // Transition
9046
9034
  "transition duration-200",
9047
9035
  // Misc
@@ -9073,7 +9061,7 @@ const me = m("WANGS-INPUT-OTP", {
9073
9061
  "select-none"
9074
9062
  ]
9075
9063
  },
9076
- box: ({ props: e, context: t }) => ({
9064
+ box: ({ props: e, context: r }) => ({
9077
9065
  class: [
9078
9066
  // Alignment
9079
9067
  "flex",
@@ -9086,18 +9074,16 @@ const me = m("WANGS-INPUT-OTP", {
9086
9074
  "rounded",
9087
9075
  "border",
9088
9076
  // Colors
9089
- "text-surface-600",
9090
9077
  {
9091
- "border-surface-300 bg-surface-0": !t.checked,
9092
- "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
9093
9079
  },
9094
9080
  {
9095
- "ring-2 ring-primary-500": !e.disabled && t.focused,
9081
+ "ring-2 ring-primary-500 dark:ring-primary-300": !e.disabled && r.focused,
9096
9082
  "cursor-default opacity-60": e.disabled
9097
9083
  },
9098
9084
  // States
9099
9085
  {
9100
- "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,
9101
9087
  "cursor-default opacity-60": e.disabled
9102
9088
  },
9103
9089
  // Transitions
@@ -9125,7 +9111,7 @@ const me = m("WANGS-INPUT-OTP", {
9125
9111
  "opacity-0",
9126
9112
  "rounded-md",
9127
9113
  "outline-none",
9128
- "border-2 border-surface-300",
9114
+ "border-2",
9129
9115
  // Misc
9130
9116
  "appareance-none"
9131
9117
  ]
@@ -9138,7 +9124,7 @@ const me = m("WANGS-INPUT-OTP", {
9138
9124
  "w-3",
9139
9125
  "h-3",
9140
9126
  // Colors
9141
- "text-white",
9127
+ "text-white dark:text-general-800",
9142
9128
  // Transitions
9143
9129
  "transition-all",
9144
9130
  "duration-200"
@@ -9174,13 +9160,10 @@ const me = m("WANGS-INPUT-OTP", {
9174
9160
  // Shape
9175
9161
  "rounded-md",
9176
9162
  // Colors
9177
- "text-surface-900",
9178
- "placeholder:text-surface-400",
9179
- "bg-surface-0",
9180
- "ring-1 ring-inset ring-surface-300",
9163
+ "ring-1 ring-inset dark:ring-white",
9181
9164
  // States
9182
- "hover:border-primary-500",
9183
- "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",
9184
9167
  // Transition & Misc
9185
9168
  "appearance-none",
9186
9169
  "transition-colors duration-200"
@@ -9188,30 +9171,29 @@ const me = m("WANGS-INPUT-OTP", {
9188
9171
  },
9189
9172
  loadingicon: {
9190
9173
  class: [
9191
- "text-general-400",
9174
+ "text-general-400 dark:text-general-100",
9192
9175
  "absolute text-lg top-[50%] right-[50%] -mt-2 -mr-2 animate-spin"
9193
9176
  ]
9194
9177
  },
9195
9178
  searchicon: {
9196
9179
  class: [
9197
9180
  // Position
9198
- "absolute top-1/2 -mt-2 right-3",
9181
+ "absolute top-1/2 -mt-2 right-3"
9199
9182
  // Color
9200
- "text-surface-600"
9201
9183
  ]
9202
9184
  },
9203
- label: ({ props: e, context: t }) => ({
9185
+ label: ({ props: e, context: r }) => ({
9204
9186
  class: [
9205
9187
  "inline-flex justify-between items-center gap-2",
9206
9188
  "w-full",
9207
9189
  {
9208
- "!text-general-200 !cursor-default": t.exactDisabled && e.node.key != -1
9190
+ "!text-general-200 !cursor-default": r.exactDisabled && e.node.key != -1
9209
9191
  },
9210
- "text-xs font-medium text-general-800"
9192
+ "text-xs font-medium text-general-800 dark:text-general-100"
9211
9193
  ]
9212
9194
  })
9213
- }, et = {
9214
- root: ({ props: e, state: t }) => ({
9195
+ }, er = {
9196
+ root: ({ props: e, state: r }) => ({
9215
9197
  class: [
9216
9198
  // Display and Position
9217
9199
  "inline-flex",
@@ -9224,8 +9206,8 @@ const me = m("WANGS-INPUT-OTP", {
9224
9206
  "bg-surface-0",
9225
9207
  // States
9226
9208
  {
9227
- "ring-1 ring-inset ring-surface-300": !t.focused,
9228
- "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
9229
9211
  },
9230
9212
  // Misc
9231
9213
  "cursor-default",
@@ -9315,7 +9297,7 @@ const me = m("WANGS-INPUT-OTP", {
9315
9297
  "focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset focus:ring-primary-500"
9316
9298
  ]
9317
9299
  },
9318
- content: ({ context: e, props: t }) => ({
9300
+ content: ({ context: e, props: r }) => ({
9319
9301
  class: [
9320
9302
  // Flex and Alignment
9321
9303
  "flex items-center",
@@ -9330,12 +9312,12 @@ const me = m("WANGS-INPUT-OTP", {
9330
9312
  },
9331
9313
  // States
9332
9314
  {
9333
- "hover:bg-surface-200": t.selectionMode == "single" || t.selectionMode == "multiple"
9315
+ "hover:bg-surface-200": r.selectionMode == "single" || r.selectionMode == "multiple"
9334
9316
  },
9335
9317
  // Transition
9336
9318
  "transition-shadow duration-200",
9337
9319
  {
9338
- "cursor-pointer select-none": t.selectionMode == "single" || t.selectionMode == "multiple"
9320
+ "cursor-pointer select-none": r.selectionMode == "single" || r.selectionMode == "multiple"
9339
9321
  }
9340
9322
  ]
9341
9323
  }),
@@ -9392,7 +9374,7 @@ const me = m("WANGS-INPUT-OTP", {
9392
9374
  "select-none"
9393
9375
  ]
9394
9376
  },
9395
- box: ({ props: e, context: t }) => ({
9377
+ box: ({ props: e, context: r }) => ({
9396
9378
  class: [
9397
9379
  // Alignment
9398
9380
  "flex",
@@ -9407,11 +9389,11 @@ const me = m("WANGS-INPUT-OTP", {
9407
9389
  // Colors
9408
9390
  "text-surface-600",
9409
9391
  {
9410
- "border-surface-300 bg-surface-0": !t.checked,
9411
- "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
9412
9394
  },
9413
9395
  {
9414
- "ring-2 ring-primary-500": !e.disabled && t.focused,
9396
+ "ring-2 ring-primary-500": !e.disabled && r.focused,
9415
9397
  "cursor-default opacity-60": e.disabled
9416
9398
  },
9417
9399
  // States
@@ -9531,7 +9513,7 @@ const me = m("WANGS-INPUT-OTP", {
9531
9513
  leaveActiveClass: "transition-opacity duration-100 ease-linear",
9532
9514
  leaveToClass: "opacity-0"
9533
9515
  }
9534
- }, tt = {
9516
+ }, rr = {
9535
9517
  root: {
9536
9518
  class: [
9537
9519
  "relative",
@@ -9544,7 +9526,7 @@ const me = m("WANGS-INPUT-OTP", {
9544
9526
  "duration-200"
9545
9527
  ]
9546
9528
  },
9547
- box: ({ props: e, context: t }) => ({
9529
+ box: ({ props: e, context: r }) => ({
9548
9530
  class: [
9549
9531
  // Alignment
9550
9532
  "flex",
@@ -9559,18 +9541,18 @@ const me = m("WANGS-INPUT-OTP", {
9559
9541
  // Colors
9560
9542
  "text-surface-0",
9561
9543
  {
9562
- "border-general-100 bg-surface-0": !t.active && !e.disabled,
9563
- "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
9564
9546
  },
9565
9547
  {
9566
- "ring-2 ring-primary-500": !e.disabled && t.focused,
9548
+ "ring-2 ring-primary-500": !e.disabled && r.focused,
9567
9549
  "cursor-default": e.disabled
9568
9550
  },
9569
9551
  // States
9570
9552
  {
9571
9553
  "peer-focus-visible:ring-2 peer-focus-visible:ring-offset-1 peer-focus-visible:ring-primary": !e.disabled,
9572
- "cursor-default bg-general-50 border-general-200": e.disabled && !t.active,
9573
- "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
9574
9556
  },
9575
9557
  // Transitions
9576
9558
  "transition-colors",
@@ -9631,13 +9613,15 @@ const me = m("WANGS-INPUT-OTP", {
9631
9613
  "duration-200"
9632
9614
  ]
9633
9615
  }
9634
- }, rt = {
9616
+ }, tr = {
9635
9617
  root: {
9636
- 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
+ ],
9637
9621
  "data-wv-name": "validatormessage",
9638
9622
  "data-wv-section": "root"
9639
9623
  }
9640
- }, it = {
9624
+ }, ar = {
9641
9625
  root: {
9642
9626
  class: "flex gap-2 items-center shrink-0",
9643
9627
  "data-wv-name": "buttonbulkaction",
@@ -9649,7 +9633,7 @@ const me = m("WANGS-INPUT-OTP", {
9649
9633
  "data-wv-section": "menu"
9650
9634
  },
9651
9635
  selectionmessage: {
9652
- class: "text-xs text-grayscale-900 cursor-default whitespace-nowrap",
9636
+ class: "text-xs text-grayscale-900 dark:text-white cursor-default whitespace-nowrap",
9653
9637
  "data-wv-section": "selectionmessage"
9654
9638
  },
9655
9639
  buttonselectall: ({ context: e }) => ({
@@ -9664,23 +9648,25 @@ const me = m("WANGS-INPUT-OTP", {
9664
9648
  "data-wv-section": "bulkactiontoggle"
9665
9649
  },
9666
9650
  dropdownmenu: {
9667
- root: ({ props: e, state: t }) => ({
9651
+ root: ({ props: e, state: r }) => ({
9668
9652
  class: [
9669
9653
  "flex items-center gap-1 transition-all shrink-0",
9670
9654
  "py-[5px] px-3",
9671
- "ring-inset ring-1 ring-primary-500 rounded",
9655
+ "ring-inset ring-1 ring-primary-500 dark:ring-primary-300 rounded",
9672
9656
  { "opacity-60": e.disabled, "pointer-events-none": e.disabled }
9673
9657
  ],
9674
9658
  "data-wv-section": "dropdownmenu"
9675
9659
  }),
9676
- input: ({ props: e, state: t }) => ({
9660
+ input: ({ props: e, state: r }) => ({
9677
9661
  class: [
9678
- "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",
9679
9663
  "text-xs font-medium outline-none tracking-[0.02em] leading-4"
9680
9664
  ]
9681
9665
  }),
9682
9666
  trigger: {
9683
- 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
+ ]
9684
9670
  },
9685
9671
  item: () => ""
9686
9672
  },
@@ -9692,7 +9678,7 @@ const me = m("WANGS-INPUT-OTP", {
9692
9678
  class: "!p-0 !w-6 !h-6 [&_.icon]:!w-5 [&_.icon]:!h-5",
9693
9679
  "data-wv-section": "buttonclearselection"
9694
9680
  }
9695
- }, st = {
9681
+ }, ir = {
9696
9682
  root: {
9697
9683
  class: "flex flex-nowrap items-center gap-1",
9698
9684
  "data-wv-name": "badgegroup",
@@ -9717,11 +9703,11 @@ const me = m("WANGS-INPUT-OTP", {
9717
9703
  }
9718
9704
  // All section in Dialog Preset can be added here
9719
9705
  }
9720
- }, nt = {
9706
+ }, nr = {
9721
9707
  root: {
9722
9708
  class: [
9723
9709
  "flex gap-[5px] items-center text-left h-[26px]",
9724
- "text-general-800",
9710
+ "text-general-800 dark:text-general-100",
9725
9711
  "text-xs font-medium leading-4 tracking-[0.02em]"
9726
9712
  ],
9727
9713
  "data-wv-name": "breadcrumb",
@@ -9729,29 +9715,29 @@ const me = m("WANGS-INPUT-OTP", {
9729
9715
  },
9730
9716
  item: ({ context: e }) => ({
9731
9717
  class: {
9732
- "font-bold text-general-400": e.lastItem,
9733
- "text-primary-500": !e.lastItem && !e.firstItem
9718
+ "font-bold text-general-400 dark:text-general-50": e.lastItem,
9719
+ "text-primary-500 dark:text-primary-300": !e.lastItem && !e.firstItem
9734
9720
  },
9735
9721
  "data-wv-section": "breadcrumb-menu"
9736
9722
  }),
9737
9723
  itemlink: {
9738
- class: "cursor-pointer text-primary",
9724
+ class: "cursor-pointer",
9739
9725
  "data-wv-section": "itemlink"
9740
9726
  },
9741
9727
  separator: {
9742
9728
  content: ">",
9743
9729
  "data-wv-section": "separator"
9744
9730
  }
9745
- }, at = {
9731
+ }, sr = {
9746
9732
  currency: (e) => ({
9747
- class: [...f(e), "!rounded-l !rounded-r-none"],
9733
+ class: [...g(e), "!rounded-l !rounded-r-none"],
9748
9734
  "data-wv-section": "currency"
9749
9735
  }),
9750
9736
  value: (e) => ({
9751
- class: [...f(e), "!rounded-r !rounded-l-none -ml-[1px]"],
9737
+ class: [...g(e), "!rounded-r !rounded-l-none -ml-[1px]"],
9752
9738
  "data-wv-section": "value"
9753
9739
  })
9754
- }, ot = {
9740
+ }, or = {
9755
9741
  root: {
9756
9742
  "data-wv-name": "fileupload",
9757
9743
  "data-wv-section": "root"
@@ -9773,7 +9759,7 @@ const me = m("WANGS-INPUT-OTP", {
9773
9759
  requirements: {
9774
9760
  class: "flex justify-start"
9775
9761
  }
9776
- }, lt = {
9762
+ }, lr = {
9777
9763
  root: {
9778
9764
  class: [
9779
9765
  "flex flex-col items-start justify-start relative gap-1 w-full shrink-0 overflow-hidden"
@@ -9781,28 +9767,28 @@ const me = m("WANGS-INPUT-OTP", {
9781
9767
  "data-wv-name": "fieldwrapper",
9782
9768
  "data-wv-section": "root"
9783
9769
  },
9784
- label: ({ props: e, slots: t }) => ({
9770
+ label: ({ props: e, slots: r }) => ({
9785
9771
  class: [
9786
9772
  [
9787
- "text-general-900 text-xs flex gap-[2px] font-medium tracking-[0.02em]",
9773
+ "text-general-900 dark:text-general-100 text-xs flex gap-[2px] font-medium tracking-[0.02em]",
9788
9774
  e.labelClass
9789
9775
  ],
9790
9776
  {
9791
- "w-full": t["label-addon"]
9777
+ "w-full": r["label-addon"]
9792
9778
  }
9793
9779
  ],
9794
9780
  "data-wv-section": "fieldlabel"
9795
9781
  }),
9796
9782
  info: {
9797
- class: "w-2.5 h-2.5 text-primary-500"
9783
+ class: "w-2.5 h-2.5 text-primary-500 dark:text-primary-300"
9798
9784
  },
9799
9785
  optionaltext: {
9800
- class: "text-grayscale-700 text-[10px] font-normal leading-4"
9786
+ class: "text-grayscale-700 dark:text-general-200 text-[10px] font-normal leading-4"
9801
9787
  },
9802
9788
  arterisksign: {
9803
- class: "text-danger-500"
9789
+ class: "text-danger-500 dark:text-danger-500"
9804
9790
  }
9805
- }, ct = {
9791
+ }, dr = {
9806
9792
  next: ({ context: e }) => ({
9807
9793
  class: [
9808
9794
  "text-2xl text-general-900",
@@ -9826,40 +9812,43 @@ const me = m("WANGS-INPUT-OTP", {
9826
9812
  }
9827
9813
  ]
9828
9814
  })
9829
- }, dt = {
9815
+ }, cr = {
9830
9816
  root: {
9831
9817
  class: [
9832
- "bg-general-50 rounded-lg [&>*]:w-full [&>*]min-w-0",
9818
+ "bg-general-50 dark:bg-grayscale-800 rounded-lg [&>*]:w-full [&>*]min-w-0",
9833
9819
  "grid items-end p-3 gap-x-3 gap-y-4"
9834
9820
  ]
9835
9821
  }
9836
- }, ut = {
9822
+ }, ur = {
9837
9823
  root: {
9838
9824
  class: [
9839
9825
  "w-screen h-screen fixed top-0 left-0 z-[9999999]",
9840
- "bg-white",
9826
+ "bg-white dark:bg-grayscale-900",
9827
+ "text-black dark:text-primary-50",
9841
9828
  "text-base",
9842
9829
  "flex flex-col items-center justify-center",
9843
9830
  "transition-opacity"
9844
9831
  ]
9845
9832
  },
9846
9833
  animation: {
9847
- class: ["w-[700px] h-auto"]
9834
+ class: ["w-[700px] dark:w-[200px] dark:my-[150px] h-auto"]
9848
9835
  }
9849
- }, ft = {
9836
+ }, gr = {
9850
9837
  root: {
9851
9838
  class: "flex items-center gap-1"
9852
9839
  },
9853
9840
  displayname: ({ props: e }) => ({
9854
9841
  class: [
9855
9842
  "text-xs font-medium cursor-pointer",
9856
- { "text-primary-500 cursor-pointer": e.type === "icon" },
9857
- { "text-general-800": e.type !== "icon" }
9843
+ {
9844
+ "text-primary-500 dark:text-primary-300 cursor-pointer": e.type === "icon"
9845
+ },
9846
+ { "text-general-800 dark:text-general-50": e.type !== "icon" }
9858
9847
  ]
9859
9848
  }),
9860
9849
  panel: {
9861
9850
  background: {
9862
- class: "bg-primary-100 absolute top-0 h-[42px] w-full"
9851
+ class: "bg-primary-100 dark:bg-primary-900 absolute top-0 h-[42px] w-full"
9863
9852
  },
9864
9853
  username: {
9865
9854
  class: "font-semibold text-[10px] leading-[15px] text-center text-balance"
@@ -9871,64 +9860,64 @@ const me = m("WANGS-INPUT-OTP", {
9871
9860
  class: "text-[8px] font-normal leading-3"
9872
9861
  },
9873
9862
  userdetaillink: {
9874
- class: "underline text-primary-400 text-[10px] leading-4 cursor-pointer hover:text-primary-500 transition-colors duration-100"
9863
+ 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"
9875
9864
  },
9876
9865
  contentwrapper: {
9877
- 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"
9866
+ 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"
9878
9867
  },
9879
9868
  detailwrapper: {
9880
9869
  class: "flex flex-col gap-0.5 items-center justify-center"
9881
9870
  }
9882
9871
  }
9883
- }, gt = {
9884
- badge: P,
9885
- ripple: Fe,
9872
+ }, fr = {
9873
+ badge: I,
9874
+ ripple: $e,
9886
9875
  tooltip: Ze
9887
- }, bt = {
9888
- global: ae,
9889
- directives: gt,
9876
+ }, br = {
9877
+ global: se,
9878
+ directives: fr,
9890
9879
  // Forms
9891
- form: se,
9892
- filtercontainer: dt,
9893
- autocomplete: _,
9894
- dropdown: re,
9895
- inputnumber: ge,
9880
+ form: ie,
9881
+ filtercontainer: cr,
9882
+ autocomplete: P,
9883
+ dropdown: te,
9884
+ inputnumber: fe,
9896
9885
  inputphonenumber: be,
9897
- inputcurrency: at,
9886
+ inputcurrency: sr,
9898
9887
  inputotp: me,
9899
9888
  inputtext: z,
9900
- inputbadge: ce,
9889
+ inputbadge: de,
9901
9890
  calendar: B,
9902
- checkbox: d,
9903
- buttonradio: Pe,
9904
- selectbutton: Ee,
9905
- slider: $e,
9891
+ checkbox: c,
9892
+ buttonradio: Ie,
9893
+ selectbutton: Ue,
9894
+ slider: Ge,
9906
9895
  chips: M,
9907
9896
  rating: Se,
9908
- multiselect: s,
9897
+ multiselect: i,
9909
9898
  togglebutton: Je,
9910
9899
  toggleswitch: u,
9911
9900
  cascadeselect: O,
9912
9901
  listbox: xe,
9913
9902
  colorpicker: D,
9914
- inputgroup: de,
9903
+ inputgroup: ce,
9915
9904
  inputgroupaddon: ue,
9916
- inputmask: fe,
9905
+ inputmask: ge,
9917
9906
  knob: pe,
9918
- treeselect: et,
9919
- tristatecheckbox: tt,
9907
+ treeselect: er,
9908
+ tristatecheckbox: rr,
9920
9909
  textarea: He,
9921
- password: _e,
9922
- validatormessage: rt,
9923
- fileupload: ot,
9924
- fieldwrapper: lt,
9910
+ password: Pe,
9911
+ validatormessage: tr,
9912
+ fileupload: or,
9913
+ fieldwrapper: lr,
9925
9914
  // Buttons
9926
9915
  button: S,
9927
- buttondownload: F,
9928
- buttonbulkaction: it,
9929
- buttonsearch: U,
9930
- buttonsplit: E,
9931
- buttonfilter: V,
9916
+ buttondownload: $,
9917
+ buttonbulkaction: ar,
9918
+ buttonsearch: V,
9919
+ buttonsplit: U,
9920
+ buttonfilter: F,
9932
9921
  splitbutton: Oe,
9933
9922
  // Data
9934
9923
  paginator: je,
@@ -9939,28 +9928,28 @@ const me = m("WANGS-INPUT-OTP", {
9939
9928
  dataviewlayoutoptions: X,
9940
9929
  organizationchart: Ce,
9941
9930
  orderlist: ke,
9942
- picklist: Ne,
9931
+ picklist: Te,
9943
9932
  timeline: Ke,
9944
9933
  changelog: L,
9945
9934
  // Panels
9946
- accordion: T,
9935
+ accordion: _,
9947
9936
  panel: Ae,
9948
- fieldset: ie,
9949
- card: G,
9937
+ fieldset: ae,
9938
+ card: E,
9950
9939
  tabview: Me,
9951
9940
  divider: ee,
9952
9941
  toolbar: Xe,
9953
- scrollpanel: Ve,
9942
+ scrollpanel: Fe,
9954
9943
  // Menu
9955
9944
  contextmenu: Y,
9956
- menu: he,
9957
- menubar: ye,
9945
+ menu: ve,
9946
+ menubar: he,
9958
9947
  steps: Le,
9959
- breadcrumb: nt,
9948
+ breadcrumb: nr,
9960
9949
  tieredmenu: Ye,
9961
- panelmenu: Te,
9962
- megamenu: ve,
9963
- dock: te,
9950
+ panelmenu: _e,
9951
+ megamenu: ye,
9952
+ dock: re,
9964
9953
  tabmenu: Re,
9965
9954
  // Overlays
9966
9955
  dialog: C,
@@ -9974,24 +9963,24 @@ const me = m("WANGS-INPUT-OTP", {
9974
9963
  inlinemessage: le,
9975
9964
  toast: qe,
9976
9965
  // Media
9977
- carousel: $,
9966
+ carousel: G,
9978
9967
  // Misc
9979
- badge: c,
9980
- badgegroup: st,
9981
- avatar: N,
9982
- avatargroup: I,
9968
+ badge: d,
9969
+ badgegroup: ir,
9970
+ avatar: T,
9971
+ avatargroup: N,
9983
9972
  tag: We,
9984
9973
  chip: R,
9985
- progressbar: Ie,
9986
- skeleton: Ge,
9987
- scrolltop: Ue,
9974
+ progressbar: Ne,
9975
+ skeleton: Ee,
9976
+ scrolltop: Ve,
9988
9977
  terminal: De,
9989
9978
  image: oe,
9990
- workcalendar: ct,
9991
- loading: ut,
9979
+ workcalendar: dr,
9980
+ loading: ur,
9992
9981
  codesnippet: W,
9993
- username: ft
9982
+ username: gr
9994
9983
  };
9995
9984
  export {
9996
- bt as default
9985
+ br as default
9997
9986
  };