Update to Patternfly 4.115.2 (latest release) (#737)
* update to latest PF * fix tests
This commit is contained in:
parent
d327d64b7f
commit
5c3c1bbb46
6 changed files with 371 additions and 272 deletions
|
@ -27,9 +27,9 @@
|
||||||
"start:cypress-tests": "cypress run"
|
"start:cypress-tests": "cypress run"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@patternfly/patternfly": "^4.108.2",
|
"@patternfly/patternfly": "^4.115.2",
|
||||||
"@patternfly/react-core": "4.128.2",
|
"@patternfly/react-core": "4.135.0",
|
||||||
"@patternfly/react-icons": "4.10.11",
|
"@patternfly/react-icons": "4.11.0",
|
||||||
"@patternfly/react-table": "4.29.0",
|
"@patternfly/react-table": "4.29.0",
|
||||||
"file-saver": "^2.0.5",
|
"file-saver": "^2.0.5",
|
||||||
"i18next": "^20.3.1",
|
"i18next": "^20.3.1",
|
||||||
|
|
|
@ -114,6 +114,9 @@ exports[`<MapperDialog/> should have disabled add button when nothing is selecte
|
||||||
>
|
>
|
||||||
<p
|
<p
|
||||||
class=""
|
class=""
|
||||||
|
data-ouia-component-id="OUIA-Generated-Text-1"
|
||||||
|
data-ouia-component-type="PF4/Text"
|
||||||
|
data-ouia-safe="true"
|
||||||
data-pf-content="true"
|
data-pf-content="true"
|
||||||
>
|
>
|
||||||
predefinedMappingDescription
|
predefinedMappingDescription
|
||||||
|
@ -1157,43 +1160,51 @@ exports[`<MapperDialog/> should have disabled add button when nothing is selecte
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
variant="plain"
|
variant="plain"
|
||||||
>
|
>
|
||||||
<button
|
<ButtonBase
|
||||||
aria-disabled={false}
|
|
||||||
aria-label="Close"
|
aria-label="Close"
|
||||||
className="pf-c-button pf-m-plain"
|
className=""
|
||||||
data-ouia-component-id="OUIA-Generated-Button-plain-1"
|
innerRef={null}
|
||||||
data-ouia-component-type="PF4/Button"
|
|
||||||
data-ouia-safe={true}
|
|
||||||
disabled={false}
|
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
role={null}
|
variant="plain"
|
||||||
type="button"
|
|
||||||
>
|
>
|
||||||
<TimesIcon
|
<button
|
||||||
color="currentColor"
|
aria-disabled={false}
|
||||||
noVerticalAlign={false}
|
aria-label="Close"
|
||||||
size="sm"
|
className="pf-c-button pf-m-plain"
|
||||||
|
data-ouia-component-id="OUIA-Generated-Button-plain-1"
|
||||||
|
data-ouia-component-type="PF4/Button"
|
||||||
|
data-ouia-safe={true}
|
||||||
|
disabled={false}
|
||||||
|
onClick={[Function]}
|
||||||
|
role={null}
|
||||||
|
type="button"
|
||||||
>
|
>
|
||||||
<svg
|
<TimesIcon
|
||||||
aria-hidden={true}
|
color="currentColor"
|
||||||
aria-labelledby={null}
|
noVerticalAlign={false}
|
||||||
fill="currentColor"
|
size="sm"
|
||||||
height="1em"
|
|
||||||
role="img"
|
|
||||||
style={
|
|
||||||
Object {
|
|
||||||
"verticalAlign": "-0.125em",
|
|
||||||
}
|
|
||||||
}
|
|
||||||
viewBox="0 0 352 512"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
<svg
|
||||||
d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
|
aria-hidden={true}
|
||||||
/>
|
aria-labelledby={null}
|
||||||
</svg>
|
fill="currentColor"
|
||||||
</TimesIcon>
|
height="1em"
|
||||||
</button>
|
role="img"
|
||||||
|
style={
|
||||||
|
Object {
|
||||||
|
"verticalAlign": "-0.125em",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
viewBox="0 0 352 512"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</TimesIcon>
|
||||||
|
</button>
|
||||||
|
</ButtonBase>
|
||||||
</Button>
|
</Button>
|
||||||
</ModalBoxCloseButton>
|
</ModalBoxCloseButton>
|
||||||
<ModalBoxHeader
|
<ModalBoxHeader
|
||||||
|
@ -1235,6 +1246,9 @@ exports[`<MapperDialog/> should have disabled add button when nothing is selecte
|
||||||
<Text>
|
<Text>
|
||||||
<p
|
<p
|
||||||
className=""
|
className=""
|
||||||
|
data-ouia-component-id="OUIA-Generated-Text-1"
|
||||||
|
data-ouia-component-type="PF4/Text"
|
||||||
|
data-ouia-safe={true}
|
||||||
data-pf-content={true}
|
data-pf-content={true}
|
||||||
>
|
>
|
||||||
predefinedMappingDescription
|
predefinedMappingDescription
|
||||||
|
@ -20381,22 +20395,29 @@ exports[`<MapperDialog/> should have disabled add button when nothing is selecte
|
||||||
key="confirm"
|
key="confirm"
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
>
|
>
|
||||||
<button
|
<ButtonBase
|
||||||
aria-disabled={true}
|
|
||||||
aria-label={null}
|
|
||||||
className="pf-c-button pf-m-primary pf-m-disabled"
|
|
||||||
data-ouia-component-id="OUIA-Generated-Button-primary-2"
|
|
||||||
data-ouia-component-type="PF4/Button"
|
|
||||||
data-ouia-safe={true}
|
|
||||||
disabled={true}
|
|
||||||
id="modal-confirm"
|
id="modal-confirm"
|
||||||
|
innerRef={null}
|
||||||
|
isDisabled={true}
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
role={null}
|
|
||||||
tabIndex={null}
|
|
||||||
type="button"
|
|
||||||
>
|
>
|
||||||
add
|
<button
|
||||||
</button>
|
aria-disabled={true}
|
||||||
|
aria-label={null}
|
||||||
|
className="pf-c-button pf-m-primary pf-m-disabled"
|
||||||
|
data-ouia-component-id="OUIA-Generated-Button-primary-2"
|
||||||
|
data-ouia-component-type="PF4/Button"
|
||||||
|
data-ouia-safe={true}
|
||||||
|
disabled={true}
|
||||||
|
id="modal-confirm"
|
||||||
|
onClick={[Function]}
|
||||||
|
role={null}
|
||||||
|
tabIndex={null}
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
add
|
||||||
|
</button>
|
||||||
|
</ButtonBase>
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
id="modal-cancel"
|
id="modal-cancel"
|
||||||
|
@ -20404,21 +20425,28 @@ exports[`<MapperDialog/> should have disabled add button when nothing is selecte
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
variant="link"
|
variant="link"
|
||||||
>
|
>
|
||||||
<button
|
<ButtonBase
|
||||||
aria-disabled={false}
|
|
||||||
aria-label={null}
|
|
||||||
className="pf-c-button pf-m-link"
|
|
||||||
data-ouia-component-id="OUIA-Generated-Button-link-1"
|
|
||||||
data-ouia-component-type="PF4/Button"
|
|
||||||
data-ouia-safe={true}
|
|
||||||
disabled={false}
|
|
||||||
id="modal-cancel"
|
id="modal-cancel"
|
||||||
|
innerRef={null}
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
role={null}
|
variant="link"
|
||||||
type="button"
|
|
||||||
>
|
>
|
||||||
cancel
|
<button
|
||||||
</button>
|
aria-disabled={false}
|
||||||
|
aria-label={null}
|
||||||
|
className="pf-c-button pf-m-link"
|
||||||
|
data-ouia-component-id="OUIA-Generated-Button-link-1"
|
||||||
|
data-ouia-component-type="PF4/Button"
|
||||||
|
data-ouia-safe={true}
|
||||||
|
disabled={false}
|
||||||
|
id="modal-cancel"
|
||||||
|
onClick={[Function]}
|
||||||
|
role={null}
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
cancel
|
||||||
|
</button>
|
||||||
|
</ButtonBase>
|
||||||
</Button>
|
</Button>
|
||||||
</footer>
|
</footer>
|
||||||
</ModalBoxFooter>
|
</ModalBoxFooter>
|
||||||
|
@ -20436,21 +20464,27 @@ exports[`<MapperDialog/> should have disabled add button when nothing is selecte
|
||||||
id="open"
|
id="open"
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
>
|
>
|
||||||
<button
|
<ButtonBase
|
||||||
aria-disabled={false}
|
|
||||||
aria-label={null}
|
|
||||||
className="pf-c-button pf-m-primary"
|
|
||||||
data-ouia-component-id="OUIA-Generated-Button-primary-1"
|
|
||||||
data-ouia-component-type="PF4/Button"
|
|
||||||
data-ouia-safe={true}
|
|
||||||
disabled={false}
|
|
||||||
id="open"
|
id="open"
|
||||||
|
innerRef={null}
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
role={null}
|
|
||||||
type="button"
|
|
||||||
>
|
>
|
||||||
Hide
|
<button
|
||||||
</button>
|
aria-disabled={false}
|
||||||
|
aria-label={null}
|
||||||
|
className="pf-c-button pf-m-primary"
|
||||||
|
data-ouia-component-id="OUIA-Generated-Button-primary-1"
|
||||||
|
data-ouia-component-type="PF4/Button"
|
||||||
|
data-ouia-safe={true}
|
||||||
|
disabled={false}
|
||||||
|
id="open"
|
||||||
|
onClick={[Function]}
|
||||||
|
role={null}
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
Hide
|
||||||
|
</button>
|
||||||
|
</ButtonBase>
|
||||||
</Button>
|
</Button>
|
||||||
</Test>
|
</Test>
|
||||||
`;
|
`;
|
||||||
|
@ -20550,6 +20584,9 @@ exports[`<MapperDialog/> should return selected protocol mapping type on click 1
|
||||||
>
|
>
|
||||||
<p
|
<p
|
||||||
class=""
|
class=""
|
||||||
|
data-ouia-component-id="OUIA-Generated-Text-3"
|
||||||
|
data-ouia-component-type="PF4/Text"
|
||||||
|
data-ouia-safe="true"
|
||||||
data-pf-content="true"
|
data-pf-content="true"
|
||||||
>
|
>
|
||||||
predefinedMappingDescription
|
predefinedMappingDescription
|
||||||
|
@ -21015,43 +21052,51 @@ exports[`<MapperDialog/> should return selected protocol mapping type on click 1
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
variant="plain"
|
variant="plain"
|
||||||
>
|
>
|
||||||
<button
|
<ButtonBase
|
||||||
aria-disabled={false}
|
|
||||||
aria-label="Close"
|
aria-label="Close"
|
||||||
className="pf-c-button pf-m-plain"
|
className=""
|
||||||
data-ouia-component-id="OUIA-Generated-Button-plain-3"
|
innerRef={null}
|
||||||
data-ouia-component-type="PF4/Button"
|
|
||||||
data-ouia-safe={true}
|
|
||||||
disabled={false}
|
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
role={null}
|
variant="plain"
|
||||||
type="button"
|
|
||||||
>
|
>
|
||||||
<TimesIcon
|
<button
|
||||||
color="currentColor"
|
aria-disabled={false}
|
||||||
noVerticalAlign={false}
|
aria-label="Close"
|
||||||
size="sm"
|
className="pf-c-button pf-m-plain"
|
||||||
|
data-ouia-component-id="OUIA-Generated-Button-plain-3"
|
||||||
|
data-ouia-component-type="PF4/Button"
|
||||||
|
data-ouia-safe={true}
|
||||||
|
disabled={false}
|
||||||
|
onClick={[Function]}
|
||||||
|
role={null}
|
||||||
|
type="button"
|
||||||
>
|
>
|
||||||
<svg
|
<TimesIcon
|
||||||
aria-hidden={true}
|
color="currentColor"
|
||||||
aria-labelledby={null}
|
noVerticalAlign={false}
|
||||||
fill="currentColor"
|
size="sm"
|
||||||
height="1em"
|
|
||||||
role="img"
|
|
||||||
style={
|
|
||||||
Object {
|
|
||||||
"verticalAlign": "-0.125em",
|
|
||||||
}
|
|
||||||
}
|
|
||||||
viewBox="0 0 352 512"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
<svg
|
||||||
d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
|
aria-hidden={true}
|
||||||
/>
|
aria-labelledby={null}
|
||||||
</svg>
|
fill="currentColor"
|
||||||
</TimesIcon>
|
height="1em"
|
||||||
</button>
|
role="img"
|
||||||
|
style={
|
||||||
|
Object {
|
||||||
|
"verticalAlign": "-0.125em",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
viewBox="0 0 352 512"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</TimesIcon>
|
||||||
|
</button>
|
||||||
|
</ButtonBase>
|
||||||
</Button>
|
</Button>
|
||||||
</ModalBoxCloseButton>
|
</ModalBoxCloseButton>
|
||||||
<ModalBoxHeader
|
<ModalBoxHeader
|
||||||
|
@ -21093,6 +21138,9 @@ exports[`<MapperDialog/> should return selected protocol mapping type on click 1
|
||||||
<Text>
|
<Text>
|
||||||
<p
|
<p
|
||||||
className=""
|
className=""
|
||||||
|
data-ouia-component-id="OUIA-Generated-Text-3"
|
||||||
|
data-ouia-component-type="PF4/Text"
|
||||||
|
data-ouia-safe={true}
|
||||||
data-pf-content={true}
|
data-pf-content={true}
|
||||||
>
|
>
|
||||||
predefinedMappingDescription
|
predefinedMappingDescription
|
||||||
|
@ -22138,21 +22186,27 @@ exports[`<MapperDialog/> should return selected protocol mapping type on click 1
|
||||||
id="open"
|
id="open"
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
>
|
>
|
||||||
<button
|
<ButtonBase
|
||||||
aria-disabled={false}
|
|
||||||
aria-label={null}
|
|
||||||
className="pf-c-button pf-m-primary"
|
|
||||||
data-ouia-component-id="OUIA-Generated-Button-primary-5"
|
|
||||||
data-ouia-component-type="PF4/Button"
|
|
||||||
data-ouia-safe={true}
|
|
||||||
disabled={false}
|
|
||||||
id="open"
|
id="open"
|
||||||
|
innerRef={null}
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
role={null}
|
|
||||||
type="button"
|
|
||||||
>
|
>
|
||||||
Hide
|
<button
|
||||||
</button>
|
aria-disabled={false}
|
||||||
|
aria-label={null}
|
||||||
|
className="pf-c-button pf-m-primary"
|
||||||
|
data-ouia-component-id="OUIA-Generated-Button-primary-5"
|
||||||
|
data-ouia-component-type="PF4/Button"
|
||||||
|
data-ouia-safe={true}
|
||||||
|
disabled={false}
|
||||||
|
id="open"
|
||||||
|
onClick={[Function]}
|
||||||
|
role={null}
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
Hide
|
||||||
|
</button>
|
||||||
|
</ButtonBase>
|
||||||
</Button>
|
</Button>
|
||||||
</Test>
|
</Test>
|
||||||
`;
|
`;
|
||||||
|
|
|
@ -32,20 +32,25 @@ exports[`remove alert after timeout: cleared alert 1`] = `
|
||||||
<Button
|
<Button
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
>
|
>
|
||||||
<button
|
<ButtonBase
|
||||||
aria-disabled={false}
|
innerRef={null}
|
||||||
aria-label={null}
|
|
||||||
className="pf-c-button pf-m-primary"
|
|
||||||
data-ouia-component-id="OUIA-Generated-Button-primary-1"
|
|
||||||
data-ouia-component-type="PF4/Button"
|
|
||||||
data-ouia-safe={true}
|
|
||||||
disabled={false}
|
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
role={null}
|
|
||||||
type="button"
|
|
||||||
>
|
>
|
||||||
Add
|
<button
|
||||||
</button>
|
aria-disabled={false}
|
||||||
|
aria-label={null}
|
||||||
|
className="pf-c-button pf-m-primary"
|
||||||
|
data-ouia-component-id="OUIA-Generated-Button-primary-1"
|
||||||
|
data-ouia-component-type="PF4/Button"
|
||||||
|
data-ouia-safe={true}
|
||||||
|
disabled={false}
|
||||||
|
onClick={[Function]}
|
||||||
|
role={null}
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
Add
|
||||||
|
</button>
|
||||||
|
</ButtonBase>
|
||||||
</Button>
|
</Button>
|
||||||
</AlertProvider>
|
</AlertProvider>
|
||||||
</WithButton>
|
</WithButton>
|
||||||
|
@ -83,20 +88,25 @@ exports[`remove alert after timeout: with alert 1`] = `
|
||||||
<Button
|
<Button
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
>
|
>
|
||||||
<button
|
<ButtonBase
|
||||||
aria-disabled={false}
|
innerRef={null}
|
||||||
aria-label={null}
|
|
||||||
className="pf-c-button pf-m-primary"
|
|
||||||
data-ouia-component-id="OUIA-Generated-Button-primary-1"
|
|
||||||
data-ouia-component-type="PF4/Button"
|
|
||||||
data-ouia-safe={true}
|
|
||||||
disabled={false}
|
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
role={null}
|
|
||||||
type="button"
|
|
||||||
>
|
>
|
||||||
Add
|
<button
|
||||||
</button>
|
aria-disabled={false}
|
||||||
|
aria-label={null}
|
||||||
|
className="pf-c-button pf-m-primary"
|
||||||
|
data-ouia-component-id="OUIA-Generated-Button-primary-1"
|
||||||
|
data-ouia-component-type="PF4/Button"
|
||||||
|
data-ouia-safe={true}
|
||||||
|
disabled={false}
|
||||||
|
onClick={[Function]}
|
||||||
|
role={null}
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
Add
|
||||||
|
</button>
|
||||||
|
</ButtonBase>
|
||||||
</Button>
|
</Button>
|
||||||
</AlertProvider>
|
</AlertProvider>
|
||||||
</WithButton>
|
</WithButton>
|
||||||
|
|
|
@ -240,43 +240,51 @@ exports[`Confirmation dialog renders simple confirm dialog 1`] = `
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
variant="plain"
|
variant="plain"
|
||||||
>
|
>
|
||||||
<button
|
<ButtonBase
|
||||||
aria-disabled={false}
|
|
||||||
aria-label="Close"
|
aria-label="Close"
|
||||||
className="pf-c-button pf-m-plain"
|
className=""
|
||||||
data-ouia-component-id="OUIA-Generated-Button-plain-1"
|
innerRef={null}
|
||||||
data-ouia-component-type="PF4/Button"
|
|
||||||
data-ouia-safe={true}
|
|
||||||
disabled={false}
|
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
role={null}
|
variant="plain"
|
||||||
type="button"
|
|
||||||
>
|
>
|
||||||
<TimesIcon
|
<button
|
||||||
color="currentColor"
|
aria-disabled={false}
|
||||||
noVerticalAlign={false}
|
aria-label="Close"
|
||||||
size="sm"
|
className="pf-c-button pf-m-plain"
|
||||||
|
data-ouia-component-id="OUIA-Generated-Button-plain-1"
|
||||||
|
data-ouia-component-type="PF4/Button"
|
||||||
|
data-ouia-safe={true}
|
||||||
|
disabled={false}
|
||||||
|
onClick={[Function]}
|
||||||
|
role={null}
|
||||||
|
type="button"
|
||||||
>
|
>
|
||||||
<svg
|
<TimesIcon
|
||||||
aria-hidden={true}
|
color="currentColor"
|
||||||
aria-labelledby={null}
|
noVerticalAlign={false}
|
||||||
fill="currentColor"
|
size="sm"
|
||||||
height="1em"
|
|
||||||
role="img"
|
|
||||||
style={
|
|
||||||
Object {
|
|
||||||
"verticalAlign": "-0.125em",
|
|
||||||
}
|
|
||||||
}
|
|
||||||
viewBox="0 0 352 512"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
<svg
|
||||||
d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
|
aria-hidden={true}
|
||||||
/>
|
aria-labelledby={null}
|
||||||
</svg>
|
fill="currentColor"
|
||||||
</TimesIcon>
|
height="1em"
|
||||||
</button>
|
role="img"
|
||||||
|
style={
|
||||||
|
Object {
|
||||||
|
"verticalAlign": "-0.125em",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
viewBox="0 0 352 512"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</TimesIcon>
|
||||||
|
</button>
|
||||||
|
</ButtonBase>
|
||||||
</Button>
|
</Button>
|
||||||
</ModalBoxCloseButton>
|
</ModalBoxCloseButton>
|
||||||
<ModalBoxHeader
|
<ModalBoxHeader
|
||||||
|
@ -325,22 +333,30 @@ exports[`Confirmation dialog renders simple confirm dialog 1`] = `
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
variant="primary"
|
variant="primary"
|
||||||
>
|
>
|
||||||
<button
|
<ButtonBase
|
||||||
aria-disabled={false}
|
|
||||||
aria-label={null}
|
|
||||||
className="pf-c-button pf-m-primary"
|
|
||||||
data-ouia-component-id="OUIA-Generated-Button-primary-1"
|
|
||||||
data-ouia-component-type="PF4/Button"
|
|
||||||
data-ouia-safe={true}
|
|
||||||
data-testid="modalConfirm"
|
data-testid="modalConfirm"
|
||||||
disabled={false}
|
|
||||||
id="modal-confirm"
|
id="modal-confirm"
|
||||||
|
innerRef={null}
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
role={null}
|
variant="primary"
|
||||||
type="button"
|
|
||||||
>
|
>
|
||||||
Delete
|
<button
|
||||||
</button>
|
aria-disabled={false}
|
||||||
|
aria-label={null}
|
||||||
|
className="pf-c-button pf-m-primary"
|
||||||
|
data-ouia-component-id="OUIA-Generated-Button-primary-1"
|
||||||
|
data-ouia-component-type="PF4/Button"
|
||||||
|
data-ouia-safe={true}
|
||||||
|
data-testid="modalConfirm"
|
||||||
|
disabled={false}
|
||||||
|
id="modal-confirm"
|
||||||
|
onClick={[Function]}
|
||||||
|
role={null}
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
Delete
|
||||||
|
</button>
|
||||||
|
</ButtonBase>
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
id="modal-cancel"
|
id="modal-cancel"
|
||||||
|
@ -348,21 +364,28 @@ exports[`Confirmation dialog renders simple confirm dialog 1`] = `
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
variant="link"
|
variant="link"
|
||||||
>
|
>
|
||||||
<button
|
<ButtonBase
|
||||||
aria-disabled={false}
|
|
||||||
aria-label={null}
|
|
||||||
className="pf-c-button pf-m-link"
|
|
||||||
data-ouia-component-id="OUIA-Generated-Button-link-1"
|
|
||||||
data-ouia-component-type="PF4/Button"
|
|
||||||
data-ouia-safe={true}
|
|
||||||
disabled={false}
|
|
||||||
id="modal-cancel"
|
id="modal-cancel"
|
||||||
|
innerRef={null}
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
role={null}
|
variant="link"
|
||||||
type="button"
|
|
||||||
>
|
>
|
||||||
cancel
|
<button
|
||||||
</button>
|
aria-disabled={false}
|
||||||
|
aria-label={null}
|
||||||
|
className="pf-c-button pf-m-link"
|
||||||
|
data-ouia-component-id="OUIA-Generated-Button-link-1"
|
||||||
|
data-ouia-component-type="PF4/Button"
|
||||||
|
data-ouia-safe={true}
|
||||||
|
disabled={false}
|
||||||
|
id="modal-cancel"
|
||||||
|
onClick={[Function]}
|
||||||
|
role={null}
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
cancel
|
||||||
|
</button>
|
||||||
|
</ButtonBase>
|
||||||
</Button>
|
</Button>
|
||||||
</footer>
|
</footer>
|
||||||
</ModalBoxFooter>
|
</ModalBoxFooter>
|
||||||
|
|
|
@ -153,21 +153,29 @@ exports[`<JsonFileUpload /> render 1`] = `
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
variant="control"
|
variant="control"
|
||||||
>
|
>
|
||||||
<button
|
<ButtonBase
|
||||||
aria-disabled={false}
|
|
||||||
aria-label={null}
|
|
||||||
className="pf-c-button pf-m-control"
|
|
||||||
data-ouia-component-id="OUIA-Generated-Button-control-1"
|
|
||||||
data-ouia-component-type="PF4/Button"
|
|
||||||
data-ouia-safe={true}
|
|
||||||
disabled={false}
|
|
||||||
id="test-browse-button"
|
id="test-browse-button"
|
||||||
|
innerRef={null}
|
||||||
|
isDisabled={false}
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
role={null}
|
variant="control"
|
||||||
type="button"
|
|
||||||
>
|
>
|
||||||
Browse...
|
<button
|
||||||
</button>
|
aria-disabled={false}
|
||||||
|
aria-label={null}
|
||||||
|
className="pf-c-button pf-m-control"
|
||||||
|
data-ouia-component-id="OUIA-Generated-Button-control-1"
|
||||||
|
data-ouia-component-type="PF4/Button"
|
||||||
|
data-ouia-safe={true}
|
||||||
|
disabled={false}
|
||||||
|
id="test-browse-button"
|
||||||
|
onClick={[Function]}
|
||||||
|
role={null}
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
Browse...
|
||||||
|
</button>
|
||||||
|
</ButtonBase>
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
isDisabled={true}
|
isDisabled={true}
|
||||||
|
@ -175,21 +183,28 @@ exports[`<JsonFileUpload /> render 1`] = `
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
variant="control"
|
variant="control"
|
||||||
>
|
>
|
||||||
<button
|
<ButtonBase
|
||||||
aria-disabled={true}
|
innerRef={null}
|
||||||
aria-label={null}
|
isDisabled={true}
|
||||||
className="pf-c-button pf-m-control pf-m-disabled"
|
|
||||||
data-ouia-component-id="OUIA-Generated-Button-control-2"
|
|
||||||
data-ouia-component-type="PF4/Button"
|
|
||||||
data-ouia-safe={true}
|
|
||||||
disabled={true}
|
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
role={null}
|
variant="control"
|
||||||
tabIndex={null}
|
|
||||||
type="button"
|
|
||||||
>
|
>
|
||||||
Clear
|
<button
|
||||||
</button>
|
aria-disabled={true}
|
||||||
|
aria-label={null}
|
||||||
|
className="pf-c-button pf-m-control pf-m-disabled"
|
||||||
|
data-ouia-component-id="OUIA-Generated-Button-control-2"
|
||||||
|
data-ouia-component-type="PF4/Button"
|
||||||
|
data-ouia-safe={true}
|
||||||
|
disabled={true}
|
||||||
|
onClick={[Function]}
|
||||||
|
role={null}
|
||||||
|
tabIndex={null}
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
Clear
|
||||||
|
</button>
|
||||||
|
</ButtonBase>
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</InputGroup>
|
</InputGroup>
|
||||||
|
@ -427,21 +442,29 @@ exports[`<JsonFileUpload /> upload file 1`] = `
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
variant="control"
|
variant="control"
|
||||||
>
|
>
|
||||||
<button
|
<ButtonBase
|
||||||
aria-disabled={false}
|
|
||||||
aria-label={null}
|
|
||||||
className="pf-c-button pf-m-control"
|
|
||||||
data-ouia-component-id="OUIA-Generated-Button-control-3"
|
|
||||||
data-ouia-component-type="PF4/Button"
|
|
||||||
data-ouia-safe={true}
|
|
||||||
disabled={false}
|
|
||||||
id="upload-browse-button"
|
id="upload-browse-button"
|
||||||
|
innerRef={null}
|
||||||
|
isDisabled={false}
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
role={null}
|
variant="control"
|
||||||
type="button"
|
|
||||||
>
|
>
|
||||||
Browse...
|
<button
|
||||||
</button>
|
aria-disabled={false}
|
||||||
|
aria-label={null}
|
||||||
|
className="pf-c-button pf-m-control"
|
||||||
|
data-ouia-component-id="OUIA-Generated-Button-control-3"
|
||||||
|
data-ouia-component-type="PF4/Button"
|
||||||
|
data-ouia-safe={true}
|
||||||
|
disabled={false}
|
||||||
|
id="upload-browse-button"
|
||||||
|
onClick={[Function]}
|
||||||
|
role={null}
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
Browse...
|
||||||
|
</button>
|
||||||
|
</ButtonBase>
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
isDisabled={true}
|
isDisabled={true}
|
||||||
|
@ -449,21 +472,28 @@ exports[`<JsonFileUpload /> upload file 1`] = `
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
variant="control"
|
variant="control"
|
||||||
>
|
>
|
||||||
<button
|
<ButtonBase
|
||||||
aria-disabled={true}
|
innerRef={null}
|
||||||
aria-label={null}
|
isDisabled={true}
|
||||||
className="pf-c-button pf-m-control pf-m-disabled"
|
|
||||||
data-ouia-component-id="OUIA-Generated-Button-control-4"
|
|
||||||
data-ouia-component-type="PF4/Button"
|
|
||||||
data-ouia-safe={true}
|
|
||||||
disabled={true}
|
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
role={null}
|
variant="control"
|
||||||
tabIndex={null}
|
|
||||||
type="button"
|
|
||||||
>
|
>
|
||||||
Clear
|
<button
|
||||||
</button>
|
aria-disabled={true}
|
||||||
|
aria-label={null}
|
||||||
|
className="pf-c-button pf-m-control pf-m-disabled"
|
||||||
|
data-ouia-component-id="OUIA-Generated-Button-control-4"
|
||||||
|
data-ouia-component-type="PF4/Button"
|
||||||
|
data-ouia-safe={true}
|
||||||
|
disabled={true}
|
||||||
|
onClick={[Function]}
|
||||||
|
role={null}
|
||||||
|
tabIndex={null}
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
Clear
|
||||||
|
</button>
|
||||||
|
</ButtonBase>
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</InputGroup>
|
</InputGroup>
|
||||||
|
|
34
yarn.lock
34
yarn.lock
|
@ -3162,25 +3162,12 @@
|
||||||
dependencies:
|
dependencies:
|
||||||
mkdirp "^1.0.4"
|
mkdirp "^1.0.4"
|
||||||
|
|
||||||
"@patternfly/patternfly@^4.108.2":
|
"@patternfly/patternfly@^4.115.2":
|
||||||
version "4.108.2"
|
version "4.115.2"
|
||||||
resolved "https://registry.yarnpkg.com/@patternfly/patternfly/-/patternfly-4.108.2.tgz#b6686b9865fd5d4233a15bdf04cc53bded5a8ccc"
|
resolved "https://registry.yarnpkg.com/@patternfly/patternfly/-/patternfly-4.115.2.tgz#200111d52fe07d1380371530304bad9edf45de51"
|
||||||
integrity sha512-z0VB+1CXcH+eoClYQABwapX5FURSvm1nPr6asLWwg/Z4Wuxs0RjZpC6Gb+KRm8nGQwSAcMKZY1jLfPqVnznQnw==
|
integrity sha512-7hbJ4pRmj+rlXclD2F/UwceO6fS+9flGsgHc4eUc7NyTN2GXl6PLcqrjE2CtiKEPV90+KwsGQGJXZj8bz9HweA==
|
||||||
|
|
||||||
"@patternfly/react-core@4.128.2":
|
"@patternfly/react-core@4.135.0", "@patternfly/react-core@^4.135.0":
|
||||||
version "4.128.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/@patternfly/react-core/-/react-core-4.128.2.tgz#dd0c218bc75a32ee41c69e3d51bead6b157c4aae"
|
|
||||||
integrity sha512-EhrxE3+V7AYVhbERrcRVH7oY6TeVRqqzaRx8HXWnyn/hxE2rTzhhaLHyjotxk9mGYmIYtMuMebBHFbX0g+6Ymg==
|
|
||||||
dependencies:
|
|
||||||
"@patternfly/react-icons" "^4.10.11"
|
|
||||||
"@patternfly/react-styles" "^4.10.11"
|
|
||||||
"@patternfly/react-tokens" "^4.11.12"
|
|
||||||
focus-trap "6.2.2"
|
|
||||||
react-dropzone "9.0.0"
|
|
||||||
tippy.js "5.1.2"
|
|
||||||
tslib "1.13.0"
|
|
||||||
|
|
||||||
"@patternfly/react-core@^4.135.0":
|
|
||||||
version "4.135.0"
|
version "4.135.0"
|
||||||
resolved "https://registry.yarnpkg.com/@patternfly/react-core/-/react-core-4.135.0.tgz#b64ad4da10a8814926e28fad727bc7690cd60e66"
|
resolved "https://registry.yarnpkg.com/@patternfly/react-core/-/react-core-4.135.0.tgz#b64ad4da10a8814926e28fad727bc7690cd60e66"
|
||||||
integrity sha512-DZcONUGOR7Znd6BsUJ4L+KrrnIpyjUvh3JNcYiHW3loytxShCGcx+a04QjOOcZm+MtFhkgs/t51yiC5IP12abA==
|
integrity sha512-DZcONUGOR7Znd6BsUJ4L+KrrnIpyjUvh3JNcYiHW3loytxShCGcx+a04QjOOcZm+MtFhkgs/t51yiC5IP12abA==
|
||||||
|
@ -3193,17 +3180,12 @@
|
||||||
tippy.js "5.1.2"
|
tippy.js "5.1.2"
|
||||||
tslib "1.13.0"
|
tslib "1.13.0"
|
||||||
|
|
||||||
"@patternfly/react-icons@4.10.11":
|
"@patternfly/react-icons@4.11.0", "@patternfly/react-icons@^4.11.0":
|
||||||
version "4.10.11"
|
|
||||||
resolved "https://registry.yarnpkg.com/@patternfly/react-icons/-/react-icons-4.10.11.tgz#9bed483fc37c8b795b3fb98c17ede00eef775857"
|
|
||||||
integrity sha512-Qyxwvghb9HZB2do3UVw4EzJSvqWaw/AEw6mFzqshZiIm2oPrL4NkvavwDt5WRicz5sbyWTZluB4grOj33PEpww==
|
|
||||||
|
|
||||||
"@patternfly/react-icons@^4.10.11", "@patternfly/react-icons@^4.11.0":
|
|
||||||
version "4.11.0"
|
version "4.11.0"
|
||||||
resolved "https://registry.yarnpkg.com/@patternfly/react-icons/-/react-icons-4.11.0.tgz#26790eeff22dc3204aa8cd094470f0a2f915634a"
|
resolved "https://registry.yarnpkg.com/@patternfly/react-icons/-/react-icons-4.11.0.tgz#26790eeff22dc3204aa8cd094470f0a2f915634a"
|
||||||
integrity sha512-WsIX34bO9rhVRmPG0jlV3GoFGfYgPC64TscNV0lxQosiVRnYIA6Z3nBSArtJsxo5Yn6c63glIefC/YTy6D/ZYg==
|
integrity sha512-WsIX34bO9rhVRmPG0jlV3GoFGfYgPC64TscNV0lxQosiVRnYIA6Z3nBSArtJsxo5Yn6c63glIefC/YTy6D/ZYg==
|
||||||
|
|
||||||
"@patternfly/react-styles@^4.10.11", "@patternfly/react-styles@^4.11.0":
|
"@patternfly/react-styles@^4.11.0":
|
||||||
version "4.11.0"
|
version "4.11.0"
|
||||||
resolved "https://registry.yarnpkg.com/@patternfly/react-styles/-/react-styles-4.11.0.tgz#0068dcb18e1343242f93fa6024dcc077acd57fb9"
|
resolved "https://registry.yarnpkg.com/@patternfly/react-styles/-/react-styles-4.11.0.tgz#0068dcb18e1343242f93fa6024dcc077acd57fb9"
|
||||||
integrity sha512-4eIqTwGI4mjt9DMqX6hnan4eRS+3LUWNaneTEJdmk+flKxtAE/O/OmQHvH4GetDnlSbyfATcA0VFbVtR0aRJAg==
|
integrity sha512-4eIqTwGI4mjt9DMqX6hnan4eRS+3LUWNaneTEJdmk+flKxtAE/O/OmQHvH4GetDnlSbyfATcA0VFbVtR0aRJAg==
|
||||||
|
@ -3220,7 +3202,7 @@
|
||||||
lodash "^4.17.19"
|
lodash "^4.17.19"
|
||||||
tslib "1.13.0"
|
tslib "1.13.0"
|
||||||
|
|
||||||
"@patternfly/react-tokens@^4.11.12", "@patternfly/react-tokens@^4.12.0":
|
"@patternfly/react-tokens@^4.12.0":
|
||||||
version "4.12.0"
|
version "4.12.0"
|
||||||
resolved "https://registry.yarnpkg.com/@patternfly/react-tokens/-/react-tokens-4.12.0.tgz#2973c7f08a2f35997a0054bbf3c886b3c5c68822"
|
resolved "https://registry.yarnpkg.com/@patternfly/react-tokens/-/react-tokens-4.12.0.tgz#2973c7f08a2f35997a0054bbf3c886b3c5c68822"
|
||||||
integrity sha512-Oj+GxqTtx0Yu9IDCTibZLQnpcKp58JneNKEFQkJ29WJydhPG4j6oFFElkK+ub+Ft/f9B1Ky1SsfR9eabo6IykQ==
|
integrity sha512-Oj+GxqTtx0Yu9IDCTibZLQnpcKp58JneNKEFQkJ29WJydhPG4j6oFFElkK+ub+Ft/f9B1Ky1SsfR9eabo6IykQ==
|
||||||
|
|
Loading…
Reference in a new issue