@instructure/ui-form-field 8.23.0 → 8.23.1-snapshot.5
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/LICENSE.md +27 -0
- package/es/FormFieldGroup/index.js +3 -3
- package/es/FormFieldLabel/index.js +3 -3
- package/es/FormFieldLayout/index.js +3 -3
- package/es/FormFieldMessage/index.js +3 -3
- package/es/FormFieldMessages/index.js +3 -3
- package/lib/FormFieldGroup/index.js +3 -3
- package/lib/FormFieldLabel/index.js +3 -3
- package/lib/FormFieldLayout/index.js +3 -3
- package/lib/FormFieldMessage/index.js +3 -3
- package/lib/FormFieldMessages/index.js +3 -3
- package/package.json +16 -15
- package/tsconfig.build.tsbuildinfo +1 -1
package/LICENSE.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: The MIT License (MIT)
|
|
3
|
+
category: Getting Started
|
|
4
|
+
order: 9
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# The MIT License (MIT)
|
|
8
|
+
|
|
9
|
+
Copyright (c) 2015 Instructure, Inc.
|
|
10
|
+
|
|
11
|
+
**Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
12
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
13
|
+
in the Software without restriction, including without limitation the rights
|
|
14
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
15
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
16
|
+
furnished to do so, subject to the following conditions.**
|
|
17
|
+
|
|
18
|
+
The above copyright notice and this permission notice shall be included in all
|
|
19
|
+
copies or substantial portions of the Software.
|
|
20
|
+
|
|
21
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
22
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
23
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
24
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
27
|
+
SOFTWARE.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
2
2
|
const _excluded = ["styles", "makeStyles"];
|
|
3
3
|
|
|
4
|
-
var _dec, _class, _class2
|
|
4
|
+
var _dec, _class, _class2;
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
7
|
* The MIT License (MIT)
|
|
@@ -43,7 +43,7 @@ category: components
|
|
|
43
43
|
---
|
|
44
44
|
@tsProps
|
|
45
45
|
**/
|
|
46
|
-
let FormFieldGroup = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (
|
|
46
|
+
let FormFieldGroup = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_class2 = class FormFieldGroup extends Component {
|
|
47
47
|
constructor() {
|
|
48
48
|
super(...arguments);
|
|
49
49
|
this.ref = null;
|
|
@@ -130,6 +130,6 @@ let FormFieldGroup = (_dec = withStyle(generateStyle, generateComponentTheme), _
|
|
|
130
130
|
rowSpacing: 'medium',
|
|
131
131
|
colSpacing: 'small',
|
|
132
132
|
vAlign: 'middle'
|
|
133
|
-
},
|
|
133
|
+
}, _class2)) || _class);
|
|
134
134
|
export default FormFieldGroup;
|
|
135
135
|
export { FormFieldGroup };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _dec, _class, _class2
|
|
1
|
+
var _dec, _class, _class2;
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* The MIT License (MIT)
|
|
@@ -49,7 +49,7 @@ example: true
|
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
**/
|
|
52
|
-
let FormFieldLabel = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (
|
|
52
|
+
let FormFieldLabel = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_class2 = class FormFieldLabel extends Component {
|
|
53
53
|
constructor() {
|
|
54
54
|
super(...arguments);
|
|
55
55
|
this.ref = null;
|
|
@@ -85,6 +85,6 @@ let FormFieldLabel = (_dec = withStyle(generateStyle, generateComponentTheme), _
|
|
|
85
85
|
|
|
86
86
|
}, _class2.displayName = "FormFieldLabel", _class2.componentId = 'FormFieldLabel', _class2.propTypes = propTypes, _class2.allowedProps = allowedProps, _class2.defaultProps = {
|
|
87
87
|
as: 'span'
|
|
88
|
-
},
|
|
88
|
+
}, _class2)) || _class);
|
|
89
89
|
export default FormFieldLabel;
|
|
90
90
|
export { FormFieldLabel };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
2
2
|
const _excluded = ["makeStyles", "styles"];
|
|
3
3
|
|
|
4
|
-
var _dec, _dec2, _class, _class2
|
|
4
|
+
var _dec, _dec2, _class, _class2;
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
7
|
* The MIT License (MIT)
|
|
@@ -46,7 +46,7 @@ parent: FormField
|
|
|
46
46
|
---
|
|
47
47
|
@tsProps
|
|
48
48
|
**/
|
|
49
|
-
let FormFieldLayout = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, null), _dec(_class = _dec2(_class = (
|
|
49
|
+
let FormFieldLayout = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, null), _dec(_class = _dec2(_class = (_class2 = class FormFieldLayout extends Component {
|
|
50
50
|
constructor(props) {
|
|
51
51
|
super(props);
|
|
52
52
|
this._messagesId = void 0;
|
|
@@ -171,6 +171,6 @@ let FormFieldLayout = (_dec = withDeterministicId(), _dec2 = withStyle(generateS
|
|
|
171
171
|
layout: 'stacked',
|
|
172
172
|
as: 'label',
|
|
173
173
|
labelAlign: 'end'
|
|
174
|
-
},
|
|
174
|
+
}, _class2)) || _class) || _class);
|
|
175
175
|
export default FormFieldLayout;
|
|
176
176
|
export { FormFieldLayout };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _dec, _class, _class2
|
|
1
|
+
var _dec, _class, _class2;
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* The MIT License (MIT)
|
|
@@ -48,7 +48,7 @@ example: true
|
|
|
48
48
|
<FormFieldMessage variant="error">Invalid value</FormFieldMessage>
|
|
49
49
|
```
|
|
50
50
|
**/
|
|
51
|
-
let FormFieldMessage = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (
|
|
51
|
+
let FormFieldMessage = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_class2 = class FormFieldMessage extends Component {
|
|
52
52
|
constructor() {
|
|
53
53
|
super(...arguments);
|
|
54
54
|
this.ref = null;
|
|
@@ -84,6 +84,6 @@ let FormFieldMessage = (_dec = withStyle(generateStyle, generateComponentTheme),
|
|
|
84
84
|
|
|
85
85
|
}, _class2.displayName = "FormFieldMessage", _class2.componentId = 'FormFieldMessage', _class2.propTypes = propTypes, _class2.allowedProps = allowedProps, _class2.defaultProps = {
|
|
86
86
|
variant: 'hint'
|
|
87
|
-
},
|
|
87
|
+
}, _class2)) || _class);
|
|
88
88
|
export default FormFieldMessage;
|
|
89
89
|
export { FormFieldMessage };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _dec, _class, _class2
|
|
1
|
+
var _dec, _class, _class2;
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* The MIT License (MIT)
|
|
@@ -52,7 +52,7 @@ example: true
|
|
|
52
52
|
]} />
|
|
53
53
|
```
|
|
54
54
|
**/
|
|
55
|
-
let FormFieldMessages = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (
|
|
55
|
+
let FormFieldMessages = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_class2 = class FormFieldMessages extends Component {
|
|
56
56
|
constructor() {
|
|
57
57
|
super(...arguments);
|
|
58
58
|
this.ref = null;
|
|
@@ -92,6 +92,6 @@ let FormFieldMessages = (_dec = withStyle(generateStyle, generateComponentTheme)
|
|
|
92
92
|
})) : null;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
}, _class2.displayName = "FormFieldMessages", _class2.componentId = 'FormFieldMessages', _class2.propTypes = propTypes, _class2.allowedProps = allowedProps, _class2.defaultProps = {},
|
|
95
|
+
}, _class2.displayName = "FormFieldMessages", _class2.componentId = 'FormFieldMessages', _class2.propTypes = propTypes, _class2.allowedProps = allowedProps, _class2.defaultProps = {}, _class2)) || _class);
|
|
96
96
|
export default FormFieldMessages;
|
|
97
97
|
export { FormFieldMessages };
|
|
@@ -29,7 +29,7 @@ var _props = require("./props");
|
|
|
29
29
|
|
|
30
30
|
const _excluded = ["styles", "makeStyles"];
|
|
31
31
|
|
|
32
|
-
var _dec, _class, _class2
|
|
32
|
+
var _dec, _class, _class2;
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
---
|
|
@@ -37,7 +37,7 @@ category: components
|
|
|
37
37
|
---
|
|
38
38
|
@tsProps
|
|
39
39
|
**/
|
|
40
|
-
let FormFieldGroup = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (
|
|
40
|
+
let FormFieldGroup = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_class2 = class FormFieldGroup extends _react.Component {
|
|
41
41
|
constructor() {
|
|
42
42
|
super(...arguments);
|
|
43
43
|
this.ref = null;
|
|
@@ -123,7 +123,7 @@ let FormFieldGroup = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.def
|
|
|
123
123
|
rowSpacing: 'medium',
|
|
124
124
|
colSpacing: 'small',
|
|
125
125
|
vAlign: 'middle'
|
|
126
|
-
},
|
|
126
|
+
}, _class2)) || _class);
|
|
127
127
|
exports.FormFieldGroup = FormFieldGroup;
|
|
128
128
|
var _default = FormFieldGroup;
|
|
129
129
|
exports.default = _default;
|
|
@@ -21,7 +21,7 @@ var _theme = _interopRequireDefault(require("./theme"));
|
|
|
21
21
|
|
|
22
22
|
var _props = require("./props");
|
|
23
23
|
|
|
24
|
-
var _dec, _class, _class2
|
|
24
|
+
var _dec, _class, _class2;
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
---
|
|
@@ -40,7 +40,7 @@ example: true
|
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
**/
|
|
43
|
-
let FormFieldLabel = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (
|
|
43
|
+
let FormFieldLabel = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_class2 = class FormFieldLabel extends _react.Component {
|
|
44
44
|
constructor() {
|
|
45
45
|
super(...arguments);
|
|
46
46
|
this.ref = null;
|
|
@@ -76,7 +76,7 @@ let FormFieldLabel = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.def
|
|
|
76
76
|
|
|
77
77
|
}, _class2.displayName = "FormFieldLabel", _class2.componentId = 'FormFieldLabel', _class2.propTypes = _props.propTypes, _class2.allowedProps = _props.allowedProps, _class2.defaultProps = {
|
|
78
78
|
as: 'span'
|
|
79
|
-
},
|
|
79
|
+
}, _class2)) || _class);
|
|
80
80
|
exports.FormFieldLabel = FormFieldLabel;
|
|
81
81
|
var _default = FormFieldLabel;
|
|
82
82
|
exports.default = _default;
|
|
@@ -39,7 +39,7 @@ var _props = require("./props");
|
|
|
39
39
|
|
|
40
40
|
const _excluded = ["makeStyles", "styles"];
|
|
41
41
|
|
|
42
|
-
var _dec, _dec2, _class, _class2
|
|
42
|
+
var _dec, _dec2, _class, _class2;
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
45
|
---
|
|
@@ -47,7 +47,7 @@ parent: FormField
|
|
|
47
47
|
---
|
|
48
48
|
@tsProps
|
|
49
49
|
**/
|
|
50
|
-
let FormFieldLayout = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, null), _dec(_class = _dec2(_class = (
|
|
50
|
+
let FormFieldLayout = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, null), _dec(_class = _dec2(_class = (_class2 = class FormFieldLayout extends _react.Component {
|
|
51
51
|
constructor(props) {
|
|
52
52
|
super(props);
|
|
53
53
|
this._messagesId = void 0;
|
|
@@ -170,7 +170,7 @@ let FormFieldLayout = (_dec = (0, _withDeterministicId.withDeterministicId)(), _
|
|
|
170
170
|
layout: 'stacked',
|
|
171
171
|
as: 'label',
|
|
172
172
|
labelAlign: 'end'
|
|
173
|
-
},
|
|
173
|
+
}, _class2)) || _class) || _class);
|
|
174
174
|
exports.FormFieldLayout = FormFieldLayout;
|
|
175
175
|
var _default = FormFieldLayout;
|
|
176
176
|
exports.default = _default;
|
|
@@ -19,7 +19,7 @@ var _theme = _interopRequireDefault(require("./theme"));
|
|
|
19
19
|
|
|
20
20
|
var _props = require("./props");
|
|
21
21
|
|
|
22
|
-
var _dec, _class, _class2
|
|
22
|
+
var _dec, _class, _class2;
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
---
|
|
@@ -37,7 +37,7 @@ example: true
|
|
|
37
37
|
<FormFieldMessage variant="error">Invalid value</FormFieldMessage>
|
|
38
38
|
```
|
|
39
39
|
**/
|
|
40
|
-
let FormFieldMessage = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (
|
|
40
|
+
let FormFieldMessage = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_class2 = class FormFieldMessage extends _react.Component {
|
|
41
41
|
constructor() {
|
|
42
42
|
super(...arguments);
|
|
43
43
|
this.ref = null;
|
|
@@ -73,7 +73,7 @@ let FormFieldMessage = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.d
|
|
|
73
73
|
|
|
74
74
|
}, _class2.displayName = "FormFieldMessage", _class2.componentId = 'FormFieldMessage', _class2.propTypes = _props.propTypes, _class2.allowedProps = _props.allowedProps, _class2.defaultProps = {
|
|
75
75
|
variant: 'hint'
|
|
76
|
-
},
|
|
76
|
+
}, _class2)) || _class);
|
|
77
77
|
exports.FormFieldMessage = FormFieldMessage;
|
|
78
78
|
var _default = FormFieldMessage;
|
|
79
79
|
exports.default = _default;
|
|
@@ -21,7 +21,7 @@ var _theme = _interopRequireDefault(require("./theme"));
|
|
|
21
21
|
|
|
22
22
|
var _props = require("./props");
|
|
23
23
|
|
|
24
|
-
var _dec, _class, _class2
|
|
24
|
+
var _dec, _class, _class2;
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
---
|
|
@@ -42,7 +42,7 @@ example: true
|
|
|
42
42
|
]} />
|
|
43
43
|
```
|
|
44
44
|
**/
|
|
45
|
-
let FormFieldMessages = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (
|
|
45
|
+
let FormFieldMessages = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_class2 = class FormFieldMessages extends _react.Component {
|
|
46
46
|
constructor() {
|
|
47
47
|
super(...arguments);
|
|
48
48
|
this.ref = null;
|
|
@@ -82,7 +82,7 @@ let FormFieldMessages = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.
|
|
|
82
82
|
})) : null;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
}, _class2.displayName = "FormFieldMessages", _class2.componentId = 'FormFieldMessages', _class2.propTypes = _props.propTypes, _class2.allowedProps = _props.allowedProps, _class2.defaultProps = {},
|
|
85
|
+
}, _class2.displayName = "FormFieldMessages", _class2.componentId = 'FormFieldMessages', _class2.propTypes = _props.propTypes, _class2.allowedProps = _props.allowedProps, _class2.defaultProps = {}, _class2)) || _class);
|
|
86
86
|
exports.FormFieldMessages = FormFieldMessages;
|
|
87
87
|
var _default = FormFieldMessages;
|
|
88
88
|
exports.default = _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-form-field",
|
|
3
|
-
"version": "8.23.
|
|
3
|
+
"version": "8.23.1-snapshot.5+d19d2de94",
|
|
4
4
|
"description": "Form layout components.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -23,22 +23,22 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-babel-preset": "8.23.
|
|
27
|
-
"@instructure/ui-test-utils": "8.23.
|
|
28
|
-
"@instructure/ui-themes": "8.23.
|
|
26
|
+
"@instructure/ui-babel-preset": "8.23.1-snapshot.5+d19d2de94",
|
|
27
|
+
"@instructure/ui-test-utils": "8.23.1-snapshot.5+d19d2de94",
|
|
28
|
+
"@instructure/ui-themes": "8.23.1-snapshot.5+d19d2de94"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@babel/runtime": "^7.13.10",
|
|
32
|
-
"@instructure/console": "8.23.
|
|
33
|
-
"@instructure/emotion": "8.23.
|
|
34
|
-
"@instructure/shared-types": "8.23.
|
|
35
|
-
"@instructure/ui-a11y-content": "8.23.
|
|
36
|
-
"@instructure/ui-a11y-utils": "8.23.
|
|
37
|
-
"@instructure/ui-grid": "8.23.
|
|
38
|
-
"@instructure/ui-icons": "8.23.
|
|
39
|
-
"@instructure/ui-react-utils": "8.23.
|
|
40
|
-
"@instructure/ui-utils": "8.23.
|
|
41
|
-
"@instructure/uid": "8.23.
|
|
32
|
+
"@instructure/console": "8.23.1-snapshot.5+d19d2de94",
|
|
33
|
+
"@instructure/emotion": "8.23.1-snapshot.5+d19d2de94",
|
|
34
|
+
"@instructure/shared-types": "8.23.1-snapshot.5+d19d2de94",
|
|
35
|
+
"@instructure/ui-a11y-content": "8.23.1-snapshot.5+d19d2de94",
|
|
36
|
+
"@instructure/ui-a11y-utils": "8.23.1-snapshot.5+d19d2de94",
|
|
37
|
+
"@instructure/ui-grid": "8.23.1-snapshot.5+d19d2de94",
|
|
38
|
+
"@instructure/ui-icons": "8.23.1-snapshot.5+d19d2de94",
|
|
39
|
+
"@instructure/ui-react-utils": "8.23.1-snapshot.5+d19d2de94",
|
|
40
|
+
"@instructure/ui-utils": "8.23.1-snapshot.5+d19d2de94",
|
|
41
|
+
"@instructure/uid": "8.23.1-snapshot.5+d19d2de94",
|
|
42
42
|
"prop-types": "^15"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
@@ -46,5 +46,6 @@
|
|
|
46
46
|
},
|
|
47
47
|
"publishConfig": {
|
|
48
48
|
"access": "public"
|
|
49
|
-
}
|
|
49
|
+
},
|
|
50
|
+
"gitHead": "d19d2de94392ef0c117346830f5d70ef5ae80795"
|
|
50
51
|
}
|