-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): Update @patternfly/* dependencies #791
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,11 +65,7 @@ Cypress.Commands.add('selectPrependNode', (nodeName: string, nodeIndex?: number) | |
|
||
Cypress.Commands.add('performNodeAction', (nodeName: string, action: ActionType, nodeIndex?: number) => { | ||
nodeIndex = nodeIndex ?? 0; | ||
cy.get(`[data-nodelabel="${nodeName}"]`) | ||
.parent() | ||
.eq(nodeIndex) | ||
.find('g.pf-topology__node__action-icon > rect') | ||
.click({ force: true }); | ||
cy.get(`[data-nodelabel="${nodeName}"]`).parent().eq(nodeIndex).rightclick({ force: true }); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @tplevko, I need to change this functionality from |
||
cy.get(`[data-testid="context-menu-item-${action}"]`).click(); | ||
}); | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,8 +30,8 @@ | |
"start": "vite", | ||
"build": "tsc && vite build --config vite.config.js", | ||
"build:lib": "yarn rimraf ./lib && yarn copy-catalog && yarn build:esm && yarn build:cjs", | ||
"build:esm": "tsc --project tsconfig.esm.json && copyfiles -u 1 ./src/**/*.scss ./src/assets/** ./lib/esm", | ||
"build:cjs": "tsc --project tsconfig.cjs.json && copyfiles -u 1 ./src/**/*.scss ./src/assets/** ./lib/cjs", | ||
"build:esm": "tsc --project tsconfig.esm.json && copyfiles -u 1 './src/**/*.scss' './src/assets/**' ./lib/esm", | ||
"build:cjs": "tsc --project tsconfig.cjs.json && copyfiles -u 1 './src/**/*.scss' './src/assets/**' ./lib/cjs", | ||
Comment on lines
+33
to
+34
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is needed for executing commands in PowerShell, without the quotes, the |
||
"copy-catalog": "node ./scripts/copy-camel-catalog-files.js ./lib/camel-catalog", | ||
"preview": "vite preview", | ||
"test": "jest", | ||
|
@@ -45,24 +45,24 @@ | |
"@kaoto-next/uniforms-patternfly": "^0.6.3", | ||
"@kie-tools-core/editor": "0.32.0", | ||
"@kie-tools-core/notifications": "0.32.0", | ||
"@patternfly/patternfly": "^5.0.0", | ||
"@patternfly/react-code-editor": "^5.0.0", | ||
"@patternfly/react-core": "^5.0.0", | ||
"@patternfly/react-icons": "^5.0.0", | ||
"@patternfly/react-table": "^5.0.0", | ||
"@patternfly/react-topology": "^5.0.0", | ||
"@patternfly/patternfly": "5.2.0", | ||
"@patternfly/react-code-editor": "5.1.0", | ||
"@patternfly/react-core": "5.2.0", | ||
"@patternfly/react-icons": "5.2.0", | ||
"@patternfly/react-table": "5.2.0", | ||
"@patternfly/react-topology": "5.2.0", | ||
"@types/uuid": "^9.0.2", | ||
"ajv": "^8.12.0", | ||
"ajv-formats": "^2.1.1", | ||
"clsx": "^2.1.0", | ||
"html-to-image": "^1.11.11", | ||
"lodash.get": "^4.4.2", | ||
"lodash.set": "^4.3.2", | ||
"monaco-editor": "^0.34.1", | ||
"monaco-yaml": "^4.0.0", | ||
"monaco-editor": "^0.45.0", | ||
"monaco-yaml": "^5.1.1", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"react-monaco-editor": "^0.51.0", | ||
"react-monaco-editor": "^0.55.0", | ||
"react-router-dom": "^6.14.1", | ||
"simple-zustand-devtools": "^1.1.0", | ||
"uniforms": "4.0.0-alpha.5", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,8 @@ export const ExpandableDetails: FunctionComponent<PropsWithChildren<ExpandableDe | |
|
||
<ExpandableSection | ||
toggleText={isExpanded ? 'Hide properties' : 'Show properties'} | ||
toggleId="expandable-section-toggle" | ||
contentId="expandable-section-content" | ||
Comment on lines
+21
to
+22
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is necessary because without both properties set, the id gets generated by a timestamp, breaking the snapshot tests on every run. |
||
onToggle={onToggle} | ||
isExpanded={isExpanded} | ||
> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At the moment we can't upgrade
@patternfly/react-code-editor
due to an issue affecting how we load schemas.