@instructure/ui-buttons 8.23.0 → 8.23.1-snapshot.11

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/LICENSE.md ADDED
@@ -0,0 +1,27 @@
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.
@@ -1,7 +1,7 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  const _excluded = ["type", "size", "elementRef", "as", "href", "color", "focusColor", "textAlign", "shape", "display", "withBackground", "withBorder", "isCondensed", "margin", "cursor", "onClick", "renderIcon", "tabIndex", "styles", "makeStyles"];
3
3
 
4
- var _dec, _dec2, _class, _class2, _temp;
4
+ var _dec, _dec2, _class, _class2;
5
5
 
6
6
  /*
7
7
  * The MIT License (MIT)
@@ -47,7 +47,7 @@ category: components/utilities
47
47
  ---
48
48
  @tsProps
49
49
  **/
50
- let BaseButton = (_dec = withStyle(generateStyles, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_temp = _class2 = class BaseButton extends Component {
50
+ let BaseButton = (_dec = withStyle(generateStyles, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_class2 = class BaseButton extends Component {
51
51
  constructor() {
52
52
  super(...arguments);
53
53
  this.ref = null;
@@ -300,6 +300,6 @@ let BaseButton = (_dec = withStyle(generateStyles, generateComponentTheme), _dec
300
300
  isCondensed: false,
301
301
  margin: '0',
302
302
  cursor: 'pointer'
303
- }, _temp)) || _class) || _class);
303
+ }, _class2)) || _class) || _class);
304
304
  export { BaseButton };
305
305
  export default BaseButton;
@@ -1,7 +1,7 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  const _excluded = ["children", "type", "size", "as", "color", "focusColor", "display", "textAlign", "withBackground", "margin", "cursor", "href", "renderIcon"];
3
3
 
4
- var _dec, _dec2, _class, _class2, _temp;
4
+ var _dec, _dec2, _class, _class2;
5
5
 
6
6
  /*
7
7
  * The MIT License (MIT)
@@ -41,7 +41,7 @@ category: components
41
41
  @tsProps
42
42
  **/
43
43
  // needed for listing the available theme variables on docs page
44
- let Button = (_dec = withStyle(null, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_temp = _class2 = class Button extends Component {
44
+ let Button = (_dec = withStyle(null, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_class2 = class Button extends Component {
45
45
  constructor() {
46
46
  super(...arguments);
47
47
  this._buttonComponent = null;
@@ -123,6 +123,6 @@ let Button = (_dec = withStyle(null, generateComponentTheme), _dec2 = testable()
123
123
  withBackground: true,
124
124
  margin: '0',
125
125
  cursor: 'pointer'
126
- }, _temp)) || _class) || _class);
126
+ }, _class2)) || _class) || _class);
127
127
  export default Button;
128
128
  export { Button };
@@ -1,7 +1,7 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  const _excluded = ["screenReaderLabel", "elementRef", "size", "onClick", "margin", "placement", "offset", "type", "as", "href", "cursor", "tabIndex", "styles"];
3
3
 
4
- var _dec, _dec2, _class, _class2, _temp;
4
+ var _dec, _dec2, _class, _class2;
5
5
 
6
6
  /*
7
7
  * The MIT License (MIT)
@@ -45,7 +45,7 @@ category: components
45
45
  ---
46
46
  @tsProps
47
47
  **/
48
- let CloseButton = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_temp = _class2 = class CloseButton extends Component {
48
+ let CloseButton = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_class2 = class CloseButton extends Component {
49
49
  constructor() {
50
50
  super(...arguments);
51
51
  this.ref = null;
@@ -130,6 +130,6 @@ let CloseButton = (_dec = withStyle(generateStyle, generateComponentTheme), _dec
130
130
  margin: '0',
131
131
  as: 'button',
132
132
  cursor: 'pointer'
133
- }, _temp)) || _class) || _class);
133
+ }, _class2)) || _class) || _class);
134
134
  export default CloseButton;
135
135
  export { CloseButton };
@@ -1,7 +1,7 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  const _excluded = ["children", "type", "size", "elementRef", "as", "interaction", "color", "margin", "cursor", "href", "renderIcon"];
3
3
 
4
- var _dec, _dec2, _class, _class2, _temp;
4
+ var _dec, _dec2, _class, _class2;
5
5
 
6
6
  /*
7
7
  * The MIT License (MIT)
@@ -41,7 +41,7 @@ category: components
41
41
  @tsProps
42
42
  **/
43
43
  // needed for listing the available theme variables on docs page
44
- let CondensedButton = (_dec = withStyle(null, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_temp = _class2 = class CondensedButton extends Component {
44
+ let CondensedButton = (_dec = withStyle(null, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_class2 = class CondensedButton extends Component {
45
45
  constructor() {
46
46
  super(...arguments);
47
47
  this._baseButton = null;
@@ -111,6 +111,6 @@ let CondensedButton = (_dec = withStyle(null, generateComponentTheme), _dec2 = t
111
111
  color: 'primary',
112
112
  margin: '0',
113
113
  cursor: 'pointer'
114
- }, _temp)) || _class) || _class);
114
+ }, _class2)) || _class) || _class);
115
115
  export default CondensedButton;
116
116
  export { CondensedButton };
@@ -1,7 +1,7 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  const _excluded = ["children", "renderIcon", "screenReaderLabel", "type", "size", "elementRef", "as", "interaction", "color", "focusColor", "shape", "withBackground", "withBorder", "margin", "cursor", "href"];
3
3
 
4
- var _dec, _dec2, _class, _class2, _temp;
4
+ var _dec, _dec2, _class, _class2;
5
5
 
6
6
  /*
7
7
  * The MIT License (MIT)
@@ -42,7 +42,7 @@ category: components
42
42
  @tsProps
43
43
  **/
44
44
  // needed for listing the available theme variables on docs page
45
- let IconButton = (_dec = withStyle(null, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_temp = _class2 = class IconButton extends Component {
45
+ let IconButton = (_dec = withStyle(null, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_class2 = class IconButton extends Component {
46
46
  constructor() {
47
47
  super(...arguments);
48
48
  this._baseButton = null;
@@ -121,6 +121,6 @@ let IconButton = (_dec = withStyle(null, generateComponentTheme), _dec2 = testab
121
121
  withBorder: true,
122
122
  margin: '0',
123
123
  cursor: 'pointer'
124
- }, _temp)) || _class) || _class);
124
+ }, _class2)) || _class) || _class);
125
125
  export default IconButton;
126
126
  export { IconButton };
@@ -1,7 +1,7 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  const _excluded = ["as", "color", "elementRef", "size", "interaction", "mountNode", "renderIcon", "renderTooltipContent", "screenReaderLabel", "status", "placement", "onClick"];
3
3
 
4
- var _dec, _class, _class2, _temp;
4
+ var _dec, _class, _class2;
5
5
 
6
6
  /*
7
7
  * The MIT License (MIT)
@@ -39,7 +39,7 @@ category: components
39
39
  ---
40
40
  @tsProps
41
41
  **/
42
- let ToggleButton = (_dec = testable(), _dec(_class = (_temp = _class2 = class ToggleButton extends Component {
42
+ let ToggleButton = (_dec = testable(), _dec(_class = (_class2 = class ToggleButton extends Component {
43
43
  constructor(props) {
44
44
  super(props);
45
45
  this.ref = null;
@@ -118,6 +118,6 @@ let ToggleButton = (_dec = testable(), _dec(_class = (_temp = _class2 = class To
118
118
  color: 'secondary',
119
119
  placement: 'top center',
120
120
  constrain: 'window'
121
- }, _temp)) || _class);
121
+ }, _class2)) || _class);
122
122
  export { ToggleButton };
123
123
  export default ToggleButton;
@@ -43,7 +43,7 @@ var _props = require("./props");
43
43
 
44
44
  const _excluded = ["type", "size", "elementRef", "as", "href", "color", "focusColor", "textAlign", "shape", "display", "withBackground", "withBorder", "isCondensed", "margin", "cursor", "onClick", "renderIcon", "tabIndex", "styles", "makeStyles"];
45
45
 
46
- var _dec, _dec2, _class, _class2, _temp;
46
+ var _dec, _dec2, _class, _class2;
47
47
 
48
48
  /**
49
49
  ---
@@ -51,7 +51,7 @@ category: components/utilities
51
51
  ---
52
52
  @tsProps
53
53
  **/
54
- 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 {
54
+ let BaseButton = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class BaseButton extends _react.Component {
55
55
  constructor() {
56
56
  super(...arguments);
57
57
  this.ref = null;
@@ -303,7 +303,7 @@ let BaseButton = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default
303
303
  isCondensed: false,
304
304
  margin: '0',
305
305
  cursor: 'pointer'
306
- }, _temp)) || _class) || _class);
306
+ }, _class2)) || _class) || _class);
307
307
  exports.BaseButton = BaseButton;
308
308
  var _default = BaseButton;
309
309
  exports.default = _default;
@@ -29,7 +29,7 @@ var _props = require("./props");
29
29
 
30
30
  const _excluded = ["children", "type", "size", "as", "color", "focusColor", "display", "textAlign", "withBackground", "margin", "cursor", "href", "renderIcon"];
31
31
 
32
- var _dec, _dec2, _class, _class2, _temp;
32
+ var _dec, _dec2, _class, _class2;
33
33
 
34
34
  /**
35
35
  ---
@@ -38,7 +38,7 @@ category: components
38
38
  @tsProps
39
39
  **/
40
40
  // needed for listing the available theme variables on docs page
41
- 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
+ let Button = (_dec = (0, _emotion.withStyle)(null, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class Button extends _react.Component {
42
42
  constructor() {
43
43
  super(...arguments);
44
44
  this._buttonComponent = null;
@@ -119,7 +119,7 @@ let Button = (_dec = (0, _emotion.withStyle)(null, _theme.default), _dec2 = (0,
119
119
  withBackground: true,
120
120
  margin: '0',
121
121
  cursor: 'pointer'
122
- }, _temp)) || _class) || _class);
122
+ }, _class2)) || _class) || _class);
123
123
  exports.Button = Button;
124
124
  var _default = Button;
125
125
  exports.default = _default;
@@ -33,7 +33,7 @@ var _props = require("./props");
33
33
 
34
34
  const _excluded = ["screenReaderLabel", "elementRef", "size", "onClick", "margin", "placement", "offset", "type", "as", "href", "cursor", "tabIndex", "styles"];
35
35
 
36
- var _dec, _dec2, _class, _class2, _temp;
36
+ var _dec, _dec2, _class, _class2;
37
37
 
38
38
  /**
39
39
  ---
@@ -41,7 +41,7 @@ category: components
41
41
  ---
42
42
  @tsProps
43
43
  **/
44
- 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
+ let CloseButton = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class CloseButton extends _react.Component {
45
45
  constructor() {
46
46
  super(...arguments);
47
47
  this.ref = null;
@@ -125,7 +125,7 @@ let CloseButton = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.defaul
125
125
  margin: '0',
126
126
  as: 'button',
127
127
  cursor: 'pointer'
128
- }, _temp)) || _class) || _class);
128
+ }, _class2)) || _class) || _class);
129
129
  exports.CloseButton = CloseButton;
130
130
  var _default = CloseButton;
131
131
  exports.default = _default;
@@ -27,7 +27,7 @@ var _props = require("./props");
27
27
 
28
28
  const _excluded = ["children", "type", "size", "elementRef", "as", "interaction", "color", "margin", "cursor", "href", "renderIcon"];
29
29
 
30
- var _dec, _dec2, _class, _class2, _temp;
30
+ var _dec, _dec2, _class, _class2;
31
31
 
32
32
  /**
33
33
  ---
@@ -36,7 +36,7 @@ category: components
36
36
  @tsProps
37
37
  **/
38
38
  // needed for listing the available theme variables on docs page
39
- 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
+ let CondensedButton = (_dec = (0, _emotion.withStyle)(null, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class CondensedButton extends _react.Component {
40
40
  constructor() {
41
41
  super(...arguments);
42
42
  this._baseButton = null;
@@ -105,7 +105,7 @@ let CondensedButton = (_dec = (0, _emotion.withStyle)(null, _theme.default), _de
105
105
  color: 'primary',
106
106
  margin: '0',
107
107
  cursor: 'pointer'
108
- }, _temp)) || _class) || _class);
108
+ }, _class2)) || _class) || _class);
109
109
  exports.CondensedButton = CondensedButton;
110
110
  var _default = CondensedButton;
111
111
  exports.default = _default;
@@ -29,7 +29,7 @@ var _props = require("./props");
29
29
 
30
30
  const _excluded = ["children", "renderIcon", "screenReaderLabel", "type", "size", "elementRef", "as", "interaction", "color", "focusColor", "shape", "withBackground", "withBorder", "margin", "cursor", "href"];
31
31
 
32
- var _dec, _dec2, _class, _class2, _temp;
32
+ var _dec, _dec2, _class, _class2;
33
33
 
34
34
  /**
35
35
  ---
@@ -38,7 +38,7 @@ category: components
38
38
  @tsProps
39
39
  **/
40
40
  // needed for listing the available theme variables on docs page
41
- 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
+ let IconButton = (_dec = (0, _emotion.withStyle)(null, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class IconButton extends _react.Component {
42
42
  constructor() {
43
43
  super(...arguments);
44
44
  this._baseButton = null;
@@ -116,7 +116,7 @@ let IconButton = (_dec = (0, _emotion.withStyle)(null, _theme.default), _dec2 =
116
116
  withBorder: true,
117
117
  margin: '0',
118
118
  cursor: 'pointer'
119
- }, _temp)) || _class) || _class);
119
+ }, _class2)) || _class) || _class);
120
120
  exports.IconButton = IconButton;
121
121
  var _default = IconButton;
122
122
  exports.default = _default;
@@ -27,7 +27,7 @@ var _props = require("./props");
27
27
 
28
28
  const _excluded = ["as", "color", "elementRef", "size", "interaction", "mountNode", "renderIcon", "renderTooltipContent", "screenReaderLabel", "status", "placement", "onClick"];
29
29
 
30
- var _dec, _class, _class2, _temp;
30
+ var _dec, _class, _class2;
31
31
 
32
32
  /**
33
33
  ---
@@ -35,7 +35,7 @@ category: components
35
35
  ---
36
36
  @tsProps
37
37
  **/
38
- let ToggleButton = (_dec = (0, _testable.testable)(), _dec(_class = (_temp = _class2 = class ToggleButton extends _react.Component {
38
+ let ToggleButton = (_dec = (0, _testable.testable)(), _dec(_class = (_class2 = class ToggleButton extends _react.Component {
39
39
  constructor(props) {
40
40
  super(props);
41
41
  this.ref = null;
@@ -113,7 +113,7 @@ let ToggleButton = (_dec = (0, _testable.testable)(), _dec(_class = (_temp = _cl
113
113
  color: 'secondary',
114
114
  placement: 'top center',
115
115
  constrain: 'window'
116
- }, _temp)) || _class);
116
+ }, _class2)) || _class);
117
117
  exports.ToggleButton = ToggleButton;
118
118
  var _default = ToggleButton;
119
119
  exports.default = _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-buttons",
3
- "version": "8.23.0",
3
+ "version": "8.23.1-snapshot.11+5e829fae6",
4
4
  "description": "Accessible button components",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -23,28 +23,28 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@instructure/ui-babel-preset": "8.23.0",
27
- "@instructure/ui-test-locator": "8.23.0",
28
- "@instructure/ui-test-queries": "8.23.0",
29
- "@instructure/ui-test-utils": "8.23.0",
30
- "@instructure/ui-themes": "8.23.0"
26
+ "@instructure/ui-babel-preset": "8.23.1-snapshot.11+5e829fae6",
27
+ "@instructure/ui-test-locator": "8.23.1-snapshot.11+5e829fae6",
28
+ "@instructure/ui-test-queries": "8.23.1-snapshot.11+5e829fae6",
29
+ "@instructure/ui-test-utils": "8.23.1-snapshot.11+5e829fae6",
30
+ "@instructure/ui-themes": "8.23.1-snapshot.11+5e829fae6"
31
31
  },
32
32
  "dependencies": {
33
33
  "@babel/runtime": "^7.13.10",
34
- "@instructure/console": "8.23.0",
35
- "@instructure/emotion": "8.23.0",
36
- "@instructure/shared-types": "8.23.0",
37
- "@instructure/ui-a11y-content": "8.23.0",
38
- "@instructure/ui-a11y-utils": "8.23.0",
39
- "@instructure/ui-color-utils": "8.23.0",
40
- "@instructure/ui-dom-utils": "8.23.0",
41
- "@instructure/ui-icons": "8.23.0",
42
- "@instructure/ui-position": "8.23.0",
43
- "@instructure/ui-react-utils": "8.23.0",
44
- "@instructure/ui-testable": "8.23.0",
45
- "@instructure/ui-tooltip": "8.23.0",
46
- "@instructure/ui-utils": "8.23.0",
47
- "@instructure/ui-view": "8.23.0",
34
+ "@instructure/console": "8.23.1-snapshot.11+5e829fae6",
35
+ "@instructure/emotion": "8.23.1-snapshot.11+5e829fae6",
36
+ "@instructure/shared-types": "8.23.1-snapshot.11+5e829fae6",
37
+ "@instructure/ui-a11y-content": "8.23.1-snapshot.11+5e829fae6",
38
+ "@instructure/ui-a11y-utils": "8.23.1-snapshot.11+5e829fae6",
39
+ "@instructure/ui-color-utils": "8.23.1-snapshot.11+5e829fae6",
40
+ "@instructure/ui-dom-utils": "8.23.1-snapshot.11+5e829fae6",
41
+ "@instructure/ui-icons": "8.23.1-snapshot.11+5e829fae6",
42
+ "@instructure/ui-position": "8.23.1-snapshot.11+5e829fae6",
43
+ "@instructure/ui-react-utils": "8.23.1-snapshot.11+5e829fae6",
44
+ "@instructure/ui-testable": "8.23.1-snapshot.11+5e829fae6",
45
+ "@instructure/ui-tooltip": "8.23.1-snapshot.11+5e829fae6",
46
+ "@instructure/ui-utils": "8.23.1-snapshot.11+5e829fae6",
47
+ "@instructure/ui-view": "8.23.1-snapshot.11+5e829fae6",
48
48
  "keycode": "^2",
49
49
  "prop-types": "^15"
50
50
  },
@@ -54,5 +54,6 @@
54
54
  "publishConfig": {
55
55
  "access": "public"
56
56
  },
57
- "sideEffects": false
57
+ "sideEffects": false,
58
+ "gitHead": "5e829fae6b005f080497818df8b3fff19365aab3"
58
59
  }