Skip to content

Commit

Permalink
chore(deps): update v6 core deps (#9836)
Browse files Browse the repository at this point in the history
* chore(deps): update v6 core deps

* update to ver 28

* updatd snapshots

* disble detached test
  • Loading branch information
tlabaj authored Dec 4, 2023
1 parent 8bc9f34 commit c6f3af5
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 16 deletions.
2 changes: 1 addition & 1 deletion packages/react-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"tslib": "^2.5.0"
},
"devDependencies": {
"@patternfly/patternfly": "6.0.0-alpha.12",
"@patternfly/patternfly": "6.0.0-alpha.28",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@rollup/plugin-replace": "^5.0.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ class ExpandableSection extends React.Component<ExpandableSectionProps, Expandab
<AngleRightIcon aria-hidden />
</span>
)}
<span className={css(styles.expandableSectionToggleText)}>{toggleContent || computedToggleText}</span>
<span className={css(`${styles.expandableSection}__toggle-text`)}>{toggleContent || computedToggleText}</span>
</button>
);

Expand All @@ -254,7 +254,6 @@ class ExpandableSection extends React.Component<ExpandableSectionProps, Expandab
styles.expandableSection,
propOrStateIsExpanded && styles.modifiers.expanded,
isActive && styles.modifiers.active,
isDetached && styles.modifiers.detached,
displaySize === 'lg' && styles.modifiers.displayLg,
isWidthLimited && styles.modifiers.limitWidth,
isIndented && styles.modifiers.indented,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ export const ExpandableSectionToggle: React.FunctionComponent<ExpandableSectionT
className={css(
styles.expandableSection,
isExpanded && styles.modifiers.expanded,
styles.modifiers.detached,
hasTruncatedContent && styles.modifiers.truncate,
className
)}
Expand All @@ -69,7 +68,7 @@ export const ExpandableSectionToggle: React.FunctionComponent<ExpandableSectionT
<AngleRightIcon aria-hidden />
</span>
)}
<span className={css(styles.expandableSectionToggleText)}>{children}</span>
<span className={css(`${styles.expandableSection}__toggle-text`)}>{children}</span>
</button>
</div>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`Detached ExpandableSection renders successfully 1`] = `
<DocumentFragment>
<div
class="pf-v5-c-expandable-section pf-m-expanded pf-m-detached"
class="pf-v5-c-expandable-section pf-m-expanded"
>
<div
aria-labelledby="toggle-id"
Expand All @@ -15,7 +15,7 @@ exports[`Detached ExpandableSection renders successfully 1`] = `
</div>
</div>
<div
class="pf-v5-c-expandable-section pf-m-expanded pf-m-detached"
class="pf-v5-c-expandable-section pf-m-expanded"
>
<button
aria-controls="content-id"
Expand Down
2 changes: 1 addition & 1 deletion packages/react-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"test:a11y": "patternfly-a11y --config patternfly-a11y.config"
},
"dependencies": {
"@patternfly/patternfly": "6.0.0-alpha.12",
"@patternfly/patternfly": "6.0.0-alpha.28",
"@patternfly/react-charts": "^8.0.0-alpha.2",
"@patternfly/react-code-editor": "^6.0.0-alpha.2",
"@patternfly/react-core": "^6.0.0-alpha.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@fortawesome/free-brands-svg-icons": "^5.14.0",
"@fortawesome/free-regular-svg-icons": "^5.14.0",
"@fortawesome/free-solid-svg-icons": "^5.14.0",
"@patternfly/patternfly": "6.0.0-alpha.12",
"@patternfly/patternfly": "6.0.0-alpha.28",
"fs-extra": "^11.1.1",
"glob": "^7.1.2",
"rimraf": "^2.6.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ describe('Expandable Demo Test', () => {
cy.get('.pf-v5-c-expandable-section__toggle').find('span').should('contain', 'Show Less');
});

it('Verify detached expandable', () => {
// disabled this test because pf-m-detached was removed from core.
xit('Verify detached expandable', () => {
cy.get('#detached').should('have.class', 'pf-m-detached');
cy.get('#detached-section').should('have.class', 'pf-m-detached');
cy.get('#detached button').click();
Expand Down
2 changes: 1 addition & 1 deletion packages/react-styles/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"clean": "rimraf dist css"
},
"devDependencies": {
"@patternfly/patternfly": "6.0.0-alpha.12",
"@patternfly/patternfly": "6.0.0-alpha.28",
"camel-case": "^3.0.0",
"css": "^2.2.3",
"fs-extra": "^11.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-tokens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"clean": "rimraf dist"
},
"devDependencies": {
"@patternfly/patternfly": "6.0.0-alpha.12",
"@patternfly/patternfly": "6.0.0-alpha.28",
"css": "^2.2.3",
"fs-extra": "^11.1.1",
"glob": "^7.1.2",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3925,10 +3925,10 @@
puppeteer-cluster "^0.23.0"
xmldoc "^1.1.2"

"@patternfly/[email protected].12":
version "6.0.0-alpha.12"
resolved "https://registry.yarnpkg.com/@patternfly/patternfly/-/patternfly-6.0.0-alpha.12.tgz#99ac69ae0a41b43cf1a78a109facae935001f2d1"
integrity sha512-8oUTBLXmdzVidxWvkXS2fCUYi4vmbgDBCdFmur8i4T4ssa+qH+0NZLN4kCPfVkgNY7RVcL6ISs1GIP6du6UacQ==
"@patternfly/[email protected].28":
version "6.0.0-alpha.28"
resolved "https://registry.yarnpkg.com/@patternfly/patternfly/-/patternfly-6.0.0-alpha.28.tgz#5c3d0b0b1c712d8f2b9bcc05d3b6545f8f46a9ce"
integrity sha512-10vNDFHjtSRIfTbAnZqed2jbhXA6K4o9ijT8lGrxiSTq4qxRHNcTnNoV9oX328wvvdao052xv6HDYwvgwlvBiA==

"@pkgjs/parseargs@^0.11.0":
version "0.11.0"
Expand Down

0 comments on commit c6f3af5

Please sign in to comment.