@odx/ui 3.8.0 → 3.9.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,17 @@
1
1
  # @odx/ui
2
2
 
3
+ ## 3.9.1
4
+
5
+ ### Patch Changes
6
+
7
+ - c1ecb13: css fix for list item header
8
+
9
+ ## 3.9.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 32bc292: Added possibility for datepicker and daterangepicker to be included in main filter group
14
+
3
15
  ## 3.8.0
4
16
 
5
17
  ### Minor Changes
package/core-theme.css CHANGED
@@ -4856,9 +4856,13 @@ html body .odx-fs-italic {
4856
4856
  min-width: calc(var(--odx-vertical-rythm-base-size) * 7.1667);
4857
4857
  }
4858
4858
  .odx-mainfilter-group .odx-form-field__label {
4859
+ padding-right: calc(var(--odx-vertical-rythm-base-size) * 0.125);
4860
+ padding-left: calc(var(--odx-vertical-rythm-base-size) * 0.125);
4861
+ background-color: var(--odx-input-control-background-color);
4859
4862
  margin-top: 0;
4860
4863
  position: absolute;
4861
4864
  right: 0;
4865
+ right: calc(var(--odx-vertical-rythm-base-size) * 0.3334);
4862
4866
  top: calc(var(--odx-vertical-rythm-base-size) * 0.5);
4863
4867
  z-index: 1;
4864
4868
  }
@@ -4866,11 +4870,8 @@ html body .odx-fs-italic {
4866
4870
  right: calc(var(--odx-vertical-rythm-base-size) * 1.5);
4867
4871
  }
4868
4872
  .odx-mainfilter-group .odx-form-field-label {
4869
- padding-right: calc(var(--odx-vertical-rythm-base-size) * 0.125);
4870
- padding-left: calc(var(--odx-vertical-rythm-base-size) * 0.125);
4871
4873
  padding-top: calc(var(--odx-vertical-rythm-base-size) * 0.0834);
4872
4874
  padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.0834);
4873
- background-color: var(--odx-input-control-background-color);
4874
4875
  border-radius: var(--odx-v-border-radius-controls);
4875
4876
  display: inline-block;
4876
4877
  font-size: calc(var(--odx-vertical-rythm-base-size) * 0.4167);
@@ -4938,6 +4939,25 @@ html body .odx-fs-italic {
4938
4939
  background-color: transparent;
4939
4940
  }
4940
4941
  }
4942
+ .odx-mainfilter-group .odx-datepicker > .odx-action-group,
4943
+ .odx-mainfilter-group .odx-daterangepicker > .odx-action-group {
4944
+ z-index: 1;
4945
+ }
4946
+ .odx-mainfilter-group .odx-datepicker .odx-button,
4947
+ .odx-mainfilter-group .odx-daterangepicker .odx-button {
4948
+ margin-top: 0;
4949
+ outline: none;
4950
+ }
4951
+ .odx-mainfilter-group .odx-datepicker .odx-button::before,
4952
+ .odx-mainfilter-group .odx-daterangepicker .odx-button::before {
4953
+ content: unset;
4954
+ }
4955
+ .odx-mainfilter-group .odx-daterangepicker__trigger-wrapper .odx-button {
4956
+ margin-left: calc(var(--odx-vertical-rythm-base-size) * 0.5);
4957
+ }
4958
+ .odx-mainfilter-group .odx-calendar {
4959
+ --odx-input-control-outline-color: var(--gray-200);
4960
+ }
4941
4961
 
4942
4962
  .odx-main-menu-button {
4943
4963
  color: inherit;
@@ -5898,9 +5918,6 @@ html body .odx-fs-italic {
5898
5918
  overflow: hidden;
5899
5919
  text-align: center;
5900
5920
  }
5901
- .odx-rich-list-item-header__icon {
5902
- position: relative;
5903
- }
5904
5921
 
5905
5922
  .odx-rich-list-item {
5906
5923
  padding-right: calc(var(--odx-vertical-rythm-base-size) * 0.3334);
@@ -5912,11 +5929,11 @@ html body .odx-fs-italic {
5912
5929
  padding-top: calc(var(--odx-vertical-rythm-base-size) * 0.3334);
5913
5930
  padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.3334);
5914
5931
  }
5915
- .odx-rich-list-item.is-disabled .odx-rich-list-item-header__title,
5916
- .odx-rich-list-item.is-disabled .odx-rich-list-item-header .odx-avatar {
5932
+ .odx-rich-list-item.is-disabled .odx-rich-list-item-header {
5917
5933
  color: var(--odx-c-text-disabled);
5918
5934
  }
5919
5935
  .odx-rich-list-item.is-disabled .odx-rich-list-item-header .odx-avatar {
5936
+ color: var(--odx-c-text-disabled);
5920
5937
  filter: saturate(0);
5921
5938
  }
5922
5939
  .odx-rich-list-item__header {
@@ -5935,8 +5952,16 @@ html body .odx-fs-italic {
5935
5952
  .odx-rich-list-item--empty .odx-rich-list-item__expand-button {
5936
5953
  display: none;
5937
5954
  }
5955
+ .odx-rich-list-item__icon {
5956
+ transition-delay: 0ms;
5957
+ transition-duration: var(--odx-v-transition-duration);
5958
+ transition-property: transform;
5959
+ transition-timing-function: var(--odx-v-transition-easing-fn);
5960
+ position: relative;
5961
+ transform: rotate(0);
5962
+ }
5938
5963
  .odx-rich-list-item--expanded .odx-rich-list-item__icon {
5939
- transform: scaleY(-1);
5964
+ transform: rotateX(180deg);
5940
5965
  }
5941
5966
 
5942
5967
  :root {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odx/ui",
3
- "version": "3.8.0",
3
+ "version": "3.9.1",
4
4
  "author": "Drägerwerk AG & Co.KGaA",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "peerDependencies": {
@@ -42,9 +42,13 @@
42
42
  }
43
43
 
44
44
  &__label {
45
+ @include dimensions.padding-x(math.div(3, 24));
46
+
47
+ background-color: var(--odx-input-control-background-color);
45
48
  margin-top: 0;
46
49
  position: absolute;
47
50
  right: 0;
51
+ right: dimensions.get-size(math.div(8, 24));
48
52
  top: dimensions.get-size(math.div(12, 24));
49
53
  z-index: 1;
50
54
  }
@@ -56,10 +60,8 @@
56
60
  }
57
61
 
58
62
  &-label {
59
- @include dimensions.padding-x(math.div(3, 24));
60
63
  @include dimensions.padding-y(math.div(2, 24));
61
64
 
62
- background-color: var(--odx-input-control-background-color);
63
65
  border-radius: var(--odx-v-border-radius-controls);
64
66
  display: inline-block;
65
67
  font-size: dimensions.get-size(math.div(10, 24));
@@ -136,4 +138,30 @@
136
138
  }
137
139
  }
138
140
  }
141
+
142
+ .odx-datepicker,
143
+ .odx-daterangepicker {
144
+ & > .odx-action-group {
145
+ z-index: 1;
146
+ }
147
+
148
+ .odx-button {
149
+ margin-top: 0;
150
+ outline: none;
151
+
152
+ &::before {
153
+ content: unset;
154
+ }
155
+ }
156
+ }
157
+
158
+ .odx-daterangepicker {
159
+ &__trigger-wrapper .odx-button {
160
+ @include dimensions.margin(0.5, left);
161
+ }
162
+ }
163
+
164
+ .odx-calendar {
165
+ --odx-input-control-outline-color: var(--gray-200);
166
+ }
139
167
  }
@@ -22,8 +22,4 @@
22
22
  overflow: hidden;
23
23
  text-align: center;
24
24
  }
25
-
26
- &__icon {
27
- position: relative;
28
- }
29
25
  }
@@ -18,13 +18,13 @@
18
18
  display: block;
19
19
 
20
20
  &.is-disabled {
21
- .odx-rich-list-item-header__title,
22
- .odx-rich-list-item-header .odx-avatar {
21
+ .odx-rich-list-item-header {
23
22
  color: var(--odx-c-text-disabled);
24
- }
25
23
 
26
- .odx-rich-list-item-header .odx-avatar {
27
- filter: saturate(0);
24
+ .odx-avatar {
25
+ color: var(--odx-c-text-disabled);
26
+ filter: saturate(0);
27
+ }
28
28
  }
29
29
  }
30
30
 
@@ -46,9 +46,14 @@
46
46
  }
47
47
  }
48
48
 
49
- &--expanded {
50
- #{$root}__icon {
51
- transform: scaleY(-1);
49
+ &__icon {
50
+ @include motion.transition(transform);
51
+
52
+ position: relative;
53
+ transform: rotate(0);
54
+
55
+ #{$root}--expanded & {
56
+ transform: rotateX(180deg);
52
57
  }
53
58
  }
54
59
  }