@atlaskit/textarea 4.5.1 → 4.5.2

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/report.api.md CHANGED
@@ -1,6 +1,10 @@
1
- ## API Report File for "@atlaskit/textarea".
1
+ ## API Report File for "@atlaskit/textarea"
2
2
 
3
- > Do not edit this file. This report is auto-generated by [API Extractor](https://api-extractor.com/).
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ <!--
6
+ Generated API Report version: 2.0
7
+ -->
4
8
 
5
9
  [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
6
10
 
@@ -13,396 +17,324 @@ import { ReactNode } from 'react';
13
17
  import { ThemeProp } from '@atlaskit/theme/components';
14
18
  import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
15
19
 
16
- declare type Combine<First, Second> = Omit<First, keyof Second> & Second;
20
+ // @public (undocumented)
21
+ type Combine<First, Second> = Omit<First, keyof Second> & Second;
17
22
 
18
- declare interface OwnProps extends WithAnalyticsEventsProps {
19
- /**
20
- * controls the appearance of the field.
21
- * subtle shows styling on hover.
22
- * none prevents all field styling.
23
- */
23
+ // @public (undocumented)
24
+ interface OwnProps extends WithAnalyticsEventsProps {
24
25
  appearance?: 'standard' | 'subtle' | 'none';
25
- /**
26
- * Set whether the fields should expand to fill available horizontal space.
27
- */
26
+ defaultValue?: string;
28
27
  isCompact?: boolean;
29
- /**
30
- * Sets the field as uneditable, with a changed hover state.
31
- */
32
28
  isDisabled?: boolean;
33
- /**
34
- * If true, prevents the value of the input from being edited.
35
- */
29
+ isInvalid?: boolean;
30
+ isMonospaced?: boolean;
36
31
  isReadOnly?: boolean;
37
- /**
38
- * Set required for form that the field is part of.
39
- */
40
32
  isRequired?: boolean;
41
- /**
42
- * Sets styling to indicate that the input is invalid.
43
- */
44
- isInvalid?: boolean;
45
- /**
46
- * The minimum number of rows of text to display
47
- */
48
- minimumRows?: number;
49
- /**
50
- * The maxheight of the textarea
51
- */
52
33
  maxHeight?: string;
53
- /**
54
- * The value of the text-area.
55
- */
56
- value?: string;
57
- /**
58
- * The default value of the textarea
59
- */
60
- defaultValue?: string;
61
- /**
62
- * Name of the input form control
63
- */
34
+ minimumRows?: number;
64
35
  name?: string;
65
- /**
66
- * The placeholder within the textarea
67
- */
68
- placeholder?: string;
69
- /**
70
- * Handler to be called when the input is blurred
71
- */
72
36
  onBlur?: React_2.FocusEventHandler<HTMLTextAreaElement>;
73
- /**
74
- * Handler to be called when the input changes.
75
- */
76
37
  onChange?: React_2.ChangeEventHandler<HTMLTextAreaElement>;
77
- /**
78
- * Handler to be called when the input is focused
79
- */
80
38
  onFocus?: React_2.FocusEventHandler<HTMLTextAreaElement>;
81
- /**
82
- * Sets content text value to monospace
83
- */
84
- isMonospaced?: boolean;
85
- /**
86
- * Enables the resizing of the textarea:
87
- * auto: both directions.
88
- * horizontal: only along the x axis.
89
- * vertical: only along the y axis.
90
- * smart (default): vertically grows and shrinks the textarea automatically to wrap your input text.
91
- * none: explicitly disallow resizing on the textarea.
92
- */
39
+ placeholder?: string;
93
40
  resize?: 'auto' | 'vertical' | 'horizontal' | 'smart' | 'none';
94
- /**
95
- * Enables native spell check on the `textarea` element.
96
- */
97
41
  spellCheck?: boolean;
98
- /**
99
- * The theme function TextArea consumes to derive theming constants for use in styling its components
100
- */
101
- theme?: any;
102
- /**
103
- * A `testId` prop is provided for specified elements, which is a unique
104
- * string that appears as a data attribute `data-testid` in the rendered code,
105
- * serving as a hook for automated tests
106
- */
107
42
  testId?: string;
43
+ theme?: any;
44
+ value?: string;
108
45
  }
109
46
 
110
- /**
111
- * __Text area__
112
- *
113
- * A text area lets users enter long form text which spans over multiple lines.
114
- *
115
- * - [Examples](https://atlassian.design/components/textarea/examples)
116
- * - [Code](https://atlassian.design/components/textarea/code)
117
- * - [Usage](https://atlassian.design/components/textarea/usage)
118
- */
119
- declare const TextArea: React_2.MemoExoticComponent<React_2.ForwardRefExoticComponent<
120
- Pick<
121
- TextAreaProps,
122
- | 'appearance'
123
- | 'color'
124
- | 'maxHeight'
125
- | 'resize'
126
- | 'hidden'
127
- | 'style'
128
- | 'wrap'
129
- | 'minimumRows'
130
- | 'isMonospaced'
131
- | 'autoComplete'
132
- | 'autoFocus'
133
- | 'cols'
134
- | 'dirName'
135
- | 'form'
136
- | 'maxLength'
137
- | 'minLength'
138
- | 'name'
139
- | 'placeholder'
140
- | 'readOnly'
141
- | 'rows'
142
- | 'value'
143
- | 'onChange'
144
- | 'defaultChecked'
145
- | 'defaultValue'
146
- | 'suppressContentEditableWarning'
147
- | 'suppressHydrationWarning'
148
- | 'accessKey'
149
- | 'className'
150
- | 'contentEditable'
151
- | 'contextMenu'
152
- | 'dir'
153
- | 'draggable'
154
- | 'id'
155
- | 'lang'
156
- | 'slot'
157
- | 'spellCheck'
158
- | 'tabIndex'
159
- | 'title'
160
- | 'inputMode'
161
- | 'is'
162
- | 'radioGroup'
163
- | 'role'
164
- | 'about'
165
- | 'datatype'
166
- | 'inlist'
167
- | 'prefix'
168
- | 'property'
169
- | 'resource'
170
- | 'typeof'
171
- | 'vocab'
172
- | 'autoCapitalize'
173
- | 'autoCorrect'
174
- | 'autoSave'
175
- | 'itemProp'
176
- | 'itemScope'
177
- | 'itemType'
178
- | 'itemID'
179
- | 'itemRef'
180
- | 'results'
181
- | 'security'
182
- | 'unselectable'
183
- | 'aria-activedescendant'
184
- | 'aria-atomic'
185
- | 'aria-autocomplete'
186
- | 'aria-busy'
187
- | 'aria-checked'
188
- | 'aria-colcount'
189
- | 'aria-colindex'
190
- | 'aria-colspan'
191
- | 'aria-controls'
192
- | 'aria-current'
193
- | 'aria-describedby'
194
- | 'aria-details'
195
- | 'aria-disabled'
196
- | 'aria-dropeffect'
197
- | 'aria-errormessage'
198
- | 'aria-expanded'
199
- | 'aria-flowto'
200
- | 'aria-grabbed'
201
- | 'aria-haspopup'
202
- | 'aria-hidden'
203
- | 'aria-invalid'
204
- | 'aria-keyshortcuts'
205
- | 'aria-label'
206
- | 'aria-labelledby'
207
- | 'aria-level'
208
- | 'aria-live'
209
- | 'aria-modal'
210
- | 'aria-multiline'
211
- | 'aria-multiselectable'
212
- | 'aria-orientation'
213
- | 'aria-owns'
214
- | 'aria-placeholder'
215
- | 'aria-posinset'
216
- | 'aria-pressed'
217
- | 'aria-readonly'
218
- | 'aria-relevant'
219
- | 'aria-required'
220
- | 'aria-roledescription'
221
- | 'aria-rowcount'
222
- | 'aria-rowindex'
223
- | 'aria-rowspan'
224
- | 'aria-selected'
225
- | 'aria-setsize'
226
- | 'aria-sort'
227
- | 'aria-valuemax'
228
- | 'aria-valuemin'
229
- | 'aria-valuenow'
230
- | 'aria-valuetext'
231
- | 'children'
232
- | 'dangerouslySetInnerHTML'
233
- | 'onCopy'
234
- | 'onCopyCapture'
235
- | 'onCut'
236
- | 'onCutCapture'
237
- | 'onPaste'
238
- | 'onPasteCapture'
239
- | 'onCompositionEnd'
240
- | 'onCompositionEndCapture'
241
- | 'onCompositionStart'
242
- | 'onCompositionStartCapture'
243
- | 'onCompositionUpdate'
244
- | 'onCompositionUpdateCapture'
245
- | 'onFocus'
246
- | 'onFocusCapture'
247
- | 'onBlur'
248
- | 'onBlurCapture'
249
- | 'onChangeCapture'
250
- | 'onBeforeInput'
251
- | 'onBeforeInputCapture'
252
- | 'onInput'
253
- | 'onInputCapture'
254
- | 'onReset'
255
- | 'onResetCapture'
256
- | 'onSubmit'
257
- | 'onSubmitCapture'
258
- | 'onInvalid'
259
- | 'onInvalidCapture'
260
- | 'onLoad'
261
- | 'onLoadCapture'
262
- | 'onError'
263
- | 'onErrorCapture'
264
- | 'onKeyDown'
265
- | 'onKeyDownCapture'
266
- | 'onKeyPress'
267
- | 'onKeyPressCapture'
268
- | 'onKeyUp'
269
- | 'onKeyUpCapture'
270
- | 'onAbort'
271
- | 'onAbortCapture'
272
- | 'onCanPlay'
273
- | 'onCanPlayCapture'
274
- | 'onCanPlayThrough'
275
- | 'onCanPlayThroughCapture'
276
- | 'onDurationChange'
277
- | 'onDurationChangeCapture'
278
- | 'onEmptied'
279
- | 'onEmptiedCapture'
280
- | 'onEncrypted'
281
- | 'onEncryptedCapture'
282
- | 'onEnded'
283
- | 'onEndedCapture'
284
- | 'onLoadedData'
285
- | 'onLoadedDataCapture'
286
- | 'onLoadedMetadata'
287
- | 'onLoadedMetadataCapture'
288
- | 'onLoadStart'
289
- | 'onLoadStartCapture'
290
- | 'onPause'
291
- | 'onPauseCapture'
292
- | 'onPlay'
293
- | 'onPlayCapture'
294
- | 'onPlaying'
295
- | 'onPlayingCapture'
296
- | 'onProgress'
297
- | 'onProgressCapture'
298
- | 'onRateChange'
299
- | 'onRateChangeCapture'
300
- | 'onSeeked'
301
- | 'onSeekedCapture'
302
- | 'onSeeking'
303
- | 'onSeekingCapture'
304
- | 'onStalled'
305
- | 'onStalledCapture'
306
- | 'onSuspend'
307
- | 'onSuspendCapture'
308
- | 'onTimeUpdate'
309
- | 'onTimeUpdateCapture'
310
- | 'onVolumeChange'
311
- | 'onVolumeChangeCapture'
312
- | 'onWaiting'
313
- | 'onWaitingCapture'
314
- | 'onAuxClick'
315
- | 'onAuxClickCapture'
316
- | 'onClick'
317
- | 'onClickCapture'
318
- | 'onContextMenu'
319
- | 'onContextMenuCapture'
320
- | 'onDoubleClick'
321
- | 'onDoubleClickCapture'
322
- | 'onDrag'
323
- | 'onDragCapture'
324
- | 'onDragEnd'
325
- | 'onDragEndCapture'
326
- | 'onDragEnter'
327
- | 'onDragEnterCapture'
328
- | 'onDragExit'
329
- | 'onDragExitCapture'
330
- | 'onDragLeave'
331
- | 'onDragLeaveCapture'
332
- | 'onDragOver'
333
- | 'onDragOverCapture'
334
- | 'onDragStart'
335
- | 'onDragStartCapture'
336
- | 'onDrop'
337
- | 'onDropCapture'
338
- | 'onMouseDown'
339
- | 'onMouseDownCapture'
340
- | 'onMouseEnter'
341
- | 'onMouseLeave'
342
- | 'onMouseMove'
343
- | 'onMouseMoveCapture'
344
- | 'onMouseOut'
345
- | 'onMouseOutCapture'
346
- | 'onMouseOver'
347
- | 'onMouseOverCapture'
348
- | 'onMouseUp'
349
- | 'onMouseUpCapture'
350
- | 'onSelect'
351
- | 'onSelectCapture'
352
- | 'onTouchCancel'
353
- | 'onTouchCancelCapture'
354
- | 'onTouchEnd'
355
- | 'onTouchEndCapture'
356
- | 'onTouchMove'
357
- | 'onTouchMoveCapture'
358
- | 'onTouchStart'
359
- | 'onTouchStartCapture'
360
- | 'onPointerDown'
361
- | 'onPointerDownCapture'
362
- | 'onPointerMove'
363
- | 'onPointerMoveCapture'
364
- | 'onPointerUp'
365
- | 'onPointerUpCapture'
366
- | 'onPointerCancel'
367
- | 'onPointerCancelCapture'
368
- | 'onPointerEnter'
369
- | 'onPointerEnterCapture'
370
- | 'onPointerLeave'
371
- | 'onPointerLeaveCapture'
372
- | 'onPointerOver'
373
- | 'onPointerOverCapture'
374
- | 'onPointerOut'
375
- | 'onPointerOutCapture'
376
- | 'onGotPointerCapture'
377
- | 'onGotPointerCaptureCapture'
378
- | 'onLostPointerCapture'
379
- | 'onLostPointerCaptureCapture'
380
- | 'onScroll'
381
- | 'onScrollCapture'
382
- | 'onWheel'
383
- | 'onWheelCapture'
384
- | 'onAnimationStart'
385
- | 'onAnimationStartCapture'
386
- | 'onAnimationEnd'
387
- | 'onAnimationEndCapture'
388
- | 'onAnimationIteration'
389
- | 'onAnimationIterationCapture'
390
- | 'onTransitionEnd'
391
- | 'onTransitionEndCapture'
392
- | 'isCompact'
393
- | 'isDisabled'
394
- | 'isReadOnly'
395
- | 'isRequired'
396
- | 'isInvalid'
397
- | 'theme'
398
- | 'testId'
399
- | 'createAnalyticsEvent'
400
- > &
401
- React_2.RefAttributes<HTMLTextAreaElement>
402
- >>;
47
+ // @public
48
+ const TextArea: React_2.MemoExoticComponent<
49
+ React_2.ForwardRefExoticComponent<
50
+ Pick<
51
+ TextAreaProps,
52
+ | 'appearance'
53
+ | 'color'
54
+ | 'maxHeight'
55
+ | 'resize'
56
+ | 'hidden'
57
+ | 'style'
58
+ | 'wrap'
59
+ | 'minimumRows'
60
+ | 'isMonospaced'
61
+ | 'autoComplete'
62
+ | 'autoFocus'
63
+ | 'cols'
64
+ | 'dirName'
65
+ | 'form'
66
+ | 'maxLength'
67
+ | 'minLength'
68
+ | 'name'
69
+ | 'placeholder'
70
+ | 'readOnly'
71
+ | 'rows'
72
+ | 'value'
73
+ | 'onChange'
74
+ | 'defaultChecked'
75
+ | 'defaultValue'
76
+ | 'suppressContentEditableWarning'
77
+ | 'suppressHydrationWarning'
78
+ | 'accessKey'
79
+ | 'className'
80
+ | 'contentEditable'
81
+ | 'contextMenu'
82
+ | 'dir'
83
+ | 'draggable'
84
+ | 'id'
85
+ | 'lang'
86
+ | 'slot'
87
+ | 'spellCheck'
88
+ | 'tabIndex'
89
+ | 'title'
90
+ | 'inputMode'
91
+ | 'is'
92
+ | 'radioGroup'
93
+ | 'role'
94
+ | 'about'
95
+ | 'datatype'
96
+ | 'inlist'
97
+ | 'prefix'
98
+ | 'property'
99
+ | 'resource'
100
+ | 'typeof'
101
+ | 'vocab'
102
+ | 'autoCapitalize'
103
+ | 'autoCorrect'
104
+ | 'autoSave'
105
+ | 'itemProp'
106
+ | 'itemScope'
107
+ | 'itemType'
108
+ | 'itemID'
109
+ | 'itemRef'
110
+ | 'results'
111
+ | 'security'
112
+ | 'unselectable'
113
+ | 'aria-activedescendant'
114
+ | 'aria-atomic'
115
+ | 'aria-autocomplete'
116
+ | 'aria-busy'
117
+ | 'aria-checked'
118
+ | 'aria-colcount'
119
+ | 'aria-colindex'
120
+ | 'aria-colspan'
121
+ | 'aria-controls'
122
+ | 'aria-current'
123
+ | 'aria-describedby'
124
+ | 'aria-details'
125
+ | 'aria-disabled'
126
+ | 'aria-dropeffect'
127
+ | 'aria-errormessage'
128
+ | 'aria-expanded'
129
+ | 'aria-flowto'
130
+ | 'aria-grabbed'
131
+ | 'aria-haspopup'
132
+ | 'aria-hidden'
133
+ | 'aria-invalid'
134
+ | 'aria-keyshortcuts'
135
+ | 'aria-label'
136
+ | 'aria-labelledby'
137
+ | 'aria-level'
138
+ | 'aria-live'
139
+ | 'aria-modal'
140
+ | 'aria-multiline'
141
+ | 'aria-multiselectable'
142
+ | 'aria-orientation'
143
+ | 'aria-owns'
144
+ | 'aria-placeholder'
145
+ | 'aria-posinset'
146
+ | 'aria-pressed'
147
+ | 'aria-readonly'
148
+ | 'aria-relevant'
149
+ | 'aria-required'
150
+ | 'aria-roledescription'
151
+ | 'aria-rowcount'
152
+ | 'aria-rowindex'
153
+ | 'aria-rowspan'
154
+ | 'aria-selected'
155
+ | 'aria-setsize'
156
+ | 'aria-sort'
157
+ | 'aria-valuemax'
158
+ | 'aria-valuemin'
159
+ | 'aria-valuenow'
160
+ | 'aria-valuetext'
161
+ | 'children'
162
+ | 'dangerouslySetInnerHTML'
163
+ | 'onCopy'
164
+ | 'onCopyCapture'
165
+ | 'onCut'
166
+ | 'onCutCapture'
167
+ | 'onPaste'
168
+ | 'onPasteCapture'
169
+ | 'onCompositionEnd'
170
+ | 'onCompositionEndCapture'
171
+ | 'onCompositionStart'
172
+ | 'onCompositionStartCapture'
173
+ | 'onCompositionUpdate'
174
+ | 'onCompositionUpdateCapture'
175
+ | 'onFocus'
176
+ | 'onFocusCapture'
177
+ | 'onBlur'
178
+ | 'onBlurCapture'
179
+ | 'onChangeCapture'
180
+ | 'onBeforeInput'
181
+ | 'onBeforeInputCapture'
182
+ | 'onInput'
183
+ | 'onInputCapture'
184
+ | 'onReset'
185
+ | 'onResetCapture'
186
+ | 'onSubmit'
187
+ | 'onSubmitCapture'
188
+ | 'onInvalid'
189
+ | 'onInvalidCapture'
190
+ | 'onLoad'
191
+ | 'onLoadCapture'
192
+ | 'onError'
193
+ | 'onErrorCapture'
194
+ | 'onKeyDown'
195
+ | 'onKeyDownCapture'
196
+ | 'onKeyPress'
197
+ | 'onKeyPressCapture'
198
+ | 'onKeyUp'
199
+ | 'onKeyUpCapture'
200
+ | 'onAbort'
201
+ | 'onAbortCapture'
202
+ | 'onCanPlay'
203
+ | 'onCanPlayCapture'
204
+ | 'onCanPlayThrough'
205
+ | 'onCanPlayThroughCapture'
206
+ | 'onDurationChange'
207
+ | 'onDurationChangeCapture'
208
+ | 'onEmptied'
209
+ | 'onEmptiedCapture'
210
+ | 'onEncrypted'
211
+ | 'onEncryptedCapture'
212
+ | 'onEnded'
213
+ | 'onEndedCapture'
214
+ | 'onLoadedData'
215
+ | 'onLoadedDataCapture'
216
+ | 'onLoadedMetadata'
217
+ | 'onLoadedMetadataCapture'
218
+ | 'onLoadStart'
219
+ | 'onLoadStartCapture'
220
+ | 'onPause'
221
+ | 'onPauseCapture'
222
+ | 'onPlay'
223
+ | 'onPlayCapture'
224
+ | 'onPlaying'
225
+ | 'onPlayingCapture'
226
+ | 'onProgress'
227
+ | 'onProgressCapture'
228
+ | 'onRateChange'
229
+ | 'onRateChangeCapture'
230
+ | 'onSeeked'
231
+ | 'onSeekedCapture'
232
+ | 'onSeeking'
233
+ | 'onSeekingCapture'
234
+ | 'onStalled'
235
+ | 'onStalledCapture'
236
+ | 'onSuspend'
237
+ | 'onSuspendCapture'
238
+ | 'onTimeUpdate'
239
+ | 'onTimeUpdateCapture'
240
+ | 'onVolumeChange'
241
+ | 'onVolumeChangeCapture'
242
+ | 'onWaiting'
243
+ | 'onWaitingCapture'
244
+ | 'onAuxClick'
245
+ | 'onAuxClickCapture'
246
+ | 'onClick'
247
+ | 'onClickCapture'
248
+ | 'onContextMenu'
249
+ | 'onContextMenuCapture'
250
+ | 'onDoubleClick'
251
+ | 'onDoubleClickCapture'
252
+ | 'onDrag'
253
+ | 'onDragCapture'
254
+ | 'onDragEnd'
255
+ | 'onDragEndCapture'
256
+ | 'onDragEnter'
257
+ | 'onDragEnterCapture'
258
+ | 'onDragExit'
259
+ | 'onDragExitCapture'
260
+ | 'onDragLeave'
261
+ | 'onDragLeaveCapture'
262
+ | 'onDragOver'
263
+ | 'onDragOverCapture'
264
+ | 'onDragStart'
265
+ | 'onDragStartCapture'
266
+ | 'onDrop'
267
+ | 'onDropCapture'
268
+ | 'onMouseDown'
269
+ | 'onMouseDownCapture'
270
+ | 'onMouseEnter'
271
+ | 'onMouseLeave'
272
+ | 'onMouseMove'
273
+ | 'onMouseMoveCapture'
274
+ | 'onMouseOut'
275
+ | 'onMouseOutCapture'
276
+ | 'onMouseOver'
277
+ | 'onMouseOverCapture'
278
+ | 'onMouseUp'
279
+ | 'onMouseUpCapture'
280
+ | 'onSelect'
281
+ | 'onSelectCapture'
282
+ | 'onTouchCancel'
283
+ | 'onTouchCancelCapture'
284
+ | 'onTouchEnd'
285
+ | 'onTouchEndCapture'
286
+ | 'onTouchMove'
287
+ | 'onTouchMoveCapture'
288
+ | 'onTouchStart'
289
+ | 'onTouchStartCapture'
290
+ | 'onPointerDown'
291
+ | 'onPointerDownCapture'
292
+ | 'onPointerMove'
293
+ | 'onPointerMoveCapture'
294
+ | 'onPointerUp'
295
+ | 'onPointerUpCapture'
296
+ | 'onPointerCancel'
297
+ | 'onPointerCancelCapture'
298
+ | 'onPointerEnter'
299
+ | 'onPointerEnterCapture'
300
+ | 'onPointerLeave'
301
+ | 'onPointerLeaveCapture'
302
+ | 'onPointerOver'
303
+ | 'onPointerOverCapture'
304
+ | 'onPointerOut'
305
+ | 'onPointerOutCapture'
306
+ | 'onGotPointerCapture'
307
+ | 'onGotPointerCaptureCapture'
308
+ | 'onLostPointerCapture'
309
+ | 'onLostPointerCaptureCapture'
310
+ | 'onScroll'
311
+ | 'onScrollCapture'
312
+ | 'onWheel'
313
+ | 'onWheelCapture'
314
+ | 'onAnimationStart'
315
+ | 'onAnimationStartCapture'
316
+ | 'onAnimationEnd'
317
+ | 'onAnimationEndCapture'
318
+ | 'onAnimationIteration'
319
+ | 'onAnimationIterationCapture'
320
+ | 'onTransitionEnd'
321
+ | 'onTransitionEndCapture'
322
+ | 'isCompact'
323
+ | 'isDisabled'
324
+ | 'isReadOnly'
325
+ | 'isRequired'
326
+ | 'isInvalid'
327
+ | 'theme'
328
+ | 'testId'
329
+ | 'createAnalyticsEvent'
330
+ > &
331
+ React_2.RefAttributes<HTMLTextAreaElement>
332
+ >
333
+ >;
403
334
  export default TextArea;
404
335
 
405
- declare type TextAreaProps = Combine<
336
+ // @public (undocumented)
337
+ type TextAreaProps = Combine<
406
338
  Omit<
407
339
  React_2.TextareaHTMLAttributes<HTMLTextAreaElement>,
408
340
  'disabled' | 'required' | 'readonly'
@@ -410,12 +342,8 @@ declare type TextAreaProps = Combine<
410
342
  OwnProps
411
343
  >;
412
344
 
413
- /**
414
- * @deprecated
415
- * Component-level theming is deprecated in the design system.
416
- * Components should respect the global theme.
417
- */
418
- export declare const Theme: {
345
+ // @public @deprecated (undocumented)
346
+ export const Theme: {
419
347
  Consumer: ComponentType<
420
348
  {
421
349
  children: (tokens: ThemeTokens) => ReactNode;
@@ -428,23 +356,17 @@ export declare const Theme: {
428
356
  useTheme: (props: ThemeProps) => ThemeTokens;
429
357
  };
430
358
 
431
- export declare type ThemeAppearance = 'standard' | 'subtle' | 'none';
359
+ // @public (undocumented)
360
+ export type ThemeAppearance = 'standard' | 'subtle' | 'none';
432
361
 
433
- export declare type ThemeProps = {
362
+ // @public (undocumented)
363
+ export type ThemeProps = {
434
364
  appearance: ThemeAppearance;
435
- /**
436
- * @deprecated
437
- * Mode is deprecated and will be deleted in the future.
438
- */
439
365
  mode: 'dark' | 'light';
440
366
  };
441
367
 
442
- /**
443
- * @deprecated
444
- * Component-level theming is deprecated in the design system.
445
- * Components should respect the global theme.
446
- */
447
- export declare type ThemeTokens = {
368
+ // @public @deprecated (undocumented)
369
+ export type ThemeTokens = {
448
370
  borderColor: string;
449
371
  borderColorFocus: string;
450
372
  backgroundColor: string;
@@ -469,12 +391,8 @@ export declare type ThemeTokens = {
469
391
  placeholderTextColor: string;
470
392
  };
471
393
 
472
- /**
473
- * @deprecated
474
- * Component-level theming is deprecated in the design system.
475
- * Components should respect the global theme.
476
- */
477
- export declare const themeTokens: {
394
+ // @public @deprecated (undocumented)
395
+ export const themeTokens: {
478
396
  borderColor: {
479
397
  standard: {
480
398
  light: 'var(--ds-border-input)';
@@ -589,5 +507,5 @@ export declare const themeTokens: {
589
507
  };
590
508
  };
591
509
 
592
- export {};
510
+ // (No @packageDocumentation comment for this package)
593
511
  ```