@drivenets/design-system 0.7.0 → 0.7.2

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/CHANGELOG.md +22 -0
  2. package/dist/index.cjs +516 -779
  3. package/dist/index.d.cts +50 -3
  4. package/dist/index.d.cts.map +1 -1
  5. package/dist/index.d.ts +50 -3
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +505 -763
  8. package/dist/index.js.map +1 -1
  9. package/dist/index.min.css +1 -1
  10. package/package.json +25 -21
  11. package/src/components/ds-breadcrumb/ds-breadcrumb.tsx +1 -1
  12. package/src/components/ds-button/versions/ds-button-legacy/ds-button-legacy.tsx +1 -0
  13. package/src/components/ds-button/versions/ds-button-new/ds-button-new.module.scss +13 -0
  14. package/src/components/ds-button/versions/ds-button-new/ds-button-new.tsx +1 -1
  15. package/src/components/ds-button/versions/ds-button-new/ds-button-new.types.ts +1 -1
  16. package/src/components/ds-checkbox/ds-checkbox.module.scss +36 -5
  17. package/src/components/ds-checkbox/ds-checkbox.tsx +2 -1
  18. package/src/components/ds-checkbox/{ds-checkbox.types.tsx → ds-checkbox.types.ts} +7 -0
  19. package/src/components/ds-chip-group/ds-chip-group.tsx +1 -1
  20. package/src/components/ds-comment-bubble/components/ds-thread-item/ds-thread-item.module.scss +0 -23
  21. package/src/components/ds-comment-bubble/components/ds-thread-item/ds-thread-item.tsx +2 -11
  22. package/src/components/ds-comment-bubble/ds-comment-bubble.module.scss +0 -39
  23. package/src/components/ds-comment-bubble/ds-comment-bubble.tsx +21 -20
  24. package/src/components/ds-comment-card/ds-comment-card.tsx +2 -2
  25. package/src/components/ds-confirmation/ds-confirmation.tsx +1 -1
  26. package/src/components/ds-date-input/ds-date-input.tsx +3 -1
  27. package/src/components/ds-date-input/{ds-date-input.types.tsx → ds-date-input.types.ts} +6 -0
  28. package/src/components/ds-dropdown-menu/ds-dropdown-menu.module.scss +1 -1
  29. package/src/components/ds-dropdown-menu/ds-dropdown-menu.tsx +2 -2
  30. package/src/components/ds-expandable-text-input/ds-expandable-text-input.tsx +6 -2
  31. package/src/components/ds-file-upload/components/file-upload/file-upload.tsx +2 -1
  32. package/src/components/ds-file-upload/components/file-upload/{file-upload.types.tsx → file-upload.types.ts} +5 -0
  33. package/src/components/ds-segment-group/ds-segment-group.tsx +1 -1
  34. package/src/components/ds-select/ds-select.tsx +41 -7
  35. package/src/components/ds-select/{ds-select.types.tsx → ds-select.types.ts} +12 -0
  36. package/src/components/ds-select/select-items-chips.tsx +3 -2
  37. package/src/components/ds-select/utils.test.ts +37 -0
  38. package/src/components/ds-select/utils.ts +7 -0
  39. package/src/components/ds-smart-tabs/{ds-smart-tabs.types.tsx → ds-smart-tabs.types.ts} +1 -1
  40. package/src/components/ds-stepper/components/ds-step-next-button.tsx +7 -3
  41. package/src/components/ds-stepper/components/ds-step.tsx +1 -1
  42. package/src/components/ds-table/components/ds-table-body-virtualized/ds-table-body-virtualized.tsx +4 -1
  43. package/src/components/ds-table/components/ds-table-body-virtualized/ds-table-body-virtualized.types.ts +4 -0
  44. package/src/components/ds-table/components/ds-table-row/ds-table-row.tsx +1 -1
  45. package/src/components/ds-tabs/components/ds-tabs-tab/ds-tabs-tab.tsx +1 -2
  46. package/src/components/ds-tag-filter/{utils.test.ts → utils.browser.test.ts} +20 -113
  47. package/src/components/ds-text-input/ds-text-input.tsx +4 -0
  48. package/src/components/ds-text-input/{ds-text-input.types.tsx → ds-text-input.types.ts} +8 -1
  49. /package/src/components/ds-alert-banner/{ds-alert-banner.types.tsx → ds-alert-banner.types.ts} +0 -0
  50. /package/src/components/ds-alert-banner/{index.tsx → index.ts} +0 -0
  51. /package/src/components/ds-autocomplete/{ds-autocomplete.types.tsx → ds-autocomplete.types.ts} +0 -0
  52. /package/src/components/ds-breadcrumb/{ds-breadcrumb.types.tsx → ds-breadcrumb.types.ts} +0 -0
  53. /package/src/components/ds-breadcrumb/{index.tsx → index.ts} +0 -0
  54. /package/src/components/ds-checkbox/{index.tsx → index.ts} +0 -0
  55. /package/src/components/ds-chip/{ds-chip.types.tsx → ds-chip.types.ts} +0 -0
  56. /package/src/components/ds-chip/{index.tsx → index.ts} +0 -0
  57. /package/src/components/ds-comments-drawer/{comments-filters.test.ts → comments-filters.unit.test.ts} +0 -0
  58. /package/src/components/ds-confirmation/{ds-confirmation.types.tsx → ds-confirmation.types.ts} +0 -0
  59. /package/src/components/ds-dialog/{ds-dialog.types.tsx → ds-dialog.types.ts} +0 -0
  60. /package/src/components/ds-dialog/{index.tsx → index.ts} +0 -0
  61. /package/src/components/ds-drawer/{ds-drawer.types.tsx → ds-drawer.types.ts} +0 -0
  62. /package/src/components/ds-dropdown-menu/{ds-dropdown-menu.types.tsx → ds-dropdown-menu.types.ts} +0 -0
  63. /package/src/components/ds-dropdown-menu/{index.tsx → index.ts} +0 -0
  64. /package/src/components/ds-expandable-text-input/{ds-expandable-text-input.types.tsx → ds-expandable-text-input.types.ts} +0 -0
  65. /package/src/components/ds-file-upload/components/file-upload-item/{file-upload-item.types.tsx → file-upload-item.types.ts} +0 -0
  66. /package/src/components/ds-file-upload/{ds-file-upload.types.tsx → ds-file-upload.types.ts} +0 -0
  67. /package/src/components/ds-form-control/{ds-form-control.types.tsx → ds-form-control.types.ts} +0 -0
  68. /package/src/components/ds-form-control/{index.tsx → index.ts} +0 -0
  69. /package/src/components/ds-modal/{ds-modal.types.tsx → ds-modal.types.ts} +0 -0
  70. /package/src/components/ds-modal/{index.tsx → index.ts} +0 -0
  71. /package/src/components/ds-number-input/{ds-number-input.types.tsx → ds-number-input.types.ts} +0 -0
  72. /package/src/components/ds-number-input/{index.tsx → index.ts} +0 -0
  73. /package/src/components/ds-panel/{index.tsx → index.ts} +0 -0
  74. /package/src/components/ds-password-input/{ds-password-input.types.tsx → ds-password-input.types.ts} +0 -0
  75. /package/src/components/ds-password-input/{index.tsx → index.ts} +0 -0
  76. /package/src/components/ds-popover/{ds-popover.types.tsx → ds-popover.types.ts} +0 -0
  77. /package/src/components/ds-popover/{index.tsx → index.ts} +0 -0
  78. /package/src/components/ds-progress-arc/{utils.test.ts → utils.unit.test.ts} +0 -0
  79. /package/src/components/ds-progress-linear/{utils.test.ts → utils.unit.test.ts} +0 -0
  80. /package/src/components/ds-radio-group/{ds-radio-group.types.tsx → ds-radio-group.types.ts} +0 -0
  81. /package/src/components/ds-radio-group/{index.tsx → index.ts} +0 -0
  82. /package/src/components/ds-segment-group/{ds-segment-group.types.tsx → ds-segment-group.types.ts} +0 -0
  83. /package/src/components/ds-segment-group/{index.tsx → index.ts} +0 -0
  84. /package/src/components/ds-select/{index.tsx → index.ts} +0 -0
  85. /package/src/components/ds-skeleton/{ds-skeleton.tsx → ds-skeleton.ts} +0 -0
  86. /package/src/components/ds-smart-tabs/{index.tsx → index.ts} +0 -0
  87. /package/src/components/ds-spinner/{ds-spinner.types.tsx → ds-spinner.types.ts} +0 -0
  88. /package/src/components/ds-spinner/{index.tsx → index.ts} +0 -0
  89. /package/src/components/ds-status-badge/{ds-status-badge.types.tsx → ds-status-badge.types.ts} +0 -0
  90. /package/src/components/ds-status-badge/{index.tsx → index.ts} +0 -0
  91. /package/src/components/ds-stepper/{index.tsx → index.ts} +0 -0
  92. /package/src/components/ds-system-status/{ds-system-status.types.tsx → ds-system-status.types.ts} +0 -0
  93. /package/src/components/ds-system-status/{index.tsx → index.ts} +0 -0
  94. /package/src/components/ds-table/context/{ds-table-context.tsx → ds-table-context.ts} +0 -0
  95. /package/src/components/ds-tag/{ds-tag.types.tsx → ds-tag.types.ts} +0 -0
  96. /package/src/components/ds-tag/{index.tsx → index.ts} +0 -0
  97. /package/src/components/ds-textarea/{ds-textarea.types.tsx → ds-textarea.types.ts} +0 -0
  98. /package/src/components/ds-textarea/{index.tsx → index.ts} +0 -0
  99. /package/src/components/ds-toast/{ds-toast.types.tsx → ds-toast.types.ts} +0 -0
  100. /package/src/components/ds-toggle/{ds-toggle.types.tsx → ds-toggle.types.ts} +0 -0
  101. /package/src/components/ds-toggle/{index.tsx → index.ts} +0 -0
  102. /package/src/components/ds-tooltip/{ds-tooltip.types.tsx → ds-tooltip.types.ts} +0 -0
  103. /package/src/components/ds-tooltip/{index.tsx → index.ts} +0 -0
  104. /package/src/components/ds-typography/{ds-typography.types.tsx → ds-typography.types.ts} +0 -0
  105. /package/src/components/ds-typography/{index.tsx → index.ts} +0 -0
  106. /package/src/utils/{format-relative-time.test.ts → format-relative-time.unit.test.ts} +0 -0
  107. /package/src/{components/ds-table/utils → utils}/merge-refs.ts +0 -0
  108. /package/src/utils/{numbers.test.ts → numbers.unit.test.ts} +0 -0
package/dist/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  //#region \0rolldown/runtime.js
3
3
  var __create = Object.create;
4
4
  var __defProp = Object.defineProperty;
@@ -7,16 +7,12 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
7
7
  var __getProtoOf = Object.getPrototypeOf;
8
8
  var __hasOwnProp = Object.prototype.hasOwnProperty;
9
9
  var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
12
- key = keys[i];
13
- if (!__hasOwnProp.call(to, key) && key !== except) {
14
- __defProp(to, key, {
15
- get: ((k) => from[k]).bind(null, key),
16
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
- });
18
- }
19
- }
10
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
11
+ key = keys[i];
12
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
13
+ get: ((k) => from[k]).bind(null, key),
14
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
+ });
20
16
  }
21
17
  return to;
22
18
  };
@@ -24,7 +20,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
24
20
  value: mod,
25
21
  enumerable: true
26
22
  }) : target, mod));
27
-
28
23
  //#endregion
29
24
  let react_compiler_runtime = require("react/compiler-runtime");
30
25
  let classnames = require("classnames");
@@ -75,7 +70,6 @@ let _dnd_kit_modifiers = require("@dnd-kit/modifiers");
75
70
  let _tanstack_react_virtual = require("@tanstack/react-virtual");
76
71
  let _ark_ui_react_switch = require("@ark-ui/react/switch");
77
72
  let _ark_ui_react_tree_view = require("@ark-ui/react/tree-view");
78
-
79
73
  //#region src/components/ds-alert-banner/ds-alert-banner.module.scss
80
74
  var ds_alert_banner_module_default = {
81
75
  "alertBanner": "_alertBanner_1u3d5_1",
@@ -93,7 +87,6 @@ var ds_alert_banner_module_default = {
93
87
  "error": "_error_1u3d5_1",
94
88
  "success": "_success_1u3d5_1"
95
89
  };
96
-
97
90
  //#endregion
98
91
  //#region src/components/ds-icon/ds-icon.module.scss
99
92
  var ds_icon_module_default = {
@@ -105,7 +98,6 @@ var ds_icon_module_default = {
105
98
  "tiny": "_tiny_14xwg_1",
106
99
  "filled": "_filled_14xwg_1"
107
100
  };
108
-
109
101
  //#endregion
110
102
  //#region src/components/ds-icon/custom-icons/special-market.tsx
111
103
  /**
@@ -135,7 +127,6 @@ const SpecialMarket = (props) => {
135
127
  } else t1 = $[2];
136
128
  return t1;
137
129
  };
138
-
139
130
  //#endregion
140
131
  //#region src/components/ds-icon/custom-icons/special-site-t1.tsx
141
132
  /**
@@ -165,7 +156,6 @@ const SpecialSiteT1 = (props) => {
165
156
  } else t1 = $[2];
166
157
  return t1;
167
158
  };
168
-
169
159
  //#endregion
170
160
  //#region src/components/ds-icon/custom-icons/special-site-t2.tsx
171
161
  /**
@@ -195,7 +185,6 @@ const SpecialSiteT2 = (props) => {
195
185
  } else t1 = $[2];
196
186
  return t1;
197
187
  };
198
-
199
188
  //#endregion
200
189
  //#region src/components/ds-icon/custom-icons/special-site-t3.tsx
201
190
  /**
@@ -225,7 +214,6 @@ const SpecialSiteT3 = (props) => {
225
214
  } else t1 = $[2];
226
215
  return t1;
227
216
  };
228
-
229
217
  //#endregion
230
218
  //#region src/components/ds-icon/custom-icons/special-site-t4.tsx
231
219
  /**
@@ -255,7 +243,6 @@ const SpecialSiteT4 = (props) => {
255
243
  } else t1 = $[2];
256
244
  return t1;
257
245
  };
258
-
259
246
  //#endregion
260
247
  //#region src/components/ds-icon/custom-icons/special-site-unknown.tsx
261
248
  /**
@@ -313,7 +300,6 @@ const SpecialSiteUnknown = (props) => {
313
300
  } else t5 = $[6];
314
301
  return t5;
315
302
  };
316
-
317
303
  //#endregion
318
304
  //#region src/components/ds-icon/custom-icons/special-site-generic.tsx
319
305
  /**
@@ -367,7 +353,6 @@ const SpecialSiteGeneric = (props) => {
367
353
  } else t5 = $[6];
368
354
  return t5;
369
355
  };
370
-
371
356
  //#endregion
372
357
  //#region src/components/ds-icon/custom-icons/special-discovered-ne.tsx
373
358
  /**
@@ -401,7 +386,6 @@ const SpecialDiscoveredNe = (props) => {
401
386
  } else t1 = $[2];
402
387
  return t1;
403
388
  };
404
-
405
389
  //#endregion
406
390
  //#region src/components/ds-icon/custom-icons/special-upgrading.tsx
407
391
  /**
@@ -431,7 +415,6 @@ const SpecialUpgrading = (props) => {
431
415
  } else t1 = $[2];
432
416
  return t1;
433
417
  };
434
-
435
418
  //#endregion
436
419
  //#region src/components/ds-icon/custom-icons/special-cluster-ne.tsx
437
420
  /**
@@ -526,7 +509,6 @@ const SpecialClusterNe = (props) => {
526
509
  } else t9 = $[13];
527
510
  return t9;
528
511
  };
529
-
530
512
  //#endregion
531
513
  //#region src/components/ds-icon/custom-icons/special-standalone.tsx
532
514
  /**
@@ -556,7 +538,6 @@ const SpecialStandalone = (props) => {
556
538
  } else t1 = $[2];
557
539
  return t1;
558
540
  };
559
-
560
541
  //#endregion
561
542
  //#region src/components/ds-icon/custom-icons/special-ne-nav-360-dashboard.tsx
562
543
  /**
@@ -646,7 +627,6 @@ const SpecialNeNav360Dashboard = (props) => {
646
627
  } else t10 = $[14];
647
628
  return t10;
648
629
  };
649
-
650
630
  //#endregion
651
631
  //#region src/components/ds-icon/custom-icons/special-ne-nav-components.tsx
652
632
  /**
@@ -676,7 +656,6 @@ const SpecialNeNavComponents = (props) => {
676
656
  } else t1 = $[2];
677
657
  return t1;
678
658
  };
679
-
680
659
  //#endregion
681
660
  //#region src/components/ds-icon/custom-icons/special-ne-nav-topology.tsx
682
661
  /**
@@ -706,7 +685,6 @@ const SpecialNeNavTopology = (props) => {
706
685
  } else t1 = $[2];
707
686
  return t1;
708
687
  };
709
-
710
688
  //#endregion
711
689
  //#region src/components/ds-icon/custom-icons/special-ne-nav-stacks.tsx
712
690
  /**
@@ -736,7 +714,6 @@ const SpecialNeNavStacks = (props) => {
736
714
  } else t1 = $[2];
737
715
  return t1;
738
716
  };
739
-
740
717
  //#endregion
741
718
  //#region src/components/ds-icon/custom-icons/special-ne-nav-settings.tsx
742
719
  /**
@@ -780,7 +757,6 @@ const SpecialNeNavSettings = (props) => {
780
757
  } else t2 = $[3];
781
758
  return t2;
782
759
  };
783
-
784
760
  //#endregion
785
761
  //#region src/components/ds-icon/custom-icons/special-ne-nav-message-support.tsx
786
762
  /**
@@ -855,7 +831,6 @@ const SpecialNeNavMessageSupport = (props) => {
855
831
  } else t7 = $[11];
856
832
  return t7;
857
833
  };
858
-
859
834
  //#endregion
860
835
  //#region src/components/ds-icon/custom-icons/special-ne-nav-logging.tsx
861
836
  /**
@@ -899,7 +874,6 @@ const SpecialNeNavLogging = (props) => {
899
874
  } else t3 = $[4];
900
875
  return t3;
901
876
  };
902
-
903
877
  //#endregion
904
878
  //#region src/components/ds-icon/custom-icons/special-ne-nav-terminal.tsx
905
879
  /**
@@ -933,7 +907,6 @@ const SpecialNeNavTerminal = (props) => {
933
907
  } else t1 = $[2];
934
908
  return t1;
935
909
  };
936
-
937
910
  //#endregion
938
911
  //#region src/components/ds-icon/custom-icons/special-ne-nav-install-log.tsx
939
912
  /**
@@ -977,7 +950,6 @@ const SpecialNeNavInstallLog = (props) => {
977
950
  } else t2 = $[3];
978
951
  return t2;
979
952
  };
980
-
981
953
  //#endregion
982
954
  //#region src/components/ds-icon/custom-icons/special-autoboot-profiles.tsx
983
955
  /**
@@ -1021,7 +993,6 @@ const SpecialAutobootProfiles = (props) => {
1021
993
  } else t3 = $[4];
1022
994
  return t3;
1023
995
  };
1024
-
1025
996
  //#endregion
1026
997
  //#region src/components/ds-icon/custom-icons/special-automation.tsx
1027
998
  /**
@@ -1065,7 +1036,6 @@ const SpecialAutomation = (props) => {
1065
1036
  } else t3 = $[4];
1066
1037
  return t3;
1067
1038
  };
1068
-
1069
1039
  //#endregion
1070
1040
  //#region src/components/ds-icon/custom-icons/special-stacks.tsx
1071
1041
  /**
@@ -1099,7 +1069,6 @@ const SpecialStacks = (props) => {
1099
1069
  } else t1 = $[2];
1100
1070
  return t1;
1101
1071
  };
1102
-
1103
1072
  //#endregion
1104
1073
  //#region src/components/ds-icon/custom-icons/special-packages.tsx
1105
1074
  /**
@@ -1133,7 +1102,6 @@ const SpecialPackages = (props) => {
1133
1102
  } else t1 = $[2];
1134
1103
  return t1;
1135
1104
  };
1136
-
1137
1105
  //#endregion
1138
1106
  //#region src/components/ds-icon/custom-icons/special-gnmi.tsx
1139
1107
  /**
@@ -1204,7 +1172,6 @@ const SpecialGnmi = (props) => {
1204
1172
  } else t6 = $[10];
1205
1173
  return t6;
1206
1174
  };
1207
-
1208
1175
  //#endregion
1209
1176
  //#region src/components/ds-icon/custom-icons/special-alarm-settings.tsx
1210
1177
  /**
@@ -1271,7 +1238,6 @@ const SpecialAlarmSettings = (props) => {
1271
1238
  } else t6 = $[10];
1272
1239
  return t6;
1273
1240
  };
1274
-
1275
1241
  //#endregion
1276
1242
  //#region src/components/ds-icon/custom-icons/special-ne-health.tsx
1277
1243
  /**
@@ -1313,7 +1279,6 @@ const SpecialNeHealth = (props) => {
1313
1279
  } else t2 = $[3];
1314
1280
  return t2;
1315
1281
  };
1316
-
1317
1282
  //#endregion
1318
1283
  //#region src/components/ds-icon/custom-icons/special-hardware.tsx
1319
1284
  /**
@@ -1355,7 +1320,6 @@ const SpecialHardware = (props) => {
1355
1320
  } else t2 = $[3];
1356
1321
  return t2;
1357
1322
  };
1358
-
1359
1323
  //#endregion
1360
1324
  //#region src/components/ds-icon/custom-icons/special-modules.tsx
1361
1325
  /**
@@ -1419,7 +1383,6 @@ const SpecialModules = (props) => {
1419
1383
  } else t5 = $[9];
1420
1384
  return t5;
1421
1385
  };
1422
-
1423
1386
  //#endregion
1424
1387
  //#region src/components/ds-icon/custom-icons/special-resources.tsx
1425
1388
  /**
@@ -1483,7 +1446,6 @@ const SpecialResources = (props) => {
1483
1446
  } else t5 = $[9];
1484
1447
  return t5;
1485
1448
  };
1486
-
1487
1449
  //#endregion
1488
1450
  //#region src/components/ds-icon/custom-icons/special-version-control.tsx
1489
1451
  /**
@@ -1518,7 +1480,6 @@ const SpecialVersionControl = (props) => {
1518
1480
  } else t1 = $[2];
1519
1481
  return t1;
1520
1482
  };
1521
-
1522
1483
  //#endregion
1523
1484
  //#region src/components/ds-icon/custom-icons/special-software.tsx
1524
1485
  /**
@@ -1551,7 +1512,6 @@ const SpecialSoftware = (props) => {
1551
1512
  } else t1 = $[2];
1552
1513
  return t1;
1553
1514
  };
1554
-
1555
1515
  //#endregion
1556
1516
  //#region src/components/ds-icon/custom-icons/special-conflicted-nes.tsx
1557
1517
  /**
@@ -1586,7 +1546,6 @@ const SpecialConflictedNes = (props) => {
1586
1546
  } else t1 = $[2];
1587
1547
  return t1;
1588
1548
  };
1589
-
1590
1549
  //#endregion
1591
1550
  //#region src/components/ds-icon/custom-icons/special-yang-version-control.tsx
1592
1551
  /**
@@ -1619,7 +1578,6 @@ const SpecialYangVersionControl = (props) => {
1619
1578
  } else t1 = $[2];
1620
1579
  return t1;
1621
1580
  };
1622
-
1623
1581
  //#endregion
1624
1582
  //#region src/components/ds-icon/custom-icons/special-old-base-os.tsx
1625
1583
  /**
@@ -1706,7 +1664,6 @@ const SpecialOldBaseOs = (props) => {
1706
1664
  } else t7 = $[11];
1707
1665
  return t7;
1708
1666
  };
1709
-
1710
1667
  //#endregion
1711
1668
  //#region src/components/ds-icon/custom-icons/special-general-details.tsx
1712
1669
  /**
@@ -1748,7 +1705,6 @@ const SpecialGeneralDetails = (props) => {
1748
1705
  } else t2 = $[3];
1749
1706
  return t2;
1750
1707
  };
1751
-
1752
1708
  //#endregion
1753
1709
  //#region src/components/ds-icon/custom-icons/special-config-template.tsx
1754
1710
  /**
@@ -1801,7 +1757,6 @@ const SpecialConfigTemplate = (props) => {
1801
1757
  } else t3 = $[4];
1802
1758
  return t3;
1803
1759
  };
1804
-
1805
1760
  //#endregion
1806
1761
  //#region src/components/ds-icon/custom-icons/special-compare.tsx
1807
1762
  /**
@@ -1834,7 +1789,6 @@ const SpecialCompare = (props) => {
1834
1789
  } else t1 = $[2];
1835
1790
  return t1;
1836
1791
  };
1837
-
1838
1792
  //#endregion
1839
1793
  //#region src/components/ds-icon/custom-icons/special-webhook.tsx
1840
1794
  /**
@@ -1867,7 +1821,6 @@ const SpecialWebhook = (props) => {
1867
1821
  } else t1 = $[2];
1868
1822
  return t1;
1869
1823
  };
1870
-
1871
1824
  //#endregion
1872
1825
  //#region src/components/ds-icon/custom-icons/special-map-view.tsx
1873
1826
  /**
@@ -2023,7 +1976,6 @@ const SpecialMapView = (props) => {
2023
1976
  } else t13 = $[17];
2024
1977
  return t13;
2025
1978
  };
2026
-
2027
1979
  //#endregion
2028
1980
  //#region src/components/ds-icon/custom-icons/special-home.tsx
2029
1981
  /**
@@ -2056,7 +2008,6 @@ const SpecialHome = (props) => {
2056
2008
  } else t1 = $[2];
2057
2009
  return t1;
2058
2010
  };
2059
-
2060
2011
  //#endregion
2061
2012
  //#region src/components/ds-icon/custom-icons/special-lego.tsx
2062
2013
  /**
@@ -2130,7 +2081,6 @@ const SpecialLego = (props) => {
2130
2081
  } else t6 = $[10];
2131
2082
  return t6;
2132
2083
  };
2133
-
2134
2084
  //#endregion
2135
2085
  //#region src/components/ds-icon/custom-icons/special-scheme.tsx
2136
2086
  /**
@@ -2189,7 +2139,6 @@ const SpecialScheme = (props) => {
2189
2139
  } else t3 = $[4];
2190
2140
  return t3;
2191
2141
  };
2192
-
2193
2142
  //#endregion
2194
2143
  //#region src/components/ds-icon/custom-icons/special-book.tsx
2195
2144
  /**
@@ -2254,7 +2203,6 @@ const SpecialBook = (props) => {
2254
2203
  } else t5 = $[9];
2255
2204
  return t5;
2256
2205
  };
2257
-
2258
2206
  //#endregion
2259
2207
  //#region src/components/ds-icon/custom-icons/special-device.tsx
2260
2208
  /**
@@ -2287,7 +2235,6 @@ const SpecialDevice = (props) => {
2287
2235
  } else t1 = $[2];
2288
2236
  return t1;
2289
2237
  };
2290
-
2291
2238
  //#endregion
2292
2239
  //#region src/components/ds-icon/custom-icons/special-grouped-devices.tsx
2293
2240
  /**
@@ -2340,7 +2287,6 @@ const SpecialGroupedDevices = (props) => {
2340
2287
  } else t3 = $[4];
2341
2288
  return t3;
2342
2289
  };
2343
-
2344
2290
  //#endregion
2345
2291
  //#region src/components/ds-icon/custom-icons/special-fiber-circuit.tsx
2346
2292
  /**
@@ -2382,7 +2328,6 @@ const SpecialFiberCircuit = (props) => {
2382
2328
  } else t2 = $[3];
2383
2329
  return t2;
2384
2330
  };
2385
-
2386
2331
  //#endregion
2387
2332
  //#region src/components/ds-icon/custom-icons/special-netgen.tsx
2388
2333
  /**
@@ -2437,7 +2382,6 @@ const SpecialNetgen = (props) => {
2437
2382
  } else t3 = $[4];
2438
2383
  return t3;
2439
2384
  };
2440
-
2441
2385
  //#endregion
2442
2386
  //#region src/components/ds-icon/custom-icons/special-netgen-s.tsx
2443
2387
  /**
@@ -2492,7 +2436,6 @@ const SpecialNetgenS = (props) => {
2492
2436
  } else t3 = $[4];
2493
2437
  return t3;
2494
2438
  };
2495
-
2496
2439
  //#endregion
2497
2440
  //#region src/components/ds-icon/custom-icons/special-filter-list-active.tsx
2498
2441
  /**
@@ -2537,7 +2480,6 @@ const SpecialFilterListActive = (props) => {
2537
2480
  } else t2 = $[3];
2538
2481
  return t2;
2539
2482
  };
2540
-
2541
2483
  //#endregion
2542
2484
  //#region src/components/ds-icon/custom-icons/special-cached-active.tsx
2543
2485
  /**
@@ -2582,7 +2524,6 @@ const SpecialCachedActive = (props) => {
2582
2524
  } else t2 = $[3];
2583
2525
  return t2;
2584
2526
  };
2585
-
2586
2527
  //#endregion
2587
2528
  //#region src/components/ds-icon/custom-icons/special-running.tsx
2588
2529
  /**
@@ -2615,7 +2556,6 @@ const SpecialRunning = (props) => {
2615
2556
  } else t1 = $[2];
2616
2557
  return t1;
2617
2558
  };
2618
-
2619
2559
  //#endregion
2620
2560
  //#region src/components/ds-icon/custom-icons/special-warning.tsx
2621
2561
  /**
@@ -2648,7 +2588,6 @@ const SpecialWarning = (props) => {
2648
2588
  } else t1 = $[2];
2649
2589
  return t1;
2650
2590
  };
2651
-
2652
2591
  //#endregion
2653
2592
  //#region src/components/ds-icon/custom-icons/special-failed.tsx
2654
2593
  /**
@@ -2681,7 +2620,6 @@ const SpecialFailed = (props) => {
2681
2620
  } else t1 = $[2];
2682
2621
  return t1;
2683
2622
  };
2684
-
2685
2623
  //#endregion
2686
2624
  //#region src/components/ds-icon/custom-icons/special-paused.tsx
2687
2625
  /**
@@ -2714,7 +2652,6 @@ const SpecialPaused = (props) => {
2714
2652
  } else t1 = $[2];
2715
2653
  return t1;
2716
2654
  };
2717
-
2718
2655
  //#endregion
2719
2656
  //#region src/components/ds-icon/custom-icons/index.ts
2720
2657
  const customIcons = {
@@ -2777,7 +2714,6 @@ const customIcons = {
2777
2714
  const isCustomIcon = (icon) => {
2778
2715
  return icon in customIcons;
2779
2716
  };
2780
-
2781
2717
  //#endregion
2782
2718
  //#region src/components/ds-icon/ds-icon.tsx
2783
2719
  /**
@@ -2876,7 +2812,6 @@ const DsIcon = (t0) => {
2876
2812
  } else t8 = $[23];
2877
2813
  return t8;
2878
2814
  };
2879
-
2880
2815
  //#endregion
2881
2816
  //#region src/components/ds-icon/ds-icon.types.ts
2882
2817
  const iconSizes = [
@@ -2887,7 +2822,6 @@ const iconSizes = [
2887
2822
  "extra-large"
2888
2823
  ];
2889
2824
  const iconVariants = ["outlined", "rounded"];
2890
-
2891
2825
  //#endregion
2892
2826
  //#region src/components/ds-typography/ds-typography.config.ts
2893
2827
  const semanticElementMap = {
@@ -2915,7 +2849,6 @@ const semanticElementMap = {
2915
2849
  heading3: "h3",
2916
2850
  heading4: "h4"
2917
2851
  };
2918
-
2919
2852
  //#endregion
2920
2853
  //#region src/components/ds-typography/ds-typography.module.scss
2921
2854
  var ds_typography_module_default = {
@@ -2943,7 +2876,6 @@ var ds_typography_module_default = {
2943
2876
  "code-xs-reg": "_code-xs-reg_h774x_1",
2944
2877
  "code-xs-semi-bold": "_code-xs-semi-bold_h774x_1"
2945
2878
  };
2946
-
2947
2879
  //#endregion
2948
2880
  //#region src/components/ds-typography/ds-typography.tsx
2949
2881
  const DsTypography = (t0) => {
@@ -2997,7 +2929,6 @@ const DsTypography = (t0) => {
2997
2929
  } else t4 = $[15];
2998
2930
  return t4;
2999
2931
  };
3000
-
3001
2932
  //#endregion
3002
2933
  //#region src/components/ds-alert-banner/ds-alert-banner.tsx
3003
2934
  /**
@@ -3166,9 +3097,8 @@ const Actions$3 = (t0) => {
3166
3097
  DsAlertBanner.Title = Title$2;
3167
3098
  DsAlertBanner.Body = Body$3;
3168
3099
  DsAlertBanner.Actions = Actions$3;
3169
-
3170
3100
  //#endregion
3171
- //#region src/components/ds-alert-banner/ds-alert-banner.types.tsx
3101
+ //#region src/components/ds-alert-banner/ds-alert-banner.types.ts
3172
3102
  const alertBannerVariants = [
3173
3103
  "info-neutral",
3174
3104
  "info-blue",
@@ -3176,7 +3106,6 @@ const alertBannerVariants = [
3176
3106
  "error",
3177
3107
  "success"
3178
3108
  ];
3179
-
3180
3109
  //#endregion
3181
3110
  //#region src/components/ds-autocomplete/ds-autocomplete.module.scss
3182
3111
  var ds_autocomplete_module_default = {
@@ -3202,7 +3131,6 @@ var ds_autocomplete_module_default = {
3202
3131
  "disabled": "_disabled_ox9ik_1",
3203
3132
  "invalid": "_invalid_ox9ik_1"
3204
3133
  };
3205
-
3206
3134
  //#endregion
3207
3135
  //#region src/components/ds-autocomplete/ds-autocomplete.tsx
3208
3136
  const DsAutocomplete = (t0) => {
@@ -3446,7 +3374,6 @@ function _temp$20(item) {
3446
3374
  function _temp2$8(item_0) {
3447
3375
  return item_0.value;
3448
3376
  }
3449
-
3450
3377
  //#endregion
3451
3378
  //#region src/components/ds-avatar/ds-avatar.module.scss
3452
3379
  var ds_avatar_module_default = {
@@ -3461,7 +3388,6 @@ var ds_avatar_module_default = {
3461
3388
  "xl": "_xl_1pkly_1",
3462
3389
  "fallback": "_fallback_1pkly_1"
3463
3390
  };
3464
-
3465
3391
  //#endregion
3466
3392
  //#region src/components/ds-tooltip/ds-tooltip.module.scss
3467
3393
  var ds_tooltip_module_default = {
@@ -3469,7 +3395,6 @@ var ds_tooltip_module_default = {
3469
3395
  "content": "_content_93aez_1",
3470
3396
  "arrow": "_arrow_93aez_1"
3471
3397
  };
3472
-
3473
3398
  //#endregion
3474
3399
  //#region src/components/ds-tooltip/ds-tooltip.tsx
3475
3400
  const DsTooltip = (t0) => {
@@ -3529,7 +3454,6 @@ const DsTooltip = (t0) => {
3529
3454
  } else t6 = $[10];
3530
3455
  return t6;
3531
3456
  };
3532
-
3533
3457
  //#endregion
3534
3458
  //#region src/components/ds-avatar/ds-avatar.tsx
3535
3459
  /**
@@ -3616,7 +3540,6 @@ function _temp$19(w) {
3616
3540
  function _temp2$7(name_0) {
3617
3541
  return name_0.trim().split(" ").map(_temp$19).join("");
3618
3542
  }
3619
-
3620
3543
  //#endregion
3621
3544
  //#region src/components/ds-avatar-group/ds-avatar-group.module.scss
3622
3545
  var ds_avatar_group_module_default = {
@@ -3633,7 +3556,6 @@ var ds_avatar_group_module_default = {
3633
3556
  "xl": "_xl_gp6iz_1",
3634
3557
  "tooltipList": "_tooltipList_gp6iz_1"
3635
3558
  };
3636
-
3637
3559
  //#endregion
3638
3560
  //#region src/components/ds-avatar-group/ds-avatar-group.tsx
3639
3561
  /**
@@ -3712,7 +3634,6 @@ function _temp$18(avatar_0, index_0) {
3712
3634
  children: avatar_0.name
3713
3635
  }) }, `${avatar_0.name}-${String(index_0)}`);
3714
3636
  }
3715
-
3716
3637
  //#endregion
3717
3638
  //#region src/components/ds-breadcrumb/ds-breadcrumb.module.scss
3718
3639
  var ds_breadcrumb_module_default = {
@@ -3726,32 +3647,30 @@ var ds_breadcrumb_module_default = {
3726
3647
  "dropdownIcon": "_dropdownIcon_1784n_1",
3727
3648
  "itemLabel": "_itemLabel_1784n_1"
3728
3649
  };
3729
-
3730
3650
  //#endregion
3731
3651
  //#region src/components/ds-dropdown-menu/ds-dropdown-menu.module.scss
3732
3652
  var ds_dropdown_menu_module_default = {
3733
- "content": "_content_4g5n3_1",
3734
- "expand": "_expand_4g5n3_1",
3735
- "collapse": "_collapse_4g5n3_1",
3736
- "header": "_header_4g5n3_1",
3737
- "item": "_item_4g5n3_1",
3738
- "indicator": "_indicator_4g5n3_1",
3739
- "itemIcon": "_itemIcon_4g5n3_1",
3740
- "triggerItem": "_triggerItem_4g5n3_1",
3741
- "selected": "_selected_4g5n3_1",
3742
- "label": "_label_4g5n3_1",
3743
- "separator": "_separator_4g5n3_1",
3744
- "actions": "_actions_4g5n3_1",
3745
- "groupLabel": "_groupLabel_4g5n3_1",
3746
- "groupLabelCollapsible": "_groupLabelCollapsible_4g5n3_1",
3747
- "groupLabelIcon": "_groupLabelIcon_4g5n3_1",
3748
- "groupLabelIconRotated": "_groupLabelIconRotated_4g5n3_1",
3749
- "triggerItemIcon": "_triggerItemIcon_4g5n3_1",
3750
- "contentLegacy": "_contentLegacy_4g5n3_1",
3751
- "viewportLegacy": "_viewportLegacy_4g5n3_1",
3752
- "itemLegacy": "_itemLegacy_4g5n3_1"
3753
- };
3754
-
3653
+ "content": "_content_m9k01_1",
3654
+ "expand": "_expand_m9k01_1",
3655
+ "collapse": "_collapse_m9k01_1",
3656
+ "header": "_header_m9k01_1",
3657
+ "item": "_item_m9k01_1",
3658
+ "indicator": "_indicator_m9k01_1",
3659
+ "itemIcon": "_itemIcon_m9k01_1",
3660
+ "triggerItem": "_triggerItem_m9k01_1",
3661
+ "selected": "_selected_m9k01_1",
3662
+ "label": "_label_m9k01_1",
3663
+ "separator": "_separator_m9k01_1",
3664
+ "actions": "_actions_m9k01_1",
3665
+ "groupLabel": "_groupLabel_m9k01_1",
3666
+ "groupLabelCollapsible": "_groupLabelCollapsible_m9k01_1",
3667
+ "groupLabelIcon": "_groupLabelIcon_m9k01_1",
3668
+ "groupLabelIconRotated": "_groupLabelIconRotated_m9k01_1",
3669
+ "triggerItemIcon": "_triggerItemIcon_m9k01_1",
3670
+ "contentLegacy": "_contentLegacy_m9k01_1",
3671
+ "viewportLegacy": "_viewportLegacy_m9k01_1",
3672
+ "itemLegacy": "_itemLegacy_m9k01_1"
3673
+ };
3755
3674
  //#endregion
3756
3675
  //#region src/components/ds-text-input/ds-text-input.module.scss
3757
3676
  var ds_text_input_module_default = {
@@ -3764,70 +3683,70 @@ var ds_text_input_module_default = {
3764
3683
  "indicator": "_indicator_16yro_1",
3765
3684
  "adornment": "_adornment_16yro_1"
3766
3685
  };
3767
-
3768
3686
  //#endregion
3769
3687
  //#region src/components/ds-text-input/ds-text-input.tsx
3770
3688
  const DsTextInput = (t0) => {
3771
- const $ = (0, react_compiler_runtime.c)(40);
3772
- const { id, ref, name, size: t1, type: t2, onBlur, onKeyDown, onChange, onValueChange, className, style: t3, value, defaultValue, min, max, minLength, maxLength, placeholder, disabled: t4, tabIndex, slots } = t0;
3689
+ const $ = (0, react_compiler_runtime.c)(42);
3690
+ const { id, ref, name, size: t1, type: t2, onFocus, onBlur, onKeyDown, onChange, onValueChange, className, style: t3, value, defaultValue, min, max, minLength, maxLength, placeholder, disabled: t4, readOnly: t5, tabIndex, slots } = t0;
3773
3691
  const size = t1 === void 0 ? "default" : t1;
3774
3692
  const type = t2 === void 0 ? "text" : t2;
3775
- let t5;
3693
+ let t6;
3776
3694
  if ($[0] !== t3) {
3777
- t5 = t3 === void 0 ? {} : t3;
3695
+ t6 = t3 === void 0 ? {} : t3;
3778
3696
  $[0] = t3;
3779
- $[1] = t5;
3780
- } else t5 = $[1];
3781
- const style = t5;
3697
+ $[1] = t6;
3698
+ } else t6 = $[1];
3699
+ const style = t6;
3782
3700
  const disabled = t4 === void 0 ? false : t4;
3701
+ const readOnly = t5 === void 0 ? false : t5;
3783
3702
  const InputWrapper = slots?.inputWrapper ?? react.Fragment;
3784
- const t6 = size === "small";
3785
- const t7 = size === "default";
3786
- let t8;
3787
- if ($[2] !== className || $[3] !== t6 || $[4] !== t7) {
3788
- t8 = (0, classnames.default)(ds_text_input_module_default.textInputContainer, {
3789
- [ds_text_input_module_default.small]: t6,
3790
- [ds_text_input_module_default.default]: t7
3703
+ const t7 = size === "small";
3704
+ const t8 = size === "default";
3705
+ let t9;
3706
+ if ($[2] !== className || $[3] !== t7 || $[4] !== t8) {
3707
+ t9 = (0, classnames.default)(ds_text_input_module_default.textInputContainer, {
3708
+ [ds_text_input_module_default.small]: t7,
3709
+ [ds_text_input_module_default.default]: t8
3791
3710
  }, className);
3792
3711
  $[2] = className;
3793
- $[3] = t6;
3794
- $[4] = t7;
3795
- $[5] = t8;
3796
- } else t8 = $[5];
3797
- const containerClass = t8;
3798
- let t9;
3712
+ $[3] = t7;
3713
+ $[4] = t8;
3714
+ $[5] = t9;
3715
+ } else t9 = $[5];
3716
+ const containerClass = t9;
3717
+ let t10;
3799
3718
  if ($[6] !== onChange || $[7] !== onValueChange) {
3800
- t9 = (event) => {
3719
+ t10 = (event) => {
3801
3720
  const newValue = event.target.value;
3802
3721
  onChange?.(event);
3803
3722
  onValueChange?.(newValue);
3804
3723
  };
3805
3724
  $[6] = onChange;
3806
3725
  $[7] = onValueChange;
3807
- $[8] = t9;
3808
- } else t9 = $[8];
3809
- const handleChange = t9;
3810
- let t10;
3726
+ $[8] = t10;
3727
+ } else t10 = $[8];
3728
+ const handleChange = t10;
3729
+ let t11;
3811
3730
  if ($[9] !== slots) {
3812
- t10 = slots?.startAdornment && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
3731
+ t11 = slots?.startAdornment && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
3813
3732
  className: ds_text_input_module_default.adornment,
3814
3733
  children: slots.startAdornment
3815
3734
  });
3816
3735
  $[9] = slots;
3817
- $[10] = t10;
3818
- } else t10 = $[10];
3819
- let t11;
3820
- if ($[11] === Symbol.for("react.memo_cache_sentinel")) {
3821
- t11 = (0, classnames.default)(ds_text_input_module_default.input);
3822
- $[11] = t11;
3823
- } else t11 = $[11];
3736
+ $[10] = t11;
3737
+ } else t11 = $[10];
3824
3738
  let t12;
3825
- if ($[12] !== defaultValue || $[13] !== disabled || $[14] !== handleChange || $[15] !== id || $[16] !== max || $[17] !== maxLength || $[18] !== min || $[19] !== minLength || $[20] !== name || $[21] !== onBlur || $[22] !== onKeyDown || $[23] !== placeholder || $[24] !== ref || $[25] !== tabIndex || $[26] !== type || $[27] !== value) {
3826
- t12 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
3739
+ if ($[11] === Symbol.for("react.memo_cache_sentinel")) {
3740
+ t12 = (0, classnames.default)(ds_text_input_module_default.input);
3741
+ $[11] = t12;
3742
+ } else t12 = $[11];
3743
+ let t13;
3744
+ if ($[12] !== defaultValue || $[13] !== disabled || $[14] !== handleChange || $[15] !== id || $[16] !== max || $[17] !== maxLength || $[18] !== min || $[19] !== minLength || $[20] !== name || $[21] !== onBlur || $[22] !== onFocus || $[23] !== onKeyDown || $[24] !== placeholder || $[25] !== readOnly || $[26] !== ref || $[27] !== tabIndex || $[28] !== type || $[29] !== value) {
3745
+ t13 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
3827
3746
  id,
3828
3747
  ref,
3829
3748
  name,
3830
- className: t11,
3749
+ className: t12,
3831
3750
  type,
3832
3751
  value,
3833
3752
  defaultValue,
@@ -3836,7 +3755,9 @@ const DsTextInput = (t0) => {
3836
3755
  minLength,
3837
3756
  maxLength,
3838
3757
  placeholder,
3758
+ readOnly,
3839
3759
  disabled,
3760
+ onFocus,
3840
3761
  onBlur,
3841
3762
  onKeyDown,
3842
3763
  onChange: handleChange,
@@ -3852,51 +3773,55 @@ const DsTextInput = (t0) => {
3852
3773
  $[19] = minLength;
3853
3774
  $[20] = name;
3854
3775
  $[21] = onBlur;
3855
- $[22] = onKeyDown;
3856
- $[23] = placeholder;
3857
- $[24] = ref;
3858
- $[25] = tabIndex;
3859
- $[26] = type;
3860
- $[27] = value;
3861
- $[28] = t12;
3862
- } else t12 = $[28];
3863
- let t13;
3864
- if ($[29] !== InputWrapper || $[30] !== t12) {
3865
- t13 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(InputWrapper, { children: t12 });
3866
- $[29] = InputWrapper;
3867
- $[30] = t12;
3868
- $[31] = t13;
3869
- } else t13 = $[31];
3776
+ $[22] = onFocus;
3777
+ $[23] = onKeyDown;
3778
+ $[24] = placeholder;
3779
+ $[25] = readOnly;
3780
+ $[26] = ref;
3781
+ $[27] = tabIndex;
3782
+ $[28] = type;
3783
+ $[29] = value;
3784
+ $[30] = t13;
3785
+ } else t13 = $[30];
3870
3786
  let t14;
3871
- if ($[32] !== slots) {
3872
- t14 = slots?.endAdornment && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
3873
- className: ds_text_input_module_default.adornment,
3874
- children: slots.endAdornment
3875
- });
3876
- $[32] = slots;
3787
+ if ($[31] !== InputWrapper || $[32] !== t13) {
3788
+ t14 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(InputWrapper, { children: t13 });
3789
+ $[31] = InputWrapper;
3790
+ $[32] = t13;
3877
3791
  $[33] = t14;
3878
3792
  } else t14 = $[33];
3879
3793
  let t15;
3880
- if ($[34] !== containerClass || $[35] !== style || $[36] !== t10 || $[37] !== t13 || $[38] !== t14) {
3881
- t15 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
3794
+ if ($[34] !== slots) {
3795
+ t15 = slots?.endAdornment && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
3796
+ className: ds_text_input_module_default.adornment,
3797
+ children: slots.endAdornment
3798
+ });
3799
+ $[34] = slots;
3800
+ $[35] = t15;
3801
+ } else t15 = $[35];
3802
+ let t16;
3803
+ if ($[36] !== containerClass || $[37] !== style || $[38] !== t11 || $[39] !== t14 || $[40] !== t15) {
3804
+ t16 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
3882
3805
  className: containerClass,
3883
3806
  style,
3884
3807
  children: [
3885
- t10,
3886
- t13,
3887
- t14
3808
+ t11,
3809
+ t14,
3810
+ t15
3888
3811
  ]
3889
3812
  });
3890
- $[34] = containerClass;
3891
- $[35] = style;
3892
- $[36] = t10;
3893
- $[37] = t13;
3894
- $[38] = t14;
3895
- $[39] = t15;
3896
- } else t15 = $[39];
3897
- return t15;
3813
+ $[36] = containerClass;
3814
+ $[37] = style;
3815
+ $[38] = t11;
3816
+ $[39] = t14;
3817
+ $[40] = t15;
3818
+ $[41] = t16;
3819
+ } else t16 = $[41];
3820
+ return t16;
3898
3821
  };
3899
-
3822
+ //#endregion
3823
+ //#region src/components/ds-text-input/ds-text-input.types.ts
3824
+ const textInputSizes = ["small", "default"];
3900
3825
  //#endregion
3901
3826
  //#region src/components/ds-dropdown-menu/ds-dropdown-menu.tsx
3902
3827
  const GroupContext = (0, react.createContext)(null);
@@ -4565,11 +4490,6 @@ function _temp$17(e) {
4565
4490
  function _temp2$6(e) {
4566
4491
  return e.stopPropagation();
4567
4492
  }
4568
-
4569
- //#endregion
4570
- //#region src/components/ds-text-input/ds-text-input.types.tsx
4571
- const textInputSizes = ["small", "default"];
4572
-
4573
4493
  //#endregion
4574
4494
  //#region src/components/ds-breadcrumb/ds-breadcrumb.tsx
4575
4495
  /**
@@ -4685,7 +4605,6 @@ const DsBreadcrumb = (t0) => {
4685
4605
  function _temp$16(e) {
4686
4606
  return e.stopPropagation();
4687
4607
  }
4688
-
4689
4608
  //#endregion
4690
4609
  //#region src/components/ds-button/versions/ds-button-legacy/ds-button-legacy.module.scss
4691
4610
  var ds_button_legacy_module_default = {
@@ -4710,11 +4629,11 @@ var ds_button_legacy_module_default = {
4710
4629
  "error-round": "_error-round_c7rg5_1",
4711
4630
  "error-dashed": "_error-dashed_c7rg5_1"
4712
4631
  };
4713
-
4714
4632
  //#endregion
4715
4633
  //#region src/components/ds-button/versions/ds-button-legacy/ds-button-legacy.tsx
4716
4634
  /**
4717
4635
  * Design system Button component
4636
+ * @deprecated Use [DsButton](../ds-button-new/ds-button-new.tsx) instead.
4718
4637
  */
4719
4638
  const DsButton$2 = (t0) => {
4720
4639
  const $ = (0, react_compiler_runtime.c)(23);
@@ -4795,30 +4714,29 @@ const DsButton$2 = (t0) => {
4795
4714
  } else t10 = $[22];
4796
4715
  return t10;
4797
4716
  };
4798
-
4799
4717
  //#endregion
4800
4718
  //#region src/components/ds-button/versions/ds-button-new/ds-button-new.module.scss
4801
4719
  var ds_button_new_module_default = {
4802
- "button": "_button_wd0le_1",
4803
- "content": "_content_wd0le_1",
4804
- "small": "_small_wd0le_1",
4805
- "medium": "_medium_wd0le_1",
4806
- "large": "_large_wd0le_1",
4807
- "iconButton": "_iconButton_wd0le_1",
4808
- "primary-filled": "_primary-filled_wd0le_1",
4809
- "secondary-filled": "_secondary-filled_wd0le_1",
4810
- "tertiary-filled": "_tertiary-filled_wd0le_1",
4811
- "secondary-ghost": "_secondary-ghost_wd0le_1",
4812
- "tertiary-ghost": "_tertiary-ghost_wd0le_1",
4813
- "primary-danger": "_primary-danger_wd0le_1",
4814
- "secondary-danger": "_secondary-danger_wd0le_1",
4815
- "tertiary-danger": "_tertiary-danger_wd0le_1",
4816
- "primary-dark": "_primary-dark_wd0le_1",
4817
- "secondary-dark": "_secondary-dark_wd0le_1",
4818
- "secondary-light-dark": "_secondary-light-dark_wd0le_1",
4819
- "tertiary-dark": "_tertiary-dark_wd0le_1"
4820
- };
4821
-
4720
+ "button": "_button_2ztys_1",
4721
+ "content": "_content_2ztys_1",
4722
+ "tiny": "_tiny_2ztys_1",
4723
+ "small": "_small_2ztys_1",
4724
+ "medium": "_medium_2ztys_1",
4725
+ "large": "_large_2ztys_1",
4726
+ "iconButton": "_iconButton_2ztys_1",
4727
+ "primary-filled": "_primary-filled_2ztys_1",
4728
+ "secondary-filled": "_secondary-filled_2ztys_1",
4729
+ "tertiary-filled": "_tertiary-filled_2ztys_1",
4730
+ "secondary-ghost": "_secondary-ghost_2ztys_1",
4731
+ "tertiary-ghost": "_tertiary-ghost_2ztys_1",
4732
+ "primary-danger": "_primary-danger_2ztys_1",
4733
+ "secondary-danger": "_secondary-danger_2ztys_1",
4734
+ "tertiary-danger": "_tertiary-danger_2ztys_1",
4735
+ "primary-dark": "_primary-dark_2ztys_1",
4736
+ "secondary-dark": "_secondary-dark_2ztys_1",
4737
+ "secondary-light-dark": "_secondary-light-dark_2ztys_1",
4738
+ "tertiary-dark": "_tertiary-dark_2ztys_1"
4739
+ };
4822
4740
  //#endregion
4823
4741
  //#region src/components/ds-button/versions/ds-button-new/ds-button-new.tsx
4824
4742
  const isIconOnly = (children) => {
@@ -4908,7 +4826,6 @@ const DsButton$1 = (t0) => {
4908
4826
  } else t7 = $[24];
4909
4827
  return t7;
4910
4828
  };
4911
-
4912
4829
  //#endregion
4913
4830
  //#region src/components/ds-button/ds-button.tsx
4914
4831
  const DsButton = (props) => {
@@ -4930,7 +4847,6 @@ const DsButton = (props) => {
4930
4847
  } else t0 = $[3];
4931
4848
  return t0;
4932
4849
  };
4933
-
4934
4850
  //#endregion
4935
4851
  //#region src/components/ds-card/ds-card.module.scss
4936
4852
  var ds_card_module_default = {
@@ -4939,7 +4855,6 @@ var ds_card_module_default = {
4939
4855
  "body": "_body_qqvx6_1",
4940
4856
  "footer": "_footer_qqvx6_1"
4941
4857
  };
4942
-
4943
4858
  //#endregion
4944
4859
  //#region src/components/ds-card/ds-card.tsx
4945
4860
  /**
@@ -5194,7 +5109,6 @@ const DsCard = {
5194
5109
  Body: Body$2,
5195
5110
  Footer: Footer$2
5196
5111
  };
5197
-
5198
5112
  //#endregion
5199
5113
  //#region src/components/ds-card/ds-card.types.ts
5200
5114
  const cardSizes = [
@@ -5202,25 +5116,25 @@ const cardSizes = [
5202
5116
  "medium",
5203
5117
  "large"
5204
5118
  ];
5205
-
5206
5119
  //#endregion
5207
5120
  //#region src/components/ds-checkbox/ds-checkbox.module.scss
5208
5121
  var ds_checkbox_module_default = {
5209
- "container": "_container_1ohle_1",
5210
- "labelInfo": "_labelInfo_1ohle_1",
5211
- "checkboxRoot": "_checkboxRoot_1ohle_1",
5212
- "checkboxWrapper": "_checkboxWrapper_1ohle_1",
5213
- "checkboxIndicator": "_checkboxIndicator_1ohle_1",
5214
- "label": "_label_1ohle_1"
5122
+ "container": "_container_1voix_1",
5123
+ "labelInfo": "_labelInfo_1voix_1",
5124
+ "label": "_label_1voix_1",
5125
+ "checkboxRoot": "_checkboxRoot_1voix_1",
5126
+ "checkboxWrapper": "_checkboxWrapper_1voix_1",
5127
+ "checkboxIndicator": "_checkboxIndicator_1voix_1",
5128
+ "default": "_default_1voix_1",
5129
+ "warning": "_warning_1voix_1"
5215
5130
  };
5216
-
5217
5131
  //#endregion
5218
5132
  //#region src/components/ds-checkbox/ds-checkbox.tsx
5219
5133
  /**
5220
5134
  * Design system Checkbox component
5221
5135
  */
5222
5136
  const DsCheckbox = (t0) => {
5223
- const $ = (0, react_compiler_runtime.c)(28);
5137
+ const $ = (0, react_compiler_runtime.c)(30);
5224
5138
  let checked;
5225
5139
  let className;
5226
5140
  let defaultChecked;
@@ -5229,8 +5143,9 @@ const DsCheckbox = (t0) => {
5229
5143
  let labelInfo;
5230
5144
  let onCheckedChange;
5231
5145
  let props;
5146
+ let t1;
5232
5147
  if ($[0] !== t0) {
5233
- ({id, label, labelInfo, className, checked, defaultChecked, onCheckedChange, ...props} = t0);
5148
+ ({id, variant: t1, label, labelInfo, className, checked, defaultChecked, onCheckedChange, ...props} = t0);
5234
5149
  $[0] = t0;
5235
5150
  $[1] = checked;
5236
5151
  $[2] = className;
@@ -5240,6 +5155,7 @@ const DsCheckbox = (t0) => {
5240
5155
  $[6] = labelInfo;
5241
5156
  $[7] = onCheckedChange;
5242
5157
  $[8] = props;
5158
+ $[9] = t1;
5243
5159
  } else {
5244
5160
  checked = $[1];
5245
5161
  className = $[2];
@@ -5249,54 +5165,58 @@ const DsCheckbox = (t0) => {
5249
5165
  labelInfo = $[6];
5250
5166
  onCheckedChange = $[7];
5251
5167
  props = $[8];
5168
+ t1 = $[9];
5252
5169
  }
5170
+ const variant = t1 === void 0 ? "default" : t1;
5253
5171
  const generatedId = (0, react.useId)();
5254
5172
  const checkboxId = id || generatedId;
5255
- let t1;
5256
- if ($[9] !== className) {
5257
- t1 = (0, classnames.default)(ds_checkbox_module_default.container, className);
5258
- $[9] = className;
5259
- $[10] = t1;
5260
- } else t1 = $[10];
5261
- const t2 = checked === "indeterminate" ? "check_indeterminate_small" : "check_small";
5173
+ const t2 = ds_checkbox_module_default[variant];
5262
5174
  let t3;
5263
- if ($[11] !== t2) {
5264
- t3 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5175
+ if ($[10] !== className || $[11] !== t2) {
5176
+ t3 = (0, classnames.default)(ds_checkbox_module_default.container, t2, className);
5177
+ $[10] = className;
5178
+ $[11] = t2;
5179
+ $[12] = t3;
5180
+ } else t3 = $[12];
5181
+ const t4 = checked === "indeterminate" ? "check_indeterminate_small" : "check_small";
5182
+ let t5;
5183
+ if ($[13] !== t4) {
5184
+ t5 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5265
5185
  className: ds_checkbox_module_default.checkboxWrapper,
5266
5186
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_checkbox.Indicator, {
5267
5187
  className: ds_checkbox_module_default.checkboxIndicator,
5268
5188
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
5269
- icon: t2,
5189
+ icon: t4,
5270
5190
  size: "small",
5271
5191
  variant: "outlined"
5272
5192
  })
5273
5193
  })
5274
5194
  });
5275
- $[11] = t2;
5276
- $[12] = t3;
5277
- } else t3 = $[12];
5278
- let t4;
5279
- if ($[13] !== checkboxId || $[14] !== checked || $[15] !== defaultChecked || $[16] !== onCheckedChange || $[17] !== props || $[18] !== t3) {
5280
- t4 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_checkbox.Root, {
5195
+ $[13] = t4;
5196
+ $[14] = t5;
5197
+ } else t5 = $[14];
5198
+ let t6;
5199
+ if ($[15] !== checkboxId || $[16] !== checked || $[17] !== defaultChecked || $[18] !== onCheckedChange || $[19] !== props || $[20] !== t5) {
5200
+ t6 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_checkbox.Root, {
5281
5201
  className: ds_checkbox_module_default.checkboxRoot,
5282
5202
  id: checkboxId,
5283
5203
  checked,
5284
5204
  defaultChecked,
5285
5205
  onCheckedChange,
5286
5206
  ...props,
5287
- children: t3
5207
+ children: t5
5288
5208
  });
5289
- $[13] = checkboxId;
5290
- $[14] = checked;
5291
- $[15] = defaultChecked;
5292
- $[16] = onCheckedChange;
5293
- $[17] = props;
5294
- $[18] = t3;
5295
- $[19] = t4;
5296
- } else t4 = $[19];
5297
- let t5;
5298
- if ($[20] !== checkboxId || $[21] !== label || $[22] !== labelInfo) {
5299
- t5 = label && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
5209
+ $[15] = checkboxId;
5210
+ $[16] = checked;
5211
+ $[17] = defaultChecked;
5212
+ $[18] = onCheckedChange;
5213
+ $[19] = props;
5214
+ $[20] = t5;
5215
+ $[21] = t6;
5216
+ } else t6 = $[21];
5217
+ let t7;
5218
+ if ($[22] !== checkboxId || $[23] !== label || $[24] !== labelInfo) {
5219
+ t7 = label && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
5300
5220
  className: ds_checkbox_module_default.label,
5301
5221
  htmlFor: checkboxId,
5302
5222
  children: [label, labelInfo && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
@@ -5304,25 +5224,27 @@ const DsCheckbox = (t0) => {
5304
5224
  children: labelInfo
5305
5225
  })]
5306
5226
  });
5307
- $[20] = checkboxId;
5308
- $[21] = label;
5309
- $[22] = labelInfo;
5310
- $[23] = t5;
5311
- } else t5 = $[23];
5312
- let t6;
5313
- if ($[24] !== t1 || $[25] !== t4 || $[26] !== t5) {
5314
- t6 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
5315
- className: t1,
5316
- children: [t4, t5]
5227
+ $[22] = checkboxId;
5228
+ $[23] = label;
5229
+ $[24] = labelInfo;
5230
+ $[25] = t7;
5231
+ } else t7 = $[25];
5232
+ let t8;
5233
+ if ($[26] !== t3 || $[27] !== t6 || $[28] !== t7) {
5234
+ t8 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
5235
+ className: t3,
5236
+ children: [t6, t7]
5317
5237
  });
5318
- $[24] = t1;
5319
- $[25] = t4;
5320
- $[26] = t5;
5238
+ $[26] = t3;
5321
5239
  $[27] = t6;
5322
- } else t6 = $[27];
5323
- return t6;
5240
+ $[28] = t7;
5241
+ $[29] = t8;
5242
+ } else t8 = $[29];
5243
+ return t8;
5324
5244
  };
5325
-
5245
+ //#endregion
5246
+ //#region src/components/ds-checkbox/ds-checkbox.types.ts
5247
+ const checkboxVariants = ["default", "warning"];
5326
5248
  //#endregion
5327
5249
  //#region src/components/ds-chip/ds-chip.module.scss
5328
5250
  var ds_chip_module_default = {
@@ -5332,7 +5254,6 @@ var ds_chip_module_default = {
5332
5254
  "label": "_label_1mzbj_1",
5333
5255
  "deleteButton": "_deleteButton_1mzbj_1"
5334
5256
  };
5335
-
5336
5257
  //#endregion
5337
5258
  //#region src/components/ds-chip/ds-chip.tsx
5338
5259
  /**
@@ -5450,7 +5371,6 @@ const DsChip = (t0) => {
5450
5371
  } else t17 = $[28];
5451
5372
  return t17;
5452
5373
  };
5453
-
5454
5374
  //#endregion
5455
5375
  //#region src/components/ds-chip-group/ds-chip-group.module.scss
5456
5376
  var ds_chip_group_module_default = {
@@ -5463,7 +5383,6 @@ var ds_chip_group_module_default = {
5463
5383
  "dialogContent": "_dialogContent_19chu_1",
5464
5384
  "itemCheckbox": "_itemCheckbox_19chu_1"
5465
5385
  };
5466
-
5467
5386
  //#endregion
5468
5387
  //#region src/components/ds-chip-group/hooks/use-chip-row-calculation.ts
5469
5388
  /**
@@ -5511,7 +5430,6 @@ const useChipRowCalculation = ({ chipsWrapperRef, totalFilters }) => {
5511
5430
  }, [chipsWrapperRef, totalFilters]);
5512
5431
  return visibleCount;
5513
5432
  };
5514
-
5515
5433
  //#endregion
5516
5434
  //#region src/components/ds-chip-group/ds-chip-group.tsx
5517
5435
  /**
@@ -5597,38 +5515,32 @@ const DsChipGroup = ({ items, label = "Filtered by:", onClearAll, onItemDelete,
5597
5515
  ]
5598
5516
  });
5599
5517
  };
5600
-
5601
5518
  //#endregion
5602
5519
  //#region src/components/ds-comment-bubble/ds-comment-bubble.module.scss
5603
5520
  var ds_comment_bubble_module_default = {
5604
- "iconButtonContent": "_iconButtonContent_830mk_1",
5605
- "bubble": "_bubble_830mk_1",
5606
- "actionRequired": "_actionRequired_830mk_1",
5607
- "initial": "_initial_830mk_1",
5608
- "inputArea": "_inputArea_830mk_1",
5609
- "inputWrapper": "_inputWrapper_830mk_1",
5610
- "textarea": "_textarea_830mk_1",
5611
- "typing": "_typing_830mk_1",
5612
- "thread": "_thread_830mk_1",
5613
- "header": "_header_830mk_1",
5614
- "headerLeft": "_headerLeft_830mk_1",
5615
- "headerInfo": "_headerInfo_830mk_1",
5616
- "commentId": "_commentId_830mk_1",
5617
- "actionRequiredBadge": "_actionRequiredBadge_830mk_1",
5618
- "headerRight": "_headerRight_830mk_1",
5619
- "headerActions": "_headerActions_830mk_1",
5620
- "headerActionButton": "_headerActionButton_830mk_1",
5621
- "searchIcon": "_searchIcon_830mk_1",
5622
- "infoIcon": "_infoIcon_830mk_1",
5623
- "footer": "_footer_830mk_1",
5624
- "actionRequiredCheckbox": "_actionRequiredCheckbox_830mk_1",
5625
- "checked": "_checked_830mk_1",
5626
- "sendButton": "_sendButton_830mk_1",
5627
- "dropdownContent": "_dropdownContent_830mk_1",
5628
- "dropdownItem": "_dropdownItem_830mk_1",
5629
- "danger": "_danger_830mk_1"
5630
- };
5631
-
5521
+ "bubble": "_bubble_1rqfe_1",
5522
+ "actionRequired": "_actionRequired_1rqfe_1",
5523
+ "initial": "_initial_1rqfe_1",
5524
+ "inputArea": "_inputArea_1rqfe_1",
5525
+ "inputWrapper": "_inputWrapper_1rqfe_1",
5526
+ "textarea": "_textarea_1rqfe_1",
5527
+ "typing": "_typing_1rqfe_1",
5528
+ "thread": "_thread_1rqfe_1",
5529
+ "header": "_header_1rqfe_1",
5530
+ "headerLeft": "_headerLeft_1rqfe_1",
5531
+ "headerInfo": "_headerInfo_1rqfe_1",
5532
+ "commentId": "_commentId_1rqfe_1",
5533
+ "actionRequiredBadge": "_actionRequiredBadge_1rqfe_1",
5534
+ "headerRight": "_headerRight_1rqfe_1",
5535
+ "headerActions": "_headerActions_1rqfe_1",
5536
+ "searchIcon": "_searchIcon_1rqfe_1",
5537
+ "infoIcon": "_infoIcon_1rqfe_1",
5538
+ "footer": "_footer_1rqfe_1",
5539
+ "sendButton": "_sendButton_1rqfe_1",
5540
+ "dropdownContent": "_dropdownContent_1rqfe_1",
5541
+ "dropdownItem": "_dropdownItem_1rqfe_1",
5542
+ "danger": "_danger_1rqfe_1"
5543
+ };
5632
5544
  //#endregion
5633
5545
  //#region src/components/ds-comment-bubble/components/ds-comment-thread/ds-comment-thread.module.scss
5634
5546
  var ds_comment_thread_module_default = {
@@ -5638,33 +5550,28 @@ var ds_comment_thread_module_default = {
5638
5550
  "overflowShadow": "_overflowShadow_4z8cr_1",
5639
5551
  "visible": "_visible_4z8cr_1"
5640
5552
  };
5641
-
5642
5553
  //#endregion
5643
5554
  //#region src/components/ds-comment-bubble/components/ds-thread-item/ds-thread-item.module.scss
5644
5555
  var ds_thread_item_module_default = {
5645
- "iconButtonContent": "_iconButtonContent_nzgsh_1",
5646
- "threadItem": "_threadItem_nzgsh_1",
5647
- "actions": "_actions_nzgsh_1",
5648
- "alignRight": "_alignRight_nzgsh_1",
5649
- "content": "_content_nzgsh_1",
5650
- "message": "_message_nzgsh_1",
5651
- "avatarWrapper": "_avatarWrapper_nzgsh_1",
5652
- "avatar": "_avatar_nzgsh_1",
5653
- "avatarFallback": "_avatarFallback_nzgsh_1",
5654
- "header": "_header_nzgsh_1",
5655
- "authorName": "_authorName_nzgsh_1",
5656
- "timestamp": "_timestamp_nzgsh_1",
5657
- "actionButton": "_actionButton_nzgsh_1",
5658
- "editContainer": "_editContainer_nzgsh_1",
5659
- "editTextarea": "_editTextarea_nzgsh_1",
5660
- "editActions": "_editActions_nzgsh_1",
5661
- "dropdownContent": "_dropdownContent_nzgsh_1"
5662
- };
5663
-
5556
+ "threadItem": "_threadItem_1pe6o_1",
5557
+ "actions": "_actions_1pe6o_1",
5558
+ "alignRight": "_alignRight_1pe6o_1",
5559
+ "content": "_content_1pe6o_1",
5560
+ "message": "_message_1pe6o_1",
5561
+ "avatarWrapper": "_avatarWrapper_1pe6o_1",
5562
+ "avatar": "_avatar_1pe6o_1",
5563
+ "avatarFallback": "_avatarFallback_1pe6o_1",
5564
+ "header": "_header_1pe6o_1",
5565
+ "authorName": "_authorName_1pe6o_1",
5566
+ "timestamp": "_timestamp_1pe6o_1",
5567
+ "editContainer": "_editContainer_1pe6o_1",
5568
+ "editTextarea": "_editTextarea_1pe6o_1",
5569
+ "editActions": "_editActions_1pe6o_1",
5570
+ "dropdownContent": "_dropdownContent_1pe6o_1"
5571
+ };
5664
5572
  //#endregion
5665
5573
  //#region src/components/ds-textarea/ds-textarea.module.scss
5666
5574
  var ds_textarea_module_default = { "textarea": "_textarea_12k7t_1" };
5667
-
5668
5575
  //#endregion
5669
5576
  //#region src/components/ds-textarea/ds-textarea.tsx
5670
5577
  const DsTextarea = (t0) => {
@@ -5733,7 +5640,6 @@ const DsTextarea = (t0) => {
5733
5640
  } else t7 = $[21];
5734
5641
  return t7;
5735
5642
  };
5736
-
5737
5643
  //#endregion
5738
5644
  //#region src/utils/format-relative-time.ts
5739
5645
  const SECONDS_PER_MINUTE = 60;
@@ -5762,7 +5668,6 @@ const formatRelativeTime = (date) => {
5762
5668
  if (diffYears >= 1) return `${String(diffYears)}y ago`;
5763
5669
  return `${String(diffMonths)}mo ago`;
5764
5670
  };
5765
-
5766
5671
  //#endregion
5767
5672
  //#region src/components/ds-comment-bubble/components/ds-thread-item/ds-thread-item.tsx
5768
5673
  const DsThreadItem = (t0) => {
@@ -5934,10 +5839,8 @@ const DsThreadItem = (t0) => {
5934
5839
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsButton, {
5935
5840
  design: "v1.2",
5936
5841
  buttonType: "tertiary",
5937
- size: "small",
5842
+ size: "tiny",
5938
5843
  "aria-label": "More actions",
5939
- className: ds_thread_item_module_default.actionButton,
5940
- contentClassName: ds_thread_item_module_default.iconButtonContent,
5941
5844
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
5942
5845
  icon: "more_vert",
5943
5846
  size: "tiny"
@@ -5965,11 +5868,9 @@ const DsThreadItem = (t0) => {
5965
5868
  })] }), onResolved && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsButton, {
5966
5869
  design: "v1.2",
5967
5870
  buttonType: "tertiary",
5968
- size: "small",
5871
+ size: "tiny",
5969
5872
  onClick: () => onResolved(id),
5970
5873
  "aria-label": "Mark message as resolved",
5971
- className: ds_thread_item_module_default.actionButton,
5972
- contentClassName: ds_thread_item_module_default.iconButtonContent,
5973
5874
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
5974
5875
  icon: "check_circle",
5975
5876
  size: "tiny"
@@ -6003,7 +5904,6 @@ const DsThreadItem = (t0) => {
6003
5904
  } else t18 = $[51];
6004
5905
  return t18;
6005
5906
  };
6006
-
6007
5907
  //#endregion
6008
5908
  //#region src/components/ds-comment-bubble/hooks/use-click-outside.ts
6009
5909
  const useClickOutside = (ref, onClickOutside, t0) => {
@@ -6036,7 +5936,6 @@ const useClickOutside = (ref, onClickOutside, t0) => {
6036
5936
  }
6037
5937
  (0, react.useEffect)(t1, t2);
6038
5938
  };
6039
-
6040
5939
  //#endregion
6041
5940
  //#region src/components/ds-comment-bubble/hooks/use-auto-resize.ts
6042
5941
  const useAutoResize = (ref, value, t0) => {
@@ -6068,7 +5967,6 @@ const useAutoResize = (ref, value, t0) => {
6068
5967
  } else t2 = $[6];
6069
5968
  (0, react.useLayoutEffect)(t1, t2);
6070
5969
  };
6071
-
6072
5970
  //#endregion
6073
5971
  //#region src/components/ds-comment-bubble/hooks/use-scroll-overflow.ts
6074
5972
  const useScrollOverflow = (ref, dependency) => {
@@ -6103,7 +6001,6 @@ const useScrollOverflow = (ref, dependency) => {
6103
6001
  (0, react.useLayoutEffect)(t0, t1);
6104
6002
  return hasOverflow;
6105
6003
  };
6106
-
6107
6004
  //#endregion
6108
6005
  //#region src/components/ds-comment-bubble/components/ds-comment-thread/ds-comment-thread.tsx
6109
6006
  const DsCommentThread = (t0) => {
@@ -6256,7 +6153,6 @@ const DsCommentThread = (t0) => {
6256
6153
  function _temp$15(m) {
6257
6154
  return m.isInitialMessage;
6258
6155
  }
6259
-
6260
6156
  //#endregion
6261
6157
  //#region src/components/ds-tag/ds-tag.module.scss
6262
6158
  var ds_tag_module_default = {
@@ -6271,7 +6167,6 @@ var ds_tag_module_default = {
6271
6167
  "label": "_label_1tyo9_1",
6272
6168
  "icon": "_icon_1tyo9_1"
6273
6169
  };
6274
-
6275
6170
  //#endregion
6276
6171
  //#region src/components/ds-tag/ds-tag.tsx
6277
6172
  /**
@@ -6511,18 +6406,16 @@ const DsTag = (t0) => {
6511
6406
  } else t29 = $[60];
6512
6407
  return t29;
6513
6408
  };
6514
-
6515
6409
  //#endregion
6516
- //#region src/components/ds-tag/ds-tag.types.tsx
6410
+ //#region src/components/ds-tag/ds-tag.types.ts
6517
6411
  const tagSizes = ["medium", "small"];
6518
6412
  const tagVariants = [
6519
6413
  "default",
6520
6414
  "include",
6521
6415
  "exclude"
6522
6416
  ];
6523
-
6524
6417
  //#endregion
6525
- //#region src/components/ds-table/utils/merge-refs.ts
6418
+ //#region src/utils/merge-refs.ts
6526
6419
  const mergeRefs = (...refs) => {
6527
6420
  return (value) => {
6528
6421
  refs.filter((r) => !!r).forEach((ref) => {
@@ -6531,7 +6424,6 @@ const mergeRefs = (...refs) => {
6531
6424
  });
6532
6425
  };
6533
6426
  };
6534
-
6535
6427
  //#endregion
6536
6428
  //#region src/components/ds-comment-bubble/ds-comment-bubble.tsx
6537
6429
  const DsCommentBubble = (t0) => {
@@ -6659,10 +6551,8 @@ const DsCommentBubble = (t0) => {
6659
6551
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsButton, {
6660
6552
  design: "v1.2",
6661
6553
  buttonType: "tertiary",
6662
- size: "small",
6554
+ size: "tiny",
6663
6555
  "aria-label": "More actions",
6664
- className: ds_comment_bubble_module_default.headerActionButton,
6665
- contentClassName: ds_comment_bubble_module_default.iconButtonContent,
6666
6556
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
6667
6557
  icon: "more_vert",
6668
6558
  size: "tiny"
@@ -6701,11 +6591,9 @@ const DsCommentBubble = (t0) => {
6701
6591
  })] }), onResolve && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsButton, {
6702
6592
  design: "v1.2",
6703
6593
  buttonType: "tertiary",
6704
- size: "small",
6594
+ size: "tiny",
6705
6595
  onClick: () => onResolve(),
6706
6596
  "aria-label": "Resolve",
6707
- className: ds_comment_bubble_module_default.headerActionButton,
6708
- contentClassName: ds_comment_bubble_module_default.iconButtonContent,
6709
6597
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
6710
6598
  icon: "check_circle",
6711
6599
  size: "tiny"
@@ -6714,10 +6602,8 @@ const DsCommentBubble = (t0) => {
6714
6602
  }), onClose && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsButton, {
6715
6603
  design: "v1.2",
6716
6604
  buttonType: "tertiary",
6717
- size: "small",
6605
+ size: "tiny",
6718
6606
  onClick: () => onClose(),
6719
- className: ds_comment_bubble_module_default.headerActionButton,
6720
- contentClassName: ds_comment_bubble_module_default.iconButtonContent,
6721
6607
  "aria-label": "Close",
6722
6608
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
6723
6609
  icon: "close",
@@ -6790,7 +6676,8 @@ const DsCommentBubble = (t0) => {
6790
6676
  if ($[49] !== handleSend || $[50] !== hasContent || $[51] !== hasThread || $[52] !== isInitialMode) {
6791
6677
  t15 = (isInitialMode || hasThread) && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsButton, {
6792
6678
  design: "v1.2",
6793
- size: "small",
6679
+ buttonType: "tertiary",
6680
+ size: "tiny",
6794
6681
  disabled: !hasContent,
6795
6682
  onClick: handleSend,
6796
6683
  "aria-label": "Send",
@@ -6820,13 +6707,14 @@ const DsCommentBubble = (t0) => {
6820
6707
  t17 = showFooter && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
6821
6708
  className: ds_comment_bubble_module_default.footer,
6822
6709
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsCheckbox, {
6710
+ variant: "warning",
6823
6711
  label: "Action required",
6824
6712
  checked: actionRequired,
6825
- onCheckedChange: (checked) => onActionRequiredChange?.(checked === true),
6826
- className: (0, classnames.default)(ds_comment_bubble_module_default.actionRequiredCheckbox, { [ds_comment_bubble_module_default.checked]: actionRequired })
6713
+ onCheckedChange: (checked) => onActionRequiredChange?.(checked === true)
6827
6714
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsButton, {
6828
6715
  design: "v1.2",
6829
- size: "small",
6716
+ buttonType: "tertiary",
6717
+ size: "tiny",
6830
6718
  disabled: !hasContent,
6831
6719
  onClick: handleSend,
6832
6720
  "aria-label": "Send",
@@ -6870,7 +6758,6 @@ const DsCommentBubble = (t0) => {
6870
6758
  } else t18 = $[71];
6871
6759
  return t18;
6872
6760
  };
6873
-
6874
6761
  //#endregion
6875
6762
  //#region src/components/ds-comment-card/ds-comment-card.module.scss
6876
6763
  var ds_comment_card_module_default = {
@@ -6893,7 +6780,6 @@ var ds_comment_card_module_default = {
6893
6780
  "replyCount": "_replyCount_l0dxf_1",
6894
6781
  "dropdownContent": "_dropdownContent_l0dxf_1"
6895
6782
  };
6896
-
6897
6783
  //#endregion
6898
6784
  //#region src/components/ds-comment-card/ds-comment-card.tsx
6899
6785
  const DsCommentCard = (t0) => {
@@ -7066,7 +6952,7 @@ const DsCommentCard = (t0) => {
7066
6952
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsButton, {
7067
6953
  design: "v1.2",
7068
6954
  buttonType: "tertiary",
7069
- size: "small",
6955
+ size: "tiny",
7070
6956
  "aria-label": "More actions",
7071
6957
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
7072
6958
  icon: "more_vert",
@@ -7117,7 +7003,7 @@ const DsCommentCard = (t0) => {
7117
7003
  t24 = onResolve && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsButton, {
7118
7004
  design: "v1.2",
7119
7005
  buttonType: "tertiary",
7120
- size: "small",
7006
+ size: "tiny",
7121
7007
  onClick: handleResolve,
7122
7008
  "aria-label": "Resolve comment",
7123
7009
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
@@ -7241,7 +7127,6 @@ function _temp3$3(p) {
7241
7127
  src: p.avatarSrc
7242
7128
  };
7243
7129
  }
7244
-
7245
7130
  //#endregion
7246
7131
  //#region src/components/ds-comment-indicator/ds-comment-indicator.module.scss
7247
7132
  var ds_comment_indicator_module_default = {
@@ -7251,7 +7136,6 @@ var ds_comment_indicator_module_default = {
7251
7136
  "plusIcon": "_plusIcon_1eh63_1",
7252
7137
  "avatar": "_avatar_1eh63_1"
7253
7138
  };
7254
-
7255
7139
  //#endregion
7256
7140
  //#region src/components/ds-comment-indicator/ds-comment-indicator.tsx
7257
7141
  const DsCommentIndicator = (t0) => {
@@ -7320,7 +7204,6 @@ const DsCommentIndicator = (t0) => {
7320
7204
  } else t7 = $[16];
7321
7205
  return t7;
7322
7206
  };
7323
-
7324
7207
  //#endregion
7325
7208
  //#region src/components/ds-comments-drawer/ds-comments-drawer.module.scss
7326
7209
  var ds_comments_drawer_module_default = {
@@ -7333,7 +7216,6 @@ var ds_comments_drawer_module_default = {
7333
7216
  "filterTagsToolbar": "_filterTagsToolbar_1tdl6_1",
7334
7217
  "tagFilter": "_tagFilter_1tdl6_1"
7335
7218
  };
7336
-
7337
7219
  //#endregion
7338
7220
  //#region src/components/ds-drawer/ds-drawer.module.scss
7339
7221
  var ds_drawer_module_default = {
@@ -7369,7 +7251,6 @@ var ds_drawer_module_default = {
7369
7251
  "footer": "_footer_ehlks_1",
7370
7252
  "actions": "_actions_ehlks_1"
7371
7253
  };
7372
-
7373
7254
  //#endregion
7374
7255
  //#region src/components/ds-drawer/ds-drawer.tsx
7375
7256
  /**
@@ -7650,7 +7531,6 @@ DsDrawer.Toolbar = Toolbar;
7650
7531
  DsDrawer.Body = Body$1;
7651
7532
  DsDrawer.Footer = Footer$1;
7652
7533
  DsDrawer.Actions = Actions$1;
7653
-
7654
7534
  //#endregion
7655
7535
  //#region src/components/ds-tag-filter/ds-tag-filter.module.scss
7656
7536
  var ds_tag_filter_module_default = {
@@ -7665,7 +7545,6 @@ var ds_tag_filter_module_default = {
7665
7545
  "actionButton": "_actionButton_1sm6t_1",
7666
7546
  "measurementContainer": "_measurementContainer_1sm6t_1"
7667
7547
  };
7668
-
7669
7548
  //#endregion
7670
7549
  //#region src/components/ds-tag-filter/utils.ts
7671
7550
  /**
@@ -7709,7 +7588,6 @@ function getElementMeasurements(measurementContainer) {
7709
7588
  gap
7710
7589
  };
7711
7590
  }
7712
-
7713
7591
  //#endregion
7714
7592
  //#region src/components/ds-tag-filter/hooks/use-tag-overflow-calculation.ts
7715
7593
  /**
@@ -7807,7 +7685,6 @@ const useTagOverflowCalculation = (t0) => {
7807
7685
  }
7808
7686
  return state;
7809
7687
  };
7810
-
7811
7688
  //#endregion
7812
7689
  //#region src/components/ds-tag-filter/ds-tag-filter.tsx
7813
7690
  /**
@@ -8046,7 +7923,6 @@ const DsTagFilter = (t0) => {
8046
7923
  } else t24 = $[61];
8047
7924
  return t24;
8048
7925
  };
8049
-
8050
7926
  //#endregion
8051
7927
  //#region src/components/ds-comments-drawer/comments-filters.ts
8052
7928
  const initialFilterState = {
@@ -8140,7 +8016,6 @@ const removeTag = (filters, tag) => {
8140
8016
  }
8141
8017
  return newFilters;
8142
8018
  };
8143
-
8144
8019
  //#endregion
8145
8020
  //#region src/components/ds-comments-drawer/components/comments-filter-modal/comments-filter-modal.module.scss
8146
8021
  var comments_filter_modal_module_default = {
@@ -8159,7 +8034,6 @@ var comments_filter_modal_module_default = {
8159
8034
  "emptyMessage": "_emptyMessage_1p419_1",
8160
8035
  "footer": "_footer_1p419_1"
8161
8036
  };
8162
-
8163
8037
  //#endregion
8164
8038
  //#region src/components/ds-modal/ds-modal.module.scss
8165
8039
  var ds_modal_module_default = {
@@ -8188,7 +8062,6 @@ var ds_modal_module_default = {
8188
8062
  "cols-11": "_cols-11_5aciv_1",
8189
8063
  "cols-12": "_cols-12_5aciv_1"
8190
8064
  };
8191
-
8192
8065
  //#endregion
8193
8066
  //#region src/components/ds-modal/ds-modal.tsx
8194
8067
  /**
@@ -8424,15 +8297,12 @@ DsModal.CloseTrigger = CloseTrigger;
8424
8297
  DsModal.Body = Body;
8425
8298
  DsModal.Footer = Footer;
8426
8299
  DsModal.Actions = Actions;
8427
-
8428
8300
  //#endregion
8429
8301
  //#region src/components/ds-tabs/components/ds-tabs-list/ds-tabs-list.module.scss
8430
8302
  var ds_tabs_list_module_default = { "tabList": "_tabList_tj37v_1" };
8431
-
8432
8303
  //#endregion
8433
8304
  //#region src/components/ds-tabs/components/ds-tabs-list/ds-tabs-indicator.module.scss
8434
8305
  var ds_tabs_indicator_module_default = { "indicator": "_indicator_1xns8_1" };
8435
-
8436
8306
  //#endregion
8437
8307
  //#region src/components/ds-tabs/components/ds-tabs-list/ds-tabs-list.tsx
8438
8308
  const DsTabsList = (t0) => {
@@ -8463,7 +8333,6 @@ const DsTabsList = (t0) => {
8463
8333
  } else t3 = $[6];
8464
8334
  return t3;
8465
8335
  };
8466
-
8467
8336
  //#endregion
8468
8337
  //#region src/components/ds-tabs/components/ds-tabs-tab/ds-tabs-tab.module.scss
8469
8338
  var ds_tabs_tab_module_default = {
@@ -8476,7 +8345,6 @@ var ds_tabs_tab_module_default = {
8476
8345
  "menuItem": "_menuItem_1r7gq_1",
8477
8346
  "menuItemLabel": "_menuItemLabel_1r7gq_1"
8478
8347
  };
8479
-
8480
8348
  //#endregion
8481
8349
  //#region src/components/ds-tabs/components/ds-tabs-tab/ds-tabs-tab.tsx
8482
8350
  const DsTabsTab = (t0) => {
@@ -8639,14 +8507,12 @@ function _temp$13(item) {
8639
8507
  })
8640
8508
  }, item.value);
8641
8509
  }
8642
-
8643
8510
  //#endregion
8644
8511
  //#region src/components/ds-tabs/components/ds-tabs-content/ds-tabs-content.module.scss
8645
8512
  var ds_tabs_content_module_default = {
8646
8513
  "tabContent": "_tabContent_qtp6q_1",
8647
8514
  "fadeIn": "_fadeIn_qtp6q_1"
8648
8515
  };
8649
-
8650
8516
  //#endregion
8651
8517
  //#region src/components/ds-tabs/components/ds-tabs-content/ds-tabs-content.tsx
8652
8518
  const DsTabsContent = (t0) => {
@@ -8674,11 +8540,9 @@ const DsTabsContent = (t0) => {
8674
8540
  } else t2 = $[6];
8675
8541
  return t2;
8676
8542
  };
8677
-
8678
8543
  //#endregion
8679
8544
  //#region src/components/ds-tabs/ds-tabs.module.scss
8680
8545
  var ds_tabs_module_default = { "root": "_root_13s06_1" };
8681
-
8682
8546
  //#endregion
8683
8547
  //#region src/components/ds-tabs/ds-tabs.tsx
8684
8548
  const DsTabsRoot = (t0) => {
@@ -8734,7 +8598,6 @@ const DsTabs = {
8734
8598
  Tab: DsTabsTab,
8735
8599
  Content: DsTabsContent
8736
8600
  };
8737
-
8738
8601
  //#endregion
8739
8602
  //#region src/components/ds-date-input/ds-date-input.utils.ts
8740
8603
  /**
@@ -8900,7 +8763,6 @@ const validateDateString = ({ text, range, min, max }) => {
8900
8763
  };
8901
8764
  return { isValid: true };
8902
8765
  };
8903
-
8904
8766
  //#endregion
8905
8767
  //#region src/components/ds-date-input/ds-date-input.module.scss
8906
8768
  var ds_date_input_module_default = {
@@ -8927,7 +8789,6 @@ var ds_date_input_module_default = {
8927
8789
  "tableHead": "_tableHead_1abgc_1",
8928
8790
  "tableHeader": "_tableHeader_1abgc_1"
8929
8791
  };
8930
-
8931
8792
  //#endregion
8932
8793
  //#region src/components/ds-date-input/ds-date-input.tsx
8933
8794
  /**
@@ -8936,7 +8797,7 @@ var ds_date_input_module_default = {
8936
8797
  * Supports both single date and date range selection with a single text input field.
8937
8798
  * Features built-in validation, manual text entry, and calendar selection.
8938
8799
  */
8939
- const DsDateInput = ({ range = false, placeholder, style, className, disablePortal = false, onValueChange, onOpenChange, value: _value, defaultValue: _defaultValue, min: _min, max: _max, disabled, readOnly, id, ...datePickerProps }) => {
8800
+ const DsDateInput = ({ range = false, placeholder, style, className, disablePortal = false, hideClearButton = false, onValueChange, onOpenChange, value: _value, defaultValue: _defaultValue, min: _min, max: _max, disabled, readOnly, id, ...datePickerProps }) => {
8940
8801
  const min = _min ? isoStringToDateValue(_min) : void 0;
8941
8802
  const max = _max ? isoStringToDateValue(_max) : void 0;
8942
8803
  const value = _value ? stringToDateValue(_value) : [];
@@ -8980,7 +8841,7 @@ const DsDateInput = ({ range = false, placeholder, style, className, disablePort
8980
8841
  const parsedValue_0 = parseInputText(text_0, range);
8981
8842
  onValueChange?.(dateValuesToStrings(parsedValue_0, range));
8982
8843
  };
8983
- const showClearButton = !disabled && !readOnly && !!(value.length > 0 ? value : defaultValue).length;
8844
+ const showClearButton = !hideClearButton && !disabled && !readOnly && !!(value.length > 0 ? value : defaultValue).length;
8984
8845
  const Wrapper = disablePortal ? react.Fragment : _ark_ui_react_portal.Portal;
8985
8846
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_ark_ui_react_date_picker.DatePicker.Root, {
8986
8847
  value,
@@ -9262,7 +9123,6 @@ function _temp0(datePicker) {
9262
9123
  })
9263
9124
  });
9264
9125
  }
9265
-
9266
9126
  //#endregion
9267
9127
  //#region src/components/ds-comments-drawer/components/comments-filter-modal/comments-filter-modal.tsx
9268
9128
  const CommentsFilterModal = (t0) => {
@@ -9804,7 +9664,6 @@ const CommentsFilterModal = (t0) => {
9804
9664
  } else t47 = $[116];
9805
9665
  return t47;
9806
9666
  };
9807
-
9808
9667
  //#endregion
9809
9668
  //#region src/components/ds-comments-drawer/ds-comments-drawer.tsx
9810
9669
  const DsCommentsDrawer = (t0) => {
@@ -10208,7 +10067,6 @@ function _temp4$1(c_0) {
10208
10067
  function _temp5$1(c_1) {
10209
10068
  return c_1.isResolved;
10210
10069
  }
10211
-
10212
10070
  //#endregion
10213
10071
  //#region src/components/ds-confirmation/ds-confirmation.tsx
10214
10072
  /**
@@ -10236,7 +10094,6 @@ DsConfirmation.CloseTrigger = DsModal.CloseTrigger;
10236
10094
  DsConfirmation.Body = DsModal.Body;
10237
10095
  DsConfirmation.Footer = DsModal.Footer;
10238
10096
  DsConfirmation.Actions = DsModal.Actions;
10239
-
10240
10097
  //#endregion
10241
10098
  //#region src/components/ds-dialog/ds-dialog.module.scss
10242
10099
  var ds_dialog_module_default = {
@@ -10246,7 +10103,6 @@ var ds_dialog_module_default = {
10246
10103
  "description": "_description_z7kc9_1",
10247
10104
  "customPlacement": "_customPlacement_z7kc9_1"
10248
10105
  };
10249
-
10250
10106
  //#endregion
10251
10107
  //#region src/components/ds-dialog/ds-dialog.tsx
10252
10108
  const DsDialog = ({ open, onOpenChange, title, hideTitle, description, hideDescription, children, className, anchorRef, customPosition, modal = true }) => {
@@ -10295,7 +10151,6 @@ const DsDialog = ({ open, onOpenChange, title, hideTitle, description, hideDescr
10295
10151
  })] })
10296
10152
  });
10297
10153
  };
10298
-
10299
10154
  //#endregion
10300
10155
  //#region src/components/ds-divider/ds-divider.module.scss
10301
10156
  var ds_divider_module_default = {
@@ -10303,7 +10158,6 @@ var ds_divider_module_default = {
10303
10158
  "horizontal": "_horizontal_s6hux_1",
10304
10159
  "vertical": "_vertical_s6hux_1"
10305
10160
  };
10306
-
10307
10161
  //#endregion
10308
10162
  //#region src/components/ds-divider/ds-divider.tsx
10309
10163
  const DsDivider = (t0) => {
@@ -10341,7 +10195,6 @@ const DsDivider = (t0) => {
10341
10195
  } else t4 = $[8];
10342
10196
  return t4;
10343
10197
  };
10344
-
10345
10198
  //#endregion
10346
10199
  //#region src/components/ds-expandable-text-input/ds-expandable-text-input.module.scss
10347
10200
  var ds_expandable_text_input_module_default = {
@@ -10352,12 +10205,11 @@ var ds_expandable_text_input_module_default = {
10352
10205
  "dirty": "_dirty_dd7gz_1",
10353
10206
  "inputExpander": "_inputExpander_dd7gz_1"
10354
10207
  };
10355
-
10356
10208
  //#endregion
10357
10209
  //#region src/components/ds-expandable-text-input/ds-expandable-text-input.tsx
10358
10210
  function DsExpandableTextInput(t0) {
10359
- const $ = (0, react_compiler_runtime.c)(37);
10360
- const { onClear, onExpandChange, icon, ...props } = t0;
10211
+ const $ = (0, react_compiler_runtime.c)(41);
10212
+ const { onClear, onExpandChange, icon, size, ...props } = t0;
10361
10213
  const hasInitialValue = Boolean(props.value ?? props.defaultValue);
10362
10214
  const [expanded, _setExpanded] = (0, react.useState)(hasInitialValue);
10363
10215
  const [dirty, setDirty] = (0, react.useState)(hasInitialValue);
@@ -10374,6 +10226,7 @@ function DsExpandableTextInput(t0) {
10374
10226
  $[2] = t1;
10375
10227
  } else t1 = $[2];
10376
10228
  const setExpanded = t1;
10229
+ const clearButtonSize = size === "small" ? "tiny" : "small";
10377
10230
  const T0 = DsTextInput;
10378
10231
  const t2 = mergeRefs(ref, props.ref);
10379
10232
  const t3 = expanded ? 0 : -1;
@@ -10440,60 +10293,69 @@ function DsExpandableTextInput(t0) {
10440
10293
  } else t10 = $[20];
10441
10294
  let t11;
10442
10295
  if ($[21] !== onClear || $[22] !== ref || $[23] !== setExpanded) {
10443
- t11 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsButton, {
10444
- design: "v1.2",
10445
- size: "small",
10446
- buttonType: "tertiary",
10447
- variant: "filled",
10448
- className: ds_expandable_text_input_module_default.clearTrigger,
10449
- onClick: () => {
10450
- setExpanded(false);
10451
- if (ref.current) {
10452
- ref.current.blur();
10453
- ref.current.value = "";
10454
- }
10455
- onClear?.();
10456
- },
10457
- children: "Clear"
10458
- });
10296
+ t11 = () => {
10297
+ setExpanded(false);
10298
+ if (ref.current) {
10299
+ ref.current.blur();
10300
+ ref.current.value = "";
10301
+ }
10302
+ onClear?.();
10303
+ };
10459
10304
  $[21] = onClear;
10460
10305
  $[22] = ref;
10461
10306
  $[23] = setExpanded;
10462
10307
  $[24] = t11;
10463
10308
  } else t11 = $[24];
10464
10309
  let t12;
10465
- if ($[25] !== t10 || $[26] !== t11) {
10466
- t12 = {
10467
- inputWrapper: InputExpander,
10468
- startAdornment: t10,
10469
- endAdornment: t11
10470
- };
10471
- $[25] = t10;
10310
+ if ($[25] !== clearButtonSize || $[26] !== t11) {
10311
+ t12 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsButton, {
10312
+ design: "v1.2",
10313
+ size: clearButtonSize,
10314
+ buttonType: "tertiary",
10315
+ variant: "filled",
10316
+ className: ds_expandable_text_input_module_default.clearTrigger,
10317
+ onClick: t11,
10318
+ children: "Clear"
10319
+ });
10320
+ $[25] = clearButtonSize;
10472
10321
  $[26] = t11;
10473
10322
  $[27] = t12;
10474
10323
  } else t12 = $[27];
10475
10324
  let t13;
10476
- if ($[28] !== T0 || $[29] !== props || $[30] !== t12 || $[31] !== t2 || $[32] !== t3 || $[33] !== t4 || $[34] !== t5 || $[35] !== t6) {
10477
- t13 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(T0, {
10325
+ if ($[28] !== t10 || $[29] !== t12) {
10326
+ t13 = {
10327
+ inputWrapper: InputExpander,
10328
+ startAdornment: t10,
10329
+ endAdornment: t12
10330
+ };
10331
+ $[28] = t10;
10332
+ $[29] = t12;
10333
+ $[30] = t13;
10334
+ } else t13 = $[30];
10335
+ let t14;
10336
+ if ($[31] !== T0 || $[32] !== props || $[33] !== size || $[34] !== t13 || $[35] !== t2 || $[36] !== t3 || $[37] !== t4 || $[38] !== t5 || $[39] !== t6) {
10337
+ t14 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(T0, {
10478
10338
  ...props,
10339
+ size,
10479
10340
  ref: t2,
10480
10341
  tabIndex: t3,
10481
10342
  className: t4,
10482
10343
  onChange: t5,
10483
10344
  onBlur: t6,
10484
- slots: t12
10345
+ slots: t13
10485
10346
  });
10486
- $[28] = T0;
10487
- $[29] = props;
10488
- $[30] = t12;
10489
- $[31] = t2;
10490
- $[32] = t3;
10491
- $[33] = t4;
10492
- $[34] = t5;
10493
- $[35] = t6;
10494
- $[36] = t13;
10495
- } else t13 = $[36];
10496
- return t13;
10347
+ $[31] = T0;
10348
+ $[32] = props;
10349
+ $[33] = size;
10350
+ $[34] = t13;
10351
+ $[35] = t2;
10352
+ $[36] = t3;
10353
+ $[37] = t4;
10354
+ $[38] = t5;
10355
+ $[39] = t6;
10356
+ $[40] = t14;
10357
+ } else t14 = $[40];
10358
+ return t14;
10497
10359
  }
10498
10360
  function InputExpander(t0) {
10499
10361
  const $ = (0, react_compiler_runtime.c)(2);
@@ -10509,7 +10371,6 @@ function InputExpander(t0) {
10509
10371
  } else t1 = $[1];
10510
10372
  return t1;
10511
10373
  }
10512
-
10513
10374
  //#endregion
10514
10375
  //#region src/components/ds-file-upload/utils/get-error-message.ts
10515
10376
  const FILE_ERROR_MESSAGES = {
@@ -10526,7 +10387,6 @@ const FILE_ERROR_MESSAGES = {
10526
10387
  function getErrorMessage(error) {
10527
10388
  return FILE_ERROR_MESSAGES[error] || error || "File validation failed";
10528
10389
  }
10529
-
10530
10390
  //#endregion
10531
10391
  //#region src/components/ds-file-upload/components/file-upload-item/file-upload-item.module.scss
10532
10392
  var file_upload_item_module_default = {
@@ -10548,7 +10408,6 @@ var file_upload_item_module_default = {
10548
10408
  "interruptedText": "_interruptedText_4ejd1_1",
10549
10409
  "errorMessage": "_errorMessage_4ejd1_1"
10550
10410
  };
10551
-
10552
10411
  //#endregion
10553
10412
  //#region src/components/ds-file-upload/components/file-upload-item/file-upload-item.tsx
10554
10413
  /**
@@ -10829,7 +10688,6 @@ function _temp$10(error) {
10829
10688
  }), getErrorMessage(error)]
10830
10689
  }, error);
10831
10690
  }
10832
-
10833
10691
  //#endregion
10834
10692
  //#region src/components/ds-file-upload/utils/constants.ts
10835
10693
  /**
@@ -10845,11 +10703,6 @@ const DEFAULT_ALLOWED_FILE_TYPES = [
10845
10703
  * Default maximum file size in bytes (25MB)
10846
10704
  */
10847
10705
  const DEFAULT_MAX_FILE_SIZE = 25e6;
10848
- /**
10849
- * Default maximum number of files allowed
10850
- */
10851
- const DEFAULT_MAX_FILES = 5;
10852
-
10853
10706
  //#endregion
10854
10707
  //#region src/components/ds-file-upload/types/accept-types.ts
10855
10708
  /**
@@ -10964,7 +10817,6 @@ const EXTENSIONS_MAP = {
10964
10817
  ".eot"
10965
10818
  ]
10966
10819
  };
10967
-
10968
10820
  //#endregion
10969
10821
  //#region src/components/ds-file-upload/utils/accept-utils.ts
10970
10822
  /**
@@ -10986,7 +10838,6 @@ function getFileExtensions(accept) {
10986
10838
  function getMimeTypes(accept) {
10987
10839
  return accept.map((item) => typeof item === "string" ? item : item.mimeType);
10988
10840
  }
10989
-
10990
10841
  //#endregion
10991
10842
  //#region src/components/ds-file-upload/utils/format-file-size.ts
10992
10843
  /**
@@ -11006,7 +10857,6 @@ function formatFileSize(bytes) {
11006
10857
  const i = Math.floor(Math.log(bytes) / Math.log(k));
11007
10858
  return `${(bytes / Math.pow(k, i)).toFixed(2)} ${String(sizes[i])}`;
11008
10859
  }
11009
-
11010
10860
  //#endregion
11011
10861
  //#region src/components/ds-file-upload/utils/generate-helper-text.ts
11012
10862
  /**
@@ -11023,7 +10873,6 @@ function generateHelperText(accept, maxFileSize, maxFiles) {
11023
10873
  else if (maxFiles > 1) parts.push(`Up to ${String(maxFiles)} files`);
11024
10874
  return parts.join(". ") + ".";
11025
10875
  }
11026
-
11027
10876
  //#endregion
11028
10877
  //#region src/components/ds-file-upload/components/file-upload/file-upload.module.scss
11029
10878
  var file_upload_module_default = {
@@ -11036,7 +10885,6 @@ var file_upload_module_default = {
11036
10885
  "infoText": "_infoText_1jafp_1",
11037
10886
  "errorText": "_errorText_1jafp_1"
11038
10887
  };
11039
-
11040
10888
  //#endregion
11041
10889
  //#region src/components/ds-file-upload/components/file-upload/file-upload.tsx
11042
10890
  /**
@@ -11044,73 +10892,74 @@ var file_upload_module_default = {
11044
10892
  * Used in conjunction with the useFileUpload hook
11045
10893
  */
11046
10894
  const FileUpload = (t0) => {
11047
- const $ = (0, react_compiler_runtime.c)(51);
11048
- const { style: t1, className, files, acceptedFiles, errorText, dropzoneText: t2, triggerText: t3, hideProgress: t4, disableDrop: t5, onFileAccept, onFileReject, onFileRemove, onFileDelete, onFileCancel, onFileRetry, accept: t6, maxFiles: t7, maxFileSize: t8, compact: t9, disabled: t10 } = t0;
11049
- let t11;
10895
+ const $ = (0, react_compiler_runtime.c)(52);
10896
+ const { style: t1, className, files, acceptedFiles, errorText, dropzoneText: t2, triggerText: t3, hideProgress: t4, hideInfoText: t5, disableDrop: t6, onFileAccept, onFileReject, onFileRemove, onFileDelete, onFileCancel, onFileRetry, accept: t7, maxFiles: t8, maxFileSize: t9, compact: t10, disabled: t11 } = t0;
10897
+ let t12;
11050
10898
  if ($[0] !== t1) {
11051
- t11 = t1 === void 0 ? {} : t1;
10899
+ t12 = t1 === void 0 ? {} : t1;
11052
10900
  $[0] = t1;
11053
- $[1] = t11;
11054
- } else t11 = $[1];
11055
- const style = t11;
10901
+ $[1] = t12;
10902
+ } else t12 = $[1];
10903
+ const style = t12;
11056
10904
  const dropzoneText = t2 === void 0 ? "Drag and drop files here or " : t2;
11057
10905
  const triggerText = t3 === void 0 ? "Select file..." : t3;
11058
10906
  const hideProgress = t4 === void 0 ? false : t4;
11059
- const disableDrop = t5 === void 0 ? false : t5;
11060
- const accept = t6 === void 0 ? DEFAULT_ALLOWED_FILE_TYPES : t6;
11061
- const maxFiles = t7 === void 0 ? DEFAULT_MAX_FILES : t7;
11062
- const maxFileSize = t8 === void 0 ? DEFAULT_MAX_FILE_SIZE : t8;
11063
- const compact = t9 === void 0 ? false : t9;
11064
- const disabled = t10 === void 0 ? false : t10;
11065
- let t12;
10907
+ const hideInfoText = t5 === void 0 ? false : t5;
10908
+ const disableDrop = t6 === void 0 ? false : t6;
10909
+ const accept = t7 === void 0 ? DEFAULT_ALLOWED_FILE_TYPES : t7;
10910
+ const maxFiles = t8 === void 0 ? 5 : t8;
10911
+ const maxFileSize = t9 === void 0 ? DEFAULT_MAX_FILE_SIZE : t9;
10912
+ const compact = t10 === void 0 ? false : t10;
10913
+ const disabled = t11 === void 0 ? false : t11;
10914
+ let t13;
11066
10915
  if ($[2] !== accept || $[3] !== maxFileSize || $[4] !== maxFiles) {
11067
- t12 = generateHelperText(accept, maxFileSize, maxFiles);
10916
+ t13 = generateHelperText(accept, maxFileSize, maxFiles);
11068
10917
  $[2] = accept;
11069
10918
  $[3] = maxFileSize;
11070
10919
  $[4] = maxFiles;
11071
- $[5] = t12;
11072
- } else t12 = $[5];
11073
- const infoText = t12;
11074
- let t13;
10920
+ $[5] = t13;
10921
+ } else t13 = $[5];
10922
+ const infoText = t13;
10923
+ let t14;
11075
10924
  if ($[6] !== className) {
11076
- t13 = (0, classnames.default)(file_upload_module_default.fileUploadRoot, className);
10925
+ t14 = (0, classnames.default)(file_upload_module_default.fileUploadRoot, className);
11077
10926
  $[6] = className;
11078
- $[7] = t13;
11079
- } else t13 = $[7];
11080
- let t14;
10927
+ $[7] = t14;
10928
+ } else t14 = $[7];
10929
+ let t15;
11081
10930
  if ($[8] !== accept) {
11082
- t14 = getMimeTypes(accept);
10931
+ t15 = getMimeTypes(accept);
11083
10932
  $[8] = accept;
11084
- $[9] = t14;
11085
- } else t14 = $[9];
11086
- const t15 = !disableDrop;
11087
- let t16;
10933
+ $[9] = t15;
10934
+ } else t15 = $[9];
10935
+ const t16 = !disableDrop;
10936
+ let t17;
11088
10937
  if ($[10] !== compact) {
11089
- t16 = (0, classnames.default)(file_upload_module_default.dropzone, { [file_upload_module_default.dropzoneCompact]: compact });
10938
+ t17 = (0, classnames.default)(file_upload_module_default.dropzone, { [file_upload_module_default.dropzoneCompact]: compact });
11090
10939
  $[10] = compact;
11091
- $[11] = t16;
11092
- } else t16 = $[11];
11093
- let t17;
10940
+ $[11] = t17;
10941
+ } else t17 = $[11];
10942
+ let t18;
11094
10943
  if ($[12] === Symbol.for("react.memo_cache_sentinel")) {
11095
- t17 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
10944
+ t18 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
11096
10945
  icon: "upload",
11097
10946
  className: file_upload_module_default.dropzoneIcon
11098
10947
  });
11099
- $[12] = t17;
11100
- } else t17 = $[12];
11101
- let t18;
10948
+ $[12] = t18;
10949
+ } else t18 = $[12];
10950
+ let t19;
11102
10951
  if ($[13] !== dropzoneText) {
11103
- t18 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTypography, {
10952
+ t19 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTypography, {
11104
10953
  className: file_upload_module_default.dropzoneText,
11105
10954
  variant: "body-xs-reg",
11106
10955
  children: dropzoneText
11107
10956
  });
11108
10957
  $[13] = dropzoneText;
11109
- $[14] = t18;
11110
- } else t18 = $[14];
11111
- let t19;
10958
+ $[14] = t19;
10959
+ } else t19 = $[14];
10960
+ let t20;
11112
10961
  if ($[15] !== disabled || $[16] !== triggerText) {
11113
- t19 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react.FileUpload.Trigger, {
10962
+ t20 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react.FileUpload.Trigger, {
11114
10963
  asChild: true,
11115
10964
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsButton, {
11116
10965
  design: "v1.2",
@@ -11122,38 +10971,39 @@ const FileUpload = (t0) => {
11122
10971
  });
11123
10972
  $[15] = disabled;
11124
10973
  $[16] = triggerText;
11125
- $[17] = t19;
11126
- } else t19 = $[17];
11127
- let t20;
11128
- if ($[18] !== t16 || $[19] !== t18 || $[20] !== t19) {
11129
- t20 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_ark_ui_react.FileUpload.Dropzone, {
11130
- className: t16,
10974
+ $[17] = t20;
10975
+ } else t20 = $[17];
10976
+ let t21;
10977
+ if ($[18] !== t17 || $[19] !== t19 || $[20] !== t20) {
10978
+ t21 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_ark_ui_react.FileUpload.Dropzone, {
10979
+ className: t17,
11131
10980
  children: [
11132
- t17,
11133
10981
  t18,
11134
- t19
10982
+ t19,
10983
+ t20
11135
10984
  ]
11136
10985
  });
11137
- $[18] = t16;
11138
- $[19] = t18;
11139
- $[20] = t19;
11140
- $[21] = t20;
11141
- } else t20 = $[21];
11142
- let t21;
11143
- if ($[22] !== disabled || $[23] !== errorText || $[24] !== infoText) {
11144
- t21 = infoText && !disabled && !errorText && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTypography, {
10986
+ $[18] = t17;
10987
+ $[19] = t19;
10988
+ $[20] = t20;
10989
+ $[21] = t21;
10990
+ } else t21 = $[21];
10991
+ let t22;
10992
+ if ($[22] !== disabled || $[23] !== errorText || $[24] !== hideInfoText || $[25] !== infoText) {
10993
+ t22 = infoText && !hideInfoText && !disabled && !errorText && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTypography, {
11145
10994
  className: file_upload_module_default.infoText,
11146
10995
  variant: "body-xs-reg",
11147
10996
  children: infoText
11148
10997
  });
11149
10998
  $[22] = disabled;
11150
10999
  $[23] = errorText;
11151
- $[24] = infoText;
11152
- $[25] = t21;
11153
- } else t21 = $[25];
11154
- let t22;
11155
- if ($[26] !== errorText) {
11156
- t22 = errorText && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(DsTypography, {
11000
+ $[24] = hideInfoText;
11001
+ $[25] = infoText;
11002
+ $[26] = t22;
11003
+ } else t22 = $[26];
11004
+ let t23;
11005
+ if ($[27] !== errorText) {
11006
+ t23 = errorText && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(DsTypography, {
11157
11007
  className: file_upload_module_default.errorText,
11158
11008
  variant: "body-xs-reg",
11159
11009
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
@@ -11161,12 +11011,12 @@ const FileUpload = (t0) => {
11161
11011
  size: "tiny"
11162
11012
  }), errorText]
11163
11013
  });
11164
- $[26] = errorText;
11165
- $[27] = t22;
11166
- } else t22 = $[27];
11167
- let t23;
11168
- if ($[28] !== files || $[29] !== hideProgress || $[30] !== onFileCancel || $[31] !== onFileDelete || $[32] !== onFileRemove || $[33] !== onFileRetry) {
11169
- t23 = !!files?.length && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
11014
+ $[27] = errorText;
11015
+ $[28] = t23;
11016
+ } else t23 = $[28];
11017
+ let t24;
11018
+ if ($[29] !== files || $[30] !== hideProgress || $[31] !== onFileCancel || $[32] !== onFileDelete || $[33] !== onFileRemove || $[34] !== onFileRetry) {
11019
+ t24 = !!files?.length && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
11170
11020
  className: file_upload_module_default.fileList,
11171
11021
  children: files.map((uploadFile) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(FileUploadItem, {
11172
11022
  id: uploadFile.id,
@@ -11181,59 +11031,58 @@ const FileUpload = (t0) => {
11181
11031
  onRetry: onFileRetry
11182
11032
  }, uploadFile.id))
11183
11033
  });
11184
- $[28] = files;
11185
- $[29] = hideProgress;
11186
- $[30] = onFileCancel;
11187
- $[31] = onFileDelete;
11188
- $[32] = onFileRemove;
11189
- $[33] = onFileRetry;
11190
- $[34] = t23;
11191
- } else t23 = $[34];
11192
- let t24;
11193
- if ($[35] === Symbol.for("react.memo_cache_sentinel")) {
11194
- t24 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react.FileUpload.HiddenInput, {});
11034
+ $[29] = files;
11035
+ $[30] = hideProgress;
11036
+ $[31] = onFileCancel;
11037
+ $[32] = onFileDelete;
11038
+ $[33] = onFileRemove;
11039
+ $[34] = onFileRetry;
11195
11040
  $[35] = t24;
11196
11041
  } else t24 = $[35];
11197
11042
  let t25;
11198
- if ($[36] !== acceptedFiles || $[37] !== disabled || $[38] !== maxFileSize || $[39] !== maxFiles || $[40] !== onFileAccept || $[41] !== onFileReject || $[42] !== style || $[43] !== t13 || $[44] !== t14 || $[45] !== t15 || $[46] !== t20 || $[47] !== t21 || $[48] !== t22 || $[49] !== t23) {
11199
- t25 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_ark_ui_react.FileUpload.Root, {
11043
+ if ($[36] === Symbol.for("react.memo_cache_sentinel")) {
11044
+ t25 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react.FileUpload.HiddenInput, {});
11045
+ $[36] = t25;
11046
+ } else t25 = $[36];
11047
+ let t26;
11048
+ if ($[37] !== acceptedFiles || $[38] !== disabled || $[39] !== maxFileSize || $[40] !== maxFiles || $[41] !== onFileAccept || $[42] !== onFileReject || $[43] !== style || $[44] !== t14 || $[45] !== t15 || $[46] !== t16 || $[47] !== t21 || $[48] !== t22 || $[49] !== t23 || $[50] !== t24) {
11049
+ t26 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_ark_ui_react.FileUpload.Root, {
11200
11050
  style,
11201
- className: t13,
11051
+ className: t14,
11202
11052
  maxFiles,
11203
11053
  maxFileSize,
11204
- accept: t14,
11054
+ accept: t15,
11205
11055
  disabled,
11206
- allowDrop: t15,
11056
+ allowDrop: t16,
11207
11057
  acceptedFiles,
11208
11058
  onFileAccept,
11209
11059
  onFileReject,
11210
11060
  children: [
11211
- t20,
11212
11061
  t21,
11213
11062
  t22,
11214
11063
  t23,
11215
- t24
11064
+ t24,
11065
+ t25
11216
11066
  ]
11217
11067
  });
11218
- $[36] = acceptedFiles;
11219
- $[37] = disabled;
11220
- $[38] = maxFileSize;
11221
- $[39] = maxFiles;
11222
- $[40] = onFileAccept;
11223
- $[41] = onFileReject;
11224
- $[42] = style;
11225
- $[43] = t13;
11068
+ $[37] = acceptedFiles;
11069
+ $[38] = disabled;
11070
+ $[39] = maxFileSize;
11071
+ $[40] = maxFiles;
11072
+ $[41] = onFileAccept;
11073
+ $[42] = onFileReject;
11074
+ $[43] = style;
11226
11075
  $[44] = t14;
11227
11076
  $[45] = t15;
11228
- $[46] = t20;
11077
+ $[46] = t16;
11229
11078
  $[47] = t21;
11230
11079
  $[48] = t22;
11231
11080
  $[49] = t23;
11232
- $[50] = t25;
11233
- } else t25 = $[50];
11234
- return t25;
11081
+ $[50] = t24;
11082
+ $[51] = t26;
11083
+ } else t26 = $[51];
11084
+ return t26;
11235
11085
  };
11236
-
11237
11086
  //#endregion
11238
11087
  //#region src/components/ds-file-upload/utils/file-factory.ts
11239
11088
  /**
@@ -11251,7 +11100,6 @@ function createUploadedFile(file, status, errors) {
11251
11100
  errors
11252
11101
  };
11253
11102
  }
11254
-
11255
11103
  //#endregion
11256
11104
  //#region src/components/ds-file-upload/utils/is-file-equal.ts
11257
11105
  /**
@@ -11262,7 +11110,6 @@ function createUploadedFile(file, status, errors) {
11262
11110
  function isFileEqual(file1, file2) {
11263
11111
  return file1.name === file2.name && file1.size === file2.size && file1.type === file2.type;
11264
11112
  }
11265
-
11266
11113
  //#endregion
11267
11114
  //#region src/components/ds-file-upload/errors/file-upload-errors.ts
11268
11115
  /**
@@ -11288,7 +11135,6 @@ var RetryableFileUploadError = class extends FileUploadError {
11288
11135
  var FatalFileUploadError = class extends FileUploadError {
11289
11136
  isRetryable = false;
11290
11137
  };
11291
-
11292
11138
  //#endregion
11293
11139
  //#region src/components/ds-file-upload/hooks/use-file-upload.ts
11294
11140
  /**
@@ -11482,7 +11328,6 @@ function useFileUpload({ adapter, autoUpload = true, maxConcurrent = 3, maxFiles
11482
11328
  getProps
11483
11329
  };
11484
11330
  }
11485
-
11486
11331
  //#endregion
11487
11332
  //#region src/components/ds-file-upload/ds-file-upload.tsx
11488
11333
  /**
@@ -11589,7 +11434,6 @@ const DsFileUpload = (t0) => {
11589
11434
  } else t5 = $[32];
11590
11435
  return t5;
11591
11436
  };
11592
-
11593
11437
  //#endregion
11594
11438
  //#region src/components/ds-filter-status-icon/ds-filter-status-icon.module.scss
11595
11439
  var ds_filter_status_icon_module_default = {
@@ -11599,7 +11443,6 @@ var ds_filter_status_icon_module_default = {
11599
11443
  "paused": "_paused_1tsjd_1",
11600
11444
  "inactive": "_inactive_1tsjd_1"
11601
11445
  };
11602
-
11603
11446
  //#endregion
11604
11447
  //#region src/components/ds-filter-status-icon/ds-filter-status-icon.tsx
11605
11448
  const iconMap = {
@@ -11645,7 +11488,6 @@ const DsFilterStatusIcon = (t0) => {
11645
11488
  } else t6 = $[8];
11646
11489
  return t6;
11647
11490
  };
11648
-
11649
11491
  //#endregion
11650
11492
  //#region src/components/ds-filter-status-icon/ds-filter-status-icon.types.ts
11651
11493
  const filterStatuses = [
@@ -11654,7 +11496,6 @@ const filterStatuses = [
11654
11496
  "failed",
11655
11497
  "paused"
11656
11498
  ];
11657
-
11658
11499
  //#endregion
11659
11500
  //#region src/components/ds-select/ds-select.module.scss
11660
11501
  var ds_select_module_default = {
@@ -11676,7 +11517,6 @@ var ds_select_module_default = {
11676
11517
  "valueText": "_valueText_1joiq_1",
11677
11518
  "multiSelectItemsContainer": "_multiSelectItemsContainer_1joiq_1"
11678
11519
  };
11679
-
11680
11520
  //#endregion
11681
11521
  //#region src/components/ds-select/select-items-chips.tsx
11682
11522
  function SelectItemsChips(t0) {
@@ -11764,22 +11604,26 @@ function SelectItemsChips(t0) {
11764
11604
  } else t5 = $[23];
11765
11605
  return t5;
11766
11606
  }
11767
-
11607
+ //#endregion
11608
+ //#region src/components/ds-select/utils.ts
11609
+ const SELECT_ALL_VALUE = "__INTERNAL_SELECT_ALL_VALUE__";
11610
+ function getUserSelectedItems(selectedItems) {
11611
+ return selectedItems.filter((item) => item.value !== SELECT_ALL_VALUE);
11612
+ }
11768
11613
  //#endregion
11769
11614
  //#region src/components/ds-select/ds-select.tsx
11770
11615
  const SEARCH_THRESHOLD = 13;
11771
- const SELECT_ALL_VALUE = "__INTERNAL_SELECT_ALL_VALUE__";
11772
- const SELECT_ALL = {
11616
+ const SELECT_ALL_OPTION = {
11773
11617
  label: "All",
11774
11618
  value: SELECT_ALL_VALUE
11775
11619
  };
11776
11620
  const DsSelect = (t0) => {
11777
- const $ = (0, react_compiler_runtime.c)(35);
11621
+ const $ = (0, react_compiler_runtime.c)(29);
11778
11622
  const { id, options: userOptions, value, style, size, clearable, onClear, onBlur, className, placeholder: t1, disabled, renderOption, ...multiselectProps } = t0;
11779
11623
  const placeholder = t1 === void 0 ? "Click to select a value" : t1;
11780
11624
  const [searchTerm, setSearchTerm] = (0, react.useState)("");
11781
11625
  const [showAllItems, setShowAllItems] = (0, react.useState)(false);
11782
- const internalOptions = multiselectProps.multiple ? [SELECT_ALL, ...userOptions] : userOptions;
11626
+ const internalOptions = multiselectProps.multiple ? [SELECT_ALL_OPTION, ...userOptions] : userOptions;
11783
11627
  const collection = (0, _ark_ui_react_select.createListCollection)({
11784
11628
  items: internalOptions,
11785
11629
  itemToValue: _temp$9
@@ -11812,7 +11656,7 @@ const DsSelect = (t0) => {
11812
11656
  multiselectProps.onValueChange?.(details.value[0] ?? "");
11813
11657
  return;
11814
11658
  }
11815
- if (details.value.includes(SELECT_ALL_VALUE)) {
11659
+ if (details.value.includes("__INTERNAL_SELECT_ALL_VALUE__")) {
11816
11660
  const newValues = select.selectedItems.length === userOptions.length ? [] : userOptions.map(_temp3);
11817
11661
  multiselectProps.onValueChange?.(newValues);
11818
11662
  return;
@@ -11821,6 +11665,28 @@ const DsSelect = (t0) => {
11821
11665
  multiselectProps.onValueChange?.(newValueWithoutSelectAll);
11822
11666
  }
11823
11667
  });
11668
+ const renderTriggerValue = () => {
11669
+ const defaultTrigger = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTypography, {
11670
+ className: ds_select_module_default.valueText,
11671
+ variant: "body-sm-reg",
11672
+ asChild: true,
11673
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_select.Select.ValueText, { placeholder })
11674
+ });
11675
+ if (!multiselectProps.renderValue || !select.hasSelectedItems) return defaultTrigger;
11676
+ const userItems = getUserSelectedItems(select.selectedItems);
11677
+ if (multiselectProps.multiple) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTypography, {
11678
+ className: ds_select_module_default.valueText,
11679
+ variant: "body-sm-reg",
11680
+ children: multiselectProps.renderValue(userItems)
11681
+ });
11682
+ const firstItem = userItems[0];
11683
+ if (!firstItem) return defaultTrigger;
11684
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTypography, {
11685
+ className: ds_select_module_default.valueText,
11686
+ variant: "body-sm-reg",
11687
+ children: multiselectProps.renderValue(firstItem)
11688
+ });
11689
+ };
11824
11690
  const t4 = size === "small" && ds_select_module_default.small;
11825
11691
  let t5;
11826
11692
  if ($[3] !== className || $[4] !== t4) {
@@ -11829,46 +11695,22 @@ const DsSelect = (t0) => {
11829
11695
  $[4] = t4;
11830
11696
  $[5] = t5;
11831
11697
  } else t5 = $[5];
11832
- let t6;
11833
- if ($[6] !== placeholder) {
11834
- t6 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTypography, {
11835
- className: ds_select_module_default.valueText,
11836
- variant: "body-sm-reg",
11837
- asChild: true,
11838
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_select.Select.ValueText, { placeholder })
11839
- });
11840
- $[6] = placeholder;
11841
- $[7] = t6;
11842
- } else t6 = $[7];
11843
- const t7 = size === "small" ? "small" : "medium";
11844
- let t8;
11845
- if ($[8] !== t7) {
11846
- t8 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_select.Select.Indicator, {
11698
+ const t6 = size === "small" ? "small" : "medium";
11699
+ let t7;
11700
+ if ($[6] !== t6) {
11701
+ t7 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_select.Select.Indicator, {
11847
11702
  className: ds_select_module_default.triggerIcon,
11848
11703
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
11849
11704
  icon: "keyboard_arrow_down",
11850
- size: t7
11705
+ size: t6
11851
11706
  })
11852
11707
  });
11853
- $[8] = t7;
11854
- $[9] = t8;
11855
- } else t8 = $[9];
11856
- let t9;
11857
- if ($[10] !== id || $[11] !== t6 || $[12] !== t8) {
11858
- t9 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_ark_ui_react_select.Select.Trigger, {
11859
- id,
11860
- className: ds_select_module_default.trigger,
11861
- "aria-labelledby": null,
11862
- children: [t6, t8]
11863
- });
11864
- $[10] = id;
11865
- $[11] = t6;
11866
- $[12] = t8;
11867
- $[13] = t9;
11868
- } else t9 = $[13];
11869
- let t10;
11870
- if ($[14] !== clearable || $[15] !== onClear || $[16] !== size) {
11871
- t10 = clearable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_select.Select.ClearTrigger, {
11708
+ $[6] = t6;
11709
+ $[7] = t7;
11710
+ } else t7 = $[7];
11711
+ let t8;
11712
+ if ($[8] !== clearable || $[9] !== onClear || $[10] !== size) {
11713
+ t8 = clearable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_select.Select.ClearTrigger, {
11872
11714
  className: ds_select_module_default.clearIcon,
11873
11715
  onClick: onClear,
11874
11716
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
@@ -11876,19 +11718,19 @@ const DsSelect = (t0) => {
11876
11718
  size: size === "small" ? "small" : "medium"
11877
11719
  })
11878
11720
  });
11879
- $[14] = clearable;
11880
- $[15] = onClear;
11881
- $[16] = size;
11882
- $[17] = t10;
11883
- } else t10 = $[17];
11721
+ $[8] = clearable;
11722
+ $[9] = onClear;
11723
+ $[10] = size;
11724
+ $[11] = t8;
11725
+ } else t8 = $[11];
11884
11726
  const T0 = _ark_ui_react_portal.Portal;
11727
+ const t9 = _ark_ui_react_select.Select;
11728
+ const t10 = ds_select_module_default;
11885
11729
  const t11 = _ark_ui_react_select.Select;
11886
11730
  const t12 = ds_select_module_default;
11887
- const t13 = _ark_ui_react_select.Select;
11888
- const t14 = ds_select_module_default;
11889
- let t15;
11890
- if ($[18] !== searchTerm || $[19] !== userOptions.length) {
11891
- t15 = userOptions.length > SEARCH_THRESHOLD && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
11731
+ let t13;
11732
+ if ($[12] !== searchTerm || $[13] !== userOptions.length) {
11733
+ t13 = userOptions.length > SEARCH_THRESHOLD && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
11892
11734
  className: ds_select_module_default.searchInput,
11893
11735
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTextInput, {
11894
11736
  placeholder: "Search",
@@ -11901,17 +11743,17 @@ const DsSelect = (t0) => {
11901
11743
  }) }
11902
11744
  })
11903
11745
  });
11904
- $[18] = searchTerm;
11905
- $[19] = userOptions.length;
11906
- $[20] = t15;
11907
- } else t15 = $[20];
11908
- const t16 = multiselectProps.multiple && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SelectItemsChips, {
11746
+ $[12] = searchTerm;
11747
+ $[13] = userOptions.length;
11748
+ $[14] = t13;
11749
+ } else t13 = $[14];
11750
+ const t14 = multiselectProps.multiple && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SelectItemsChips, {
11909
11751
  onValueChange: multiselectProps.onValueChange,
11910
11752
  showAll: showAllItems,
11911
11753
  onShowAll: () => setShowAllItems(true),
11912
11754
  count: 6
11913
11755
  });
11914
- const t17 = filteredOptions.map((item_0) => {
11756
+ const t15 = filteredOptions.map((item_0) => {
11915
11757
  const checked = getItemCheckedState({
11916
11758
  item: item_0,
11917
11759
  select,
@@ -11930,51 +11772,51 @@ const DsSelect = (t0) => {
11930
11772
  icon: item_0.icon,
11931
11773
  "aria-hidden": "true"
11932
11774
  }),
11933
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_select.Select.ItemText, { children: renderOption ? renderOption(item_0) : item_0.label })
11775
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_select.Select.ItemText, { children: renderOption && item_0.value !== "__INTERNAL_SELECT_ALL_VALUE__" ? renderOption(item_0) : item_0.label })
11934
11776
  ]
11935
11777
  })
11936
11778
  }, collection.getItemValue(item_0));
11937
11779
  });
11938
- let t18;
11939
- if ($[21] !== t13.Content || $[22] !== t14.content || $[23] !== t15 || $[24] !== t16 || $[25] !== t17) {
11940
- t18 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(t13.Content, {
11941
- className: t14.content,
11780
+ let t16;
11781
+ if ($[15] !== t11.Content || $[16] !== t12.content || $[17] !== t13 || $[18] !== t14 || $[19] !== t15) {
11782
+ t16 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(t11.Content, {
11783
+ className: t12.content,
11942
11784
  children: [
11943
- t15,
11944
- t16,
11945
- t17
11785
+ t13,
11786
+ t14,
11787
+ t15
11946
11788
  ]
11947
11789
  });
11948
- $[21] = t13.Content;
11949
- $[22] = t14.content;
11950
- $[23] = t15;
11951
- $[24] = t16;
11952
- $[25] = t17;
11953
- $[26] = t18;
11954
- } else t18 = $[26];
11955
- let t19;
11956
- if ($[27] !== t11.Positioner || $[28] !== t12.viewport || $[29] !== t18) {
11957
- t19 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(t11.Positioner, {
11958
- className: t12.viewport,
11959
- children: t18
11790
+ $[15] = t11.Content;
11791
+ $[16] = t12.content;
11792
+ $[17] = t13;
11793
+ $[18] = t14;
11794
+ $[19] = t15;
11795
+ $[20] = t16;
11796
+ } else t16 = $[20];
11797
+ let t17;
11798
+ if ($[21] !== t10.viewport || $[22] !== t16 || $[23] !== t9.Positioner) {
11799
+ t17 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(t9.Positioner, {
11800
+ className: t10.viewport,
11801
+ children: t16
11960
11802
  });
11961
- $[27] = t11.Positioner;
11962
- $[28] = t12.viewport;
11963
- $[29] = t18;
11964
- $[30] = t19;
11965
- } else t19 = $[30];
11966
- let t20;
11967
- if ($[31] !== T0 || $[32] !== t19) {
11968
- t20 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(T0, { children: t19 });
11969
- $[31] = T0;
11970
- $[32] = t19;
11971
- $[33] = t20;
11972
- } else t20 = $[33];
11973
- let t21;
11974
- if ($[34] === Symbol.for("react.memo_cache_sentinel")) {
11975
- t21 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_select.Select.HiddenSelect, { style: { display: "none" } });
11976
- $[34] = t21;
11977
- } else t21 = $[34];
11803
+ $[21] = t10.viewport;
11804
+ $[22] = t16;
11805
+ $[23] = t9.Positioner;
11806
+ $[24] = t17;
11807
+ } else t17 = $[24];
11808
+ let t18;
11809
+ if ($[25] !== T0 || $[26] !== t17) {
11810
+ t18 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(T0, { children: t17 });
11811
+ $[25] = T0;
11812
+ $[26] = t17;
11813
+ $[27] = t18;
11814
+ } else t18 = $[27];
11815
+ let t19;
11816
+ if ($[28] === Symbol.for("react.memo_cache_sentinel")) {
11817
+ t19 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_select.Select.HiddenSelect, { style: { display: "none" } });
11818
+ $[28] = t19;
11819
+ } else t19 = $[28];
11978
11820
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_ark_ui_react_select.Select.RootProvider, {
11979
11821
  value: select,
11980
11822
  lazyMount: true,
@@ -11992,15 +11834,20 @@ const DsSelect = (t0) => {
11992
11834
  onClear?.();
11993
11835
  }
11994
11836
  },
11995
- children: [t9, t10]
11837
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_ark_ui_react_select.Select.Trigger, {
11838
+ id,
11839
+ className: ds_select_module_default.trigger,
11840
+ "aria-labelledby": null,
11841
+ children: [renderTriggerValue(), t7]
11842
+ }), t8]
11996
11843
  }),
11997
- t20,
11998
- t21
11844
+ t18,
11845
+ t19
11999
11846
  ]
12000
11847
  });
12001
11848
  };
12002
11849
  function getItemCheckedState({ item, select, options }) {
12003
- if (item.value !== SELECT_ALL_VALUE) return select.getItemState({ item }).selected;
11850
+ if (item.value !== "__INTERNAL_SELECT_ALL_VALUE__") return select.getItemState({ item }).selected;
12004
11851
  if (select.selectedItems.length === options.length - 1) return true;
12005
11852
  return select.hasSelectedItems ? "indeterminate" : false;
12006
11853
  }
@@ -12019,7 +11866,6 @@ function _temp4(val) {
12019
11866
  function _temp5(e_1) {
12020
11867
  if (e_1.key === " ") e_1.stopPropagation();
12021
11868
  }
12022
-
12023
11869
  //#endregion
12024
11870
  //#region src/components/ds-number-input/ds-number-input.module.scss
12025
11871
  var ds_number_input_module_default = {
@@ -12031,7 +11877,6 @@ var ds_number_input_module_default = {
12031
11877
  "trigger": "_trigger_16htx_1",
12032
11878
  "indicator": "_indicator_16htx_1"
12033
11879
  };
12034
-
12035
11880
  //#endregion
12036
11881
  //#region src/components/ds-number-input/ds-number-input.tsx
12037
11882
  const DsNumberInput = (t0) => {
@@ -12177,7 +12022,6 @@ const DsNumberInput = (t0) => {
12177
12022
  } else t18 = $[32];
12178
12023
  return t18;
12179
12024
  };
12180
-
12181
12025
  //#endregion
12182
12026
  //#region src/components/ds-password-input/ds-password-input.module.scss
12183
12027
  var ds_password_input_module_default = {
@@ -12189,7 +12033,6 @@ var ds_password_input_module_default = {
12189
12033
  "trigger": "_trigger_25jao_1",
12190
12034
  "indicator": "_indicator_25jao_1"
12191
12035
  };
12192
-
12193
12036
  //#endregion
12194
12037
  //#region src/components/ds-password-input/ds-password-input.tsx
12195
12038
  const DsPasswordInput = (t0) => {
@@ -12302,7 +12145,6 @@ const DsPasswordInput = (t0) => {
12302
12145
  } else t13 = $[26];
12303
12146
  return t13;
12304
12147
  };
12305
-
12306
12148
  //#endregion
12307
12149
  //#region src/components/ds-form-control/ds-form-control.module.scss
12308
12150
  var ds_form_control_module_default = {
@@ -12324,7 +12166,6 @@ var ds_form_control_module_default = {
12324
12166
  "textarea": "_textarea_3x2wm_1",
12325
12167
  "withIcon": "_withIcon_3x2wm_1"
12326
12168
  };
12327
-
12328
12169
  //#endregion
12329
12170
  //#region src/components/ds-form-control/ds-form-control.tsx
12330
12171
  const FormControlContext = (0, react.createContext)(null);
@@ -12479,16 +12320,14 @@ DsFormControl.DateInput = controlify(DsDateInput);
12479
12320
  DsFormControl.Textarea = controlify(DsTextarea);
12480
12321
  DsFormControl.Select = controlify(DsSelect);
12481
12322
  DsFormControl.Description = DsFormControlDescription;
12482
-
12483
12323
  //#endregion
12484
- //#region src/components/ds-form-control/ds-form-control.types.tsx
12324
+ //#region src/components/ds-form-control/ds-form-control.types.ts
12485
12325
  const controlStatuses = [
12486
12326
  "info",
12487
12327
  "success",
12488
12328
  "error",
12489
12329
  "warning"
12490
12330
  ];
12491
-
12492
12331
  //#endregion
12493
12332
  //#region src/components/ds-grid/ds-grid.tsx
12494
12333
  /**
@@ -12517,7 +12356,6 @@ const DsGridItem = ({ children, colSpan, colStart, rowSpan, rowStart, className
12517
12356
  children
12518
12357
  });
12519
12358
  };
12520
-
12521
12359
  //#endregion
12522
12360
  //#region src/components/ds-loader/ds-loader.module.scss
12523
12361
  var ds_loader_module_default = {
@@ -12530,7 +12368,6 @@ var ds_loader_module_default = {
12530
12368
  "pulsingInner": "_pulsingInner_2184a_1",
12531
12369
  "spinnerGradient": "_spinnerGradient_2184a_1"
12532
12370
  };
12533
-
12534
12371
  //#endregion
12535
12372
  //#region src/components/ds-loader/pulsing-icon.tsx
12536
12373
  const PulsingIcon = () => {
@@ -12560,7 +12397,6 @@ const PulsingIcon = () => {
12560
12397
  } else t0 = $[0];
12561
12398
  return t0;
12562
12399
  };
12563
-
12564
12400
  //#endregion
12565
12401
  //#region src/components/ds-loader/spinner-icon.tsx
12566
12402
  const SpinnerIcon = () => {
@@ -12627,7 +12463,6 @@ const SpinnerIcon = () => {
12627
12463
  } else t3 = $[3];
12628
12464
  return t3;
12629
12465
  };
12630
-
12631
12466
  //#endregion
12632
12467
  //#region src/components/ds-loader/ds-loader.tsx
12633
12468
  /**
@@ -12676,11 +12511,9 @@ const DsLoader = (t0) => {
12676
12511
  } else t4 = $[11];
12677
12512
  return t4;
12678
12513
  };
12679
-
12680
12514
  //#endregion
12681
12515
  //#region src/components/ds-loader/ds-loader.types.ts
12682
12516
  const loaderVariants = ["spinner", "pulsing"];
12683
-
12684
12517
  //#endregion
12685
12518
  //#region src/components/ds-panel/ds-panel.module.scss
12686
12519
  var ds_panel_module_default = {
@@ -12692,7 +12525,6 @@ var ds_panel_module_default = {
12692
12525
  "triggerCollapsed": "_triggerCollapsed_1urw1_1",
12693
12526
  "variantDocked": "_variantDocked_1urw1_1"
12694
12527
  };
12695
-
12696
12528
  //#endregion
12697
12529
  //#region src/components/ds-panel/ds-panel.tsx
12698
12530
  function useDraggable(enabled) {
@@ -12888,14 +12720,12 @@ function DsPanelCollapseButton(t0) {
12888
12720
  } else t3 = $[8];
12889
12721
  return t3;
12890
12722
  }
12891
-
12892
12723
  //#endregion
12893
12724
  //#region src/components/ds-popover/ds-popover.module.scss
12894
12725
  var ds_popover_module_default = {
12895
12726
  "content": "_content_1g8y0_1",
12896
12727
  "arrow": "_arrow_1g8y0_1"
12897
12728
  };
12898
-
12899
12729
  //#endregion
12900
12730
  //#region src/components/ds-popover/ds-popover.tsx
12901
12731
  const DsPopover = (t0) => {
@@ -12948,7 +12778,6 @@ const DsPopover = (t0) => {
12948
12778
  } else t7 = $[12];
12949
12779
  return t7;
12950
12780
  };
12951
-
12952
12781
  //#endregion
12953
12782
  //#region src/components/ds-progress-arc/ds-progress-arc.module.scss
12954
12783
  var ds_progress_arc_module_default = {
@@ -12964,11 +12793,9 @@ var ds_progress_arc_module_default = {
12964
12793
  "iconError": "_iconError_ba1ec_1",
12965
12794
  "iconMediumSize": "_iconMediumSize_ba1ec_1"
12966
12795
  };
12967
-
12968
12796
  //#endregion
12969
12797
  //#region src/utils/numbers.ts
12970
12798
  const clampValue = (value) => Math.min(100, Math.max(0, value));
12971
-
12972
12799
  //#endregion
12973
12800
  //#region src/components/ds-progress-arc/utils.ts
12974
12801
  const ARC_DEGREES = 270;
@@ -13003,7 +12830,6 @@ const getProgressDasharray = (effectiveValue, arcLength, circumference) => {
13003
12830
  const progressLength = effectiveValue / 100 * arcLength;
13004
12831
  return `${String(progressLength)} ${String(circumference)}`;
13005
12832
  };
13006
-
13007
12833
  //#endregion
13008
12834
  //#region src/components/ds-progress-arc/ds-progress-arc.tsx
13009
12835
  const variantStyleMap$1 = Object.freeze({
@@ -13240,7 +13066,6 @@ const DsProgressArc = (t0) => {
13240
13066
  } else t20 = $[64];
13241
13067
  return t20;
13242
13068
  };
13243
-
13244
13069
  //#endregion
13245
13070
  //#region src/components/ds-progress-arc/ds-progress-arc.types.ts
13246
13071
  const progressArcSizes = ["small", "medium"];
@@ -13249,7 +13074,6 @@ const progressArcVariants = [
13249
13074
  "success",
13250
13075
  "error"
13251
13076
  ];
13252
-
13253
13077
  //#endregion
13254
13078
  //#region src/components/ds-progress-donut/ds-progress-donut.module.scss
13255
13079
  var ds_progress_donut_module_default = {
@@ -13267,7 +13091,6 @@ var ds_progress_donut_module_default = {
13267
13091
  "iconError": "_iconError_1ntar_1",
13268
13092
  "iconMediumSize": "_iconMediumSize_1ntar_1"
13269
13093
  };
13270
-
13271
13094
  //#endregion
13272
13095
  //#region src/components/ds-progress-donut/ds-progress-donut.tsx
13273
13096
  const sizeStyleMap = Object.freeze({
@@ -13377,7 +13200,6 @@ const DsProgressDonut = (t0) => {
13377
13200
  } else t14 = $[25];
13378
13201
  return t14;
13379
13202
  };
13380
-
13381
13203
  //#endregion
13382
13204
  //#region src/components/ds-progress-donut/ds-progress-donut.types.ts
13383
13205
  const progressDonutSizes = ["small", "medium"];
@@ -13386,7 +13208,6 @@ const progressDonutVariants = [
13386
13208
  "success",
13387
13209
  "error"
13388
13210
  ];
13389
-
13390
13211
  //#endregion
13391
13212
  //#region src/components/ds-progress-linear/ds-progress-linear.module.scss
13392
13213
  var ds_progress_linear_module_default = {
@@ -13412,14 +13233,12 @@ var ds_progress_linear_module_default = {
13412
13233
  "captionError": "_captionError_rxcyf_1",
13413
13234
  "captionInterrupted": "_captionInterrupted_rxcyf_1"
13414
13235
  };
13415
-
13416
13236
  //#endregion
13417
13237
  //#region src/components/ds-progress-linear/utils.ts
13418
13238
  function calculatePercentage(value, min, max) {
13419
13239
  if (max <= min) return 0;
13420
13240
  return Math.round((value - min) / (max - min) * 100);
13421
13241
  }
13422
-
13423
13242
  //#endregion
13424
13243
  //#region src/components/ds-progress-linear/ds-progress-linear.tsx
13425
13244
  const rangeVariantClass = Object.freeze({
@@ -13584,7 +13403,6 @@ const DsProgressLinear = (t0) => {
13584
13403
  } else t19 = $[36];
13585
13404
  return t19;
13586
13405
  };
13587
-
13588
13406
  //#endregion
13589
13407
  //#region src/components/ds-progress-linear/ds-progress-linear.types.ts
13590
13408
  const progressLinearVariants = [
@@ -13599,7 +13417,6 @@ const progressLinearSizes = [
13599
13417
  "medium",
13600
13418
  "large"
13601
13419
  ];
13602
-
13603
13420
  //#endregion
13604
13421
  //#region src/components/ds-radio-group/ds-radio-group.module.scss
13605
13422
  var ds_radio_group_module_default = {
@@ -13611,7 +13428,6 @@ var ds_radio_group_module_default = {
13611
13428
  "radioIndicator": "_radioIndicator_g8qjm_1",
13612
13429
  "radioLabel": "_radioLabel_g8qjm_1"
13613
13430
  };
13614
-
13615
13431
  //#endregion
13616
13432
  //#region src/components/ds-radio-group/ds-radio-group.tsx
13617
13433
  /**
@@ -13856,7 +13672,6 @@ function _temp$8(option) {
13856
13672
  })]
13857
13673
  }, option.value);
13858
13674
  }
13859
-
13860
13675
  //#endregion
13861
13676
  //#region src/components/ds-segment-group/ds-segment-group.module.scss
13862
13677
  var ds_segment_group_module_default = {
@@ -13866,7 +13681,6 @@ var ds_segment_group_module_default = {
13866
13681
  "segmentItemText": "_segmentItemText_1sd0t_1",
13867
13682
  "segmentIndicator": "_segmentIndicator_1sd0t_1"
13868
13683
  };
13869
-
13870
13684
  //#endregion
13871
13685
  //#region src/components/ds-segment-group/ds-segment-group.tsx
13872
13686
  /**
@@ -14070,12 +13884,10 @@ const DsSegmentGroup = {
14070
13884
  Item,
14071
13885
  ItemText
14072
13886
  };
14073
-
14074
13887
  //#endregion
14075
13888
  //#region src/components/ds-skeleton/ds-skeleton.types.ts
14076
13889
  const skeletonColorVariants = ["gray", "blue"];
14077
13890
  const skeletonRadiusVariants = ["default", "round"];
14078
-
14079
13891
  //#endregion
14080
13892
  //#region src/components/ds-skeleton/ds-skeleton.config.ts
14081
13893
  /**
@@ -14128,11 +13940,6 @@ const radiusMap = Object.freeze({
14128
13940
  default: 4,
14129
13941
  round: 999
14130
13942
  });
14131
- /**
14132
- * Default gap between skeleton lines in pixels
14133
- */
14134
- const DEFAULT_LINE_GAP = 8;
14135
-
14136
13943
  //#endregion
14137
13944
  //#region src/components/ds-skeleton/ds-skeleton.module.scss
14138
13945
  var ds_skeleton_module_default = {
@@ -14145,7 +13952,6 @@ var ds_skeleton_module_default = {
14145
13952
  "rectangle": "_rectangle_14v2k_1",
14146
13953
  "container": "_container_14v2k_1"
14147
13954
  };
14148
-
14149
13955
  //#endregion
14150
13956
  //#region src/components/ds-skeleton/ds-skeleton-text.tsx
14151
13957
  /**
@@ -14196,7 +14002,7 @@ const DsSkeletonText = (t0) => {
14196
14002
  const createLineStyle = t8;
14197
14003
  let t9;
14198
14004
  if ($[9] === Symbol.for("react.memo_cache_sentinel")) {
14199
- t9 = { gap: DEFAULT_LINE_GAP };
14005
+ t9 = { gap: 8 };
14200
14006
  $[9] = t9;
14201
14007
  } else t9 = $[9];
14202
14008
  let t10;
@@ -14226,7 +14032,6 @@ const DsSkeletonText = (t0) => {
14226
14032
  } else t10 = $[14];
14227
14033
  return t10;
14228
14034
  };
14229
-
14230
14035
  //#endregion
14231
14036
  //#region src/components/ds-skeleton/ds-skeleton-circle.tsx
14232
14037
  /**
@@ -14275,7 +14080,6 @@ const DsSkeletonCircle = (t0) => {
14275
14080
  } else t8 = $[9];
14276
14081
  return t8;
14277
14082
  };
14278
-
14279
14083
  //#endregion
14280
14084
  //#region src/components/ds-skeleton/ds-skeleton-rect.tsx
14281
14085
  /**
@@ -14326,15 +14130,13 @@ const DsSkeletonRect = (t0) => {
14326
14130
  } else t9 = $[10];
14327
14131
  return t9;
14328
14132
  };
14329
-
14330
14133
  //#endregion
14331
- //#region src/components/ds-skeleton/ds-skeleton.tsx
14134
+ //#region src/components/ds-skeleton/ds-skeleton.ts
14332
14135
  var ds_skeleton_default = {
14333
14136
  Text: DsSkeletonText,
14334
14137
  Circle: DsSkeletonCircle,
14335
14138
  Rect: DsSkeletonRect
14336
14139
  };
14337
-
14338
14140
  //#endregion
14339
14141
  //#region src/components/ds-smart-tabs/ds-smart-tabs.module.scss
14340
14142
  var ds_smart_tabs_module_default = {
@@ -14347,7 +14149,6 @@ var ds_smart_tabs_module_default = {
14347
14149
  "label": "_label_fu70w_1",
14348
14150
  "content": "_content_fu70w_1"
14349
14151
  };
14350
-
14351
14152
  //#endregion
14352
14153
  //#region src/components/ds-smart-tabs/ds-smart-tabs.tsx
14353
14154
  const colorMap = {
@@ -14587,9 +14388,8 @@ const DsSmartTabs = (t0) => {
14587
14388
  return t6;
14588
14389
  };
14589
14390
  DsSmartTabs.Tab = DsSmartTab;
14590
-
14591
14391
  //#endregion
14592
- //#region src/components/ds-smart-tabs/ds-smart-tabs.types.tsx
14392
+ //#region src/components/ds-smart-tabs/ds-smart-tabs.types.ts
14593
14393
  const colors = [
14594
14394
  "dark-blue",
14595
14395
  "light-blue",
@@ -14601,7 +14401,6 @@ const colors = [
14601
14401
  "red",
14602
14402
  "amber"
14603
14403
  ];
14604
-
14605
14404
  //#endregion
14606
14405
  //#region src/components/ds-spinner/ds-spinner.module.scss
14607
14406
  var ds_spinner_module_default = {
@@ -14610,7 +14409,6 @@ var ds_spinner_module_default = {
14610
14409
  "spin": "_spin_vr3r7_1",
14611
14410
  "progressArc": "_progressArc_vr3r7_1"
14612
14411
  };
14613
-
14614
14412
  //#endregion
14615
14413
  //#region src/components/ds-spinner/ds-spinner.tsx
14616
14414
  const sizeMap = {
@@ -14721,15 +14519,13 @@ const DsSpinner = (t0) => {
14721
14519
  } else t11 = $[24];
14722
14520
  return t11;
14723
14521
  };
14724
-
14725
14522
  //#endregion
14726
- //#region src/components/ds-spinner/ds-spinner.types.tsx
14523
+ //#region src/components/ds-spinner/ds-spinner.types.ts
14727
14524
  const spinnerSizes = [
14728
14525
  "small",
14729
14526
  "medium",
14730
14527
  "large"
14731
14528
  ];
14732
-
14733
14529
  //#endregion
14734
14530
  //#region src/components/ds-status-badge/ds-status-badge.module.scss
14735
14531
  var ds_status_badge_module_default = {
@@ -14745,7 +14541,6 @@ var ds_status_badge_module_default = {
14745
14541
  "warning": "_warning_1djyv_1",
14746
14542
  "failed": "_failed_1djyv_1"
14747
14543
  };
14748
-
14749
14544
  //#endregion
14750
14545
  //#region src/components/ds-status-badge/ds-status-badge.tsx
14751
14546
  /**
@@ -14811,7 +14606,6 @@ const DsStatusBadge = (t0) => {
14811
14606
  } else t12 = $[15];
14812
14607
  return t12;
14813
14608
  };
14814
-
14815
14609
  //#endregion
14816
14610
  //#region src/components/ds-stepper/ds-stepper.module.scss
14817
14611
  var ds_stepper_module_default = {
@@ -14834,7 +14628,6 @@ var ds_stepper_module_default = {
14834
14628
  "stepLabelRow": "_stepLabelRow_xy15l_1",
14835
14629
  "horizontalSeparator": "_horizontalSeparator_xy15l_1"
14836
14630
  };
14837
-
14838
14631
  //#endregion
14839
14632
  //#region src/components/ds-stepper/hooks/use-steps.ts
14840
14633
  function useSteps(t0) {
@@ -14868,7 +14661,6 @@ function useSteps(t0) {
14868
14661
  } else t3 = $[8];
14869
14662
  return t3;
14870
14663
  }
14871
-
14872
14664
  //#endregion
14873
14665
  //#region src/components/ds-stepper/hooks/use-stepper.ts
14874
14666
  const StepperContext = (0, react.createContext)(null);
@@ -14877,7 +14669,6 @@ function useStepper() {
14877
14669
  if (!context) throw new Error("useStepper must be used within a DsStepper");
14878
14670
  return context;
14879
14671
  }
14880
-
14881
14672
  //#endregion
14882
14673
  //#region src/components/ds-stepper/ds-stepper.tsx
14883
14674
  function DsStepper(t0) {
@@ -14976,7 +14767,6 @@ function DsStepper(t0) {
14976
14767
  } else t10 = $[27];
14977
14768
  return t10;
14978
14769
  }
14979
-
14980
14770
  //#endregion
14981
14771
  //#region src/components/ds-stepper/components/ds-step-separator.tsx
14982
14772
  function DsStepSeparator(t0) {
@@ -15005,7 +14795,6 @@ function DsStepSeparator(t0) {
15005
14795
  } else t3 = $[5];
15006
14796
  return t3;
15007
14797
  }
15008
-
15009
14798
  //#endregion
15010
14799
  //#region src/components/ds-stepper/components/ds-step.tsx
15011
14800
  function DsStep(t0) {
@@ -15176,7 +14965,6 @@ function DsStep(t0) {
15176
14965
  } else t18 = $[47];
15177
14966
  return t18;
15178
14967
  }
15179
-
15180
14968
  //#endregion
15181
14969
  //#region src/components/ds-stepper/components/ds-step-label.tsx
15182
14970
  function DsStepLabel(t0) {
@@ -15193,7 +14981,6 @@ function DsStepLabel(t0) {
15193
14981
  } else t1 = $[1];
15194
14982
  return t1;
15195
14983
  }
15196
-
15197
14984
  //#endregion
15198
14985
  //#region src/components/ds-stepper/components/ds-step-description.tsx
15199
14986
  function DsStepDescription(t0) {
@@ -15210,7 +14997,6 @@ function DsStepDescription(t0) {
15210
14997
  } else t1 = $[1];
15211
14998
  return t1;
15212
14999
  }
15213
-
15214
15000
  //#endregion
15215
15001
  //#region src/components/ds-stepper/components/ds-step-content.tsx
15216
15002
  function DsStepContent(t0) {
@@ -15268,7 +15054,6 @@ function DsStepContent(t0) {
15268
15054
  } else t5 = $[15];
15269
15055
  return t5;
15270
15056
  }
15271
-
15272
15057
  //#endregion
15273
15058
  //#region src/components/ds-stepper/components/ds-step-next-button.tsx
15274
15059
  function DsNextStepButton(t0) {
@@ -15311,7 +15096,6 @@ function DsNextStepButton(t0) {
15311
15096
  } else t3 = $[10];
15312
15097
  return t3;
15313
15098
  }
15314
-
15315
15099
  //#endregion
15316
15100
  //#region src/components/ds-system-status/ds-system-status.module.scss
15317
15101
  var ds_system_status_module_default = {
@@ -15326,7 +15110,6 @@ var ds_system_status_module_default = {
15326
15110
  "alert": "_alert_1cszu_1",
15327
15111
  "disabled": "_disabled_1cszu_1"
15328
15112
  };
15329
-
15330
15113
  //#endregion
15331
15114
  //#region src/components/ds-system-status/ds-system-status.tsx
15332
15115
  /**
@@ -15384,9 +15167,8 @@ const DsSystemStatus = (t0) => {
15384
15167
  } else t6 = $[8];
15385
15168
  return t6;
15386
15169
  };
15387
-
15388
15170
  //#endregion
15389
- //#region src/components/ds-system-status/ds-system-status.types.tsx
15171
+ //#region src/components/ds-system-status/ds-system-status.types.ts
15390
15172
  /**
15391
15173
  * @deprecated This type is deprecated. Use `DsStatusBadge` and its related types instead.
15392
15174
  * @see {@link ../ds-status-badge/ds-status-badge} for the replacement component.
@@ -15400,7 +15182,6 @@ const systemStatuses = [
15400
15182
  "alert",
15401
15183
  "disabled"
15402
15184
  ];
15403
-
15404
15185
  //#endregion
15405
15186
  //#region src/components/ds-table/filters/adapters/create-filter-adapter.ts
15406
15187
  /**
@@ -15481,7 +15262,6 @@ function createFilterAdapter(config) {
15481
15262
  renderFilter: config.renderFilter
15482
15263
  };
15483
15264
  }
15484
-
15485
15265
  //#endregion
15486
15266
  //#region src/components/ds-table/filters/components/checkbox-filter/checkbox-filter.tsx
15487
15267
  const CheckboxFilter = ({ items, renderer, selectedItems, onSelectionChange }) => {
@@ -15497,7 +15277,6 @@ const CheckboxFilter = ({ items, renderer, selectedItems, onSelectionChange }) =
15497
15277
  }, JSON.stringify(item.value));
15498
15278
  });
15499
15279
  };
15500
-
15501
15280
  //#endregion
15502
15281
  //#region src/components/ds-table/filters/adapters/create-checkbox-filter-adapter.tsx
15503
15282
  /**
@@ -15545,7 +15324,6 @@ function createCheckboxFilterAdapter(config) {
15545
15324
  }
15546
15325
  });
15547
15326
  }
15548
-
15549
15327
  //#endregion
15550
15328
  //#region src/components/ds-table/filters/components/range-filter/range-filter.module.scss
15551
15329
  var range_filter_module_default = {
@@ -15554,7 +15332,6 @@ var range_filter_module_default = {
15554
15332
  "inputs": "_inputs_13tjl_1",
15555
15333
  "inputGroup": "_inputGroup_13tjl_1"
15556
15334
  };
15557
-
15558
15335
  //#endregion
15559
15336
  //#region src/components/ds-table/filters/components/range-filter/range-filter.tsx
15560
15337
  const RangeFilter = (t0) => {
@@ -15718,7 +15495,6 @@ const RangeFilter = (t0) => {
15718
15495
  } else t14 = $[34];
15719
15496
  return t14;
15720
15497
  };
15721
-
15722
15498
  //#endregion
15723
15499
  //#region src/components/ds-table/filters/adapters/create-dual-range-filter-adapter.tsx
15724
15500
  /**
@@ -15801,7 +15577,6 @@ function createDualRangeFilterAdapter(config) {
15801
15577
  }
15802
15578
  });
15803
15579
  }
15804
-
15805
15580
  //#endregion
15806
15581
  //#region src/components/ds-table/filters/hooks/use-table-filters.ts
15807
15582
  /**
@@ -16009,7 +15784,6 @@ function _temp$7(state, adapter) {
16009
15784
  [adapter.id]: adapter.initialValue
16010
15785
  };
16011
15786
  }
16012
-
16013
15787
  //#endregion
16014
15788
  //#region src/components/ds-table/components/core-table/core-table.module.scss
16015
15789
  var core_table_module_default = {
@@ -16019,7 +15793,6 @@ var core_table_module_default = {
16019
15793
  "tableCell": "_tableCell_9wtya_1",
16020
15794
  "tableCaption": "_tableCaption_9wtya_1"
16021
15795
  };
16022
-
16023
15796
  //#endregion
16024
15797
  //#region src/components/ds-table/components/core-table/core-table.tsx
16025
15798
  function Table(t0) {
@@ -16215,7 +15988,6 @@ function TableCaption(t0) {
16215
15988
  return t2;
16216
15989
  }
16217
15990
  TableCaption.displayName = "TableCaption";
16218
-
16219
15991
  //#endregion
16220
15992
  //#region src/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.module.scss
16221
15993
  var ds_table_bulk_actions_module_default = {
@@ -16233,7 +16005,6 @@ var ds_table_bulk_actions_module_default = {
16233
16005
  "actionButtonContent": "_actionButtonContent_15vel_1",
16234
16006
  "escapeButtonContent": "_escapeButtonContent_15vel_1"
16235
16007
  };
16236
-
16237
16008
  //#endregion
16238
16009
  //#region src/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.tsx
16239
16010
  const DsTableBulkActions = (t0) => {
@@ -16367,7 +16138,6 @@ function _temp$6(action, index) {
16367
16138
  })]
16368
16139
  }, index);
16369
16140
  }
16370
-
16371
16141
  //#endregion
16372
16142
  //#region src/components/ds-table/components/ds-table-header/ds-table-header.module.scss
16373
16143
  var ds_table_header_module_default = {
@@ -16385,7 +16155,6 @@ var ds_table_header_module_default = {
16385
16155
  "pageButtonIcon": "_pageButtonIcon_y7036_1",
16386
16156
  "headerSortContainer": "_headerSortContainer_y7036_1"
16387
16157
  };
16388
-
16389
16158
  //#endregion
16390
16159
  //#region src/components/ds-table/styles/shared/ds-table-shared.module.scss
16391
16160
  var ds_table_shared_module_default = {
@@ -16400,16 +16169,14 @@ var ds_table_shared_module_default = {
16400
16169
  "rotate-315": "_rotate-315_1vhho_1",
16401
16170
  "checkboxContainer": "_checkboxContainer_1vhho_1"
16402
16171
  };
16403
-
16404
16172
  //#endregion
16405
- //#region src/components/ds-table/context/ds-table-context.tsx
16173
+ //#region src/components/ds-table/context/ds-table-context.ts
16406
16174
  const DsTableContext = (0, react.createContext)(null);
16407
16175
  const useDsTableContext = () => {
16408
16176
  const context = (0, react.useContext)(DsTableContext);
16409
16177
  if (!context) throw new Error("useDsTableContext must be used within DsTable");
16410
16178
  return context;
16411
16179
  };
16412
-
16413
16180
  //#endregion
16414
16181
  //#region src/components/ds-table/utils/column-size.ts
16415
16182
  /**
@@ -16423,7 +16190,6 @@ const getColumnSizeStyle = (columnSize, virtualized) => {
16423
16190
  if (columnSize !== _tanstack_react_table.defaultColumnSizing.size) return { width: columnSize };
16424
16191
  if (virtualized) return { flex: 1 };
16425
16192
  };
16426
-
16427
16193
  //#endregion
16428
16194
  //#region src/components/ds-table/components/ds-table-header/ds-table-header.tsx
16429
16195
  const DsTableHeader = (t0) => {
@@ -16507,7 +16273,6 @@ const DsTableHeader = (t0) => {
16507
16273
  } else t5 = $[13];
16508
16274
  return t5;
16509
16275
  };
16510
-
16511
16276
  //#endregion
16512
16277
  //#region src/components/ds-table/ds-table.module.scss
16513
16278
  var ds_table_module_default = {
@@ -16528,7 +16293,6 @@ var ds_table_module_default = {
16528
16293
  "virtualized": "_virtualized_11iga_1",
16529
16294
  "virtualizedContainer": "_virtualizedContainer_11iga_1"
16530
16295
  };
16531
-
16532
16296
  //#endregion
16533
16297
  //#region src/components/ds-table/components/ds-table-cell/ds-table-cell.module.scss
16534
16298
  var ds_table_cell_module_default = {
@@ -16539,7 +16303,6 @@ var ds_table_cell_module_default = {
16539
16303
  "disabled": "_disabled_xj9ef_1",
16540
16304
  "secondaryActionsTrigger": "_secondaryActionsTrigger_xj9ef_1"
16541
16305
  };
16542
-
16543
16306
  //#endregion
16544
16307
  //#region src/components/ds-table/components/ds-table-cell/ds-table-cell.tsx
16545
16308
  const DsDefaultTableCell = (t0) => {
@@ -16702,11 +16465,9 @@ function _temp$5(e_0) {
16702
16465
  function _temp2(e_1) {
16703
16466
  return e_1.stopPropagation();
16704
16467
  }
16705
-
16706
16468
  //#endregion
16707
16469
  //#region src/components/ds-table/components/ds-table-row-selectable-cell/ds-table-row-selectable-cell.module.scss
16708
16470
  var ds_table_row_selectable_cell_module_default = { "cell": "_cell_1da1f_1" };
16709
-
16710
16471
  //#endregion
16711
16472
  //#region src/components/ds-table/components/ds-table-row-selectable-cell/ds-table-row-selectable-cell.tsx
16712
16473
  const DsTableRowSelectableCell = (t0) => {
@@ -16769,14 +16530,12 @@ const DsTableRowSelectableCell = (t0) => {
16769
16530
  function _temp$4(e_0) {
16770
16531
  e_0.stopPropagation();
16771
16532
  }
16772
-
16773
16533
  //#endregion
16774
16534
  //#region src/components/ds-table/components/ds-table-row-expandable-cell/ds-table-row-expandable-cell.module.scss
16775
16535
  var ds_table_row_expandable_cell_module_default = {
16776
16536
  "cell": "_cell_riuvn_1",
16777
16537
  "button": "_button_riuvn_1"
16778
16538
  };
16779
-
16780
16539
  //#endregion
16781
16540
  //#region src/components/ds-table/components/ds-table-row-expandable-cell/ds-table-row-expandable-cell.tsx
16782
16541
  const DsTableRowExpandableCell = (t0) => {
@@ -16846,7 +16605,6 @@ const DsTableRowExpandableCell = (t0) => {
16846
16605
  function _temp$3(e_0) {
16847
16606
  e_0.stopPropagation();
16848
16607
  }
16849
-
16850
16608
  //#endregion
16851
16609
  //#region src/components/ds-table/components/ds-table-row/ds-table-row.module.scss
16852
16610
  var ds_table_row_module_default = {
@@ -16866,7 +16624,6 @@ var ds_table_row_module_default = {
16866
16624
  "rowDragHandle": "_rowDragHandle_3a8wk_1",
16867
16625
  "expandToggleButton": "_expandToggleButton_3a8wk_1"
16868
16626
  };
16869
-
16870
16627
  //#endregion
16871
16628
  //#region src/components/ds-table/components/ds-table-row/ds-table-row.tsx
16872
16629
  const DsRowDragHandle = (t0) => {
@@ -17099,7 +16856,6 @@ const DsTableRow = (t0) => {
17099
16856
  function _temp$2(e) {
17100
16857
  return e.stopPropagation();
17101
16858
  }
17102
-
17103
16859
  //#endregion
17104
16860
  //#region src/components/ds-table/hooks/use-drag-and-drop.tsx
17105
16861
  const DragWrapper = (t0) => {
@@ -17231,14 +16987,12 @@ function useDragAndDrop(t0) {
17231
16987
  function _temp$1(row) {
17232
16988
  return row.id;
17233
16989
  }
17234
-
17235
16990
  //#endregion
17236
16991
  //#region src/components/ds-table/components/ds-table-body-virtualized/ds-table-body-virtualized.module.scss
17237
16992
  var ds_table_body_virtualized_module_default = {
17238
16993
  "body": "_body_136uf_1",
17239
16994
  "emptyState": "_emptyState_136uf_1"
17240
16995
  };
17241
-
17242
16996
  //#endregion
17243
16997
  //#region src/components/ds-table/components/ds-table-row-virtualized/ds-table-row-virtualized.module.scss
17244
16998
  var ds_table_row_virtualized_module_default = {
@@ -17255,7 +17009,6 @@ var ds_table_row_virtualized_module_default = {
17255
17009
  "selectableCell": "_selectableCell_1tynu_1",
17256
17010
  "expandableCell": "_expandableCell_1tynu_1"
17257
17011
  };
17258
-
17259
17012
  //#endregion
17260
17013
  //#region src/components/ds-table/components/ds-table-row-virtualized/ds-table-row-virtualized.tsx
17261
17014
  const DsTableRowVirtualized = (t0) => {
@@ -17393,14 +17146,6 @@ const DsTableRowVirtualized = (t0) => {
17393
17146
  } else t8 = $[45];
17394
17147
  return t8;
17395
17148
  };
17396
-
17397
- //#endregion
17398
- //#region src/components/ds-table/utils/constants.ts
17399
- /**
17400
- * Default text for empty table state
17401
- */
17402
- const EMPTY_TABLE_STATE_TEXT = "No results.";
17403
-
17404
17149
  //#endregion
17405
17150
  //#region src/components/ds-table/components/ds-table-body-virtualized/ds-table-body-virtualized.tsx
17406
17151
  const DsTableBodyVirtualized = ({ table, tableContainerRef, emptyState, estimateSize, overscan, onScroll }) => {
@@ -17436,10 +17181,13 @@ const DsTableBodyVirtualized = ({ table, tableContainerRef, emptyState, estimate
17436
17181
  const scrollOffset = instance.scrollOffset || 0;
17437
17182
  const totalContentHeight = instance.getTotalSize();
17438
17183
  const viewportHeight = instance.scrollElement?.clientHeight;
17184
+ const scrollDirection = instance.scrollDirection;
17439
17185
  if (viewportHeight) onScroll({
17440
17186
  scrollOffset,
17441
17187
  totalContentHeight,
17442
- viewportHeight
17188
+ viewportHeight,
17189
+ bottomOffset: totalContentHeight - (scrollOffset + viewportHeight),
17190
+ scrollDirection
17443
17191
  });
17444
17192
  }
17445
17193
  }
@@ -17490,7 +17238,7 @@ function DsTableBody(t0) {
17490
17238
  }, virtualRow.key);
17491
17239
  }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
17492
17240
  className: ds_table_body_virtualized_module_default.emptyState,
17493
- children: emptyState || EMPTY_TABLE_STATE_TEXT
17241
+ children: emptyState || "No results."
17494
17242
  })
17495
17243
  });
17496
17244
  $[0] = emptyState;
@@ -17502,7 +17250,6 @@ function DsTableBody(t0) {
17502
17250
  } else t1 = $[5];
17503
17251
  return t1;
17504
17252
  }
17505
-
17506
17253
  //#endregion
17507
17254
  //#region src/components/ds-table/ds-table.tsx
17508
17255
  const ROW_SIZE_HEIGHT_MAP = {
@@ -17612,7 +17359,7 @@ const DsTable = ({ ref, columns, data: tableData, virtualized = false, virtualiz
17612
17359
  const renderEmptyState = () => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableRow, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableCell, {
17613
17360
  colSpan: columns.length + (expandable ? 1 : 0) + (selectable ? 1 : 0),
17614
17361
  className: ds_table_module_default.emptyState,
17615
- children: emptyState || EMPTY_TABLE_STATE_TEXT
17362
+ children: emptyState || "No results."
17616
17363
  }) });
17617
17364
  const selectedRows = Object.entries(rowSelection).filter(([, selected]) => selected).map(([key]) => rowsById[key]?.original).filter((v) => !!v);
17618
17365
  const contextValue = {
@@ -17658,7 +17405,6 @@ const DsTable = ({ ref, columns, data: tableData, virtualized = false, virtualiz
17658
17405
  })]
17659
17406
  });
17660
17407
  };
17661
-
17662
17408
  //#endregion
17663
17409
  //#region src/components/ds-toast/ds-toast.module.scss
17664
17410
  var ds_toast_module_default = {
@@ -17667,7 +17413,6 @@ var ds_toast_module_default = {
17667
17413
  "actions": "_actions_17obg_1",
17668
17414
  "icon": "_icon_17obg_1"
17669
17415
  };
17670
-
17671
17416
  //#endregion
17672
17417
  //#region src/components/ds-toast/ds-toast.tsx
17673
17418
  const variantIcons = {
@@ -17785,7 +17530,6 @@ const DsToastGroup = (t0) => {
17785
17530
  function _temp(toast) {
17786
17531
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsToast, { ...toast });
17787
17532
  }
17788
-
17789
17533
  //#endregion
17790
17534
  //#region src/components/ds-toast/ds-toast-context.tsx
17791
17535
  const DsToastContext = (0, react.createContext)(null);
@@ -17861,7 +17605,6 @@ const useToaster = () => {
17861
17605
  if (!context) throw new Error("useToast must be used within a ToastProvider");
17862
17606
  return context;
17863
17607
  };
17864
-
17865
17608
  //#endregion
17866
17609
  //#region src/components/ds-toggle/ds-toggle.module.scss
17867
17610
  var ds_toggle_module_default = {
@@ -17872,7 +17615,6 @@ var ds_toggle_module_default = {
17872
17615
  "labelInfo": "_labelInfo_warw8_1",
17873
17616
  "icon": "_icon_warw8_1"
17874
17617
  };
17875
-
17876
17618
  //#endregion
17877
17619
  //#region src/components/ds-toggle/ds-toggle.tsx
17878
17620
  /**
@@ -18050,7 +17792,6 @@ const DsToggle = (t0) => {
18050
17792
  } else t15 = $[47];
18051
17793
  return t15;
18052
17794
  };
18053
-
18054
17795
  //#endregion
18055
17796
  //#region src/components/ds-tree/ds-tree.module.scss
18056
17797
  var ds_tree_module_default = {
@@ -18073,7 +17814,6 @@ var ds_tree_module_default = {
18073
17814
  "nodeCheckboxBox": "_nodeCheckboxBox_lqfdm_1",
18074
17815
  "nodeCheckboxIndicator": "_nodeCheckboxIndicator_lqfdm_1"
18075
17816
  };
18076
-
18077
17817
  //#endregion
18078
17818
  //#region src/components/ds-tree/ds-tree.tsx
18079
17819
  const DsTreeRoot = (t0) => {
@@ -18477,7 +18217,6 @@ const DsTree = {
18477
18217
  ItemAction: DsTreeItemAction,
18478
18218
  NodeCheckbox: DsTreeNodeCheckbox
18479
18219
  };
18480
-
18481
18220
  //#endregion
18482
18221
  //#region src/components/ds-tree/ds-tree.utils.ts
18483
18222
  const createDsTreeCollection = (nodes) => (0, _ark_ui_react_tree_view.createTreeCollection)({
@@ -18489,7 +18228,6 @@ const createDsTreeCollection = (nodes) => (0, _ark_ui_react_tree_view.createTree
18489
18228
  children: nodes
18490
18229
  }
18491
18230
  });
18492
-
18493
18231
  //#endregion
18494
18232
  //#region src/components/ds-vertical-tabs/ds-vertical-tabs.module.scss
18495
18233
  var ds_vertical_tabs_module_default = {
@@ -18497,7 +18235,6 @@ var ds_vertical_tabs_module_default = {
18497
18235
  "tabItem": "_tabItem_n5n19_1",
18498
18236
  "selected": "_selected_n5n19_1"
18499
18237
  };
18500
-
18501
18238
  //#endregion
18502
18239
  //#region src/components/ds-vertical-tabs/ds-vertical-tabs.tsx
18503
18240
  /**
@@ -18624,7 +18361,6 @@ const DsVerticalTabsContent = (t0) => {
18624
18361
  DsVerticalTabs.List = DsVerticalTabsList;
18625
18362
  DsVerticalTabs.Tab = DsVerticalTabsTab;
18626
18363
  DsVerticalTabs.Content = DsVerticalTabsContent;
18627
-
18628
18364
  //#endregion
18629
18365
  exports.DsAlertBanner = DsAlertBanner;
18630
18366
  exports.DsAutocomplete = DsAutocomplete;
@@ -18699,6 +18435,7 @@ exports.FileUploadError = FileUploadError;
18699
18435
  exports.RetryableFileUploadError = RetryableFileUploadError;
18700
18436
  exports.alertBannerVariants = alertBannerVariants;
18701
18437
  exports.cardSizes = cardSizes;
18438
+ exports.checkboxVariants = checkboxVariants;
18702
18439
  exports.colors = colors;
18703
18440
  exports.controlStatuses = controlStatuses;
18704
18441
  exports.createCheckboxFilterAdapter = createCheckboxFilterAdapter;
@@ -18726,4 +18463,4 @@ exports.tagVariants = tagVariants;
18726
18463
  exports.textInputSizes = textInputSizes;
18727
18464
  exports.useFileUpload = useFileUpload;
18728
18465
  exports.useTableFilters = useTableFilters;
18729
- exports.useToaster = useToaster;
18466
+ exports.useToaster = useToaster;