@instructure/quiz-core 20.27.1-snapshot.0 → 20.27.1-snapshot.2

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.
@@ -6,7 +6,6 @@ import _inherits from "@babel/runtime/helpers/esm/inherits";
6
6
  import _createSuper from "@babel/runtime/helpers/esm/createSuper";
7
7
  var _dec, _class, _BanksList;
8
8
  /** @jsx jsx */
9
- /* eslint "react/jsx-no-bind": "warn" */
10
9
  import React, { Component } from 'react';
11
10
  import PropTypes from 'prop-types';
12
11
  import ImmutablePropTypes from 'react-immutable-proptypes';
@@ -217,8 +217,7 @@ export var BuildingButtons = (_dec = withStyle(generateStyle, generateComponentT
217
217
  id: key,
218
218
  key: key,
219
219
  disabled: disabled,
220
- onOptionClick: onClick // eslint-disable-line react/jsx-no-bind
221
- ,
220
+ onOptionClick: onClick,
222
221
  "data-automation": menuItemDataAutomation
223
222
  }, jsx(IconPrinterLine, {
224
223
  "data-automation": iconDataAutomation
@@ -230,8 +229,7 @@ export var BuildingButtons = (_dec = withStyle(generateStyle, generateComponentT
230
229
  return jsx(Menu.Item, {
231
230
  key: key,
232
231
  disabled: disabled,
233
- onSelect: onClick // eslint-disable-line react/jsx-no-bind
234
- ,
232
+ onSelect: onClick,
235
233
  "data-automation": menuItemDataAutomation
236
234
  }, jsx(IconPrinterLine, {
237
235
  css: this.props.styles.menuIcon,
@@ -254,8 +252,7 @@ export var BuildingButtons = (_dec = withStyle(generateStyle, generateComponentT
254
252
  id: key,
255
253
  key: key,
256
254
  disabled: disabled,
257
- onOptionClick: onClick // eslint-disable-line react/jsx-no-bind
258
- ,
255
+ onOptionClick: onClick,
259
256
  "data-automation": menuItemDataAutomation
260
257
  }, jsx(IconPrinterLine, {
261
258
  "data-automation": iconDataAutomation
@@ -267,8 +264,7 @@ export var BuildingButtons = (_dec = withStyle(generateStyle, generateComponentT
267
264
  return jsx(Menu.Item, {
268
265
  key: key,
269
266
  disabled: disabled,
270
- onSelect: onClick // eslint-disable-line react/jsx-no-bind
271
- ,
267
+ onSelect: onClick,
272
268
  "data-automation": menuItemDataAutomation
273
269
  }, jsx(IconPrinterLine, {
274
270
  css: this.props.styles.menuIcon,
@@ -21,7 +21,6 @@ import t from '@instructure/quiz-i18n/es/format-message';
21
21
  // editing and hover which shows an overlay
22
22
 
23
23
  // ==========================================
24
-
25
24
  export var QuizInstructionsShow = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_QuizInstructionsShow = /*#__PURE__*/function (_Component) {
26
25
  _inherits(QuizInstructionsShow, _Component);
27
26
  var _super = _createSuper(QuizInstructionsShow);
@@ -58,7 +58,7 @@ export var NavBar = (_dec = withStyle(generateStyle, generateComponentTheme), _d
58
58
  key: menuItem.path,
59
59
  onClick: function onClick() {
60
60
  return _this.props.handleMenuItemChange(menuItem.path);
61
- } // eslint-disable-line react/jsx-no-bind
61
+ }
62
62
  }, menuItem.text);
63
63
  };
64
64
  _this.renderActionItems = function () {
@@ -27,7 +27,7 @@ export var Paginator = (_dec = withStyle(generateStyle, generateComponentTheme),
27
27
  return jsx(Pagination.Page, {
28
28
  key: page,
29
29
  current: page === _this.props.currentPage,
30
- onClick: _this.props.onPageChange.bind(null, page) /* eslint-disable-line react/jsx-no-bind */
30
+ onClick: _this.props.onPageChange.bind(null, page)
31
31
  }, page);
32
32
  });
33
33
  return jsx("div", {
@@ -37,7 +37,6 @@ var _styles = _interopRequireDefault(require("./styles.js"));
37
37
  var _theme = _interopRequireDefault(require("./theme.js"));
38
38
  var _dec, _class, _BanksList;
39
39
  /** @jsx jsx */
40
- /* eslint "react/jsx-no-bind": "warn" */
41
40
  var _ref4 = (0, _emotion.jsx)(_uiTable.Table.Cell, null);
42
41
  var _ref5 = (0, _emotion.jsx)(_uiTable.Table.Cell, null);
43
42
  var _ref6 = (0, _emotion.jsx)(_uiTable.Table.Cell, null);
@@ -224,8 +224,7 @@ var BuildingButtons = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.de
224
224
  id: key,
225
225
  key: key,
226
226
  disabled: disabled,
227
- onOptionClick: onClick // eslint-disable-line react/jsx-no-bind
228
- ,
227
+ onOptionClick: onClick,
229
228
  "data-automation": menuItemDataAutomation
230
229
  }, (0, _emotion.jsx)(_uiIcons.IconPrinterLine, {
231
230
  "data-automation": iconDataAutomation
@@ -237,8 +236,7 @@ var BuildingButtons = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.de
237
236
  return (0, _emotion.jsx)(_uiMenu.Menu.Item, {
238
237
  key: key,
239
238
  disabled: disabled,
240
- onSelect: onClick // eslint-disable-line react/jsx-no-bind
241
- ,
239
+ onSelect: onClick,
242
240
  "data-automation": menuItemDataAutomation
243
241
  }, (0, _emotion.jsx)(_uiIcons.IconPrinterLine, {
244
242
  css: this.props.styles.menuIcon,
@@ -261,8 +259,7 @@ var BuildingButtons = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.de
261
259
  id: key,
262
260
  key: key,
263
261
  disabled: disabled,
264
- onOptionClick: onClick // eslint-disable-line react/jsx-no-bind
265
- ,
262
+ onOptionClick: onClick,
266
263
  "data-automation": menuItemDataAutomation
267
264
  }, (0, _emotion.jsx)(_uiIcons.IconPrinterLine, {
268
265
  "data-automation": iconDataAutomation
@@ -274,8 +271,7 @@ var BuildingButtons = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.de
274
271
  return (0, _emotion.jsx)(_uiMenu.Menu.Item, {
275
272
  key: key,
276
273
  disabled: disabled,
277
- onSelect: onClick // eslint-disable-line react/jsx-no-bind
278
- ,
274
+ onSelect: onClick,
279
275
  "data-automation": menuItemDataAutomation
280
276
  }, (0, _emotion.jsx)(_uiIcons.IconPrinterLine, {
281
277
  css: this.props.styles.menuIcon,
@@ -65,7 +65,7 @@ var NavBar = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _
65
65
  key: menuItem.path,
66
66
  onClick: function onClick() {
67
67
  return _this.props.handleMenuItemChange(menuItem.path);
68
- } // eslint-disable-line react/jsx-no-bind
68
+ }
69
69
  }, menuItem.text);
70
70
  };
71
71
  _this.renderActionItems = function () {
@@ -34,7 +34,7 @@ var Paginator = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default)
34
34
  return (0, _emotion.jsx)(_uiPagination.Pagination.Page, {
35
35
  key: page,
36
36
  current: page === _this.props.currentPage,
37
- onClick: _this.props.onPageChange.bind(null, page) /* eslint-disable-line react/jsx-no-bind */
37
+ onClick: _this.props.onPageChange.bind(null, page)
38
38
  }, page);
39
39
  });
40
40
  return (0, _emotion.jsx)("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/quiz-core",
3
- "version": "20.27.1-snapshot.0+81ad60a93",
3
+ "version": "20.27.1-snapshot.2+0529db805",
4
4
  "license": "MIT",
5
5
  "description": "The Quiz React SDK by Instructure Inc.",
6
6
  "author": "Instructure, Inc. Engineering and Product Design",
@@ -44,11 +44,11 @@
44
44
  "@instructure/emotion": "^8.51.0",
45
45
  "@instructure/grading-utils": "^1.0.0",
46
46
  "@instructure/outcomes-ui": "^3.2.2",
47
- "@instructure/quiz-common": "20.27.1-snapshot.0+81ad60a93",
48
- "@instructure/quiz-i18n": "20.27.1-snapshot.0+81ad60a93",
49
- "@instructure/quiz-interactions": "20.27.1-snapshot.0+81ad60a93",
50
- "@instructure/quiz-number-input": "20.27.1-snapshot.0+81ad60a93",
51
- "@instructure/quiz-rce": "20.27.1-snapshot.0+81ad60a93",
47
+ "@instructure/quiz-common": "20.27.1-snapshot.2+0529db805",
48
+ "@instructure/quiz-i18n": "20.27.1-snapshot.2+0529db805",
49
+ "@instructure/quiz-interactions": "20.27.1-snapshot.2+0529db805",
50
+ "@instructure/quiz-number-input": "20.27.1-snapshot.2+0529db805",
51
+ "@instructure/quiz-rce": "20.27.1-snapshot.2+0529db805",
52
52
  "@instructure/ui-a11y-content": "^8.51.0",
53
53
  "@instructure/ui-alerts": "^8.51.0",
54
54
  "@instructure/ui-avatar": "^8.51.0",
@@ -112,7 +112,7 @@
112
112
  "file-saver": "~2.0.5",
113
113
  "humps": "^2.0.0",
114
114
  "immutable": "^3.8.1",
115
- "instructure-validations": "20.27.1-snapshot.0+81ad60a93",
115
+ "instructure-validations": "20.27.1-snapshot.2+0529db805",
116
116
  "ipaddr.js": "^1.5.4",
117
117
  "isomorphic-fetch": "^2.2.0",
118
118
  "isuuid": "^0.1.0",
@@ -161,7 +161,7 @@
161
161
  "jquery": "^2.2.3",
162
162
  "karma-junit-reporter": "^2.0.1",
163
163
  "most-subject": "^5.3.0",
164
- "quiz-presets": "20.27.1-snapshot.0+81ad60a93",
164
+ "quiz-presets": "20.27.1-snapshot.2+0529db805",
165
165
  "react": "^16.8.6",
166
166
  "react-addons-test-utils": "^15.6.2",
167
167
  "react-dom": "^16.8.6",
@@ -177,5 +177,5 @@
177
177
  "publishConfig": {
178
178
  "access": "public"
179
179
  },
180
- "gitHead": "81ad60a930c915192084b02ab22487c1ab3dbe19"
180
+ "gitHead": "0529db805da7c12dfe4d85b4429f90fb275be378"
181
181
  }