@drivenets/design-system 0.5.0 → 0.6.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 +7 -0
- package/dist/components/ds-alert-banner/ds-alert-banner.d.ts +5 -5
- package/dist/components/ds-autocomplete/ds-autocomplete.d.ts +2 -2
- package/dist/components/ds-autocomplete/ds-autocomplete.d.ts.map +1 -1
- package/dist/components/ds-button/ds-button.d.ts +2 -2
- package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.d.ts +2 -0
- package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.types.d.ts +1 -1
- package/dist/components/ds-button/versions/ds-button-legacy/index.d.ts +2 -0
- package/dist/components/ds-card/ds-card.d.cts +5 -5
- package/dist/components/ds-card/ds-card.d.cts.map +1 -1
- package/dist/components/ds-card/ds-card.d.ts +5 -5
- package/dist/components/ds-card/ds-card.module.cjs +4 -4
- package/dist/components/ds-card/ds-card.module.js +4 -4
- package/dist/components/ds-card/ds-card.module.js.map +1 -1
- package/dist/components/ds-confirmation/ds-confirmation.d.cts +8 -8
- package/dist/components/ds-confirmation/ds-confirmation.d.cts.map +1 -1
- package/dist/components/ds-confirmation/ds-confirmation.d.ts +8 -8
- package/dist/components/ds-date-input/ds-date-input.d.cts +2 -2
- package/dist/components/ds-drawer/ds-drawer.d.cts +9 -9
- package/dist/components/ds-drawer/ds-drawer.d.ts +9 -9
- 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.cts.map +1 -1
- 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-icon/ds-icon.d.cts +2 -2
- package/dist/components/ds-icon/ds-icon.d.ts +2 -2
- package/dist/components/ds-icon/ds-icon.d.ts.map +1 -1
- 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.d.cts +8 -8
- package/dist/components/ds-modal/ds-modal.d.ts +8 -8
- package/dist/components/ds-panel/ds-panel.cjs +112 -33
- package/dist/components/ds-panel/ds-panel.d.cts +3 -2
- package/dist/components/ds-panel/ds-panel.d.cts.map +1 -1
- package/dist/components/ds-panel/ds-panel.d.ts +3 -2
- package/dist/components/ds-panel/ds-panel.d.ts.map +1 -1
- package/dist/components/ds-panel/ds-panel.js +112 -33
- package/dist/components/ds-panel/ds-panel.js.map +1 -1
- package/dist/components/ds-panel/ds-panel.module.cjs +7 -6
- package/dist/components/ds-panel/ds-panel.module.js +7 -6
- package/dist/components/ds-panel/ds-panel.module.js.map +1 -1
- package/dist/components/ds-panel/ds-panel.types.d.cts +1 -0
- package/dist/components/ds-panel/ds-panel.types.d.cts.map +1 -1
- package/dist/components/ds-panel/ds-panel.types.d.ts +1 -0
- package/dist/components/ds-panel/ds-panel.types.d.ts.map +1 -1
- package/dist/components/ds-select/ds-select.d.cts +2 -2
- package/dist/components/ds-select/ds-select.d.ts +2 -2
- package/dist/components/ds-skeleton/ds-skeleton-circle.d.cts +2 -2
- package/dist/components/ds-skeleton/ds-skeleton-rect.d.cts +2 -2
- package/dist/components/ds-skeleton/ds-skeleton-text.d.cts +2 -2
- package/dist/components/ds-skeleton/ds-skeleton.d.cts +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-stepper/components/ds-step-content.cjs +31 -35
- package/dist/components/ds-stepper/components/ds-step-content.d.cts +5 -5
- package/dist/components/ds-stepper/components/ds-step-content.d.cts.map +1 -1
- package/dist/components/ds-stepper/components/ds-step-content.d.ts +5 -5
- package/dist/components/ds-stepper/components/ds-step-content.d.ts.map +1 -1
- package/dist/components/ds-stepper/components/ds-step-content.js +32 -36
- package/dist/components/ds-stepper/components/ds-step-content.js.map +1 -1
- package/dist/components/ds-stepper/components/ds-step-next-button.cjs +34 -17
- package/dist/components/ds-stepper/components/ds-step-next-button.d.cts +8 -5
- package/dist/components/ds-stepper/components/ds-step-next-button.d.cts.map +1 -1
- package/dist/components/ds-stepper/components/ds-step-next-button.d.ts +9 -5
- package/dist/components/ds-stepper/components/ds-step-next-button.d.ts.map +1 -1
- package/dist/components/ds-stepper/components/ds-step-next-button.js +34 -17
- package/dist/components/ds-stepper/components/ds-step-next-button.js.map +1 -1
- package/dist/components/ds-stepper/components/ds-step-separator.cjs +36 -0
- package/dist/components/ds-stepper/components/ds-step-separator.js +36 -0
- package/dist/components/ds-stepper/components/ds-step-separator.js.map +1 -0
- package/dist/components/ds-stepper/components/ds-step.cjs +145 -90
- package/dist/components/ds-stepper/components/ds-step.d.cts +24 -5
- package/dist/components/ds-stepper/components/ds-step.d.cts.map +1 -1
- package/dist/components/ds-stepper/components/ds-step.d.ts +24 -5
- package/dist/components/ds-stepper/components/ds-step.d.ts.map +1 -1
- package/dist/components/ds-stepper/components/ds-step.js +145 -90
- package/dist/components/ds-stepper/components/ds-step.js.map +1 -1
- package/dist/components/ds-stepper/ds-stepper.cjs +75 -48
- package/dist/components/ds-stepper/ds-stepper.d.cts +7 -3
- package/dist/components/ds-stepper/ds-stepper.d.cts.map +1 -1
- package/dist/components/ds-stepper/ds-stepper.d.ts +7 -3
- package/dist/components/ds-stepper/ds-stepper.d.ts.map +1 -1
- package/dist/components/ds-stepper/ds-stepper.js +76 -49
- package/dist/components/ds-stepper/ds-stepper.js.map +1 -1
- package/dist/components/ds-stepper/ds-stepper.module.cjs +17 -11
- package/dist/components/ds-stepper/ds-stepper.module.js +17 -11
- package/dist/components/ds-stepper/ds-stepper.module.js.map +1 -1
- package/dist/components/ds-stepper/ds-stepper.types.d.cts +11 -2
- package/dist/components/ds-stepper/ds-stepper.types.d.cts.map +1 -1
- package/dist/components/ds-stepper/ds-stepper.types.d.ts +11 -2
- package/dist/components/ds-stepper/ds-stepper.types.d.ts.map +1 -1
- package/dist/components/ds-stepper/hooks/use-stepper.js.map +1 -1
- package/dist/components/ds-stepper/hooks/use-steps.cjs +13 -11
- package/dist/components/ds-stepper/hooks/use-steps.js +13 -11
- package/dist/components/ds-stepper/hooks/use-steps.js.map +1 -1
- package/dist/components/ds-stepper/index.d.ts +4 -4
- package/dist/components/ds-table/ds-table.d.cts +2 -2
- package/dist/components/ds-tabs/ds-tabs.d.cts +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/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.min.css +1 -1
- package/package.json +1 -1
- package/src/components/ds-card/ds-card.module.scss +3 -11
- package/src/components/ds-panel/ds-panel.module.scss +6 -0
- package/src/components/ds-panel/ds-panel.tsx +85 -0
- package/src/components/ds-panel/ds-panel.types.ts +1 -0
- package/src/components/ds-stepper/components/ds-step-content.tsx +25 -7
- package/src/components/ds-stepper/components/ds-step-next-button.tsx +8 -3
- package/src/components/ds-stepper/components/ds-step-separator.tsx +22 -0
- package/src/components/ds-stepper/components/ds-step.tsx +69 -10
- package/src/components/ds-stepper/ds-stepper.module.scss +193 -31
- package/src/components/ds-stepper/ds-stepper.tsx +29 -5
- package/src/components/ds-stepper/ds-stepper.types.ts +11 -1
- package/src/components/ds-stepper/hooks/use-stepper.ts +3 -1
- package/src/components/ds-stepper/hooks/use-steps.ts +3 -2
- package/src/components/ds-stepper/index.tsx +4 -4
- package/src/styles/_mixin.scss +1 -0
- package/src/styles/mixins/_disabled.scss +18 -0
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
//#region src/components/ds-panel/ds-panel.module.scss
|
|
2
2
|
var ds_panel_module_default = {
|
|
3
|
-
"root": "
|
|
4
|
-
"variantFloating": "
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
3
|
+
"root": "_root_1g6rb_1",
|
|
4
|
+
"variantFloating": "_variantFloating_1g6rb_1",
|
|
5
|
+
"dragging": "_dragging_1g6rb_1",
|
|
6
|
+
"disablePadding": "_disablePadding_1g6rb_1",
|
|
7
|
+
"trigger": "_trigger_1g6rb_1",
|
|
8
|
+
"triggerCollapsed": "_triggerCollapsed_1g6rb_1",
|
|
9
|
+
"variantDocked": "_variantDocked_1g6rb_1"
|
|
9
10
|
};
|
|
10
11
|
|
|
11
12
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ds-panel.module.js","names":[],"sources":["../../../src/components/ds-panel/ds-panel.module.scss"],"sourcesContent":[".root {\n\tposition: relative;\n\tbackground: var(--white);\n\tpadding: var(--spacing-6);\n\twidth: 340px;\n\tborder-inline-end: 1px solid transparent;\n\n\t&[data-state='open']:hover,\n\t&[data-state='open']:focus-within {\n\t\tborder-color: var(--color-border);\n\t}\n\n\t&[data-state='closed'] {\n\t\tdisplay: none;\n\t}\n\n\t&.variantFloating {\n\t\tposition: absolute;\n\t\tinset-inline-start: var(--spacing-3);\n\t\ttop: var(--spacing-3);\n\t\tborder: none;\n\t\tborder-radius: var(--spacing-2);\n\t\tfilter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.22));\n\t}\n\n\t&.disablePadding {\n\t\tpadding: 0;\n\t}\n}\n\n.trigger {\n\t--size: 28px;\n\n\tposition: absolute;\n\tcursor: pointer;\n\tuser-select: none;\n\tdisplay: none;\n\theight: var(--size);\n\twidth: var(--size);\n\tpadding: 1px;\n\tborder: 1px solid var(--color-border-secondary);\n\tborder-radius: 100%;\n\tbackground: var(--white);\n\tcolor: var(--color-icon-secondary);\n\ttop: var(--spacing-6);\n\tinset-inline-start: 100%;\n\tmargin-inline-start: calc(var(--size) / -2);\n\n\t&[data-state='closed'],\n\t&.triggerCollapsed {\n\t\trotate: y 180deg;\n\t}\n\n\t.root:hover &,\n\t.root:focus-within & {\n\t\tdisplay: flex;\n\t}\n\n\t&:hover,\n\t&:focus {\n\t\tcolor: var(--color-icon-primary);\n\t\tborder-color: var(--color-border-action-primary);\n\t\toutline: none;\n\t\tbackground: var(--color-background-action-tertiary);\n\n\t\t.root:has(&) {\n\t\t\tborder-color: var(--color-border-action-primary);\n\n\t\t\t// Add an inset single-sided border on hover without affecting the layout.\n\t\t\t&.variantDocked[data-state='open']::before {\n\t\t\t\tcontent: '';\n\t\t\t\tdisplay: block;\n\t\t\t\tposition: absolute;\n\t\t\t\theight: 100%;\n\t\t\t\twidth: 1px;\n\t\t\t\ttop: 0;\n\t\t\t\tinset-inline-end: 0;\n\t\t\t\tbackground: var(--color-border-action-primary);\n\t\t\t\tpointer-events: none;\n\t\t\t}\n\t\t}\n\t}\n\n\t// Increase surface size for better clickability.\n\t&::after {\n\t\tcontent: '';\n\t\tposition: absolute;\n\t\tinset: calc(-1 * var(--spacing-1));\n\t}\n\n\t.root.variantFloating & {\n\t\ttop: 50%;\n\t\ttransform: translateY(-50%);\n\t}\n}\n"],"mappings":""}
|
|
1
|
+
{"version":3,"file":"ds-panel.module.js","names":[],"sources":["../../../src/components/ds-panel/ds-panel.module.scss"],"sourcesContent":[".root {\n\tposition: relative;\n\tbackground: var(--white);\n\tpadding: var(--spacing-6);\n\twidth: 340px;\n\tborder-inline-end: 1px solid transparent;\n\n\t&[data-state='open']:hover,\n\t&[data-state='open']:focus-within {\n\t\tborder-color: var(--color-border);\n\t}\n\n\t&[data-state='closed'] {\n\t\tdisplay: none;\n\t}\n\n\t&.variantFloating {\n\t\tposition: absolute;\n\t\tinset-inline-start: var(--spacing-3);\n\t\ttop: var(--spacing-3);\n\t\tborder: none;\n\t\tborder-radius: var(--spacing-2);\n\t\tfilter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.22));\n\t}\n\n\t&.dragging {\n\t\tcursor: grabbing;\n\t\tuser-select: none;\n\t}\n\n\t&.disablePadding {\n\t\tpadding: 0;\n\t}\n}\n\n.trigger {\n\t--size: 28px;\n\n\tposition: absolute;\n\tcursor: pointer;\n\tuser-select: none;\n\tdisplay: none;\n\theight: var(--size);\n\twidth: var(--size);\n\tpadding: 1px;\n\tborder: 1px solid var(--color-border-secondary);\n\tborder-radius: 100%;\n\tbackground: var(--white);\n\tcolor: var(--color-icon-secondary);\n\ttop: var(--spacing-6);\n\tinset-inline-start: 100%;\n\tmargin-inline-start: calc(var(--size) / -2);\n\n\t&[data-state='closed'],\n\t&.triggerCollapsed {\n\t\trotate: y 180deg;\n\t}\n\n\t.root:hover &,\n\t.root:focus-within & {\n\t\tdisplay: flex;\n\t}\n\n\t&:hover,\n\t&:focus {\n\t\tcolor: var(--color-icon-primary);\n\t\tborder-color: var(--color-border-action-primary);\n\t\toutline: none;\n\t\tbackground: var(--color-background-action-tertiary);\n\n\t\t.root:has(&) {\n\t\t\tborder-color: var(--color-border-action-primary);\n\n\t\t\t// Add an inset single-sided border on hover without affecting the layout.\n\t\t\t&.variantDocked[data-state='open']::before {\n\t\t\t\tcontent: '';\n\t\t\t\tdisplay: block;\n\t\t\t\tposition: absolute;\n\t\t\t\theight: 100%;\n\t\t\t\twidth: 1px;\n\t\t\t\ttop: 0;\n\t\t\t\tinset-inline-end: 0;\n\t\t\t\tbackground: var(--color-border-action-primary);\n\t\t\t\tpointer-events: none;\n\t\t\t}\n\t\t}\n\t}\n\n\t// Increase surface size for better clickability.\n\t&::after {\n\t\tcontent: '';\n\t\tposition: absolute;\n\t\tinset: calc(-1 * var(--spacing-1));\n\t}\n\n\t.root.variantFloating & {\n\t\tz-index: 1;\n\t\ttop: 50%;\n\t\ttransform: translateY(-50%);\n\t}\n}\n"],"mappings":""}
|
|
@@ -4,6 +4,7 @@ import * as Collapsible from "@radix-ui/react-collapsible";
|
|
|
4
4
|
type DsPanelVariant = 'docked' | 'floating';
|
|
5
5
|
type DsPanelProps = Omit<Collapsible.CollapsibleProps, 'onOpenChange'> & {
|
|
6
6
|
variant?: DsPanelVariant;
|
|
7
|
+
draggable?: boolean;
|
|
7
8
|
disablePadding?: boolean;
|
|
8
9
|
slotProps?: {
|
|
9
10
|
collapseButton?: DsPanelCollapseButtonProps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ds-panel.types.d.cts","names":[],"sources":["../../../src/components/ds-panel/ds-panel.types.ts"],"sourcesContent":[],"mappings":";;;KAEY,cAAA;KAEA,YAAA,GAAe,KAAK,WAAA,CAAY;EAFhC,OAAA,CAAA,EAGD,cAHe;EAEd,
|
|
1
|
+
{"version":3,"file":"ds-panel.types.d.cts","names":[],"sources":["../../../src/components/ds-panel/ds-panel.types.ts"],"sourcesContent":[],"mappings":";;;KAEY,cAAA;KAEA,YAAA,GAAe,KAAK,WAAA,CAAY;EAFhC,OAAA,CAAA,EAGD,cAHe;EAEd,SAAA,CAAA,EAAA,OAAY;EAAQ,cAAY,CAAA,EAAA,OAAA;EAAjB,SAAA,CAAA,EAAA;IAChB,cAAA,CAAA,EAIQ,0BAJR;EAIQ,CAAA;EAA0B,YAAA,CAAA,EAAA,CAAA,IAAA,EAAA,OAAA,EAAA,GAAA,IAAA;AAK7C,CAAA;KAAY,0BAAA"}
|
|
@@ -4,6 +4,7 @@ import * as Collapsible from "@radix-ui/react-collapsible";
|
|
|
4
4
|
type DsPanelVariant = 'docked' | 'floating';
|
|
5
5
|
type DsPanelProps = Omit<Collapsible.CollapsibleProps, 'onOpenChange'> & {
|
|
6
6
|
variant?: DsPanelVariant;
|
|
7
|
+
draggable?: boolean;
|
|
7
8
|
disablePadding?: boolean;
|
|
8
9
|
slotProps?: {
|
|
9
10
|
collapseButton?: DsPanelCollapseButtonProps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ds-panel.types.d.ts","names":[],"sources":["../../../src/components/ds-panel/ds-panel.types.ts"],"sourcesContent":[],"mappings":";;;KAEY,cAAA;KAEA,YAAA,GAAe,KAAK,WAAA,CAAY;EAFhC,OAAA,CAAA,EAGD,cAHe;EAEd,
|
|
1
|
+
{"version":3,"file":"ds-panel.types.d.ts","names":[],"sources":["../../../src/components/ds-panel/ds-panel.types.ts"],"sourcesContent":[],"mappings":";;;KAEY,cAAA;KAEA,YAAA,GAAe,KAAK,WAAA,CAAY;EAFhC,OAAA,CAAA,EAGD,cAHe;EAEd,SAAA,CAAA,EAAA,OAAY;EAAQ,cAAY,CAAA,EAAA,OAAA;EAAjB,SAAA,CAAA,EAAA;IAChB,cAAA,CAAA,EAIQ,0BAJR;EAIQ,CAAA;EAA0B,YAAA,CAAA,EAAA,CAAA,IAAA,EAAA,OAAA,EAAA,GAAA,IAAA;AAK7C,CAAA;KAAY,0BAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DsSelectProps } from "./ds-select.types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime43 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ds-select/ds-select.d.ts
|
|
5
5
|
declare const DsSelect: ({
|
|
@@ -15,7 +15,7 @@ declare const DsSelect: ({
|
|
|
15
15
|
placeholder,
|
|
16
16
|
disabled,
|
|
17
17
|
...multiselectProps
|
|
18
|
-
}: DsSelectProps) =>
|
|
18
|
+
}: DsSelectProps) => react_jsx_runtime43.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { DsSelect };
|
|
21
21
|
//# sourceMappingURL=ds-select.d.cts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DsSelectProps } from "./ds-select.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime59 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ds-select/ds-select.d.ts
|
|
5
5
|
declare const DsSelect: ({
|
|
@@ -15,7 +15,7 @@ declare const DsSelect: ({
|
|
|
15
15
|
placeholder,
|
|
16
16
|
disabled,
|
|
17
17
|
...multiselectProps
|
|
18
|
-
}: DsSelectProps) =>
|
|
18
|
+
}: DsSelectProps) => react_jsx_runtime59.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { DsSelect };
|
|
21
21
|
//# sourceMappingURL=ds-select.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DsSkeletonCircleProps } from "./ds-skeleton.types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime50 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ds-skeleton/ds-skeleton-circle.d.ts
|
|
5
5
|
|
|
@@ -12,7 +12,7 @@ declare const DsSkeletonCircle: ({
|
|
|
12
12
|
color,
|
|
13
13
|
className,
|
|
14
14
|
style
|
|
15
|
-
}: DsSkeletonCircleProps) =>
|
|
15
|
+
}: DsSkeletonCircleProps) => react_jsx_runtime50.JSX.Element;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { DsSkeletonCircle };
|
|
18
18
|
//# sourceMappingURL=ds-skeleton-circle.d.cts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DsSkeletonRectProps } from "./ds-skeleton.types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime45 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ds-skeleton/ds-skeleton-rect.d.ts
|
|
5
5
|
/**
|
|
@@ -12,7 +12,7 @@ declare const DsSkeletonRect: ({
|
|
|
12
12
|
color,
|
|
13
13
|
className,
|
|
14
14
|
style
|
|
15
|
-
}: DsSkeletonRectProps) =>
|
|
15
|
+
}: DsSkeletonRectProps) => react_jsx_runtime45.JSX.Element;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { DsSkeletonRect };
|
|
18
18
|
//# sourceMappingURL=ds-skeleton-rect.d.cts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DsSkeletonTextProps } from "./ds-skeleton.types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime46 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ds-skeleton/ds-skeleton-text.d.ts
|
|
5
5
|
|
|
@@ -15,7 +15,7 @@ declare const DsSkeletonText: ({
|
|
|
15
15
|
radius,
|
|
16
16
|
className,
|
|
17
17
|
style
|
|
18
|
-
}: DsSkeletonTextProps) =>
|
|
18
|
+
}: DsSkeletonTextProps) => react_jsx_runtime46.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { DsSkeletonText };
|
|
21
21
|
//# sourceMappingURL=ds-skeleton-text.d.cts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DsSkeletonCircleProps, DsSkeletonRectProps, DsSkeletonTextProps } from "./ds-skeleton.types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime47 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ds-skeleton/ds-skeleton.d.ts
|
|
5
5
|
declare const _default: {
|
|
@@ -11,13 +11,13 @@ declare const _default: {
|
|
|
11
11
|
radius,
|
|
12
12
|
className,
|
|
13
13
|
style
|
|
14
|
-
}: DsSkeletonTextProps) =>
|
|
14
|
+
}: DsSkeletonTextProps) => react_jsx_runtime47.JSX.Element;
|
|
15
15
|
Circle: ({
|
|
16
16
|
size,
|
|
17
17
|
color,
|
|
18
18
|
className,
|
|
19
19
|
style
|
|
20
|
-
}: DsSkeletonCircleProps) =>
|
|
20
|
+
}: DsSkeletonCircleProps) => react_jsx_runtime47.JSX.Element;
|
|
21
21
|
Rect: ({
|
|
22
22
|
width,
|
|
23
23
|
height,
|
|
@@ -25,7 +25,7 @@ declare const _default: {
|
|
|
25
25
|
color,
|
|
26
26
|
className,
|
|
27
27
|
style
|
|
28
|
-
}: DsSkeletonRectProps) =>
|
|
28
|
+
}: DsSkeletonRectProps) => react_jsx_runtime47.JSX.Element;
|
|
29
29
|
};
|
|
30
30
|
//#endregion
|
|
31
31
|
export { _default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DsSmartTabProps, DsSmartTabsProps } from "./ds-smart-tabs.types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime44 from "react/jsx-runtime";
|
|
3
3
|
import React from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ds-smart-tabs/ds-smart-tabs.d.ts
|
|
@@ -14,7 +14,7 @@ declare const DsSmartTabs: {
|
|
|
14
14
|
style,
|
|
15
15
|
children,
|
|
16
16
|
...props
|
|
17
|
-
}: DsSmartTabsProps):
|
|
17
|
+
}: DsSmartTabsProps): react_jsx_runtime44.JSX.Element;
|
|
18
18
|
Tab: React.FC<DsSmartTabProps>;
|
|
19
19
|
};
|
|
20
20
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DsSmartTabProps, DsSmartTabsProps } from "./ds-smart-tabs.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime24 from "react/jsx-runtime";
|
|
3
3
|
import React from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ds-smart-tabs/ds-smart-tabs.d.ts
|
|
@@ -14,7 +14,7 @@ declare const DsSmartTabs: {
|
|
|
14
14
|
style,
|
|
15
15
|
children,
|
|
16
16
|
...props
|
|
17
|
-
}: DsSmartTabsProps):
|
|
17
|
+
}: DsSmartTabsProps): react_jsx_runtime24.JSX.Element;
|
|
18
18
|
Tab: React.FC<DsSmartTabProps>;
|
|
19
19
|
};
|
|
20
20
|
//#endregion
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
const require_ds_stepper_module = require('../ds-stepper.module.cjs');
|
|
3
3
|
const require_use_stepper = require('../hooks/use-stepper.cjs');
|
|
4
|
+
const require_ds_step_separator = require('./ds-step-separator.cjs');
|
|
4
5
|
const require_ds_step_label = require('./ds-step-label.cjs');
|
|
5
6
|
const require_ds_step_description = require('./ds-step-description.cjs');
|
|
6
7
|
let react_compiler_runtime = require("react/compiler-runtime");
|
|
@@ -10,9 +11,9 @@ let react_jsx_runtime = require("react/jsx-runtime");
|
|
|
10
11
|
|
|
11
12
|
//#region src/components/ds-stepper/components/ds-step-content.tsx
|
|
12
13
|
function DsStepContent(t0) {
|
|
13
|
-
const $ = (0, react_compiler_runtime.c)(
|
|
14
|
+
const $ = (0, react_compiler_runtime.c)(16);
|
|
14
15
|
const { index, label, description, actions } = t0;
|
|
15
|
-
const { variant, stepsApi } = require_use_stepper.useStepper();
|
|
16
|
+
const { variant, orientation, stepsApi } = require_use_stepper.useStepper();
|
|
16
17
|
let t1;
|
|
17
18
|
if ($[0] !== index || $[1] !== stepsApi) {
|
|
18
19
|
t1 = stepsApi.getItemState({ index });
|
|
@@ -21,6 +22,8 @@ function DsStepContent(t0) {
|
|
|
21
22
|
$[2] = t1;
|
|
22
23
|
} else t1 = $[2];
|
|
23
24
|
const { current } = t1;
|
|
25
|
+
const isHorizontal = orientation === "horizontal";
|
|
26
|
+
const showDescription = variant !== "single" && description;
|
|
24
27
|
const t2 = variant === "single";
|
|
25
28
|
let t3;
|
|
26
29
|
if ($[3] !== t2) {
|
|
@@ -29,45 +32,38 @@ function DsStepContent(t0) {
|
|
|
29
32
|
$[4] = t3;
|
|
30
33
|
} else t3 = $[4];
|
|
31
34
|
let t4;
|
|
32
|
-
if ($[5] !== label) {
|
|
33
|
-
t4 = /* @__PURE__ */ (0, react_jsx_runtime.
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
35
|
+
if ($[5] !== actions || $[6] !== current || $[7] !== description || $[8] !== index || $[9] !== isHorizontal || $[10] !== label || $[11] !== showDescription) {
|
|
36
|
+
t4 = isHorizontal ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
37
|
+
className: require_ds_stepper_module.default.stepLabelRow,
|
|
38
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ds_step_label.DsStepLabel, { children: label }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ds_step_separator.DsStepSeparator, { index })]
|
|
39
|
+
}), showDescription && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ds_step_description.DsStepDescription, { children: description })] }) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
40
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ds_step_label.DsStepLabel, { children: label }),
|
|
41
|
+
showDescription && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ds_step_description.DsStepDescription, { children: description }),
|
|
42
|
+
actions && current && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
43
|
+
className: require_ds_stepper_module.default.stepActions,
|
|
44
|
+
children: actions
|
|
45
|
+
})
|
|
46
|
+
] });
|
|
47
|
+
$[5] = actions;
|
|
48
|
+
$[6] = current;
|
|
40
49
|
$[7] = description;
|
|
41
|
-
$[8] =
|
|
42
|
-
$[9] =
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
$[10] = actions;
|
|
51
|
-
$[11] = current;
|
|
52
|
-
$[12] = t6;
|
|
53
|
-
} else t6 = $[12];
|
|
54
|
-
let t7;
|
|
55
|
-
if ($[13] !== t3 || $[14] !== t4 || $[15] !== t5 || $[16] !== t6) {
|
|
56
|
-
t7 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
50
|
+
$[8] = index;
|
|
51
|
+
$[9] = isHorizontal;
|
|
52
|
+
$[10] = label;
|
|
53
|
+
$[11] = showDescription;
|
|
54
|
+
$[12] = t4;
|
|
55
|
+
} else t4 = $[12];
|
|
56
|
+
let t5;
|
|
57
|
+
if ($[13] !== t3 || $[14] !== t4) {
|
|
58
|
+
t5 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
57
59
|
className: t3,
|
|
58
|
-
children:
|
|
59
|
-
t4,
|
|
60
|
-
t5,
|
|
61
|
-
t6
|
|
62
|
-
]
|
|
60
|
+
children: t4
|
|
63
61
|
});
|
|
64
62
|
$[13] = t3;
|
|
65
63
|
$[14] = t4;
|
|
66
64
|
$[15] = t5;
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} else t7 = $[17];
|
|
70
|
-
return t7;
|
|
65
|
+
} else t5 = $[15];
|
|
66
|
+
return t5;
|
|
71
67
|
}
|
|
72
68
|
|
|
73
69
|
//#endregion
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime57 from "react/jsx-runtime";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ds-stepper/components/ds-step-content.d.ts
|
|
5
5
|
type DsStepContentProps = {
|
|
6
6
|
index: number;
|
|
7
|
-
label:
|
|
8
|
-
description?:
|
|
7
|
+
label: ReactNode;
|
|
8
|
+
description?: ReactNode;
|
|
9
9
|
actions?: ReactNode;
|
|
10
10
|
};
|
|
11
11
|
declare function DsStepContent({
|
|
@@ -13,7 +13,7 @@ declare function DsStepContent({
|
|
|
13
13
|
label,
|
|
14
14
|
description,
|
|
15
15
|
actions
|
|
16
|
-
}: DsStepContentProps):
|
|
16
|
+
}: DsStepContentProps): react_jsx_runtime57.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
|
-
export { DsStepContent };
|
|
18
|
+
export { DsStepContent, DsStepContentProps };
|
|
19
19
|
//# sourceMappingURL=ds-step-content.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ds-step-content.d.cts","names":[],"sources":["../../../../src/components/ds-stepper/components/ds-step-content.tsx"],"sourcesContent":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"ds-step-content.d.cts","names":[],"sources":["../../../../src/components/ds-stepper/components/ds-step-content.tsx"],"sourcesContent":[],"mappings":";;;;KAQY,kBAAA;;SAEJ;EAFI,WAAA,CAAA,EAGG,SAHe;EAEtB,OAAA,CAAA,EAEG,SAFH;CACO;AACJ,iBAGK,aAAA,CAHL;EAAA,KAAA;EAAA,KAAA;EAAA,WAAA;EAAA;AAAA,CAAA,EAG2D,kBAH3D,CAAA,EAG6E,mBAAA,CAAA,GAAA,CAAA,OAH7E"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime50 from "react/jsx-runtime";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ds-stepper/components/ds-step-content.d.ts
|
|
5
5
|
type DsStepContentProps = {
|
|
6
6
|
index: number;
|
|
7
|
-
label:
|
|
8
|
-
description?:
|
|
7
|
+
label: ReactNode;
|
|
8
|
+
description?: ReactNode;
|
|
9
9
|
actions?: ReactNode;
|
|
10
10
|
};
|
|
11
11
|
declare function DsStepContent({
|
|
@@ -13,7 +13,7 @@ declare function DsStepContent({
|
|
|
13
13
|
label,
|
|
14
14
|
description,
|
|
15
15
|
actions
|
|
16
|
-
}: DsStepContentProps):
|
|
16
|
+
}: DsStepContentProps): react_jsx_runtime50.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
|
-
export { DsStepContent };
|
|
18
|
+
export { DsStepContent, DsStepContentProps };
|
|
19
19
|
//# sourceMappingURL=ds-step-content.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ds-step-content.d.ts","names":[],"sources":["../../../../src/components/ds-stepper/components/ds-step-content.tsx"],"sourcesContent":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"ds-step-content.d.ts","names":[],"sources":["../../../../src/components/ds-stepper/components/ds-step-content.tsx"],"sourcesContent":[],"mappings":";;;;KAQY,kBAAA;;SAEJ;EAFI,WAAA,CAAA,EAGG,SAHe;EAEtB,OAAA,CAAA,EAEG,SAFH;CACO;AACJ,iBAGK,aAAA,CAHL;EAAA,KAAA;EAAA,KAAA;EAAA,WAAA;EAAA;AAAA,CAAA,EAG2D,kBAH3D,CAAA,EAG6E,mBAAA,CAAA,GAAA,CAAA,OAH7E"}
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import ds_stepper_module_default from "../ds-stepper.module.js";
|
|
2
2
|
import { useStepper } from "../hooks/use-stepper.js";
|
|
3
|
+
import { DsStepSeparator } from "./ds-step-separator.js";
|
|
3
4
|
import { DsStepLabel } from "./ds-step-label.js";
|
|
4
5
|
import { DsStepDescription } from "./ds-step-description.js";
|
|
5
6
|
import { c } from "react/compiler-runtime";
|
|
6
7
|
import classNames from "classnames";
|
|
7
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
9
|
|
|
9
10
|
//#region src/components/ds-stepper/components/ds-step-content.tsx
|
|
10
11
|
function DsStepContent(t0) {
|
|
11
|
-
const $ = c(
|
|
12
|
+
const $ = c(16);
|
|
12
13
|
const { index, label, description, actions } = t0;
|
|
13
|
-
const { variant, stepsApi } = useStepper();
|
|
14
|
+
const { variant, orientation, stepsApi } = useStepper();
|
|
14
15
|
let t1;
|
|
15
16
|
if ($[0] !== index || $[1] !== stepsApi) {
|
|
16
17
|
t1 = stepsApi.getItemState({ index });
|
|
@@ -19,6 +20,8 @@ function DsStepContent(t0) {
|
|
|
19
20
|
$[2] = t1;
|
|
20
21
|
} else t1 = $[2];
|
|
21
22
|
const { current } = t1;
|
|
23
|
+
const isHorizontal = orientation === "horizontal";
|
|
24
|
+
const showDescription = variant !== "single" && description;
|
|
22
25
|
const t2 = variant === "single";
|
|
23
26
|
let t3;
|
|
24
27
|
if ($[3] !== t2) {
|
|
@@ -27,45 +30,38 @@ function DsStepContent(t0) {
|
|
|
27
30
|
$[4] = t3;
|
|
28
31
|
} else t3 = $[4];
|
|
29
32
|
let t4;
|
|
30
|
-
if ($[5] !== label) {
|
|
31
|
-
t4 = /* @__PURE__ */
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
if ($[5] !== actions || $[6] !== current || $[7] !== description || $[8] !== index || $[9] !== isHorizontal || $[10] !== label || $[11] !== showDescription) {
|
|
34
|
+
t4 = isHorizontal ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsxs("div", {
|
|
35
|
+
className: ds_stepper_module_default.stepLabelRow,
|
|
36
|
+
children: [/* @__PURE__ */ jsx(DsStepLabel, { children: label }), /* @__PURE__ */ jsx(DsStepSeparator, { index })]
|
|
37
|
+
}), showDescription && /* @__PURE__ */ jsx(DsStepDescription, { children: description })] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
38
|
+
/* @__PURE__ */ jsx(DsStepLabel, { children: label }),
|
|
39
|
+
showDescription && /* @__PURE__ */ jsx(DsStepDescription, { children: description }),
|
|
40
|
+
actions && current && /* @__PURE__ */ jsx("div", {
|
|
41
|
+
className: ds_stepper_module_default.stepActions,
|
|
42
|
+
children: actions
|
|
43
|
+
})
|
|
44
|
+
] });
|
|
45
|
+
$[5] = actions;
|
|
46
|
+
$[6] = current;
|
|
38
47
|
$[7] = description;
|
|
39
|
-
$[8] =
|
|
40
|
-
$[9] =
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
$[10] = actions;
|
|
49
|
-
$[11] = current;
|
|
50
|
-
$[12] = t6;
|
|
51
|
-
} else t6 = $[12];
|
|
52
|
-
let t7;
|
|
53
|
-
if ($[13] !== t3 || $[14] !== t4 || $[15] !== t5 || $[16] !== t6) {
|
|
54
|
-
t7 = /* @__PURE__ */ jsxs("div", {
|
|
48
|
+
$[8] = index;
|
|
49
|
+
$[9] = isHorizontal;
|
|
50
|
+
$[10] = label;
|
|
51
|
+
$[11] = showDescription;
|
|
52
|
+
$[12] = t4;
|
|
53
|
+
} else t4 = $[12];
|
|
54
|
+
let t5;
|
|
55
|
+
if ($[13] !== t3 || $[14] !== t4) {
|
|
56
|
+
t5 = /* @__PURE__ */ jsx("div", {
|
|
55
57
|
className: t3,
|
|
56
|
-
children:
|
|
57
|
-
t4,
|
|
58
|
-
t5,
|
|
59
|
-
t6
|
|
60
|
-
]
|
|
58
|
+
children: t4
|
|
61
59
|
});
|
|
62
60
|
$[13] = t3;
|
|
63
61
|
$[14] = t4;
|
|
64
62
|
$[15] = t5;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} else t7 = $[17];
|
|
68
|
-
return t7;
|
|
63
|
+
} else t5 = $[15];
|
|
64
|
+
return t5;
|
|
69
65
|
}
|
|
70
66
|
|
|
71
67
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ds-step-content.js","names":["ReactNode","useStepper","DsStepLabel","DsStepDescription","classnames","styles","DsStepContentProps","index","label","description","actions","DsStepContent","t0","$","_c","variant","stepsApi","t1","getItemState","current","t2","t3","stepContent","stepContentSingle","t4","
|
|
1
|
+
{"version":3,"file":"ds-step-content.js","names":["ReactNode","useStepper","DsStepLabel","DsStepDescription","DsStepSeparator","classnames","styles","DsStepContentProps","index","label","description","actions","DsStepContent","t0","$","_c","variant","orientation","stepsApi","t1","getItemState","current","isHorizontal","showDescription","t2","t3","stepContent","stepContentSingle","t4","stepLabelRow","stepActions","t5"],"sources":["../../../../src/components/ds-stepper/components/ds-step-content.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport { useStepper } from '../hooks/use-stepper';\nimport { DsStepLabel } from './ds-step-label';\nimport { DsStepDescription } from './ds-step-description';\nimport { DsStepSeparator } from './ds-step-separator';\nimport classnames from 'classnames';\nimport styles from '../ds-stepper.module.scss';\n\nexport type DsStepContentProps = {\n\tindex: number;\n\tlabel: ReactNode;\n\tdescription?: ReactNode;\n\tactions?: ReactNode;\n};\n\nexport function DsStepContent({ index, label, description, actions }: DsStepContentProps) {\n\tconst { variant, orientation, stepsApi } = useStepper();\n\tconst { current } = stepsApi.getItemState({ index });\n\n\tconst isHorizontal = orientation === 'horizontal';\n\tconst showDescription = variant !== 'single' && description;\n\n\treturn (\n\t\t<div\n\t\t\tclassName={classnames(styles.stepContent, {\n\t\t\t\t[styles.stepContentSingle]: variant === 'single',\n\t\t\t})}\n\t\t>\n\t\t\t{isHorizontal ? (\n\t\t\t\t<>\n\t\t\t\t\t<div className={styles.stepLabelRow}>\n\t\t\t\t\t\t<DsStepLabel>{label}</DsStepLabel>\n\n\t\t\t\t\t\t<DsStepSeparator index={index} />\n\t\t\t\t\t</div>\n\n\t\t\t\t\t{showDescription && <DsStepDescription>{description}</DsStepDescription>}\n\t\t\t\t</>\n\t\t\t) : (\n\t\t\t\t<>\n\t\t\t\t\t<DsStepLabel>{label}</DsStepLabel>\n\n\t\t\t\t\t{showDescription && <DsStepDescription>{description}</DsStepDescription>}\n\n\t\t\t\t\t{actions && current && <div className={styles.stepActions}>{actions}</div>}\n\t\t\t\t</>\n\t\t\t)}\n\t\t</div>\n\t);\n}\n"],"mappings":";;;;;;;;;;AAeA,SAAOY,cAAAC,IAAA;CAAA,MAAAC,IAAAC,EAAA,GAAA;CAAuB,MAAA,EAAAP,OAAAC,OAAAC,aAAAC,YAAAE;CAC7B,MAAA,EAAAG,SAAAC,aAAAC,aAA2CjB,YAAY;CAAC,IAAAkB;AAAA,KAAAL,EAAA,OAAAN,SAAAM,EAAA,OAAAI,UAAA;AACpCC,OAAAD,SAAQE,aAAc,EAAAZ,OAAS,CAAC;AAAAM,IAAA,KAAAN;AAAAM,IAAA,KAAAI;AAAAJ,IAAA,KAAAK;OAAAA,MAAAL,EAAA;CAApD,MAAA,EAAAO,YAAoBF;CAEpB,MAAAG,eAAqBL,gBAAgB;CACrC,MAAAM,kBAAwBP,YAAY,YAAZN;CAKO,MAAAc,KAAAR,YAAY;CAAQ,IAAAS;AAAA,KAAAX,EAAA,OAAAU,IAAA;AADtCC,OAAApB,WAAWC,0BAAMoB,aAAc,GACxCpB,0BAAMqB,oBAAqBH,IAC5B,CAAC;AAAAV,IAAA,KAAAU;AAAAV,IAAA,KAAAW;OAAAA,MAAAX,EAAA;CAAA,IAAAc;AAAA,KAAAd,EAAA,OAAAH,WAAAG,EAAA,OAAAO,WAAAP,EAAA,OAAAJ,eAAAI,EAAA,OAAAN,SAAAM,EAAA,OAAAQ,gBAAAR,EAAA,QAAAL,SAAAK,EAAA,QAAAS,iBAAA;AAEDK,OAAAN,eAAA,4CAEC,qBAAA;GAAgB,WAAAhB,0BAAMuB;cACrB,oBAAC,yBAAapB,QAEd,sBAAC,mBAAuBD,QACzB;IAEC,EAAAe,mBAAmB,oBAAC,+BAAmBb,cAA+B,IAUxE,GAlBA;GAYC,oBAAC,yBAAaD,QAEb;GAAAc,mBAAmB,oBAAC,+BAAmBb,cAA+B;GAEtEC,WAAAU,WAAsB,oBAAA;IAAgB,WAAAf,0BAAMwB;cAAenB;KAAa;MAE1E;AAAAG,IAAA,KAAAH;AAAAG,IAAA,KAAAO;AAAAP,IAAA,KAAAJ;AAAAI,IAAA,KAAAN;AAAAM,IAAA,KAAAQ;AAAAR,IAAA,MAAAL;AAAAK,IAAA,MAAAS;AAAAT,IAAA,MAAAc;OAAAA,MAAAd,EAAA;CAAA,IAAAiB;AAAA,KAAAjB,EAAA,QAAAW,MAAAX,EAAA,QAAAc,IAAA;AAvBFG,OAAA,oBAAA;GACY,WAAAN;aAIVG;IAmBI;AAAAd,IAAA,MAAAW;AAAAX,IAAA,MAAAc;AAAAd,IAAA,MAAAiB;OAAAA,MAAAjB,EAAA;AAAA,QAxBNiB"}
|
|
@@ -6,27 +6,44 @@ let react_jsx_runtime = require("react/jsx-runtime");
|
|
|
6
6
|
|
|
7
7
|
//#region src/components/ds-stepper/components/ds-step-next-button.tsx
|
|
8
8
|
function DsNextStepButton(t0) {
|
|
9
|
-
const $ = (0, react_compiler_runtime.c)(
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
const $ = (0, react_compiler_runtime.c)(11);
|
|
10
|
+
let children;
|
|
11
|
+
let rest;
|
|
12
12
|
let t1;
|
|
13
|
-
if ($[0] !==
|
|
14
|
-
t1 =
|
|
15
|
-
$[0] =
|
|
16
|
-
$[1] =
|
|
17
|
-
|
|
13
|
+
if ($[0] !== t0) {
|
|
14
|
+
({children, size: t1, ...rest} = t0);
|
|
15
|
+
$[0] = t0;
|
|
16
|
+
$[1] = children;
|
|
17
|
+
$[2] = rest;
|
|
18
|
+
$[3] = t1;
|
|
19
|
+
} else {
|
|
20
|
+
children = $[1];
|
|
21
|
+
rest = $[2];
|
|
22
|
+
t1 = $[3];
|
|
23
|
+
}
|
|
24
|
+
const size = t1 === void 0 ? "small" : t1;
|
|
25
|
+
const context = require_use_stepper.useStepper();
|
|
18
26
|
let t2;
|
|
19
|
-
if ($[
|
|
20
|
-
t2 =
|
|
21
|
-
|
|
22
|
-
|
|
27
|
+
if ($[4] !== context.stepsApi) {
|
|
28
|
+
t2 = context.stepsApi.getNextTriggerProps();
|
|
29
|
+
$[4] = context.stepsApi;
|
|
30
|
+
$[5] = t2;
|
|
31
|
+
} else t2 = $[5];
|
|
32
|
+
let t3;
|
|
33
|
+
if ($[6] !== children || $[7] !== rest || $[8] !== size || $[9] !== t2) {
|
|
34
|
+
t3 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ds_button.default, {
|
|
35
|
+
...t2,
|
|
36
|
+
size,
|
|
37
|
+
...rest,
|
|
23
38
|
children
|
|
24
39
|
});
|
|
25
|
-
$[
|
|
26
|
-
$[
|
|
27
|
-
$[
|
|
28
|
-
|
|
29
|
-
|
|
40
|
+
$[6] = children;
|
|
41
|
+
$[7] = rest;
|
|
42
|
+
$[8] = size;
|
|
43
|
+
$[9] = t2;
|
|
44
|
+
$[10] = t3;
|
|
45
|
+
} else t3 = $[10];
|
|
46
|
+
return t3;
|
|
30
47
|
}
|
|
31
48
|
|
|
32
49
|
//#endregion
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { DsButtonProps } from "../../ds-button/versions/ds-button-legacy/ds-button-legacy.types.cjs";
|
|
2
|
+
import * as react_jsx_runtime58 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ds-stepper/components/ds-step-next-button.d.ts
|
|
5
|
+
type DsNextStepButtonProps = Pick<DsButtonProps, 'variant' | 'size' | 'className' | 'style' | 'children'>;
|
|
5
6
|
declare function DsNextStepButton({
|
|
6
|
-
children
|
|
7
|
-
|
|
7
|
+
children,
|
|
8
|
+
size,
|
|
9
|
+
...rest
|
|
10
|
+
}: DsNextStepButtonProps): react_jsx_runtime58.JSX.Element;
|
|
8
11
|
//#endregion
|
|
9
|
-
export { DsNextStepButton };
|
|
12
|
+
export { DsNextStepButton, DsNextStepButtonProps };
|
|
10
13
|
//# sourceMappingURL=ds-step-next-button.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ds-step-next-button.d.cts","names":[],"sources":["../../../../src/components/ds-stepper/components/ds-step-next-button.tsx"],"sourcesContent":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"ds-step-next-button.d.cts","names":[],"sources":["../../../../src/components/ds-stepper/components/ds-step-next-button.tsx"],"sourcesContent":[],"mappings":";;;;KAIY,qBAAA,GAAwB,KACnC;iBAIe,gBAAA;;;;GAAwD,wBAAqB,mBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { DsButtonProps } from "../../ds-button/versions/ds-button-legacy/ds-button-legacy.types.js";
|
|
2
|
+
import "../../ds-button/versions/ds-button-legacy/index.js";
|
|
3
|
+
import * as react_jsx_runtime51 from "react/jsx-runtime";
|
|
3
4
|
|
|
4
5
|
//#region src/components/ds-stepper/components/ds-step-next-button.d.ts
|
|
6
|
+
type DsNextStepButtonProps = Pick<DsButtonProps, 'variant' | 'size' | 'className' | 'style' | 'children'>;
|
|
5
7
|
declare function DsNextStepButton({
|
|
6
|
-
children
|
|
7
|
-
|
|
8
|
+
children,
|
|
9
|
+
size,
|
|
10
|
+
...rest
|
|
11
|
+
}: DsNextStepButtonProps): react_jsx_runtime51.JSX.Element;
|
|
8
12
|
//#endregion
|
|
9
|
-
export { DsNextStepButton };
|
|
13
|
+
export { DsNextStepButton, DsNextStepButtonProps };
|
|
10
14
|
//# sourceMappingURL=ds-step-next-button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ds-step-next-button.d.ts","names":[],"sources":["../../../../src/components/ds-stepper/components/ds-step-next-button.tsx"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ds-step-next-button.d.ts","names":[],"sources":["../../../../src/components/ds-stepper/components/ds-step-next-button.tsx"],"sourcesContent":[],"mappings":";;;;;KAIY,qBAAA,GAAwB,KACnC;iBAIe,gBAAA;;;;GAAwD,wBAAqB,mBAAA,CAAA,GAAA,CAAA"}
|