@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.
- package/CHANGELOG.md +14 -0
- package/README.md +1 -1
- package/dist/components/ds-alert-banner/ds-alert-banner.d.cts +5 -5
- package/dist/components/ds-alert-banner/ds-alert-banner.d.cts.map +1 -1
- package/dist/components/ds-alert-banner/ds-alert-banner.d.ts +5 -5
- package/dist/components/ds-alert-banner/ds-alert-banner.d.ts.map +1 -1
- package/dist/components/ds-alert-banner/ds-alert-banner.types.d.cts.map +1 -1
- package/dist/components/ds-autocomplete/ds-autocomplete.cjs +218 -0
- package/dist/components/ds-autocomplete/ds-autocomplete.d.cts +22 -0
- package/dist/components/ds-autocomplete/ds-autocomplete.d.cts.map +1 -0
- package/dist/components/ds-autocomplete/ds-autocomplete.d.ts +22 -0
- package/dist/components/ds-autocomplete/ds-autocomplete.d.ts.map +1 -0
- package/dist/components/ds-autocomplete/ds-autocomplete.js +217 -0
- package/dist/components/ds-autocomplete/ds-autocomplete.js.map +1 -0
- package/dist/components/ds-autocomplete/ds-autocomplete.module.cjs +27 -0
- package/dist/components/ds-autocomplete/ds-autocomplete.module.js +27 -0
- package/dist/components/ds-autocomplete/ds-autocomplete.module.js.map +1 -0
- package/dist/components/ds-autocomplete/ds-autocomplete.types.d.cts +79 -0
- package/dist/components/ds-autocomplete/ds-autocomplete.types.d.cts.map +1 -0
- package/dist/components/ds-autocomplete/ds-autocomplete.types.d.ts +80 -0
- package/dist/components/ds-autocomplete/ds-autocomplete.types.d.ts.map +1 -0
- package/dist/components/ds-autocomplete/index.cjs +1 -0
- package/dist/components/ds-autocomplete/index.d.ts +2 -0
- package/dist/components/ds-autocomplete/index.js +1 -0
- package/dist/components/ds-avatar/ds-avatar.module.js.map +1 -1
- package/dist/components/ds-avatar-group/ds-avatar-group.module.js.map +1 -1
- package/dist/components/ds-button/ds-button.d.cts +2 -2
- package/dist/components/ds-button/ds-button.d.cts.map +1 -1
- package/dist/components/ds-confirmation/ds-confirmation.cjs +20 -221
- package/dist/components/ds-confirmation/ds-confirmation.d.cts +22 -27
- package/dist/components/ds-confirmation/ds-confirmation.d.cts.map +1 -1
- package/dist/components/ds-confirmation/ds-confirmation.d.ts +22 -27
- package/dist/components/ds-confirmation/ds-confirmation.d.ts.map +1 -1
- package/dist/components/ds-confirmation/ds-confirmation.js +21 -221
- package/dist/components/ds-confirmation/ds-confirmation.js.map +1 -1
- package/dist/components/ds-confirmation/ds-confirmation.types.d.cts +2 -1
- package/dist/components/ds-confirmation/ds-confirmation.types.d.cts.map +1 -1
- package/dist/components/ds-confirmation/ds-confirmation.types.d.ts +2 -1
- package/dist/components/ds-confirmation/ds-confirmation.types.d.ts.map +1 -1
- package/dist/components/ds-date-input/ds-date-input.cjs +1 -1
- package/dist/components/ds-date-input/ds-date-input.d.cts +2 -2
- package/dist/components/ds-date-input/ds-date-input.d.ts +2 -2
- package/dist/components/ds-date-input/ds-date-input.js +1 -1
- package/dist/components/ds-drawer/ds-drawer.cjs +1 -1
- package/dist/components/ds-drawer/ds-drawer.d.cts +9 -9
- package/dist/components/ds-drawer/ds-drawer.d.cts.map +1 -1
- package/dist/components/ds-drawer/ds-drawer.d.ts +9 -9
- package/dist/components/ds-drawer/ds-drawer.js +1 -1
- package/dist/components/ds-dropdown-menu/ds-dropdown-menu.cjs +1 -1
- package/dist/components/ds-dropdown-menu/ds-dropdown-menu.js +1 -1
- package/dist/components/ds-dropdown-menu/ds-dropdown-menu.module.cjs +20 -20
- package/dist/components/ds-dropdown-menu/ds-dropdown-menu.module.js +20 -20
- package/dist/components/ds-dropdown-menu/ds-dropdown-menu.module.js.map +1 -1
- package/dist/components/ds-expandable-text-input/ds-expandable-text-input.d.cts +2 -2
- package/dist/components/ds-expandable-text-input/ds-expandable-text-input.d.ts +2 -2
- package/dist/components/ds-form-control/ds-form-control.d.cts +8 -8
- package/dist/components/ds-form-control/ds-form-control.d.ts +8 -8
- package/dist/components/ds-loader/ds-loader.d.cts +2 -2
- package/dist/components/ds-loader/ds-loader.d.ts +2 -2
- package/dist/components/ds-modal/ds-modal.cjs +47 -48
- package/dist/components/ds-modal/ds-modal.d.cts +11 -10
- package/dist/components/ds-modal/ds-modal.d.cts.map +1 -1
- package/dist/components/ds-modal/ds-modal.d.ts +11 -10
- package/dist/components/ds-modal/ds-modal.d.ts.map +1 -1
- package/dist/components/ds-modal/ds-modal.js +47 -48
- package/dist/components/ds-modal/ds-modal.js.map +1 -1
- package/dist/components/ds-modal/ds-modal.module.cjs +24 -24
- package/dist/components/ds-modal/ds-modal.module.js +24 -24
- package/dist/components/ds-modal/ds-modal.module.js.map +1 -1
- package/dist/components/ds-modal/ds-modal.types.d.cts +10 -5
- package/dist/components/ds-modal/ds-modal.types.d.cts.map +1 -1
- package/dist/components/ds-modal/ds-modal.types.d.ts +10 -5
- package/dist/components/ds-modal/ds-modal.types.d.ts.map +1 -1
- package/dist/components/ds-panel/ds-panel.d.cts +2 -2
- package/dist/components/ds-panel/ds-panel.d.ts +2 -2
- package/dist/components/ds-select/ds-select.cjs +1 -1
- package/dist/components/ds-select/ds-select.d.cts +2 -2
- package/dist/components/ds-select/ds-select.js +1 -1
- package/dist/components/ds-skeleton/ds-skeleton-circle.d.cts +2 -2
- package/dist/components/ds-skeleton/ds-skeleton-circle.d.ts +2 -2
- package/dist/components/ds-skeleton/ds-skeleton-rect.d.cts +2 -2
- package/dist/components/ds-skeleton/ds-skeleton-rect.d.ts +2 -2
- package/dist/components/ds-skeleton/ds-skeleton-rect.d.ts.map +1 -1
- package/dist/components/ds-skeleton/ds-skeleton-text.d.cts +2 -2
- package/dist/components/ds-skeleton/ds-skeleton-text.d.ts +2 -2
- package/dist/components/ds-skeleton/ds-skeleton.d.cts +4 -4
- package/dist/components/ds-skeleton/ds-skeleton.d.ts +4 -4
- package/dist/components/ds-smart-tabs/ds-smart-tabs.d.cts +2 -2
- package/dist/components/ds-smart-tabs/ds-smart-tabs.d.ts +2 -2
- package/dist/components/ds-smart-tabs/ds-smart-tabs.d.ts.map +1 -1
- package/dist/components/ds-stepper/components/ds-step-content.d.cts +2 -2
- package/dist/components/ds-stepper/components/ds-step-content.d.ts +2 -2
- package/dist/components/ds-stepper/components/ds-step-next-button.d.cts +2 -2
- package/dist/components/ds-stepper/components/ds-step-next-button.d.ts +2 -2
- package/dist/components/ds-stepper/components/ds-step.d.cts +2 -2
- package/dist/components/ds-stepper/components/ds-step.d.ts +2 -2
- package/dist/components/ds-stepper/ds-stepper.d.cts +2 -2
- package/dist/components/ds-stepper/ds-stepper.d.ts +2 -2
- package/dist/components/ds-table/ds-table.d.ts +2 -2
- package/dist/components/ds-table/filters/hooks/index.d.ts +1 -1
- package/dist/components/ds-table/filters/hooks/use-table-filters.cjs +180 -185
- package/dist/components/ds-table/filters/hooks/use-table-filters.d.cts +58 -25
- package/dist/components/ds-table/filters/hooks/use-table-filters.d.cts.map +1 -1
- package/dist/components/ds-table/filters/hooks/use-table-filters.d.ts +58 -25
- package/dist/components/ds-table/filters/hooks/use-table-filters.d.ts.map +1 -1
- package/dist/components/ds-table/filters/hooks/use-table-filters.js +180 -185
- package/dist/components/ds-table/filters/hooks/use-table-filters.js.map +1 -1
- package/dist/components/ds-table/filters/index.d.ts +1 -1
- package/dist/components/ds-table/index.d.ts +1 -1
- package/dist/components/ds-tabs/components/ds-tabs-content/ds-tabs-content.module.cjs +2 -2
- package/dist/components/ds-tabs/components/ds-tabs-content/ds-tabs-content.module.js +2 -2
- package/dist/components/ds-tabs/components/ds-tabs-content/ds-tabs-content.module.js.map +1 -1
- package/dist/components/ds-tabs/ds-tabs.d.cts +5 -5
- package/dist/components/ds-tabs/ds-tabs.d.ts +5 -5
- package/dist/components/ds-tag/ds-tag.d.cts +2 -2
- package/dist/components/ds-tag/ds-tag.d.ts +2 -2
- package/dist/components/ds-tag-filter/ds-tag-filter.d.cts +2 -2
- package/dist/components/ds-tag-filter/ds-tag-filter.d.ts +2 -2
- package/dist/components/ds-toggle/ds-toggle.d.cts +2 -2
- package/dist/components/ds-toggle/ds-toggle.d.ts +2 -2
- package/dist/components/ds-vertical-tabs/ds-vertical-tabs.d.cts +5 -5
- package/dist/components/ds-vertical-tabs/ds-vertical-tabs.d.ts +5 -5
- package/dist/index.cjs +4 -1
- package/dist/index.d.cts +4 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +4 -2
- package/dist/index.min.css +1 -1
- package/package.json +1 -1
- package/src/components/ds-autocomplete/ds-autocomplete.module.scss +257 -0
- package/src/components/ds-autocomplete/ds-autocomplete.tsx +130 -0
- package/src/components/ds-autocomplete/ds-autocomplete.types.tsx +76 -0
- package/src/components/ds-autocomplete/index.ts +2 -0
- package/src/components/ds-avatar/ds-avatar.module.scss +1 -1
- package/src/components/ds-avatar-group/ds-avatar-group.module.scss +1 -1
- package/src/components/ds-confirmation/ds-confirmation.tsx +11 -115
- package/src/components/ds-confirmation/ds-confirmation.types.tsx +2 -1
- package/src/components/ds-dropdown-menu/ds-dropdown-menu.module.scss +0 -1
- package/src/components/ds-modal/ds-modal.module.scss +123 -60
- package/src/components/ds-modal/ds-modal.tsx +5 -2
- package/src/components/ds-modal/ds-modal.types.tsx +14 -5
- package/src/components/ds-table/filters/hooks/index.ts +1 -1
- package/src/components/ds-table/filters/hooks/use-table-filters.ts +117 -116
- package/src/components/ds-tabs/components/ds-tabs-content/ds-tabs-content.module.scss +4 -0
- package/src/index.ts +1 -0
- package/src/styles/shared/_modal.scss +0 -123
- package/dist/components/ds-confirmation/ds-confirmation.module.cjs +0 -21
- package/dist/components/ds-confirmation/ds-confirmation.module.js +0 -21
- package/dist/components/ds-confirmation/ds-confirmation.module.js.map +0 -1
- 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
|
|
3
|
-
import
|
|
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
|
-
*
|
|
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
|
-
}) =>
|
|
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
|
-
}) =>
|
|
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
|
-
}) =>
|
|
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
|
-
}) =>
|
|
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
|
-
}) =>
|
|
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
|
-
}) =>
|
|
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":"
|
|
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
|
|
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
|
|
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
|
-
*
|
|
7
|
+
* @deprecated DsConfirmation is deprecated. Use DsModal instead.
|
|
8
|
+
* @see {@link ../ds-modal} for the replacement component.
|
|
14
9
|
*/
|
|
15
|
-
const DsConfirmation = (
|
|
16
|
-
const $ = c(
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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
|
-
|
|
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
|
-
$[
|
|
219
|
-
$[
|
|
220
|
-
|
|
221
|
-
|
|
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":["
|
|
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
|
-
*
|
|
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":";;;;;;
|
|
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
|
-
*
|
|
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":";;;;;;
|
|
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
|
|
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) =>
|
|
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
|
|
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) =>
|
|
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
|
|
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):
|
|
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
|
-
}) =>
|
|
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
|
-
}) =>
|
|
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
|
-
}) =>
|
|
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
|
-
}) =>
|
|
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
|
-
}) =>
|
|
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
|
-
}) =>
|
|
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
|
-
}) =>
|
|
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,
|
|
1
|
+
{"version":3,"file":"ds-drawer.d.cts","names":[],"sources":["../../../src/components/ds-drawer/ds-drawer.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AAIuD;;cAUjD;;;;;;;;;;;;;KAYH,gBAAa,mBAAA,CAAA,GAAA,CAAA;;;;;;YA2CP;;cAEE;QACV,mBAAA,CAAA,GAAA,CAAA;;;;;EA9Ce;YAyDP;;IAzDN,QAAA,EA2DQ,SA3DR;EAAa,CAAA,EAAA,GA4Df,mBAAA,CAAA,GAAA,CAAA,OA5De;;;;EA2CP;YAuB6C;;EAvB7C,CAAA,EAAA,GAuBgF,mBAAA,CAAA,GAAA,CAAA,OAvBhF;EAEE,OAAA,EAAA,CAAA;IAAA,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
|
|
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):
|
|
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
|
-
}) =>
|
|
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
|
-
}) =>
|
|
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
|
-
}) =>
|
|
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
|
-
}) =>
|
|
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
|
-
}) =>
|
|
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
|
-
}) =>
|
|
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
|
-
}) =>
|
|
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);
|