@odx/ui 1.0.0-rc.21 → 1.0.0-rc.23

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/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "@odx/ui",
3
- "version": "1.0.0-rc.21",
3
+ "version": "1.0.0-rc.23",
4
4
  "author": "Drägerwerk AG & Co.KGaA",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
+ "peerDependencies": {
7
+ "@odx/icons": "*"
8
+ },
6
9
  "files": [
7
10
  "*.css",
8
11
  "*.woff2",
@@ -0,0 +1,220 @@
1
+ @use '@odx/icons/core/utils' as icons;
2
+ @use '../../abstract/dimensions';
3
+ @use '../../abstract/typography';
4
+
5
+ .ag-theme-odx {
6
+ --ag-border-color: var(--odx-c-seperator);
7
+ --ag-foreground-color: var(--odx-c-text);
8
+ --ag-secondary-foreground-color: var(--odx-c-text);
9
+ --ag-disabled-foreground-color: vara(--odx-c-text-disabled);
10
+
11
+ --ag-background-color: var(--odx-c-background-content);
12
+
13
+ --ag-font-family: 'Pangea';
14
+ --ag-font-size: var(--odx-typography-base-size);
15
+
16
+ --ag-icon-size: #{typography.get-font-size(1)};
17
+ --ag-icon-font-family: #{icons.get-font-family()};
18
+ --ag-icon-font-code-aggregation: '#{icons.get-icon-glyph(placeholder)}';
19
+ --ag-icon-font-code-arrows: '#{icons.get-icon-glyph(placeholder)}';
20
+ --ag-icon-font-code-asc: '#{icons.get-icon-glyph(ascending)}';
21
+ --ag-icon-font-code-cancel: '#{icons.get-icon-glyph(close)}';
22
+ --ag-icon-font-code-chart: '#{icons.get-icon-glyph(placeholder)}';
23
+ --ag-icon-font-code-checkbox-checked: '#{icons.get-icon-glyph(placeholder)}';
24
+ --ag-icon-font-code-checkbox-indeterminate: '#{icons.get-icon-glyph(placeholder)}';
25
+ --ag-icon-font-code-checkbox-unchecked: '#{icons.get-icon-glyph(placeholder)}';
26
+ --ag-icon-font-code-color-picker: '#{icons.get-icon-glyph(placeholder)}';
27
+ --ag-icon-font-code-columns: '#{icons.get-icon-glyph(placeholder)}';
28
+ --ag-icon-font-code-contracted: '#{icons.get-icon-glyph(chevron-right)}';
29
+ --ag-icon-font-code-copy: '#{icons.get-icon-glyph(copy-content)}';
30
+ --ag-icon-font-code-cut: '#{icons.get-icon-glyph(cut)}';
31
+ --ag-icon-font-code-cross: '#{icons.get-icon-glyph(close)}';
32
+ --ag-icon-font-code-csv: '#{icons.get-icon-glyph(file)}';
33
+ --ag-icon-font-code-desc: '#{icons.get-icon-glyph(descending)}';
34
+ --ag-icon-font-code-excel: '#{icons.get-icon-glyph(file-excel)}';
35
+ --ag-icon-font-code-expanded: '#{icons.get-icon-glyph(chevron-left)}';
36
+ --ag-icon-font-code-eye-slash: '#{icons.get-icon-glyph(placeholder)}';
37
+ --ag-icon-font-code-eye: '#{icons.get-icon-glyph(placeholder)}';
38
+ --ag-icon-font-code-filter: '#{icons.get-icon-glyph(filter)}';
39
+ --ag-icon-font-code-first: '#{icons.get-icon-glyph(placeholder)}';
40
+ --ag-icon-font-code-grip: '#{icons.get-icon-glyph(placeholder)}';
41
+ --ag-icon-font-code-group: '#{icons.get-icon-glyph(placeholder)}';
42
+ --ag-icon-font-code-last: '#{icons.get-icon-glyph(placeholder)}';
43
+ --ag-icon-font-code-left: '#{icons.get-icon-glyph(arrow-left)}';
44
+ --ag-icon-font-code-linked: '#{icons.get-icon-glyph(placeholder)}';
45
+ --ag-icon-font-code-loading: '#{icons.get-icon-glyph(placeholder)}';
46
+ --ag-icon-font-code-maximize: '#{icons.get-icon-glyph(maximize)}';
47
+ --ag-icon-font-code-menu: '#{icons.get-icon-glyph(menu)}';
48
+ --ag-icon-font-code-minimize: '#{icons.get-icon-glyph(minimize)}';
49
+ --ag-icon-font-code-next: '#{icons.get-icon-glyph(chevron-right)}';
50
+ --ag-icon-font-code-none: '#{icons.get-icon-glyph(placeholder)}';
51
+ --ag-icon-font-code-not-allowed: '#{icons.get-icon-glyph(blocked)}';
52
+ --ag-icon-font-code-paste: '#{icons.get-icon-glyph(placeholder)}';
53
+ --ag-icon-font-code-pin: '#{icons.get-icon-glyph(pin)}';
54
+ --ag-icon-font-code-pivot: '#{icons.get-icon-glyph(placeholder)}';
55
+ --ag-icon-font-code-previous: '#{icons.get-icon-glyph(chevron-left)}';
56
+ --ag-icon-font-code-radio-button-off: '#{icons.get-icon-glyph(placeholder)}';
57
+ --ag-icon-font-code-radio-button-on: '#{icons.get-icon-glyph(placeholder)}';
58
+ --ag-icon-font-code-right: '#{icons.get-icon-glyph(arrow-right)}';
59
+ --ag-icon-font-code-save: '#{icons.get-icon-glyph(save)}';
60
+ --ag-icon-font-code-small-down: '#{icons.get-icon-glyph(chevron-down)}';
61
+ --ag-icon-font-code-small-left: '#{icons.get-icon-glyph(chevron-left)}';
62
+ --ag-icon-font-code-small-right: '#{icons.get-icon-glyph(chevron-right)}';
63
+ --ag-icon-font-code-small-up: '#{icons.get-icon-glyph(chevron-up)}';
64
+ --ag-icon-font-code-tick: '#{icons.get-icon-glyph(check)}';
65
+ --ag-icon-font-code-tree-closed: '#{icons.get-icon-glyph(chevron-right)}';
66
+ --ag-icon-font-code-tree-indeterminate: '#{icons.get-icon-glyph(minus)}';
67
+ --ag-icon-font-code-tree-open: '#{icons.get-icon-glyph(chevron-down)}';
68
+ --ag-icon-font-code-unlinked: '#{icons.get-icon-glyph(placeholder)}';
69
+
70
+ --ag-grid-size: #{dimensions.get-size(0.25)};
71
+ --ag-widget-vertical-spacing: #{dimensions.get-size(0.5)};
72
+
73
+ --ag-header-height: #{dimensions.get-size(2)};
74
+ --ag-row-height: #{dimensions.get-size(2)};
75
+ --ag-table-line-height: #{dimensions.get-size(1.5)};
76
+ --ag-list-item-height: #{dimensions.get-size(1.5)};
77
+
78
+ input[type='text'] {
79
+ background: var(--gray-100);
80
+ border: var(--ag-borders-critical) var(--gray100);
81
+ border-radius: var(--odx-v-border-radius-controls);
82
+ font-weight: var(--odx-typography-font-weight-normal);
83
+ letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
84
+ line-height: var(--ag-table-line-height);
85
+ padding-left: calc(var(--odx-vertical-rythm-base-size) * 0.3334);
86
+ padding-right: calc(var(--odx-vertical-rythm-base-size) * 0.3334);
87
+ vertical-align: middle;
88
+
89
+ &::placeholder {
90
+ color: var(--odx-c-text);
91
+ opacity: 0.65;
92
+ }
93
+ }
94
+
95
+ .ag-standard-button {
96
+ background-color: var(--odx-c-primary);
97
+ border-radius: var(--odx-v-border-radius-controls);
98
+ color: var(--odx-c-primary-text);
99
+ height: calc(var(--odx-vertical-rythm-base-size) * 1.5);
100
+ min-width: calc(var(--odx-vertical-rythm-base-size) * 3);
101
+ outline-offset: calc(-1 * var(--odx-v-outline-width-bold));
102
+ outline-width: var(--odx-v-outline-width-bold);
103
+ transition: all var(--odx-v-transition-duration) 0ms var(--odx-v-transition-easing-fn);
104
+ transition-property: background-color, color, outline;
105
+ }
106
+
107
+ .ag-header {
108
+ border-bottom: var(--ag-borders-critical) var(--gray-700);
109
+
110
+ &-row:not(:first-child) {
111
+ .ag-header-cell,
112
+ .ag-header-group-cell.ag-header-group-cell-with-group {
113
+ border: none;
114
+ }
115
+ }
116
+
117
+ .ag-cell-label-container {
118
+ width: fit-content;
119
+ }
120
+
121
+ .ag-floating-filter {
122
+ .ag-filter-select {
123
+ .ag-picker-field-wrapper {
124
+ height: calc(var(--odx-vertical-rythm-base-size) * 1.5);
125
+ }
126
+ }
127
+
128
+ input[type='text']:disabled {
129
+ color: var(--odx-c-text);
130
+ font-weight: var(--odx-typography-font-weight-medium);
131
+ padding: 0;
132
+ }
133
+ }
134
+
135
+ .ag-header-cell-text {
136
+ font-weight: var(--odx-typography-font-weight-medium);
137
+ }
138
+
139
+ .ag-header-cell-label {
140
+ padding-right: calc(var(--odx-vertical-rythm-base-size) * 0.25);
141
+ }
142
+
143
+ .ag-header-icon {
144
+ &.ag-header-cell-menu-button {
145
+ height: calc(var(--odx-vertical-rythm-base-size) * 0.667);
146
+ width: calc(var(--odx-vertical-rythm-base-size) * 0.667);
147
+ }
148
+ }
149
+ }
150
+
151
+ &.ag-popup {
152
+ [type='text']:focus {
153
+ border-color: var(--ag-input-border-color);
154
+ border-radius: var(--odx-v-border-radius);
155
+ box-shadow: unset;
156
+ }
157
+ }
158
+
159
+ .ag-radio-button-input-wrapper {
160
+ align-items: center;
161
+ background-color: var(--odx-control-background-color);
162
+ border-radius: 50%;
163
+ display: flex;
164
+ flex: 0 0 auto;
165
+ height: calc(var(--odx-vertical-rythm-base-size) * 0.8334);
166
+ justify-content: center;
167
+ margin-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.0834);
168
+ margin-top: calc(var(--odx-vertical-rythm-base-size) * 0.0834);
169
+ outline: var(--odx-v-outline-width) solid transparent;
170
+ outline-color: var(--odx-control-outline-color);
171
+ outline-offset: calc(-1 * var(--odx-v-outline-width));
172
+ padding: 1px;
173
+ transition: all var(--odx-v-transition-duration) 0ms var(--odx-v-transition-easing-fn);
174
+ transition-property: background-color, color, outline-color;
175
+ width: calc(var(--odx-vertical-rythm-base-size) * 0.8334);
176
+
177
+ &:hover {
178
+ background-color: var(--odx-control-background-color-hover);
179
+ outline-color: var(--odx-control-outline-color-hover);
180
+ }
181
+
182
+ &.ag-checked {
183
+ background-color: var(--odx-control-background-color-selected);
184
+ color: var(--odx-control-color-selected);
185
+ opacity: 1;
186
+ outline-color: var(--odx-control-outline-color-selected);
187
+
188
+ &::after {
189
+ background-color: var(--odx-control-color-selected);
190
+ border-radius: 50%;
191
+ content: '';
192
+ height: calc(var(--odx-vertical-rythm-base-size) * 0.1667);
193
+ left: unset;
194
+ margin-bottom: calc(var(--odx-vertical-rythm-base-size) * 0);
195
+ margin-top: calc(var(--odx-vertical-rythm-base-size) * 0);
196
+ top: unset;
197
+ transform: scale(1);
198
+ width: calc(var(--odx-vertical-rythm-base-size) * 0.1667);
199
+ }
200
+ }
201
+ }
202
+
203
+ .ag-root-wrapper {
204
+ border: none;
205
+ }
206
+
207
+ .ag-select {
208
+ .ag-picker-field-display {
209
+ color: var(--odx-c-text);
210
+ }
211
+
212
+ .ag-picker-field-icon {
213
+ padding-right: calc(var(--odx-vertical-rythm-base-size) * 0.5);
214
+ }
215
+ }
216
+
217
+ .ag-select-list {
218
+ color: var(--odx-c-text);
219
+ }
220
+ }
@@ -1,16 +1,20 @@
1
1
  @use 'sass:math';
2
2
  @use 'utils';
3
3
 
4
+ @function get-font-size($size: 1) {
5
+ @if $size < 0 {
6
+ @return calc(var(--odx-typography-base-size) * utils.css-pow(var(--odx-typography-negative-font-scaling-factor), $size));
7
+ } @else {
8
+ @return calc(var(--odx-typography-base-size) * utils.css-pow(var(--odx-typography-positive-font-scaling-factor), $size));
9
+ }
10
+ }
11
+
4
12
  @mixin font-size($size: 1) {
5
13
  @if math.round($size) != $size {
6
14
  @error '$size must me an integer';
7
15
  }
8
16
 
9
- @if $size < 0 {
10
- font-size: calc(var(--odx-typography-base-size) * utils.css-pow(var(--odx-typography-negative-font-scaling-factor), $size));
11
- } @else {
12
- font-size: calc(var(--odx-typography-base-size) * utils.css-pow(var(--odx-typography-positive-font-scaling-factor), $size));
13
- }
17
+ font-size: get-font-size($size);
14
18
  }
15
19
 
16
20
  @mixin font-weight($value: normal) {
@@ -22,6 +22,11 @@
22
22
  &__container {
23
23
  column-gap: dimensions.get-size(math.div(20, 24));
24
24
  display: flex;
25
+
26
+ .odx-navigation-back {
27
+ @include dimensions.margin(-0.75, right);
28
+ @include dimensions.margin(math.div(5, 24), top);
29
+ }
25
30
  }
26
31
 
27
32
  * {
@@ -21,7 +21,7 @@
21
21
  min-width: $badge-size;
22
22
  outline: 1px solid transparent;
23
23
  vertical-align: middle;
24
- z-index: 9999;
24
+ z-index: var(--odx-v-layer-1);
25
25
 
26
26
  &,
27
27
  &--highlight {
@@ -17,6 +17,10 @@
17
17
 
18
18
  color: var(--odx-c-text);
19
19
  }
20
+
21
+ &:visited {
22
+ color: var(--odx-c-link);
23
+ }
20
24
  }
21
25
 
22
26
  .odx-icon {
@@ -0,0 +1,172 @@
1
+ @use 'sass:math';
2
+ @use '../abstract/breakpoints';
3
+ @use '../abstract/dimensions';
4
+ @use '../abstract/motion';
5
+ @use '../abstract/typography';
6
+ @use '../abstract/utils';
7
+
8
+ .odx-card {
9
+ $root: &;
10
+ $main-padding: dimensions.get-size(math.div(12, 24));
11
+
12
+ @include motion.transition(box-shadow outline-color, color);
13
+ @include utils.interactive(false);
14
+ @include utils.with-outline-bold();
15
+
16
+ background-color: var(--odx-c-background-content);
17
+ behavior: button;
18
+ border-radius: var(--odx-v-border-radius);
19
+ display: block;
20
+ padding: $main-padding;
21
+ position: relative;
22
+
23
+ &.is-disabled * {
24
+ color: var(--odx-c-text-disabled);
25
+ }
26
+
27
+ &__container {
28
+ display: flex;
29
+ gap: $main-padding;
30
+
31
+ #{$root}--default & {
32
+ flex-direction: column;
33
+ }
34
+
35
+ @include breakpoints.up(phone) {
36
+ #{$root}--launch-tile-centered & {
37
+ flex-direction: column;
38
+ }
39
+ }
40
+ }
41
+
42
+ &__content {
43
+ padding-right: dimensions.get-size(math.div(40, 24));
44
+ }
45
+
46
+ &--default {
47
+ #{$root}__title {
48
+ line-height: dimensions.get-size(math.div(36, 24));
49
+ padding-right: dimensions.get-size(math.div(36, 24));
50
+
51
+ @include typography.font-weight(medium);
52
+ }
53
+ }
54
+
55
+ &:focus-visible,
56
+ &:hover,
57
+ &:focus-within:has(:focus-visible) {
58
+ box-shadow: var(--odx-v-box-shadow-layer-1);
59
+ }
60
+
61
+ &--launch-tile,
62
+ &--launch-tile-centered {
63
+ #{$root}__container {
64
+ @include dimensions.padding-y(0.5);
65
+ @include dimensions.padding-x(math.div(8, 24));
66
+
67
+ gap: dimensions.get-size(math.div(16, 24));
68
+
69
+ @include breakpoints.up(phone) {
70
+ @include dimensions.padding(1, bottom);
71
+
72
+ gap: dimensions.get-size(1);
73
+ }
74
+ }
75
+
76
+ .odx-avatar {
77
+ @include dimensions.container(math.div(64, 24));
78
+ @include dimensions.margin-y(math.div(4, 24));
79
+
80
+ flex: 0 0 auto;
81
+
82
+ @include breakpoints.up(phone) {
83
+ @include dimensions.container(math.div(128, 24));
84
+
85
+ margin: dimensions.get-size(math.div(4, 24)) auto 0;
86
+ }
87
+ }
88
+
89
+ #{$root}__title {
90
+ @include typography.font-weight(medium);
91
+
92
+ display: block;
93
+ font-size: dimensions.get-size(math.div(20, 24));
94
+ line-height: dimensions.get-size(math.div(30, 24));
95
+
96
+ @include breakpoints.up(phone) {
97
+ @include dimensions.margin-y(math.div(9, 24));
98
+
99
+ font-size: dimensions.get-size(math.div(25, 24));
100
+ }
101
+ }
102
+
103
+ #{$root}__subtitle {
104
+ display: block;
105
+ }
106
+
107
+ #{$root}__content {
108
+ flex: 1;
109
+ }
110
+ }
111
+
112
+ @include breakpoints.up(phone) {
113
+ &__content {
114
+ padding-right: unset;
115
+ }
116
+
117
+ &__title,
118
+ &__subtitle {
119
+ #{$root}--launch-tile-centered & {
120
+ text-align: center;
121
+ }
122
+ }
123
+
124
+ &__container {
125
+ padding-right: unset;
126
+
127
+ #{$root}--launch-tile & {
128
+ @include dimensions.padding-y(1);
129
+ }
130
+ #{$root}--launch-tile-centered & {
131
+ gap: dimensions.get-size(math.div(16, 24));
132
+ }
133
+ }
134
+ }
135
+
136
+ &__footer {
137
+ display: flex;
138
+ gap: dimensions.get-size(math.div(12, 24));
139
+ justify-content: flex-end;
140
+
141
+ #{$root}--default & {
142
+ display: block;
143
+ margin-top: $main-padding;
144
+ }
145
+
146
+ @include breakpoints.up(phone) {
147
+ #{$root}--launch-tile-centered & {
148
+ justify-content: center;
149
+ }
150
+
151
+ padding-bottom: dimensions.get-size(math.div(12, 24));
152
+ }
153
+
154
+ .odx-button {
155
+ margin: 0;
156
+ }
157
+ }
158
+
159
+ .odx-card-menu {
160
+ margin: 0;
161
+ position: absolute;
162
+ right: $main-padding;
163
+ top: $main-padding;
164
+ }
165
+
166
+ &.is-disabled {
167
+ .odx-avatar {
168
+ color: var(--odx-c-text-disabled);
169
+ filter: saturate(0);
170
+ }
171
+ }
172
+ }
@@ -8,12 +8,8 @@ $icon-sizes: (small math.div(16, 24) 1, large math.div(32, 24) 2, xlarge math.di
8
8
  @include dimensions.container(1);
9
9
  @include utils.center-content(true);
10
10
 
11
- direction: ltr;
11
+ flex: 0 0 auto;
12
12
  font-size: dimensions.get-size(1);
13
- text-rendering: auto;
14
- text-transform: none;
15
- user-select: none;
16
- white-space: nowrap;
17
13
 
18
14
  @each $size, $size_factor, $factor in $icon-sizes {
19
15
  &--#{$size} {
@@ -27,9 +23,9 @@ $icon-sizes: (small math.div(16, 24) 1, large math.div(32, 24) 2, xlarge math.di
27
23
  @include dimensions.margin-y(0);
28
24
 
29
25
  font-size: inherit;
30
- height: auto;
26
+ height: 0.8em;
31
27
  line-height: inherit;
32
- vertical-align: -0.15em;
33
- width: auto;
28
+ vertical-align: super;
29
+ width: 0.8em;
34
30
  }
35
31
  }
@@ -4,4 +4,8 @@
4
4
  @extend .odx-button--ghost;
5
5
 
6
6
  color: inherit;
7
+
8
+ &:hover {
9
+ color: inherit;
10
+ }
7
11
  }
@@ -8,13 +8,13 @@
8
8
  @use 'main-menu-item.component';
9
9
 
10
10
  :root {
11
- --odx-main-menu-max-width: 100vw;
11
+ --odx-main-menu-max-width: 100dvw;
12
12
  --odx-main-menu-background-color: var(--odx-c-primary);
13
13
  --odx-main-menu-text-color: var(--odx-c-primary-text);
14
14
  --odx-main-menu-highlight-color: var(--odx-c-highlight);
15
15
 
16
16
  @include breakpoints.up(phone) {
17
- --odx-main-menu-max-width: min(100vw, 384px);
17
+ --odx-main-menu-max-width: min(100dvw, 384px);
18
18
  }
19
19
  }
20
20
 
@@ -29,7 +29,7 @@
29
29
  grid-template-rows: auto auto 1fr auto auto;
30
30
  height: 100%;
31
31
  left: 0;
32
- max-height: 100vh;
32
+ max-height: 100dvh;
33
33
  max-width: var(--odx-main-menu-max-width);
34
34
  position: fixed;
35
35
  top: 0;
@@ -16,12 +16,12 @@ $modal-padding: math.div(12, 24);
16
16
  backdrop-filter: blur(var(--odx-v-backdrop-blur));
17
17
  background-color: var(--odx-c-backdrop-dark);
18
18
  display: block;
19
- height: 100%;
19
+ height: 100dvh;
20
20
  left: 0;
21
21
  overscroll-behavior: contain;
22
22
  position: fixed;
23
23
  top: 0;
24
- width: 100%;
24
+ width: 100dvw;
25
25
  z-index: var(--odx-v-layer-4);
26
26
 
27
27
  @include breakpoints.up(phone) {
@@ -43,9 +43,9 @@ $modal-padding: math.div(12, 24);
43
43
  display: flex;
44
44
  flex-direction: column;
45
45
  margin: var(--odx-modal-margin-y) auto 0;
46
- max-height: calc(100vh - 2 * var(--odx-modal-margin-y));
46
+ max-height: calc(100% - var(--odx-modal-margin-y));
47
47
  min-height: dimensions.get-size(7);
48
- width: min(var(--odx-modal-max-width), calc(100vw - 2 * var(--odx-modal-margin-x)));
48
+ width: min(var(--odx-modal-max-width), calc(100% - 2 * var(--odx-modal-margin-x)));
49
49
 
50
50
  #{$root}--xsmall & {
51
51
  --odx-modal-max-width: #{dimensions.get-size(15)};
@@ -62,12 +62,16 @@ $modal-padding: math.div(12, 24);
62
62
  #{$root}--sidesheet & {
63
63
  height: 100%;
64
64
  left: unset;
65
- max-height: calc(100vh - var(--odx-modal-margin-y) - #{dimensions.get-size(1)});
65
+ max-height: calc(100% - var(--odx-modal-margin-y) - #{dimensions.get-size(0.5)});
66
66
  right: 0;
67
67
 
68
68
  @include breakpoints.up(phone) {
69
69
  margin-right: dimensions.get-size(0.5);
70
70
  }
71
+
72
+ @include breakpoints.down(phone) {
73
+ --odx-modal-max-width: 100dvw !important;
74
+ }
71
75
  }
72
76
 
73
77
  #{$root}--with-component & > * {
@@ -0,0 +1,23 @@
1
+ @use 'sass:math';
2
+ @use '../abstract/dimensions';
3
+ @use '../abstract/motion';
4
+ @use '../abstract/utils';
5
+
6
+ .odx-navigation-back {
7
+ border-radius: var(--odx-v-border-radius-controls);
8
+ height: dimensions.get-size(1.5);
9
+ width: dimensions.get-size(1.5);
10
+
11
+ @include motion.transition(background-color outline);
12
+ @include utils.center-content(true);
13
+ @include utils.interactive($with-background: true);
14
+
15
+ &:hover {
16
+ background-color: var(--blue-700-5);
17
+ }
18
+
19
+ &:active {
20
+ background-color: var(--cyan-500-15);
21
+ border: none;
22
+ }
23
+ }
@@ -21,8 +21,10 @@
21
21
  width: 100%;
22
22
 
23
23
  #{$root}.is-readonly & {
24
- cursor: text;
25
- user-select: unset;
24
+ #{$root}__value {
25
+ cursor: text;
26
+ user-select: unset;
27
+ }
26
28
  }
27
29
  }
28
30
 
@@ -9,13 +9,13 @@
9
9
  display: flex;
10
10
  flex-direction: column;
11
11
  margin-top: dimensions.get-size(math.div(4, 24));
12
- max-width: min(calc(100vw - 2 * var(--odx-toast-outer-offset)), dimensions.get-size(20));
12
+ max-width: min(calc(100dvw - 2 * var(--odx-toast-outer-offset)), dimensions.get-size(20));
13
13
  padding-top: var(--odx-toast-outer-offset);
14
14
  position: fixed;
15
15
  right: var(--odx-toast-outer-offset);
16
16
  top: 0;
17
17
  width: 100%;
18
- z-index: var(--odx-v-layer-4);
18
+ z-index: var(--odx-v-layer-5);
19
19
 
20
20
  &__counter {
21
21
  align-self: center;
package/scss/core.scss CHANGED
@@ -33,6 +33,7 @@ Layout
33
33
  @use 'components/breadcrumbs.component';
34
34
  @use 'components/button-group.component';
35
35
  @use 'components/button.component';
36
+ @use 'components/card.component';
36
37
  @use 'components/checkbox.component';
37
38
  @use 'components/chip.component';
38
39
  @use 'components/circular-progress.component';
@@ -43,7 +44,6 @@ Layout
43
44
  @use 'components/header.component';
44
45
  @use 'components/icon.component';
45
46
  @use 'components/inline-message.component';
46
- @use 'components/launch-tile.component';
47
47
  @use 'components/link.component';
48
48
  @use 'components/list.component';
49
49
  @use 'components/list-item.component';
@@ -53,6 +53,7 @@ Layout
53
53
  @use 'components/main-menu.component';
54
54
  @use 'components/menu.component';
55
55
  @use 'components/modal.component';
56
+ @use 'components/navigation-back.component';
56
57
  @use 'components/progress.component';
57
58
  @use 'components/radio-button.component';
58
59
  @use 'components/radio-group.component';
package/scss/reset.scss CHANGED
@@ -5,6 +5,7 @@
5
5
 
6
6
  * {
7
7
  box-sizing: border-box;
8
+ -webkit-tap-highlight-color: transparent;
8
9
 
9
10
  &:focus-visible {
10
11
  outline: none;
@@ -11,6 +11,7 @@
11
11
  --odx-v-layer-2: 10;
12
12
  --odx-v-layer-3: 20;
13
13
  --odx-v-layer-4: 9000;
14
+ --odx-v-layer-5: 9500;
14
15
 
15
16
  --odx-v-transition-duration: 250ms;
16
17
  --odx-v-transition-easing-fn: ease;