@drivenets/design-system 0.3.0 → 0.4.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 (149) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +1 -1
  3. package/dist/components/ds-alert-banner/ds-alert-banner.d.cts +5 -5
  4. package/dist/components/ds-alert-banner/ds-alert-banner.d.cts.map +1 -1
  5. package/dist/components/ds-alert-banner/ds-alert-banner.d.ts +5 -5
  6. package/dist/components/ds-alert-banner/ds-alert-banner.d.ts.map +1 -1
  7. package/dist/components/ds-alert-banner/ds-alert-banner.types.d.cts.map +1 -1
  8. package/dist/components/ds-autocomplete/ds-autocomplete.cjs +218 -0
  9. package/dist/components/ds-autocomplete/ds-autocomplete.d.cts +22 -0
  10. package/dist/components/ds-autocomplete/ds-autocomplete.d.cts.map +1 -0
  11. package/dist/components/ds-autocomplete/ds-autocomplete.d.ts +22 -0
  12. package/dist/components/ds-autocomplete/ds-autocomplete.d.ts.map +1 -0
  13. package/dist/components/ds-autocomplete/ds-autocomplete.js +217 -0
  14. package/dist/components/ds-autocomplete/ds-autocomplete.js.map +1 -0
  15. package/dist/components/ds-autocomplete/ds-autocomplete.module.cjs +27 -0
  16. package/dist/components/ds-autocomplete/ds-autocomplete.module.js +27 -0
  17. package/dist/components/ds-autocomplete/ds-autocomplete.module.js.map +1 -0
  18. package/dist/components/ds-autocomplete/ds-autocomplete.types.d.cts +79 -0
  19. package/dist/components/ds-autocomplete/ds-autocomplete.types.d.cts.map +1 -0
  20. package/dist/components/ds-autocomplete/ds-autocomplete.types.d.ts +80 -0
  21. package/dist/components/ds-autocomplete/ds-autocomplete.types.d.ts.map +1 -0
  22. package/dist/components/ds-autocomplete/index.cjs +1 -0
  23. package/dist/components/ds-autocomplete/index.d.ts +2 -0
  24. package/dist/components/ds-autocomplete/index.js +1 -0
  25. package/dist/components/ds-avatar/ds-avatar.module.js.map +1 -1
  26. package/dist/components/ds-avatar-group/ds-avatar-group.module.js.map +1 -1
  27. package/dist/components/ds-button/ds-button.d.cts +2 -2
  28. package/dist/components/ds-button/ds-button.d.cts.map +1 -1
  29. package/dist/components/ds-confirmation/ds-confirmation.cjs +20 -221
  30. package/dist/components/ds-confirmation/ds-confirmation.d.cts +22 -27
  31. package/dist/components/ds-confirmation/ds-confirmation.d.cts.map +1 -1
  32. package/dist/components/ds-confirmation/ds-confirmation.d.ts +22 -27
  33. package/dist/components/ds-confirmation/ds-confirmation.d.ts.map +1 -1
  34. package/dist/components/ds-confirmation/ds-confirmation.js +21 -221
  35. package/dist/components/ds-confirmation/ds-confirmation.js.map +1 -1
  36. package/dist/components/ds-confirmation/ds-confirmation.types.d.cts +2 -1
  37. package/dist/components/ds-confirmation/ds-confirmation.types.d.cts.map +1 -1
  38. package/dist/components/ds-confirmation/ds-confirmation.types.d.ts +2 -1
  39. package/dist/components/ds-confirmation/ds-confirmation.types.d.ts.map +1 -1
  40. package/dist/components/ds-date-input/ds-date-input.cjs +1 -1
  41. package/dist/components/ds-date-input/ds-date-input.d.cts +2 -2
  42. package/dist/components/ds-date-input/ds-date-input.d.ts +2 -2
  43. package/dist/components/ds-date-input/ds-date-input.js +1 -1
  44. package/dist/components/ds-drawer/ds-drawer.cjs +1 -1
  45. package/dist/components/ds-drawer/ds-drawer.d.cts +9 -9
  46. package/dist/components/ds-drawer/ds-drawer.d.cts.map +1 -1
  47. package/dist/components/ds-drawer/ds-drawer.d.ts +9 -9
  48. package/dist/components/ds-drawer/ds-drawer.js +1 -1
  49. package/dist/components/ds-dropdown-menu/ds-dropdown-menu.cjs +1 -1
  50. package/dist/components/ds-dropdown-menu/ds-dropdown-menu.js +1 -1
  51. package/dist/components/ds-dropdown-menu/ds-dropdown-menu.module.cjs +20 -20
  52. package/dist/components/ds-dropdown-menu/ds-dropdown-menu.module.js +20 -20
  53. package/dist/components/ds-dropdown-menu/ds-dropdown-menu.module.js.map +1 -1
  54. package/dist/components/ds-expandable-text-input/ds-expandable-text-input.d.cts +2 -2
  55. package/dist/components/ds-expandable-text-input/ds-expandable-text-input.d.ts +2 -2
  56. package/dist/components/ds-form-control/ds-form-control.d.cts +8 -8
  57. package/dist/components/ds-form-control/ds-form-control.d.ts +8 -8
  58. package/dist/components/ds-loader/ds-loader.d.cts +2 -2
  59. package/dist/components/ds-loader/ds-loader.d.ts +2 -2
  60. package/dist/components/ds-modal/ds-modal.cjs +47 -48
  61. package/dist/components/ds-modal/ds-modal.d.cts +11 -10
  62. package/dist/components/ds-modal/ds-modal.d.cts.map +1 -1
  63. package/dist/components/ds-modal/ds-modal.d.ts +11 -10
  64. package/dist/components/ds-modal/ds-modal.d.ts.map +1 -1
  65. package/dist/components/ds-modal/ds-modal.js +47 -48
  66. package/dist/components/ds-modal/ds-modal.js.map +1 -1
  67. package/dist/components/ds-modal/ds-modal.module.cjs +24 -24
  68. package/dist/components/ds-modal/ds-modal.module.js +24 -24
  69. package/dist/components/ds-modal/ds-modal.module.js.map +1 -1
  70. package/dist/components/ds-modal/ds-modal.types.d.cts +10 -5
  71. package/dist/components/ds-modal/ds-modal.types.d.cts.map +1 -1
  72. package/dist/components/ds-modal/ds-modal.types.d.ts +10 -5
  73. package/dist/components/ds-modal/ds-modal.types.d.ts.map +1 -1
  74. package/dist/components/ds-panel/ds-panel.d.cts +2 -2
  75. package/dist/components/ds-panel/ds-panel.d.ts +2 -2
  76. package/dist/components/ds-select/ds-select.cjs +1 -1
  77. package/dist/components/ds-select/ds-select.d.cts +2 -2
  78. package/dist/components/ds-select/ds-select.js +1 -1
  79. package/dist/components/ds-skeleton/ds-skeleton-circle.d.cts +2 -2
  80. package/dist/components/ds-skeleton/ds-skeleton-circle.d.ts +2 -2
  81. package/dist/components/ds-skeleton/ds-skeleton-rect.d.cts +2 -2
  82. package/dist/components/ds-skeleton/ds-skeleton-rect.d.ts +2 -2
  83. package/dist/components/ds-skeleton/ds-skeleton-rect.d.ts.map +1 -1
  84. package/dist/components/ds-skeleton/ds-skeleton-text.d.cts +2 -2
  85. package/dist/components/ds-skeleton/ds-skeleton-text.d.ts +2 -2
  86. package/dist/components/ds-skeleton/ds-skeleton.d.cts +4 -4
  87. package/dist/components/ds-skeleton/ds-skeleton.d.ts +4 -4
  88. package/dist/components/ds-smart-tabs/ds-smart-tabs.d.cts +2 -2
  89. package/dist/components/ds-smart-tabs/ds-smart-tabs.d.ts +2 -2
  90. package/dist/components/ds-smart-tabs/ds-smart-tabs.d.ts.map +1 -1
  91. package/dist/components/ds-stepper/components/ds-step-content.d.cts +2 -2
  92. package/dist/components/ds-stepper/components/ds-step-content.d.ts +2 -2
  93. package/dist/components/ds-stepper/components/ds-step-next-button.d.cts +2 -2
  94. package/dist/components/ds-stepper/components/ds-step-next-button.d.ts +2 -2
  95. package/dist/components/ds-stepper/components/ds-step.d.cts +2 -2
  96. package/dist/components/ds-stepper/components/ds-step.d.ts +2 -2
  97. package/dist/components/ds-stepper/ds-stepper.d.cts +2 -2
  98. package/dist/components/ds-stepper/ds-stepper.d.ts +2 -2
  99. package/dist/components/ds-table/ds-table.d.ts +2 -2
  100. package/dist/components/ds-table/filters/hooks/index.d.ts +1 -1
  101. package/dist/components/ds-table/filters/hooks/use-table-filters.cjs +180 -185
  102. package/dist/components/ds-table/filters/hooks/use-table-filters.d.cts +58 -25
  103. package/dist/components/ds-table/filters/hooks/use-table-filters.d.cts.map +1 -1
  104. package/dist/components/ds-table/filters/hooks/use-table-filters.d.ts +58 -25
  105. package/dist/components/ds-table/filters/hooks/use-table-filters.d.ts.map +1 -1
  106. package/dist/components/ds-table/filters/hooks/use-table-filters.js +180 -185
  107. package/dist/components/ds-table/filters/hooks/use-table-filters.js.map +1 -1
  108. package/dist/components/ds-table/filters/index.d.ts +1 -1
  109. package/dist/components/ds-table/index.d.ts +1 -1
  110. package/dist/components/ds-tabs/components/ds-tabs-content/ds-tabs-content.module.cjs +2 -2
  111. package/dist/components/ds-tabs/components/ds-tabs-content/ds-tabs-content.module.js +2 -2
  112. package/dist/components/ds-tabs/components/ds-tabs-content/ds-tabs-content.module.js.map +1 -1
  113. package/dist/components/ds-tabs/ds-tabs.d.cts +5 -5
  114. package/dist/components/ds-tabs/ds-tabs.d.ts +5 -5
  115. package/dist/components/ds-tag/ds-tag.d.cts +2 -2
  116. package/dist/components/ds-tag/ds-tag.d.ts +2 -2
  117. package/dist/components/ds-tag-filter/ds-tag-filter.d.cts +2 -2
  118. package/dist/components/ds-tag-filter/ds-tag-filter.d.ts +2 -2
  119. package/dist/components/ds-toggle/ds-toggle.d.cts +2 -2
  120. package/dist/components/ds-toggle/ds-toggle.d.ts +2 -2
  121. package/dist/components/ds-vertical-tabs/ds-vertical-tabs.d.cts +5 -5
  122. package/dist/components/ds-vertical-tabs/ds-vertical-tabs.d.ts +5 -5
  123. package/dist/index.cjs +4 -1
  124. package/dist/index.d.cts +4 -2
  125. package/dist/index.d.ts +5 -2
  126. package/dist/index.js +4 -2
  127. package/dist/index.min.css +1 -1
  128. package/package.json +1 -1
  129. package/src/components/ds-autocomplete/ds-autocomplete.module.scss +257 -0
  130. package/src/components/ds-autocomplete/ds-autocomplete.tsx +130 -0
  131. package/src/components/ds-autocomplete/ds-autocomplete.types.tsx +76 -0
  132. package/src/components/ds-autocomplete/index.ts +2 -0
  133. package/src/components/ds-avatar/ds-avatar.module.scss +1 -1
  134. package/src/components/ds-avatar-group/ds-avatar-group.module.scss +1 -1
  135. package/src/components/ds-confirmation/ds-confirmation.tsx +11 -115
  136. package/src/components/ds-confirmation/ds-confirmation.types.tsx +2 -1
  137. package/src/components/ds-dropdown-menu/ds-dropdown-menu.module.scss +0 -1
  138. package/src/components/ds-modal/ds-modal.module.scss +123 -60
  139. package/src/components/ds-modal/ds-modal.tsx +5 -2
  140. package/src/components/ds-modal/ds-modal.types.tsx +14 -5
  141. package/src/components/ds-table/filters/hooks/index.ts +1 -1
  142. package/src/components/ds-table/filters/hooks/use-table-filters.ts +117 -116
  143. package/src/components/ds-tabs/components/ds-tabs-content/ds-tabs-content.module.scss +4 -0
  144. package/src/index.ts +1 -0
  145. package/src/styles/shared/_modal.scss +0 -123
  146. package/dist/components/ds-confirmation/ds-confirmation.module.cjs +0 -21
  147. package/dist/components/ds-confirmation/ds-confirmation.module.js +0 -21
  148. package/dist/components/ds-confirmation/ds-confirmation.module.js.map +0 -1
  149. package/src/components/ds-confirmation/ds-confirmation.module.scss +0 -58
@@ -1,71 +1,66 @@
1
1
  import { DsConfirmationProps } from "./ds-confirmation.types.js";
2
- import * as react_jsx_runtime26 from "react/jsx-runtime";
3
- import { CSSProperties, ReactNode } from "react";
2
+ import * as react_jsx_runtime27 from "react/jsx-runtime";
3
+ import * as react0 from "react";
4
4
 
5
5
  //#region src/components/ds-confirmation/ds-confirmation.d.ts
6
6
  /**
7
- * Composable confirmation modal dialog.
7
+ * @deprecated DsConfirmation is deprecated. Use DsModal instead.
8
+ * @see {@link ../ds-modal} for the replacement component.
8
9
  */
9
10
  declare const DsConfirmation: {
10
- ({
11
- open,
12
- onOpenChange,
13
- style,
14
- className,
15
- children
16
- }: DsConfirmationProps): react_jsx_runtime26.JSX.Element;
11
+ (props: DsConfirmationProps): react_jsx_runtime27.JSX.Element;
17
12
  Header: ({
18
13
  style,
19
14
  className,
20
15
  children
21
16
  }: {
22
- style?: CSSProperties;
17
+ style?: react0.CSSProperties;
23
18
  className?: string;
24
- children: ReactNode;
25
- }) => react_jsx_runtime26.JSX.Element;
19
+ children: react0.ReactNode;
20
+ }) => react_jsx_runtime27.JSX.Element;
26
21
  Title: ({
27
22
  style,
28
23
  className,
29
24
  children
30
25
  }: {
31
- style?: CSSProperties;
26
+ style?: react0.CSSProperties;
32
27
  className?: string;
33
- children: ReactNode;
34
- }) => react_jsx_runtime26.JSX.Element;
28
+ children: react0.ReactNode;
29
+ }) => react_jsx_runtime27.JSX.Element;
35
30
  CloseTrigger: ({
36
31
  style,
37
32
  className
38
33
  }: {
39
- style?: CSSProperties;
34
+ style?: react0.CSSProperties;
40
35
  className?: string;
41
- }) => react_jsx_runtime26.JSX.Element;
36
+ }) => react_jsx_runtime27.JSX.Element;
42
37
  Body: ({
43
38
  style,
44
39
  className,
45
40
  children
46
41
  }: {
47
- style?: CSSProperties;
42
+ style?: react0.CSSProperties;
48
43
  className?: string;
49
- children: ReactNode;
50
- }) => react_jsx_runtime26.JSX.Element;
44
+ children: react0.ReactNode;
45
+ }) => react_jsx_runtime27.JSX.Element;
51
46
  Footer: ({
52
47
  style,
53
48
  className,
54
49
  children
55
50
  }: {
56
- style?: CSSProperties;
51
+ style?: react0.CSSProperties;
57
52
  className?: string;
58
- children: ReactNode;
59
- }) => react_jsx_runtime26.JSX.Element;
53
+ children: react0.ReactNode;
54
+ }) => react_jsx_runtime27.JSX.Element;
60
55
  Actions: ({
61
56
  style,
62
57
  className,
63
58
  children
64
59
  }: {
65
- style?: CSSProperties;
60
+ style?: react0.CSSProperties;
66
61
  className?: string;
67
- children: ReactNode;
68
- }) => react_jsx_runtime26.JSX.Element;
62
+ children: react0.ReactNode;
63
+ }) => react_jsx_runtime27.JSX.Element;
69
64
  };
70
65
  //#endregion
71
66
  export { DsConfirmation };
@@ -1 +1 @@
1
- {"version":3,"file":"ds-confirmation.d.ts","names":[],"sources":["../../../src/components/ds-confirmation/ds-confirmation.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAYa,cAAA,cAyBZ,EAAA;;;;;;;KAzBkF,sBAAmB,mBAAA,CAAA,GAAA,CAAA;;;;;EAAnB;YAgC1E;;cAEE;EAlCwE,CAAA,EAAA,GAmClF,mBAAA,CAAA,GAAA,CAAA,OAnCkF;EAAmB,KAAA,EAAA,CAAA;IAAA,KAAA;IAAA,SAAA;IAAA;EAgC7F,CAhC6F,EAAA;YA8C7F;;cAEE;EAhBF,CAAA,EAAA,GAiBR,mBAAA,CAAA,GAAA,CAAA,OAjBQ;EAEE,YAAA,EAAA,CAAA;IAAA,KAAA;IAAA;GAAA,EAAA;IACV,KAAA,CAAA,EAoBqD,aApBrD;;QAoBwF,mBAAA,CAAA,GAAA,CAAA;;;;;;IAThF,KAAA,CAAA,EAoBA,aApBA;IAEE,SAAA,CAAA,EAAA,MAAA;IACV,QAAA,EAmBU,SAnBV;QAoBA,mBAAA,CAAA,GAAA,CAAA;;;;;;IAdqD,KAAA,CAAA,EAyB7C,aAzB6C;IAAmC,SAAA,CAAA,EAAA,MAAA;cA2B9E;QACV,mBAAA,CAAA,GAAA,CAAA;;;;;;IAjBQ,KAAA,CAAA,EA4BA,aA5BA;IAEE,SAAA,CAAA,EAAA,MAAA;IACV,QAAA,EA2BU,SA3BV;QA4BA,mBAAA,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"ds-confirmation.d.ts","names":[],"sources":["../../../src/components/ds-confirmation/ds-confirmation.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AAOa,cAAA,cAEZ,EAAA;EAFqC,CAAA,KAAA,EAAA,mBAAA,CAAA,EAAmB,mBAAA,CAAA,GAAA,CAAA,OAAnB;EAAmB,MAAA,EAAA,CAAA;IAAA,KAAA;IAAA,SAAA;IAAA;GAAA,EAAA;mBAU44B;;cAAA,MAAA,CAAA;uCAAA;EAAA,KAAA,EAAA,CAAA;IAAA,KAAA;IAAA,SAAA;IAAA;GAAA,EAAA;mBAA+N;;cAAA,MAAA,CAAA;;cAAA,EAAA,CAAA;IAAA,KAAA;IAAA;GAAA,EAAA;IAAA,KAAA,CAAA,SAAgS,aAAhS;;;;;;;;IAAgS,KAAA,CAAA,SAA4O,aAA5O;;cAA4O,MAAA,CAAA;;;;;;;IAAA,KAAA,CAAA,SAA8N,aAA9N;IAAA,SAAA,CAAA,EAAA,MAAA;cAA8N,MAAA,CAAA;;;;;;;mBAAiO;IAAjO,SAAA,CAAA,EAAA,MAAA;IAAA,QAAA,EAAiO,MAAA,CAAA,SAAjO"}
@@ -1,233 +1,33 @@
1
- import ds_icon_default from "../ds-icon/ds-icon.js";
2
- import "../ds-icon/index.js";
3
- import ds_typography_default from "../ds-typography/ds-typography.js";
4
- import ds_confirmation_module_default from "./ds-confirmation.module.js";
1
+ import ds_modal_default from "../ds-modal/ds-modal.js";
5
2
  import { c } from "react/compiler-runtime";
6
- import classNames from "classnames";
7
- import { jsx, jsxs } from "react/jsx-runtime";
8
- import { Portal } from "@ark-ui/react/portal";
9
- import { Dialog } from "@ark-ui/react/dialog";
3
+ import { jsx } from "react/jsx-runtime";
10
4
 
11
5
  //#region src/components/ds-confirmation/ds-confirmation.tsx
12
6
  /**
13
- * Composable confirmation modal dialog.
7
+ * @deprecated DsConfirmation is deprecated. Use DsModal instead.
8
+ * @see {@link ../ds-modal} for the replacement component.
14
9
  */
15
- const DsConfirmation = (t0) => {
16
- const $ = c(15);
17
- const { open, onOpenChange, style, className, children } = t0;
18
- let t1;
19
- if ($[0] !== onOpenChange) {
20
- t1 = (details) => {
21
- onOpenChange(details.open);
22
- };
23
- $[0] = onOpenChange;
24
- $[1] = t1;
25
- } else t1 = $[1];
26
- const handleOpenChange = t1;
27
- let t2;
28
- if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
29
- t2 = /* @__PURE__ */ jsx(Dialog.Backdrop, { className: ds_confirmation_module_default.overlay });
30
- $[2] = t2;
31
- } else t2 = $[2];
32
- let t3;
33
- if ($[3] !== className) {
34
- t3 = classNames(ds_confirmation_module_default.modal, className);
35
- $[3] = className;
36
- $[4] = t3;
37
- } else t3 = $[4];
38
- let t4;
39
- if ($[5] !== children || $[6] !== style) {
40
- t4 = /* @__PURE__ */ jsx("div", {
41
- style,
42
- className: ds_confirmation_module_default.content,
43
- children
44
- });
45
- $[5] = children;
46
- $[6] = style;
47
- $[7] = t4;
48
- } else t4 = $[7];
49
- let t5;
50
- if ($[8] !== t3 || $[9] !== t4) {
51
- t5 = /* @__PURE__ */ jsxs(Portal, { children: [t2, /* @__PURE__ */ jsx(Dialog.Positioner, { children: /* @__PURE__ */ jsx(Dialog.Content, {
52
- className: t3,
53
- children: t4
54
- }) })] });
55
- $[8] = t3;
56
- $[9] = t4;
57
- $[10] = t5;
58
- } else t5 = $[10];
59
- let t6;
60
- if ($[11] !== handleOpenChange || $[12] !== open || $[13] !== t5) {
61
- t6 = /* @__PURE__ */ jsx(Dialog.Root, {
62
- open,
63
- onOpenChange: handleOpenChange,
64
- modal: true,
10
+ const DsConfirmation = (props) => {
11
+ const $ = c(2);
12
+ let t0;
13
+ if ($[0] !== props) {
14
+ t0 = /* @__PURE__ */ jsx(ds_modal_default, {
15
+ columns: 4,
65
16
  closeOnEscape: true,
66
17
  closeOnInteractOutside: true,
67
- children: t5
68
- });
69
- $[11] = handleOpenChange;
70
- $[12] = open;
71
- $[13] = t5;
72
- $[14] = t6;
73
- } else t6 = $[14];
74
- return t6;
75
- };
76
- const Header = (t0) => {
77
- const $ = c(6);
78
- const { style, className, children } = t0;
79
- let t1;
80
- if ($[0] !== className) {
81
- t1 = classNames(ds_confirmation_module_default.header, className);
82
- $[0] = className;
83
- $[1] = t1;
84
- } else t1 = $[1];
85
- let t2;
86
- if ($[2] !== children || $[3] !== style || $[4] !== t1) {
87
- t2 = /* @__PURE__ */ jsx("div", {
88
- style,
89
- className: t1,
90
- children
91
- });
92
- $[2] = children;
93
- $[3] = style;
94
- $[4] = t1;
95
- $[5] = t2;
96
- } else t2 = $[5];
97
- return t2;
98
- };
99
- const Title = (t0) => {
100
- const $ = c(8);
101
- const { style, className, children } = t0;
102
- let t1;
103
- if ($[0] !== className) {
104
- t1 = classNames(ds_confirmation_module_default.title, className);
105
- $[0] = className;
106
- $[1] = t1;
107
- } else t1 = $[1];
108
- let t2;
109
- if ($[2] !== children) {
110
- t2 = /* @__PURE__ */ jsx(ds_typography_default, {
111
- variant: "heading4",
112
- children
113
- });
114
- $[2] = children;
115
- $[3] = t2;
116
- } else t2 = $[3];
117
- let t3;
118
- if ($[4] !== style || $[5] !== t1 || $[6] !== t2) {
119
- t3 = /* @__PURE__ */ jsx(Dialog.Title, {
120
- className: t1,
121
- style,
122
- asChild: true,
123
- children: t2
124
- });
125
- $[4] = style;
126
- $[5] = t1;
127
- $[6] = t2;
128
- $[7] = t3;
129
- } else t3 = $[7];
130
- return t3;
131
- };
132
- const CloseTrigger = (t0) => {
133
- const $ = c(4);
134
- const { style, className } = t0;
135
- let t1;
136
- if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
137
- t1 = /* @__PURE__ */ jsx(ds_icon_default, {
138
- icon: "close",
139
- size: "small"
140
- });
141
- $[0] = t1;
142
- } else t1 = $[0];
143
- let t2;
144
- if ($[1] !== className || $[2] !== style) {
145
- t2 = /* @__PURE__ */ jsx(Dialog.CloseTrigger, {
146
- style,
147
- className,
148
- children: t1
149
- });
150
- $[1] = className;
151
- $[2] = style;
152
- $[3] = t2;
153
- } else t2 = $[3];
154
- return t2;
155
- };
156
- const Body = (t0) => {
157
- const $ = c(6);
158
- const { style, className, children } = t0;
159
- let t1;
160
- if ($[0] !== className) {
161
- t1 = classNames(ds_confirmation_module_default.body, className);
162
- $[0] = className;
163
- $[1] = t1;
164
- } else t1 = $[1];
165
- let t2;
166
- if ($[2] !== children || $[3] !== style || $[4] !== t1) {
167
- t2 = /* @__PURE__ */ jsx("div", {
168
- style,
169
- className: t1,
170
- children
171
- });
172
- $[2] = children;
173
- $[3] = style;
174
- $[4] = t1;
175
- $[5] = t2;
176
- } else t2 = $[5];
177
- return t2;
178
- };
179
- const Footer = (t0) => {
180
- const $ = c(6);
181
- const { style, className, children } = t0;
182
- let t1;
183
- if ($[0] !== className) {
184
- t1 = classNames(ds_confirmation_module_default.footer, className);
185
- $[0] = className;
186
- $[1] = t1;
187
- } else t1 = $[1];
188
- let t2;
189
- if ($[2] !== children || $[3] !== style || $[4] !== t1) {
190
- t2 = /* @__PURE__ */ jsx("div", {
191
- style,
192
- className: t1,
193
- children
194
- });
195
- $[2] = children;
196
- $[3] = style;
197
- $[4] = t1;
198
- $[5] = t2;
199
- } else t2 = $[5];
200
- return t2;
201
- };
202
- const Actions = (t0) => {
203
- const $ = c(6);
204
- const { style, className, children } = t0;
205
- let t1;
206
- if ($[0] !== className) {
207
- t1 = classNames(ds_confirmation_module_default.actions, className);
208
- $[0] = className;
209
- $[1] = t1;
210
- } else t1 = $[1];
211
- let t2;
212
- if ($[2] !== children || $[3] !== style || $[4] !== t1) {
213
- t2 = /* @__PURE__ */ jsx("div", {
214
- style,
215
- className: t1,
216
- children
18
+ ...props
217
19
  });
218
- $[2] = children;
219
- $[3] = style;
220
- $[4] = t1;
221
- $[5] = t2;
222
- } else t2 = $[5];
223
- return t2;
20
+ $[0] = props;
21
+ $[1] = t0;
22
+ } else t0 = $[1];
23
+ return t0;
224
24
  };
225
- DsConfirmation.Header = Header;
226
- DsConfirmation.Title = Title;
227
- DsConfirmation.CloseTrigger = CloseTrigger;
228
- DsConfirmation.Body = Body;
229
- DsConfirmation.Footer = Footer;
230
- DsConfirmation.Actions = Actions;
25
+ DsConfirmation.Header = ds_modal_default.Header;
26
+ DsConfirmation.Title = ds_modal_default.Title;
27
+ DsConfirmation.CloseTrigger = ds_modal_default.CloseTrigger;
28
+ DsConfirmation.Body = ds_modal_default.Body;
29
+ DsConfirmation.Footer = ds_modal_default.Footer;
30
+ DsConfirmation.Actions = ds_modal_default.Actions;
231
31
 
232
32
  //#endregion
233
33
  export { DsConfirmation };
@@ -1 +1 @@
1
- {"version":3,"file":"ds-confirmation.js","names":["CSSProperties","ReactNode","Dialog","Portal","classNames","DsIcon","DsConfirmationProps","styles","DsTypography","DsConfirmation","t0","$","_c","open","onOpenChange","style","className","children","t1","details","handleOpenChange","t2","Symbol","for","overlay","t3","modal","t4","content","t5","t6","Header","header","Title","title","CloseTrigger","Body","body","Footer","footer","Actions","actions"],"sources":["../../../src/components/ds-confirmation/ds-confirmation.tsx"],"sourcesContent":["import type { CSSProperties, ReactNode } from 'react';\nimport { Dialog } from '@ark-ui/react/dialog';\nimport { Portal } from '@ark-ui/react/portal';\nimport classNames from 'classnames';\nimport { DsIcon } from '../ds-icon';\nimport type { DsConfirmationProps } from './ds-confirmation.types';\nimport styles from './ds-confirmation.module.scss';\nimport DsTypography from '../ds-typography/ds-typography';\n\n/**\n * Composable confirmation modal dialog.\n */\nexport const DsConfirmation = ({ open, onOpenChange, style, className, children }: DsConfirmationProps) => {\n\tconst handleOpenChange = (details: { open: boolean }) => {\n\t\tonOpenChange(details.open);\n\t};\n\n\treturn (\n\t\t<Dialog.Root\n\t\t\topen={open}\n\t\t\tonOpenChange={handleOpenChange}\n\t\t\tmodal={true}\n\t\t\tcloseOnEscape={true}\n\t\t\tcloseOnInteractOutside={true}\n\t\t>\n\t\t\t<Portal>\n\t\t\t\t<Dialog.Backdrop className={styles.overlay} />\n\t\t\t\t<Dialog.Positioner>\n\t\t\t\t\t<Dialog.Content className={classNames(styles.modal, className)}>\n\t\t\t\t\t\t<div style={style} className={styles.content}>\n\t\t\t\t\t\t\t{children}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</Dialog.Content>\n\t\t\t\t</Dialog.Positioner>\n\t\t\t</Portal>\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=\"heading4\">{children}</DsTypography>\n\t</Dialog.Title>\n);\n\nconst CloseTrigger = ({ style, className }: { style?: CSSProperties; className?: string }) => (\n\t<Dialog.CloseTrigger style={style} className={className}>\n\t\t<DsIcon icon=\"close\" size=\"small\"></DsIcon>\n\t</Dialog.CloseTrigger>\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\nDsConfirmation.Header = Header;\nDsConfirmation.Title = Title;\nDsConfirmation.CloseTrigger = CloseTrigger;\nDsConfirmation.Body = Body;\nDsConfirmation.Footer = Footer;\nDsConfirmation.Actions = Actions;\n"],"mappings":";;;;;;;;;;;;;;AAYA,MAAaS,kBAAiBC,OAAA;CAAA,MAAAC,IAAAC,EAAA,GAAA;CAAC,MAAA,EAAAC,MAAAC,cAAAC,OAAAC,WAAAC,aAAAP;CAAuE,IAAAQ;AAAA,KAAAP,EAAA,OAAAG,cAAA;AAC5EI,QAAAC,YAAA;AACxBL,gBAAaK,QAAON,KAAM;;AAC1BF,IAAA,KAAAG;AAAAH,IAAA,KAAAO;OAAAA,MAAAP,EAAA;CAFD,MAAAS,mBAAyBF;CAEvB,IAAAG;AAAA,KAAAV,EAAA,OAAAW,OAAAC,IAAA,4BAAA,EAAA;AAWCF,OAAA,oBAAA,OAAA,YAA4B,WAAAd,+BAAMiB,UAAY;AAAAb,IAAA,KAAAU;OAAAA,MAAAV,EAAA;CAAA,IAAAc;AAAA,KAAAd,EAAA,OAAAK,WAAA;AAElBS,OAAArB,WAAWG,+BAAMmB,OAAQV,UAAU;AAAAL,IAAA,KAAAK;AAAAL,IAAA,KAAAc;OAAAA,MAAAd,EAAA;CAAA,IAAAgB;AAAA,KAAAhB,EAAA,OAAAM,YAAAN,EAAA,OAAAI,OAAA;AAC7DY,OAAA,oBAAA;G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IAAAU;AAAA,KAAAV,EAAA,OAAAM,YAAAN,EAAA,OAAAI,SAAAJ,EAAA,OAAAO,IAAA;AAAnEG,OAAA,oBAAA;GAAYN;GAAkB,WAAAG;GAC5BD;IACI;AAAAN,IAAA,KAAAM;AAAAN,IAAA,KAAAI;AAAAJ,IAAA,KAAAO;AAAAP,IAAA,KAAAU;OAAAA,MAAAV,EAAA;AAAA,QAFNU;;AAKDZ,eAAesB,SAASA;AACxBtB,eAAewB,QAAQA;AACvBxB,eAAe0B,eAAeA;AAC9B1B,eAAe2B,OAAOA;AACtB3B,eAAe6B,SAASA;AACxB7B,eAAe+B,UAAUA"}
1
+ {"version":3,"file":"ds-confirmation.js","names":["DsModal","DsConfirmationProps","DsConfirmation","props","$","_c","t0","Header","Title","CloseTrigger","Body","Footer","Actions"],"sources":["../../../src/components/ds-confirmation/ds-confirmation.tsx"],"sourcesContent":["import DsModal from '../ds-modal/ds-modal';\nimport type { DsConfirmationProps } from './ds-confirmation.types';\n\n/**\n * @deprecated DsConfirmation is deprecated. Use DsModal instead.\n * @see {@link ../ds-modal} for the replacement component.\n */\nexport const DsConfirmation = (props: DsConfirmationProps) => (\n\t<DsModal columns={4} closeOnEscape closeOnInteractOutside {...props} />\n);\n\nDsConfirmation.Header = DsModal.Header;\nDsConfirmation.Title = DsModal.Title;\nDsConfirmation.CloseTrigger = DsModal.CloseTrigger;\nDsConfirmation.Body = DsModal.Body;\nDsConfirmation.Footer = DsModal.Footer;\nDsConfirmation.Actions = DsModal.Actions;\n"],"mappings":";;;;;;;;;AAOA,MAAaE,kBAAiBC,UAAA;CAAA,MAAAC,IAAAC,EAAA,EAAA;CAAA,IAAAC;AAAA,KAAAF,EAAA,OAAAD,OAAA;AAC7BG,OAAA,oBAAC;GAAiB,SAAA;GAAG,eAAA;GAAc,wBAAA;GAAsB,GAAKH;IAAS;AAAAC,IAAA,KAAAD;AAAAC,IAAA,KAAAE;OAAAA,MAAAF,EAAA;AAAA,QAAvEE;;AAGDJ,eAAeK,SAASP,iBAAQO;AAChCL,eAAeM,QAAQR,iBAAQQ;AAC/BN,eAAeO,eAAeT,iBAAQS;AACtCP,eAAeQ,OAAOV,iBAAQU;AAC9BR,eAAeS,SAASX,iBAAQW;AAChCT,eAAeU,UAAUZ,iBAAQY"}
@@ -3,7 +3,8 @@ import { CSSProperties, ReactNode } from "react";
3
3
  //#region src/components/ds-confirmation/ds-confirmation.types.d.ts
4
4
 
5
5
  /**
6
- * Props for the DsConfirmation component
6
+ * @deprecated DsConfirmationProps is deprecated. Use DsModal with variant="info" instead.
7
+ * @see {@link ../ds-modal/ds-modal} for the replacement.
7
8
  */
8
9
  interface DsConfirmationProps {
9
10
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ds-confirmation.types.d.cts","names":[],"sources":["../../../src/components/ds-confirmation/ds-confirmation.types.tsx"],"sourcesContent":[],"mappings":";;;;;;AAKA;UAAiB,mBAAA;;;;;;;;;;;;;UAaR;;;;;;;;YAQE"}
1
+ {"version":3,"file":"ds-confirmation.types.d.cts","names":[],"sources":["../../../src/components/ds-confirmation/ds-confirmation.types.tsx"],"sourcesContent":[],"mappings":";;;;;;AAMA;;UAAiB,mBAAA;;;;;;;;;;;;;UAaR;;;;;;;;YAQE"}
@@ -3,7 +3,8 @@ import { CSSProperties, ReactNode } from "react";
3
3
  //#region src/components/ds-confirmation/ds-confirmation.types.d.ts
4
4
 
5
5
  /**
6
- * Props for the DsConfirmation component
6
+ * @deprecated DsConfirmationProps is deprecated. Use DsModal with variant="info" instead.
7
+ * @see {@link ../ds-modal/ds-modal} for the replacement.
7
8
  */
8
9
  interface DsConfirmationProps {
9
10
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ds-confirmation.types.d.ts","names":[],"sources":["../../../src/components/ds-confirmation/ds-confirmation.types.tsx"],"sourcesContent":[],"mappings":";;;;;;AAKA;UAAiB,mBAAA;;;;;;;;;;;;;UAaR;;;;;;;;YAQE"}
1
+ {"version":3,"file":"ds-confirmation.types.d.ts","names":[],"sources":["../../../src/components/ds-confirmation/ds-confirmation.types.tsx"],"sourcesContent":[],"mappings":";;;;;;AAMA;;UAAiB,mBAAA;;;;;;;;;;;;;UAaR;;;;;;;;YAQE"}
@@ -9,8 +9,8 @@ let react_compiler_runtime = require("react/compiler-runtime");
9
9
  let classnames = require("classnames");
10
10
  classnames = require_rolldown_runtime.__toESM(classnames);
11
11
  let react_jsx_runtime = require("react/jsx-runtime");
12
- let react = require("react");
13
12
  let __ark_ui_react_portal = require("@ark-ui/react/portal");
13
+ let react = require("react");
14
14
  let __ark_ui_react_date_picker = require("@ark-ui/react/date-picker");
15
15
 
16
16
  //#region src/components/ds-date-input/ds-date-input.tsx
@@ -1,5 +1,5 @@
1
1
  import { DsDateInputProps } from "./ds-date-input.types.cjs";
2
- import * as react_jsx_runtime15 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime12 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/ds-date-input/ds-date-input.d.ts
5
5
 
@@ -25,7 +25,7 @@ declare const DsDateInput: ({
25
25
  readOnly,
26
26
  id,
27
27
  ...datePickerProps
28
- }: DsDateInputProps) => react_jsx_runtime15.JSX.Element;
28
+ }: DsDateInputProps) => react_jsx_runtime12.JSX.Element;
29
29
  //#endregion
30
30
  export { DsDateInput };
31
31
  //# sourceMappingURL=ds-date-input.d.cts.map
@@ -1,5 +1,5 @@
1
1
  import { DsDateInputProps } from "./ds-date-input.types.js";
2
- import * as react_jsx_runtime59 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime60 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/ds-date-input/ds-date-input.d.ts
5
5
 
@@ -25,7 +25,7 @@ declare const DsDateInput: ({
25
25
  readOnly,
26
26
  id,
27
27
  ...datePickerProps
28
- }: DsDateInputProps) => react_jsx_runtime59.JSX.Element;
28
+ }: DsDateInputProps) => react_jsx_runtime60.JSX.Element;
29
29
  //#endregion
30
30
  export { DsDateInput };
31
31
  //# sourceMappingURL=ds-date-input.d.ts.map
@@ -7,8 +7,8 @@ import ds_date_input_module_default from "./ds-date-input.module.js";
7
7
  import { c } from "react/compiler-runtime";
8
8
  import classNames from "classnames";
9
9
  import { jsx, jsxs } from "react/jsx-runtime";
10
- import { Fragment as Fragment$1, useRef, useState } from "react";
11
10
  import { Portal } from "@ark-ui/react/portal";
11
+ import { Fragment as Fragment$1, useRef, useState } from "react";
12
12
  import { DatePicker } from "@ark-ui/react/date-picker";
13
13
 
14
14
  //#region src/components/ds-date-input/ds-date-input.tsx
@@ -8,8 +8,8 @@ let react_compiler_runtime = require("react/compiler-runtime");
8
8
  let classnames = require("classnames");
9
9
  classnames = require_rolldown_runtime.__toESM(classnames);
10
10
  let react_jsx_runtime = require("react/jsx-runtime");
11
- let react = require("react");
12
11
  let __ark_ui_react_portal = require("@ark-ui/react/portal");
12
+ let react = require("react");
13
13
  let __ark_ui_react_dialog = require("@ark-ui/react/dialog");
14
14
 
15
15
  //#region src/components/ds-drawer/ds-drawer.tsx
@@ -1,5 +1,5 @@
1
1
  import { DsDrawerProps } from "./ds-drawer.types.cjs";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime13 from "react/jsx-runtime";
3
3
  import { CSSProperties, ReactNode } from "react";
4
4
 
5
5
  //#region src/components/ds-drawer/ds-drawer.d.ts
@@ -22,7 +22,7 @@ declare const DsDrawer: {
22
22
  style,
23
23
  className,
24
24
  children
25
- }: DsDrawerProps): react_jsx_runtime0.JSX.Element;
25
+ }: DsDrawerProps): react_jsx_runtime13.JSX.Element;
26
26
  Header: ({
27
27
  style,
28
28
  className,
@@ -31,7 +31,7 @@ declare const DsDrawer: {
31
31
  style?: CSSProperties;
32
32
  className?: string;
33
33
  children: ReactNode;
34
- }) => react_jsx_runtime0.JSX.Element;
34
+ }) => react_jsx_runtime13.JSX.Element;
35
35
  Title: ({
36
36
  style,
37
37
  className,
@@ -40,14 +40,14 @@ declare const DsDrawer: {
40
40
  style?: CSSProperties;
41
41
  className?: string;
42
42
  children: ReactNode;
43
- }) => react_jsx_runtime0.JSX.Element;
43
+ }) => react_jsx_runtime13.JSX.Element;
44
44
  CloseTrigger: ({
45
45
  style,
46
46
  className
47
47
  }: {
48
48
  style?: CSSProperties;
49
49
  className?: string;
50
- }) => react_jsx_runtime0.JSX.Element;
50
+ }) => react_jsx_runtime13.JSX.Element;
51
51
  Toolbar: ({
52
52
  style,
53
53
  className,
@@ -56,7 +56,7 @@ declare const DsDrawer: {
56
56
  style?: CSSProperties;
57
57
  className?: string;
58
58
  children: ReactNode;
59
- }) => react_jsx_runtime0.JSX.Element;
59
+ }) => react_jsx_runtime13.JSX.Element;
60
60
  Body: ({
61
61
  style,
62
62
  className,
@@ -65,7 +65,7 @@ declare const DsDrawer: {
65
65
  style?: CSSProperties;
66
66
  className?: string;
67
67
  children: ReactNode;
68
- }) => react_jsx_runtime0.JSX.Element;
68
+ }) => react_jsx_runtime13.JSX.Element;
69
69
  Footer: ({
70
70
  style,
71
71
  className,
@@ -74,7 +74,7 @@ declare const DsDrawer: {
74
74
  style?: CSSProperties;
75
75
  className?: string;
76
76
  children: ReactNode;
77
- }) => react_jsx_runtime0.JSX.Element;
77
+ }) => react_jsx_runtime13.JSX.Element;
78
78
  Actions: ({
79
79
  style,
80
80
  className,
@@ -83,7 +83,7 @@ declare const DsDrawer: {
83
83
  style?: CSSProperties;
84
84
  className?: string;
85
85
  children: ReactNode;
86
- }) => react_jsx_runtime0.JSX.Element;
86
+ }) => react_jsx_runtime13.JSX.Element;
87
87
  };
88
88
  //#endregion
89
89
  export { DsDrawer };
@@ -1 +1 @@
1
- {"version":3,"file":"ds-drawer.d.cts","names":[],"sources":["../../../src/components/ds-drawer/ds-drawer.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AAIuD;;cAUjD;;;;;;;;;;;;;KAYH,gBAAa,kBAAA,CAAA,GAAA,CAAA;;;;;;YA2CP;;cAEE;QACV,kBAAA,CAAA,GAAA,CAAA;;;;;EA9Ce;Y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A,KAAA;IAAA,SAAA;IAAA;GAAA,EAAA;IACV,KAAA,CAAA,EA+BQ,aA/BR;;cAiCU;QACV,mBAAA,CAAA,GAAA,CAAA;EAvBQ,IAAA,EAAA,CAAA;IAAA,KAAA;IAAA,SAAA;IAAA;GAAA,EAAA;IAEE,KAAA,CAAA,EAgCF,aAhCE;IACV,SAAA,CAAA,EAAA,MAAA;cAiCU;QACV,mBAAA,CAAA,GAAA,CAAA;EA5BqD,MAAA,EAAA,CAAA;IAAA,KAAA;IAAA,SAAA;IAAA;GAAA,EAAA;IAAmC,KAAA,CAAA,EAuChF,aAvCgF;;cAyC9E;QACV,mBAAA,CAAA,GAAA,CAAA;EA/BQ,OAAA,EAAA,CAAA;IAAA,KAAA;IAAA,SAAA;IAAA;GAAA,EAAA;IAEE,KAAA,CAAA,EAwCF,aAxCE;IACV,SAAA,CAAA,EAAA,MAAA;cAyCU;QACV,mBAAA,CAAA,GAAA,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { DsDrawerProps } from "./ds-drawer.types.js";
2
- import * as react_jsx_runtime33 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime35 from "react/jsx-runtime";
3
3
  import { CSSProperties, ReactNode } from "react";
4
4
 
5
5
  //#region src/components/ds-drawer/ds-drawer.d.ts
@@ -22,7 +22,7 @@ declare const DsDrawer: {
22
22
  style,
23
23
  className,
24
24
  children
25
- }: DsDrawerProps): react_jsx_runtime33.JSX.Element;
25
+ }: DsDrawerProps): react_jsx_runtime35.JSX.Element;
26
26
  Header: ({
27
27
  style,
28
28
  className,
@@ -31,7 +31,7 @@ declare const DsDrawer: {
31
31
  style?: CSSProperties;
32
32
  className?: string;
33
33
  children: ReactNode;
34
- }) => react_jsx_runtime33.JSX.Element;
34
+ }) => react_jsx_runtime35.JSX.Element;
35
35
  Title: ({
36
36
  style,
37
37
  className,
@@ -40,14 +40,14 @@ declare const DsDrawer: {
40
40
  style?: CSSProperties;
41
41
  className?: string;
42
42
  children: ReactNode;
43
- }) => react_jsx_runtime33.JSX.Element;
43
+ }) => react_jsx_runtime35.JSX.Element;
44
44
  CloseTrigger: ({
45
45
  style,
46
46
  className
47
47
  }: {
48
48
  style?: CSSProperties;
49
49
  className?: string;
50
- }) => react_jsx_runtime33.JSX.Element;
50
+ }) => react_jsx_runtime35.JSX.Element;
51
51
  Toolbar: ({
52
52
  style,
53
53
  className,
@@ -56,7 +56,7 @@ declare const DsDrawer: {
56
56
  style?: CSSProperties;
57
57
  className?: string;
58
58
  children: ReactNode;
59
- }) => react_jsx_runtime33.JSX.Element;
59
+ }) => react_jsx_runtime35.JSX.Element;
60
60
  Body: ({
61
61
  style,
62
62
  className,
@@ -65,7 +65,7 @@ declare const DsDrawer: {
65
65
  style?: CSSProperties;
66
66
  className?: string;
67
67
  children: ReactNode;
68
- }) => react_jsx_runtime33.JSX.Element;
68
+ }) => react_jsx_runtime35.JSX.Element;
69
69
  Footer: ({
70
70
  style,
71
71
  className,
@@ -74,7 +74,7 @@ declare const DsDrawer: {
74
74
  style?: CSSProperties;
75
75
  className?: string;
76
76
  children: ReactNode;
77
- }) => react_jsx_runtime33.JSX.Element;
77
+ }) => react_jsx_runtime35.JSX.Element;
78
78
  Actions: ({
79
79
  style,
80
80
  className,
@@ -83,7 +83,7 @@ declare const DsDrawer: {
83
83
  style?: CSSProperties;
84
84
  className?: string;
85
85
  children: ReactNode;
86
- }) => react_jsx_runtime33.JSX.Element;
86
+ }) => react_jsx_runtime35.JSX.Element;
87
87
  };
88
88
  //#endregion
89
89
  export { DsDrawer };
@@ -6,8 +6,8 @@ import ds_drawer_module_default from "./ds-drawer.module.js";
6
6
  import { c } from "react/compiler-runtime";
7
7
  import classNames from "classnames";
8
8
  import { jsx, jsxs } from "react/jsx-runtime";
9
- import { Fragment as Fragment$1 } from "react";
10
9
  import { Portal } from "@ark-ui/react/portal";
10
+ import { Fragment as Fragment$1 } from "react";
11
11
  import { Dialog } from "@ark-ui/react/dialog";
12
12
 
13
13
  //#region src/components/ds-drawer/ds-drawer.tsx
@@ -8,11 +8,11 @@ let react_compiler_runtime = require("react/compiler-runtime");
8
8
  let classnames = require("classnames");
9
9
  classnames = require_rolldown_runtime.__toESM(classnames);
10
10
  let react_jsx_runtime = require("react/jsx-runtime");
11
+ let __ark_ui_react_portal = require("@ark-ui/react/portal");
11
12
  let react = require("react");
12
13
  let __radix_ui_react_dropdown_menu = require("@radix-ui/react-dropdown-menu");
13
14
  __radix_ui_react_dropdown_menu = require_rolldown_runtime.__toESM(__radix_ui_react_dropdown_menu);
14
15
  let __ark_ui_react_menu = require("@ark-ui/react/menu");
15
- let __ark_ui_react_portal = require("@ark-ui/react/portal");
16
16
 
17
17
  //#region src/components/ds-dropdown-menu/ds-dropdown-menu.tsx
18
18
  const GroupContext = (0, react.createContext)(null);