@patternfly/react-core 5.0.0-alpha.46 → 5.0.0-alpha.47

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
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [5.0.0-alpha.47](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-core@5.0.0-alpha.46...@patternfly/react-core@5.0.0-alpha.47) (2023-03-24)
7
+
8
+ **Note:** Version bump only for package @patternfly/react-core
9
+
6
10
  # [5.0.0-alpha.46](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-core@5.0.0-alpha.45...@patternfly/react-core@5.0.0-alpha.46) (2023-03-24)
7
11
 
8
12
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-core",
3
- "version": "5.0.0-alpha.46",
3
+ "version": "5.0.0-alpha.47",
4
4
  "description": "This library provides a set of common React components for use with the PatternFly reference implementation.",
5
5
  "main": "dist/js/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -70,5 +70,5 @@
70
70
  "react": "^17 || ^18",
71
71
  "react-dom": "^17 || ^18"
72
72
  },
73
- "gitHead": "7ec2df690981fddd6f8be3ff7d5f21aa497e82b8"
73
+ "gitHead": "41381939a0352b1b212b237604b2d6461f7b4c06"
74
74
  }
@@ -14,12 +14,20 @@ export const WizardWithinModal = () => {
14
14
  showClose={false}
15
15
  aria-label="Wizard modal"
16
16
  hasNoBodyWrapper
17
+ onEscapePress={() => setIsModalOpen(false)}
17
18
  variant={ModalVariant.medium}
18
19
  >
19
20
  <Wizard
20
21
  height={400}
22
+ onClose={() => setIsModalOpen(false)}
21
23
  title="In modal wizard"
22
- header={<WizardHeader title="Wizard in modal" description="Simple wizard description" />}
24
+ header={
25
+ <WizardHeader
26
+ onClose={() => setIsModalOpen(false)}
27
+ title="Wizard in modal"
28
+ description="Simple wizard description"
29
+ />
30
+ }
23
31
  >
24
32
  <WizardStep name="Step 1" id="in-modal-step-1">
25
33
  Step 1 content