@porsche-design-system/components-react 3.12.0-rc.0 → 3.12.0
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
|
@@ -14,6 +14,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
14
14
|
|
|
15
15
|
### [Unreleased]
|
|
16
16
|
|
|
17
|
+
### [3.12.0] - 2024-02-12
|
|
18
|
+
|
|
19
|
+
### [3.12.0-rc.1] - 2024-02-08
|
|
20
|
+
|
|
21
|
+
#### Fixed
|
|
22
|
+
|
|
23
|
+
- `Checkbox Wrapper`, `Radio Button Wrapper`: Safari visually reflects input status (checked/unchecked) when
|
|
24
|
+
used in another Shadow DOM or changed programmatically ([#3028](https://github.com/porsche-design-system/porsche-design-system/pull/3028))
|
|
25
|
+
|
|
17
26
|
### [3.12.0-rc.0] - 2024-02-05
|
|
18
27
|
|
|
19
28
|
#### Added
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@porsche-design-system/components-react",
|
|
3
|
-
"version": "3.12.0
|
|
3
|
+
"version": "3.12.0",
|
|
4
4
|
"description": "Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"porsche",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"license": "SEE LICENSE IN LICENSE",
|
|
18
18
|
"homepage": "https://designsystem.porsche.com",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@porsche-design-system/components-js": "3.12.0
|
|
20
|
+
"@porsche-design-system/components-js": "3.12.0"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"react": ">=17.0.0 <19.0.0",
|
|
@@ -5247,7 +5247,7 @@ const getComponentCss$Y = (hideLabel, state, isDisabled, isLoading, theme) => {
|
|
|
5247
5247
|
gridArea: '1/1',
|
|
5248
5248
|
borderRadius: borderRadiusSmall,
|
|
5249
5249
|
},
|
|
5250
|
-
// TODO: is it somehow useful possible to make following styles configurable by
|
|
5250
|
+
// TODO: is it somehow useful possible to make following styles configurable by parameter?
|
|
5251
5251
|
...(!isLoading && {
|
|
5252
5252
|
'&(input:checked)': {
|
|
5253
5253
|
backgroundImage: getCheckedSVGBackgroundImage$1(checkedIconColor),
|
|
@@ -6319,6 +6319,7 @@ const getComponentCss$I = (name, source, color, size, theme) => {
|
|
|
6319
6319
|
const isColorInherit = color === 'inherit';
|
|
6320
6320
|
const isSizeInherit = size === 'inherit';
|
|
6321
6321
|
const isDark = isThemeDark(theme);
|
|
6322
|
+
const animationName = `${isDark ? keyFramesDark : keyFramesLight}-${color}`;
|
|
6322
6323
|
return getCss({
|
|
6323
6324
|
'@global': {
|
|
6324
6325
|
':host': {
|
|
@@ -6345,7 +6346,7 @@ const getComponentCss$I = (name, source, color, size, theme) => {
|
|
|
6345
6346
|
}, {
|
|
6346
6347
|
filter: filterMap.dark[color],
|
|
6347
6348
|
})),
|
|
6348
|
-
WebkitAnimation: `${
|
|
6349
|
+
WebkitAnimation: `${animationName} 1ms`, // needed to enforce repaint in Safari if theme is switched programmatically
|
|
6349
6350
|
}),
|
|
6350
6351
|
...(isSizeInherit
|
|
6351
6352
|
? {
|
|
@@ -6364,7 +6365,7 @@ const getComponentCss$I = (name, source, color, size, theme) => {
|
|
|
6364
6365
|
}),
|
|
6365
6366
|
},
|
|
6366
6367
|
...(!isColorInherit && {
|
|
6367
|
-
[`@keyframes ${
|
|
6368
|
+
[`@keyframes ${animationName}`]: forceRerenderAnimationStyle,
|
|
6368
6369
|
}),
|
|
6369
6370
|
},
|
|
6370
6371
|
});
|
|
@@ -5245,7 +5245,7 @@ const getComponentCss$Y = (hideLabel, state, isDisabled, isLoading, theme) => {
|
|
|
5245
5245
|
gridArea: '1/1',
|
|
5246
5246
|
borderRadius: borderRadiusSmall,
|
|
5247
5247
|
},
|
|
5248
|
-
// TODO: is it somehow useful possible to make following styles configurable by
|
|
5248
|
+
// TODO: is it somehow useful possible to make following styles configurable by parameter?
|
|
5249
5249
|
...(!isLoading && {
|
|
5250
5250
|
'&(input:checked)': {
|
|
5251
5251
|
backgroundImage: getCheckedSVGBackgroundImage$1(checkedIconColor),
|
|
@@ -6317,6 +6317,7 @@ const getComponentCss$I = (name, source, color, size, theme) => {
|
|
|
6317
6317
|
const isColorInherit = color === 'inherit';
|
|
6318
6318
|
const isSizeInherit = size === 'inherit';
|
|
6319
6319
|
const isDark = isThemeDark(theme);
|
|
6320
|
+
const animationName = `${isDark ? keyFramesDark : keyFramesLight}-${color}`;
|
|
6320
6321
|
return getCss({
|
|
6321
6322
|
'@global': {
|
|
6322
6323
|
':host': {
|
|
@@ -6343,7 +6344,7 @@ const getComponentCss$I = (name, source, color, size, theme) => {
|
|
|
6343
6344
|
}, {
|
|
6344
6345
|
filter: filterMap.dark[color],
|
|
6345
6346
|
})),
|
|
6346
|
-
WebkitAnimation: `${
|
|
6347
|
+
WebkitAnimation: `${animationName} 1ms`, // needed to enforce repaint in Safari if theme is switched programmatically
|
|
6347
6348
|
}),
|
|
6348
6349
|
...(isSizeInherit
|
|
6349
6350
|
? {
|
|
@@ -6362,7 +6363,7 @@ const getComponentCss$I = (name, source, color, size, theme) => {
|
|
|
6362
6363
|
}),
|
|
6363
6364
|
},
|
|
6364
6365
|
...(!isColorInherit && {
|
|
6365
|
-
[`@keyframes ${
|
|
6366
|
+
[`@keyframes ${animationName}`]: forceRerenderAnimationStyle,
|
|
6366
6367
|
}),
|
|
6367
6368
|
},
|
|
6368
6369
|
});
|