@odx/ui 3.5.7 → 3.6.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
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @odx/ui
|
|
2
2
|
|
|
3
|
+
## 3.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 8993495: Added possibility to display a subtitle for radio button component
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 4b50b62: Fixed behavior for disabled options in the selection component
|
|
12
|
+
|
|
13
|
+
## 3.5.8
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- f7e1aa3: Fix connected overlay stacking issues to prevent badges from overlaying modals
|
|
18
|
+
|
|
3
19
|
## 3.5.7
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/core-theme.css
CHANGED
|
@@ -663,7 +663,7 @@ html body {
|
|
|
663
663
|
font-weight: var(--odx-typography-font-weight-normal);
|
|
664
664
|
letter-spacing: var(--odx-typography-font-weight-normal-letter-spacing);
|
|
665
665
|
}
|
|
666
|
-
.odx-text--small, .odx-checkbox__subtitle {
|
|
666
|
+
.odx-text--small, .odx-radio-button__subtitle, .odx-checkbox__subtitle {
|
|
667
667
|
padding-top: calc(var(--odx-vertical-rythm-base-size) * 0.0834);
|
|
668
668
|
padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.0834);
|
|
669
669
|
line-height: calc(var(--odx-vertical-rythm-base-size) * 0.8334);
|
|
@@ -2052,10 +2052,6 @@ html body .odx-fs-italic {
|
|
|
2052
2052
|
opacity: 1;
|
|
2053
2053
|
}
|
|
2054
2054
|
|
|
2055
|
-
:root {
|
|
2056
|
-
--odx-cdk-connected-overlay-current-z-layer: 0;
|
|
2057
|
-
}
|
|
2058
|
-
|
|
2059
2055
|
.odx-cdk-connected-overlay {
|
|
2060
2056
|
transition-delay: 0ms;
|
|
2061
2057
|
transition-duration: var(--odx-v-transition-duration);
|
|
@@ -2063,7 +2059,7 @@ html body .odx-fs-italic {
|
|
|
2063
2059
|
transition-timing-function: var(--odx-v-transition-easing-fn);
|
|
2064
2060
|
display: block;
|
|
2065
2061
|
position: fixed;
|
|
2066
|
-
z-index:
|
|
2062
|
+
z-index: var(--odx-v-layer-4);
|
|
2067
2063
|
}
|
|
2068
2064
|
.odx-cdk-connected-overlay.is-hidden {
|
|
2069
2065
|
opacity: 0;
|
|
@@ -4182,6 +4178,7 @@ html body .odx-fs-italic {
|
|
|
4182
4178
|
}
|
|
4183
4179
|
.odx-form-field__control > textarea {
|
|
4184
4180
|
padding-top: calc(var(--odx-vertical-rythm-base-size) * 0.25);
|
|
4181
|
+
padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.25);
|
|
4185
4182
|
height: calc(var(--odx-vertical-rythm-base-size) * 3);
|
|
4186
4183
|
resize: vertical;
|
|
4187
4184
|
}
|
|
@@ -5422,11 +5419,13 @@ html body .odx-fs-italic {
|
|
|
5422
5419
|
font-weight: var(--odx-typography-font-weight-normal);
|
|
5423
5420
|
letter-spacing: var(--odx-typography-font-weight-normal-letter-spacing);
|
|
5424
5421
|
border-radius: var(--odx-v-border-radius-controls);
|
|
5425
|
-
cursor: pointer;
|
|
5426
5422
|
-webkit-user-select: none;
|
|
5427
5423
|
-moz-user-select: none;
|
|
5428
5424
|
user-select: none;
|
|
5429
5425
|
}
|
|
5426
|
+
.odx-option:not(.is-disabled) {
|
|
5427
|
+
cursor: pointer;
|
|
5428
|
+
}
|
|
5430
5429
|
.odx-option:last-child {
|
|
5431
5430
|
margin-bottom: 0;
|
|
5432
5431
|
}
|
|
@@ -5434,7 +5433,7 @@ html body .odx-fs-italic {
|
|
|
5434
5433
|
background-color: var(--gray-50);
|
|
5435
5434
|
}
|
|
5436
5435
|
@media (hover: hover){
|
|
5437
|
-
.odx-option:hover {
|
|
5436
|
+
.odx-option:hover:not(.is-disabled) {
|
|
5438
5437
|
background-color: var(--gray-50);
|
|
5439
5438
|
}
|
|
5440
5439
|
}
|
|
@@ -5443,7 +5442,6 @@ html body .odx-fs-italic {
|
|
|
5443
5442
|
}
|
|
5444
5443
|
.odx-option.is-disabled {
|
|
5445
5444
|
color: var(--odx-control-color-disabled);
|
|
5446
|
-
pointer-events: none;
|
|
5447
5445
|
}
|
|
5448
5446
|
.odx-option > .odx-checkbox {
|
|
5449
5447
|
margin-right: calc(var(--odx-vertical-rythm-base-size) * 0.3334);
|
|
@@ -5630,6 +5628,8 @@ html body .odx-fs-italic {
|
|
|
5630
5628
|
}
|
|
5631
5629
|
.odx-radio-button__content {
|
|
5632
5630
|
margin-left: calc(var(--odx-vertical-rythm-base-size) * 0.5);
|
|
5631
|
+
display: flex;
|
|
5632
|
+
flex-direction: column;
|
|
5633
5633
|
padding-left: 2px;
|
|
5634
5634
|
}
|
|
5635
5635
|
.odx-radio-button__content:empty {
|
package/package.json
CHANGED
|
@@ -4,16 +4,12 @@
|
|
|
4
4
|
@use '../abstract/typography';
|
|
5
5
|
@use '../abstract/utils';
|
|
6
6
|
|
|
7
|
-
:root {
|
|
8
|
-
--odx-cdk-connected-overlay-current-z-layer: 0;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
7
|
.odx-cdk-connected-overlay {
|
|
12
8
|
@include motion.transition(opacity visibility);
|
|
13
9
|
|
|
14
10
|
display: block;
|
|
15
11
|
position: fixed;
|
|
16
|
-
z-index:
|
|
12
|
+
z-index: var(--odx-v-layer-4);
|
|
17
13
|
|
|
18
14
|
&.is-hidden {
|
|
19
15
|
opacity: 0;
|
|
@@ -11,15 +11,18 @@
|
|
|
11
11
|
@include typography.font-weight(normal);
|
|
12
12
|
|
|
13
13
|
border-radius: var(--odx-v-border-radius-controls);
|
|
14
|
-
cursor: pointer;
|
|
15
14
|
user-select: none;
|
|
16
15
|
|
|
16
|
+
&:not(.is-disabled) {
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
}
|
|
19
|
+
|
|
17
20
|
&:last-child {
|
|
18
21
|
margin-bottom: 0;
|
|
19
22
|
}
|
|
20
23
|
|
|
21
24
|
&.is-active,
|
|
22
|
-
&:hover {
|
|
25
|
+
&:hover:not(.is-disabled) {
|
|
23
26
|
background-color: var(--gray-50);
|
|
24
27
|
}
|
|
25
28
|
|
|
@@ -29,7 +32,6 @@
|
|
|
29
32
|
|
|
30
33
|
&.is-disabled {
|
|
31
34
|
color: var(--odx-control-color-disabled);
|
|
32
|
-
pointer-events: none;
|
|
33
35
|
}
|
|
34
36
|
|
|
35
37
|
> .odx-checkbox {
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
@use '../abstract/typography';
|
|
4
4
|
@use '../abstract/utils';
|
|
5
5
|
@use '../abstract/motion';
|
|
6
|
+
@use '../layout/typography' as *;
|
|
6
7
|
|
|
7
8
|
.odx-radio-button {
|
|
8
9
|
$root: &;
|
|
@@ -42,6 +43,10 @@
|
|
|
42
43
|
}
|
|
43
44
|
}
|
|
44
45
|
|
|
46
|
+
&__subtitle {
|
|
47
|
+
@extend .odx-text--small;
|
|
48
|
+
}
|
|
49
|
+
|
|
45
50
|
&__input {
|
|
46
51
|
@include utils.visually-hidden();
|
|
47
52
|
}
|
|
@@ -110,6 +115,8 @@
|
|
|
110
115
|
&__content {
|
|
111
116
|
@include dimensions.margin(0.5, left);
|
|
112
117
|
|
|
118
|
+
display: flex;
|
|
119
|
+
flex-direction: column;
|
|
113
120
|
padding-left: 2px;
|
|
114
121
|
|
|
115
122
|
&:empty {
|