@odx/ui 4.4.0 → 4.5.1

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
+ ## 4.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 50fad0b: Required marker for switch and for checkbox components
8
+
9
+ ## 4.5.0
10
+
11
+ ### Minor Changes
12
+
13
+ - c6c4202: Maintenance minor updates for angular and dev packages
14
+
15
+ ### Patch Changes
16
+
17
+ - 20a4b8b: z-index fixed for main menu
18
+
3
19
  ## 4.4.0
4
20
 
5
21
  ### Minor Changes
package/core-theme.css CHANGED
@@ -3698,6 +3698,15 @@ html body .odx-fs-italic {
3698
3698
  margin: 0;
3699
3699
  padding: 0;
3700
3700
  }
3701
+ .odx-checkbox__required {
3702
+ font-size: calc(var(--odx-typography-base-size) * 1);
3703
+ color: var(--odx-c-error-text);
3704
+ margin-left: 2px;
3705
+ vertical-align: top;
3706
+ }
3707
+ .odx-checkbox.is-disabled .odx-checkbox__required {
3708
+ color: var(--odx-control-color-disabled);
3709
+ }
3701
3710
 
3702
3711
  .odx-chip {
3703
3712
  font-weight: var(--odx-typography-font-weight-medium);
@@ -5134,6 +5143,7 @@ html body .odx-fs-italic {
5134
5143
  transform: translateX(-100%);
5135
5144
  transition-behavior: allow-discrete;
5136
5145
  width: 100%;
5146
+ z-index: var(--odx-v-layer-6);
5137
5147
  }
5138
5148
  .odx-main-menu__inner::backdrop {
5139
5149
  -webkit-backdrop-filter: blur(var(--odx-v-backdrop-blur));
@@ -6562,6 +6572,15 @@ html body .odx-fs-italic {
6562
6572
  margin: 0;
6563
6573
  padding: 0;
6564
6574
  }
6575
+ .odx-switch__required {
6576
+ font-size: calc(var(--odx-typography-base-size) * 1);
6577
+ color: var(--odx-c-error-text);
6578
+ margin-left: 2px;
6579
+ vertical-align: top;
6580
+ }
6581
+ .odx-switch.is-disabled .odx-switch__required {
6582
+ color: var(--odx-control-color-disabled);
6583
+ }
6565
6584
 
6566
6585
  .odx-tab-bar-item {
6567
6586
  margin-top: calc(var(--odx-vertical-rythm-base-size) * 0.3334);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odx/ui",
3
- "version": "4.4.0",
3
+ "version": "4.5.1",
4
4
  "author": "Drägerwerk AG & Co.KGaA",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "peerDependencies": {
@@ -121,4 +121,16 @@
121
121
  padding: 0;
122
122
  }
123
123
  }
124
+
125
+ &__required {
126
+ @include typography.font-size(0);
127
+
128
+ color: var(--odx-c-error-text);
129
+ margin-left: 2px;
130
+ vertical-align: top;
131
+
132
+ #{$root}.is-disabled & {
133
+ color: var(--odx-control-color-disabled);
134
+ }
135
+ }
124
136
  }
@@ -43,6 +43,7 @@
43
43
  transform: translateX(-100%);
44
44
  transition-behavior: allow-discrete;
45
45
  width: 100%;
46
+ z-index: var(--odx-v-layer-6);
46
47
 
47
48
  &::backdrop {
48
49
  backdrop-filter: blur(var(--odx-v-backdrop-blur));
@@ -160,4 +160,16 @@
160
160
  padding: 0;
161
161
  }
162
162
  }
163
+
164
+ &__required {
165
+ @include typography.font-size(0);
166
+
167
+ color: var(--odx-c-error-text);
168
+ margin-left: 2px;
169
+ vertical-align: top;
170
+
171
+ #{$root}.is-disabled & {
172
+ color: var(--odx-control-color-disabled);
173
+ }
174
+ }
163
175
  }