@pareto-engineering/design-system 4.0.0-alpha.61 → 4.0.0-alpha.62
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/dist/cjs/a/TextSteps/TextSteps.js +4 -4
- package/dist/cjs/a/TextSteps/styles.scss +1 -1
- package/dist/es/a/TextSteps/TextSteps.js +4 -4
- package/dist/es/a/TextSteps/styles.scss +1 -1
- package/package.json +2 -2
- package/src/ui/a/TextSteps/TextSteps.jsx +4 -4
- package/src/ui/a/TextSteps/styles.scss +1 -1
- package/tests/__snapshots__/Storyshots.test.js.snap +1 -1
|
@@ -14,12 +14,12 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
14
14
|
// Local Definitions
|
|
15
15
|
|
|
16
16
|
const baseClassName = _exports.default.base;
|
|
17
|
-
const componentClassName = 'steps';
|
|
17
|
+
const componentClassName = 'text-steps';
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* This is the component description.
|
|
21
21
|
*/
|
|
22
|
-
const
|
|
22
|
+
const TextSteps = _ref => {
|
|
23
23
|
let {
|
|
24
24
|
id,
|
|
25
25
|
className: userClassName,
|
|
@@ -39,7 +39,7 @@ const Steps = _ref => {
|
|
|
39
39
|
className: " description"
|
|
40
40
|
}, /*#__PURE__*/React.createElement("p", null, item)))));
|
|
41
41
|
};
|
|
42
|
-
|
|
42
|
+
TextSteps.propTypes = {
|
|
43
43
|
/**
|
|
44
44
|
* The HTML id for this element
|
|
45
45
|
*/
|
|
@@ -64,4 +64,4 @@ Steps.propTypes = {
|
|
|
64
64
|
*/
|
|
65
65
|
title: _propTypes.default.string
|
|
66
66
|
};
|
|
67
|
-
var _default = exports.default =
|
|
67
|
+
var _default = exports.default = TextSteps;
|
|
@@ -6,12 +6,12 @@ import "./styles.scss";
|
|
|
6
6
|
// Local Definitions
|
|
7
7
|
|
|
8
8
|
const baseClassName = styleNames.base;
|
|
9
|
-
const componentClassName = 'steps';
|
|
9
|
+
const componentClassName = 'text-steps';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* This is the component description.
|
|
13
13
|
*/
|
|
14
|
-
const
|
|
14
|
+
const TextSteps = ({
|
|
15
15
|
id,
|
|
16
16
|
className: userClassName,
|
|
17
17
|
style,
|
|
@@ -28,7 +28,7 @@ const Steps = ({
|
|
|
28
28
|
}, /*#__PURE__*/React.createElement("p", null, i + 1)), /*#__PURE__*/React.createElement("div", {
|
|
29
29
|
className: " description"
|
|
30
30
|
}, /*#__PURE__*/React.createElement("p", null, item)))));
|
|
31
|
-
|
|
31
|
+
TextSteps.propTypes = {
|
|
32
32
|
/**
|
|
33
33
|
* The HTML id for this element
|
|
34
34
|
*/
|
|
@@ -53,4 +53,4 @@ Steps.propTypes = {
|
|
|
53
53
|
*/
|
|
54
54
|
title: PropTypes.string
|
|
55
55
|
};
|
|
56
|
-
export default
|
|
56
|
+
export default TextSteps;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pareto-engineering/design-system",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.62",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/es/index.js",
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"relay-test-utils": "^15.0.0"
|
|
72
72
|
},
|
|
73
73
|
"browserslist": "> 2%",
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "a400b51ffb829abc0b0ee1bc447c69e7b0723a41"
|
|
75
75
|
}
|
|
@@ -9,12 +9,12 @@ import './styles.scss'
|
|
|
9
9
|
|
|
10
10
|
const baseClassName = styleNames.base
|
|
11
11
|
|
|
12
|
-
const componentClassName = 'steps'
|
|
12
|
+
const componentClassName = 'text-steps'
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* This is the component description.
|
|
16
16
|
*/
|
|
17
|
-
const
|
|
17
|
+
const TextSteps = ({
|
|
18
18
|
id,
|
|
19
19
|
className:userClassName,
|
|
20
20
|
style,
|
|
@@ -47,7 +47,7 @@ const Steps = ({
|
|
|
47
47
|
</div>
|
|
48
48
|
)
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
TextSteps.propTypes = {
|
|
51
51
|
/**
|
|
52
52
|
* The HTML id for this element
|
|
53
53
|
*/
|
|
@@ -77,4 +77,4 @@ Steps.propTypes = {
|
|
|
77
77
|
title:PropTypes.string,
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
export default
|
|
80
|
+
export default TextSteps
|
|
@@ -3135,7 +3135,7 @@ exports[`Storyshots a/TextSteps Base 1`] = `
|
|
|
3135
3135
|
className="grid span-8 md-span-14"
|
|
3136
3136
|
>
|
|
3137
3137
|
<div
|
|
3138
|
-
className="base steps grid"
|
|
3138
|
+
className="base text-steps grid"
|
|
3139
3139
|
>
|
|
3140
3140
|
<div
|
|
3141
3141
|
className=" number h3 start-1 span-2 md-start-1 md-span-2"
|