@councilbox/councilbox-ui 0.4.21 → 0.4.23
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/build-index.js +8 -0
- package/dist/components/1.Introduction.stories.mdx +1 -0
- package/dist/components/IconFont/IconFont.js +1 -1
- package/dist/components/InputTextArea/InputTextArea.js +5 -1
- package/dist/components/Modal/Modal.js +6 -2
- package/dist/components/Stepper/DesignStepper.stories.js +58 -0
- package/dist/components/Stepper/Stepper.css +75 -0
- package/dist/components/Stepper/Stepper.js +83 -0
- package/dist/components/Stepper/Stepper.stories.js +48 -0
- package/dist/components/Tabs/Tabs.js +9 -4
- package/dist/components/Toggle/Toggle.css +4 -0
- package/dist/components/Toggle/Toggle.js +17 -21
- package/dist/fonts/Lato/S6u9w4BMUTPHh6UVSwaPGR_p.woff2 +0 -0
- package/dist/fonts/Lato/S6u9w4BMUTPHh6UVSwiPGQ.woff2 +0 -0
- package/dist/fonts/Lato/S6u9w4BMUTPHh7USSwaPGR_p.woff2 +0 -0
- package/dist/fonts/Lato/S6u9w4BMUTPHh7USSwiPGQ.woff2 +0 -0
- package/dist/fonts/Lato/S6uyw4BMUTPHjx4wXg.woff2 +0 -0
- package/dist/fonts/Lato/S6uyw4BMUTPHjxAwXjeu.woff2 +0 -0
- package/dist/fonts/Montserrat/JTUSjIg1_i6t8kCHKm459W1hyzbi (1).woff2 +0 -0
- package/dist/fonts/Montserrat/JTUSjIg1_i6t8kCHKm459W1hyzbi (2).woff2 +0 -0
- package/dist/fonts/Montserrat/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2 +0 -0
- package/dist/fonts/Montserrat/JTUSjIg1_i6t8kCHKm459WRhyzbi (1).woff2 +0 -0
- package/dist/fonts/Montserrat/JTUSjIg1_i6t8kCHKm459WRhyzbi (2).woff2 +0 -0
- package/dist/fonts/Montserrat/JTUSjIg1_i6t8kCHKm459WRhyzbi.woff2 +0 -0
- package/dist/fonts/Montserrat/JTUSjIg1_i6t8kCHKm459WZhyzbi (1).woff2 +0 -0
- package/dist/fonts/Montserrat/JTUSjIg1_i6t8kCHKm459WZhyzbi (2).woff2 +0 -0
- package/dist/fonts/Montserrat/JTUSjIg1_i6t8kCHKm459WZhyzbi.woff2 +0 -0
- package/dist/fonts/Montserrat/JTUSjIg1_i6t8kCHKm459Wdhyzbi (1).woff2 +0 -0
- package/dist/fonts/Montserrat/JTUSjIg1_i6t8kCHKm459Wdhyzbi (2).woff2 +0 -0
- package/dist/fonts/Montserrat/JTUSjIg1_i6t8kCHKm459Wdhyzbi.woff2 +0 -0
- package/dist/fonts/Montserrat/JTUSjIg1_i6t8kCHKm459Wlhyw (1).woff2 +0 -0
- package/dist/fonts/Montserrat/JTUSjIg1_i6t8kCHKm459Wlhyw (2).woff2 +0 -0
- package/dist/fonts/Montserrat/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2 +0 -0
- package/dist/styles/styleFont.css +354 -0
- package/package.json +1 -1
package/dist/build-index.js
CHANGED
|
@@ -171,6 +171,12 @@ Object.defineProperty(exports, "Stars", {
|
|
|
171
171
|
return _Stars.default;
|
|
172
172
|
}
|
|
173
173
|
});
|
|
174
|
+
Object.defineProperty(exports, "Stepper", {
|
|
175
|
+
enumerable: true,
|
|
176
|
+
get: function get() {
|
|
177
|
+
return _Stepper.default;
|
|
178
|
+
}
|
|
179
|
+
});
|
|
174
180
|
Object.defineProperty(exports, "Table", {
|
|
175
181
|
enumerable: true,
|
|
176
182
|
get: function get() {
|
|
@@ -268,6 +274,8 @@ var _Tag = _interopRequireDefault(require("./components/Tag/Tag"));
|
|
|
268
274
|
|
|
269
275
|
var _Stars = _interopRequireDefault(require("./components/Stars/Stars"));
|
|
270
276
|
|
|
277
|
+
var _Stepper = _interopRequireDefault(require("./components/Stepper/Stepper"));
|
|
278
|
+
|
|
271
279
|
var _Toggle = _interopRequireDefault(require("./components/Toggle/Toggle"));
|
|
272
280
|
|
|
273
281
|
var _InputAutocomplete = _interopRequireDefault(require("./components/InputAutocomplete/InputAutocomplete"));
|
|
@@ -47,6 +47,7 @@ a.noStyles:hover{
|
|
|
47
47
|
<div><a class='noStyles' href='/story/components-selectinput--default'>SelectInput</a></div>
|
|
48
48
|
<div><a class='noStyles' href='/story/components-spacing--default'>Spacing</a></div>
|
|
49
49
|
<div><a class='noStyles' href='/story/components-stars--design-stars-template'>Stars</a></div>
|
|
50
|
+
<div><a class='noStyles' href='/story/components-stepper--design-stepper-template'>Stepper</a></div>
|
|
50
51
|
<div><a class='noStyles' href='/story/components-table--design-template-table'>Table</a></div>
|
|
51
52
|
<div><a class='noStyles' href='/story/components-tabs--design-tabs-template'>Tabs</a></div>
|
|
52
53
|
<div><a class='noStyles' href='/story/components-tag--design-tag-template'>Tag</a></div>
|
|
@@ -95,7 +95,7 @@ var IconFont = function IconFont() {
|
|
|
95
95
|
}
|
|
96
96
|
}, /*#__PURE__*/_react.default.createElement("i", {
|
|
97
97
|
style: {
|
|
98
|
-
fontSize: '
|
|
98
|
+
fontSize: '24px'
|
|
99
99
|
},
|
|
100
100
|
className: "ri-".concat(item.name)
|
|
101
101
|
})), /*#__PURE__*/_react.default.createElement("div", null, "ri-".concat(item.name))));
|
|
@@ -101,6 +101,10 @@ var InputTextArea = function InputTextArea(_ref) {
|
|
|
101
101
|
},
|
|
102
102
|
variant: variant,
|
|
103
103
|
maxLength: maxSize,
|
|
104
|
+
inputProps: {
|
|
105
|
+
maxLength: maxSize
|
|
106
|
+
},
|
|
107
|
+
type: "number",
|
|
104
108
|
onFocus: onFocus,
|
|
105
109
|
onBlur: onBlur,
|
|
106
110
|
placeholder: placeholder,
|
|
@@ -150,7 +154,7 @@ InputTextArea.propTypes = {
|
|
|
150
154
|
autoComplete: _propTypes.default.string,
|
|
151
155
|
type: _propTypes.default.string,
|
|
152
156
|
placeholder: _propTypes.default.string,
|
|
153
|
-
error: _propTypes.default.
|
|
157
|
+
error: _propTypes.default.any,
|
|
154
158
|
variant: _propTypes.default.string
|
|
155
159
|
};
|
|
156
160
|
InputTextArea.defaultProps = {
|
|
@@ -200,7 +200,9 @@ Modal.propTypes = {
|
|
|
200
200
|
PaperProps: _propTypes.default.object,
|
|
201
201
|
widthModal: _propTypes.default.object,
|
|
202
202
|
actions: _propTypes.default.node,
|
|
203
|
-
breakpointsButtons: _propTypes.default.string
|
|
203
|
+
breakpointsButtons: _propTypes.default.string,
|
|
204
|
+
hasScrollbar: _propTypes.default.bool,
|
|
205
|
+
scrollbarHeight: _propTypes.default.string
|
|
204
206
|
};
|
|
205
207
|
Modal.defaultProps = {
|
|
206
208
|
title: '',
|
|
@@ -222,5 +224,7 @@ Modal.defaultProps = {
|
|
|
222
224
|
PaperProps: {},
|
|
223
225
|
widthModal: {},
|
|
224
226
|
actions: undefined,
|
|
225
|
-
breakpointsButtons: '800'
|
|
227
|
+
breakpointsButtons: '800',
|
|
228
|
+
hasScrollbar: false,
|
|
229
|
+
scrollbarHeight: '70%'
|
|
226
230
|
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _Stepper = _interopRequireDefault(require("./Stepper"));
|
|
11
|
+
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
+
|
|
14
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
15
|
+
|
|
16
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
17
|
+
|
|
18
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
19
|
+
|
|
20
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
21
|
+
|
|
22
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
23
|
+
|
|
24
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
25
|
+
|
|
26
|
+
var DesignStepper = function DesignStepper() {
|
|
27
|
+
var _React$useState = _react.default.useState(null),
|
|
28
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
29
|
+
state = _React$useState2[0],
|
|
30
|
+
setState = _React$useState2[1];
|
|
31
|
+
|
|
32
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_Stepper.default, {
|
|
33
|
+
onClick: setState,
|
|
34
|
+
items: [{
|
|
35
|
+
text: 'Detalles',
|
|
36
|
+
icon: 'ri-file-list-2-line'
|
|
37
|
+
}, {
|
|
38
|
+
text: 'Participantes',
|
|
39
|
+
icon: 'ri-user-3-line'
|
|
40
|
+
}, {
|
|
41
|
+
text: 'Trámite',
|
|
42
|
+
icon: 'ri-clipboard-line'
|
|
43
|
+
}, {
|
|
44
|
+
text: 'Documentos',
|
|
45
|
+
icon: 'ri-folder-3-line'
|
|
46
|
+
}, {
|
|
47
|
+
text: 'Ajustes',
|
|
48
|
+
icon: 'ri-settings-4-line'
|
|
49
|
+
}, {
|
|
50
|
+
text: 'Revisar',
|
|
51
|
+
icon: 'ri-file-text-line'
|
|
52
|
+
}],
|
|
53
|
+
active: state
|
|
54
|
+
}));
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
var _default = DesignStepper;
|
|
58
|
+
exports.default = _default;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
.cbx-stepper-container {
|
|
2
|
+
width: 100%;
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.cbx-stepper-item {
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: space-between;
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.cbx-stepper-item-contentText {
|
|
16
|
+
font-size: 1rem;
|
|
17
|
+
padding: 0.5rem 0rem 0.5rem 0.75rem;
|
|
18
|
+
display: flex;
|
|
19
|
+
align-items: center;
|
|
20
|
+
transition: .3s;
|
|
21
|
+
width: calc( 100% - 2rem );
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.cbx-stepper-item-contentText:last-child {
|
|
25
|
+
width: 100%;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.cbx-stepper-item-contentText-mobile {
|
|
29
|
+
padding-left: 0;
|
|
30
|
+
padding-right: 0;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.cbx-stepper-item-contentText:hover {
|
|
34
|
+
background: var(--gray1);
|
|
35
|
+
border-radius: 0.25rem;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.cbx-stepper-item-contentText-mobile:hover {
|
|
39
|
+
background: transparent;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.cbx-stepper-item-contentText i,
|
|
43
|
+
.cbx-stepper-item-contentText p {
|
|
44
|
+
transition: .3s
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.cbx-stepper-item-contentText:hover i,
|
|
48
|
+
.cbx-stepper-item-contentText:hover p {
|
|
49
|
+
color: var(--primary)
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.cbx-stepper-item-text-icon {
|
|
53
|
+
font-size: 1.5rem
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.cbx-stepper-item-arrow-icon {
|
|
57
|
+
color: var(--gray3);
|
|
58
|
+
font-size: 1.5rem
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.cbx-stepper-item-text {
|
|
62
|
+
margin-left: var(--spacing8);
|
|
63
|
+
overflow: hidden;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.cbx-stepper-item-text p {
|
|
67
|
+
overflow: hidden;
|
|
68
|
+
white-space: nowrap;
|
|
69
|
+
text-overflow: ellipsis;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.cbx-stepper-item-arrow-content {
|
|
73
|
+
width: 100%;
|
|
74
|
+
text-align: center
|
|
75
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
+
|
|
12
|
+
require("../../styles/main.css");
|
|
13
|
+
|
|
14
|
+
require("./Stepper.css");
|
|
15
|
+
|
|
16
|
+
var _Typography = _interopRequireDefault(require("../Typography/Typography"));
|
|
17
|
+
|
|
18
|
+
var _useWindowSize2 = _interopRequireDefault(require("../../HOCs/useWindowSize"));
|
|
19
|
+
|
|
20
|
+
var _excluded = ["items", "active", "onClick"];
|
|
21
|
+
|
|
22
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
23
|
+
|
|
24
|
+
function _extends() { _extends = Object.assign || 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); }
|
|
25
|
+
|
|
26
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
27
|
+
|
|
28
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
29
|
+
|
|
30
|
+
var Stepper = function Stepper(_ref) {
|
|
31
|
+
var items = _ref.items,
|
|
32
|
+
active = _ref.active,
|
|
33
|
+
_onClick = _ref.onClick,
|
|
34
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
35
|
+
|
|
36
|
+
var _useWindowSize = (0, _useWindowSize2.default)(),
|
|
37
|
+
innerWidth = _useWindowSize.innerWidth;
|
|
38
|
+
|
|
39
|
+
return /*#__PURE__*/_react.default.createElement("div", _extends({
|
|
40
|
+
className: "cbx-stepper-container"
|
|
41
|
+
}, props), items.map(function (item, index) {
|
|
42
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
43
|
+
onClick: function onClick() {
|
|
44
|
+
return _onClick(index);
|
|
45
|
+
},
|
|
46
|
+
key: index,
|
|
47
|
+
className: "cbx-stepper-item",
|
|
48
|
+
style: {
|
|
49
|
+
flex: items.length - 1 !== index && '1 1',
|
|
50
|
+
maxWidth: "".concat('100' / (items.length - 1), "%")
|
|
51
|
+
}
|
|
52
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
53
|
+
className: "".concat(innerWidth < 427 ? 'cbx-stepper-item-contentText cbx-stepper-item-contentText-mobile' : 'cbx-stepper-item-contentText'),
|
|
54
|
+
style: {
|
|
55
|
+
color: active === index ? 'var(--primary)' : 'var(--gray4)'
|
|
56
|
+
}
|
|
57
|
+
}, item.icon && /*#__PURE__*/_react.default.createElement("i", {
|
|
58
|
+
className: "cbx-stepper-item-text-icon ".concat(item.icon)
|
|
59
|
+
}), innerWidth > 875 && item.text && /*#__PURE__*/_react.default.createElement("div", {
|
|
60
|
+
className: "cbx-stepper-item-text"
|
|
61
|
+
}, /*#__PURE__*/_react.default.createElement(_Typography.default, {
|
|
62
|
+
color: active === index ? 'var(--primary)' : 'var(--gray4)'
|
|
63
|
+
}, item.text))), items.length - 1 !== index && /*#__PURE__*/_react.default.createElement("div", {
|
|
64
|
+
className: "cbx-stepper-item-arrow-content"
|
|
65
|
+
}, /*#__PURE__*/_react.default.createElement("i", {
|
|
66
|
+
className: "cbx-stepper-item-arrow-icon ri-arrow-drop-right-line"
|
|
67
|
+
})));
|
|
68
|
+
}));
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
Stepper.displayName = "Stepper";
|
|
72
|
+
Stepper.propTypes = {
|
|
73
|
+
items: _propTypes.default.node,
|
|
74
|
+
active: _propTypes.default.node,
|
|
75
|
+
onClick: _propTypes.default.func
|
|
76
|
+
};
|
|
77
|
+
Stepper.defaultProps = {
|
|
78
|
+
items: {},
|
|
79
|
+
active: undefined,
|
|
80
|
+
onClick: undefined
|
|
81
|
+
};
|
|
82
|
+
var _default = Stepper;
|
|
83
|
+
exports.default = _default;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.DesignStepperTemplate = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _Stepper = _interopRequireDefault(require("./Stepper"));
|
|
11
|
+
|
|
12
|
+
var _DesignStepper = _interopRequireDefault(require("./DesignStepper.stories"));
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
+
|
|
16
|
+
var _default = {
|
|
17
|
+
title: 'Components/Stepper',
|
|
18
|
+
component: _Stepper.default,
|
|
19
|
+
parameters: {
|
|
20
|
+
storybookCodePanel: {
|
|
21
|
+
disabled: false,
|
|
22
|
+
files: [{
|
|
23
|
+
fileName: 'Stepper.js',
|
|
24
|
+
// eslint-disable-next-line import/no-webpack-loader-syntax, global-require, import/extensions, import/no-unresolved
|
|
25
|
+
code: require('!!raw-loader!./Stepper.jsx')
|
|
26
|
+
}, {
|
|
27
|
+
fileName: 'Stepper.css',
|
|
28
|
+
// eslint-disable-next-line import/no-webpack-loader-syntax, global-require, import/extensions, import/no-unresolved
|
|
29
|
+
code: require('!!raw-loader!./Stepper.css')
|
|
30
|
+
}]
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
exports.default = _default;
|
|
35
|
+
|
|
36
|
+
var TemplateStepper = function TemplateStepper(args) {
|
|
37
|
+
return /*#__PURE__*/_react.default.createElement(_DesignStepper.default, args);
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
TemplateStepper.displayName = "TemplateStepper";
|
|
41
|
+
var DesignStepperTemplate = TemplateStepper.bind({});
|
|
42
|
+
exports.DesignStepperTemplate = DesignStepperTemplate;
|
|
43
|
+
DesignStepperTemplate.parameters = {
|
|
44
|
+
controls: {
|
|
45
|
+
disable: true
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
DesignStepperTemplate.args = {};
|
|
@@ -17,7 +17,7 @@ require("../../styles/main.css");
|
|
|
17
17
|
|
|
18
18
|
require("./Tabs.css");
|
|
19
19
|
|
|
20
|
-
var _excluded = ["id", "className", "value", "onChange", "itemsTab"];
|
|
20
|
+
var _excluded = ["id", "className", "value", "onChange", "itemsTab", "variant"];
|
|
21
21
|
|
|
22
22
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
23
23
|
|
|
@@ -33,13 +33,16 @@ var Tabs = function Tabs(_ref) {
|
|
|
33
33
|
value = _ref.value,
|
|
34
34
|
onChange = _ref.onChange,
|
|
35
35
|
itemsTab = _ref.itemsTab,
|
|
36
|
+
variant = _ref.variant,
|
|
36
37
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
37
38
|
|
|
38
39
|
return /*#__PURE__*/_react.default.createElement(_Tabs.default, _extends({
|
|
39
40
|
id: id,
|
|
40
41
|
className: className,
|
|
41
42
|
value: value,
|
|
42
|
-
onChange: onChange
|
|
43
|
+
onChange: onChange,
|
|
44
|
+
variant: variant,
|
|
45
|
+
scrollButtons: "auto"
|
|
43
46
|
}, props), itemsTab === null || itemsTab === void 0 ? void 0 : itemsTab.map(function (item, index) {
|
|
44
47
|
return /*#__PURE__*/_react.default.createElement(_Tab.default, _extends({
|
|
45
48
|
key: "".concat(item.text, "-").concat(index),
|
|
@@ -64,12 +67,14 @@ Tabs.displayName = "Tabs";
|
|
|
64
67
|
Tabs.propTypes = {
|
|
65
68
|
value: _propTypes.default.any,
|
|
66
69
|
onChange: _propTypes.default.func,
|
|
67
|
-
itemsTab: _propTypes.default.array
|
|
70
|
+
itemsTab: _propTypes.default.array,
|
|
71
|
+
variant: _propTypes.default.string
|
|
68
72
|
};
|
|
69
73
|
Tabs.defaultProps = {
|
|
70
74
|
value: 0,
|
|
71
75
|
onChange: undefined,
|
|
72
|
-
itemsTab: []
|
|
76
|
+
itemsTab: [],
|
|
77
|
+
variant: 'fullWidth'
|
|
73
78
|
};
|
|
74
79
|
var _default = Tabs;
|
|
75
80
|
exports.default = _default;
|
|
@@ -9,6 +9,12 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
9
9
|
|
|
10
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
11
|
|
|
12
|
+
require("../../styles/main.css");
|
|
13
|
+
|
|
14
|
+
require("./Toggle.css");
|
|
15
|
+
|
|
16
|
+
var _FormControlLabel = _interopRequireDefault(require("@mui/material/FormControlLabel"));
|
|
17
|
+
|
|
12
18
|
var _material = require("@mui/material");
|
|
13
19
|
|
|
14
20
|
var _excluded = ["value", "checked", "label", "disabled", "onChange", "labelPlacement"];
|
|
@@ -21,17 +27,7 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
21
27
|
|
|
22
28
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
23
29
|
|
|
24
|
-
var
|
|
25
|
-
return {
|
|
26
|
-
'& .MuiFormControlLabel-label': {
|
|
27
|
-
color: 'var(--gray5)',
|
|
28
|
-
'&.Mui-disabled': {
|
|
29
|
-
color: 'var(--gray4)'
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
});
|
|
34
|
-
var SwitchStlyed = (0, _material.styled)(_material.Switch)(function (_ref) {
|
|
30
|
+
var CssFormControlLabel = (0, _material.styled)(_FormControlLabel.default)(function (_ref) {
|
|
35
31
|
var theme = _ref.theme;
|
|
36
32
|
return {
|
|
37
33
|
'& .MuiSwitch-switchBase': {
|
|
@@ -47,11 +43,12 @@ var SwitchStlyed = (0, _material.styled)(_material.Switch)(function (_ref) {
|
|
|
47
43
|
},
|
|
48
44
|
'&.Mui-disabled': {
|
|
49
45
|
'& .MuiSwitch-thumb': {
|
|
50
|
-
color: 'var(--
|
|
46
|
+
color: 'var(--gray3)',
|
|
47
|
+
border: 'none'
|
|
51
48
|
},
|
|
52
49
|
'& + .MuiSwitch-track': {
|
|
53
50
|
opacity: 1,
|
|
54
|
-
backgroundColor: 'var(--
|
|
51
|
+
backgroundColor: 'var(--gray3)'
|
|
55
52
|
}
|
|
56
53
|
}
|
|
57
54
|
},
|
|
@@ -67,7 +64,10 @@ var SwitchStlyed = (0, _material.styled)(_material.Switch)(function (_ref) {
|
|
|
67
64
|
opacity: 1,
|
|
68
65
|
backgroundColor: 'var(--gray2)',
|
|
69
66
|
position: 'relative',
|
|
70
|
-
top: '
|
|
67
|
+
top: '0.313rem'
|
|
68
|
+
},
|
|
69
|
+
'&.MuiFormControlLabel-root .MuiFormControlLabel-label.Mui-disabled': {
|
|
70
|
+
color: 'var(--gray3)'
|
|
71
71
|
}
|
|
72
72
|
};
|
|
73
73
|
});
|
|
@@ -81,15 +81,10 @@ var Toggle = function Toggle(_ref2) {
|
|
|
81
81
|
labelPlacement = _ref2.labelPlacement,
|
|
82
82
|
props = _objectWithoutProperties(_ref2, _excluded);
|
|
83
83
|
|
|
84
|
-
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(
|
|
85
|
-
componentsProps: {
|
|
86
|
-
typography: {
|
|
87
|
-
color: 'var(--gray5)'
|
|
88
|
-
}
|
|
89
|
-
},
|
|
84
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(CssFormControlLabel, {
|
|
90
85
|
checked: checked,
|
|
91
86
|
disabled: disabled,
|
|
92
|
-
control: /*#__PURE__*/_react.default.createElement(
|
|
87
|
+
control: /*#__PURE__*/_react.default.createElement(_material.Switch, _extends({
|
|
93
88
|
disabled: disabled,
|
|
94
89
|
checked: checked,
|
|
95
90
|
value: value,
|
|
@@ -98,6 +93,7 @@ var Toggle = function Toggle(_ref2) {
|
|
|
98
93
|
disableRipple: true
|
|
99
94
|
}, props)),
|
|
100
95
|
label: label,
|
|
96
|
+
className: checked && 'cbx-switch-text',
|
|
101
97
|
labelPlacement: labelPlacement
|
|
102
98
|
}));
|
|
103
99
|
};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -9211,4 +9211,358 @@
|
|
|
9211
9211
|
|
|
9212
9212
|
.ri-vidicon-off-line:before {
|
|
9213
9213
|
content: "\e901";
|
|
9214
|
+
}
|
|
9215
|
+
|
|
9216
|
+
/* latin-ext */
|
|
9217
|
+
@font-face {
|
|
9218
|
+
font-family: 'Lato';
|
|
9219
|
+
font-style: normal;
|
|
9220
|
+
font-weight: 300;
|
|
9221
|
+
src: url(../fonts/Lato/S6u9w4BMUTPHh7USSwaPGR_p.woff2) format('woff2');
|
|
9222
|
+
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
9223
|
+
}
|
|
9224
|
+
|
|
9225
|
+
/* latin */
|
|
9226
|
+
@font-face {
|
|
9227
|
+
font-family: 'Lato';
|
|
9228
|
+
font-style: normal;
|
|
9229
|
+
font-weight: 300;
|
|
9230
|
+
src: url(../fonts/Lato/S6u9w4BMUTPHh7USSwiPGQ.woff2) format('woff2');
|
|
9231
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
9232
|
+
}
|
|
9233
|
+
|
|
9234
|
+
/* latin-ext */
|
|
9235
|
+
@font-face {
|
|
9236
|
+
font-family: 'Lato';
|
|
9237
|
+
font-style: normal;
|
|
9238
|
+
font-weight: 400;
|
|
9239
|
+
src: url(../fonts/Lato/S6uyw4BMUTPHjxAwXjeu.woff2) format('woff2');
|
|
9240
|
+
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
9241
|
+
}
|
|
9242
|
+
|
|
9243
|
+
/* latin */
|
|
9244
|
+
@font-face {
|
|
9245
|
+
font-family: 'Lato';
|
|
9246
|
+
font-style: normal;
|
|
9247
|
+
font-weight: 400;
|
|
9248
|
+
src: url(../fonts/Lato/S6uyw4BMUTPHjx4wXg.woff2) format('woff2');
|
|
9249
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
9250
|
+
}
|
|
9251
|
+
|
|
9252
|
+
/* latin-ext */
|
|
9253
|
+
@font-face {
|
|
9254
|
+
font-family: 'Lato';
|
|
9255
|
+
font-style: normal;
|
|
9256
|
+
font-weight: 700;
|
|
9257
|
+
src: url(../fonts/Lato/S6u9w4BMUTPHh6UVSwaPGR_p.woff2) format('woff2');
|
|
9258
|
+
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
9259
|
+
}
|
|
9260
|
+
|
|
9261
|
+
/* latin */
|
|
9262
|
+
@font-face {
|
|
9263
|
+
font-family: 'Lato';
|
|
9264
|
+
font-style: normal;
|
|
9265
|
+
font-weight: 700;
|
|
9266
|
+
src: url(../fonts/Lato/S6u9w4BMUTPHh6UVSwiPGQ.woff2) format('woff2');
|
|
9267
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
9268
|
+
}
|
|
9269
|
+
|
|
9270
|
+
/* cyrillic-ext */
|
|
9271
|
+
@font-face {
|
|
9272
|
+
font-family: 'Montserrat';
|
|
9273
|
+
font-style: normal;
|
|
9274
|
+
font-weight: 300;
|
|
9275
|
+
font-display: swap;
|
|
9276
|
+
src: url(../fonts/Montserrat/JTUSjIg1_i6t8kCHKm459WRhyzbi.woff2) format('woff2');
|
|
9277
|
+
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
9278
|
+
}
|
|
9279
|
+
|
|
9280
|
+
/* cyrillic */
|
|
9281
|
+
@font-face {
|
|
9282
|
+
font-family: 'Montserrat';
|
|
9283
|
+
font-style: normal;
|
|
9284
|
+
font-weight: 300;
|
|
9285
|
+
font-display: swap;
|
|
9286
|
+
src: url(../fonts/Montserrat/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2) format('woff2');
|
|
9287
|
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
9288
|
+
}
|
|
9289
|
+
|
|
9290
|
+
/* vietnamese */
|
|
9291
|
+
@font-face {
|
|
9292
|
+
font-family: 'Montserrat';
|
|
9293
|
+
font-style: normal;
|
|
9294
|
+
font-weight: 300;
|
|
9295
|
+
font-display: swap;
|
|
9296
|
+
src: url(../fonts/Montserrat/JTUSjIg1_i6t8kCHKm459WZhyzbi.woff2) format('woff2');
|
|
9297
|
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
|
9298
|
+
}
|
|
9299
|
+
|
|
9300
|
+
/* latin-ext */
|
|
9301
|
+
@font-face {
|
|
9302
|
+
font-family: 'Montserrat';
|
|
9303
|
+
font-style: normal;
|
|
9304
|
+
font-weight: 300;
|
|
9305
|
+
font-display: swap;
|
|
9306
|
+
src: url(../fonts/Montserrat/JTUSjIg1_i6t8kCHKm459Wdhyzbi.woff2) format('woff2');
|
|
9307
|
+
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
9308
|
+
}
|
|
9309
|
+
|
|
9310
|
+
/* latin */
|
|
9311
|
+
@font-face {
|
|
9312
|
+
font-family: 'Montserrat';
|
|
9313
|
+
font-style: normal;
|
|
9314
|
+
font-weight: 300;
|
|
9315
|
+
font-display: swap;
|
|
9316
|
+
src: url(../fonts/Montserrat/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2');
|
|
9317
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
9318
|
+
}
|
|
9319
|
+
|
|
9320
|
+
/* cyrillic-ext */
|
|
9321
|
+
@font-face {
|
|
9322
|
+
font-family: 'Montserrat';
|
|
9323
|
+
font-style: normal;
|
|
9324
|
+
font-weight: 400;
|
|
9325
|
+
font-display: swap;
|
|
9326
|
+
src: url(../fonts/Montserrat/JTUSjIg1_i6t8kCHKm459WRhyzbi.woff2) format('woff2');
|
|
9327
|
+
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
9328
|
+
}
|
|
9329
|
+
|
|
9330
|
+
/* cyrillic */
|
|
9331
|
+
@font-face {
|
|
9332
|
+
font-family: 'Montserrat';
|
|
9333
|
+
font-style: normal;
|
|
9334
|
+
font-weight: 400;
|
|
9335
|
+
font-display: swap;
|
|
9336
|
+
src: url(../fonts/Montserrat/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2) format('woff2');
|
|
9337
|
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
9338
|
+
}
|
|
9339
|
+
|
|
9340
|
+
/* vietnamese */
|
|
9341
|
+
@font-face {
|
|
9342
|
+
font-family: 'Montserrat';
|
|
9343
|
+
font-style: normal;
|
|
9344
|
+
font-weight: 400;
|
|
9345
|
+
font-display: swap;
|
|
9346
|
+
src: url(../fonts/Montserrat/JTUSjIg1_i6t8kCHKm459WZhyzbi.woff2) format('woff2');
|
|
9347
|
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
|
9348
|
+
}
|
|
9349
|
+
|
|
9350
|
+
/* latin-ext */
|
|
9351
|
+
@font-face {
|
|
9352
|
+
font-family: 'Montserrat';
|
|
9353
|
+
font-style: normal;
|
|
9354
|
+
font-weight: 400;
|
|
9355
|
+
font-display: swap;
|
|
9356
|
+
src: url(../fonts/Montserrat/JTUSjIg1_i6t8kCHKm459Wdhyzbi.woff2) format('woff2');
|
|
9357
|
+
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
9358
|
+
}
|
|
9359
|
+
|
|
9360
|
+
/* latin */
|
|
9361
|
+
@font-face {
|
|
9362
|
+
font-family: 'Montserrat';
|
|
9363
|
+
font-style: normal;
|
|
9364
|
+
font-weight: 400;
|
|
9365
|
+
font-display: swap;
|
|
9366
|
+
src: url(../fonts/Montserrat/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2');
|
|
9367
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
9368
|
+
}
|
|
9369
|
+
|
|
9370
|
+
/* cyrillic-ext */
|
|
9371
|
+
@font-face {
|
|
9372
|
+
font-family: 'Montserrat';
|
|
9373
|
+
font-style: normal;
|
|
9374
|
+
font-weight: 700;
|
|
9375
|
+
font-display: swap;
|
|
9376
|
+
src: url(../fonts/Montserrat/JTUSjIg1_i6t8kCHKm459WRhyzbi.woff2) format('woff2');
|
|
9377
|
+
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
9378
|
+
}
|
|
9379
|
+
|
|
9380
|
+
/* cyrillic */
|
|
9381
|
+
@font-face {
|
|
9382
|
+
font-family: 'Montserrat';
|
|
9383
|
+
font-style: normal;
|
|
9384
|
+
font-weight: 700;
|
|
9385
|
+
font-display: swap;
|
|
9386
|
+
src: url(../fonts/Montserrat/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2) format('woff2');
|
|
9387
|
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
9388
|
+
}
|
|
9389
|
+
|
|
9390
|
+
/* vietnamese */
|
|
9391
|
+
@font-face {
|
|
9392
|
+
font-family: 'Montserrat';
|
|
9393
|
+
font-style: normal;
|
|
9394
|
+
font-weight: 700;
|
|
9395
|
+
font-display: swap;
|
|
9396
|
+
src: url(../fonts/Montserrat/JTUSjIg1_i6t8kCHKm459WZhyzbi.woff2) format('woff2');
|
|
9397
|
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
|
9398
|
+
}
|
|
9399
|
+
|
|
9400
|
+
/* latin-ext */
|
|
9401
|
+
@font-face {
|
|
9402
|
+
font-family: 'Montserrat';
|
|
9403
|
+
font-style: normal;
|
|
9404
|
+
font-weight: 700;
|
|
9405
|
+
font-display: swap;
|
|
9406
|
+
src: url(../fonts/Montserrat/JTUSjIg1_i6t8kCHKm459Wdhyzbi.woff2) format('woff2');
|
|
9407
|
+
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
9408
|
+
}
|
|
9409
|
+
|
|
9410
|
+
/* latin */
|
|
9411
|
+
@font-face {
|
|
9412
|
+
font-family: 'Montserrat';
|
|
9413
|
+
font-style: normal;
|
|
9414
|
+
font-weight: 700;
|
|
9415
|
+
font-display: swap;
|
|
9416
|
+
src: url(../fonts/Montserrat/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2');
|
|
9417
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
9418
|
+
}
|
|
9419
|
+
|
|
9420
|
+
/* cyrillic-ext */
|
|
9421
|
+
@font-face {
|
|
9422
|
+
font-family: 'Montserrat';
|
|
9423
|
+
font-style: normal;
|
|
9424
|
+
font-weight: 300;
|
|
9425
|
+
font-display: swap;
|
|
9426
|
+
src: url(../fonts/Montserrat/JTUSjIg1_i6t8kCHKm459WRhyzbi.woff2) format('woff2');
|
|
9427
|
+
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
9428
|
+
}
|
|
9429
|
+
|
|
9430
|
+
/* cyrillic */
|
|
9431
|
+
@font-face {
|
|
9432
|
+
font-family: 'Montserrat';
|
|
9433
|
+
font-style: normal;
|
|
9434
|
+
font-weight: 300;
|
|
9435
|
+
font-display: swap;
|
|
9436
|
+
src: url(../fonts/Montserrat/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2) format('woff2');
|
|
9437
|
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
9438
|
+
}
|
|
9439
|
+
|
|
9440
|
+
/* vietnamese */
|
|
9441
|
+
@font-face {
|
|
9442
|
+
font-family: 'Montserrat';
|
|
9443
|
+
font-style: normal;
|
|
9444
|
+
font-weight: 300;
|
|
9445
|
+
font-display: swap;
|
|
9446
|
+
src: url(../fonts/Montserrat/JTUSjIg1_i6t8kCHKm459WZhyzbi.woff2) format('woff2');
|
|
9447
|
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
|
9448
|
+
}
|
|
9449
|
+
|
|
9450
|
+
/* latin-ext */
|
|
9451
|
+
@font-face {
|
|
9452
|
+
font-family: 'Montserrat';
|
|
9453
|
+
font-style: normal;
|
|
9454
|
+
font-weight: 300;
|
|
9455
|
+
font-display: swap;
|
|
9456
|
+
src: url(../fonts/Montserrat/JTUSjIg1_i6t8kCHKm459Wdhyzbi.woff2) format('woff2');
|
|
9457
|
+
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
9458
|
+
}
|
|
9459
|
+
|
|
9460
|
+
/* latin */
|
|
9461
|
+
@font-face {
|
|
9462
|
+
font-family: 'Montserrat';
|
|
9463
|
+
font-style: normal;
|
|
9464
|
+
font-weight: 300;
|
|
9465
|
+
font-display: swap;
|
|
9466
|
+
src: url(../fonts/Montserrat/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2');
|
|
9467
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
9468
|
+
}
|
|
9469
|
+
|
|
9470
|
+
/* cyrillic-ext */
|
|
9471
|
+
@font-face {
|
|
9472
|
+
font-family: 'Montserrat';
|
|
9473
|
+
font-style: normal;
|
|
9474
|
+
font-weight: 400;
|
|
9475
|
+
font-display: swap;
|
|
9476
|
+
src: url(../fonts/Montserrat/JTUSjIg1_i6t8kCHKm459WRhyzbi.woff2) format('woff2');
|
|
9477
|
+
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
9478
|
+
}
|
|
9479
|
+
|
|
9480
|
+
/* cyrillic */
|
|
9481
|
+
@font-face {
|
|
9482
|
+
font-family: 'Montserrat';
|
|
9483
|
+
font-style: normal;
|
|
9484
|
+
font-weight: 400;
|
|
9485
|
+
font-display: swap;
|
|
9486
|
+
src: url(../fonts/Montserrat/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2) format('woff2');
|
|
9487
|
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
9488
|
+
}
|
|
9489
|
+
|
|
9490
|
+
/* vietnamese */
|
|
9491
|
+
@font-face {
|
|
9492
|
+
font-family: 'Montserrat';
|
|
9493
|
+
font-style: normal;
|
|
9494
|
+
font-weight: 400;
|
|
9495
|
+
font-display: swap;
|
|
9496
|
+
src: url(../fonts/Montserrat/JTUSjIg1_i6t8kCHKm459WZhyzbi.woff2) format('woff2');
|
|
9497
|
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
|
9498
|
+
}
|
|
9499
|
+
|
|
9500
|
+
/* latin-ext */
|
|
9501
|
+
@font-face {
|
|
9502
|
+
font-family: 'Montserrat';
|
|
9503
|
+
font-style: normal;
|
|
9504
|
+
font-weight: 400;
|
|
9505
|
+
font-display: swap;
|
|
9506
|
+
src: url(../fonts/Montserrat/JTUSjIg1_i6t8kCHKm459Wdhyzbi.woff2) format('woff2');
|
|
9507
|
+
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
9508
|
+
}
|
|
9509
|
+
|
|
9510
|
+
/* latin */
|
|
9511
|
+
@font-face {
|
|
9512
|
+
font-family: 'Montserrat';
|
|
9513
|
+
font-style: normal;
|
|
9514
|
+
font-weight: 400;
|
|
9515
|
+
font-display: swap;
|
|
9516
|
+
src: url(../fonts/Montserrat/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2');
|
|
9517
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
9518
|
+
}
|
|
9519
|
+
|
|
9520
|
+
/* cyrillic-ext */
|
|
9521
|
+
@font-face {
|
|
9522
|
+
font-family: 'Montserrat';
|
|
9523
|
+
font-style: normal;
|
|
9524
|
+
font-weight: 700;
|
|
9525
|
+
font-display: swap;
|
|
9526
|
+
src: url(../fonts/Montserrat/JTUSjIg1_i6t8kCHKm459WRhyzbi.woff2) format('woff2');
|
|
9527
|
+
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
9528
|
+
}
|
|
9529
|
+
|
|
9530
|
+
/* cyrillic */
|
|
9531
|
+
@font-face {
|
|
9532
|
+
font-family: 'Montserrat';
|
|
9533
|
+
font-style: normal;
|
|
9534
|
+
font-weight: 700;
|
|
9535
|
+
font-display: swap;
|
|
9536
|
+
src: url(../fonts/Montserrat/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2) format('woff2');
|
|
9537
|
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
9538
|
+
}
|
|
9539
|
+
|
|
9540
|
+
/* vietnamese */
|
|
9541
|
+
@font-face {
|
|
9542
|
+
font-family: 'Montserrat';
|
|
9543
|
+
font-style: normal;
|
|
9544
|
+
font-weight: 700;
|
|
9545
|
+
font-display: swap;
|
|
9546
|
+
src: url(../fonts/Montserrat/JTUSjIg1_i6t8kCHKm459WZhyzbi.woff2) format('woff2');
|
|
9547
|
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
|
9548
|
+
}
|
|
9549
|
+
|
|
9550
|
+
/* latin-ext */
|
|
9551
|
+
@font-face {
|
|
9552
|
+
font-family: 'Montserrat';
|
|
9553
|
+
font-style: normal;
|
|
9554
|
+
font-weight: 700;
|
|
9555
|
+
font-display: swap;
|
|
9556
|
+
src: url(../fonts/Montserrat/JTUSjIg1_i6t8kCHKm459Wdhyzbi.woff2) format('woff2');
|
|
9557
|
+
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
9558
|
+
}
|
|
9559
|
+
|
|
9560
|
+
/* latin */
|
|
9561
|
+
@font-face {
|
|
9562
|
+
font-family: 'Montserrat';
|
|
9563
|
+
font-style: normal;
|
|
9564
|
+
font-weight: 700;
|
|
9565
|
+
font-display: swap;
|
|
9566
|
+
src: url(../fonts/Montserrat/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2');
|
|
9567
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
9214
9568
|
}
|