@odx/ui 7.1.0 → 7.2.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 +15 -0
- package/core-theme.css +1 -1
- package/package.json +2 -2
- package/scss/components/form-field.component.scss +6 -5
- package/scss/components/modal.component.scss +3 -3
- package/scss/form-field.component.scss +6 -5
- package/scss/modal.component.scss +3 -3
- package/scss/variables/_color-palettes.scss +6 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@odx/ui",
|
|
3
|
-
"version": "7.1
|
|
3
|
+
"version": "7.2.1",
|
|
4
4
|
"author": "Drägerwerk AG & Co.KGaA",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"peerDependencies": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"vite-plugin-static-copy": "2.3.0"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@odx/design-tokens": "^
|
|
18
|
+
"@odx/design-tokens": "^4.0.1"
|
|
19
19
|
},
|
|
20
20
|
"files": [
|
|
21
21
|
"*.css",
|
|
@@ -132,8 +132,7 @@
|
|
|
132
132
|
width: 100%;
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
#{$control-selector}
|
|
136
|
-
input {
|
|
135
|
+
#{$control-selector} {
|
|
137
136
|
&::placeholder {
|
|
138
137
|
color: var(--odx-input-control-color);
|
|
139
138
|
font-weight: var(--odx-typography-font-weight-normal);
|
|
@@ -143,18 +142,20 @@
|
|
|
143
142
|
}
|
|
144
143
|
|
|
145
144
|
.is-disabled & {
|
|
146
|
-
|
|
145
|
+
#{$control-selector}::placeholder {
|
|
147
146
|
color: var(--odx-input-control-color-disabled);
|
|
148
147
|
}
|
|
149
148
|
}
|
|
150
149
|
|
|
151
|
-
|
|
150
|
+
textarea#{$control-selector} {
|
|
152
151
|
block-size: calc(var(--odx-size-300) + var(--odx-spacing-150));
|
|
152
|
+
overflow: auto;
|
|
153
153
|
padding-block: var(--odx-control-spacing-md);
|
|
154
154
|
resize: vertical;
|
|
155
|
+
white-space: unset;
|
|
155
156
|
}
|
|
156
157
|
|
|
157
|
-
|
|
158
|
+
select#{$control-selector} {
|
|
158
159
|
border-right: var(--odx-spacing-37) solid transparent;
|
|
159
160
|
}
|
|
160
161
|
|
|
@@ -5,7 +5,7 @@ $modal-padding: var(--odx-spacing-75);
|
|
|
5
5
|
.odx-modal {
|
|
6
6
|
--odx-modal-margin-y: #{calc(var(--odx-vertical-rythm-base-size) * 2)};
|
|
7
7
|
--odx-modal-margin-x: var(--odx-spacing-50);
|
|
8
|
-
--odx-modal-max-width: calc(var(--odx-layout-width-lg) *
|
|
8
|
+
--odx-modal-max-width: calc(var(--odx-layout-width-lg) * 2);
|
|
9
9
|
--odx-modal-margin-bottom: var(--odx-spacing-75);
|
|
10
10
|
|
|
11
11
|
$root: &;
|
|
@@ -87,11 +87,11 @@ $modal-padding: var(--odx-spacing-75);
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
&.odx-modal--medium {
|
|
90
|
-
--odx-modal-max-width: calc(var(--odx-layout-width-md) *
|
|
90
|
+
--odx-modal-max-width: calc(var(--odx-layout-width-md) * 2);
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
&.odx-modal--large {
|
|
94
|
-
--odx-modal-max-width: calc(var(--odx-layout-width-lg) *
|
|
94
|
+
--odx-modal-max-width: calc(var(--odx-layout-width-lg) * 2.625);
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
&--sidesheet {
|
|
@@ -132,8 +132,7 @@
|
|
|
132
132
|
width: 100%;
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
#{$control-selector}
|
|
136
|
-
input {
|
|
135
|
+
#{$control-selector} {
|
|
137
136
|
&::placeholder {
|
|
138
137
|
color: var(--odx-input-control-color);
|
|
139
138
|
font-weight: var(--odx-typography-font-weight-normal);
|
|
@@ -143,18 +142,20 @@
|
|
|
143
142
|
}
|
|
144
143
|
|
|
145
144
|
.is-disabled & {
|
|
146
|
-
|
|
145
|
+
#{$control-selector}::placeholder {
|
|
147
146
|
color: var(--odx-input-control-color-disabled);
|
|
148
147
|
}
|
|
149
148
|
}
|
|
150
149
|
|
|
151
|
-
|
|
150
|
+
textarea#{$control-selector} {
|
|
152
151
|
block-size: calc(var(--odx-size-300) + var(--odx-spacing-150));
|
|
152
|
+
overflow: auto;
|
|
153
153
|
padding-block: var(--odx-control-spacing-md);
|
|
154
154
|
resize: vertical;
|
|
155
|
+
white-space: unset;
|
|
155
156
|
}
|
|
156
157
|
|
|
157
|
-
|
|
158
|
+
select#{$control-selector} {
|
|
158
159
|
border-right: var(--odx-spacing-37) solid transparent;
|
|
159
160
|
}
|
|
160
161
|
|
|
@@ -5,7 +5,7 @@ $modal-padding: var(--odx-spacing-75);
|
|
|
5
5
|
.odx-modal {
|
|
6
6
|
--odx-modal-margin-y: #{calc(var(--odx-vertical-rythm-base-size) * 2)};
|
|
7
7
|
--odx-modal-margin-x: var(--odx-spacing-50);
|
|
8
|
-
--odx-modal-max-width: calc(var(--odx-layout-width-lg) *
|
|
8
|
+
--odx-modal-max-width: calc(var(--odx-layout-width-lg) * 2);
|
|
9
9
|
--odx-modal-margin-bottom: var(--odx-spacing-75);
|
|
10
10
|
|
|
11
11
|
$root: &;
|
|
@@ -87,11 +87,11 @@ $modal-padding: var(--odx-spacing-75);
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
&.odx-modal--medium {
|
|
90
|
-
--odx-modal-max-width: calc(var(--odx-layout-width-md) *
|
|
90
|
+
--odx-modal-max-width: calc(var(--odx-layout-width-md) * 2);
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
&.odx-modal--large {
|
|
94
|
-
--odx-modal-max-width: calc(var(--odx-layout-width-lg) *
|
|
94
|
+
--odx-modal-max-width: calc(var(--odx-layout-width-lg) * 2.625);
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
&--sidesheet {
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use '@odx/design-tokens/css';
|
|
2
|
+
|
|
1
3
|
:root {
|
|
2
4
|
--white: var(--odx-palette-white);
|
|
3
5
|
--black: var(--odx-palette-black);
|
|
@@ -100,18 +102,10 @@
|
|
|
100
102
|
color: var(--odx-color-foreground-rest);
|
|
101
103
|
}
|
|
102
104
|
|
|
103
|
-
[odxTheme='light'] {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
* {
|
|
107
|
-
color-scheme: light;
|
|
108
|
-
}
|
|
105
|
+
:root:has([odxTheme='light']) {
|
|
106
|
+
@extend .odx-light-mode;
|
|
109
107
|
}
|
|
110
108
|
|
|
111
|
-
[odxTheme='dark'] {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
* {
|
|
115
|
-
color-scheme: dark;
|
|
116
|
-
}
|
|
109
|
+
:root:has([odxTheme='dark']) {
|
|
110
|
+
@extend .odx-dark-mode;
|
|
117
111
|
}
|