Skip to content

Commit

Permalink
fix: clean up build
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolethoen committed Jul 9, 2024
1 parent f5cc039 commit eb249f5
Show file tree
Hide file tree
Showing 7 changed files with 1,280 additions and 14,828 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ When adding/making changes to a component, always make sure your code is tested:
### Styling:
- for styling always use JSS
- new classNames should be named in camelCase starting with the name of a given component and following with more details clarifying its purpose/component's subsection to which the class is applied (`actionMenu`, `actionMenuDropdown`, `actionMenuDropdownToggle`, etc.)
- do not use `pf-v5-u-XXX` classes, use CSS variables in a custom class instead (styles for the utility classes are not bundled with the standard patternfly.css - it would require the consumer to import also addons.css)
- do not use `pf-v6-u-XXX` classes, use CSS variables in a custom class instead (styles for the utility classes are not bundled with the standard patternfly.css - it would require the consumer to import also addons.css)

---

Expand Down
6 changes: 3 additions & 3 deletions cypress/component/ConversationAlert.cy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ describe('ConversationAlert', () => {
it('renders assistant conversation alert', () => {
cy.mount(<ConversationAlert title='You can start a new conversation at any time by typing below.'/>);

cy.get('.pf-v5-c-alert__title').first().should('contain', 'You can start a new conversation at any time by typing below.');
cy.get('.pf-v5-c-alert__icon').first().should('exist');
cy.get('.pf-v6-c-alert__title').first().should('contain', 'You can start a new conversation at any time by typing below.');
cy.get('.pf-v6-c-alert__icon').first().should('exist');
})
})
})
4 changes: 2 additions & 2 deletions cypress/component/VirtualAssistantAction.cy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ describe('VirtualAssistantAction', () => {
</VirtualAssistantAction>);
cy.get('[aria-label="Minimize virtual assistant"]').click();
cy.get('@action').should('have.been.called');
cy.get('.pf-v5-svg').should('exist');
cy.get('.pf-v6-svg').should('exist');
})
})
})
2,598 changes: 1,268 additions & 1,330 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@octokit/rest": "^18.0.0",
"@patternfly/react-icons": "6.0.0-alpha.29",
"@patternfly/patternfly": "6.0.0-alpha.181",
"@patternfly/documentation-framework": "6.0.0-alpha.54",
"@testing-library/dom": "^9.3.4",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
Expand Down
6 changes: 3 additions & 3 deletions packages/module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"tag": "alpha"
},
"dependencies": {
"@patternfly/react-core": "6.0.0-alpha.79",
"@patternfly/react-core": "6.0.0-alpha.78",
"@patternfly/react-icons": "6.0.0-alpha.29",
"react-jss": "^10.10.0",
"react-markdown": "^9.0.1",
Expand All @@ -44,8 +44,8 @@
"devDependencies": {
"@patternfly/patternfly-a11y": "^4.3.1",
"@patternfly/documentation-framework": "6.0.0-alpha.54",
"@patternfly/react-table": "6.0.0-alpha.80",
"@patternfly/react-code-editor": "6.0.0-alpha.79",
"@patternfly/react-table": "6.0.0-alpha.79",
"@patternfly/react-code-editor": "6.0.0-alpha.78",
"@patternfly/patternfly": "6.0.0-alpha.181",
"@types/react": "^18.2.61",
"@types/react-dom": "^18.2.19",
Expand Down
13,489 changes: 0 additions & 13,489 deletions yarn.lock

This file was deleted.

0 comments on commit eb249f5

Please sign in to comment.