@drivenets/design-system 0.0.3 → 0.0.5

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 (247) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +51 -0
  3. package/dist/components/ds-alert-banner/ds-alert-banner.cjs +157 -52
  4. package/dist/components/ds-alert-banner/ds-alert-banner.d.cts +5 -5
  5. package/dist/components/ds-alert-banner/ds-alert-banner.d.cts.map +1 -1
  6. package/dist/components/ds-alert-banner/ds-alert-banner.js +157 -52
  7. package/dist/components/ds-alert-banner/ds-alert-banner.js.map +1 -1
  8. package/dist/components/ds-alert-banner/ds-alert-banner.types.d.cts.map +1 -1
  9. package/dist/components/ds-alert-banner/ds-alert-banner.types.js.map +1 -1
  10. package/dist/components/ds-breadcrumb/ds-breadcrumb.cjs +59 -16
  11. package/dist/components/ds-breadcrumb/ds-breadcrumb.js +59 -16
  12. package/dist/components/ds-breadcrumb/ds-breadcrumb.js.map +1 -1
  13. package/dist/components/ds-button/ds-button.cjs +18 -2
  14. package/dist/components/ds-button/ds-button.d.cts +2 -2
  15. package/dist/components/ds-button/ds-button.d.cts.map +1 -1
  16. package/dist/components/ds-button/ds-button.d.ts +2 -2
  17. package/dist/components/ds-button/ds-button.js +18 -2
  18. package/dist/components/ds-button/ds-button.js.map +1 -1
  19. package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.cjs +79 -10
  20. package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.js +79 -10
  21. package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.js.map +1 -1
  22. package/dist/components/ds-button/versions/ds-button-new/ds-button-new.cjs +78 -10
  23. package/dist/components/ds-button/versions/ds-button-new/ds-button-new.js +78 -10
  24. package/dist/components/ds-button/versions/ds-button-new/ds-button-new.js.map +1 -1
  25. package/dist/components/ds-checkbox/ds-checkbox.cjs +89 -18
  26. package/dist/components/ds-checkbox/ds-checkbox.js +89 -18
  27. package/dist/components/ds-checkbox/ds-checkbox.js.map +1 -1
  28. package/dist/components/ds-chip/ds-chip.cjs +100 -30
  29. package/dist/components/ds-chip/ds-chip.js +100 -30
  30. package/dist/components/ds-chip/ds-chip.js.map +1 -1
  31. package/dist/components/ds-chip-group/ds-chip-group.cjs +6 -6
  32. package/dist/components/ds-chip-group/ds-chip-group.js +6 -6
  33. package/dist/components/ds-chip-group/ds-chip-group.js.map +1 -1
  34. package/dist/components/ds-chip-group/hooks/use-chip-row-calculation.js.map +1 -1
  35. package/dist/components/ds-confirmation/ds-confirmation.cjs +210 -56
  36. package/dist/components/ds-confirmation/ds-confirmation.d.cts +8 -8
  37. package/dist/components/ds-confirmation/ds-confirmation.d.ts +8 -8
  38. package/dist/components/ds-confirmation/ds-confirmation.js +210 -56
  39. package/dist/components/ds-confirmation/ds-confirmation.js.map +1 -1
  40. package/dist/components/ds-dialog/ds-dialog.js.map +1 -1
  41. package/dist/components/ds-drawer/ds-drawer.cjs +261 -61
  42. package/dist/components/ds-drawer/ds-drawer.d.cts +9 -9
  43. package/dist/components/ds-drawer/ds-drawer.d.ts +9 -9
  44. package/dist/components/ds-drawer/ds-drawer.js +261 -61
  45. package/dist/components/ds-drawer/ds-drawer.js.map +1 -1
  46. package/dist/components/ds-dropdown-menu/ds-dropdown-menu.cjs +481 -135
  47. package/dist/components/ds-dropdown-menu/ds-dropdown-menu.js +481 -135
  48. package/dist/components/ds-dropdown-menu/ds-dropdown-menu.js.map +1 -1
  49. package/dist/components/ds-expandable-text-input/ds-expandable-text-input.cjs +146 -56
  50. package/dist/components/ds-expandable-text-input/ds-expandable-text-input.d.cts +2 -2
  51. package/dist/components/ds-expandable-text-input/ds-expandable-text-input.d.ts +2 -2
  52. package/dist/components/ds-expandable-text-input/ds-expandable-text-input.js +146 -56
  53. package/dist/components/ds-expandable-text-input/ds-expandable-text-input.js.map +1 -1
  54. package/dist/components/ds-file-upload/components/file-upload/file-upload.cjs +190 -69
  55. package/dist/components/ds-file-upload/components/file-upload/file-upload.js +190 -69
  56. package/dist/components/ds-file-upload/components/file-upload/file-upload.js.map +1 -1
  57. package/dist/components/ds-file-upload/components/file-upload-item/file-upload-item.cjs +273 -132
  58. package/dist/components/ds-file-upload/components/file-upload-item/file-upload-item.js +273 -132
  59. package/dist/components/ds-file-upload/components/file-upload-item/file-upload-item.js.map +1 -1
  60. package/dist/components/ds-file-upload/ds-file-upload.cjs +96 -16
  61. package/dist/components/ds-file-upload/ds-file-upload.js +96 -16
  62. package/dist/components/ds-file-upload/ds-file-upload.js.map +1 -1
  63. package/dist/components/ds-file-upload/errors/file-upload-errors.js.map +1 -1
  64. package/dist/components/ds-file-upload/hooks/use-file-upload.cjs +93 -93
  65. package/dist/components/ds-file-upload/hooks/use-file-upload.js +93 -93
  66. package/dist/components/ds-file-upload/hooks/use-file-upload.js.map +1 -1
  67. package/dist/components/ds-file-upload/types/accept-types.js.map +1 -1
  68. package/dist/components/ds-file-upload/utils/accept-utils.js.map +1 -1
  69. package/dist/components/ds-file-upload/utils/constants.js.map +1 -1
  70. package/dist/components/ds-file-upload/utils/file-factory.js.map +1 -1
  71. package/dist/components/ds-file-upload/utils/format-file-size.js.map +1 -1
  72. package/dist/components/ds-file-upload/utils/generate-helper-text.js.map +1 -1
  73. package/dist/components/ds-file-upload/utils/get-error-message.js.map +1 -1
  74. package/dist/components/ds-file-upload/utils/is-file-equal.js.map +1 -1
  75. package/dist/components/ds-form-control/ds-form-control.cjs +119 -34
  76. package/dist/components/ds-form-control/ds-form-control.d.cts +7 -7
  77. package/dist/components/ds-form-control/ds-form-control.d.ts +7 -7
  78. package/dist/components/ds-form-control/ds-form-control.d.ts.map +1 -1
  79. package/dist/components/ds-form-control/ds-form-control.js +119 -34
  80. package/dist/components/ds-form-control/ds-form-control.js.map +1 -1
  81. package/dist/components/ds-form-control/ds-form-control.types.js.map +1 -1
  82. package/dist/components/ds-grid/ds-grid.js.map +1 -1
  83. package/dist/components/ds-icon/ds-icon.cjs +84 -13
  84. package/dist/components/ds-icon/ds-icon.js +84 -13
  85. package/dist/components/ds-icon/ds-icon.js.map +1 -1
  86. package/dist/components/ds-icon/ds-icon.types.d.cts.map +1 -1
  87. package/dist/components/ds-icon/ds-icon.types.js.map +1 -1
  88. package/dist/components/ds-modal/ds-modal.cjs +222 -55
  89. package/dist/components/ds-modal/ds-modal.d.cts +8 -8
  90. package/dist/components/ds-modal/ds-modal.d.ts +8 -8
  91. package/dist/components/ds-modal/ds-modal.d.ts.map +1 -1
  92. package/dist/components/ds-modal/ds-modal.js +222 -55
  93. package/dist/components/ds-modal/ds-modal.js.map +1 -1
  94. package/dist/components/ds-number-input/ds-number-input.cjs +136 -49
  95. package/dist/components/ds-number-input/ds-number-input.js +136 -49
  96. package/dist/components/ds-number-input/ds-number-input.js.map +1 -1
  97. package/dist/components/ds-panel/ds-panel.cjs +111 -19
  98. package/dist/components/ds-panel/ds-panel.d.cts +2 -2
  99. package/dist/components/ds-panel/ds-panel.d.cts.map +1 -1
  100. package/dist/components/ds-panel/ds-panel.d.ts +2 -2
  101. package/dist/components/ds-panel/ds-panel.js +111 -19
  102. package/dist/components/ds-panel/ds-panel.js.map +1 -1
  103. package/dist/components/ds-password-input/ds-password-input.cjs +108 -41
  104. package/dist/components/ds-password-input/ds-password-input.js +108 -41
  105. package/dist/components/ds-password-input/ds-password-input.js.map +1 -1
  106. package/dist/components/ds-popover/ds-popover.cjs +50 -12
  107. package/dist/components/ds-popover/ds-popover.js +50 -12
  108. package/dist/components/ds-popover/ds-popover.js.map +1 -1
  109. package/dist/components/ds-radio-group/ds-radio-group.cjs +209 -53
  110. package/dist/components/ds-radio-group/ds-radio-group.js +209 -53
  111. package/dist/components/ds-radio-group/ds-radio-group.js.map +1 -1
  112. package/dist/components/ds-segment-group/ds-segment-group.cjs +215 -0
  113. package/dist/components/ds-segment-group/ds-segment-group.d.cts +26 -0
  114. package/dist/components/ds-segment-group/ds-segment-group.d.cts.map +1 -0
  115. package/dist/components/ds-segment-group/ds-segment-group.d.ts +26 -0
  116. package/dist/components/ds-segment-group/ds-segment-group.d.ts.map +1 -0
  117. package/dist/components/ds-segment-group/ds-segment-group.js +214 -0
  118. package/dist/components/ds-segment-group/ds-segment-group.js.map +1 -0
  119. package/dist/components/ds-segment-group/ds-segment-group.module.cjs +12 -0
  120. package/dist/components/ds-segment-group/ds-segment-group.module.js +12 -0
  121. package/dist/components/ds-segment-group/ds-segment-group.module.js.map +1 -0
  122. package/dist/components/ds-segment-group/ds-segment-group.types.cjs +2 -0
  123. package/dist/components/ds-segment-group/ds-segment-group.types.d.cts +52 -0
  124. package/dist/components/ds-segment-group/ds-segment-group.types.d.cts.map +1 -0
  125. package/dist/components/ds-segment-group/ds-segment-group.types.d.ts +52 -0
  126. package/dist/components/ds-segment-group/ds-segment-group.types.d.ts.map +1 -0
  127. package/dist/components/ds-segment-group/ds-segment-group.types.js +2 -0
  128. package/dist/components/ds-segment-group/index.cjs +2 -0
  129. package/dist/components/ds-segment-group/index.d.ts +2 -0
  130. package/dist/components/ds-segment-group/index.js +2 -0
  131. package/dist/components/ds-select/ds-select.cjs +198 -89
  132. package/dist/components/ds-select/ds-select.d.cts +2 -2
  133. package/dist/components/ds-select/ds-select.d.cts.map +1 -1
  134. package/dist/components/ds-select/ds-select.d.ts +2 -2
  135. package/dist/components/ds-select/ds-select.js +198 -89
  136. package/dist/components/ds-select/ds-select.js.map +1 -1
  137. package/dist/components/ds-select/select-items-chips.cjs +73 -22
  138. package/dist/components/ds-select/select-items-chips.js +73 -22
  139. package/dist/components/ds-select/select-items-chips.js.map +1 -1
  140. package/dist/components/ds-smart-tabs/ds-smart-tabs.cjs +208 -46
  141. package/dist/components/ds-smart-tabs/ds-smart-tabs.d.cts +2 -2
  142. package/dist/components/ds-smart-tabs/ds-smart-tabs.d.cts.map +1 -1
  143. package/dist/components/ds-smart-tabs/ds-smart-tabs.d.ts +2 -2
  144. package/dist/components/ds-smart-tabs/ds-smart-tabs.d.ts.map +1 -1
  145. package/dist/components/ds-smart-tabs/ds-smart-tabs.js +208 -46
  146. package/dist/components/ds-smart-tabs/ds-smart-tabs.js.map +1 -1
  147. package/dist/components/ds-smart-tabs/ds-smart-tabs.types.js.map +1 -1
  148. package/dist/components/ds-spinner/ds-spinner.cjs +90 -20
  149. package/dist/components/ds-spinner/ds-spinner.js +90 -20
  150. package/dist/components/ds-spinner/ds-spinner.js.map +1 -1
  151. package/dist/components/ds-spinner/ds-spinner.types.js.map +1 -1
  152. package/dist/components/ds-status-badge/ds-status-badge.cjs +54 -11
  153. package/dist/components/ds-status-badge/ds-status-badge.js +54 -11
  154. package/dist/components/ds-status-badge/ds-status-badge.js.map +1 -1
  155. package/dist/components/ds-stepper/components/ds-step-content.cjs +59 -13
  156. package/dist/components/ds-stepper/components/ds-step-content.d.cts +2 -2
  157. package/dist/components/ds-stepper/components/ds-step-content.js +59 -13
  158. package/dist/components/ds-stepper/components/ds-step-content.js.map +1 -1
  159. package/dist/components/ds-stepper/components/ds-step-description.cjs +14 -5
  160. package/dist/components/ds-stepper/components/ds-step-description.js +14 -5
  161. package/dist/components/ds-stepper/components/ds-step-description.js.map +1 -1
  162. package/dist/components/ds-stepper/components/ds-step-label.cjs +14 -5
  163. package/dist/components/ds-stepper/components/ds-step-label.js +14 -5
  164. package/dist/components/ds-stepper/components/ds-step-label.js.map +1 -1
  165. package/dist/components/ds-stepper/components/ds-step-next-button.cjs +23 -6
  166. package/dist/components/ds-stepper/components/ds-step-next-button.d.cts +2 -2
  167. package/dist/components/ds-stepper/components/ds-step-next-button.js +23 -6
  168. package/dist/components/ds-stepper/components/ds-step-next-button.js.map +1 -1
  169. package/dist/components/ds-stepper/components/ds-step.cjs +106 -25
  170. package/dist/components/ds-stepper/components/ds-step.d.cts +2 -2
  171. package/dist/components/ds-stepper/components/ds-step.js +106 -25
  172. package/dist/components/ds-stepper/components/ds-step.js.map +1 -1
  173. package/dist/components/ds-stepper/ds-stepper.cjs +62 -15
  174. package/dist/components/ds-stepper/ds-stepper.d.cts +2 -2
  175. package/dist/components/ds-stepper/ds-stepper.d.cts.map +1 -1
  176. package/dist/components/ds-stepper/ds-stepper.js +62 -15
  177. package/dist/components/ds-stepper/ds-stepper.js.map +1 -1
  178. package/dist/components/ds-stepper/hooks/use-stepper.js.map +1 -1
  179. package/dist/components/ds-stepper/hooks/use-steps.cjs +29 -9
  180. package/dist/components/ds-stepper/hooks/use-steps.js +29 -9
  181. package/dist/components/ds-stepper/hooks/use-steps.js.map +1 -1
  182. package/dist/components/ds-system-status/ds-system-status.cjs +37 -7
  183. package/dist/components/ds-system-status/ds-system-status.js +37 -7
  184. package/dist/components/ds-system-status/ds-system-status.js.map +1 -1
  185. package/dist/components/ds-system-status/ds-system-status.types.js.map +1 -1
  186. package/dist/components/ds-table/components/core-table/core-table.cjs +281 -48
  187. package/dist/components/ds-table/components/core-table/core-table.js +281 -48
  188. package/dist/components/ds-table/components/core-table/core-table.js.map +1 -1
  189. package/dist/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.cjs +134 -50
  190. package/dist/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.js +134 -50
  191. package/dist/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.js.map +1 -1
  192. package/dist/components/ds-table/components/ds-table-cell/ds-table-cell.cjs +140 -43
  193. package/dist/components/ds-table/components/ds-table-cell/ds-table-cell.js +140 -43
  194. package/dist/components/ds-table/components/ds-table-cell/ds-table-cell.js.map +1 -1
  195. package/dist/components/ds-table/components/ds-table-header/ds-table-header.cjs +37 -6
  196. package/dist/components/ds-table/components/ds-table-header/ds-table-header.js +37 -6
  197. package/dist/components/ds-table/components/ds-table-header/ds-table-header.js.map +1 -1
  198. package/dist/components/ds-table/components/ds-table-row/ds-table-row.cjs +272 -100
  199. package/dist/components/ds-table/components/ds-table-row/ds-table-row.js +272 -100
  200. package/dist/components/ds-table/components/ds-table-row/ds-table-row.js.map +1 -1
  201. package/dist/components/ds-table/context/ds-table-context.js.map +1 -1
  202. package/dist/components/ds-table/ds-table.cjs +15 -15
  203. package/dist/components/ds-table/ds-table.d.cts +2 -2
  204. package/dist/components/ds-table/ds-table.js +15 -15
  205. package/dist/components/ds-table/ds-table.js.map +1 -1
  206. package/dist/components/ds-table/hooks/use-drag-and-drop.cjs +126 -38
  207. package/dist/components/ds-table/hooks/use-drag-and-drop.js +126 -38
  208. package/dist/components/ds-table/hooks/use-drag-and-drop.js.map +1 -1
  209. package/dist/components/ds-table/utils/column-styling.js.map +1 -1
  210. package/dist/components/ds-table/utils/create-columns-grid-template.js.map +1 -1
  211. package/dist/components/ds-table/utils/merge-refs.js.map +1 -1
  212. package/dist/components/ds-text-input/ds-text-input.cjs +128 -43
  213. package/dist/components/ds-text-input/ds-text-input.js +128 -43
  214. package/dist/components/ds-text-input/ds-text-input.js.map +1 -1
  215. package/dist/components/ds-text-input/ds-text-input.types.js.map +1 -1
  216. package/dist/components/ds-textarea/ds-textarea.cjs +66 -22
  217. package/dist/components/ds-textarea/ds-textarea.js +66 -22
  218. package/dist/components/ds-textarea/ds-textarea.js.map +1 -1
  219. package/dist/components/ds-toast/ds-toast-context.cjs +62 -17
  220. package/dist/components/ds-toast/ds-toast-context.js +62 -17
  221. package/dist/components/ds-toast/ds-toast-context.js.map +1 -1
  222. package/dist/components/ds-toast/ds-toast.cjs +90 -26
  223. package/dist/components/ds-toast/ds-toast.js +90 -26
  224. package/dist/components/ds-toast/ds-toast.js.map +1 -1
  225. package/dist/components/ds-tooltip/ds-tooltip.cjs +51 -13
  226. package/dist/components/ds-tooltip/ds-tooltip.js +51 -13
  227. package/dist/components/ds-tooltip/ds-tooltip.js.map +1 -1
  228. package/dist/components/ds-typography/ds-typography.cjs +51 -7
  229. package/dist/components/ds-typography/ds-typography.config.js.map +1 -1
  230. package/dist/components/ds-typography/ds-typography.js +51 -7
  231. package/dist/components/ds-typography/ds-typography.js.map +1 -1
  232. package/dist/components/ds-vertical-tabs/ds-vertical-tabs.cjs +91 -30
  233. package/dist/components/ds-vertical-tabs/ds-vertical-tabs.d.cts +5 -5
  234. package/dist/components/ds-vertical-tabs/ds-vertical-tabs.d.ts +5 -5
  235. package/dist/components/ds-vertical-tabs/ds-vertical-tabs.js +91 -30
  236. package/dist/components/ds-vertical-tabs/ds-vertical-tabs.js.map +1 -1
  237. package/dist/index.cjs +3 -0
  238. package/dist/index.d.cts +3 -1
  239. package/dist/index.d.ts +4 -1
  240. package/dist/index.js +3 -1
  241. package/dist/index.min.css +1 -1
  242. package/package.json +8 -2
  243. package/src/components/ds-segment-group/ds-segment-group.module.scss +99 -0
  244. package/src/components/ds-segment-group/ds-segment-group.tsx +76 -0
  245. package/src/components/ds-segment-group/ds-segment-group.types.tsx +64 -0
  246. package/src/components/ds-segment-group/index.tsx +2 -0
  247. package/src/index.ts +1 -0
@@ -3,6 +3,7 @@ import "../ds-icon/index.js";
3
3
  import ds_typography_default from "../ds-typography/ds-typography.js";
4
4
  import "../ds-typography/index.js";
5
5
  import ds_drawer_module_default from "./ds-drawer.module.js";
6
+ import { c } from "react/compiler-runtime";
6
7
  import classNames from "classnames";
7
8
  import { jsx, jsxs } from "react/jsx-runtime";
8
9
  import { Fragment } from "react";
@@ -15,73 +16,272 @@ import { Dialog } from "@ark-ui/react/dialog";
15
16
  * Supports grid-based sizing, flexible positioning, and compound components.
16
17
  * Use columns prop to control drawer width (1-12 grid columns).
17
18
  */
18
- const DsDrawer = ({ open, onOpenChange, columns = 4, position = "end", backdrop = false, closeOnEscape = true, closeOnInteractOutside = false, portal = false, style, className, children }) => {
19
- const handleOpenChange = (details) => {
20
- onOpenChange(details.open);
21
- };
19
+ const DsDrawer = (t0) => {
20
+ const $ = c(25);
21
+ const { open, onOpenChange, columns: t1, position: t2, backdrop: t3, closeOnEscape: t4, closeOnInteractOutside: t5, portal: t6, style, className, children } = t0;
22
+ const columns = t1 === void 0 ? 4 : t1;
23
+ const position = t2 === void 0 ? "end" : t2;
24
+ const backdrop = t3 === void 0 ? false : t3;
25
+ const closeOnEscape = t4 === void 0 ? true : t4;
26
+ const closeOnInteractOutside = t5 === void 0 ? false : t5;
27
+ const portal = t6 === void 0 ? false : t6;
28
+ let t7;
29
+ if ($[0] !== onOpenChange) {
30
+ t7 = (details) => {
31
+ onOpenChange(details.open);
32
+ };
33
+ $[0] = onOpenChange;
34
+ $[1] = t7;
35
+ } else t7 = $[1];
36
+ const handleOpenChange = t7;
22
37
  const Wrapper = portal ? Portal : Fragment;
23
- return /* @__PURE__ */ jsx(Dialog.Root, {
24
- open,
25
- onOpenChange: handleOpenChange,
26
- modal: backdrop,
27
- closeOnEscape,
28
- closeOnInteractOutside,
29
- preventScroll: backdrop,
30
- children: /* @__PURE__ */ jsxs(Wrapper, { children: [backdrop && /* @__PURE__ */ jsx(Dialog.Backdrop, { className: ds_drawer_module_default.backdrop }), /* @__PURE__ */ jsx(Dialog.Positioner, {
38
+ let t8;
39
+ if ($[2] !== backdrop) {
40
+ t8 = backdrop && /* @__PURE__ */ jsx(Dialog.Backdrop, { className: ds_drawer_module_default.backdrop });
41
+ $[2] = backdrop;
42
+ $[3] = t8;
43
+ } else t8 = $[3];
44
+ const t9 = ds_drawer_module_default[`cols-${String(columns)}`];
45
+ const t10 = ds_drawer_module_default[`position-${position}`];
46
+ let t11;
47
+ if ($[4] !== className || $[5] !== t10 || $[6] !== t9) {
48
+ t11 = classNames(ds_drawer_module_default.drawer, t9, t10, className);
49
+ $[4] = className;
50
+ $[5] = t10;
51
+ $[6] = t9;
52
+ $[7] = t11;
53
+ } else t11 = $[7];
54
+ let t12;
55
+ if ($[8] !== children) {
56
+ t12 = /* @__PURE__ */ jsx("div", {
57
+ className: ds_drawer_module_default.content,
58
+ children
59
+ });
60
+ $[8] = children;
61
+ $[9] = t12;
62
+ } else t12 = $[9];
63
+ let t13;
64
+ if ($[10] !== style || $[11] !== t11 || $[12] !== t12) {
65
+ t13 = /* @__PURE__ */ jsx(Dialog.Positioner, {
31
66
  className: ds_drawer_module_default.positioner,
32
67
  children: /* @__PURE__ */ jsx(Dialog.Content, {
33
68
  style,
34
- className: classNames(ds_drawer_module_default.drawer, ds_drawer_module_default[`cols-${String(columns)}`], ds_drawer_module_default[`position-${position}`], className),
35
- children: /* @__PURE__ */ jsx("div", {
36
- className: ds_drawer_module_default.content,
37
- children
38
- })
69
+ className: t11,
70
+ children: t12
39
71
  })
40
- })] })
41
- });
72
+ });
73
+ $[10] = style;
74
+ $[11] = t11;
75
+ $[12] = t12;
76
+ $[13] = t13;
77
+ } else t13 = $[13];
78
+ let t14;
79
+ if ($[14] !== Wrapper || $[15] !== t13 || $[16] !== t8) {
80
+ t14 = /* @__PURE__ */ jsxs(Wrapper, { children: [t8, t13] });
81
+ $[14] = Wrapper;
82
+ $[15] = t13;
83
+ $[16] = t8;
84
+ $[17] = t14;
85
+ } else t14 = $[17];
86
+ let t15;
87
+ if ($[18] !== backdrop || $[19] !== closeOnEscape || $[20] !== closeOnInteractOutside || $[21] !== handleOpenChange || $[22] !== open || $[23] !== t14) {
88
+ t15 = /* @__PURE__ */ jsx(Dialog.Root, {
89
+ open,
90
+ onOpenChange: handleOpenChange,
91
+ modal: backdrop,
92
+ closeOnEscape,
93
+ closeOnInteractOutside,
94
+ preventScroll: backdrop,
95
+ children: t14
96
+ });
97
+ $[18] = backdrop;
98
+ $[19] = closeOnEscape;
99
+ $[20] = closeOnInteractOutside;
100
+ $[21] = handleOpenChange;
101
+ $[22] = open;
102
+ $[23] = t14;
103
+ $[24] = t15;
104
+ } else t15 = $[24];
105
+ return t15;
106
+ };
107
+ const Header = (t0) => {
108
+ const $ = c(6);
109
+ const { style, className, children } = t0;
110
+ let t1;
111
+ if ($[0] !== className) {
112
+ t1 = classNames(ds_drawer_module_default.header, className);
113
+ $[0] = className;
114
+ $[1] = t1;
115
+ } else t1 = $[1];
116
+ let t2;
117
+ if ($[2] !== children || $[3] !== style || $[4] !== t1) {
118
+ t2 = /* @__PURE__ */ jsx("div", {
119
+ style,
120
+ className: t1,
121
+ children
122
+ });
123
+ $[2] = children;
124
+ $[3] = style;
125
+ $[4] = t1;
126
+ $[5] = t2;
127
+ } else t2 = $[5];
128
+ return t2;
129
+ };
130
+ const Title = (t0) => {
131
+ const $ = c(8);
132
+ const { style, className, children } = t0;
133
+ let t1;
134
+ if ($[0] !== className) {
135
+ t1 = classNames(ds_drawer_module_default.title, className);
136
+ $[0] = className;
137
+ $[1] = t1;
138
+ } else t1 = $[1];
139
+ let t2;
140
+ if ($[2] !== children) {
141
+ t2 = /* @__PURE__ */ jsx(ds_typography_default, {
142
+ variant: "heading3",
143
+ children
144
+ });
145
+ $[2] = children;
146
+ $[3] = t2;
147
+ } else t2 = $[3];
148
+ let t3;
149
+ if ($[4] !== style || $[5] !== t1 || $[6] !== t2) {
150
+ t3 = /* @__PURE__ */ jsx(Dialog.Title, {
151
+ className: t1,
152
+ style,
153
+ asChild: true,
154
+ children: t2
155
+ });
156
+ $[4] = style;
157
+ $[5] = t1;
158
+ $[6] = t2;
159
+ $[7] = t3;
160
+ } else t3 = $[7];
161
+ return t3;
162
+ };
163
+ const CloseTrigger = (t0) => {
164
+ const $ = c(6);
165
+ const { style, className } = t0;
166
+ let t1;
167
+ if ($[0] !== className) {
168
+ t1 = classNames(ds_drawer_module_default.closeTrigger, className);
169
+ $[0] = className;
170
+ $[1] = t1;
171
+ } else t1 = $[1];
172
+ let t2;
173
+ if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
174
+ t2 = /* @__PURE__ */ jsx(ds_icon_default, {
175
+ icon: "close",
176
+ size: "small"
177
+ });
178
+ $[2] = t2;
179
+ } else t2 = $[2];
180
+ let t3;
181
+ if ($[3] !== style || $[4] !== t1) {
182
+ t3 = /* @__PURE__ */ jsx(Dialog.CloseTrigger, {
183
+ style,
184
+ className: t1,
185
+ children: t2
186
+ });
187
+ $[3] = style;
188
+ $[4] = t1;
189
+ $[5] = t3;
190
+ } else t3 = $[5];
191
+ return t3;
192
+ };
193
+ const Toolbar = (t0) => {
194
+ const $ = c(6);
195
+ const { style, className, children } = t0;
196
+ let t1;
197
+ if ($[0] !== className) {
198
+ t1 = classNames(ds_drawer_module_default.toolbar, className);
199
+ $[0] = className;
200
+ $[1] = t1;
201
+ } else t1 = $[1];
202
+ let t2;
203
+ if ($[2] !== children || $[3] !== style || $[4] !== t1) {
204
+ t2 = /* @__PURE__ */ jsx("div", {
205
+ style,
206
+ className: t1,
207
+ children
208
+ });
209
+ $[2] = children;
210
+ $[3] = style;
211
+ $[4] = t1;
212
+ $[5] = t2;
213
+ } else t2 = $[5];
214
+ return t2;
215
+ };
216
+ const Body = (t0) => {
217
+ const $ = c(6);
218
+ const { style, className, children } = t0;
219
+ let t1;
220
+ if ($[0] !== className) {
221
+ t1 = classNames(ds_drawer_module_default.body, className);
222
+ $[0] = className;
223
+ $[1] = t1;
224
+ } else t1 = $[1];
225
+ let t2;
226
+ if ($[2] !== children || $[3] !== style || $[4] !== t1) {
227
+ t2 = /* @__PURE__ */ jsx("div", {
228
+ style,
229
+ className: t1,
230
+ children
231
+ });
232
+ $[2] = children;
233
+ $[3] = style;
234
+ $[4] = t1;
235
+ $[5] = t2;
236
+ } else t2 = $[5];
237
+ return t2;
238
+ };
239
+ const Footer = (t0) => {
240
+ const $ = c(6);
241
+ const { style, className, children } = t0;
242
+ let t1;
243
+ if ($[0] !== className) {
244
+ t1 = classNames(ds_drawer_module_default.footer, className);
245
+ $[0] = className;
246
+ $[1] = t1;
247
+ } else t1 = $[1];
248
+ let t2;
249
+ if ($[2] !== children || $[3] !== style || $[4] !== t1) {
250
+ t2 = /* @__PURE__ */ jsx("div", {
251
+ style,
252
+ className: t1,
253
+ children
254
+ });
255
+ $[2] = children;
256
+ $[3] = style;
257
+ $[4] = t1;
258
+ $[5] = t2;
259
+ } else t2 = $[5];
260
+ return t2;
261
+ };
262
+ const Actions = (t0) => {
263
+ const $ = c(6);
264
+ const { style, className, children } = t0;
265
+ let t1;
266
+ if ($[0] !== className) {
267
+ t1 = classNames(ds_drawer_module_default.actions, className);
268
+ $[0] = className;
269
+ $[1] = t1;
270
+ } else t1 = $[1];
271
+ let t2;
272
+ if ($[2] !== children || $[3] !== style || $[4] !== t1) {
273
+ t2 = /* @__PURE__ */ jsx("div", {
274
+ style,
275
+ className: t1,
276
+ children
277
+ });
278
+ $[2] = children;
279
+ $[3] = style;
280
+ $[4] = t1;
281
+ $[5] = t2;
282
+ } else t2 = $[5];
283
+ return t2;
42
284
  };
43
- const Header = ({ style, className, children }) => /* @__PURE__ */ jsx("div", {
44
- style,
45
- className: classNames(ds_drawer_module_default.header, className),
46
- children
47
- });
48
- const Title = ({ style, className, children }) => /* @__PURE__ */ jsx(Dialog.Title, {
49
- className: classNames(ds_drawer_module_default.title, className),
50
- style,
51
- asChild: true,
52
- children: /* @__PURE__ */ jsx(ds_typography_default, {
53
- variant: "heading3",
54
- children
55
- })
56
- });
57
- const CloseTrigger = ({ style, className }) => /* @__PURE__ */ jsx(Dialog.CloseTrigger, {
58
- style,
59
- className: classNames(ds_drawer_module_default.closeTrigger, className),
60
- children: /* @__PURE__ */ jsx(ds_icon_default, {
61
- icon: "close",
62
- size: "small"
63
- })
64
- });
65
- const Toolbar = ({ style, className, children }) => /* @__PURE__ */ jsx("div", {
66
- style,
67
- className: classNames(ds_drawer_module_default.toolbar, className),
68
- children
69
- });
70
- const Body = ({ style, className, children }) => /* @__PURE__ */ jsx("div", {
71
- style,
72
- className: classNames(ds_drawer_module_default.body, className),
73
- children
74
- });
75
- const Footer = ({ style, className, children }) => /* @__PURE__ */ jsx("div", {
76
- style,
77
- className: classNames(ds_drawer_module_default.footer, className),
78
- children
79
- });
80
- const Actions = ({ style, className, children }) => /* @__PURE__ */ jsx("div", {
81
- style,
82
- className: classNames(ds_drawer_module_default.actions, className),
83
- children
84
- });
85
285
  DsDrawer.Header = Header;
86
286
  DsDrawer.Title = Title;
87
287
  DsDrawer.CloseTrigger = CloseTrigger;
@@ -1 +1 @@
1
- {"version":3,"file":"ds-drawer.js","names":["styles","DsTypography","DsIcon"],"sources":["../../../src/components/ds-drawer/ds-drawer.tsx"],"sourcesContent":["import { type CSSProperties, type ReactNode, Fragment } from 'react';\nimport { Dialog } from '@ark-ui/react/dialog';\nimport { Portal } from '@ark-ui/react/portal';\nimport classNames from 'classnames';\nimport type { DsDrawerProps } from './ds-drawer.types';\nimport styles from './ds-drawer.module.scss';\nimport { DsIcon } from '../ds-icon';\nimport { DsTypography } from '../ds-typography';\n\n/**\n * Composable drawer component.\n * Supports grid-based sizing, flexible positioning, and compound components.\n * Use columns prop to control drawer width (1-12 grid columns).\n */\nconst DsDrawer = ({\n\topen,\n\tonOpenChange,\n\tcolumns = 4,\n\tposition = 'end',\n\tbackdrop = false,\n\tcloseOnEscape = true,\n\tcloseOnInteractOutside = false,\n\tportal = false,\n\tstyle,\n\tclassName,\n\tchildren,\n}: DsDrawerProps) => {\n\tconst handleOpenChange = (details: { open: boolean }) => {\n\t\tonOpenChange(details.open);\n\t};\n\tconst Wrapper = portal ? Portal : Fragment;\n\n\treturn (\n\t\t<Dialog.Root\n\t\t\topen={open}\n\t\t\tonOpenChange={handleOpenChange}\n\t\t\tmodal={backdrop}\n\t\t\tcloseOnEscape={closeOnEscape}\n\t\t\tcloseOnInteractOutside={closeOnInteractOutside}\n\t\t\tpreventScroll={backdrop}\n\t\t>\n\t\t\t<Wrapper>\n\t\t\t\t{backdrop && <Dialog.Backdrop className={styles.backdrop} />}\n\t\t\t\t<Dialog.Positioner className={styles.positioner}>\n\t\t\t\t\t<Dialog.Content\n\t\t\t\t\t\tstyle={style}\n\t\t\t\t\t\tclassName={classNames(\n\t\t\t\t\t\t\tstyles.drawer,\n\t\t\t\t\t\t\tstyles[`cols-${String(columns)}`],\n\t\t\t\t\t\t\tstyles[`position-${position}`],\n\t\t\t\t\t\t\tclassName,\n\t\t\t\t\t\t)}\n\t\t\t\t\t>\n\t\t\t\t\t\t<div className={styles.content}>{children}</div>\n\t\t\t\t\t</Dialog.Content>\n\t\t\t\t</Dialog.Positioner>\n\t\t\t</Wrapper>\n\t\t</Dialog.Root>\n\t);\n};\n\nconst Header = ({\n\tstyle,\n\tclassName,\n\tchildren,\n}: {\n\tstyle?: CSSProperties;\n\tclassName?: string;\n\tchildren: ReactNode;\n}) => (\n\t<div style={style} className={classNames(styles.header, className)}>\n\t\t{children}\n\t</div>\n);\n\nconst Title = ({\n\tstyle,\n\tclassName,\n\tchildren,\n}: {\n\tstyle?: CSSProperties;\n\tclassName?: string;\n\tchildren: ReactNode;\n}) => (\n\t<Dialog.Title className={classNames(styles.title, className)} style={style} asChild>\n\t\t<DsTypography variant=\"heading3\">{children}</DsTypography>\n\t</Dialog.Title>\n);\n\nconst CloseTrigger = ({ style, className }: { style?: CSSProperties; className?: string }) => (\n\t<Dialog.CloseTrigger style={style} className={classNames(styles.closeTrigger, className)}>\n\t\t<DsIcon icon=\"close\" size=\"small\" />\n\t</Dialog.CloseTrigger>\n);\n\nconst Toolbar = ({\n\tstyle,\n\tclassName,\n\tchildren,\n}: {\n\tstyle?: CSSProperties;\n\tclassName?: string;\n\tchildren: ReactNode;\n}) => (\n\t<div style={style} className={classNames(styles.toolbar, className)}>\n\t\t{children}\n\t</div>\n);\n\nconst Body = ({\n\tstyle,\n\tclassName,\n\tchildren,\n}: {\n\tstyle?: CSSProperties;\n\tclassName?: string;\n\tchildren: ReactNode;\n}) => (\n\t<div style={style} className={classNames(styles.body, className)}>\n\t\t{children}\n\t</div>\n);\n\nconst Footer = ({\n\tstyle,\n\tclassName,\n\tchildren,\n}: {\n\tstyle?: CSSProperties;\n\tclassName?: string;\n\tchildren: ReactNode;\n}) => (\n\t<div style={style} className={classNames(styles.footer, className)}>\n\t\t{children}\n\t</div>\n);\n\nconst Actions = ({\n\tstyle,\n\tclassName,\n\tchildren,\n}: {\n\tstyle?: CSSProperties;\n\tclassName?: string;\n\tchildren: ReactNode;\n}) => (\n\t<div style={style} className={classNames(styles.actions, className)}>\n\t\t{children}\n\t</div>\n);\n\nDsDrawer.Header = Header;\nDsDrawer.Title = Title;\nDsDrawer.CloseTrigger = CloseTrigger;\nDsDrawer.Toolbar = Toolbar;\nDsDrawer.Body = Body;\nDsDrawer.Footer = Footer;\nDsDrawer.Actions = Actions;\n\nexport default DsDrawer;\n"],"mappings":";;;;;;;;;;;;;;;;;AAcA,MAAM,YAAY,EACjB,MACA,cACA,UAAU,GACV,WAAW,OACX,WAAW,OACX,gBAAgB,MAChB,yBAAyB,OACzB,SAAS,OACT,OACA,WACA,eACoB;CACpB,MAAM,oBAAoB,YAA+B;AACxD,eAAa,QAAQ,KAAK;;CAE3B,MAAM,UAAU,SAAS,SAAS;AAElC,QACC,oBAAC,OAAO;EACD;EACN,cAAc;EACd,OAAO;EACQ;EACS;EACxB,eAAe;YAEf,qBAAC,sBACC,YAAY,oBAAC,OAAO,YAAS,WAAWA,yBAAO,WAAY,EAC5D,oBAAC,OAAO;GAAW,WAAWA,yBAAO;aACpC,oBAAC,OAAO;IACA;IACP,WAAW,WACVA,yBAAO,QACPA,yBAAO,QAAQ,OAAO,QAAQ,KAC9BA,yBAAO,YAAY,aACnB,UACA;cAED,oBAAC;KAAI,WAAWA,yBAAO;KAAU;MAAe;KAChC;IACE,IACX;GACG;;AAIhB,MAAM,UAAU,EACf,OACA,WACA,eAMA,oBAAC;CAAW;CAAO,WAAW,WAAWA,yBAAO,QAAQ,UAAU;CAChE;EACI;AAGP,MAAM,SAAS,EACd,OACA,WACA,eAMA,oBAAC,OAAO;CAAM,WAAW,WAAWA,yBAAO,OAAO,UAAU;CAAS;CAAO;WAC3E,oBAACC;EAAa,SAAQ;EAAY;GAAwB;EAC5C;AAGhB,MAAM,gBAAgB,EAAE,OAAO,gBAC9B,oBAAC,OAAO;CAAoB;CAAO,WAAW,WAAWD,yBAAO,cAAc,UAAU;WACvF,oBAACE;EAAO,MAAK;EAAQ,MAAK;GAAU;EACf;AAGvB,MAAM,WAAW,EAChB,OACA,WACA,eAMA,oBAAC;CAAW;CAAO,WAAW,WAAWF,yBAAO,SAAS,UAAU;CACjE;EACI;AAGP,MAAM,QAAQ,EACb,OACA,WACA,eAMA,oBAAC;CAAW;CAAO,WAAW,WAAWA,yBAAO,MAAM,UAAU;CAC9D;EACI;AAGP,MAAM,UAAU,EACf,OACA,WACA,eAMA,oBAAC;CAAW;CAAO,WAAW,WAAWA,yBAAO,QAAQ,UAAU;CAChE;EACI;AAGP,MAAM,WAAW,EAChB,OACA,WACA,eAMA,oBAAC;CAAW;CAAO,WAAW,WAAWA,yBAAO,SAAS,UAAU;CACjE;EACI;AAGP,SAAS,SAAS;AAClB,SAAS,QAAQ;AACjB,SAAS,eAAe;AACxB,SAAS,UAAU;AACnB,SAAS,OAAO;AAChB,SAAS,SAAS;AAClB,SAAS,UAAU;AAEnB,wBAAe"}
1
+ {"version":3,"file":"ds-drawer.js","names":["CSSProperties","ReactNode","Fragment","Dialog","Portal","classNames","DsDrawerProps","styles","DsIcon","DsTypography","DsDrawer","t0","$","_c","open","onOpenChange","columns","t1","position","t2","backdrop","t3","closeOnEscape","t4","closeOnInteractOutside","t5","portal","t6","style","className","children","undefined","t7","details","handleOpenChange","Wrapper","t8","t9","String","t10","t11","drawer","t12","content","t13","positioner","t14","t15","Header","header","Title","title","CloseTrigger","closeTrigger","Symbol","for","Toolbar","toolbar","Body","body","Footer","footer","Actions","actions"],"sources":["../../../src/components/ds-drawer/ds-drawer.tsx"],"sourcesContent":["import { type CSSProperties, type ReactNode, Fragment } from 'react';\nimport { Dialog } from '@ark-ui/react/dialog';\nimport { Portal } from '@ark-ui/react/portal';\nimport classNames from 'classnames';\nimport type { DsDrawerProps } from './ds-drawer.types';\nimport styles from './ds-drawer.module.scss';\nimport { DsIcon } from '../ds-icon';\nimport { DsTypography } from '../ds-typography';\n\n/**\n * Composable drawer component.\n * Supports grid-based sizing, flexible positioning, and compound components.\n * Use columns prop to control drawer width (1-12 grid columns).\n */\nconst DsDrawer = ({\n\topen,\n\tonOpenChange,\n\tcolumns = 4,\n\tposition = 'end',\n\tbackdrop = false,\n\tcloseOnEscape = true,\n\tcloseOnInteractOutside = false,\n\tportal = false,\n\tstyle,\n\tclassName,\n\tchildren,\n}: DsDrawerProps) => {\n\tconst handleOpenChange = (details: { open: boolean }) => {\n\t\tonOpenChange(details.open);\n\t};\n\tconst Wrapper = portal ? Portal : Fragment;\n\n\treturn (\n\t\t<Dialog.Root\n\t\t\topen={open}\n\t\t\tonOpenChange={handleOpenChange}\n\t\t\tmodal={backdrop}\n\t\t\tcloseOnEscape={closeOnEscape}\n\t\t\tcloseOnInteractOutside={closeOnInteractOutside}\n\t\t\tpreventScroll={backdrop}\n\t\t>\n\t\t\t<Wrapper>\n\t\t\t\t{backdrop && <Dialog.Backdrop className={styles.backdrop} />}\n\t\t\t\t<Dialog.Positioner className={styles.positioner}>\n\t\t\t\t\t<Dialog.Content\n\t\t\t\t\t\tstyle={style}\n\t\t\t\t\t\tclassName={classNames(\n\t\t\t\t\t\t\tstyles.drawer,\n\t\t\t\t\t\t\tstyles[`cols-${String(columns)}`],\n\t\t\t\t\t\t\tstyles[`position-${position}`],\n\t\t\t\t\t\t\tclassName,\n\t\t\t\t\t\t)}\n\t\t\t\t\t>\n\t\t\t\t\t\t<div className={styles.content}>{children}</div>\n\t\t\t\t\t</Dialog.Content>\n\t\t\t\t</Dialog.Positioner>\n\t\t\t</Wrapper>\n\t\t</Dialog.Root>\n\t);\n};\n\nconst Header = ({\n\tstyle,\n\tclassName,\n\tchildren,\n}: {\n\tstyle?: CSSProperties;\n\tclassName?: string;\n\tchildren: ReactNode;\n}) => (\n\t<div style={style} className={classNames(styles.header, className)}>\n\t\t{children}\n\t</div>\n);\n\nconst Title = ({\n\tstyle,\n\tclassName,\n\tchildren,\n}: {\n\tstyle?: CSSProperties;\n\tclassName?: string;\n\tchildren: ReactNode;\n}) => (\n\t<Dialog.Title className={classNames(styles.title, className)} style={style} asChild>\n\t\t<DsTypography variant=\"heading3\">{children}</DsTypography>\n\t</Dialog.Title>\n);\n\nconst CloseTrigger = ({ style, className }: { style?: CSSProperties; className?: string }) => (\n\t<Dialog.CloseTrigger style={style} className={classNames(styles.closeTrigger, className)}>\n\t\t<DsIcon icon=\"close\" size=\"small\" />\n\t</Dialog.CloseTrigger>\n);\n\nconst Toolbar = ({\n\tstyle,\n\tclassName,\n\tchildren,\n}: {\n\tstyle?: CSSProperties;\n\tclassName?: string;\n\tchildren: ReactNode;\n}) => (\n\t<div style={style} className={classNames(styles.toolbar, className)}>\n\t\t{children}\n\t</div>\n);\n\nconst Body = ({\n\tstyle,\n\tclassName,\n\tchildren,\n}: {\n\tstyle?: CSSProperties;\n\tclassName?: string;\n\tchildren: ReactNode;\n}) => (\n\t<div style={style} className={classNames(styles.body, className)}>\n\t\t{children}\n\t</div>\n);\n\nconst Footer = ({\n\tstyle,\n\tclassName,\n\tchildren,\n}: {\n\tstyle?: CSSProperties;\n\tclassName?: string;\n\tchildren: ReactNode;\n}) => (\n\t<div style={style} className={classNames(styles.footer, className)}>\n\t\t{children}\n\t</div>\n);\n\nconst Actions = ({\n\tstyle,\n\tclassName,\n\tchildren,\n}: {\n\tstyle?: CSSProperties;\n\tclassName?: string;\n\tchildren: ReactNode;\n}) => (\n\t<div style={style} className={classNames(styles.actions, className)}>\n\t\t{children}\n\t</div>\n);\n\nDsDrawer.Header = Header;\nDsDrawer.Title = Title;\nDsDrawer.CloseTrigger = CloseTrigger;\nDsDrawer.Toolbar = Toolbar;\nDsDrawer.Body = Body;\nDsDrawer.Footer = Footer;\nDsDrawer.Actions = Actions;\n\nexport default DsDrawer;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAcA,MAAMU,YAAWC,OAAA;CAAA,MAAAC,IAAAC,EAAA,GAAA;CAAC,MAAA,EAAAC,MAAAC,cAAAC,SAAAC,IAAAC,UAAAC,IAAAC,UAAAC,IAAAC,eAAAC,IAAAC,wBAAAC,IAAAC,QAAAC,IAAAC,OAAAC,WAAAC,aAAAnB;CAGjB,MAAAK,UAAAC,OAAAc,SAAA,IAAAd;CACA,MAAAC,WAAAC,OAAAY,SAA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