@instructure/ui-buttons 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-buttons
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-buttons
@@ -25,7 +25,11 @@ import { locator } from '@instructure/ui-test-locator';
25
25
  import { find } from '@instructure/ui-test-queries';
26
26
  import { BaseButton } from './index';
27
27
  export const BaseButtonLocator = locator(BaseButton.selector, {
28
- click: async (element, ...args) => {
28
+ click: async function (element) {
29
+ for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
30
+ args[_key - 1] = arguments[_key];
31
+ }
32
+
29
33
  return (await find(element, 'a,button,[role="button"]')).click(...args);
30
34
  }
31
35
  });
@@ -46,8 +46,8 @@ category: components/utilities
46
46
  ---
47
47
  **/
48
48
  let BaseButton = (_dec = withStyle(generateStyles, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_temp = _class2 = class BaseButton extends Component {
49
- constructor(...args) {
50
- super(...args);
49
+ constructor() {
50
+ super(...arguments);
51
51
  this.ref = null;
52
52
 
53
53
  this.handleElementRef = el => {
@@ -24,27 +24,29 @@
24
24
  import { alpha, darken } from '@instructure/ui-color-utils';
25
25
  const activeShadow = 'inset 0 0 0.1875rem 0.0625rem';
26
26
 
27
- const generateButtonThemeVars = ({
28
- style,
29
- textColor,
30
- ghostTextColor,
31
- backgroundColor,
32
- borderColor,
33
- ghostBorderColor = borderColor
34
- }) => ({
35
- [`${style}Color`]: textColor,
36
- [`${style}BorderColor`]: darken(borderColor, 10),
37
- [`${style}Background`]: backgroundColor,
38
- [`${style}HoverBackground`]: darken(backgroundColor, 10),
39
- [`${style}ActiveBackground`]: darken(backgroundColor, 10),
40
- [`${style}ActiveBoxShadow`]: `${activeShadow} ${darken(borderColor, 20, 0.45)}`,
41
- [`${style}GhostColor`]: ghostTextColor,
42
- [`${style}GhostBorderColor`]: ghostBorderColor,
43
- [`${style}GhostBackground`]: 'transparent',
44
- [`${style}GhostHoverBackground`]: alpha(ghostTextColor, 10),
45
- [`${style}GhostActiveBackground`]: 'transparent',
46
- [`${style}GhostActiveBoxShadow`]: `${activeShadow} ${alpha(ghostBorderColor, 28)}`
47
- });
27
+ const generateButtonThemeVars = _ref => {
28
+ let style = _ref.style,
29
+ textColor = _ref.textColor,
30
+ ghostTextColor = _ref.ghostTextColor,
31
+ backgroundColor = _ref.backgroundColor,
32
+ borderColor = _ref.borderColor,
33
+ _ref$ghostBorderColor = _ref.ghostBorderColor,
34
+ ghostBorderColor = _ref$ghostBorderColor === void 0 ? borderColor : _ref$ghostBorderColor;
35
+ return {
36
+ [`${style}Color`]: textColor,
37
+ [`${style}BorderColor`]: darken(borderColor, 10),
38
+ [`${style}Background`]: backgroundColor,
39
+ [`${style}HoverBackground`]: darken(backgroundColor, 10),
40
+ [`${style}ActiveBackground`]: darken(backgroundColor, 10),
41
+ [`${style}ActiveBoxShadow`]: `${activeShadow} ${darken(borderColor, 20, 0.45)}`,
42
+ [`${style}GhostColor`]: ghostTextColor,
43
+ [`${style}GhostBorderColor`]: ghostBorderColor,
44
+ [`${style}GhostBackground`]: 'transparent',
45
+ [`${style}GhostHoverBackground`]: alpha(ghostTextColor, 10),
46
+ [`${style}GhostActiveBackground`]: 'transparent',
47
+ [`${style}GhostActiveBoxShadow`]: `${activeShadow} ${alpha(ghostBorderColor, 28)}`
48
+ };
49
+ };
48
50
  /**
49
51
  * Generates the theme object for the component from the theme and provided additional information
50
52
  * @param {Object} theme The actual theme object.
@@ -25,7 +25,11 @@ import { locator } from '@instructure/ui-test-locator';
25
25
  import { find } from '@instructure/ui-test-queries';
26
26
  import { Button } from './index';
27
27
  export const ButtonLocator = locator(Button.selector, {
28
- click: async (element, ...args) => {
28
+ click: async function (element) {
29
+ for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
30
+ args[_key - 1] = arguments[_key];
31
+ }
32
+
29
33
  return (await find(element, 'a,button,[role="button"]')).click(...args);
30
34
  }
31
35
  });
@@ -41,8 +41,8 @@ category: components
41
41
  **/
42
42
  // needed for listing the available theme variables on docs page
43
43
  let Button = (_dec = withStyle(null, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_temp = _class2 = class Button extends Component {
44
- constructor(...args) {
45
- super(...args);
44
+ constructor() {
45
+ super(...arguments);
46
46
  this._buttonComponent = null;
47
47
  this.ref = null;
48
48
 
@@ -45,8 +45,8 @@ category: components
45
45
  ---
46
46
  **/
47
47
  let CloseButton = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_temp = _class2 = class CloseButton extends Component {
48
- constructor(...args) {
49
- super(...args);
48
+ constructor() {
49
+ super(...arguments);
50
50
  this.ref = null;
51
51
 
52
52
  this.handleRef = el => {
@@ -25,7 +25,11 @@ import { locator } from '@instructure/ui-test-locator';
25
25
  import { find } from '@instructure/ui-test-queries';
26
26
  import { CondensedButton } from './index';
27
27
  export const CondensedButtonLocator = locator(CondensedButton.selector, {
28
- click: async (element, ...args) => {
28
+ click: async function (element) {
29
+ for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
30
+ args[_key - 1] = arguments[_key];
31
+ }
32
+
29
33
  return (await find(element, 'a,button,[role="button"]')).click(...args);
30
34
  }
31
35
  });
@@ -41,8 +41,8 @@ category: components
41
41
  **/
42
42
  // needed for listing the available theme variables on docs page
43
43
  let CondensedButton = (_dec = withStyle(null, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_temp = _class2 = class CondensedButton extends Component {
44
- constructor(...args) {
45
- super(...args);
44
+ constructor() {
45
+ super(...arguments);
46
46
  this._baseButton = null;
47
47
  this.ref = null;
48
48
 
@@ -25,7 +25,11 @@ import { locator } from '@instructure/ui-test-locator';
25
25
  import { find } from '@instructure/ui-test-queries';
26
26
  import { IconButton } from './index';
27
27
  export const IconButtonLocator = locator(IconButton.selector, {
28
- click: async (element, ...args) => {
28
+ click: async function (element) {
29
+ for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
30
+ args[_key - 1] = arguments[_key];
31
+ }
32
+
29
33
  return (await find(element, 'a,button,[role="button"]')).click(...args);
30
34
  }
31
35
  });
@@ -42,8 +42,8 @@ category: components
42
42
  **/
43
43
  // needed for listing the available theme variables on docs page
44
44
  let IconButton = (_dec = withStyle(null, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_temp = _class2 = class IconButton extends Component {
45
- constructor(...args) {
46
- super(...args);
45
+ constructor() {
46
+ super(...arguments);
47
47
  this._baseButton = null;
48
48
  this.ref = null;
49
49
 
@@ -27,8 +27,8 @@ import { find, parseQueryArguments } from '@instructure/ui-test-queries'; // esl
27
27
  import { TooltipLocator } from '@instructure/ui-tooltip/es/Tooltip/TooltipLocator';
28
28
  import { ToggleButton } from './index';
29
29
  export const ToggleButtonLocator = locator(ToggleButton.selector, {
30
- findTooltipContent: async (...args) => {
31
- const _parseQueryArguments = parseQueryArguments(...args),
30
+ findTooltipContent: async function () {
31
+ const _parseQueryArguments = parseQueryArguments(...arguments),
32
32
  element = _parseQueryArguments.element,
33
33
  selector = _parseQueryArguments.selector,
34
34
  options = _parseQueryArguments.options;
@@ -36,7 +36,11 @@ export const ToggleButtonLocator = locator(ToggleButton.selector, {
36
36
  const tooltip = await TooltipLocator.find(element, options);
37
37
  return tooltip ? tooltip.findContent(selector, options) : null;
38
38
  },
39
- click: async (element, ...args) => {
39
+ click: async function (element) {
40
+ for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
41
+ args[_key - 1] = arguments[_key];
42
+ }
43
+
40
44
  return (await find(element, 'a,button,[role="button"]')).click(...args);
41
45
  }
42
46
  });
@@ -35,7 +35,11 @@ var _index = require("./index");
35
35
  * SOFTWARE.
36
36
  */
37
37
  const BaseButtonLocator = (0, _locator.locator)(_index.BaseButton.selector, {
38
- click: async (element, ...args) => {
38
+ click: async function (element) {
39
+ for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
40
+ args[_key - 1] = arguments[_key];
41
+ }
42
+
39
43
  return (await (0, _uiTestQueries.find)(element, 'a,button,[role="button"]')).click(...args);
40
44
  }
41
45
  });
@@ -47,8 +47,8 @@ category: components/utilities
47
47
  ---
48
48
  **/
49
49
  let BaseButton = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_temp = _class2 = class BaseButton extends _react.Component {
50
- constructor(...args) {
51
- super(...args);
50
+ constructor() {
51
+ super(...arguments);
52
52
  this.ref = null;
53
53
 
54
54
  this.handleElementRef = el => {
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.allowedProps = exports.propTypes = void 0;
8
+ exports.propTypes = exports.allowedProps = void 0;
9
9
 
10
10
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
11
 
@@ -34,27 +34,29 @@ var _darken = require("@instructure/ui-color-utils/lib/darken.js");
34
34
  */
35
35
  const activeShadow = 'inset 0 0 0.1875rem 0.0625rem';
36
36
 
37
- const generateButtonThemeVars = ({
38
- style,
39
- textColor,
40
- ghostTextColor,
41
- backgroundColor,
42
- borderColor,
43
- ghostBorderColor = borderColor
44
- }) => ({
45
- [`${style}Color`]: textColor,
46
- [`${style}BorderColor`]: (0, _darken.darken)(borderColor, 10),
47
- [`${style}Background`]: backgroundColor,
48
- [`${style}HoverBackground`]: (0, _darken.darken)(backgroundColor, 10),
49
- [`${style}ActiveBackground`]: (0, _darken.darken)(backgroundColor, 10),
50
- [`${style}ActiveBoxShadow`]: `${activeShadow} ${(0, _darken.darken)(borderColor, 20, 0.45)}`,
51
- [`${style}GhostColor`]: ghostTextColor,
52
- [`${style}GhostBorderColor`]: ghostBorderColor,
53
- [`${style}GhostBackground`]: 'transparent',
54
- [`${style}GhostHoverBackground`]: (0, _alpha.alpha)(ghostTextColor, 10),
55
- [`${style}GhostActiveBackground`]: 'transparent',
56
- [`${style}GhostActiveBoxShadow`]: `${activeShadow} ${(0, _alpha.alpha)(ghostBorderColor, 28)}`
57
- });
37
+ const generateButtonThemeVars = _ref => {
38
+ let style = _ref.style,
39
+ textColor = _ref.textColor,
40
+ ghostTextColor = _ref.ghostTextColor,
41
+ backgroundColor = _ref.backgroundColor,
42
+ borderColor = _ref.borderColor,
43
+ _ref$ghostBorderColor = _ref.ghostBorderColor,
44
+ ghostBorderColor = _ref$ghostBorderColor === void 0 ? borderColor : _ref$ghostBorderColor;
45
+ return {
46
+ [`${style}Color`]: textColor,
47
+ [`${style}BorderColor`]: (0, _darken.darken)(borderColor, 10),
48
+ [`${style}Background`]: backgroundColor,
49
+ [`${style}HoverBackground`]: (0, _darken.darken)(backgroundColor, 10),
50
+ [`${style}ActiveBackground`]: (0, _darken.darken)(backgroundColor, 10),
51
+ [`${style}ActiveBoxShadow`]: `${activeShadow} ${(0, _darken.darken)(borderColor, 20, 0.45)}`,
52
+ [`${style}GhostColor`]: ghostTextColor,
53
+ [`${style}GhostBorderColor`]: ghostBorderColor,
54
+ [`${style}GhostBackground`]: 'transparent',
55
+ [`${style}GhostHoverBackground`]: (0, _alpha.alpha)(ghostTextColor, 10),
56
+ [`${style}GhostActiveBackground`]: 'transparent',
57
+ [`${style}GhostActiveBoxShadow`]: `${activeShadow} ${(0, _alpha.alpha)(ghostBorderColor, 28)}`
58
+ };
59
+ };
58
60
  /**
59
61
  * Generates the theme object for the component from the theme and provided additional information
60
62
  * @param {Object} theme The actual theme object.
@@ -35,7 +35,11 @@ var _index = require("./index");
35
35
  * SOFTWARE.
36
36
  */
37
37
  const ButtonLocator = (0, _locator.locator)(_index.Button.selector, {
38
- click: async (element, ...args) => {
38
+ click: async function (element) {
39
+ for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
40
+ args[_key - 1] = arguments[_key];
41
+ }
42
+
39
43
  return (await (0, _uiTestQueries.find)(element, 'a,button,[role="button"]')).click(...args);
40
44
  }
41
45
  });
@@ -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.Button = exports.default = void 0;
10
+ exports.default = exports.Button = void 0;
11
11
 
12
12
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
13
13
 
@@ -38,8 +38,8 @@ category: components
38
38
  **/
39
39
  // needed for listing the available theme variables on docs page
40
40
  let Button = (_dec = (0, _emotion.withStyle)(null, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_temp = _class2 = class Button extends _react.Component {
41
- constructor(...args) {
42
- super(...args);
41
+ constructor() {
42
+ super(...arguments);
43
43
  this._buttonComponent = null;
44
44
  this.ref = null;
45
45
 
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.allowedProps = exports.propTypes = void 0;
8
+ exports.propTypes = exports.allowedProps = void 0;
9
9
 
10
10
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
11
 
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.CloseButton = exports.default = void 0;
8
+ exports.default = exports.CloseButton = void 0;
9
9
 
10
10
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
11
11
 
@@ -41,8 +41,8 @@ category: components
41
41
  ---
42
42
  **/
43
43
  let CloseButton = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_temp = _class2 = class CloseButton extends _react.Component {
44
- constructor(...args) {
45
- super(...args);
44
+ constructor() {
45
+ super(...arguments);
46
46
  this.ref = null;
47
47
 
48
48
  this.handleRef = el => {
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.allowedProps = exports.propTypes = void 0;
8
+ exports.propTypes = exports.allowedProps = void 0;
9
9
 
10
10
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
11
 
@@ -35,7 +35,11 @@ var _index = require("./index");
35
35
  * SOFTWARE.
36
36
  */
37
37
  const CondensedButtonLocator = (0, _locator.locator)(_index.CondensedButton.selector, {
38
- click: async (element, ...args) => {
38
+ click: async function (element) {
39
+ for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
40
+ args[_key - 1] = arguments[_key];
41
+ }
42
+
39
43
  return (await (0, _uiTestQueries.find)(element, 'a,button,[role="button"]')).click(...args);
40
44
  }
41
45
  });
@@ -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.CondensedButton = exports.default = void 0;
10
+ exports.default = exports.CondensedButton = void 0;
11
11
 
12
12
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
13
13
 
@@ -36,8 +36,8 @@ category: components
36
36
  **/
37
37
  // needed for listing the available theme variables on docs page
38
38
  let CondensedButton = (_dec = (0, _emotion.withStyle)(null, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_temp = _class2 = class CondensedButton extends _react.Component {
39
- constructor(...args) {
40
- super(...args);
39
+ constructor() {
40
+ super(...arguments);
41
41
  this._baseButton = null;
42
42
  this.ref = null;
43
43
 
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.allowedProps = exports.propTypes = void 0;
8
+ exports.propTypes = exports.allowedProps = void 0;
9
9
 
10
10
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
11
 
@@ -35,7 +35,11 @@ var _index = require("./index");
35
35
  * SOFTWARE.
36
36
  */
37
37
  const IconButtonLocator = (0, _locator.locator)(_index.IconButton.selector, {
38
- click: async (element, ...args) => {
38
+ click: async function (element) {
39
+ for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
40
+ args[_key - 1] = arguments[_key];
41
+ }
42
+
39
43
  return (await (0, _uiTestQueries.find)(element, 'a,button,[role="button"]')).click(...args);
40
44
  }
41
45
  });
@@ -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.IconButton = exports.default = void 0;
10
+ exports.default = exports.IconButton = void 0;
11
11
 
12
12
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
13
13
 
@@ -38,8 +38,8 @@ category: components
38
38
  **/
39
39
  // needed for listing the available theme variables on docs page
40
40
  let IconButton = (_dec = (0, _emotion.withStyle)(null, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_temp = _class2 = class IconButton extends _react.Component {
41
- constructor(...args) {
42
- super(...args);
41
+ constructor() {
42
+ super(...arguments);
43
43
  this._baseButton = null;
44
44
  this.ref = null;
45
45
 
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.allowedProps = exports.propTypes = void 0;
8
+ exports.propTypes = exports.allowedProps = void 0;
9
9
 
10
10
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
11
 
@@ -38,8 +38,8 @@ var _index = require("./index");
38
38
  */
39
39
  // eslint-disable-next-line no-restricted-imports
40
40
  const ToggleButtonLocator = (0, _locator.locator)(_index.ToggleButton.selector, {
41
- findTooltipContent: async (...args) => {
42
- const _parseQueryArguments = (0, _uiTestQueries.parseQueryArguments)(...args),
41
+ findTooltipContent: async function () {
42
+ const _parseQueryArguments = (0, _uiTestQueries.parseQueryArguments)(...arguments),
43
43
  element = _parseQueryArguments.element,
44
44
  selector = _parseQueryArguments.selector,
45
45
  options = _parseQueryArguments.options;
@@ -47,7 +47,11 @@ const ToggleButtonLocator = (0, _locator.locator)(_index.ToggleButton.selector,
47
47
  const tooltip = await _TooltipLocator.TooltipLocator.find(element, options);
48
48
  return tooltip ? tooltip.findContent(selector, options) : null;
49
49
  },
50
- click: async (element, ...args) => {
50
+ click: async function (element) {
51
+ for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
52
+ args[_key - 1] = arguments[_key];
53
+ }
54
+
51
55
  return (await (0, _uiTestQueries.find)(element, 'a,button,[role="button"]')).click(...args);
52
56
  }
53
57
  });
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.allowedProps = exports.propTypes = void 0;
8
+ exports.propTypes = exports.allowedProps = void 0;
9
9
 
10
10
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-buttons",
3
- "version": "8.12.1-snapshot.7+1e7ac8219",
3
+ "version": "8.13.0",
4
4
  "description": "Accessible button components",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "type": "commonjs",
@@ -24,28 +24,28 @@
24
24
  },
25
25
  "license": "MIT",
26
26
  "devDependencies": {
27
- "@instructure/ui-babel-preset": "8.12.1-snapshot.7+1e7ac8219",
28
- "@instructure/ui-test-locator": "8.12.1-snapshot.7+1e7ac8219",
29
- "@instructure/ui-test-queries": "8.12.1-snapshot.7+1e7ac8219",
30
- "@instructure/ui-test-utils": "8.12.1-snapshot.7+1e7ac8219",
31
- "@instructure/ui-themes": "8.12.1-snapshot.7+1e7ac8219"
27
+ "@instructure/ui-babel-preset": "8.13.0",
28
+ "@instructure/ui-test-locator": "8.13.0",
29
+ "@instructure/ui-test-queries": "8.13.0",
30
+ "@instructure/ui-test-utils": "8.13.0",
31
+ "@instructure/ui-themes": "8.13.0"
32
32
  },
33
33
  "dependencies": {
34
34
  "@babel/runtime": "^7.13.10",
35
- "@instructure/console": "8.12.1-snapshot.7+1e7ac8219",
36
- "@instructure/emotion": "8.12.1-snapshot.7+1e7ac8219",
37
- "@instructure/shared-types": "8.12.1-snapshot.7+1e7ac8219",
38
- "@instructure/ui-a11y-content": "8.12.1-snapshot.7+1e7ac8219",
39
- "@instructure/ui-a11y-utils": "8.12.1-snapshot.7+1e7ac8219",
40
- "@instructure/ui-color-utils": "8.12.1-snapshot.7+1e7ac8219",
41
- "@instructure/ui-dom-utils": "8.12.1-snapshot.7+1e7ac8219",
42
- "@instructure/ui-icons": "8.12.1-snapshot.7+1e7ac8219",
43
- "@instructure/ui-position": "8.12.1-snapshot.7+1e7ac8219",
44
- "@instructure/ui-react-utils": "8.12.1-snapshot.7+1e7ac8219",
45
- "@instructure/ui-testable": "8.12.1-snapshot.7+1e7ac8219",
46
- "@instructure/ui-tooltip": "8.12.1-snapshot.7+1e7ac8219",
47
- "@instructure/ui-utils": "8.12.1-snapshot.7+1e7ac8219",
48
- "@instructure/ui-view": "8.12.1-snapshot.7+1e7ac8219",
35
+ "@instructure/console": "8.13.0",
36
+ "@instructure/emotion": "8.13.0",
37
+ "@instructure/shared-types": "8.13.0",
38
+ "@instructure/ui-a11y-content": "8.13.0",
39
+ "@instructure/ui-a11y-utils": "8.13.0",
40
+ "@instructure/ui-color-utils": "8.13.0",
41
+ "@instructure/ui-dom-utils": "8.13.0",
42
+ "@instructure/ui-icons": "8.13.0",
43
+ "@instructure/ui-position": "8.13.0",
44
+ "@instructure/ui-react-utils": "8.13.0",
45
+ "@instructure/ui-testable": "8.13.0",
46
+ "@instructure/ui-tooltip": "8.13.0",
47
+ "@instructure/ui-utils": "8.13.0",
48
+ "@instructure/ui-view": "8.13.0",
49
49
  "keycode": "^2",
50
50
  "prop-types": "^15"
51
51
  },
@@ -55,6 +55,5 @@
55
55
  "publishConfig": {
56
56
  "access": "public"
57
57
  },
58
- "sideEffects": false,
59
- "gitHead": "1e7ac821932a91fe9ef761c96f747c7ea1f3925a"
58
+ "sideEffects": false
60
59
  }
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.