@instructure/ui-a11y-content 8.17.1-snapshot.82 → 8.18.1-snapshot.1

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.18.0](https://github.com/instructure/instructure-ui/compare/v8.17.0...v8.18.0) (2022-02-23)
7
+
8
+ **Note:** Version bump only for package @instructure/ui-a11y-content
9
+
6
10
  # [8.17.0](https://github.com/instructure/instructure-ui/compare/v8.16.0...v8.17.0) (2022-02-07)
7
11
 
8
12
  ### Bug Fixes
@@ -57,23 +57,27 @@ let ScreenReaderContent = (_dec = withStyle(generateStyle, null), _dec(_class =
57
57
  }
58
58
 
59
59
  componentDidMount() {
60
- this.props.makeStyles?.();
60
+ var _this$props$makeStyle, _this$props;
61
+
62
+ (_this$props$makeStyle = (_this$props = this.props).makeStyles) === null || _this$props$makeStyle === void 0 ? void 0 : _this$props$makeStyle.call(_this$props);
61
63
  }
62
64
 
63
65
  componentDidUpdate() {
64
- this.props.makeStyles?.();
66
+ var _this$props$makeStyle2, _this$props2;
67
+
68
+ (_this$props$makeStyle2 = (_this$props2 = this.props).makeStyles) === null || _this$props$makeStyle2 === void 0 ? void 0 : _this$props$makeStyle2.call(_this$props2);
65
69
  }
66
70
 
67
71
  render() {
68
- const _this$props = this.props,
69
- children = _this$props.children,
70
- styles = _this$props.styles,
71
- props = _objectWithoutProperties(_this$props, _excluded); // any cast is needed to prevent Expression produces a union type that is too complex to represent errors
72
+ const _this$props3 = this.props,
73
+ children = _this$props3.children,
74
+ styles = _this$props3.styles,
75
+ props = _objectWithoutProperties(_this$props3, _excluded); // any cast is needed to prevent Expression produces a union type that is too complex to represent errors
72
76
 
73
77
 
74
78
  const ElementType = getElementType(ScreenReaderContent, props);
75
79
  return jsx(ElementType, Object.assign({}, passthroughProps(props), {
76
- css: styles?.screenReaderContent,
80
+ css: styles === null || styles === void 0 ? void 0 : styles.screenReaderContent,
77
81
  ref: this.handleRef
78
82
  }), children);
79
83
  }
@@ -48,22 +48,26 @@ let ScreenReaderContent = (_dec = (0, _emotion.withStyle)(_styles.default, null)
48
48
  }
49
49
 
50
50
  componentDidMount() {
51
- this.props.makeStyles?.();
51
+ var _this$props$makeStyle, _this$props;
52
+
53
+ (_this$props$makeStyle = (_this$props = this.props).makeStyles) === null || _this$props$makeStyle === void 0 ? void 0 : _this$props$makeStyle.call(_this$props);
52
54
  }
53
55
 
54
56
  componentDidUpdate() {
55
- this.props.makeStyles?.();
57
+ var _this$props$makeStyle2, _this$props2;
58
+
59
+ (_this$props$makeStyle2 = (_this$props2 = this.props).makeStyles) === null || _this$props$makeStyle2 === void 0 ? void 0 : _this$props$makeStyle2.call(_this$props2);
56
60
  }
57
61
 
58
62
  render() {
59
- const _this$props = this.props,
60
- children = _this$props.children,
61
- styles = _this$props.styles,
62
- props = (0, _objectWithoutProperties2.default)(_this$props, _excluded); // any cast is needed to prevent Expression produces a union type that is too complex to represent errors
63
+ const _this$props3 = this.props,
64
+ children = _this$props3.children,
65
+ styles = _this$props3.styles,
66
+ props = (0, _objectWithoutProperties2.default)(_this$props3, _excluded); // any cast is needed to prevent Expression produces a union type that is too complex to represent errors
63
67
 
64
68
  const ElementType = (0, _getElementType.getElementType)(ScreenReaderContent, props);
65
69
  return (0, _emotion.jsx)(ElementType, Object.assign({}, (0, _passthroughProps.passthroughProps)(props), {
66
- css: styles?.screenReaderContent,
70
+ css: styles === null || styles === void 0 ? void 0 : styles.screenReaderContent,
67
71
  ref: this.handleRef
68
72
  }), children);
69
73
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-a11y-content",
3
- "version": "8.17.1-snapshot.82+96244a097",
3
+ "version": "8.18.1-snapshot.1+669aa5892",
4
4
  "description": "Utility components that enhance the user experience of those that navigate the web with a screen reader or keyboard.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -24,20 +24,20 @@
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
26
  "@babel/runtime": "^7.13.10",
27
- "@instructure/console": "8.17.1-snapshot.82+96244a097",
28
- "@instructure/emotion": "8.17.1-snapshot.82+96244a097",
29
- "@instructure/shared-types": "8.17.1-snapshot.82+96244a097",
30
- "@instructure/ui-dom-utils": "8.17.1-snapshot.82+96244a097",
31
- "@instructure/ui-prop-types": "8.17.1-snapshot.82+96244a097",
32
- "@instructure/ui-react-utils": "8.17.1-snapshot.82+96244a097",
33
- "@instructure/ui-utils": "8.17.1-snapshot.82+96244a097",
34
- "@instructure/uid": "8.17.1-snapshot.82+96244a097",
27
+ "@instructure/console": "8.18.1-snapshot.1+669aa5892",
28
+ "@instructure/emotion": "8.18.1-snapshot.1+669aa5892",
29
+ "@instructure/shared-types": "8.18.1-snapshot.1+669aa5892",
30
+ "@instructure/ui-dom-utils": "8.18.1-snapshot.1+669aa5892",
31
+ "@instructure/ui-prop-types": "8.18.1-snapshot.1+669aa5892",
32
+ "@instructure/ui-react-utils": "8.18.1-snapshot.1+669aa5892",
33
+ "@instructure/ui-utils": "8.18.1-snapshot.1+669aa5892",
34
+ "@instructure/uid": "8.18.1-snapshot.1+669aa5892",
35
35
  "keycode": "^2",
36
36
  "prop-types": "^15"
37
37
  },
38
38
  "devDependencies": {
39
- "@instructure/ui-babel-preset": "8.17.1-snapshot.82+96244a097",
40
- "@instructure/ui-test-utils": "8.17.1-snapshot.82+96244a097"
39
+ "@instructure/ui-babel-preset": "8.18.1-snapshot.1+669aa5892",
40
+ "@instructure/ui-test-utils": "8.18.1-snapshot.1+669aa5892"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "react": ">=16.8 <=17"
@@ -46,5 +46,5 @@
46
46
  "access": "public"
47
47
  },
48
48
  "sideEffects": false,
49
- "gitHead": "96244a097dffef5f10bbe7979c580581c787083e"
49
+ "gitHead": "669aa58926b123028bcb9e39427d36910b78b0d1"
50
50
  }