@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.js CHANGED
@@ -2,8 +2,8 @@ import { c } from "react/compiler-runtime";
2
2
  import classNames from "classnames";
3
3
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
4
4
  import * as React$1 from "react";
5
- import React, { Children, Fragment as Fragment$1, createContext, createElement, isValidElement, useContext, useEffect, useId, useImperativeHandle, useLayoutEffect, useRef, useState, useSyncExternalStore } from "react";
6
- import { Slot } from "@radix-ui/react-slot";
5
+ import React, { Children, Fragment as Fragment$1, createContext, createElement, isValidElement, useContext, useEffect, useId, useImperativeHandle, useLayoutEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
6
+ import { FileUpload as FileUpload$1, NumberInput, PasswordInput, Progress, Toast, Toaster, ark, createToaster } from "@ark-ui/react";
7
7
  import { Combobox, createListCollection } from "@ark-ui/react/combobox";
8
8
  import { useFilter } from "@ark-ui/react/locale";
9
9
  import { Highlight } from "@ark-ui/react/highlight";
@@ -13,9 +13,9 @@ import * as Tooltip from "@radix-ui/react-tooltip";
13
13
  import { Link, useLocation } from "@tanstack/react-router";
14
14
  import * as DropdownMenu from "@radix-ui/react-dropdown-menu";
15
15
  import { Menu } from "@ark-ui/react/menu";
16
- import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
16
+ import { Checkbox } from "@ark-ui/react/checkbox";
17
17
  import * as RadixDialog from "@radix-ui/react-dialog";
18
- import { Root as Root$1 } from "@radix-ui/react-visually-hidden";
18
+ import { Root } from "@radix-ui/react-visually-hidden";
19
19
  import { Dialog } from "@ark-ui/react/dialog";
20
20
  import { createPortal } from "react-dom";
21
21
  import { Tabs } from "@ark-ui/react/tabs";
@@ -23,15 +23,13 @@ import { DatePicker } from "@ark-ui/react/date-picker";
23
23
  import { CalendarDate, fromDate, getLocalTimeZone, parseDate } from "@internationalized/date";
24
24
  import { Popover } from "@ark-ui/react/popover";
25
25
  import { Select, createListCollection as createListCollection$1, useSelect, useSelectContext } from "@ark-ui/react/select";
26
- import { FileUpload as FileUpload$1, NumberInput, PasswordInput, Progress, Toast, Toaster, createToaster } from "@ark-ui/react";
27
26
  import * as Collapsible from "@radix-ui/react-collapsible";
28
27
  import * as Popover$1 from "@radix-ui/react-popover";
29
- import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
30
28
  import { RadioGroup } from "@ark-ui/react/radio-group";
31
29
  import { SegmentGroup } from "@ark-ui/react/segment-group";
32
30
  import * as steps from "@zag-js/steps";
33
31
  import { normalizeProps, useMachine } from "@zag-js/react";
34
- import { defaultColumnSizing, flexRender, getCoreRowModel, getFilteredRowModel, getSortedRowModel, useReactTable } from "@tanstack/react-table";
32
+ import { defaultColumnSizing, flexRender, getCoreRowModel, getExpandedRowModel, getFilteredRowModel, getSortedRowModel, useReactTable } from "@tanstack/react-table";
35
33
  import { SortableContext, arrayMove, useSortable, verticalListSortingStrategy } from "@dnd-kit/sortable";
36
34
  import { CSS } from "@dnd-kit/utilities";
37
35
  import { DndContext, KeyboardSensor, MouseSensor, TouchSensor, closestCenter, useSensor, useSensors } from "@dnd-kit/core";
@@ -69,6 +67,37 @@ var ds_icon_module_default = {
69
67
  "tiny": "BWBvDq_tiny"
70
68
  };
71
69
  //#endregion
70
+ //#region src/components/ds-icon/ds-icon.types.ts
71
+ const iconSizes = [
72
+ "tiny",
73
+ "small",
74
+ "medium",
75
+ "large",
76
+ "extra-large"
77
+ ];
78
+ const iconVariants = ["outlined", "rounded"];
79
+ const iconColors = [
80
+ "action",
81
+ "action-hover",
82
+ "action-secondary",
83
+ "disabled",
84
+ "error",
85
+ "execution",
86
+ "information-main",
87
+ "information-secondary",
88
+ "inverse",
89
+ "main",
90
+ "on-button",
91
+ "on-dark-disabled",
92
+ "pause",
93
+ "pending",
94
+ "secondary",
95
+ "success",
96
+ "success-light",
97
+ "warning",
98
+ "warning-light"
99
+ ];
100
+ //#endregion
72
101
  //#region src/components/ds-icon/custom-icons/special-market.tsx
73
102
  /**
74
103
  * Special Market icon - represents a market/city location
@@ -1979,6 +2008,33 @@ const SpecialHome = (props) => {
1979
2008
  return t1;
1980
2009
  };
1981
2010
  //#endregion
2011
+ //#region src/components/ds-icon/custom-icons/special-leading-icon.tsx
2012
+ /** Leading / input-adjacent building icon from design (AR-58177). */
2013
+ const SpecialLeadingIcon = (props) => {
2014
+ const $ = c(3);
2015
+ let t0;
2016
+ if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
2017
+ t0 = /* @__PURE__ */ jsx("path", {
2018
+ 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",
2019
+ fill: "currentColor"
2020
+ });
2021
+ $[0] = t0;
2022
+ } else t0 = $[0];
2023
+ let t1;
2024
+ if ($[1] !== props) {
2025
+ t1 = /* @__PURE__ */ jsx("svg", {
2026
+ xmlns: "http://www.w3.org/2000/svg",
2027
+ viewBox: "0 0 12 13",
2028
+ fill: "none",
2029
+ ...props,
2030
+ children: t0
2031
+ });
2032
+ $[1] = props;
2033
+ $[2] = t1;
2034
+ } else t1 = $[2];
2035
+ return t1;
2036
+ };
2037
+ //#endregion
1982
2038
  //#region src/components/ds-icon/custom-icons/special-lego.tsx
1983
2039
  /**
1984
2040
  * Special Lego icon
@@ -2666,6 +2722,7 @@ const customIcons = {
2666
2722
  "special-webhook": SpecialWebhook,
2667
2723
  "special-map-view": SpecialMapView,
2668
2724
  "special-home": SpecialHome,
2725
+ "special-leading-icon": SpecialLeadingIcon,
2669
2726
  "special-lego": SpecialLego,
2670
2727
  "special-scheme": SpecialScheme,
2671
2728
  "special-book": SpecialBook,
@@ -2686,11 +2743,14 @@ const isCustomIcon = (icon) => {
2686
2743
  };
2687
2744
  //#endregion
2688
2745
  //#region src/components/ds-icon/ds-icon.tsx
2746
+ const iconColorSet = new Set(iconColors);
2747
+ const resolveColor$1 = (color) => iconColorSet.has(color) ? `var(--icon-${color})` : color;
2689
2748
  /**
2690
2749
  * Design system Icon component that renders Google Material Icons, custom SVG icons, or inline SVGs
2691
2750
  */
2692
2751
  const DsIcon = (t0) => {
2693
- const $ = c(24);
2752
+ const $ = c(30);
2753
+ let color;
2694
2754
  let filled;
2695
2755
  let icon;
2696
2756
  let rest;
@@ -2699,44 +2759,58 @@ const DsIcon = (t0) => {
2699
2759
  let t3;
2700
2760
  let t4;
2701
2761
  if ($[0] !== t0) {
2702
- ({icon, size: t1, variant: t2, filled, className: t3, style: t4, ...rest} = t0);
2762
+ ({icon, size: t1, variant: t2, filled, color, className: t3, style: t4, ...rest} = t0);
2703
2763
  $[0] = t0;
2704
- $[1] = filled;
2705
- $[2] = icon;
2706
- $[3] = rest;
2707
- $[4] = t1;
2708
- $[5] = t2;
2709
- $[6] = t3;
2710
- $[7] = t4;
2764
+ $[1] = color;
2765
+ $[2] = filled;
2766
+ $[3] = icon;
2767
+ $[4] = rest;
2768
+ $[5] = t1;
2769
+ $[6] = t2;
2770
+ $[7] = t3;
2771
+ $[8] = t4;
2711
2772
  } else {
2712
- filled = $[1];
2713
- icon = $[2];
2714
- rest = $[3];
2715
- t1 = $[4];
2716
- t2 = $[5];
2717
- t3 = $[6];
2718
- t4 = $[7];
2773
+ color = $[1];
2774
+ filled = $[2];
2775
+ icon = $[3];
2776
+ rest = $[4];
2777
+ t1 = $[5];
2778
+ t2 = $[6];
2779
+ t3 = $[7];
2780
+ t4 = $[8];
2719
2781
  }
2720
2782
  const size = t1 === void 0 ? "medium" : t1;
2721
2783
  const variant = t2 === void 0 ? "outlined" : t2;
2722
2784
  const className = t3 === void 0 ? "" : t3;
2723
2785
  let t5;
2724
- if ($[8] !== t4) {
2786
+ if ($[9] !== t4) {
2725
2787
  t5 = t4 === void 0 ? {} : t4;
2726
- $[8] = t4;
2727
- $[9] = t5;
2728
- } else t5 = $[9];
2788
+ $[9] = t4;
2789
+ $[10] = t5;
2790
+ } else t5 = $[10];
2729
2791
  const style = t5;
2792
+ let mergedStyle;
2730
2793
  let t6;
2731
2794
  let t7;
2732
- if ($[10] !== className || $[11] !== filled || $[12] !== icon || $[13] !== rest || $[14] !== size || $[15] !== style || $[16] !== variant) {
2795
+ if ($[11] !== className || $[12] !== color || $[13] !== filled || $[14] !== icon || $[15] !== rest || $[16] !== size || $[17] !== style || $[18] !== variant) {
2733
2796
  t7 = Symbol.for("react.early_return_sentinel");
2734
2797
  bb0: {
2735
2798
  const iconClass = classNames(ds_icon_module_default.icon, ds_icon_module_default[size], { [ds_icon_module_default.filled]: filled }, className);
2799
+ let t8;
2800
+ if ($[22] !== color || $[23] !== style) {
2801
+ t8 = color ? {
2802
+ color: resolveColor$1(color),
2803
+ ...style
2804
+ } : style;
2805
+ $[22] = color;
2806
+ $[23] = style;
2807
+ $[24] = t8;
2808
+ } else t8 = $[24];
2809
+ mergedStyle = t8;
2736
2810
  if (typeof icon === "function") {
2737
2811
  t7 = /* @__PURE__ */ jsx(icon, {
2738
2812
  className: iconClass,
2739
- style,
2813
+ style: mergedStyle,
2740
2814
  ...rest
2741
2815
  });
2742
2816
  break bb0;
@@ -2745,80 +2819,161 @@ const DsIcon = (t0) => {
2745
2819
  const SvgComponent_0 = customIcons[icon];
2746
2820
  t7 = /* @__PURE__ */ jsx(SvgComponent_0, {
2747
2821
  className: iconClass,
2748
- style,
2822
+ style: mergedStyle,
2749
2823
  ...rest
2750
2824
  });
2751
2825
  break bb0;
2752
2826
  }
2753
2827
  t6 = classNames(iconClass, `material-symbols-${variant}`);
2754
2828
  }
2755
- $[10] = className;
2756
- $[11] = filled;
2757
- $[12] = icon;
2758
- $[13] = rest;
2759
- $[14] = size;
2760
- $[15] = style;
2761
- $[16] = variant;
2762
- $[17] = t6;
2763
- $[18] = t7;
2829
+ $[11] = className;
2830
+ $[12] = color;
2831
+ $[13] = filled;
2832
+ $[14] = icon;
2833
+ $[15] = rest;
2834
+ $[16] = size;
2835
+ $[17] = style;
2836
+ $[18] = variant;
2837
+ $[19] = mergedStyle;
2838
+ $[20] = t6;
2839
+ $[21] = t7;
2764
2840
  } else {
2765
- t6 = $[17];
2766
- t7 = $[18];
2841
+ mergedStyle = $[19];
2842
+ t6 = $[20];
2843
+ t7 = $[21];
2767
2844
  }
2768
2845
  if (t7 !== Symbol.for("react.early_return_sentinel")) return t7;
2769
2846
  let t8;
2770
- if ($[19] !== icon || $[20] !== rest || $[21] !== style || $[22] !== t6) {
2847
+ if ($[25] !== icon || $[26] !== mergedStyle || $[27] !== rest || $[28] !== t6) {
2771
2848
  t8 = /* @__PURE__ */ jsx("span", {
2772
2849
  className: t6,
2773
- style,
2850
+ style: mergedStyle,
2774
2851
  ...rest,
2775
2852
  children: icon
2776
2853
  });
2777
- $[19] = icon;
2778
- $[20] = rest;
2779
- $[21] = style;
2780
- $[22] = t6;
2781
- $[23] = t8;
2782
- } else t8 = $[23];
2854
+ $[25] = icon;
2855
+ $[26] = mergedStyle;
2856
+ $[27] = rest;
2857
+ $[28] = t6;
2858
+ $[29] = t8;
2859
+ } else t8 = $[29];
2783
2860
  return t8;
2784
2861
  };
2785
2862
  //#endregion
2786
- //#region src/components/ds-icon/ds-icon.types.ts
2787
- const iconSizes = [
2788
- "tiny",
2789
- "small",
2790
- "medium",
2791
- "large",
2792
- "extra-large"
2793
- ];
2794
- const iconVariants = ["outlined", "rounded"];
2795
- //#endregion
2796
2863
  //#region src/components/ds-typography/ds-typography.config.ts
2797
- const semanticElementMap = {
2798
- "body-md-reg": "p",
2799
- "body-md-md": "p",
2800
- "body-md-semi-bold": "p",
2801
- "body-md-bold": "p",
2802
- "body-md-link": "a",
2803
- "body-sm-reg": "span",
2804
- "body-sm-md": "span",
2805
- "body-sm-semi-bold": "span",
2806
- "body-sm-bold": "span",
2807
- "body-sm-link": "a",
2808
- "body-xs-reg": "span",
2809
- "body-xs-md": "span",
2810
- "body-xs-semi-bold": "span",
2811
- "body-xs-bold": "span",
2812
- "body-xs-link": "a",
2813
- "code-sm-reg": "code",
2814
- "code-sm-semi-bold": "code",
2815
- "code-xs-reg": "code",
2816
- "code-xs-semi-bold": "code",
2817
- heading1: "h1",
2818
- heading2: "h2",
2819
- heading3: "h3",
2820
- heading4: "h4"
2864
+ const typographyVariantConfig = {
2865
+ "body-md-reg": {
2866
+ element: "p",
2867
+ component: ark.p
2868
+ },
2869
+ "body-md-md": {
2870
+ element: "p",
2871
+ component: ark.p
2872
+ },
2873
+ "body-md-semi-bold": {
2874
+ element: "p",
2875
+ component: ark.p
2876
+ },
2877
+ "body-md-bold": {
2878
+ element: "p",
2879
+ component: ark.p
2880
+ },
2881
+ "body-md-link": {
2882
+ element: "a",
2883
+ component: ark.a
2884
+ },
2885
+ "body-sm-reg": {
2886
+ element: "span",
2887
+ component: ark.span
2888
+ },
2889
+ "body-sm-md": {
2890
+ element: "span",
2891
+ component: ark.span
2892
+ },
2893
+ "body-sm-semi-bold": {
2894
+ element: "span",
2895
+ component: ark.span
2896
+ },
2897
+ "body-sm-bold": {
2898
+ element: "span",
2899
+ component: ark.span
2900
+ },
2901
+ "body-sm-link": {
2902
+ element: "a",
2903
+ component: ark.a
2904
+ },
2905
+ "body-xs-reg": {
2906
+ element: "span",
2907
+ component: ark.span
2908
+ },
2909
+ "body-xs-md": {
2910
+ element: "span",
2911
+ component: ark.span
2912
+ },
2913
+ "body-xs-semi-bold": {
2914
+ element: "span",
2915
+ component: ark.span
2916
+ },
2917
+ "body-xs-bold": {
2918
+ element: "span",
2919
+ component: ark.span
2920
+ },
2921
+ "body-xs-link": {
2922
+ element: "a",
2923
+ component: ark.a
2924
+ },
2925
+ "code-sm-reg": {
2926
+ element: "code",
2927
+ component: ark.code
2928
+ },
2929
+ "code-sm-semi-bold": {
2930
+ element: "code",
2931
+ component: ark.code
2932
+ },
2933
+ "code-xs-reg": {
2934
+ element: "code",
2935
+ component: ark.code
2936
+ },
2937
+ "code-xs-semi-bold": {
2938
+ element: "code",
2939
+ component: ark.code
2940
+ },
2941
+ heading1: {
2942
+ element: "h1",
2943
+ component: ark.h1
2944
+ },
2945
+ heading2: {
2946
+ element: "h2",
2947
+ component: ark.h2
2948
+ },
2949
+ heading3: {
2950
+ element: "h3",
2951
+ component: ark.h3
2952
+ },
2953
+ heading4: {
2954
+ element: "h4",
2955
+ component: ark.h4
2956
+ }
2821
2957
  };
2958
+ /** Semantic text colors backed by `--font-*` tokens in `_root_new.scss`. */
2959
+ const typographyColors = [
2960
+ "main",
2961
+ "secondary",
2962
+ "action",
2963
+ "action-hover",
2964
+ "action-secondary",
2965
+ "action-secondary-hover",
2966
+ "disabled",
2967
+ "light-disabled",
2968
+ "on-action",
2969
+ "on-disabled",
2970
+ "placeholder",
2971
+ "highlight",
2972
+ "success",
2973
+ "warning",
2974
+ "error",
2975
+ "code"
2976
+ ];
2822
2977
  //#endregion
2823
2978
  //#region src/components/ds-typography/ds-typography.module.scss
2824
2979
  var ds_typography_module_default = {
@@ -2848,56 +3003,79 @@ var ds_typography_module_default = {
2848
3003
  };
2849
3004
  //#endregion
2850
3005
  //#region src/components/ds-typography/ds-typography.tsx
3006
+ const semanticColorSet = new Set(typographyColors);
3007
+ const resolveColor = (color) => semanticColorSet.has(color) ? `var(--font-${color})` : color;
2851
3008
  const DsTypography = (t0) => {
2852
- const $ = c(16);
3009
+ const $ = c(23);
2853
3010
  let children;
2854
3011
  let className;
3012
+ let color;
2855
3013
  let props;
2856
3014
  let ref;
3015
+ let style;
2857
3016
  let t1;
2858
3017
  let variant;
2859
3018
  if ($[0] !== t0) {
2860
- ({ref, variant, asChild: t1, className, children, ...props} = t0);
3019
+ ({ref, variant, asChild: t1, className, style, color, children, ...props} = t0);
2861
3020
  $[0] = t0;
2862
3021
  $[1] = children;
2863
3022
  $[2] = className;
2864
- $[3] = props;
2865
- $[4] = ref;
2866
- $[5] = t1;
2867
- $[6] = variant;
3023
+ $[3] = color;
3024
+ $[4] = props;
3025
+ $[5] = ref;
3026
+ $[6] = style;
3027
+ $[7] = t1;
3028
+ $[8] = variant;
2868
3029
  } else {
2869
3030
  children = $[1];
2870
3031
  className = $[2];
2871
- props = $[3];
2872
- ref = $[4];
2873
- t1 = $[5];
2874
- variant = $[6];
3032
+ color = $[3];
3033
+ props = $[4];
3034
+ ref = $[5];
3035
+ style = $[6];
3036
+ t1 = $[7];
3037
+ variant = $[8];
2875
3038
  }
2876
- const Component = (t1 === void 0 ? false : t1) ? Slot : semanticElementMap[variant];
3039
+ const asChild = t1 === void 0 ? false : t1;
3040
+ const Component = typographyVariantConfig[variant].component;
2877
3041
  const t2 = ds_typography_module_default[variant];
2878
3042
  let t3;
2879
- if ($[7] !== className || $[8] !== t2) {
3043
+ if ($[9] !== className || $[10] !== t2) {
2880
3044
  t3 = classNames(t2, className);
2881
- $[7] = className;
2882
- $[8] = t2;
2883
- $[9] = t3;
2884
- } else t3 = $[9];
3045
+ $[9] = className;
3046
+ $[10] = t2;
3047
+ $[11] = t3;
3048
+ } else t3 = $[11];
2885
3049
  let t4;
2886
- if ($[10] !== Component || $[11] !== children || $[12] !== props || $[13] !== ref || $[14] !== t3) {
2887
- t4 = /* @__PURE__ */ jsx(Component, {
3050
+ if ($[12] !== color || $[13] !== style) {
3051
+ t4 = color ? {
3052
+ color: resolveColor(color),
3053
+ ...style
3054
+ } : style;
3055
+ $[12] = color;
3056
+ $[13] = style;
3057
+ $[14] = t4;
3058
+ } else t4 = $[14];
3059
+ let t5;
3060
+ if ($[15] !== Component || $[16] !== asChild || $[17] !== children || $[18] !== props || $[19] !== ref || $[20] !== t3 || $[21] !== t4) {
3061
+ t5 = /* @__PURE__ */ jsx(Component, {
2888
3062
  ref,
3063
+ asChild,
2889
3064
  className: t3,
3065
+ style: t4,
2890
3066
  ...props,
2891
3067
  children
2892
3068
  });
2893
- $[10] = Component;
2894
- $[11] = children;
2895
- $[12] = props;
2896
- $[13] = ref;
2897
- $[14] = t3;
2898
- $[15] = t4;
2899
- } else t4 = $[15];
2900
- return t4;
3069
+ $[15] = Component;
3070
+ $[16] = asChild;
3071
+ $[17] = children;
3072
+ $[18] = props;
3073
+ $[19] = ref;
3074
+ $[20] = t3;
3075
+ $[21] = t4;
3076
+ $[22] = t5;
3077
+ } else t5 = $[22];
3078
+ return t5;
2901
3079
  };
2902
3080
  //#endregion
2903
3081
  //#region src/components/ds-alert-banner/ds-alert-banner.tsx
@@ -3648,6 +3826,7 @@ var ds_dropdown_menu_module_default = {
3648
3826
  "separator": "AkHUyG_separator",
3649
3827
  "triggerItem": "AkHUyG_triggerItem",
3650
3828
  "triggerItemIcon": "AkHUyG_triggerItemIcon",
3829
+ "variant-error": "AkHUyG_variant-error",
3651
3830
  "viewportLegacy": "AkHUyG_viewportLegacy"
3652
3831
  };
3653
3832
  //#endregion
@@ -3811,7 +3990,7 @@ const DEFAULT_POSITIONING = {
3811
3990
  /**
3812
3991
  * Root component - manages dropdown state
3813
3992
  */
3814
- const Root$5 = (t0) => {
3993
+ const Root$4 = (t0) => {
3815
3994
  const $ = c(16);
3816
3995
  const { open, onOpenChange, onSelect, onHighlightChange, positioning: customPositioning, preventCloseOnSelect: t1, children } = t0;
3817
3996
  const preventCloseOnSelect = t1 === void 0 ? false : t1;
@@ -3873,7 +4052,7 @@ const Trigger = Menu.Trigger;
3873
4052
  /**
3874
4053
  * Content component - wraps the dropdown content
3875
4054
  */
3876
- const Content = (t0) => {
4055
+ const Content$1 = (t0) => {
3877
4056
  const $ = c(9);
3878
4057
  const { disablePortal: t1, children, className, style } = t0;
3879
4058
  const Wrapper = (t1 === void 0 ? false : t1) ? Fragment$1 : Portal;
@@ -3908,20 +4087,22 @@ const Content = (t0) => {
3908
4087
  * Item component - renders a menu item
3909
4088
  */
3910
4089
  const Item$2 = (t0) => {
3911
- const $ = c(12);
3912
- const { disabled, selected, value, asChild, onClick, onSelect, children, className, style } = t0;
3913
- let t1;
3914
- if ($[0] !== className || $[1] !== selected) {
3915
- t1 = classNames(ds_dropdown_menu_module_default.item, { [ds_dropdown_menu_module_default.selected]: selected }, className);
4090
+ const $ = c(13);
4091
+ const { disabled, selected, variant: t1, value, asChild, onClick, onSelect, children, className, style } = t0;
4092
+ const variant = t1 === void 0 ? "default" : t1;
4093
+ let t2;
4094
+ if ($[0] !== className || $[1] !== selected || $[2] !== variant) {
4095
+ t2 = classNames(ds_dropdown_menu_module_default.item, { [ds_dropdown_menu_module_default.selected]: selected }, variant === "error" && ds_dropdown_menu_module_default["variant-error"], className);
3916
4096
  $[0] = className;
3917
4097
  $[1] = selected;
3918
- $[2] = t1;
3919
- } else t1 = $[2];
3920
- let t2;
3921
- if ($[3] !== asChild || $[4] !== children || $[5] !== disabled || $[6] !== onClick || $[7] !== onSelect || $[8] !== style || $[9] !== t1 || $[10] !== value) {
3922
- t2 = /* @__PURE__ */ jsx(Menu.Item, {
4098
+ $[2] = variant;
4099
+ $[3] = t2;
4100
+ } else t2 = $[3];
4101
+ let t3;
4102
+ if ($[4] !== asChild || $[5] !== children || $[6] !== disabled || $[7] !== onClick || $[8] !== onSelect || $[9] !== style || $[10] !== t2 || $[11] !== value) {
4103
+ t3 = /* @__PURE__ */ jsx(Menu.Item, {
3923
4104
  disabled,
3924
- className: t1,
4105
+ className: t2,
3925
4106
  style,
3926
4107
  value,
3927
4108
  asChild,
@@ -3929,17 +4110,17 @@ const Item$2 = (t0) => {
3929
4110
  onSelect,
3930
4111
  children
3931
4112
  });
3932
- $[3] = asChild;
3933
- $[4] = children;
3934
- $[5] = disabled;
3935
- $[6] = onClick;
3936
- $[7] = onSelect;
3937
- $[8] = style;
3938
- $[9] = t1;
3939
- $[10] = value;
3940
- $[11] = t2;
3941
- } else t2 = $[11];
3942
- return t2;
4113
+ $[4] = asChild;
4114
+ $[5] = children;
4115
+ $[6] = disabled;
4116
+ $[7] = onClick;
4117
+ $[8] = onSelect;
4118
+ $[9] = style;
4119
+ $[10] = t2;
4120
+ $[11] = value;
4121
+ $[12] = t3;
4122
+ } else t3 = $[12];
4123
+ return t3;
3943
4124
  };
3944
4125
  /**
3945
4126
  * ItemIndicator component - renders a selection indicator (check icon by default)
@@ -3976,7 +4157,7 @@ const ItemIndicator = (t0) => {
3976
4157
  /**
3977
4158
  * Header component - sticky header container for search, filters, or other controls
3978
4159
  */
3979
- const Header$3 = (t0) => {
4160
+ const Header$4 = (t0) => {
3980
4161
  const $ = c(6);
3981
4162
  const { children, className, style } = t0;
3982
4163
  let t1;
@@ -4450,13 +4631,13 @@ const DsDropdownMenuLegacy = (t0) => {
4450
4631
  * </DsDropdownMenu.Root>
4451
4632
  */
4452
4633
  const DsDropdownMenu = {
4453
- Root: Root$5,
4634
+ Root: Root$4,
4454
4635
  Trigger,
4455
- Content,
4636
+ Content: Content$1,
4456
4637
  Item: Item$2,
4457
4638
  ItemIndicator,
4458
4639
  TriggerItem,
4459
- Header: Header$3,
4640
+ Header: Header$4,
4460
4641
  Actions: Actions$2,
4461
4642
  ItemGroup,
4462
4643
  ItemGroupLabel,
@@ -4470,6 +4651,9 @@ function _temp2$7(e) {
4470
4651
  return e.stopPropagation();
4471
4652
  }
4472
4653
  //#endregion
4654
+ //#region src/components/ds-dropdown-menu/ds-dropdown-menu.types.ts
4655
+ const dropdownMenuItemVariants = ["default", "error"];
4656
+ //#endregion
4473
4657
  //#region src/components/ds-breadcrumb/ds-breadcrumb.tsx
4474
4658
  /**
4475
4659
  * Design system Breadcrumb component
@@ -5178,7 +5362,7 @@ var ds_card_module_default = {
5178
5362
  * Card root component - container with optional selectable behavior.
5179
5363
  * Use composition with DsCard.Header, DsCard.Body, DsCard.Footer for full flexibility.
5180
5364
  */
5181
- const Root$4 = (t0) => {
5365
+ const Root$3 = (t0) => {
5182
5366
  const $ = c(33);
5183
5367
  let children;
5184
5368
  let className;
@@ -5291,7 +5475,7 @@ const Root$4 = (t0) => {
5291
5475
  * Use with DsCard.Title and DsCard.Extra for standard layout,
5292
5476
  * or provide custom children for full flexibility.
5293
5477
  */
5294
- const Header$2 = (t0) => {
5478
+ const Header$3 = (t0) => {
5295
5479
  const $ = c(12);
5296
5480
  let children;
5297
5481
  let className;
@@ -5379,7 +5563,7 @@ const Body$2 = (t0) => {
5379
5563
  /**
5380
5564
  * Card footer - bottom section for actions or additional info.
5381
5565
  */
5382
- const Footer$2 = (t0) => {
5566
+ const Footer$3 = (t0) => {
5383
5567
  const $ = c(12);
5384
5568
  let children;
5385
5569
  let className;
@@ -5421,10 +5605,10 @@ const Footer$2 = (t0) => {
5421
5605
  return t2;
5422
5606
  };
5423
5607
  const DsCard = {
5424
- Root: Root$4,
5425
- Header: Header$2,
5608
+ Root: Root$3,
5609
+ Header: Header$3,
5426
5610
  Body: Body$2,
5427
- Footer: Footer$2
5611
+ Footer: Footer$3
5428
5612
  };
5429
5613
  //#endregion
5430
5614
  //#region src/components/ds-card/ds-card.types.ts
@@ -5436,13 +5620,13 @@ const cardSizes = [
5436
5620
  //#endregion
5437
5621
  //#region src/components/ds-checkbox/ds-checkbox.module.scss
5438
5622
  var ds_checkbox_module_default = {
5439
- "checkboxIndicator": "-9VV7a_checkboxIndicator",
5440
- "checkboxRoot": "-9VV7a_checkboxRoot",
5441
- "checkboxWrapper": "-9VV7a_checkboxWrapper",
5442
- "container": "-9VV7a_container",
5443
- "default": "-9VV7a_default",
5623
+ "control": "-9VV7a_control",
5624
+ "hiddenInput": "-9VV7a_hiddenInput",
5625
+ "indicator": "-9VV7a_indicator",
5444
5626
  "label": "-9VV7a_label",
5627
+ "labelColumn": "-9VV7a_labelColumn",
5445
5628
  "labelInfo": "-9VV7a_labelInfo",
5629
+ "root": "-9VV7a_root",
5446
5630
  "warning": "-9VV7a_warning"
5447
5631
  };
5448
5632
  //#endregion
@@ -5451,118 +5635,202 @@ var ds_checkbox_module_default = {
5451
5635
  * Design system Checkbox component
5452
5636
  */
5453
5637
  const DsCheckbox = (t0) => {
5454
- const $ = c(30);
5455
- let checked;
5638
+ const $ = c(25);
5456
5639
  let className;
5457
- let defaultChecked;
5458
- let id;
5459
5640
  let label;
5460
5641
  let labelInfo;
5461
5642
  let onCheckedChange;
5462
5643
  let props;
5463
5644
  let t1;
5645
+ let value;
5464
5646
  if ($[0] !== t0) {
5465
- ({id, variant: t1, label, labelInfo, className, checked, defaultChecked, onCheckedChange, ...props} = t0);
5647
+ ({variant: t1, label, labelInfo, className, onCheckedChange, value, ...props} = t0);
5466
5648
  $[0] = t0;
5467
- $[1] = checked;
5468
- $[2] = className;
5469
- $[3] = defaultChecked;
5470
- $[4] = id;
5471
- $[5] = label;
5472
- $[6] = labelInfo;
5473
- $[7] = onCheckedChange;
5474
- $[8] = props;
5475
- $[9] = t1;
5649
+ $[1] = className;
5650
+ $[2] = label;
5651
+ $[3] = labelInfo;
5652
+ $[4] = onCheckedChange;
5653
+ $[5] = props;
5654
+ $[6] = t1;
5655
+ $[7] = value;
5476
5656
  } else {
5477
- checked = $[1];
5478
- className = $[2];
5479
- defaultChecked = $[3];
5480
- id = $[4];
5481
- label = $[5];
5482
- labelInfo = $[6];
5483
- onCheckedChange = $[7];
5484
- props = $[8];
5485
- t1 = $[9];
5657
+ className = $[1];
5658
+ label = $[2];
5659
+ labelInfo = $[3];
5660
+ onCheckedChange = $[4];
5661
+ props = $[5];
5662
+ t1 = $[6];
5663
+ value = $[7];
5486
5664
  }
5487
- const variant = t1 === void 0 ? "default" : t1;
5488
- const generatedId = useId();
5489
- const checkboxId = id || generatedId;
5490
- const t2 = ds_checkbox_module_default[variant];
5665
+ const t2 = (t1 === void 0 ? "default" : t1) === "warning" && ds_checkbox_module_default.warning;
5491
5666
  let t3;
5492
- if ($[10] !== className || $[11] !== t2) {
5493
- t3 = classNames(ds_checkbox_module_default.container, t2, className);
5494
- $[10] = className;
5495
- $[11] = t2;
5496
- $[12] = t3;
5497
- } else t3 = $[12];
5498
- const t4 = checked === "indeterminate" ? "check_indeterminate_small" : "check_small";
5499
- let t5;
5500
- if ($[13] !== t4) {
5501
- t5 = /* @__PURE__ */ jsx("div", {
5502
- className: ds_checkbox_module_default.checkboxWrapper,
5503
- children: /* @__PURE__ */ jsx(CheckboxPrimitive.Indicator, {
5504
- className: ds_checkbox_module_default.checkboxIndicator,
5505
- children: /* @__PURE__ */ jsx(DsIcon, {
5506
- icon: t4,
5507
- size: "small",
5508
- variant: "outlined"
5509
- })
5510
- })
5511
- });
5512
- $[13] = t4;
5513
- $[14] = t5;
5514
- } else t5 = $[14];
5667
+ if ($[8] !== className || $[9] !== t2) {
5668
+ t3 = classNames(ds_checkbox_module_default.root, t2, className);
5669
+ $[8] = className;
5670
+ $[9] = t2;
5671
+ $[10] = t3;
5672
+ } else t3 = $[10];
5673
+ let t4;
5674
+ if ($[11] !== onCheckedChange) {
5675
+ t4 = (details) => onCheckedChange?.(details.checked);
5676
+ $[11] = onCheckedChange;
5677
+ $[12] = t4;
5678
+ } else t4 = $[12];
5679
+ const t5 = value === void 0 ? void 0 : String(value);
5515
5680
  let t6;
5516
- if ($[15] !== checkboxId || $[16] !== checked || $[17] !== defaultChecked || $[18] !== onCheckedChange || $[19] !== props || $[20] !== t5) {
5517
- t6 = /* @__PURE__ */ jsx(CheckboxPrimitive.Root, {
5518
- className: ds_checkbox_module_default.checkboxRoot,
5519
- id: checkboxId,
5520
- checked,
5521
- defaultChecked,
5522
- onCheckedChange,
5523
- ...props,
5524
- children: t5
5681
+ if ($[13] === Symbol.for("react.memo_cache_sentinel")) {
5682
+ t6 = /* @__PURE__ */ jsx(Checkbox.Indicator, {
5683
+ className: ds_checkbox_module_default.indicator,
5684
+ children: /* @__PURE__ */ jsx(DsIcon, {
5685
+ icon: "check_small",
5686
+ size: "tiny",
5687
+ variant: "rounded"
5688
+ })
5525
5689
  });
5526
- $[15] = checkboxId;
5527
- $[16] = checked;
5528
- $[17] = defaultChecked;
5529
- $[18] = onCheckedChange;
5530
- $[19] = props;
5531
- $[20] = t5;
5532
- $[21] = t6;
5533
- } else t6 = $[21];
5690
+ $[13] = t6;
5691
+ } else t6 = $[13];
5534
5692
  let t7;
5535
- if ($[22] !== checkboxId || $[23] !== label || $[24] !== labelInfo) {
5536
- t7 = label && /* @__PURE__ */ jsxs("label", {
5537
- className: ds_checkbox_module_default.label,
5538
- htmlFor: checkboxId,
5539
- children: [label, labelInfo && /* @__PURE__ */ jsx("div", {
5693
+ let t8;
5694
+ if ($[14] === Symbol.for("react.memo_cache_sentinel")) {
5695
+ t7 = /* @__PURE__ */ jsxs(Checkbox.Control, {
5696
+ className: ds_checkbox_module_default.control,
5697
+ children: [t6, /* @__PURE__ */ jsx(Checkbox.Indicator, {
5698
+ className: ds_checkbox_module_default.indicator,
5699
+ indeterminate: true,
5700
+ children: /* @__PURE__ */ jsx(DsIcon, {
5701
+ icon: "check_indeterminate_small",
5702
+ size: "tiny",
5703
+ variant: "rounded"
5704
+ })
5705
+ })]
5706
+ });
5707
+ t8 = /* @__PURE__ */ jsx(Checkbox.HiddenInput, { className: ds_checkbox_module_default.hiddenInput });
5708
+ $[14] = t7;
5709
+ $[15] = t8;
5710
+ } else {
5711
+ t7 = $[14];
5712
+ t8 = $[15];
5713
+ }
5714
+ let t9;
5715
+ if ($[16] !== label || $[17] !== labelInfo) {
5716
+ t9 = (label || labelInfo) && /* @__PURE__ */ jsxs("div", {
5717
+ className: ds_checkbox_module_default.labelColumn,
5718
+ children: [label && /* @__PURE__ */ jsx(Checkbox.Label, {
5719
+ className: ds_checkbox_module_default.label,
5720
+ children: label
5721
+ }), labelInfo && /* @__PURE__ */ jsx("div", {
5540
5722
  className: ds_checkbox_module_default.labelInfo,
5541
5723
  children: labelInfo
5542
5724
  })]
5543
5725
  });
5544
- $[22] = checkboxId;
5545
- $[23] = label;
5546
- $[24] = labelInfo;
5547
- $[25] = t7;
5548
- } else t7 = $[25];
5549
- let t8;
5550
- if ($[26] !== t3 || $[27] !== t6 || $[28] !== t7) {
5551
- t8 = /* @__PURE__ */ jsxs("div", {
5726
+ $[16] = label;
5727
+ $[17] = labelInfo;
5728
+ $[18] = t9;
5729
+ } else t9 = $[18];
5730
+ let t10;
5731
+ if ($[19] !== props || $[20] !== t3 || $[21] !== t4 || $[22] !== t5 || $[23] !== t9) {
5732
+ t10 = /* @__PURE__ */ jsxs(Checkbox.Root, {
5552
5733
  className: t3,
5553
- children: [t6, t7]
5734
+ onCheckedChange: t4,
5735
+ ...props,
5736
+ value: t5,
5737
+ children: [
5738
+ t7,
5739
+ t8,
5740
+ t9
5741
+ ]
5554
5742
  });
5555
- $[26] = t3;
5556
- $[27] = t6;
5557
- $[28] = t7;
5558
- $[29] = t8;
5559
- } else t8 = $[29];
5560
- return t8;
5743
+ $[19] = props;
5744
+ $[20] = t3;
5745
+ $[21] = t4;
5746
+ $[22] = t5;
5747
+ $[23] = t9;
5748
+ $[24] = t10;
5749
+ } else t10 = $[24];
5750
+ return t10;
5561
5751
  };
5562
5752
  //#endregion
5563
5753
  //#region src/components/ds-checkbox/ds-checkbox.types.ts
5564
5754
  const checkboxVariants = ["default", "warning"];
5565
5755
  //#endregion
5756
+ //#region src/components/ds-checkbox-group/ds-checkbox-group.module.scss
5757
+ var ds_checkbox_group_module_default = {
5758
+ "horizontal": "f9-vsG_horizontal",
5759
+ "root": "f9-vsG_root",
5760
+ "vertical": "f9-vsG_vertical"
5761
+ };
5762
+ //#endregion
5763
+ //#region src/components/ds-checkbox-group/ds-checkbox-group.tsx
5764
+ const DsCheckboxGroup = (t0) => {
5765
+ const $ = c(12);
5766
+ let children;
5767
+ let className;
5768
+ let props;
5769
+ let t1;
5770
+ if ($[0] !== t0) {
5771
+ ({orientation: t1, className, children, ...props} = t0);
5772
+ $[0] = t0;
5773
+ $[1] = children;
5774
+ $[2] = className;
5775
+ $[3] = props;
5776
+ $[4] = t1;
5777
+ } else {
5778
+ children = $[1];
5779
+ className = $[2];
5780
+ props = $[3];
5781
+ t1 = $[4];
5782
+ }
5783
+ const t2 = ds_checkbox_group_module_default[t1 === void 0 ? "vertical" : t1];
5784
+ let t3;
5785
+ if ($[5] !== className || $[6] !== t2) {
5786
+ t3 = classNames(ds_checkbox_group_module_default.root, t2, className);
5787
+ $[5] = className;
5788
+ $[6] = t2;
5789
+ $[7] = t3;
5790
+ } else t3 = $[7];
5791
+ let t4;
5792
+ if ($[8] !== children || $[9] !== props || $[10] !== t3) {
5793
+ t4 = /* @__PURE__ */ jsx(Checkbox.Group, {
5794
+ className: t3,
5795
+ ...props,
5796
+ children
5797
+ });
5798
+ $[8] = children;
5799
+ $[9] = props;
5800
+ $[10] = t3;
5801
+ $[11] = t4;
5802
+ } else t4 = $[11];
5803
+ return t4;
5804
+ };
5805
+ //#endregion
5806
+ //#region src/components/ds-checkbox-group/hooks/use-checkbox-select-all.ts
5807
+ /**
5808
+ * Headless helper for a "select all" checkbox bound to a checkbox group.
5809
+ *
5810
+ * - Derives tri-state (`true` / `false` / `'indeterminate'`) from current selection.
5811
+ * - Toggling selects or clears only selectable values; preserves any already-selected
5812
+ * non-selectable values so bulk actions don't silently mutate protected items.
5813
+ */
5814
+ function useCheckboxSelectAll({ value, allValues, onValueChange, isSelectable }) {
5815
+ const selectableValues = isSelectable ? allValues.filter(isSelectable) : [...allValues];
5816
+ const selectableSet = new Set(selectableValues);
5817
+ const selectedCount = value.reduce((count, v) => selectableSet.has(v) ? count + 1 : count, 0);
5818
+ const selectableCount = selectableValues.length;
5819
+ let selectAllState = "indeterminate";
5820
+ if (selectableCount === 0 || selectedCount === 0) selectAllState = false;
5821
+ else if (selectedCount === selectableCount) selectAllState = true;
5822
+ const onSelectAllChange = (checked) => {
5823
+ const preserved = value.filter((v) => !selectableSet.has(v));
5824
+ onValueChange(checked === true ? [...preserved, ...selectableValues] : preserved);
5825
+ };
5826
+ return {
5827
+ selectAllState,
5828
+ selectedCount,
5829
+ selectableCount,
5830
+ onSelectAllChange
5831
+ };
5832
+ }
5833
+ //#endregion
5566
5834
  //#region src/components/ds-chip/ds-chip.module.scss
5567
5835
  var ds_chip_module_default = {
5568
5836
  "chip": "w6Idwa_chip",
@@ -5812,7 +6080,7 @@ const DsChipGroup = ({ items, label = "Filtered by:", onClearAll, onItemDelete,
5812
6080
  /* @__PURE__ */ jsxs(RadixDialog.Root, {
5813
6081
  open: dialogOpen,
5814
6082
  onOpenChange: setDialogOpen,
5815
- children: [/* @__PURE__ */ jsx(Root$1, { children: /* @__PURE__ */ jsx(RadixDialog.Title, {}) }), /* @__PURE__ */ jsx(RadixDialog.Portal, { children: /* @__PURE__ */ jsx(RadixDialog.Content, {
6083
+ children: [/* @__PURE__ */ jsx(Root, { children: /* @__PURE__ */ jsx(RadixDialog.Title, {}) }), /* @__PURE__ */ jsx(RadixDialog.Portal, { children: /* @__PURE__ */ jsx(RadixDialog.Content, {
5816
6084
  style: dialogStyle,
5817
6085
  className: ds_chip_group_module_default.dialog,
5818
6086
  children: /* @__PURE__ */ jsx("div", {
@@ -7663,7 +7931,7 @@ const DsDrawer = (t0) => {
7663
7931
  } else t15 = $[24];
7664
7932
  return t15;
7665
7933
  };
7666
- const Header$1 = (t0) => {
7934
+ const Header$2 = (t0) => {
7667
7935
  const $ = c(6);
7668
7936
  const { style, className, children } = t0;
7669
7937
  let t1;
@@ -7795,7 +8063,7 @@ const Body$1 = (t0) => {
7795
8063
  } else t2 = $[5];
7796
8064
  return t2;
7797
8065
  };
7798
- const Footer$1 = (t0) => {
8066
+ const Footer$2 = (t0) => {
7799
8067
  const $ = c(6);
7800
8068
  const { style, className, children } = t0;
7801
8069
  let t1;
@@ -7841,12 +8109,12 @@ const Actions$1 = (t0) => {
7841
8109
  } else t2 = $[5];
7842
8110
  return t2;
7843
8111
  };
7844
- DsDrawer.Header = Header$1;
8112
+ DsDrawer.Header = Header$2;
7845
8113
  DsDrawer.Title = Title$1;
7846
8114
  DsDrawer.CloseTrigger = CloseTrigger$1;
7847
8115
  DsDrawer.Toolbar = Toolbar;
7848
8116
  DsDrawer.Body = Body$1;
7849
- DsDrawer.Footer = Footer$1;
8117
+ DsDrawer.Footer = Footer$2;
7850
8118
  DsDrawer.Actions = Actions$1;
7851
8119
  //#endregion
7852
8120
  //#region src/components/ds-tag-filter/ds-tag-filter.module.scss
@@ -8459,7 +8727,7 @@ const DsModal = (t0) => {
8459
8727
  } else t12 = $[19];
8460
8728
  return t12;
8461
8729
  };
8462
- const Header = (t0) => {
8730
+ const Header$1 = (t0) => {
8463
8731
  const $ = c(6);
8464
8732
  const { style, className, children } = t0;
8465
8733
  let t1;
@@ -8562,7 +8830,7 @@ const Body = (t0) => {
8562
8830
  } else t2 = $[5];
8563
8831
  return t2;
8564
8832
  };
8565
- const Footer = (t0) => {
8833
+ const Footer$1 = (t0) => {
8566
8834
  const $ = c(6);
8567
8835
  const { style, className, children } = t0;
8568
8836
  let t1;
@@ -8608,11 +8876,11 @@ const Actions = (t0) => {
8608
8876
  } else t2 = $[5];
8609
8877
  return t2;
8610
8878
  };
8611
- DsModal.Header = Header;
8879
+ DsModal.Header = Header$1;
8612
8880
  DsModal.Title = Title;
8613
8881
  DsModal.CloseTrigger = CloseTrigger;
8614
8882
  DsModal.Body = Body;
8615
- DsModal.Footer = Footer;
8883
+ DsModal.Footer = Footer$1;
8616
8884
  DsModal.Actions = Actions;
8617
8885
  //#endregion
8618
8886
  //#region src/components/ds-tabs/components/ds-tabs-list/ds-tabs-list.module.scss
@@ -10778,13 +11046,16 @@ const useControlled = (value, setValue, defaultValue) => {
10778
11046
  //#region src/components/ds-time-picker/ds-time-picker.module.scss
10779
11047
  var ds_time_picker_module_default = {
10780
11048
  "clearTrigger": "qkvYYW_clearTrigger",
11049
+ "collapse": "qkvYYW_collapse",
11050
+ "content": "qkvYYW_content",
11051
+ "expand": "qkvYYW_expand",
10781
11052
  "root": "qkvYYW_root"
10782
11053
  };
10783
11054
  //#endregion
10784
11055
  //#region src/components/ds-time-picker/ds-time-picker.tsx
10785
11056
  const DsTimePicker = (props) => {
10786
- const $ = c(68);
10787
- const { id, ref, className, placeholder, min, max, disabled, readOnly, hideClearButton: t0, disablePortal: t1, locale, slotProps } = props;
11057
+ const $ = c(72);
11058
+ const { id, ref, className, placeholder, min, max, disabled, readOnly, hideClearButton: t0, disablePortal: t1, locale, slotProps, onBlur } = props;
10788
11059
  const hideClearButton = t0 === void 0 ? false : t0;
10789
11060
  const disablePortal = t1 === void 0 ? false : t1;
10790
11061
  const [value, setValue] = useControlled(props.value, props.onChange, props.defaultValue ?? null);
@@ -10857,12 +11128,13 @@ const DsTimePicker = (props) => {
10857
11128
  } else t7 = $[12];
10858
11129
  const resetInput = t7;
10859
11130
  let t8;
10860
- if ($[13] !== resetInput || $[14] !== setValue || $[15] !== value) {
11131
+ if ($[13] !== onBlur || $[14] !== resetInput || $[15] !== setValue || $[16] !== value) {
10861
11132
  t8 = () => {
10862
11133
  setIsFocused(false);
10863
11134
  const inputVal_0 = inputRef.current?.value ?? "";
10864
11135
  if (!inputVal_0) {
10865
11136
  setValue(null);
11137
+ onBlur?.();
10866
11138
  return;
10867
11139
  }
10868
11140
  const parsed_0 = parseTime(inputVal_0);
@@ -10871,45 +11143,47 @@ const DsTimePicker = (props) => {
10871
11143
  newDate_0.setHours(parsed_0.hours, parsed_0.minutes, 0, 0);
10872
11144
  setValue(newDate_0);
10873
11145
  } else resetInput();
11146
+ onBlur?.();
10874
11147
  };
10875
- $[13] = resetInput;
10876
- $[14] = setValue;
10877
- $[15] = value;
10878
- $[16] = t8;
10879
- } else t8 = $[16];
11148
+ $[13] = onBlur;
11149
+ $[14] = resetInput;
11150
+ $[15] = setValue;
11151
+ $[16] = value;
11152
+ $[17] = t8;
11153
+ } else t8 = $[17];
10880
11154
  const handleBlur = t8;
10881
11155
  let t9;
10882
- if ($[17] !== disabled || $[18] !== readOnly || $[19] !== setIsOpen) {
11156
+ if ($[18] !== disabled || $[19] !== readOnly || $[20] !== setIsOpen) {
10883
11157
  t9 = (details) => {
10884
11158
  if (disabled || readOnly) return;
10885
11159
  setIsOpen(details.open);
10886
11160
  };
10887
- $[17] = disabled;
10888
- $[18] = readOnly;
10889
- $[19] = setIsOpen;
10890
- $[20] = t9;
10891
- } else t9 = $[20];
11161
+ $[18] = disabled;
11162
+ $[19] = readOnly;
11163
+ $[20] = setIsOpen;
11164
+ $[21] = t9;
11165
+ } else t9 = $[21];
10892
11166
  const handleOpenChange = t9;
10893
11167
  const showClearButton = !hideClearButton && !disabled && !readOnly && !!value;
10894
11168
  const Wrapper = disablePortal ? Fragment$1 : Portal;
10895
11169
  let t10;
10896
- if ($[21] === Symbol.for("react.memo_cache_sentinel")) {
11170
+ if ($[22] === Symbol.for("react.memo_cache_sentinel")) {
10897
11171
  t10 = {
10898
11172
  placement: "bottom-start",
10899
11173
  gutter: 4
10900
11174
  };
10901
- $[21] = t10;
10902
- } else t10 = $[21];
11175
+ $[22] = t10;
11176
+ } else t10 = $[22];
10903
11177
  let t11;
10904
- if ($[22] !== className) {
11178
+ if ($[23] !== className) {
10905
11179
  t11 = classNames(ds_time_picker_module_default.root, className);
10906
- $[22] = className;
10907
- $[23] = t11;
10908
- } else t11 = $[23];
11180
+ $[23] = className;
11181
+ $[24] = t11;
11182
+ } else t11 = $[24];
10909
11183
  const t12 = placeholder ?? "hh:mm AM/PM";
10910
11184
  const t13 = slotProps?.input;
10911
11185
  let t14;
10912
- if ($[24] !== disabled || $[25] !== locale?.clearLabel || $[26] !== locale?.openLabel || $[27] !== readOnly || $[28] !== setValue || $[29] !== showClearButton || $[30] !== slotProps?.input?.slots?.endAdornment) {
11186
+ if ($[25] !== disabled || $[26] !== locale?.clearLabel || $[27] !== locale?.openLabel || $[28] !== readOnly || $[29] !== setValue || $[30] !== showClearButton || $[31] !== slotProps?.input?.slots?.endAdornment) {
10913
11187
  t14 = slotProps?.input?.slots?.endAdornment ?? /* @__PURE__ */ jsxs(Fragment, { children: [showClearButton && /* @__PURE__ */ jsx(DsButton, {
10914
11188
  className: ds_time_picker_module_default.clearTrigger,
10915
11189
  design: "v1.2",
@@ -10937,28 +11211,28 @@ const DsTimePicker = (props) => {
10937
11211
  })
10938
11212
  })
10939
11213
  })] });
10940
- $[24] = disabled;
10941
- $[25] = locale?.clearLabel;
10942
- $[26] = locale?.openLabel;
10943
- $[27] = readOnly;
10944
- $[28] = setValue;
10945
- $[29] = showClearButton;
10946
- $[30] = slotProps?.input?.slots?.endAdornment;
10947
- $[31] = t14;
10948
- } else t14 = $[31];
11214
+ $[25] = disabled;
11215
+ $[26] = locale?.clearLabel;
11216
+ $[27] = locale?.openLabel;
11217
+ $[28] = readOnly;
11218
+ $[29] = setValue;
11219
+ $[30] = showClearButton;
11220
+ $[31] = slotProps?.input?.slots?.endAdornment;
11221
+ $[32] = t14;
11222
+ } else t14 = $[32];
10949
11223
  const t15 = slotProps?.input?.slots;
10950
11224
  let t16;
10951
- if ($[32] !== t14 || $[33] !== t15) {
11225
+ if ($[33] !== t14 || $[34] !== t15) {
10952
11226
  t16 = {
10953
11227
  endAdornment: t14,
10954
11228
  ...t15
10955
11229
  };
10956
- $[32] = t14;
10957
- $[33] = t15;
10958
- $[34] = t16;
10959
- } else t16 = $[34];
11230
+ $[33] = t14;
11231
+ $[34] = t15;
11232
+ $[35] = t16;
11233
+ } else t16 = $[35];
10960
11234
  let t17;
10961
- if ($[35] !== disabled || $[36] !== formattedValue || $[37] !== handleBlur || $[38] !== handleInputChange || $[39] !== id || $[40] !== readOnly || $[41] !== t12 || $[42] !== t13 || $[43] !== t16) {
11235
+ if ($[36] !== disabled || $[37] !== formattedValue || $[38] !== handleBlur || $[39] !== handleInputChange || $[40] !== id || $[41] !== readOnly || $[42] !== t12 || $[43] !== t13 || $[44] !== t16) {
10962
11236
  t17 = /* @__PURE__ */ jsx(DsTextInput, {
10963
11237
  ref: inputRef,
10964
11238
  id,
@@ -10972,19 +11246,19 @@ const DsTimePicker = (props) => {
10972
11246
  ...t13,
10973
11247
  slots: t16
10974
11248
  });
10975
- $[35] = disabled;
10976
- $[36] = formattedValue;
10977
- $[37] = handleBlur;
10978
- $[38] = handleInputChange;
10979
- $[39] = id;
10980
- $[40] = readOnly;
10981
- $[41] = t12;
10982
- $[42] = t13;
10983
- $[43] = t16;
10984
- $[44] = t17;
10985
- } else t17 = $[44];
11249
+ $[36] = disabled;
11250
+ $[37] = formattedValue;
11251
+ $[38] = handleBlur;
11252
+ $[39] = handleInputChange;
11253
+ $[40] = id;
11254
+ $[41] = readOnly;
11255
+ $[42] = t12;
11256
+ $[43] = t13;
11257
+ $[44] = t16;
11258
+ $[45] = t17;
11259
+ } else t17 = $[45];
10986
11260
  let t18;
10987
- if ($[45] !== ref || $[46] !== t11 || $[47] !== t17) {
11261
+ if ($[46] !== ref || $[47] !== t11 || $[48] !== t17) {
10988
11262
  t18 = /* @__PURE__ */ jsx(Popover.Anchor, {
10989
11263
  asChild: true,
10990
11264
  children: /* @__PURE__ */ jsx("div", {
@@ -10993,63 +11267,72 @@ const DsTimePicker = (props) => {
10993
11267
  children: t17
10994
11268
  })
10995
11269
  });
10996
- $[45] = ref;
10997
- $[46] = t11;
10998
- $[47] = t17;
10999
- $[48] = t18;
11000
- } else t18 = $[48];
11270
+ $[46] = ref;
11271
+ $[47] = t11;
11272
+ $[48] = t17;
11273
+ $[49] = t18;
11274
+ } else t18 = $[49];
11001
11275
  const t19 = slotProps?.popover;
11002
- let t20;
11003
- if ($[49] !== max || $[50] !== min || $[51] !== setValue || $[52] !== value) {
11004
- t20 = timeScrollerAdapter(value, setValue, min, max);
11005
- $[49] = max;
11006
- $[50] = min;
11007
- $[51] = setValue;
11008
- $[52] = value;
11009
- $[53] = t20;
11010
- } else t20 = $[53];
11276
+ const t20 = slotProps?.popover?.className;
11011
11277
  let t21;
11012
- if ($[54] !== isOpen || $[55] !== t20) {
11013
- t21 = /* @__PURE__ */ jsx(TimeScroller, {
11278
+ if ($[50] !== t20) {
11279
+ t21 = classNames(ds_time_picker_module_default.content, t20);
11280
+ $[50] = t20;
11281
+ $[51] = t21;
11282
+ } else t21 = $[51];
11283
+ let t22;
11284
+ if ($[52] !== max || $[53] !== min || $[54] !== setValue || $[55] !== value) {
11285
+ t22 = timeScrollerAdapter(value, setValue, min, max);
11286
+ $[52] = max;
11287
+ $[53] = min;
11288
+ $[54] = setValue;
11289
+ $[55] = value;
11290
+ $[56] = t22;
11291
+ } else t22 = $[56];
11292
+ let t23;
11293
+ if ($[57] !== isOpen || $[58] !== t22) {
11294
+ t23 = /* @__PURE__ */ jsx(TimeScroller, {
11014
11295
  open: isOpen,
11015
- ...t20
11296
+ ...t22
11016
11297
  });
11017
- $[54] = isOpen;
11018
- $[55] = t20;
11019
- $[56] = t21;
11020
- } else t21 = $[56];
11021
- let t22;
11022
- if ($[57] !== t19 || $[58] !== t21) {
11023
- t22 = /* @__PURE__ */ jsx(Popover.Positioner, { children: /* @__PURE__ */ jsx(Popover.Content, {
11298
+ $[57] = isOpen;
11299
+ $[58] = t22;
11300
+ $[59] = t23;
11301
+ } else t23 = $[59];
11302
+ let t24;
11303
+ if ($[60] !== t19 || $[61] !== t21 || $[62] !== t23) {
11304
+ t24 = /* @__PURE__ */ jsx(Popover.Positioner, { children: /* @__PURE__ */ jsx(Popover.Content, {
11024
11305
  ...t19,
11025
- children: t21
11306
+ className: t21,
11307
+ children: t23
11026
11308
  }) });
11027
- $[57] = t19;
11028
- $[58] = t21;
11029
- $[59] = t22;
11030
- } else t22 = $[59];
11031
- let t23;
11032
- if ($[60] !== Wrapper || $[61] !== t22) {
11033
- t23 = /* @__PURE__ */ jsx(Wrapper, { children: t22 });
11034
- $[60] = Wrapper;
11035
- $[61] = t22;
11309
+ $[60] = t19;
11310
+ $[61] = t21;
11036
11311
  $[62] = t23;
11037
- } else t23 = $[62];
11038
- let t24;
11039
- if ($[63] !== handleOpenChange || $[64] !== isOpen || $[65] !== t18 || $[66] !== t23) {
11040
- t24 = /* @__PURE__ */ jsxs(Popover.Root, {
11312
+ $[63] = t24;
11313
+ } else t24 = $[63];
11314
+ let t25;
11315
+ if ($[64] !== Wrapper || $[65] !== t24) {
11316
+ t25 = /* @__PURE__ */ jsx(Wrapper, { children: t24 });
11317
+ $[64] = Wrapper;
11318
+ $[65] = t24;
11319
+ $[66] = t25;
11320
+ } else t25 = $[66];
11321
+ let t26;
11322
+ if ($[67] !== handleOpenChange || $[68] !== isOpen || $[69] !== t18 || $[70] !== t25) {
11323
+ t26 = /* @__PURE__ */ jsxs(Popover.Root, {
11041
11324
  open: isOpen,
11042
11325
  onOpenChange: handleOpenChange,
11043
11326
  positioning: t10,
11044
- children: [t18, t23]
11045
- });
11046
- $[63] = handleOpenChange;
11047
- $[64] = isOpen;
11048
- $[65] = t18;
11049
- $[66] = t23;
11050
- $[67] = t24;
11051
- } else t24 = $[67];
11052
- return t24;
11327
+ children: [t18, t25]
11328
+ });
11329
+ $[67] = handleOpenChange;
11330
+ $[68] = isOpen;
11331
+ $[69] = t18;
11332
+ $[70] = t25;
11333
+ $[71] = t26;
11334
+ } else t26 = $[71];
11335
+ return t26;
11053
11336
  };
11054
11337
  //#endregion
11055
11338
  //#region src/components/ds-date-picker/ds-date-picker.module.scss
@@ -11285,7 +11568,7 @@ function _temp3$1(datePicker) {
11285
11568
  //#endregion
11286
11569
  //#region src/components/ds-date-picker/ds-date-picker.tsx
11287
11570
  const DsDatePicker = (t0) => {
11288
- const $ = c(121);
11571
+ const $ = c(123);
11289
11572
  let _defaultValue;
11290
11573
  let _max;
11291
11574
  let _min;
@@ -11294,6 +11577,7 @@ const DsDatePicker = (t0) => {
11294
11577
  let disabled;
11295
11578
  let id;
11296
11579
  let locale;
11580
+ let onBlur;
11297
11581
  let onChange;
11298
11582
  let onOpenChange;
11299
11583
  let placeholder;
@@ -11305,7 +11589,7 @@ const DsDatePicker = (t0) => {
11305
11589
  let t3;
11306
11590
  let t4;
11307
11591
  if ($[0] !== t0) {
11308
- ({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);
11592
+ ({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);
11309
11593
  $[0] = t0;
11310
11594
  $[1] = _defaultValue;
11311
11595
  $[2] = _max;
@@ -11315,16 +11599,17 @@ const DsDatePicker = (t0) => {
11315
11599
  $[6] = disabled;
11316
11600
  $[7] = id;
11317
11601
  $[8] = locale;
11318
- $[9] = onChange;
11319
- $[10] = onOpenChange;
11320
- $[11] = placeholder;
11321
- $[12] = readOnly;
11322
- $[13] = restProps;
11323
- $[14] = slotProps;
11324
- $[15] = t1;
11325
- $[16] = t2;
11326
- $[17] = t3;
11327
- $[18] = t4;
11602
+ $[9] = onBlur;
11603
+ $[10] = onChange;
11604
+ $[11] = onOpenChange;
11605
+ $[12] = placeholder;
11606
+ $[13] = readOnly;
11607
+ $[14] = restProps;
11608
+ $[15] = slotProps;
11609
+ $[16] = t1;
11610
+ $[17] = t2;
11611
+ $[18] = t3;
11612
+ $[19] = t4;
11328
11613
  } else {
11329
11614
  _defaultValue = $[1];
11330
11615
  _max = $[2];
@@ -11334,84 +11619,85 @@ const DsDatePicker = (t0) => {
11334
11619
  disabled = $[6];
11335
11620
  id = $[7];
11336
11621
  locale = $[8];
11337
- onChange = $[9];
11338
- onOpenChange = $[10];
11339
- placeholder = $[11];
11340
- readOnly = $[12];
11341
- restProps = $[13];
11342
- slotProps = $[14];
11343
- t1 = $[15];
11344
- t2 = $[16];
11345
- t3 = $[17];
11346
- t4 = $[18];
11622
+ onBlur = $[9];
11623
+ onChange = $[10];
11624
+ onOpenChange = $[11];
11625
+ placeholder = $[12];
11626
+ readOnly = $[13];
11627
+ restProps = $[14];
11628
+ slotProps = $[15];
11629
+ t1 = $[16];
11630
+ t2 = $[17];
11631
+ t3 = $[18];
11632
+ t4 = $[19];
11347
11633
  }
11348
11634
  const withTime = t1 === void 0 ? false : t1;
11349
11635
  const closeOnSelect = t2 === void 0 ? true : t2;
11350
11636
  const disablePortal = t3 === void 0 ? false : t3;
11351
11637
  const hideClearButton = t4 === void 0 ? false : t4;
11352
11638
  let t5;
11353
- if ($[19] !== _defaultValue) {
11639
+ if ($[20] !== _defaultValue) {
11354
11640
  t5 = toIntlDate(_defaultValue);
11355
- $[19] = _defaultValue;
11356
- $[20] = t5;
11357
- } else t5 = $[20];
11641
+ $[20] = _defaultValue;
11642
+ $[21] = t5;
11643
+ } else t5 = $[21];
11358
11644
  const defaultValue = t5;
11359
11645
  let t6;
11360
- if ($[21] !== _value) {
11646
+ if ($[22] !== _value) {
11361
11647
  t6 = toIntlDate(_value);
11362
- $[21] = _value;
11363
- $[22] = t6;
11364
- } else t6 = $[22];
11648
+ $[22] = _value;
11649
+ $[23] = t6;
11650
+ } else t6 = $[23];
11365
11651
  let t7;
11366
- if ($[23] !== onChange) {
11652
+ if ($[24] !== onChange) {
11367
11653
  t7 = onChange ? (v) => onChange(fromIntlDate(v)) : void 0;
11368
- $[23] = onChange;
11369
- $[24] = t7;
11370
- } else t7 = $[24];
11654
+ $[24] = onChange;
11655
+ $[25] = t7;
11656
+ } else t7 = $[25];
11371
11657
  const [value, setValue] = useControlled(t6, t7, defaultValue ?? null);
11372
11658
  let t8;
11373
- if ($[25] !== _min) {
11659
+ if ($[26] !== _min) {
11374
11660
  t8 = toIntlDate(_min);
11375
- $[25] = _min;
11376
- $[26] = t8;
11377
- } else t8 = $[26];
11661
+ $[26] = _min;
11662
+ $[27] = t8;
11663
+ } else t8 = $[27];
11378
11664
  const min = t8;
11379
11665
  let t9;
11380
- if ($[27] !== _max) {
11666
+ if ($[28] !== _max) {
11381
11667
  t9 = toIntlDate(_max);
11382
- $[27] = _max;
11383
- $[28] = t9;
11384
- } else t9 = $[28];
11668
+ $[28] = _max;
11669
+ $[29] = t9;
11670
+ } else t9 = $[29];
11385
11671
  const max = t9;
11386
11672
  const [isFocused, setIsFocused] = useState(false);
11387
11673
  const [isOpen, setIsOpen] = useState(false);
11388
11674
  const inputRef = useRef(null);
11389
11675
  let t10;
11390
- if ($[29] !== value || $[30] !== withTime) {
11676
+ if ($[30] !== value || $[31] !== withTime) {
11391
11677
  t10 = formatDate(value, withTime);
11392
- $[29] = value;
11393
- $[30] = withTime;
11394
- $[31] = t10;
11395
- } else t10 = $[31];
11678
+ $[30] = value;
11679
+ $[31] = withTime;
11680
+ $[32] = t10;
11681
+ } else t10 = $[32];
11396
11682
  const formattedValue = t10;
11397
11683
  let t11;
11398
11684
  let t12;
11399
- if ($[32] !== formattedValue || $[33] !== isFocused) {
11685
+ if ($[33] !== formattedValue || $[34] !== isFocused) {
11400
11686
  t11 = () => {
11401
11687
  if (!isFocused && inputRef.current) inputRef.current.value = formattedValue;
11402
11688
  };
11403
11689
  t12 = [isFocused, formattedValue];
11404
- $[32] = formattedValue;
11405
- $[33] = isFocused;
11406
- $[34] = t11;
11407
- $[35] = t12;
11690
+ $[33] = formattedValue;
11691
+ $[34] = isFocused;
11692
+ $[35] = t11;
11693
+ $[36] = t12;
11408
11694
  } else {
11409
- t11 = $[34];
11410
- t12 = $[35];
11695
+ t11 = $[35];
11696
+ t12 = $[36];
11411
11697
  }
11412
11698
  useEffect(t11, t12);
11413
11699
  let t13;
11414
- if ($[36] !== max || $[37] !== min || $[38] !== setValue || $[39] !== withTime) {
11700
+ if ($[37] !== max || $[38] !== min || $[39] !== setValue || $[40] !== withTime) {
11415
11701
  t13 = (e) => {
11416
11702
  const text = e.target.value;
11417
11703
  if (validateDateString({
@@ -11421,33 +11707,33 @@ const DsDatePicker = (t0) => {
11421
11707
  withTime
11422
11708
  })) setValue(parseDate$1(text));
11423
11709
  };
11424
- $[36] = max;
11425
- $[37] = min;
11426
- $[38] = setValue;
11427
- $[39] = withTime;
11428
- $[40] = t13;
11429
- } else t13 = $[40];
11710
+ $[37] = max;
11711
+ $[38] = min;
11712
+ $[39] = setValue;
11713
+ $[40] = withTime;
11714
+ $[41] = t13;
11715
+ } else t13 = $[41];
11430
11716
  const handleInputChange = t13;
11431
11717
  let t14;
11432
- if ($[41] !== formattedValue || $[42] !== value) {
11718
+ if ($[42] !== formattedValue || $[43] !== value) {
11433
11719
  t14 = () => {
11434
11720
  if (inputRef.current) inputRef.current.value = value ? formattedValue : "";
11435
11721
  };
11436
- $[41] = formattedValue;
11437
- $[42] = value;
11438
- $[43] = t14;
11439
- } else t14 = $[43];
11722
+ $[42] = formattedValue;
11723
+ $[43] = value;
11724
+ $[44] = t14;
11725
+ } else t14 = $[44];
11440
11726
  const resetInput = t14;
11441
11727
  let t15;
11442
- if ($[44] === Symbol.for("react.memo_cache_sentinel")) {
11728
+ if ($[45] === Symbol.for("react.memo_cache_sentinel")) {
11443
11729
  t15 = () => {
11444
11730
  setIsFocused(true);
11445
11731
  };
11446
- $[44] = t15;
11447
- } else t15 = $[44];
11732
+ $[45] = t15;
11733
+ } else t15 = $[45];
11448
11734
  const handleFocus = t15;
11449
11735
  let t16;
11450
- if ($[45] !== max || $[46] !== min || $[47] !== resetInput || $[48] !== setValue || $[49] !== withTime) {
11736
+ if ($[46] !== max || $[47] !== min || $[48] !== onBlur || $[49] !== resetInput || $[50] !== setValue || $[51] !== withTime) {
11451
11737
  t16 = () => {
11452
11738
  setIsFocused(false);
11453
11739
  const text_0 = inputRef.current?.value || "";
@@ -11458,63 +11744,65 @@ const DsDatePicker = (t0) => {
11458
11744
  withTime
11459
11745
  })) setValue(parseDate$1(text_0));
11460
11746
  else resetInput();
11747
+ onBlur?.();
11461
11748
  };
11462
- $[45] = max;
11463
- $[46] = min;
11464
- $[47] = resetInput;
11465
- $[48] = setValue;
11466
- $[49] = withTime;
11467
- $[50] = t16;
11468
- } else t16 = $[50];
11749
+ $[46] = max;
11750
+ $[47] = min;
11751
+ $[48] = onBlur;
11752
+ $[49] = resetInput;
11753
+ $[50] = setValue;
11754
+ $[51] = withTime;
11755
+ $[52] = t16;
11756
+ } else t16 = $[52];
11469
11757
  const handleBlur = t16;
11470
11758
  const showClearButton = !hideClearButton && !disabled && !readOnly && !!value;
11471
11759
  const Wrapper = disablePortal ? Fragment$1 : Portal;
11472
11760
  let t17;
11473
- if ($[51] !== value) {
11761
+ if ($[53] !== value) {
11474
11762
  t17 = value ? [value] : void 0;
11475
- $[51] = value;
11476
- $[52] = t17;
11477
- } else t17 = $[52];
11763
+ $[53] = value;
11764
+ $[54] = t17;
11765
+ } else t17 = $[54];
11478
11766
  let t18;
11479
- if ($[53] !== defaultValue) {
11767
+ if ($[55] !== defaultValue) {
11480
11768
  t18 = defaultValue ? [defaultValue] : void 0;
11481
- $[53] = defaultValue;
11482
- $[54] = t18;
11483
- } else t18 = $[54];
11769
+ $[55] = defaultValue;
11770
+ $[56] = t18;
11771
+ } else t18 = $[56];
11484
11772
  let t19;
11485
- if ($[55] !== setValue) {
11773
+ if ($[57] !== setValue) {
11486
11774
  t19 = (details) => {
11487
11775
  setValue(details.value[0] ?? null);
11488
11776
  };
11489
- $[55] = setValue;
11490
- $[56] = t19;
11491
- } else t19 = $[56];
11777
+ $[57] = setValue;
11778
+ $[58] = t19;
11779
+ } else t19 = $[58];
11492
11780
  let t20;
11493
- if ($[57] === Symbol.for("react.memo_cache_sentinel")) {
11781
+ if ($[59] === Symbol.for("react.memo_cache_sentinel")) {
11494
11782
  t20 = {
11495
11783
  placement: "bottom-start",
11496
11784
  gutter: 4
11497
11785
  };
11498
- $[57] = t20;
11499
- } else t20 = $[57];
11786
+ $[59] = t20;
11787
+ } else t20 = $[59];
11500
11788
  const t21 = withTime ? false : closeOnSelect;
11501
11789
  let t22;
11502
- if ($[58] !== isFocused || $[59] !== onOpenChange) {
11790
+ if ($[60] !== isFocused || $[61] !== onOpenChange) {
11503
11791
  t22 = (details_0) => {
11504
11792
  if (!isFocused) {
11505
11793
  setIsOpen(details_0.open);
11506
11794
  onOpenChange?.(details_0.open);
11507
11795
  }
11508
11796
  };
11509
- $[58] = isFocused;
11510
- $[59] = onOpenChange;
11511
- $[60] = t22;
11512
- } else t22 = $[60];
11797
+ $[60] = isFocused;
11798
+ $[61] = onOpenChange;
11799
+ $[62] = t22;
11800
+ } else t22 = $[62];
11513
11801
  const t23 = placeholder ?? (withTime ? "mm/dd/yyyy, hh:mm AM/PM" : "mm/dd/yyyy");
11514
11802
  const t24 = slotProps?.input;
11515
11803
  const t25 = slotProps?.input?.slots;
11516
11804
  let t26;
11517
- if ($[61] !== disabled || $[62] !== locale?.clearLabel || $[63] !== setValue || $[64] !== showClearButton) {
11805
+ if ($[63] !== disabled || $[64] !== locale?.clearLabel || $[65] !== setValue || $[66] !== showClearButton) {
11518
11806
  t26 = showClearButton && /* @__PURE__ */ jsx(DatePicker.ClearTrigger, {
11519
11807
  asChild: true,
11520
11808
  onClick: () => setValue(null),
@@ -11531,23 +11819,23 @@ const DsDatePicker = (t0) => {
11531
11819
  })
11532
11820
  })
11533
11821
  });
11534
- $[61] = disabled;
11535
- $[62] = locale?.clearLabel;
11536
- $[63] = setValue;
11537
- $[64] = showClearButton;
11538
- $[65] = t26;
11539
- } else t26 = $[65];
11822
+ $[63] = disabled;
11823
+ $[64] = locale?.clearLabel;
11824
+ $[65] = setValue;
11825
+ $[66] = showClearButton;
11826
+ $[67] = t26;
11827
+ } else t26 = $[67];
11540
11828
  const t27 = locale?.openCalendarLabel ?? "Open calendar";
11541
11829
  let t28;
11542
- if ($[66] === Symbol.for("react.memo_cache_sentinel")) {
11830
+ if ($[68] === Symbol.for("react.memo_cache_sentinel")) {
11543
11831
  t28 = /* @__PURE__ */ jsx(DsIcon, {
11544
11832
  icon: "calendar_today",
11545
11833
  size: "tiny"
11546
11834
  });
11547
- $[66] = t28;
11548
- } else t28 = $[66];
11835
+ $[68] = t28;
11836
+ } else t28 = $[68];
11549
11837
  let t29;
11550
- if ($[67] !== disabled || $[68] !== t27) {
11838
+ if ($[69] !== disabled || $[70] !== t27) {
11551
11839
  t29 = /* @__PURE__ */ jsx(DatePicker.Trigger, {
11552
11840
  asChild: true,
11553
11841
  children: /* @__PURE__ */ jsx(DsButton, {
@@ -11559,29 +11847,29 @@ const DsDatePicker = (t0) => {
11559
11847
  children: t28
11560
11848
  })
11561
11849
  });
11562
- $[67] = disabled;
11563
- $[68] = t27;
11564
- $[69] = t29;
11565
- } else t29 = $[69];
11850
+ $[69] = disabled;
11851
+ $[70] = t27;
11852
+ $[71] = t29;
11853
+ } else t29 = $[71];
11566
11854
  let t30;
11567
- if ($[70] !== t26 || $[71] !== t29) {
11855
+ if ($[72] !== t26 || $[73] !== t29) {
11568
11856
  t30 = /* @__PURE__ */ jsxs(Fragment, { children: [t26, t29] });
11569
- $[70] = t26;
11570
- $[71] = t29;
11571
- $[72] = t30;
11572
- } else t30 = $[72];
11857
+ $[72] = t26;
11858
+ $[73] = t29;
11859
+ $[74] = t30;
11860
+ } else t30 = $[74];
11573
11861
  let t31;
11574
- if ($[73] !== t25 || $[74] !== t30) {
11862
+ if ($[75] !== t25 || $[76] !== t30) {
11575
11863
  t31 = {
11576
11864
  ...t25,
11577
11865
  endAdornment: t30
11578
11866
  };
11579
- $[73] = t25;
11580
- $[74] = t30;
11581
- $[75] = t31;
11582
- } else t31 = $[75];
11867
+ $[75] = t25;
11868
+ $[76] = t30;
11869
+ $[77] = t31;
11870
+ } else t31 = $[77];
11583
11871
  let t32;
11584
- if ($[76] !== disabled || $[77] !== formattedValue || $[78] !== handleBlur || $[79] !== handleInputChange || $[80] !== id || $[81] !== readOnly || $[82] !== t23 || $[83] !== t24 || $[84] !== t31) {
11872
+ if ($[78] !== disabled || $[79] !== formattedValue || $[80] !== handleBlur || $[81] !== handleInputChange || $[82] !== id || $[83] !== readOnly || $[84] !== t23 || $[85] !== t24 || $[86] !== t31) {
11585
11873
  t32 = /* @__PURE__ */ jsx(DatePicker.Control, {
11586
11874
  className: ds_date_picker_module_default.control,
11587
11875
  children: /* @__PURE__ */ jsx(DsTextInput, {
@@ -11598,19 +11886,19 @@ const DsDatePicker = (t0) => {
11598
11886
  slots: t31
11599
11887
  })
11600
11888
  });
11601
- $[76] = disabled;
11602
- $[77] = formattedValue;
11603
- $[78] = handleBlur;
11604
- $[79] = handleInputChange;
11605
- $[80] = id;
11606
- $[81] = readOnly;
11607
- $[82] = t23;
11608
- $[83] = t24;
11609
- $[84] = t31;
11610
- $[85] = t32;
11611
- } else t32 = $[85];
11889
+ $[78] = disabled;
11890
+ $[79] = formattedValue;
11891
+ $[80] = handleBlur;
11892
+ $[81] = handleInputChange;
11893
+ $[82] = id;
11894
+ $[83] = readOnly;
11895
+ $[84] = t23;
11896
+ $[85] = t24;
11897
+ $[86] = t31;
11898
+ $[87] = t32;
11899
+ } else t32 = $[87];
11612
11900
  let t33;
11613
- if ($[86] !== _max || $[87] !== _min || $[88] !== disabled || $[89] !== max || $[90] !== min || $[91] !== readOnly || $[92] !== setValue || $[93] !== slotProps?.timePicker || $[94] !== value || $[95] !== withTime) {
11901
+ if ($[88] !== _max || $[89] !== _min || $[90] !== disabled || $[91] !== max || $[92] !== min || $[93] !== readOnly || $[94] !== setValue || $[95] !== slotProps?.timePicker || $[96] !== value || $[97] !== withTime) {
11614
11902
  t33 = withTime && /* @__PURE__ */ jsx(DsTimePicker, {
11615
11903
  value: fromIntlDate(value),
11616
11904
  onChange: (v_0) => {
@@ -11630,37 +11918,37 @@ const DsDatePicker = (t0) => {
11630
11918
  ...slotProps?.timePicker?.slotProps
11631
11919
  }
11632
11920
  });
11633
- $[86] = _max;
11634
- $[87] = _min;
11635
- $[88] = disabled;
11636
- $[89] = max;
11637
- $[90] = min;
11638
- $[91] = readOnly;
11639
- $[92] = setValue;
11640
- $[93] = slotProps?.timePicker;
11641
- $[94] = value;
11642
- $[95] = withTime;
11643
- $[96] = t33;
11644
- } else t33 = $[96];
11921
+ $[88] = _max;
11922
+ $[89] = _min;
11923
+ $[90] = disabled;
11924
+ $[91] = max;
11925
+ $[92] = min;
11926
+ $[93] = readOnly;
11927
+ $[94] = setValue;
11928
+ $[95] = slotProps?.timePicker;
11929
+ $[96] = value;
11930
+ $[97] = withTime;
11931
+ $[98] = t33;
11932
+ } else t33 = $[98];
11645
11933
  let t34;
11646
- if ($[97] !== t33) {
11934
+ if ($[99] !== t33) {
11647
11935
  t34 = /* @__PURE__ */ jsx(DayView, { children: t33 });
11648
- $[97] = t33;
11649
- $[98] = t34;
11650
- } else t34 = $[98];
11936
+ $[99] = t33;
11937
+ $[100] = t34;
11938
+ } else t34 = $[100];
11651
11939
  let t35;
11652
11940
  let t36;
11653
- if ($[99] === Symbol.for("react.memo_cache_sentinel")) {
11941
+ if ($[101] === Symbol.for("react.memo_cache_sentinel")) {
11654
11942
  t35 = /* @__PURE__ */ jsx(MonthView, {});
11655
11943
  t36 = /* @__PURE__ */ jsx(YearView, {});
11656
- $[99] = t35;
11657
- $[100] = t36;
11944
+ $[101] = t35;
11945
+ $[102] = t36;
11658
11946
  } else {
11659
- t35 = $[99];
11660
- t36 = $[100];
11947
+ t35 = $[101];
11948
+ t36 = $[102];
11661
11949
  }
11662
11950
  let t37;
11663
- if ($[101] !== t34) {
11951
+ if ($[103] !== t34) {
11664
11952
  t37 = /* @__PURE__ */ jsx(DatePicker.Positioner, {
11665
11953
  className: ds_date_picker_module_default.positioner,
11666
11954
  children: /* @__PURE__ */ jsxs(DatePicker.Content, {
@@ -11672,18 +11960,18 @@ const DsDatePicker = (t0) => {
11672
11960
  ]
11673
11961
  })
11674
11962
  });
11675
- $[101] = t34;
11676
- $[102] = t37;
11677
- } else t37 = $[102];
11963
+ $[103] = t34;
11964
+ $[104] = t37;
11965
+ } else t37 = $[104];
11678
11966
  let t38;
11679
- if ($[103] !== Wrapper || $[104] !== t37) {
11967
+ if ($[105] !== Wrapper || $[106] !== t37) {
11680
11968
  t38 = /* @__PURE__ */ jsx(Wrapper, { children: t37 });
11681
- $[103] = Wrapper;
11682
- $[104] = t37;
11683
- $[105] = t38;
11684
- } else t38 = $[105];
11969
+ $[105] = Wrapper;
11970
+ $[106] = t37;
11971
+ $[107] = t38;
11972
+ } else t38 = $[107];
11685
11973
  let t39;
11686
- 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) {
11974
+ 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) {
11687
11975
  t39 = /* @__PURE__ */ jsxs(DatePicker.Root, {
11688
11976
  className,
11689
11977
  value: t17,
@@ -11701,22 +11989,22 @@ const DsDatePicker = (t0) => {
11701
11989
  ...restProps,
11702
11990
  children: [t32, t38]
11703
11991
  });
11704
- $[106] = className;
11705
- $[107] = disabled;
11706
- $[108] = isOpen;
11707
- $[109] = max;
11708
- $[110] = min;
11709
- $[111] = readOnly;
11710
- $[112] = restProps;
11711
- $[113] = t17;
11712
- $[114] = t18;
11713
- $[115] = t19;
11714
- $[116] = t21;
11715
- $[117] = t22;
11716
- $[118] = t32;
11717
- $[119] = t38;
11718
- $[120] = t39;
11719
- } else t39 = $[120];
11992
+ $[108] = className;
11993
+ $[109] = disabled;
11994
+ $[110] = isOpen;
11995
+ $[111] = max;
11996
+ $[112] = min;
11997
+ $[113] = readOnly;
11998
+ $[114] = restProps;
11999
+ $[115] = t17;
12000
+ $[116] = t18;
12001
+ $[117] = t19;
12002
+ $[118] = t21;
12003
+ $[119] = t22;
12004
+ $[120] = t32;
12005
+ $[121] = t38;
12006
+ $[122] = t39;
12007
+ } else t39 = $[122];
11720
12008
  return t39;
11721
12009
  };
11722
12010
  //#endregion
@@ -12814,7 +13102,7 @@ const DsDialog = ({ open, onOpenChange, title, hideTitle, description, hideDescr
12814
13102
  children: [
12815
13103
  /* @__PURE__ */ jsx(RadixDialog.Title, {
12816
13104
  asChild: true,
12817
- children: hideTitle ? /* @__PURE__ */ jsx(Root$1, { children: /* @__PURE__ */ jsx(RadixDialog.Title, {
13105
+ children: hideTitle ? /* @__PURE__ */ jsx(Root, { children: /* @__PURE__ */ jsx(RadixDialog.Title, {
12818
13106
  className: ds_dialog_module_default.title,
12819
13107
  children: title
12820
13108
  }) }) : /* @__PURE__ */ jsx(RadixDialog.Title, {
@@ -12824,7 +13112,7 @@ const DsDialog = ({ open, onOpenChange, title, hideTitle, description, hideDescr
12824
13112
  }),
12825
13113
  description && /* @__PURE__ */ jsx(RadixDialog.Description, {
12826
13114
  asChild: true,
12827
- children: hideDescription ? /* @__PURE__ */ jsx(Root$1, { children: /* @__PURE__ */ jsx(RadixDialog.Description, {
13115
+ children: hideDescription ? /* @__PURE__ */ jsx(Root, { children: /* @__PURE__ */ jsx(RadixDialog.Description, {
12828
13116
  className: ds_dialog_module_default.description,
12829
13117
  children: description
12830
13118
  }) }) : /* @__PURE__ */ jsx(RadixDialog.Description, {
@@ -14185,22 +14473,24 @@ const filterStatuses = [
14185
14473
  ];
14186
14474
  //#endregion
14187
14475
  //#region src/components/ds-grid/ds-grid.tsx
14188
- /**
14189
- * Design system Grid component
14190
- */
14191
- const DsGrid = ({ children, columns, rows, className }) => {
14476
+ const DsGridBase = ({ children, columns, rows, gutter, margin, className, style }) => {
14477
+ const gridClass = classNames("ds-grid", {
14478
+ [`ds-grid-cols-${String(columns)}`]: columns,
14479
+ [`ds-grid-rows-${String(rows)}`]: rows
14480
+ }, className);
14481
+ const cssVars = {};
14482
+ if (gutter !== void 0) cssVars["--ds-grid-gutter"] = typeof gutter === "number" ? `${String(gutter)}px` : gutter;
14483
+ if (margin !== void 0) cssVars["--ds-grid-margin"] = typeof margin === "number" ? `${String(margin)}px` : margin;
14192
14484
  return /* @__PURE__ */ jsx("div", {
14193
- className: classNames("ds-grid", {
14194
- [`ds-grid-cols-${String(columns)}`]: columns,
14195
- [`ds-grid-rows-${String(rows)}`]: rows
14196
- }, className),
14485
+ className: gridClass,
14486
+ style: {
14487
+ ...style,
14488
+ ...cssVars
14489
+ },
14197
14490
  children
14198
14491
  });
14199
14492
  };
14200
- /**
14201
- * Design system GridItem component
14202
- */
14203
- const DsGridItem = ({ children, colSpan, colStart, rowSpan, rowStart, className }) => {
14493
+ const DsGridItemBase = ({ children, colSpan, colStart, rowSpan, rowStart, className }) => {
14204
14494
  return /* @__PURE__ */ jsx("div", {
14205
14495
  className: classNames({
14206
14496
  [`ds-grid-col-span-${String(colSpan)}`]: colSpan,
@@ -14212,6 +14502,10 @@ const DsGridItem = ({ children, colSpan, colStart, rowSpan, rowStart, className
14212
14502
  });
14213
14503
  };
14214
14504
  //#endregion
14505
+ //#region src/components/ds-grid/index.ts
14506
+ const DsGrid = withResponsiveProps(DsGridBase, ["gutter", "margin"]);
14507
+ const DsGridItem = withResponsiveProps(DsGridItemBase, ["colSpan", "rowSpan"]);
14508
+ //#endregion
14215
14509
  //#region src/components/ds-key-value-pair/ds-key-value-pair.module.scss
14216
14510
  var ds_key_value_pair_module_default = {
14217
14511
  "editorSlot": "_6K_oIW_editorSlot",
@@ -15408,7 +15702,7 @@ var ds_radio_group_module_default = {
15408
15702
  /**
15409
15703
  * Root component - provides radio group context
15410
15704
  */
15411
- const Root$3 = (t0) => {
15705
+ const Root$2 = (t0) => {
15412
15706
  const $ = c(14);
15413
15707
  let children;
15414
15708
  let className;
@@ -15459,7 +15753,7 @@ const Root$3 = (t0) => {
15459
15753
  * Item component - renders a single radio button with optional label
15460
15754
  */
15461
15755
  const Item$1 = (t0) => {
15462
- const $ = c(22);
15756
+ const $ = c(24);
15463
15757
  let children;
15464
15758
  let className;
15465
15759
  let label;
@@ -15513,22 +15807,28 @@ const Item$1 = (t0) => {
15513
15807
  t3 = $[11];
15514
15808
  }
15515
15809
  let t4;
15516
- if ($[12] !== children || $[13] !== label || $[14] !== labelInfo) {
15517
- t4 = label ? /* @__PURE__ */ jsxs(RadioGroup.ItemText, {
15810
+ if ($[12] !== children || $[13] !== label) {
15811
+ t4 = label ? /* @__PURE__ */ jsx(RadioGroup.ItemText, {
15518
15812
  className: ds_radio_group_module_default.radioLabel,
15519
- children: [label, labelInfo && /* @__PURE__ */ jsx("div", {
15520
- className: ds_radio_group_module_default.labelInfo,
15521
- children: labelInfo
15522
- })]
15813
+ children: label
15523
15814
  }) : children;
15524
15815
  $[12] = children;
15525
15816
  $[13] = label;
15526
- $[14] = labelInfo;
15527
- $[15] = t4;
15528
- } else t4 = $[15];
15817
+ $[14] = t4;
15818
+ } else t4 = $[14];
15529
15819
  let t5;
15530
- if ($[16] !== props || $[17] !== style || $[18] !== t1 || $[19] !== t4 || $[20] !== value) {
15531
- t5 = /* @__PURE__ */ jsxs(RadioGroup.Item, {
15820
+ if ($[15] !== labelInfo) {
15821
+ t5 = !!labelInfo && /* @__PURE__ */ jsx(DsTypography, {
15822
+ variant: "body-xs-reg",
15823
+ className: ds_radio_group_module_default.labelInfo,
15824
+ children: labelInfo
15825
+ });
15826
+ $[15] = labelInfo;
15827
+ $[16] = t5;
15828
+ } else t5 = $[16];
15829
+ let t6;
15830
+ if ($[17] !== props || $[18] !== style || $[19] !== t1 || $[20] !== t4 || $[21] !== t5 || $[22] !== value) {
15831
+ t6 = /* @__PURE__ */ jsxs(RadioGroup.Item, {
15532
15832
  value,
15533
15833
  className: t1,
15534
15834
  style,
@@ -15536,17 +15836,19 @@ const Item$1 = (t0) => {
15536
15836
  children: [
15537
15837
  t2,
15538
15838
  t3,
15539
- t4
15839
+ t4,
15840
+ t5
15540
15841
  ]
15541
15842
  });
15542
- $[16] = props;
15543
- $[17] = style;
15544
- $[18] = t1;
15545
- $[19] = t4;
15546
- $[20] = value;
15843
+ $[17] = props;
15844
+ $[18] = style;
15845
+ $[19] = t1;
15846
+ $[20] = t4;
15547
15847
  $[21] = t5;
15548
- } else t5 = $[21];
15549
- return t5;
15848
+ $[22] = value;
15849
+ $[23] = t6;
15850
+ } else t6 = $[23];
15851
+ return t6;
15550
15852
  };
15551
15853
  /**
15552
15854
  * DEPRECATED: Legacy DsRadioGroup component with options array
@@ -15555,61 +15857,50 @@ const Item$1 = (t0) => {
15555
15857
  */
15556
15858
  /* c8 ignore start */
15557
15859
  const DsRadioGroupLegacy = (t0) => {
15558
- const $ = c(18);
15559
- let className;
15560
- let defaultValue;
15561
- let onValueChange;
15562
- let options;
15563
- let props;
15564
- let value;
15565
- if ($[0] !== t0) {
15566
- ({options, value, defaultValue, onValueChange, className, ...props} = t0);
15567
- $[0] = t0;
15568
- $[1] = className;
15569
- $[2] = defaultValue;
15570
- $[3] = onValueChange;
15571
- $[4] = options;
15572
- $[5] = props;
15573
- $[6] = value;
15574
- } else {
15575
- className = $[1];
15576
- defaultValue = $[2];
15577
- onValueChange = $[3];
15578
- options = $[4];
15579
- props = $[5];
15580
- value = $[6];
15581
- }
15860
+ const $ = c(14);
15861
+ const { options, value, defaultValue, onValueChange, disabled, className, style } = t0;
15582
15862
  let t1;
15583
- if ($[7] !== className) {
15863
+ if ($[0] !== className) {
15584
15864
  t1 = classNames(ds_radio_group_module_default.radioGroupRoot, className);
15585
- $[7] = className;
15586
- $[8] = t1;
15587
- } else t1 = $[8];
15588
- let t2;
15589
- if ($[9] !== options) {
15590
- t2 = options.map(_temp$1);
15591
- $[9] = options;
15592
- $[10] = t2;
15593
- } else t2 = $[10];
15865
+ $[0] = className;
15866
+ $[1] = t1;
15867
+ } else t1 = $[1];
15868
+ const t2 = value ?? void 0;
15594
15869
  let t3;
15595
- if ($[11] !== defaultValue || $[12] !== onValueChange || $[13] !== props || $[14] !== t1 || $[15] !== t2 || $[16] !== value) {
15596
- t3 = /* @__PURE__ */ jsx(RadioGroupPrimitive.Root, {
15870
+ if ($[2] !== onValueChange) {
15871
+ t3 = (details) => {
15872
+ if (details.value !== null) onValueChange?.(details.value);
15873
+ };
15874
+ $[2] = onValueChange;
15875
+ $[3] = t3;
15876
+ } else t3 = $[3];
15877
+ let t4;
15878
+ if ($[4] !== options) {
15879
+ t4 = options.map(_temp$1);
15880
+ $[4] = options;
15881
+ $[5] = t4;
15882
+ } else t4 = $[5];
15883
+ let t5;
15884
+ if ($[6] !== defaultValue || $[7] !== disabled || $[8] !== style || $[9] !== t1 || $[10] !== t2 || $[11] !== t3 || $[12] !== t4) {
15885
+ t5 = /* @__PURE__ */ jsx(RadioGroup.Root, {
15597
15886
  className: t1,
15598
- value,
15887
+ style,
15888
+ value: t2,
15599
15889
  defaultValue,
15600
- onValueChange,
15601
- ...props,
15602
- children: t2
15890
+ disabled,
15891
+ onValueChange: t3,
15892
+ children: t4
15603
15893
  });
15604
- $[11] = defaultValue;
15605
- $[12] = onValueChange;
15606
- $[13] = props;
15607
- $[14] = t1;
15608
- $[15] = t2;
15609
- $[16] = value;
15610
- $[17] = t3;
15611
- } else t3 = $[17];
15612
- return t3;
15894
+ $[6] = defaultValue;
15895
+ $[7] = disabled;
15896
+ $[8] = style;
15897
+ $[9] = t1;
15898
+ $[10] = t2;
15899
+ $[11] = t3;
15900
+ $[12] = t4;
15901
+ $[13] = t5;
15902
+ } else t5 = $[13];
15903
+ return t5;
15613
15904
  };
15614
15905
  /* c8 ignore stop */
15615
15906
  /**
@@ -15622,29 +15913,36 @@ const DsRadioGroupLegacy = (t0) => {
15622
15913
  * </DsRadioGroup.Root>
15623
15914
  */
15624
15915
  const DsRadioGroup = {
15625
- Root: Root$3,
15916
+ Root: Root$2,
15626
15917
  Item: Item$1
15627
15918
  };
15628
15919
  function _temp$1(option) {
15629
- return /* @__PURE__ */ jsxs("div", {
15920
+ return /* @__PURE__ */ jsxs(RadioGroup.Item, {
15921
+ value: option.value,
15922
+ disabled: option.disabled,
15630
15923
  className: ds_radio_group_module_default.radioItemContainer,
15631
- children: [/* @__PURE__ */ jsx(RadioGroupPrimitive.Item, {
15632
- className: ds_radio_group_module_default.radioItem,
15633
- value: option.value,
15634
- disabled: option.disabled,
15635
- id: option.value,
15636
- children: /* @__PURE__ */ jsx("div", {
15637
- className: ds_radio_group_module_default.radioItemWrapper,
15638
- children: /* @__PURE__ */ jsx(RadioGroupPrimitive.Indicator, { className: ds_radio_group_module_default.radioIndicator })
15639
- })
15640
- }), /* @__PURE__ */ jsxs("label", {
15641
- className: ds_radio_group_module_default.radioLabel,
15642
- htmlFor: option.value,
15643
- children: [option.label, option.labelInfo && /* @__PURE__ */ jsx("div", {
15924
+ children: [
15925
+ /* @__PURE__ */ jsx(RadioGroup.ItemControl, {
15926
+ className: ds_radio_group_module_default.radioItem,
15927
+ children: /* @__PURE__ */ jsx("div", {
15928
+ className: ds_radio_group_module_default.radioItemWrapper,
15929
+ children: /* @__PURE__ */ jsx("div", {
15930
+ className: ds_radio_group_module_default.radioIndicator,
15931
+ "data-part": "indicator"
15932
+ })
15933
+ })
15934
+ }),
15935
+ /* @__PURE__ */ jsx(RadioGroup.ItemHiddenInput, {}),
15936
+ /* @__PURE__ */ jsx(RadioGroup.ItemText, {
15937
+ className: ds_radio_group_module_default.radioLabel,
15938
+ children: option.label
15939
+ }),
15940
+ !!option.labelInfo && /* @__PURE__ */ jsx(DsTypography, {
15941
+ variant: "body-xs-reg",
15644
15942
  className: ds_radio_group_module_default.labelInfo,
15645
15943
  children: option.labelInfo
15646
- })]
15647
- })]
15944
+ })
15945
+ ]
15648
15946
  }, option.value);
15649
15947
  }
15650
15948
  //#endregion
@@ -15661,7 +15959,7 @@ var ds_segment_group_module_default = {
15661
15959
  /**
15662
15960
  * Root component - provides segment group context
15663
15961
  */
15664
- const Root$2 = (t0) => {
15962
+ const Root$1 = (t0) => {
15665
15963
  const $ = c(17);
15666
15964
  let children;
15667
15965
  let className;
@@ -15855,7 +16153,7 @@ const ItemText = (t0) => {
15855
16153
  * </DsSegmentGroup.Root>
15856
16154
  */
15857
16155
  const DsSegmentGroup = {
15858
- Root: Root$2,
16156
+ Root: Root$1,
15859
16157
  Item,
15860
16158
  ItemText
15861
16159
  };
@@ -16127,15 +16425,15 @@ var ds_smart_tabs_module_default = {
16127
16425
  //#endregion
16128
16426
  //#region src/components/ds-smart-tabs/ds-smart-tabs.tsx
16129
16427
  const colorMap = {
16130
- "dark-blue": "var(--color-background-info-strong)",
16131
- "light-blue": "var(--color-background-active-moderate)",
16132
- "dark-gray": "var(--color-background-brand)",
16133
- green: "var(--color-background-success-strong)",
16134
- fuchsia: "var(--color-data-fuchsia)",
16135
- blue: "var(--color-icon-information-secondary)",
16136
- gray: "var(--color-icon-information-main)",
16137
- red: "var(--color-icon-warning)",
16138
- amber: "var(--color-data-amber)"
16428
+ "dark-blue": "var(--background-info-strong)",
16429
+ "light-blue": "var(--background-active-moderate)",
16430
+ "dark-gray": "var(--background-brand)",
16431
+ green: "var(--background-success-strong)",
16432
+ fuchsia: "var(--color-dap-data-fuchsia)",
16433
+ blue: "var(--icon-information-secondary)",
16434
+ gray: "var(--icon-information-main)",
16435
+ red: "var(--icon-warning)",
16436
+ amber: "var(--color-dap-data-amber)"
16139
16437
  };
16140
16438
  const SmartTabsContext = createContext(null);
16141
16439
  const useSmartTabsContext = () => {
@@ -17797,7 +18095,6 @@ const DsTableBulkActions = ({ numSelectedRows, actions, onClearSelection }) => {
17797
18095
  //#endregion
17798
18096
  //#region src/components/ds-table/components/ds-table-header/ds-table-header.module.scss
17799
18097
  var ds_table_header_module_default = {
17800
- "expandColumn": "-2rCNG_expandColumn",
17801
18098
  "headerCell": "-2rCNG_headerCell",
17802
18099
  "headerRow": "-2rCNG_headerRow",
17803
18100
  "headerRowNoBorder": "-2rCNG_headerRowNoBorder",
@@ -17849,7 +18146,7 @@ const getColumnSizeStyle = (columnSize, virtualized) => {
17849
18146
  //#endregion
17850
18147
  //#region src/components/ds-table/components/ds-table-header/ds-table-header.tsx
17851
18148
  const DsTableHeader = ({ table }) => {
17852
- const { stickyHeader, bordered, expandable, selectable, reorderable, showSelectAllCheckbox, virtualized } = useDsTableContext();
18149
+ const { stickyHeader, bordered, selectable, reorderable, showSelectAllCheckbox, virtualized } = useDsTableContext();
17853
18150
  return /* @__PURE__ */ jsx(TableHeader, {
17854
18151
  className: classNames(stickyHeader && ds_table_header_module_default.stickyHeader, virtualized && ds_table_header_module_default.virtualizedHeader),
17855
18152
  children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsxs(TableRow, {
@@ -17860,26 +18157,24 @@ const DsTableHeader = ({ table }) => {
17860
18157
  children: showSelectAllCheckbox && /* @__PURE__ */ jsx(DsCheckbox, {
17861
18158
  className: ds_table_shared_module_default.checkboxContainer,
17862
18159
  checked: table.getIsAllRowsSelected() ? true : table.getIsSomeRowsSelected() ? "indeterminate" : false,
17863
- onClick: (e) => {
17864
- e.stopPropagation();
17865
- table.getToggleAllRowsSelectedHandler()(e);
17866
- }
18160
+ onCheckedChange: (checked) => table.toggleAllRowsSelected(!!checked),
18161
+ onClick: (e) => e.stopPropagation()
17867
18162
  })
17868
18163
  }),
17869
- expandable && /* @__PURE__ */ jsx(TableHead, { className: classNames(ds_table_header_module_default.headerCell, ds_table_header_module_default.expandColumn) }),
17870
18164
  reorderable && /* @__PURE__ */ jsx(TableHead, {
17871
18165
  className: classNames(ds_table_header_module_default.headerCell, ds_table_header_module_default.reorderColumn),
17872
18166
  children: "Order"
17873
18167
  }),
17874
18168
  headerGroup.headers.map((header) => {
17875
18169
  const headerStyle = getColumnSizeStyle(header.column.getSize(), virtualized);
18170
+ const canSort = header.column.getCanSort();
17876
18171
  return /* @__PURE__ */ jsx(TableHead, {
17877
- className: classNames(ds_table_header_module_default.headerCell, header.column.getCanSort() && ds_table_header_module_default.sortableHeader),
18172
+ className: classNames(ds_table_header_module_default.headerCell, canSort && ds_table_header_module_default.sortableHeader),
17878
18173
  onClick: header.column.getToggleSortingHandler(),
17879
18174
  style: headerStyle,
17880
18175
  children: header.isPlaceholder ? null : /* @__PURE__ */ jsxs("div", {
17881
18176
  className: ds_table_header_module_default.headerSortContainer,
17882
- children: [/* @__PURE__ */ jsx("div", { children: flexRender(header.column.columnDef.header, header.getContext()) }), header.column.getCanSort() && /* @__PURE__ */ jsx("div", {
18177
+ children: [/* @__PURE__ */ jsx("div", { children: flexRender(header.column.columnDef.header, header.getContext()) }), canSort && /* @__PURE__ */ jsx("div", {
17883
18178
  className: ds_table_header_module_default.pageButtonIconContainer,
17884
18179
  children: {
17885
18180
  asc: /* @__PURE__ */ jsx(DsIcon, {
@@ -18010,47 +18305,9 @@ const DsTableRowSelectableCell = ({ row, isSelected, className }) => {
18010
18305
  className: ds_table_shared_module_default.checkboxContainer,
18011
18306
  checked: isSelected,
18012
18307
  disabled: !row.getCanSelect(),
18013
- onClick: (e) => {
18014
- e.stopPropagation();
18015
- row.getToggleSelectedHandler()(e);
18016
- },
18017
- onDoubleClick: (e) => {
18018
- e.stopPropagation();
18019
- }
18020
- })
18021
- });
18022
- };
18023
- //#endregion
18024
- //#region src/components/ds-table/components/ds-table-row-expandable-cell/ds-table-row-expandable-cell.module.scss
18025
- var ds_table_row_expandable_cell_module_default = {
18026
- "button": "enUIjW_button",
18027
- "cell": "enUIjW_cell"
18028
- };
18029
- //#endregion
18030
- //#region src/components/ds-table/components/ds-table-row-expandable-cell/ds-table-row-expandable-cell.tsx
18031
- const DsTableRowExpandableCell = ({ row, className, buttonClassName }) => {
18032
- const { expandable } = useDsTableContext();
18033
- const isExpanded = row.getIsExpanded();
18034
- const isExpandable = typeof expandable === "function" ? expandable(row.original) : expandable;
18035
- return /* @__PURE__ */ jsx(TableCell, {
18036
- className: classNames(ds_table_row_expandable_cell_module_default.cell, className),
18037
- children: isExpandable && /* @__PURE__ */ jsx(DsButton, {
18038
- design: "v1.2",
18039
- buttonType: "tertiary",
18040
- size: "small",
18041
- className: classNames(ds_table_row_expandable_cell_module_default.button, buttonClassName),
18042
- onClick: (e) => {
18043
- e.stopPropagation();
18044
- row.toggleExpanded();
18045
- },
18046
- onDoubleClick: (e) => {
18047
- e.stopPropagation();
18048
- },
18049
- children: /* @__PURE__ */ jsx(DsIcon, {
18050
- icon: "chevron_right",
18051
- size: "small",
18052
- className: classNames(ds_table_shared_module_default.pageButtonIcon, isExpanded && "rotate-90")
18053
- })
18308
+ onCheckedChange: (checked) => row.toggleSelected(!!checked),
18309
+ onClick: (e) => e.stopPropagation(),
18310
+ onDoubleClick: (e) => e.stopPropagation()
18054
18311
  })
18055
18312
  });
18056
18313
  };
@@ -18062,7 +18319,6 @@ var ds_table_row_module_default = {
18062
18319
  "expandableCell": "t8OZCq_expandableCell",
18063
18320
  "expanded": "t8OZCq_expanded",
18064
18321
  "expandedRow": "t8OZCq_expandedRow",
18065
- "expandToggleButton": "t8OZCq_expandToggleButton",
18066
18322
  "isDragging": "t8OZCq_isDragging",
18067
18323
  "rowDragHandle": "t8OZCq_rowDragHandle",
18068
18324
  "rowNoBorder": "t8OZCq_rowNoBorder",
@@ -18073,6 +18329,10 @@ var ds_table_row_module_default = {
18073
18329
  "tableCell": "t8OZCq_tableCell",
18074
18330
  "tableRow": "t8OZCq_tableRow"
18075
18331
  };
18332
+ /**
18333
+ * Column id used for the synthetic expander column injected when `expandable` is set.
18334
+ */
18335
+ const EXPANDER_COLUMN_ID = "expander";
18076
18336
  //#endregion
18077
18337
  //#region src/components/ds-table/components/ds-table-row/ds-table-row.tsx
18078
18338
  const DsRowDragHandle = ({ isDragging, attributes, listeners }) => {
@@ -18089,9 +18349,8 @@ const DsRowDragHandle = ({ isDragging, attributes, listeners }) => {
18089
18349
  });
18090
18350
  };
18091
18351
  const DsTableRow = ({ ref, row, isSelected }) => {
18092
- const { expandable, selectable, reorderable, onRowClick, onRowDoubleClick, renderExpandedRow, bordered, rowSize, primaryRowActions, secondaryRowActions, activeRowId } = useDsTableContext();
18352
+ const { selectable, reorderable, onRowClick, onRowDoubleClick, renderExpandedRow, bordered, rowSize, primaryRowActions, secondaryRowActions, activeRowId } = useDsTableContext();
18093
18353
  const isExpanded = row.getIsExpanded();
18094
- const isExpandable = typeof expandable === "function" ? expandable(row.original) : expandable;
18095
18354
  const isActive = activeRowId === row.id;
18096
18355
  const { attributes, listeners, setNodeRef, transform, transition, isDragging } = useSortable({
18097
18356
  id: row.id,
@@ -18101,7 +18360,7 @@ const DsTableRow = ({ ref, row, isSelected }) => {
18101
18360
  transform: CSS.Transform.toString(transform),
18102
18361
  transition,
18103
18362
  ...isDragging ? {
18104
- background: "var(--action-active-light)",
18363
+ background: "var(--color-dap-purple-200)",
18105
18364
  boxShadow: "0 0 12px 0 rgba(0, 102, 250, 0.60)",
18106
18365
  zIndex: 1
18107
18366
  } : {},
@@ -18124,11 +18383,6 @@ const DsTableRow = ({ ref, row, isSelected }) => {
18124
18383
  isSelected,
18125
18384
  className: ds_table_row_module_default.selectableCell
18126
18385
  }),
18127
- expandable && /* @__PURE__ */ jsx(DsTableRowExpandableCell, {
18128
- row,
18129
- className: ds_table_row_module_default.expandableCell,
18130
- buttonClassName: ds_table_row_module_default.expandToggleButton
18131
- }),
18132
18386
  reorderable && /* @__PURE__ */ jsx(DsRowDragHandle, {
18133
18387
  isDragging,
18134
18388
  attributes,
@@ -18138,7 +18392,7 @@ const DsTableRow = ({ ref, row, isSelected }) => {
18138
18392
  const isLastColumn = idx === row.getVisibleCells().length - 1;
18139
18393
  const cellStyle = getColumnSizeStyle(cell.column.getSize());
18140
18394
  return /* @__PURE__ */ jsx(TableCell, {
18141
- className: ds_table_row_module_default.tableCell,
18395
+ className: classNames(ds_table_row_module_default.tableCell, cell.column.id === "expander" && ds_table_row_module_default.expandableCell),
18142
18396
  style: cellStyle,
18143
18397
  children: isLastColumn ? /* @__PURE__ */ jsx(DsTableCell, {
18144
18398
  row,
@@ -18155,13 +18409,39 @@ const DsTableRow = ({ ref, row, isSelected }) => {
18155
18409
  }), isExpanded && renderExpandedRow && /* @__PURE__ */ jsx(TableRow, {
18156
18410
  className: ds_table_row_module_default.expandedRow,
18157
18411
  children: /* @__PURE__ */ jsx(TableCell, {
18158
- colSpan: row.getVisibleCells().length + (selectable ? 1 : 0) + (isExpandable ? 1 : 0) + (reorderable ? 1 : 0),
18412
+ colSpan: row.getVisibleCells().length + (selectable ? 1 : 0) + (reorderable ? 1 : 0),
18159
18413
  className: ds_table_row_module_default.tableCell,
18160
18414
  children: renderExpandedRow(row.original)
18161
18415
  })
18162
18416
  })] });
18163
18417
  };
18164
18418
  //#endregion
18419
+ //#region src/components/ds-table/components/ds-table-row-expandable-cell/ds-table-row-expandable-cell.module.scss
18420
+ var ds_table_row_expandable_cell_module_default = { "button": "enUIjW_button" };
18421
+ //#endregion
18422
+ //#region src/components/ds-table/components/ds-table-row-expandable-cell/ds-table-row-expandable-cell.tsx
18423
+ const DsTableRowExpandableCell = ({ row, buttonClassName }) => {
18424
+ const isExpanded = row.getIsExpanded();
18425
+ return /* @__PURE__ */ jsx(DsButton, {
18426
+ design: "v1.2",
18427
+ buttonType: "tertiary",
18428
+ size: "small",
18429
+ className: classNames(ds_table_row_expandable_cell_module_default.button, buttonClassName),
18430
+ onClick: (e) => {
18431
+ e.stopPropagation();
18432
+ row.toggleExpanded();
18433
+ },
18434
+ onDoubleClick: (e) => {
18435
+ e.stopPropagation();
18436
+ },
18437
+ children: /* @__PURE__ */ jsx(DsIcon, {
18438
+ icon: "chevron_right",
18439
+ size: "small",
18440
+ className: classNames(ds_table_shared_module_default.pageButtonIcon, isExpanded && "rotate-90")
18441
+ })
18442
+ });
18443
+ };
18444
+ //#endregion
18165
18445
  //#region src/components/ds-table/hooks/use-drag-and-drop.tsx
18166
18446
  const DragWrapper = ({ children, onDragEnd, sensors }) => /* @__PURE__ */ jsx(DndContext, {
18167
18447
  collisionDetection: closestCenter,
@@ -18230,7 +18510,7 @@ var ds_table_row_virtualized_module_default = {
18230
18510
  //#endregion
18231
18511
  //#region src/components/ds-table/components/ds-table-row-virtualized/ds-table-row-virtualized.tsx
18232
18512
  const DsTableRowVirtualized = ({ row, isSelected, rowsMapRef, rowHeightsMapRef, rowVirtualizer, virtualRow, isExpandedRowContent }) => {
18233
- const { selectable, expandable, bordered, rowSize, activeRowId, primaryRowActions, secondaryRowActions, renderExpandedRow, onRowClick, onRowDoubleClick } = useDsTableContext();
18513
+ const { selectable, bordered, rowSize, activeRowId, primaryRowActions, secondaryRowActions, renderExpandedRow, onRowClick, onRowDoubleClick } = useDsTableContext();
18234
18514
  const isExpanded = row.getIsExpanded();
18235
18515
  const isActive = activeRowId === row.id;
18236
18516
  return /* @__PURE__ */ jsx(TableRow, {
@@ -18252,33 +18532,26 @@ const DsTableRowVirtualized = ({ row, isSelected, rowsMapRef, rowHeightsMapRef,
18252
18532
  }, 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),
18253
18533
  onClick: isExpandedRowContent ? void 0 : () => onRowClick?.(row.original),
18254
18534
  onDoubleClick: isExpandedRowContent ? void 0 : () => onRowDoubleClick?.(row.original),
18255
- children: isExpandedRowContent ? /* @__PURE__ */ jsx(TableCell, { children: renderExpandedRow?.(row.original) }) : /* @__PURE__ */ jsxs(Fragment, { children: [
18256
- selectable && /* @__PURE__ */ jsx(DsTableRowSelectableCell, {
18257
- row,
18258
- isSelected,
18259
- className: ds_table_row_virtualized_module_default.selectableCell
18260
- }),
18261
- expandable && /* @__PURE__ */ jsx(DsTableRowExpandableCell, {
18262
- row,
18263
- className: ds_table_row_virtualized_module_default.expandableCell
18264
- }),
18265
- row.getVisibleCells().map((cell, idx) => {
18266
- const isLastColumn = idx === row.getVisibleCells().length - 1;
18267
- return /* @__PURE__ */ jsx(TableCell, {
18268
- style: getColumnSizeStyle(cell.column.getSize(), true),
18269
- className: ds_table_row_virtualized_module_default.cell,
18270
- children: isLastColumn ? /* @__PURE__ */ jsx(DsTableCell, {
18271
- row,
18272
- cell,
18273
- primaryRowActions,
18274
- secondaryRowActions
18275
- }) : /* @__PURE__ */ jsx(DsTableCell, {
18276
- row,
18277
- cell
18278
- })
18279
- }, cell.id);
18280
- })
18281
- ] })
18535
+ children: isExpandedRowContent ? /* @__PURE__ */ jsx(TableCell, { children: renderExpandedRow?.(row.original) }) : /* @__PURE__ */ jsxs(Fragment, { children: [selectable && /* @__PURE__ */ jsx(DsTableRowSelectableCell, {
18536
+ row,
18537
+ isSelected,
18538
+ className: ds_table_row_virtualized_module_default.selectableCell
18539
+ }), row.getVisibleCells().map((cell, idx) => {
18540
+ const isLastColumn = idx === row.getVisibleCells().length - 1;
18541
+ return /* @__PURE__ */ jsx(TableCell, {
18542
+ style: getColumnSizeStyle(cell.column.getSize(), true),
18543
+ className: classNames(ds_table_row_virtualized_module_default.cell, cell.column.id === "expander" && ds_table_row_virtualized_module_default.expandableCell),
18544
+ children: isLastColumn ? /* @__PURE__ */ jsx(DsTableCell, {
18545
+ row,
18546
+ cell,
18547
+ primaryRowActions,
18548
+ secondaryRowActions
18549
+ }) : /* @__PURE__ */ jsx(DsTableCell, {
18550
+ row,
18551
+ cell
18552
+ })
18553
+ }, cell.id);
18554
+ })] })
18282
18555
  });
18283
18556
  };
18284
18557
  //#endregion
@@ -18372,7 +18645,7 @@ const ROW_SIZE_HEIGHT_MAP = {
18372
18645
  /**
18373
18646
  * Design system Table component
18374
18647
  */
18375
- 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 }) => {
18648
+ 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 }) => {
18376
18649
  const [data, setData] = React$1.useState(tableData);
18377
18650
  const [sorting, setSorting] = React$1.useState([]);
18378
18651
  const [internalColumnFilters, setInternalColumnFilters] = React$1.useState([]);
@@ -18409,6 +18682,17 @@ const DsTable = ({ ref, columns, data: tableData, virtualized = false, virtualiz
18409
18682
  setRowSelection(newRowSelection);
18410
18683
  onSelectionChange?.(newRowSelection);
18411
18684
  };
18685
+ const columns = useMemo(() => {
18686
+ if (!expandable) return columnsProp;
18687
+ return [{
18688
+ id: EXPANDER_COLUMN_ID,
18689
+ size: 36,
18690
+ enableSorting: false,
18691
+ enableResizing: false,
18692
+ header: () => null,
18693
+ cell: ({ row }) => row.getCanExpand() ? /* @__PURE__ */ jsx(DsTableRowExpandableCell, { row }) : null
18694
+ }, ...columnsProp];
18695
+ }, [columnsProp, expandable]);
18412
18696
  const table = useReactTable({
18413
18697
  data: reorderable ? data : tableData,
18414
18698
  columns,
@@ -18420,6 +18704,8 @@ const DsTable = ({ ref, columns, data: tableData, virtualized = false, virtualiz
18420
18704
  onColumnVisibilityChange: handleColumnVisibilityChange,
18421
18705
  onRowSelectionChange: handleRowSelectionChange,
18422
18706
  getRowId: (row) => row.id,
18707
+ getExpandedRowModel: getExpandedRowModel(),
18708
+ getRowCanExpand: typeof expandable === "function" ? (row) => expandable(row.original) : () => expandable,
18423
18709
  state: {
18424
18710
  sorting,
18425
18711
  columnFilters,
@@ -18469,7 +18755,7 @@ const DsTable = ({ ref, columns, data: tableData, virtualized = false, virtualiz
18469
18755
  }), [table]);
18470
18756
  const { rows, rowsById } = table.getRowModel();
18471
18757
  const renderEmptyState = () => /* @__PURE__ */ jsx(TableRow, { children: /* @__PURE__ */ jsx(TableCell, {
18472
- colSpan: columns.length + (expandable ? 1 : 0) + (selectable ? 1 : 0),
18758
+ colSpan: columns.length + (selectable ? 1 : 0) + (reorderable ? 1 : 0),
18473
18759
  className: ds_table_module_default.emptyState,
18474
18760
  children: emptyState || "No results."
18475
18761
  }) });
@@ -19482,6 +19768,183 @@ DsVerticalTabs.List = DsVerticalTabsList;
19482
19768
  DsVerticalTabs.Tab = DsVerticalTabsTab;
19483
19769
  DsVerticalTabs.Content = DsVerticalTabsContent;
19484
19770
  //#endregion
19485
- export { BREAKPOINT_LG, DsAlertBanner, DsAutocomplete, DsAvatar, DsAvatarGroup, DsBreadcrumb, DsButton, DsButtonV3, DsCard, DsCheckbox, DsChip, DsChipGroup, DsCommentBubble, DsCommentCard, DsCommentIndicator, DsCommentThread, DsCommentsDrawer, DsConfirmation, DsDateInput, DsDatePicker, DsDateRangePicker, DsDialog, DsDivider, DsDrawer, DsDropdownMenu, DsDropdownMenuLegacy, DsExpandableTextInput, DsFileUpload, DsFilterStatusIcon, DsFormControl, DsGrid, DsGridItem, DsIcon, DsKeyValuePair, DsLoader, DsModal, DsNextStepButton, DsNumberInput, DsPanel, DsPasswordInput, DsPopover, DsProgressArc, DsProgressDonut, DsProgressLinear, DsRadioGroup, DsRadioGroupLegacy, DsSegmentGroup, DsSelect, ds_skeleton_default as DsSkeleton, DsSkeletonCircle, DsSkeletonRect, DsSkeletonText, DsSmartTabs, DsSpinner, DsSplitButton, DsStack, DsStatusBadge, DsStep, DsStepContent, DsStepper, DsSystemStatus, DsTable, DsTabs, DsTag, DsTagFilter, DsTextInput, DsTextarea, DsThreadItem, DsTimePicker, DsToastProvider, DsToggle, DsTooltip, DsTree, DsTypography, DsVerticalTabs, FatalFileUploadError, FileUpload, FileUploadError, RetryableFileUploadError, alertBannerVariants, breakpoints, buttonV3Colors, buttonV3Sizes, buttonV3Variants, cardSizes, checkboxVariants, colors, controlStatuses, createCheckboxFilterAdapter, createDsTreeCollection, createDualRangeFilterAdapter, createFilterAdapter, customIcons, dsKeyValuePairOrientations, filterStatuses, formatTime, iconSizes, iconVariants, isCustomIcon, isResponsiveValue, loaderVariants, progressArcSizes, progressArcVariants, progressDonutSizes, progressDonutVariants, progressLinearSizes, progressLinearVariants, resolveResponsiveValue, skeletonColorVariants, skeletonRadiusVariants, spinnerSizes, splitButtonSizes, systemStatuses, tagSizes, tagVariants, textInputSizes, useBreakpoint, useFileUpload, useResponsiveValue, useTableFilters, useToaster, withResponsiveProps };
19771
+ //#region src/components/ds-workspace/ds-workspace.module.scss
19772
+ var ds_workspace_module_default = {
19773
+ "content": "XEdo8q_content",
19774
+ "fillParent": "XEdo8q_fillParent",
19775
+ "footer": "XEdo8q_footer",
19776
+ "header": "XEdo8q_header",
19777
+ "root": "XEdo8q_root",
19778
+ "subHeader": "XEdo8q_subHeader"
19779
+ };
19780
+ //#endregion
19781
+ //#region src/components/ds-workspace/ds-workspace.tsx
19782
+ const DsWorkspace = (t0) => {
19783
+ const $ = c(10);
19784
+ let className;
19785
+ let rest;
19786
+ let t1;
19787
+ if ($[0] !== t0) {
19788
+ ({className, fillParent: t1, ...rest} = t0);
19789
+ $[0] = t0;
19790
+ $[1] = className;
19791
+ $[2] = rest;
19792
+ $[3] = t1;
19793
+ } else {
19794
+ className = $[1];
19795
+ rest = $[2];
19796
+ t1 = $[3];
19797
+ }
19798
+ const fillParent = t1 === void 0 ? false : t1;
19799
+ let t2;
19800
+ if ($[4] !== className || $[5] !== fillParent) {
19801
+ t2 = classNames(ds_workspace_module_default.root, { [ds_workspace_module_default.fillParent]: fillParent }, className);
19802
+ $[4] = className;
19803
+ $[5] = fillParent;
19804
+ $[6] = t2;
19805
+ } else t2 = $[6];
19806
+ let t3;
19807
+ if ($[7] !== rest || $[8] !== t2) {
19808
+ t3 = /* @__PURE__ */ jsx("div", {
19809
+ ...rest,
19810
+ className: t2
19811
+ });
19812
+ $[7] = rest;
19813
+ $[8] = t2;
19814
+ $[9] = t3;
19815
+ } else t3 = $[9];
19816
+ return t3;
19817
+ };
19818
+ const Header = (t0) => {
19819
+ const $ = c(8);
19820
+ let className;
19821
+ let rest;
19822
+ if ($[0] !== t0) {
19823
+ ({className, ...rest} = t0);
19824
+ $[0] = t0;
19825
+ $[1] = className;
19826
+ $[2] = rest;
19827
+ } else {
19828
+ className = $[1];
19829
+ rest = $[2];
19830
+ }
19831
+ let t1;
19832
+ if ($[3] !== className) {
19833
+ t1 = classNames(ds_workspace_module_default.header, className);
19834
+ $[3] = className;
19835
+ $[4] = t1;
19836
+ } else t1 = $[4];
19837
+ let t2;
19838
+ if ($[5] !== rest || $[6] !== t1) {
19839
+ t2 = /* @__PURE__ */ jsx("header", {
19840
+ ...rest,
19841
+ className: t1
19842
+ });
19843
+ $[5] = rest;
19844
+ $[6] = t1;
19845
+ $[7] = t2;
19846
+ } else t2 = $[7];
19847
+ return t2;
19848
+ };
19849
+ const SubHeader = (t0) => {
19850
+ const $ = c(8);
19851
+ let className;
19852
+ let rest;
19853
+ if ($[0] !== t0) {
19854
+ ({className, ...rest} = t0);
19855
+ $[0] = t0;
19856
+ $[1] = className;
19857
+ $[2] = rest;
19858
+ } else {
19859
+ className = $[1];
19860
+ rest = $[2];
19861
+ }
19862
+ let t1;
19863
+ if ($[3] !== className) {
19864
+ t1 = classNames(ds_workspace_module_default.subHeader, className);
19865
+ $[3] = className;
19866
+ $[4] = t1;
19867
+ } else t1 = $[4];
19868
+ let t2;
19869
+ if ($[5] !== rest || $[6] !== t1) {
19870
+ t2 = /* @__PURE__ */ jsx("div", {
19871
+ ...rest,
19872
+ className: t1
19873
+ });
19874
+ $[5] = rest;
19875
+ $[6] = t1;
19876
+ $[7] = t2;
19877
+ } else t2 = $[7];
19878
+ return t2;
19879
+ };
19880
+ /** Stacking context for non-portal drawer containment. */
19881
+ const Content = (t0) => {
19882
+ const $ = c(8);
19883
+ let className;
19884
+ let rest;
19885
+ if ($[0] !== t0) {
19886
+ ({className, ...rest} = t0);
19887
+ $[0] = t0;
19888
+ $[1] = className;
19889
+ $[2] = rest;
19890
+ } else {
19891
+ className = $[1];
19892
+ rest = $[2];
19893
+ }
19894
+ let t1;
19895
+ if ($[3] !== className) {
19896
+ t1 = classNames(ds_workspace_module_default.content, className);
19897
+ $[3] = className;
19898
+ $[4] = t1;
19899
+ } else t1 = $[4];
19900
+ let t2;
19901
+ if ($[5] !== rest || $[6] !== t1) {
19902
+ t2 = /* @__PURE__ */ jsx("div", {
19903
+ ...rest,
19904
+ className: t1
19905
+ });
19906
+ $[5] = rest;
19907
+ $[6] = t1;
19908
+ $[7] = t2;
19909
+ } else t2 = $[7];
19910
+ return t2;
19911
+ };
19912
+ const Footer = (t0) => {
19913
+ const $ = c(8);
19914
+ let className;
19915
+ let rest;
19916
+ if ($[0] !== t0) {
19917
+ ({className, ...rest} = t0);
19918
+ $[0] = t0;
19919
+ $[1] = className;
19920
+ $[2] = rest;
19921
+ } else {
19922
+ className = $[1];
19923
+ rest = $[2];
19924
+ }
19925
+ let t1;
19926
+ if ($[3] !== className) {
19927
+ t1 = classNames(ds_workspace_module_default.footer, className);
19928
+ $[3] = className;
19929
+ $[4] = t1;
19930
+ } else t1 = $[4];
19931
+ let t2;
19932
+ if ($[5] !== rest || $[6] !== t1) {
19933
+ t2 = /* @__PURE__ */ jsx("footer", {
19934
+ ...rest,
19935
+ className: t1
19936
+ });
19937
+ $[5] = rest;
19938
+ $[6] = t1;
19939
+ $[7] = t2;
19940
+ } else t2 = $[7];
19941
+ return t2;
19942
+ };
19943
+ DsWorkspace.Header = Header;
19944
+ DsWorkspace.SubHeader = SubHeader;
19945
+ DsWorkspace.Content = Content;
19946
+ DsWorkspace.Footer = Footer;
19947
+ //#endregion
19948
+ export { BREAKPOINT_LG, DsAlertBanner, DsAutocomplete, DsAvatar, DsAvatarGroup, DsBreadcrumb, DsButton, DsButtonV3, DsCard, DsCheckbox, DsCheckboxGroup, DsChip, DsChipGroup, DsCommentBubble, DsCommentCard, DsCommentIndicator, DsCommentThread, DsCommentsDrawer, DsConfirmation, DsDateInput, DsDatePicker, DsDateRangePicker, DsDialog, DsDivider, DsDrawer, DsDropdownMenu, DsDropdownMenuLegacy, DsExpandableTextInput, DsFileUpload, DsFilterStatusIcon, DsFormControl, DsGrid, DsGridItem, DsIcon, DsKeyValuePair, DsLoader, DsModal, DsNextStepButton, DsNumberInput, DsPanel, DsPasswordInput, DsPopover, DsProgressArc, DsProgressDonut, DsProgressLinear, DsRadioGroup, DsRadioGroupLegacy, DsSegmentGroup, DsSelect, ds_skeleton_default as DsSkeleton, DsSkeletonCircle, DsSkeletonRect, DsSkeletonText, DsSmartTabs, DsSpinner, DsSplitButton, DsStack, DsStatusBadge, DsStep, DsStepContent, DsStepper, DsSystemStatus, DsTable, DsTabs, DsTag, DsTagFilter, DsTextInput, DsTextarea, DsThreadItem, DsTimePicker, DsToastProvider, DsToggle, DsTooltip, DsTree, DsTypography, DsVerticalTabs, DsWorkspace, FatalFileUploadError, FileUpload, FileUploadError, RetryableFileUploadError, alertBannerVariants, breakpoints, buttonV3Colors, buttonV3Sizes, buttonV3Variants, cardSizes, checkboxVariants, colors, controlStatuses, createCheckboxFilterAdapter, createDsTreeCollection, createDualRangeFilterAdapter, createFilterAdapter, customIcons, dropdownMenuItemVariants, dsKeyValuePairOrientations, filterStatuses, formatTime, iconColors, iconSizes, iconVariants, isCustomIcon, isResponsiveValue, loaderVariants, progressArcSizes, progressArcVariants, progressDonutSizes, progressDonutVariants, progressLinearSizes, progressLinearVariants, resolveResponsiveValue, skeletonColorVariants, skeletonRadiusVariants, spinnerSizes, splitButtonSizes, systemStatuses, tagSizes, tagVariants, textInputSizes, useBreakpoint, useCheckboxSelectAll, useFileUpload, useResponsiveValue, useTableFilters, useToaster, withResponsiveProps };
19486
19949
 
19487
19950
  //# sourceMappingURL=index.js.map