@odx/ui 4.3.0 → 4.3.2

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,17 @@
1
1
  # @odx/ui
2
2
 
3
+ ## 4.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 2fa9021: Updated header component for title text truncation
8
+
9
+ ## 4.3.1
10
+
11
+ ### Patch Changes
12
+
13
+ - 429c76c: Reset button for datepicker inside mainfilter group
14
+
3
15
  ## 4.3.0
4
16
 
5
17
  ### Minor Changes
package/core-theme.css CHANGED
@@ -4409,20 +4409,27 @@ html body .odx-fs-italic {
4409
4409
  min-height: auto;
4410
4410
  }
4411
4411
  .odx-header__content {
4412
+ display: none;
4412
4413
  margin-inline-end: auto;
4413
4414
  padding-right: calc(var(--odx-vertical-rythm-base-size) * 0.5);
4414
4415
  padding-left: calc(var(--odx-vertical-rythm-base-size) * 0.5);
4416
+ overflow: clip;
4417
+ text-overflow: ellipsis;
4418
+ white-space: nowrap;
4415
4419
  }
4416
4420
  @media (min-width: 768px) {
4417
4421
  .odx-header__content {
4418
4422
  padding-right: calc(var(--odx-vertical-rythm-base-size) * 1);
4419
4423
  padding-left: calc(var(--odx-vertical-rythm-base-size) * 1);
4424
+ display: block;
4425
+ overflow: hidden;
4420
4426
  }
4421
4427
  }
4422
4428
  .odx-header__title {
4423
4429
  overflow: clip;
4424
4430
  text-overflow: ellipsis;
4425
4431
  white-space: nowrap;
4432
+ overflow: hidden;
4426
4433
  }
4427
4434
  .odx-header .odx-action-group:not(:last-child) {
4428
4435
  border-inline-end: 1px solid var(--odx-c-separator);
@@ -4919,20 +4926,20 @@ html body .odx-fs-italic {
4919
4926
  .odx-mainfilter-group .odx-form-field__hint {
4920
4927
  display: none;
4921
4928
  }
4922
- .odx-mainfilter-group .odx-button {
4929
+ .odx-mainfilter-group > .odx-button {
4923
4930
  margin-top: calc(var(--odx-vertical-rythm-base-size) * 0.8334);
4924
4931
  outline-offset: -1px;
4925
4932
  outline-width: var(--odx-v-outline-width);
4926
4933
  overflow: visible;
4927
4934
  position: relative;
4928
4935
  }
4929
- .odx-mainfilter-group .odx-button:not(:focus-visible) {
4936
+ .odx-mainfilter-group > .odx-button:not(:focus-visible) {
4930
4937
  outline-color: var(--odx-input-control-outline-color);
4931
4938
  }
4932
- .odx-mainfilter-group .odx-button:focus-visible {
4939
+ .odx-mainfilter-group > .odx-button:focus-visible {
4933
4940
  background-color: var(--odx-c-focus);
4934
4941
  }
4935
- .odx-mainfilter-group .odx-button::before {
4942
+ .odx-mainfilter-group > .odx-button::before {
4936
4943
  padding-right: calc(var(--odx-vertical-rythm-base-size) * 0.125);
4937
4944
  padding-left: calc(var(--odx-vertical-rythm-base-size) * 0.125);
4938
4945
  padding-top: calc(var(--odx-vertical-rythm-base-size) * 0.0834);
@@ -4991,6 +4998,13 @@ html body .odx-fs-italic {
4991
4998
  .odx-mainfilter-group .odx-daterangepicker .odx-button::before {
4992
4999
  content: unset;
4993
5000
  }
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
+ }
4994
5008
  .odx-mainfilter-group .odx-daterangepicker__trigger-wrapper .odx-button {
4995
5009
  margin-left: calc(var(--odx-vertical-rythm-base-size) * 0.5);
4996
5010
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odx/ui",
3
- "version": "4.3.0",
3
+ "version": "4.3.2",
4
4
  "author": "Drägerwerk AG & Co.KGaA",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "peerDependencies": {
@@ -24,12 +24,17 @@
24
24
  }
25
25
 
26
26
  &__content {
27
+ display: none;
27
28
  margin-inline-end: auto;
28
29
 
29
30
  @include dimensions.padding-x(0.5);
31
+ @include typography.prevent-text-overflow();
30
32
 
31
33
  @include breakpoints.up(tablet) {
32
34
  @include dimensions.padding-x(1);
35
+
36
+ display: block;
37
+ overflow: hidden;
33
38
  }
34
39
  }
35
40
 
@@ -37,6 +42,8 @@
37
42
  @extend .odx-title;
38
43
  @extend .odx-title-6;
39
44
  @include typography.prevent-text-overflow();
45
+
46
+ overflow: hidden;
40
47
  }
41
48
 
42
49
  .odx-action-group:not(:last-child) {
@@ -73,7 +73,7 @@
73
73
  }
74
74
  }
75
75
 
76
- .odx-button {
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);
@@ -153,6 +153,13 @@
153
153
  content: unset;
154
154
  }
155
155
  }
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
+ }
156
163
  }
157
164
 
158
165
  .odx-daterangepicker {