@instructure/ui-expandable 8.56.0 → 8.56.2-pr-snapshot-1721749364069

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,22 @@
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.56.2-pr-snapshot-1721749364069](https://github.com/instructure/instructure-ui/compare/v8.56.1...v8.56.2-pr-snapshot-1721749364069) (2024-07-23)
7
+
8
+ **Note:** Version bump only for package @instructure/ui-expandable
9
+
10
+
11
+
12
+
13
+
14
+ ## [8.56.1](https://github.com/instructure/instructure-ui/compare/v8.56.0...v8.56.1) (2024-06-13)
15
+
16
+ **Note:** Version bump only for package @instructure/ui-expandable
17
+
18
+
19
+
20
+
21
+
6
22
  # [8.56.0](https://github.com/instructure/instructure-ui/compare/v8.55.1...v8.56.0) (2024-05-06)
7
23
 
8
24
  **Note:** Version bump only for package @instructure/ui-expandable
@@ -5,9 +5,9 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = exports.Expandable = void 0;
7
7
  var _react = require("react");
8
- var _createChainedFunction = require("@instructure/ui-utils/lib/createChainedFunction.js");
8
+ var _uiUtils = require("@instructure/ui-utils");
9
9
  var _props = require("./props");
10
- var _withDeterministicId = require("@instructure/ui-react-utils/lib/DeterministicIdContext/withDeterministicId.js");
10
+ var _uiReactUtils = require("@instructure/ui-react-utils");
11
11
  var _dec, _class, _class2;
12
12
  /*
13
13
  * The MIT License (MIT)
@@ -43,7 +43,7 @@ const toggleExpanded = ({
43
43
  category: components/utilities
44
44
  ---
45
45
  **/
46
- let Expandable = exports.Expandable = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec(_class = (_class2 = class Expandable extends _react.Component {
46
+ let Expandable = exports.Expandable = (_dec = (0, _uiReactUtils.withDeterministicId)(), _dec(_class = (_class2 = class Expandable extends _react.Component {
47
47
  constructor(props) {
48
48
  super(props);
49
49
  this._contentId = void 0;
@@ -88,7 +88,7 @@ let Expandable = exports.Expandable = (_dec = (0, _withDeterministicId.withDeter
88
88
  return {
89
89
  'aria-controls': this._contentId,
90
90
  'aria-expanded': this.expanded,
91
- onClick: (0, _createChainedFunction.createChainedFunction)(this.handleToggle, props.onClick),
91
+ onClick: (0, _uiUtils.createChainedFunction)(this.handleToggle, props.onClick),
92
92
  ...props
93
93
  };
94
94
  },
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.propTypes = exports.allowedProps = void 0;
8
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
9
- var _controllable = require("@instructure/ui-prop-types/lib/controllable.js");
9
+ var _uiPropTypes = require("@instructure/ui-prop-types");
10
10
  /*
11
11
  * The MIT License (MIT)
12
12
  *
@@ -32,7 +32,7 @@ var _controllable = require("@instructure/ui-prop-types/lib/controllable.js");
32
32
  */
33
33
 
34
34
  const propTypes = exports.propTypes = {
35
- expanded: (0, _controllable.controllable)(_propTypes.default.bool, 'onToggle', 'defaultExpanded'),
35
+ expanded: (0, _uiPropTypes.controllable)(_propTypes.default.bool, 'onToggle', 'defaultExpanded'),
36
36
  defaultExpanded: _propTypes.default.bool,
37
37
  onToggle: _propTypes.default.func,
38
38
  children: _propTypes.default.func,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-expandable",
3
- "version": "8.56.0",
3
+ "version": "8.56.2-pr-snapshot-1721749364069",
4
4
  "description": "A utility component for show/hide functionality",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -24,17 +24,17 @@
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
26
  "@babel/runtime": "^7.23.2",
27
- "@instructure/shared-types": "8.56.0",
28
- "@instructure/ui-prop-types": "8.56.0",
29
- "@instructure/ui-react-utils": "8.56.0",
30
- "@instructure/ui-testable": "8.56.0",
31
- "@instructure/ui-utils": "8.56.0",
32
- "@instructure/uid": "8.56.0",
27
+ "@instructure/shared-types": "8.56.2-pr-snapshot-1721749364069",
28
+ "@instructure/ui-prop-types": "8.56.2-pr-snapshot-1721749364069",
29
+ "@instructure/ui-react-utils": "8.56.2-pr-snapshot-1721749364069",
30
+ "@instructure/ui-testable": "8.56.2-pr-snapshot-1721749364069",
31
+ "@instructure/ui-utils": "8.56.2-pr-snapshot-1721749364069",
32
+ "@instructure/uid": "8.56.2-pr-snapshot-1721749364069",
33
33
  "prop-types": "^15.8.1"
34
34
  },
35
35
  "devDependencies": {
36
- "@instructure/ui-babel-preset": "8.56.0",
37
- "@instructure/ui-color-utils": "8.56.0",
36
+ "@instructure/ui-babel-preset": "8.56.2-pr-snapshot-1721749364069",
37
+ "@instructure/ui-color-utils": "8.56.2-pr-snapshot-1721749364069",
38
38
  "@testing-library/jest-dom": "^6.1.4",
39
39
  "@testing-library/react": "^14.1.2",
40
40
  "@testing-library/user-event": "^14.5.1"