armtek-uikit-react 1.0.13 → 1.0.14
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/cjs/assets/Alert.scss +37 -0
- package/cjs/assets/Avatar.scss +82 -0
- package/cjs/assets/AvatarGroup.scss +48 -0
- package/cjs/assets/Badge.scss +83 -0
- package/cjs/assets/Card.scss +7 -0
- package/cjs/assets/Checkbox.scss +297 -0
- package/cjs/assets/Chip.scss +96 -0
- package/cjs/assets/DatePicker.scss +7 -0
- package/cjs/assets/HelperText.scss +10 -0
- package/cjs/assets/Interval.scss +35 -0
- package/cjs/assets/ListItem.scss +34 -0
- package/cjs/assets/Loader.scss +37 -0
- package/cjs/assets/Logo.scss +29 -0
- package/cjs/assets/Period.scss +10 -0
- package/cjs/assets/Rating.scss +19 -0
- package/cjs/assets/Select.scss +26 -0
- package/cjs/assets/Slider.scss +6 -0
- package/cjs/assets/Status.scss +45 -0
- package/cjs/assets/StepItem.scss +67 -0
- package/cjs/assets/StepItemIcon.scss +47 -0
- package/cjs/assets/Stepper.scss +34 -0
- package/cjs/assets/Switch.scss +69 -0
- package/cjs/assets/TextArea.scss +15 -0
- package/cjs/assets/TextField.scss +160 -0
- package/cjs/assets/Tooltip.scss +18 -0
- package/cjs/assets/styles.scss +26 -1
- package/cjs/lib/helpers/helpers.d.ts +1 -0
- package/cjs/lib/helpers/helpers.js +10 -2
- package/cjs/ui/Adornment/Adornment.js +9 -5
- package/cjs/ui/Adornment/Adornment.module.scss +2 -18
- package/cjs/ui/Alert/Alert.js +5 -1
- package/cjs/ui/Alert/Alert.module.scss +2 -38
- package/cjs/ui/Avatar/Avatar.js +5 -1
- package/cjs/ui/Avatar/Avatar.module.scss +1 -82
- package/cjs/ui/Avatar/AvatarGroup.js +5 -1
- package/cjs/ui/Avatar/AvatarGroup.module.scss +1 -48
- package/cjs/ui/Badge/Badge.js +5 -1
- package/cjs/ui/Badge/Badge.module.scss +1 -83
- package/cjs/ui/Button/Button.d.ts +1 -1
- package/cjs/ui/Button/Button.js +9 -5
- package/cjs/ui/Button/Button.module.scss +2 -298
- package/cjs/ui/Button/ButtonGroup.js +5 -1
- package/cjs/ui/Button/ButtonIcon.js +4 -0
- package/cjs/ui/Card/Card.js +5 -1
- package/cjs/ui/Card/Card.module.scss +1 -7
- package/cjs/ui/Chip/Chip.js +5 -1
- package/cjs/ui/Chip/Chip.module.scss +1 -96
- package/cjs/ui/Form/Checkbox/Checkbox.js +5 -1
- package/cjs/ui/Form/Checkbox/Checkbox.module.scss +1 -297
- package/cjs/ui/Form/Checkbox/Radio.js +6 -2
- package/cjs/ui/Form/DateField/DateField.js +0 -1
- package/cjs/ui/Form/DatePicker/DatePicker.module.scss +1 -7
- package/cjs/ui/Form/Interval/Interval.js +5 -1
- package/cjs/ui/Form/Interval/Interval.module.scss +1 -35
- package/cjs/ui/Form/Interval/IntervalSlide.js +5 -1
- package/cjs/ui/Form/Period/Period.js +5 -1
- package/cjs/ui/Form/Period/Period.module.scss +1 -9
- package/cjs/ui/Form/Rating/Rating.js +5 -1
- package/cjs/ui/Form/Rating/Rating.module.scss +1 -19
- package/cjs/ui/Form/Select/Select.js +5 -1
- package/cjs/ui/Form/Select/Select.module.scss +1 -26
- package/cjs/ui/Form/Switch/Switch.js +5 -1
- package/cjs/ui/Form/Switch/Switch.module.scss +1 -69
- package/cjs/ui/Form/TextArea/TextArea.js +4 -0
- package/cjs/ui/Form/TextArea/TextArea.module.scss +1 -15
- package/cjs/ui/Form/TextField/TextField.js +5 -1
- package/cjs/ui/Form/TextField/TextField.module.scss +1 -160
- package/cjs/ui/HelperText/HelperText.js +5 -1
- package/cjs/ui/HelperText/HelperText.module.scss +1 -10
- package/cjs/ui/List/ListItem.js +5 -1
- package/cjs/ui/List/ListItem.module.scss +1 -34
- package/cjs/ui/Loader/Loader.js +5 -1
- package/cjs/ui/Loader/Loader.module.scss +1 -37
- package/cjs/ui/Logo/Logo.js +5 -1
- package/cjs/ui/Logo/Logo.module.scss +1 -29
- package/cjs/ui/Slider/RcSlider.d.ts +0 -2
- package/cjs/ui/Slider/RcSlider.js +1 -9
- package/cjs/ui/Slider/Slider.d.ts +1 -1
- package/cjs/ui/Slider/Slider.js +4 -1
- package/cjs/ui/Slider/Slider.module.scss +1 -6
- package/cjs/ui/Status/Status.js +5 -1
- package/cjs/ui/Status/Status.module.scss +1 -45
- package/cjs/ui/Stepper/StepItem.js +5 -1
- package/cjs/ui/Stepper/StepItem.module.scss +1 -67
- package/cjs/ui/Stepper/StepItemIcon.js +5 -1
- package/cjs/ui/Stepper/StepItemIcon.module.scss +1 -47
- package/cjs/ui/Stepper/Stepper.js +5 -1
- package/cjs/ui/Stepper/Stepper.module.scss +1 -34
- package/cjs/ui/Tooltip/Tooltip.js +5 -1
- package/cjs/ui/Tooltip/Tooltip.module.scss +1 -18
- package/dist/armtek-uikit-react-main.js +60 -60
- package/dist/armtek-uikit-react-main.min.js +1 -1
- package/dist/css/main.css +19 -0
- package/esm/assets/Alert.scss +37 -0
- package/esm/assets/Avatar.scss +82 -0
- package/esm/assets/AvatarGroup.scss +48 -0
- package/esm/assets/Badge.scss +83 -0
- package/esm/assets/Card.scss +7 -0
- package/esm/assets/Checkbox.scss +297 -0
- package/esm/assets/Chip.scss +96 -0
- package/esm/assets/DatePicker.scss +7 -0
- package/esm/assets/HelperText.scss +10 -0
- package/esm/assets/Interval.scss +35 -0
- package/esm/assets/ListItem.scss +34 -0
- package/esm/assets/Loader.scss +37 -0
- package/esm/assets/Logo.scss +29 -0
- package/esm/assets/Period.scss +10 -0
- package/esm/assets/Rating.scss +19 -0
- package/esm/assets/Select.scss +26 -0
- package/esm/assets/Slider.scss +6 -0
- package/esm/assets/Status.scss +45 -0
- package/esm/assets/StepItem.scss +67 -0
- package/esm/assets/StepItemIcon.scss +47 -0
- package/esm/assets/Stepper.scss +34 -0
- package/esm/assets/Switch.scss +69 -0
- package/esm/assets/TextArea.scss +15 -0
- package/esm/assets/TextField.scss +160 -0
- package/esm/assets/Tooltip.scss +18 -0
- package/esm/assets/styles.scss +26 -1
- package/esm/index.js +15 -15
- package/esm/lib/helpers/helpers.d.ts +1 -0
- package/esm/lib/helpers/helpers.js +7 -0
- package/esm/ui/Adornment/Adornment.js +10 -5
- package/esm/ui/Adornment/Adornment.module.scss +2 -18
- package/esm/ui/Alert/Alert.js +6 -2
- package/esm/ui/Alert/Alert.module.scss +2 -38
- package/esm/ui/Avatar/Avatar.js +5 -1
- package/esm/ui/Avatar/Avatar.module.scss +1 -82
- package/esm/ui/Avatar/AvatarGroup.js +5 -1
- package/esm/ui/Avatar/AvatarGroup.module.scss +1 -48
- package/esm/ui/Badge/Badge.js +5 -1
- package/esm/ui/Badge/Badge.module.scss +1 -83
- package/esm/ui/Button/Button.d.ts +1 -1
- package/esm/ui/Button/Button.js +5 -1
- package/esm/ui/Button/Button.module.scss +2 -298
- package/esm/ui/Button/ButtonGroup.js +5 -1
- package/esm/ui/Button/ButtonIcon.js +6 -2
- package/esm/ui/Card/Card.js +5 -1
- package/esm/ui/Card/Card.module.scss +1 -7
- package/esm/ui/Chip/Chip.js +5 -1
- package/esm/ui/Chip/Chip.module.scss +1 -96
- package/esm/ui/Form/Checkbox/Checkbox.js +5 -1
- package/esm/ui/Form/Checkbox/Checkbox.module.scss +1 -297
- package/esm/ui/Form/Checkbox/Radio.js +7 -3
- package/esm/ui/Form/DateField/DateField.js +4 -5
- package/esm/ui/Form/DateField/TimeField.js +1 -1
- package/esm/ui/Form/DatePicker/DatePicker.module.scss +1 -7
- package/esm/ui/Form/DatePicker/PeriodSelect.js +1 -1
- package/esm/ui/Form/DatePicker/TimePicker.js +1 -1
- package/esm/ui/Form/Interval/Interval.js +7 -3
- package/esm/ui/Form/Interval/Interval.module.scss +1 -35
- package/esm/ui/Form/Interval/IntervalSlide.js +7 -3
- package/esm/ui/Form/Password/Password.js +2 -2
- package/esm/ui/Form/Period/Period.js +10 -6
- package/esm/ui/Form/Period/Period.module.scss +1 -9
- package/esm/ui/Form/Rating/Rating.js +5 -1
- package/esm/ui/Form/Rating/Rating.module.scss +1 -19
- package/esm/ui/Form/Select/Select.js +9 -5
- package/esm/ui/Form/Select/Select.module.scss +1 -26
- package/esm/ui/Form/Switch/Switch.js +5 -1
- package/esm/ui/Form/Switch/Switch.module.scss +1 -69
- package/esm/ui/Form/TextArea/TextArea.js +6 -2
- package/esm/ui/Form/TextArea/TextArea.module.scss +1 -15
- package/esm/ui/Form/TextField/TextField.js +6 -2
- package/esm/ui/Form/TextField/TextField.module.scss +1 -160
- package/esm/ui/HelperText/HelperText.js +5 -1
- package/esm/ui/HelperText/HelperText.module.scss +1 -10
- package/esm/ui/List/ListItem.js +7 -3
- package/esm/ui/List/ListItem.module.scss +1 -34
- package/esm/ui/Loader/Loader.js +5 -1
- package/esm/ui/Loader/Loader.module.scss +1 -37
- package/esm/ui/Logo/Logo.js +5 -1
- package/esm/ui/Logo/Logo.module.scss +1 -29
- package/esm/ui/Slider/RcSlider.d.ts +0 -2
- package/esm/ui/Slider/RcSlider.js +0 -2
- package/esm/ui/Slider/Slider.d.ts +1 -1
- package/esm/ui/Slider/Slider.js +7 -4
- package/esm/ui/Slider/Slider.module.scss +1 -6
- package/esm/ui/Status/Status.js +5 -1
- package/esm/ui/Status/Status.module.scss +1 -45
- package/esm/ui/Stepper/StepItem.js +7 -3
- package/esm/ui/Stepper/StepItem.module.scss +1 -67
- package/esm/ui/Stepper/StepItemIcon.js +5 -1
- package/esm/ui/Stepper/StepItemIcon.module.scss +1 -47
- package/esm/ui/Stepper/Stepper.js +6 -2
- package/esm/ui/Stepper/Stepper.module.scss +1 -34
- package/esm/ui/Tooltip/Tooltip.js +5 -1
- package/esm/ui/Tooltip/Tooltip.module.scss +1 -18
- package/package.json +1 -1
- package/ButtonClasses/package.json +0 -7
- package/cjs/ui/Button/Button.css +0 -3
- package/cjs/ui/Button/ButtonClasses.d.ts +0 -3
- package/cjs/ui/Button/ButtonClasses.js +0 -12
- package/cjs/ui/Form/Password/Password.module.scss +0 -2
- package/dist/css/main.e207d402.css +0 -18
- package/esm/ui/Button/Button.css +0 -3
- package/esm/ui/Button/ButtonClasses.d.ts +0 -3
- package/esm/ui/Button/ButtonClasses.js +0 -7
- package/esm/ui/Form/Password/Password.module.scss +0 -2
|
@@ -1,160 +1 @@
|
|
|
1
|
-
@import "../../../assets/
|
|
2
|
-
|
|
3
|
-
.textfield{
|
|
4
|
-
position: relative;
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
border-radius: $radius;
|
|
7
|
-
border: 1px solid $color-gray-400;
|
|
8
|
-
background-color: #fff;
|
|
9
|
-
height: $size-elarge;
|
|
10
|
-
@include flex();
|
|
11
|
-
&:hover{
|
|
12
|
-
border-color: $color-gray-600;
|
|
13
|
-
}
|
|
14
|
-
&._focused{
|
|
15
|
-
border-color: $color-gray-800;
|
|
16
|
-
}
|
|
17
|
-
&._disabled{
|
|
18
|
-
pointer-events: none;
|
|
19
|
-
background: $color-gray-100;
|
|
20
|
-
border-color: transparent;
|
|
21
|
-
& .textfield__label{
|
|
22
|
-
color: $color-gray-600;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
&.size_small{
|
|
26
|
-
height: $size-large;
|
|
27
|
-
font-size: 14px;
|
|
28
|
-
}
|
|
29
|
-
&_outlined{
|
|
30
|
-
border-top:none;
|
|
31
|
-
border-left: none;
|
|
32
|
-
border-right: none;
|
|
33
|
-
border-radius: 0;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
.textfield__container{
|
|
37
|
-
cursor: text;
|
|
38
|
-
position: relative;
|
|
39
|
-
padding: 11px 12px 8px;
|
|
40
|
-
width: 100%;
|
|
41
|
-
&._label{
|
|
42
|
-
padding: 25px 12px 8px;
|
|
43
|
-
}
|
|
44
|
-
&.size_small{
|
|
45
|
-
&._label{
|
|
46
|
-
padding: 18px 12px 4px
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
.textfield__container_outlined{
|
|
51
|
-
padding-left: 0 !important;
|
|
52
|
-
& .textfield__label{
|
|
53
|
-
padding-left: 0;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
.textfield__input{
|
|
57
|
-
display: block;
|
|
58
|
-
width: 100%;
|
|
59
|
-
font-size: 16px;
|
|
60
|
-
outline: none;
|
|
61
|
-
background: transparent;
|
|
62
|
-
border: none;
|
|
63
|
-
padding: 0;
|
|
64
|
-
height: 23px;
|
|
65
|
-
&:focus{
|
|
66
|
-
border-color: $color-gray-800;
|
|
67
|
-
}
|
|
68
|
-
&.size_small{
|
|
69
|
-
font-size: 14px;
|
|
70
|
-
height: 20px;
|
|
71
|
-
}
|
|
72
|
-
&._label::placeholder{
|
|
73
|
-
opacity: 0;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
._error{
|
|
77
|
-
border-color: $color-error-dark;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.textfield__label_small{
|
|
81
|
-
font-size: 14px;
|
|
82
|
-
}
|
|
83
|
-
.textfield__label{
|
|
84
|
-
pointer-events: none;
|
|
85
|
-
color: $color-gray-600;
|
|
86
|
-
position: absolute;
|
|
87
|
-
top: 12px;
|
|
88
|
-
padding-left: 12px;
|
|
89
|
-
left: 1px;
|
|
90
|
-
font-size: 16px;
|
|
91
|
-
transition: 0.2s all ease;
|
|
92
|
-
width: calc(100% - 2px);
|
|
93
|
-
padding-top:8px;
|
|
94
|
-
&_small{
|
|
95
|
-
top: 4px;
|
|
96
|
-
}
|
|
97
|
-
&_focused{
|
|
98
|
-
font-size: 12px;
|
|
99
|
-
transform: none;
|
|
100
|
-
top: 1px;
|
|
101
|
-
&.textfield__label_small{
|
|
102
|
-
padding-top:4px
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.textfield__input_outlined{
|
|
108
|
-
border-left:none;
|
|
109
|
-
border-top:none;
|
|
110
|
-
border-right: none;
|
|
111
|
-
padding-left: 0 !important;
|
|
112
|
-
&:focus,
|
|
113
|
-
&:hover{
|
|
114
|
-
border-left:none;
|
|
115
|
-
border-top:none;
|
|
116
|
-
border-right: none;
|
|
117
|
-
}
|
|
118
|
-
border-radius: 0;
|
|
119
|
-
& + .textfield__label{
|
|
120
|
-
left:0;
|
|
121
|
-
}
|
|
122
|
-
&:disabled{
|
|
123
|
-
border-bottom-color: $color-gray-400;
|
|
124
|
-
border-bottom-style: dotted;
|
|
125
|
-
background: transparent;
|
|
126
|
-
& + .textfield__label{
|
|
127
|
-
color: $color-gray-400;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.textfield__label_error{
|
|
133
|
-
color: $color-error-dark;
|
|
134
|
-
}
|
|
135
|
-
.textfield__adornment{
|
|
136
|
-
@include flex();
|
|
137
|
-
position: relative;
|
|
138
|
-
z-index: 5;
|
|
139
|
-
height: 100%;
|
|
140
|
-
padding-right: 10px;
|
|
141
|
-
& > *{
|
|
142
|
-
margin-left: $size-step;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
.textfield__helperText{
|
|
146
|
-
margin-top: calc($size-step / 2);
|
|
147
|
-
}
|
|
148
|
-
._disabled{
|
|
149
|
-
& + .textfield__helperText{
|
|
150
|
-
color: $color-gray-600;
|
|
151
|
-
}
|
|
152
|
-
& .textfield_outlined{
|
|
153
|
-
& .textfield__helperText{
|
|
154
|
-
color: $color-gray-400;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
& .textfield__icon{
|
|
158
|
-
color: $color-gray-400;
|
|
159
|
-
}
|
|
160
|
-
}
|
|
1
|
+
@import "../../../assets/TextField";
|
|
@@ -3,9 +3,13 @@
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
4
|
exports.__esModule = true;
|
|
5
5
|
exports.default = void 0;
|
|
6
|
-
var _HelperTextModule = _interopRequireDefault(require("./HelperText.module.scss"));
|
|
7
6
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
7
|
+
var _HelperTextModule = _interopRequireDefault(require("./HelperText.module.scss"));
|
|
8
8
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
+
const CssClasses = ['helperText', 'helperText_error'];
|
|
10
|
+
|
|
11
|
+
// const css = getCssPrefix(CssClasses)
|
|
12
|
+
|
|
9
13
|
const HelperText = props => {
|
|
10
14
|
let {
|
|
11
15
|
className,
|
package/cjs/ui/List/ListItem.js
CHANGED
|
@@ -3,13 +3,17 @@
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
4
|
exports.__esModule = true;
|
|
5
5
|
exports.default = void 0;
|
|
6
|
-
var _ListItemModule = _interopRequireDefault(require("./ListItem.module.scss"));
|
|
7
6
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
8
7
|
var _Checkbox = _interopRequireDefault(require("../Form/Checkbox/Checkbox"));
|
|
9
8
|
var _Adornment = _interopRequireWildcard(require("../Adornment/Adornment"));
|
|
9
|
+
var _ListItemModule = _interopRequireDefault(require("./ListItem.module.scss"));
|
|
10
10
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
11
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
12
12
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
13
|
+
const CssClasses = ['listitem', 'listitem_active', 'listitem_divider', 'listitemText'];
|
|
14
|
+
|
|
15
|
+
// const css = getCssPrefix(CssClasses)
|
|
16
|
+
|
|
13
17
|
const ListItem = props => {
|
|
14
18
|
let {
|
|
15
19
|
children,
|
|
@@ -1,34 +1 @@
|
|
|
1
|
-
@import "../../assets/
|
|
2
|
-
|
|
3
|
-
.listitem{
|
|
4
|
-
outline: none;
|
|
5
|
-
padding: calc($size-step * 1.5) calc($size-step * 2);
|
|
6
|
-
color: $color-neutral;
|
|
7
|
-
background: transparent;
|
|
8
|
-
@include transition(0.3s, background);
|
|
9
|
-
@include flex();
|
|
10
|
-
width: 100%;
|
|
11
|
-
border: none;
|
|
12
|
-
text-align: left;
|
|
13
|
-
cursor: pointer;
|
|
14
|
-
&:hover{
|
|
15
|
-
background: $color-gray-50;
|
|
16
|
-
}
|
|
17
|
-
&.listitem_active,
|
|
18
|
-
&:active{
|
|
19
|
-
background: rgba($color-primary, 0.1);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
.listitem_startAdornment{
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
.listitem_endAdornment{
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
.listitem_divider{
|
|
29
|
-
border-bottom: 1px solid $color-gray-200;
|
|
30
|
-
}
|
|
31
|
-
.listitemText{
|
|
32
|
-
display: block;
|
|
33
|
-
margin: 0 calc($size-step * 2);
|
|
34
|
-
}
|
|
1
|
+
@import "../../assets/ListItem";
|
package/cjs/ui/Loader/Loader.js
CHANGED
|
@@ -3,9 +3,13 @@
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
4
|
exports.__esModule = true;
|
|
5
5
|
exports.default = void 0;
|
|
6
|
-
var _LoaderModule = _interopRequireDefault(require("./Loader.module.scss"));
|
|
7
6
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
7
|
+
var _LoaderModule = _interopRequireDefault(require("./Loader.module.scss"));
|
|
8
8
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
+
const CssClasses = ['loader'];
|
|
10
|
+
|
|
11
|
+
// const css = getCssPrefix(CssClasses)
|
|
12
|
+
|
|
9
13
|
const Loader = props => {
|
|
10
14
|
let width = props.size === 'large' ? 25 : props.size === 'medium' ? 23 : props.size === 'small' ? 21 : 27;
|
|
11
15
|
let height = props.size === 'large' ? 24 : props.size === 'medium' ? 22 : props.size === 'small' ? 20 : 26;
|
|
@@ -1,37 +1 @@
|
|
|
1
|
-
@import "../../assets/
|
|
2
|
-
|
|
3
|
-
.loader{
|
|
4
|
-
-webkit-animation: rotating 2s linear infinite;
|
|
5
|
-
-moz-animation: rotating 2s linear infinite;
|
|
6
|
-
-ms-animation: rotating 2s linear infinite;
|
|
7
|
-
-o-animation: rotating 2s linear infinite;
|
|
8
|
-
animation: rotating 2s linear infinite;
|
|
9
|
-
}
|
|
10
|
-
@-webkit-keyframes rotating /* Safari and Chrome */ {
|
|
11
|
-
from {
|
|
12
|
-
-webkit-transform: rotate(0deg);
|
|
13
|
-
-o-transform: rotate(0deg);
|
|
14
|
-
transform: rotate(0deg);
|
|
15
|
-
}
|
|
16
|
-
to {
|
|
17
|
-
-webkit-transform: rotate(360deg);
|
|
18
|
-
-o-transform: rotate(360deg);
|
|
19
|
-
transform: rotate(360deg);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
@keyframes rotating {
|
|
23
|
-
from {
|
|
24
|
-
-ms-transform: rotate(0deg);
|
|
25
|
-
-moz-transform: rotate(0deg);
|
|
26
|
-
-webkit-transform: rotate(0deg);
|
|
27
|
-
-o-transform: rotate(0deg);
|
|
28
|
-
transform: rotate(0deg);
|
|
29
|
-
}
|
|
30
|
-
to {
|
|
31
|
-
-ms-transform: rotate(360deg);
|
|
32
|
-
-moz-transform: rotate(360deg);
|
|
33
|
-
-webkit-transform: rotate(360deg);
|
|
34
|
-
-o-transform: rotate(360deg);
|
|
35
|
-
transform: rotate(360deg);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
1
|
+
@import "../../assets/Loader";
|
package/cjs/ui/Logo/Logo.js
CHANGED
|
@@ -3,9 +3,13 @@
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
4
|
exports.__esModule = true;
|
|
5
5
|
exports.default = void 0;
|
|
6
|
-
var _LogoModule = _interopRequireDefault(require("./Logo.module.scss"));
|
|
7
6
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
7
|
+
var _LogoModule = _interopRequireDefault(require("./Logo.module.scss"));
|
|
8
8
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
+
const CssClasses = ['logo', 'logo_shape', 'logo__inner', 'logo__img', 'logo__description', 'logo_inverse'];
|
|
10
|
+
|
|
11
|
+
// const css = getCssPrefix(CssClasses)
|
|
12
|
+
|
|
9
13
|
const Logo = props => {
|
|
10
14
|
let {
|
|
11
15
|
description,
|
|
@@ -1,29 +1 @@
|
|
|
1
|
-
@import "../../assets/
|
|
2
|
-
|
|
3
|
-
.logo{
|
|
4
|
-
display: inline-block;
|
|
5
|
-
}
|
|
6
|
-
.logo_shape{
|
|
7
|
-
box-shadow: $box-shadow;
|
|
8
|
-
padding: calc($size-step * 2);
|
|
9
|
-
transform: skewX(-10deg);
|
|
10
|
-
& .logo__inner{
|
|
11
|
-
transform: skewX(10deg);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
.logo__inner{
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.logo__img{
|
|
19
|
-
font-size: 0;
|
|
20
|
-
}
|
|
21
|
-
.logo__description{
|
|
22
|
-
color: $color-gray-900;
|
|
23
|
-
font-size: 14px;
|
|
24
|
-
font-style: italic;
|
|
25
|
-
margin-top: 2px;
|
|
26
|
-
}
|
|
27
|
-
.logo_inverse .logo__description{
|
|
28
|
-
color: #fff;
|
|
29
|
-
}
|
|
1
|
+
@import "../../assets/Logo";
|
|
@@ -1,9 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
exports.__esModule = true;
|
|
5
|
-
exports.default = void 0;
|
|
6
|
-
var _rcSlider = _interopRequireDefault(require("rc-slider"));
|
|
7
|
-
var _default = _rcSlider.default;
|
|
8
|
-
exports.default = _default;
|
|
9
|
-
module.exports = exports.default;
|
|
1
|
+
"use strict";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '!style-loader!css-loader!./style.css';
|
|
2
2
|
import { SliderProps as RcSliderProps } from 'rc-slider/lib/Slider';
|
|
3
|
-
import { SizeType } from 'types/theme';
|
|
3
|
+
import { SizeType } from '../../types/theme';
|
|
4
4
|
export type SliderProps = {
|
|
5
5
|
size?: Exclude<SizeType, 'extraLarge' | 'medium'>;
|
|
6
6
|
} & Omit<RcSliderProps, 'size'>;
|
package/cjs/ui/Slider/Slider.js
CHANGED
|
@@ -3,12 +3,15 @@
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
4
|
exports.__esModule = true;
|
|
5
5
|
exports.default = void 0;
|
|
6
|
+
var _react = _interopRequireDefault(require("react"));
|
|
6
7
|
var _rcSlider = _interopRequireDefault(require("rc-slider"));
|
|
7
8
|
require("!style-loader!css-loader!./style.css");
|
|
8
9
|
var _HelperText = _interopRequireDefault(require("../HelperText/HelperText"));
|
|
9
10
|
var _SliderModule = _interopRequireDefault(require("./Slider.module.scss"));
|
|
10
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
-
|
|
12
|
+
const CssClasses = ['slider__helperText'];
|
|
13
|
+
|
|
14
|
+
// const css = getCssPrefix(CssClasses)
|
|
12
15
|
|
|
13
16
|
const Slider = props => {
|
|
14
17
|
let {
|
package/cjs/ui/Status/Status.js
CHANGED
|
@@ -3,9 +3,13 @@
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
4
|
exports.__esModule = true;
|
|
5
5
|
exports.default = void 0;
|
|
6
|
-
var _StatusModule = _interopRequireDefault(require("./Status.module.scss"));
|
|
7
6
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
7
|
+
var _StatusModule = _interopRequireDefault(require("./Status.module.scss"));
|
|
8
8
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
+
const CssClasses = ['status', 'status_primary', 'status_secondary', 'status_neutral', 'status_error', 'status_warning', 'status_info', 'status_success', 'status__content', 'status__icon'];
|
|
10
|
+
|
|
11
|
+
// const css = getCssPrefix(CssClasses)
|
|
12
|
+
|
|
9
13
|
function Status(props) {
|
|
10
14
|
let {
|
|
11
15
|
color,
|
|
@@ -1,45 +1 @@
|
|
|
1
|
-
@import "../../assets/
|
|
2
|
-
|
|
3
|
-
.status{
|
|
4
|
-
display: inline-flex;
|
|
5
|
-
align-items: center;
|
|
6
|
-
padding: 3px 8px 1px;
|
|
7
|
-
border-radius: 4px;
|
|
8
|
-
}
|
|
9
|
-
.status_primary{
|
|
10
|
-
background: rgba($color-primary-dark, 0.2);
|
|
11
|
-
color: $color-primary-dark;
|
|
12
|
-
}
|
|
13
|
-
.status_secondary{
|
|
14
|
-
background: rgba($color-secondary-dark, 0.2);
|
|
15
|
-
color: $color-secondary-dark;
|
|
16
|
-
}
|
|
17
|
-
.status_neutral{
|
|
18
|
-
background: rgba(#4D5359, 0.2);
|
|
19
|
-
color: rgba(#212529, 0.7);
|
|
20
|
-
}
|
|
21
|
-
.status_error{
|
|
22
|
-
background: rgba($color-error-dark, 0.2);
|
|
23
|
-
color: $color-error-dark;
|
|
24
|
-
}
|
|
25
|
-
.status_warning{
|
|
26
|
-
background: rgba(#FFC61A, 0.2);
|
|
27
|
-
color: $color-secondary-dark;
|
|
28
|
-
}
|
|
29
|
-
.status_info{
|
|
30
|
-
background: rgba(#0D46FF, 0.2);
|
|
31
|
-
color: $color-primary-dark;
|
|
32
|
-
}
|
|
33
|
-
.status_success{
|
|
34
|
-
background: rgba(#0BD998, 0.2);
|
|
35
|
-
color: $color-success-dark;
|
|
36
|
-
}
|
|
37
|
-
.status__content{
|
|
38
|
-
font-size: 14px;
|
|
39
|
-
line-height: 1;
|
|
40
|
-
}
|
|
41
|
-
.status__icon{
|
|
42
|
-
margin-left: 4px;
|
|
43
|
-
font-size: 14px;
|
|
44
|
-
line-height: 1.5;
|
|
45
|
-
}
|
|
1
|
+
@import "../../assets/Status";
|
|
@@ -4,10 +4,14 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
exports.__esModule = true;
|
|
5
5
|
exports.default = void 0;
|
|
6
6
|
var _StepItemIcon = _interopRequireDefault(require("./StepItemIcon"));
|
|
7
|
-
var _StepItemModule = _interopRequireDefault(require("./StepItem.module.scss"));
|
|
8
7
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
9
8
|
var _Button = _interopRequireDefault(require("../Button/Button"));
|
|
9
|
+
var _StepItemModule = _interopRequireDefault(require("./StepItem.module.scss"));
|
|
10
10
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
+
const CssClasses = ['stepItem', 'stepItem__inner', 'stepItem__title', 'stepItem__title_error', 'stepItem__content', 'stepItem__button', 'stepItem_horizontal', 'stepItem_last', 'status_info', 'status_success', 'status__content', 'status__icon'];
|
|
12
|
+
|
|
13
|
+
// const css = getCssPrefix(CssClasses)
|
|
14
|
+
|
|
11
15
|
const StepItem = props => {
|
|
12
16
|
let {
|
|
13
17
|
title,
|
|
@@ -1,67 +1 @@
|
|
|
1
|
-
@import "../../assets/
|
|
2
|
-
|
|
3
|
-
.stepItem__inner{
|
|
4
|
-
@include flex(flex-start, flex-start)
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.stepItem__title{
|
|
8
|
-
font-weight: 700;
|
|
9
|
-
margin: 2px 0 0 $size-step;
|
|
10
|
-
position: relative;
|
|
11
|
-
background: #fff;
|
|
12
|
-
padding-right: 5px;
|
|
13
|
-
}
|
|
14
|
-
.stepItem__title_error{
|
|
15
|
-
color: $color-error-dark
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.stepItem__content{
|
|
19
|
-
padding-left: 23px;
|
|
20
|
-
border-left: 1px solid #B1BCC6;
|
|
21
|
-
margin-left: 11px;
|
|
22
|
-
margin-top:5px;
|
|
23
|
-
position: relative;
|
|
24
|
-
}
|
|
25
|
-
.stepItem__button{
|
|
26
|
-
margin-top: $size-step;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
.stepItem_small{
|
|
31
|
-
& .stepItem__content,
|
|
32
|
-
& .stepItem__title{
|
|
33
|
-
font-size: 14px;
|
|
34
|
-
}
|
|
35
|
-
& .stepItem__content{
|
|
36
|
-
padding-left: 19px;
|
|
37
|
-
margin-left: 10px;
|
|
38
|
-
}
|
|
39
|
-
&.stepItem_horizontal{
|
|
40
|
-
& .stepItem__content:before{
|
|
41
|
-
top: -15px;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
.stepItem_last{
|
|
46
|
-
& .stepItem__content{
|
|
47
|
-
border-color:transparent;
|
|
48
|
-
&:before{
|
|
49
|
-
display: none;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
.stepItem_horizontal{
|
|
54
|
-
& .stepItem__content{
|
|
55
|
-
border-color:transparent;
|
|
56
|
-
}
|
|
57
|
-
& .stepItem__content:before{
|
|
58
|
-
content: '';
|
|
59
|
-
position: absolute;
|
|
60
|
-
top: -19px;
|
|
61
|
-
width: 100%;
|
|
62
|
-
left: 22px;
|
|
63
|
-
height: 1px;
|
|
64
|
-
background: #B1BCC6;
|
|
65
|
-
z-index: -1;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
1
|
+
@import "../../assets/StepItem";
|
|
@@ -3,9 +3,13 @@
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
4
|
exports.__esModule = true;
|
|
5
5
|
exports.default = void 0;
|
|
6
|
-
var _StepItemIconModule = _interopRequireDefault(require("./StepItemIcon.module.scss"));
|
|
7
6
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
7
|
+
var _StepItemIconModule = _interopRequireDefault(require("./StepItemIcon.module.scss"));
|
|
8
8
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
+
const CssClasses = ['stepItemIcon', 'stepItemIcon__number', 'stepItemIcon_small', 'stepItemIcon_active', 'stepItemIcon_complete', 'stepItemIcon_error', 'stepItemIcon__inner'];
|
|
10
|
+
|
|
11
|
+
// const css = getCssPrefix(CssClasses)
|
|
12
|
+
|
|
9
13
|
const StepItemIcon = props => {
|
|
10
14
|
let icon = '';
|
|
11
15
|
if (!props.number) {
|
|
@@ -1,47 +1 @@
|
|
|
1
|
-
@import "../../assets/
|
|
2
|
-
|
|
3
|
-
.stepItemIcon{
|
|
4
|
-
@include flex(center);
|
|
5
|
-
width: 24px;
|
|
6
|
-
min-width: 24px;
|
|
7
|
-
height: 24px;
|
|
8
|
-
border-radius: 50%;
|
|
9
|
-
border: 1px solid;
|
|
10
|
-
& .stepItemIcon__number{
|
|
11
|
-
font-size: 16px;
|
|
12
|
-
}
|
|
13
|
-
&_small{
|
|
14
|
-
width: 20px;
|
|
15
|
-
min-width: 20px;
|
|
16
|
-
height: 20px;
|
|
17
|
-
& .stepItemIcon__number{
|
|
18
|
-
font-size: 14px;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
border-color: $color-primary;
|
|
22
|
-
color: $color-primary;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.stepItemIcon__inner{
|
|
26
|
-
font-size: 0;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.stepItemIcon_active{
|
|
30
|
-
color: #fff;
|
|
31
|
-
background: $color-primary;
|
|
32
|
-
&.stepItemIcon_icon{
|
|
33
|
-
background: transparent;
|
|
34
|
-
color: $color-primary;
|
|
35
|
-
border: none;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
.stepItemIcon_complete{
|
|
39
|
-
color: #fff;
|
|
40
|
-
background: $color-success;
|
|
41
|
-
border-color: $color-success;
|
|
42
|
-
}
|
|
43
|
-
.stepItemIcon_error{
|
|
44
|
-
color: $color-error-dark !important;
|
|
45
|
-
background: transparent;
|
|
46
|
-
border-color: transparent;
|
|
47
|
-
}
|
|
1
|
+
@import "../../assets/StepItemIcon";
|
|
@@ -4,10 +4,14 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
exports.__esModule = true;
|
|
5
5
|
exports.default = void 0;
|
|
6
6
|
var _StepItem = _interopRequireDefault(require("./StepItem"));
|
|
7
|
-
var _StepperModule = _interopRequireDefault(require("./Stepper.module.scss"));
|
|
8
7
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
9
8
|
var _react = require("react");
|
|
9
|
+
var _StepperModule = _interopRequireDefault(require("./Stepper.module.scss"));
|
|
10
10
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
+
const CssClasses = ['stepper', 'stepper_horizontal', 'stepper__connector', 'stepper_small'];
|
|
12
|
+
|
|
13
|
+
// const css = getCssPrefix(CssClasses)
|
|
14
|
+
|
|
11
15
|
const Stepper = props => {
|
|
12
16
|
var _props$steps;
|
|
13
17
|
let {
|
|
@@ -1,34 +1 @@
|
|
|
1
|
-
@import "../../assets/
|
|
2
|
-
|
|
3
|
-
.stepper{
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
.stepper_horizontal{
|
|
7
|
-
display: flex;
|
|
8
|
-
}
|
|
9
|
-
.stepper__connector{
|
|
10
|
-
padding-left: 23px;
|
|
11
|
-
border-left: 1px solid #B1BCC6;
|
|
12
|
-
margin-left: 11px;
|
|
13
|
-
height: 25px;
|
|
14
|
-
margin-bottom: 5px;
|
|
15
|
-
}
|
|
16
|
-
.stepper_small{
|
|
17
|
-
& .stepper__connector{
|
|
18
|
-
padding-left: 19px;
|
|
19
|
-
margin-left: 10px;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
.stepper_horizontal{
|
|
23
|
-
& .stepper__connector{
|
|
24
|
-
height: 1px;
|
|
25
|
-
width: auto;
|
|
26
|
-
margin-right: 5px;
|
|
27
|
-
margin-bottom: 0;
|
|
28
|
-
padding-left: 0;
|
|
29
|
-
border-left:none;
|
|
30
|
-
border-top: 1px solid #B1BCC6;
|
|
31
|
-
flex: 1 1 0;
|
|
32
|
-
margin-top:10px;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
1
|
+
@import "../../assets/Stepper";
|
|
@@ -4,9 +4,13 @@
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
5
|
exports.__esModule = true;
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
var _TooltipModule = _interopRequireDefault(require("./Tooltip.module.scss"));
|
|
8
7
|
var _react = require("react");
|
|
8
|
+
var _TooltipModule = _interopRequireDefault(require("./Tooltip.module.scss"));
|
|
9
9
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
+
const CssClasses = ['tooltip', 'tooltip__item'];
|
|
11
|
+
|
|
12
|
+
// const css = getCssPrefix(CssClasses)
|
|
13
|
+
|
|
10
14
|
function Tooltip(props) {
|
|
11
15
|
let {
|
|
12
16
|
text,
|