@odx/ui 4.3.5 → 4.5.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,25 @@
|
|
|
1
1
|
# @odx/ui
|
|
2
2
|
|
|
3
|
+
## 4.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- c6c4202: Maintenance minor updates for angular and dev packages
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 20a4b8b: z-index fixed for main menu
|
|
12
|
+
|
|
13
|
+
## 4.4.0
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- cae7f1c: Add "interactive" boolean attribute to expandable list item to change the expanded state control behavior
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- 6411da5: New slot for Icon Prefix in Chip Component
|
|
22
|
+
|
|
3
23
|
## 4.3.5
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/core-theme.css
CHANGED
|
@@ -3752,6 +3752,9 @@ html body .odx-fs-italic {
|
|
|
3752
3752
|
.odx-chip--small .odx-chip__action {
|
|
3753
3753
|
margin-right: calc(var(--odx-vertical-rythm-base-size) * -0.3333);
|
|
3754
3754
|
}
|
|
3755
|
+
.odx-chip--small > .odx-icon {
|
|
3756
|
+
font-size: calc(var(--odx-vertical-rythm-base-size) * 0.6667);
|
|
3757
|
+
}
|
|
3755
3758
|
.odx-chip--medium {
|
|
3756
3759
|
padding-right: calc(var(--odx-vertical-rythm-base-size) * 0.5);
|
|
3757
3760
|
padding-left: calc(var(--odx-vertical-rythm-base-size) * 0.5);
|
|
@@ -3764,6 +3767,9 @@ html body .odx-fs-italic {
|
|
|
3764
3767
|
.odx-chip--medium .odx-chip__action {
|
|
3765
3768
|
margin-right: calc(var(--odx-vertical-rythm-base-size) * -0.5);
|
|
3766
3769
|
}
|
|
3770
|
+
.odx-chip--medium > .odx-icon {
|
|
3771
|
+
font-size: calc(var(--odx-vertical-rythm-base-size) * 1);
|
|
3772
|
+
}
|
|
3767
3773
|
.odx-chip--secondary {
|
|
3768
3774
|
background-color: var(--odx-c-secondary);
|
|
3769
3775
|
color: var(--odx-c-secondary-text);
|
|
@@ -3788,6 +3794,9 @@ html body .odx-fs-italic {
|
|
|
3788
3794
|
background-color: var(--odx-c-confirmation);
|
|
3789
3795
|
color: var(--odx-c-confirmation-text);
|
|
3790
3796
|
}
|
|
3797
|
+
.odx-chip > .odx-icon {
|
|
3798
|
+
align-self: center;
|
|
3799
|
+
}
|
|
3791
3800
|
|
|
3792
3801
|
.odx-chip-list {
|
|
3793
3802
|
display: flex;
|
|
@@ -4040,6 +4049,9 @@ html body .odx-fs-italic {
|
|
|
4040
4049
|
.odx-expandable-list-item__icon--expanded {
|
|
4041
4050
|
transform: scaleY(-1);
|
|
4042
4051
|
}
|
|
4052
|
+
.odx-expandable-list-item--interactive .odx-expandable-list-item__action {
|
|
4053
|
+
pointer-events: none;
|
|
4054
|
+
}
|
|
4043
4055
|
|
|
4044
4056
|
:root {
|
|
4045
4057
|
--odx-footer-min-height: calc(var(--odx-vertical-rythm-base-size) * 10);
|
|
@@ -5122,6 +5134,7 @@ html body .odx-fs-italic {
|
|
|
5122
5134
|
transform: translateX(-100%);
|
|
5123
5135
|
transition-behavior: allow-discrete;
|
|
5124
5136
|
width: 100%;
|
|
5137
|
+
z-index: var(--odx-v-layer-6);
|
|
5125
5138
|
}
|
|
5126
5139
|
.odx-main-menu__inner::backdrop {
|
|
5127
5140
|
-webkit-backdrop-filter: blur(var(--odx-v-backdrop-blur));
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
@use '../abstract/motion';
|
|
5
5
|
@use '../abstract/typography';
|
|
6
6
|
|
|
7
|
-
$sizes: small 1 -1, medium 1.5 0;
|
|
7
|
+
$sizes: (small 1 -1 math.div(16, 24), medium 1.5 0 1);
|
|
8
8
|
$variants: secondary, highlight, success, danger, warning, confirmation;
|
|
9
9
|
|
|
10
10
|
.odx-chip {
|
|
@@ -43,7 +43,7 @@ $variants: secondary, highlight, success, danger, warning, confirmation;
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
@each $size, $size-factor, $font-size-factor in $sizes {
|
|
46
|
+
@each $size, $size-factor, $font-size-factor, $icon-size in $sizes {
|
|
47
47
|
&--#{$size} {
|
|
48
48
|
@include dimensions.padding-x(math.div($size-factor, 3));
|
|
49
49
|
@include dimensions.line-height($size-factor);
|
|
@@ -54,6 +54,10 @@ $variants: secondary, highlight, success, danger, warning, confirmation;
|
|
|
54
54
|
#{$root}__action {
|
|
55
55
|
@include dimensions.margin(math.div($size-factor, -3), 'right');
|
|
56
56
|
}
|
|
57
|
+
|
|
58
|
+
> .odx-icon {
|
|
59
|
+
font-size: dimensions.get-size($icon-size);
|
|
60
|
+
}
|
|
57
61
|
}
|
|
58
62
|
}
|
|
59
63
|
|
|
@@ -63,4 +67,8 @@ $variants: secondary, highlight, success, danger, warning, confirmation;
|
|
|
63
67
|
color: var(--odx-c-#{$variant}-text);
|
|
64
68
|
}
|
|
65
69
|
}
|
|
70
|
+
|
|
71
|
+
> .odx-icon {
|
|
72
|
+
align-self: center;
|
|
73
|
+
}
|
|
66
74
|
}
|