@ringcentral/spring-ui 1.11.1 → 1.12.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/AccordionHeader.js +4 -2
- package/Animation.js +10 -9
- package/Autocomplete.js +7 -2
- package/BlockHeader.js +3 -1
- package/DatePicker.js +5 -3
- package/Dialer.js +36 -21
- package/Dialog.js +4 -3
- package/Dropdown.js +8 -4
- package/EmptyState.js +3 -1
- package/FormField.js +2 -0
- package/ListItem.js +1 -0
- package/ListItemText.js +9 -3
- package/MenuHeader.js +5 -1
- package/MenuItem.js +3 -0
- package/MenuItemText.js +2 -0
- package/MenuList.js +3 -0
- package/Option.js +4 -1
- package/PickerTextField.js +2 -0
- package/Popper.js +28 -25
- package/Rating.js +2 -2
- package/Select.js +4 -0
- package/SingleFilter.js +4 -0
- package/Slider.js +3 -2
- package/SortableListItem.js +1 -0
- package/SortableVirtualizedList.js +11 -10
- package/SplitButton.js +4 -0
- package/Squircle.js +2 -2
- package/StepContent.js +1 -1
- package/SubMenu.js +4 -0
- package/SwipeableDrawer.js +16 -18
- package/TableCell.js +1 -1
- package/TablePagination.js +4 -0
- package/Tabs.js +11 -5
- package/TextField.js +2 -0
- package/Textarea.js +2 -0
- package/TimePicker.js +3 -1
- package/TrayMenu.js +3 -0
- package/VirtualizedList.js +7 -5
- package/VirtualizedMenu.js +1 -0
- package/chunks/Alert.js +2 -2
- package/chunks/Badge.js +1 -1
- package/chunks/Drawer.js +3 -2
- package/chunks/MenuItemText.js +3 -1
- package/chunks/MenuList.js +2 -1
- package/chunks/Modal.js +132 -9
- package/chunks/Popover.js +13 -5
- package/chunks/Select.js +26 -21
- package/chunks/SlideIn.js +2 -1
- package/chunks/Squircle.js +2 -2
- package/chunks/VirtualizedMenu.js +5 -5
- package/chunks/composeEventHandlers.js +10 -0
- package/chunks/getSlideIn.js +2 -2
- package/chunks/hasContent.js +3 -0
- package/chunks/useAnimationFrame.js +15 -0
- package/chunks/useFocusTrapStack.js +3 -1
- package/chunks/useHelperTextId.js +4 -2
- package/chunks/useMenuItemSelect.js +37 -26
- package/index.css +205 -172
- package/index.js +4 -0
- package/internal/hooks/index.d.ts +1 -0
- package/internal/hooks/useAnimationFrame.d.ts +4 -0
- package/internal/utils/hasContent.d.ts +2 -0
- package/internal/utils/index.d.ts +3 -0
- package/internal/utils/setRef.d.ts +1 -0
- package/package.json +8 -8
- package/src/Accordion/Accordion.d.ts +1 -1
- package/src/AccordionHeader/AccordionHeader.d.ts +1 -1
- package/src/Alert/Alert.type.d.ts +2 -1
- package/src/Animation/components/Fade/Fade.d.ts +4 -2
- package/src/Animation/components/Grow/Grow.d.ts +4 -2
- package/src/Animation/components/ShowHideEye/ShowHideEye.d.ts +1 -1
- package/src/Animation/components/SlideIn/SlideIn.d.ts +4 -2
- package/src/Animation/components/SlideIn/getSlideIn.d.ts +1 -1
- package/src/Announcement/Announcement.d.ts +1 -1
- package/src/Autocomplete/SuggestionList/SuggestionList.d.ts +1 -1
- package/src/Autocomplete/SuggestionList/SuggestionListItem.d.ts +1 -1
- package/src/Autocomplete/SuggestionList/utils/useSuggestionList.d.ts +1 -1
- package/src/Autocomplete/useAutocomplete.d.ts +74 -50
- package/src/Autocomplete/useAutocompleteTag.d.ts +68 -44
- package/src/Backdrop/Backdrop.d.ts +1 -1
- package/src/Badge/Badge.d.ts +2 -2
- package/src/BottomNavigation/BottomNavigationGroup/BottomNavigationGroup.d.ts +1 -1
- package/src/CircularProgressIndicator/CircularProgressIndicator.d.ts +1 -1
- package/src/DatePicker/DatePicker.d.ts +1 -1
- package/src/DatePicker/Day.d.ts +1 -1
- package/src/DatePicker/Year.d.ts +1 -1
- package/src/DatePicker/utils/DatePickerAriaLabelUtils.d.ts +2 -1
- package/src/Dialer/DialDelete/DialDelete.d.ts +2 -2
- package/src/Dialer/DialPad/DialPad.d.ts +2 -2
- package/src/Dialer/DialTextField/DialTextField.d.ts +1 -1
- package/src/Dialer/Dialer.d.ts +4 -2
- package/src/Dialog/Dialog.d.ts +4 -4
- package/src/Drawer/Drawer.d.ts +1 -1
- package/src/Dropdown/Dropdown.type.d.ts +2 -2
- package/src/EmptyState/EmptyState.d.ts +1 -1
- package/src/FormField/FormField.d.ts +1 -1
- package/src/FormLabel/FormLabel.d.ts +1 -1
- package/src/Icon/Icon.d.ts +1 -1
- package/src/IconButton/IconButtonLabel.d.ts +1 -1
- package/src/InlineEditable/InlineEditable.type.d.ts +2 -1
- package/src/LinearProgressIndicator/LinearProgressIndicator.d.ts +1 -1
- package/src/List/List.d.ts +1 -1
- package/src/ListItem/ListItem.d.ts +1 -1
- package/src/ListItemText/ListItemText.d.ts +1 -1
- package/src/ListNavigation/useListNavigation.d.ts +3 -3
- package/src/Menu/Menu.d.ts +1 -1
- package/src/MenuActions/MenuActions.d.ts +3 -3
- package/src/MenuDivider/MenuDivider.d.ts +1 -1
- package/src/MenuFooter/MenuFooter.d.ts +1 -1
- package/src/MenuHeader/MenuHeader.d.ts +1 -1
- package/src/MenuItem/MenuItem.d.ts +1 -1
- package/src/MenuItem/useMenuItem.d.ts +1 -1
- package/src/MenuItem/useVirtualizedMenuItem.d.ts +1 -1
- package/src/MenuItemText/MenuItemText.d.ts +1 -1
- package/src/MenuList/MenuList.type.d.ts +1 -1
- package/src/Modal/InnerModal.d.ts +2 -16
- package/src/Modal/InnerModal.type.d.ts +1 -0
- package/src/Modal/Modal.d.ts +2 -21
- package/src/Modal/ModalContext.d.ts +3 -0
- package/src/Modal/OverlayBranchRegistry.d.ts +8 -0
- package/src/Modal/useOverlayBranch.d.ts +8 -0
- package/src/NestedMenuContext/MenuOverlayGroupContext.d.ts +2 -2
- package/src/Option/Option.d.ts +1 -1
- package/src/PageHeader/PageHeader.d.ts +5 -5
- package/src/PickerTextField/PickerTextField.d.ts +1 -1
- package/src/Popover/Popover.d.ts +1 -1
- package/src/Popper/Popper.d.ts +1 -1
- package/src/Popper/Popper.type.d.ts +10 -7
- package/src/PopperPaper/PopperPaper.d.ts +1 -1
- package/src/RadioGroup/RadioGroup.d.ts +1 -1
- package/src/Rating/Rating.d.ts +1 -1
- package/src/Rating/RatingItem.d.ts +1 -1
- package/src/Rating/utils.d.ts +3 -3
- package/src/Select/Select.type.d.ts +1 -1
- package/src/SingleFilter/FilterButton/FilterButton.d.ts +1 -1
- package/src/SingleFilter/SingleFilter.d.ts +1 -1
- package/src/Skeleton/Skeleton.d.ts +1 -1
- package/src/Slider/Slider.d.ts +2 -2
- package/src/Slider/SliderThumb.d.ts +2 -2
- package/src/Snackbar/Snackbar.d.ts +1 -1
- package/src/Snackbar/SnackbarContent/SnackbarContent.d.ts +1 -1
- package/src/SortableListItem/SortableListItem.d.ts +1 -1
- package/src/SortableListItem/SortableListItemOverlay.d.ts +1 -1
- package/src/SplitButton/SplitButton.d.ts +1 -1
- package/src/Squircle/Squircle.d.ts +1 -1
- package/src/StatusIndicator/StatusIndicator.d.ts +2 -2
- package/src/StepConnector/StepConnector.d.ts +1 -1
- package/src/StepContent/StepContent.d.ts +1 -1
- package/src/StepIcon/StepIcon.d.ts +1 -1
- package/src/StepLabel/StepLabel.d.ts +1 -1
- package/src/SubMenu/PopperMenu.d.ts +1 -1
- package/src/SubMenu/PopperMenu.type.d.ts +4 -1
- package/src/SubMenu/SubMenu.d.ts +1 -1
- package/src/SwipeableDrawer/SwipeableDrawer.d.ts +1 -1
- package/src/Tab/Tab.d.ts +1 -1
- package/src/TabPanel/TabPanel.d.ts +1 -1
- package/src/TableFooter/TableFooter.d.ts +1 -1
- package/src/Tabs/TabMoreMenu.d.ts +1 -1
- package/src/Tabs/TabScrollButton.d.ts +1 -1
- package/src/Tabs/Tabs.d.ts +1 -1
- package/src/Tag/Tag.d.ts +1 -1
- package/src/TextField/TextField.d.ts +1 -1
- package/src/Textarea/Textarea.d.ts +1 -1
- package/src/TimePicker/NumberPicker.d.ts +1 -1
- package/src/TimePicker/TimeButton.d.ts +1 -1
- package/src/TimePicker/ToggleText.d.ts +1 -1
- package/src/Tray/Tray.d.ts +1 -1
- package/src/Tray/TrayPanel.d.ts +1 -1
- package/src/TrayMenu/TrayMenu.d.ts +1 -1
- package/src/TrayMenu/TrayMenuItem.d.ts +1 -1
- package/src/VirtualizedList/VirtuosoComponents.d.ts +4 -4
- package/src/VisuallyHidden/VisuallyHidden.d.ts +1 -1
- package/src/internal/utils/index.d.ts +0 -1
- /package/{src/internal → internal}/utils/composeEventHandlers.d.ts +0 -0
|
@@ -43,6 +43,7 @@ export declare const useAutocompleteTag: <T extends SuggestionListItemData = Sug
|
|
|
43
43
|
suppressContentEditableWarning?: boolean | undefined;
|
|
44
44
|
suppressHydrationWarning?: boolean | undefined;
|
|
45
45
|
accessKey?: string | undefined;
|
|
46
|
+
autoFocus?: boolean | undefined;
|
|
46
47
|
className?: string | undefined;
|
|
47
48
|
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
|
48
49
|
contextMenu?: string | undefined;
|
|
@@ -51,6 +52,7 @@ export declare const useAutocompleteTag: <T extends SuggestionListItemData = Sug
|
|
|
51
52
|
hidden?: boolean | undefined;
|
|
52
53
|
id?: string | undefined;
|
|
53
54
|
lang?: string | undefined;
|
|
55
|
+
nonce?: string | undefined;
|
|
54
56
|
placeholder?: string | undefined;
|
|
55
57
|
slot?: string | undefined;
|
|
56
58
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
@@ -59,13 +61,16 @@ export declare const useAutocompleteTag: <T extends SuggestionListItemData = Sug
|
|
|
59
61
|
title?: string | undefined;
|
|
60
62
|
translate?: "yes" | "no" | undefined;
|
|
61
63
|
radioGroup?: string | undefined;
|
|
62
|
-
role?:
|
|
64
|
+
role?: import("react").AriaRole | undefined;
|
|
63
65
|
about?: string | undefined;
|
|
66
|
+
content?: string | undefined;
|
|
64
67
|
datatype?: string | undefined;
|
|
65
68
|
inlist?: any;
|
|
66
69
|
prefix?: string | undefined;
|
|
67
70
|
property?: string | undefined;
|
|
71
|
+
rel?: string | undefined;
|
|
68
72
|
resource?: string | undefined;
|
|
73
|
+
rev?: string | undefined;
|
|
69
74
|
typeof?: string | undefined;
|
|
70
75
|
vocab?: string | undefined;
|
|
71
76
|
autoCapitalize?: string | undefined;
|
|
@@ -79,51 +84,56 @@ export declare const useAutocompleteTag: <T extends SuggestionListItemData = Sug
|
|
|
79
84
|
itemRef?: string | undefined;
|
|
80
85
|
results?: number | undefined;
|
|
81
86
|
security?: string | undefined;
|
|
82
|
-
unselectable?: "
|
|
83
|
-
inputMode?: "search" | "
|
|
87
|
+
unselectable?: "off" | "on" | undefined;
|
|
88
|
+
inputMode?: "search" | "text" | "none" | "url" | "tel" | "email" | "numeric" | "decimal" | undefined;
|
|
84
89
|
is?: string | undefined;
|
|
85
90
|
'aria-activedescendant'?: string | undefined;
|
|
86
|
-
'aria-atomic'?: boolean | "true" | "false" | undefined;
|
|
91
|
+
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
87
92
|
'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
|
|
88
|
-
'aria-
|
|
93
|
+
'aria-braillelabel'?: string | undefined;
|
|
94
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
95
|
+
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
89
96
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
90
97
|
'aria-colcount'?: number | undefined;
|
|
91
98
|
'aria-colindex'?: number | undefined;
|
|
99
|
+
'aria-colindextext'?: string | undefined;
|
|
92
100
|
'aria-colspan'?: number | undefined;
|
|
93
101
|
'aria-controls'?: string | undefined;
|
|
94
|
-
'aria-current'?: boolean | "true" | "
|
|
102
|
+
'aria-current'?: boolean | "true" | "page" | "time" | "false" | "step" | "date" | "location" | undefined;
|
|
95
103
|
'aria-describedby'?: string | undefined;
|
|
104
|
+
'aria-description'?: string | undefined;
|
|
96
105
|
'aria-details'?: string | undefined;
|
|
97
106
|
'aria-disabled': boolean | "true" | "false";
|
|
98
107
|
'aria-dropeffect'?: "copy" | "link" | "none" | "execute" | "move" | "popup" | undefined;
|
|
99
108
|
'aria-errormessage'?: string | undefined;
|
|
100
|
-
'aria-expanded'?: boolean | "true" | "false" | undefined;
|
|
109
|
+
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
101
110
|
'aria-flowto'?: string | undefined;
|
|
102
|
-
'aria-grabbed'?: boolean | "true" | "false" | undefined;
|
|
103
|
-
'aria-haspopup'?: boolean | "true" | "dialog" | "menu" | "false" | "listbox" | "tree" |
|
|
104
|
-
'aria-hidden'?: boolean | "true" | "false" | undefined;
|
|
111
|
+
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
112
|
+
'aria-haspopup'?: boolean | "true" | "grid" | "dialog" | "menu" | "false" | "listbox" | "tree" | undefined;
|
|
113
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
105
114
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
106
115
|
'aria-keyshortcuts'?: string | undefined;
|
|
107
116
|
'aria-label'?: string | undefined;
|
|
108
117
|
'aria-labelledby'?: string | undefined;
|
|
109
118
|
'aria-level'?: number | undefined;
|
|
110
|
-
'aria-live'?: "assertive" | "
|
|
111
|
-
'aria-modal'?: boolean | "true" | "false" | undefined;
|
|
112
|
-
'aria-multiline'?: boolean | "true" | "false" | undefined;
|
|
113
|
-
'aria-multiselectable'?: boolean | "true" | "false" | undefined;
|
|
119
|
+
'aria-live'?: "assertive" | "polite" | "off" | undefined;
|
|
120
|
+
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
121
|
+
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
122
|
+
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
114
123
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
115
124
|
'aria-owns'?: string | undefined;
|
|
116
125
|
'aria-placeholder'?: string | undefined;
|
|
117
126
|
'aria-posinset'?: number | undefined;
|
|
118
127
|
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
119
|
-
'aria-readonly'?: boolean | "true" | "false" | undefined;
|
|
120
|
-
'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "
|
|
128
|
+
'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
129
|
+
'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
121
130
|
'aria-required': boolean | "true" | "false";
|
|
122
131
|
'aria-roledescription'?: string | undefined;
|
|
123
132
|
'aria-rowcount'?: number | undefined;
|
|
124
133
|
'aria-rowindex'?: number | undefined;
|
|
134
|
+
'aria-rowindextext'?: string | undefined;
|
|
125
135
|
'aria-rowspan'?: number | undefined;
|
|
126
|
-
'aria-selected'?: boolean | "true" | "false" | undefined;
|
|
136
|
+
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
127
137
|
'aria-setsize'?: number | undefined;
|
|
128
138
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
129
139
|
'aria-valuemax'?: number | undefined;
|
|
@@ -132,7 +142,7 @@ export declare const useAutocompleteTag: <T extends SuggestionListItemData = Sug
|
|
|
132
142
|
'aria-valuetext'?: string | undefined;
|
|
133
143
|
children?: import("react").ReactNode;
|
|
134
144
|
dangerouslySetInnerHTML?: {
|
|
135
|
-
__html: string;
|
|
145
|
+
__html: string | TrustedHTML;
|
|
136
146
|
} | undefined;
|
|
137
147
|
onCopy?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
|
|
138
148
|
onCopyCapture?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
|
|
@@ -202,6 +212,8 @@ export declare const useAutocompleteTag: <T extends SuggestionListItemData = Sug
|
|
|
202
212
|
onProgressCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
203
213
|
onRateChange?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
204
214
|
onRateChangeCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
215
|
+
onResize?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
216
|
+
onResizeCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
205
217
|
onSeeked?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
206
218
|
onSeekedCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
207
219
|
onSeeking?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
@@ -305,24 +317,30 @@ export declare const useAutocompleteTag: <T extends SuggestionListItemData = Sug
|
|
|
305
317
|
onKeyUp?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
|
|
306
318
|
onMouseDown?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
307
319
|
onClick?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
320
|
+
content?: string | undefined;
|
|
321
|
+
translate?: "yes" | "no" | undefined;
|
|
322
|
+
hidden?: boolean | undefined;
|
|
308
323
|
slot?: string | undefined;
|
|
309
324
|
style?: import("react").CSSProperties | undefined;
|
|
310
325
|
title?: string | undefined;
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
326
|
+
rel?: string | undefined;
|
|
327
|
+
rev?: string | undefined;
|
|
328
|
+
role?: import("react").AriaRole | undefined;
|
|
329
|
+
'aria-live'?: "assertive" | "polite" | "off" | undefined;
|
|
330
|
+
'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
331
|
+
'aria-labelledby'?: string | undefined;
|
|
332
|
+
id?: string | undefined;
|
|
333
|
+
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
334
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
315
335
|
className?: string | undefined;
|
|
316
|
-
|
|
336
|
+
prefix?: string | undefined;
|
|
317
337
|
dir?: string | undefined;
|
|
338
|
+
accessKey?: string | undefined;
|
|
318
339
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
319
|
-
hidden?: boolean | undefined;
|
|
320
340
|
lang?: string | undefined;
|
|
321
|
-
translate?: "yes" | "no" | undefined;
|
|
322
|
-
id?: string | undefined;
|
|
323
|
-
prefix?: string | undefined;
|
|
324
341
|
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
|
325
|
-
inputMode?: "search" | "
|
|
342
|
+
inputMode?: "search" | "text" | "none" | "url" | "tel" | "email" | "numeric" | "decimal" | undefined;
|
|
343
|
+
nonce?: string | undefined;
|
|
326
344
|
tabIndex?: number | undefined;
|
|
327
345
|
key?: import("react").Key | null | undefined;
|
|
328
346
|
defaultChecked?: boolean | undefined;
|
|
@@ -334,6 +352,7 @@ export declare const useAutocompleteTag: <T extends SuggestionListItemData = Sug
|
|
|
334
352
|
onMouseLeave?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
335
353
|
suppressContentEditableWarning?: boolean | undefined;
|
|
336
354
|
suppressHydrationWarning?: boolean | undefined;
|
|
355
|
+
autoFocus?: boolean | undefined;
|
|
337
356
|
contextMenu?: string | undefined;
|
|
338
357
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
339
358
|
radioGroup?: string | undefined;
|
|
@@ -354,47 +373,50 @@ export declare const useAutocompleteTag: <T extends SuggestionListItemData = Sug
|
|
|
354
373
|
itemRef?: string | undefined;
|
|
355
374
|
results?: number | undefined;
|
|
356
375
|
security?: string | undefined;
|
|
357
|
-
unselectable?: "
|
|
376
|
+
unselectable?: "off" | "on" | undefined;
|
|
358
377
|
is?: string | undefined;
|
|
359
378
|
'aria-activedescendant'?: string | undefined;
|
|
360
379
|
'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
|
|
361
|
-
'aria-
|
|
380
|
+
'aria-braillelabel'?: string | undefined;
|
|
381
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
382
|
+
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
362
383
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
363
384
|
'aria-colcount'?: number | undefined;
|
|
364
385
|
'aria-colindex'?: number | undefined;
|
|
386
|
+
'aria-colindextext'?: string | undefined;
|
|
365
387
|
'aria-colspan'?: number | undefined;
|
|
366
388
|
'aria-controls'?: string | undefined;
|
|
367
|
-
'aria-current'?: boolean | "true" | "
|
|
389
|
+
'aria-current'?: boolean | "true" | "page" | "time" | "false" | "step" | "date" | "location" | undefined;
|
|
368
390
|
'aria-describedby'?: string | undefined;
|
|
391
|
+
'aria-description'?: string | undefined;
|
|
369
392
|
'aria-details'?: string | undefined;
|
|
370
|
-
'aria-disabled'?: boolean | "true" | "false" | undefined;
|
|
393
|
+
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
371
394
|
'aria-dropeffect'?: "copy" | "link" | "none" | "execute" | "move" | "popup" | undefined;
|
|
372
395
|
'aria-errormessage'?: string | undefined;
|
|
373
|
-
'aria-expanded'?: boolean | "true" | "false" | undefined;
|
|
396
|
+
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
374
397
|
'aria-flowto'?: string | undefined;
|
|
375
|
-
'aria-grabbed'?: boolean | "true" | "false" | undefined;
|
|
376
|
-
'aria-haspopup'?: boolean | "true" | "dialog" | "menu" | "false" | "listbox" | "tree" |
|
|
398
|
+
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
399
|
+
'aria-haspopup'?: boolean | "true" | "grid" | "dialog" | "menu" | "false" | "listbox" | "tree" | undefined;
|
|
377
400
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
378
401
|
'aria-keyshortcuts'?: string | undefined;
|
|
379
402
|
'aria-label'?: string | undefined;
|
|
380
|
-
'aria-labelledby'?: string | undefined;
|
|
381
403
|
'aria-level'?: number | undefined;
|
|
382
|
-
'aria-modal'?: boolean | "true" | "false" | undefined;
|
|
383
|
-
'aria-multiline'?: boolean | "true" | "false" | undefined;
|
|
384
|
-
'aria-multiselectable'?: boolean | "true" | "false" | undefined;
|
|
404
|
+
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
405
|
+
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
406
|
+
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
385
407
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
386
408
|
'aria-owns'?: string | undefined;
|
|
387
409
|
'aria-placeholder'?: string | undefined;
|
|
388
410
|
'aria-posinset'?: number | undefined;
|
|
389
411
|
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
390
|
-
'aria-readonly'?: boolean | "true" | "false" | undefined;
|
|
391
|
-
'aria-
|
|
392
|
-
'aria-required'?: boolean | "true" | "false" | undefined;
|
|
412
|
+
'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
413
|
+
'aria-required'?: (boolean | "true" | "false") | undefined;
|
|
393
414
|
'aria-roledescription'?: string | undefined;
|
|
394
415
|
'aria-rowcount'?: number | undefined;
|
|
395
416
|
'aria-rowindex'?: number | undefined;
|
|
417
|
+
'aria-rowindextext'?: string | undefined;
|
|
396
418
|
'aria-rowspan'?: number | undefined;
|
|
397
|
-
'aria-selected'?: boolean | "true" | "false" | undefined;
|
|
419
|
+
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
398
420
|
'aria-setsize'?: number | undefined;
|
|
399
421
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
400
422
|
'aria-valuemax'?: number | undefined;
|
|
@@ -402,7 +424,7 @@ export declare const useAutocompleteTag: <T extends SuggestionListItemData = Sug
|
|
|
402
424
|
'aria-valuenow'?: number | undefined;
|
|
403
425
|
'aria-valuetext'?: string | undefined;
|
|
404
426
|
dangerouslySetInnerHTML?: {
|
|
405
|
-
__html: string;
|
|
427
|
+
__html: string | TrustedHTML;
|
|
406
428
|
} | undefined;
|
|
407
429
|
onCopy?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
|
|
408
430
|
onCopyCapture?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
|
|
@@ -468,6 +490,8 @@ export declare const useAutocompleteTag: <T extends SuggestionListItemData = Sug
|
|
|
468
490
|
onProgressCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
469
491
|
onRateChange?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
470
492
|
onRateChangeCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
493
|
+
onResize?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
494
|
+
onResizeCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
471
495
|
onSeeked?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
472
496
|
onSeekedCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
473
497
|
onSeeking?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { BackdropProps } from './Backdrop.type';
|
|
3
3
|
import backdropStyles from './styles/Backdrop.css';
|
|
4
|
-
declare const Backdrop: import("react").ForwardRefExoticComponent<
|
|
4
|
+
declare const Backdrop: import("react").ForwardRefExoticComponent<Omit<BackdropProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
5
|
export { Backdrop, backdropStyles };
|
package/src/Badge/Badge.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import { type ReactElement } from 'react';
|
|
2
2
|
import { BadgeProps } from './Badge.type';
|
|
3
3
|
import badgeStyles from './styles/Badge.css';
|
|
4
4
|
export declare const Badge: {
|
|
5
|
-
(inProps: BadgeProps):
|
|
5
|
+
(inProps: BadgeProps): ReactElement;
|
|
6
6
|
displayName: string;
|
|
7
7
|
};
|
|
8
8
|
export { badgeStyles };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { BottomNavigationGroupProps } from './BottomNavigationGroup.type';
|
|
3
3
|
import bottomNavigationGroupStyles from './styles/BottomNavigationGroup.css';
|
|
4
|
-
declare const BottomNavigationGroup: import("react").ForwardRefExoticComponent<
|
|
4
|
+
declare const BottomNavigationGroup: import("react").ForwardRefExoticComponent<Omit<BottomNavigationGroupProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
5
|
export { BottomNavigationGroup, bottomNavigationGroupStyles };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { CircularProgressIndicatorProps } from './CircularProgressIndicator.type';
|
|
3
3
|
import circularProgressIndicatorStyle from './styles/CircularProgressIndicator.css';
|
|
4
|
-
declare const CircularProgressIndicator: React.ForwardRefExoticComponent<
|
|
4
|
+
declare const CircularProgressIndicator: React.ForwardRefExoticComponent<Omit<CircularProgressIndicatorProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
5
5
|
export { CircularProgressIndicator, circularProgressIndicatorStyle };
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
import { DatePickerProps } from './DatePicker.type';
|
|
3
3
|
import datePickerStyle from './styles/DatePicker.css';
|
|
4
4
|
declare const DEFAULT_FORMAT = "MM/DD/YYYY";
|
|
5
|
-
declare const DatePicker: import("react").ForwardRefExoticComponent<
|
|
5
|
+
declare const DatePicker: import("react").ForwardRefExoticComponent<Omit<DatePickerProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
6
|
export { DatePicker, datePickerStyle, DEFAULT_FORMAT };
|
package/src/DatePicker/Day.d.ts
CHANGED
|
@@ -11,6 +11,6 @@ type DayProps = PropsWithRoot<{
|
|
|
11
11
|
date: DateType;
|
|
12
12
|
current: boolean;
|
|
13
13
|
}, 'button', 'className'>;
|
|
14
|
-
declare const Day: import("react").ForwardRefExoticComponent<
|
|
14
|
+
declare const Day: import("react").ForwardRefExoticComponent<Omit<DayProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
15
15
|
export { Day };
|
|
16
16
|
export type { DayProps };
|
package/src/DatePicker/Year.d.ts
CHANGED
|
@@ -10,6 +10,6 @@ type YearProps = PropsWithRoot<{
|
|
|
10
10
|
date: DateType;
|
|
11
11
|
current: boolean;
|
|
12
12
|
}, 'button', 'className'>;
|
|
13
|
-
declare const Year: import("react").ForwardRefExoticComponent<
|
|
13
|
+
declare const Year: import("react").ForwardRefExoticComponent<Omit<YearProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
14
14
|
export { Year };
|
|
15
15
|
export type { YearProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FunctionComponent } from 'react';
|
|
1
|
+
import { FunctionComponent, ReactNode } from 'react';
|
|
2
2
|
import type { DateType } from '../DatePicker.type';
|
|
3
3
|
type DayAriaLabelContext = {
|
|
4
4
|
date: DateType;
|
|
@@ -18,6 +18,7 @@ declare const ScreenReaderContext: import("react").Context<ScreenReaderProps | n
|
|
|
18
18
|
declare const useScreenReaderContext: () => ScreenReaderProps | null;
|
|
19
19
|
type ScreenReaderProviderProps = {
|
|
20
20
|
screenReaderProps?: ScreenReaderProps;
|
|
21
|
+
children?: ReactNode;
|
|
21
22
|
};
|
|
22
23
|
declare const ScreenReaderProvider: FunctionComponent<ScreenReaderProviderProps>;
|
|
23
24
|
export { ScreenReaderContext, ScreenReaderProvider, useScreenReaderContext };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FunctionComponent } from 'react';
|
|
1
|
+
import { FunctionComponent, ReactElement } from 'react';
|
|
2
2
|
import { DialPadOnChangeReason } from '../DialPad';
|
|
3
3
|
type DialDeleteProps = {
|
|
4
|
-
children:
|
|
4
|
+
children: ReactElement;
|
|
5
5
|
onDelete?: (e: React.MouseEvent<unknown, MouseEvent> | React.TouchEvent<unknown> | React.KeyboardEvent<unknown>, reason: DialPadOnChangeReason) => void;
|
|
6
6
|
onClear?: (e: React.MouseEvent<unknown, MouseEvent> | React.TouchEvent<unknown> | React.KeyboardEvent<unknown>, reason: DialPadOnChangeReason) => void;
|
|
7
7
|
externalWindow?: Window;
|
|
@@ -16,7 +16,7 @@ type DialPadProps = {
|
|
|
16
16
|
autoSize?: boolean;
|
|
17
17
|
action?: Ref<DialPadAction>;
|
|
18
18
|
control?: Ref<DialPadControl>;
|
|
19
|
-
getDialPadButtonProps?: (value: DIALER_PAD_ICON_VALUES) => Omit<IconButtonProps, 'value' | '
|
|
19
|
+
getDialPadButtonProps?: (value: DIALER_PAD_ICON_VALUES) => Omit<IconButtonProps, 'value' | 'onFocus'> & HTMLDataAttribute;
|
|
20
20
|
size?: 'large' | 'medium';
|
|
21
21
|
} & Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> & Pick<DialPadButtonProps, 'classes'>;
|
|
22
22
|
declare const DialPad: import("react").ForwardRefExoticComponent<{
|
|
@@ -30,7 +30,7 @@ declare const DialPad: import("react").ForwardRefExoticComponent<{
|
|
|
30
30
|
autoSize?: boolean | undefined;
|
|
31
31
|
action?: Ref<DialPadAction> | undefined;
|
|
32
32
|
control?: Ref<DialPadControl> | undefined;
|
|
33
|
-
getDialPadButtonProps?: ((value: DIALER_PAD_ICON_VALUES) => Omit<IconButtonProps, 'value' | '
|
|
33
|
+
getDialPadButtonProps?: ((value: DIALER_PAD_ICON_VALUES) => Omit<IconButtonProps, 'value' | 'onFocus'> & HTMLDataAttribute) | undefined;
|
|
34
34
|
size?: "medium" | "large" | undefined;
|
|
35
35
|
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange"> & Pick<DialPadButtonProps, "classes"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
36
36
|
export type { DialPadAction, DialPadOnChangeReason, DialPadProps };
|
|
@@ -9,6 +9,6 @@ type DialTextFieldProps = {
|
|
|
9
9
|
onlyAllowKeypadValue?: boolean;
|
|
10
10
|
keypadMode?: boolean;
|
|
11
11
|
} & Omit<TextFieldProps, 'onChange' | 'value' | 'onClear' | 'clearBtn'>;
|
|
12
|
-
declare const DialTextField: import("react").ForwardRefExoticComponent<
|
|
12
|
+
declare const DialTextField: import("react").ForwardRefExoticComponent<Omit<DialTextFieldProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
13
13
|
export { DialTextField };
|
|
14
14
|
export type { DialTextFieldProps };
|
package/src/Dialer/Dialer.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { FunctionComponent } from 'react';
|
|
2
|
-
type DialerProps = {
|
|
1
|
+
import { FunctionComponent, ReactNode } from 'react';
|
|
2
|
+
type DialerProps = {
|
|
3
|
+
children?: ReactNode;
|
|
4
|
+
};
|
|
3
5
|
declare const Dialer: FunctionComponent<DialerProps>;
|
|
4
6
|
export { Dialer };
|
|
5
7
|
export type { DialerProps };
|
package/src/Dialog/Dialog.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { DialogProps } from './Dialog.type';
|
|
3
3
|
import dialogStyle from './styles/Dialog.css';
|
|
4
|
-
declare const Dialog: import("react").ForwardRefExoticComponent<
|
|
5
|
-
declare const DialogTitle: import("react").ForwardRefExoticComponent<
|
|
6
|
-
declare const DialogContent: import("react").ForwardRefExoticComponent<
|
|
7
|
-
declare const DialogActions: import("react").ForwardRefExoticComponent<
|
|
4
|
+
declare const Dialog: import("react").ForwardRefExoticComponent<Omit<DialogProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
|
+
declare const DialogTitle: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
|
+
declare const DialogContent: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
|
+
declare const DialogActions: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
8
|
export { Dialog, DialogActions, DialogContent, dialogStyle, DialogTitle };
|
package/src/Drawer/Drawer.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { DrawerProps } from './Drawer.type';
|
|
3
3
|
import drawerStyles from './styles/Drawer.css';
|
|
4
|
-
declare const Drawer: import("react").ForwardRefExoticComponent<
|
|
4
|
+
declare const Drawer: import("react").ForwardRefExoticComponent<Omit<DrawerProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
5
|
export { Drawer, drawerStyles };
|
|
@@ -10,7 +10,7 @@ export type DropdownProps<T = string, D = unknown> = StandardProps<{
|
|
|
10
10
|
placeholder?: ReactNode;
|
|
11
11
|
rootProps?: SlotProps<'div', 'ref'>;
|
|
12
12
|
buttonProps?: SlotProps<'button'> & Pick<UseFocusVisibleOptions, 'onFocusVisible'>;
|
|
13
|
-
MenuProps?: (Omit<VirtualizedMenuProps
|
|
13
|
+
MenuProps?: (Omit<VirtualizedMenuProps<D>, 'open' | 'anchorEl' | 'onClose' | 'initialFocus' | 'data' | 'children'> | Omit<MenuProps, 'open' | 'anchorEl' | 'onClose' | 'children'>) & HTMLDataAttribute;
|
|
14
14
|
ref?: Ref<HTMLDivElement>;
|
|
15
15
|
buttonRef?: Ref<HTMLButtonElement>;
|
|
16
16
|
virtualize?: boolean;
|
|
@@ -23,7 +23,7 @@ export type DropdownProps<T = string, D = unknown> = StandardProps<{
|
|
|
23
23
|
onOpenChange?: (isOpen: boolean) => void;
|
|
24
24
|
label?: string;
|
|
25
25
|
data: D[];
|
|
26
|
-
children: ReactNode | VirtualizedMenuProps['children'];
|
|
26
|
+
children: ReactNode | VirtualizedMenuProps<D>['children'];
|
|
27
27
|
getSelectedIndex?: (value: T) => number;
|
|
28
28
|
}, DropdownClassesKey>;
|
|
29
29
|
export interface DropdownComponent {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { EmptyStateProps } from './EmptyState.type';
|
|
3
3
|
import emptyStateStyle from './styles/EmptyState.css';
|
|
4
|
-
declare const EmptyState: import("react").ForwardRefExoticComponent<
|
|
4
|
+
declare const EmptyState: import("react").ForwardRefExoticComponent<Omit<EmptyStateProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
5
|
export { EmptyState, emptyStateStyle };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { FormFieldProps } from './FormField.type';
|
|
3
3
|
import formFieldStyle from './styles/FormField.css';
|
|
4
|
-
declare const FormField: import("react").ForwardRefExoticComponent<
|
|
4
|
+
declare const FormField: import("react").ForwardRefExoticComponent<Omit<FormFieldProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
5
|
export { FormField, formFieldStyle };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { FormLabelProps } from './FormLabel.type';
|
|
3
3
|
import formLabelStyle from './styles/FormLabel.css';
|
|
4
|
-
declare const FormLabel: import("react").ForwardRefExoticComponent<
|
|
4
|
+
declare const FormLabel: import("react").ForwardRefExoticComponent<Omit<FormLabelProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
5
|
export { FormLabel, formLabelStyle };
|