@instructure/ui-text-area 8.9.2-snapshot.3 → 8.10.0
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 +4 -0
- package/es/TextArea/index.js +2 -2
- package/lib/TextArea/index.js +2 -2
- package/package.json +17 -18
- package/src/TextArea/index.tsx +2 -2
- package/src/TextArea/props.ts +9 -4
- package/src/TextArea/styles.ts +6 -3
- package/types/TextArea/props.d.ts +5 -4
- package/types/TextArea/props.d.ts.map +1 -1
- package/types/TextArea/styles.d.ts +3 -145
- package/types/TextArea/styles.d.ts.map +1 -1
- package/LICENSE.md +0 -27
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
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.10.0](https://github.com/instructure/instructure-ui/compare/v8.9.1...v8.10.0) (2021-09-28)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @instructure/ui-text-area
|
|
9
|
+
|
|
6
10
|
## [8.9.1](https://github.com/instructure/instructure-ui/compare/v8.9.0...v8.9.1) (2021-09-16)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @instructure/ui-text-area
|
package/es/TextArea/index.js
CHANGED
|
@@ -238,7 +238,7 @@ let TextArea = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 =
|
|
|
238
238
|
maxHeight = _this$props4.maxHeight,
|
|
239
239
|
textareaRef = _this$props4.textareaRef,
|
|
240
240
|
resize = _this$props4.resize;
|
|
241
|
-
const props = omitProps(this.props, TextArea.
|
|
241
|
+
const props = omitProps(this.props, TextArea.allowedProps);
|
|
242
242
|
const style = {
|
|
243
243
|
width,
|
|
244
244
|
resize,
|
|
@@ -262,7 +262,7 @@ let TextArea = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 =
|
|
|
262
262
|
css: (_this$props$styles = this.props.styles) === null || _this$props$styles === void 0 ? void 0 : _this$props$styles.textArea,
|
|
263
263
|
onChange: this.handleChange
|
|
264
264
|
}));
|
|
265
|
-
return jsx(FormField, Object.assign({}, pickProps(this.props, FormField.
|
|
265
|
+
return jsx(FormField, Object.assign({}, pickProps(this.props, FormField.allowedProps), {
|
|
266
266
|
vAlign: "top",
|
|
267
267
|
id: this.id,
|
|
268
268
|
ref: el => {
|
package/lib/TextArea/index.js
CHANGED
|
@@ -241,7 +241,7 @@ let TextArea = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default),
|
|
|
241
241
|
maxHeight = _this$props4.maxHeight,
|
|
242
242
|
textareaRef = _this$props4.textareaRef,
|
|
243
243
|
resize = _this$props4.resize;
|
|
244
|
-
const props = (0, _omitProps.omitProps)(this.props, TextArea.
|
|
244
|
+
const props = (0, _omitProps.omitProps)(this.props, TextArea.allowedProps);
|
|
245
245
|
const style = {
|
|
246
246
|
width,
|
|
247
247
|
resize,
|
|
@@ -265,7 +265,7 @@ let TextArea = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default),
|
|
|
265
265
|
css: (_this$props$styles = this.props.styles) === null || _this$props$styles === void 0 ? void 0 : _this$props$styles.textArea,
|
|
266
266
|
onChange: this.handleChange
|
|
267
267
|
}));
|
|
268
|
-
return (0, _emotion.jsx)(_FormField.FormField, Object.assign({}, (0, _pickProps.pickProps)(this.props, _FormField.FormField.
|
|
268
|
+
return (0, _emotion.jsx)(_FormField.FormField, Object.assign({}, (0, _pickProps.pickProps)(this.props, _FormField.FormField.allowedProps), {
|
|
269
269
|
vAlign: "top",
|
|
270
270
|
id: this.id,
|
|
271
271
|
ref: el => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-text-area",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.10.0",
|
|
4
4
|
"description": "A styled HTML text area component",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -25,24 +25,24 @@
|
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@babel/runtime": "^7.13.10",
|
|
28
|
-
"@instructure/debounce": "8.
|
|
29
|
-
"@instructure/emotion": "8.
|
|
30
|
-
"@instructure/shared-types": "8.
|
|
31
|
-
"@instructure/ui-dom-utils": "8.
|
|
32
|
-
"@instructure/ui-form-field": "8.
|
|
33
|
-
"@instructure/ui-prop-types": "8.
|
|
34
|
-
"@instructure/ui-react-utils": "8.
|
|
35
|
-
"@instructure/ui-testable": "8.
|
|
36
|
-
"@instructure/ui-utils": "8.
|
|
37
|
-
"@instructure/uid": "8.
|
|
28
|
+
"@instructure/debounce": "8.10.0",
|
|
29
|
+
"@instructure/emotion": "8.10.0",
|
|
30
|
+
"@instructure/shared-types": "8.10.0",
|
|
31
|
+
"@instructure/ui-dom-utils": "8.10.0",
|
|
32
|
+
"@instructure/ui-form-field": "8.10.0",
|
|
33
|
+
"@instructure/ui-prop-types": "8.10.0",
|
|
34
|
+
"@instructure/ui-react-utils": "8.10.0",
|
|
35
|
+
"@instructure/ui-testable": "8.10.0",
|
|
36
|
+
"@instructure/ui-utils": "8.10.0",
|
|
37
|
+
"@instructure/uid": "8.10.0",
|
|
38
38
|
"prop-types": "^15"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@instructure/ui-babel-preset": "8.
|
|
42
|
-
"@instructure/ui-color-utils": "8.
|
|
43
|
-
"@instructure/ui-test-locator": "8.
|
|
44
|
-
"@instructure/ui-test-utils": "8.
|
|
45
|
-
"@instructure/ui-themes": "8.
|
|
41
|
+
"@instructure/ui-babel-preset": "8.10.0",
|
|
42
|
+
"@instructure/ui-color-utils": "8.10.0",
|
|
43
|
+
"@instructure/ui-test-locator": "8.10.0",
|
|
44
|
+
"@instructure/ui-test-utils": "8.10.0",
|
|
45
|
+
"@instructure/ui-themes": "8.10.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"react": ">=16.8 <=17"
|
|
@@ -50,6 +50,5 @@
|
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"access": "public"
|
|
52
52
|
},
|
|
53
|
-
"sideEffects": false
|
|
54
|
-
"gitHead": "ddc7880d5a2f7d4d0596332e8d49cb9b1de68024"
|
|
53
|
+
"sideEffects": false
|
|
55
54
|
}
|
package/src/TextArea/index.tsx
CHANGED
|
@@ -304,7 +304,7 @@ class TextArea extends Component<TextAreaProps> {
|
|
|
304
304
|
resize
|
|
305
305
|
} = this.props
|
|
306
306
|
|
|
307
|
-
const props = omitProps(this.props, TextArea.
|
|
307
|
+
const props = omitProps(this.props, TextArea.allowedProps)
|
|
308
308
|
|
|
309
309
|
const style = {
|
|
310
310
|
width,
|
|
@@ -341,7 +341,7 @@ class TextArea extends Component<TextAreaProps> {
|
|
|
341
341
|
return (
|
|
342
342
|
// @ts-expect-error ts-migrate(2769) FIXME: No overload matches this call.
|
|
343
343
|
<FormField
|
|
344
|
-
{...pickProps(this.props, FormField.
|
|
344
|
+
{...pickProps(this.props, FormField.allowedProps)}
|
|
345
345
|
vAlign="top"
|
|
346
346
|
id={this.id}
|
|
347
347
|
ref={(el) => {
|
package/src/TextArea/props.ts
CHANGED
|
@@ -27,9 +27,9 @@ import PropTypes from 'prop-types'
|
|
|
27
27
|
import { controllable } from '@instructure/ui-prop-types'
|
|
28
28
|
import { FormPropTypes } from '@instructure/ui-form-field'
|
|
29
29
|
|
|
30
|
-
import type { PropValidators } from '@instructure/shared-types'
|
|
30
|
+
import type { PropValidators, TextAreaTheme } from '@instructure/shared-types'
|
|
31
31
|
import type { FormMessage } from '@instructure/ui-form-field'
|
|
32
|
-
import type { WithStyleProps } from '@instructure/emotion'
|
|
32
|
+
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion'
|
|
33
33
|
|
|
34
34
|
type TextAreaOwnProps = {
|
|
35
35
|
label: React.ReactNode
|
|
@@ -57,7 +57,12 @@ type PropKeys = keyof TextAreaOwnProps
|
|
|
57
57
|
|
|
58
58
|
type AllowedPropKeys = Readonly<Array<PropKeys>>
|
|
59
59
|
|
|
60
|
-
type TextAreaProps = TextAreaOwnProps &
|
|
60
|
+
type TextAreaProps = TextAreaOwnProps &
|
|
61
|
+
WithStyleProps<TextAreaTheme, TextAreaStyle>
|
|
62
|
+
|
|
63
|
+
type TextAreaStyle = ComponentStyle<
|
|
64
|
+
'textArea' | 'textAreaLayout' | 'textAreaOutline'
|
|
65
|
+
>
|
|
61
66
|
|
|
62
67
|
const propTypes: PropValidators<PropKeys> = {
|
|
63
68
|
label: PropTypes.node.isRequired,
|
|
@@ -154,5 +159,5 @@ const allowedProps: AllowedPropKeys = [
|
|
|
154
159
|
'onChange'
|
|
155
160
|
]
|
|
156
161
|
|
|
157
|
-
export type { TextAreaProps }
|
|
162
|
+
export type { TextAreaProps, TextAreaStyle }
|
|
158
163
|
export { propTypes, allowedProps }
|
package/src/TextArea/styles.ts
CHANGED
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
-
import { TextAreaTheme } from '@instructure/shared-types'
|
|
26
|
-
import { TextAreaProps } from './props'
|
|
25
|
+
import type { TextAreaTheme } from '@instructure/shared-types'
|
|
26
|
+
import type { TextAreaProps, TextAreaStyle } from './props'
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* ---
|
|
@@ -35,7 +35,10 @@ import { TextAreaProps } from './props'
|
|
|
35
35
|
* @param {Object} state the state of the component, the style is applied to
|
|
36
36
|
* @return {Object} The final style object, which will be used in the component
|
|
37
37
|
*/
|
|
38
|
-
const generateStyle = (
|
|
38
|
+
const generateStyle = (
|
|
39
|
+
componentTheme: TextAreaTheme,
|
|
40
|
+
props: TextAreaProps
|
|
41
|
+
): TextAreaStyle => {
|
|
39
42
|
const { disabled, size } = props
|
|
40
43
|
|
|
41
44
|
const fontSizeVariants = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { PropValidators } from '@instructure/shared-types';
|
|
2
|
+
import type { PropValidators, TextAreaTheme } from '@instructure/shared-types';
|
|
3
3
|
import type { FormMessage } from '@instructure/ui-form-field';
|
|
4
|
-
import type { WithStyleProps } from '@instructure/emotion';
|
|
4
|
+
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion';
|
|
5
5
|
declare type TextAreaOwnProps = {
|
|
6
6
|
label: React.ReactNode;
|
|
7
7
|
id?: string;
|
|
@@ -25,9 +25,10 @@ declare type TextAreaOwnProps = {
|
|
|
25
25
|
};
|
|
26
26
|
declare type PropKeys = keyof TextAreaOwnProps;
|
|
27
27
|
declare type AllowedPropKeys = Readonly<Array<PropKeys>>;
|
|
28
|
-
declare type TextAreaProps = TextAreaOwnProps & WithStyleProps
|
|
28
|
+
declare type TextAreaProps = TextAreaOwnProps & WithStyleProps<TextAreaTheme, TextAreaStyle>;
|
|
29
|
+
declare type TextAreaStyle = ComponentStyle<'textArea' | 'textAreaLayout' | 'textAreaOutline'>;
|
|
29
30
|
declare const propTypes: PropValidators<PropKeys>;
|
|
30
31
|
declare const allowedProps: AllowedPropKeys;
|
|
31
|
-
export type { TextAreaProps };
|
|
32
|
+
export type { TextAreaProps, TextAreaStyle };
|
|
32
33
|
export { propTypes, allowedProps };
|
|
33
34
|
//# sourceMappingURL=props.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/TextArea/props.ts"],"names":[],"mappings":";AA6BA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/TextArea/props.ts"],"names":[],"mappings":";AA6BA,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAC9E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAC7D,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAE1E,aAAK,gBAAgB,GAAG;IACtB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IACnC,MAAM,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAA;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,YAAY,GAAG,UAAU,CAAA;IACpD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAA;IACxB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAA;IACrC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,GAAG,CAAA;IACX,QAAQ,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAA;CACnC,CAAA;AAED,aAAK,QAAQ,GAAG,MAAM,gBAAgB,CAAA;AAEtC,aAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,aAAK,aAAa,GAAG,gBAAgB,GACnC,cAAc,CAAC,aAAa,EAAE,aAAa,CAAC,CAAA;AAE9C,aAAK,aAAa,GAAG,cAAc,CACjC,UAAU,GAAG,gBAAgB,GAAG,iBAAiB,CAClD,CAAA;AAED,QAAA,MAAM,SAAS,EAAE,cAAc,CAAC,QAAQ,CAuEvC,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,eAoBnB,CAAA;AAED,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,CAAA;AAC5C,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TextAreaTheme } from '@instructure/shared-types';
|
|
2
|
-
import { TextAreaProps } from './props';
|
|
1
|
+
import type { TextAreaTheme } from '@instructure/shared-types';
|
|
2
|
+
import type { TextAreaProps, TextAreaStyle } from './props';
|
|
3
3
|
/**
|
|
4
4
|
* ---
|
|
5
5
|
* private: true
|
|
@@ -10,148 +10,6 @@ import { TextAreaProps } from './props';
|
|
|
10
10
|
* @param {Object} state the state of the component, the style is applied to
|
|
11
11
|
* @return {Object} The final style object, which will be used in the component
|
|
12
12
|
*/
|
|
13
|
-
declare const generateStyle: (componentTheme: TextAreaTheme, props: TextAreaProps) =>
|
|
14
|
-
textArea: {
|
|
15
|
-
cursor?: string | undefined;
|
|
16
|
-
pointerEvents?: string | undefined;
|
|
17
|
-
opacity?: number | undefined;
|
|
18
|
-
'&:focus + [class$=-textArea__outline]': {
|
|
19
|
-
transform: string;
|
|
20
|
-
opacity: number;
|
|
21
|
-
};
|
|
22
|
-
'&[aria-invalid], &[aria-invalid]:focus, &[aria-invalid]:focus + [class$=-textArea__outline]': {
|
|
23
|
-
borderColor: string;
|
|
24
|
-
};
|
|
25
|
-
'&::placeholder': {
|
|
26
|
-
color: string;
|
|
27
|
-
};
|
|
28
|
-
fontSize: string | 0;
|
|
29
|
-
label: string;
|
|
30
|
-
all: string;
|
|
31
|
-
WebkitFontSmoothing: string;
|
|
32
|
-
MozOsxFontSmoothing: string;
|
|
33
|
-
appearance: string;
|
|
34
|
-
height: string;
|
|
35
|
-
margin: number;
|
|
36
|
-
width: string;
|
|
37
|
-
display: string;
|
|
38
|
-
boxSizing: string;
|
|
39
|
-
padding: string | 0;
|
|
40
|
-
fontFamily: string;
|
|
41
|
-
fontWeight: number;
|
|
42
|
-
borderWidth: string | 0;
|
|
43
|
-
borderStyle: string;
|
|
44
|
-
borderTopColor: string;
|
|
45
|
-
borderRightColor: string;
|
|
46
|
-
borderBottomColor: string;
|
|
47
|
-
borderLeftColor: string;
|
|
48
|
-
borderRadius: string | 0;
|
|
49
|
-
color: string;
|
|
50
|
-
background: string;
|
|
51
|
-
whiteSpace: string;
|
|
52
|
-
wordWrap: string;
|
|
53
|
-
textAlign: string;
|
|
54
|
-
} | {
|
|
55
|
-
cursor?: string | undefined;
|
|
56
|
-
pointerEvents?: string | undefined;
|
|
57
|
-
opacity?: number | undefined;
|
|
58
|
-
'&:focus + [class$=-textArea__outline]': {
|
|
59
|
-
transform: string;
|
|
60
|
-
opacity: number;
|
|
61
|
-
};
|
|
62
|
-
'&[aria-invalid], &[aria-invalid]:focus, &[aria-invalid]:focus + [class$=-textArea__outline]': {
|
|
63
|
-
borderColor: string;
|
|
64
|
-
};
|
|
65
|
-
'&::placeholder': {
|
|
66
|
-
color: string;
|
|
67
|
-
};
|
|
68
|
-
fontSize: string | 0;
|
|
69
|
-
label: string;
|
|
70
|
-
all: string;
|
|
71
|
-
WebkitFontSmoothing: string;
|
|
72
|
-
MozOsxFontSmoothing: string;
|
|
73
|
-
appearance: string;
|
|
74
|
-
height: string;
|
|
75
|
-
margin: number;
|
|
76
|
-
width: string;
|
|
77
|
-
display: string;
|
|
78
|
-
boxSizing: string;
|
|
79
|
-
padding: string | 0;
|
|
80
|
-
fontFamily: string;
|
|
81
|
-
fontWeight: number;
|
|
82
|
-
borderWidth: string | 0;
|
|
83
|
-
borderStyle: string;
|
|
84
|
-
borderTopColor: string;
|
|
85
|
-
borderRightColor: string;
|
|
86
|
-
borderBottomColor: string;
|
|
87
|
-
borderLeftColor: string;
|
|
88
|
-
borderRadius: string | 0;
|
|
89
|
-
color: string;
|
|
90
|
-
background: string;
|
|
91
|
-
whiteSpace: string;
|
|
92
|
-
wordWrap: string;
|
|
93
|
-
textAlign: string;
|
|
94
|
-
} | {
|
|
95
|
-
cursor?: string | undefined;
|
|
96
|
-
pointerEvents?: string | undefined;
|
|
97
|
-
opacity?: number | undefined;
|
|
98
|
-
'&:focus + [class$=-textArea__outline]': {
|
|
99
|
-
transform: string;
|
|
100
|
-
opacity: number;
|
|
101
|
-
};
|
|
102
|
-
'&[aria-invalid], &[aria-invalid]:focus, &[aria-invalid]:focus + [class$=-textArea__outline]': {
|
|
103
|
-
borderColor: string;
|
|
104
|
-
};
|
|
105
|
-
'&::placeholder': {
|
|
106
|
-
color: string;
|
|
107
|
-
};
|
|
108
|
-
fontSize: string | 0;
|
|
109
|
-
label: string;
|
|
110
|
-
all: string;
|
|
111
|
-
WebkitFontSmoothing: string;
|
|
112
|
-
MozOsxFontSmoothing: string;
|
|
113
|
-
appearance: string;
|
|
114
|
-
height: string;
|
|
115
|
-
margin: number;
|
|
116
|
-
width: string;
|
|
117
|
-
display: string;
|
|
118
|
-
boxSizing: string;
|
|
119
|
-
padding: string | 0;
|
|
120
|
-
fontFamily: string;
|
|
121
|
-
fontWeight: number;
|
|
122
|
-
borderWidth: string | 0;
|
|
123
|
-
borderStyle: string;
|
|
124
|
-
borderTopColor: string;
|
|
125
|
-
borderRightColor: string;
|
|
126
|
-
borderBottomColor: string;
|
|
127
|
-
borderLeftColor: string;
|
|
128
|
-
borderRadius: string | 0;
|
|
129
|
-
color: string;
|
|
130
|
-
background: string;
|
|
131
|
-
whiteSpace: string;
|
|
132
|
-
wordWrap: string;
|
|
133
|
-
textAlign: string;
|
|
134
|
-
};
|
|
135
|
-
textAreaLayout: {
|
|
136
|
-
label: string;
|
|
137
|
-
position: string;
|
|
138
|
-
};
|
|
139
|
-
textAreaOutline: {
|
|
140
|
-
label: string;
|
|
141
|
-
pointerEvents: string;
|
|
142
|
-
position: string;
|
|
143
|
-
display: string;
|
|
144
|
-
boxSizing: string;
|
|
145
|
-
top: string;
|
|
146
|
-
bottom: string;
|
|
147
|
-
left: string;
|
|
148
|
-
right: string;
|
|
149
|
-
border: string;
|
|
150
|
-
borderRadius: string;
|
|
151
|
-
transition: string;
|
|
152
|
-
opacity: number;
|
|
153
|
-
transform: string;
|
|
154
|
-
};
|
|
155
|
-
};
|
|
13
|
+
declare const generateStyle: (componentTheme: TextAreaTheme, props: TextAreaProps) => TextAreaStyle;
|
|
156
14
|
export default generateStyle;
|
|
157
15
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/TextArea/styles.ts"],"names":[],"mappings":"AAwBA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/TextArea/styles.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE3D;;;;;;;;;GASG;AACH,QAAA,MAAM,aAAa,mBACD,aAAa,SACtB,aAAa,KACnB,aAiFF,CAAA;AAED,eAAe,aAAa,CAAA"}
|
package/LICENSE.md
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
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.
|