@instructure/ui-pill 8.12.1-snapshot.43 → 8.12.1-snapshot.47

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.
@@ -27,8 +27,8 @@ import { parseQueryArguments } from '@instructure/ui-test-queries'; // eslint-di
27
27
  import { TooltipLocator } from '@instructure/ui-tooltip/es/Tooltip/TooltipLocator';
28
28
  import { Pill } from './index';
29
29
  export const PillLocator = locator(Pill.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;
package/es/Pill/index.js CHANGED
@@ -125,10 +125,9 @@ let Pill = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = tes
125
125
  if (this.state.truncated) {
126
126
  return jsx(Tooltip, {
127
127
  renderTip: this.props.children
128
- }, ({
129
- focused,
130
- getTriggerProps
131
- }) => {
128
+ }, _ref => {
129
+ let focused = _ref.focused,
130
+ getTriggerProps = _ref.getTriggerProps;
132
131
  return this.renderPill(focused, getTriggerProps);
133
132
  });
134
133
  } else {
@@ -38,8 +38,8 @@ var _index = require("./index");
38
38
  */
39
39
  // eslint-disable-next-line no-restricted-imports
40
40
  const PillLocator = (0, _locator.locator)(_index.Pill.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;
package/lib/Pill/index.js CHANGED
@@ -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.Pill = exports.default = void 0;
8
+ exports.default = exports.Pill = void 0;
9
9
 
10
10
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
11
11
 
@@ -118,10 +118,9 @@ let Pill = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _de
118
118
  if (this.state.truncated) {
119
119
  return (0, _emotion.jsx)(_Tooltip.Tooltip, {
120
120
  renderTip: this.props.children
121
- }, ({
122
- focused,
123
- getTriggerProps
124
- }) => {
121
+ }, _ref => {
122
+ let focused = _ref.focused,
123
+ getTriggerProps = _ref.getTriggerProps;
125
124
  return this.renderPill(focused, getTriggerProps);
126
125
  });
127
126
  } else {
package/lib/Pill/props.js CHANGED
@@ -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-pill",
3
- "version": "8.12.1-snapshot.43+3eb834049",
3
+ "version": "8.12.1-snapshot.47+70bc15c4e",
4
4
  "description": "A UI component to communicate concise status.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "type": "commonjs",
@@ -25,24 +25,24 @@
25
25
  "license": "MIT",
26
26
  "dependencies": {
27
27
  "@babel/runtime": "^7.13.10",
28
- "@instructure/console": "8.12.1-snapshot.43+3eb834049",
29
- "@instructure/emotion": "8.12.1-snapshot.43+3eb834049",
30
- "@instructure/shared-types": "8.12.1-snapshot.43+3eb834049",
31
- "@instructure/ui-react-utils": "8.12.1-snapshot.43+3eb834049",
32
- "@instructure/ui-testable": "8.12.1-snapshot.43+3eb834049",
33
- "@instructure/ui-tooltip": "8.12.1-snapshot.43+3eb834049",
34
- "@instructure/ui-truncate-text": "8.12.1-snapshot.43+3eb834049",
35
- "@instructure/ui-utils": "8.12.1-snapshot.43+3eb834049",
36
- "@instructure/ui-view": "8.12.1-snapshot.43+3eb834049",
28
+ "@instructure/console": "8.12.1-snapshot.47+70bc15c4e",
29
+ "@instructure/emotion": "8.12.1-snapshot.47+70bc15c4e",
30
+ "@instructure/shared-types": "8.12.1-snapshot.47+70bc15c4e",
31
+ "@instructure/ui-react-utils": "8.12.1-snapshot.47+70bc15c4e",
32
+ "@instructure/ui-testable": "8.12.1-snapshot.47+70bc15c4e",
33
+ "@instructure/ui-tooltip": "8.12.1-snapshot.47+70bc15c4e",
34
+ "@instructure/ui-truncate-text": "8.12.1-snapshot.47+70bc15c4e",
35
+ "@instructure/ui-utils": "8.12.1-snapshot.47+70bc15c4e",
36
+ "@instructure/ui-view": "8.12.1-snapshot.47+70bc15c4e",
37
37
  "prop-types": "^15"
38
38
  },
39
39
  "devDependencies": {
40
- "@instructure/ui-babel-preset": "8.12.1-snapshot.43+3eb834049",
41
- "@instructure/ui-color-utils": "8.12.1-snapshot.43+3eb834049",
42
- "@instructure/ui-test-locator": "8.12.1-snapshot.43+3eb834049",
43
- "@instructure/ui-test-queries": "8.12.1-snapshot.43+3eb834049",
44
- "@instructure/ui-test-utils": "8.12.1-snapshot.43+3eb834049",
45
- "@instructure/ui-themes": "8.12.1-snapshot.43+3eb834049"
40
+ "@instructure/ui-babel-preset": "8.12.1-snapshot.47+70bc15c4e",
41
+ "@instructure/ui-color-utils": "8.12.1-snapshot.47+70bc15c4e",
42
+ "@instructure/ui-test-locator": "8.12.1-snapshot.47+70bc15c4e",
43
+ "@instructure/ui-test-queries": "8.12.1-snapshot.47+70bc15c4e",
44
+ "@instructure/ui-test-utils": "8.12.1-snapshot.47+70bc15c4e",
45
+ "@instructure/ui-themes": "8.12.1-snapshot.47+70bc15c4e"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "react": ">=16.8 <=17"
@@ -51,5 +51,5 @@
51
51
  "access": "public"
52
52
  },
53
53
  "sideEffects": false,
54
- "gitHead": "3eb834049428e487ae55ea3ef61fec3eb973156d"
54
+ "gitHead": "70bc15c4e8d89589a1372954f7a230ddde5ef71b"
55
55
  }