@porsche-design-system/components-react 3.27.1 → 3.27.2

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,20 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0),
14
14
 
15
15
  ### [Unreleased]
16
16
 
17
+ ### [v3.27.2] - 2025-03-20
18
+
19
+ ### [3.27.2-rc.0] - 2025-03-18
20
+
21
+ #### Changed
22
+
23
+ - `Table`: add border-bottom styles to `Table Head` to support both, empty and missing `Table Body`
24
+ ([#3788](https://github.com/porsche-design-system/porsche-design-system/pull/3788))
25
+
26
+ #### Fixed
27
+
28
+ - `Styles`: change `Gradient` color values from `rgba` to `hsla` to fix Chrome rendering bug
29
+ ([#3793](https://github.com/porsche-design-system/porsche-design-system/pull/3793))
30
+
17
31
  ### [3.27.1] - 2025-03-05
18
32
 
19
33
  ### [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.1",
3
+ "version": "v3.27.2",
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.1"
20
+ "@porsche-design-system/components-js": "v3.27.2"
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 = 'rgba(31,31,31,0.9) 0%,' +
3282
- 'rgba(31,31,31,0.9) 20%,' +
3283
- 'rgba(31,31,31,0.852589) 26.67%,' +
3284
- 'rgba(32,32,32,0.768225) 33.33%,' +
3285
- 'rgba(33,33,33,0.668116) 40%,' +
3286
- 'rgba(34,34,34,0.557309) 46.67%,' +
3287
- 'rgba(35,35,35,0.442691) 53.33%,' +
3288
- 'rgba(36,36,36,0.331884) 60%,' +
3289
- 'rgba(37,37,37,0.231775) 66.67%,' +
3290
- 'rgba(38,38,38,0.147411) 73.33%,' +
3291
- 'rgba(39,39,39,0.0816599) 80%,' +
3292
- 'rgba(39,39,39,0.03551) 86.67%,' +
3293
- 'rgba(39,39,39,0.0086472) 93.33%,' +
3294
- 'rgba(39,39,39,0)';
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, scrollIndicatorPosition, hasScrollbar, theme) => {
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: scrollIndicatorPosition === 'center' ? 'center' : 'flex-start',
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 = 'rgba(31,31,31,0.9) 0%,' +
3280
- 'rgba(31,31,31,0.9) 20%,' +
3281
- 'rgba(31,31,31,0.852589) 26.67%,' +
3282
- 'rgba(32,32,32,0.768225) 33.33%,' +
3283
- 'rgba(33,33,33,0.668116) 40%,' +
3284
- 'rgba(34,34,34,0.557309) 46.67%,' +
3285
- 'rgba(35,35,35,0.442691) 53.33%,' +
3286
- 'rgba(36,36,36,0.331884) 60%,' +
3287
- 'rgba(37,37,37,0.231775) 66.67%,' +
3288
- 'rgba(38,38,38,0.147411) 73.33%,' +
3289
- 'rgba(39,39,39,0.0816599) 80%,' +
3290
- 'rgba(39,39,39,0.03551) 86.67%,' +
3291
- 'rgba(39,39,39,0.0086472) 93.33%,' +
3292
- 'rgba(39,39,39,0)';
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, scrollIndicatorPosition, hasScrollbar, theme) => {
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: scrollIndicatorPosition === 'center' ? 'center' : 'flex-start',
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,