@drivenets/design-system 0.9.1 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (176) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/dist/index.cjs +1182 -716
  3. package/dist/index.d.cts +1806 -636
  4. package/dist/index.d.cts.map +1 -1
  5. package/dist/index.d.ts +1809 -639
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +1189 -726
  8. package/dist/index.js.map +1 -1
  9. package/dist/index.min.css +1 -1
  10. package/package.json +11 -13
  11. package/src/components/ds-alert-banner/ds-alert-banner.module.scss +25 -25
  12. package/src/components/ds-autocomplete/ds-autocomplete.module.scss +29 -29
  13. package/src/components/ds-avatar/_mixins.scss +7 -7
  14. package/src/components/ds-avatar/ds-avatar.module.scss +2 -2
  15. package/src/components/ds-avatar-group/ds-avatar-group.module.scss +6 -6
  16. package/src/components/ds-breadcrumb/ds-breadcrumb.module.scss +14 -14
  17. package/src/components/ds-breadcrumb/ds-breadcrumb.types.ts +40 -6
  18. package/src/components/ds-button/ds-button.types.ts +13 -2
  19. package/src/components/ds-button/versions/ds-button-legacy/ds-button-legacy.module.scss +17 -17
  20. package/src/components/ds-button/versions/ds-button-new/ds-button-new.module.scss +135 -135
  21. package/src/components/ds-button-v3/ds-button-v3.module.scss +113 -114
  22. package/src/components/ds-button-v3/ds-button-v3.types.ts +7 -0
  23. package/src/components/ds-card/ds-card.module.scss +12 -12
  24. package/src/components/ds-card/ds-card.types.ts +3 -1
  25. package/src/components/ds-checkbox/ds-checkbox.module.scss +106 -123
  26. package/src/components/ds-checkbox/ds-checkbox.tsx +24 -35
  27. package/src/components/ds-checkbox/ds-checkbox.types.ts +12 -11
  28. package/src/components/ds-checkbox-group/ds-checkbox-group.module.scss +13 -0
  29. package/src/components/ds-checkbox-group/ds-checkbox-group.tsx +20 -0
  30. package/src/components/ds-checkbox-group/ds-checkbox-group.types.ts +8 -0
  31. package/src/components/ds-checkbox-group/hooks/index.ts +6 -0
  32. package/src/components/ds-checkbox-group/hooks/use-checkbox-select-all.ts +65 -0
  33. package/src/components/ds-checkbox-group/index.ts +3 -0
  34. package/src/components/ds-chip/ds-chip.module.scss +17 -17
  35. package/src/components/ds-chip-group/ds-chip-group.module.scss +12 -12
  36. package/src/components/ds-comment-bubble/components/ds-comment-thread/ds-comment-thread.module.scss +3 -3
  37. package/src/components/ds-comment-bubble/components/ds-comment-thread/ds-comment-thread.types.ts +26 -0
  38. package/src/components/ds-comment-bubble/components/ds-thread-item/ds-thread-item.module.scss +18 -18
  39. package/src/components/ds-comment-bubble/components/ds-thread-item/ds-thread-item.types.ts +38 -0
  40. package/src/components/ds-comment-bubble/ds-comment-bubble.module.scss +43 -43
  41. package/src/components/ds-comment-bubble/ds-comment-bubble.types.ts +78 -0
  42. package/src/components/ds-comment-card/ds-comment-card.module.scss +34 -34
  43. package/src/components/ds-comment-card/ds-comment-card.types.ts +114 -0
  44. package/src/components/ds-comment-indicator/ds-comment-indicator.module.scss +9 -9
  45. package/src/components/ds-comment-indicator/ds-comment-indicator.types.ts +26 -0
  46. package/src/components/ds-comments-drawer/comments-filters.types.ts +33 -0
  47. package/src/components/ds-comments-drawer/components/comments-filter-modal/comments-filter-modal.module.scss +10 -10
  48. package/src/components/ds-comments-drawer/components/comments-filter-modal/comments-filter-modal.types.ts +37 -1
  49. package/src/components/ds-comments-drawer/ds-comments-drawer.module.scss +11 -11
  50. package/src/components/ds-comments-drawer/ds-comments-drawer.types.ts +64 -0
  51. package/src/components/ds-date-input/ds-date-input.module.scss +42 -42
  52. package/src/components/ds-date-input/ds-date-input.types.ts +23 -0
  53. package/src/components/ds-date-picker/components/calendar-table.module.scss +17 -17
  54. package/src/components/ds-date-picker/components/calendar-view-control/calendar-view-control.module.scss +8 -8
  55. package/src/components/ds-date-picker/components/day-view/day-view.module.scss +1 -1
  56. package/src/components/ds-date-picker/ds-date-picker.module.scss +1 -1
  57. package/src/components/ds-date-picker/ds-date-picker.tsx +3 -0
  58. package/src/components/ds-date-picker/ds-date-picker.types.ts +20 -0
  59. package/src/components/ds-date-range-picker/ds-date-range-picker.module.scss +1 -1
  60. package/src/components/ds-date-range-picker/ds-date-range-picker.types.ts +28 -0
  61. package/src/components/ds-dialog/ds-dialog.module.scss +3 -3
  62. package/src/components/ds-dialog/ds-dialog.types.ts +10 -1
  63. package/src/components/ds-divider/ds-divider.module.scss +1 -1
  64. package/src/components/ds-drawer/ds-drawer.module.scss +12 -12
  65. package/src/components/ds-dropdown-menu/ds-dropdown-menu.module.scss +22 -14
  66. package/src/components/ds-dropdown-menu/ds-dropdown-menu.tsx +2 -0
  67. package/src/components/ds-dropdown-menu/ds-dropdown-menu.types.ts +33 -0
  68. package/src/components/ds-expandable-text-input/ds-expandable-text-input.module.scss +1 -1
  69. package/src/components/ds-file-upload/components/file-upload/file-upload.module.scss +22 -22
  70. package/src/components/ds-file-upload/components/file-upload/file-upload.types.ts +1 -0
  71. package/src/components/ds-file-upload/components/file-upload-item/file-upload-item.module.scss +23 -23
  72. package/src/components/ds-file-upload/ds-file-upload-api.types.ts +55 -0
  73. package/src/components/ds-filter-status-icon/ds-filter-status-icon.module.scss +5 -5
  74. package/src/components/ds-form-control/ds-form-control.module.scss +13 -13
  75. package/src/components/ds-form-control/ds-form-control.types.ts +3 -0
  76. package/src/components/ds-grid/ds-grid.tsx +29 -12
  77. package/src/components/ds-grid/ds-grid.types.ts +16 -13
  78. package/src/components/ds-grid/index.ts +10 -2
  79. package/src/components/ds-icon/custom-icons/index.ts +2 -0
  80. package/src/components/ds-icon/custom-icons/special-leading-icon.tsx +11 -0
  81. package/src/components/ds-icon/ds-icon.module.scss +8 -0
  82. package/src/components/ds-icon/ds-icon.tsx +10 -4
  83. package/src/components/ds-icon/ds-icon.types.ts +30 -0
  84. package/src/components/ds-key-value-pair/ds-key-value-pair.module.scss +7 -7
  85. package/src/components/ds-key-value-pair/ds-key-value-pair.types.ts +12 -2
  86. package/src/components/ds-modal/ds-modal.module.scss +9 -9
  87. package/src/components/ds-modal/ds-modal.types.ts +16 -0
  88. package/src/components/ds-panel/ds-panel.module.scss +16 -16
  89. package/src/components/ds-panel/ds-panel.types.ts +39 -0
  90. package/src/components/ds-popover/ds-popover.module.scss +2 -2
  91. package/src/components/ds-progress-arc/ds-progress-arc.module.scss +7 -7
  92. package/src/components/ds-progress-donut/ds-progress-donut.module.scss +7 -7
  93. package/src/components/ds-progress-linear/ds-progress-linear.module.scss +15 -15
  94. package/src/components/ds-radio-group/ds-radio-group.module.scss +58 -56
  95. package/src/components/ds-radio-group/ds-radio-group.tsx +35 -28
  96. package/src/components/ds-radio-group/ds-radio-group.types.ts +38 -7
  97. package/src/components/ds-segment-group/ds-segment-group.module.scss +18 -18
  98. package/src/components/ds-segment-group/ds-segment-group.types.ts +17 -0
  99. package/src/components/ds-select/ds-select.module.scss +8 -8
  100. package/src/components/ds-select/ds-select.types.ts +32 -0
  101. package/src/components/ds-skeleton/ds-skeleton.module.scss +1 -1
  102. package/src/components/ds-smart-tabs/ds-smart-tabs.module.scss +12 -12
  103. package/src/components/ds-smart-tabs/ds-smart-tabs.tsx +9 -9
  104. package/src/components/ds-spinner/ds-spinner.module.scss +1 -1
  105. package/src/components/ds-split-button/ds-split-button.module.scss +7 -7
  106. package/src/components/ds-split-button/ds-split-button.types.ts +28 -0
  107. package/src/components/ds-stack/ds-stack.types.ts +23 -0
  108. package/src/components/ds-status-badge/ds-status-badge.module.scss +21 -25
  109. package/src/components/ds-stepper/ds-stepper.module.scss +55 -55
  110. package/src/components/ds-stepper/ds-stepper.types.ts +34 -1
  111. package/src/components/ds-system-status/ds-system-status.module.scss +22 -22
  112. package/src/components/ds-table/components/ds-table-body-virtualized/ds-table-body-virtualized.types.ts +27 -0
  113. package/src/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.module.scss +9 -9
  114. package/src/components/ds-table/components/ds-table-cell/ds-table-cell.module.scss +4 -4
  115. package/src/components/ds-table/components/ds-table-header/ds-table-header.module.scss +5 -10
  116. package/src/components/ds-table/components/ds-table-header/ds-table-header.tsx +6 -9
  117. package/src/components/ds-table/components/ds-table-row/ds-table-row.module.scss +13 -22
  118. package/src/components/ds-table/components/ds-table-row/ds-table-row.tsx +11 -18
  119. package/src/components/ds-table/components/ds-table-row-expandable-cell/ds-table-row-expandable-cell.module.scss +0 -7
  120. package/src/components/ds-table/components/ds-table-row-expandable-cell/ds-table-row-expandable-cell.tsx +19 -28
  121. package/src/components/ds-table/components/ds-table-row-expandable-cell/ds-table-row-expandable-cell.types.ts +7 -1
  122. package/src/components/ds-table/components/ds-table-row-selectable-cell/ds-table-row-selectable-cell.tsx +3 -8
  123. package/src/components/ds-table/components/ds-table-row-selectable-cell/ds-table-row-selectable-cell.types.ts +11 -0
  124. package/src/components/ds-table/components/ds-table-row-virtualized/ds-table-row-virtualized.module.scss +15 -11
  125. package/src/components/ds-table/components/ds-table-row-virtualized/ds-table-row-virtualized.tsx +9 -4
  126. package/src/components/ds-table/components/ds-table-row-virtualized/ds-table-row-virtualized.types.ts +27 -0
  127. package/src/components/ds-table/ds-table.module.scss +9 -2
  128. package/src/components/ds-table/ds-table.tsx +26 -4
  129. package/src/components/ds-table/filters/components/range-filter/range-filter.module.scss +1 -1
  130. package/src/components/ds-table/filters/types/filter-adapter.types.ts +6 -0
  131. package/src/components/ds-table/styles/_mixins.scss +1 -1
  132. package/src/components/ds-table/styles/_variables.scss +5 -6
  133. package/src/components/ds-table/utils/constants.ts +10 -0
  134. package/src/components/ds-tabs/components/ds-tabs-content/ds-tabs-content.module.scss +1 -1
  135. package/src/components/ds-tabs/components/ds-tabs-list/ds-tabs-indicator.module.scss +1 -1
  136. package/src/components/ds-tabs/components/ds-tabs-list/ds-tabs-list.module.scss +3 -3
  137. package/src/components/ds-tabs/components/ds-tabs-tab/ds-tabs-tab.module.scss +55 -55
  138. package/src/components/ds-tabs/ds-tabs.module.scss +1 -1
  139. package/src/components/ds-tag/ds-tag.module.scss +22 -22
  140. package/src/components/ds-tag/ds-tag.types.ts +6 -0
  141. package/src/components/ds-tag-filter/ds-tag-filter.module.scss +10 -10
  142. package/src/components/ds-tag-filter/ds-tag-filter.types.ts +16 -0
  143. package/src/components/ds-text-input/ds-text-input.module.scss +1 -1
  144. package/src/components/ds-text-input/ds-text-input.types.ts +3 -0
  145. package/src/components/ds-time-picker/components/time-item/time-item.module.scss +8 -8
  146. package/src/components/ds-time-picker/components/time-item/time-item.types.ts +19 -0
  147. package/src/components/ds-time-picker/components/time-scroller/time-scroller.module.scss +3 -3
  148. package/src/components/ds-time-picker/components/time-scroller/time-scroller.types.ts +29 -0
  149. package/src/components/ds-time-picker/ds-time-picker.module.scss +7 -0
  150. package/src/components/ds-time-picker/ds-time-picker.tsx +8 -1
  151. package/src/components/ds-time-picker/ds-time-picker.types.ts +80 -0
  152. package/src/components/ds-toast/ds-toast.module.scss +11 -11
  153. package/src/components/ds-toggle/ds-toggle.module.scss +18 -18
  154. package/src/components/ds-tooltip/ds-tooltip.module.scss +5 -5
  155. package/src/components/ds-tooltip/ds-tooltip.types.ts +6 -0
  156. package/src/components/ds-tree/ds-tree.module.scss +27 -27
  157. package/src/components/ds-tree/ds-tree.types.ts +84 -2
  158. package/src/components/ds-typography/ds-typography.config.ts +46 -27
  159. package/src/components/ds-typography/ds-typography.tsx +22 -7
  160. package/src/components/ds-typography/ds-typography.types.ts +15 -4
  161. package/src/components/ds-vertical-tabs/ds-vertical-tabs.module.scss +13 -13
  162. package/src/components/ds-workspace/ds-workspace.module.scss +55 -0
  163. package/src/components/ds-workspace/ds-workspace.tsx +37 -0
  164. package/src/components/ds-workspace/ds-workspace.types.ts +17 -0
  165. package/src/components/ds-workspace/index.ts +8 -0
  166. package/src/index.ts +2 -0
  167. package/src/styles/_grid.scss +2 -2
  168. package/src/styles/_root.scss +0 -18
  169. package/src/styles/_root_new.scss +449 -0
  170. package/src/styles/_scrollbars.scss +5 -5
  171. package/src/styles/_typography.scss +18 -14
  172. package/src/styles/mixins/_list.scss +8 -8
  173. package/src/styles/shared/_dropdown.scss +9 -9
  174. package/src/styles/shared/_input.scss +47 -49
  175. package/src/styles/styles.scss +1 -0
  176. package/src/styles/_root_updated.scss +0 -593
package/dist/index.cjs CHANGED
@@ -26,8 +26,8 @@ let classnames = require("classnames");
26
26
  classnames = __toESM(classnames);
27
27
  let react_jsx_runtime = require("react/jsx-runtime");
28
28
  let react = require("react");
29
- react = __toESM(react);
30
- let _radix_ui_react_slot = require("@radix-ui/react-slot");
29
+ react = __toESM(react, 1);
30
+ let _ark_ui_react = require("@ark-ui/react");
31
31
  let _ark_ui_react_combobox = require("@ark-ui/react/combobox");
32
32
  let _ark_ui_react_locale = require("@ark-ui/react/locale");
33
33
  let _ark_ui_react_highlight = require("@ark-ui/react/highlight");
@@ -39,8 +39,7 @@ let _tanstack_react_router = require("@tanstack/react-router");
39
39
  let _radix_ui_react_dropdown_menu = require("@radix-ui/react-dropdown-menu");
40
40
  _radix_ui_react_dropdown_menu = __toESM(_radix_ui_react_dropdown_menu);
41
41
  let _ark_ui_react_menu = require("@ark-ui/react/menu");
42
- let _radix_ui_react_checkbox = require("@radix-ui/react-checkbox");
43
- _radix_ui_react_checkbox = __toESM(_radix_ui_react_checkbox);
42
+ let _ark_ui_react_checkbox = require("@ark-ui/react/checkbox");
44
43
  let _radix_ui_react_dialog = require("@radix-ui/react-dialog");
45
44
  _radix_ui_react_dialog = __toESM(_radix_ui_react_dialog);
46
45
  let _radix_ui_react_visually_hidden = require("@radix-ui/react-visually-hidden");
@@ -51,17 +50,14 @@ let _ark_ui_react_date_picker = require("@ark-ui/react/date-picker");
51
50
  let _internationalized_date = require("@internationalized/date");
52
51
  let _ark_ui_react_popover = require("@ark-ui/react/popover");
53
52
  let _ark_ui_react_select = require("@ark-ui/react/select");
54
- let _ark_ui_react = require("@ark-ui/react");
55
53
  let _radix_ui_react_collapsible = require("@radix-ui/react-collapsible");
56
54
  _radix_ui_react_collapsible = __toESM(_radix_ui_react_collapsible);
57
55
  let _radix_ui_react_popover = require("@radix-ui/react-popover");
58
56
  _radix_ui_react_popover = __toESM(_radix_ui_react_popover);
59
- let _radix_ui_react_radio_group = require("@radix-ui/react-radio-group");
60
- _radix_ui_react_radio_group = __toESM(_radix_ui_react_radio_group);
61
57
  let _ark_ui_react_radio_group = require("@ark-ui/react/radio-group");
62
58
  let _ark_ui_react_segment_group = require("@ark-ui/react/segment-group");
63
59
  let _zag_js_steps = require("@zag-js/steps");
64
- _zag_js_steps = __toESM(_zag_js_steps);
60
+ _zag_js_steps = __toESM(_zag_js_steps, 1);
65
61
  let _zag_js_react = require("@zag-js/react");
66
62
  let _tanstack_react_table = require("@tanstack/react-table");
67
63
  let _dnd_kit_sortable = require("@dnd-kit/sortable");
@@ -101,6 +97,37 @@ var ds_icon_module_default = {
101
97
  "tiny": "BWBvDq_tiny"
102
98
  };
103
99
  //#endregion
100
+ //#region src/components/ds-icon/ds-icon.types.ts
101
+ const iconSizes = [
102
+ "tiny",
103
+ "small",
104
+ "medium",
105
+ "large",
106
+ "extra-large"
107
+ ];
108
+ const iconVariants = ["outlined", "rounded"];
109
+ const iconColors = [
110
+ "action",
111
+ "action-hover",
112
+ "action-secondary",
113
+ "disabled",
114
+ "error",
115
+ "execution",
116
+ "information-main",
117
+ "information-secondary",
118
+ "inverse",
119
+ "main",
120
+ "on-button",
121
+ "on-dark-disabled",
122
+ "pause",
123
+ "pending",
124
+ "secondary",
125
+ "success",
126
+ "success-light",
127
+ "warning",
128
+ "warning-light"
129
+ ];
130
+ //#endregion
104
131
  //#region src/components/ds-icon/custom-icons/special-market.tsx
105
132
  /**
106
133
  * Special Market icon - represents a market/city location
@@ -2011,6 +2038,33 @@ const SpecialHome = (props) => {
2011
2038
  return t1;
2012
2039
  };
2013
2040
  //#endregion
2041
+ //#region src/components/ds-icon/custom-icons/special-leading-icon.tsx
2042
+ /** Leading / input-adjacent building icon from design (AR-58177). */
2043
+ const SpecialLeadingIcon = (props) => {
2044
+ const $ = (0, react_compiler_runtime.c)(3);
2045
+ let t0;
2046
+ if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
2047
+ t0 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
2048
+ d: "M7.2 4.81737H7.8C7.95913 4.81737 8.11174 4.75164 8.22426 4.63464C8.33679 4.51765 8.4 4.35896 8.4 4.1935C8.4 4.02804 8.33679 3.86936 8.22426 3.75237C8.11174 3.63537 7.95913 3.56964 7.8 3.56964H7.2C7.04087 3.56964 6.88826 3.63537 6.77574 3.75237C6.66321 3.86936 6.6 4.02804 6.6 4.1935C6.6 4.35896 6.66321 4.51765 6.77574 4.63464C6.88826 4.75164 7.04087 4.81737 7.2 4.81737ZM7.2 7.31283H7.8C7.95913 7.31283 8.11174 7.24711 8.22426 7.13011C8.33679 7.01311 8.4 6.85443 8.4 6.68897C8.4 6.52351 8.33679 6.36483 8.22426 6.24783C8.11174 6.13083 7.95913 6.0651 7.8 6.0651H7.2C7.04087 6.0651 6.88826 6.13083 6.77574 6.24783C6.66321 6.36483 6.6 6.52351 6.6 6.68897C6.6 6.85443 6.66321 7.01311 6.77574 7.13011C6.88826 7.24711 7.04087 7.31283 7.2 7.31283ZM4.2 4.81737H4.8C4.95913 4.81737 5.11174 4.75164 5.22426 4.63464C5.33679 4.51765 5.4 4.35896 5.4 4.1935C5.4 4.02804 5.33679 3.86936 5.22426 3.75237C5.11174 3.63537 4.95913 3.56964 4.8 3.56964H4.2C4.04087 3.56964 3.88826 3.63537 3.77574 3.75237C3.66321 3.86936 3.6 4.02804 3.6 4.1935C3.6 4.35896 3.66321 4.51765 3.77574 4.63464C3.88826 4.75164 4.04087 4.81737 4.2 4.81737ZM4.2 7.31283H4.8C4.95913 7.31283 5.11174 7.24711 5.22426 7.13011C5.33679 7.01311 5.4 6.85443 5.4 6.68897C5.4 6.52351 5.33679 6.36483 5.22426 6.24783C5.11174 6.13083 4.95913 6.0651 4.8 6.0651H4.2C4.04087 6.0651 3.88826 6.13083 3.77574 6.24783C3.66321 6.36483 3.6 6.52351 3.6 6.68897C3.6 6.85443 3.66321 7.01311 3.77574 7.13011C3.88826 7.24711 4.04087 7.31283 4.2 7.31283ZM11.4 11.264H10.8V1.13558C10.8 0.97012 10.7368 0.811436 10.6243 0.694439C10.5117 0.577441 10.3591 0.511713 10.2 0.511713H1.8C1.64087 0.511713 1.48826 0.577441 1.37574 0.694439C1.26321 0.811436 1.2 0.97012 1.2 1.13558V11.264H0.6C0.44087 11.264 0.288258 11.3297 0.175736 11.4467C0.0632141 11.5637 0 11.7224 0 11.8879C0 12.0533 0.0632141 12.212 0.175736 12.329C0.288258 12.446 0.44087 12.5117 0.6 12.5117H11.4C11.5591 12.5117 11.7117 12.446 11.8243 12.329C11.9368 12.212 12 12.0533 12 11.8879C12 11.7224 11.9368 11.5637 11.8243 11.4467C11.7117 11.3297 11.5591 11.264 11.4 11.264ZM6.6 12.5117H5.4V9.91228H6.6V12.5117ZM9.6 11.264H7.8V9.28841C7.8 9.12295 7.73679 8.96426 7.62426 8.84727C7.51174 8.73027 7.35913 8.66454 7.2 8.66454H4.8C4.64087 8.66454 4.48826 8.73027 4.37574 8.84727C4.26321 8.96426 4.2 9.12295 4.2 9.28841V11.264H2.4V1.75945H9.6V11.264Z",
2049
+ fill: "currentColor"
2050
+ });
2051
+ $[0] = t0;
2052
+ } else t0 = $[0];
2053
+ let t1;
2054
+ if ($[1] !== props) {
2055
+ t1 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
2056
+ xmlns: "http://www.w3.org/2000/svg",
2057
+ viewBox: "0 0 12 13",
2058
+ fill: "none",
2059
+ ...props,
2060
+ children: t0
2061
+ });
2062
+ $[1] = props;
2063
+ $[2] = t1;
2064
+ } else t1 = $[2];
2065
+ return t1;
2066
+ };
2067
+ //#endregion
2014
2068
  //#region src/components/ds-icon/custom-icons/special-lego.tsx
2015
2069
  /**
2016
2070
  * Special Lego icon
@@ -2698,6 +2752,7 @@ const customIcons = {
2698
2752
  "special-webhook": SpecialWebhook,
2699
2753
  "special-map-view": SpecialMapView,
2700
2754
  "special-home": SpecialHome,
2755
+ "special-leading-icon": SpecialLeadingIcon,
2701
2756
  "special-lego": SpecialLego,
2702
2757
  "special-scheme": SpecialScheme,
2703
2758
  "special-book": SpecialBook,
@@ -2718,11 +2773,14 @@ const isCustomIcon = (icon) => {
2718
2773
  };
2719
2774
  //#endregion
2720
2775
  //#region src/components/ds-icon/ds-icon.tsx
2776
+ const iconColorSet = new Set(iconColors);
2777
+ const resolveColor$1 = (color) => iconColorSet.has(color) ? `var(--icon-${color})` : color;
2721
2778
  /**
2722
2779
  * Design system Icon component that renders Google Material Icons, custom SVG icons, or inline SVGs
2723
2780
  */
2724
2781
  const DsIcon = (t0) => {
2725
- const $ = (0, react_compiler_runtime.c)(24);
2782
+ const $ = (0, react_compiler_runtime.c)(30);
2783
+ let color;
2726
2784
  let filled;
2727
2785
  let icon;
2728
2786
  let rest;
@@ -2731,44 +2789,58 @@ const DsIcon = (t0) => {
2731
2789
  let t3;
2732
2790
  let t4;
2733
2791
  if ($[0] !== t0) {
2734
- ({icon, size: t1, variant: t2, filled, className: t3, style: t4, ...rest} = t0);
2792
+ ({icon, size: t1, variant: t2, filled, color, className: t3, style: t4, ...rest} = t0);
2735
2793
  $[0] = t0;
2736
- $[1] = filled;
2737
- $[2] = icon;
2738
- $[3] = rest;
2739
- $[4] = t1;
2740
- $[5] = t2;
2741
- $[6] = t3;
2742
- $[7] = t4;
2794
+ $[1] = color;
2795
+ $[2] = filled;
2796
+ $[3] = icon;
2797
+ $[4] = rest;
2798
+ $[5] = t1;
2799
+ $[6] = t2;
2800
+ $[7] = t3;
2801
+ $[8] = t4;
2743
2802
  } else {
2744
- filled = $[1];
2745
- icon = $[2];
2746
- rest = $[3];
2747
- t1 = $[4];
2748
- t2 = $[5];
2749
- t3 = $[6];
2750
- t4 = $[7];
2803
+ color = $[1];
2804
+ filled = $[2];
2805
+ icon = $[3];
2806
+ rest = $[4];
2807
+ t1 = $[5];
2808
+ t2 = $[6];
2809
+ t3 = $[7];
2810
+ t4 = $[8];
2751
2811
  }
2752
2812
  const size = t1 === void 0 ? "medium" : t1;
2753
2813
  const variant = t2 === void 0 ? "outlined" : t2;
2754
2814
  const className = t3 === void 0 ? "" : t3;
2755
2815
  let t5;
2756
- if ($[8] !== t4) {
2816
+ if ($[9] !== t4) {
2757
2817
  t5 = t4 === void 0 ? {} : t4;
2758
- $[8] = t4;
2759
- $[9] = t5;
2760
- } else t5 = $[9];
2818
+ $[9] = t4;
2819
+ $[10] = t5;
2820
+ } else t5 = $[10];
2761
2821
  const style = t5;
2822
+ let mergedStyle;
2762
2823
  let t6;
2763
2824
  let t7;
2764
- if ($[10] !== className || $[11] !== filled || $[12] !== icon || $[13] !== rest || $[14] !== size || $[15] !== style || $[16] !== variant) {
2825
+ if ($[11] !== className || $[12] !== color || $[13] !== filled || $[14] !== icon || $[15] !== rest || $[16] !== size || $[17] !== style || $[18] !== variant) {
2765
2826
  t7 = Symbol.for("react.early_return_sentinel");
2766
2827
  bb0: {
2767
2828
  const iconClass = (0, classnames.default)(ds_icon_module_default.icon, ds_icon_module_default[size], { [ds_icon_module_default.filled]: filled }, className);
2829
+ let t8;
2830
+ if ($[22] !== color || $[23] !== style) {
2831
+ t8 = color ? {
2832
+ color: resolveColor$1(color),
2833
+ ...style
2834
+ } : style;
2835
+ $[22] = color;
2836
+ $[23] = style;
2837
+ $[24] = t8;
2838
+ } else t8 = $[24];
2839
+ mergedStyle = t8;
2768
2840
  if (typeof icon === "function") {
2769
2841
  t7 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(icon, {
2770
2842
  className: iconClass,
2771
- style,
2843
+ style: mergedStyle,
2772
2844
  ...rest
2773
2845
  });
2774
2846
  break bb0;
@@ -2777,80 +2849,161 @@ const DsIcon = (t0) => {
2777
2849
  const SvgComponent_0 = customIcons[icon];
2778
2850
  t7 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SvgComponent_0, {
2779
2851
  className: iconClass,
2780
- style,
2852
+ style: mergedStyle,
2781
2853
  ...rest
2782
2854
  });
2783
2855
  break bb0;
2784
2856
  }
2785
2857
  t6 = (0, classnames.default)(iconClass, `material-symbols-${variant}`);
2786
2858
  }
2787
- $[10] = className;
2788
- $[11] = filled;
2789
- $[12] = icon;
2790
- $[13] = rest;
2791
- $[14] = size;
2792
- $[15] = style;
2793
- $[16] = variant;
2794
- $[17] = t6;
2795
- $[18] = t7;
2859
+ $[11] = className;
2860
+ $[12] = color;
2861
+ $[13] = filled;
2862
+ $[14] = icon;
2863
+ $[15] = rest;
2864
+ $[16] = size;
2865
+ $[17] = style;
2866
+ $[18] = variant;
2867
+ $[19] = mergedStyle;
2868
+ $[20] = t6;
2869
+ $[21] = t7;
2796
2870
  } else {
2797
- t6 = $[17];
2798
- t7 = $[18];
2871
+ mergedStyle = $[19];
2872
+ t6 = $[20];
2873
+ t7 = $[21];
2799
2874
  }
2800
2875
  if (t7 !== Symbol.for("react.early_return_sentinel")) return t7;
2801
2876
  let t8;
2802
- if ($[19] !== icon || $[20] !== rest || $[21] !== style || $[22] !== t6) {
2877
+ if ($[25] !== icon || $[26] !== mergedStyle || $[27] !== rest || $[28] !== t6) {
2803
2878
  t8 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
2804
2879
  className: t6,
2805
- style,
2880
+ style: mergedStyle,
2806
2881
  ...rest,
2807
2882
  children: icon
2808
2883
  });
2809
- $[19] = icon;
2810
- $[20] = rest;
2811
- $[21] = style;
2812
- $[22] = t6;
2813
- $[23] = t8;
2814
- } else t8 = $[23];
2884
+ $[25] = icon;
2885
+ $[26] = mergedStyle;
2886
+ $[27] = rest;
2887
+ $[28] = t6;
2888
+ $[29] = t8;
2889
+ } else t8 = $[29];
2815
2890
  return t8;
2816
2891
  };
2817
2892
  //#endregion
2818
- //#region src/components/ds-icon/ds-icon.types.ts
2819
- const iconSizes = [
2820
- "tiny",
2821
- "small",
2822
- "medium",
2823
- "large",
2824
- "extra-large"
2825
- ];
2826
- const iconVariants = ["outlined", "rounded"];
2827
- //#endregion
2828
2893
  //#region src/components/ds-typography/ds-typography.config.ts
2829
- const semanticElementMap = {
2830
- "body-md-reg": "p",
2831
- "body-md-md": "p",
2832
- "body-md-semi-bold": "p",
2833
- "body-md-bold": "p",
2834
- "body-md-link": "a",
2835
- "body-sm-reg": "span",
2836
- "body-sm-md": "span",
2837
- "body-sm-semi-bold": "span",
2838
- "body-sm-bold": "span",
2839
- "body-sm-link": "a",
2840
- "body-xs-reg": "span",
2841
- "body-xs-md": "span",
2842
- "body-xs-semi-bold": "span",
2843
- "body-xs-bold": "span",
2844
- "body-xs-link": "a",
2845
- "code-sm-reg": "code",
2846
- "code-sm-semi-bold": "code",
2847
- "code-xs-reg": "code",
2848
- "code-xs-semi-bold": "code",
2849
- heading1: "h1",
2850
- heading2: "h2",
2851
- heading3: "h3",
2852
- heading4: "h4"
2894
+ const typographyVariantConfig = {
2895
+ "body-md-reg": {
2896
+ element: "p",
2897
+ component: _ark_ui_react.ark.p
2898
+ },
2899
+ "body-md-md": {
2900
+ element: "p",
2901
+ component: _ark_ui_react.ark.p
2902
+ },
2903
+ "body-md-semi-bold": {
2904
+ element: "p",
2905
+ component: _ark_ui_react.ark.p
2906
+ },
2907
+ "body-md-bold": {
2908
+ element: "p",
2909
+ component: _ark_ui_react.ark.p
2910
+ },
2911
+ "body-md-link": {
2912
+ element: "a",
2913
+ component: _ark_ui_react.ark.a
2914
+ },
2915
+ "body-sm-reg": {
2916
+ element: "span",
2917
+ component: _ark_ui_react.ark.span
2918
+ },
2919
+ "body-sm-md": {
2920
+ element: "span",
2921
+ component: _ark_ui_react.ark.span
2922
+ },
2923
+ "body-sm-semi-bold": {
2924
+ element: "span",
2925
+ component: _ark_ui_react.ark.span
2926
+ },
2927
+ "body-sm-bold": {
2928
+ element: "span",
2929
+ component: _ark_ui_react.ark.span
2930
+ },
2931
+ "body-sm-link": {
2932
+ element: "a",
2933
+ component: _ark_ui_react.ark.a
2934
+ },
2935
+ "body-xs-reg": {
2936
+ element: "span",
2937
+ component: _ark_ui_react.ark.span
2938
+ },
2939
+ "body-xs-md": {
2940
+ element: "span",
2941
+ component: _ark_ui_react.ark.span
2942
+ },
2943
+ "body-xs-semi-bold": {
2944
+ element: "span",
2945
+ component: _ark_ui_react.ark.span
2946
+ },
2947
+ "body-xs-bold": {
2948
+ element: "span",
2949
+ component: _ark_ui_react.ark.span
2950
+ },
2951
+ "body-xs-link": {
2952
+ element: "a",
2953
+ component: _ark_ui_react.ark.a
2954
+ },
2955
+ "code-sm-reg": {
2956
+ element: "code",
2957
+ component: _ark_ui_react.ark.code
2958
+ },
2959
+ "code-sm-semi-bold": {
2960
+ element: "code",
2961
+ component: _ark_ui_react.ark.code
2962
+ },
2963
+ "code-xs-reg": {
2964
+ element: "code",
2965
+ component: _ark_ui_react.ark.code
2966
+ },
2967
+ "code-xs-semi-bold": {
2968
+ element: "code",
2969
+ component: _ark_ui_react.ark.code
2970
+ },
2971
+ heading1: {
2972
+ element: "h1",
2973
+ component: _ark_ui_react.ark.h1
2974
+ },
2975
+ heading2: {
2976
+ element: "h2",
2977
+ component: _ark_ui_react.ark.h2
2978
+ },
2979
+ heading3: {
2980
+ element: "h3",
2981
+ component: _ark_ui_react.ark.h3
2982
+ },
2983
+ heading4: {
2984
+ element: "h4",
2985
+ component: _ark_ui_react.ark.h4
2986
+ }
2853
2987
  };
2988
+ /** Semantic text colors backed by `--font-*` tokens in `_root_new.scss`. */
2989
+ const typographyColors = [
2990
+ "main",
2991
+ "secondary",
2992
+ "action",
2993
+ "action-hover",
2994
+ "action-secondary",
2995
+ "action-secondary-hover",
2996
+ "disabled",
2997
+ "light-disabled",
2998
+ "on-action",
2999
+ "on-disabled",
3000
+ "placeholder",
3001
+ "highlight",
3002
+ "success",
3003
+ "warning",
3004
+ "error",
3005
+ "code"
3006
+ ];
2854
3007
  //#endregion
2855
3008
  //#region src/components/ds-typography/ds-typography.module.scss
2856
3009
  var ds_typography_module_default = {
@@ -2880,56 +3033,79 @@ var ds_typography_module_default = {
2880
3033
  };
2881
3034
  //#endregion
2882
3035
  //#region src/components/ds-typography/ds-typography.tsx
3036
+ const semanticColorSet = new Set(typographyColors);
3037
+ const resolveColor = (color) => semanticColorSet.has(color) ? `var(--font-${color})` : color;
2883
3038
  const DsTypography = (t0) => {
2884
- const $ = (0, react_compiler_runtime.c)(16);
3039
+ const $ = (0, react_compiler_runtime.c)(23);
2885
3040
  let children;
2886
3041
  let className;
3042
+ let color;
2887
3043
  let props;
2888
3044
  let ref;
3045
+ let style;
2889
3046
  let t1;
2890
3047
  let variant;
2891
3048
  if ($[0] !== t0) {
2892
- ({ref, variant, asChild: t1, className, children, ...props} = t0);
3049
+ ({ref, variant, asChild: t1, className, style, color, children, ...props} = t0);
2893
3050
  $[0] = t0;
2894
3051
  $[1] = children;
2895
3052
  $[2] = className;
2896
- $[3] = props;
2897
- $[4] = ref;
2898
- $[5] = t1;
2899
- $[6] = variant;
3053
+ $[3] = color;
3054
+ $[4] = props;
3055
+ $[5] = ref;
3056
+ $[6] = style;
3057
+ $[7] = t1;
3058
+ $[8] = variant;
2900
3059
  } else {
2901
3060
  children = $[1];
2902
3061
  className = $[2];
2903
- props = $[3];
2904
- ref = $[4];
2905
- t1 = $[5];
2906
- variant = $[6];
3062
+ color = $[3];
3063
+ props = $[4];
3064
+ ref = $[5];
3065
+ style = $[6];
3066
+ t1 = $[7];
3067
+ variant = $[8];
2907
3068
  }
2908
- const Component = (t1 === void 0 ? false : t1) ? _radix_ui_react_slot.Slot : semanticElementMap[variant];
3069
+ const asChild = t1 === void 0 ? false : t1;
3070
+ const Component = typographyVariantConfig[variant].component;
2909
3071
  const t2 = ds_typography_module_default[variant];
2910
3072
  let t3;
2911
- if ($[7] !== className || $[8] !== t2) {
3073
+ if ($[9] !== className || $[10] !== t2) {
2912
3074
  t3 = (0, classnames.default)(t2, className);
2913
- $[7] = className;
2914
- $[8] = t2;
2915
- $[9] = t3;
2916
- } else t3 = $[9];
3075
+ $[9] = className;
3076
+ $[10] = t2;
3077
+ $[11] = t3;
3078
+ } else t3 = $[11];
2917
3079
  let t4;
2918
- if ($[10] !== Component || $[11] !== children || $[12] !== props || $[13] !== ref || $[14] !== t3) {
2919
- t4 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Component, {
3080
+ if ($[12] !== color || $[13] !== style) {
3081
+ t4 = color ? {
3082
+ color: resolveColor(color),
3083
+ ...style
3084
+ } : style;
3085
+ $[12] = color;
3086
+ $[13] = style;
3087
+ $[14] = t4;
3088
+ } else t4 = $[14];
3089
+ let t5;
3090
+ if ($[15] !== Component || $[16] !== asChild || $[17] !== children || $[18] !== props || $[19] !== ref || $[20] !== t3 || $[21] !== t4) {
3091
+ t5 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Component, {
2920
3092
  ref,
3093
+ asChild,
2921
3094
  className: t3,
3095
+ style: t4,
2922
3096
  ...props,
2923
3097
  children
2924
3098
  });
2925
- $[10] = Component;
2926
- $[11] = children;
2927
- $[12] = props;
2928
- $[13] = ref;
2929
- $[14] = t3;
2930
- $[15] = t4;
2931
- } else t4 = $[15];
2932
- return t4;
3099
+ $[15] = Component;
3100
+ $[16] = asChild;
3101
+ $[17] = children;
3102
+ $[18] = props;
3103
+ $[19] = ref;
3104
+ $[20] = t3;
3105
+ $[21] = t4;
3106
+ $[22] = t5;
3107
+ } else t5 = $[22];
3108
+ return t5;
2933
3109
  };
2934
3110
  //#endregion
2935
3111
  //#region src/components/ds-alert-banner/ds-alert-banner.tsx
@@ -3680,6 +3856,7 @@ var ds_dropdown_menu_module_default = {
3680
3856
  "separator": "AkHUyG_separator",
3681
3857
  "triggerItem": "AkHUyG_triggerItem",
3682
3858
  "triggerItemIcon": "AkHUyG_triggerItemIcon",
3859
+ "variant-error": "AkHUyG_variant-error",
3683
3860
  "viewportLegacy": "AkHUyG_viewportLegacy"
3684
3861
  };
3685
3862
  //#endregion
@@ -3905,7 +4082,7 @@ const Trigger = _ark_ui_react_menu.Menu.Trigger;
3905
4082
  /**
3906
4083
  * Content component - wraps the dropdown content
3907
4084
  */
3908
- const Content = (t0) => {
4085
+ const Content$1 = (t0) => {
3909
4086
  const $ = (0, react_compiler_runtime.c)(9);
3910
4087
  const { disablePortal: t1, children, className, style } = t0;
3911
4088
  const Wrapper = (t1 === void 0 ? false : t1) ? react.Fragment : _ark_ui_react_portal.Portal;
@@ -3940,20 +4117,22 @@ const Content = (t0) => {
3940
4117
  * Item component - renders a menu item
3941
4118
  */
3942
4119
  const Item$2 = (t0) => {
3943
- const $ = (0, react_compiler_runtime.c)(12);
3944
- const { disabled, selected, value, asChild, onClick, onSelect, children, className, style } = t0;
3945
- let t1;
3946
- if ($[0] !== className || $[1] !== selected) {
3947
- t1 = (0, classnames.default)(ds_dropdown_menu_module_default.item, { [ds_dropdown_menu_module_default.selected]: selected }, className);
4120
+ const $ = (0, react_compiler_runtime.c)(13);
4121
+ const { disabled, selected, variant: t1, value, asChild, onClick, onSelect, children, className, style } = t0;
4122
+ const variant = t1 === void 0 ? "default" : t1;
4123
+ let t2;
4124
+ if ($[0] !== className || $[1] !== selected || $[2] !== variant) {
4125
+ t2 = (0, classnames.default)(ds_dropdown_menu_module_default.item, { [ds_dropdown_menu_module_default.selected]: selected }, variant === "error" && ds_dropdown_menu_module_default["variant-error"], className);
3948
4126
  $[0] = className;
3949
4127
  $[1] = selected;
3950
- $[2] = t1;
3951
- } else t1 = $[2];
3952
- let t2;
3953
- if ($[3] !== asChild || $[4] !== children || $[5] !== disabled || $[6] !== onClick || $[7] !== onSelect || $[8] !== style || $[9] !== t1 || $[10] !== value) {
3954
- t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_menu.Menu.Item, {
4128
+ $[2] = variant;
4129
+ $[3] = t2;
4130
+ } else t2 = $[3];
4131
+ let t3;
4132
+ if ($[4] !== asChild || $[5] !== children || $[6] !== disabled || $[7] !== onClick || $[8] !== onSelect || $[9] !== style || $[10] !== t2 || $[11] !== value) {
4133
+ t3 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_menu.Menu.Item, {
3955
4134
  disabled,
3956
- className: t1,
4135
+ className: t2,
3957
4136
  style,
3958
4137
  value,
3959
4138
  asChild,
@@ -3961,17 +4140,17 @@ const Item$2 = (t0) => {
3961
4140
  onSelect,
3962
4141
  children
3963
4142
  });
3964
- $[3] = asChild;
3965
- $[4] = children;
3966
- $[5] = disabled;
3967
- $[6] = onClick;
3968
- $[7] = onSelect;
3969
- $[8] = style;
3970
- $[9] = t1;
3971
- $[10] = value;
3972
- $[11] = t2;
3973
- } else t2 = $[11];
3974
- return t2;
4143
+ $[4] = asChild;
4144
+ $[5] = children;
4145
+ $[6] = disabled;
4146
+ $[7] = onClick;
4147
+ $[8] = onSelect;
4148
+ $[9] = style;
4149
+ $[10] = t2;
4150
+ $[11] = value;
4151
+ $[12] = t3;
4152
+ } else t3 = $[12];
4153
+ return t3;
3975
4154
  };
3976
4155
  /**
3977
4156
  * ItemIndicator component - renders a selection indicator (check icon by default)
@@ -4008,7 +4187,7 @@ const ItemIndicator = (t0) => {
4008
4187
  /**
4009
4188
  * Header component - sticky header container for search, filters, or other controls
4010
4189
  */
4011
- const Header$3 = (t0) => {
4190
+ const Header$4 = (t0) => {
4012
4191
  const $ = (0, react_compiler_runtime.c)(6);
4013
4192
  const { children, className, style } = t0;
4014
4193
  let t1;
@@ -4484,11 +4663,11 @@ const DsDropdownMenuLegacy = (t0) => {
4484
4663
  const DsDropdownMenu = {
4485
4664
  Root: Root$3,
4486
4665
  Trigger,
4487
- Content,
4666
+ Content: Content$1,
4488
4667
  Item: Item$2,
4489
4668
  ItemIndicator,
4490
4669
  TriggerItem,
4491
- Header: Header$3,
4670
+ Header: Header$4,
4492
4671
  Actions: Actions$2,
4493
4672
  ItemGroup,
4494
4673
  ItemGroupLabel,
@@ -4502,6 +4681,9 @@ function _temp2$7(e) {
4502
4681
  return e.stopPropagation();
4503
4682
  }
4504
4683
  //#endregion
4684
+ //#region src/components/ds-dropdown-menu/ds-dropdown-menu.types.ts
4685
+ const dropdownMenuItemVariants = ["default", "error"];
4686
+ //#endregion
4505
4687
  //#region src/components/ds-breadcrumb/ds-breadcrumb.tsx
4506
4688
  /**
4507
4689
  * Design system Breadcrumb component
@@ -5323,7 +5505,7 @@ const Root$2 = (t0) => {
5323
5505
  * Use with DsCard.Title and DsCard.Extra for standard layout,
5324
5506
  * or provide custom children for full flexibility.
5325
5507
  */
5326
- const Header$2 = (t0) => {
5508
+ const Header$3 = (t0) => {
5327
5509
  const $ = (0, react_compiler_runtime.c)(12);
5328
5510
  let children;
5329
5511
  let className;
@@ -5411,7 +5593,7 @@ const Body$2 = (t0) => {
5411
5593
  /**
5412
5594
  * Card footer - bottom section for actions or additional info.
5413
5595
  */
5414
- const Footer$2 = (t0) => {
5596
+ const Footer$3 = (t0) => {
5415
5597
  const $ = (0, react_compiler_runtime.c)(12);
5416
5598
  let children;
5417
5599
  let className;
@@ -5454,9 +5636,9 @@ const Footer$2 = (t0) => {
5454
5636
  };
5455
5637
  const DsCard = {
5456
5638
  Root: Root$2,
5457
- Header: Header$2,
5639
+ Header: Header$3,
5458
5640
  Body: Body$2,
5459
- Footer: Footer$2
5641
+ Footer: Footer$3
5460
5642
  };
5461
5643
  //#endregion
5462
5644
  //#region src/components/ds-card/ds-card.types.ts
@@ -5468,13 +5650,13 @@ const cardSizes = [
5468
5650
  //#endregion
5469
5651
  //#region src/components/ds-checkbox/ds-checkbox.module.scss
5470
5652
  var ds_checkbox_module_default = {
5471
- "checkboxIndicator": "-9VV7a_checkboxIndicator",
5472
- "checkboxRoot": "-9VV7a_checkboxRoot",
5473
- "checkboxWrapper": "-9VV7a_checkboxWrapper",
5474
- "container": "-9VV7a_container",
5475
- "default": "-9VV7a_default",
5653
+ "control": "-9VV7a_control",
5654
+ "hiddenInput": "-9VV7a_hiddenInput",
5655
+ "indicator": "-9VV7a_indicator",
5476
5656
  "label": "-9VV7a_label",
5657
+ "labelColumn": "-9VV7a_labelColumn",
5477
5658
  "labelInfo": "-9VV7a_labelInfo",
5659
+ "root": "-9VV7a_root",
5478
5660
  "warning": "-9VV7a_warning"
5479
5661
  };
5480
5662
  //#endregion
@@ -5483,118 +5665,202 @@ var ds_checkbox_module_default = {
5483
5665
  * Design system Checkbox component
5484
5666
  */
5485
5667
  const DsCheckbox = (t0) => {
5486
- const $ = (0, react_compiler_runtime.c)(30);
5487
- let checked;
5668
+ const $ = (0, react_compiler_runtime.c)(25);
5488
5669
  let className;
5489
- let defaultChecked;
5490
- let id;
5491
5670
  let label;
5492
5671
  let labelInfo;
5493
5672
  let onCheckedChange;
5494
5673
  let props;
5495
5674
  let t1;
5675
+ let value;
5496
5676
  if ($[0] !== t0) {
5497
- ({id, variant: t1, label, labelInfo, className, checked, defaultChecked, onCheckedChange, ...props} = t0);
5677
+ ({variant: t1, label, labelInfo, className, onCheckedChange, value, ...props} = t0);
5498
5678
  $[0] = t0;
5499
- $[1] = checked;
5500
- $[2] = className;
5501
- $[3] = defaultChecked;
5502
- $[4] = id;
5503
- $[5] = label;
5504
- $[6] = labelInfo;
5505
- $[7] = onCheckedChange;
5506
- $[8] = props;
5507
- $[9] = t1;
5679
+ $[1] = className;
5680
+ $[2] = label;
5681
+ $[3] = labelInfo;
5682
+ $[4] = onCheckedChange;
5683
+ $[5] = props;
5684
+ $[6] = t1;
5685
+ $[7] = value;
5508
5686
  } else {
5509
- checked = $[1];
5510
- className = $[2];
5511
- defaultChecked = $[3];
5512
- id = $[4];
5513
- label = $[5];
5514
- labelInfo = $[6];
5515
- onCheckedChange = $[7];
5516
- props = $[8];
5517
- t1 = $[9];
5687
+ className = $[1];
5688
+ label = $[2];
5689
+ labelInfo = $[3];
5690
+ onCheckedChange = $[4];
5691
+ props = $[5];
5692
+ t1 = $[6];
5693
+ value = $[7];
5518
5694
  }
5519
- const variant = t1 === void 0 ? "default" : t1;
5520
- const generatedId = (0, react.useId)();
5521
- const checkboxId = id || generatedId;
5522
- const t2 = ds_checkbox_module_default[variant];
5695
+ const t2 = (t1 === void 0 ? "default" : t1) === "warning" && ds_checkbox_module_default.warning;
5523
5696
  let t3;
5524
- if ($[10] !== className || $[11] !== t2) {
5525
- t3 = (0, classnames.default)(ds_checkbox_module_default.container, t2, className);
5526
- $[10] = className;
5527
- $[11] = t2;
5528
- $[12] = t3;
5529
- } else t3 = $[12];
5530
- const t4 = checked === "indeterminate" ? "check_indeterminate_small" : "check_small";
5531
- let t5;
5532
- if ($[13] !== t4) {
5533
- t5 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5534
- className: ds_checkbox_module_default.checkboxWrapper,
5535
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_checkbox.Indicator, {
5536
- className: ds_checkbox_module_default.checkboxIndicator,
5537
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
5538
- icon: t4,
5539
- size: "small",
5540
- variant: "outlined"
5541
- })
5542
- })
5543
- });
5544
- $[13] = t4;
5545
- $[14] = t5;
5546
- } else t5 = $[14];
5697
+ if ($[8] !== className || $[9] !== t2) {
5698
+ t3 = (0, classnames.default)(ds_checkbox_module_default.root, t2, className);
5699
+ $[8] = className;
5700
+ $[9] = t2;
5701
+ $[10] = t3;
5702
+ } else t3 = $[10];
5703
+ let t4;
5704
+ if ($[11] !== onCheckedChange) {
5705
+ t4 = (details) => onCheckedChange?.(details.checked);
5706
+ $[11] = onCheckedChange;
5707
+ $[12] = t4;
5708
+ } else t4 = $[12];
5709
+ const t5 = value === void 0 ? void 0 : String(value);
5547
5710
  let t6;
5548
- if ($[15] !== checkboxId || $[16] !== checked || $[17] !== defaultChecked || $[18] !== onCheckedChange || $[19] !== props || $[20] !== t5) {
5549
- t6 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_checkbox.Root, {
5550
- className: ds_checkbox_module_default.checkboxRoot,
5551
- id: checkboxId,
5552
- checked,
5553
- defaultChecked,
5554
- onCheckedChange,
5555
- ...props,
5556
- children: t5
5711
+ if ($[13] === Symbol.for("react.memo_cache_sentinel")) {
5712
+ t6 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_checkbox.Checkbox.Indicator, {
5713
+ className: ds_checkbox_module_default.indicator,
5714
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
5715
+ icon: "check_small",
5716
+ size: "tiny",
5717
+ variant: "rounded"
5718
+ })
5557
5719
  });
5558
- $[15] = checkboxId;
5559
- $[16] = checked;
5560
- $[17] = defaultChecked;
5561
- $[18] = onCheckedChange;
5562
- $[19] = props;
5563
- $[20] = t5;
5564
- $[21] = t6;
5565
- } else t6 = $[21];
5720
+ $[13] = t6;
5721
+ } else t6 = $[13];
5566
5722
  let t7;
5567
- if ($[22] !== checkboxId || $[23] !== label || $[24] !== labelInfo) {
5568
- t7 = label && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
5569
- className: ds_checkbox_module_default.label,
5570
- htmlFor: checkboxId,
5571
- children: [label, labelInfo && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5723
+ let t8;
5724
+ if ($[14] === Symbol.for("react.memo_cache_sentinel")) {
5725
+ t7 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_ark_ui_react_checkbox.Checkbox.Control, {
5726
+ className: ds_checkbox_module_default.control,
5727
+ children: [t6, /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_checkbox.Checkbox.Indicator, {
5728
+ className: ds_checkbox_module_default.indicator,
5729
+ indeterminate: true,
5730
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
5731
+ icon: "check_indeterminate_small",
5732
+ size: "tiny",
5733
+ variant: "rounded"
5734
+ })
5735
+ })]
5736
+ });
5737
+ t8 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_checkbox.Checkbox.HiddenInput, { className: ds_checkbox_module_default.hiddenInput });
5738
+ $[14] = t7;
5739
+ $[15] = t8;
5740
+ } else {
5741
+ t7 = $[14];
5742
+ t8 = $[15];
5743
+ }
5744
+ let t9;
5745
+ if ($[16] !== label || $[17] !== labelInfo) {
5746
+ t9 = (label || labelInfo) && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
5747
+ className: ds_checkbox_module_default.labelColumn,
5748
+ children: [label && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_checkbox.Checkbox.Label, {
5749
+ className: ds_checkbox_module_default.label,
5750
+ children: label
5751
+ }), labelInfo && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5572
5752
  className: ds_checkbox_module_default.labelInfo,
5573
5753
  children: labelInfo
5574
5754
  })]
5575
5755
  });
5576
- $[22] = checkboxId;
5577
- $[23] = label;
5578
- $[24] = labelInfo;
5579
- $[25] = t7;
5580
- } else t7 = $[25];
5581
- let t8;
5582
- if ($[26] !== t3 || $[27] !== t6 || $[28] !== t7) {
5583
- t8 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
5756
+ $[16] = label;
5757
+ $[17] = labelInfo;
5758
+ $[18] = t9;
5759
+ } else t9 = $[18];
5760
+ let t10;
5761
+ if ($[19] !== props || $[20] !== t3 || $[21] !== t4 || $[22] !== t5 || $[23] !== t9) {
5762
+ t10 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_ark_ui_react_checkbox.Checkbox.Root, {
5584
5763
  className: t3,
5585
- children: [t6, t7]
5586
- });
5587
- $[26] = t3;
5588
- $[27] = t6;
5589
- $[28] = t7;
5590
- $[29] = t8;
5591
- } else t8 = $[29];
5592
- return t8;
5764
+ onCheckedChange: t4,
5765
+ ...props,
5766
+ value: t5,
5767
+ children: [
5768
+ t7,
5769
+ t8,
5770
+ t9
5771
+ ]
5772
+ });
5773
+ $[19] = props;
5774
+ $[20] = t3;
5775
+ $[21] = t4;
5776
+ $[22] = t5;
5777
+ $[23] = t9;
5778
+ $[24] = t10;
5779
+ } else t10 = $[24];
5780
+ return t10;
5593
5781
  };
5594
5782
  //#endregion
5595
5783
  //#region src/components/ds-checkbox/ds-checkbox.types.ts
5596
5784
  const checkboxVariants = ["default", "warning"];
5597
5785
  //#endregion
5786
+ //#region src/components/ds-checkbox-group/ds-checkbox-group.module.scss
5787
+ var ds_checkbox_group_module_default = {
5788
+ "horizontal": "f9-vsG_horizontal",
5789
+ "root": "f9-vsG_root",
5790
+ "vertical": "f9-vsG_vertical"
5791
+ };
5792
+ //#endregion
5793
+ //#region src/components/ds-checkbox-group/ds-checkbox-group.tsx
5794
+ const DsCheckboxGroup = (t0) => {
5795
+ const $ = (0, react_compiler_runtime.c)(12);
5796
+ let children;
5797
+ let className;
5798
+ let props;
5799
+ let t1;
5800
+ if ($[0] !== t0) {
5801
+ ({orientation: t1, className, children, ...props} = t0);
5802
+ $[0] = t0;
5803
+ $[1] = children;
5804
+ $[2] = className;
5805
+ $[3] = props;
5806
+ $[4] = t1;
5807
+ } else {
5808
+ children = $[1];
5809
+ className = $[2];
5810
+ props = $[3];
5811
+ t1 = $[4];
5812
+ }
5813
+ const t2 = ds_checkbox_group_module_default[t1 === void 0 ? "vertical" : t1];
5814
+ let t3;
5815
+ if ($[5] !== className || $[6] !== t2) {
5816
+ t3 = (0, classnames.default)(ds_checkbox_group_module_default.root, t2, className);
5817
+ $[5] = className;
5818
+ $[6] = t2;
5819
+ $[7] = t3;
5820
+ } else t3 = $[7];
5821
+ let t4;
5822
+ if ($[8] !== children || $[9] !== props || $[10] !== t3) {
5823
+ t4 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_checkbox.Checkbox.Group, {
5824
+ className: t3,
5825
+ ...props,
5826
+ children
5827
+ });
5828
+ $[8] = children;
5829
+ $[9] = props;
5830
+ $[10] = t3;
5831
+ $[11] = t4;
5832
+ } else t4 = $[11];
5833
+ return t4;
5834
+ };
5835
+ //#endregion
5836
+ //#region src/components/ds-checkbox-group/hooks/use-checkbox-select-all.ts
5837
+ /**
5838
+ * Headless helper for a "select all" checkbox bound to a checkbox group.
5839
+ *
5840
+ * - Derives tri-state (`true` / `false` / `'indeterminate'`) from current selection.
5841
+ * - Toggling selects or clears only selectable values; preserves any already-selected
5842
+ * non-selectable values so bulk actions don't silently mutate protected items.
5843
+ */
5844
+ function useCheckboxSelectAll({ value, allValues, onValueChange, isSelectable }) {
5845
+ const selectableValues = isSelectable ? allValues.filter(isSelectable) : [...allValues];
5846
+ const selectableSet = new Set(selectableValues);
5847
+ const selectedCount = value.reduce((count, v) => selectableSet.has(v) ? count + 1 : count, 0);
5848
+ const selectableCount = selectableValues.length;
5849
+ let selectAllState = "indeterminate";
5850
+ if (selectableCount === 0 || selectedCount === 0) selectAllState = false;
5851
+ else if (selectedCount === selectableCount) selectAllState = true;
5852
+ const onSelectAllChange = (checked) => {
5853
+ const preserved = value.filter((v) => !selectableSet.has(v));
5854
+ onValueChange(checked === true ? [...preserved, ...selectableValues] : preserved);
5855
+ };
5856
+ return {
5857
+ selectAllState,
5858
+ selectedCount,
5859
+ selectableCount,
5860
+ onSelectAllChange
5861
+ };
5862
+ }
5863
+ //#endregion
5598
5864
  //#region src/components/ds-chip/ds-chip.module.scss
5599
5865
  var ds_chip_module_default = {
5600
5866
  "chip": "w6Idwa_chip",
@@ -7695,7 +7961,7 @@ const DsDrawer = (t0) => {
7695
7961
  } else t15 = $[24];
7696
7962
  return t15;
7697
7963
  };
7698
- const Header$1 = (t0) => {
7964
+ const Header$2 = (t0) => {
7699
7965
  const $ = (0, react_compiler_runtime.c)(6);
7700
7966
  const { style, className, children } = t0;
7701
7967
  let t1;
@@ -7827,7 +8093,7 @@ const Body$1 = (t0) => {
7827
8093
  } else t2 = $[5];
7828
8094
  return t2;
7829
8095
  };
7830
- const Footer$1 = (t0) => {
8096
+ const Footer$2 = (t0) => {
7831
8097
  const $ = (0, react_compiler_runtime.c)(6);
7832
8098
  const { style, className, children } = t0;
7833
8099
  let t1;
@@ -7873,12 +8139,12 @@ const Actions$1 = (t0) => {
7873
8139
  } else t2 = $[5];
7874
8140
  return t2;
7875
8141
  };
7876
- DsDrawer.Header = Header$1;
8142
+ DsDrawer.Header = Header$2;
7877
8143
  DsDrawer.Title = Title$1;
7878
8144
  DsDrawer.CloseTrigger = CloseTrigger$1;
7879
8145
  DsDrawer.Toolbar = Toolbar;
7880
8146
  DsDrawer.Body = Body$1;
7881
- DsDrawer.Footer = Footer$1;
8147
+ DsDrawer.Footer = Footer$2;
7882
8148
  DsDrawer.Actions = Actions$1;
7883
8149
  //#endregion
7884
8150
  //#region src/components/ds-tag-filter/ds-tag-filter.module.scss
@@ -8491,7 +8757,7 @@ const DsModal = (t0) => {
8491
8757
  } else t12 = $[19];
8492
8758
  return t12;
8493
8759
  };
8494
- const Header = (t0) => {
8760
+ const Header$1 = (t0) => {
8495
8761
  const $ = (0, react_compiler_runtime.c)(6);
8496
8762
  const { style, className, children } = t0;
8497
8763
  let t1;
@@ -8594,7 +8860,7 @@ const Body = (t0) => {
8594
8860
  } else t2 = $[5];
8595
8861
  return t2;
8596
8862
  };
8597
- const Footer = (t0) => {
8863
+ const Footer$1 = (t0) => {
8598
8864
  const $ = (0, react_compiler_runtime.c)(6);
8599
8865
  const { style, className, children } = t0;
8600
8866
  let t1;
@@ -8640,11 +8906,11 @@ const Actions = (t0) => {
8640
8906
  } else t2 = $[5];
8641
8907
  return t2;
8642
8908
  };
8643
- DsModal.Header = Header;
8909
+ DsModal.Header = Header$1;
8644
8910
  DsModal.Title = Title;
8645
8911
  DsModal.CloseTrigger = CloseTrigger;
8646
8912
  DsModal.Body = Body;
8647
- DsModal.Footer = Footer;
8913
+ DsModal.Footer = Footer$1;
8648
8914
  DsModal.Actions = Actions;
8649
8915
  //#endregion
8650
8916
  //#region src/components/ds-tabs/components/ds-tabs-list/ds-tabs-list.module.scss
@@ -10810,13 +11076,16 @@ const useControlled = (value, setValue, defaultValue) => {
10810
11076
  //#region src/components/ds-time-picker/ds-time-picker.module.scss
10811
11077
  var ds_time_picker_module_default = {
10812
11078
  "clearTrigger": "qkvYYW_clearTrigger",
11079
+ "collapse": "qkvYYW_collapse",
11080
+ "content": "qkvYYW_content",
11081
+ "expand": "qkvYYW_expand",
10813
11082
  "root": "qkvYYW_root"
10814
11083
  };
10815
11084
  //#endregion
10816
11085
  //#region src/components/ds-time-picker/ds-time-picker.tsx
10817
11086
  const DsTimePicker = (props) => {
10818
- const $ = (0, react_compiler_runtime.c)(68);
10819
- const { id, ref, className, placeholder, min, max, disabled, readOnly, hideClearButton: t0, disablePortal: t1, locale, slotProps } = props;
11087
+ const $ = (0, react_compiler_runtime.c)(72);
11088
+ const { id, ref, className, placeholder, min, max, disabled, readOnly, hideClearButton: t0, disablePortal: t1, locale, slotProps, onBlur } = props;
10820
11089
  const hideClearButton = t0 === void 0 ? false : t0;
10821
11090
  const disablePortal = t1 === void 0 ? false : t1;
10822
11091
  const [value, setValue] = useControlled(props.value, props.onChange, props.defaultValue ?? null);
@@ -10889,12 +11158,13 @@ const DsTimePicker = (props) => {
10889
11158
  } else t7 = $[12];
10890
11159
  const resetInput = t7;
10891
11160
  let t8;
10892
- if ($[13] !== resetInput || $[14] !== setValue || $[15] !== value) {
11161
+ if ($[13] !== onBlur || $[14] !== resetInput || $[15] !== setValue || $[16] !== value) {
10893
11162
  t8 = () => {
10894
11163
  setIsFocused(false);
10895
11164
  const inputVal_0 = inputRef.current?.value ?? "";
10896
11165
  if (!inputVal_0) {
10897
11166
  setValue(null);
11167
+ onBlur?.();
10898
11168
  return;
10899
11169
  }
10900
11170
  const parsed_0 = parseTime(inputVal_0);
@@ -10903,45 +11173,47 @@ const DsTimePicker = (props) => {
10903
11173
  newDate_0.setHours(parsed_0.hours, parsed_0.minutes, 0, 0);
10904
11174
  setValue(newDate_0);
10905
11175
  } else resetInput();
11176
+ onBlur?.();
10906
11177
  };
10907
- $[13] = resetInput;
10908
- $[14] = setValue;
10909
- $[15] = value;
10910
- $[16] = t8;
10911
- } else t8 = $[16];
11178
+ $[13] = onBlur;
11179
+ $[14] = resetInput;
11180
+ $[15] = setValue;
11181
+ $[16] = value;
11182
+ $[17] = t8;
11183
+ } else t8 = $[17];
10912
11184
  const handleBlur = t8;
10913
11185
  let t9;
10914
- if ($[17] !== disabled || $[18] !== readOnly || $[19] !== setIsOpen) {
11186
+ if ($[18] !== disabled || $[19] !== readOnly || $[20] !== setIsOpen) {
10915
11187
  t9 = (details) => {
10916
11188
  if (disabled || readOnly) return;
10917
11189
  setIsOpen(details.open);
10918
11190
  };
10919
- $[17] = disabled;
10920
- $[18] = readOnly;
10921
- $[19] = setIsOpen;
10922
- $[20] = t9;
10923
- } else t9 = $[20];
11191
+ $[18] = disabled;
11192
+ $[19] = readOnly;
11193
+ $[20] = setIsOpen;
11194
+ $[21] = t9;
11195
+ } else t9 = $[21];
10924
11196
  const handleOpenChange = t9;
10925
11197
  const showClearButton = !hideClearButton && !disabled && !readOnly && !!value;
10926
11198
  const Wrapper = disablePortal ? react.Fragment : _ark_ui_react_portal.Portal;
10927
11199
  let t10;
10928
- if ($[21] === Symbol.for("react.memo_cache_sentinel")) {
11200
+ if ($[22] === Symbol.for("react.memo_cache_sentinel")) {
10929
11201
  t10 = {
10930
11202
  placement: "bottom-start",
10931
11203
  gutter: 4
10932
11204
  };
10933
- $[21] = t10;
10934
- } else t10 = $[21];
11205
+ $[22] = t10;
11206
+ } else t10 = $[22];
10935
11207
  let t11;
10936
- if ($[22] !== className) {
11208
+ if ($[23] !== className) {
10937
11209
  t11 = (0, classnames.default)(ds_time_picker_module_default.root, className);
10938
- $[22] = className;
10939
- $[23] = t11;
10940
- } else t11 = $[23];
11210
+ $[23] = className;
11211
+ $[24] = t11;
11212
+ } else t11 = $[24];
10941
11213
  const t12 = placeholder ?? "hh:mm AM/PM";
10942
11214
  const t13 = slotProps?.input;
10943
11215
  let t14;
10944
- if ($[24] !== disabled || $[25] !== locale?.clearLabel || $[26] !== locale?.openLabel || $[27] !== readOnly || $[28] !== setValue || $[29] !== showClearButton || $[30] !== slotProps?.input?.slots?.endAdornment) {
11216
+ if ($[25] !== disabled || $[26] !== locale?.clearLabel || $[27] !== locale?.openLabel || $[28] !== readOnly || $[29] !== setValue || $[30] !== showClearButton || $[31] !== slotProps?.input?.slots?.endAdornment) {
10945
11217
  t14 = slotProps?.input?.slots?.endAdornment ?? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [showClearButton && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsButton, {
10946
11218
  className: ds_time_picker_module_default.clearTrigger,
10947
11219
  design: "v1.2",
@@ -10969,28 +11241,28 @@ const DsTimePicker = (props) => {
10969
11241
  })
10970
11242
  })
10971
11243
  })] });
10972
- $[24] = disabled;
10973
- $[25] = locale?.clearLabel;
10974
- $[26] = locale?.openLabel;
10975
- $[27] = readOnly;
10976
- $[28] = setValue;
10977
- $[29] = showClearButton;
10978
- $[30] = slotProps?.input?.slots?.endAdornment;
10979
- $[31] = t14;
10980
- } else t14 = $[31];
11244
+ $[25] = disabled;
11245
+ $[26] = locale?.clearLabel;
11246
+ $[27] = locale?.openLabel;
11247
+ $[28] = readOnly;
11248
+ $[29] = setValue;
11249
+ $[30] = showClearButton;
11250
+ $[31] = slotProps?.input?.slots?.endAdornment;
11251
+ $[32] = t14;
11252
+ } else t14 = $[32];
10981
11253
  const t15 = slotProps?.input?.slots;
10982
11254
  let t16;
10983
- if ($[32] !== t14 || $[33] !== t15) {
11255
+ if ($[33] !== t14 || $[34] !== t15) {
10984
11256
  t16 = {
10985
11257
  endAdornment: t14,
10986
11258
  ...t15
10987
11259
  };
10988
- $[32] = t14;
10989
- $[33] = t15;
10990
- $[34] = t16;
10991
- } else t16 = $[34];
11260
+ $[33] = t14;
11261
+ $[34] = t15;
11262
+ $[35] = t16;
11263
+ } else t16 = $[35];
10992
11264
  let t17;
10993
- if ($[35] !== disabled || $[36] !== formattedValue || $[37] !== handleBlur || $[38] !== handleInputChange || $[39] !== id || $[40] !== readOnly || $[41] !== t12 || $[42] !== t13 || $[43] !== t16) {
11265
+ if ($[36] !== disabled || $[37] !== formattedValue || $[38] !== handleBlur || $[39] !== handleInputChange || $[40] !== id || $[41] !== readOnly || $[42] !== t12 || $[43] !== t13 || $[44] !== t16) {
10994
11266
  t17 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTextInput, {
10995
11267
  ref: inputRef,
10996
11268
  id,
@@ -11004,19 +11276,19 @@ const DsTimePicker = (props) => {
11004
11276
  ...t13,
11005
11277
  slots: t16
11006
11278
  });
11007
- $[35] = disabled;
11008
- $[36] = formattedValue;
11009
- $[37] = handleBlur;
11010
- $[38] = handleInputChange;
11011
- $[39] = id;
11012
- $[40] = readOnly;
11013
- $[41] = t12;
11014
- $[42] = t13;
11015
- $[43] = t16;
11016
- $[44] = t17;
11017
- } else t17 = $[44];
11279
+ $[36] = disabled;
11280
+ $[37] = formattedValue;
11281
+ $[38] = handleBlur;
11282
+ $[39] = handleInputChange;
11283
+ $[40] = id;
11284
+ $[41] = readOnly;
11285
+ $[42] = t12;
11286
+ $[43] = t13;
11287
+ $[44] = t16;
11288
+ $[45] = t17;
11289
+ } else t17 = $[45];
11018
11290
  let t18;
11019
- if ($[45] !== ref || $[46] !== t11 || $[47] !== t17) {
11291
+ if ($[46] !== ref || $[47] !== t11 || $[48] !== t17) {
11020
11292
  t18 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_popover.Popover.Anchor, {
11021
11293
  asChild: true,
11022
11294
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
@@ -11025,63 +11297,72 @@ const DsTimePicker = (props) => {
11025
11297
  children: t17
11026
11298
  })
11027
11299
  });
11028
- $[45] = ref;
11029
- $[46] = t11;
11030
- $[47] = t17;
11031
- $[48] = t18;
11032
- } else t18 = $[48];
11300
+ $[46] = ref;
11301
+ $[47] = t11;
11302
+ $[48] = t17;
11303
+ $[49] = t18;
11304
+ } else t18 = $[49];
11033
11305
  const t19 = slotProps?.popover;
11034
- let t20;
11035
- if ($[49] !== max || $[50] !== min || $[51] !== setValue || $[52] !== value) {
11036
- t20 = timeScrollerAdapter(value, setValue, min, max);
11037
- $[49] = max;
11038
- $[50] = min;
11039
- $[51] = setValue;
11040
- $[52] = value;
11041
- $[53] = t20;
11042
- } else t20 = $[53];
11306
+ const t20 = slotProps?.popover?.className;
11043
11307
  let t21;
11044
- if ($[54] !== isOpen || $[55] !== t20) {
11045
- t21 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TimeScroller, {
11308
+ if ($[50] !== t20) {
11309
+ t21 = (0, classnames.default)(ds_time_picker_module_default.content, t20);
11310
+ $[50] = t20;
11311
+ $[51] = t21;
11312
+ } else t21 = $[51];
11313
+ let t22;
11314
+ if ($[52] !== max || $[53] !== min || $[54] !== setValue || $[55] !== value) {
11315
+ t22 = timeScrollerAdapter(value, setValue, min, max);
11316
+ $[52] = max;
11317
+ $[53] = min;
11318
+ $[54] = setValue;
11319
+ $[55] = value;
11320
+ $[56] = t22;
11321
+ } else t22 = $[56];
11322
+ let t23;
11323
+ if ($[57] !== isOpen || $[58] !== t22) {
11324
+ t23 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TimeScroller, {
11046
11325
  open: isOpen,
11047
- ...t20
11326
+ ...t22
11048
11327
  });
11049
- $[54] = isOpen;
11050
- $[55] = t20;
11051
- $[56] = t21;
11052
- } else t21 = $[56];
11053
- let t22;
11054
- if ($[57] !== t19 || $[58] !== t21) {
11055
- t22 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_popover.Popover.Positioner, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_popover.Popover.Content, {
11328
+ $[57] = isOpen;
11329
+ $[58] = t22;
11330
+ $[59] = t23;
11331
+ } else t23 = $[59];
11332
+ let t24;
11333
+ if ($[60] !== t19 || $[61] !== t21 || $[62] !== t23) {
11334
+ t24 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_popover.Popover.Positioner, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_popover.Popover.Content, {
11056
11335
  ...t19,
11057
- children: t21
11336
+ className: t21,
11337
+ children: t23
11058
11338
  }) });
11059
- $[57] = t19;
11060
- $[58] = t21;
11061
- $[59] = t22;
11062
- } else t22 = $[59];
11063
- let t23;
11064
- if ($[60] !== Wrapper || $[61] !== t22) {
11065
- t23 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Wrapper, { children: t22 });
11066
- $[60] = Wrapper;
11067
- $[61] = t22;
11339
+ $[60] = t19;
11340
+ $[61] = t21;
11068
11341
  $[62] = t23;
11069
- } else t23 = $[62];
11070
- let t24;
11071
- if ($[63] !== handleOpenChange || $[64] !== isOpen || $[65] !== t18 || $[66] !== t23) {
11072
- t24 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_ark_ui_react_popover.Popover.Root, {
11342
+ $[63] = t24;
11343
+ } else t24 = $[63];
11344
+ let t25;
11345
+ if ($[64] !== Wrapper || $[65] !== t24) {
11346
+ t25 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Wrapper, { children: t24 });
11347
+ $[64] = Wrapper;
11348
+ $[65] = t24;
11349
+ $[66] = t25;
11350
+ } else t25 = $[66];
11351
+ let t26;
11352
+ if ($[67] !== handleOpenChange || $[68] !== isOpen || $[69] !== t18 || $[70] !== t25) {
11353
+ t26 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_ark_ui_react_popover.Popover.Root, {
11073
11354
  open: isOpen,
11074
11355
  onOpenChange: handleOpenChange,
11075
11356
  positioning: t10,
11076
- children: [t18, t23]
11077
- });
11078
- $[63] = handleOpenChange;
11079
- $[64] = isOpen;
11080
- $[65] = t18;
11081
- $[66] = t23;
11082
- $[67] = t24;
11083
- } else t24 = $[67];
11084
- return t24;
11357
+ children: [t18, t25]
11358
+ });
11359
+ $[67] = handleOpenChange;
11360
+ $[68] = isOpen;
11361
+ $[69] = t18;
11362
+ $[70] = t25;
11363
+ $[71] = t26;
11364
+ } else t26 = $[71];
11365
+ return t26;
11085
11366
  };
11086
11367
  //#endregion
11087
11368
  //#region src/components/ds-date-picker/ds-date-picker.module.scss
@@ -11317,7 +11598,7 @@ function _temp3$1(datePicker) {
11317
11598
  //#endregion
11318
11599
  //#region src/components/ds-date-picker/ds-date-picker.tsx
11319
11600
  const DsDatePicker = (t0) => {
11320
- const $ = (0, react_compiler_runtime.c)(121);
11601
+ const $ = (0, react_compiler_runtime.c)(123);
11321
11602
  let _defaultValue;
11322
11603
  let _max;
11323
11604
  let _min;
@@ -11326,6 +11607,7 @@ const DsDatePicker = (t0) => {
11326
11607
  let disabled;
11327
11608
  let id;
11328
11609
  let locale;
11610
+ let onBlur;
11329
11611
  let onChange;
11330
11612
  let onOpenChange;
11331
11613
  let placeholder;
@@ -11337,7 +11619,7 @@ const DsDatePicker = (t0) => {
11337
11619
  let t3;
11338
11620
  let t4;
11339
11621
  if ($[0] !== t0) {
11340
- ({placeholder, className, withTime: t1, closeOnSelect: t2, disablePortal: t3, hideClearButton: t4, locale, slotProps, onChange, onOpenChange, value: _value, defaultValue: _defaultValue, min: _min, max: _max, disabled, readOnly, id, ...restProps} = t0);
11622
+ ({placeholder, className, withTime: t1, closeOnSelect: t2, disablePortal: t3, hideClearButton: t4, locale, slotProps, onChange, onOpenChange, onBlur, value: _value, defaultValue: _defaultValue, min: _min, max: _max, disabled, readOnly, id, ...restProps} = t0);
11341
11623
  $[0] = t0;
11342
11624
  $[1] = _defaultValue;
11343
11625
  $[2] = _max;
@@ -11347,16 +11629,17 @@ const DsDatePicker = (t0) => {
11347
11629
  $[6] = disabled;
11348
11630
  $[7] = id;
11349
11631
  $[8] = locale;
11350
- $[9] = onChange;
11351
- $[10] = onOpenChange;
11352
- $[11] = placeholder;
11353
- $[12] = readOnly;
11354
- $[13] = restProps;
11355
- $[14] = slotProps;
11356
- $[15] = t1;
11357
- $[16] = t2;
11358
- $[17] = t3;
11359
- $[18] = t4;
11632
+ $[9] = onBlur;
11633
+ $[10] = onChange;
11634
+ $[11] = onOpenChange;
11635
+ $[12] = placeholder;
11636
+ $[13] = readOnly;
11637
+ $[14] = restProps;
11638
+ $[15] = slotProps;
11639
+ $[16] = t1;
11640
+ $[17] = t2;
11641
+ $[18] = t3;
11642
+ $[19] = t4;
11360
11643
  } else {
11361
11644
  _defaultValue = $[1];
11362
11645
  _max = $[2];
@@ -11366,84 +11649,85 @@ const DsDatePicker = (t0) => {
11366
11649
  disabled = $[6];
11367
11650
  id = $[7];
11368
11651
  locale = $[8];
11369
- onChange = $[9];
11370
- onOpenChange = $[10];
11371
- placeholder = $[11];
11372
- readOnly = $[12];
11373
- restProps = $[13];
11374
- slotProps = $[14];
11375
- t1 = $[15];
11376
- t2 = $[16];
11377
- t3 = $[17];
11378
- t4 = $[18];
11652
+ onBlur = $[9];
11653
+ onChange = $[10];
11654
+ onOpenChange = $[11];
11655
+ placeholder = $[12];
11656
+ readOnly = $[13];
11657
+ restProps = $[14];
11658
+ slotProps = $[15];
11659
+ t1 = $[16];
11660
+ t2 = $[17];
11661
+ t3 = $[18];
11662
+ t4 = $[19];
11379
11663
  }
11380
11664
  const withTime = t1 === void 0 ? false : t1;
11381
11665
  const closeOnSelect = t2 === void 0 ? true : t2;
11382
11666
  const disablePortal = t3 === void 0 ? false : t3;
11383
11667
  const hideClearButton = t4 === void 0 ? false : t4;
11384
11668
  let t5;
11385
- if ($[19] !== _defaultValue) {
11669
+ if ($[20] !== _defaultValue) {
11386
11670
  t5 = toIntlDate(_defaultValue);
11387
- $[19] = _defaultValue;
11388
- $[20] = t5;
11389
- } else t5 = $[20];
11671
+ $[20] = _defaultValue;
11672
+ $[21] = t5;
11673
+ } else t5 = $[21];
11390
11674
  const defaultValue = t5;
11391
11675
  let t6;
11392
- if ($[21] !== _value) {
11676
+ if ($[22] !== _value) {
11393
11677
  t6 = toIntlDate(_value);
11394
- $[21] = _value;
11395
- $[22] = t6;
11396
- } else t6 = $[22];
11678
+ $[22] = _value;
11679
+ $[23] = t6;
11680
+ } else t6 = $[23];
11397
11681
  let t7;
11398
- if ($[23] !== onChange) {
11682
+ if ($[24] !== onChange) {
11399
11683
  t7 = onChange ? (v) => onChange(fromIntlDate(v)) : void 0;
11400
- $[23] = onChange;
11401
- $[24] = t7;
11402
- } else t7 = $[24];
11684
+ $[24] = onChange;
11685
+ $[25] = t7;
11686
+ } else t7 = $[25];
11403
11687
  const [value, setValue] = useControlled(t6, t7, defaultValue ?? null);
11404
11688
  let t8;
11405
- if ($[25] !== _min) {
11689
+ if ($[26] !== _min) {
11406
11690
  t8 = toIntlDate(_min);
11407
- $[25] = _min;
11408
- $[26] = t8;
11409
- } else t8 = $[26];
11691
+ $[26] = _min;
11692
+ $[27] = t8;
11693
+ } else t8 = $[27];
11410
11694
  const min = t8;
11411
11695
  let t9;
11412
- if ($[27] !== _max) {
11696
+ if ($[28] !== _max) {
11413
11697
  t9 = toIntlDate(_max);
11414
- $[27] = _max;
11415
- $[28] = t9;
11416
- } else t9 = $[28];
11698
+ $[28] = _max;
11699
+ $[29] = t9;
11700
+ } else t9 = $[29];
11417
11701
  const max = t9;
11418
11702
  const [isFocused, setIsFocused] = (0, react.useState)(false);
11419
11703
  const [isOpen, setIsOpen] = (0, react.useState)(false);
11420
11704
  const inputRef = (0, react.useRef)(null);
11421
11705
  let t10;
11422
- if ($[29] !== value || $[30] !== withTime) {
11706
+ if ($[30] !== value || $[31] !== withTime) {
11423
11707
  t10 = formatDate(value, withTime);
11424
- $[29] = value;
11425
- $[30] = withTime;
11426
- $[31] = t10;
11427
- } else t10 = $[31];
11708
+ $[30] = value;
11709
+ $[31] = withTime;
11710
+ $[32] = t10;
11711
+ } else t10 = $[32];
11428
11712
  const formattedValue = t10;
11429
11713
  let t11;
11430
11714
  let t12;
11431
- if ($[32] !== formattedValue || $[33] !== isFocused) {
11715
+ if ($[33] !== formattedValue || $[34] !== isFocused) {
11432
11716
  t11 = () => {
11433
11717
  if (!isFocused && inputRef.current) inputRef.current.value = formattedValue;
11434
11718
  };
11435
11719
  t12 = [isFocused, formattedValue];
11436
- $[32] = formattedValue;
11437
- $[33] = isFocused;
11438
- $[34] = t11;
11439
- $[35] = t12;
11720
+ $[33] = formattedValue;
11721
+ $[34] = isFocused;
11722
+ $[35] = t11;
11723
+ $[36] = t12;
11440
11724
  } else {
11441
- t11 = $[34];
11442
- t12 = $[35];
11725
+ t11 = $[35];
11726
+ t12 = $[36];
11443
11727
  }
11444
11728
  (0, react.useEffect)(t11, t12);
11445
11729
  let t13;
11446
- if ($[36] !== max || $[37] !== min || $[38] !== setValue || $[39] !== withTime) {
11730
+ if ($[37] !== max || $[38] !== min || $[39] !== setValue || $[40] !== withTime) {
11447
11731
  t13 = (e) => {
11448
11732
  const text = e.target.value;
11449
11733
  if (validateDateString({
@@ -11453,33 +11737,33 @@ const DsDatePicker = (t0) => {
11453
11737
  withTime
11454
11738
  })) setValue(parseDate(text));
11455
11739
  };
11456
- $[36] = max;
11457
- $[37] = min;
11458
- $[38] = setValue;
11459
- $[39] = withTime;
11460
- $[40] = t13;
11461
- } else t13 = $[40];
11740
+ $[37] = max;
11741
+ $[38] = min;
11742
+ $[39] = setValue;
11743
+ $[40] = withTime;
11744
+ $[41] = t13;
11745
+ } else t13 = $[41];
11462
11746
  const handleInputChange = t13;
11463
11747
  let t14;
11464
- if ($[41] !== formattedValue || $[42] !== value) {
11748
+ if ($[42] !== formattedValue || $[43] !== value) {
11465
11749
  t14 = () => {
11466
11750
  if (inputRef.current) inputRef.current.value = value ? formattedValue : "";
11467
11751
  };
11468
- $[41] = formattedValue;
11469
- $[42] = value;
11470
- $[43] = t14;
11471
- } else t14 = $[43];
11752
+ $[42] = formattedValue;
11753
+ $[43] = value;
11754
+ $[44] = t14;
11755
+ } else t14 = $[44];
11472
11756
  const resetInput = t14;
11473
11757
  let t15;
11474
- if ($[44] === Symbol.for("react.memo_cache_sentinel")) {
11758
+ if ($[45] === Symbol.for("react.memo_cache_sentinel")) {
11475
11759
  t15 = () => {
11476
11760
  setIsFocused(true);
11477
11761
  };
11478
- $[44] = t15;
11479
- } else t15 = $[44];
11762
+ $[45] = t15;
11763
+ } else t15 = $[45];
11480
11764
  const handleFocus = t15;
11481
11765
  let t16;
11482
- if ($[45] !== max || $[46] !== min || $[47] !== resetInput || $[48] !== setValue || $[49] !== withTime) {
11766
+ if ($[46] !== max || $[47] !== min || $[48] !== onBlur || $[49] !== resetInput || $[50] !== setValue || $[51] !== withTime) {
11483
11767
  t16 = () => {
11484
11768
  setIsFocused(false);
11485
11769
  const text_0 = inputRef.current?.value || "";
@@ -11490,63 +11774,65 @@ const DsDatePicker = (t0) => {
11490
11774
  withTime
11491
11775
  })) setValue(parseDate(text_0));
11492
11776
  else resetInput();
11777
+ onBlur?.();
11493
11778
  };
11494
- $[45] = max;
11495
- $[46] = min;
11496
- $[47] = resetInput;
11497
- $[48] = setValue;
11498
- $[49] = withTime;
11499
- $[50] = t16;
11500
- } else t16 = $[50];
11779
+ $[46] = max;
11780
+ $[47] = min;
11781
+ $[48] = onBlur;
11782
+ $[49] = resetInput;
11783
+ $[50] = setValue;
11784
+ $[51] = withTime;
11785
+ $[52] = t16;
11786
+ } else t16 = $[52];
11501
11787
  const handleBlur = t16;
11502
11788
  const showClearButton = !hideClearButton && !disabled && !readOnly && !!value;
11503
11789
  const Wrapper = disablePortal ? react.Fragment : _ark_ui_react_portal.Portal;
11504
11790
  let t17;
11505
- if ($[51] !== value) {
11791
+ if ($[53] !== value) {
11506
11792
  t17 = value ? [value] : void 0;
11507
- $[51] = value;
11508
- $[52] = t17;
11509
- } else t17 = $[52];
11793
+ $[53] = value;
11794
+ $[54] = t17;
11795
+ } else t17 = $[54];
11510
11796
  let t18;
11511
- if ($[53] !== defaultValue) {
11797
+ if ($[55] !== defaultValue) {
11512
11798
  t18 = defaultValue ? [defaultValue] : void 0;
11513
- $[53] = defaultValue;
11514
- $[54] = t18;
11515
- } else t18 = $[54];
11799
+ $[55] = defaultValue;
11800
+ $[56] = t18;
11801
+ } else t18 = $[56];
11516
11802
  let t19;
11517
- if ($[55] !== setValue) {
11803
+ if ($[57] !== setValue) {
11518
11804
  t19 = (details) => {
11519
11805
  setValue(details.value[0] ?? null);
11520
11806
  };
11521
- $[55] = setValue;
11522
- $[56] = t19;
11523
- } else t19 = $[56];
11807
+ $[57] = setValue;
11808
+ $[58] = t19;
11809
+ } else t19 = $[58];
11524
11810
  let t20;
11525
- if ($[57] === Symbol.for("react.memo_cache_sentinel")) {
11811
+ if ($[59] === Symbol.for("react.memo_cache_sentinel")) {
11526
11812
  t20 = {
11527
11813
  placement: "bottom-start",
11528
11814
  gutter: 4
11529
11815
  };
11530
- $[57] = t20;
11531
- } else t20 = $[57];
11816
+ $[59] = t20;
11817
+ } else t20 = $[59];
11532
11818
  const t21 = withTime ? false : closeOnSelect;
11533
11819
  let t22;
11534
- if ($[58] !== isFocused || $[59] !== onOpenChange) {
11820
+ if ($[60] !== isFocused || $[61] !== onOpenChange) {
11535
11821
  t22 = (details_0) => {
11536
11822
  if (!isFocused) {
11537
11823
  setIsOpen(details_0.open);
11538
11824
  onOpenChange?.(details_0.open);
11539
11825
  }
11540
11826
  };
11541
- $[58] = isFocused;
11542
- $[59] = onOpenChange;
11543
- $[60] = t22;
11544
- } else t22 = $[60];
11827
+ $[60] = isFocused;
11828
+ $[61] = onOpenChange;
11829
+ $[62] = t22;
11830
+ } else t22 = $[62];
11545
11831
  const t23 = placeholder ?? (withTime ? "mm/dd/yyyy, hh:mm AM/PM" : "mm/dd/yyyy");
11546
11832
  const t24 = slotProps?.input;
11547
11833
  const t25 = slotProps?.input?.slots;
11548
11834
  let t26;
11549
- if ($[61] !== disabled || $[62] !== locale?.clearLabel || $[63] !== setValue || $[64] !== showClearButton) {
11835
+ if ($[63] !== disabled || $[64] !== locale?.clearLabel || $[65] !== setValue || $[66] !== showClearButton) {
11550
11836
  t26 = showClearButton && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_date_picker.DatePicker.ClearTrigger, {
11551
11837
  asChild: true,
11552
11838
  onClick: () => setValue(null),
@@ -11563,23 +11849,23 @@ const DsDatePicker = (t0) => {
11563
11849
  })
11564
11850
  })
11565
11851
  });
11566
- $[61] = disabled;
11567
- $[62] = locale?.clearLabel;
11568
- $[63] = setValue;
11569
- $[64] = showClearButton;
11570
- $[65] = t26;
11571
- } else t26 = $[65];
11852
+ $[63] = disabled;
11853
+ $[64] = locale?.clearLabel;
11854
+ $[65] = setValue;
11855
+ $[66] = showClearButton;
11856
+ $[67] = t26;
11857
+ } else t26 = $[67];
11572
11858
  const t27 = locale?.openCalendarLabel ?? "Open calendar";
11573
11859
  let t28;
11574
- if ($[66] === Symbol.for("react.memo_cache_sentinel")) {
11860
+ if ($[68] === Symbol.for("react.memo_cache_sentinel")) {
11575
11861
  t28 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
11576
11862
  icon: "calendar_today",
11577
11863
  size: "tiny"
11578
11864
  });
11579
- $[66] = t28;
11580
- } else t28 = $[66];
11865
+ $[68] = t28;
11866
+ } else t28 = $[68];
11581
11867
  let t29;
11582
- if ($[67] !== disabled || $[68] !== t27) {
11868
+ if ($[69] !== disabled || $[70] !== t27) {
11583
11869
  t29 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_date_picker.DatePicker.Trigger, {
11584
11870
  asChild: true,
11585
11871
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsButton, {
@@ -11591,29 +11877,29 @@ const DsDatePicker = (t0) => {
11591
11877
  children: t28
11592
11878
  })
11593
11879
  });
11594
- $[67] = disabled;
11595
- $[68] = t27;
11596
- $[69] = t29;
11597
- } else t29 = $[69];
11880
+ $[69] = disabled;
11881
+ $[70] = t27;
11882
+ $[71] = t29;
11883
+ } else t29 = $[71];
11598
11884
  let t30;
11599
- if ($[70] !== t26 || $[71] !== t29) {
11885
+ if ($[72] !== t26 || $[73] !== t29) {
11600
11886
  t30 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [t26, t29] });
11601
- $[70] = t26;
11602
- $[71] = t29;
11603
- $[72] = t30;
11604
- } else t30 = $[72];
11887
+ $[72] = t26;
11888
+ $[73] = t29;
11889
+ $[74] = t30;
11890
+ } else t30 = $[74];
11605
11891
  let t31;
11606
- if ($[73] !== t25 || $[74] !== t30) {
11892
+ if ($[75] !== t25 || $[76] !== t30) {
11607
11893
  t31 = {
11608
11894
  ...t25,
11609
11895
  endAdornment: t30
11610
11896
  };
11611
- $[73] = t25;
11612
- $[74] = t30;
11613
- $[75] = t31;
11614
- } else t31 = $[75];
11897
+ $[75] = t25;
11898
+ $[76] = t30;
11899
+ $[77] = t31;
11900
+ } else t31 = $[77];
11615
11901
  let t32;
11616
- if ($[76] !== disabled || $[77] !== formattedValue || $[78] !== handleBlur || $[79] !== handleInputChange || $[80] !== id || $[81] !== readOnly || $[82] !== t23 || $[83] !== t24 || $[84] !== t31) {
11902
+ if ($[78] !== disabled || $[79] !== formattedValue || $[80] !== handleBlur || $[81] !== handleInputChange || $[82] !== id || $[83] !== readOnly || $[84] !== t23 || $[85] !== t24 || $[86] !== t31) {
11617
11903
  t32 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_date_picker.DatePicker.Control, {
11618
11904
  className: ds_date_picker_module_default.control,
11619
11905
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTextInput, {
@@ -11630,19 +11916,19 @@ const DsDatePicker = (t0) => {
11630
11916
  slots: t31
11631
11917
  })
11632
11918
  });
11633
- $[76] = disabled;
11634
- $[77] = formattedValue;
11635
- $[78] = handleBlur;
11636
- $[79] = handleInputChange;
11637
- $[80] = id;
11638
- $[81] = readOnly;
11639
- $[82] = t23;
11640
- $[83] = t24;
11641
- $[84] = t31;
11642
- $[85] = t32;
11643
- } else t32 = $[85];
11919
+ $[78] = disabled;
11920
+ $[79] = formattedValue;
11921
+ $[80] = handleBlur;
11922
+ $[81] = handleInputChange;
11923
+ $[82] = id;
11924
+ $[83] = readOnly;
11925
+ $[84] = t23;
11926
+ $[85] = t24;
11927
+ $[86] = t31;
11928
+ $[87] = t32;
11929
+ } else t32 = $[87];
11644
11930
  let t33;
11645
- if ($[86] !== _max || $[87] !== _min || $[88] !== disabled || $[89] !== max || $[90] !== min || $[91] !== readOnly || $[92] !== setValue || $[93] !== slotProps?.timePicker || $[94] !== value || $[95] !== withTime) {
11931
+ if ($[88] !== _max || $[89] !== _min || $[90] !== disabled || $[91] !== max || $[92] !== min || $[93] !== readOnly || $[94] !== setValue || $[95] !== slotProps?.timePicker || $[96] !== value || $[97] !== withTime) {
11646
11932
  t33 = withTime && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTimePicker, {
11647
11933
  value: fromIntlDate(value),
11648
11934
  onChange: (v_0) => {
@@ -11662,37 +11948,37 @@ const DsDatePicker = (t0) => {
11662
11948
  ...slotProps?.timePicker?.slotProps
11663
11949
  }
11664
11950
  });
11665
- $[86] = _max;
11666
- $[87] = _min;
11667
- $[88] = disabled;
11668
- $[89] = max;
11669
- $[90] = min;
11670
- $[91] = readOnly;
11671
- $[92] = setValue;
11672
- $[93] = slotProps?.timePicker;
11673
- $[94] = value;
11674
- $[95] = withTime;
11675
- $[96] = t33;
11676
- } else t33 = $[96];
11951
+ $[88] = _max;
11952
+ $[89] = _min;
11953
+ $[90] = disabled;
11954
+ $[91] = max;
11955
+ $[92] = min;
11956
+ $[93] = readOnly;
11957
+ $[94] = setValue;
11958
+ $[95] = slotProps?.timePicker;
11959
+ $[96] = value;
11960
+ $[97] = withTime;
11961
+ $[98] = t33;
11962
+ } else t33 = $[98];
11677
11963
  let t34;
11678
- if ($[97] !== t33) {
11964
+ if ($[99] !== t33) {
11679
11965
  t34 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DayView, { children: t33 });
11680
- $[97] = t33;
11681
- $[98] = t34;
11682
- } else t34 = $[98];
11966
+ $[99] = t33;
11967
+ $[100] = t34;
11968
+ } else t34 = $[100];
11683
11969
  let t35;
11684
11970
  let t36;
11685
- if ($[99] === Symbol.for("react.memo_cache_sentinel")) {
11971
+ if ($[101] === Symbol.for("react.memo_cache_sentinel")) {
11686
11972
  t35 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(MonthView, {});
11687
11973
  t36 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(YearView, {});
11688
- $[99] = t35;
11689
- $[100] = t36;
11974
+ $[101] = t35;
11975
+ $[102] = t36;
11690
11976
  } else {
11691
- t35 = $[99];
11692
- t36 = $[100];
11977
+ t35 = $[101];
11978
+ t36 = $[102];
11693
11979
  }
11694
11980
  let t37;
11695
- if ($[101] !== t34) {
11981
+ if ($[103] !== t34) {
11696
11982
  t37 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_date_picker.DatePicker.Positioner, {
11697
11983
  className: ds_date_picker_module_default.positioner,
11698
11984
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_ark_ui_react_date_picker.DatePicker.Content, {
@@ -11704,18 +11990,18 @@ const DsDatePicker = (t0) => {
11704
11990
  ]
11705
11991
  })
11706
11992
  });
11707
- $[101] = t34;
11708
- $[102] = t37;
11709
- } else t37 = $[102];
11993
+ $[103] = t34;
11994
+ $[104] = t37;
11995
+ } else t37 = $[104];
11710
11996
  let t38;
11711
- if ($[103] !== Wrapper || $[104] !== t37) {
11997
+ if ($[105] !== Wrapper || $[106] !== t37) {
11712
11998
  t38 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Wrapper, { children: t37 });
11713
- $[103] = Wrapper;
11714
- $[104] = t37;
11715
- $[105] = t38;
11716
- } else t38 = $[105];
11999
+ $[105] = Wrapper;
12000
+ $[106] = t37;
12001
+ $[107] = t38;
12002
+ } else t38 = $[107];
11717
12003
  let t39;
11718
- if ($[106] !== className || $[107] !== disabled || $[108] !== isOpen || $[109] !== max || $[110] !== min || $[111] !== readOnly || $[112] !== restProps || $[113] !== t17 || $[114] !== t18 || $[115] !== t19 || $[116] !== t21 || $[117] !== t22 || $[118] !== t32 || $[119] !== t38) {
12004
+ if ($[108] !== className || $[109] !== disabled || $[110] !== isOpen || $[111] !== max || $[112] !== min || $[113] !== readOnly || $[114] !== restProps || $[115] !== t17 || $[116] !== t18 || $[117] !== t19 || $[118] !== t21 || $[119] !== t22 || $[120] !== t32 || $[121] !== t38) {
11719
12005
  t39 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_ark_ui_react_date_picker.DatePicker.Root, {
11720
12006
  className,
11721
12007
  value: t17,
@@ -11733,22 +12019,22 @@ const DsDatePicker = (t0) => {
11733
12019
  ...restProps,
11734
12020
  children: [t32, t38]
11735
12021
  });
11736
- $[106] = className;
11737
- $[107] = disabled;
11738
- $[108] = isOpen;
11739
- $[109] = max;
11740
- $[110] = min;
11741
- $[111] = readOnly;
11742
- $[112] = restProps;
11743
- $[113] = t17;
11744
- $[114] = t18;
11745
- $[115] = t19;
11746
- $[116] = t21;
11747
- $[117] = t22;
11748
- $[118] = t32;
11749
- $[119] = t38;
11750
- $[120] = t39;
11751
- } else t39 = $[120];
12022
+ $[108] = className;
12023
+ $[109] = disabled;
12024
+ $[110] = isOpen;
12025
+ $[111] = max;
12026
+ $[112] = min;
12027
+ $[113] = readOnly;
12028
+ $[114] = restProps;
12029
+ $[115] = t17;
12030
+ $[116] = t18;
12031
+ $[117] = t19;
12032
+ $[118] = t21;
12033
+ $[119] = t22;
12034
+ $[120] = t32;
12035
+ $[121] = t38;
12036
+ $[122] = t39;
12037
+ } else t39 = $[122];
11752
12038
  return t39;
11753
12039
  };
11754
12040
  //#endregion
@@ -14217,22 +14503,24 @@ const filterStatuses = [
14217
14503
  ];
14218
14504
  //#endregion
14219
14505
  //#region src/components/ds-grid/ds-grid.tsx
14220
- /**
14221
- * Design system Grid component
14222
- */
14223
- const DsGrid = ({ children, columns, rows, className }) => {
14506
+ const DsGridBase = ({ children, columns, rows, gutter, margin, className, style }) => {
14507
+ const gridClass = (0, classnames.default)("ds-grid", {
14508
+ [`ds-grid-cols-${String(columns)}`]: columns,
14509
+ [`ds-grid-rows-${String(rows)}`]: rows
14510
+ }, className);
14511
+ const cssVars = {};
14512
+ if (gutter !== void 0) cssVars["--ds-grid-gutter"] = typeof gutter === "number" ? `${String(gutter)}px` : gutter;
14513
+ if (margin !== void 0) cssVars["--ds-grid-margin"] = typeof margin === "number" ? `${String(margin)}px` : margin;
14224
14514
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
14225
- className: (0, classnames.default)("ds-grid", {
14226
- [`ds-grid-cols-${String(columns)}`]: columns,
14227
- [`ds-grid-rows-${String(rows)}`]: rows
14228
- }, className),
14515
+ className: gridClass,
14516
+ style: {
14517
+ ...style,
14518
+ ...cssVars
14519
+ },
14229
14520
  children
14230
14521
  });
14231
14522
  };
14232
- /**
14233
- * Design system GridItem component
14234
- */
14235
- const DsGridItem = ({ children, colSpan, colStart, rowSpan, rowStart, className }) => {
14523
+ const DsGridItemBase = ({ children, colSpan, colStart, rowSpan, rowStart, className }) => {
14236
14524
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
14237
14525
  className: (0, classnames.default)({
14238
14526
  [`ds-grid-col-span-${String(colSpan)}`]: colSpan,
@@ -14244,6 +14532,10 @@ const DsGridItem = ({ children, colSpan, colStart, rowSpan, rowStart, className
14244
14532
  });
14245
14533
  };
14246
14534
  //#endregion
14535
+ //#region src/components/ds-grid/index.ts
14536
+ const DsGrid = withResponsiveProps(DsGridBase, ["gutter", "margin"]);
14537
+ const DsGridItem = withResponsiveProps(DsGridItemBase, ["colSpan", "rowSpan"]);
14538
+ //#endregion
14247
14539
  //#region src/components/ds-key-value-pair/ds-key-value-pair.module.scss
14248
14540
  var ds_key_value_pair_module_default = {
14249
14541
  "editorSlot": "_6K_oIW_editorSlot",
@@ -15491,7 +15783,7 @@ const Root$1 = (t0) => {
15491
15783
  * Item component - renders a single radio button with optional label
15492
15784
  */
15493
15785
  const Item$1 = (t0) => {
15494
- const $ = (0, react_compiler_runtime.c)(22);
15786
+ const $ = (0, react_compiler_runtime.c)(24);
15495
15787
  let children;
15496
15788
  let className;
15497
15789
  let label;
@@ -15545,22 +15837,28 @@ const Item$1 = (t0) => {
15545
15837
  t3 = $[11];
15546
15838
  }
15547
15839
  let t4;
15548
- if ($[12] !== children || $[13] !== label || $[14] !== labelInfo) {
15549
- t4 = label ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_ark_ui_react_radio_group.RadioGroup.ItemText, {
15840
+ if ($[12] !== children || $[13] !== label) {
15841
+ t4 = label ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_radio_group.RadioGroup.ItemText, {
15550
15842
  className: ds_radio_group_module_default.radioLabel,
15551
- children: [label, labelInfo && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
15552
- className: ds_radio_group_module_default.labelInfo,
15553
- children: labelInfo
15554
- })]
15843
+ children: label
15555
15844
  }) : children;
15556
15845
  $[12] = children;
15557
15846
  $[13] = label;
15558
- $[14] = labelInfo;
15559
- $[15] = t4;
15560
- } else t4 = $[15];
15847
+ $[14] = t4;
15848
+ } else t4 = $[14];
15561
15849
  let t5;
15562
- if ($[16] !== props || $[17] !== style || $[18] !== t1 || $[19] !== t4 || $[20] !== value) {
15563
- t5 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_ark_ui_react_radio_group.RadioGroup.Item, {
15850
+ if ($[15] !== labelInfo) {
15851
+ t5 = !!labelInfo && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTypography, {
15852
+ variant: "body-xs-reg",
15853
+ className: ds_radio_group_module_default.labelInfo,
15854
+ children: labelInfo
15855
+ });
15856
+ $[15] = labelInfo;
15857
+ $[16] = t5;
15858
+ } else t5 = $[16];
15859
+ let t6;
15860
+ if ($[17] !== props || $[18] !== style || $[19] !== t1 || $[20] !== t4 || $[21] !== t5 || $[22] !== value) {
15861
+ t6 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_ark_ui_react_radio_group.RadioGroup.Item, {
15564
15862
  value,
15565
15863
  className: t1,
15566
15864
  style,
@@ -15568,17 +15866,19 @@ const Item$1 = (t0) => {
15568
15866
  children: [
15569
15867
  t2,
15570
15868
  t3,
15571
- t4
15869
+ t4,
15870
+ t5
15572
15871
  ]
15573
15872
  });
15574
- $[16] = props;
15575
- $[17] = style;
15576
- $[18] = t1;
15577
- $[19] = t4;
15578
- $[20] = value;
15873
+ $[17] = props;
15874
+ $[18] = style;
15875
+ $[19] = t1;
15876
+ $[20] = t4;
15579
15877
  $[21] = t5;
15580
- } else t5 = $[21];
15581
- return t5;
15878
+ $[22] = value;
15879
+ $[23] = t6;
15880
+ } else t6 = $[23];
15881
+ return t6;
15582
15882
  };
15583
15883
  /**
15584
15884
  * DEPRECATED: Legacy DsRadioGroup component with options array
@@ -15587,61 +15887,50 @@ const Item$1 = (t0) => {
15587
15887
  */
15588
15888
  /* c8 ignore start */
15589
15889
  const DsRadioGroupLegacy = (t0) => {
15590
- const $ = (0, react_compiler_runtime.c)(18);
15591
- let className;
15592
- let defaultValue;
15593
- let onValueChange;
15594
- let options;
15595
- let props;
15596
- let value;
15597
- if ($[0] !== t0) {
15598
- ({options, value, defaultValue, onValueChange, className, ...props} = t0);
15599
- $[0] = t0;
15600
- $[1] = className;
15601
- $[2] = defaultValue;
15602
- $[3] = onValueChange;
15603
- $[4] = options;
15604
- $[5] = props;
15605
- $[6] = value;
15606
- } else {
15607
- className = $[1];
15608
- defaultValue = $[2];
15609
- onValueChange = $[3];
15610
- options = $[4];
15611
- props = $[5];
15612
- value = $[6];
15613
- }
15890
+ const $ = (0, react_compiler_runtime.c)(14);
15891
+ const { options, value, defaultValue, onValueChange, disabled, className, style } = t0;
15614
15892
  let t1;
15615
- if ($[7] !== className) {
15893
+ if ($[0] !== className) {
15616
15894
  t1 = (0, classnames.default)(ds_radio_group_module_default.radioGroupRoot, className);
15617
- $[7] = className;
15618
- $[8] = t1;
15619
- } else t1 = $[8];
15620
- let t2;
15621
- if ($[9] !== options) {
15622
- t2 = options.map(_temp$1);
15623
- $[9] = options;
15624
- $[10] = t2;
15625
- } else t2 = $[10];
15895
+ $[0] = className;
15896
+ $[1] = t1;
15897
+ } else t1 = $[1];
15898
+ const t2 = value ?? void 0;
15626
15899
  let t3;
15627
- if ($[11] !== defaultValue || $[12] !== onValueChange || $[13] !== props || $[14] !== t1 || $[15] !== t2 || $[16] !== value) {
15628
- t3 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_radio_group.Root, {
15900
+ if ($[2] !== onValueChange) {
15901
+ t3 = (details) => {
15902
+ if (details.value !== null) onValueChange?.(details.value);
15903
+ };
15904
+ $[2] = onValueChange;
15905
+ $[3] = t3;
15906
+ } else t3 = $[3];
15907
+ let t4;
15908
+ if ($[4] !== options) {
15909
+ t4 = options.map(_temp$1);
15910
+ $[4] = options;
15911
+ $[5] = t4;
15912
+ } else t4 = $[5];
15913
+ let t5;
15914
+ if ($[6] !== defaultValue || $[7] !== disabled || $[8] !== style || $[9] !== t1 || $[10] !== t2 || $[11] !== t3 || $[12] !== t4) {
15915
+ t5 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_radio_group.RadioGroup.Root, {
15629
15916
  className: t1,
15630
- value,
15917
+ style,
15918
+ value: t2,
15631
15919
  defaultValue,
15632
- onValueChange,
15633
- ...props,
15634
- children: t2
15920
+ disabled,
15921
+ onValueChange: t3,
15922
+ children: t4
15635
15923
  });
15636
- $[11] = defaultValue;
15637
- $[12] = onValueChange;
15638
- $[13] = props;
15639
- $[14] = t1;
15640
- $[15] = t2;
15641
- $[16] = value;
15642
- $[17] = t3;
15643
- } else t3 = $[17];
15644
- return t3;
15924
+ $[6] = defaultValue;
15925
+ $[7] = disabled;
15926
+ $[8] = style;
15927
+ $[9] = t1;
15928
+ $[10] = t2;
15929
+ $[11] = t3;
15930
+ $[12] = t4;
15931
+ $[13] = t5;
15932
+ } else t5 = $[13];
15933
+ return t5;
15645
15934
  };
15646
15935
  /* c8 ignore stop */
15647
15936
  /**
@@ -15658,25 +15947,32 @@ const DsRadioGroup = {
15658
15947
  Item: Item$1
15659
15948
  };
15660
15949
  function _temp$1(option) {
15661
- return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
15950
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_ark_ui_react_radio_group.RadioGroup.Item, {
15951
+ value: option.value,
15952
+ disabled: option.disabled,
15662
15953
  className: ds_radio_group_module_default.radioItemContainer,
15663
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_radio_group.Item, {
15664
- className: ds_radio_group_module_default.radioItem,
15665
- value: option.value,
15666
- disabled: option.disabled,
15667
- id: option.value,
15668
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
15669
- className: ds_radio_group_module_default.radioItemWrapper,
15670
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_radio_group.Indicator, { className: ds_radio_group_module_default.radioIndicator })
15671
- })
15672
- }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
15673
- className: ds_radio_group_module_default.radioLabel,
15674
- htmlFor: option.value,
15675
- children: [option.label, option.labelInfo && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
15954
+ children: [
15955
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_radio_group.RadioGroup.ItemControl, {
15956
+ className: ds_radio_group_module_default.radioItem,
15957
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
15958
+ className: ds_radio_group_module_default.radioItemWrapper,
15959
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
15960
+ className: ds_radio_group_module_default.radioIndicator,
15961
+ "data-part": "indicator"
15962
+ })
15963
+ })
15964
+ }),
15965
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_radio_group.RadioGroup.ItemHiddenInput, {}),
15966
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_radio_group.RadioGroup.ItemText, {
15967
+ className: ds_radio_group_module_default.radioLabel,
15968
+ children: option.label
15969
+ }),
15970
+ !!option.labelInfo && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTypography, {
15971
+ variant: "body-xs-reg",
15676
15972
  className: ds_radio_group_module_default.labelInfo,
15677
15973
  children: option.labelInfo
15678
- })]
15679
- })]
15974
+ })
15975
+ ]
15680
15976
  }, option.value);
15681
15977
  }
15682
15978
  //#endregion
@@ -16159,15 +16455,15 @@ var ds_smart_tabs_module_default = {
16159
16455
  //#endregion
16160
16456
  //#region src/components/ds-smart-tabs/ds-smart-tabs.tsx
16161
16457
  const colorMap = {
16162
- "dark-blue": "var(--color-background-info-strong)",
16163
- "light-blue": "var(--color-background-active-moderate)",
16164
- "dark-gray": "var(--color-background-brand)",
16165
- green: "var(--color-background-success-strong)",
16166
- fuchsia: "var(--color-data-fuchsia)",
16167
- blue: "var(--color-icon-information-secondary)",
16168
- gray: "var(--color-icon-information-main)",
16169
- red: "var(--color-icon-warning)",
16170
- amber: "var(--color-data-amber)"
16458
+ "dark-blue": "var(--background-info-strong)",
16459
+ "light-blue": "var(--background-active-moderate)",
16460
+ "dark-gray": "var(--background-brand)",
16461
+ green: "var(--background-success-strong)",
16462
+ fuchsia: "var(--color-dap-data-fuchsia)",
16463
+ blue: "var(--icon-information-secondary)",
16464
+ gray: "var(--icon-information-main)",
16465
+ red: "var(--icon-warning)",
16466
+ amber: "var(--color-dap-data-amber)"
16171
16467
  };
16172
16468
  const SmartTabsContext = (0, react.createContext)(null);
16173
16469
  const useSmartTabsContext = () => {
@@ -17829,7 +18125,6 @@ const DsTableBulkActions = ({ numSelectedRows, actions, onClearSelection }) => {
17829
18125
  //#endregion
17830
18126
  //#region src/components/ds-table/components/ds-table-header/ds-table-header.module.scss
17831
18127
  var ds_table_header_module_default = {
17832
- "expandColumn": "-2rCNG_expandColumn",
17833
18128
  "headerCell": "-2rCNG_headerCell",
17834
18129
  "headerRow": "-2rCNG_headerRow",
17835
18130
  "headerRowNoBorder": "-2rCNG_headerRowNoBorder",
@@ -17881,7 +18176,7 @@ const getColumnSizeStyle = (columnSize, virtualized) => {
17881
18176
  //#endregion
17882
18177
  //#region src/components/ds-table/components/ds-table-header/ds-table-header.tsx
17883
18178
  const DsTableHeader = ({ table }) => {
17884
- const { stickyHeader, bordered, expandable, selectable, reorderable, showSelectAllCheckbox, virtualized } = useDsTableContext();
18179
+ const { stickyHeader, bordered, selectable, reorderable, showSelectAllCheckbox, virtualized } = useDsTableContext();
17885
18180
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableHeader, {
17886
18181
  className: (0, classnames.default)(stickyHeader && ds_table_header_module_default.stickyHeader, virtualized && ds_table_header_module_default.virtualizedHeader),
17887
18182
  children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(TableRow, {
@@ -17892,26 +18187,24 @@ const DsTableHeader = ({ table }) => {
17892
18187
  children: showSelectAllCheckbox && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsCheckbox, {
17893
18188
  className: ds_table_shared_module_default.checkboxContainer,
17894
18189
  checked: table.getIsAllRowsSelected() ? true : table.getIsSomeRowsSelected() ? "indeterminate" : false,
17895
- onClick: (e) => {
17896
- e.stopPropagation();
17897
- table.getToggleAllRowsSelectedHandler()(e);
17898
- }
18190
+ onCheckedChange: (checked) => table.toggleAllRowsSelected(!!checked),
18191
+ onClick: (e) => e.stopPropagation()
17899
18192
  })
17900
18193
  }),
17901
- expandable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableHead, { className: (0, classnames.default)(ds_table_header_module_default.headerCell, ds_table_header_module_default.expandColumn) }),
17902
18194
  reorderable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableHead, {
17903
18195
  className: (0, classnames.default)(ds_table_header_module_default.headerCell, ds_table_header_module_default.reorderColumn),
17904
18196
  children: "Order"
17905
18197
  }),
17906
18198
  headerGroup.headers.map((header) => {
17907
18199
  const headerStyle = getColumnSizeStyle(header.column.getSize(), virtualized);
18200
+ const canSort = header.column.getCanSort();
17908
18201
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableHead, {
17909
- className: (0, classnames.default)(ds_table_header_module_default.headerCell, header.column.getCanSort() && ds_table_header_module_default.sortableHeader),
18202
+ className: (0, classnames.default)(ds_table_header_module_default.headerCell, canSort && ds_table_header_module_default.sortableHeader),
17910
18203
  onClick: header.column.getToggleSortingHandler(),
17911
18204
  style: headerStyle,
17912
18205
  children: header.isPlaceholder ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
17913
18206
  className: ds_table_header_module_default.headerSortContainer,
17914
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: (0, _tanstack_react_table.flexRender)(header.column.columnDef.header, header.getContext()) }), header.column.getCanSort() && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
18207
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: (0, _tanstack_react_table.flexRender)(header.column.columnDef.header, header.getContext()) }), canSort && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
17915
18208
  className: ds_table_header_module_default.pageButtonIconContainer,
17916
18209
  children: {
17917
18210
  asc: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
@@ -18042,47 +18335,9 @@ const DsTableRowSelectableCell = ({ row, isSelected, className }) => {
18042
18335
  className: ds_table_shared_module_default.checkboxContainer,
18043
18336
  checked: isSelected,
18044
18337
  disabled: !row.getCanSelect(),
18045
- onClick: (e) => {
18046
- e.stopPropagation();
18047
- row.getToggleSelectedHandler()(e);
18048
- },
18049
- onDoubleClick: (e) => {
18050
- e.stopPropagation();
18051
- }
18052
- })
18053
- });
18054
- };
18055
- //#endregion
18056
- //#region src/components/ds-table/components/ds-table-row-expandable-cell/ds-table-row-expandable-cell.module.scss
18057
- var ds_table_row_expandable_cell_module_default = {
18058
- "button": "enUIjW_button",
18059
- "cell": "enUIjW_cell"
18060
- };
18061
- //#endregion
18062
- //#region src/components/ds-table/components/ds-table-row-expandable-cell/ds-table-row-expandable-cell.tsx
18063
- const DsTableRowExpandableCell = ({ row, className, buttonClassName }) => {
18064
- const { expandable } = useDsTableContext();
18065
- const isExpanded = row.getIsExpanded();
18066
- const isExpandable = typeof expandable === "function" ? expandable(row.original) : expandable;
18067
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableCell, {
18068
- className: (0, classnames.default)(ds_table_row_expandable_cell_module_default.cell, className),
18069
- children: isExpandable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsButton, {
18070
- design: "v1.2",
18071
- buttonType: "tertiary",
18072
- size: "small",
18073
- className: (0, classnames.default)(ds_table_row_expandable_cell_module_default.button, buttonClassName),
18074
- onClick: (e) => {
18075
- e.stopPropagation();
18076
- row.toggleExpanded();
18077
- },
18078
- onDoubleClick: (e) => {
18079
- e.stopPropagation();
18080
- },
18081
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
18082
- icon: "chevron_right",
18083
- size: "small",
18084
- className: (0, classnames.default)(ds_table_shared_module_default.pageButtonIcon, isExpanded && "rotate-90")
18085
- })
18338
+ onCheckedChange: (checked) => row.toggleSelected(!!checked),
18339
+ onClick: (e) => e.stopPropagation(),
18340
+ onDoubleClick: (e) => e.stopPropagation()
18086
18341
  })
18087
18342
  });
18088
18343
  };
@@ -18094,7 +18349,6 @@ var ds_table_row_module_default = {
18094
18349
  "expandableCell": "t8OZCq_expandableCell",
18095
18350
  "expanded": "t8OZCq_expanded",
18096
18351
  "expandedRow": "t8OZCq_expandedRow",
18097
- "expandToggleButton": "t8OZCq_expandToggleButton",
18098
18352
  "isDragging": "t8OZCq_isDragging",
18099
18353
  "rowDragHandle": "t8OZCq_rowDragHandle",
18100
18354
  "rowNoBorder": "t8OZCq_rowNoBorder",
@@ -18105,6 +18359,10 @@ var ds_table_row_module_default = {
18105
18359
  "tableCell": "t8OZCq_tableCell",
18106
18360
  "tableRow": "t8OZCq_tableRow"
18107
18361
  };
18362
+ /**
18363
+ * Column id used for the synthetic expander column injected when `expandable` is set.
18364
+ */
18365
+ const EXPANDER_COLUMN_ID = "expander";
18108
18366
  //#endregion
18109
18367
  //#region src/components/ds-table/components/ds-table-row/ds-table-row.tsx
18110
18368
  const DsRowDragHandle = ({ isDragging, attributes, listeners }) => {
@@ -18121,9 +18379,8 @@ const DsRowDragHandle = ({ isDragging, attributes, listeners }) => {
18121
18379
  });
18122
18380
  };
18123
18381
  const DsTableRow = ({ ref, row, isSelected }) => {
18124
- const { expandable, selectable, reorderable, onRowClick, onRowDoubleClick, renderExpandedRow, bordered, rowSize, primaryRowActions, secondaryRowActions, activeRowId } = useDsTableContext();
18382
+ const { selectable, reorderable, onRowClick, onRowDoubleClick, renderExpandedRow, bordered, rowSize, primaryRowActions, secondaryRowActions, activeRowId } = useDsTableContext();
18125
18383
  const isExpanded = row.getIsExpanded();
18126
- const isExpandable = typeof expandable === "function" ? expandable(row.original) : expandable;
18127
18384
  const isActive = activeRowId === row.id;
18128
18385
  const { attributes, listeners, setNodeRef, transform, transition, isDragging } = (0, _dnd_kit_sortable.useSortable)({
18129
18386
  id: row.id,
@@ -18133,7 +18390,7 @@ const DsTableRow = ({ ref, row, isSelected }) => {
18133
18390
  transform: _dnd_kit_utilities.CSS.Transform.toString(transform),
18134
18391
  transition,
18135
18392
  ...isDragging ? {
18136
- background: "var(--action-active-light)",
18393
+ background: "var(--color-dap-purple-200)",
18137
18394
  boxShadow: "0 0 12px 0 rgba(0, 102, 250, 0.60)",
18138
18395
  zIndex: 1
18139
18396
  } : {},
@@ -18156,11 +18413,6 @@ const DsTableRow = ({ ref, row, isSelected }) => {
18156
18413
  isSelected,
18157
18414
  className: ds_table_row_module_default.selectableCell
18158
18415
  }),
18159
- expandable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTableRowExpandableCell, {
18160
- row,
18161
- className: ds_table_row_module_default.expandableCell,
18162
- buttonClassName: ds_table_row_module_default.expandToggleButton
18163
- }),
18164
18416
  reorderable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsRowDragHandle, {
18165
18417
  isDragging,
18166
18418
  attributes,
@@ -18170,7 +18422,7 @@ const DsTableRow = ({ ref, row, isSelected }) => {
18170
18422
  const isLastColumn = idx === row.getVisibleCells().length - 1;
18171
18423
  const cellStyle = getColumnSizeStyle(cell.column.getSize());
18172
18424
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableCell, {
18173
- className: ds_table_row_module_default.tableCell,
18425
+ className: (0, classnames.default)(ds_table_row_module_default.tableCell, cell.column.id === "expander" && ds_table_row_module_default.expandableCell),
18174
18426
  style: cellStyle,
18175
18427
  children: isLastColumn ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTableCell, {
18176
18428
  row,
@@ -18187,13 +18439,39 @@ const DsTableRow = ({ ref, row, isSelected }) => {
18187
18439
  }), isExpanded && renderExpandedRow && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableRow, {
18188
18440
  className: ds_table_row_module_default.expandedRow,
18189
18441
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableCell, {
18190
- colSpan: row.getVisibleCells().length + (selectable ? 1 : 0) + (isExpandable ? 1 : 0) + (reorderable ? 1 : 0),
18442
+ colSpan: row.getVisibleCells().length + (selectable ? 1 : 0) + (reorderable ? 1 : 0),
18191
18443
  className: ds_table_row_module_default.tableCell,
18192
18444
  children: renderExpandedRow(row.original)
18193
18445
  })
18194
18446
  })] });
18195
18447
  };
18196
18448
  //#endregion
18449
+ //#region src/components/ds-table/components/ds-table-row-expandable-cell/ds-table-row-expandable-cell.module.scss
18450
+ var ds_table_row_expandable_cell_module_default = { "button": "enUIjW_button" };
18451
+ //#endregion
18452
+ //#region src/components/ds-table/components/ds-table-row-expandable-cell/ds-table-row-expandable-cell.tsx
18453
+ const DsTableRowExpandableCell = ({ row, buttonClassName }) => {
18454
+ const isExpanded = row.getIsExpanded();
18455
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsButton, {
18456
+ design: "v1.2",
18457
+ buttonType: "tertiary",
18458
+ size: "small",
18459
+ className: (0, classnames.default)(ds_table_row_expandable_cell_module_default.button, buttonClassName),
18460
+ onClick: (e) => {
18461
+ e.stopPropagation();
18462
+ row.toggleExpanded();
18463
+ },
18464
+ onDoubleClick: (e) => {
18465
+ e.stopPropagation();
18466
+ },
18467
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
18468
+ icon: "chevron_right",
18469
+ size: "small",
18470
+ className: (0, classnames.default)(ds_table_shared_module_default.pageButtonIcon, isExpanded && "rotate-90")
18471
+ })
18472
+ });
18473
+ };
18474
+ //#endregion
18197
18475
  //#region src/components/ds-table/hooks/use-drag-and-drop.tsx
18198
18476
  const DragWrapper = ({ children, onDragEnd, sensors }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_dnd_kit_core.DndContext, {
18199
18477
  collisionDetection: _dnd_kit_core.closestCenter,
@@ -18262,7 +18540,7 @@ var ds_table_row_virtualized_module_default = {
18262
18540
  //#endregion
18263
18541
  //#region src/components/ds-table/components/ds-table-row-virtualized/ds-table-row-virtualized.tsx
18264
18542
  const DsTableRowVirtualized = ({ row, isSelected, rowsMapRef, rowHeightsMapRef, rowVirtualizer, virtualRow, isExpandedRowContent }) => {
18265
- const { selectable, expandable, bordered, rowSize, activeRowId, primaryRowActions, secondaryRowActions, renderExpandedRow, onRowClick, onRowDoubleClick } = useDsTableContext();
18543
+ const { selectable, bordered, rowSize, activeRowId, primaryRowActions, secondaryRowActions, renderExpandedRow, onRowClick, onRowDoubleClick } = useDsTableContext();
18266
18544
  const isExpanded = row.getIsExpanded();
18267
18545
  const isActive = activeRowId === row.id;
18268
18546
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableRow, {
@@ -18284,33 +18562,26 @@ const DsTableRowVirtualized = ({ row, isSelected, rowsMapRef, rowHeightsMapRef,
18284
18562
  }, isExpandedRowContent && ds_table_row_virtualized_module_default.expandedRowContent, onRowClick && ds_table_row_virtualized_module_default.clickableRow, !bordered && ds_table_row_virtualized_module_default.rowNoBorder, isExpanded && ds_table_row_virtualized_module_default.expanded),
18285
18563
  onClick: isExpandedRowContent ? void 0 : () => onRowClick?.(row.original),
18286
18564
  onDoubleClick: isExpandedRowContent ? void 0 : () => onRowDoubleClick?.(row.original),
18287
- children: isExpandedRowContent ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableCell, { children: renderExpandedRow?.(row.original) }) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
18288
- selectable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTableRowSelectableCell, {
18289
- row,
18290
- isSelected,
18291
- className: ds_table_row_virtualized_module_default.selectableCell
18292
- }),
18293
- expandable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTableRowExpandableCell, {
18294
- row,
18295
- className: ds_table_row_virtualized_module_default.expandableCell
18296
- }),
18297
- row.getVisibleCells().map((cell, idx) => {
18298
- const isLastColumn = idx === row.getVisibleCells().length - 1;
18299
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableCell, {
18300
- style: getColumnSizeStyle(cell.column.getSize(), true),
18301
- className: ds_table_row_virtualized_module_default.cell,
18302
- children: isLastColumn ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTableCell, {
18303
- row,
18304
- cell,
18305
- primaryRowActions,
18306
- secondaryRowActions
18307
- }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTableCell, {
18308
- row,
18309
- cell
18310
- })
18311
- }, cell.id);
18312
- })
18313
- ] })
18565
+ children: isExpandedRowContent ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableCell, { children: renderExpandedRow?.(row.original) }) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [selectable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTableRowSelectableCell, {
18566
+ row,
18567
+ isSelected,
18568
+ className: ds_table_row_virtualized_module_default.selectableCell
18569
+ }), row.getVisibleCells().map((cell, idx) => {
18570
+ const isLastColumn = idx === row.getVisibleCells().length - 1;
18571
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableCell, {
18572
+ style: getColumnSizeStyle(cell.column.getSize(), true),
18573
+ className: (0, classnames.default)(ds_table_row_virtualized_module_default.cell, cell.column.id === "expander" && ds_table_row_virtualized_module_default.expandableCell),
18574
+ children: isLastColumn ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTableCell, {
18575
+ row,
18576
+ cell,
18577
+ primaryRowActions,
18578
+ secondaryRowActions
18579
+ }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTableCell, {
18580
+ row,
18581
+ cell
18582
+ })
18583
+ }, cell.id);
18584
+ })] })
18314
18585
  });
18315
18586
  };
18316
18587
  //#endregion
@@ -18404,7 +18675,7 @@ const ROW_SIZE_HEIGHT_MAP = {
18404
18675
  /**
18405
18676
  * Design system Table component
18406
18677
  */
18407
- const DsTable = ({ ref, columns, data: tableData, virtualized = false, virtualizedOptions, className, onRowClick, emptyState, stickyHeader = true, bordered = true, fullWidth = true, rowSize = "medium", expandable = false, renderExpandedRow, selectable = false, showSelectAllCheckbox = true, onSelectionChange, onSortingChange, onScroll, actions = [], onRowDoubleClick, primaryRowActions = [], secondaryRowActions, reorderable = false, onOrderChange, columnFilters: externalColumnFilters, onColumnFiltersChange, columnVisibility: externalColumnVisibility, onColumnVisibilityChange, activeRowId }) => {
18678
+ const DsTable = ({ ref, columns: columnsProp, data: tableData, virtualized = false, virtualizedOptions, className, onRowClick, emptyState, stickyHeader = true, bordered = true, fullWidth = true, rowSize = "medium", expandable = false, renderExpandedRow, selectable = false, showSelectAllCheckbox = true, onSelectionChange, onSortingChange, onScroll, actions = [], onRowDoubleClick, primaryRowActions = [], secondaryRowActions, reorderable = false, onOrderChange, columnFilters: externalColumnFilters, onColumnFiltersChange, columnVisibility: externalColumnVisibility, onColumnVisibilityChange, activeRowId }) => {
18408
18679
  const [data, setData] = react.useState(tableData);
18409
18680
  const [sorting, setSorting] = react.useState([]);
18410
18681
  const [internalColumnFilters, setInternalColumnFilters] = react.useState([]);
@@ -18441,6 +18712,17 @@ const DsTable = ({ ref, columns, data: tableData, virtualized = false, virtualiz
18441
18712
  setRowSelection(newRowSelection);
18442
18713
  onSelectionChange?.(newRowSelection);
18443
18714
  };
18715
+ const columns = (0, react.useMemo)(() => {
18716
+ if (!expandable) return columnsProp;
18717
+ return [{
18718
+ id: EXPANDER_COLUMN_ID,
18719
+ size: 36,
18720
+ enableSorting: false,
18721
+ enableResizing: false,
18722
+ header: () => null,
18723
+ cell: ({ row }) => row.getCanExpand() ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTableRowExpandableCell, { row }) : null
18724
+ }, ...columnsProp];
18725
+ }, [columnsProp, expandable]);
18444
18726
  const table = (0, _tanstack_react_table.useReactTable)({
18445
18727
  data: reorderable ? data : tableData,
18446
18728
  columns,
@@ -18452,6 +18734,8 @@ const DsTable = ({ ref, columns, data: tableData, virtualized = false, virtualiz
18452
18734
  onColumnVisibilityChange: handleColumnVisibilityChange,
18453
18735
  onRowSelectionChange: handleRowSelectionChange,
18454
18736
  getRowId: (row) => row.id,
18737
+ getExpandedRowModel: (0, _tanstack_react_table.getExpandedRowModel)(),
18738
+ getRowCanExpand: typeof expandable === "function" ? (row) => expandable(row.original) : () => expandable,
18455
18739
  state: {
18456
18740
  sorting,
18457
18741
  columnFilters,
@@ -18501,7 +18785,7 @@ const DsTable = ({ ref, columns, data: tableData, virtualized = false, virtualiz
18501
18785
  }), [table]);
18502
18786
  const { rows, rowsById } = table.getRowModel();
18503
18787
  const renderEmptyState = () => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableRow, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableCell, {
18504
- colSpan: columns.length + (expandable ? 1 : 0) + (selectable ? 1 : 0),
18788
+ colSpan: columns.length + (selectable ? 1 : 0) + (reorderable ? 1 : 0),
18505
18789
  className: ds_table_module_default.emptyState,
18506
18790
  children: emptyState || "No results."
18507
18791
  }) });
@@ -19514,6 +19798,183 @@ DsVerticalTabs.List = DsVerticalTabsList;
19514
19798
  DsVerticalTabs.Tab = DsVerticalTabsTab;
19515
19799
  DsVerticalTabs.Content = DsVerticalTabsContent;
19516
19800
  //#endregion
19801
+ //#region src/components/ds-workspace/ds-workspace.module.scss
19802
+ var ds_workspace_module_default = {
19803
+ "content": "XEdo8q_content",
19804
+ "fillParent": "XEdo8q_fillParent",
19805
+ "footer": "XEdo8q_footer",
19806
+ "header": "XEdo8q_header",
19807
+ "root": "XEdo8q_root",
19808
+ "subHeader": "XEdo8q_subHeader"
19809
+ };
19810
+ //#endregion
19811
+ //#region src/components/ds-workspace/ds-workspace.tsx
19812
+ const DsWorkspace = (t0) => {
19813
+ const $ = (0, react_compiler_runtime.c)(10);
19814
+ let className;
19815
+ let rest;
19816
+ let t1;
19817
+ if ($[0] !== t0) {
19818
+ ({className, fillParent: t1, ...rest} = t0);
19819
+ $[0] = t0;
19820
+ $[1] = className;
19821
+ $[2] = rest;
19822
+ $[3] = t1;
19823
+ } else {
19824
+ className = $[1];
19825
+ rest = $[2];
19826
+ t1 = $[3];
19827
+ }
19828
+ const fillParent = t1 === void 0 ? false : t1;
19829
+ let t2;
19830
+ if ($[4] !== className || $[5] !== fillParent) {
19831
+ t2 = (0, classnames.default)(ds_workspace_module_default.root, { [ds_workspace_module_default.fillParent]: fillParent }, className);
19832
+ $[4] = className;
19833
+ $[5] = fillParent;
19834
+ $[6] = t2;
19835
+ } else t2 = $[6];
19836
+ let t3;
19837
+ if ($[7] !== rest || $[8] !== t2) {
19838
+ t3 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
19839
+ ...rest,
19840
+ className: t2
19841
+ });
19842
+ $[7] = rest;
19843
+ $[8] = t2;
19844
+ $[9] = t3;
19845
+ } else t3 = $[9];
19846
+ return t3;
19847
+ };
19848
+ const Header = (t0) => {
19849
+ const $ = (0, react_compiler_runtime.c)(8);
19850
+ let className;
19851
+ let rest;
19852
+ if ($[0] !== t0) {
19853
+ ({className, ...rest} = t0);
19854
+ $[0] = t0;
19855
+ $[1] = className;
19856
+ $[2] = rest;
19857
+ } else {
19858
+ className = $[1];
19859
+ rest = $[2];
19860
+ }
19861
+ let t1;
19862
+ if ($[3] !== className) {
19863
+ t1 = (0, classnames.default)(ds_workspace_module_default.header, className);
19864
+ $[3] = className;
19865
+ $[4] = t1;
19866
+ } else t1 = $[4];
19867
+ let t2;
19868
+ if ($[5] !== rest || $[6] !== t1) {
19869
+ t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("header", {
19870
+ ...rest,
19871
+ className: t1
19872
+ });
19873
+ $[5] = rest;
19874
+ $[6] = t1;
19875
+ $[7] = t2;
19876
+ } else t2 = $[7];
19877
+ return t2;
19878
+ };
19879
+ const SubHeader = (t0) => {
19880
+ const $ = (0, react_compiler_runtime.c)(8);
19881
+ let className;
19882
+ let rest;
19883
+ if ($[0] !== t0) {
19884
+ ({className, ...rest} = t0);
19885
+ $[0] = t0;
19886
+ $[1] = className;
19887
+ $[2] = rest;
19888
+ } else {
19889
+ className = $[1];
19890
+ rest = $[2];
19891
+ }
19892
+ let t1;
19893
+ if ($[3] !== className) {
19894
+ t1 = (0, classnames.default)(ds_workspace_module_default.subHeader, className);
19895
+ $[3] = className;
19896
+ $[4] = t1;
19897
+ } else t1 = $[4];
19898
+ let t2;
19899
+ if ($[5] !== rest || $[6] !== t1) {
19900
+ t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
19901
+ ...rest,
19902
+ className: t1
19903
+ });
19904
+ $[5] = rest;
19905
+ $[6] = t1;
19906
+ $[7] = t2;
19907
+ } else t2 = $[7];
19908
+ return t2;
19909
+ };
19910
+ /** Stacking context for non-portal drawer containment. */
19911
+ const Content = (t0) => {
19912
+ const $ = (0, react_compiler_runtime.c)(8);
19913
+ let className;
19914
+ let rest;
19915
+ if ($[0] !== t0) {
19916
+ ({className, ...rest} = t0);
19917
+ $[0] = t0;
19918
+ $[1] = className;
19919
+ $[2] = rest;
19920
+ } else {
19921
+ className = $[1];
19922
+ rest = $[2];
19923
+ }
19924
+ let t1;
19925
+ if ($[3] !== className) {
19926
+ t1 = (0, classnames.default)(ds_workspace_module_default.content, className);
19927
+ $[3] = className;
19928
+ $[4] = t1;
19929
+ } else t1 = $[4];
19930
+ let t2;
19931
+ if ($[5] !== rest || $[6] !== t1) {
19932
+ t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
19933
+ ...rest,
19934
+ className: t1
19935
+ });
19936
+ $[5] = rest;
19937
+ $[6] = t1;
19938
+ $[7] = t2;
19939
+ } else t2 = $[7];
19940
+ return t2;
19941
+ };
19942
+ const Footer = (t0) => {
19943
+ const $ = (0, react_compiler_runtime.c)(8);
19944
+ let className;
19945
+ let rest;
19946
+ if ($[0] !== t0) {
19947
+ ({className, ...rest} = t0);
19948
+ $[0] = t0;
19949
+ $[1] = className;
19950
+ $[2] = rest;
19951
+ } else {
19952
+ className = $[1];
19953
+ rest = $[2];
19954
+ }
19955
+ let t1;
19956
+ if ($[3] !== className) {
19957
+ t1 = (0, classnames.default)(ds_workspace_module_default.footer, className);
19958
+ $[3] = className;
19959
+ $[4] = t1;
19960
+ } else t1 = $[4];
19961
+ let t2;
19962
+ if ($[5] !== rest || $[6] !== t1) {
19963
+ t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("footer", {
19964
+ ...rest,
19965
+ className: t1
19966
+ });
19967
+ $[5] = rest;
19968
+ $[6] = t1;
19969
+ $[7] = t2;
19970
+ } else t2 = $[7];
19971
+ return t2;
19972
+ };
19973
+ DsWorkspace.Header = Header;
19974
+ DsWorkspace.SubHeader = SubHeader;
19975
+ DsWorkspace.Content = Content;
19976
+ DsWorkspace.Footer = Footer;
19977
+ //#endregion
19517
19978
  exports.BREAKPOINT_LG = BREAKPOINT_LG;
19518
19979
  exports.DsAlertBanner = DsAlertBanner;
19519
19980
  exports.DsAutocomplete = DsAutocomplete;
@@ -19524,6 +19985,7 @@ exports.DsButton = DsButton;
19524
19985
  exports.DsButtonV3 = DsButtonV3;
19525
19986
  exports.DsCard = DsCard;
19526
19987
  exports.DsCheckbox = DsCheckbox;
19988
+ exports.DsCheckboxGroup = DsCheckboxGroup;
19527
19989
  exports.DsChip = DsChip;
19528
19990
  exports.DsChipGroup = DsChipGroup;
19529
19991
  exports.DsCommentBubble = DsCommentBubble;
@@ -19589,6 +20051,7 @@ exports.DsTooltip = DsTooltip;
19589
20051
  exports.DsTree = DsTree;
19590
20052
  exports.DsTypography = DsTypography;
19591
20053
  exports.DsVerticalTabs = DsVerticalTabs;
20054
+ exports.DsWorkspace = DsWorkspace;
19592
20055
  exports.FatalFileUploadError = FatalFileUploadError;
19593
20056
  exports.FileUpload = FileUpload;
19594
20057
  exports.FileUploadError = FileUploadError;
@@ -19607,9 +20070,11 @@ exports.createDsTreeCollection = createDsTreeCollection;
19607
20070
  exports.createDualRangeFilterAdapter = createDualRangeFilterAdapter;
19608
20071
  exports.createFilterAdapter = createFilterAdapter;
19609
20072
  exports.customIcons = customIcons;
20073
+ exports.dropdownMenuItemVariants = dropdownMenuItemVariants;
19610
20074
  exports.dsKeyValuePairOrientations = dsKeyValuePairOrientations;
19611
20075
  exports.filterStatuses = filterStatuses;
19612
20076
  exports.formatTime = formatTime;
20077
+ exports.iconColors = iconColors;
19613
20078
  exports.iconSizes = iconSizes;
19614
20079
  exports.iconVariants = iconVariants;
19615
20080
  exports.isCustomIcon = isCustomIcon;
@@ -19631,6 +20096,7 @@ exports.tagSizes = tagSizes;
19631
20096
  exports.tagVariants = tagVariants;
19632
20097
  exports.textInputSizes = textInputSizes;
19633
20098
  exports.useBreakpoint = useBreakpoint;
20099
+ exports.useCheckboxSelectAll = useCheckboxSelectAll;
19634
20100
  exports.useFileUpload = useFileUpload;
19635
20101
  exports.useResponsiveValue = useResponsiveValue;
19636
20102
  exports.useTableFilters = useTableFilters;