@patternfly/react-core 4.222.17 → 4.223.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-core",
3
- "version": "4.222.17",
3
+ "version": "4.223.2",
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",
@@ -34,16 +34,16 @@
34
34
  "generate": "node scripts/copyStyles.js"
35
35
  },
36
36
  "dependencies": {
37
- "@patternfly/react-icons": "^4.73.17",
38
- "@patternfly/react-styles": "^4.72.17",
39
- "@patternfly/react-tokens": "^4.74.17",
37
+ "@patternfly/react-icons": "^4.74.2",
38
+ "@patternfly/react-styles": "^4.73.2",
39
+ "@patternfly/react-tokens": "^4.75.2",
40
40
  "focus-trap": "6.9.2",
41
41
  "react-dropzone": "9.0.0",
42
42
  "tippy.js": "5.1.2",
43
43
  "tslib": "^2.0.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@patternfly/patternfly": "4.201.0",
46
+ "@patternfly/patternfly": "4.202.0",
47
47
  "@rollup/plugin-commonjs": "^21.0.0",
48
48
  "@rollup/plugin-node-resolve": "^13.0.0",
49
49
  "@rollup/plugin-replace": "^3.0.0",
@@ -60,5 +60,5 @@
60
60
  "react": "^16.8.0 || ^17.0.0",
61
61
  "react-dom": "^16.8.0 || ^17.0.0"
62
62
  },
63
- "gitHead": "baa354e5d62d7b5b03cf41d5874219ccaf099dbb"
63
+ "gitHead": "9370d34d7fa3daf58059aca057be4fd7a5d33a55"
64
64
  }
@@ -60,7 +60,7 @@ export const ProgressStep: React.FunctionComponent<ProgressStepProps> = ({
60
60
  ...props
61
61
  }: ProgressStepProps) => {
62
62
  const _icon = icon !== undefined ? icon : variantIcons[variant];
63
- const Component = popoverRender !== undefined ? 'span' : 'div';
63
+ const Component = popoverRender !== undefined ? 'button' : 'div';
64
64
  const stepRef = React.useRef();
65
65
 
66
66
  if (props.id === undefined || titleId === undefined) {
@@ -90,7 +90,7 @@ export const ProgressStep: React.FunctionComponent<ProgressStepProps> = ({
90
90
  className={css(styles.progressStepperStepTitle, popoverRender && styles.modifiers.helpText)}
91
91
  id={titleId}
92
92
  ref={stepRef}
93
- {...(popoverRender && { tabIndex: 0, role: 'button', type: 'button' })}
93
+ {...(popoverRender && { type: 'button' })}
94
94
  {...(props.id !== undefined && titleId !== undefined && { 'aria-labelledby': `${props.id} ${titleId}` })}
95
95
  >
96
96
  {children}
@@ -226,15 +226,13 @@ exports[`ProgressStep renders help text styling 1`] = `
226
226
  <div
227
227
  class="pf-c-progress-stepper__step-main"
228
228
  >
229
- <span
229
+ <button
230
230
  class="pf-c-progress-stepper__step-title pf-m-help-text"
231
- role="button"
232
- tabindex="0"
233
231
  type="button"
234
232
  >
235
233
  Title
236
234
  <div />
237
- </span>
235
+ </button>
238
236
  </div>
239
237
  </li>
240
238
  </DocumentFragment>