@synerise/ds-wizard 0.9.2 → 0.9.4
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 +16 -0
- package/dist/Wizard.js +17 -20
- package/dist/onModal/onModal.js +10 -13
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.9.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-wizard@0.9.3...@synerise/ds-wizard@0.9.4) (2024-11-29)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-wizard
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [0.9.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-wizard@0.9.2...@synerise/ds-wizard@0.9.3) (2024-11-28)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @synerise/ds-wizard
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [0.9.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-wizard@0.9.1...@synerise/ds-wizard@0.9.2) (2024-11-21)
|
|
7
23
|
|
|
8
24
|
|
package/dist/Wizard.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
|
|
3
2
|
import React from 'react';
|
|
4
3
|
import classnames from 'classnames';
|
|
5
4
|
import Layout from '@synerise/ds-layout';
|
|
@@ -9,26 +8,25 @@ import Icon, { ArrowLeftCircleM } from '@synerise/ds-icon';
|
|
|
9
8
|
import { useIntl } from 'react-intl';
|
|
10
9
|
import * as S from './Wizard.styles';
|
|
11
10
|
import WizardOnModal from './onModal/onModal';
|
|
12
|
-
|
|
13
11
|
var Wizard = function Wizard(_ref) {
|
|
14
12
|
var stepper = _ref.stepper,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
13
|
+
contentWidth = _ref.contentWidth,
|
|
14
|
+
headerAction = _ref.headerAction,
|
|
15
|
+
footerAction = _ref.footerAction,
|
|
16
|
+
footer = _ref.footer,
|
|
17
|
+
footerLeft = _ref.footerLeft,
|
|
18
|
+
title = _ref.title,
|
|
19
|
+
onClose = _ref.onClose,
|
|
20
|
+
children = _ref.children,
|
|
21
|
+
onPrevStep = _ref.onPrevStep,
|
|
22
|
+
onNextStep = _ref.onNextStep,
|
|
23
|
+
stepButtonProps = _ref.stepButtonProps,
|
|
24
|
+
texts = _ref.texts,
|
|
25
|
+
visible = _ref.visible,
|
|
26
|
+
className = _ref.className,
|
|
27
|
+
navigationInFooter = _ref.navigationInFooter,
|
|
28
|
+
headerInlineEdit = _ref.headerInlineEdit,
|
|
29
|
+
headerAvatar = _ref.headerAvatar;
|
|
32
30
|
var intl = useIntl();
|
|
33
31
|
var prevButtonType = navigationInFooter ? 'secondary' : 'ghost';
|
|
34
32
|
var prevButtonProps = stepButtonProps != null && stepButtonProps.prevButtonProps ? stepButtonProps.prevButtonProps : {
|
|
@@ -72,6 +70,5 @@ var Wizard = function Wizard(_ref) {
|
|
|
72
70
|
contentWidth: contentWidth
|
|
73
71
|
}, children, !navigationInFooter && navButtons && /*#__PURE__*/React.createElement(S.WizardButtons, null, navButtons))), hasFooter && /*#__PURE__*/React.createElement(S.WizardFooter, null, (footerLeft || footer) && /*#__PURE__*/React.createElement(S.FooterLeftSide, null, footerLeft || footer), (footerAction || navigationInFooter && navButtons) && /*#__PURE__*/React.createElement(S.FooterRightSide, null, footerAction, " ", navigationInFooter && navButtons)))) : null;
|
|
74
72
|
};
|
|
75
|
-
|
|
76
73
|
Wizard.OnModal = WizardOnModal;
|
|
77
74
|
export default Wizard;
|
package/dist/onModal/onModal.js
CHANGED
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
|
|
3
2
|
import React from 'react';
|
|
4
3
|
import Modal from '@synerise/ds-modal';
|
|
5
4
|
import Button from '@synerise/ds-button';
|
|
6
5
|
import Icon, { ArrowLeftCircleM } from '@synerise/ds-icon';
|
|
7
6
|
import { useIntl } from 'react-intl';
|
|
8
7
|
import * as S from '../Wizard.styles';
|
|
9
|
-
|
|
10
8
|
var WizardOnModal = function WizardOnModal(_ref) {
|
|
11
9
|
var visible = _ref.visible,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
10
|
+
stepper = _ref.stepper,
|
|
11
|
+
headerAction = _ref.headerAction,
|
|
12
|
+
title = _ref.title,
|
|
13
|
+
onClose = _ref.onClose,
|
|
14
|
+
children = _ref.children,
|
|
15
|
+
onPrevStep = _ref.onPrevStep,
|
|
16
|
+
onNextStep = _ref.onNextStep,
|
|
17
|
+
texts = _ref.texts,
|
|
18
|
+
modalProps = _ref.modalProps,
|
|
19
|
+
stepButtonProps = _ref.stepButtonProps;
|
|
22
20
|
var intl = useIntl();
|
|
23
21
|
var prevButtonProps = stepButtonProps != null && stepButtonProps.prevButtonProps ? stepButtonProps.prevButtonProps : {
|
|
24
22
|
type: 'ghost',
|
|
@@ -48,5 +46,4 @@ var WizardOnModal = function WizardOnModal(_ref) {
|
|
|
48
46
|
})))
|
|
49
47
|
}), /*#__PURE__*/React.createElement(S.ModalWizardContent, null, children));
|
|
50
48
|
};
|
|
51
|
-
|
|
52
49
|
export default WizardOnModal;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-wizard",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.4",
|
|
4
4
|
"description": "Wizard UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
],
|
|
35
35
|
"types": "dist/index.d.ts",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@synerise/ds-button": "^0.21.
|
|
38
|
-
"@synerise/ds-icon": "^0.
|
|
39
|
-
"@synerise/ds-layout": "^0.15.
|
|
40
|
-
"@synerise/ds-modal": "^0.17.
|
|
41
|
-
"@synerise/ds-page-header": "^0.15.
|
|
37
|
+
"@synerise/ds-button": "^0.21.21",
|
|
38
|
+
"@synerise/ds-icon": "^0.68.0",
|
|
39
|
+
"@synerise/ds-layout": "^0.15.19",
|
|
40
|
+
"@synerise/ds-modal": "^0.17.53",
|
|
41
|
+
"@synerise/ds-page-header": "^0.15.45",
|
|
42
42
|
"@synerise/ds-utils": "^0.31.2",
|
|
43
43
|
"classnames": "2.3.2"
|
|
44
44
|
},
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"react-intl": ">=3.12.0 <= 6.8",
|
|
49
49
|
"styled-components": "5.0.1"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "9ebd107163650754a5f55680d62d30812d740084"
|
|
52
52
|
}
|