@odx/ui 5.5.0 → 6.0.0
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 +17 -0
- package/README.md +0 -10
- package/ag-grid-theme.css +1 -1
- package/charts-theme.css +1 -1
- package/core-theme.css +1 -1
- package/package.json +4 -1
- package/scss/3rdparty/ag-grid/theme.scss +9 -7
- package/scss/_application.scss +5 -5
- package/scss/_base.scss +1 -1
- package/scss/_breakpoints.scss +15 -3
- package/scss/_color-palettes.scss +32 -32
- package/scss/_colors-dark.scss +31 -37
- package/scss/_colors.scss +94 -95
- package/scss/_controls.scss +45 -45
- package/scss/_description-list.scss +7 -13
- package/scss/_dimensions.scss +23 -10
- package/scss/_helpers.scss +44 -22
- package/scss/_layout.scss +2 -4
- package/scss/_skeleton.scss +1 -1
- package/scss/_text-list.scss +4 -7
- package/scss/_typography.scss +3 -6
- package/scss/_utils.scss +13 -0
- package/scss/_vertical-rythm.scss +1 -1
- package/scss/_visuals.scss +6 -6
- package/scss/abstract/_breakpoints.scss +15 -3
- package/scss/abstract/_dimensions.scss +23 -10
- package/scss/abstract/_utils.scss +13 -0
- package/scss/accordion-item.component.scss +22 -23
- package/scss/action-group.component.scss +6 -6
- package/scss/active-indicator.scss +3 -5
- package/scss/ag-grid/theme.scss +9 -7
- package/scss/anchor-navigation.component.scss +7 -10
- package/scss/area-header.component.scss +33 -31
- package/scss/autocomplete.component.scss +1 -4
- package/scss/avatar.component.scss +52 -11
- package/scss/badge.component.scss +11 -13
- package/scss/bar.component.scss +14 -18
- package/scss/brand-logo.component.scss +2 -4
- package/scss/breadcrumbs.component.scss +10 -14
- package/scss/button-group.component.scss +4 -8
- package/scss/button.component.scss +39 -36
- package/scss/calendar.component.scss +60 -56
- package/scss/card.component.scss +33 -35
- package/scss/cdk/active-indicator.scss +3 -5
- package/scss/cdk/connected-overlay.scss +4 -10
- package/scss/chart-footer.component.scss +21 -21
- package/scss/chart-header.component.scss +49 -49
- package/scss/charts/colors/_color-palettes.scss +32 -32
- package/scss/charts/components/chart-footer.component.scss +21 -21
- package/scss/charts/components/chart-header.component.scss +49 -49
- package/scss/charts/components/circle-chart-table.component.scss +1 -1
- package/scss/charts/components/line-timeframes-chart.component.scss +4 -4
- package/scss/charts/components/mirror-bar-chart.component.scss +2 -2
- package/scss/charts/components/multi-axis-box-plot.component.scss +2 -2
- package/scss/checkbox.component.scss +29 -30
- package/scss/chip-list.component.scss +5 -6
- package/scss/chip.component.scss +30 -17
- package/scss/circle-chart-table.component.scss +1 -1
- package/scss/circular-progress.component.scss +7 -8
- package/scss/colors/_color-palettes.scss +32 -32
- package/scss/components/accordion-item.component.scss +22 -23
- package/scss/components/action-group.component.scss +6 -6
- package/scss/components/anchor-navigation.component.scss +7 -10
- package/scss/components/area-header.component.scss +33 -31
- package/scss/components/autocomplete.component.scss +1 -4
- package/scss/components/avatar.component.scss +52 -11
- package/scss/components/badge.component.scss +11 -13
- package/scss/components/bar.component.scss +14 -18
- package/scss/components/brand-logo.component.scss +2 -4
- package/scss/components/breadcrumbs.component.scss +10 -14
- package/scss/components/button-group.component.scss +4 -8
- package/scss/components/button.component.scss +39 -36
- package/scss/components/calendar.component.scss +60 -56
- package/scss/components/card.component.scss +33 -35
- package/scss/components/chart-footer.component.scss +21 -21
- package/scss/components/chart-header.component.scss +49 -49
- package/scss/components/checkbox.component.scss +29 -30
- package/scss/components/chip-list.component.scss +5 -6
- package/scss/components/chip.component.scss +30 -17
- package/scss/components/circle-chart-table.component.scss +1 -1
- package/scss/components/circular-progress.component.scss +7 -8
- package/scss/components/content-box.component.scss +10 -7
- package/scss/components/datepicker.component.scss +1 -3
- package/scss/components/daterangepicker.component.scss +6 -3
- package/scss/components/dropdown.component.scss +5 -9
- package/scss/components/error-page.component.scss +5 -12
- package/scss/components/expandable-list-item.component.scss +6 -6
- package/scss/components/footer.component.scss +5 -7
- package/scss/components/form-field.component.scss +65 -58
- package/scss/components/header-navigation.component.scss +2 -10
- package/scss/components/header.component.scss +11 -13
- package/scss/components/icon.component.scss +8 -8
- package/scss/components/inline-message.component.scss +9 -15
- package/scss/components/line-timeframes-chart.component.scss +4 -4
- package/scss/components/link.component.scss +5 -5
- package/scss/components/list-item.component.scss +16 -18
- package/scss/components/list.component.scss +1 -3
- package/scss/components/loading-spinner.component.scss +4 -6
- package/scss/components/logo.component.scss +6 -10
- package/scss/components/main-menu-item.component.scss +15 -24
- package/scss/components/main-menu.component.scss +28 -41
- package/scss/components/mainfilter-group.component.scss +23 -27
- package/scss/components/menu.component.scss +7 -11
- package/scss/components/mirror-bar-chart.component.scss +2 -2
- package/scss/components/modal.component.scss +37 -43
- package/scss/components/multi-axis-box-plot.component.scss +2 -2
- package/scss/components/navigation-back.component.scss +5 -6
- package/scss/components/notification-center.component.scss +14 -18
- package/scss/components/notification-item.component.scss +6 -11
- package/scss/components/option.component.scss +11 -15
- package/scss/components/paginator.component.scss +5 -8
- package/scss/components/progress.component.scss +4 -8
- package/scss/components/radio-button.component.scss +23 -23
- package/scss/components/radio-group.component.scss +2 -4
- package/scss/components/rail-navigation-item.component.scss +19 -22
- package/scss/components/rail-navigation.component.scss +7 -12
- package/scss/components/rich-list-item-header.component.scss +4 -9
- package/scss/components/rich-list-item.component.scss +9 -17
- package/scss/components/search-bar.component.scss +13 -15
- package/scss/components/select.component.scss +9 -12
- package/scss/components/slider.component.scss +11 -14
- package/scss/components/spinbox.component.scss +23 -25
- package/scss/components/switch.component.scss +98 -123
- package/scss/components/tab-bar-item.component.scss +17 -19
- package/scss/components/tab-bar.component.scss +23 -28
- package/scss/components/table.component.scss +12 -19
- package/scss/components/timepicker.component.scss +5 -10
- package/scss/components/toast-item.component.scss +9 -15
- package/scss/components/toast.component.scss +5 -8
- package/scss/components/toggle-button-group.component.scss +13 -14
- package/scss/components/toggle-button.component.scss +15 -17
- package/scss/components/tooltip.component.scss +8 -13
- package/scss/components/wizard-step.component.scss +13 -17
- package/scss/components/wizard.component.scss +2 -4
- package/scss/connected-overlay.scss +4 -10
- package/scss/content-box.component.scss +10 -7
- package/scss/core.scss +2 -0
- package/scss/datepicker.component.scss +1 -3
- package/scss/daterangepicker.component.scss +6 -3
- package/scss/dropdown.component.scss +5 -9
- package/scss/error-page.component.scss +5 -12
- package/scss/expandable-list-item.component.scss +6 -6
- package/scss/footer.component.scss +5 -7
- package/scss/form-field.component.scss +65 -58
- package/scss/header-navigation.component.scss +2 -10
- package/scss/header.component.scss +11 -13
- package/scss/icon.component.scss +8 -8
- package/scss/inline-message.component.scss +9 -15
- package/scss/layout/_application.scss +5 -5
- package/scss/layout/_base.scss +1 -1
- package/scss/layout/_description-list.scss +7 -13
- package/scss/layout/_helpers.scss +44 -22
- package/scss/layout/_layout.scss +2 -4
- package/scss/layout/_text-list.scss +4 -7
- package/scss/layout/_typography.scss +62 -70
- package/scss/line-timeframes-chart.component.scss +4 -4
- package/scss/link.component.scss +5 -5
- package/scss/list-item.component.scss +16 -18
- package/scss/list.component.scss +1 -3
- package/scss/loading-spinner.component.scss +4 -6
- package/scss/logo.component.scss +6 -10
- package/scss/main-menu-item.component.scss +15 -24
- package/scss/main-menu.component.scss +28 -41
- package/scss/mainfilter-group.component.scss +23 -27
- package/scss/menu.component.scss +7 -11
- package/scss/mirror-bar-chart.component.scss +2 -2
- package/scss/modal.component.scss +37 -43
- package/scss/multi-axis-box-plot.component.scss +2 -2
- package/scss/navigation-back.component.scss +5 -6
- package/scss/notification-center.component.scss +14 -18
- package/scss/notification-item.component.scss +6 -11
- package/scss/option.component.scss +11 -15
- package/scss/paginator.component.scss +5 -8
- package/scss/progress.component.scss +4 -8
- package/scss/radio-button.component.scss +23 -23
- package/scss/radio-group.component.scss +2 -4
- package/scss/rail-navigation-item.component.scss +19 -22
- package/scss/rail-navigation.component.scss +7 -12
- package/scss/rich-list-item-header.component.scss +4 -9
- package/scss/rich-list-item.component.scss +9 -17
- package/scss/search-bar.component.scss +13 -15
- package/scss/select.component.scss +9 -12
- package/scss/skeleton/_skeleton.scss +1 -1
- package/scss/slider.component.scss +11 -14
- package/scss/spinbox.component.scss +23 -25
- package/scss/switch.component.scss +98 -123
- package/scss/tab-bar-item.component.scss +17 -19
- package/scss/tab-bar.component.scss +23 -28
- package/scss/table.component.scss +12 -19
- package/scss/theme.scss +9 -7
- package/scss/timepicker.component.scss +5 -10
- package/scss/toast-item.component.scss +9 -15
- package/scss/toast.component.scss +5 -8
- package/scss/toggle-button-group.component.scss +13 -14
- package/scss/toggle-button.component.scss +15 -17
- package/scss/tooltip.component.scss +8 -13
- package/scss/variables/_color-palettes-dark.scss +49 -49
- package/scss/variables/_color-palettes.scss +84 -84
- package/scss/variables/_colors-dark.scss +31 -37
- package/scss/variables/_colors.scss +94 -95
- package/scss/variables/_controls.scss +45 -45
- package/scss/variables/_typography.scss +3 -6
- package/scss/variables/_vertical-rythm.scss +1 -1
- package/scss/variables/_visuals.scss +6 -6
- package/scss/wizard-step.component.scss +13 -17
- package/scss/wizard.component.scss +2 -4
|
@@ -1,22 +1,18 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use '../abstract/dimensions';
|
|
3
|
-
@use '../abstract/motion';
|
|
4
1
|
@use '../abstract/utils';
|
|
5
2
|
|
|
6
3
|
.odx-tab-bar {
|
|
7
4
|
$root: &;
|
|
8
5
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
border-bottom: 1px solid;
|
|
12
|
-
border-bottom-color: var(--odx-control-outline-color-hover);
|
|
6
|
+
border-bottom: var(--odx-border-width-thin) solid;
|
|
7
|
+
border-bottom-color: var(--odx-color-stroke-neutral-subtle);
|
|
13
8
|
display: flex;
|
|
9
|
+
min-block-size: var(--odx-control-height-lg);
|
|
14
10
|
overflow: hidden;
|
|
15
11
|
position: relative;
|
|
16
12
|
|
|
17
13
|
&__inner {
|
|
18
|
-
$gradient-start:
|
|
19
|
-
$gradient-end:
|
|
14
|
+
$gradient-start: var(--odx-spacing-150);
|
|
15
|
+
$gradient-end: var(--odx-size-450);
|
|
20
16
|
$mask-color: #000000;
|
|
21
17
|
|
|
22
18
|
display: flex;
|
|
@@ -47,49 +43,49 @@
|
|
|
47
43
|
}
|
|
48
44
|
|
|
49
45
|
&__panel {
|
|
50
|
-
@include motion.transition(transform);
|
|
51
|
-
@include dimensions.padding-x(math.div(12, 24));
|
|
52
|
-
|
|
53
46
|
display: flex;
|
|
54
47
|
flex: 0 0 auto;
|
|
55
|
-
gap:
|
|
48
|
+
gap: var(--odx-spacing-50);
|
|
49
|
+
padding-inline: var(--odx-spacing-75);
|
|
56
50
|
position: relative;
|
|
51
|
+
transition: var(--odx-motion-transition-default);
|
|
52
|
+
transition-property: transform;
|
|
57
53
|
}
|
|
58
54
|
|
|
59
55
|
&__action {
|
|
60
|
-
@include dimensions.height(2);
|
|
61
|
-
@include motion.transition(opacity width padding);
|
|
62
|
-
@include utils.center-content();
|
|
63
|
-
|
|
64
56
|
background-color: transparent;
|
|
65
57
|
cursor: pointer;
|
|
58
|
+
min-block-size: var(--odx-control-height-lg);
|
|
66
59
|
opacity: 0;
|
|
67
60
|
overflow: hidden;
|
|
68
61
|
padding: 0;
|
|
69
62
|
pointer-events: none;
|
|
70
63
|
position: absolute;
|
|
71
64
|
top: 0;
|
|
65
|
+
transition: var(--odx-motion-transition-default);
|
|
66
|
+
transition-property: opacity, width, padding;
|
|
72
67
|
user-select: none;
|
|
73
68
|
width: 0;
|
|
74
|
-
z-index: var(--odx-
|
|
69
|
+
z-index: var(--odx-z-level-interactive);
|
|
75
70
|
|
|
76
|
-
|
|
77
|
-
@include dimensions.padding(math.div(8, 24), (right, left));
|
|
71
|
+
@include utils.center-content();
|
|
78
72
|
|
|
73
|
+
&.is-active {
|
|
79
74
|
opacity: 1;
|
|
75
|
+
padding-inline: var(--odx-control-spacing-inline-lg);
|
|
80
76
|
pointer-events: all;
|
|
81
77
|
transform: scaleX(1);
|
|
82
|
-
width:
|
|
78
|
+
width: var(--odx-size-225);
|
|
83
79
|
}
|
|
84
80
|
|
|
85
81
|
.odx-icon {
|
|
86
|
-
@include dimensions.container(1, 1);
|
|
87
|
-
|
|
88
82
|
align-items: center;
|
|
89
83
|
color: var(--odx-c-highlight);
|
|
90
84
|
display: flex;
|
|
91
|
-
font-size:
|
|
85
|
+
font-size: var(--odx-size-200);
|
|
86
|
+
height: var(--odx-size-150);
|
|
92
87
|
justify-content: center;
|
|
88
|
+
width: var(--odx-size-150);
|
|
93
89
|
}
|
|
94
90
|
|
|
95
91
|
&--prev {
|
|
@@ -112,12 +108,11 @@
|
|
|
112
108
|
}
|
|
113
109
|
|
|
114
110
|
.odx-tab-bar__indicator {
|
|
115
|
-
@include dimensions.margin(math.div(4, 24), left);
|
|
116
|
-
|
|
117
111
|
background-color: var(--odx-c-highlight);
|
|
112
|
+
block-size: var(--odx-spacing-25);
|
|
118
113
|
bottom: -1px;
|
|
119
|
-
|
|
120
|
-
width:
|
|
114
|
+
margin-inline-start: var(--odx-spacing-25);
|
|
115
|
+
width: var(--odx-size-300) !important;
|
|
121
116
|
}
|
|
122
117
|
|
|
123
118
|
&:focus-visible {
|
|
@@ -1,14 +1,7 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use '../layout/helpers';
|
|
3
|
-
@use '../abstract/dimensions';
|
|
4
|
-
@use '../abstract/typography';
|
|
5
|
-
@use '../abstract/utils';
|
|
6
|
-
@use '../abstract/motion';
|
|
7
|
-
|
|
8
1
|
.odx-table {
|
|
9
2
|
--odx-table-background-color: var(--white);
|
|
10
|
-
--odx-table-head-border-color: var(--
|
|
11
|
-
--odx-table-cell-border-color: var(--
|
|
3
|
+
--odx-table-head-border-color: var(--odx-color-stroke-neutral-strong);
|
|
4
|
+
--odx-table-cell-border-color: var(--odx-color-stroke-neutral-subtle);
|
|
12
5
|
--odx-table-cell-background-color-hover: var(--blue-700-5);
|
|
13
6
|
--odx-table-cell-background-color-striped: var(--gray-50);
|
|
14
7
|
--odx-table-cell-background-color-active: var(--cyan-500-15);
|
|
@@ -24,16 +17,15 @@
|
|
|
24
17
|
|
|
25
18
|
&__header-cell,
|
|
26
19
|
&__cell {
|
|
27
|
-
@include dimensions.padding-x(0.5);
|
|
28
|
-
|
|
29
20
|
border-bottom-style: solid;
|
|
30
21
|
border-bottom-width: 1px;
|
|
22
|
+
padding-inline: var(--odx-size-125);
|
|
31
23
|
text-align: left;
|
|
32
24
|
}
|
|
33
25
|
|
|
34
26
|
&__cell {
|
|
27
|
+
block-size: var(--odx-control-height-lg);
|
|
35
28
|
border-bottom-color: var(--odx-table-cell-border-color);
|
|
36
|
-
height: dimensions.get-size(2);
|
|
37
29
|
vertical-align: middle;
|
|
38
30
|
}
|
|
39
31
|
|
|
@@ -42,14 +34,14 @@
|
|
|
42
34
|
}
|
|
43
35
|
|
|
44
36
|
&__header-row {
|
|
45
|
-
|
|
37
|
+
block-size: var(--odx-control-height-lg);
|
|
46
38
|
}
|
|
47
39
|
|
|
48
40
|
&__header-cell-title {
|
|
49
41
|
align-items: center;
|
|
42
|
+
block-size: var(--odx-control-height-lg);
|
|
50
43
|
display: flex;
|
|
51
|
-
gap:
|
|
52
|
-
height: dimensions.get-size(2);
|
|
44
|
+
gap: var(--odx-spacing-50);
|
|
53
45
|
user-select: none;
|
|
54
46
|
|
|
55
47
|
// firefox patch for headers alignment, it needs some content to be able to align the header
|
|
@@ -64,13 +56,13 @@
|
|
|
64
56
|
}
|
|
65
57
|
|
|
66
58
|
&__header-cell {
|
|
67
|
-
@include typography.font-weight(medium);
|
|
68
|
-
|
|
69
59
|
border-bottom-color: var(--odx-table-head-border-color);
|
|
60
|
+
font-weight: var(--odx-typography-font-weight-medium);
|
|
61
|
+
letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
|
|
70
62
|
|
|
71
63
|
.odx-form-field {
|
|
72
|
-
height: dimensions.get-size(2);
|
|
73
64
|
justify-content: center;
|
|
65
|
+
min-block-size: var(--odx-control-height-lg);
|
|
74
66
|
padding: 0;
|
|
75
67
|
|
|
76
68
|
&__info {
|
|
@@ -88,7 +80,8 @@
|
|
|
88
80
|
&__body {
|
|
89
81
|
/* stylelint-disable-next-line no-descending-specificity */
|
|
90
82
|
.odx-table__row {
|
|
91
|
-
|
|
83
|
+
transition: var(--odx-motion-transition-default);
|
|
84
|
+
transition-property: background-color;
|
|
92
85
|
|
|
93
86
|
&:hover {
|
|
94
87
|
background-color: var(--odx-table-cell-background-color-hover);
|
package/scss/theme.scss
CHANGED
|
@@ -86,15 +86,16 @@
|
|
|
86
86
|
input[class^='ag-'][type='text'] {
|
|
87
87
|
background: var(--gray-100);
|
|
88
88
|
border: var(--ag-borders-critical) var(--gray100);
|
|
89
|
-
border-radius: var(--odx-
|
|
89
|
+
border-radius: var(--odx-border-radius-control);
|
|
90
90
|
font-weight: var(--odx-typography-font-weight-normal);
|
|
91
91
|
letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
|
|
92
92
|
line-height: var(--ag-table-line-height);
|
|
93
93
|
padding-left: calc(var(--odx-vertical-rythm-base-size) * 0.3334);
|
|
94
94
|
padding-right: calc(var(--odx-vertical-rythm-base-size) * 0.3334);
|
|
95
|
+
transition: var(--odx-motion-transition-default);
|
|
96
|
+
transition-property: background-color;
|
|
95
97
|
vertical-align: middle;
|
|
96
98
|
|
|
97
|
-
@include motion.transition(background-color);
|
|
98
99
|
@include utils.with-outline(var(--odx-v-outline-width));
|
|
99
100
|
|
|
100
101
|
&::placeholder {
|
|
@@ -156,13 +157,13 @@
|
|
|
156
157
|
|
|
157
158
|
.ag-standard-button {
|
|
158
159
|
background-color: var(--odx-c-primary);
|
|
159
|
-
border-radius: var(--odx-
|
|
160
|
+
border-radius: var(--odx-border-radius-control);
|
|
160
161
|
color: var(--odx-c-primary-text);
|
|
161
162
|
height: calc(var(--odx-vertical-rythm-base-size) * 1.5);
|
|
162
163
|
min-width: calc(var(--odx-vertical-rythm-base-size) * 3);
|
|
163
164
|
outline-offset: calc(-1 * var(--odx-v-outline-width-bold));
|
|
164
165
|
outline-width: var(--odx-v-outline-width-bold);
|
|
165
|
-
transition:
|
|
166
|
+
transition: var(--odx-motion-transition-default);
|
|
166
167
|
transition-property: background-color, color, outline;
|
|
167
168
|
}
|
|
168
169
|
|
|
@@ -252,7 +253,7 @@
|
|
|
252
253
|
outline-color: var(--odx-control-outline-color);
|
|
253
254
|
outline-offset: calc(-1 * var(--odx-v-outline-width));
|
|
254
255
|
padding: 1px;
|
|
255
|
-
transition:
|
|
256
|
+
transition: var(--odx-motion-transition-default);
|
|
256
257
|
transition-property: background-color, color, outline-color;
|
|
257
258
|
width: calc(var(--odx-vertical-rythm-base-size) * 0.8334);
|
|
258
259
|
|
|
@@ -333,16 +334,17 @@
|
|
|
333
334
|
$input: '.ag-checkbox-input';
|
|
334
335
|
|
|
335
336
|
background-color: var(--odx-control-background-color);
|
|
336
|
-
border-radius: var(--odx-
|
|
337
|
+
border-radius: var(--odx-border-radius-control);
|
|
337
338
|
color: var(--odx-control-color-selected);
|
|
338
339
|
flex: 0 0 auto;
|
|
339
340
|
height: dimensions.get-size(math.div(20, 24));
|
|
340
341
|
opacity: 1;
|
|
341
342
|
outline-color: var(--odx-control-outline-color);
|
|
342
343
|
padding: 1px;
|
|
344
|
+
transition: var(--odx-motion-transition-default);
|
|
345
|
+
transition-property: background-color, color;
|
|
343
346
|
width: dimensions.get-size(math.div(20, 24));
|
|
344
347
|
|
|
345
|
-
@include motion.transition(background-color color);
|
|
346
348
|
@include utils.with-outline(var(--odx-v-outline-width));
|
|
347
349
|
|
|
348
350
|
&:hover {
|
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
1
|
@use '../abstract/utils';
|
|
3
|
-
@use '../layout/helpers';
|
|
4
|
-
@use '../abstract/dimensions';
|
|
5
|
-
@use '../abstract/typography';
|
|
6
|
-
@use '../abstract/motion';
|
|
7
2
|
|
|
8
3
|
.odx-timepicker {
|
|
9
4
|
$root: &;
|
|
10
5
|
|
|
11
6
|
@include utils.vertical-center-content();
|
|
12
7
|
|
|
13
|
-
gap:
|
|
8
|
+
gap: var(--odx-spacing-25);
|
|
14
9
|
justify-content: space-between;
|
|
15
10
|
width: 100%;
|
|
16
11
|
|
|
@@ -19,7 +14,7 @@
|
|
|
19
14
|
}
|
|
20
15
|
|
|
21
16
|
&__trigger-wrapper {
|
|
22
|
-
gap:
|
|
17
|
+
gap: var(--odx-spacing-50);
|
|
23
18
|
}
|
|
24
19
|
|
|
25
20
|
input[odxTimepickerControl] {
|
|
@@ -27,9 +22,9 @@
|
|
|
27
22
|
width: 100%;
|
|
28
23
|
|
|
29
24
|
&::placeholder {
|
|
30
|
-
@include typography.font-weight(normal);
|
|
31
|
-
|
|
32
25
|
color: var(--odx-input-control-color);
|
|
26
|
+
font-weight: var(--odx-typography-font-weight-normal);
|
|
27
|
+
letter-spacing: var(--odx-typography-font-weight-normal-letter-spacing);
|
|
33
28
|
opacity: 0.65;
|
|
34
29
|
}
|
|
35
30
|
|
|
@@ -41,7 +36,7 @@
|
|
|
41
36
|
&__option-list {
|
|
42
37
|
display: flex;
|
|
43
38
|
flex-direction: column;
|
|
44
|
-
max-height: calc(
|
|
39
|
+
max-height: calc(var(--odx-vertical-rythm-base-size) * 11.5);
|
|
45
40
|
}
|
|
46
41
|
|
|
47
42
|
&-option {
|
|
@@ -1,19 +1,14 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use '../abstract/dimensions';
|
|
3
|
-
@use '../abstract/typography';
|
|
4
|
-
@use '../abstract/utils';
|
|
5
|
-
|
|
6
1
|
.odx-toast-item {
|
|
7
|
-
--odx-c-default: var(--
|
|
8
|
-
--odx-c-warning: var(--
|
|
9
|
-
--odx-c-danger: var(--
|
|
10
|
-
--odx-c-success: var(--
|
|
2
|
+
--odx-c-default: var(--odx-color-background-primary-subtle);
|
|
3
|
+
--odx-c-warning: var(--odx-color-background-warning-subtle);
|
|
4
|
+
--odx-c-danger: var(--odx-color-background-danger-subtle);
|
|
5
|
+
--odx-c-success: var(--odx-color-background-success-subtle);
|
|
11
6
|
--odx-c-warning-strong: var(--yellow-500);
|
|
12
7
|
--odx-c-danger-strong: var(--red-500);
|
|
13
8
|
|
|
14
9
|
$root: &;
|
|
15
10
|
$variants: default, warning, danger, success, warning-strong, danger-strong;
|
|
16
|
-
$gap:
|
|
11
|
+
$gap: var(--odx-spacing-75);
|
|
17
12
|
|
|
18
13
|
border-radius: var(--odx-toast-border-radius);
|
|
19
14
|
box-shadow: var(--odx-v-box-shadow-layer-1);
|
|
@@ -27,9 +22,8 @@
|
|
|
27
22
|
}
|
|
28
23
|
|
|
29
24
|
&__text-content {
|
|
30
|
-
@include typography.font-size(-1);
|
|
31
|
-
|
|
32
25
|
flex: 1;
|
|
26
|
+
font-size: var(--odx-typography-font-size-text-sm);
|
|
33
27
|
overflow: auto;
|
|
34
28
|
}
|
|
35
29
|
|
|
@@ -38,7 +32,7 @@
|
|
|
38
32
|
}
|
|
39
33
|
|
|
40
34
|
&__description {
|
|
41
|
-
max-
|
|
35
|
+
max-block-size: calc(var(--odx-size-600) + var(--odx-spacing-150));
|
|
42
36
|
overflow-wrap: break-word;
|
|
43
37
|
}
|
|
44
38
|
|
|
@@ -76,13 +70,13 @@
|
|
|
76
70
|
&--danger-strong {
|
|
77
71
|
--odx-c-text: var(--white);
|
|
78
72
|
|
|
79
|
-
:root:has([odxTheme='dark'], .odx-theme-dark) & {
|
|
73
|
+
:root:has([odxTheme='dark'], .odx-dark-mode, .odx-theme-dark) & {
|
|
80
74
|
--odx-c-text: var(--black);
|
|
81
75
|
}
|
|
82
76
|
}
|
|
83
77
|
|
|
84
78
|
&--warning-strong {
|
|
85
|
-
:root:has([odxTheme='dark'], .odx-theme-dark) & {
|
|
79
|
+
:root:has([odxTheme='dark'], .odx-dark-mode, .odx-theme-dark) & {
|
|
86
80
|
--odx-c-text: var(--white);
|
|
87
81
|
}
|
|
88
82
|
}
|
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
1
|
@use '../abstract/breakpoints';
|
|
3
|
-
@use '../abstract/dimensions';
|
|
4
|
-
@use '../abstract/typography';
|
|
5
2
|
|
|
6
3
|
.odx-toast-container {
|
|
7
|
-
--odx-toast-outer-offset:
|
|
8
|
-
--odx-toast-border-radius:
|
|
4
|
+
--odx-toast-outer-offset: var(--odx-spacing-50);
|
|
5
|
+
--odx-toast-border-radius: var(--odx-border-radius-md);
|
|
9
6
|
|
|
10
7
|
background-color: transparent;
|
|
11
8
|
border: none;
|
|
12
9
|
display: flex;
|
|
13
10
|
flex-direction: column;
|
|
14
|
-
margin:
|
|
15
|
-
max-width: min(calc(100dvw - 2 * var(--odx-toast-outer-offset)),
|
|
11
|
+
margin: var(--odx-spacing-25) var(--odx-toast-outer-offset) auto auto;
|
|
12
|
+
max-width: min(calc(100dvw - 2 * var(--odx-toast-outer-offset)), calc(var(--odx-vertical-rythm-base-size) * 20));
|
|
16
13
|
overflow: clip;
|
|
17
14
|
padding-top: var(--odx-toast-outer-offset);
|
|
18
15
|
|
|
@@ -25,7 +22,7 @@
|
|
|
25
22
|
}
|
|
26
23
|
|
|
27
24
|
@include breakpoints.up(phone) {
|
|
28
|
-
--odx-toast-outer-offset:
|
|
25
|
+
--odx-toast-outer-offset: var(--odx-size-125);
|
|
29
26
|
|
|
30
27
|
margin-top: 0;
|
|
31
28
|
}
|
|
@@ -1,28 +1,27 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use '../abstract/dimensions';
|
|
3
|
-
@use '../abstract/motion';
|
|
4
1
|
@use '../abstract/utils';
|
|
5
2
|
|
|
6
3
|
.odx-toggle-button-group {
|
|
7
|
-
--odx-toggle-button-border-radius:
|
|
4
|
+
--odx-toggle-button-border-radius: var(--odx-border-radius-control);
|
|
8
5
|
|
|
9
6
|
$root: &;
|
|
10
7
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
border-radius: var(--odx-v-border-radius-controls);
|
|
17
|
-
column-gap: dimensions.get-size(math.div(6, 24));
|
|
8
|
+
border-radius: var(--odx-border-radius-control);
|
|
9
|
+
column-gap: var(--odx-spacing-37);
|
|
10
|
+
margin-block: var(--odx-spacing-37);
|
|
11
|
+
min-block-size: var(--odx-control-height-md);
|
|
12
|
+
padding-inline: var(--odx-control-spacing-inline-md);
|
|
18
13
|
position: relative;
|
|
19
|
-
|
|
14
|
+
transition: var(--odx-motion-transition-default);
|
|
15
|
+
transition-property: background-color;
|
|
16
|
+
z-index: var(--odx-z-level-base);
|
|
17
|
+
|
|
18
|
+
@include utils.center-content(true);
|
|
20
19
|
|
|
21
20
|
&__indicator {
|
|
22
21
|
@include utils.with-outline(var(--odx-v-outline-width-bold));
|
|
23
22
|
|
|
24
23
|
background-color: var(--odx-c-highlight);
|
|
25
|
-
block-size:
|
|
24
|
+
block-size: var(--odx-size-175);
|
|
26
25
|
border-radius: var(--odx-toggle-button-border-radius);
|
|
27
26
|
outline-width: var(--odx-v-outline-width-bold);
|
|
28
27
|
|
|
@@ -48,7 +47,7 @@
|
|
|
48
47
|
|
|
49
48
|
.odx-toggle-button {
|
|
50
49
|
flex: 1 1 auto;
|
|
51
|
-
z-index: var(--odx-
|
|
50
|
+
z-index: var(--odx-z-level-interactive);
|
|
52
51
|
}
|
|
53
52
|
|
|
54
53
|
&.has-error:not(.is-disabled, .is-readonly) {
|
|
@@ -1,20 +1,18 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use '../abstract/dimensions';
|
|
3
|
-
@use '../abstract/motion';
|
|
4
|
-
@use '../abstract/typography';
|
|
5
1
|
@use '../abstract/utils';
|
|
6
2
|
|
|
7
3
|
.odx-toggle-button {
|
|
8
4
|
$root: &;
|
|
9
5
|
|
|
10
|
-
@include motion.transition(color);
|
|
11
|
-
@include typography.font-size(0);
|
|
12
|
-
@include typography.font-weight(medium);
|
|
13
|
-
@include utils.vertical-center-content();
|
|
14
|
-
|
|
15
6
|
color: currentcolor;
|
|
7
|
+
font-size: var(--odx-typography-font-size-text-md);
|
|
8
|
+
font-weight: var(--odx-typography-font-weight-medium);
|
|
9
|
+
letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
|
|
10
|
+
transition: var(--odx-motion-transition-default);
|
|
11
|
+
transition-property: color;
|
|
16
12
|
user-select: none;
|
|
17
13
|
|
|
14
|
+
@include utils.vertical-center-content();
|
|
15
|
+
|
|
18
16
|
&.is-active {
|
|
19
17
|
color: var(--odx-c-highlight-text);
|
|
20
18
|
}
|
|
@@ -37,13 +35,14 @@
|
|
|
37
35
|
}
|
|
38
36
|
|
|
39
37
|
&__indicator {
|
|
40
|
-
|
|
41
|
-
@include dimensions.padding-x(math.div(1, 3));
|
|
42
|
-
@include utils.vertical-center-content();
|
|
43
|
-
|
|
44
|
-
block-size: dimensions.get-size(math.div(28, 24));
|
|
38
|
+
block-size: var(--odx-size-175);
|
|
45
39
|
border-radius: var(--odx-toggle-button-border-radius);
|
|
46
|
-
column-gap:
|
|
40
|
+
column-gap: var(--odx-spacing-25);
|
|
41
|
+
padding-inline: var(--odx-control-spacing-inline-lg);
|
|
42
|
+
transition: var(--odx-motion-transition-default);
|
|
43
|
+
transition-property: background-color;
|
|
44
|
+
|
|
45
|
+
@include utils.vertical-center-content();
|
|
47
46
|
|
|
48
47
|
#{$root}.is-readonly &,
|
|
49
48
|
#{$root}.is-disabled &,
|
|
@@ -58,9 +57,8 @@
|
|
|
58
57
|
}
|
|
59
58
|
|
|
60
59
|
&__label {
|
|
61
|
-
@include dimensions.padding-y(math.div(1, 6));
|
|
62
|
-
|
|
63
60
|
cursor: pointer;
|
|
61
|
+
padding-block: var(--odx-control-spacing-sm);
|
|
64
62
|
text-align: center;
|
|
65
63
|
width: 100%;
|
|
66
64
|
|
|
@@ -1,26 +1,21 @@
|
|
|
1
|
-
@use '../abstract/dimensions';
|
|
2
|
-
@use '../abstract/utils';
|
|
3
|
-
@use '../abstract/typography';
|
|
4
|
-
|
|
5
1
|
:root {
|
|
6
|
-
--odx-tooltip-background-color: var(--
|
|
2
|
+
--odx-tooltip-background-color: var(--odx-color-background-level-3);
|
|
7
3
|
--odx-tooltip-color: var(--odx-c-text-inverse);
|
|
8
|
-
--odx-tooltip-size-small:
|
|
9
|
-
--odx-tooltip-size-medium:
|
|
10
|
-
--odx-tooltip-size-large:
|
|
4
|
+
--odx-tooltip-size-small: var(--odx-layout-width-xs);
|
|
5
|
+
--odx-tooltip-size-medium: var(--odx-layout-width-sm);
|
|
6
|
+
--odx-tooltip-size-large: var(--odx-layout-width-md);
|
|
11
7
|
}
|
|
12
8
|
|
|
13
9
|
.odx-tooltip {
|
|
14
10
|
$sizes: small, medium, large;
|
|
15
11
|
|
|
16
|
-
@include dimensions.padding(0.5);
|
|
17
|
-
@include typography.font-size(-1);
|
|
18
|
-
|
|
19
12
|
background-color: var(--odx-tooltip-background-color);
|
|
20
|
-
border-radius: var(--odx-
|
|
13
|
+
border-radius: var(--odx-border-radius-md);
|
|
21
14
|
color: var(--odx-tooltip-color);
|
|
22
15
|
display: block;
|
|
16
|
+
font-size: var(--odx-typography-font-size-text-sm);
|
|
23
17
|
overflow: hidden;
|
|
18
|
+
padding: var(--odx-spacing-75);
|
|
24
19
|
|
|
25
20
|
@each $size in $sizes {
|
|
26
21
|
&--#{$size} {
|
|
@@ -31,7 +26,7 @@
|
|
|
31
26
|
&-overlay {
|
|
32
27
|
.odx-cdk-connected-overlay-arrow {
|
|
33
28
|
background-color: var(--odx-tooltip-background-color);
|
|
34
|
-
z-index: var(--odx-
|
|
29
|
+
z-index: var(--odx-z-level-foreground);
|
|
35
30
|
}
|
|
36
31
|
}
|
|
37
32
|
}
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
@use '../abstract/utils';
|
|
2
2
|
|
|
3
3
|
@include utils.theme-selector(dark) {
|
|
4
|
-
--white:
|
|
5
|
-
--white-dark:
|
|
6
|
-
--black:
|
|
7
|
-
--black-20:
|
|
8
|
-
|
|
9
|
-
--focus-bg:
|
|
10
|
-
|
|
11
|
-
--white-60:
|
|
12
|
-
|
|
13
|
-
--gray-50:
|
|
14
|
-
--gray-100:
|
|
15
|
-
--gray-200:
|
|
16
|
-
--gray-300:
|
|
17
|
-
--gray-400:
|
|
18
|
-
--gray-500:
|
|
19
|
-
--gray-600:
|
|
20
|
-
--gray-700:
|
|
21
|
-
--gray-800:
|
|
22
|
-
--gray-900:
|
|
23
|
-
|
|
24
|
-
--blue-50:
|
|
25
|
-
--blue-50-5:
|
|
26
|
-
--blue-100:
|
|
27
|
-
--blue-600:
|
|
28
|
-
--blue-700:
|
|
29
|
-
--blue-700-5:
|
|
30
|
-
--blue-700-10:
|
|
31
|
-
--blue-900:
|
|
32
|
-
|
|
33
|
-
--cyan-50:
|
|
34
|
-
--cyan-100:
|
|
35
|
-
--cyan-200:
|
|
36
|
-
--cyan-300:
|
|
37
|
-
--cyan-400:
|
|
38
|
-
--cyan-600:
|
|
39
|
-
--cyan-700:
|
|
40
|
-
--cyan-800:
|
|
41
|
-
--cyan-900:
|
|
42
|
-
|
|
43
|
-
--red-00:
|
|
44
|
-
--red-50:
|
|
45
|
-
--red-100:
|
|
46
|
-
--red-700:
|
|
47
|
-
--red-800:
|
|
48
|
-
--red-900:
|
|
49
|
-
|
|
50
|
-
--yellow-50:
|
|
51
|
-
|
|
52
|
-
--green-00:
|
|
4
|
+
--white: var(--odx-palette-coolgray-130);
|
|
5
|
+
--white-dark: var(--odx-palette-black);
|
|
6
|
+
--black: var(--odx-palette-white);
|
|
7
|
+
--black-20: var(--odx-palette-black-60);
|
|
8
|
+
|
|
9
|
+
--focus-bg: var(--odx-palette-cyan-90);
|
|
10
|
+
|
|
11
|
+
--white-60: var(--odx-palette-coolgray-120);
|
|
12
|
+
|
|
13
|
+
--gray-50: var(--odx-palette-coolgray-120);
|
|
14
|
+
--gray-100: var(--odx-palette-coolgray-110);
|
|
15
|
+
--gray-200: var(--odx-palette-coolgray-100);
|
|
16
|
+
--gray-300: var(--odx-palette-coolgray-90);
|
|
17
|
+
--gray-400: var(--odx-palette-coolgray-80);
|
|
18
|
+
--gray-500: var(--odx-palette-coolgray-70);
|
|
19
|
+
--gray-600: var(--odx-palette-coolgray-60);
|
|
20
|
+
--gray-700: var(--odx-palette-coolgray-50);
|
|
21
|
+
--gray-800: var(--odx-palette-coolgray-10);
|
|
22
|
+
--gray-900: var(--odx-palette-sandgray-70);
|
|
23
|
+
|
|
24
|
+
--blue-50: var(--odx-palette-blue-70);
|
|
25
|
+
--blue-50-5: var(--odx-palette-blue-80-5);
|
|
26
|
+
--blue-100: var(--odx-palette-blue-70);
|
|
27
|
+
--blue-600: var(--odx-palette-blue-20);
|
|
28
|
+
--blue-700: var(--odx-palette-blue-10);
|
|
29
|
+
--blue-700-5: var(--odx-palette-blue-80-5);
|
|
30
|
+
--blue-700-10: var(--odx-palette-blue-80-15);
|
|
31
|
+
--blue-900: var(--odx-palette-blue-10);
|
|
32
|
+
|
|
33
|
+
--cyan-50: var(--odx-palette-blue-80);
|
|
34
|
+
--cyan-100: var(--odx-palette-cyan-100);
|
|
35
|
+
--cyan-200: var(--odx-palette-cyan-90);
|
|
36
|
+
--cyan-300: var(--odx-palette-cyan-80);
|
|
37
|
+
--cyan-400: var(--odx-palette-cyan-70);
|
|
38
|
+
--cyan-600: var(--odx-palette-cyan-50);
|
|
39
|
+
--cyan-700: var(--odx-palette-cyan-40);
|
|
40
|
+
--cyan-800: var(--odx-palette-cyan-30);
|
|
41
|
+
--cyan-900: var(--odx-palette-cyan-20);
|
|
42
|
+
|
|
43
|
+
--red-00: var(--odx-palette-red-100);
|
|
44
|
+
--red-50: var(--odx-palette-red-90);
|
|
45
|
+
--red-100: var(--odx-palette-red-80);
|
|
46
|
+
--red-700: var(--odx-palette-red-20);
|
|
47
|
+
--red-800: var(--odx-palette-red-10);
|
|
48
|
+
--red-900: var(--odx-palette-red-00);
|
|
49
|
+
|
|
50
|
+
--yellow-50: var(--odx-palette-yellow-100);
|
|
51
|
+
|
|
52
|
+
--green-00: var(--odx-palette-green-90);
|
|
53
53
|
}
|