@atlaskit/textarea 5.0.0 → 5.0.1
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 +6 -0
- package/dist/cjs/styles.js +6 -6
- package/dist/cjs/text-area.js +1 -1
- package/dist/es2019/styles.js +6 -6
- package/dist/es2019/text-area.js +1 -1
- package/dist/esm/styles.js +6 -6
- package/dist/esm/text-area.js +1 -1
- package/package.json +8 -4
- package/tmp/api-report-tmp.d.ts +0 -48
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/textarea
|
|
2
2
|
|
|
3
|
+
## 5.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#74756](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/74756) [`8e66f751df96`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8e66f751df96) - Use feature flag to roll out border width update from 2px to 1px
|
|
8
|
+
|
|
3
9
|
## 5.0.0
|
|
4
10
|
|
|
5
11
|
### Major Changes
|
package/dist/cjs/styles.js
CHANGED
|
@@ -91,7 +91,7 @@ var bgAndBorderColorStyles = function bgAndBorderColorStyles(appearance) {
|
|
|
91
91
|
'&:focus': {
|
|
92
92
|
backgroundColor: backgroundColorFocus[appearance],
|
|
93
93
|
borderColor: borderColorFocus[appearance],
|
|
94
|
-
boxShadow: (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.border-
|
|
94
|
+
boxShadow: (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.update-input-border-wdith_5abwv') ? "inset 0 0 0 ".concat("var(--ds-border-width, 1px)", " ", borderColorFocus[appearance]) : undefined
|
|
95
95
|
},
|
|
96
96
|
'&:not(:focus)': {
|
|
97
97
|
backgroundColor: backgroundColor[appearance],
|
|
@@ -101,13 +101,13 @@ var bgAndBorderColorStyles = function bgAndBorderColorStyles(appearance) {
|
|
|
101
101
|
'&[data-invalid]:focus': {
|
|
102
102
|
backgroundColor: invalidRules.backgroundColorFocus,
|
|
103
103
|
borderColor: invalidRules.borderColorFocus,
|
|
104
|
-
boxShadow: (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.border-
|
|
104
|
+
boxShadow: (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.update-input-border-wdith_5abwv') ? "inset 0 0 0 ".concat("var(--ds-border-width, 1px)", " ", invalidRules.borderColorFocus) : undefined
|
|
105
105
|
},
|
|
106
106
|
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
107
107
|
'&[data-invalid]:not(:focus)': {
|
|
108
108
|
backgroundColor: invalidRules.backgroundColor,
|
|
109
109
|
borderColor: invalidRules.borderColor,
|
|
110
|
-
boxShadow: (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.border-
|
|
110
|
+
boxShadow: (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.update-input-border-wdith_5abwv') ? "inset 0 0 0 ".concat("var(--ds-border-width, 1px)", " ", invalidRules.borderColor) : undefined
|
|
111
111
|
}
|
|
112
112
|
}, appearance === 'standard' ? {
|
|
113
113
|
'&:disabled:focus': {
|
|
@@ -139,7 +139,7 @@ var hoverBackgroundAndBorderStyles = function hoverBackgroundAndBorderStyles(app
|
|
|
139
139
|
'&[data-invalid]': {
|
|
140
140
|
backgroundColor: invalidRules.backgroundColorHover,
|
|
141
141
|
borderColor: invalidRules.borderColor,
|
|
142
|
-
boxShadow: (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.border-
|
|
142
|
+
boxShadow: (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.update-input-border-wdith_5abwv') ? "inset 0 0 0 ".concat("var(--ds-border-width, 1px)", " ", invalidRules.borderColor) : undefined
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
});
|
|
@@ -172,7 +172,7 @@ var fontFamilyStyle = function fontFamilyStyle(isMonospaced) {
|
|
|
172
172
|
var borderPaddingAndHeightStyles = function borderPaddingAndHeightStyles() {
|
|
173
173
|
var minimumRows = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;
|
|
174
174
|
var appearance = arguments.length > 1 ? arguments[1] : undefined;
|
|
175
|
-
var borderWidth = (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.border-
|
|
175
|
+
var borderWidth = (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.update-input-border-wdith_5abwv') && appearance !== 'none' ? 1 : 2;
|
|
176
176
|
var horizontalPaddingWithoutBorderWidth = horizontalPadding - borderWidth;
|
|
177
177
|
var borderHeight = borderWidth;
|
|
178
178
|
return (0, _react.css)({
|
|
@@ -202,7 +202,7 @@ var staticStyles = (0, _react.css)({
|
|
|
202
202
|
flex: '1 1 100%',
|
|
203
203
|
borderRadius: "var(--ds-border-radius, 3px)",
|
|
204
204
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
205
|
-
borderWidth: (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.border-
|
|
205
|
+
borderWidth: (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.update-input-border-wdith_5abwv') ? 1 : borderWidth,
|
|
206
206
|
fontSize: fontSize,
|
|
207
207
|
outline: 'none',
|
|
208
208
|
overflow: 'auto',
|
package/dist/cjs/text-area.js
CHANGED
|
@@ -21,7 +21,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
21
21
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
22
22
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
23
23
|
var packageName = "@atlaskit/textarea";
|
|
24
|
-
var packageVersion = "5.0.
|
|
24
|
+
var packageVersion = "5.0.1";
|
|
25
25
|
var analyticsParams = {
|
|
26
26
|
componentName: 'textArea',
|
|
27
27
|
packageName: packageName,
|
package/dist/es2019/styles.js
CHANGED
|
@@ -80,7 +80,7 @@ const bgAndBorderColorStyles = appearance => appearance && css({
|
|
|
80
80
|
'&:focus': {
|
|
81
81
|
backgroundColor: backgroundColorFocus[appearance],
|
|
82
82
|
borderColor: borderColorFocus[appearance],
|
|
83
|
-
boxShadow: getBooleanFF('platform.design-system-team.border-
|
|
83
|
+
boxShadow: getBooleanFF('platform.design-system-team.update-input-border-wdith_5abwv') ? `inset 0 0 0 ${"var(--ds-border-width, 1px)"} ${borderColorFocus[appearance]}` : undefined
|
|
84
84
|
},
|
|
85
85
|
'&:not(:focus)': {
|
|
86
86
|
backgroundColor: backgroundColor[appearance],
|
|
@@ -90,13 +90,13 @@ const bgAndBorderColorStyles = appearance => appearance && css({
|
|
|
90
90
|
'&[data-invalid]:focus': {
|
|
91
91
|
backgroundColor: invalidRules.backgroundColorFocus,
|
|
92
92
|
borderColor: invalidRules.borderColorFocus,
|
|
93
|
-
boxShadow: getBooleanFF('platform.design-system-team.border-
|
|
93
|
+
boxShadow: getBooleanFF('platform.design-system-team.update-input-border-wdith_5abwv') ? `inset 0 0 0 ${"var(--ds-border-width, 1px)"} ${invalidRules.borderColorFocus}` : undefined
|
|
94
94
|
},
|
|
95
95
|
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
96
96
|
'&[data-invalid]:not(:focus)': {
|
|
97
97
|
backgroundColor: invalidRules.backgroundColor,
|
|
98
98
|
borderColor: invalidRules.borderColor,
|
|
99
|
-
boxShadow: getBooleanFF('platform.design-system-team.border-
|
|
99
|
+
boxShadow: getBooleanFF('platform.design-system-team.update-input-border-wdith_5abwv') ? `inset 0 0 0 ${"var(--ds-border-width, 1px)"} ${invalidRules.borderColor}` : undefined
|
|
100
100
|
},
|
|
101
101
|
// Disabled background and border styles should not be applied to components that
|
|
102
102
|
// have either no background or transparent background to begin with
|
|
@@ -127,7 +127,7 @@ const hoverBackgroundAndBorderStyles = appearance => appearance && css({
|
|
|
127
127
|
'&[data-invalid]': {
|
|
128
128
|
backgroundColor: invalidRules.backgroundColorHover,
|
|
129
129
|
borderColor: invalidRules.borderColor,
|
|
130
|
-
boxShadow: getBooleanFF('platform.design-system-team.border-
|
|
130
|
+
boxShadow: getBooleanFF('platform.design-system-team.update-input-border-wdith_5abwv') ? `inset 0 0 0 ${"var(--ds-border-width, 1px)"} ${invalidRules.borderColor}` : undefined
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
});
|
|
@@ -153,7 +153,7 @@ const fontFamilyStyle = isMonospaced => css({
|
|
|
153
153
|
fontFamily: isMonospaced ? codeFontFamily : fontFamily
|
|
154
154
|
});
|
|
155
155
|
const borderPaddingAndHeightStyles = (minimumRows = 1, appearance) => {
|
|
156
|
-
const borderWidth = getBooleanFF('platform.design-system-team.border-
|
|
156
|
+
const borderWidth = getBooleanFF('platform.design-system-team.update-input-border-wdith_5abwv') && appearance !== 'none' ? 1 : 2;
|
|
157
157
|
const horizontalPaddingWithoutBorderWidth = horizontalPadding - borderWidth;
|
|
158
158
|
const borderHeight = borderWidth;
|
|
159
159
|
return css({
|
|
@@ -183,7 +183,7 @@ const staticStyles = css({
|
|
|
183
183
|
flex: '1 1 100%',
|
|
184
184
|
borderRadius: "var(--ds-border-radius, 3px)",
|
|
185
185
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
186
|
-
borderWidth: getBooleanFF('platform.design-system-team.border-
|
|
186
|
+
borderWidth: getBooleanFF('platform.design-system-team.update-input-border-wdith_5abwv') ? 1 : borderWidth,
|
|
187
187
|
fontSize: fontSize,
|
|
188
188
|
outline: 'none',
|
|
189
189
|
overflow: 'auto',
|
package/dist/es2019/text-area.js
CHANGED
|
@@ -5,7 +5,7 @@ import { css, jsx } from '@emotion/react';
|
|
|
5
5
|
import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next';
|
|
6
6
|
import { borderWidth, dynamicStyles, getBaseStyles } from './styles';
|
|
7
7
|
const packageName = "@atlaskit/textarea";
|
|
8
|
-
const packageVersion = "5.0.
|
|
8
|
+
const packageVersion = "5.0.1";
|
|
9
9
|
const analyticsParams = {
|
|
10
10
|
componentName: 'textArea',
|
|
11
11
|
packageName,
|
package/dist/esm/styles.js
CHANGED
|
@@ -84,7 +84,7 @@ var bgAndBorderColorStyles = function bgAndBorderColorStyles(appearance) {
|
|
|
84
84
|
'&:focus': {
|
|
85
85
|
backgroundColor: backgroundColorFocus[appearance],
|
|
86
86
|
borderColor: borderColorFocus[appearance],
|
|
87
|
-
boxShadow: getBooleanFF('platform.design-system-team.border-
|
|
87
|
+
boxShadow: getBooleanFF('platform.design-system-team.update-input-border-wdith_5abwv') ? "inset 0 0 0 ".concat("var(--ds-border-width, 1px)", " ", borderColorFocus[appearance]) : undefined
|
|
88
88
|
},
|
|
89
89
|
'&:not(:focus)': {
|
|
90
90
|
backgroundColor: backgroundColor[appearance],
|
|
@@ -94,13 +94,13 @@ var bgAndBorderColorStyles = function bgAndBorderColorStyles(appearance) {
|
|
|
94
94
|
'&[data-invalid]:focus': {
|
|
95
95
|
backgroundColor: invalidRules.backgroundColorFocus,
|
|
96
96
|
borderColor: invalidRules.borderColorFocus,
|
|
97
|
-
boxShadow: getBooleanFF('platform.design-system-team.border-
|
|
97
|
+
boxShadow: getBooleanFF('platform.design-system-team.update-input-border-wdith_5abwv') ? "inset 0 0 0 ".concat("var(--ds-border-width, 1px)", " ", invalidRules.borderColorFocus) : undefined
|
|
98
98
|
},
|
|
99
99
|
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
100
100
|
'&[data-invalid]:not(:focus)': {
|
|
101
101
|
backgroundColor: invalidRules.backgroundColor,
|
|
102
102
|
borderColor: invalidRules.borderColor,
|
|
103
|
-
boxShadow: getBooleanFF('platform.design-system-team.border-
|
|
103
|
+
boxShadow: getBooleanFF('platform.design-system-team.update-input-border-wdith_5abwv') ? "inset 0 0 0 ".concat("var(--ds-border-width, 1px)", " ", invalidRules.borderColor) : undefined
|
|
104
104
|
}
|
|
105
105
|
}, appearance === 'standard' ? {
|
|
106
106
|
'&:disabled:focus': {
|
|
@@ -132,7 +132,7 @@ var hoverBackgroundAndBorderStyles = function hoverBackgroundAndBorderStyles(app
|
|
|
132
132
|
'&[data-invalid]': {
|
|
133
133
|
backgroundColor: invalidRules.backgroundColorHover,
|
|
134
134
|
borderColor: invalidRules.borderColor,
|
|
135
|
-
boxShadow: getBooleanFF('platform.design-system-team.border-
|
|
135
|
+
boxShadow: getBooleanFF('platform.design-system-team.update-input-border-wdith_5abwv') ? "inset 0 0 0 ".concat("var(--ds-border-width, 1px)", " ", invalidRules.borderColor) : undefined
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
});
|
|
@@ -165,7 +165,7 @@ var fontFamilyStyle = function fontFamilyStyle(isMonospaced) {
|
|
|
165
165
|
var borderPaddingAndHeightStyles = function borderPaddingAndHeightStyles() {
|
|
166
166
|
var minimumRows = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;
|
|
167
167
|
var appearance = arguments.length > 1 ? arguments[1] : undefined;
|
|
168
|
-
var borderWidth = getBooleanFF('platform.design-system-team.border-
|
|
168
|
+
var borderWidth = getBooleanFF('platform.design-system-team.update-input-border-wdith_5abwv') && appearance !== 'none' ? 1 : 2;
|
|
169
169
|
var horizontalPaddingWithoutBorderWidth = horizontalPadding - borderWidth;
|
|
170
170
|
var borderHeight = borderWidth;
|
|
171
171
|
return css({
|
|
@@ -195,7 +195,7 @@ var staticStyles = css({
|
|
|
195
195
|
flex: '1 1 100%',
|
|
196
196
|
borderRadius: "var(--ds-border-radius, 3px)",
|
|
197
197
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
198
|
-
borderWidth: getBooleanFF('platform.design-system-team.border-
|
|
198
|
+
borderWidth: getBooleanFF('platform.design-system-team.update-input-border-wdith_5abwv') ? 1 : borderWidth,
|
|
199
199
|
fontSize: fontSize,
|
|
200
200
|
outline: 'none',
|
|
201
201
|
overflow: 'auto',
|
package/dist/esm/text-area.js
CHANGED
|
@@ -11,7 +11,7 @@ import { css, jsx } from '@emotion/react';
|
|
|
11
11
|
import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next';
|
|
12
12
|
import { borderWidth, dynamicStyles, getBaseStyles } from './styles';
|
|
13
13
|
var packageName = "@atlaskit/textarea";
|
|
14
|
-
var packageVersion = "5.0.
|
|
14
|
+
var packageVersion = "5.0.1";
|
|
15
15
|
var analyticsParams = {
|
|
16
16
|
componentName: 'textArea',
|
|
17
17
|
packageName: packageName,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/textarea",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "A text area lets users enter long form text which spans over multiple lines.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
"./text-area": "./src/text-area.tsx"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@atlaskit/analytics-next": "^9.
|
|
44
|
+
"@atlaskit/analytics-next": "^9.2.0",
|
|
45
45
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
46
46
|
"@atlaskit/theme": "^12.6.0",
|
|
47
|
-
"@atlaskit/tokens": "^1.
|
|
47
|
+
"@atlaskit/tokens": "^1.38.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
49
49
|
"@emotion/react": "^11.7.1"
|
|
50
50
|
},
|
|
@@ -53,14 +53,15 @@
|
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@af/accessibility-testing": "*",
|
|
56
|
+
"@af/integration-testing": "*",
|
|
56
57
|
"@atlaskit/ds-lib": "^2.2.0",
|
|
57
58
|
"@atlaskit/ssr": "*",
|
|
58
59
|
"@atlaskit/visual-regression": "*",
|
|
59
|
-
"@atlaskit/webdriver-runner": "*",
|
|
60
60
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
61
61
|
"@atlassian/feature-flags-test-utils": "*",
|
|
62
62
|
"@testing-library/dom": "^8.17.1",
|
|
63
63
|
"@testing-library/react": "^12.1.5",
|
|
64
|
+
"jest-in-case": "^1.0.2",
|
|
64
65
|
"jscodeshift": "^0.13.0",
|
|
65
66
|
"react-dom": "^16.8.0",
|
|
66
67
|
"storybook-addon-performance": "^0.16.0",
|
|
@@ -95,6 +96,9 @@
|
|
|
95
96
|
"platform-feature-flags": {
|
|
96
97
|
"platform.design-system-team.border-checkbox_nyoiu": {
|
|
97
98
|
"type": "boolean"
|
|
99
|
+
},
|
|
100
|
+
"platform.design-system-team.update-input-border-wdith_5abwv": {
|
|
101
|
+
"type": "boolean"
|
|
98
102
|
}
|
|
99
103
|
},
|
|
100
104
|
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
|
package/tmp/api-report-tmp.d.ts
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/textarea"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
/// <reference types="react" />
|
|
8
|
-
|
|
9
|
-
import { default as React_2 } from 'react';
|
|
10
|
-
import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
11
|
-
|
|
12
|
-
// @public (undocumented)
|
|
13
|
-
type Combine<First, Second> = Omit<First, keyof Second> & Second;
|
|
14
|
-
|
|
15
|
-
// @public (undocumented)
|
|
16
|
-
interface OwnProps extends WithAnalyticsEventsProps {
|
|
17
|
-
appearance?: 'none' | 'standard' | 'subtle';
|
|
18
|
-
defaultValue?: string;
|
|
19
|
-
isCompact?: boolean;
|
|
20
|
-
isDisabled?: boolean;
|
|
21
|
-
isInvalid?: boolean;
|
|
22
|
-
isMonospaced?: boolean;
|
|
23
|
-
isReadOnly?: boolean;
|
|
24
|
-
isRequired?: boolean;
|
|
25
|
-
maxHeight?: string;
|
|
26
|
-
minimumRows?: number;
|
|
27
|
-
name?: string;
|
|
28
|
-
onBlur?: React.FocusEventHandler<HTMLTextAreaElement>;
|
|
29
|
-
onChange?: React.ChangeEventHandler<HTMLTextAreaElement>;
|
|
30
|
-
onFocus?: React.FocusEventHandler<HTMLTextAreaElement>;
|
|
31
|
-
placeholder?: string;
|
|
32
|
-
resize?: 'auto' | 'horizontal' | 'none' | 'smart' | 'vertical';
|
|
33
|
-
spellCheck?: boolean;
|
|
34
|
-
testId?: string;
|
|
35
|
-
theme?: any;
|
|
36
|
-
value?: string;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
// @public
|
|
40
|
-
const TextArea: React_2.MemoExoticComponent<React_2.ForwardRefExoticComponent<Pick<TextAreaProps, "about" | "accessKey" | "appearance" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "autoCapitalize" | "autoComplete" | "autoCorrect" | "autoFocus" | "autoSave" | "children" | "className" | "color" | "cols" | "contentEditable" | "contextMenu" | "createAnalyticsEvent" | "dangerouslySetInnerHTML" | "datatype" | "defaultChecked" | "defaultValue" | "dir" | "dirName" | "draggable" | "form" | "hidden" | "id" | "inlist" | "inputMode" | "is" | "isCompact" | "isDisabled" | "isInvalid" | "isMonospaced" | "isReadOnly" | "isRequired" | "itemID" | "itemProp" | "itemRef" | "itemScope" | "itemType" | "lang" | "maxHeight" | "maxLength" | "minLength" | "minimumRows" | "name" | "onAbort" | "onAbortCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAuxClick" | "onAuxClickCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onBlur" | "onBlurCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onChange" | "onChangeCapture" | "onClick" | "onClickCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onContextMenu" | "onContextMenuCapture" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onError" | "onErrorCapture" | "onFocus" | "onFocusCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onInput" | "onInputCapture" | "onInvalid" | "onInvalidCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onLoad" | "onLoadCapture" | "onLoadStart" | "onLoadStartCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onPaste" | "onPasteCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerOut" | "onPointerOutCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerUp" | "onPointerUpCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onReset" | "onResetCapture" | "onScroll" | "onScrollCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onSelect" | "onSelectCapture" | "onStalled" | "onStalledCapture" | "onSubmit" | "onSubmitCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onWheel" | "onWheelCapture" | "placeholder" | "prefix" | "property" | "radioGroup" | "readOnly" | "resize" | "resource" | "results" | "role" | "rows" | "security" | "slot" | "spellCheck" | "style" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "tabIndex" | "testId" | "theme" | "title" | "translate" | "typeof" | "unselectable" | "value" | "vocab" | "wrap"> & React_2.RefAttributes<HTMLTextAreaElement>>>;
|
|
41
|
-
export default TextArea;
|
|
42
|
-
|
|
43
|
-
// @public (undocumented)
|
|
44
|
-
export type TextAreaProps = Combine<Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'disabled' | 'readonly' | 'required'>, OwnProps>;
|
|
45
|
-
|
|
46
|
-
// (No @packageDocumentation comment for this package)
|
|
47
|
-
|
|
48
|
-
```
|