@instructure/ui-radio-input 8.12.1-snapshot.7 → 8.13.1-snapshot.9

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [8.13.0](https://github.com/instructure/instructure-ui/compare/v8.12.0...v8.13.0) (2021-12-01)
7
+
8
+ ### Features
9
+
10
+ - **ui-form-field:** make FormField messages accept `ReactNode` text, not just `string` ([4d36973](https://github.com/instructure/instructure-ui/commit/4d369733414715a70bae0628378e8d82214eab3e))
11
+
6
12
  # [8.12.0](https://github.com/instructure/instructure-ui/compare/v8.11.1...v8.12.0) (2021-11-17)
7
13
 
8
14
  ### Features
@@ -49,7 +49,7 @@ const propTypes = {
49
49
 
50
50
  /**
51
51
  * object with shape: `{
52
- * text: PropTypes.string,
52
+ * text: PropTypes.node,
53
53
  * type: PropTypes.oneOf(['error', 'hint', 'success', 'screenreader-only'])
54
54
  * }`
55
55
  */
@@ -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.RadioInput = exports.default = void 0;
8
+ exports.default = exports.RadioInput = void 0;
9
9
 
10
10
  var _react = require("react");
11
11
 
@@ -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
 
@@ -5,7 +5,7 @@ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWild
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.RadioInputGroup = exports.default = void 0;
8
+ exports.default = exports.RadioInputGroup = void 0;
9
9
 
10
10
  var _react = _interopRequireWildcard(require("react"));
11
11
 
@@ -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
 
@@ -61,7 +61,7 @@ const propTypes = {
61
61
 
62
62
  /**
63
63
  * object with shape: `{
64
- * text: PropTypes.string,
64
+ * text: PropTypes.node,
65
65
  * type: PropTypes.oneOf(['error', 'hint', 'success', 'screenreader-only'])
66
66
  * }`
67
67
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-radio-input",
3
- "version": "8.12.1-snapshot.7+1e7ac8219",
3
+ "version": "8.13.1-snapshot.9+f32ba918e",
4
4
  "description": "A styled HTML input type='radio' element",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "type": "commonjs",
@@ -25,22 +25,22 @@
25
25
  "license": "MIT",
26
26
  "dependencies": {
27
27
  "@babel/runtime": "^7.13.10",
28
- "@instructure/emotion": "8.12.1-snapshot.7+1e7ac8219",
29
- "@instructure/shared-types": "8.12.1-snapshot.7+1e7ac8219",
30
- "@instructure/ui-dom-utils": "8.12.1-snapshot.7+1e7ac8219",
31
- "@instructure/ui-form-field": "8.12.1-snapshot.7+1e7ac8219",
32
- "@instructure/ui-prop-types": "8.12.1-snapshot.7+1e7ac8219",
33
- "@instructure/ui-react-utils": "8.12.1-snapshot.7+1e7ac8219",
34
- "@instructure/ui-testable": "8.12.1-snapshot.7+1e7ac8219",
35
- "@instructure/uid": "8.12.1-snapshot.7+1e7ac8219",
28
+ "@instructure/emotion": "8.13.1-snapshot.9+f32ba918e",
29
+ "@instructure/shared-types": "8.13.1-snapshot.9+f32ba918e",
30
+ "@instructure/ui-dom-utils": "8.13.1-snapshot.9+f32ba918e",
31
+ "@instructure/ui-form-field": "8.13.1-snapshot.9+f32ba918e",
32
+ "@instructure/ui-prop-types": "8.13.1-snapshot.9+f32ba918e",
33
+ "@instructure/ui-react-utils": "8.13.1-snapshot.9+f32ba918e",
34
+ "@instructure/ui-testable": "8.13.1-snapshot.9+f32ba918e",
35
+ "@instructure/uid": "8.13.1-snapshot.9+f32ba918e",
36
36
  "prop-types": "^15"
37
37
  },
38
38
  "devDependencies": {
39
- "@instructure/ui-babel-preset": "8.12.1-snapshot.7+1e7ac8219",
40
- "@instructure/ui-color-utils": "8.12.1-snapshot.7+1e7ac8219",
41
- "@instructure/ui-test-locator": "8.12.1-snapshot.7+1e7ac8219",
42
- "@instructure/ui-test-utils": "8.12.1-snapshot.7+1e7ac8219",
43
- "@instructure/ui-themes": "8.12.1-snapshot.7+1e7ac8219"
39
+ "@instructure/ui-babel-preset": "8.13.1-snapshot.9+f32ba918e",
40
+ "@instructure/ui-color-utils": "8.13.1-snapshot.9+f32ba918e",
41
+ "@instructure/ui-test-locator": "8.13.1-snapshot.9+f32ba918e",
42
+ "@instructure/ui-test-utils": "8.13.1-snapshot.9+f32ba918e",
43
+ "@instructure/ui-themes": "8.13.1-snapshot.9+f32ba918e"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "react": ">=16.8 <=17"
@@ -49,5 +49,5 @@
49
49
  "access": "public"
50
50
  },
51
51
  "sideEffects": false,
52
- "gitHead": "1e7ac821932a91fe9ef761c96f747c7ea1f3925a"
52
+ "gitHead": "f32ba918e4d3ce76c6ee95c856584d00a9d80958"
53
53
  }
@@ -78,7 +78,7 @@ const propTypes: PropValidators<PropKeys> = {
78
78
  readOnly: PropTypes.bool,
79
79
  /**
80
80
  * object with shape: `{
81
- * text: PropTypes.string,
81
+ * text: PropTypes.node,
82
82
  * type: PropTypes.oneOf(['error', 'hint', 'success', 'screenreader-only'])
83
83
  * }`
84
84
  */
@@ -15,7 +15,7 @@ declare class RadioInputGroup extends Component<RadioInputGroupProps> {
15
15
  onChange?: ((...args: any[]) => any) | undefined;
16
16
  disabled?: boolean | undefined;
17
17
  readOnly?: boolean | undefined;
18
- messages?: import("@instructure/ui-form-field").FormMessage[] | undefined;
18
+ messages?: import("@instructure/ui-form-field/types/FormPropTypes").FormMessage[] | undefined;
19
19
  variant?: "simple" | "toggle" | undefined;
20
20
  size?: "small" | "medium" | "large" | undefined;
21
21
  layout?: "inline" | "columns" | "stacked" | undefined;
@@ -29,7 +29,7 @@ declare class RadioInputGroup extends Component<RadioInputGroupProps> {
29
29
  onChange?: ((...args: any[]) => any) | undefined;
30
30
  disabled?: boolean | undefined;
31
31
  readOnly?: boolean | undefined;
32
- messages?: import("@instructure/ui-form-field").FormMessage[] | undefined;
32
+ messages?: import("@instructure/ui-form-field/types/FormPropTypes").FormMessage[] | undefined;
33
33
  variant?: "simple" | "toggle" | undefined;
34
34
  size?: "small" | "medium" | "large" | undefined;
35
35
  layout?: "inline" | "columns" | "stacked" | undefined;