@odx/ui 5.2.2 → 5.2.4
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 +13 -1
- package/ag-grid-theme.css +1 -1
- package/core-theme.css +1 -1
- package/package.json +1 -1
- package/scss/3rdparty/ag-grid/theme.scss +4 -4
- package/scss/_colors-dark.scss +1 -1
- package/scss/_colors.scss +2 -1
- package/scss/_utils.scss +18 -21
- package/scss/_visuals.scss +1 -0
- package/scss/abstract/_utils.scss +18 -21
- package/scss/accordion-item.component.scss +2 -2
- package/scss/action-group.component.scss +0 -4
- package/scss/ag-grid/theme.scss +4 -4
- package/scss/anchor-navigation.component.scss +3 -11
- package/scss/bar.component.scss +2 -10
- package/scss/button.component.scss +2 -7
- package/scss/calendar.component.scss +3 -7
- package/scss/card.component.scss +3 -3
- package/scss/checkbox.component.scss +18 -10
- package/scss/chip.component.scss +10 -1
- package/scss/components/accordion-item.component.scss +2 -2
- package/scss/components/action-group.component.scss +0 -4
- package/scss/components/anchor-navigation.component.scss +3 -11
- package/scss/components/bar.component.scss +2 -10
- package/scss/components/button.component.scss +2 -7
- package/scss/components/calendar.component.scss +3 -7
- package/scss/components/card.component.scss +3 -3
- package/scss/components/checkbox.component.scss +18 -10
- package/scss/components/chip.component.scss +10 -1
- package/scss/components/form-field.component.scss +6 -5
- package/scss/components/link.component.scss +3 -3
- package/scss/components/list-item.component.scss +4 -3
- package/scss/components/main-menu-item.component.scss +2 -2
- package/scss/components/main-menu.component.scss +8 -3
- package/scss/components/mainfilter-group.component.scss +4 -4
- package/scss/components/menu.component.scss +2 -0
- package/scss/components/navigation-back.component.scss +2 -2
- package/scss/components/option.component.scss +1 -1
- package/scss/components/radio-button.component.scss +20 -11
- package/scss/components/rail-navigation-item.component.scss +2 -2
- package/scss/components/rail-navigation.component.scss +2 -0
- package/scss/components/search-bar.component.scss +4 -3
- package/scss/components/slider.component.scss +21 -8
- package/scss/components/spinbox.component.scss +8 -4
- package/scss/components/switch.component.scss +14 -8
- package/scss/components/tab-bar-item.component.scss +1 -1
- package/scss/components/tab-bar.component.scss +1 -2
- package/scss/components/toast-item.component.scss +0 -8
- package/scss/components/toggle-button-group.component.scss +5 -6
- package/scss/components/toggle-button.component.scss +2 -4
- package/scss/components/wizard-step.component.scss +5 -5
- package/scss/form-field.component.scss +6 -5
- package/scss/link.component.scss +3 -3
- package/scss/list-item.component.scss +4 -3
- package/scss/main-menu-item.component.scss +2 -2
- package/scss/main-menu.component.scss +8 -3
- package/scss/mainfilter-group.component.scss +4 -4
- package/scss/menu.component.scss +2 -0
- package/scss/navigation-back.component.scss +2 -2
- package/scss/option.component.scss +1 -1
- package/scss/radio-button.component.scss +20 -11
- package/scss/rail-navigation-item.component.scss +2 -2
- package/scss/rail-navigation.component.scss +2 -0
- package/scss/search-bar.component.scss +4 -3
- package/scss/slider.component.scss +21 -8
- package/scss/spinbox.component.scss +8 -4
- package/scss/switch.component.scss +14 -8
- package/scss/tab-bar-item.component.scss +1 -1
- package/scss/tab-bar.component.scss +1 -2
- package/scss/theme.scss +4 -4
- package/scss/toast-item.component.scss +0 -8
- package/scss/toggle-button-group.component.scss +5 -6
- package/scss/toggle-button.component.scss +2 -4
- package/scss/variables/_colors-dark.scss +1 -1
- package/scss/variables/_colors.scss +2 -1
- package/scss/variables/_visuals.scss +1 -0
- package/scss/wizard-step.component.scss +5 -5
- package/scss/components/launch-tile.component.scss +0 -119
- package/scss/launch-tile.component.scss +0 -119
package/scss/theme.scss
CHANGED
|
@@ -94,8 +94,8 @@
|
|
|
94
94
|
padding-right: calc(var(--odx-vertical-rythm-base-size) * 0.3334);
|
|
95
95
|
vertical-align: middle;
|
|
96
96
|
|
|
97
|
-
@include motion.transition(background-color
|
|
98
|
-
@include utils.with-outline();
|
|
97
|
+
@include motion.transition(background-color);
|
|
98
|
+
@include utils.with-outline(var(--odx-v-outline-width));
|
|
99
99
|
|
|
100
100
|
&::placeholder {
|
|
101
101
|
color: var(--odx-c-text);
|
|
@@ -258,8 +258,8 @@
|
|
|
258
258
|
padding: 1px;
|
|
259
259
|
width: dimensions.get-size(math.div(20, 24));
|
|
260
260
|
|
|
261
|
-
@include motion.transition(background-color color
|
|
262
|
-
@include utils.with-outline();
|
|
261
|
+
@include motion.transition(background-color color);
|
|
262
|
+
@include utils.with-outline(var(--odx-v-outline-width));
|
|
263
263
|
|
|
264
264
|
&:hover {
|
|
265
265
|
background-color: var(--odx-control-background-color-hover);
|
|
@@ -43,8 +43,6 @@
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
&__close {
|
|
46
|
-
@include utils.interactive(true);
|
|
47
|
-
|
|
48
46
|
background-color: transparent;
|
|
49
47
|
color: var(--odx-c-text);
|
|
50
48
|
margin: 0;
|
|
@@ -73,12 +71,6 @@
|
|
|
73
71
|
--odx-c-text: var(--odx-c-error-text);
|
|
74
72
|
--odx-v-scrollbar-thumb-color: var(--odx-c-text);
|
|
75
73
|
--odx-v-scrollbar-thumb-color-hover: var(--red-800);
|
|
76
|
-
|
|
77
|
-
color: var(--odx-c-text);
|
|
78
|
-
|
|
79
|
-
#{$root}__close {
|
|
80
|
-
color: inherit;
|
|
81
|
-
}
|
|
82
74
|
}
|
|
83
75
|
|
|
84
76
|
&--danger-strong {
|
|
@@ -10,9 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
@include dimensions.height(2, 1.5);
|
|
12
12
|
@include dimensions.padding-x(math.div(6, 24));
|
|
13
|
-
@include motion.transition(background-color
|
|
13
|
+
@include motion.transition(background-color);
|
|
14
14
|
@include utils.center-content(true);
|
|
15
|
-
@include utils.with-outline();
|
|
16
15
|
|
|
17
16
|
border-radius: var(--odx-v-border-radius-controls);
|
|
18
17
|
column-gap: dimensions.get-size(math.div(6, 24));
|
|
@@ -20,11 +19,12 @@
|
|
|
20
19
|
z-index: var(--odx-v-layer-1);
|
|
21
20
|
|
|
22
21
|
&__indicator {
|
|
23
|
-
@include utils.with-outline();
|
|
22
|
+
@include utils.with-outline(var(--odx-v-outline-width-bold));
|
|
24
23
|
|
|
25
24
|
background-color: var(--odx-c-highlight);
|
|
26
25
|
block-size: dimensions.get-size(math.div(28, 24));
|
|
27
26
|
border-radius: var(--odx-toggle-button-border-radius);
|
|
27
|
+
outline-width: var(--odx-v-outline-width-bold);
|
|
28
28
|
|
|
29
29
|
#{$root}.is-disabled & {
|
|
30
30
|
background-color: var(--odx-c-secondary-disabled);
|
|
@@ -41,7 +41,8 @@
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
#{$root}:focus-within:has(:focus-visible) & {
|
|
44
|
-
|
|
44
|
+
box-shadow: inset 0 0 0 calc(var(--odx-v-outline-width-bold) + var(--odx-v-outline-box-shadow-width)) var(--odx-c-focus-inner);
|
|
45
|
+
outline-color: var(--odx-c-focus-outline);
|
|
45
46
|
}
|
|
46
47
|
}
|
|
47
48
|
|
|
@@ -56,8 +57,6 @@
|
|
|
56
57
|
}
|
|
57
58
|
|
|
58
59
|
&.is-active {
|
|
59
|
-
@include utils.focus-state($focus-within: true);
|
|
60
|
-
|
|
61
60
|
&:not(.is-disabled, .is-readonly):hover {
|
|
62
61
|
background-color: var(--blue-700-5);
|
|
63
62
|
}
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
&__indicator {
|
|
40
|
-
@include motion.transition(background-color
|
|
40
|
+
@include motion.transition(background-color);
|
|
41
41
|
@include dimensions.padding-x(math.div(1, 3));
|
|
42
42
|
@include utils.vertical-center-content();
|
|
43
43
|
|
|
@@ -53,9 +53,7 @@
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
#{$root}-group:not(.is-active) & {
|
|
56
|
-
@include utils.
|
|
57
|
-
|
|
58
|
-
background-color: var(--blue-700-5);
|
|
56
|
+
@include utils.focus-state($focus-within: true, $focus-within-selector: 'input');
|
|
59
57
|
}
|
|
60
58
|
}
|
|
61
59
|
|
|
@@ -23,8 +23,9 @@
|
|
|
23
23
|
--odx-c-error-warning-text: var(--orange-500);
|
|
24
24
|
|
|
25
25
|
--odx-c-focus: var(--cyan-500-15);
|
|
26
|
-
--odx-c-focus-outline: var(--cyan-
|
|
26
|
+
--odx-c-focus-outline: var(--cyan-600);
|
|
27
27
|
--odx-c-focus-outline-dark: var(--blue-700);
|
|
28
|
+
--odx-c-focus-inner: var(--white);
|
|
28
29
|
|
|
29
30
|
--odx-c-selected-hover: var(--cyan-500-20);
|
|
30
31
|
--odx-c-selected: var(--cyan-500-15);
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
overflow: hidden;
|
|
20
20
|
|
|
21
21
|
.#{$parent-root}:not(.#{$parent-root}--vertical) & {
|
|
22
|
+
@include dimensions.padding(math.div(2, 24), 'top');
|
|
23
|
+
|
|
22
24
|
gap: dimensions.get-size(math.div(8, 24));
|
|
23
25
|
min-width: var(--odx-horizontal-wizard-width);
|
|
24
26
|
}
|
|
@@ -33,16 +35,14 @@
|
|
|
33
35
|
|
|
34
36
|
&__label {
|
|
35
37
|
@include typography.prevent-text-overflow();
|
|
36
|
-
@include utils.with-outline-bold
|
|
37
|
-
@include motion.transition(background-color
|
|
38
|
+
@include utils.with-outline(var(--odx-v-outline-width-bold));
|
|
39
|
+
@include motion.transition(background-color);
|
|
38
40
|
|
|
39
41
|
align-self: center;
|
|
40
42
|
border-radius: var(--odx-v-border-radius-controls);
|
|
41
43
|
color: var(--odx-c-text-disabled);
|
|
42
44
|
margin: 0 auto;
|
|
43
|
-
outline-
|
|
44
|
-
outline-style: solid;
|
|
45
|
-
padding: dimensions.get-size(math.div(4, 24));
|
|
45
|
+
padding: 0 var(--odx-v-outline-width-bold);
|
|
46
46
|
user-select: none;
|
|
47
47
|
|
|
48
48
|
:is(#{$root}--valid, #{$root}--passed) & {
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use '../abstract/breakpoints';
|
|
3
|
-
@use '../abstract/dimensions';
|
|
4
|
-
@use '../abstract/motion';
|
|
5
|
-
@use '../abstract/typography';
|
|
6
|
-
@use '../abstract/utils';
|
|
7
|
-
@use './avatar.component' as avatar;
|
|
8
|
-
|
|
9
|
-
.odx-launch-tile {
|
|
10
|
-
$root: &;
|
|
11
|
-
$main-padding: dimensions.get-size(math.div(12, 24));
|
|
12
|
-
|
|
13
|
-
@include motion.transition(box-shadow outline-color);
|
|
14
|
-
@include utils.interactive(false);
|
|
15
|
-
@include utils.with-outline-bold();
|
|
16
|
-
|
|
17
|
-
background-color: var(--odx-c-background-content);
|
|
18
|
-
behavior: button;
|
|
19
|
-
border-radius: var(--odx-v-border-radius);
|
|
20
|
-
display: block;
|
|
21
|
-
padding: $main-padding;
|
|
22
|
-
position: relative;
|
|
23
|
-
|
|
24
|
-
&:focus-visible,
|
|
25
|
-
&:hover,
|
|
26
|
-
&:focus-within:has(:focus-visible) {
|
|
27
|
-
box-shadow: var(--odx-v-box-shadow-layer-1);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&__container {
|
|
31
|
-
@include dimensions.padding-x(math.div(8, 24));
|
|
32
|
-
@include dimensions.padding-y(0.5);
|
|
33
|
-
|
|
34
|
-
display: flex;
|
|
35
|
-
gap: dimensions.get-size(math.div(16, 24));
|
|
36
|
-
|
|
37
|
-
@include breakpoints.up(phone) {
|
|
38
|
-
@include dimensions.padding(1, bottom);
|
|
39
|
-
|
|
40
|
-
flex-direction: column;
|
|
41
|
-
gap: dimensions.get-size(math.div(8, 24));
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&__content {
|
|
46
|
-
flex: 1;
|
|
47
|
-
padding-right: dimensions.get-size(math.div(40, 24));
|
|
48
|
-
|
|
49
|
-
@include breakpoints.up(phone) {
|
|
50
|
-
padding-right: unset;
|
|
51
|
-
text-align: center;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&__title {
|
|
56
|
-
@include dimensions.margin-y(math.div(9, 24));
|
|
57
|
-
@include typography.font-weight(medium);
|
|
58
|
-
|
|
59
|
-
font-size: dimensions.get-size(math.div(20, 24));
|
|
60
|
-
line-height: dimensions.get-size(math.div(30, 24));
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&__subtitle {
|
|
64
|
-
color: var(--gray-500);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
&__title,
|
|
68
|
-
&__subtitle {
|
|
69
|
-
@include motion.transition(color);
|
|
70
|
-
|
|
71
|
-
display: block;
|
|
72
|
-
|
|
73
|
-
#{$root}.is-disabled & {
|
|
74
|
-
color: var(--odx-c-text-disabled);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&__footer {
|
|
79
|
-
display: flex;
|
|
80
|
-
gap: dimensions.get-size(math.div(12, 24));
|
|
81
|
-
justify-content: flex-end;
|
|
82
|
-
|
|
83
|
-
@include breakpoints.up(phone) {
|
|
84
|
-
justify-content: center;
|
|
85
|
-
padding-bottom: dimensions.get-size(math.div(12, 24));
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.odx-button {
|
|
89
|
-
margin: 0;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.odx-launch-tile-menu {
|
|
94
|
-
margin: 0;
|
|
95
|
-
position: absolute;
|
|
96
|
-
right: $main-padding;
|
|
97
|
-
top: $main-padding;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.odx-avatar {
|
|
101
|
-
@include avatar.avatar-size(math.div(64, 24), math.div(64, 24), 2, math.div(48, 24));
|
|
102
|
-
@include dimensions.margin-y(math.div(4, 24));
|
|
103
|
-
|
|
104
|
-
flex: 0 0 auto;
|
|
105
|
-
|
|
106
|
-
@include breakpoints.up(phone) {
|
|
107
|
-
@include avatar.avatar-size(math.div(128, 24), math.div(128, 24), 4, math.div(76, 24));
|
|
108
|
-
|
|
109
|
-
margin: dimensions.get-size(math.div(4, 24)) auto 0;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
&.is-disabled {
|
|
114
|
-
.odx-avatar {
|
|
115
|
-
color: var(--odx-c-text-disabled);
|
|
116
|
-
filter: saturate(0);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
}
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use '../abstract/breakpoints';
|
|
3
|
-
@use '../abstract/dimensions';
|
|
4
|
-
@use '../abstract/motion';
|
|
5
|
-
@use '../abstract/typography';
|
|
6
|
-
@use '../abstract/utils';
|
|
7
|
-
@use './avatar.component' as avatar;
|
|
8
|
-
|
|
9
|
-
.odx-launch-tile {
|
|
10
|
-
$root: &;
|
|
11
|
-
$main-padding: dimensions.get-size(math.div(12, 24));
|
|
12
|
-
|
|
13
|
-
@include motion.transition(box-shadow outline-color);
|
|
14
|
-
@include utils.interactive(false);
|
|
15
|
-
@include utils.with-outline-bold();
|
|
16
|
-
|
|
17
|
-
background-color: var(--odx-c-background-content);
|
|
18
|
-
behavior: button;
|
|
19
|
-
border-radius: var(--odx-v-border-radius);
|
|
20
|
-
display: block;
|
|
21
|
-
padding: $main-padding;
|
|
22
|
-
position: relative;
|
|
23
|
-
|
|
24
|
-
&:focus-visible,
|
|
25
|
-
&:hover,
|
|
26
|
-
&:focus-within:has(:focus-visible) {
|
|
27
|
-
box-shadow: var(--odx-v-box-shadow-layer-1);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&__container {
|
|
31
|
-
@include dimensions.padding-x(math.div(8, 24));
|
|
32
|
-
@include dimensions.padding-y(0.5);
|
|
33
|
-
|
|
34
|
-
display: flex;
|
|
35
|
-
gap: dimensions.get-size(math.div(16, 24));
|
|
36
|
-
|
|
37
|
-
@include breakpoints.up(phone) {
|
|
38
|
-
@include dimensions.padding(1, bottom);
|
|
39
|
-
|
|
40
|
-
flex-direction: column;
|
|
41
|
-
gap: dimensions.get-size(math.div(8, 24));
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&__content {
|
|
46
|
-
flex: 1;
|
|
47
|
-
padding-right: dimensions.get-size(math.div(40, 24));
|
|
48
|
-
|
|
49
|
-
@include breakpoints.up(phone) {
|
|
50
|
-
padding-right: unset;
|
|
51
|
-
text-align: center;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&__title {
|
|
56
|
-
@include dimensions.margin-y(math.div(9, 24));
|
|
57
|
-
@include typography.font-weight(medium);
|
|
58
|
-
|
|
59
|
-
font-size: dimensions.get-size(math.div(20, 24));
|
|
60
|
-
line-height: dimensions.get-size(math.div(30, 24));
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&__subtitle {
|
|
64
|
-
color: var(--gray-500);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
&__title,
|
|
68
|
-
&__subtitle {
|
|
69
|
-
@include motion.transition(color);
|
|
70
|
-
|
|
71
|
-
display: block;
|
|
72
|
-
|
|
73
|
-
#{$root}.is-disabled & {
|
|
74
|
-
color: var(--odx-c-text-disabled);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&__footer {
|
|
79
|
-
display: flex;
|
|
80
|
-
gap: dimensions.get-size(math.div(12, 24));
|
|
81
|
-
justify-content: flex-end;
|
|
82
|
-
|
|
83
|
-
@include breakpoints.up(phone) {
|
|
84
|
-
justify-content: center;
|
|
85
|
-
padding-bottom: dimensions.get-size(math.div(12, 24));
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.odx-button {
|
|
89
|
-
margin: 0;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.odx-launch-tile-menu {
|
|
94
|
-
margin: 0;
|
|
95
|
-
position: absolute;
|
|
96
|
-
right: $main-padding;
|
|
97
|
-
top: $main-padding;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.odx-avatar {
|
|
101
|
-
@include avatar.avatar-size(math.div(64, 24), math.div(64, 24), 2, math.div(48, 24));
|
|
102
|
-
@include dimensions.margin-y(math.div(4, 24));
|
|
103
|
-
|
|
104
|
-
flex: 0 0 auto;
|
|
105
|
-
|
|
106
|
-
@include breakpoints.up(phone) {
|
|
107
|
-
@include avatar.avatar-size(math.div(128, 24), math.div(128, 24), 4, math.div(76, 24));
|
|
108
|
-
|
|
109
|
-
margin: dimensions.get-size(math.div(4, 24)) auto 0;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
&.is-disabled {
|
|
114
|
-
.odx-avatar {
|
|
115
|
-
color: var(--odx-c-text-disabled);
|
|
116
|
-
filter: saturate(0);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
}
|