@instructure/quiz-core 17.44.1-rc.2 → 17.44.1-rc.3

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.
@@ -78,7 +78,8 @@ export var AddContentButton = (_dec = themeable(theme, styles), _dec(_class = (_
78
78
  ref: this.storeButtonElemRef,
79
79
  onClick: this.props.onClick,
80
80
  className: buttonClasses,
81
- "data-automation": "sdk-add-content-button"
81
+ "data-automation": "sdk-add-content-button",
82
+ "aria-expanded": this.props.isEditing
82
83
  }, /*#__PURE__*/React.createElement(ScreenReaderContent, null, t('Add Content')), /*#__PURE__*/React.createElement(PresentationContent, null, /*#__PURE__*/React.createElement(IconPlusLine, {
83
84
  title: t('Add Content')
84
85
  }))));
@@ -64,7 +64,7 @@ export var AddContentPopover = (_dec = themeable(theme, styles), _dec(_class = (
64
64
  show: _this.props.isEditing,
65
65
  shouldCloseOnEscape: true,
66
66
  shouldContainFocus: true
67
- }, /*#__PURE__*/React.createElement(Popover.Trigger, null, /*#__PURE__*/React.createElement("div", null, _this.renderAddContentButton())), /*#__PURE__*/React.createElement(Popover.Content, null, /*#__PURE__*/React.createElement(AddContentBody, {
67
+ }, /*#__PURE__*/React.createElement(Popover.Trigger, null, _this.renderAddContentButton()), /*#__PURE__*/React.createElement(Popover.Content, null, /*#__PURE__*/React.createElement(AddContentBody, {
68
68
  allowStimulusCreation: _this.props.allowStimulusCreation,
69
69
  onOpenBankTray: _this.props.switchOffEditing,
70
70
  onAddItem: _this.props.switchOffEditing,
@@ -102,7 +102,8 @@ var AddContentButton = (_dec = (0, _uiThemeable.themeable)(_theme.default, style
102
102
  ref: this.storeButtonElemRef,
103
103
  onClick: this.props.onClick,
104
104
  className: buttonClasses,
105
- "data-automation": "sdk-add-content-button"
105
+ "data-automation": "sdk-add-content-button",
106
+ "aria-expanded": this.props.isEditing
106
107
  }, /*#__PURE__*/_react.default.createElement(_uiA11yContent.ScreenReaderContent, null, (0, _formatMessage.default)('Add Content')), /*#__PURE__*/_react.default.createElement(_uiA11yContent.PresentationContent, null, /*#__PURE__*/_react.default.createElement(_uiIcons.IconPlusLine, {
107
108
  title: (0, _formatMessage.default)('Add Content')
108
109
  }))));
@@ -89,7 +89,7 @@ var AddContentPopover = (_dec = (0, _uiThemeable.themeable)(_theme.default, styl
89
89
  show: _this.props.isEditing,
90
90
  shouldCloseOnEscape: true,
91
91
  shouldContainFocus: true
92
- }, /*#__PURE__*/_react.default.createElement(_uiPopover.Popover.Trigger, null, /*#__PURE__*/_react.default.createElement("div", null, _this.renderAddContentButton())), /*#__PURE__*/_react.default.createElement(_uiPopover.Popover.Content, null, /*#__PURE__*/_react.default.createElement(_index2.default, {
92
+ }, /*#__PURE__*/_react.default.createElement(_uiPopover.Popover.Trigger, null, _this.renderAddContentButton()), /*#__PURE__*/_react.default.createElement(_uiPopover.Popover.Content, null, /*#__PURE__*/_react.default.createElement(_index2.default, {
93
93
  allowStimulusCreation: _this.props.allowStimulusCreation,
94
94
  onOpenBankTray: _this.props.switchOffEditing,
95
95
  onAddItem: _this.props.switchOffEditing,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/quiz-core",
3
- "version": "17.44.1-rc.2+20c3f29df",
3
+ "version": "17.44.1-rc.3+fd0d48d4e",
4
4
  "license": "MIT",
5
5
  "description": "The Quiz React SDK by Instructure Inc.",
6
6
  "author": "Instructure, Inc. Engineering and Product Design",
@@ -41,11 +41,11 @@
41
41
  ],
42
42
  "dependencies": {
43
43
  "@instructure/outcomes-ui": "^2.1.2",
44
- "@instructure/quiz-common": "17.44.1-rc.2+20c3f29df",
45
- "@instructure/quiz-i18n": "17.44.1-rc.2+20c3f29df",
46
- "@instructure/quiz-interactions": "17.44.1-rc.2+20c3f29df",
47
- "@instructure/quiz-number-input": "17.44.1-rc.2+20c3f29df",
48
- "@instructure/quiz-rce": "17.44.1-rc.2+20c3f29df",
44
+ "@instructure/quiz-common": "17.44.1-rc.3+fd0d48d4e",
45
+ "@instructure/quiz-i18n": "17.44.1-rc.3+fd0d48d4e",
46
+ "@instructure/quiz-interactions": "17.44.1-rc.3+fd0d48d4e",
47
+ "@instructure/quiz-number-input": "17.44.1-rc.3+fd0d48d4e",
48
+ "@instructure/quiz-rce": "17.44.1-rc.3+fd0d48d4e",
49
49
  "@instructure/ui-a11y-content": "^7.20.0",
50
50
  "@instructure/ui-alerts": "^7.20.0",
51
51
  "@instructure/ui-avatar": "^7.20.0",
@@ -106,7 +106,7 @@
106
106
  "eventemitter3": "^3.1.0",
107
107
  "humps": "^2.0.0",
108
108
  "immutable": "^3.8.1",
109
- "instructure-validations": "17.44.1-rc.2+20c3f29df",
109
+ "instructure-validations": "17.44.1-rc.3+fd0d48d4e",
110
110
  "ipaddr.js": "^1.5.4",
111
111
  "isomorphic-fetch": "^2.2.0",
112
112
  "isuuid": "^0.1.0",
@@ -156,7 +156,7 @@
156
156
  "intl": "^1.2.4",
157
157
  "jquery": "^2.2.3",
158
158
  "most-subject": "^5.3.0",
159
- "quiz-presets": "17.44.1-rc.2+20c3f29df",
159
+ "quiz-presets": "17.44.1-rc.3+fd0d48d4e",
160
160
  "react": "^16.8.6",
161
161
  "react-addons-test-utils": "^15.6.2",
162
162
  "react-dom": "^16.8.6",
@@ -172,5 +172,5 @@
172
172
  "publishConfig": {
173
173
  "access": "public"
174
174
  },
175
- "gitHead": "20c3f29dfe241d022352f1762c429acfc2464697"
175
+ "gitHead": "fd0d48d4e424f8161358ac8dc5d91b57aab48660"
176
176
  }