@instructure/quiz-core 20.35.3-rc.7 → 20.36.1

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.
@@ -22,8 +22,8 @@ var CalculatorButton = function CalculatorButton(_ref) {
22
22
  variant: "icon",
23
23
  renderIcon: _ref2,
24
24
  disabled: !enabled,
25
- tooltip: t('Calculator')
26
- }, t('Calculator'));
25
+ tooltip: t('This calculator has accessibility limitations.')
26
+ }, t('Calculator'), /*#__PURE__*/React.createElement(ScreenReaderContent, null, t('Use the arrow keys to move the calculator after selecting "Move". Screen readers may not announce the launch clearly.')));
27
27
  }
28
28
  return /*#__PURE__*/React.createElement(Button, {
29
29
  renderIcon: IconCalculatorLine,
@@ -30,8 +30,8 @@ var CalculatorButton = function CalculatorButton(_ref) {
30
30
  variant: "icon",
31
31
  renderIcon: _ref2,
32
32
  disabled: !enabled,
33
- tooltip: (0, _formatMessage.default)('Calculator')
34
- }, (0, _formatMessage.default)('Calculator'));
33
+ tooltip: (0, _formatMessage.default)('This calculator has accessibility limitations.')
34
+ }, (0, _formatMessage.default)('Calculator'), /*#__PURE__*/_react.default.createElement(_uiA11yContent.ScreenReaderContent, null, (0, _formatMessage.default)('Use the arrow keys to move the calculator after selecting "Move". Screen readers may not announce the launch clearly.')));
35
35
  }
36
36
  return /*#__PURE__*/_react.default.createElement(_uiButtons.Button, {
37
37
  renderIcon: _uiIcons.IconCalculatorLine,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/quiz-core",
3
- "version": "20.35.3-rc.7+f289f7f8b",
3
+ "version": "20.36.1",
4
4
  "license": "MIT",
5
5
  "description": "The Quiz React SDK by Instructure Inc.",
6
6
  "author": "Instructure, Inc. Engineering and Product Design",
@@ -10,27 +10,6 @@
10
10
  "type": "git",
11
11
  "url": "https://gerrit.instructure.com/quizzes-ui.git"
12
12
  },
13
- "scripts": {
14
- "clean": "ui-build --clean",
15
- "build": "build-if-changed",
16
- "build:all": "ui-build --modules es,cjs",
17
- "build:watch": "ui-build --watch",
18
- "extract": "extract-translations",
19
- "lint": "ui-test --lint",
20
- "lint:fix": "ui-test --lint --fix",
21
- "eslint:fix": "eslint --fix .",
22
- "prelint": "pnpm build",
23
- "pretest": "pnpm build",
24
- "test": "pnpm test:karma",
25
- "test:karma": "ui-test",
26
- "test:watch": "ui-test --watch",
27
- "snyk:monitor": "snyk monitor",
28
- "postbuild": "cp src/banks/components/noResults.svg lib/banks/components/; cp src/banks/components/noResults.svg es/banks/components/; pnpm postbuild:errorImage",
29
- "postbuild:all": "pnpm postbuild",
30
- "postbuild:errorImage": "cp src/reporting/components/resources/NewQuizAndItemAnalysis/downForRepair.svg es/reporting/components/resources/NewQuizAndItemAnalysis/; cp src/reporting/components/resources/NewQuizAndItemAnalysis/downForRepair.svg lib/reporting/components/resources/NewQuizAndItemAnalysis/",
31
- "format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"",
32
- "typecheck": "tsc --noEmit"
33
- },
34
13
  "keywords": [
35
14
  "react",
36
15
  "react-component",
@@ -46,11 +25,11 @@
46
25
  "@instructure/emotion": "^8.56.3",
47
26
  "@instructure/grading-utils": "^1.0.0",
48
27
  "@instructure/outcomes-ui": "^3.2.2",
49
- "@instructure/quiz-common": "^20.35.3-rc.7+f289f7f8b",
50
- "@instructure/quiz-i18n": "^20.35.3-rc.7+f289f7f8b",
51
- "@instructure/quiz-interactions": "^20.35.3-rc.7+f289f7f8b",
52
- "@instructure/quiz-number-input": "^20.35.3-rc.7+f289f7f8b",
53
- "@instructure/quiz-rce": "^20.35.3-rc.7+f289f7f8b",
28
+ "@instructure/quiz-common": "^20.36.1",
29
+ "@instructure/quiz-i18n": "^20.36.1",
30
+ "@instructure/quiz-interactions": "^20.36.1",
31
+ "@instructure/quiz-number-input": "^20.36.1",
32
+ "@instructure/quiz-rce": "^20.36.1",
54
33
  "@instructure/ui-a11y-content": "^8.56.3",
55
34
  "@instructure/ui-alerts": "^8.56.3",
56
35
  "@instructure/ui-avatar": "^8.56.3",
@@ -114,7 +93,7 @@
114
93
  "file-saver": "~2.0.5",
115
94
  "humps": "^2.0.0",
116
95
  "immutable": "^3.8.1",
117
- "instructure-validations": "^20.35.3-rc.7+f289f7f8b",
96
+ "instructure-validations": "^20.36.1",
118
97
  "ipaddr.js": "^1.5.4",
119
98
  "isomorphic-fetch": "^2.2.0",
120
99
  "isuuid": "^0.1.0",
@@ -163,7 +142,7 @@
163
142
  "jquery": "^2.2.3",
164
143
  "karma-junit-reporter": "^2.0.1",
165
144
  "most-subject": "^5.3.0",
166
- "quiz-presets": "^20.35.3-rc.7+f289f7f8b",
145
+ "quiz-presets": "^20.36.1",
167
146
  "react": "^16.8.6",
168
147
  "react-addons-test-utils": "^15.6.2",
169
148
  "react-dom": "^16.8.6",
@@ -179,5 +158,25 @@
179
158
  "publishConfig": {
180
159
  "access": "public"
181
160
  },
182
- "gitHead": "f289f7f8b8b9057c2f1e05a075511db43f3c3df2"
183
- }
161
+ "scripts": {
162
+ "clean": "ui-build --clean",
163
+ "build": "build-if-changed",
164
+ "build:all": "ui-build --modules es,cjs",
165
+ "build:watch": "ui-build --watch",
166
+ "extract": "extract-translations",
167
+ "lint": "ui-test --lint",
168
+ "lint:fix": "ui-test --lint --fix",
169
+ "eslint:fix": "eslint --fix .",
170
+ "prelint": "pnpm build",
171
+ "pretest": "pnpm build",
172
+ "test": "pnpm test:karma",
173
+ "test:karma": "ui-test",
174
+ "test:watch": "ui-test --watch",
175
+ "snyk:monitor": "snyk monitor",
176
+ "postbuild": "cp src/banks/components/noResults.svg lib/banks/components/; cp src/banks/components/noResults.svg es/banks/components/; pnpm postbuild:errorImage",
177
+ "postbuild:all": "pnpm postbuild",
178
+ "postbuild:errorImage": "cp src/reporting/components/resources/NewQuizAndItemAnalysis/downForRepair.svg es/reporting/components/resources/NewQuizAndItemAnalysis/; cp src/reporting/components/resources/NewQuizAndItemAnalysis/downForRepair.svg lib/reporting/components/resources/NewQuizAndItemAnalysis/",
179
+ "format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"",
180
+ "typecheck": "tsc --noEmit"
181
+ }
182
+ }