@alfalab/core-components-steps 1.1.1 → 1.1.3
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/Component.js +10 -12
- package/components/step/Component.js +20 -22
- package/components/step/index.css +32 -29
- package/components/step/index.js +3 -5
- package/components/step-indicator/Component.js +5 -7
- package/components/step-indicator/index.css +2 -2
- package/components/step-indicator/index.js +1 -3
- package/cssm/Component.js +12 -14
- package/cssm/components/step/Component.js +36 -38
- package/cssm/components/step/index.js +3 -5
- package/cssm/components/step/index.module.css +6 -3
- package/cssm/components/step-indicator/Component.js +5 -7
- package/cssm/components/step-indicator/index.js +1 -3
- package/cssm/index.js +3 -5
- package/esm/Component.js +3 -3
- package/esm/components/step/Component.js +4 -4
- package/esm/components/step/index.css +32 -29
- package/esm/components/step/index.js +3 -3
- package/esm/components/step-indicator/Component.js +1 -1
- package/esm/components/step-indicator/index.css +2 -2
- package/esm/components/step-indicator/index.js +1 -1
- package/esm/index.css +3 -3
- package/esm/index.js +3 -3
- package/index.css +3 -3
- package/index.js +3 -5
- package/modern/Component.js +4 -4
- package/modern/components/step/Component.js +4 -4
- package/modern/components/step/index.css +32 -29
- package/modern/components/step/index.js +3 -3
- package/modern/components/step-indicator/Component.js +2 -4
- package/modern/components/step-indicator/index.css +2 -2
- package/modern/components/step-indicator/index.js +1 -1
- package/modern/index.css +3 -3
- package/modern/index.js +4 -4
- package/package.json +2 -2
- package/send-stats.js +1 -1
|
@@ -2,11 +2,9 @@ import React from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { Badge } from '@alfalab/core-components-badge/modern';
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
const styles = {"component":"steps__component_89css"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
|
-
const StepIndicator = ({ content, iconColor, className }) => {
|
|
9
|
-
return (React.createElement(Badge, { size: 'l', view: 'icon', iconColor: iconColor, className: cn(styles.component, className), content: content }));
|
|
10
|
-
};
|
|
8
|
+
const StepIndicator = ({ content, iconColor, className }) => (React.createElement(Badge, { size: 'l', view: 'icon', iconColor: iconColor, className: cn(styles.component, className), content: content }));
|
|
11
9
|
|
|
12
10
|
export { StepIndicator };
|
package/modern/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: li0ej */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
|
|
8
8
|
/* Hard up */
|
|
9
9
|
}
|
|
10
|
-
.
|
|
10
|
+
.steps__component_1qx39 {
|
|
11
11
|
display: flex;
|
|
12
12
|
align-items: center;
|
|
13
13
|
flex-direction: row
|
|
14
14
|
}
|
|
15
|
-
.
|
|
15
|
+
.steps__component_1qx39.steps__vertical_1qx39 {
|
|
16
16
|
flex-direction: column;
|
|
17
17
|
align-items: flex-start;
|
|
18
18
|
}
|
package/modern/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
export { Steps } from './Component.js';
|
|
1
2
|
import 'react';
|
|
2
3
|
import 'classnames';
|
|
4
|
+
import './components/step/Component.js';
|
|
3
5
|
import '@alfalab/hooks';
|
|
4
6
|
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
5
|
-
import '@alfalab/icons-glyph/ExclamationCircleMIcon';
|
|
6
7
|
import '@alfalab/icons-glyph/ClockMIcon';
|
|
7
|
-
import '@alfalab/
|
|
8
|
+
import '@alfalab/icons-glyph/ExclamationCircleMIcon';
|
|
8
9
|
import './components/step-indicator/Component.js';
|
|
9
|
-
import '
|
|
10
|
-
export { Steps } from './Component.js';
|
|
10
|
+
import '@alfalab/core-components-badge/modern';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-steps",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"react": "^16.9.0 || ^17.0.1 || ^18.0.0"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@alfalab/core-components-badge": "^4.0.
|
|
20
|
+
"@alfalab/core-components-badge": "^4.0.4",
|
|
21
21
|
"@alfalab/hooks": "^1.13.0",
|
|
22
22
|
"@alfalab/icons-glyph": "^2.71.0",
|
|
23
23
|
"classnames": "^2.3.1"
|