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

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.
@@ -19,7 +19,7 @@ var generateStyle = function generateStyle(componentTheme, props) {
19
19
  transition: componentTheme.contentTransition,
20
20
  width: '100%',
21
21
  '.user_content p': {
22
- margin: componentTheme.userContentMargin,
22
+ margin: "".concat(componentTheme.userContentMargin, " 0"),
23
23
  '&:first-of-type': {
24
24
  marginTop: componentTheme.userContentZeroMargin
25
25
  },
@@ -12,7 +12,7 @@ var generateStyle = function generateStyle(componentTheme) {
12
12
  display: 'table'
13
13
  },
14
14
  '.user_content p': {
15
- margin: componentTheme.userContentMargin,
15
+ margin: "".concat(componentTheme.userContentMargin, " 0"),
16
16
  '&:first-of-type': {
17
17
  marginTop: componentTheme.userContentZeroMargin
18
18
  },
@@ -8,14 +8,14 @@ import { Component } from 'react';
8
8
  import PropTypes from 'prop-types';
9
9
  import ImmutablePropTypes from 'react-immutable-proptypes';
10
10
  import { ScreenReaderContent } from '@instructure/ui-a11y-content';
11
- import { FormField, FormFieldGroup } from '@instructure/ui-form-field';
11
+ import { FormField } from '@instructure/ui-form-field';
12
12
  import { jsx } from '@instructure/emotion';
13
13
  import { Heading } from '@instructure/ui-heading';
14
14
  import { RichContentInput, RCE_SINGLE_LINE_HEIGHT } from '@instructure/quiz-rce';
15
15
  import { toErrors } from "../../../../util/instUIMessages.js";
16
16
  import { IconUpdownLine } from '@instructure/ui-icons';
17
17
  import { ToggleDetails } from '@instructure/ui-toggle-details';
18
- import { SimpleSelect, TextInput, TOP, withStyleOverrides } from '@instructure/quiz-common';
18
+ import { SimpleSelect, TextInput, TOP, withStyleOverrides, FormFieldGroup } from '@instructure/quiz-common';
19
19
  import t from '@instructure/quiz-i18n/es/format-message';
20
20
  import generateStyle from "./styles.js";
21
21
  import generateComponentTheme from "./theme.js";
@@ -26,7 +26,7 @@ var generateStyle = function generateStyle(componentTheme, props) {
26
26
  transition: componentTheme.contentTransition,
27
27
  width: '100%',
28
28
  '.user_content p': {
29
- margin: componentTheme.userContentMargin,
29
+ margin: "".concat(componentTheme.userContentMargin, " 0"),
30
30
  '&:first-of-type': {
31
31
  marginTop: componentTheme.userContentZeroMargin
32
32
  },
@@ -18,7 +18,7 @@ var generateStyle = function generateStyle(componentTheme) {
18
18
  display: 'table'
19
19
  },
20
20
  '.user_content p': {
21
- margin: componentTheme.userContentMargin,
21
+ margin: "".concat(componentTheme.userContentMargin, " 0"),
22
22
  '&:first-of-type': {
23
23
  marginTop: componentTheme.userContentZeroMargin
24
24
  },
@@ -106,7 +106,7 @@ var StimulusEditInfo = (_dec = (0, _quizCommon.withStyleOverrides)(_styles.defau
106
106
  var stimulus = this.props.workingStimulus;
107
107
  var textAreaId = "stimulusBodyEdit_".concat(stimulus.id, "_").concat(this.props.isBankedContent);
108
108
  var stimulusBodyId = "stimulusBodyEdit_".concat(stimulus.id, "_body");
109
- return (0, _emotion.jsx)(_uiFormField.FormFieldGroup, {
109
+ return (0, _emotion.jsx)(_quizCommon.FormFieldGroup, {
110
110
  messages: this.inputErrors('onSelf'),
111
111
  description: (0, _emotion.jsx)(_uiA11yContent.ScreenReaderContent, null, (0, _formatMessage.default)('Edit Stimulus'))
112
112
  }, (0, _emotion.jsx)(_uiHeading.Heading, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/quiz-core",
3
- "version": "20.36.1-rc.7+bf4e2c2df",
3
+ "version": "20.36.1-rc.8+9bcc1f18a",
4
4
  "license": "MIT",
5
5
  "description": "The Quiz React SDK by Instructure Inc.",
6
6
  "author": "Instructure, Inc. Engineering and Product Design",
@@ -46,11 +46,11 @@
46
46
  "@instructure/emotion": "^8.56.3",
47
47
  "@instructure/grading-utils": "^1.0.0",
48
48
  "@instructure/outcomes-ui": "^3.2.2",
49
- "@instructure/quiz-common": "^20.36.1-rc.7+bf4e2c2df",
50
- "@instructure/quiz-i18n": "^20.36.1-rc.7+bf4e2c2df",
51
- "@instructure/quiz-interactions": "^20.36.1-rc.7+bf4e2c2df",
52
- "@instructure/quiz-number-input": "^20.36.1-rc.7+bf4e2c2df",
53
- "@instructure/quiz-rce": "^20.36.1-rc.7+bf4e2c2df",
49
+ "@instructure/quiz-common": "^20.36.1-rc.8+9bcc1f18a",
50
+ "@instructure/quiz-i18n": "^20.36.1-rc.8+9bcc1f18a",
51
+ "@instructure/quiz-interactions": "^20.36.1-rc.8+9bcc1f18a",
52
+ "@instructure/quiz-number-input": "^20.36.1-rc.8+9bcc1f18a",
53
+ "@instructure/quiz-rce": "^20.36.1-rc.8+9bcc1f18a",
54
54
  "@instructure/ui-a11y-content": "^8.56.3",
55
55
  "@instructure/ui-alerts": "^8.56.3",
56
56
  "@instructure/ui-avatar": "^8.56.3",
@@ -114,7 +114,7 @@
114
114
  "file-saver": "~2.0.5",
115
115
  "humps": "^2.0.0",
116
116
  "immutable": "^3.8.1",
117
- "instructure-validations": "^20.36.1-rc.7+bf4e2c2df",
117
+ "instructure-validations": "^20.36.1-rc.8+9bcc1f18a",
118
118
  "ipaddr.js": "^1.5.4",
119
119
  "isomorphic-fetch": "^2.2.0",
120
120
  "isuuid": "^0.1.0",
@@ -164,7 +164,7 @@
164
164
  "jquery": "^2.2.3",
165
165
  "karma-junit-reporter": "^2.0.1",
166
166
  "most-subject": "^5.3.0",
167
- "quiz-presets": "^20.36.1-rc.7+bf4e2c2df",
167
+ "quiz-presets": "^20.36.1-rc.8+9bcc1f18a",
168
168
  "react": "^16.8.6",
169
169
  "react-addons-test-utils": "^15.6.2",
170
170
  "react-dom": "^16.8.6",
@@ -180,5 +180,5 @@
180
180
  "publishConfig": {
181
181
  "access": "public"
182
182
  },
183
- "gitHead": "bf4e2c2df3c1f4f37c550d10214954d627710b36"
183
+ "gitHead": "9bcc1f18abfaa37efea55396676e576f5a2620f6"
184
184
  }