@dt-dds/react-stepper 1.0.0-beta.32 → 1.0.0-beta.34
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 +31 -0
- package/README.md +1 -1
- package/dist/index.js +5 -6
- package/dist/index.mjs +5 -6
- package/package.json +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# @dt-ui/react-stepper
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.34
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- refactor(themes): consolidate theme structure
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @dt-dds/react-core@1.0.0-beta.44
|
|
10
|
+
- @dt-dds/react-icon@1.0.0-beta.45
|
|
11
|
+
- @dt-dds/react-typography@1.0.0-beta.35
|
|
12
|
+
- @dt-dds/themes@1.0.0-beta.4
|
|
13
|
+
|
|
14
|
+
## 1.0.0-beta.33
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- feat: add components generator
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- chore: fix test coverage configuration
|
|
23
|
+
- chore: increase themes test coverage
|
|
24
|
+
- chore: fix sonarqube issues
|
|
25
|
+
- Updated dependencies
|
|
26
|
+
- Updated dependencies
|
|
27
|
+
- Updated dependencies
|
|
28
|
+
- Updated dependencies
|
|
29
|
+
- @dt-dds/react-core@1.0.0-beta.43
|
|
30
|
+
- @dt-dds/react-icon@1.0.0-beta.44
|
|
31
|
+
- @dt-dds/react-typography@1.0.0-beta.34
|
|
32
|
+
- @dt-dds/themes@1.0.0-beta.3
|
|
33
|
+
|
|
3
34
|
## 1.0.0-beta.32
|
|
4
35
|
|
|
5
36
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Steppers convey progress through steps. These steps can be numbered or not. However, they are sequential.
|
|
4
4
|
|
|
5
|
-
By default, for screens smaller than our `theme.breakpoints.
|
|
5
|
+
By default, for screens smaller than our `theme.breakpoints.mq3d` the stepper orientation is always vertical.
|
|
6
6
|
|
|
7
7
|
## Stepper Usage
|
|
8
8
|
|
package/dist/index.js
CHANGED
|
@@ -60,7 +60,7 @@ var StepperStyled = import_styled.default.ul`
|
|
|
60
60
|
list-style: none;
|
|
61
61
|
|
|
62
62
|
${({ theme, orientation = "vertical" }) => `
|
|
63
|
-
@media only screen and (min-width: ${theme.breakpoints.
|
|
63
|
+
@media only screen and (min-width: ${theme.breakpoints.mq3d}px) {
|
|
64
64
|
flex-direction: ${orientation === "horizontal" ? "row" : "column"}
|
|
65
65
|
}
|
|
66
66
|
`}
|
|
@@ -87,9 +87,9 @@ var import_react2 = require("react");
|
|
|
87
87
|
var import_styled2 = __toESM(require("@emotion/styled"));
|
|
88
88
|
var CounterStyled = import_styled2.default.span`
|
|
89
89
|
${({ theme, color, outlined, isLarge }) => `
|
|
90
|
-
${theme.fontStyles.
|
|
90
|
+
${theme.fontStyles.bodySmRegular}
|
|
91
91
|
color: ${theme.palette.content.contrast};
|
|
92
|
-
border: ${theme.spacing.
|
|
92
|
+
border: ${theme.spacing.spacing_0};
|
|
93
93
|
align-items: center;
|
|
94
94
|
justify-content: center;
|
|
95
95
|
display: flex;
|
|
@@ -138,7 +138,7 @@ var StepStyled = import_styled3.default.li`
|
|
|
138
138
|
`;
|
|
139
139
|
var LabelStyled = import_styled3.default.span`
|
|
140
140
|
${({ theme, color }) => `
|
|
141
|
-
${theme.fontStyles.
|
|
141
|
+
${theme.fontStyles.bodyMdRegularSmall};
|
|
142
142
|
color: ${color === "disabled" ? theme.palette.content.light : theme.palette[color].default};
|
|
143
143
|
`}
|
|
144
144
|
`;
|
|
@@ -189,9 +189,8 @@ var StepCounter = ({
|
|
|
189
189
|
{
|
|
190
190
|
color: color === "disabled" ? "content.light" : `${color}.default`,
|
|
191
191
|
element: "span",
|
|
192
|
-
fontStyles: "
|
|
192
|
+
fontStyles: "bodyXsBold",
|
|
193
193
|
style: {
|
|
194
|
-
fontWeight: 700,
|
|
195
194
|
width: 24,
|
|
196
195
|
height: 24,
|
|
197
196
|
display: "flex",
|
package/dist/index.mjs
CHANGED
|
@@ -24,7 +24,7 @@ var StepperStyled = styled.ul`
|
|
|
24
24
|
list-style: none;
|
|
25
25
|
|
|
26
26
|
${({ theme, orientation = "vertical" }) => `
|
|
27
|
-
@media only screen and (min-width: ${theme.breakpoints.
|
|
27
|
+
@media only screen and (min-width: ${theme.breakpoints.mq3d}px) {
|
|
28
28
|
flex-direction: ${orientation === "horizontal" ? "row" : "column"}
|
|
29
29
|
}
|
|
30
30
|
`}
|
|
@@ -51,9 +51,9 @@ import { Children, cloneElement, useMemo } from "react";
|
|
|
51
51
|
import styled2 from "@emotion/styled";
|
|
52
52
|
var CounterStyled = styled2.span`
|
|
53
53
|
${({ theme, color, outlined, isLarge }) => `
|
|
54
|
-
${theme.fontStyles.
|
|
54
|
+
${theme.fontStyles.bodySmRegular}
|
|
55
55
|
color: ${theme.palette.content.contrast};
|
|
56
|
-
border: ${theme.spacing.
|
|
56
|
+
border: ${theme.spacing.spacing_0};
|
|
57
57
|
align-items: center;
|
|
58
58
|
justify-content: center;
|
|
59
59
|
display: flex;
|
|
@@ -102,7 +102,7 @@ var StepStyled = styled3.li`
|
|
|
102
102
|
`;
|
|
103
103
|
var LabelStyled = styled3.span`
|
|
104
104
|
${({ theme, color }) => `
|
|
105
|
-
${theme.fontStyles.
|
|
105
|
+
${theme.fontStyles.bodyMdRegularSmall};
|
|
106
106
|
color: ${color === "disabled" ? theme.palette.content.light : theme.palette[color].default};
|
|
107
107
|
`}
|
|
108
108
|
`;
|
|
@@ -153,9 +153,8 @@ var StepCounter = ({
|
|
|
153
153
|
{
|
|
154
154
|
color: color === "disabled" ? "content.light" : `${color}.default`,
|
|
155
155
|
element: "span",
|
|
156
|
-
fontStyles: "
|
|
156
|
+
fontStyles: "bodyXsBold",
|
|
157
157
|
style: {
|
|
158
|
-
fontWeight: 700,
|
|
159
158
|
width: 24,
|
|
160
159
|
height: 24,
|
|
161
160
|
display: "flex",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dt-dds/react-stepper",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.34",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dist/index.js"
|
|
@@ -20,9 +20,10 @@
|
|
|
20
20
|
"test:update:snapshot": "jest -u"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@dt-dds/react-core": "1.0.0-beta.
|
|
24
|
-
"@dt-dds/react-typography": "1.0.0-beta.
|
|
25
|
-
"@dt-dds/react-icon": "1.0.0-beta.
|
|
23
|
+
"@dt-dds/react-core": "1.0.0-beta.44",
|
|
24
|
+
"@dt-dds/react-typography": "1.0.0-beta.35",
|
|
25
|
+
"@dt-dds/react-icon": "1.0.0-beta.45",
|
|
26
|
+
"@dt-dds/themes": "1.0.0-beta.4"
|
|
26
27
|
},
|
|
27
28
|
"devDependencies": {
|
|
28
29
|
"@babel/core": "^7.22.9",
|