@instructure/ui-react-utils 8.12.1-snapshot.7 → 8.13.0

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.13.0](https://github.com/instructure/instructure-ui/compare/v8.12.0...v8.13.0) (2021-12-01)
7
+
8
+ **Note:** Version bump only for package @instructure/ui-react-utils
9
+
6
10
  # [8.12.0](https://github.com/instructure/instructure-ui/compare/v8.11.1...v8.12.0) (2021-11-17)
7
11
 
8
12
  **Note:** Version bump only for package @instructure/ui-react-utils
@@ -32,7 +32,9 @@ import React from 'react';
32
32
  * @param props
33
33
  */
34
34
 
35
- function callRenderProp(value, props = {}) {
35
+ function callRenderProp(value) {
36
+ let props = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
37
+
36
38
  if (typeof value === 'function') {
37
39
  // note: this part is needed for React 16
38
40
  // TODO: Simplify this when we drop React 15
package/es/deprecated.js CHANGED
@@ -41,7 +41,9 @@ const deprecated = (() => {
41
41
  return deprecated;
42
42
  }
43
43
 
44
- const deprecated = decorator((ComposedComponent, version, oldProps, message = '') => {
44
+ const deprecated = decorator(function (ComposedComponent, version, oldProps) {
45
+ let message = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : '';
46
+
45
47
  /**
46
48
  * ---
47
49
  * category: utilities/react
@@ -107,8 +109,10 @@ const deprecated = (() => {
107
109
  */
108
110
  ;
109
111
 
110
- deprecated.deprecatePropValues = (propType, deprecated = [], message) => {
111
- return (props, propName, componentName, ...rest) => {
112
+ deprecated.deprecatePropValues = function (propType) {
113
+ let deprecated = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
114
+ let message = arguments.length > 2 ? arguments[2] : void 0;
115
+ return function (props, propName, componentName) {
112
116
  const isDeprecatedValue = deprecated.includes(props[propName]);
113
117
  const warningMessage = message && typeof message === 'function' ? message({
114
118
  props,
@@ -116,11 +120,17 @@ const deprecated = (() => {
116
120
  propValue: props[propName]
117
121
  }) : `The '${props[propName]}' value for the \`${propName}\` prop is deprecated. ${message || ''}`;
118
122
  warnDeprecated(!isDeprecatedValue, `[${componentName}] ${warningMessage}`);
123
+
124
+ for (var _len = arguments.length, rest = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {
125
+ rest[_key - 3] = arguments[_key];
126
+ }
127
+
119
128
  return isDeprecatedValue ? null : propType(props, propName, componentName, ...rest);
120
129
  };
121
130
  };
122
131
 
123
- function warnDeprecatedProps(componentName, version, props, oldProps, message = '') {
132
+ function warnDeprecatedProps(componentName, version, props, oldProps) {
133
+ let message = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : '';
124
134
  Object.keys(oldProps).forEach(oldProp => {
125
135
  if (typeof props[oldProp] !== 'undefined') {
126
136
  const newProp = typeof oldProps[oldProp] === 'string' ? oldProps[oldProp] : null;
@@ -38,7 +38,8 @@ import { safeCloneElement } from './safeCloneElement';
38
38
  * @returns {ReactElement|null} cloned instance for a single child, or children wrapped in a span
39
39
  */
40
40
 
41
- function ensureSingleChild(child, props = {}) {
41
+ function ensureSingleChild(child) {
42
+ let props = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
42
43
  const childCount = Children.count(child);
43
44
 
44
45
  if (childCount === 0) {
@@ -56,13 +56,15 @@ const experimental = process.env.NODE_ENV == 'production' ? () => ReactComponent
56
56
  };
57
57
  });
58
58
 
59
- function warnExperimentalProps(name, props, experimentalProps, message = '') {
59
+ function warnExperimentalProps(name, props, experimentalProps) {
60
+ let message = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : '';
60
61
  experimentalProps.forEach(experimentalProp => {
61
62
  warn(typeof props[experimentalProp] === 'undefined', `[${name}] The \`${experimentalProp}\` prop is experimental and its API could change significantly in a future release. ${message}`);
62
63
  });
63
64
  }
64
65
 
65
- function warnExperimentalComponent(name, message = '') {
66
+ function warnExperimentalComponent(name) {
67
+ let message = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : '';
66
68
  warn(false, `[${name}] is experimental and its API could change significantly in a future release. ${message}`);
67
69
  }
68
70
 
@@ -38,10 +38,13 @@
38
38
  * @param {Array} args.interactionTypes - an array specifying the interaction types available to the component, ['disabled', 'readonly'] by default
39
39
  * @returns {String} one of 'enabled', 'disabled', or 'readonly'
40
40
  */
41
- export function getInteraction({
42
- props = {},
43
- interactionTypes = ['disabled', 'readonly']
44
- } = {}) {
41
+ export function getInteraction() {
42
+ let _ref = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {},
43
+ _ref$props = _ref.props,
44
+ props = _ref$props === void 0 ? {} : _ref$props,
45
+ _ref$interactionTypes = _ref.interactionTypes,
46
+ interactionTypes = _ref$interactionTypes === void 0 ? ['disabled', 'readonly'] : _ref$interactionTypes;
47
+
45
48
  const interaction = props.interaction,
46
49
  disabled = props.disabled,
47
50
  readOnly = props.readOnly; // interaction is the source of truth when it is provided
package/es/hack.js CHANGED
@@ -70,7 +70,8 @@ const hack = process.env.NODE_ENV == 'production' ? () => Component => Component
70
70
  };
71
71
  });
72
72
 
73
- function warnHackProps(name, props, hackProps, message = '') {
73
+ function warnHackProps(name, props, hackProps) {
74
+ let message = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : '';
74
75
  hackProps.forEach(hackProp => {
75
76
  warn(typeof props[hackProp] === 'undefined', `[${name}] The \`${hackProp}\` prop is a temporary hack and will be removed in a future release. ${message}`);
76
77
  });
@@ -35,7 +35,9 @@ import { getDisplayName } from './getDisplayName';
35
35
  * @param {Array} types an array of React components
36
36
  * @returns {Boolean} true if the component matches at least one of the types
37
37
  */
38
- function matchComponentTypes(componentInstance, types = []) {
38
+ function matchComponentTypes(componentInstance) {
39
+ let types = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
40
+
39
41
  if (componentInstance && componentInstance.type) {
40
42
  const displayNames = types.map(type => getDisplayName(type));
41
43
  return displayNames.indexOf(getDisplayName(componentInstance.type)) >= 0;
@@ -34,7 +34,7 @@ import { createChainedFunction } from '@instructure/ui-utils';
34
34
  * @param children
35
35
  */
36
36
 
37
- function safeCloneElement(element, props, ...children) {
37
+ function safeCloneElement(element, props) {
38
38
  const cloneRef = props.ref;
39
39
  const originalRef = element.ref;
40
40
  const originalRefIsAFunction = typeof originalRef === 'function';
@@ -64,6 +64,10 @@ function safeCloneElement(element, props, ...children) {
64
64
  }
65
65
  });
66
66
 
67
+ for (var _len = arguments.length, children = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
68
+ children[_key - 2] = arguments[_key];
69
+ }
70
+
67
71
  if (originalRef == null || cloneRef == null) {
68
72
  return /*#__PURE__*/React.cloneElement(element, mergedProps, ...children);
69
73
  }
@@ -41,8 +41,8 @@ const windowMessageListener = decorator((ComposedComponent, messageHandler, vali
41
41
  var _class, _temp;
42
42
 
43
43
  return _temp = _class = class extends ComposedComponent {
44
- constructor(...args) {
45
- super(...args);
44
+ constructor() {
45
+ super(...arguments);
46
46
 
47
47
  this.handleMessage = e => {
48
48
  if (this.sourceIsValid(e.source) && e.origin === origin(this) && e.data) {
@@ -7,7 +7,7 @@ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWild
7
7
  Object.defineProperty(exports, "__esModule", {
8
8
  value: true
9
9
  });
10
- exports.ComponentIdentifier = exports.default = void 0;
10
+ exports.default = exports.ComponentIdentifier = void 0;
11
11
 
12
12
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
13
13
 
@@ -43,7 +43,9 @@ var _react = _interopRequireDefault(require("react"));
43
43
  * @param value
44
44
  * @param props
45
45
  */
46
- function callRenderProp(value, props = {}) {
46
+ function callRenderProp(value) {
47
+ let props = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
48
+
47
49
  if (typeof value === 'function') {
48
50
  // note: this part is needed for React 16
49
51
  // TODO: Simplify this when we drop React 15
package/lib/deprecated.js CHANGED
@@ -49,7 +49,9 @@ const deprecated = (() => {
49
49
  return deprecated;
50
50
  }
51
51
 
52
- const deprecated = (0, _decorator.decorator)((ComposedComponent, version, oldProps, message = '') => {
52
+ const deprecated = (0, _decorator.decorator)(function (ComposedComponent, version, oldProps) {
53
+ let message = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : '';
54
+
53
55
  /**
54
56
  * ---
55
57
  * category: utilities/react
@@ -115,8 +117,10 @@ const deprecated = (() => {
115
117
  */
116
118
  ;
117
119
 
118
- deprecated.deprecatePropValues = (propType, deprecated = [], message) => {
119
- return (props, propName, componentName, ...rest) => {
120
+ deprecated.deprecatePropValues = function (propType) {
121
+ let deprecated = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
122
+ let message = arguments.length > 2 ? arguments[2] : void 0;
123
+ return function (props, propName, componentName) {
120
124
  const isDeprecatedValue = deprecated.includes(props[propName]);
121
125
  const warningMessage = message && typeof message === 'function' ? message({
122
126
  props,
@@ -124,11 +128,17 @@ const deprecated = (() => {
124
128
  propValue: props[propName]
125
129
  }) : `The '${props[propName]}' value for the \`${propName}\` prop is deprecated. ${message || ''}`;
126
130
  (0, _console.logWarnDeprecated)(!isDeprecatedValue, `[${componentName}] ${warningMessage}`);
131
+
132
+ for (var _len = arguments.length, rest = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {
133
+ rest[_key - 3] = arguments[_key];
134
+ }
135
+
127
136
  return isDeprecatedValue ? null : propType(props, propName, componentName, ...rest);
128
137
  };
129
138
  };
130
139
 
131
- function warnDeprecatedProps(componentName, version, props, oldProps, message = '') {
140
+ function warnDeprecatedProps(componentName, version, props, oldProps) {
141
+ let message = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : '';
132
142
  Object.keys(oldProps).forEach(oldProp => {
133
143
  if (typeof props[oldProp] !== 'undefined') {
134
144
  const newProp = typeof oldProps[oldProp] === 'string' ? oldProps[oldProp] : null;
@@ -5,8 +5,8 @@ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWild
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.ensureSingleChild = ensureSingleChild;
9
8
  exports.default = void 0;
9
+ exports.ensureSingleChild = ensureSingleChild;
10
10
 
11
11
  var _react = _interopRequireWildcard(require("react"));
12
12
 
@@ -50,7 +50,9 @@ var _safeCloneElement = require("./safeCloneElement");
50
50
  * @param {Object} props - props for child
51
51
  * @returns {ReactElement|null} cloned instance for a single child, or children wrapped in a span
52
52
  */
53
- function ensureSingleChild(child, props = {}) {
53
+ function ensureSingleChild(child) {
54
+ let props = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
55
+
54
56
  const childCount = _react.Children.count(child);
55
57
 
56
58
  if (childCount === 0) {
@@ -66,13 +66,15 @@ const experimental = process.env.NODE_ENV == 'production' ? () => ReactComponent
66
66
  });
67
67
  exports.experimental = experimental;
68
68
 
69
- function warnExperimentalProps(name, props, experimentalProps, message = '') {
69
+ function warnExperimentalProps(name, props, experimentalProps) {
70
+ let message = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : '';
70
71
  experimentalProps.forEach(experimentalProp => {
71
72
  (0, _console.logWarn)(typeof props[experimentalProp] === 'undefined', `[${name}] The \`${experimentalProp}\` prop is experimental and its API could change significantly in a future release. ${message}`);
72
73
  });
73
74
  }
74
75
 
75
- function warnExperimentalComponent(name, message = '') {
76
+ function warnExperimentalComponent(name) {
77
+ let message = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : '';
76
78
  (0, _console.logWarn)(false, `[${name}] is experimental and its API could change significantly in a future release. ${message}`);
77
79
  }
78
80
 
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.getDisplayName = getDisplayName;
7
6
  exports.default = void 0;
7
+ exports.getDisplayName = getDisplayName;
8
8
 
9
9
  /*
10
10
  * The MIT License (MIT)
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.getElementType = getElementType;
7
6
  exports.default = void 0;
7
+ exports.getElementType = getElementType;
8
8
 
9
9
  var _console = require("@instructure/console");
10
10
 
@@ -45,10 +45,13 @@ exports.getInteraction = getInteraction;
45
45
  * @param {Array} args.interactionTypes - an array specifying the interaction types available to the component, ['disabled', 'readonly'] by default
46
46
  * @returns {String} one of 'enabled', 'disabled', or 'readonly'
47
47
  */
48
- function getInteraction({
49
- props = {},
50
- interactionTypes = ['disabled', 'readonly']
51
- } = {}) {
48
+ function getInteraction() {
49
+ let _ref = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {},
50
+ _ref$props = _ref.props,
51
+ props = _ref$props === void 0 ? {} : _ref$props,
52
+ _ref$interactionTypes = _ref.interactionTypes,
53
+ interactionTypes = _ref$interactionTypes === void 0 ? ['disabled', 'readonly'] : _ref$interactionTypes;
54
+
52
55
  const interaction = props.interaction,
53
56
  disabled = props.disabled,
54
57
  readOnly = props.readOnly; // interaction is the source of truth when it is provided
package/lib/hack.js CHANGED
@@ -80,7 +80,8 @@ const hack = process.env.NODE_ENV == 'production' ? () => Component => Component
80
80
  });
81
81
  exports.hack = hack;
82
82
 
83
- function warnHackProps(name, props, hackProps, message = '') {
83
+ function warnHackProps(name, props, hackProps) {
84
+ let message = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : '';
84
85
  hackProps.forEach(hackProp => {
85
86
  (0, _console.logWarn)(typeof props[hackProp] === 'undefined', `[${name}] The \`${hackProp}\` prop is a temporary hack and will be removed in a future release. ${message}`);
86
87
  });
package/lib/index.js CHANGED
@@ -3,16 +3,16 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- Object.defineProperty(exports, "callRenderProp", {
6
+ Object.defineProperty(exports, "ComponentIdentifier", {
7
7
  enumerable: true,
8
8
  get: function () {
9
- return _callRenderProp.callRenderProp;
9
+ return _ComponentIdentifier.ComponentIdentifier;
10
10
  }
11
11
  });
12
- Object.defineProperty(exports, "ComponentIdentifier", {
12
+ Object.defineProperty(exports, "callRenderProp", {
13
13
  enumerable: true,
14
14
  get: function () {
15
- return _ComponentIdentifier.ComponentIdentifier;
15
+ return _callRenderProp.callRenderProp;
16
16
  }
17
17
  });
18
18
  Object.defineProperty(exports, "deprecated", {
@@ -33,12 +33,6 @@ Object.defineProperty(exports, "experimental", {
33
33
  return _experimental.experimental;
34
34
  }
35
35
  });
36
- Object.defineProperty(exports, "hack", {
37
- enumerable: true,
38
- get: function () {
39
- return _hack.hack;
40
- }
41
- });
42
36
  Object.defineProperty(exports, "getDisplayName", {
43
37
  enumerable: true,
44
38
  get: function () {
@@ -57,6 +51,12 @@ Object.defineProperty(exports, "getInteraction", {
57
51
  return _getInteraction.getInteraction;
58
52
  }
59
53
  });
54
+ Object.defineProperty(exports, "hack", {
55
+ enumerable: true,
56
+ get: function () {
57
+ return _hack.hack;
58
+ }
59
+ });
60
60
  Object.defineProperty(exports, "matchComponentTypes", {
61
61
  enumerable: true,
62
62
  get: function () {
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.matchComponentTypes = matchComponentTypes;
7
6
  exports.default = void 0;
7
+ exports.matchComponentTypes = matchComponentTypes;
8
8
 
9
9
  var _getDisplayName = require("./getDisplayName");
10
10
 
@@ -44,7 +44,9 @@ var _getDisplayName = require("./getDisplayName");
44
44
  * @param {Array} types an array of React components
45
45
  * @returns {Boolean} true if the component matches at least one of the types
46
46
  */
47
- function matchComponentTypes(componentInstance, types = []) {
47
+ function matchComponentTypes(componentInstance) {
48
+ let types = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
49
+
48
50
  if (componentInstance && componentInstance.type) {
49
51
  const displayNames = types.map(type => (0, _getDisplayName.getDisplayName)(type));
50
52
  return displayNames.indexOf((0, _getDisplayName.getDisplayName)(componentInstance.type)) >= 0;
package/lib/omitProps.js CHANGED
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.omitProps = omitProps;
7
6
  exports.default = void 0;
7
+ exports.omitProps = omitProps;
8
8
 
9
9
  /*
10
10
  * The MIT License (MIT)
@@ -5,8 +5,8 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.passthroughProps = passthroughProps;
9
8
  exports.default = void 0;
9
+ exports.passthroughProps = passthroughProps;
10
10
 
11
11
  var _isPropValid = _interopRequireDefault(require("@emotion/is-prop-valid"));
12
12
 
package/lib/pickProps.js CHANGED
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.pickProps = pickProps;
7
6
  exports.default = void 0;
7
+ exports.pickProps = pickProps;
8
8
 
9
9
  /*
10
10
  * The MIT License (MIT)
@@ -5,8 +5,8 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.safeCloneElement = safeCloneElement;
9
8
  exports.default = void 0;
9
+ exports.safeCloneElement = safeCloneElement;
10
10
 
11
11
  var _react = _interopRequireDefault(require("react"));
12
12
 
@@ -47,7 +47,7 @@ var _createChainedFunction = require("@instructure/ui-utils/lib/createChainedFun
47
47
  * @param props Props of the element
48
48
  * @param children
49
49
  */
50
- function safeCloneElement(element, props, ...children) {
50
+ function safeCloneElement(element, props) {
51
51
  const cloneRef = props.ref;
52
52
  const originalRef = element.ref;
53
53
  const originalRefIsAFunction = typeof originalRef === 'function';
@@ -77,6 +77,10 @@ function safeCloneElement(element, props, ...children) {
77
77
  }
78
78
  });
79
79
 
80
+ for (var _len = arguments.length, children = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
81
+ children[_key - 2] = arguments[_key];
82
+ }
83
+
80
84
  if (originalRef == null || cloneRef == null) {
81
85
  return /*#__PURE__*/_react.default.cloneElement(element, mergedProps, ...children);
82
86
  }
@@ -3,8 +3,9 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ exports.default = void 0;
6
7
  exports.origin = origin;
7
- exports.windowMessageListener = exports.default = void 0;
8
+ exports.windowMessageListener = void 0;
8
9
 
9
10
  var _decorator = require("@instructure/ui-decorator/lib/decorator.js");
10
11
 
@@ -51,8 +52,8 @@ const windowMessageListener = (0, _decorator.decorator)((ComposedComponent, mess
51
52
  var _class, _temp;
52
53
 
53
54
  return _temp = _class = class extends ComposedComponent {
54
- constructor(...args) {
55
- super(...args);
55
+ constructor() {
56
+ super(...arguments);
56
57
 
57
58
  this.handleMessage = e => {
58
59
  if (this.sourceIsValid(e.source) && e.origin === origin(this) && e.data) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-react-utils",
3
- "version": "8.12.1-snapshot.7+1e7ac8219",
3
+ "version": "8.13.0",
4
4
  "description": "A React utility library made by Instructure Inc.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "type": "commonjs",
@@ -23,17 +23,17 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@instructure/ui-babel-preset": "8.12.1-snapshot.7+1e7ac8219",
27
- "@instructure/ui-test-utils": "8.12.1-snapshot.7+1e7ac8219"
26
+ "@instructure/ui-babel-preset": "8.13.0",
27
+ "@instructure/ui-test-utils": "8.13.0"
28
28
  },
29
29
  "dependencies": {
30
30
  "@babel/runtime": "^7.13.10",
31
31
  "@emotion/is-prop-valid": "^1",
32
- "@instructure/console": "8.12.1-snapshot.7+1e7ac8219",
33
- "@instructure/shared-types": "8.12.1-snapshot.7+1e7ac8219",
34
- "@instructure/ui-decorator": "8.12.1-snapshot.7+1e7ac8219",
35
- "@instructure/ui-dom-utils": "8.12.1-snapshot.7+1e7ac8219",
36
- "@instructure/ui-utils": "8.12.1-snapshot.7+1e7ac8219",
32
+ "@instructure/console": "8.13.0",
33
+ "@instructure/shared-types": "8.13.0",
34
+ "@instructure/ui-decorator": "8.13.0",
35
+ "@instructure/ui-dom-utils": "8.13.0",
36
+ "@instructure/ui-utils": "8.13.0",
37
37
  "prop-types": "^15"
38
38
  },
39
39
  "peerDependencies": {
@@ -43,6 +43,5 @@
43
43
  "publishConfig": {
44
44
  "access": "public"
45
45
  },
46
- "sideEffects": false,
47
- "gitHead": "1e7ac821932a91fe9ef761c96f747c7ea1f3925a"
46
+ "sideEffects": false
48
47
  }
package/LICENSE.md DELETED
@@ -1,27 +0,0 @@
1
- ---
2
- title: The MIT License (MIT)
3
- category: Getting Started
4
- order: 9
5
- ---
6
-
7
- # The MIT License (MIT)
8
-
9
- Copyright (c) 2015 Instructure, Inc.
10
-
11
- **Permission is hereby granted, free of charge, to any person obtaining a copy
12
- of this software and associated documentation files (the "Software"), to deal
13
- in the Software without restriction, including without limitation the rights
14
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
- copies of the Software, and to permit persons to whom the Software is
16
- furnished to do so, subject to the following conditions.**
17
-
18
- The above copyright notice and this permission notice shall be included in all
19
- copies or substantial portions of the Software.
20
-
21
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27
- SOFTWARE.