@odx/ui 4.3.2 → 4.3.3
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 +7 -0
- package/charts-theme.css +1 -1
- package/core-theme.css +19 -22
- package/package.json +1 -1
- package/scss/charts/theme.scss +1 -1
- package/scss/components/datepicker.component.scss +8 -4
- package/scss/components/daterangepicker.component.scss +8 -8
- package/scss/components/dropdown.component.scss +1 -0
- package/scss/components/mainfilter-group.component.scss +8 -19
- package/scss/components/select.component.scss +3 -0
package/CHANGELOG.md
CHANGED
package/charts-theme.css
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
--charts-series-purple-400: #8f32e2;
|
|
38
38
|
--charts-series-violet-400: #9a0aaf;
|
|
39
39
|
--charts-series-berry-400: #cb0b68;
|
|
40
|
-
--charts-border-color: var(--odx-c-
|
|
40
|
+
--charts-border-color: var(--odx-c-separator);
|
|
41
41
|
--charts-text-color: var(--odx-c-text);
|
|
42
42
|
--charts-background-color: var(--odx-c-background-content);
|
|
43
43
|
--charts-font-family: var(--odx-typography-font-family);
|
package/core-theme.css
CHANGED
|
@@ -2420,6 +2420,7 @@ html body .odx-fs-italic {
|
|
|
2420
2420
|
border-radius: var(--odx-v-border-radius);
|
|
2421
2421
|
box-shadow: var(--odx-v-box-shadow-layer-1);
|
|
2422
2422
|
display: block;
|
|
2423
|
+
max-width: var(--odx-select-max-width);
|
|
2423
2424
|
min-height: inherit;
|
|
2424
2425
|
}
|
|
2425
2426
|
.odx-dropdown__inner {
|
|
@@ -3924,7 +3925,10 @@ html body .odx-fs-italic {
|
|
|
3924
3925
|
display: flex;
|
|
3925
3926
|
align-items: center;
|
|
3926
3927
|
}
|
|
3927
|
-
.odx-
|
|
3928
|
+
.odx-datepicker__trigger-wrapper {
|
|
3929
|
+
margin: 0 0 0 auto;
|
|
3930
|
+
}
|
|
3931
|
+
.odx-datepicker.is-readonly .odx-datepicker__trigger-wrapper > .odx-button {
|
|
3928
3932
|
outline-color: transparent;
|
|
3929
3933
|
pointer-events: none;
|
|
3930
3934
|
color: var(--odx-control-color-disabled);
|
|
@@ -3945,14 +3949,14 @@ html body .odx-fs-italic {
|
|
|
3945
3949
|
display: flex;
|
|
3946
3950
|
align-items: center;
|
|
3947
3951
|
}
|
|
3948
|
-
.odx-
|
|
3952
|
+
.odx-daterangepicker__trigger-wrapper {
|
|
3953
|
+
margin: 0 0 0 auto;
|
|
3954
|
+
}
|
|
3955
|
+
.odx-daterangepicker.is-readonly .odx-daterangepicker__trigger-wrapper > .odx-button {
|
|
3949
3956
|
outline-color: transparent;
|
|
3950
3957
|
pointer-events: none;
|
|
3951
3958
|
color: var(--odx-control-color-disabled);
|
|
3952
3959
|
}
|
|
3953
|
-
.odx-daterangepicker__trigger-wrapper {
|
|
3954
|
-
margin: 0 0 0 auto;
|
|
3955
|
-
}
|
|
3956
3960
|
.odx-daterangepicker__mirror {
|
|
3957
3961
|
height: 0;
|
|
3958
3962
|
overflow: hidden;
|
|
@@ -4926,20 +4930,17 @@ html body .odx-fs-italic {
|
|
|
4926
4930
|
.odx-mainfilter-group .odx-form-field__hint {
|
|
4927
4931
|
display: none;
|
|
4928
4932
|
}
|
|
4929
|
-
.odx-mainfilter-group
|
|
4933
|
+
.odx-mainfilter-group .odx-button {
|
|
4930
4934
|
margin-top: calc(var(--odx-vertical-rythm-base-size) * 0.8334);
|
|
4931
4935
|
outline-offset: -1px;
|
|
4932
4936
|
outline-width: var(--odx-v-outline-width);
|
|
4933
4937
|
overflow: visible;
|
|
4934
4938
|
position: relative;
|
|
4935
4939
|
}
|
|
4936
|
-
.odx-mainfilter-group
|
|
4937
|
-
outline-color: var(--odx-input-control-outline-color);
|
|
4938
|
-
}
|
|
4939
|
-
.odx-mainfilter-group > .odx-button:focus-visible {
|
|
4940
|
+
.odx-mainfilter-group .odx-button:focus-visible {
|
|
4940
4941
|
background-color: var(--odx-c-focus);
|
|
4941
4942
|
}
|
|
4942
|
-
.odx-mainfilter-group
|
|
4943
|
+
.odx-mainfilter-group .odx-button::before {
|
|
4943
4944
|
padding-right: calc(var(--odx-vertical-rythm-base-size) * 0.125);
|
|
4944
4945
|
padding-left: calc(var(--odx-vertical-rythm-base-size) * 0.125);
|
|
4945
4946
|
padding-top: calc(var(--odx-vertical-rythm-base-size) * 0.0834);
|
|
@@ -4991,26 +4992,19 @@ html body .odx-fs-italic {
|
|
|
4991
4992
|
}
|
|
4992
4993
|
.odx-mainfilter-group .odx-datepicker .odx-button,
|
|
4993
4994
|
.odx-mainfilter-group .odx-daterangepicker .odx-button {
|
|
4994
|
-
margin-top: 0;
|
|
4995
|
+
margin-top: 0 !important;
|
|
4995
4996
|
outline: none;
|
|
4996
4997
|
}
|
|
4997
4998
|
.odx-mainfilter-group .odx-datepicker .odx-button::before,
|
|
4998
4999
|
.odx-mainfilter-group .odx-daterangepicker .odx-button::before {
|
|
4999
5000
|
content: unset;
|
|
5000
5001
|
}
|
|
5001
|
-
.odx-mainfilter-group .odx-datepicker + .odx-button,
|
|
5002
|
-
.odx-mainfilter-group .odx-daterangepicker + .odx-button {
|
|
5003
|
-
background-color: unset;
|
|
5004
|
-
margin: 0 0 0 calc(var(--odx-vertical-rythm-base-size) * -0.3333);
|
|
5005
|
-
outline: none;
|
|
5006
|
-
z-index: 1;
|
|
5007
|
-
}
|
|
5008
|
-
.odx-mainfilter-group .odx-daterangepicker__trigger-wrapper .odx-button {
|
|
5009
|
-
margin-left: calc(var(--odx-vertical-rythm-base-size) * 0.5);
|
|
5010
|
-
}
|
|
5011
5002
|
.odx-mainfilter-group .odx-calendar {
|
|
5012
5003
|
--odx-input-control-outline-color: var(--gray-200);
|
|
5013
5004
|
}
|
|
5005
|
+
.odx-mainfilter-group .odx-button:not(.odx-calendar .odx-button):not(:focus-visible) {
|
|
5006
|
+
outline-color: var(--odx-input-control-outline-color);
|
|
5007
|
+
}
|
|
5014
5008
|
|
|
5015
5009
|
.odx-main-menu-button {
|
|
5016
5010
|
color: inherit;
|
|
@@ -6101,6 +6095,7 @@ html body .odx-fs-italic {
|
|
|
6101
6095
|
|
|
6102
6096
|
:root {
|
|
6103
6097
|
--odx-select-max-height: 220px;
|
|
6098
|
+
--odx-select-max-width: 350px;
|
|
6104
6099
|
}
|
|
6105
6100
|
|
|
6106
6101
|
.odx-select__trigger {
|
|
@@ -6110,6 +6105,7 @@ html body .odx-fs-italic {
|
|
|
6110
6105
|
flex: 1 1 100%;
|
|
6111
6106
|
gap: calc(var(--odx-vertical-rythm-base-size) * 0.25);
|
|
6112
6107
|
height: 100%;
|
|
6108
|
+
max-width: var(--odx-select-max-width);
|
|
6113
6109
|
width: 100%;
|
|
6114
6110
|
}
|
|
6115
6111
|
.odx-select.is-readonly .odx-select__trigger .odx-select__value {
|
|
@@ -6126,6 +6122,7 @@ html body .odx-fs-italic {
|
|
|
6126
6122
|
white-space: nowrap;
|
|
6127
6123
|
flex: 1 1 auto;
|
|
6128
6124
|
gap: calc(var(--odx-vertical-rythm-base-size) * 0.1667);
|
|
6125
|
+
overflow: hidden;
|
|
6129
6126
|
-webkit-user-select: none;
|
|
6130
6127
|
-moz-user-select: none;
|
|
6131
6128
|
user-select: none;
|
package/package.json
CHANGED
package/scss/charts/theme.scss
CHANGED
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
--charts-series-violet-400: #9a0aaf;
|
|
43
43
|
--charts-series-berry-400: #cb0b68;
|
|
44
44
|
|
|
45
|
-
--charts-border-color: var(--odx-c-
|
|
45
|
+
--charts-border-color: var(--odx-c-separator);
|
|
46
46
|
--charts-text-color: var(--odx-c-text);
|
|
47
47
|
--charts-background-color: var(--odx-c-background-content);
|
|
48
48
|
|
|
@@ -5,11 +5,15 @@
|
|
|
5
5
|
|
|
6
6
|
@include utils.vertical-center-content();
|
|
7
7
|
|
|
8
|
-
&__trigger {
|
|
9
|
-
|
|
10
|
-
@include utils.non-interactive();
|
|
8
|
+
&__trigger-wrapper {
|
|
9
|
+
margin: 0 0 0 auto;
|
|
11
10
|
|
|
12
|
-
|
|
11
|
+
> .odx-button {
|
|
12
|
+
#{$root}.is-readonly & {
|
|
13
|
+
@include utils.non-interactive();
|
|
14
|
+
|
|
15
|
+
color: var(--odx-control-color-disabled);
|
|
16
|
+
}
|
|
13
17
|
}
|
|
14
18
|
}
|
|
15
19
|
|
|
@@ -6,16 +6,16 @@
|
|
|
6
6
|
|
|
7
7
|
@include utils.vertical-center-content();
|
|
8
8
|
|
|
9
|
-
&__trigger {
|
|
10
|
-
#{$root}.is-readonly & {
|
|
11
|
-
@include utils.non-interactive();
|
|
12
|
-
|
|
13
|
-
color: var(--odx-control-color-disabled);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
9
|
&__trigger-wrapper {
|
|
18
10
|
margin: 0 0 0 auto;
|
|
11
|
+
|
|
12
|
+
> .odx-button {
|
|
13
|
+
#{$root}.is-readonly & {
|
|
14
|
+
@include utils.non-interactive();
|
|
15
|
+
|
|
16
|
+
color: var(--odx-control-color-disabled);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
&__mirror {
|
|
@@ -73,17 +73,13 @@
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
|
|
76
|
+
.odx-button {
|
|
77
77
|
margin-top: calc(var(--odx-vertical-rythm-base-size) * 0.8334);
|
|
78
78
|
outline-offset: -1px;
|
|
79
79
|
outline-width: var(--odx-v-outline-width);
|
|
80
80
|
overflow: visible;
|
|
81
81
|
position: relative;
|
|
82
82
|
|
|
83
|
-
&:not(:focus-visible) {
|
|
84
|
-
outline-color: var(--odx-input-control-outline-color);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
83
|
&:focus-visible {
|
|
88
84
|
background-color: var(--odx-c-focus);
|
|
89
85
|
}
|
|
@@ -146,29 +142,22 @@
|
|
|
146
142
|
}
|
|
147
143
|
|
|
148
144
|
.odx-button {
|
|
149
|
-
margin-top: 0;
|
|
145
|
+
margin-top: 0 !important;
|
|
150
146
|
outline: none;
|
|
151
147
|
|
|
152
148
|
&::before {
|
|
153
149
|
content: unset;
|
|
154
150
|
}
|
|
155
151
|
}
|
|
156
|
-
|
|
157
|
-
+ .odx-button {
|
|
158
|
-
background-color: unset;
|
|
159
|
-
margin: 0 0 0 dimensions.get-size(math.div(-8, 24));
|
|
160
|
-
outline: none;
|
|
161
|
-
z-index: 1;
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.odx-daterangepicker {
|
|
166
|
-
&__trigger-wrapper .odx-button {
|
|
167
|
-
@include dimensions.margin(0.5, left);
|
|
168
|
-
}
|
|
169
152
|
}
|
|
170
153
|
|
|
171
154
|
.odx-calendar {
|
|
172
155
|
--odx-input-control-outline-color: var(--gray-200);
|
|
173
156
|
}
|
|
157
|
+
|
|
158
|
+
.odx-button:not(.odx-calendar .odx-button) {
|
|
159
|
+
&:not(:focus-visible) {
|
|
160
|
+
outline-color: var(--odx-input-control-outline-color);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
174
163
|
}
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
:root {
|
|
8
8
|
--odx-select-max-height: 220px;
|
|
9
|
+
--odx-select-max-width: 350px;
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
.odx-select {
|
|
@@ -18,6 +19,7 @@
|
|
|
18
19
|
flex: 1 1 100%;
|
|
19
20
|
gap: dimensions.get-size(math.div(6, 24));
|
|
20
21
|
height: 100%;
|
|
22
|
+
max-width: var(--odx-select-max-width);
|
|
21
23
|
width: 100%;
|
|
22
24
|
|
|
23
25
|
#{$root}.is-readonly & {
|
|
@@ -35,6 +37,7 @@
|
|
|
35
37
|
|
|
36
38
|
flex: 1 1 auto;
|
|
37
39
|
gap: dimensions.get-size(math.div(4, 24));
|
|
40
|
+
overflow: hidden;
|
|
38
41
|
user-select: none;
|
|
39
42
|
}
|
|
40
43
|
|