@mezzanine-ui/react 0.9.2 → 0.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/Accordion/Accordion.js +5 -4
- package/Accordion/AccordionDetails.js +2 -2
- package/Accordion/AccordionSummary.js +3 -4
- package/Alert/Alert.js +1 -3
- package/AppBar/AppBar.js +1 -1
- package/AppBar/AppBarBrand.d.ts +1 -1
- package/AppBar/AppBarBrand.js +1 -1
- package/AppBar/AppBarMain.d.ts +1 -1
- package/AppBar/AppBarMain.js +1 -1
- package/AppBar/AppBarSupport.d.ts +1 -1
- package/AppBar/AppBarSupport.js +1 -1
- package/Badge/Badge.js +2 -2
- package/Badge/BadgeContainer.d.ts +1 -1
- package/Badge/BadgeContainer.js +1 -1
- package/Button/Button.d.ts +2 -2
- package/Button/Button.js +3 -3
- package/Button/ButtonGroup.js +3 -3
- package/Button/IconButton.d.ts +3 -3
- package/Button/IconButton.js +1 -1
- package/Calendar/Calendar.js +9 -10
- package/Calendar/CalendarCell.js +2 -2
- package/Calendar/CalendarContext.d.ts +3 -3
- package/Calendar/CalendarContext.js +20 -12
- package/Calendar/CalendarControls.js +3 -3
- package/Calendar/CalendarDayOfWeek.js +1 -1
- package/Calendar/CalendarDays.js +4 -5
- package/Calendar/CalendarMonths.js +4 -4
- package/Calendar/CalendarWeeks.js +4 -5
- package/Calendar/CalendarYears.js +4 -4
- package/Calendar/useCalendarControls.d.ts +2 -3
- package/Card/Card.js +5 -5
- package/Card/CardActions.js +1 -2
- package/Checkbox/CheckAll.js +2 -2
- package/Checkbox/Checkbox.js +2 -2
- package/Checkbox/CheckboxGroup.js +2 -2
- package/ConfirmActions/ConfirmActions.js +1 -2
- package/DatePicker/DatePicker.js +2 -3
- package/DatePicker/DatePickerCalendar.js +1 -1
- package/DateRangePicker/DateRangePicker.js +2 -3
- package/DateRangePicker/DateRangePickerCalendar.js +3 -4
- package/DateRangePicker/useDateRangeCalendarControls.d.ts +1 -2
- package/DateRangePicker/useDateRangePickerValue.d.ts +12 -13
- package/DateTimePicker/DateTimePicker.js +2 -3
- package/DateTimePicker/DateTimePickerPanel.js +1 -3
- package/Drawer/Drawer.js +1 -1
- package/Dropdown/Dropdown.js +2 -2
- package/Empty/Empty.js +3 -4
- package/Form/FormField.js +2 -2
- package/Form/FormLabel.js +1 -2
- package/Form/FormMessage.d.ts +1 -1
- package/Form/FormMessage.js +1 -1
- package/Form/useAutoCompleteValueControl.d.ts +30 -11
- package/Form/useAutoCompleteValueControl.js +71 -31
- package/Form/useInputWithTagsModeValue.js +2 -1
- package/Form/useSelectValueControl.d.ts +1 -1
- package/Icon/Icon.js +2 -2
- package/Input/Input.js +2 -3
- package/Loading/Loading.js +4 -5
- package/Menu/Menu.js +1 -1
- package/Menu/MenuDivider.d.ts +1 -1
- package/Menu/MenuDivider.js +1 -1
- package/Menu/MenuItem.js +2 -3
- package/Menu/MenuItemGroup.js +1 -2
- package/Message/Message.js +2 -3
- package/Modal/Modal.js +2 -2
- package/Modal/ModalActions.js +1 -1
- package/Modal/ModalBody.d.ts +1 -1
- package/Modal/ModalBody.js +1 -1
- package/Modal/ModalFooter.d.ts +1 -1
- package/Modal/ModalFooter.js +1 -1
- package/Modal/ModalHeader.js +2 -3
- package/Modal/useModalContainer.js +1 -1
- package/Navigation/Navigation.js +2 -2
- package/Navigation/NavigationItem.js +1 -1
- package/Navigation/NavigationSubMenu.js +3 -5
- package/Notification/Notification.js +2 -7
- package/Notifier/NotifierManager.js +1 -1
- package/Notifier/createNotifier.js +1 -1
- package/Overlay/Overlay.js +3 -3
- package/PageFooter/PageFooter.js +1 -2
- package/Pagination/Pagination.js +2 -3
- package/Pagination/PaginationItem.js +4 -4
- package/Pagination/PaginationJumper.js +2 -4
- package/Picker/PickerTrigger.js +1 -1
- package/Picker/RangePickerTrigger.js +1 -3
- package/Picker/usePickerInputValue.d.ts +2 -2
- package/Picker/usePickerValue.d.ts +6 -7
- package/Picker/useRangePickerValue.d.ts +9 -10
- package/Popconfirm/Popconfirm.js +1 -1
- package/Popover/Popover.js +2 -3
- package/Popper/Popper.js +2 -2
- package/Portal/Portal.js +1 -1
- package/Progress/Progress.js +5 -7
- package/Radio/Radio.js +2 -2
- package/Radio/RadioGroup.js +2 -2
- package/Select/AutoComplete.d.ts +40 -13
- package/Select/AutoComplete.js +37 -28
- package/Select/Option.js +2 -2
- package/Select/Select.d.ts +2 -50
- package/Select/Select.js +15 -49
- package/Select/SelectTrigger.d.ts +8 -1
- package/Select/SelectTrigger.js +8 -12
- package/Select/SelectTriggerTags.d.ts +19 -0
- package/Select/SelectTriggerTags.js +33 -0
- package/Select/TreeSelect.js +2 -3
- package/Select/index.d.ts +1 -0
- package/Select/index.js +1 -0
- package/Select/useSelectTriggerTags.d.ts +19 -0
- package/Select/useSelectTriggerTags.js +61 -0
- package/Skeleton/Skeleton.js +1 -1
- package/Slider/Slider.d.ts +1 -1
- package/Slider/Slider.js +7 -11
- package/Stepper/Step.js +2 -2
- package/Stepper/Stepper.js +1 -1
- package/Switch/Switch.js +2 -3
- package/Table/Table.d.ts +1 -1
- package/Table/Table.js +3 -10
- package/Table/TableBody.js +2 -4
- package/Table/TableBodyRow.js +4 -7
- package/Table/TableCell.js +3 -3
- package/Table/TableExpandedTable.js +5 -6
- package/Table/TableHeader.d.ts +2 -1
- package/Table/TableHeader.js +3 -6
- package/Table/editable/TableEditRenderWrapper.js +2 -2
- package/Table/expandable/TableExpandable.js +2 -2
- package/Table/pagination/TablePagination.js +1 -2
- package/Table/refresh/TableRefresh.js +1 -1
- package/Table/rowSelection/TableRowSelection.js +5 -6
- package/Table/sorting/TableSortingIcon.js +2 -2
- package/Table/sorting/useTableSorting.d.ts +2 -2
- package/Table/useTableScroll.d.ts +178 -178
- package/Tabs/Tab.js +2 -2
- package/Tabs/TabPane.js +1 -1
- package/Tabs/Tabs.js +1 -3
- package/Tag/Tag.js +3 -4
- package/TextField/TextField.js +3 -3
- package/TextField/useTextFieldControl.d.ts +2 -2
- package/Textarea/Textarea.js +2 -3
- package/TimePanel/TimePanel.js +1 -4
- package/TimePanel/TimePanelAction.js +1 -1
- package/TimePanel/TimePanelColumn.js +2 -5
- package/TimePicker/TimePicker.js +2 -3
- package/TimePicker/TimePickerPanel.js +1 -1
- package/Tooltip/Tooltip.js +3 -3
- package/Transition/Collapse.js +3 -2
- package/Transition/Fade.js +2 -2
- package/Transition/Grow.js +3 -2
- package/Transition/SlideFade.js +2 -2
- package/Transition/Transition.js +2 -2
- package/Transition/Zoom.js +2 -2
- package/Tree/Tree.js +1 -1
- package/Tree/TreeNode.js +5 -7
- package/Tree/TreeNodeList.js +5 -4
- package/Tree/getTreeNodeEntities.js +6 -3
- package/Typography/Typography.d.ts +2 -2
- package/Typography/Typography.js +2 -2
- package/Upload/UploadButton.js +2 -2
- package/Upload/UploadInput.js +1 -1
- package/Upload/UploadPicture.js +1 -1
- package/Upload/UploadPictureBlock.js +2 -8
- package/Upload/UploadPictureWall.d.ts +1 -1
- package/Upload/UploadPictureWall.js +1 -2
- package/Upload/UploadPictureWallItem.js +1 -1
- package/Upload/UploadResult.js +2 -5
- package/_internal/InputCheck/InputCheck.js +2 -3
- package/_internal/InputCheck/InputCheckGroup.js +1 -1
- package/_internal/InputTriggerPopper/InputTriggerPopper.js +2 -2
- package/_internal/SlideFadeOverlay/SlideFadeOverlay.js +1 -1
- package/index.d.ts +1 -1
- package/index.js +1 -0
- package/package.json +3 -3
|
@@ -10,30 +10,30 @@ export default function useTableScroll(): readonly [{
|
|
|
10
10
|
onMouseLeave: () => void;
|
|
11
11
|
style: {
|
|
12
12
|
height: string;
|
|
13
|
-
ref?:
|
|
14
|
-
key?:
|
|
13
|
+
ref?: import("react").LegacyRef<HTMLDivElement> | undefined;
|
|
14
|
+
key?: import("react").Key | null | undefined;
|
|
15
15
|
defaultChecked?: boolean | undefined;
|
|
16
16
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
17
17
|
suppressContentEditableWarning?: boolean | undefined;
|
|
18
18
|
suppressHydrationWarning?: boolean | undefined;
|
|
19
19
|
accessKey?: string | undefined;
|
|
20
20
|
className?: string | undefined;
|
|
21
|
-
contentEditable?: boolean | "true" | "false" | "inherit" | undefined;
|
|
21
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
22
22
|
contextMenu?: string | undefined;
|
|
23
23
|
dir?: string | undefined;
|
|
24
|
-
draggable?: boolean | "true" | "false" | undefined;
|
|
24
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
25
25
|
hidden?: boolean | undefined;
|
|
26
26
|
id?: string | undefined;
|
|
27
27
|
lang?: string | undefined;
|
|
28
28
|
placeholder?: string | undefined;
|
|
29
29
|
slot?: string | undefined;
|
|
30
|
-
spellCheck?: boolean | "true" | "false" | undefined;
|
|
30
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
31
31
|
style?: import("react").CSSProperties | undefined;
|
|
32
32
|
tabIndex?: number | undefined;
|
|
33
33
|
title?: string | undefined;
|
|
34
34
|
translate?: "yes" | "no" | undefined;
|
|
35
35
|
radioGroup?: string | undefined;
|
|
36
|
-
role?: "
|
|
36
|
+
role?: import("react").AriaRole | undefined;
|
|
37
37
|
about?: string | undefined;
|
|
38
38
|
datatype?: string | undefined;
|
|
39
39
|
inlist?: any;
|
|
@@ -57,9 +57,9 @@ export default function useTableScroll(): readonly [{
|
|
|
57
57
|
inputMode?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
58
58
|
is?: string | undefined;
|
|
59
59
|
'aria-activedescendant'?: string | undefined;
|
|
60
|
-
'aria-atomic'?: boolean | "true" | "false" | undefined;
|
|
60
|
+
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
61
61
|
'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
|
|
62
|
-
'aria-busy'?: boolean | "true" | "false" | undefined;
|
|
62
|
+
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
63
63
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
64
64
|
'aria-colcount'?: number | undefined;
|
|
65
65
|
'aria-colindex'?: number | undefined;
|
|
@@ -68,36 +68,36 @@ export default function useTableScroll(): readonly [{
|
|
|
68
68
|
'aria-current'?: boolean | "true" | "false" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
69
69
|
'aria-describedby'?: string | undefined;
|
|
70
70
|
'aria-details'?: string | undefined;
|
|
71
|
-
'aria-disabled'?: boolean | "true" | "false" | undefined;
|
|
71
|
+
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
72
72
|
'aria-dropeffect'?: "none" | "link" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
73
73
|
'aria-errormessage'?: string | undefined;
|
|
74
|
-
'aria-expanded'?: boolean | "true" | "false" | undefined;
|
|
74
|
+
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
75
75
|
'aria-flowto'?: string | undefined;
|
|
76
|
-
'aria-grabbed'?: boolean | "true" | "false" | undefined;
|
|
76
|
+
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
77
77
|
'aria-haspopup'?: boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree" | undefined;
|
|
78
|
-
'aria-hidden'?: boolean | "true" | "false" | undefined;
|
|
78
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
79
79
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
80
80
|
'aria-keyshortcuts'?: string | undefined;
|
|
81
81
|
'aria-label'?: string | undefined;
|
|
82
82
|
'aria-labelledby'?: string | undefined;
|
|
83
83
|
'aria-level'?: number | undefined;
|
|
84
84
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
85
|
-
'aria-modal'?: boolean | "true" | "false" | undefined;
|
|
86
|
-
'aria-multiline'?: boolean | "true" | "false" | undefined;
|
|
87
|
-
'aria-multiselectable'?: boolean | "true" | "false" | undefined;
|
|
85
|
+
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
86
|
+
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
87
|
+
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
88
88
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
89
89
|
'aria-owns'?: string | undefined;
|
|
90
90
|
'aria-placeholder'?: string | undefined;
|
|
91
91
|
'aria-posinset'?: number | undefined;
|
|
92
92
|
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
93
|
-
'aria-readonly'?: boolean | "true" | "false" | undefined;
|
|
93
|
+
'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
94
94
|
'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
95
|
-
'aria-required'?: boolean | "true" | "false" | undefined;
|
|
95
|
+
'aria-required'?: (boolean | "true" | "false") | undefined;
|
|
96
96
|
'aria-roledescription'?: string | undefined;
|
|
97
97
|
'aria-rowcount'?: number | undefined;
|
|
98
98
|
'aria-rowindex'?: number | undefined;
|
|
99
99
|
'aria-rowspan'?: number | undefined;
|
|
100
|
-
'aria-selected'?: boolean | "true" | "false" | undefined;
|
|
100
|
+
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
101
101
|
'aria-setsize'?: number | undefined;
|
|
102
102
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
103
103
|
'aria-valuemax'?: number | undefined;
|
|
@@ -108,165 +108,165 @@ export default function useTableScroll(): readonly [{
|
|
|
108
108
|
dangerouslySetInnerHTML?: {
|
|
109
109
|
__html: string;
|
|
110
110
|
} | undefined;
|
|
111
|
-
onCopy?:
|
|
112
|
-
onCopyCapture?:
|
|
113
|
-
onCut?:
|
|
114
|
-
onCutCapture?:
|
|
115
|
-
onPaste?:
|
|
116
|
-
onPasteCapture?:
|
|
117
|
-
onCompositionEnd?:
|
|
118
|
-
onCompositionEndCapture?:
|
|
119
|
-
onCompositionStart?:
|
|
120
|
-
onCompositionStartCapture?:
|
|
121
|
-
onCompositionUpdate?:
|
|
122
|
-
onCompositionUpdateCapture?:
|
|
123
|
-
onFocus?:
|
|
124
|
-
onFocusCapture?:
|
|
125
|
-
onBlur?:
|
|
126
|
-
onBlurCapture?:
|
|
127
|
-
onChange?:
|
|
128
|
-
onChangeCapture?:
|
|
129
|
-
onBeforeInput?:
|
|
130
|
-
onBeforeInputCapture?:
|
|
131
|
-
onInput?:
|
|
132
|
-
onInputCapture?:
|
|
133
|
-
onReset?:
|
|
134
|
-
onResetCapture?:
|
|
135
|
-
onSubmit?:
|
|
136
|
-
onSubmitCapture?:
|
|
137
|
-
onInvalid?:
|
|
138
|
-
onInvalidCapture?:
|
|
139
|
-
onLoad?:
|
|
140
|
-
onLoadCapture?:
|
|
141
|
-
onError?:
|
|
142
|
-
onErrorCapture?:
|
|
143
|
-
onKeyDown?:
|
|
144
|
-
onKeyDownCapture?:
|
|
145
|
-
onKeyPress?:
|
|
146
|
-
onKeyPressCapture?:
|
|
147
|
-
onKeyUp?:
|
|
148
|
-
onKeyUpCapture?:
|
|
149
|
-
onAbort?:
|
|
150
|
-
onAbortCapture?:
|
|
151
|
-
onCanPlay?:
|
|
152
|
-
onCanPlayCapture?:
|
|
153
|
-
onCanPlayThrough?:
|
|
154
|
-
onCanPlayThroughCapture?:
|
|
155
|
-
onDurationChange?:
|
|
156
|
-
onDurationChangeCapture?:
|
|
157
|
-
onEmptied?:
|
|
158
|
-
onEmptiedCapture?:
|
|
159
|
-
onEncrypted?:
|
|
160
|
-
onEncryptedCapture?:
|
|
161
|
-
onEnded?:
|
|
162
|
-
onEndedCapture?:
|
|
163
|
-
onLoadedData?:
|
|
164
|
-
onLoadedDataCapture?:
|
|
165
|
-
onLoadedMetadata?:
|
|
166
|
-
onLoadedMetadataCapture?:
|
|
167
|
-
onLoadStart?:
|
|
168
|
-
onLoadStartCapture?:
|
|
169
|
-
onPause?:
|
|
170
|
-
onPauseCapture?:
|
|
171
|
-
onPlay?:
|
|
172
|
-
onPlayCapture?:
|
|
173
|
-
onPlaying?:
|
|
174
|
-
onPlayingCapture?:
|
|
175
|
-
onProgress?:
|
|
176
|
-
onProgressCapture?:
|
|
177
|
-
onRateChange?:
|
|
178
|
-
onRateChangeCapture?:
|
|
179
|
-
onSeeked?:
|
|
180
|
-
onSeekedCapture?:
|
|
181
|
-
onSeeking?:
|
|
182
|
-
onSeekingCapture?:
|
|
183
|
-
onStalled?:
|
|
184
|
-
onStalledCapture?:
|
|
185
|
-
onSuspend?:
|
|
186
|
-
onSuspendCapture?:
|
|
187
|
-
onTimeUpdate?:
|
|
188
|
-
onTimeUpdateCapture?:
|
|
189
|
-
onVolumeChange?:
|
|
190
|
-
onVolumeChangeCapture?:
|
|
191
|
-
onWaiting?:
|
|
192
|
-
onWaitingCapture?:
|
|
193
|
-
onAuxClick?:
|
|
194
|
-
onAuxClickCapture?:
|
|
195
|
-
onClick?:
|
|
196
|
-
onClickCapture?:
|
|
197
|
-
onContextMenu?:
|
|
198
|
-
onContextMenuCapture?:
|
|
199
|
-
onDoubleClick?:
|
|
200
|
-
onDoubleClickCapture?:
|
|
201
|
-
onDrag?:
|
|
202
|
-
onDragCapture?:
|
|
203
|
-
onDragEnd?:
|
|
204
|
-
onDragEndCapture?:
|
|
205
|
-
onDragEnter?:
|
|
206
|
-
onDragEnterCapture?:
|
|
207
|
-
onDragExit?:
|
|
208
|
-
onDragExitCapture?:
|
|
209
|
-
onDragLeave?:
|
|
210
|
-
onDragLeaveCapture?:
|
|
211
|
-
onDragOver?:
|
|
212
|
-
onDragOverCapture?:
|
|
213
|
-
onDragStart?:
|
|
214
|
-
onDragStartCapture?:
|
|
215
|
-
onDrop?:
|
|
216
|
-
onDropCapture?:
|
|
217
|
-
onMouseDown?:
|
|
218
|
-
onMouseDownCapture?:
|
|
219
|
-
onMouseEnter?:
|
|
220
|
-
onMouseLeave?:
|
|
221
|
-
onMouseMove?:
|
|
222
|
-
onMouseMoveCapture?:
|
|
223
|
-
onMouseOut?:
|
|
224
|
-
onMouseOutCapture?:
|
|
225
|
-
onMouseOver?:
|
|
226
|
-
onMouseOverCapture?:
|
|
227
|
-
onMouseUp?:
|
|
228
|
-
onMouseUpCapture?:
|
|
229
|
-
onSelect?:
|
|
230
|
-
onSelectCapture?:
|
|
231
|
-
onTouchCancel?:
|
|
232
|
-
onTouchCancelCapture?:
|
|
233
|
-
onTouchEnd?:
|
|
234
|
-
onTouchEndCapture?:
|
|
235
|
-
onTouchMove?:
|
|
236
|
-
onTouchMoveCapture?:
|
|
237
|
-
onTouchStart?:
|
|
238
|
-
onTouchStartCapture?:
|
|
239
|
-
onPointerDown?:
|
|
240
|
-
onPointerDownCapture?:
|
|
241
|
-
onPointerMove?:
|
|
242
|
-
onPointerMoveCapture?:
|
|
243
|
-
onPointerUp?:
|
|
244
|
-
onPointerUpCapture?:
|
|
245
|
-
onPointerCancel?:
|
|
246
|
-
onPointerCancelCapture?:
|
|
247
|
-
onPointerEnter?:
|
|
248
|
-
onPointerEnterCapture?:
|
|
249
|
-
onPointerLeave?:
|
|
250
|
-
onPointerLeaveCapture?:
|
|
251
|
-
onPointerOver?:
|
|
252
|
-
onPointerOverCapture?:
|
|
253
|
-
onPointerOut?:
|
|
254
|
-
onPointerOutCapture?:
|
|
255
|
-
onGotPointerCapture?:
|
|
256
|
-
onGotPointerCaptureCapture?:
|
|
257
|
-
onLostPointerCapture?:
|
|
258
|
-
onLostPointerCaptureCapture?:
|
|
259
|
-
onScroll?:
|
|
260
|
-
onScrollCapture?:
|
|
261
|
-
onWheel?:
|
|
262
|
-
onWheelCapture?:
|
|
263
|
-
onAnimationStart?:
|
|
264
|
-
onAnimationStartCapture?:
|
|
265
|
-
onAnimationEnd?:
|
|
266
|
-
onAnimationEndCapture?:
|
|
267
|
-
onAnimationIteration?:
|
|
268
|
-
onAnimationIterationCapture?:
|
|
269
|
-
onTransitionEnd?:
|
|
270
|
-
onTransitionEndCapture?:
|
|
111
|
+
onCopy?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
112
|
+
onCopyCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
113
|
+
onCut?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
114
|
+
onCutCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
115
|
+
onPaste?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
116
|
+
onPasteCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
117
|
+
onCompositionEnd?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
118
|
+
onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
119
|
+
onCompositionStart?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
120
|
+
onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
121
|
+
onCompositionUpdate?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
122
|
+
onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
123
|
+
onFocus?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
124
|
+
onFocusCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
125
|
+
onBlur?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
126
|
+
onBlurCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
127
|
+
onChange?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
128
|
+
onChangeCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
129
|
+
onBeforeInput?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
130
|
+
onBeforeInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
131
|
+
onInput?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
132
|
+
onInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
133
|
+
onReset?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
134
|
+
onResetCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
135
|
+
onSubmit?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
136
|
+
onSubmitCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
137
|
+
onInvalid?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
138
|
+
onInvalidCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
139
|
+
onLoad?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
140
|
+
onLoadCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
141
|
+
onError?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
142
|
+
onErrorCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
143
|
+
onKeyDown?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
144
|
+
onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
145
|
+
onKeyPress?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
146
|
+
onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
147
|
+
onKeyUp?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
148
|
+
onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
149
|
+
onAbort?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
150
|
+
onAbortCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
151
|
+
onCanPlay?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
152
|
+
onCanPlayCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
153
|
+
onCanPlayThrough?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
154
|
+
onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
155
|
+
onDurationChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
156
|
+
onDurationChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
157
|
+
onEmptied?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
158
|
+
onEmptiedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
159
|
+
onEncrypted?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
160
|
+
onEncryptedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
161
|
+
onEnded?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
162
|
+
onEndedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
163
|
+
onLoadedData?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
164
|
+
onLoadedDataCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
165
|
+
onLoadedMetadata?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
166
|
+
onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
167
|
+
onLoadStart?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
168
|
+
onLoadStartCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
169
|
+
onPause?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
170
|
+
onPauseCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
171
|
+
onPlay?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
172
|
+
onPlayCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
173
|
+
onPlaying?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
174
|
+
onPlayingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
175
|
+
onProgress?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
176
|
+
onProgressCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
177
|
+
onRateChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
178
|
+
onRateChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
179
|
+
onSeeked?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
180
|
+
onSeekedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
181
|
+
onSeeking?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
182
|
+
onSeekingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
183
|
+
onStalled?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
184
|
+
onStalledCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
185
|
+
onSuspend?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
186
|
+
onSuspendCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
187
|
+
onTimeUpdate?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
188
|
+
onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
189
|
+
onVolumeChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
190
|
+
onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
191
|
+
onWaiting?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
192
|
+
onWaitingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
193
|
+
onAuxClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
194
|
+
onAuxClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
195
|
+
onClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
196
|
+
onClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
197
|
+
onContextMenu?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
198
|
+
onContextMenuCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
199
|
+
onDoubleClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
200
|
+
onDoubleClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
201
|
+
onDrag?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
202
|
+
onDragCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
203
|
+
onDragEnd?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
204
|
+
onDragEndCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
205
|
+
onDragEnter?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
206
|
+
onDragEnterCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
207
|
+
onDragExit?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
208
|
+
onDragExitCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
209
|
+
onDragLeave?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
210
|
+
onDragLeaveCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
211
|
+
onDragOver?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
212
|
+
onDragOverCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
213
|
+
onDragStart?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
214
|
+
onDragStartCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
215
|
+
onDrop?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
216
|
+
onDropCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
217
|
+
onMouseDown?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
218
|
+
onMouseDownCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
219
|
+
onMouseEnter?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
220
|
+
onMouseLeave?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
221
|
+
onMouseMove?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
222
|
+
onMouseMoveCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
223
|
+
onMouseOut?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
224
|
+
onMouseOutCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
225
|
+
onMouseOver?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
226
|
+
onMouseOverCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
227
|
+
onMouseUp?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
228
|
+
onMouseUpCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
229
|
+
onSelect?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
230
|
+
onSelectCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
231
|
+
onTouchCancel?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
232
|
+
onTouchCancelCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
233
|
+
onTouchEnd?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
234
|
+
onTouchEndCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
235
|
+
onTouchMove?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
236
|
+
onTouchMoveCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
237
|
+
onTouchStart?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
238
|
+
onTouchStartCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
239
|
+
onPointerDown?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
240
|
+
onPointerDownCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
241
|
+
onPointerMove?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
242
|
+
onPointerMoveCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
243
|
+
onPointerUp?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
244
|
+
onPointerUpCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
245
|
+
onPointerCancel?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
246
|
+
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
247
|
+
onPointerEnter?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
248
|
+
onPointerEnterCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
249
|
+
onPointerLeave?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
250
|
+
onPointerLeaveCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
251
|
+
onPointerOver?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
252
|
+
onPointerOverCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
253
|
+
onPointerOut?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
254
|
+
onPointerOutCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
255
|
+
onGotPointerCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
256
|
+
onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
257
|
+
onLostPointerCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
258
|
+
onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
259
|
+
onScroll?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
260
|
+
onScrollCapture?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
261
|
+
onWheel?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
|
|
262
|
+
onWheelCapture?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
|
|
263
|
+
onAnimationStart?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
264
|
+
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
265
|
+
onAnimationEnd?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
266
|
+
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
267
|
+
onAnimationIteration?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
268
|
+
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
269
|
+
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
270
|
+
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
271
271
|
};
|
|
272
272
|
}];
|
package/Tabs/Tab.js
CHANGED
|
@@ -8,9 +8,9 @@ import cx from 'clsx';
|
|
|
8
8
|
*/
|
|
9
9
|
const Tab = forwardRef(function Tab(props, ref) {
|
|
10
10
|
const { active, children, className, disabled, ...rest } = props;
|
|
11
|
-
return (jsx("button",
|
|
11
|
+
return (jsx("button", { ...rest, ref: ref, type: "button", "aria-disabled": disabled, className: cx(tabsClasses.tab, {
|
|
12
12
|
[tabsClasses.tabActive]: active,
|
|
13
|
-
}, className), disabled: disabled
|
|
13
|
+
}, className), disabled: disabled, children: children }));
|
|
14
14
|
});
|
|
15
15
|
var Tab$1 = Tab;
|
|
16
16
|
|
package/Tabs/TabPane.js
CHANGED
|
@@ -12,7 +12,7 @@ const TabPane = forwardRef(function TabPane(props, ref) {
|
|
|
12
12
|
* Ignore it
|
|
13
13
|
*/
|
|
14
14
|
tab, ...rest } = props;
|
|
15
|
-
return (jsx("div",
|
|
15
|
+
return (jsx("div", { ...rest, ref: ref, className: cx(tabsClasses.pane, className), children: children }));
|
|
16
16
|
});
|
|
17
17
|
var TabPane$1 = TabPane;
|
|
18
18
|
|
package/Tabs/Tabs.js
CHANGED
|
@@ -41,9 +41,7 @@ const Tabs = forwardRef(function Tabs(props, ref) {
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
const { isOverflowing, isScrollToBegin, isScrollToEnd, scrollToLeft, scrollToRight, } = useTabsOverflow(tabsRef);
|
|
44
|
-
return (jsxs("div",
|
|
45
|
-
jsx("div", Object.assign({ ref: tabsRef, className: tabsClasses.tabs }, { children: tabs }), void 0),
|
|
46
|
-
isOverflowing && !isScrollToEnd && (jsx("button", Object.assign({ "aria-label": "scrollToRight", className: tabsClasses.scrollBtn, onClick: () => scrollToRight(), type: "button" }, { children: jsx(Icon, { icon: ChevronRightIcon }, void 0) }), void 0))] }), void 0), actions] }), void 0), pane] }), void 0));
|
|
44
|
+
return (jsxs("div", { ...rest, ref: ref, className: cx(tabsClasses.host, className), children: [jsxs("div", { className: cx(tabsClasses.tabBar, tabBarClassName), children: [jsxs("div", { className: tabsClasses.overflow, children: [isOverflowing && !isScrollToBegin && (jsx("button", { "aria-label": "scrollToLeft", className: tabsClasses.scrollBtn, onClick: () => scrollToLeft(), type: "button", children: jsx(Icon, { icon: ChevronLeftIcon }) })), jsx("div", { ref: tabsRef, className: tabsClasses.tabs, children: tabs }), isOverflowing && !isScrollToEnd && (jsx("button", { "aria-label": "scrollToRight", className: tabsClasses.scrollBtn, onClick: () => scrollToRight(), type: "button", children: jsx(Icon, { icon: ChevronRightIcon }) }))] }), actions] }), pane] }));
|
|
47
45
|
});
|
|
48
46
|
var Tabs$1 = Tabs;
|
|
49
47
|
|
package/Tag/Tag.js
CHANGED
|
@@ -10,14 +10,13 @@ import cx from 'clsx';
|
|
|
10
10
|
*/
|
|
11
11
|
const Tag = forwardRef(function Tag(props, ref) {
|
|
12
12
|
const { children, className, closable = false, disabled = false, onClose, size = 'medium', ...rest } = props;
|
|
13
|
-
return (jsxs("span",
|
|
13
|
+
return (jsxs("span", { ...rest, ref: ref, "aria-disabled": disabled, className: cx(tagClasses.host, tagClasses.size(size), {
|
|
14
14
|
[tagClasses.disabled]: disabled,
|
|
15
|
-
}, className)
|
|
16
|
-
closable && (jsx(Icon, { className: tagClasses.closeIcon, icon: TimesIcon, onClick: (event) => {
|
|
15
|
+
}, className), children: [jsx("span", { className: tagClasses.label, children: children }), closable && (jsx(Icon, { className: tagClasses.closeIcon, icon: TimesIcon, onClick: (event) => {
|
|
17
16
|
if (!disabled && onClose) {
|
|
18
17
|
onClose(event);
|
|
19
18
|
}
|
|
20
|
-
}, tabIndex: -1 }
|
|
19
|
+
}, tabIndex: -1 }))] }));
|
|
21
20
|
});
|
|
22
21
|
var Tag$1 = Tag;
|
|
23
22
|
|
package/TextField/TextField.js
CHANGED
|
@@ -17,7 +17,7 @@ const TextField = forwardRef(function TextField(props, ref) {
|
|
|
17
17
|
});
|
|
18
18
|
return (
|
|
19
19
|
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
20
|
-
jsxs("div",
|
|
20
|
+
jsxs("div", { ...rest, ref: ref, role: roleProp || role, onClick: onClick, onKeyDown: onKeyDown, className: cx(textFieldClasses.host, textFieldClasses.size(size), {
|
|
21
21
|
[textFieldClasses.active]: active,
|
|
22
22
|
[textFieldClasses.clearable]: clearable,
|
|
23
23
|
[textFieldClasses.disabled]: disabled,
|
|
@@ -25,7 +25,7 @@ const TextField = forwardRef(function TextField(props, ref) {
|
|
|
25
25
|
[textFieldClasses.fullWidth]: fullWidth,
|
|
26
26
|
[textFieldClasses.withPrefix]: prefix,
|
|
27
27
|
[textFieldClasses.withSuffix]: suffix || suffixActionIcon,
|
|
28
|
-
}, className)
|
|
28
|
+
}, className), children: [prefix && jsx("div", { className: textFieldClasses.prefix, children: prefix }), children, suffix && jsx("div", { className: textFieldClasses.suffix, children: suffix }), suffixActionIcon && cloneElement(suffixActionIcon, {
|
|
29
29
|
className: cx(textFieldClasses.actionIcon, suffixActionIcon.props.className),
|
|
30
30
|
role: 'button',
|
|
31
31
|
tabIndex: -1,
|
|
@@ -33,7 +33,7 @@ const TextField = forwardRef(function TextField(props, ref) {
|
|
|
33
33
|
if (!disabled && onClear) {
|
|
34
34
|
onClear(event);
|
|
35
35
|
}
|
|
36
|
-
}, onMouseDown: (event) => event.preventDefault(), role: "button", tabIndex: -1 }
|
|
36
|
+
}, onMouseDown: (event) => event.preventDefault(), role: "button", tabIndex: -1 }))] }));
|
|
37
37
|
});
|
|
38
38
|
var TextField$1 = TextField;
|
|
39
39
|
|
|
@@ -5,6 +5,6 @@ export interface UseTextFieldControlProps {
|
|
|
5
5
|
}
|
|
6
6
|
export declare function useTextFieldControl(props: UseTextFieldControlProps): {
|
|
7
7
|
role: string;
|
|
8
|
-
onClick:
|
|
9
|
-
onKeyDown:
|
|
8
|
+
onClick: MouseEventHandler<Element> | undefined;
|
|
9
|
+
onKeyDown: KeyboardEventHandler<Element> | undefined;
|
|
10
10
|
};
|
package/Textarea/Textarea.js
CHANGED
|
@@ -24,10 +24,9 @@ const Textarea = forwardRef(function Textarea(props, ref) {
|
|
|
24
24
|
const active = !!value;
|
|
25
25
|
const currentLength = value.length;
|
|
26
26
|
const upperLimit = typeof maxLength === 'number' && currentLength >= maxLength;
|
|
27
|
-
return (jsxs(TextField,
|
|
27
|
+
return (jsxs(TextField, { ref: ref, active: active, className: cx(textareaClasses.host, {
|
|
28
28
|
[textareaClasses.upperLimit]: upperLimit,
|
|
29
|
-
}, className), clearable: clearable, disabled: disabled, error: error, fullWidth: fullWidth, onClear: onClear, size: size
|
|
30
|
-
typeof maxLength === 'number' && (jsxs("span", Object.assign({ className: textareaClasses.count }, { children: [value.length, "/", maxLength] }), void 0))] }), void 0));
|
|
29
|
+
}, className), clearable: clearable, disabled: disabled, error: error, fullWidth: fullWidth, onClear: onClear, size: size, children: [jsx("textarea", { ...textareaProps, ref: composedTextareaRef, "aria-disabled": disabled, "aria-multiline": true, "aria-readonly": readOnly, "aria-required": required, disabled: disabled, maxLength: maxLength, onChange: onChange, placeholder: placeholder, readOnly: readOnly, required: required, rows: rows, value: value }), typeof maxLength === 'number' && (jsxs("span", { className: textareaClasses.count, children: [value.length, "/", maxLength] }))] }));
|
|
31
30
|
});
|
|
32
31
|
var Textarea$1 = Textarea;
|
|
33
32
|
|
package/TimePanel/TimePanel.js
CHANGED
|
@@ -58,10 +58,7 @@ const TimePanel = forwardRef(function TimePanel(props, ref) {
|
|
|
58
58
|
onChange(result);
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
|
-
return (jsxs("div",
|
|
62
|
-
!hideMinute && minuteUnits && (jsx(TimePanelColumn, { prefix: minutePrefix, units: minuteUnits, activeUnit: activeMinute, onChange: getChangeHandle('minute'), onNext: getControlHandle('minute', minuteUnits, minuteStep), onPrev: getControlHandle('minute', minuteUnits, -minuteStep) }, void 0)),
|
|
63
|
-
!hideSecond && secondUnits && (jsx(TimePanelColumn, { prefix: secondPrefix, units: secondUnits, activeUnit: activeSecond, onChange: getChangeHandle('second'), onNext: getControlHandle('second', secondUnits, secondStep), onPrev: getControlHandle('second', secondUnits, -secondStep) }, void 0))] }), void 0),
|
|
64
|
-
!withoutAction && (jsx(TimePanelAction, { onConfirm: onConfirm, confirmText: confirmText }, void 0))] }), void 0));
|
|
61
|
+
return (jsxs("div", { ...restHostProps, ref: ref, className: cx(timePanelClasses.host, className), children: [jsxs("div", { className: timePanelClasses.columns, children: [!hideHour && hourUnits && (jsx(TimePanelColumn, { prefix: hourPrefix, units: hourUnits, activeUnit: activeHour, onChange: getChangeHandle('hour'), onNext: getControlHandle('hour', hourUnits, hourStep), onPrev: getControlHandle('hour', hourUnits, -hourStep) })), !hideMinute && minuteUnits && (jsx(TimePanelColumn, { prefix: minutePrefix, units: minuteUnits, activeUnit: activeMinute, onChange: getChangeHandle('minute'), onNext: getControlHandle('minute', minuteUnits, minuteStep), onPrev: getControlHandle('minute', minuteUnits, -minuteStep) })), !hideSecond && secondUnits && (jsx(TimePanelColumn, { prefix: secondPrefix, units: secondUnits, activeUnit: activeSecond, onChange: getChangeHandle('second'), onNext: getControlHandle('second', secondUnits, secondStep), onPrev: getControlHandle('second', secondUnits, -secondStep) }))] }), !withoutAction && (jsx(TimePanelAction, { onConfirm: onConfirm, confirmText: confirmText }))] }));
|
|
65
62
|
});
|
|
66
63
|
var TimePanel$1 = TimePanel;
|
|
67
64
|
|