@webitel/ui-sdk 0.9.65 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +42 -0
- package/dist/fonts/Montserrat-Black.27e3649b.ttf +0 -0
- package/dist/fonts/Montserrat-BlackItalic.d9b6ba59.ttf +0 -0
- package/dist/fonts/Montserrat-Bold.ade91f47.ttf +0 -0
- package/dist/fonts/Montserrat-BoldItalic.1b384149.ttf +0 -0
- package/dist/fonts/Montserrat-ExtraBold.19ba7aa5.ttf +0 -0
- package/dist/fonts/Montserrat-ExtraBoldItalic.52a50ca0.ttf +0 -0
- package/dist/fonts/Montserrat-ExtraLight.570a244c.ttf +0 -0
- package/dist/fonts/Montserrat-ExtraLightItalic.1170df55.ttf +0 -0
- package/dist/fonts/Montserrat-Italic.a7063e0c.ttf +0 -0
- package/dist/fonts/Montserrat-Light.409c7f79.ttf +0 -0
- package/dist/fonts/Montserrat-LightItalic.01c4560c.ttf +0 -0
- package/dist/fonts/Montserrat-Medium.c8b6e083.ttf +0 -0
- package/dist/fonts/Montserrat-MediumItalic.40a74702.ttf +0 -0
- package/dist/fonts/Montserrat-SemiBoldItalic.83c1ec1f.ttf +0 -0
- package/dist/fonts/Montserrat-Thin.43dd5b7a.ttf +0 -0
- package/dist/fonts/Montserrat-ThinItalic.3c2b290f.ttf +0 -0
- package/dist/ui-sdk.common.js +948 -929
- package/dist/ui-sdk.common.js.map +1 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.umd.js +948 -929
- package/dist/ui-sdk.umd.js.map +1 -1
- package/dist/ui-sdk.umd.min.js +2 -2
- package/dist/ui-sdk.umd.min.js.map +1 -1
- package/package.json +5 -5
- package/src/components/atoms/wt-button/wt-button.vue +187 -150
- package/src/components/atoms/wt-chip/__tests__/WtChip.spec.js +19 -0
- package/src/components/atoms/wt-chip/wt-chip.vue +23 -0
- package/src/components/atoms/wt-context-menu/wt-context-menu.vue +1 -1
- package/src/components/atoms/wt-icon/wt-icon.vue +4 -0
- package/src/components/atoms/wt-indicator/wt-indicator.vue +39 -6
- package/src/components/atoms/wt-input-info/wt-input-info.vue +1 -1
- package/src/components/atoms/wt-loader/_internals/wt-loader--sm.vue +34 -153
- package/src/components/atoms/wt-loader/wt-loader.vue +2 -4
- package/src/components/atoms/wt-rounded-action/__tests__/WtRoundedAction.spec.js +0 -11
- package/src/components/atoms/wt-rounded-action/wt-rounded-action.vue +27 -179
- package/src/components/atoms/wt-tooltip/wt-tooltip.vue +2 -2
- package/src/components/index.js +2 -2
- package/src/components/molecules/wt-button-select/wt-button-select.vue +2 -1
- package/src/components/molecules/wt-datepicker/wt-datepicker.vue +59 -62
- package/src/components/molecules/wt-datetimepicker/wt-datetimepicker.vue +2 -7
- package/src/components/molecules/wt-input/wt-input.vue +4 -25
- package/src/components/molecules/wt-label/wt-label.vue +5 -2
- package/src/components/molecules/wt-notification/wt-notification.vue +3 -2
- package/src/components/molecules/wt-popup/__tests__/WtPopup.spec.js +1 -1
- package/src/components/molecules/wt-popup/wt-popup.vue +26 -28
- package/src/components/molecules/wt-progress-bar/wt-progress-bar.vue +3 -4
- package/src/components/molecules/wt-radio/wt-radio.vue +0 -2
- package/src/components/molecules/wt-search-bar/wt-search-bar.vue +4 -20
- package/src/components/molecules/wt-select/wt-select.vue +26 -28
- package/src/components/molecules/wt-tabs/wt-tabs.vue +6 -18
- package/src/components/molecules/wt-tags-input/wt-tags-input.vue +31 -25
- package/src/components/molecules/wt-textarea/wt-textarea.vue +6 -17
- package/src/components/molecules/wt-time-input/wt-time-input.vue +1 -3
- package/src/components/molecules/wt-timepicker/wt-timepicker.vue +0 -3
- package/src/components/organisms/wt-app-header/wt-app-header.vue +1 -0
- package/src/components/organisms/wt-app-header/wt-app-navigator.vue +32 -33
- package/src/components/organisms/wt-app-header/wt-header-actions.vue +145 -144
- package/src/components/organisms/wt-filters-panel-wrapper/wt-filters-panel-wrapper.vue +3 -3
- package/src/components/organisms/wt-headline/wt-headline.vue +1 -2
- package/src/components/organisms/wt-navigation-bar/wt-navigation-bar.vue +8 -11
- package/src/components/organisms/wt-page-wrapper/wt-page-wrapper.vue +6 -14
- package/src/components/organisms/wt-pagination/wt-pagination.vue +5 -5
- package/src/components/organisms/wt-player/wt-player.vue +1 -1
- package/src/components/organisms/wt-status-select/wt-status-select.vue +24 -4
- package/src/components/organisms/wt-table/wt-table.vue +15 -12
- package/src/components/organisms/wt-table-actions/wt-table-actions.vue +2 -4
- package/src/components/organisms/wt-table-column-select/wt-table-column-select.vue +1 -1
- package/src/css/components/_components.scss +1 -1
- package/src/css/components/atoms/wt-button/_variables.scss +22 -24
- package/src/css/components/atoms/wt-chip/_variables.scss +7 -0
- package/src/css/components/atoms/{wt-badge/wt-badge.scss → wt-chip/wt-chip.scss} +12 -7
- package/src/css/components/atoms/wt-context-menu/_variables.scss +1 -1
- package/src/css/components/atoms/wt-indicator/_variables.scss +6 -2
- package/src/css/components/atoms/wt-label/_variables.scss +0 -1
- package/src/css/components/atoms/wt-rounded-action/_variables.scss +3 -26
- package/src/css/components/atoms/wt-tooltip/_variables.scss +7 -5
- package/src/css/components/molecules/wt-button-select/_variables.scss +5 -8
- package/src/css/components/molecules/wt-checkbox/_variables.scss +1 -1
- package/src/css/components/molecules/wt-datepicker/_variables.scss +15 -14
- package/src/css/components/molecules/wt-datepicker/datepicker-calendar.scss +20 -31
- package/src/css/components/molecules/wt-datetimepicker/_variables.scss +5 -5
- package/src/css/components/molecules/wt-input/_variables.scss +3 -3
- package/src/css/components/molecules/wt-notification/_variables.scss +4 -4
- package/src/css/components/molecules/wt-popup/_variables.scss +16 -8
- package/src/css/components/molecules/wt-progress-bar/_variables.scss +3 -3
- package/src/css/components/molecules/wt-radio/_variables.scss +1 -1
- package/src/css/components/molecules/wt-search-bar/_variables.scss +5 -1
- package/src/css/components/molecules/wt-select/_variables.scss +49 -13
- package/src/css/components/molecules/wt-switcher/_variables.scss +1 -1
- package/src/css/components/molecules/wt-tabs/_variables.scss +2 -2
- package/src/css/components/molecules/wt-tags-input/_variables.scss +4 -5
- package/src/css/components/molecules/wt-textarea/_variables.scss +9 -1
- package/src/css/components/molecules/wt-timepicker/_variables.scss +1 -1
- package/src/css/components/organisms/wt-app-header/_variables.scss +13 -9
- package/src/css/components/organisms/wt-headline/_variables.scss +3 -4
- package/src/css/components/organisms/wt-navigation-bar/_variables.scss +10 -10
- package/src/css/components/organisms/wt-notifications-bar/_variables.scss +2 -2
- package/src/css/components/organisms/wt-page-wrapper/_variables.scss +3 -3
- package/src/css/components/organisms/wt-pagination/_variables.scss +1 -3
- package/src/css/components/organisms/wt-player/_variables.scss +2 -2
- package/src/css/components/organisms/wt-status-select/_variables.scss +3 -3
- package/src/css/components/organisms/wt-table/_variables.scss +9 -9
- package/src/css/components/organisms/wt-table-actions/_variables.scss +2 -1
- package/src/css/main.scss +7 -5
- package/src/css/styleguide/_styleguide.scss +8 -3
- package/src/css/styleguide/border-radius/_border-radius.scss +4 -0
- package/src/css/{colors → styleguide/colors}/_colors.scss +5 -7
- package/src/css/{display-helpers → styleguide/display-helpers}/_display-helpers.scss +2 -0
- package/src/css/styleguide/elevations/_elevations.scss +13 -0
- package/src/css/styleguide/fonts/_fonts.scss +126 -0
- package/src/css/styleguide/placeholder/_placeholder.scss +49 -0
- package/src/css/styleguide/spacings/_spacings.scss +15 -0
- package/src/css/styleguide/transitions/_transitions.scss +1 -0
- package/src/css/{transitions → styleguide/transitions}/fade/_fade.scss +0 -0
- package/src/css/styleguide/typography/_typography.scss +102 -0
- package/src/css/{sizes → styleguide/viewport-breakpoints}/_viewport-breakpoints.scss +0 -0
- package/src/locale/en/en.js +28 -3
- package/src/locale/ru/ru.js +26 -1
- package/src/locale/ua/ua.js +26 -1
- package/src/components/atoms/wt-badge/__tests__/WtBadge.spec.js +0 -19
- package/src/components/atoms/wt-badge/wt-badge.vue +0 -23
- package/src/css/components/atoms/wt-badge/_variables.scss +0 -7
- package/src/css/fonts/_fonts.scss +0 -9
- package/src/css/shadows/_shadows.scss +0 -7
- package/src/css/sizes/_sizes.scss +0 -2
- package/src/css/sizes/_spacing.scss +0 -33
- package/src/css/transitions/_transitions.scss +0 -1
- package/src/css/typography/_typography.scss +0 -72
|
@@ -1,36 +1,34 @@
|
|
|
1
|
-
%typo-btn {
|
|
2
|
-
font: {
|
|
3
|
-
family: 'Montserrat Semi', monospace;
|
|
4
|
-
size: 12px;
|
|
5
|
-
}
|
|
6
|
-
line-height: 14px;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
%typo-btn-lg {
|
|
10
|
-
font: {
|
|
11
|
-
family: 'Montserrat Semi', monospace;
|
|
12
|
-
size: 20px;
|
|
13
|
-
}
|
|
14
|
-
line-height: 24px;
|
|
15
|
-
}
|
|
16
1
|
|
|
17
2
|
:root {
|
|
18
|
-
--btn-
|
|
19
|
-
--btn-
|
|
20
|
-
--btn-
|
|
3
|
+
--btn-min-width: 90px;
|
|
4
|
+
--btn-border-size: 2px;
|
|
5
|
+
--btn-padding: var(--spacing-xs) var(--spacing-sm);
|
|
6
|
+
|
|
7
|
+
--btn-padding--size-md: var(--btn-padding);
|
|
8
|
+
--btn-padding--size-sm: var(--spacing-2xs) var(--spacing-xs);
|
|
9
|
+
|
|
10
|
+
--btn-padding--outline:
|
|
11
|
+
calc(var(--spacing-xs) - var(--btn-border-size))
|
|
12
|
+
calc(var(--spacing-sm) - var(--btn-border-size));
|
|
13
|
+
--btn-padding--size-md--outline: var(--btn-padding--outline);
|
|
14
|
+
--btn-padding--size-sm--outline:
|
|
15
|
+
calc(var(--spacing-2xs) - var(--btn-border-size))
|
|
16
|
+
calc(var(--spacing-xs) - var(--btn-border-size));
|
|
17
|
+
|
|
18
|
+
--btn-border: var(--btn-border-size) solid;
|
|
21
19
|
|
|
22
20
|
// BUTTON COLORS
|
|
23
|
-
--btn-dark-font-color:
|
|
24
|
-
--btn-light-font-color:
|
|
21
|
+
--btn-dark-font-color: var(--text-primary-color);
|
|
22
|
+
--btn-light-font-color: var(--text-contrast-color);
|
|
25
23
|
|
|
26
|
-
--btn-
|
|
27
|
-
--btn-
|
|
24
|
+
--btn-accent-color: hsla(var(--_accent-color), var(--_opacity--default));
|
|
25
|
+
--btn-accent--hover-color: hsla(var(--_accent-color), var(--_opacity--hover));
|
|
28
26
|
|
|
29
27
|
--btn-secondary-color: hsla(var(--_secondary-color), var(--_opacity--default));
|
|
30
28
|
--btn-secondary--hover-color: hsla(var(--_secondary-color), var(--_opacity--hover));
|
|
31
29
|
|
|
32
|
-
--btn-disabled-color: var(--
|
|
33
|
-
--btn-disabled-
|
|
30
|
+
--btn-disabled-font-color: var(--secondary-color-50);
|
|
31
|
+
--btn-disabled-color: hsla(var(--_secondary-color-hue), 15%, 80%, var(--_opacity--active));
|
|
34
32
|
|
|
35
33
|
--btn-true-color: var(--true-color);
|
|
36
34
|
--btn-true--hover-color: var(--true--hover-color);
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
.wt-
|
|
2
|
-
@extend %typo-
|
|
1
|
+
.wt-chip {
|
|
2
|
+
@extend %typo-caption;
|
|
3
3
|
|
|
4
4
|
display: inline-block;
|
|
5
|
-
padding: var(--
|
|
6
|
-
|
|
7
|
-
border-radius: var(--
|
|
5
|
+
padding: var(--chip-padding);
|
|
6
|
+
color: var(--text-primary-color);
|
|
7
|
+
border-radius: var(--chip-border-radius);
|
|
8
|
+
background: var(--chip-bg-color);
|
|
8
9
|
|
|
9
10
|
&--main-color {
|
|
10
|
-
background: var(--
|
|
11
|
+
background: var(--chip-bg-color);
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
&--outline-color {
|
|
14
|
-
background: var(--
|
|
15
|
+
background: var(--chip-bg-color--outline);
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
&--accent-color {
|
|
@@ -22,6 +23,10 @@
|
|
|
22
23
|
background: var(--secondary-color);
|
|
23
24
|
}
|
|
24
25
|
|
|
26
|
+
&--secondary-50-color {
|
|
27
|
+
background: var(--secondary-color-50);
|
|
28
|
+
}
|
|
29
|
+
|
|
25
30
|
&--success-color {
|
|
26
31
|
background: var(--true-color);
|
|
27
32
|
}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--indicator-size:
|
|
3
|
-
--indicator-
|
|
2
|
+
--indicator-dot-size--size-sm: var(--spacing-xs);
|
|
3
|
+
--indicator-dot-size--size-md: var(--spacing-sm);
|
|
4
|
+
--indicator-dot-size: var(--indicator-size--size-md);
|
|
5
|
+
--indicator-dot-offset: var(--spacing-2xs);
|
|
6
|
+
|
|
7
|
+
--indicator-text-margin: var(--spacing-2xs);
|
|
4
8
|
|
|
5
9
|
--indicator-primary-color: var(--accent-color);
|
|
6
10
|
|
|
@@ -1,30 +1,7 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--rounded-action-
|
|
3
|
-
--rounded-action-size--md: 50px; // default
|
|
4
|
-
--rounded-action-size--sm: 40px;
|
|
5
|
-
--rounded-action-border: 1px solid;
|
|
2
|
+
--rounded-action-padding: var(--spacing-xs);
|
|
6
3
|
|
|
7
|
-
|
|
8
|
-
--rounded-action-primary-color: var(--main-accent-color);
|
|
9
|
-
--rounded-action-primary--hover-color: #EFB917;
|
|
4
|
+
--rounded-action-padding--outline: calc(var(--spacing-xs) - var(--btn-border-size));
|
|
10
5
|
|
|
11
|
-
--rounded-action-
|
|
12
|
-
--rounded-action-secondary-bg-color: transparent;
|
|
13
|
-
--rounded-action-secondary--hover-color: #000;
|
|
14
|
-
--rounded-action-secondary--active-color: #000;
|
|
15
|
-
|
|
16
|
-
--rounded-action-disabled-color: var(--disabled-color);
|
|
17
|
-
--rounded-action-disabled-bg-color: transparent;
|
|
18
|
-
|
|
19
|
-
--rounded-action-true-color: var(--true-color);
|
|
20
|
-
--rounded-action-true--hover-color: var(--true--hover-color);
|
|
21
|
-
|
|
22
|
-
--rounded-action-false-color: var(--false-color);
|
|
23
|
-
--rounded-action-false--hover-color: var(--false--hover-color);
|
|
24
|
-
|
|
25
|
-
--rounded-action-hold-color: var(--hold-color);
|
|
26
|
-
--rounded-action-hold--hover-color: var(--hold--hover-color);
|
|
27
|
-
|
|
28
|
-
--rounded-action-transfer-color: var(--transfer-color);
|
|
29
|
-
--rounded-action-transfer--hover-color: var(--transfer--hover-color);
|
|
6
|
+
--rounded-action-bg-color: var(--main-color);
|
|
30
7
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
:root {
|
|
3
|
-
--tooltip-padding:
|
|
3
|
+
--tooltip-padding: var(--spacing-3xs) var(--spacing-2xs);
|
|
4
4
|
--tooltip-z-index: 100;
|
|
5
5
|
|
|
6
|
-
--tooltip-light-text-color:
|
|
7
|
-
--tooltip-light-bg-color:
|
|
8
|
-
--tooltip-dark-text-color:
|
|
9
|
-
--tooltip-dark-bg-color:
|
|
6
|
+
--tooltip-light-text-color: var(--text-primary-color);
|
|
7
|
+
--tooltip-light-bg-color: var(--main-color);
|
|
8
|
+
--tooltip-dark-text-color: var(--text-contrast-color);
|
|
9
|
+
--tooltip-dark-bg-color: var(--contrast-color);
|
|
10
|
+
|
|
11
|
+
--tooltip-elevation: var(--elevation-10);
|
|
10
12
|
}
|
|
@@ -1,19 +1,16 @@
|
|
|
1
1
|
.wt-button-select {
|
|
2
|
-
--button-select-button-padding: var(--spacing
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
and line-height of text in "wt-button-select__button"
|
|
6
|
-
*/
|
|
7
|
-
--button-select-icon-button-padding: calc(var(--spacing--sm) - 1px);
|
|
2
|
+
--button-select-button-padding: var(--spacing-xs) var(--spacing-sm);
|
|
3
|
+
|
|
4
|
+
--button-select-icon-button-padding: var(--spacing-xs);
|
|
8
5
|
|
|
9
6
|
--button-select-buttons-gap: 1px;
|
|
10
7
|
|
|
11
|
-
--button-select-icon-color-primary: var(--btn-
|
|
8
|
+
--button-select-icon-color-primary: var(--btn-accent-color);
|
|
12
9
|
--button-select-icon-color-secondary: var(--btn-secondary-color);
|
|
13
10
|
--button-select-icon-color-dark: var(--btn-dark-font-color);
|
|
14
11
|
--button-select-icon-color-ligth: var(--main-color);
|
|
15
12
|
|
|
16
|
-
--button-select-icon-color-primary--hover: var(--btn-
|
|
13
|
+
--button-select-icon-color-primary--hover: var(--btn-accent--hover-color);
|
|
17
14
|
--button-select-icon-color-danger--hover: var(--btn-false--hover-color);
|
|
18
15
|
--button-select-icon-color-success--hover: var(--btn-true--hover-color);
|
|
19
16
|
--button-select-icon-color-transfer--hover: var(--btn-transfer--hover-color);
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
|
|
2
2
|
:root {
|
|
3
|
-
--datepicker-padding:
|
|
4
|
-
|
|
3
|
+
--datepicker-padding:
|
|
4
|
+
var(--input-padding)
|
|
5
|
+
calc(
|
|
6
|
+
var(--input-padding)
|
|
7
|
+
+ var(--icon-md-size)
|
|
8
|
+
+ var(--spacing-xs)
|
|
9
|
+
);
|
|
10
|
+
--datepicker-icon-margin: var(--spacing-xs);
|
|
5
11
|
--datepicker-border: 1px solid;
|
|
6
12
|
|
|
7
|
-
--datepicker-cell-size:
|
|
8
|
-
--datepicker-cell-
|
|
9
|
-
--datepicker-calendar-padding:
|
|
10
|
-
--datepicker-calendar-header-margin:
|
|
11
|
-
--datepicker-width: calc(
|
|
12
|
-
7 * var(--datepicker-cell-size)
|
|
13
|
-
+ 2 * var(--datepicker-calendar-padding)
|
|
14
|
-
+ 8px
|
|
15
|
-
+ 7 * 2 * var(--datepicker-cell-margin)); // 7 cells * 2 sides
|
|
13
|
+
--datepicker-cell-size: var(--spacing-lg);
|
|
14
|
+
--datepicker-cell-gap: var(--spacing-xs);
|
|
15
|
+
--datepicker-calendar-padding: var(--spacing-xs);
|
|
16
|
+
--datepicker-calendar-header-margin: var(--spacing-xs);
|
|
16
17
|
|
|
17
|
-
--datepicker-selected-cell-text-color: var(--main-
|
|
18
|
-
--datepicker-selected-cell-bg-color: var(--
|
|
19
|
-
--datepicker-cell--hover-color:
|
|
18
|
+
--datepicker-selected-cell-text-color: var(--main-color);
|
|
19
|
+
--datepicker-selected-cell-bg-color: var(--accent-color);
|
|
20
|
+
--datepicker-cell--hover-color: var(--secondary-color-50);
|
|
20
21
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
.vdp-datepicker__calendar {
|
|
2
|
-
width:
|
|
2
|
+
width: fit-content;
|
|
3
3
|
right: 0;
|
|
4
4
|
padding: var(--datepicker-calendar-padding);
|
|
5
|
-
line-height: var(--datepicker-cell-size);
|
|
6
5
|
border-radius: var(--border-radius);
|
|
6
|
+
box-shadow: var(-elevation-1);
|
|
7
7
|
|
|
8
8
|
header {
|
|
9
9
|
display: flex;
|
|
@@ -13,8 +13,7 @@
|
|
|
13
13
|
line-height: 0;
|
|
14
14
|
|
|
15
15
|
.day__month_btn {
|
|
16
|
-
@extend %typo-
|
|
17
|
-
padding-top: 5px;
|
|
16
|
+
@extend %typo-body-1;
|
|
18
17
|
}
|
|
19
18
|
|
|
20
19
|
.prev, .next {
|
|
@@ -22,47 +21,39 @@
|
|
|
22
21
|
text-indent: 0;
|
|
23
22
|
color: transparent;
|
|
24
23
|
cursor: pointer;
|
|
24
|
+
//background: red !important;
|
|
25
|
+
border: none !important; // hide default arrows
|
|
25
26
|
|
|
26
27
|
&:hover {
|
|
27
|
-
background
|
|
28
|
+
background: none;
|
|
28
29
|
}
|
|
29
30
|
|
|
30
|
-
&:after {
|
|
31
|
-
|
|
32
|
-
position: absolute;
|
|
33
|
-
top: 5px;
|
|
34
|
-
width: 24px;
|
|
35
|
-
height: 24px;
|
|
36
|
-
background: url("../../../assets/icons/arrow-down--md.svg") center center;
|
|
37
|
-
background-size: contain;
|
|
38
|
-
border: none !important; // hide default arrows
|
|
39
|
-
transform: translateX(-50%) rotate(90deg);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&:hover:after {
|
|
43
|
-
background: url("../../../assets/icons/arrow-down--active--md.svg") center center;
|
|
31
|
+
&:before, &:after {
|
|
32
|
+
display: none;
|
|
44
33
|
}
|
|
45
34
|
}
|
|
35
|
+
}
|
|
46
36
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
37
|
+
// cells wrapper
|
|
38
|
+
& > div:last-child {
|
|
39
|
+
display: grid;
|
|
40
|
+
grid-template-columns: repeat(7, 32px);
|
|
41
|
+
grid-gap: var(--datepicker-cell-gap);
|
|
50
42
|
}
|
|
51
43
|
|
|
52
44
|
.cell {
|
|
53
|
-
@extend %typo-body-
|
|
45
|
+
@extend %typo-body-1;
|
|
46
|
+
display: flex;
|
|
47
|
+
align-items: center;
|
|
48
|
+
justify-content: center;
|
|
54
49
|
width: var(--datepicker-cell-size);
|
|
55
50
|
height: var(--datepicker-cell-size);
|
|
56
|
-
margin: 1px;
|
|
57
51
|
padding: 0;
|
|
58
|
-
border: none;
|
|
59
|
-
line-height: var(--datepicker-cell-size);
|
|
52
|
+
border: none !important;
|
|
60
53
|
transition: var(--transition);
|
|
61
54
|
|
|
62
55
|
&.day-header {
|
|
63
|
-
@extend %typo-
|
|
64
|
-
height: auto;
|
|
65
|
-
letter-spacing: 0.4px;
|
|
56
|
+
@extend %typo-caption;
|
|
66
57
|
color: var(--form-label-color);
|
|
67
58
|
}
|
|
68
59
|
|
|
@@ -70,10 +61,8 @@
|
|
|
70
61
|
border-radius: var(--border-radius);
|
|
71
62
|
|
|
72
63
|
&.selected {
|
|
73
|
-
@extend %typo-strong-lg;
|
|
74
64
|
color: var(--datepicker-selected-cell-text-color);
|
|
75
65
|
background: var(--datepicker-selected-cell-bg-color) !important;
|
|
76
|
-
line-height: var(--datepicker-cell-size);
|
|
77
66
|
}
|
|
78
67
|
|
|
79
68
|
&:not(.blank):not(.disabled).day:hover,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
:root {
|
|
3
|
-
--datetimepicker-padding:
|
|
4
|
-
--datetimepicker-icon-margin:
|
|
3
|
+
--datetimepicker-padding: var(--datepicker-padding);
|
|
4
|
+
--datetimepicker-icon-margin: var(--datepicker-icon-margin);
|
|
5
5
|
--datetimepicker-border: 1px solid;
|
|
6
6
|
|
|
7
|
-
--datetimepicker-form-padding:
|
|
8
|
-
--datetimepicker-form-bg-color: var(--main-
|
|
7
|
+
--datetimepicker-form-padding: var(--spacing-xs);
|
|
8
|
+
--datetimepicker-form-bg-color: var(--main-color);
|
|
9
9
|
--datetimepicker-form-z-index: 5; // overflow selects' arrow
|
|
10
10
|
|
|
11
|
-
--datetimepicker-form-content-margin:
|
|
11
|
+
--datetimepicker-form-content-margin: var(--spacing-xs);
|
|
12
12
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
:root {
|
|
3
|
-
--input-padding:
|
|
3
|
+
--input-padding: calc(var(--spacing-xs) - 1px); // - border
|
|
4
4
|
--input-border: 1px solid;
|
|
5
|
-
--input-icon-margin:
|
|
5
|
+
--input-icon-margin: var(--spacing-xs);
|
|
6
6
|
|
|
7
|
-
--input-after-wrapper-gap: var(--spacing
|
|
7
|
+
--input-after-wrapper-gap: var(--spacing-2xs);
|
|
8
8
|
}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
:root {
|
|
3
3
|
--notification-min-width: 30vw;
|
|
4
4
|
--notification-max-width: 40vw;
|
|
5
|
-
--notification-padding:
|
|
6
|
-
--notification-icon-margin:
|
|
5
|
+
--notification-padding: var(--spacing-xs);
|
|
6
|
+
--notification-icon-margin: var(--spacing-xs);
|
|
7
7
|
|
|
8
|
-
--notification-text-color:
|
|
9
|
-
--notification-bg-color:
|
|
8
|
+
--notification-text-color: var(--text-primary-color);
|
|
9
|
+
--notification-bg-color: var(--main-color);
|
|
10
10
|
}
|
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
|
|
2
2
|
:root {
|
|
3
3
|
--popup-wrapper-z-index: 11;
|
|
4
|
-
|
|
5
|
-
--popup-
|
|
6
|
-
--popup-
|
|
7
|
-
|
|
8
|
-
--popup-
|
|
9
|
-
|
|
10
|
-
--popup-
|
|
11
|
-
--popup-
|
|
4
|
+
|
|
5
|
+
--popup-shadow-opacity: 0.5;
|
|
6
|
+
--popup-shadow-color: hsla(var(--_contrast-color), var(--popup-shadow-opacity));
|
|
7
|
+
|
|
8
|
+
--popup-max-height: 80%;
|
|
9
|
+
|
|
10
|
+
--popup-bg-color: var(--main-color);
|
|
11
|
+
--popup-sections-gap: var(--spacing-sm);
|
|
12
|
+
--popup-padding: var(--popup-sections-gap);
|
|
13
|
+
|
|
14
|
+
--popup-header-padding: var(--spacing-xs);
|
|
15
|
+
--popup-header-bg-color: var(--secondary-color);
|
|
16
|
+
|
|
17
|
+
--popup-main-section-padding-right: var(--spacing-xs); // scroll offset
|
|
18
|
+
|
|
19
|
+
--popup-actions-padding: var(--spacing-xs);
|
|
12
20
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
:root {
|
|
3
|
-
--progress-bar-height:
|
|
4
|
-
--progress-bar-padding:
|
|
5
|
-
--progress-bar-
|
|
3
|
+
--progress-bar-height: 12px;
|
|
4
|
+
--progress-bar-padding: var(--spacing-3xs);
|
|
5
|
+
--progress-bar-border-radius: var(--progress-bar-padding);
|
|
6
6
|
|
|
7
7
|
--progress-bar-bg-color--primary: var(--accent-color);
|
|
8
8
|
--progress-bar-bg-color--secondary: var(--secondary-color);
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
:root {
|
|
3
|
-
--search-bar-padding:
|
|
3
|
+
--search-bar-padding:
|
|
4
|
+
var(--input-padding)
|
|
5
|
+
calc(var(--input-padding) + var(--icon-sm-size) + var(--spacing-xs))
|
|
6
|
+
var(--input-padding)
|
|
7
|
+
calc(var(--input-padding) + var(--icon-md-size) + var(--spacing-xs));
|
|
4
8
|
}
|
|
@@ -1,25 +1,61 @@
|
|
|
1
1
|
|
|
2
2
|
:root {
|
|
3
|
-
--select-caret-top-pos:
|
|
4
|
-
--select-caret-right-pos:
|
|
3
|
+
--select-caret-top-pos: var(--spacing-xs);
|
|
4
|
+
--select-caret-right-pos: var(--spacing-xs);
|
|
5
5
|
--select-caret-z-index: 1;
|
|
6
6
|
|
|
7
|
-
--select-clear-top-pos:
|
|
8
|
-
|
|
7
|
+
--select-clear-top-pos: var(--spacing-xs);
|
|
8
|
+
|
|
9
|
+
--select-clear-right-pos: calc(
|
|
10
|
+
var(--input-padding)
|
|
11
|
+
+ var(--icon-md-size)
|
|
12
|
+
+ var(--select-caret-right-pos)
|
|
13
|
+
); // spacing + caret icon + caret right pos
|
|
14
|
+
|
|
9
15
|
--select-clear-z-index: var(--select-caret-z-index);
|
|
10
16
|
|
|
11
|
-
--select-tags-min-height:
|
|
12
|
-
|
|
13
|
-
--select-tags-padding
|
|
14
|
-
|
|
17
|
+
--select-tags-min-height: calc(24px + var(--spacing-xs) * 2); // 24px %typo-body-1 line-height
|
|
18
|
+
|
|
19
|
+
--select-tags-padding:
|
|
20
|
+
var(--input-padding)
|
|
21
|
+
calc(
|
|
22
|
+
var(--input-padding)
|
|
23
|
+
+ var(--icon-md-size)
|
|
24
|
+
+ var(--select-caret-right-pos)
|
|
25
|
+
)
|
|
26
|
+
var(--input-padding)
|
|
27
|
+
var(--input-padding); // right pos = 10px spacing + caret icon size + caret offset
|
|
28
|
+
|
|
29
|
+
--select-tags-padding--clearable:
|
|
30
|
+
var(--input-padding)
|
|
31
|
+
calc(
|
|
32
|
+
var(--input-padding)
|
|
33
|
+
+ var(--icon-md-size)
|
|
34
|
+
+ var(--select-clear-right-pos)
|
|
35
|
+
)
|
|
36
|
+
var(--input-padding)
|
|
37
|
+
var(--input-padding);
|
|
38
|
+
|
|
39
|
+
--select-tags-border: var(--input-border); // right pos = 10px spacing + clear icon size + clear offset
|
|
15
40
|
|
|
16
41
|
--select-input-min-height: 18px;
|
|
17
|
-
|
|
18
|
-
--select-
|
|
19
|
-
|
|
42
|
+
|
|
43
|
+
--select-chip-right-pos: calc(
|
|
44
|
+
var(--spacing-xs)
|
|
45
|
+
+ var(--icon-md-size)
|
|
46
|
+
+ var(--spacing-xs)
|
|
47
|
+
); // 2 spacings + arrow down icon
|
|
48
|
+
|
|
49
|
+
--select-chip-right-pos--clearable: calc(
|
|
50
|
+
var(--spacing-xs)
|
|
51
|
+
+ var(--icon-md-size)
|
|
52
|
+
+ var(--select-chip-right-pos)
|
|
53
|
+
); // spacing after bottom arrow + "reset" sm icon
|
|
54
|
+
|
|
55
|
+
--select-chip-z-index: 1;
|
|
20
56
|
|
|
21
57
|
--select-options-padding: var(--input-padding);
|
|
22
58
|
|
|
23
|
-
--select-option--hover-color: var(--
|
|
24
|
-
--select-option--active-color: var(--
|
|
59
|
+
--select-option--hover-color: var(--accent-secondary-color);
|
|
60
|
+
--select-option--active-color: var(--accent-secondary-color);
|
|
25
61
|
}
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
--tabs-underiline-height: 1px;
|
|
4
4
|
--tabs-underiline-color: transparent;
|
|
5
5
|
|
|
6
|
-
--tab-padding:
|
|
6
|
+
--tab-padding: var(--spacing-2xs);
|
|
7
7
|
--tab-margin: 0 5px;
|
|
8
8
|
--tab-color: var(--text-outline-color);
|
|
9
9
|
--tab--hover-color: var(--text-primary-color);
|
|
10
10
|
--tab--active-color: var(--text-primary-color);
|
|
11
|
-
--tab-border:
|
|
11
|
+
--tab-border: 4px solid;
|
|
12
12
|
--tab--active-border-color: var(--main-accent-color);
|
|
13
13
|
--tab-z-index: 1;
|
|
14
14
|
}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
:root {
|
|
3
|
-
--tags-input-
|
|
4
|
-
--tags-input-
|
|
3
|
+
--tags-input-padding: var(--input-padding);
|
|
4
|
+
--tags-input-min-height: 40px; // 24px lh + paddings
|
|
5
5
|
--tags-input-border: var(--input-border);
|
|
6
6
|
--tags-input-border-color: var(--form-border-color);
|
|
7
7
|
|
|
8
|
-
--tags-input-
|
|
8
|
+
--tags-input-tags-gap: var(--spacing-xs);
|
|
9
9
|
--tags-input-tag-text-color: var(--text-primary-color);
|
|
10
10
|
--tags-input-tag-bg-color: var(--main-secondary-accent-color);
|
|
11
|
-
--tags-input-tag-
|
|
12
|
-
--tags-input-tag-actions-margin-left: var(--tags-input-tag-spacing-margin);
|
|
11
|
+
--tags-input-tag-actions-margin-left: var(--spacing-2xs);
|
|
13
12
|
|
|
14
13
|
--tags-input-tag-text-color--deletion: var(--text-contrast-color);
|
|
15
14
|
--tags-input-tag-bg-color--deletion: var(--false-color);
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
|
|
2
2
|
:root {
|
|
3
3
|
--textarea-min-height: 100px;
|
|
4
|
-
--textarea-padding:
|
|
4
|
+
--textarea-padding:
|
|
5
|
+
var(--input-padding)
|
|
6
|
+
calc(
|
|
7
|
+
var(--input-padding)
|
|
8
|
+
+ var(--icon-sm-size)
|
|
9
|
+
+ var(--spacing-xs)
|
|
10
|
+
)
|
|
11
|
+
var(--input-padding)
|
|
12
|
+
var(--input-padding); // right reset icon 16px
|
|
5
13
|
}
|