@porsche-design-system/components-react 3.27.1 → 3.27.2-rc.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,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0),
|
|
|
14
14
|
|
|
15
15
|
### [Unreleased]
|
|
16
16
|
|
|
17
|
+
### [3.27.2-rc.0] - 2025-03-18
|
|
18
|
+
|
|
19
|
+
#### Changed
|
|
20
|
+
|
|
21
|
+
- `Table`: add border-bottom styles to `Table Head` to support both, empty and missing `Table Body`
|
|
22
|
+
([#3788](https://github.com/porsche-design-system/porsche-design-system/pull/3788))
|
|
23
|
+
|
|
24
|
+
#### Fixed
|
|
25
|
+
|
|
26
|
+
- `Styles`: change `Gradient` color values from `rgba` to `hsla` to fix Chrome rendering bug
|
|
27
|
+
([#3793](https://github.com/porsche-design-system/porsche-design-system/pull/3793))
|
|
28
|
+
|
|
17
29
|
### [3.27.1] - 2025-03-05
|
|
18
30
|
|
|
19
31
|
### [3.27.1-rc.0] - 2025-03-05
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@porsche-design-system/components-react",
|
|
3
|
-
"version": "3.27.
|
|
3
|
+
"version": "3.27.2-rc.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.27.
|
|
20
|
+
"@porsche-design-system/components-js": "3.27.2-rc.0"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"ag-grid-community": ">= 33.0.0 <34.0.0",
|
|
@@ -3278,20 +3278,22 @@ const frostedGlassStyle = {
|
|
|
3278
3278
|
backdropFilter,
|
|
3279
3279
|
};
|
|
3280
3280
|
|
|
3281
|
-
const _gradient = '
|
|
3282
|
-
'
|
|
3283
|
-
'
|
|
3284
|
-
'
|
|
3285
|
-
'
|
|
3286
|
-
'
|
|
3287
|
-
'
|
|
3288
|
-
'
|
|
3289
|
-
'
|
|
3290
|
-
'
|
|
3291
|
-
'
|
|
3292
|
-
'
|
|
3293
|
-
'
|
|
3294
|
-
'
|
|
3281
|
+
const _gradient = 'hsla(0, 0%, 0%, 0.80) 0%,' +
|
|
3282
|
+
'hsla(0, 0%, 0%, 0.80) 8.1%,' +
|
|
3283
|
+
'hsla(0, 0%, 0%, 0.80) 15.5%,' +
|
|
3284
|
+
'hsla(0, 0%, 0%, 0.80) 22.5%,' +
|
|
3285
|
+
'hsla(0, 0%, 0%, 0.78) 29%,' +
|
|
3286
|
+
'hsla(0, 0%, 0%, 0.73) 35.3%,' +
|
|
3287
|
+
'hsla(0, 0%, 0%, 0.67) 41.2%,' +
|
|
3288
|
+
'hsla(0, 0%, 0%, 0.60) 47.1%,' +
|
|
3289
|
+
'hsla(0, 0%, 0%, 0.52) 52.9%,' +
|
|
3290
|
+
'hsla(0, 0%, 0%, 0.44) 58.8%,' +
|
|
3291
|
+
'hsla(0, 0%, 0%, 0.33) 64.7%,' +
|
|
3292
|
+
'hsla(0, 0%, 0%, 0.22) 71%,' +
|
|
3293
|
+
'hsla(0, 0%, 0%, 0.12) 77.5%,' +
|
|
3294
|
+
'hsla(0, 0%, 0%, 0.05) 84.5%,' +
|
|
3295
|
+
'hsla(0, 0%, 0%, 0.011) 91.9%,' +
|
|
3296
|
+
'hsla(0, 0%, 0%, 0)';
|
|
3295
3297
|
|
|
3296
3298
|
const gradientToBottomStyle = {
|
|
3297
3299
|
background: `linear-gradient(to bottom, ${_gradient} 100%);`,
|
|
@@ -9025,7 +9027,7 @@ const getGradient = (theme, gradientColorTheme) => {
|
|
|
9025
9027
|
`rgba(${gradientColor},0)`);
|
|
9026
9028
|
};
|
|
9027
9029
|
const prevNextWrapperWidth = `calc(${fontLineHeight} + 24px)`;
|
|
9028
|
-
const getComponentCss$w = (gradientColor, isNextHidden, isPrevHidden,
|
|
9030
|
+
const getComponentCss$w = (gradientColor, isNextHidden, isPrevHidden, alignScrollIndicator, hasScrollbar, theme) => {
|
|
9029
9031
|
const actionPrevNextStyles = {
|
|
9030
9032
|
position: 'absolute',
|
|
9031
9033
|
top: 0,
|
|
@@ -9034,7 +9036,7 @@ const getComponentCss$w = (gradientColor, isNextHidden, isPrevHidden, scrollIndi
|
|
|
9034
9036
|
width: prevNextWrapperWidth,
|
|
9035
9037
|
padding: '4px 0',
|
|
9036
9038
|
display: 'flex',
|
|
9037
|
-
alignItems:
|
|
9039
|
+
alignItems: alignScrollIndicator === 'center' ? 'center' : 'flex-start',
|
|
9038
9040
|
};
|
|
9039
9041
|
return getCss({
|
|
9040
9042
|
'@global': {
|
|
@@ -10192,6 +10194,7 @@ const getComponentCss$f = () => {
|
|
|
10192
10194
|
fontSize: fontSizeTextXSmall,
|
|
10193
10195
|
lineHeight: fontLineHeight,
|
|
10194
10196
|
fontWeight: fontWeightSemiBold,
|
|
10197
|
+
borderBottom: `1px solid var(${cssVariableTableBorderColor})`,
|
|
10195
10198
|
...hostHiddenStyles,
|
|
10196
10199
|
}),
|
|
10197
10200
|
},
|
|
@@ -10209,7 +10212,6 @@ const getComponentCss$e = () => {
|
|
|
10209
10212
|
':host': {
|
|
10210
10213
|
display: 'table-row',
|
|
10211
10214
|
...addImportantToEachRule({
|
|
10212
|
-
borderTop: `var(${cssVariableTableBorderWidth},1px) solid var(${cssVariableTableBorderColor})`,
|
|
10213
10215
|
borderBottom: `var(${cssVariableTableBorderWidth},1px) solid var(${cssVariableTableBorderColor})`,
|
|
10214
10216
|
transition: getTransition('background'),
|
|
10215
10217
|
...hostHiddenStyles,
|
|
@@ -3276,20 +3276,22 @@ const frostedGlassStyle = {
|
|
|
3276
3276
|
backdropFilter,
|
|
3277
3277
|
};
|
|
3278
3278
|
|
|
3279
|
-
const _gradient = '
|
|
3280
|
-
'
|
|
3281
|
-
'
|
|
3282
|
-
'
|
|
3283
|
-
'
|
|
3284
|
-
'
|
|
3285
|
-
'
|
|
3286
|
-
'
|
|
3287
|
-
'
|
|
3288
|
-
'
|
|
3289
|
-
'
|
|
3290
|
-
'
|
|
3291
|
-
'
|
|
3292
|
-
'
|
|
3279
|
+
const _gradient = 'hsla(0, 0%, 0%, 0.80) 0%,' +
|
|
3280
|
+
'hsla(0, 0%, 0%, 0.80) 8.1%,' +
|
|
3281
|
+
'hsla(0, 0%, 0%, 0.80) 15.5%,' +
|
|
3282
|
+
'hsla(0, 0%, 0%, 0.80) 22.5%,' +
|
|
3283
|
+
'hsla(0, 0%, 0%, 0.78) 29%,' +
|
|
3284
|
+
'hsla(0, 0%, 0%, 0.73) 35.3%,' +
|
|
3285
|
+
'hsla(0, 0%, 0%, 0.67) 41.2%,' +
|
|
3286
|
+
'hsla(0, 0%, 0%, 0.60) 47.1%,' +
|
|
3287
|
+
'hsla(0, 0%, 0%, 0.52) 52.9%,' +
|
|
3288
|
+
'hsla(0, 0%, 0%, 0.44) 58.8%,' +
|
|
3289
|
+
'hsla(0, 0%, 0%, 0.33) 64.7%,' +
|
|
3290
|
+
'hsla(0, 0%, 0%, 0.22) 71%,' +
|
|
3291
|
+
'hsla(0, 0%, 0%, 0.12) 77.5%,' +
|
|
3292
|
+
'hsla(0, 0%, 0%, 0.05) 84.5%,' +
|
|
3293
|
+
'hsla(0, 0%, 0%, 0.011) 91.9%,' +
|
|
3294
|
+
'hsla(0, 0%, 0%, 0)';
|
|
3293
3295
|
|
|
3294
3296
|
const gradientToBottomStyle = {
|
|
3295
3297
|
background: `linear-gradient(to bottom, ${_gradient} 100%);`,
|
|
@@ -9023,7 +9025,7 @@ const getGradient = (theme, gradientColorTheme) => {
|
|
|
9023
9025
|
`rgba(${gradientColor},0)`);
|
|
9024
9026
|
};
|
|
9025
9027
|
const prevNextWrapperWidth = `calc(${fontLineHeight} + 24px)`;
|
|
9026
|
-
const getComponentCss$w = (gradientColor, isNextHidden, isPrevHidden,
|
|
9028
|
+
const getComponentCss$w = (gradientColor, isNextHidden, isPrevHidden, alignScrollIndicator, hasScrollbar, theme) => {
|
|
9027
9029
|
const actionPrevNextStyles = {
|
|
9028
9030
|
position: 'absolute',
|
|
9029
9031
|
top: 0,
|
|
@@ -9032,7 +9034,7 @@ const getComponentCss$w = (gradientColor, isNextHidden, isPrevHidden, scrollIndi
|
|
|
9032
9034
|
width: prevNextWrapperWidth,
|
|
9033
9035
|
padding: '4px 0',
|
|
9034
9036
|
display: 'flex',
|
|
9035
|
-
alignItems:
|
|
9037
|
+
alignItems: alignScrollIndicator === 'center' ? 'center' : 'flex-start',
|
|
9036
9038
|
};
|
|
9037
9039
|
return getCss({
|
|
9038
9040
|
'@global': {
|
|
@@ -10190,6 +10192,7 @@ const getComponentCss$f = () => {
|
|
|
10190
10192
|
fontSize: fontSizeTextXSmall,
|
|
10191
10193
|
lineHeight: fontLineHeight,
|
|
10192
10194
|
fontWeight: fontWeightSemiBold,
|
|
10195
|
+
borderBottom: `1px solid var(${cssVariableTableBorderColor})`,
|
|
10193
10196
|
...hostHiddenStyles,
|
|
10194
10197
|
}),
|
|
10195
10198
|
},
|
|
@@ -10207,7 +10210,6 @@ const getComponentCss$e = () => {
|
|
|
10207
10210
|
':host': {
|
|
10208
10211
|
display: 'table-row',
|
|
10209
10212
|
...addImportantToEachRule({
|
|
10210
|
-
borderTop: `var(${cssVariableTableBorderWidth},1px) solid var(${cssVariableTableBorderColor})`,
|
|
10211
10213
|
borderBottom: `var(${cssVariableTableBorderWidth},1px) solid var(${cssVariableTableBorderColor})`,
|
|
10212
10214
|
transition: getTransition('background'),
|
|
10213
10215
|
...hostHiddenStyles,
|