@instructure/ui-dialog 8.9.1-snapshot.0 → 8.9.2-snapshot.12

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
+ ## [8.9.1](https://github.com/instructure/instructure-ui/compare/v8.9.0...v8.9.1) (2021-09-16)
7
+
8
+ **Note:** Version bump only for package @instructure/ui-dialog
9
+
6
10
  # [8.9.0](https://github.com/instructure/instructure-ui/compare/v8.8.0...v8.9.0) (2021-09-15)
7
11
 
8
12
  ### Bug Fixes
package/README.md CHANGED
@@ -5,7 +5,6 @@ category: packages
5
5
  ## ui-dialog
6
6
 
7
7
  [![npm][npm]][npm-url] 
8
- [![build-status][build-status]][build-status-url] 
9
8
  [![MIT License][license-badge]][license] 
10
9
  [![Code of Conduct][coc-badge]][coc]
11
10
 
@@ -144,7 +144,7 @@ class Dialog extends Component {
144
144
 
145
145
  render() {
146
146
  const ElementType = getElementType(Dialog, this.props);
147
- return this.props.open ? /*#__PURE__*/React.createElement(ElementType, Object.assign({}, omitProps(this.props, Dialog.propTypes), {
147
+ return this.props.open ? /*#__PURE__*/React.createElement(ElementType, Object.assign({}, omitProps(this.props, Dialog.allowedProps), {
148
148
  role: this.props.label ? 'dialog' : void 0,
149
149
  "aria-label": this.props.label,
150
150
  className: this.props.className // eslint-disable-line react/prop-types
@@ -142,7 +142,7 @@ class Dialog extends _react.Component {
142
142
 
143
143
  render() {
144
144
  const ElementType = (0, _getElementType.getElementType)(Dialog, this.props);
145
- return this.props.open ? /*#__PURE__*/_react.default.createElement(ElementType, Object.assign({}, (0, _omitProps.omitProps)(this.props, Dialog.propTypes), {
145
+ return this.props.open ? /*#__PURE__*/_react.default.createElement(ElementType, Object.assign({}, (0, _omitProps.omitProps)(this.props, Dialog.allowedProps), {
146
146
  role: this.props.label ? 'dialog' : void 0,
147
147
  "aria-label": this.props.label,
148
148
  className: this.props.className // eslint-disable-line react/prop-types
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-dialog",
3
- "version": "8.9.1-snapshot.0+000c779bb",
3
+ "version": "8.9.2-snapshot.12+6231ada93",
4
4
  "description": "A utility component for managing keyboard accessibility and screen reader behavior",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "type": "commonjs",
@@ -25,18 +25,18 @@
25
25
  "license": "MIT",
26
26
  "dependencies": {
27
27
  "@babel/runtime": "^7.13.10",
28
- "@instructure/shared-types": "8.9.1-snapshot.0+000c779bb",
29
- "@instructure/ui-a11y-utils": "8.9.1-snapshot.0+000c779bb",
30
- "@instructure/ui-dom-utils": "8.9.1-snapshot.0+000c779bb",
31
- "@instructure/ui-react-utils": "8.9.1-snapshot.0+000c779bb",
32
- "@instructure/ui-testable": "8.9.1-snapshot.0+000c779bb",
28
+ "@instructure/shared-types": "8.9.2-snapshot.12+6231ada93",
29
+ "@instructure/ui-a11y-utils": "8.9.2-snapshot.12+6231ada93",
30
+ "@instructure/ui-dom-utils": "8.9.2-snapshot.12+6231ada93",
31
+ "@instructure/ui-react-utils": "8.9.2-snapshot.12+6231ada93",
32
+ "@instructure/ui-testable": "8.9.2-snapshot.12+6231ada93",
33
33
  "prop-types": "^15"
34
34
  },
35
35
  "devDependencies": {
36
- "@instructure/console": "8.9.1-snapshot.0+000c779bb",
37
- "@instructure/ui-babel-preset": "8.9.1-snapshot.0+000c779bb",
38
- "@instructure/ui-prop-types": "8.9.1-snapshot.0+000c779bb",
39
- "@instructure/ui-test-utils": "8.9.1-snapshot.0+000c779bb"
36
+ "@instructure/console": "8.9.2-snapshot.12+6231ada93",
37
+ "@instructure/ui-babel-preset": "8.9.2-snapshot.12+6231ada93",
38
+ "@instructure/ui-prop-types": "8.9.2-snapshot.12+6231ada93",
39
+ "@instructure/ui-test-utils": "8.9.2-snapshot.12+6231ada93"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "react": ">=16.8 <=17"
@@ -45,5 +45,5 @@
45
45
  "access": "public"
46
46
  },
47
47
  "sideEffects": false,
48
- "gitHead": "000c779bb16c575bcfeb4a6c71d8cef1d768db01"
48
+ "gitHead": "6231ada93bd4299d640b5d39d7e44b0f54852b2a"
49
49
  }
@@ -184,7 +184,7 @@ class Dialog extends Component<DialogProps & OtherHTMLAttributes<DialogProps>> {
184
184
  return this.props.open ? (
185
185
  <ElementType
186
186
  // @ts-expect-error TODO: `ref` prop causes: "Expression produces a union type that is too complex to represent.ts(2590)"
187
- {...omitProps(this.props, Dialog.propTypes)}
187
+ {...omitProps(this.props, Dialog.allowedProps)}
188
188
  role={this.props.label ? 'dialog' : undefined}
189
189
  aria-label={this.props.label}
190
190
  className={this.props.className} // eslint-disable-line react/prop-types