@itcase/ui 1.0.43 → 1.0.45
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/components/Accordion.js +56 -58
- package/dist/components/Avatar.js +31 -29
- package/dist/components/Background.js +15 -12
- package/dist/components/Badge.js +13 -11
- package/dist/components/Breadcrumbs.js +72 -71
- package/dist/components/Button.js +56 -53
- package/dist/components/Caption.js +11 -8
- package/dist/components/Card.js +22 -20
- package/dist/components/Cell.js +52 -50
- package/dist/components/Checkbox.js +31 -29
- package/dist/components/Chips.js +21 -18
- package/dist/components/Choice.js +43 -49
- package/dist/components/Code.js +260 -105
- package/dist/components/ContextMenu.js +38 -34
- package/dist/components/CookiesWarning.js +26 -27
- package/dist/components/DatePicker.js +64 -67
- package/dist/components/Divider.js +15 -12
- package/dist/components/Dot.js +8 -6
- package/dist/components/Dropdown.js +88 -88
- package/dist/components/Empty.js +21 -19
- package/dist/components/Fader.js +13 -10
- package/dist/components/Flex.js +43 -37
- package/dist/components/FormField.js +77 -66
- package/dist/components/Grid.js +66 -57
- package/dist/components/Group.js +33 -30
- package/dist/components/Icon.js +41 -38
- package/dist/components/Image.js +34 -28
- package/dist/components/Input.js +29 -28
- package/dist/components/InputPassword.js +45 -48
- package/dist/components/Label.js +29 -26
- package/dist/components/LanguageSelector.js +29 -30
- package/dist/components/Link.js +43 -39
- package/dist/components/List.js +35 -29
- package/dist/components/Loader.js +22 -19
- package/dist/components/Logo.js +17 -14
- package/dist/components/Menu.js +20 -19
- package/dist/components/MenuItem.js +55 -52
- package/dist/components/Modal.js +51 -63
- package/dist/components/Notification.js +41 -38
- package/dist/components/Pagination.js +17 -15
- package/dist/components/RadioButton.js +31 -29
- package/dist/components/RangeSlider.js +29 -26
- package/dist/components/Scrollbar.js +6 -4
- package/dist/components/Search.js +66 -61
- package/dist/components/Segmented.js +52 -58
- package/dist/components/Select.js +181 -168
- package/dist/components/SiteMenu.js +34 -28
- package/dist/components/Swiper.js +104 -92
- package/dist/components/Switch.js +11 -9
- package/dist/components/Tab.js +95 -80
- package/dist/components/Text.js +27 -24
- package/dist/components/Textarea.js +23 -21
- package/dist/components/Tile.js +37 -34
- package/dist/components/Title.js +38 -30
- package/dist/components/Tooltip.js +24 -21
- package/dist/components/Video.js +16 -13
- package/dist/components/Wrapper.js +23 -20
- package/dist/constants/componentProps/align.js +1 -1
- package/dist/constants/componentProps/alignDirection.js +1 -1
- package/dist/constants/componentProps/borderColor.js +1 -1
- package/dist/constants/componentProps/borderType.js +1 -1
- package/dist/constants/componentProps/captionPosition.js +1 -1
- package/dist/constants/componentProps/direction.js +1 -1
- package/dist/constants/componentProps/emojiSize.js +1 -1
- package/dist/constants/componentProps/fill.js +1 -1
- package/dist/constants/componentProps/fillGradient.js +1 -1
- package/dist/constants/componentProps/fillType.js +1 -1
- package/dist/constants/componentProps/flexAlign.js +1 -1
- package/dist/constants/componentProps/flexJustifyContent.js +1 -1
- package/dist/constants/componentProps/flexWrap.js +1 -1
- package/dist/constants/componentProps/gridAlign.js +1 -1
- package/dist/constants/componentProps/gridAlignSelf.js +1 -1
- package/dist/constants/componentProps/gridJustifyItems.js +1 -1
- package/dist/constants/componentProps/gridJustifySelf.js +1 -1
- package/dist/constants/componentProps/horizontalContentAlign.js +1 -1
- package/dist/constants/componentProps/horizontalResizeMode.js +1 -1
- package/dist/constants/componentProps/iconSize.js +1 -1
- package/dist/constants/componentProps/position.js +1 -1
- package/dist/constants/componentProps/resizeMode.js +1 -1
- package/dist/constants/componentProps/shape.js +1 -1
- package/dist/constants/componentProps/size.js +1 -1
- package/dist/constants/componentProps/stacking.js +1 -1
- package/dist/constants/componentProps/strokeColor.js +1 -1
- package/dist/constants/componentProps/textAlign.js +1 -1
- package/dist/constants/componentProps/textColor.js +1 -1
- package/dist/constants/componentProps/textColorActive.js +1 -1
- package/dist/constants/componentProps/textColorHover.js +1 -1
- package/dist/constants/componentProps/textGradient.js +1 -1
- package/dist/constants/componentProps/textStyle.js +1 -1
- package/dist/constants/componentProps/textTag.js +1 -1
- package/dist/constants/componentProps/textWeight.js +1 -1
- package/dist/constants/componentProps/titleSize.js +1 -1
- package/dist/constants/componentProps/type.js +1 -1
- package/dist/constants/componentProps/underline.js +1 -1
- package/dist/constants/componentProps/verticalContentAlign.js +1 -1
- package/dist/constants/componentProps/verticalResizeMode.js +1 -1
- package/dist/constants/componentProps/width.js +1 -1
- package/dist/constants/componentProps/wrap.js +1 -1
- package/dist/context/Notifications.js +38 -53
- package/dist/context/UIContext.js +14 -17
- package/dist/css/components/Choice/Choice.css +8 -0
- package/dist/css/components/Code/Code.css +30 -43
- package/dist/css/components/DatePicker/DatePicker.css +39 -0
- package/dist/css/components/Notification/Notification.css +22 -10
- package/dist/css/components/Notification/css/__item/notification__item_set_form.css +15 -0
- package/dist/css/components/Swiper/Swiper.css +6 -3
- package/dist/css/components/Tab/Tab.css +10 -1
- package/dist/css/styles/align/align.css +0 -1
- package/dist/css/styles/align/align_horizontal-reverse.css +6 -6
- package/dist/css/styles/align/align_horizontal.css +9 -9
- package/dist/css/styles/border-color/border-color.css +15 -1
- package/dist/css/styles/column-gap/column-gap.css +3 -1
- package/dist/css/styles/gap/gap.css +3 -1
- package/dist/css/styles/row-gap/row-gap.css +3 -1
- package/dist/hooks/useDeviceTargetClass.js +19 -18
- package/dist/hooks/useMediaQueries.js +7 -10
- package/dist/hooks/useStyles.js +127 -8
- package/package.json +30 -29
- package/dist/useStyles-e4accb53.js +0 -153
|
@@ -9,37 +9,34 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
9
9
|
var React__default = /*#__PURE__*/_interopDefault(React);
|
|
10
10
|
var PropTypes__default = /*#__PURE__*/_interopDefault(PropTypes);
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
const STATUSES = {
|
|
13
13
|
success: 'success',
|
|
14
14
|
info: 'info',
|
|
15
15
|
error: 'error',
|
|
16
16
|
warning: 'warning'
|
|
17
17
|
};
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
showNotification:
|
|
21
|
-
hideNotifications:
|
|
18
|
+
const NotificationsContext = /*#__PURE__*/React.createContext([]);
|
|
19
|
+
const NotificationsAPIContext = /*#__PURE__*/React.createContext({
|
|
20
|
+
showNotification: () => {},
|
|
21
|
+
hideNotifications: () => {},
|
|
22
22
|
notificationStatuses: STATUSES
|
|
23
23
|
});
|
|
24
24
|
function NotificationsProvider(props) {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
var closeByTime = 4500;
|
|
34
|
-
var textColor = '';
|
|
25
|
+
const [notifications, setNotifications] = React.useState([]);
|
|
26
|
+
const showNotification = React.useCallback((notification, onClose) => {
|
|
27
|
+
let id = uuid.v4().split('-')[0];
|
|
28
|
+
let title = '';
|
|
29
|
+
let text = '';
|
|
30
|
+
let status = STATUSES.warning;
|
|
31
|
+
let closeByTime = 4500;
|
|
32
|
+
let textColor = '';
|
|
35
33
|
if (typeof notification === 'string') {
|
|
36
34
|
text = notification;
|
|
37
35
|
} else if (typeof notification === 'object') {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
status = (_notification$status = notification.status) != null ? _notification$status : status;
|
|
36
|
+
id = notification.id ?? id;
|
|
37
|
+
title = notification.title ?? title;
|
|
38
|
+
text = notification.text ?? text;
|
|
39
|
+
status = notification.status ?? status;
|
|
43
40
|
switch (status) {
|
|
44
41
|
case 'success':
|
|
45
42
|
textColor = 'successTextPrimary';
|
|
@@ -54,52 +51,40 @@ function NotificationsProvider(props) {
|
|
|
54
51
|
textColor = 'warningTextPrimary';
|
|
55
52
|
break;
|
|
56
53
|
}
|
|
57
|
-
closeByTime =
|
|
54
|
+
closeByTime = notification.closeByTime ?? closeByTime;
|
|
58
55
|
}
|
|
59
|
-
setNotifications(
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}]);
|
|
69
|
-
});
|
|
56
|
+
setNotifications(prevState => [...prevState, {
|
|
57
|
+
id: id,
|
|
58
|
+
title: title,
|
|
59
|
+
text: text,
|
|
60
|
+
status: status,
|
|
61
|
+
textColor: textColor,
|
|
62
|
+
// closeByTime: closeByTime,
|
|
63
|
+
onClose: onClose
|
|
64
|
+
}]);
|
|
70
65
|
if (closeByTime) {
|
|
71
|
-
setTimeout(
|
|
72
|
-
setNotifications(
|
|
73
|
-
|
|
74
|
-
return notification.id === id;
|
|
75
|
-
});
|
|
66
|
+
setTimeout(() => {
|
|
67
|
+
setNotifications(prevState => {
|
|
68
|
+
const currentNotification = prevState.find(notification => notification.id === id);
|
|
76
69
|
if (currentNotification) {
|
|
77
70
|
if (typeof currentNotification.onClose === 'function') {
|
|
78
71
|
currentNotification.onClose();
|
|
79
72
|
}
|
|
80
|
-
return prevState.filter(
|
|
81
|
-
return notification.id !== id;
|
|
82
|
-
});
|
|
73
|
+
return prevState.filter(notification => notification.id !== id);
|
|
83
74
|
}
|
|
84
75
|
return prevState;
|
|
85
76
|
});
|
|
86
77
|
}, closeByTime);
|
|
87
78
|
}
|
|
88
79
|
}, []);
|
|
89
|
-
|
|
90
|
-
setNotifications(
|
|
91
|
-
return prevState.filter(function (notification) {
|
|
92
|
-
return notification.id !== id;
|
|
93
|
-
});
|
|
94
|
-
});
|
|
95
|
-
}, []);
|
|
96
|
-
var notificationsAPI = React.useMemo(function () {
|
|
97
|
-
return {
|
|
98
|
-
showNotification: showNotification,
|
|
99
|
-
hideNotifications: hideNotifications,
|
|
100
|
-
notificationStatuses: STATUSES
|
|
101
|
-
};
|
|
80
|
+
const hideNotifications = React.useCallback(id => {
|
|
81
|
+
setNotifications(prevState => prevState.filter(notification => notification.id !== id));
|
|
102
82
|
}, []);
|
|
83
|
+
const notificationsAPI = React.useMemo(() => ({
|
|
84
|
+
showNotification: showNotification,
|
|
85
|
+
hideNotifications: hideNotifications,
|
|
86
|
+
notificationStatuses: STATUSES
|
|
87
|
+
}), []);
|
|
103
88
|
return /*#__PURE__*/React__default.default.createElement(NotificationsAPIContext.Provider, {
|
|
104
89
|
value: notificationsAPI
|
|
105
90
|
}, /*#__PURE__*/React__default.default.createElement(NotificationsContext.Provider, {
|
|
@@ -10,14 +10,14 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
10
10
|
var React__default = /*#__PURE__*/_interopDefault(React);
|
|
11
11
|
var PropTypes__default = /*#__PURE__*/_interopDefault(PropTypes);
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
const UserDeviceContext = /*#__PURE__*/React.createContext({
|
|
14
14
|
isMobile: false,
|
|
15
15
|
isTablet: false,
|
|
16
16
|
isDesktop: false
|
|
17
17
|
});
|
|
18
|
-
|
|
18
|
+
const SiteMenuContext = /*#__PURE__*/React.createContext({
|
|
19
19
|
isSiteMenuOpen: false,
|
|
20
|
-
setIsSiteMenuOpen:
|
|
20
|
+
setIsSiteMenuOpen: () => {}
|
|
21
21
|
});
|
|
22
22
|
function useUserDeviceContext() {
|
|
23
23
|
return React.useContext(UserDeviceContext);
|
|
@@ -25,20 +25,17 @@ function useUserDeviceContext() {
|
|
|
25
25
|
function useSiteMenuContext() {
|
|
26
26
|
return React.useContext(SiteMenuContext);
|
|
27
27
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
userDeviceState =
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
};
|
|
40
|
-
}, [isSiteMenuOpen]);
|
|
41
|
-
var mediaQueriesDevices = useMediaQueries.useMediaQueries(userDeviceState);
|
|
28
|
+
const UIProvider = /*#__PURE__*/React.memo(function UIProvider(props) {
|
|
29
|
+
const {
|
|
30
|
+
children,
|
|
31
|
+
userDeviceState = {}
|
|
32
|
+
} = props;
|
|
33
|
+
const [isSiteMenuOpen, setIsSiteMenuOpen] = React.useState(false);
|
|
34
|
+
const siteMenuContextState = React.useMemo(() => ({
|
|
35
|
+
isSiteMenuOpen,
|
|
36
|
+
setIsSiteMenuOpen
|
|
37
|
+
}), [isSiteMenuOpen]);
|
|
38
|
+
const mediaQueriesDevices = useMediaQueries.useMediaQueries(userDeviceState);
|
|
42
39
|
return /*#__PURE__*/React__default.default.createElement(UserDeviceContext.Provider, {
|
|
43
40
|
value: mediaQueriesDevices
|
|
44
41
|
}, /*#__PURE__*/React__default.default.createElement(SiteMenuContext.Provider, {
|
|
@@ -49,6 +49,14 @@
|
|
|
49
49
|
&_shape {
|
|
50
50
|
&_rounded {
|
|
51
51
|
border-radius: 8px;
|
|
52
|
+
^^&__item:first-child {
|
|
53
|
+
border-top-left-radius: 8px;
|
|
54
|
+
border-bottom-left-radius: 8px;
|
|
55
|
+
}
|
|
56
|
+
^^&__item:last-child {
|
|
57
|
+
border-top-right-radius: 8px;
|
|
58
|
+
border-bottom-right-radius: 8px;
|
|
59
|
+
}
|
|
52
60
|
}
|
|
53
61
|
&_circular {
|
|
54
62
|
border-radius: 50%;
|
|
@@ -1,55 +1,42 @@
|
|
|
1
1
|
.code {
|
|
2
2
|
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
justify-content: center;
|
|
5
|
-
align-items: center;
|
|
6
|
-
gap: 4px;
|
|
7
|
-
&__group {
|
|
8
|
-
width: 100%;
|
|
9
|
-
display: flex;
|
|
10
|
-
justify-content: space-between;
|
|
11
|
-
align-items: center;
|
|
12
|
-
flex-wrap: nowrap;
|
|
13
|
-
^&__input {
|
|
14
|
-
text-align: center;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
3
|
}
|
|
18
|
-
.
|
|
19
|
-
&
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
padding: var(--code-input-size-$(size)-padding);
|
|
28
|
-
}
|
|
4
|
+
.code__input {
|
|
5
|
+
&_size {
|
|
6
|
+
@each $size in normal, compact {
|
|
7
|
+
&_$(size) {
|
|
8
|
+
min-width: var(--code-input-size-$(size)-width);
|
|
9
|
+
min-height: var(--code-input-size-$(size)-height);
|
|
10
|
+
max-width: var(--code-input-size-$(size)-width);
|
|
11
|
+
max-height: var(--code-input-size-$(size)-height);
|
|
12
|
+
padding: var(--code-input-size-$(size)-padding);
|
|
29
13
|
}
|
|
30
14
|
}
|
|
31
15
|
}
|
|
16
|
+
&[type='number']::-webkit-outer-spin-button,
|
|
17
|
+
&[type='number']::-webkit-inner-spin-button {
|
|
18
|
+
margin: 0;
|
|
19
|
+
appearance: none;
|
|
20
|
+
}
|
|
21
|
+
&[type='number'] {
|
|
22
|
+
appearance: textfield;
|
|
23
|
+
}
|
|
32
24
|
}
|
|
33
|
-
.
|
|
34
|
-
&
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
&_circular {
|
|
41
|
-
border-radius: 50%;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
25
|
+
.code__input {
|
|
26
|
+
&_shape {
|
|
27
|
+
&_rounded {
|
|
28
|
+
border-radius: 8px;
|
|
29
|
+
}
|
|
30
|
+
&_circular {
|
|
31
|
+
border-radius: 50%;
|
|
44
32
|
}
|
|
45
33
|
}
|
|
46
34
|
}
|
|
47
35
|
:root {
|
|
48
|
-
--code-input-size-
|
|
49
|
-
--code-input-size-
|
|
50
|
-
--code-input-size-
|
|
51
|
-
|
|
52
|
-
--code-input-size-
|
|
53
|
-
--code-input-size-
|
|
54
|
-
--code-input-size-middle-padding: 10px 12px;
|
|
36
|
+
--code-input-size-compact-width: 36px;
|
|
37
|
+
--code-input-size-compact-height: 36px;
|
|
38
|
+
--code-input-size-compact-padding: 5px;
|
|
39
|
+
--code-input-size-normal-width: 48px;
|
|
40
|
+
--code-input-size-normal-height: 48px;
|
|
41
|
+
--code-input-size-normal-padding: 10px 12px;
|
|
55
42
|
}
|
|
@@ -416,6 +416,45 @@
|
|
|
416
416
|
.react-datepicker__year-text--highlighted-custom-2 {
|
|
417
417
|
color: green;
|
|
418
418
|
}
|
|
419
|
+
.react-datepicker__day--holidays,
|
|
420
|
+
.react-datepicker__month-text--holidays,
|
|
421
|
+
.react-datepicker__quarter-text--holidays,
|
|
422
|
+
.react-datepicker__year-text--holidays {
|
|
423
|
+
position: relative;
|
|
424
|
+
border-radius: 0.3rem;
|
|
425
|
+
background-color: #ff6803;
|
|
426
|
+
color: #fff;
|
|
427
|
+
}
|
|
428
|
+
.react-datepicker__day--holidays .holiday-overlay,
|
|
429
|
+
.react-datepicker__month-text--holidays .holiday-overlay,
|
|
430
|
+
.react-datepicker__quarter-text--holidays .holiday-overlay,
|
|
431
|
+
.react-datepicker__year-text--holidays .holiday-overlay {
|
|
432
|
+
position: absolute;
|
|
433
|
+
bottom: 100%;
|
|
434
|
+
left: 50%;
|
|
435
|
+
transform: translateX(-50%);
|
|
436
|
+
background-color: #333;
|
|
437
|
+
color: #fff;
|
|
438
|
+
padding: 4px;
|
|
439
|
+
border-radius: 4px;
|
|
440
|
+
white-space: nowrap;
|
|
441
|
+
visibility: hidden;
|
|
442
|
+
opacity: 0;
|
|
443
|
+
transition: visibility 0s, opacity 0.3s ease-in-out;
|
|
444
|
+
}
|
|
445
|
+
.react-datepicker__day--holidays:hover,
|
|
446
|
+
.react-datepicker__month-text--holidays:hover,
|
|
447
|
+
.react-datepicker__quarter-text--holidays:hover,
|
|
448
|
+
.react-datepicker__year-text--holidays:hover {
|
|
449
|
+
background-color: #cf5300;
|
|
450
|
+
}
|
|
451
|
+
.react-datepicker__day--holidays:hover .holiday-overlay,
|
|
452
|
+
.react-datepicker__month-text--holidays:hover .holiday-overlay,
|
|
453
|
+
.react-datepicker__quarter-text--holidays:hover .holiday-overlay,
|
|
454
|
+
.react-datepicker__year-text--holidays:hover .holiday-overlay {
|
|
455
|
+
visibility: visible;
|
|
456
|
+
opacity: 1;
|
|
457
|
+
}
|
|
419
458
|
.react-datepicker__day--selected, .react-datepicker__day--in-selecting-range, .react-datepicker__day--in-range,
|
|
420
459
|
.react-datepicker__month-text--selected,
|
|
421
460
|
.react-datepicker__month-text--in-selecting-range,
|
|
@@ -2,29 +2,26 @@
|
|
|
2
2
|
}
|
|
3
3
|
.notification {
|
|
4
4
|
&&_type_global {
|
|
5
|
+
background: none;
|
|
6
|
+
padding: 0;
|
|
5
7
|
position: fixed;
|
|
6
|
-
right: 0;
|
|
7
8
|
top: 0;
|
|
8
|
-
|
|
9
|
-
background: none;
|
|
9
|
+
right: 0;
|
|
10
10
|
z-index: 1000;
|
|
11
11
|
^&__wrapper {
|
|
12
12
|
width: 100%;
|
|
13
|
-
align-items: flex-end;
|
|
14
|
-
display: flex;
|
|
15
|
-
gap: 20px;
|
|
16
13
|
position: relative;
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-flow: column nowrap;
|
|
16
|
+
align-items: flex-end;
|
|
17
17
|
top: 20px;
|
|
18
18
|
right: 40px;
|
|
19
|
-
|
|
19
|
+
gap: 20px;
|
|
20
20
|
^^&__item {
|
|
21
21
|
width: 320px;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
}
|
|
26
|
-
:root {
|
|
27
|
-
|
|
28
25
|
}
|
|
29
26
|
.notification__item {
|
|
30
27
|
&_set {
|
|
@@ -56,6 +53,21 @@
|
|
|
56
53
|
}
|
|
57
54
|
}
|
|
58
55
|
}
|
|
56
|
+
.notification__item {
|
|
57
|
+
&_set {
|
|
58
|
+
&_form {
|
|
59
|
+
width: 100%;
|
|
60
|
+
^^&-wrapper {
|
|
61
|
+
text-align: left;
|
|
62
|
+
padding: 12px 16px;
|
|
63
|
+
border-radius: 8px;
|
|
64
|
+
display: flex;
|
|
65
|
+
flex-direction: column;
|
|
66
|
+
gap: 4px;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
59
71
|
.notification__item {
|
|
60
72
|
&_status {
|
|
61
73
|
&_success {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Swiper 10.
|
|
2
|
+
* Swiper 10.2.0
|
|
3
3
|
* Most modern mobile touch slider and framework with hardware accelerated transitions
|
|
4
4
|
* https://swiperjs.com
|
|
5
5
|
*
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* Released under the MIT License
|
|
9
9
|
*
|
|
10
|
-
* Released on: August
|
|
10
|
+
* Released on: August 17, 2023
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
/* FONT_START */
|
|
@@ -750,7 +750,10 @@ button.swiper-pagination-bullet {
|
|
|
750
750
|
pointer-events: none;
|
|
751
751
|
}
|
|
752
752
|
|
|
753
|
-
.swiper-fade .swiper-slide-active
|
|
753
|
+
.swiper-fade .swiper-slide-active {
|
|
754
|
+
pointer-events: auto;
|
|
755
|
+
}
|
|
756
|
+
|
|
754
757
|
.swiper-fade .swiper-slide-active .swiper-slide-active {
|
|
755
758
|
pointer-events: auto;
|
|
756
759
|
}
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
position: relative;
|
|
41
41
|
display: flex;
|
|
42
42
|
align-items: stretch;
|
|
43
|
+
flex-flow: row wrap;
|
|
43
44
|
& .tab {
|
|
44
45
|
display: flex;
|
|
45
46
|
flex-flow: column nowrap;
|
|
@@ -58,6 +59,15 @@
|
|
|
58
59
|
}
|
|
59
60
|
}
|
|
60
61
|
}
|
|
62
|
+
.tab {
|
|
63
|
+
&_state {
|
|
64
|
+
&_active {
|
|
65
|
+
^^&__label {
|
|
66
|
+
color: var(--color-surface-text-accent);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
61
71
|
:root {
|
|
62
72
|
--tab-size-normal-padding: 10px;
|
|
63
73
|
--tab-size-normal-gap: 10px;
|
|
@@ -65,4 +75,3 @@
|
|
|
65
75
|
--tab-size-compact-padding: 10px;
|
|
66
76
|
--tab-size-compact-gap: 10px;
|
|
67
77
|
}
|
|
68
|
-
|
|
@@ -7,28 +7,28 @@
|
|
|
7
7
|
align-items: flex-start;
|
|
8
8
|
}
|
|
9
9
|
&-center {
|
|
10
|
+
text-align: center;
|
|
10
11
|
justify-content: center;
|
|
11
12
|
align-items: flex-start;
|
|
12
|
-
text-align: center;
|
|
13
13
|
}
|
|
14
14
|
&-right {
|
|
15
|
+
text-align: right;
|
|
15
16
|
justify-content: flex-end;
|
|
16
17
|
align-items: flex-start;
|
|
17
|
-
text-align: right;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
&^&_left {
|
|
21
21
|
align-items: center;
|
|
22
22
|
}
|
|
23
23
|
&^&_center {
|
|
24
|
+
text-align: center;
|
|
24
25
|
justify-content: center;
|
|
25
26
|
align-items: center;
|
|
26
|
-
text-align: center;
|
|
27
27
|
}
|
|
28
28
|
&^&_right {
|
|
29
|
+
text-align: right;
|
|
29
30
|
justify-content: flex-end;
|
|
30
31
|
align-items: center;
|
|
31
|
-
text-align: right;
|
|
32
32
|
}
|
|
33
33
|
&^&_bottom {
|
|
34
34
|
&-left {
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
align-items: flex-end;
|
|
37
37
|
}
|
|
38
38
|
&-center {
|
|
39
|
+
text-align: center;
|
|
39
40
|
justify-content: center;
|
|
40
41
|
align-items: flex-end;
|
|
41
|
-
text-align: center;
|
|
42
42
|
}
|
|
43
43
|
&-right {
|
|
44
|
+
text-align: right;
|
|
44
45
|
justify-content: flex-end;
|
|
45
46
|
align-items: flex-end;
|
|
46
|
-
text-align: right;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -8,38 +8,38 @@
|
|
|
8
8
|
align-items: flex-start;
|
|
9
9
|
}
|
|
10
10
|
&-center {
|
|
11
|
+
text-align: center;
|
|
11
12
|
justify-content: center;
|
|
12
13
|
align-items: flex-start;
|
|
13
|
-
text-align: center;
|
|
14
14
|
}
|
|
15
15
|
&-right {
|
|
16
|
+
text-align: right;
|
|
16
17
|
justify-content: flex-end;
|
|
17
18
|
align-items: flex-start;
|
|
18
|
-
text-align: right;
|
|
19
19
|
}
|
|
20
20
|
&-auto {
|
|
21
|
-
align-items: flex-start;
|
|
22
21
|
text-align: right;
|
|
23
22
|
justify-content: space-between;
|
|
23
|
+
align-items: flex-start;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
&^&_left {
|
|
27
27
|
align-items: center;
|
|
28
28
|
}
|
|
29
29
|
&^&_center {
|
|
30
|
+
text-align: center;
|
|
30
31
|
justify-content: center;
|
|
31
32
|
align-items: center;
|
|
32
|
-
text-align: center;
|
|
33
33
|
&-auto {
|
|
34
|
-
align-items: center;
|
|
35
34
|
text-align: center;
|
|
36
35
|
justify-content: space-between;
|
|
36
|
+
align-items: center;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
&^&_right {
|
|
40
|
+
text-align: right;
|
|
40
41
|
justify-content: flex-end;
|
|
41
42
|
align-items: center;
|
|
42
|
-
text-align: right;
|
|
43
43
|
}
|
|
44
44
|
&^&_bottom {
|
|
45
45
|
align-items: flex-end;
|
|
@@ -48,19 +48,19 @@
|
|
|
48
48
|
align-items: flex-end;
|
|
49
49
|
}
|
|
50
50
|
&-center {
|
|
51
|
+
text-align: center;
|
|
51
52
|
justify-content: center;
|
|
52
53
|
align-items: flex-end;
|
|
53
|
-
text-align: center;
|
|
54
54
|
}
|
|
55
55
|
&-right {
|
|
56
|
+
text-align: right;
|
|
56
57
|
justify-content: flex-end;
|
|
57
58
|
align-items: flex-end;
|
|
58
|
-
text-align: right;
|
|
59
59
|
}
|
|
60
60
|
&-auto {
|
|
61
|
-
align-items: flex-end;
|
|
62
61
|
text-align: right;
|
|
63
62
|
justify-content: space-between;
|
|
63
|
+
align-items: flex-end;
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
}
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, active, disabled, hover {
|
|
6
6
|
&-$(color) {
|
|
7
7
|
border-width: 1px;
|
|
8
|
-
border-style: solid;
|
|
9
8
|
border-color: var(--color-$(type)-border-$(color));
|
|
9
|
+
border-style: solid;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -24,5 +24,19 @@
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
+
&_focus {
|
|
28
|
+
&_$(type) {
|
|
29
|
+
&-border {
|
|
30
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, active, disabled, hover {
|
|
31
|
+
&-$(color) {
|
|
32
|
+
&:focus {
|
|
33
|
+
outline: 0;
|
|
34
|
+
border-color: var(--color-$(type)-border-$(color)) !important;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
27
41
|
}
|
|
28
42
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
.column-gap {
|
|
2
2
|
@each $val in 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200 {
|
|
3
|
-
|
|
3
|
+
&_$(val) {
|
|
4
|
+
column-gap: $(val)px;
|
|
5
|
+
}
|
|
4
6
|
}
|
|
5
7
|
}
|