@porsche-design-system/components-react 2.19.1-rc.1 → 2.20.0-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
@@ -9,6 +9,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
9
9
 
10
10
  ### [Unreleased]
11
11
 
12
+ ### [2.20.0-rc.0] - 2023-01-30
13
+
14
+ #### Added
15
+
16
+ - `applyNormalizeStyles` option for `getInitialStyles()` partial which includes basic css styles for Light DOM
17
+
12
18
  ### [2.19.1-rc.1] - 2023-01-18
13
19
 
14
20
  #### Added
@@ -434,7 +440,7 @@ information can be found here:
434
440
 
435
441
  #### Added
436
442
 
437
- - React: `getByRoleShadowed`, `getByLabelTextShadowed` and `getByTextShadowed` utilities which use
443
+ - React: `getByRoleShadowed`, `getByLabelTextShadowed` and `getByTextShadowed` utilities which uses
438
444
  `@testing-library/dom` queries internally to support Shadow DOM
439
445
 
440
446
  #### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@porsche-design-system/components-react",
3
- "version": "2.19.1-rc.1",
3
+ "version": "2.20.0-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": "2.19.1-rc.1"
20
+ "@porsche-design-system/components-js": "2.20.0-rc.0"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "react": ">=17.0.0 <19.0.0",
@@ -6802,7 +6802,7 @@ const getCloseIconJssStyle = () => ({
6802
6802
  const getComponentCss$A = (icon, active, stretch, size, weight, hideLabel, alignLabel, hasSubline, hasSlottedAnchor, theme) => {
6803
6803
  return getCss(mergeDeep(getLinkButtonPureStyles(icon, active, false, stretch, size, weight, hideLabel, alignLabel, hasSubline, hasSlottedAnchor, theme), {
6804
6804
  '@global': {
6805
- '::slotted': {
6805
+ '::slotted': addImportantToEachRule({
6806
6806
  '&(a)': {
6807
6807
  display: 'block',
6808
6808
  position: 'static',
@@ -6824,7 +6824,7 @@ const getComponentCss$A = (icon, active, stretch, size, weight, hideLabel, align
6824
6824
  '&(a:focus:not(:focus-visible))::before': {
6825
6825
  outlineColor: 'transparent',
6826
6826
  },
6827
- },
6827
+ }),
6828
6828
  'slot[name=subline]::slotted(*)': {
6829
6829
  margin: 0,
6830
6830
  },
@@ -6800,7 +6800,7 @@ const getCloseIconJssStyle = () => ({
6800
6800
  const getComponentCss$A = (icon, active, stretch, size, weight, hideLabel, alignLabel, hasSubline, hasSlottedAnchor, theme) => {
6801
6801
  return getCss(mergeDeep(getLinkButtonPureStyles(icon, active, false, stretch, size, weight, hideLabel, alignLabel, hasSubline, hasSlottedAnchor, theme), {
6802
6802
  '@global': {
6803
- '::slotted': {
6803
+ '::slotted': addImportantToEachRule({
6804
6804
  '&(a)': {
6805
6805
  display: 'block',
6806
6806
  position: 'static',
@@ -6822,7 +6822,7 @@ const getComponentCss$A = (icon, active, stretch, size, weight, hideLabel, align
6822
6822
  '&(a:focus:not(:focus-visible))::before': {
6823
6823
  outlineColor: 'transparent',
6824
6824
  },
6825
- },
6825
+ }),
6826
6826
  'slot[name=subline]::slotted(*)': {
6827
6827
  margin: 0,
6828
6828
  },