@odx/ui 4.6.3 → 4.6.5

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,12 @@
1
1
  # @odx/ui
2
2
 
3
+ ## 4.6.5
4
+
5
+ ### Patch Changes
6
+
7
+ - 2d8a4a5: timepicker input width fixed
8
+ - 9431992: feat: Implemented a clearable input option for the select component, allowing users to easily reset the selected value
9
+
3
10
  ## 4.6.3
4
11
 
5
12
  ### Patch Changes
package/core-theme.css CHANGED
@@ -2785,6 +2785,7 @@ html body .odx-fs-italic {
2785
2785
  }
2786
2786
  .odx-area-header__title {
2787
2787
  color: var(--odx-area-header-title-color);
2788
+ font-weight: 600;
2788
2789
  }
2789
2790
  .odx-area-header__subtitle {
2790
2791
  overflow: clip;
@@ -2841,6 +2842,10 @@ html body .odx-fs-italic {
2841
2842
  padding-top: calc(var(--odx-vertical-rythm-base-size) * 1);
2842
2843
  }
2843
2844
  }
2845
+ .odx-area-header--xlarge .odx-area-header__title {
2846
+ font-weight: var(--odx-typography-font-weight-medium);
2847
+ letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
2848
+ }
2844
2849
  @media (min-width: 768px) {
2845
2850
  .odx-area-header--xlarge .odx-avatar {
2846
2851
  margin-top: calc(var(--odx-vertical-rythm-base-size) * -0.5);
@@ -3948,6 +3953,7 @@ html body .odx-fs-italic {
3948
3953
  align-items: center;
3949
3954
  }
3950
3955
  .odx-datepicker__trigger-wrapper {
3956
+ gap: calc(var(--odx-vertical-rythm-base-size) * 0.3334);
3951
3957
  margin: 0 0 0 auto;
3952
3958
  }
3953
3959
  .odx-datepicker.is-readonly .odx-datepicker__trigger-wrapper > .odx-button {
@@ -3972,6 +3978,7 @@ html body .odx-fs-italic {
3972
3978
  align-items: center;
3973
3979
  }
3974
3980
  .odx-daterangepicker__trigger-wrapper {
3981
+ gap: calc(var(--odx-vertical-rythm-base-size) * 0.3334);
3975
3982
  margin: 0 0 0 auto;
3976
3983
  }
3977
3984
  .odx-daterangepicker.is-readonly .odx-daterangepicker__trigger-wrapper > .odx-button {
@@ -6142,7 +6149,7 @@ html body .odx-fs-italic {
6142
6149
  align-items: center;
6143
6150
  cursor: pointer;
6144
6151
  flex: 1 1 100%;
6145
- gap: calc(var(--odx-vertical-rythm-base-size) * 0.25);
6152
+ gap: calc(var(--odx-vertical-rythm-base-size) * 0.3334);
6146
6153
  height: 100%;
6147
6154
  max-width: var(--odx-select-max-width);
6148
6155
  width: 100%;
@@ -6153,12 +6160,16 @@ html body .odx-fs-italic {
6153
6160
  -moz-user-select: unset;
6154
6161
  user-select: unset;
6155
6162
  }
6163
+ .odx-select__clear {
6164
+ margin-inline-start: auto;
6165
+ }
6156
6166
  .odx-select__placeholder, .odx-select__value {
6157
6167
  padding-top: calc(var(--odx-vertical-rythm-base-size) * 0.1667);
6158
6168
  padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.1667);
6159
6169
  overflow: clip;
6160
6170
  text-overflow: ellipsis;
6161
6171
  white-space: nowrap;
6172
+ display: flex;
6162
6173
  flex: 1 1 auto;
6163
6174
  gap: calc(var(--odx-vertical-rythm-base-size) * 0.1667);
6164
6175
  overflow: hidden;
@@ -6847,12 +6858,15 @@ html body .odx-fs-italic {
6847
6858
  .odx-timepicker {
6848
6859
  display: flex;
6849
6860
  align-items: center;
6861
+ gap: calc(var(--odx-vertical-rythm-base-size) * 0.1667);
6850
6862
  justify-content: space-between;
6851
6863
  width: 100%;
6852
6864
  }
6853
6865
  .odx-timepicker__wrapper {
6854
6866
  display: inline-flex;
6855
- max-width: calc(var(--odx-vertical-rythm-base-size) * 4.5834);
6867
+ }
6868
+ .odx-timepicker__trigger-wrapper {
6869
+ gap: calc(var(--odx-vertical-rythm-base-size) * 0.3334);
6856
6870
  }
6857
6871
  .odx-timepicker input[odxTimepickerControl] {
6858
6872
  -webkit-appearance: textfield;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odx/ui",
3
- "version": "4.6.3",
3
+ "version": "4.6.5",
4
4
  "author": "Drägerwerk AG & Co.KGaA",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "peerDependencies": {
@@ -55,6 +55,7 @@
55
55
  @extend .odx-title-6;
56
56
 
57
57
  color: var(--odx-area-header-title-color);
58
+ font-weight: 600;
58
59
  }
59
60
 
60
61
  &__subtitle {
@@ -137,6 +138,7 @@
137
138
 
138
139
  .odx-area-header__title {
139
140
  @extend .odx-title-2;
141
+ @include typography.font-weight(medium);
140
142
  }
141
143
 
142
144
  .odx-area-header__subtitle {
@@ -1,3 +1,5 @@
1
+ @use 'sass:math';
2
+ @use '../abstract/dimensions';
1
3
  @use '../abstract/utils';
2
4
 
3
5
  .odx-datepicker {
@@ -6,6 +8,7 @@
6
8
  @include utils.vertical-center-content();
7
9
 
8
10
  &__trigger-wrapper {
11
+ gap: dimensions.get-size(math.div(1, 3));
9
12
  margin: 0 0 0 auto;
10
13
 
11
14
  > .odx-button {
@@ -1,3 +1,4 @@
1
+ @use 'sass:math';
1
2
  @use '../abstract/utils';
2
3
  @use '../abstract/dimensions';
3
4
 
@@ -7,6 +8,7 @@
7
8
  @include utils.vertical-center-content();
8
9
 
9
10
  &__trigger-wrapper {
11
+ gap: dimensions.get-size(math.div(1, 3));
10
12
  margin: 0 0 0 auto;
11
13
 
12
14
  > .odx-button {
@@ -17,7 +17,7 @@
17
17
 
18
18
  cursor: pointer;
19
19
  flex: 1 1 100%;
20
- gap: dimensions.get-size(math.div(6, 24));
20
+ gap: dimensions.get-size(math.div(1, 3));
21
21
  height: 100%;
22
22
  max-width: var(--odx-select-max-width);
23
23
  width: 100%;
@@ -30,11 +30,16 @@
30
30
  }
31
31
  }
32
32
 
33
+ &__clear {
34
+ margin-inline-start: auto;
35
+ }
36
+
33
37
  &__placeholder,
34
38
  &__value {
35
39
  @include dimensions.padding-y(math.div(4, 24));
36
40
  @include typography.prevent-text-overflow();
37
41
 
42
+ display: flex;
38
43
  flex: 1 1 auto;
39
44
  gap: dimensions.get-size(math.div(4, 24));
40
45
  overflow: hidden;
@@ -10,12 +10,16 @@
10
10
 
11
11
  @include utils.vertical-center-content();
12
12
 
13
+ gap: dimensions.get-size(math.div(4, 24));
13
14
  justify-content: space-between;
14
15
  width: 100%;
15
16
 
16
17
  &__wrapper {
17
18
  display: inline-flex;
18
- max-width: dimensions.get-size(math.div(110, 24));
19
+ }
20
+
21
+ &__trigger-wrapper {
22
+ gap: dimensions.get-size(math.div(1, 3));
19
23
  }
20
24
 
21
25
  input[odxTimepickerControl] {