@react-md/core 1.0.0-next.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/.eslintrc.cjs +26 -0
- package/.swcrc +17 -0
- package/.turbo/turbo-build.log +18 -0
- package/CHANGELOG.md +7 -0
- package/LICENSE +22 -0
- package/README.md +26 -0
- package/coverage/clover.xml +1121 -0
- package/coverage/coverage-final.json +7 -0
- package/coverage/lcov-report/AppBar.tsx.html +784 -0
- package/coverage/lcov-report/AsyncButton.tsx.html +649 -0
- package/coverage/lcov-report/Badge.tsx.html +253 -0
- package/coverage/lcov-report/Collapse.tsx.html +340 -0
- package/coverage/lcov-report/CoreProviders.tsx.html +502 -0
- package/coverage/lcov-report/DefaultToastRenderer.tsx.html +472 -0
- package/coverage/lcov-report/ExpansionList.tsx.html +205 -0
- package/coverage/lcov-report/ExpansionPanel.tsx.html +934 -0
- package/coverage/lcov-report/ExpansionPanelHeader.tsx.html +622 -0
- package/coverage/lcov-report/FileInput.tsx.html +733 -0
- package/coverage/lcov-report/FontIcon.tsx.html +265 -0
- package/coverage/lcov-report/InputToggle.tsx.html +1117 -0
- package/coverage/lcov-report/InputToggleIcon.tsx.html +478 -0
- package/coverage/lcov-report/MaterialIcon.tsx.html +241 -0
- package/coverage/lcov-report/MaterialSymbol.tsx.html +403 -0
- package/coverage/lcov-report/NativeSelect.tsx.html +763 -0
- package/coverage/lcov-report/SVGIcon.tsx.html +445 -0
- package/coverage/lcov-report/SegmentedButton.tsx.html +628 -0
- package/coverage/lcov-report/SegmentedButtonContainer.tsx.html +277 -0
- package/coverage/lcov-report/Snackbar.tsx.html +652 -0
- package/coverage/lcov-report/Tab.tsx.html +508 -0
- package/coverage/lcov-report/TabList.tsx.html +757 -0
- package/coverage/lcov-report/TabListScrollButton.tsx.html +472 -0
- package/coverage/lcov-report/TextArea.tsx.html +940 -0
- package/coverage/lcov-report/TextField.tsx.html +829 -0
- package/coverage/lcov-report/TextFieldAddon.tsx.html +382 -0
- package/coverage/lcov-report/TextFieldContainer.tsx.html +364 -0
- package/coverage/lcov-report/ToastCloseButton.tsx.html +340 -0
- package/coverage/lcov-report/ToastManagerProvider.tsx.html +400 -0
- package/coverage/lcov-report/Tooltip.tsx.html +616 -0
- package/coverage/lcov-report/TooltipHoverModeProvider.tsx.html +253 -0
- package/coverage/lcov-report/Tree.tsx.html +1135 -0
- package/coverage/lcov-report/app-bar/AppBar.tsx.html +787 -0
- package/coverage/lcov-report/app-bar/AppBarTitle.tsx.html +451 -0
- package/coverage/lcov-report/app-bar/index.html +116 -0
- package/coverage/lcov-report/avatar/Avatar.tsx.html +466 -0
- package/coverage/lcov-report/avatar/index.html +116 -0
- package/coverage/lcov-report/badge/Badge.tsx.html +364 -0
- package/coverage/lcov-report/badge/index.html +116 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/box/Box.tsx.html +550 -0
- package/coverage/lcov-report/box/index.html +116 -0
- package/coverage/lcov-report/button/AsyncButton.tsx.html +838 -0
- package/coverage/lcov-report/button/Button.tsx.html +676 -0
- package/coverage/lcov-report/button/ButtonUnstyled.tsx.html +214 -0
- package/coverage/lcov-report/button/FloatingActionButton.tsx.html +427 -0
- package/coverage/lcov-report/button/buttonStyles.ts.html +607 -0
- package/coverage/lcov-report/button/buttonUnstyledStyles.ts.html +142 -0
- package/coverage/lcov-report/button/index.html +116 -0
- package/coverage/lcov-report/card/CardHeader.tsx.html +322 -0
- package/coverage/lcov-report/card/index.html +116 -0
- package/coverage/lcov-report/card/styles.ts.html +658 -0
- package/coverage/lcov-report/chip/Chip.tsx.html +1072 -0
- package/coverage/lcov-report/chip/index.html +116 -0
- package/coverage/lcov-report/chip/styles.ts.html +436 -0
- package/coverage/lcov-report/collapseStyles.ts.html +184 -0
- package/coverage/lcov-report/config.ts.html +136 -0
- package/coverage/lcov-report/cssUtils.ts.html +709 -0
- package/coverage/lcov-report/dialog/Dialog.tsx.html +1306 -0
- package/coverage/lcov-report/dialog/FixedDialog.tsx.html +583 -0
- package/coverage/lcov-report/dialog/index.html +131 -0
- package/coverage/lcov-report/divider/Divider.tsx.html +280 -0
- package/coverage/lcov-report/divider/index.html +116 -0
- package/coverage/lcov-report/draggable/index.html +131 -0
- package/coverage/lcov-report/draggable/useControlledDraggable.ts.html +2131 -0
- package/coverage/lcov-report/draggable/useDraggable.ts.html +2389 -0
- package/coverage/lcov-report/draggable/useDraggableOrig.ts.html +316 -0
- package/coverage/lcov-report/draggable/useLocalStorageDraggable.ts.html +361 -0
- package/coverage/lcov-report/draggable/useLocalStorageDraggableControls.ts.html +487 -0
- package/coverage/lcov-report/draggable/useLocalStorageDraggableLatest.ts.html +334 -0
- package/coverage/lcov-report/draggable/utils.ts.html +907 -0
- package/coverage/lcov-report/expansion-panel/ExpansionPanel.tsx.html +946 -0
- package/coverage/lcov-report/expansion-panel/ExpansionPanelHeader.tsx.html +649 -0
- package/coverage/lcov-report/expansion-panel/index.html +131 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/filters.ts.html +1045 -0
- package/coverage/lcov-report/findMatchIndex.ts.html +385 -0
- package/coverage/lcov-report/form/FileInput.tsx.html +739 -0
- package/coverage/lcov-report/form/Form.tsx.html +238 -0
- package/coverage/lcov-report/form/FormMessage.tsx.html +322 -0
- package/coverage/lcov-report/form/FormMessageContainer.tsx.html +229 -0
- package/coverage/lcov-report/form/InputToggle.tsx.html +1108 -0
- package/coverage/lcov-report/form/InputToggleIcon.tsx.html +478 -0
- package/coverage/lcov-report/form/MenuItemInputToggle.tsx.html +967 -0
- package/coverage/lcov-report/form/MenuItemTextField.tsx.html +286 -0
- package/coverage/lcov-report/form/NativeSelect.tsx.html +826 -0
- package/coverage/lcov-report/form/OptGroup.tsx.html +340 -0
- package/coverage/lcov-report/form/Password.tsx.html +721 -0
- package/coverage/lcov-report/form/Radio.tsx.html +175 -0
- package/coverage/lcov-report/form/Slider.tsx.html +1891 -0
- package/coverage/lcov-report/form/SliderThumb.tsx.html +1030 -0
- package/coverage/lcov-report/form/Switch.tsx.html +610 -0
- package/coverage/lcov-report/form/SwitchTrack.tsx.html +235 -0
- package/coverage/lcov-report/form/TextArea.tsx.html +1108 -0
- package/coverage/lcov-report/form/TextField.tsx.html +907 -0
- package/coverage/lcov-report/form/fileUtils.ts.html +2155 -0
- package/coverage/lcov-report/form/formMessageStyles.ts.html +238 -0
- package/coverage/lcov-report/form/index.html +341 -0
- package/coverage/lcov-report/form/inputToggleStyles.ts.html +316 -0
- package/coverage/lcov-report/form/selectUtils.ts.html +430 -0
- package/coverage/lcov-report/form/textAreaStyles.ts.html +385 -0
- package/coverage/lcov-report/form/useCheckboxGroup.ts.html +1087 -0
- package/coverage/lcov-report/form/useCombobox-6-13.ts.html +1054 -0
- package/coverage/lcov-report/form/useCombobox-6-15.ts.html +1048 -0
- package/coverage/lcov-report/form/useCombobox.ts.html +1051 -0
- package/coverage/lcov-report/form/useComboboxBoth.ts.html +85 -0
- package/coverage/lcov-report/form/useComboboxDialog.ts.html +85 -0
- package/coverage/lcov-report/form/useComboboxList.ts.html +403 -0
- package/coverage/lcov-report/form/useComboboxOrig.ts.html +781 -0
- package/coverage/lcov-report/form/useFileUpload.ts.html +1702 -0
- package/coverage/lcov-report/form/useListboxProvider.ts.html +214 -0
- package/coverage/lcov-report/form/useNumberField.ts.html +1561 -0
- package/coverage/lcov-report/form/useRadioGroup.ts.html +1021 -0
- package/coverage/lcov-report/form/useRangeSlider.ts.html +355 -0
- package/coverage/lcov-report/form/useSlider.ts.html +421 -0
- package/coverage/lcov-report/form/useTextField.ts.html +2203 -0
- package/coverage/lcov-report/form/utils.ts.html +343 -0
- package/coverage/lcov-report/form/validation.ts.html +886 -0
- package/coverage/lcov-report/icon/FontIcon.tsx.html +265 -0
- package/coverage/lcov-report/icon/index.html +116 -0
- package/coverage/lcov-report/icon/styles.ts.html +649 -0
- package/coverage/lcov-report/index.html +191 -0
- package/coverage/lcov-report/inputToggleStyles.ts.html +316 -0
- package/coverage/lcov-report/interaction/ElementInteractionProvider.tsx.html +253 -0
- package/coverage/lcov-report/interaction/index.html +116 -0
- package/coverage/lcov-report/layout/LayoutAppBar.tsx.html +358 -0
- package/coverage/lcov-report/layout/LayoutNav.tsx.html +694 -0
- package/coverage/lcov-report/layout/LayoutWindowSplitter.tsx.html +460 -0
- package/coverage/lcov-report/layout/Main.tsx.html +355 -0
- package/coverage/lcov-report/layout/NavigationLink.tsx.html +334 -0
- package/coverage/lcov-report/layout/NavigationRail.tsx.html +157 -0
- package/coverage/lcov-report/layout/index.html +116 -0
- package/coverage/lcov-report/layout/layoutNavStyles.ts.html +166 -0
- package/coverage/lcov-report/layout/layoutWindowSplitterStyles.ts.html +220 -0
- package/coverage/lcov-report/layout/navigationLinkStyles.ts.html +250 -0
- package/coverage/lcov-report/layout/navigationRailStyles.ts.html +148 -0
- package/coverage/lcov-report/layout/useExpandableLayout.ts.html +742 -0
- package/coverage/lcov-report/layout/useExpandableLayoutAppBarTransition.ts.html +199 -0
- package/coverage/lcov-report/layout/useHorizontalLayoutTransition.ts.html +349 -0
- package/coverage/lcov-report/layout/useLayoutAppBarHeight.ts.html +343 -0
- package/coverage/lcov-report/layout/useLayoutNavigation.ts.html +544 -0
- package/coverage/lcov-report/layout/useLayoutTree.ts.html +691 -0
- package/coverage/lcov-report/layout/useLayoutWindowSplitter.ts.html +517 -0
- package/coverage/lcov-report/layout/useMainTabIndex.ts.html +136 -0
- package/coverage/lcov-report/layout/useResizableLayout.ts.html +328 -0
- package/coverage/lcov-report/layout/useTemporaryLayout.ts.html +589 -0
- package/coverage/lcov-report/link/LinkProvider.tsx.html +214 -0
- package/coverage/lcov-report/link/SkipToMainContent.tsx.html +448 -0
- package/coverage/lcov-report/link/index.html +116 -0
- package/coverage/lcov-report/list/ListItemLink.tsx.html +622 -0
- package/coverage/lcov-report/list/ListItemText.tsx.html +280 -0
- package/coverage/lcov-report/list/ListSubheader.tsx.html +322 -0
- package/coverage/lcov-report/list/index.html +146 -0
- package/coverage/lcov-report/media-queries/AppSizeProvider.tsx.html +484 -0
- package/coverage/lcov-report/media-queries/appSize.ts.html +445 -0
- package/coverage/lcov-report/media-queries/index.html +116 -0
- package/coverage/lcov-report/media-queries/useMediaQuery.ts.html +244 -0
- package/coverage/lcov-report/media-queries/useMinWidthMediaQuery.ts.html +115 -0
- package/coverage/lcov-report/menu/Menu.tsx.html +1819 -0
- package/coverage/lcov-report/menu/MenuItemGroup.tsx.html +382 -0
- package/coverage/lcov-report/menu/MenuSheet.tsx.html +478 -0
- package/coverage/lcov-report/menu/MenuVisibilityProvider.tsx.html +355 -0
- package/coverage/lcov-report/menu/MenuWidget.tsx.html +634 -0
- package/coverage/lcov-report/menu/index.html +176 -0
- package/coverage/lcov-report/movement/index.html +116 -0
- package/coverage/lcov-report/movement/useKeyboardMovementProvider.ts.html +1684 -0
- package/coverage/lcov-report/overlay/Overlay.tsx.html +655 -0
- package/coverage/lcov-report/overlay/index.html +116 -0
- package/coverage/lcov-report/positioning/createVerticalPosition.ts.html +1009 -0
- package/coverage/lcov-report/positioning/getFixedPosition.ts.html +616 -0
- package/coverage/lcov-report/positioning/index.html +131 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/progress/LinearProgress.tsx.html +652 -0
- package/coverage/lcov-report/progress/index.html +116 -0
- package/coverage/lcov-report/segmented-button/SegmentedButton.tsx.html +628 -0
- package/coverage/lcov-report/segmented-button/SegmentedButtonContainer.tsx.html +259 -0
- package/coverage/lcov-report/segmented-button/index.html +161 -0
- package/coverage/lcov-report/segmented-button/segmentedButtonContainerStyles.ts.html +151 -0
- package/coverage/lcov-report/segmented-button/segmentedButtonStyles.ts.html +199 -0
- package/coverage/lcov-report/segmentedButtonContainerStyles.ts.html +160 -0
- package/coverage/lcov-report/segmentedButtonStyles.ts.html +199 -0
- package/coverage/lcov-report/sheet/Sheet.tsx.html +403 -0
- package/coverage/lcov-report/sheet/index.html +116 -0
- package/coverage/lcov-report/snackbar/DefaultToastRenderer.tsx.html +526 -0
- package/coverage/lcov-report/snackbar/Snackbar.tsx.html +652 -0
- package/coverage/lcov-report/snackbar/Toast.tsx.html +823 -0
- package/coverage/lcov-report/snackbar/ToastContent.tsx.html +364 -0
- package/coverage/lcov-report/snackbar/ToastManager.tsx.html +1783 -0
- package/coverage/lcov-report/snackbar/ToastManagerProvider.tsx.html +400 -0
- package/coverage/lcov-report/snackbar/index.html +161 -0
- package/coverage/lcov-report/snackbar/snackbarStyles.ts.html +214 -0
- package/coverage/lcov-report/snackbar/toastContentStyles.ts.html +196 -0
- package/coverage/lcov-report/snackbar/toastStyles.ts.html +289 -0
- package/coverage/lcov-report/snackbarStyles.ts.html +214 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +196 -0
- package/coverage/lcov-report/src/AppSize.tsx.html +247 -0
- package/coverage/lcov-report/src/AppSizeProvider.tsx.html +787 -0
- package/coverage/lcov-report/src/CoreProviders.tsx.html +412 -0
- package/coverage/lcov-report/src/NoSsr.tsx.html +250 -0
- package/coverage/lcov-report/src/NullSsrSuspense.tsx.html +223 -0
- package/coverage/lcov-report/src/SsrProvider.tsx.html +211 -0
- package/coverage/lcov-report/src/app-bar/AppBar.tsx.html +817 -0
- package/coverage/lcov-report/src/app-bar/AppBarTitle.tsx.html +445 -0
- package/coverage/lcov-report/src/app-bar/index.html +116 -0
- package/coverage/lcov-report/src/avatar/Avatar.tsx.html +463 -0
- package/coverage/lcov-report/src/avatar/index.html +116 -0
- package/coverage/lcov-report/src/avatar/styles.ts.html +199 -0
- package/coverage/lcov-report/src/badge/Badge.tsx.html +382 -0
- package/coverage/lcov-report/src/badge/index.html +116 -0
- package/coverage/lcov-report/src/box/Box.tsx.html +541 -0
- package/coverage/lcov-report/src/box/index.html +131 -0
- package/coverage/lcov-report/src/box/styles.ts.html +568 -0
- package/coverage/lcov-report/src/button/AsyncButton.tsx.html +496 -0
- package/coverage/lcov-report/src/button/Button.tsx.html +688 -0
- package/coverage/lcov-report/src/button/ButtonUnstyled.tsx.html +211 -0
- package/coverage/lcov-report/src/button/FloatingActionButton.tsx.html +382 -0
- package/coverage/lcov-report/src/button/buttonStyles.ts.html +607 -0
- package/coverage/lcov-report/src/button/buttonUnstyledStyles.ts.html +142 -0
- package/coverage/lcov-report/src/button/index.html +116 -0
- package/coverage/lcov-report/src/card/Card.tsx.html +343 -0
- package/coverage/lcov-report/src/card/CardContent.tsx.html +223 -0
- package/coverage/lcov-report/src/card/CardFooter.tsx.html +196 -0
- package/coverage/lcov-report/src/card/CardHeader.tsx.html +319 -0
- package/coverage/lcov-report/src/card/CardSubtitle.tsx.html +250 -0
- package/coverage/lcov-report/src/card/CardTitle.tsx.html +247 -0
- package/coverage/lcov-report/src/card/index.html +116 -0
- package/coverage/lcov-report/src/card/styles.ts.html +667 -0
- package/coverage/lcov-report/src/chip/Chip.tsx.html +1102 -0
- package/coverage/lcov-report/src/chip/index.html +131 -0
- package/coverage/lcov-report/src/chip/styles.ts.html +460 -0
- package/coverage/lcov-report/src/cssUtils.ts.html +778 -0
- package/coverage/lcov-report/src/delegateEvent.ts.html +619 -0
- package/coverage/lcov-report/src/dialog/Dialog.tsx.html +1306 -0
- package/coverage/lcov-report/src/dialog/DialogContainer.tsx.html +175 -0
- package/coverage/lcov-report/src/dialog/DialogContent.tsx.html +178 -0
- package/coverage/lcov-report/src/dialog/DialogFooter.tsx.html +169 -0
- package/coverage/lcov-report/src/dialog/DialogHeader.tsx.html +148 -0
- package/coverage/lcov-report/src/dialog/DialogTitle.tsx.html +256 -0
- package/coverage/lcov-report/src/dialog/FixedDialog.tsx.html +577 -0
- package/coverage/lcov-report/src/dialog/NestedDialogProvider.ts.html +127 -0
- package/coverage/lcov-report/src/dialog/index.html +116 -0
- package/coverage/lcov-report/src/dialog/styles.ts.html +439 -0
- package/coverage/lcov-report/src/divider/Divider.tsx.html +280 -0
- package/coverage/lcov-report/src/divider/VerticalDivider.tsx.html +235 -0
- package/coverage/lcov-report/src/divider/index.html +116 -0
- package/coverage/lcov-report/src/divider/styles.ts.html +232 -0
- package/coverage/lcov-report/src/divider/useVerticalDividerHeight.ts.html +301 -0
- package/coverage/lcov-report/src/draggable/index.html +131 -0
- package/coverage/lcov-report/src/draggable/useControlledDraggable.ts.html +2137 -0
- package/coverage/lcov-report/src/draggable/useDraggable.ts.html +2395 -0
- package/coverage/lcov-report/src/draggable/useDraggableOrig.ts.html +316 -0
- package/coverage/lcov-report/src/draggable/useLocalStorageDraggable.ts.html +370 -0
- package/coverage/lcov-report/src/draggable/utils.ts.html +910 -0
- package/coverage/lcov-report/src/expansion-panel/ExpansionList.tsx.html +211 -0
- package/coverage/lcov-report/src/expansion-panel/ExpansionPanel.tsx.html +943 -0
- package/coverage/lcov-report/src/expansion-panel/ExpansionPanelHeader.tsx.html +658 -0
- package/coverage/lcov-report/src/expansion-panel/index.html +161 -0
- package/coverage/lcov-report/src/expansion-panel/useExpansionList.ts.html +322 -0
- package/coverage/lcov-report/src/expansion-panel/useExpansionPanels.ts.html +916 -0
- package/coverage/lcov-report/src/focus/index.html +131 -0
- package/coverage/lcov-report/src/focus/useFocusContainer.ts.html +862 -0
- package/coverage/lcov-report/src/focus/utils.ts.html +544 -0
- package/coverage/lcov-report/src/form/Checkbox.tsx.html +160 -0
- package/coverage/lcov-report/src/form/Fieldset.tsx.html +355 -0
- package/coverage/lcov-report/src/form/FileInput.tsx.html +745 -0
- package/coverage/lcov-report/src/form/Form.tsx.html +235 -0
- package/coverage/lcov-report/src/form/FormMessage.tsx.html +460 -0
- package/coverage/lcov-report/src/form/FormMessageContainer.tsx.html +226 -0
- package/coverage/lcov-report/src/form/FormMessageCounter.tsx.html +262 -0
- package/coverage/lcov-report/src/form/FormThemeProvider.tsx.html +313 -0
- package/coverage/lcov-report/src/form/InputToggle.tsx.html +1117 -0
- package/coverage/lcov-report/src/form/InputToggleIcon.tsx.html +478 -0
- package/coverage/lcov-report/src/form/Label.tsx.html +439 -0
- package/coverage/lcov-report/src/form/Legend.tsx.html +199 -0
- package/coverage/lcov-report/src/form/MenuItemCheckbox.tsx.html +217 -0
- package/coverage/lcov-report/src/form/MenuItemFileInput.tsx.html +424 -0
- package/coverage/lcov-report/src/form/MenuItemInputToggle.tsx.html +967 -0
- package/coverage/lcov-report/src/form/MenuItemRadio.tsx.html +430 -0
- package/coverage/lcov-report/src/form/MenuItemSwitch.tsx.html +211 -0
- package/coverage/lcov-report/src/form/MenuItemTextField.tsx.html +280 -0
- package/coverage/lcov-report/src/form/NativeSelect.tsx.html +748 -0
- package/coverage/lcov-report/src/form/OptGroup.tsx.html +343 -0
- package/coverage/lcov-report/src/form/Option.tsx.html +709 -0
- package/coverage/lcov-report/src/form/Password.tsx.html +721 -0
- package/coverage/lcov-report/src/form/Radio.tsx.html +172 -0
- package/coverage/lcov-report/src/form/Select.tsx.html +1639 -0
- package/coverage/lcov-report/src/form/SelectValue.tsx.html +202 -0
- package/coverage/lcov-report/src/form/Slider.tsx.html +1888 -0
- package/coverage/lcov-report/src/form/SliderContainer.tsx.html +358 -0
- package/coverage/lcov-report/src/form/SliderMark.tsx.html +208 -0
- package/coverage/lcov-report/src/form/SliderMarkLabel.tsx.html +271 -0
- package/coverage/lcov-report/src/form/SliderThumb.tsx.html +1048 -0
- package/coverage/lcov-report/src/form/SliderTrack.tsx.html +454 -0
- package/coverage/lcov-report/src/form/SliderValueMarks.tsx.html +739 -0
- package/coverage/lcov-report/src/form/SliderValueTooltip.tsx.html +319 -0
- package/coverage/lcov-report/src/form/Switch.tsx.html +598 -0
- package/coverage/lcov-report/src/form/SwitchTrack.tsx.html +232 -0
- package/coverage/lcov-report/src/form/TextArea.tsx.html +928 -0
- package/coverage/lcov-report/src/form/TextField.tsx.html +823 -0
- package/coverage/lcov-report/src/form/TextFieldAddon.tsx.html +394 -0
- package/coverage/lcov-report/src/form/TextFieldContainer.tsx.html +346 -0
- package/coverage/lcov-report/src/form/TextFieldContainerStyles.ts.html +409 -0
- package/coverage/lcov-report/src/form/fileUtils.ts.html +2155 -0
- package/coverage/lcov-report/src/form/formConfig.ts.html +157 -0
- package/coverage/lcov-report/src/form/formMessageStyles.ts.html +238 -0
- package/coverage/lcov-report/src/form/index.html +266 -0
- package/coverage/lcov-report/src/form/inputToggleStyles.ts.html +316 -0
- package/coverage/lcov-report/src/form/nativeSelectStyles.ts.html +226 -0
- package/coverage/lcov-report/src/form/optionStyles.ts.html +151 -0
- package/coverage/lcov-report/src/form/passwordStyles.ts.html +235 -0
- package/coverage/lcov-report/src/form/selectStyles.ts.html +181 -0
- package/coverage/lcov-report/src/form/selectUtils.ts.html +433 -0
- package/coverage/lcov-report/src/form/sliderUtils.ts.html +784 -0
- package/coverage/lcov-report/src/form/switchStyles.ts.html +172 -0
- package/coverage/lcov-report/src/form/textAreaStyles.ts.html +385 -0
- package/coverage/lcov-report/src/form/textFieldStyles.ts.html +184 -0
- package/coverage/lcov-report/src/form/useCheckboxGroup.ts.html +1087 -0
- package/coverage/lcov-report/src/form/useCombobox.ts.html +1054 -0
- package/coverage/lcov-report/src/form/useComboboxBoth.ts.html +85 -0
- package/coverage/lcov-report/src/form/useComboboxDialog.ts.html +85 -0
- package/coverage/lcov-report/src/form/useComboboxList.ts.html +403 -0
- package/coverage/lcov-report/src/form/useComboboxOrig.ts.html +781 -0
- package/coverage/lcov-report/src/form/useFileUpload.ts.html +1693 -0
- package/coverage/lcov-report/src/form/useListboxProvider.ts.html +217 -0
- package/coverage/lcov-report/src/form/useNumberField.ts.html +1561 -0
- package/coverage/lcov-report/src/form/useRadioGroup.ts.html +1006 -0
- package/coverage/lcov-report/src/form/useRangeSlider.ts.html +355 -0
- package/coverage/lcov-report/src/form/useResizingTextArea.tsx.html +523 -0
- package/coverage/lcov-report/src/form/useSlider.ts.html +421 -0
- package/coverage/lcov-report/src/form/useTextField.ts.html +2197 -0
- package/coverage/lcov-report/src/form/utils.ts.html +343 -0
- package/coverage/lcov-report/src/form/validation.ts.html +886 -0
- package/coverage/lcov-report/src/hoverMode/index.html +131 -0
- package/coverage/lcov-report/src/hoverMode/useHoverMode.ts.html +676 -0
- package/coverage/lcov-report/src/hoverMode/useHoverModeProvider.ts.html +1018 -0
- package/coverage/lcov-report/src/icon/FontIcon.tsx.html +265 -0
- package/coverage/lcov-report/src/icon/IconProvider.tsx.html +931 -0
- package/coverage/lcov-report/src/icon/IconRotator.tsx.html +325 -0
- package/coverage/lcov-report/src/icon/MaterialIcon.tsx.html +241 -0
- package/coverage/lcov-report/src/icon/MaterialIconsProvider.ts.html +154 -0
- package/coverage/lcov-report/src/icon/MaterialSymbol.tsx.html +403 -0
- package/coverage/lcov-report/src/icon/MaterialSymbolsProvider.tsx.html +757 -0
- package/coverage/lcov-report/src/icon/SVGIcon.tsx.html +445 -0
- package/coverage/lcov-report/src/icon/TextIconSpacing.tsx.html +679 -0
- package/coverage/lcov-report/src/icon/index.html +116 -0
- package/coverage/lcov-report/src/icon/material.ts.html +15232 -0
- package/coverage/lcov-report/src/icon/styles.ts.html +649 -0
- package/coverage/lcov-report/src/index.html +116 -0
- package/coverage/lcov-report/src/interaction/ElementInteractionProvider.tsx.html +277 -0
- package/coverage/lcov-report/src/interaction/LazyRippleContainer.tsx.html +136 -0
- package/coverage/lcov-report/src/interaction/Ripple.tsx.html +283 -0
- package/coverage/lcov-report/src/interaction/RippleContainer.tsx.html +217 -0
- package/coverage/lcov-report/src/interaction/UserInteractionModeProvider.tsx.html +679 -0
- package/coverage/lcov-report/src/interaction/config.ts.html +181 -0
- package/coverage/lcov-report/src/interaction/index.html +116 -0
- package/coverage/lcov-report/src/interaction/useElementInteraction.ts.html +1474 -0
- package/coverage/lcov-report/src/interaction/useElementInteraction.tsx.html +1513 -0
- package/coverage/lcov-report/src/interaction/useHigherContrastChildren.tsx.html +355 -0
- package/coverage/lcov-report/src/interaction/utils.ts.html +496 -0
- package/coverage/lcov-report/src/layout/DefaultLayoutNavigationItemRenderer.tsx.html +169 -0
- package/coverage/lcov-report/src/layout/DefaultLayoutNavigationMiniItemRenderer.tsx.html +160 -0
- package/coverage/lcov-report/src/layout/Layout.tsx.html +235 -0
- package/coverage/lcov-report/src/layout/LayoutAppBar.tsx.html +373 -0
- package/coverage/lcov-report/src/layout/LayoutAppBarTitle.tsx.html +193 -0
- package/coverage/lcov-report/src/layout/LayoutChildren.tsx.html +718 -0
- package/coverage/lcov-report/src/layout/LayoutCloseNavigationButton.tsx.html +265 -0
- package/coverage/lcov-report/src/layout/LayoutMain.tsx.html +580 -0
- package/coverage/lcov-report/src/layout/LayoutNav.tsx.html +688 -0
- package/coverage/lcov-report/src/layout/LayoutNavToggle.tsx.html +430 -0
- package/coverage/lcov-report/src/layout/LayoutNavigation.tsx.html +445 -0
- package/coverage/lcov-report/src/layout/LayoutNavigationHeader.tsx.html +274 -0
- package/coverage/lcov-report/src/layout/LayoutProvider.tsx.html +706 -0
- package/coverage/lcov-report/src/layout/LayoutTree.tsx.html +331 -0
- package/coverage/lcov-report/src/layout/LayoutWindowSplitter.tsx.html +472 -0
- package/coverage/lcov-report/src/layout/Main.tsx.html +367 -0
- package/coverage/lcov-report/src/layout/MiniLayoutWrapper.tsx.html +541 -0
- package/coverage/lcov-report/src/layout/NavigationLink.tsx.html +334 -0
- package/coverage/lcov-report/src/layout/NavigationRail.tsx.html +157 -0
- package/coverage/lcov-report/src/layout/TemporaryLayout.tsx.html +85 -0
- package/coverage/lcov-report/src/layout/constants.ts.html +169 -0
- package/coverage/lcov-report/src/layout/index.html +131 -0
- package/coverage/lcov-report/src/layout/layoutNavStyles.ts.html +166 -0
- package/coverage/lcov-report/src/layout/layoutWindowSplitterStyles.ts.html +220 -0
- package/coverage/lcov-report/src/layout/mainStyles.ts.html +217 -0
- package/coverage/lcov-report/src/layout/navigationLinkStyles.ts.html +250 -0
- package/coverage/lcov-report/src/layout/navigationRailStyles.ts.html +148 -0
- package/coverage/lcov-report/src/layout/useExpandableLayout.ts.html +742 -0
- package/coverage/lcov-report/src/layout/useHorizontalLayoutTransition.ts.html +349 -0
- package/coverage/lcov-report/src/layout/useLayoutAppBarHeight.ts.html +379 -0
- package/coverage/lcov-report/src/layout/useLayoutNavigation.ts.html +544 -0
- package/coverage/lcov-report/src/layout/useLayoutTree.ts.html +691 -0
- package/coverage/lcov-report/src/layout/useLayoutWindowSplitter.ts.html +496 -0
- package/coverage/lcov-report/src/layout/useMainTabIndex.ts.html +136 -0
- package/coverage/lcov-report/src/layout/useResizableLayout.ts.html +535 -0
- package/coverage/lcov-report/src/layout/useTemporaryLayout.ts.html +589 -0
- package/coverage/lcov-report/src/layout/utils.ts.html +391 -0
- package/coverage/lcov-report/src/link/Link.tsx.html +328 -0
- package/coverage/lcov-report/src/link/LinkProvider.tsx.html +238 -0
- package/coverage/lcov-report/src/link/SkipToMainContent.tsx.html +448 -0
- package/coverage/lcov-report/src/link/index.html +146 -0
- package/coverage/lcov-report/src/link/styles.ts.html +238 -0
- package/coverage/lcov-report/src/list/List.tsx.html +490 -0
- package/coverage/lcov-report/src/list/ListItem.tsx.html +871 -0
- package/coverage/lcov-report/src/list/ListItemAddon.tsx.html +280 -0
- package/coverage/lcov-report/src/list/ListItemChildren.tsx.html +439 -0
- package/coverage/lcov-report/src/list/ListItemLink.tsx.html +616 -0
- package/coverage/lcov-report/src/list/ListItemText.tsx.html +277 -0
- package/coverage/lcov-report/src/list/ListSubheader.tsx.html +319 -0
- package/coverage/lcov-report/src/list/getListItemHeight.ts.html +301 -0
- package/coverage/lcov-report/src/list/index.html +116 -0
- package/coverage/lcov-report/src/list/listItemStyles.ts.html +673 -0
- package/coverage/lcov-report/src/main-layout/DefaultLayoutNavigationItemRenderer.tsx.html +169 -0
- package/coverage/lcov-report/src/main-layout/DefaultLayoutNavigationMiniItemRenderer.tsx.html +160 -0
- package/coverage/lcov-report/src/main-layout/Main.tsx.html +298 -0
- package/coverage/lcov-report/src/main-layout/MainLayout.tsx.html +619 -0
- package/coverage/lcov-report/src/main-layout/MainLayoutAppBar.tsx.html +448 -0
- package/coverage/lcov-report/src/main-layout/MainLayoutNavigationButton.tsx.html +295 -0
- package/coverage/lcov-report/src/main-layout/MainLayoutTitle.tsx.html +184 -0
- package/coverage/lcov-report/src/main-layout/MainNavWindowSplitter.tsx.html +427 -0
- package/coverage/lcov-report/src/main-layout/MainNavigation.tsx.html +568 -0
- package/coverage/lcov-report/src/main-layout/MainNavigationTree.tsx.html +115 -0
- package/coverage/lcov-report/src/main-layout/index.html +296 -0
- package/coverage/lcov-report/src/main-layout/useLayoutNavigation.ts.html +727 -0
- package/coverage/lcov-report/src/main-layout/useMainLayout.ts.html +523 -0
- package/coverage/lcov-report/src/main-layout/useMainLayoutProvider.ts.html +484 -0
- package/coverage/lcov-report/src/main-layout-current/DefaultLayoutNavigationItemRenderer.tsx.html +169 -0
- package/coverage/lcov-report/src/main-layout-current/DefaultLayoutNavigationMiniItemRenderer.tsx.html +160 -0
- package/coverage/lcov-report/src/main-layout-current/Main.tsx.html +265 -0
- package/coverage/lcov-report/src/main-layout-current/MainLayout.tsx.html +739 -0
- package/coverage/lcov-report/src/main-layout-current/MainLayoutAppBar.tsx.html +352 -0
- package/coverage/lcov-report/src/main-layout-current/MainLayoutProvider.ts.html +991 -0
- package/coverage/lcov-report/src/main-layout-current/MainLayoutTitle.tsx.html +184 -0
- package/coverage/lcov-report/src/main-layout-current/MainNavWindowSplitter.tsx.html +520 -0
- package/coverage/lcov-report/src/main-layout-current/MainNavigation.tsx.html +586 -0
- package/coverage/lcov-report/src/main-layout-current/NavigationButton.tsx.html +283 -0
- package/coverage/lcov-report/src/main-layout-current/index.html +266 -0
- package/coverage/lcov-report/src/main-layout-current/useLayoutNavigation.ts.html +727 -0
- package/coverage/lcov-report/src/media-queries/AppSizeProvider.tsx.html +502 -0
- package/coverage/lcov-report/src/media-queries/appSize.ts.html +445 -0
- package/coverage/lcov-report/src/media-queries/index.html +131 -0
- package/coverage/lcov-report/src/media-queries/useMediaQuery.ts.html +244 -0
- package/coverage/lcov-report/src/media-queries/useMinWidthMediaQuery.ts.html +115 -0
- package/coverage/lcov-report/src/menu/DropdownMenu.tsx.html +919 -0
- package/coverage/lcov-report/src/menu/Menu.tsx.html +1837 -0
- package/coverage/lcov-report/src/menu/MenuBar.tsx.html +442 -0
- package/coverage/lcov-report/src/menu/MenuButton.tsx.html +490 -0
- package/coverage/lcov-report/src/menu/MenuConfigurationProvider.tsx.html +637 -0
- package/coverage/lcov-report/src/menu/MenuItem.tsx.html +292 -0
- package/coverage/lcov-report/src/menu/MenuItemButton.tsx.html +580 -0
- package/coverage/lcov-report/src/menu/MenuItemGroup.tsx.html +376 -0
- package/coverage/lcov-report/src/menu/MenuItemSeparator.tsx.html +256 -0
- package/coverage/lcov-report/src/menu/MenuSheet.tsx.html +475 -0
- package/coverage/lcov-report/src/menu/MenuVisibilityProvider.tsx.html +370 -0
- package/coverage/lcov-report/src/menu/MenuWidget.tsx.html +631 -0
- package/coverage/lcov-report/src/menu/MenuWidgetKeyboardProvider.tsx.html +190 -0
- package/coverage/lcov-report/src/menu/index.html +296 -0
- package/coverage/lcov-report/src/menu/useContextMenu.ts.html +490 -0
- package/coverage/lcov-report/src/menu/useMenuBarProvider.ts.html +349 -0
- package/coverage/lcov-report/src/menu/utils.ts.html +271 -0
- package/coverage/lcov-report/src/movement/constants.ts.html +193 -0
- package/coverage/lcov-report/src/movement/findMatchIndex.ts.html +385 -0
- package/coverage/lcov-report/src/movement/index.html +116 -0
- package/coverage/lcov-report/src/movement/useKeyboardMovementProvider.ts.html +1687 -0
- package/coverage/lcov-report/src/movement/utils.ts.html +871 -0
- package/coverage/lcov-report/src/overlay/Overlay.tsx.html +556 -0
- package/coverage/lcov-report/src/overlay/index.html +131 -0
- package/coverage/lcov-report/src/overlay/overlayStyles.ts.html +340 -0
- package/coverage/lcov-report/src/portal/Portal.tsx.html +223 -0
- package/coverage/lcov-report/src/portal/PortalContainerProvider.tsx.html +343 -0
- package/coverage/lcov-report/src/portal/index.html +116 -0
- package/coverage/lcov-report/src/positioning/constants.ts.html +463 -0
- package/coverage/lcov-report/src/positioning/createHorizontalPosition.ts.html +1075 -0
- package/coverage/lcov-report/src/positioning/createVerticalPosition.ts.html +997 -0
- package/coverage/lcov-report/src/positioning/getFixedPosition.ts.html +610 -0
- package/coverage/lcov-report/src/positioning/index.html +131 -0
- package/coverage/lcov-report/src/positioning/useFixedPositioning.ts.html +1339 -0
- package/coverage/lcov-report/src/positioning/utils.ts.html +1225 -0
- package/coverage/lcov-report/src/progress/CircularProgress.tsx.html +754 -0
- package/coverage/lcov-report/src/progress/LinearProgress.tsx.html +577 -0
- package/coverage/lcov-report/src/progress/getProgressA11y.ts.html +160 -0
- package/coverage/lcov-report/src/progress/index.html +131 -0
- package/coverage/lcov-report/src/responsive-item/ResponsiveItemContainer.tsx.html +628 -0
- package/coverage/lcov-report/src/responsive-item/ResponsiveItemOverlay.tsx.html +385 -0
- package/coverage/lcov-report/src/responsive-item/index.html +131 -0
- package/coverage/lcov-report/src/responsive-item/styles.ts.html +259 -0
- package/coverage/lcov-report/src/scroll/ScrollLock.tsx.html +133 -0
- package/coverage/lcov-report/src/scroll/getScrollbarWidth.ts.html +181 -0
- package/coverage/lcov-report/src/scroll/index.html +146 -0
- package/coverage/lcov-report/src/scroll/useScrollLock.ts.html +241 -0
- package/coverage/lcov-report/src/segmented-button/SegmentedButton.tsx.html +619 -0
- package/coverage/lcov-report/src/segmented-button/SegmentedButtonContainer.tsx.html +256 -0
- package/coverage/lcov-report/src/segmented-button/index.html +116 -0
- package/coverage/lcov-report/src/segmented-button/segmentedButtonContainerStyles.ts.html +151 -0
- package/coverage/lcov-report/src/segmented-button/segmentedButtonStyles.ts.html +205 -0
- package/coverage/lcov-report/src/sheet/Sheet.tsx.html +397 -0
- package/coverage/lcov-report/src/sheet/index.html +116 -0
- package/coverage/lcov-report/src/sheet/styles.ts.html +379 -0
- package/coverage/lcov-report/src/snackbar/DefaultToastRenderer.tsx.html +523 -0
- package/coverage/lcov-report/src/snackbar/Snackbar.tsx.html +778 -0
- package/coverage/lcov-report/src/snackbar/Toast.tsx.html +826 -0
- package/coverage/lcov-report/src/snackbar/ToastActionButton.tsx.html +298 -0
- package/coverage/lcov-report/src/snackbar/ToastCloseButton.tsx.html +349 -0
- package/coverage/lcov-report/src/snackbar/ToastContent.tsx.html +472 -0
- package/coverage/lcov-report/src/snackbar/ToastManagerProvider.tsx.html +2080 -0
- package/coverage/lcov-report/src/snackbar/index.html +131 -0
- package/coverage/lcov-report/src/snackbar/toastStyles.ts.html +268 -0
- package/coverage/lcov-report/src/snackbar/useCurrentToastActions.ts.html +226 -0
- package/coverage/lcov-report/src/snackbar/useDefaultToastRenderer.ts.html +85 -0
- package/coverage/lcov-report/src/snackbar/useDefaultToastRenderer.tsx.html +394 -0
- package/coverage/lcov-report/src/snackbar/useRemoveToast.ts.html +169 -0
- package/coverage/lcov-report/src/snackbar/useToast.ts.html +184 -0
- package/coverage/lcov-report/src/snackbar/useToastRenderer.ts.html +85 -0
- package/coverage/lcov-report/src/suspense/CircularProgressSuspense.tsx.html +232 -0
- package/coverage/lcov-report/src/suspense/NullSsrSuspense.tsx.html +151 -0
- package/coverage/lcov-report/src/suspense/NullSuspense.tsx.html +202 -0
- package/coverage/lcov-report/src/suspense/index.html +131 -0
- package/coverage/lcov-report/src/table/Table.tsx.html +526 -0
- package/coverage/lcov-report/src/table/TableBody.tsx.html +280 -0
- package/coverage/lcov-report/src/table/TableCell.tsx.html +1186 -0
- package/coverage/lcov-report/src/table/TableCellContent.tsx.html +382 -0
- package/coverage/lcov-report/src/table/TableCheckbox.tsx.html +709 -0
- package/coverage/lcov-report/src/table/TableConfigurationProvider.tsx.html +490 -0
- package/coverage/lcov-report/src/table/TableContainer.tsx.html +241 -0
- package/coverage/lcov-report/src/table/TableContainerProvider.tsx.html +193 -0
- package/coverage/lcov-report/src/table/TableFooter.tsx.html +517 -0
- package/coverage/lcov-report/src/table/TableHeader.tsx.html +616 -0
- package/coverage/lcov-report/src/table/TableRow.tsx.html +370 -0
- package/coverage/lcov-report/src/table/index.html +161 -0
- package/coverage/lcov-report/src/tabs/Tab.tsx.html +502 -0
- package/coverage/lcov-report/src/tabs/TabList.tsx.html +796 -0
- package/coverage/lcov-report/src/tabs/TabListScrollButton.tsx.html +490 -0
- package/coverage/lcov-report/src/tabs/index.html +116 -0
- package/coverage/lcov-report/src/tabs/tabStyles.ts.html +229 -0
- package/coverage/lcov-report/src/tabs/useTabList.ts.html +730 -0
- package/coverage/lcov-report/src/tabs/useTabs.ts.html +1567 -0
- package/coverage/lcov-report/src/tabs/useTabsOriginal.ts.html +760 -0
- package/coverage/lcov-report/src/tabs/utils.ts.html +337 -0
- package/coverage/lcov-report/src/test-utils/IntersectionObserver.ts.html +235 -0
- package/coverage/lcov-report/src/test-utils/ResizeObserver.ts.html +904 -0
- package/coverage/lcov-report/src/test-utils/drag.ts.html +337 -0
- package/coverage/lcov-report/src/test-utils/index.html +116 -0
- package/coverage/lcov-report/src/test-utils/jest-setup.ts.html +112 -0
- package/coverage/lcov-report/src/test-utils/matchMedia.ts.html +679 -0
- package/coverage/lcov-report/src/test-utils/polyfills/IntersectionObserver.ts.html +109 -0
- package/coverage/lcov-report/src/test-utils/polyfills/ResizeObserver.ts.html +100 -0
- package/coverage/lcov-report/src/test-utils/polyfills/index.html +176 -0
- package/coverage/lcov-report/src/test-utils/polyfills/matchMedia.ts.html +109 -0
- package/coverage/lcov-report/src/test-utils/polyfills/offsetParent.ts.html +202 -0
- package/coverage/lcov-report/src/test-utils/polyfills/scrollIntoView.ts.html +112 -0
- package/coverage/lcov-report/src/test-utils/render.tsx.html +220 -0
- package/coverage/lcov-report/src/test-utils/timers.ts.html +223 -0
- package/coverage/lcov-report/src/test-utils/utils.ts.html +118 -0
- package/coverage/lcov-report/src/theme/ColorSchemeProvider.tsx.html +811 -0
- package/coverage/lcov-report/src/theme/LocalStorageColorSchemeProvider.tsx.html +475 -0
- package/coverage/lcov-report/src/theme/ThemeProvider.tsx.html +1492 -0
- package/coverage/lcov-report/src/theme/colors.ts.html +910 -0
- package/coverage/lcov-report/src/theme/cssVars.ts.html +130 -0
- package/coverage/lcov-report/src/theme/index.html +191 -0
- package/coverage/lcov-report/src/theme/useCSSVariables.ts.html +622 -0
- package/coverage/lcov-report/src/theme/useColorScheme.ts.html +490 -0
- package/coverage/lcov-report/src/theme/useColorSchemeMetaTag.ts.html +244 -0
- package/coverage/lcov-report/src/theme/useColorSchemeProvider.ts.html +433 -0
- package/coverage/lcov-report/src/theme/usePrefersColorScheme.ts.html +121 -0
- package/coverage/lcov-report/src/theme/utils.ts.html +670 -0
- package/coverage/lcov-report/src/tooltip/Tooltip.tsx.html +535 -0
- package/coverage/lcov-report/src/tooltip/TooltipHoverModeProvider.tsx.html +355 -0
- package/coverage/lcov-report/src/tooltip/constants.ts.html +208 -0
- package/coverage/lcov-report/src/tooltip/index.html +161 -0
- package/coverage/lcov-report/src/tooltip/tooltipStyles.ts.html +181 -0
- package/coverage/lcov-report/src/tooltip/useOverflowTooltip.ts.html +364 -0
- package/coverage/lcov-report/src/tooltip/useTooltip.ts.html +1774 -0
- package/coverage/lcov-report/src/tooltip/useTooltipPosition.ts.html +388 -0
- package/coverage/lcov-report/src/tooltip/utils.ts.html +238 -0
- package/coverage/lcov-report/src/transition/CSSTransition.tsx.html +358 -0
- package/coverage/lcov-report/src/transition/Collapse.tsx.html +337 -0
- package/coverage/lcov-report/src/transition/CrossFade.tsx.html +436 -0
- package/coverage/lcov-report/src/transition/ScaleTransition.tsx.html +328 -0
- package/coverage/lcov-report/src/transition/SkeletonPlaceholder.tsx.html +577 -0
- package/coverage/lcov-report/src/transition/Slide.tsx.html +367 -0
- package/coverage/lcov-report/src/transition/SlideContainer.tsx.html +649 -0
- package/coverage/lcov-report/src/transition/collapseStyles.ts.html +184 -0
- package/coverage/lcov-report/src/transition/constants.ts.html +103 -0
- package/coverage/lcov-report/src/transition/index.html +116 -0
- package/coverage/lcov-report/src/transition/maxWidthTransition.ts.html +157 -0
- package/coverage/lcov-report/src/transition/useCSSTransition.ts.html +766 -0
- package/coverage/lcov-report/src/transition/useCarousel.ts.html +835 -0
- package/coverage/lcov-report/src/transition/useCollapseTransition.ts.html +1438 -0
- package/coverage/lcov-report/src/transition/useCrossFadeTransition.ts.html +469 -0
- package/coverage/lcov-report/src/transition/useMaxWidthTransition.ts.html +205 -0
- package/coverage/lcov-report/src/transition/useScaleTransition.ts.html +535 -0
- package/coverage/lcov-report/src/transition/useSkeletonPlaceholder.ts.html +913 -0
- package/coverage/lcov-report/src/transition/useSlideTransition.ts.html +424 -0
- package/coverage/lcov-report/src/transition/useTransition.ts.html +916 -0
- package/coverage/lcov-report/src/transition/utils.ts.html +529 -0
- package/coverage/lcov-report/src/tree/DefaultTreeItemRenderer.tsx.html +301 -0
- package/coverage/lcov-report/src/tree/Tree.tsx.html +1066 -0
- package/coverage/lcov-report/src/tree/TreeGroup.tsx.html +367 -0
- package/coverage/lcov-report/src/tree/TreeItem.tsx.html +1012 -0
- package/coverage/lcov-report/src/tree/TreeItemExpander.tsx.html +355 -0
- package/coverage/lcov-report/src/tree/TreeProvider.tsx.html +661 -0
- package/coverage/lcov-report/src/tree/index.html +191 -0
- package/coverage/lcov-report/src/tree/styles.ts.html +565 -0
- package/coverage/lcov-report/src/tree/useTree.ts.html +289 -0
- package/coverage/lcov-report/src/tree/useTreeExpansion.ts.html +241 -0
- package/coverage/lcov-report/src/tree/useTreeItems.ts.html +499 -0
- package/coverage/lcov-report/src/tree/useTreeMovement.ts.html +700 -0
- package/coverage/lcov-report/src/tree/useTreeSelection.ts.html +274 -0
- package/coverage/lcov-report/src/tree/utils.ts.html +277 -0
- package/coverage/lcov-report/src/typography/SrOnly.tsx.html +328 -0
- package/coverage/lcov-report/src/typography/TextContainer.tsx.html +403 -0
- package/coverage/lcov-report/src/typography/Typography.tsx.html +1027 -0
- package/coverage/lcov-report/src/typography/WritingDirection.tsx.html +775 -0
- package/coverage/lcov-report/src/typography/WritingDirectionProvider.tsx.html +781 -0
- package/coverage/lcov-report/src/typography/index.html +116 -0
- package/coverage/lcov-report/src/useAsyncAction.ts.html +685 -0
- package/coverage/lcov-report/src/useDebounced.ts.html +190 -0
- package/coverage/lcov-report/src/useDebouncedFunction.ts.html +430 -0
- package/coverage/lcov-report/src/useDropzone.ts.html +766 -0
- package/coverage/lcov-report/src/useEnsuredId.ts.html +175 -0
- package/coverage/lcov-report/src/useEnsuredRef.ts.html +250 -0
- package/coverage/lcov-report/src/useEnsuredState.ts.html +235 -0
- package/coverage/lcov-report/src/useHtmlClassName.ts.html +142 -0
- package/coverage/lcov-report/src/useIntersectionObserver.ts.html +1075 -0
- package/coverage/lcov-report/src/useIsomorphicLayoutEffect.ts.html +130 -0
- package/coverage/lcov-report/src/useLocalStorage.ts.html +1852 -0
- package/coverage/lcov-report/src/useLocalStorageEvents.ts.html +85 -0
- package/coverage/lcov-report/src/useMediaQuery.ts.html +241 -0
- package/coverage/lcov-report/src/useMinWidthMediaQuery.ts.html +115 -0
- package/coverage/lcov-report/src/useOrientation.ts.html +271 -0
- package/coverage/lcov-report/src/usePageInactive.ts.html +448 -0
- package/coverage/lcov-report/src/useResizeListener.ts.html +385 -0
- package/coverage/lcov-report/src/useResizeObserver.ts.html +901 -0
- package/coverage/lcov-report/src/useThrottledFunction.ts.html +478 -0
- package/coverage/lcov-report/src/useToggle.ts.html +253 -0
- package/coverage/lcov-report/src/useUnmounted.ts.html +217 -0
- package/coverage/lcov-report/src/useWindowSize.ts.html +430 -0
- package/coverage/lcov-report/src/utils/RecursiveRender.tsx.html +253 -0
- package/coverage/lcov-report/src/utils/RenderRecursively.tsx.html +691 -0
- package/coverage/lcov-report/src/utils/alphaNumericSort.ts.html +535 -0
- package/coverage/lcov-report/src/utils/applyRef.ts.html +214 -0
- package/coverage/lcov-report/src/utils/bem.ts.html +412 -0
- package/coverage/lcov-report/src/utils/filters.ts.html +1045 -0
- package/coverage/lcov-report/src/utils/getClientPosition.ts.html +226 -0
- package/coverage/lcov-report/src/utils/getPercentage.ts.html +253 -0
- package/coverage/lcov-report/src/utils/getRangeDefaultValue.ts.html +190 -0
- package/coverage/lcov-report/src/utils/getRangeSteps.ts.html +157 -0
- package/coverage/lcov-report/src/utils/getUseStateSetterValue.ts.html +85 -0
- package/coverage/lcov-report/src/utils/identity.ts.html +100 -0
- package/coverage/lcov-report/src/utils/index.html +161 -0
- package/coverage/lcov-report/src/utils/isElementVisible.ts.html +214 -0
- package/coverage/lcov-report/src/utils/loop.ts.html +262 -0
- package/coverage/lcov-report/src/utils/nearest.ts.html +220 -0
- package/coverage/lcov-report/src/utils/parseCssLengthUnit.ts.html +280 -0
- package/coverage/lcov-report/src/utils/randomInt.ts.html +148 -0
- package/coverage/lcov-report/src/utils/wait.ts.html +139 -0
- package/coverage/lcov-report/src/utils/withinRange.ts.html +184 -0
- package/coverage/lcov-report/src/window-splitter/WindowSplitter.tsx.html +445 -0
- package/coverage/lcov-report/src/window-splitter/index.html +131 -0
- package/coverage/lcov-report/src/window-splitter/useControlledWindowSplitter.ts.html +562 -0
- package/coverage/lcov-report/src/window-splitter/useLocalStorageWindowSplitter.ts.html +331 -0
- package/coverage/lcov-report/src/window-splitter/useWindowSplitter.ts.html +556 -0
- package/coverage/lcov-report/src/window-splitter/useWindowSplitterDefault.ts.html +466 -0
- package/coverage/lcov-report/styles.ts.html +643 -0
- package/coverage/lcov-report/tabIndicatorStyles.ts.html +157 -0
- package/coverage/lcov-report/tabListScrollButtonStyles.ts.html +226 -0
- package/coverage/lcov-report/tabListStyles.ts.html +232 -0
- package/coverage/lcov-report/tabStyles.ts.html +223 -0
- package/coverage/lcov-report/table/TableCell.tsx.html +1189 -0
- package/coverage/lcov-report/table/TableCheckbox.tsx.html +712 -0
- package/coverage/lcov-report/table/TableFooter.tsx.html +508 -0
- package/coverage/lcov-report/table/TableHeader.tsx.html +607 -0
- package/coverage/lcov-report/table/index.html +161 -0
- package/coverage/lcov-report/tabs/TabListScrollButton.tsx.html +472 -0
- package/coverage/lcov-report/tabs/index.html +116 -0
- package/coverage/lcov-report/test-utils/index.html +116 -0
- package/coverage/lcov-report/test-utils/matchMedia.ts.html +664 -0
- package/coverage/lcov-report/test-utils/polyfills/index.html +116 -0
- package/coverage/lcov-report/test-utils/polyfills/matchMedia.ts.html +109 -0
- package/coverage/lcov-report/test-utils/polyfills/offsetParent.ts.html +202 -0
- package/coverage/lcov-report/theme/ColorSchemeProvider.tsx.html +811 -0
- package/coverage/lcov-report/theme/LocalStorageColorSchemeProvider.tsx.html +268 -0
- package/coverage/lcov-report/theme/ThemeProvider.tsx.html +1453 -0
- package/coverage/lcov-report/theme/cssVars.ts.html +130 -0
- package/coverage/lcov-report/theme/index.html +191 -0
- package/coverage/lcov-report/theme/useColorScheme.ts.html +475 -0
- package/coverage/lcov-report/theme/useColorSchemeMetaTag.ts.html +175 -0
- package/coverage/lcov-report/theme/useColorSchemeProvider.ts.html +244 -0
- package/coverage/lcov-report/theme/usePrefersColorScheme.ts.html +103 -0
- package/coverage/lcov-report/tooltip/Tooltip.tsx.html +535 -0
- package/coverage/lcov-report/tooltip/TooltipHoverModeProvider.tsx.html +253 -0
- package/coverage/lcov-report/tooltip/constants.ts.html +208 -0
- package/coverage/lcov-report/tooltip/index.html +161 -0
- package/coverage/lcov-report/tooltip/useOverflowTooltip.ts.html +364 -0
- package/coverage/lcov-report/tooltip/useTooltip.ts.html +1774 -0
- package/coverage/lcov-report/transition/index.html +131 -0
- package/coverage/lcov-report/transition/maxWidthTransition.ts.html +157 -0
- package/coverage/lcov-report/transition/useMaxWidthTransition.ts.html +199 -0
- package/coverage/lcov-report/tree/DefaultTreeItemRenderer.tsx.html +301 -0
- package/coverage/lcov-report/tree/Tree.tsx.html +1066 -0
- package/coverage/lcov-report/tree/TreeGroup.tsx.html +370 -0
- package/coverage/lcov-report/tree/TreeItem.tsx.html +1012 -0
- package/coverage/lcov-report/tree/TreeItemExpander.tsx.html +328 -0
- package/coverage/lcov-report/tree/TreeProvider.tsx.html +634 -0
- package/coverage/lcov-report/tree/index.html +191 -0
- package/coverage/lcov-report/tree/useTree.ts.html +289 -0
- package/coverage/lcov-report/tree/useTreeExpansion.ts.html +241 -0
- package/coverage/lcov-report/tree/useTreeItems.ts.html +496 -0
- package/coverage/lcov-report/tree/useTreeMovement.ts.html +703 -0
- package/coverage/lcov-report/tree/useTreeSelection.ts.html +274 -0
- package/coverage/lcov-report/tree/utils.ts.html +277 -0
- package/coverage/lcov-report/typography/SrOnly.tsx.html +352 -0
- package/coverage/lcov-report/typography/TextContainer.tsx.html +433 -0
- package/coverage/lcov-report/typography/Typography.tsx.html +1321 -0
- package/coverage/lcov-report/typography/WritingDirection.tsx.html +775 -0
- package/coverage/lcov-report/typography/index.html +116 -0
- package/coverage/lcov-report/useCSSTransition.ts.html +763 -0
- package/coverage/lcov-report/useCollapseTransition.ts.html +1429 -0
- package/coverage/lcov-report/useDraggable.ts.html +2458 -0
- package/coverage/lcov-report/useDropzone.ts.html +763 -0
- package/coverage/lcov-report/useEnsuredRef.ts.html +250 -0
- package/coverage/lcov-report/useExpandableLayout.ts.html +736 -0
- package/coverage/lcov-report/useExpansionPanels.ts.html +913 -0
- package/coverage/lcov-report/useHigherContrastChildren.tsx.html +355 -0
- package/coverage/lcov-report/useLayoutTree.ts.html +691 -0
- package/coverage/lcov-report/useLocalStorage.ts.html +1828 -0
- package/coverage/lcov-report/useMinWidthMediaQuery.ts.html +115 -0
- package/coverage/lcov-report/useRemoveToast.ts.html +160 -0
- package/coverage/lcov-report/useResizeObserver.ts.html +874 -0
- package/coverage/lcov-report/useResizingTextArea.ts.html +523 -0
- package/coverage/lcov-report/useTabList.ts.html +730 -0
- package/coverage/lcov-report/useTabs.ts.html +757 -0
- package/coverage/lcov-report/useThrottledFunction.ts.html +475 -0
- package/coverage/lcov-report/useTooltip.ts.html +1765 -0
- package/coverage/lcov-report/useTree.ts.html +286 -0
- package/coverage/lcov-report/utils/RecursiveRender.tsx.html +253 -0
- package/coverage/lcov-report/utils/RenderRecursively.tsx.html +688 -0
- package/coverage/lcov-report/utils/alphaNumericSort.ts.html +535 -0
- package/coverage/lcov-report/utils/caseInsensitiveFilter.ts.html +397 -0
- package/coverage/lcov-report/utils/filters.ts.html +463 -0
- package/coverage/lcov-report/utils/fuzzyFilter.ts.html +241 -0
- package/coverage/lcov-report/utils/index.html +146 -0
- package/coverage/lcov-report/utils/isElementVisible.ts.html +214 -0
- package/coverage/lcov-report/utils/parseCssLengthUnit.ts.html +280 -0
- package/coverage/lcov-report/utils/wait.ts.html +139 -0
- package/coverage/lcov-report/utils.ts.html +550 -0
- package/coverage/lcov-report/wait.ts.html +139 -0
- package/coverage/lcov-report/window-splitter/WindowSplitter.tsx.html +448 -0
- package/coverage/lcov-report/window-splitter/index.html +131 -0
- package/coverage/lcov-report/window-splitter/useControlledWindowSplitter.ts.html +562 -0
- package/coverage/lcov-report/window-splitter/useLocalStorageWindowSplitter.ts.html +331 -0
- package/coverage/lcov-report/window-splitter/useWindowSplitter.ts.html +562 -0
- package/coverage/lcov-report/window-splitter/useWindowSplitterDefault.ts.html +466 -0
- package/coverage/lcov-report/window-splitter/useWindowSplitterOrig.ts.html +598 -0
- package/coverage/lcov.info +1176 -0
- package/dist/CoreProviders.d.ts +62 -0
- package/dist/CoreProviders.js +55 -0
- package/dist/CoreProviders.js.map +1 -0
- package/dist/NoSsr.d.ts +42 -0
- package/dist/NoSsr.js +52 -0
- package/dist/NoSsr.js.map +1 -0
- package/dist/SsrProvider.d.ts +18 -0
- package/dist/SsrProvider.js +28 -0
- package/dist/SsrProvider.js.map +1 -0
- package/dist/_box-shadows.scss +206 -0
- package/dist/_colors.scss +1057 -0
- package/dist/_core.scss +465 -0
- package/dist/_utils.scss +259 -0
- package/dist/app-bar/AppBar.d.ts +144 -0
- package/dist/app-bar/AppBar.js +74 -0
- package/dist/app-bar/AppBar.js.map +1 -0
- package/dist/app-bar/AppBarTitle.d.ts +69 -0
- package/dist/app-bar/AppBarTitle.js +59 -0
- package/dist/app-bar/AppBarTitle.js.map +1 -0
- package/dist/app-bar/_app-bar.scss +256 -0
- package/dist/avatar/Avatar.d.ts +88 -0
- package/dist/avatar/Avatar.js +52 -0
- package/dist/avatar/Avatar.js.map +1 -0
- package/dist/avatar/_avatar.scss +161 -0
- package/dist/avatar/styles.d.ts +20 -0
- package/dist/avatar/styles.js +20 -0
- package/dist/avatar/styles.js.map +1 -0
- package/dist/badge/Badge.d.ts +68 -0
- package/dist/badge/Badge.js +70 -0
- package/dist/badge/Badge.js.map +1 -0
- package/dist/badge/_badge.scss +107 -0
- package/dist/box/Box.d.ts +111 -0
- package/dist/box/Box.js +128 -0
- package/dist/box/Box.js.map +1 -0
- package/dist/box/_box.scss +177 -0
- package/dist/box/styles.d.ts +108 -0
- package/dist/box/styles.js +33 -0
- package/dist/box/styles.js.map +1 -0
- package/dist/button/AsyncButton.d.ts +129 -0
- package/dist/button/AsyncButton.js +144 -0
- package/dist/button/AsyncButton.js.map +1 -0
- package/dist/button/Button.d.ts +106 -0
- package/dist/button/Button.js +142 -0
- package/dist/button/Button.js.map +1 -0
- package/dist/button/ButtonUnstyled.d.ts +21 -0
- package/dist/button/ButtonUnstyled.js +27 -0
- package/dist/button/ButtonUnstyled.js.map +1 -0
- package/dist/button/FloatingActionButton.d.ts +40 -0
- package/dist/button/FloatingActionButton.js +43 -0
- package/dist/button/FloatingActionButton.js.map +1 -0
- package/dist/button/_button.scss +340 -0
- package/dist/button/buttonStyles.d.ts +94 -0
- package/dist/button/buttonStyles.js +56 -0
- package/dist/button/buttonStyles.js.map +1 -0
- package/dist/button/buttonUnstyledStyles.d.ts +10 -0
- package/dist/button/buttonUnstyledStyles.js +11 -0
- package/dist/button/buttonUnstyledStyles.js.map +1 -0
- package/dist/card/Card.d.ts +56 -0
- package/dist/card/Card.js +59 -0
- package/dist/card/Card.js.map +1 -0
- package/dist/card/CardContent.d.ts +17 -0
- package/dist/card/CardContent.js +25 -0
- package/dist/card/CardContent.js.map +1 -0
- package/dist/card/CardFooter.d.ts +19 -0
- package/dist/card/CardFooter.js +25 -0
- package/dist/card/CardFooter.js.map +1 -0
- package/dist/card/CardHeader.d.ts +41 -0
- package/dist/card/CardHeader.js +40 -0
- package/dist/card/CardHeader.js.map +1 -0
- package/dist/card/CardSubtitle.d.ts +21 -0
- package/dist/card/CardSubtitle.js +25 -0
- package/dist/card/CardSubtitle.js.map +1 -0
- package/dist/card/CardTitle.d.ts +21 -0
- package/dist/card/CardTitle.js +25 -0
- package/dist/card/CardTitle.js.map +1 -0
- package/dist/card/_card.scss +190 -0
- package/dist/card/styles.d.ts +101 -0
- package/dist/card/styles.js +62 -0
- package/dist/card/styles.js.map +1 -0
- package/dist/chip/Chip.d.ts +178 -0
- package/dist/chip/Chip.js +141 -0
- package/dist/chip/Chip.js.map +1 -0
- package/dist/chip/_chip.scss +351 -0
- package/dist/chip/styles.d.ts +67 -0
- package/dist/chip/styles.js +32 -0
- package/dist/chip/styles.js.map +1 -0
- package/dist/cssUtils.d.ts +139 -0
- package/dist/cssUtils.js +19 -0
- package/dist/cssUtils.js.map +1 -0
- package/dist/delegateEvent.d.ts +54 -0
- package/dist/delegateEvent.js +105 -0
- package/dist/delegateEvent.js.map +1 -0
- package/dist/dialog/Dialog.d.ts +196 -0
- package/dist/dialog/Dialog.js +175 -0
- package/dist/dialog/Dialog.js.map +1 -0
- package/dist/dialog/DialogContainer.d.ts +16 -0
- package/dist/dialog/DialogContainer.js +22 -0
- package/dist/dialog/DialogContainer.js.map +1 -0
- package/dist/dialog/DialogContent.d.ts +10 -0
- package/dist/dialog/DialogContent.js +20 -0
- package/dist/dialog/DialogContent.js.map +1 -0
- package/dist/dialog/DialogFooter.d.ts +10 -0
- package/dist/dialog/DialogFooter.js +20 -0
- package/dist/dialog/DialogFooter.js.map +1 -0
- package/dist/dialog/DialogHeader.d.ts +8 -0
- package/dist/dialog/DialogHeader.js +20 -0
- package/dist/dialog/DialogHeader.js.map +1 -0
- package/dist/dialog/DialogTitle.d.ts +21 -0
- package/dist/dialog/DialogTitle.js +22 -0
- package/dist/dialog/DialogTitle.js.map +1 -0
- package/dist/dialog/FixedDialog.d.ts +74 -0
- package/dist/dialog/FixedDialog.js +111 -0
- package/dist/dialog/FixedDialog.js.map +1 -0
- package/dist/dialog/NestedDialogProvider.d.ts +4 -0
- package/dist/dialog/NestedDialogProvider.js +12 -0
- package/dist/dialog/NestedDialogProvider.js.map +1 -0
- package/dist/dialog/_dialog.scss +256 -0
- package/dist/dialog/styles.d.ts +49 -0
- package/dist/dialog/styles.js +34 -0
- package/dist/dialog/styles.js.map +1 -0
- package/dist/divider/Divider.d.ts +35 -0
- package/dist/divider/Divider.js +32 -0
- package/dist/divider/Divider.js.map +1 -0
- package/dist/divider/VerticalDivider.d.ts +32 -0
- package/dist/divider/VerticalDivider.js +40 -0
- package/dist/divider/VerticalDivider.js.map +1 -0
- package/dist/divider/_divider.scss +133 -0
- package/dist/divider/styles.d.ts +31 -0
- package/dist/divider/styles.js +14 -0
- package/dist/divider/styles.js.map +1 -0
- package/dist/divider/useVerticalDividerHeight.d.ts +37 -0
- package/dist/divider/useVerticalDividerHeight.js +40 -0
- package/dist/divider/useVerticalDividerHeight.js.map +1 -0
- package/dist/draggable/_draggable.scss +25 -0
- package/dist/draggable/useDraggable.d.ts +273 -0
- package/dist/draggable/useDraggable.js +425 -0
- package/dist/draggable/useDraggable.js.map +1 -0
- package/dist/draggable/utils.d.ts +88 -0
- package/dist/draggable/utils.js +146 -0
- package/dist/draggable/utils.js.map +1 -0
- package/dist/expansion-panel/ExpansionList.d.ts +19 -0
- package/dist/expansion-panel/ExpansionList.js +34 -0
- package/dist/expansion-panel/ExpansionList.js.map +1 -0
- package/dist/expansion-panel/ExpansionPanel.d.ts +164 -0
- package/dist/expansion-panel/ExpansionPanel.js +80 -0
- package/dist/expansion-panel/ExpansionPanel.js.map +1 -0
- package/dist/expansion-panel/ExpansionPanelHeader.d.ts +115 -0
- package/dist/expansion-panel/ExpansionPanelHeader.js +90 -0
- package/dist/expansion-panel/ExpansionPanelHeader.js.map +1 -0
- package/dist/expansion-panel/_expansion-panel.scss +81 -0
- package/dist/expansion-panel/useExpansionList.d.ts +52 -0
- package/dist/expansion-panel/useExpansionList.js +58 -0
- package/dist/expansion-panel/useExpansionList.js.map +1 -0
- package/dist/expansion-panel/useExpansionPanels.d.ts +178 -0
- package/dist/expansion-panel/useExpansionPanels.js +135 -0
- package/dist/expansion-panel/useExpansionPanels.js.map +1 -0
- package/dist/focus/useFocusContainer.d.ts +118 -0
- package/dist/focus/useFocusContainer.js +127 -0
- package/dist/focus/useFocusContainer.js.map +1 -0
- package/dist/focus/utils.d.ts +80 -0
- package/dist/focus/utils.js +99 -0
- package/dist/focus/utils.js.map +1 -0
- package/dist/form/Checkbox.d.ts +20 -0
- package/dist/form/Checkbox.js +28 -0
- package/dist/form/Checkbox.js.map +1 -0
- package/dist/form/Fieldset.d.ts +48 -0
- package/dist/form/Fieldset.js +46 -0
- package/dist/form/Fieldset.js.map +1 -0
- package/dist/form/FileInput.d.ts +105 -0
- package/dist/form/FileInput.js +115 -0
- package/dist/form/FileInput.js.map +1 -0
- package/dist/form/Form.d.ts +19 -0
- package/dist/form/Form.js +27 -0
- package/dist/form/Form.js.map +1 -0
- package/dist/form/FormMessage.d.ts +14 -0
- package/dist/form/FormMessage.js +55 -0
- package/dist/form/FormMessage.js.map +1 -0
- package/dist/form/FormMessageContainer.d.ts +22 -0
- package/dist/form/FormMessageContainer.js +31 -0
- package/dist/form/FormMessageContainer.js.map +1 -0
- package/dist/form/FormMessageCounter.d.ts +45 -0
- package/dist/form/FormMessageCounter.js +43 -0
- package/dist/form/FormMessageCounter.js.map +1 -0
- package/dist/form/InputToggle.d.ts +184 -0
- package/dist/form/InputToggle.js +82 -0
- package/dist/form/InputToggle.js.map +1 -0
- package/dist/form/InputToggleIcon.d.ts +52 -0
- package/dist/form/InputToggleIcon.js +54 -0
- package/dist/form/InputToggleIcon.js.map +1 -0
- package/dist/form/Label.d.ts +27 -0
- package/dist/form/Label.js +67 -0
- package/dist/form/Label.js.map +1 -0
- package/dist/form/Legend.d.ts +19 -0
- package/dist/form/Legend.js +25 -0
- package/dist/form/Legend.js.map +1 -0
- package/dist/form/MenuItemCheckbox.d.ts +34 -0
- package/dist/form/MenuItemCheckbox.js +43 -0
- package/dist/form/MenuItemCheckbox.js.map +1 -0
- package/dist/form/MenuItemFileInput.d.ts +48 -0
- package/dist/form/MenuItemFileInput.js +50 -0
- package/dist/form/MenuItemFileInput.js.map +1 -0
- package/dist/form/MenuItemInputToggle.d.ts +104 -0
- package/dist/form/MenuItemInputToggle.js +124 -0
- package/dist/form/MenuItemInputToggle.js.map +1 -0
- package/dist/form/MenuItemRadio.d.ts +105 -0
- package/dist/form/MenuItemRadio.js +115 -0
- package/dist/form/MenuItemRadio.js.map +1 -0
- package/dist/form/MenuItemSwitch.d.ts +33 -0
- package/dist/form/MenuItemSwitch.js +42 -0
- package/dist/form/MenuItemSwitch.js.map +1 -0
- package/dist/form/MenuItemTextField.d.ts +25 -0
- package/dist/form/MenuItemTextField.js +48 -0
- package/dist/form/MenuItemTextField.js.map +1 -0
- package/dist/form/NativeSelect.d.ts +86 -0
- package/dist/form/NativeSelect.js +128 -0
- package/dist/form/NativeSelect.js.map +1 -0
- package/dist/form/OptGroup.d.ts +59 -0
- package/dist/form/OptGroup.js +58 -0
- package/dist/form/OptGroup.js.map +1 -0
- package/dist/form/Option.d.ts +73 -0
- package/dist/form/Option.js +113 -0
- package/dist/form/Option.js.map +1 -0
- package/dist/form/Password.d.ts +120 -0
- package/dist/form/Password.js +74 -0
- package/dist/form/Password.js.map +1 -0
- package/dist/form/Radio.d.ts +23 -0
- package/dist/form/Radio.js +32 -0
- package/dist/form/Radio.js.map +1 -0
- package/dist/form/Select.d.ts +122 -0
- package/dist/form/Select.js +299 -0
- package/dist/form/Select.js.map +1 -0
- package/dist/form/SelectValue.d.ts +17 -0
- package/dist/form/SelectValue.js +32 -0
- package/dist/form/SelectValue.js.map +1 -0
- package/dist/form/Slider.d.ts +249 -0
- package/dist/form/Slider.js +243 -0
- package/dist/form/Slider.js.map +1 -0
- package/dist/form/SliderContainer.d.ts +48 -0
- package/dist/form/SliderContainer.js +40 -0
- package/dist/form/SliderContainer.js.map +1 -0
- package/dist/form/SliderMark.d.ts +17 -0
- package/dist/form/SliderMark.js +27 -0
- package/dist/form/SliderMark.js.map +1 -0
- package/dist/form/SliderMarkLabel.d.ts +26 -0
- package/dist/form/SliderMarkLabel.js +29 -0
- package/dist/form/SliderMarkLabel.js.map +1 -0
- package/dist/form/SliderThumb.d.ts +83 -0
- package/dist/form/SliderThumb.js +172 -0
- package/dist/form/SliderThumb.js.map +1 -0
- package/dist/form/SliderTrack.d.ts +21 -0
- package/dist/form/SliderTrack.js +66 -0
- package/dist/form/SliderTrack.js.map +1 -0
- package/dist/form/SliderValueMarks.d.ts +116 -0
- package/dist/form/SliderValueMarks.js +85 -0
- package/dist/form/SliderValueMarks.js.map +1 -0
- package/dist/form/SliderValueTooltip.d.ts +26 -0
- package/dist/form/SliderValueTooltip.js +45 -0
- package/dist/form/SliderValueTooltip.js.map +1 -0
- package/dist/form/Switch.d.ts +46 -0
- package/dist/form/Switch.js +105 -0
- package/dist/form/Switch.js.map +1 -0
- package/dist/form/SwitchTrack.d.ts +13 -0
- package/dist/form/SwitchTrack.js +30 -0
- package/dist/form/SwitchTrack.js.map +1 -0
- package/dist/form/TextArea.d.ts +74 -0
- package/dist/form/TextArea.js +154 -0
- package/dist/form/TextArea.js.map +1 -0
- package/dist/form/TextField.d.ts +96 -0
- package/dist/form/TextField.js +108 -0
- package/dist/form/TextField.js.map +1 -0
- package/dist/form/TextFieldAddon.d.ts +42 -0
- package/dist/form/TextFieldAddon.js +43 -0
- package/dist/form/TextFieldAddon.js.map +1 -0
- package/dist/form/TextFieldContainer.d.ts +21 -0
- package/dist/form/TextFieldContainer.js +54 -0
- package/dist/form/TextFieldContainer.js.map +1 -0
- package/dist/form/TextFieldContainerStyles.d.ts +34 -0
- package/dist/form/TextFieldContainerStyles.js +49 -0
- package/dist/form/TextFieldContainerStyles.js.map +1 -0
- package/dist/form/_form.scss +2066 -0
- package/dist/form/fileUtils.d.ts +455 -0
- package/dist/form/fileUtils.js +351 -0
- package/dist/form/fileUtils.js.map +1 -0
- package/dist/form/formConfig.d.ts +9 -0
- package/dist/form/formConfig.js +17 -0
- package/dist/form/formConfig.js.map +1 -0
- package/dist/form/formMessageStyles.d.ts +21 -0
- package/dist/form/formMessageStyles.js +28 -0
- package/dist/form/formMessageStyles.js.map +1 -0
- package/dist/form/inputToggleStyles.d.ts +36 -0
- package/dist/form/inputToggleStyles.js +23 -0
- package/dist/form/inputToggleStyles.js.map +1 -0
- package/dist/form/nativeSelectStyles.d.ts +26 -0
- package/dist/form/nativeSelectStyles.js +23 -0
- package/dist/form/nativeSelectStyles.js.map +1 -0
- package/dist/form/optionStyles.d.ts +12 -0
- package/dist/form/optionStyles.js +14 -0
- package/dist/form/optionStyles.js.map +1 -0
- package/dist/form/passwordStyles.d.ts +24 -0
- package/dist/form/passwordStyles.js +19 -0
- package/dist/form/passwordStyles.js.map +1 -0
- package/dist/form/selectStyles.d.ts +15 -0
- package/dist/form/selectStyles.js +15 -0
- package/dist/form/selectStyles.js.map +1 -0
- package/dist/form/selectUtils.d.ts +25 -0
- package/dist/form/selectUtils.js +71 -0
- package/dist/form/selectUtils.js.map +1 -0
- package/dist/form/sliderUtils.d.ts +74 -0
- package/dist/form/sliderUtils.js +124 -0
- package/dist/form/sliderUtils.js.map +1 -0
- package/dist/form/switchStyles.d.ts +17 -0
- package/dist/form/switchStyles.js +13 -0
- package/dist/form/switchStyles.js.map +1 -0
- package/dist/form/textAreaStyles.d.ts +50 -0
- package/dist/form/textAreaStyles.js +32 -0
- package/dist/form/textAreaStyles.js.map +1 -0
- package/dist/form/textFieldStyles.d.ts +17 -0
- package/dist/form/textFieldStyles.js +13 -0
- package/dist/form/textFieldStyles.js.map +1 -0
- package/dist/form/types.d.ts +447 -0
- package/dist/form/types.js +3 -0
- package/dist/form/types.js.map +1 -0
- package/dist/form/useCheckboxGroup.d.ts +239 -0
- package/dist/form/useCheckboxGroup.js +62 -0
- package/dist/form/useCheckboxGroup.js.map +1 -0
- package/dist/form/useFileUpload.d.ts +149 -0
- package/dist/form/useFileUpload.js +327 -0
- package/dist/form/useFileUpload.js.map +1 -0
- package/dist/form/useListboxProvider.d.ts +29 -0
- package/dist/form/useListboxProvider.js +23 -0
- package/dist/form/useListboxProvider.js.map +1 -0
- package/dist/form/useNumberField.d.ts +292 -0
- package/dist/form/useNumberField.js +123 -0
- package/dist/form/useNumberField.js.map +1 -0
- package/dist/form/useRadioGroup.d.ts +192 -0
- package/dist/form/useRadioGroup.js +78 -0
- package/dist/form/useRadioGroup.js.map +1 -0
- package/dist/form/useRangeSlider.d.ts +67 -0
- package/dist/form/useRangeSlider.js +57 -0
- package/dist/form/useRangeSlider.js.map +1 -0
- package/dist/form/useResizingTextArea.d.ts +35 -0
- package/dist/form/useResizingTextArea.js +87 -0
- package/dist/form/useResizingTextArea.js.map +1 -0
- package/dist/form/useSlider.d.ts +83 -0
- package/dist/form/useSlider.js +55 -0
- package/dist/form/useSlider.js.map +1 -0
- package/dist/form/useTextField.d.ts +389 -0
- package/dist/form/useTextField.js +185 -0
- package/dist/form/useTextField.js.map +1 -0
- package/dist/form/utils.d.ts +38 -0
- package/dist/form/utils.js +63 -0
- package/dist/form/utils.js.map +1 -0
- package/dist/form/validation.d.ts +152 -0
- package/dist/form/validation.js +93 -0
- package/dist/form/validation.js.map +1 -0
- package/dist/hoverMode/useHoverMode.d.ts +62 -0
- package/dist/hoverMode/useHoverMode.js +95 -0
- package/dist/hoverMode/useHoverMode.js.map +1 -0
- package/dist/hoverMode/useHoverModeProvider.d.ts +194 -0
- package/dist/hoverMode/useHoverModeProvider.js +156 -0
- package/dist/hoverMode/useHoverModeProvider.js.map +1 -0
- package/dist/icon/FontIcon.d.ts +23 -0
- package/dist/icon/FontIcon.js +35 -0
- package/dist/icon/FontIcon.js.map +1 -0
- package/dist/icon/IconRotator.d.ts +35 -0
- package/dist/icon/IconRotator.js +32 -0
- package/dist/icon/IconRotator.js.map +1 -0
- package/dist/icon/MaterialIcon.d.ts +16 -0
- package/dist/icon/MaterialIcon.js +29 -0
- package/dist/icon/MaterialIcon.js.map +1 -0
- package/dist/icon/MaterialIconsProvider.d.ts +12 -0
- package/dist/icon/MaterialIconsProvider.js +17 -0
- package/dist/icon/MaterialIconsProvider.js.map +1 -0
- package/dist/icon/MaterialSymbol.d.ts +49 -0
- package/dist/icon/MaterialSymbol.js +60 -0
- package/dist/icon/MaterialSymbol.js.map +1 -0
- package/dist/icon/MaterialSymbolsProvider.d.ts +145 -0
- package/dist/icon/MaterialSymbolsProvider.js +60 -0
- package/dist/icon/MaterialSymbolsProvider.js.map +1 -0
- package/dist/icon/SVGIcon.d.ts +71 -0
- package/dist/icon/SVGIcon.js +35 -0
- package/dist/icon/SVGIcon.js.map +1 -0
- package/dist/icon/TextIconSpacing.d.ts +123 -0
- package/dist/icon/TextIconSpacing.js +80 -0
- package/dist/icon/TextIconSpacing.js.map +1 -0
- package/dist/icon/_icon.scss +220 -0
- package/dist/icon/iconConfig.d.ts +238 -0
- package/dist/icon/iconConfig.js +175 -0
- package/dist/icon/iconConfig.js.map +1 -0
- package/dist/icon/material.d.ts +8 -0
- package/dist/icon/material.js +4 -0
- package/dist/icon/material.js.map +1 -0
- package/dist/icon/styles.d.ts +117 -0
- package/dist/icon/styles.js +38 -0
- package/dist/icon/styles.js.map +1 -0
- package/dist/index.d.ts +321 -0
- package/dist/index.js +322 -0
- package/dist/index.js.map +1 -0
- package/dist/interaction/Ripple.d.ts +22 -0
- package/dist/interaction/Ripple.js +46 -0
- package/dist/interaction/Ripple.js.map +1 -0
- package/dist/interaction/RippleContainer.d.ts +22 -0
- package/dist/interaction/RippleContainer.js +24 -0
- package/dist/interaction/RippleContainer.js.map +1 -0
- package/dist/interaction/UserInteractionModeProvider.d.ts +52 -0
- package/dist/interaction/UserInteractionModeProvider.js +154 -0
- package/dist/interaction/UserInteractionModeProvider.js.map +1 -0
- package/dist/interaction/_interaction.scss +427 -0
- package/dist/interaction/config.d.ts +12 -0
- package/dist/interaction/config.js +21 -0
- package/dist/interaction/config.js.map +1 -0
- package/dist/interaction/types.d.ts +153 -0
- package/dist/interaction/types.js +6 -0
- package/dist/interaction/types.js.map +1 -0
- package/dist/interaction/useElementInteraction.d.ts +119 -0
- package/dist/interaction/useElementInteraction.js +368 -0
- package/dist/interaction/useElementInteraction.js.map +1 -0
- package/dist/interaction/useHigherContrastChildren.d.ts +70 -0
- package/dist/interaction/useHigherContrastChildren.js +88 -0
- package/dist/interaction/useHigherContrastChildren.js.map +1 -0
- package/dist/interaction/utils.d.ts +16 -0
- package/dist/interaction/utils.js +90 -0
- package/dist/interaction/utils.js.map +1 -0
- package/dist/layout/LayoutAppBar.d.ts +54 -0
- package/dist/layout/LayoutAppBar.js +64 -0
- package/dist/layout/LayoutAppBar.js.map +1 -0
- package/dist/layout/LayoutNav.d.ts +117 -0
- package/dist/layout/LayoutNav.js +128 -0
- package/dist/layout/LayoutNav.js.map +1 -0
- package/dist/layout/LayoutWindowSplitter.d.ts +77 -0
- package/dist/layout/LayoutWindowSplitter.js +90 -0
- package/dist/layout/LayoutWindowSplitter.js.map +1 -0
- package/dist/layout/Main.d.ts +51 -0
- package/dist/layout/Main.js +54 -0
- package/dist/layout/Main.js.map +1 -0
- package/dist/layout/_layout.scss +156 -0
- package/dist/layout/layoutNavStyles.d.ts +16 -0
- package/dist/layout/layoutNavStyles.js +13 -0
- package/dist/layout/layoutNavStyles.js.map +1 -0
- package/dist/layout/layoutWindowSplitterStyles.d.ts +25 -0
- package/dist/layout/layoutWindowSplitterStyles.js +14 -0
- package/dist/layout/layoutWindowSplitterStyles.js.map +1 -0
- package/dist/layout/mainStyles.d.ts +26 -0
- package/dist/layout/mainStyles.js +13 -0
- package/dist/layout/mainStyles.js.map +1 -0
- package/dist/layout/useExpandableLayout.d.ts +124 -0
- package/dist/layout/useExpandableLayout.js +115 -0
- package/dist/layout/useExpandableLayout.js.map +1 -0
- package/dist/layout/useHorizontalLayoutTransition.d.ts +66 -0
- package/dist/layout/useHorizontalLayoutTransition.js +61 -0
- package/dist/layout/useHorizontalLayoutTransition.js.map +1 -0
- package/dist/layout/useLayoutAppBarHeight.d.ts +68 -0
- package/dist/layout/useLayoutAppBarHeight.js +82 -0
- package/dist/layout/useLayoutAppBarHeight.js.map +1 -0
- package/dist/layout/useLayoutTree.d.ts +139 -0
- package/dist/layout/useLayoutTree.js +122 -0
- package/dist/layout/useLayoutTree.js.map +1 -0
- package/dist/layout/useLayoutWindowSplitter.d.ts +92 -0
- package/dist/layout/useLayoutWindowSplitter.js +68 -0
- package/dist/layout/useLayoutWindowSplitter.js.map +1 -0
- package/dist/layout/useMainTabIndex.d.ts +7 -0
- package/dist/layout/useMainTabIndex.js +16 -0
- package/dist/layout/useMainTabIndex.js.map +1 -0
- package/dist/layout/useResizableLayout.d.ts +94 -0
- package/dist/layout/useResizableLayout.js +97 -0
- package/dist/layout/useResizableLayout.js.map +1 -0
- package/dist/layout/useTemporaryLayout.d.ts +99 -0
- package/dist/layout/useTemporaryLayout.js +96 -0
- package/dist/layout/useTemporaryLayout.js.map +1 -0
- package/dist/link/Link.d.ts +65 -0
- package/dist/link/Link.js +46 -0
- package/dist/link/Link.js.map +1 -0
- package/dist/link/LinkProvider.d.ts +29 -0
- package/dist/link/LinkProvider.js +26 -0
- package/dist/link/LinkProvider.js.map +1 -0
- package/dist/link/SkipToMainContent.d.ts +32 -0
- package/dist/link/SkipToMainContent.js +69 -0
- package/dist/link/SkipToMainContent.js.map +1 -0
- package/dist/link/_link.scss +141 -0
- package/dist/link/styles.d.ts +25 -0
- package/dist/link/styles.js +25 -0
- package/dist/link/styles.js.map +1 -0
- package/dist/list/List.d.ts +89 -0
- package/dist/list/List.js +72 -0
- package/dist/list/List.js.map +1 -0
- package/dist/list/ListItem.d.ts +121 -0
- package/dist/list/ListItem.js +147 -0
- package/dist/list/ListItem.js.map +1 -0
- package/dist/list/ListItemAddon.d.ts +22 -0
- package/dist/list/ListItemAddon.js +30 -0
- package/dist/list/ListItemAddon.js.map +1 -0
- package/dist/list/ListItemChildren.d.ts +39 -0
- package/dist/list/ListItemChildren.js +81 -0
- package/dist/list/ListItemChildren.js.map +1 -0
- package/dist/list/ListItemLink.d.ts +33 -0
- package/dist/list/ListItemLink.js +89 -0
- package/dist/list/ListItemLink.js.map +1 -0
- package/dist/list/ListItemText.d.ts +21 -0
- package/dist/list/ListItemText.js +34 -0
- package/dist/list/ListItemText.js.map +1 -0
- package/dist/list/ListSubheader.d.ts +34 -0
- package/dist/list/ListSubheader.js +37 -0
- package/dist/list/ListSubheader.js.map +1 -0
- package/dist/list/_list.scss +319 -0
- package/dist/list/getListItemHeight.d.ts +20 -0
- package/dist/list/getListItemHeight.js +28 -0
- package/dist/list/getListItemHeight.js.map +1 -0
- package/dist/list/listItemStyles.d.ts +106 -0
- package/dist/list/listItemStyles.js +45 -0
- package/dist/list/listItemStyles.js.map +1 -0
- package/dist/list/types.d.ts +174 -0
- package/dist/list/types.js +3 -0
- package/dist/list/types.js.map +1 -0
- package/dist/media-queries/AppSizeProvider.d.ts +39 -0
- package/dist/media-queries/AppSizeProvider.js +93 -0
- package/dist/media-queries/AppSizeProvider.js.map +1 -0
- package/dist/media-queries/_media-queries.scss +63 -0
- package/dist/media-queries/appSize.d.ts +89 -0
- package/dist/media-queries/appSize.js +21 -0
- package/dist/media-queries/appSize.js.map +1 -0
- package/dist/media-queries/useMediaQuery.d.ts +21 -0
- package/dist/media-queries/useMediaQuery.js +50 -0
- package/dist/media-queries/useMediaQuery.js.map +1 -0
- package/dist/menu/DropdownMenu.d.ts +77 -0
- package/dist/menu/DropdownMenu.js +178 -0
- package/dist/menu/DropdownMenu.js.map +1 -0
- package/dist/menu/Menu.d.ts +182 -0
- package/dist/menu/Menu.js +260 -0
- package/dist/menu/Menu.js.map +1 -0
- package/dist/menu/MenuBar.d.ts +61 -0
- package/dist/menu/MenuBar.js +80 -0
- package/dist/menu/MenuBar.js.map +1 -0
- package/dist/menu/MenuButton.d.ts +42 -0
- package/dist/menu/MenuButton.js +76 -0
- package/dist/menu/MenuButton.js.map +1 -0
- package/dist/menu/MenuConfigurationProvider.d.ts +82 -0
- package/dist/menu/MenuConfigurationProvider.js +80 -0
- package/dist/menu/MenuConfigurationProvider.js.map +1 -0
- package/dist/menu/MenuItem.d.ts +25 -0
- package/dist/menu/MenuItem.js +36 -0
- package/dist/menu/MenuItem.js.map +1 -0
- package/dist/menu/MenuItemButton.d.ts +19 -0
- package/dist/menu/MenuItemButton.js +125 -0
- package/dist/menu/MenuItemButton.js.map +1 -0
- package/dist/menu/MenuItemGroup.d.ts +75 -0
- package/dist/menu/MenuItemGroup.js +85 -0
- package/dist/menu/MenuItemGroup.js.map +1 -0
- package/dist/menu/MenuItemSeparator.d.ts +16 -0
- package/dist/menu/MenuItemSeparator.js +38 -0
- package/dist/menu/MenuItemSeparator.js.map +1 -0
- package/dist/menu/MenuSheet.d.ts +68 -0
- package/dist/menu/MenuSheet.js +53 -0
- package/dist/menu/MenuSheet.js.map +1 -0
- package/dist/menu/MenuVisibilityProvider.d.ts +46 -0
- package/dist/menu/MenuVisibilityProvider.js +65 -0
- package/dist/menu/MenuVisibilityProvider.js.map +1 -0
- package/dist/menu/MenuWidget.d.ts +37 -0
- package/dist/menu/MenuWidget.js +126 -0
- package/dist/menu/MenuWidget.js.map +1 -0
- package/dist/menu/MenuWidgetKeyboardProvider.d.ts +18 -0
- package/dist/menu/MenuWidgetKeyboardProvider.js +22 -0
- package/dist/menu/MenuWidgetKeyboardProvider.js.map +1 -0
- package/dist/menu/_menu.scss +137 -0
- package/dist/menu/useContextMenu.d.ts +78 -0
- package/dist/menu/useContextMenu.js +73 -0
- package/dist/menu/useContextMenu.js.map +1 -0
- package/dist/menu/useMenuBarProvider.d.ts +38 -0
- package/dist/menu/useMenuBarProvider.js +51 -0
- package/dist/menu/useMenuBarProvider.js.map +1 -0
- package/dist/menu/utils.d.ts +19 -0
- package/dist/menu/utils.js +32 -0
- package/dist/menu/utils.js.map +1 -0
- package/dist/movement/constants.d.ts +18 -0
- package/dist/movement/constants.js +55 -0
- package/dist/movement/constants.js.map +1 -0
- package/dist/movement/findMatchIndex.d.ts +54 -0
- package/dist/movement/findMatchIndex.js +58 -0
- package/dist/movement/findMatchIndex.js.map +1 -0
- package/dist/movement/types.d.ts +230 -0
- package/dist/movement/types.js +6 -0
- package/dist/movement/types.js.map +1 -0
- package/dist/movement/useKeyboardMovementProvider.d.ts +133 -0
- package/dist/movement/useKeyboardMovementProvider.js +410 -0
- package/dist/movement/useKeyboardMovementProvider.js.map +1 -0
- package/dist/movement/utils.d.ts +89 -0
- package/dist/movement/utils.js +159 -0
- package/dist/movement/utils.js.map +1 -0
- package/dist/overlay/Overlay.d.ts +69 -0
- package/dist/overlay/Overlay.js +69 -0
- package/dist/overlay/Overlay.js.map +1 -0
- package/dist/overlay/_overlay.scss +77 -0
- package/dist/overlay/overlayStyles.d.ts +33 -0
- package/dist/overlay/overlayStyles.js +28 -0
- package/dist/overlay/overlayStyles.js.map +1 -0
- package/dist/portal/Portal.d.ts +32 -0
- package/dist/portal/Portal.js +35 -0
- package/dist/portal/Portal.js.map +1 -0
- package/dist/portal/PortalContainerProvider.d.ts +34 -0
- package/dist/portal/PortalContainerProvider.js +55 -0
- package/dist/portal/PortalContainerProvider.js.map +1 -0
- package/dist/positioning/constants.d.ts +26 -0
- package/dist/positioning/constants.js +102 -0
- package/dist/positioning/constants.js.map +1 -0
- package/dist/positioning/createHorizontalPosition.d.ts +99 -0
- package/dist/positioning/createHorizontalPosition.js +249 -0
- package/dist/positioning/createHorizontalPosition.js.map +1 -0
- package/dist/positioning/createVerticalPosition.d.ts +86 -0
- package/dist/positioning/createVerticalPosition.js +227 -0
- package/dist/positioning/createVerticalPosition.js.map +1 -0
- package/dist/positioning/getFixedPosition.d.ts +33 -0
- package/dist/positioning/getFixedPosition.js +146 -0
- package/dist/positioning/getFixedPosition.js.map +1 -0
- package/dist/positioning/types.d.ts +227 -0
- package/dist/positioning/types.js +22 -0
- package/dist/positioning/types.js.map +1 -0
- package/dist/positioning/useFixedPositioning.d.ts +163 -0
- package/dist/positioning/useFixedPositioning.js +243 -0
- package/dist/positioning/useFixedPositioning.js.map +1 -0
- package/dist/positioning/utils.d.ts +167 -0
- package/dist/positioning/utils.js +245 -0
- package/dist/positioning/utils.js.map +1 -0
- package/dist/progress/CircularProgress.d.ts +121 -0
- package/dist/progress/CircularProgress.js +104 -0
- package/dist/progress/CircularProgress.js.map +1 -0
- package/dist/progress/LinearProgress.d.ts +74 -0
- package/dist/progress/LinearProgress.js +116 -0
- package/dist/progress/LinearProgress.js.map +1 -0
- package/dist/progress/_progress.scss +577 -0
- package/dist/progress/getProgressA11y.d.ts +12 -0
- package/dist/progress/getProgressA11y.js +17 -0
- package/dist/progress/getProgressA11y.js.map +1 -0
- package/dist/progress/types.d.ts +70 -0
- package/dist/progress/types.js +7 -0
- package/dist/progress/types.js.map +1 -0
- package/dist/responsive-item/ResponsiveItemContainer.d.ts +122 -0
- package/dist/responsive-item/ResponsiveItemContainer.js +85 -0
- package/dist/responsive-item/ResponsiveItemContainer.js.map +1 -0
- package/dist/responsive-item/ResponsiveItemOverlay.d.ts +55 -0
- package/dist/responsive-item/ResponsiveItemOverlay.js +55 -0
- package/dist/responsive-item/ResponsiveItemOverlay.js.map +1 -0
- package/dist/responsive-item/_responsive-item.scss +194 -0
- package/dist/responsive-item/styles.d.ts +34 -0
- package/dist/responsive-item/styles.js +17 -0
- package/dist/responsive-item/styles.js.map +1 -0
- package/dist/scroll/ScrollLock.d.ts +10 -0
- package/dist/scroll/ScrollLock.js +16 -0
- package/dist/scroll/ScrollLock.js.map +1 -0
- package/dist/scroll/getScrollbarWidth.d.ts +4 -0
- package/dist/scroll/getScrollbarWidth.js +26 -0
- package/dist/scroll/getScrollbarWidth.js.map +1 -0
- package/dist/scroll/useScrollLock.d.ts +14 -0
- package/dist/scroll/useScrollLock.js +47 -0
- package/dist/scroll/useScrollLock.js.map +1 -0
- package/dist/segmented-button/SegmentedButton.d.ts +88 -0
- package/dist/segmented-button/SegmentedButton.js +98 -0
- package/dist/segmented-button/SegmentedButton.js.map +1 -0
- package/dist/segmented-button/SegmentedButtonContainer.d.ts +39 -0
- package/dist/segmented-button/SegmentedButtonContainer.js +46 -0
- package/dist/segmented-button/SegmentedButtonContainer.js.map +1 -0
- package/dist/segmented-button/_segmented-button.scss +209 -0
- package/dist/segmented-button/segmentedButtonContainerStyles.d.ts +12 -0
- package/dist/segmented-button/segmentedButtonContainerStyles.js +13 -0
- package/dist/segmented-button/segmentedButtonContainerStyles.js.map +1 -0
- package/dist/segmented-button/segmentedButtonStyles.d.ts +18 -0
- package/dist/segmented-button/segmentedButtonStyles.js +16 -0
- package/dist/segmented-button/segmentedButtonStyles.js.map +1 -0
- package/dist/sheet/Sheet.d.ts +38 -0
- package/dist/sheet/Sheet.js +46 -0
- package/dist/sheet/Sheet.js.map +1 -0
- package/dist/sheet/_sheet.scss +205 -0
- package/dist/sheet/styles.d.ts +58 -0
- package/dist/sheet/styles.js +22 -0
- package/dist/sheet/styles.js.map +1 -0
- package/dist/snackbar/DefaultToastRenderer.d.ts +34 -0
- package/dist/snackbar/DefaultToastRenderer.js +107 -0
- package/dist/snackbar/DefaultToastRenderer.js.map +1 -0
- package/dist/snackbar/Snackbar.d.ts +133 -0
- package/dist/snackbar/Snackbar.js +63 -0
- package/dist/snackbar/Snackbar.js.map +1 -0
- package/dist/snackbar/Toast.d.ts +105 -0
- package/dist/snackbar/Toast.js +93 -0
- package/dist/snackbar/Toast.js.map +1 -0
- package/dist/snackbar/ToastActionButton.d.ts +27 -0
- package/dist/snackbar/ToastActionButton.js +40 -0
- package/dist/snackbar/ToastActionButton.js.map +1 -0
- package/dist/snackbar/ToastCloseButton.d.ts +34 -0
- package/dist/snackbar/ToastCloseButton.js +44 -0
- package/dist/snackbar/ToastCloseButton.js.map +1 -0
- package/dist/snackbar/ToastContent.d.ts +33 -0
- package/dist/snackbar/ToastContent.js +47 -0
- package/dist/snackbar/ToastContent.js.map +1 -0
- package/dist/snackbar/ToastManager.d.ts +290 -0
- package/dist/snackbar/ToastManager.js +460 -0
- package/dist/snackbar/ToastManager.js.map +1 -0
- package/dist/snackbar/ToastManagerProvider.d.ts +53 -0
- package/dist/snackbar/ToastManagerProvider.js +69 -0
- package/dist/snackbar/ToastManagerProvider.js.map +1 -0
- package/dist/snackbar/_snackbar.scss +262 -0
- package/dist/snackbar/snackbarStyles.d.ts +16 -0
- package/dist/snackbar/snackbarStyles.js +17 -0
- package/dist/snackbar/snackbarStyles.js.map +1 -0
- package/dist/snackbar/toastContentStyles.d.ts +18 -0
- package/dist/snackbar/toastContentStyles.js +15 -0
- package/dist/snackbar/toastContentStyles.js.map +1 -0
- package/dist/snackbar/toastStyles.d.ts +28 -0
- package/dist/snackbar/toastStyles.js +21 -0
- package/dist/snackbar/toastStyles.js.map +1 -0
- package/dist/snackbar/useCurrentToastActions.d.ts +31 -0
- package/dist/snackbar/useCurrentToastActions.js +22 -0
- package/dist/snackbar/useCurrentToastActions.js.map +1 -0
- package/dist/suspense/CircularProgressSuspense.d.ts +35 -0
- package/dist/suspense/CircularProgressSuspense.js +39 -0
- package/dist/suspense/CircularProgressSuspense.js.map +1 -0
- package/dist/suspense/NullSuspense.d.ts +33 -0
- package/dist/suspense/NullSuspense.js +35 -0
- package/dist/suspense/NullSuspense.js.map +1 -0
- package/dist/table/Table.d.ts +86 -0
- package/dist/table/Table.js +99 -0
- package/dist/table/Table.js.map +1 -0
- package/dist/table/TableBody.d.ts +11 -0
- package/dist/table/TableBody.js +48 -0
- package/dist/table/TableBody.js.map +1 -0
- package/dist/table/TableCell.d.ts +202 -0
- package/dist/table/TableCell.js +79 -0
- package/dist/table/TableCell.js.map +1 -0
- package/dist/table/TableCellContent.d.ts +42 -0
- package/dist/table/TableCellContent.js +48 -0
- package/dist/table/TableCellContent.js.map +1 -0
- package/dist/table/TableCheckbox.d.ts +120 -0
- package/dist/table/TableCheckbox.js +113 -0
- package/dist/table/TableCheckbox.js.map +1 -0
- package/dist/table/TableConfigurationProvider.d.ts +88 -0
- package/dist/table/TableConfigurationProvider.js +43 -0
- package/dist/table/TableConfigurationProvider.js.map +1 -0
- package/dist/table/TableContainer.d.ts +17 -0
- package/dist/table/TableContainer.js +41 -0
- package/dist/table/TableContainer.js.map +1 -0
- package/dist/table/TableContainerProvider.d.ts +24 -0
- package/dist/table/TableContainerProvider.js +26 -0
- package/dist/table/TableContainerProvider.js.map +1 -0
- package/dist/table/TableFooter.d.ts +26 -0
- package/dist/table/TableFooter.js +96 -0
- package/dist/table/TableFooter.js.map +1 -0
- package/dist/table/TableHeader.d.ts +41 -0
- package/dist/table/TableHeader.js +114 -0
- package/dist/table/TableHeader.js.map +1 -0
- package/dist/table/TableRow.d.ts +35 -0
- package/dist/table/TableRow.js +42 -0
- package/dist/table/TableRow.js.map +1 -0
- package/dist/table/_table.scss +462 -0
- package/dist/table/types.d.ts +75 -0
- package/dist/table/types.js +3 -0
- package/dist/table/types.js.map +1 -0
- package/dist/tabs/Tab.d.ts +52 -0
- package/dist/tabs/Tab.js +63 -0
- package/dist/tabs/Tab.js.map +1 -0
- package/dist/tabs/TabList.d.ts +107 -0
- package/dist/tabs/TabList.js +85 -0
- package/dist/tabs/TabList.js.map +1 -0
- package/dist/tabs/TabListScrollButton.d.ts +32 -0
- package/dist/tabs/TabListScrollButton.js +78 -0
- package/dist/tabs/TabListScrollButton.js.map +1 -0
- package/dist/tabs/_tabs.scss +262 -0
- package/dist/tabs/tabIndicatorStyles.d.ts +12 -0
- package/dist/tabs/tabIndicatorStyles.js +14 -0
- package/dist/tabs/tabIndicatorStyles.js.map +1 -0
- package/dist/tabs/tabListScrollButtonStyles.d.ts +21 -0
- package/dist/tabs/tabListScrollButtonStyles.js +20 -0
- package/dist/tabs/tabListScrollButtonStyles.js.map +1 -0
- package/dist/tabs/tabListStyles.d.ts +21 -0
- package/dist/tabs/tabListStyles.js +21 -0
- package/dist/tabs/tabListStyles.js.map +1 -0
- package/dist/tabs/tabStyles.d.ts +23 -0
- package/dist/tabs/tabStyles.js +21 -0
- package/dist/tabs/tabStyles.js.map +1 -0
- package/dist/tabs/useTabList.d.ts +51 -0
- package/dist/tabs/useTabList.js +128 -0
- package/dist/tabs/useTabList.js.map +1 -0
- package/dist/tabs/useTabs.d.ts +387 -0
- package/dist/tabs/useTabs.js +77 -0
- package/dist/tabs/useTabs.js.map +1 -0
- package/dist/tabs/utils.d.ts +35 -0
- package/dist/tabs/utils.js +49 -0
- package/dist/tabs/utils.js.map +1 -0
- package/dist/test-utils/IntersectionObserver.js +54 -0
- package/dist/test-utils/IntersectionObserver.js.map +1 -0
- package/dist/test-utils/ResizeObserver.js +252 -0
- package/dist/test-utils/ResizeObserver.js.map +1 -0
- package/dist/test-utils/index.js +9 -0
- package/dist/test-utils/index.js.map +1 -0
- package/dist/test-utils/jest-setup.js +10 -0
- package/dist/test-utils/jest-setup.js.map +1 -0
- package/dist/test-utils/matchMedia.js +114 -0
- package/dist/test-utils/matchMedia.js.map +1 -0
- package/dist/test-utils/polyfills/IntersectionObserver.js +6 -0
- package/dist/test-utils/polyfills/IntersectionObserver.js.map +1 -0
- package/dist/test-utils/polyfills/ResizeObserver.js +6 -0
- package/dist/test-utils/polyfills/ResizeObserver.js.map +1 -0
- package/dist/test-utils/polyfills/index.js +7 -0
- package/dist/test-utils/polyfills/index.js.map +1 -0
- package/dist/test-utils/polyfills/matchMedia.js +9 -0
- package/dist/test-utils/polyfills/matchMedia.js.map +1 -0
- package/dist/test-utils/polyfills/offsetParent.js +30 -0
- package/dist/test-utils/polyfills/offsetParent.js.map +1 -0
- package/dist/test-utils/polyfills/scrollIntoView.js +8 -0
- package/dist/test-utils/polyfills/scrollIntoView.js.map +1 -0
- package/dist/test-utils/render.js +22 -0
- package/dist/test-utils/render.js.map +1 -0
- package/dist/test-utils/timers.js +43 -0
- package/dist/test-utils/timers.js.map +1 -0
- package/dist/theme/LocalStorageColorSchemeProvider.d.ts +95 -0
- package/dist/theme/LocalStorageColorSchemeProvider.js +88 -0
- package/dist/theme/LocalStorageColorSchemeProvider.js.map +1 -0
- package/dist/theme/ThemeProvider.d.ts +217 -0
- package/dist/theme/ThemeProvider.js +273 -0
- package/dist/theme/ThemeProvider.js.map +1 -0
- package/dist/theme/_a11y.scss +114 -0
- package/dist/theme/_colors.scss +1057 -0
- package/dist/theme/_theme.scss +409 -0
- package/dist/theme/colors.d.ts +256 -0
- package/dist/theme/colors.js +258 -0
- package/dist/theme/colors.js.map +1 -0
- package/dist/theme/cssVars.d.ts +15 -0
- package/dist/theme/cssVars.js +17 -0
- package/dist/theme/cssVars.js.map +1 -0
- package/dist/theme/types.d.ts +34 -0
- package/dist/theme/types.js +25 -0
- package/dist/theme/types.js.map +1 -0
- package/dist/theme/useCSSVariables.d.ts +90 -0
- package/dist/theme/useCSSVariables.js +57 -0
- package/dist/theme/useCSSVariables.js.map +1 -0
- package/dist/theme/useColorScheme.d.ts +115 -0
- package/dist/theme/useColorScheme.js +94 -0
- package/dist/theme/useColorScheme.js.map +1 -0
- package/dist/theme/useColorSchemeMetaTag.d.ts +20 -0
- package/dist/theme/useColorSchemeMetaTag.js +39 -0
- package/dist/theme/useColorSchemeMetaTag.js.map +1 -0
- package/dist/theme/useColorSchemeProvider.d.ts +67 -0
- package/dist/theme/useColorSchemeProvider.js +31 -0
- package/dist/theme/useColorSchemeProvider.js.map +1 -0
- package/dist/theme/usePrefersColorScheme.d.ts +7 -0
- package/dist/theme/usePrefersColorScheme.js +12 -0
- package/dist/theme/usePrefersColorScheme.js.map +1 -0
- package/dist/theme/utils.d.ts +75 -0
- package/dist/theme/utils.js +138 -0
- package/dist/theme/utils.js.map +1 -0
- package/dist/tooltip/Tooltip.d.ts +65 -0
- package/dist/tooltip/Tooltip.js +74 -0
- package/dist/tooltip/Tooltip.js.map +1 -0
- package/dist/tooltip/TooltipHoverModeProvider.d.ts +44 -0
- package/dist/tooltip/TooltipHoverModeProvider.js +59 -0
- package/dist/tooltip/TooltipHoverModeProvider.js.map +1 -0
- package/dist/tooltip/_tooltip.scss +161 -0
- package/dist/tooltip/constants.d.ts +22 -0
- package/dist/tooltip/constants.js +25 -0
- package/dist/tooltip/constants.js.map +1 -0
- package/dist/tooltip/tooltipStyles.d.ts +14 -0
- package/dist/tooltip/tooltipStyles.js +17 -0
- package/dist/tooltip/tooltipStyles.js.map +1 -0
- package/dist/tooltip/useOverflowTooltip.d.ts +61 -0
- package/dist/tooltip/useOverflowTooltip.js +71 -0
- package/dist/tooltip/useOverflowTooltip.js.map +1 -0
- package/dist/tooltip/useTooltip.d.ts +242 -0
- package/dist/tooltip/useTooltip.js +258 -0
- package/dist/tooltip/useTooltip.js.map +1 -0
- package/dist/tooltip/useTooltipPosition.d.ts +55 -0
- package/dist/tooltip/useTooltipPosition.js +39 -0
- package/dist/tooltip/useTooltipPosition.js.map +1 -0
- package/dist/tooltip/utils.d.ts +11 -0
- package/dist/tooltip/utils.js +34 -0
- package/dist/tooltip/utils.js.map +1 -0
- package/dist/transition/CSSTransition.d.ts +71 -0
- package/dist/transition/CSSTransition.js +78 -0
- package/dist/transition/CSSTransition.js.map +1 -0
- package/dist/transition/Collapse.d.ts +62 -0
- package/dist/transition/Collapse.js +54 -0
- package/dist/transition/Collapse.js.map +1 -0
- package/dist/transition/CrossFade.d.ts +88 -0
- package/dist/transition/CrossFade.js +86 -0
- package/dist/transition/CrossFade.js.map +1 -0
- package/dist/transition/ScaleTransition.d.ts +61 -0
- package/dist/transition/ScaleTransition.js +64 -0
- package/dist/transition/ScaleTransition.js.map +1 -0
- package/dist/transition/SkeletonPlaceholder.d.ts +125 -0
- package/dist/transition/SkeletonPlaceholder.js +126 -0
- package/dist/transition/SkeletonPlaceholder.js.map +1 -0
- package/dist/transition/Slide.d.ts +29 -0
- package/dist/transition/Slide.js +42 -0
- package/dist/transition/Slide.js.map +1 -0
- package/dist/transition/SlideContainer.d.ts +157 -0
- package/dist/transition/SlideContainer.js +124 -0
- package/dist/transition/SlideContainer.js.map +1 -0
- package/dist/transition/_transition.scss +354 -0
- package/dist/transition/collapseStyles.d.ts +14 -0
- package/dist/transition/collapseStyles.js +16 -0
- package/dist/transition/collapseStyles.js.map +1 -0
- package/dist/transition/maxWidthTransition.d.ts +6 -0
- package/dist/transition/maxWidthTransition.js +12 -0
- package/dist/transition/maxWidthTransition.js.map +1 -0
- package/dist/transition/types.d.ts +544 -0
- package/dist/transition/types.js +11 -0
- package/dist/transition/types.js.map +1 -0
- package/dist/transition/useCSSTransition.d.ts +147 -0
- package/dist/transition/useCSSTransition.js +191 -0
- package/dist/transition/useCSSTransition.js.map +1 -0
- package/dist/transition/useCarousel.d.ts +158 -0
- package/dist/transition/useCarousel.js +171 -0
- package/dist/transition/useCarousel.js.map +1 -0
- package/dist/transition/useCollapseTransition.d.ts +261 -0
- package/dist/transition/useCollapseTransition.js +226 -0
- package/dist/transition/useCollapseTransition.js.map +1 -0
- package/dist/transition/useCrossFadeTransition.d.ts +87 -0
- package/dist/transition/useCrossFadeTransition.js +80 -0
- package/dist/transition/useCrossFadeTransition.js.map +1 -0
- package/dist/transition/useMaxWidthTransition.d.ts +15 -0
- package/dist/transition/useMaxWidthTransition.js +22 -0
- package/dist/transition/useMaxWidthTransition.js.map +1 -0
- package/dist/transition/useScaleTransition.d.ts +95 -0
- package/dist/transition/useScaleTransition.js +95 -0
- package/dist/transition/useScaleTransition.js.map +1 -0
- package/dist/transition/useSkeletonPlaceholder.d.ts +188 -0
- package/dist/transition/useSkeletonPlaceholder.js +68 -0
- package/dist/transition/useSkeletonPlaceholder.js.map +1 -0
- package/dist/transition/useSlideTransition.d.ts +75 -0
- package/dist/transition/useSlideTransition.js +89 -0
- package/dist/transition/useSlideTransition.js.map +1 -0
- package/dist/transition/useTransition.d.ts +11 -0
- package/dist/transition/useTransition.js +233 -0
- package/dist/transition/useTransition.js.map +1 -0
- package/dist/transition/utils.d.ts +44 -0
- package/dist/transition/utils.js +94 -0
- package/dist/transition/utils.js.map +1 -0
- package/dist/tree/DefaultTreeItemRenderer.d.ts +16 -0
- package/dist/tree/DefaultTreeItemRenderer.js +44 -0
- package/dist/tree/DefaultTreeItemRenderer.js.map +1 -0
- package/dist/tree/Tree.d.ts +195 -0
- package/dist/tree/Tree.js +133 -0
- package/dist/tree/Tree.js.map +1 -0
- package/dist/tree/TreeGroup.d.ts +28 -0
- package/dist/tree/TreeGroup.js +56 -0
- package/dist/tree/TreeGroup.js.map +1 -0
- package/dist/tree/TreeItem.d.ts +63 -0
- package/dist/tree/TreeItem.js +176 -0
- package/dist/tree/TreeItem.js.map +1 -0
- package/dist/tree/TreeItemExpander.d.ts +22 -0
- package/dist/tree/TreeItemExpander.js +54 -0
- package/dist/tree/TreeItemExpander.js.map +1 -0
- package/dist/tree/TreeProvider.d.ts +94 -0
- package/dist/tree/TreeProvider.js +67 -0
- package/dist/tree/TreeProvider.js.map +1 -0
- package/dist/tree/_tree.scss +174 -0
- package/dist/tree/styles.d.ts +86 -0
- package/dist/tree/styles.js +59 -0
- package/dist/tree/styles.js.map +1 -0
- package/dist/tree/types.d.ts +126 -0
- package/dist/tree/types.js +30 -0
- package/dist/tree/types.js.map +1 -0
- package/dist/tree/useTree.d.ts +50 -0
- package/dist/tree/useTree.js +35 -0
- package/dist/tree/useTree.js.map +1 -0
- package/dist/tree/useTreeExpansion.d.ts +18 -0
- package/dist/tree/useTreeExpansion.js +29 -0
- package/dist/tree/useTreeExpansion.js.map +1 -0
- package/dist/tree/useTreeItems.d.ts +58 -0
- package/dist/tree/useTreeItems.js +75 -0
- package/dist/tree/useTreeItems.js.map +1 -0
- package/dist/tree/useTreeMovement.d.ts +36 -0
- package/dist/tree/useTreeMovement.js +126 -0
- package/dist/tree/useTreeMovement.js.map +1 -0
- package/dist/tree/useTreeSelection.d.ts +20 -0
- package/dist/tree/useTreeSelection.js +37 -0
- package/dist/tree/useTreeSelection.js.map +1 -0
- package/dist/tree/utils.d.ts +29 -0
- package/dist/tree/utils.js +51 -0
- package/dist/tree/utils.js.map +1 -0
- package/dist/types.d.ts +150 -0
- package/dist/types.js +6 -0
- package/dist/types.js.map +1 -0
- package/dist/typography/SrOnly.d.ts +44 -0
- package/dist/typography/SrOnly.js +42 -0
- package/dist/typography/SrOnly.js.map +1 -0
- package/dist/typography/TextContainer.d.ts +80 -0
- package/dist/typography/TextContainer.js +76 -0
- package/dist/typography/TextContainer.js.map +1 -0
- package/dist/typography/Typography.d.ts +189 -0
- package/dist/typography/Typography.js +183 -0
- package/dist/typography/Typography.js.map +1 -0
- package/dist/typography/WritingDirectionProvider.d.ts +152 -0
- package/dist/typography/WritingDirectionProvider.js +171 -0
- package/dist/typography/WritingDirectionProvider.js.map +1 -0
- package/dist/typography/_typography.scss +345 -0
- package/dist/useAsyncAction.d.ts +155 -0
- package/dist/useAsyncAction.js +161 -0
- package/dist/useAsyncAction.js.map +1 -0
- package/dist/useDebouncedFunction.d.ts +83 -0
- package/dist/useDebouncedFunction.js +101 -0
- package/dist/useDebouncedFunction.js.map +1 -0
- package/dist/useDropzone.d.ts +127 -0
- package/dist/useDropzone.js +154 -0
- package/dist/useDropzone.js.map +1 -0
- package/dist/useEnsuredId.d.ts +21 -0
- package/dist/useEnsuredId.js +26 -0
- package/dist/useEnsuredId.js.map +1 -0
- package/dist/useEnsuredRef.d.ts +38 -0
- package/dist/useEnsuredRef.js +45 -0
- package/dist/useEnsuredRef.js.map +1 -0
- package/dist/useEnsuredState.d.ts +19 -0
- package/dist/useEnsuredState.js +25 -0
- package/dist/useEnsuredState.js.map +1 -0
- package/dist/useHtmlClassName.d.ts +4 -0
- package/dist/useHtmlClassName.js +20 -0
- package/dist/useHtmlClassName.js.map +1 -0
- package/dist/useIntersectionObserver.d.ts +241 -0
- package/dist/useIntersectionObserver.js +120 -0
- package/dist/useIntersectionObserver.js.map +1 -0
- package/dist/useIsomorphicLayoutEffect.d.ts +8 -0
- package/dist/useIsomorphicLayoutEffect.js +10 -0
- package/dist/useIsomorphicLayoutEffect.js.map +1 -0
- package/dist/useLocalStorage.d.ts +373 -0
- package/dist/useLocalStorage.js +381 -0
- package/dist/useLocalStorage.js.map +1 -0
- package/dist/useOrientation.d.ts +21 -0
- package/dist/useOrientation.js +54 -0
- package/dist/useOrientation.js.map +1 -0
- package/dist/usePageInactive.d.ts +73 -0
- package/dist/usePageInactive.js +71 -0
- package/dist/usePageInactive.js.map +1 -0
- package/dist/useResizeListener.d.ts +64 -0
- package/dist/useResizeListener.js +70 -0
- package/dist/useResizeListener.js.map +1 -0
- package/dist/useResizeObserver.d.ts +151 -0
- package/dist/useResizeObserver.js +173 -0
- package/dist/useResizeObserver.js.map +1 -0
- package/dist/useThrottledFunction.d.ts +82 -0
- package/dist/useThrottledFunction.js +114 -0
- package/dist/useThrottledFunction.js.map +1 -0
- package/dist/useToggle.d.ts +34 -0
- package/dist/useToggle.js +41 -0
- package/dist/useToggle.js.map +1 -0
- package/dist/useUnmounted.d.ts +31 -0
- package/dist/useUnmounted.js +42 -0
- package/dist/useUnmounted.js.map +1 -0
- package/dist/useWindowSize.d.ts +57 -0
- package/dist/useWindowSize.js +63 -0
- package/dist/useWindowSize.js.map +1 -0
- package/dist/utils/RenderRecursively.d.ts +149 -0
- package/dist/utils/RenderRecursively.js +121 -0
- package/dist/utils/RenderRecursively.js.map +1 -0
- package/dist/utils/alphaNumericSort.d.ts +101 -0
- package/dist/utils/alphaNumericSort.js +32 -0
- package/dist/utils/alphaNumericSort.js.map +1 -0
- package/dist/utils/applyRef.d.ts +32 -0
- package/dist/utils/applyRef.js +41 -0
- package/dist/utils/applyRef.js.map +1 -0
- package/dist/utils/bem.d.ts +46 -0
- package/dist/utils/bem.js +86 -0
- package/dist/utils/bem.js.map +1 -0
- package/dist/utils/filters.d.ts +196 -0
- package/dist/utils/filters.js +67 -0
- package/dist/utils/filters.js.map +1 -0
- package/dist/utils/getClientPosition.d.ts +31 -0
- package/dist/utils/getClientPosition.js +17 -0
- package/dist/utils/getClientPosition.js.map +1 -0
- package/dist/utils/getPercentage.d.ts +34 -0
- package/dist/utils/getPercentage.js +27 -0
- package/dist/utils/getPercentage.js.map +1 -0
- package/dist/utils/getRangeDefaultValue.d.ts +16 -0
- package/dist/utils/getRangeDefaultValue.js +23 -0
- package/dist/utils/getRangeDefaultValue.js.map +1 -0
- package/dist/utils/getRangeSteps.d.ts +19 -0
- package/dist/utils/getRangeSteps.js +17 -0
- package/dist/utils/getRangeSteps.js.map +1 -0
- package/dist/utils/identity.d.ts +5 -0
- package/dist/utils/identity.js +6 -0
- package/dist/utils/identity.js.map +1 -0
- package/dist/utils/isElementVisible.d.ts +27 -0
- package/dist/utils/isElementVisible.js +39 -0
- package/dist/utils/isElementVisible.js.map +1 -0
- package/dist/utils/loop.d.ts +42 -0
- package/dist/utils/loop.js +27 -0
- package/dist/utils/loop.js.map +1 -0
- package/dist/utils/nearest.d.ts +22 -0
- package/dist/utils/nearest.js +27 -0
- package/dist/utils/nearest.js.map +1 -0
- package/dist/utils/parseCssLengthUnit.d.ts +38 -0
- package/dist/utils/parseCssLengthUnit.js +39 -0
- package/dist/utils/parseCssLengthUnit.js.map +1 -0
- package/dist/utils/randomInt.d.ts +16 -0
- package/dist/utils/randomInt.js +13 -0
- package/dist/utils/randomInt.js.map +1 -0
- package/dist/utils/wait.d.ts +17 -0
- package/dist/utils/wait.js +18 -0
- package/dist/utils/wait.js.map +1 -0
- package/dist/utils/withinRange.d.ts +19 -0
- package/dist/utils/withinRange.js +24 -0
- package/dist/utils/withinRange.js.map +1 -0
- package/dist/window-splitter/WindowSplitter.d.ts +53 -0
- package/dist/window-splitter/WindowSplitter.js +43 -0
- package/dist/window-splitter/WindowSplitter.js.map +1 -0
- package/dist/window-splitter/_window-splitter.scss +172 -0
- package/dist/window-splitter/useWindowSplitter.d.ts +88 -0
- package/dist/window-splitter/useWindowSplitter.js +67 -0
- package/dist/window-splitter/useWindowSplitter.js.map +1 -0
- package/jest.config.ts +64 -0
- package/jest.setup.ts +3 -0
- package/package.json +146 -0
- package/scripts/copySassFiles.js +70 -0
- package/src/CoreProviders.tsx +109 -0
- package/src/NoSsr.tsx +55 -0
- package/src/SsrProvider.tsx +42 -0
- package/src/__tests__/NoSsr.node.tsx +26 -0
- package/src/__tests__/NoSsr.tsx +89 -0
- package/src/__tests__/useAsyncAction.tsx +116 -0
- package/src/__tests__/useDebouncedFunction.tsx +64 -0
- package/src/__tests__/useDropzone.tsx +131 -0
- package/src/__tests__/useEnsuredId.tsx +25 -0
- package/src/__tests__/useEnsuredState.tsx +75 -0
- package/src/__tests__/useHtmlClassName.tsx +54 -0
- package/src/__tests__/useLocalStorage.tsx +377 -0
- package/src/__tests__/useOrientation.node.tsx +20 -0
- package/src/__tests__/useOrientation.tsx +63 -0
- package/src/__tests__/useResizeObserver.tsx +256 -0
- package/src/__tests__/useThrottledFunction.tsx +171 -0
- package/src/__tests__/useToggle.tsx +78 -0
- package/src/_box-shadows.scss +206 -0
- package/src/_core.scss +465 -0
- package/src/_utils.scss +259 -0
- package/src/app-bar/AppBar.tsx +244 -0
- package/src/app-bar/AppBarTitle.tsx +120 -0
- package/src/app-bar/__tests__/AppBar.tsx +121 -0
- package/src/app-bar/__tests__/AppBarTitle.tsx +41 -0
- package/src/app-bar/__tests__/__snapshots__/AppBar.tsx.snap +186 -0
- package/src/app-bar/__tests__/__snapshots__/AppBarTitle.tsx.snap +47 -0
- package/src/app-bar/_app-bar.scss +256 -0
- package/src/avatar/Avatar.tsx +137 -0
- package/src/avatar/__tests__/Avatar.tsx +75 -0
- package/src/avatar/__tests__/__snapshots__/Avatar.tsx.snap +73 -0
- package/src/avatar/_avatar.scss +161 -0
- package/src/avatar/styles.ts +38 -0
- package/src/badge/Badge.tsx +99 -0
- package/src/badge/__tests__/Badge.tsx +42 -0
- package/src/badge/__tests__/__snapshots__/Badge.tsx.snap +54 -0
- package/src/badge/_badge.scss +107 -0
- package/src/box/Box.tsx +152 -0
- package/src/box/_box.scss +177 -0
- package/src/box/styles.ts +179 -0
- package/src/button/AsyncButton.tsx +253 -0
- package/src/button/Button.tsx +201 -0
- package/src/button/ButtonUnstyled.tsx +42 -0
- package/src/button/FloatingActionButton.tsx +99 -0
- package/src/button/__tests__/AsyncButton.tsx +209 -0
- package/src/button/__tests__/Button.tsx +198 -0
- package/src/button/__tests__/ButtonUnstyled.tsx +37 -0
- package/src/button/__tests__/__snapshots__/AsyncButton.tsx.snap +395 -0
- package/src/button/__tests__/__snapshots__/Button.tsx.snap +573 -0
- package/src/button/__tests__/__snapshots__/ButtonUnstyled.tsx.snap +22 -0
- package/src/button/__tests__/__snapshots__/buttonStyles.ts.snap +11 -0
- package/src/button/__tests__/buttonStyles.ts +15 -0
- package/src/button/_button.scss +340 -0
- package/src/button/buttonStyles.ts +174 -0
- package/src/button/buttonUnstyledStyles.ts +19 -0
- package/src/card/Card.tsx +86 -0
- package/src/card/CardContent.tsx +46 -0
- package/src/card/CardFooter.tsx +37 -0
- package/src/card/CardHeader.tsx +78 -0
- package/src/card/CardSubtitle.tsx +55 -0
- package/src/card/CardTitle.tsx +54 -0
- package/src/card/__tests__/Card.tsx +37 -0
- package/src/card/__tests__/CardContent.tsx +40 -0
- package/src/card/__tests__/CardFooter.tsx +34 -0
- package/src/card/__tests__/CardHeader.tsx +66 -0
- package/src/card/__tests__/CardSubtitle.tsx +30 -0
- package/src/card/__tests__/CardTitle.tsx +30 -0
- package/src/card/__tests__/__snapshots__/Card.tsx.snap +40 -0
- package/src/card/__tests__/__snapshots__/CardContent.tsx.snap +50 -0
- package/src/card/__tests__/__snapshots__/CardFooter.tsx.snap +30 -0
- package/src/card/__tests__/__snapshots__/CardHeader.tsx.snap +74 -0
- package/src/card/__tests__/__snapshots__/CardSubtitle.tsx.snap +18 -0
- package/src/card/__tests__/__snapshots__/CardTitle.tsx.snap +18 -0
- package/src/card/__tests__/__snapshots__/styles.ts.snap +13 -0
- package/src/card/__tests__/styles.ts +45 -0
- package/src/card/_card.scss +190 -0
- package/src/card/styles.ts +194 -0
- package/src/chip/Chip.tsx +339 -0
- package/src/chip/__tests__/Chip.tsx +329 -0
- package/src/chip/__tests__/__snapshots__/Chip.tsx.snap +597 -0
- package/src/chip/__tests__/__snapshots__/styles.ts.snap +5 -0
- package/src/chip/__tests__/styles.ts +14 -0
- package/src/chip/_chip.scss +351 -0
- package/src/chip/styles.ts +125 -0
- package/src/cssUtils.ts +231 -0
- package/src/delegateEvent.ts +178 -0
- package/src/dialog/Dialog.tsx +407 -0
- package/src/dialog/DialogContainer.tsx +30 -0
- package/src/dialog/DialogContent.tsx +31 -0
- package/src/dialog/DialogFooter.tsx +28 -0
- package/src/dialog/DialogHeader.tsx +21 -0
- package/src/dialog/DialogTitle.tsx +57 -0
- package/src/dialog/FixedDialog.tsx +164 -0
- package/src/dialog/NestedDialogProvider.ts +14 -0
- package/src/dialog/_dialog.scss +256 -0
- package/src/dialog/styles.ts +118 -0
- package/src/divider/Divider.tsx +65 -0
- package/src/divider/VerticalDivider.tsx +50 -0
- package/src/divider/__tests__/Divider.tsx +36 -0
- package/src/divider/__tests__/VerticalDivider.tsx +35 -0
- package/src/divider/__tests__/__snapshots__/Divider.tsx.snap +26 -0
- package/src/divider/__tests__/__snapshots__/VerticalDivider.tsx.snap +41 -0
- package/src/divider/_divider.scss +133 -0
- package/src/divider/styles.ts +49 -0
- package/src/divider/useVerticalDividerHeight.ts +72 -0
- package/src/draggable/__tests__/__snapshots__/useDraggable.tsx.snap +49 -0
- package/src/draggable/__tests__/useDraggable.tsx +544 -0
- package/src/draggable/_draggable.scss +25 -0
- package/src/draggable/useDraggable.ts +770 -0
- package/src/draggable/utils.ts +275 -0
- package/src/expansion-panel/ExpansionList.tsx +42 -0
- package/src/expansion-panel/ExpansionPanel.tsx +286 -0
- package/src/expansion-panel/ExpansionPanelHeader.tsx +188 -0
- package/src/expansion-panel/__tests__/ExpansionPanel.tsx +285 -0
- package/src/expansion-panel/__tests__/__snapshots__/ExpansionPanel.tsx.snap +197 -0
- package/src/expansion-panel/_expansion-panel.scss +81 -0
- package/src/expansion-panel/useExpansionList.ts +79 -0
- package/src/expansion-panel/useExpansionPanels.ts +277 -0
- package/src/focus/useFocusContainer.ts +259 -0
- package/src/focus/utils.ts +153 -0
- package/src/form/Checkbox.tsx +25 -0
- package/src/form/Fieldset.tsx +90 -0
- package/src/form/FileInput.tsx +218 -0
- package/src/form/Form.tsx +50 -0
- package/src/form/FormMessage.tsx +79 -0
- package/src/form/FormMessageContainer.tsx +46 -0
- package/src/form/FormMessageCounter.tsx +59 -0
- package/src/form/InputToggle.tsx +341 -0
- package/src/form/InputToggleIcon.tsx +131 -0
- package/src/form/Label.tsx +118 -0
- package/src/form/Legend.tsx +38 -0
- package/src/form/MenuItemCheckbox.tsx +46 -0
- package/src/form/MenuItemFileInput.tsx +113 -0
- package/src/form/MenuItemInputToggle.tsx +294 -0
- package/src/form/MenuItemRadio.tsx +117 -0
- package/src/form/MenuItemSwitch.tsx +42 -0
- package/src/form/MenuItemTextField.tsx +65 -0
- package/src/form/NativeSelect.tsx +226 -0
- package/src/form/OptGroup.tsx +86 -0
- package/src/form/Option.tsx +208 -0
- package/src/form/Password.tsx +212 -0
- package/src/form/Radio.tsx +29 -0
- package/src/form/Select.tsx +518 -0
- package/src/form/SelectValue.tsx +39 -0
- package/src/form/Slider.tsx +601 -0
- package/src/form/SliderContainer.tsx +91 -0
- package/src/form/SliderMark.tsx +41 -0
- package/src/form/SliderMarkLabel.tsx +62 -0
- package/src/form/SliderThumb.tsx +321 -0
- package/src/form/SliderTrack.tsx +123 -0
- package/src/form/SliderValueMarks.tsx +218 -0
- package/src/form/SliderValueTooltip.tsx +78 -0
- package/src/form/Switch.tsx +171 -0
- package/src/form/SwitchTrack.tsx +49 -0
- package/src/form/TextArea.tsx +285 -0
- package/src/form/TextField.tsx +248 -0
- package/src/form/TextFieldAddon.tsx +99 -0
- package/src/form/TextFieldContainer.tsx +93 -0
- package/src/form/TextFieldContainerStyles.ts +111 -0
- package/src/form/__tests__/Checkbox.tsx +42 -0
- package/src/form/__tests__/Fieldset.tsx +44 -0
- package/src/form/__tests__/FileInput.tsx +120 -0
- package/src/form/__tests__/Label.tsx +69 -0
- package/src/form/__tests__/Legend.tsx +34 -0
- package/src/form/__tests__/Radio.tsx +35 -0
- package/src/form/__tests__/__snapshots__/Checkbox.tsx.snap +99 -0
- package/src/form/__tests__/__snapshots__/Fieldset.tsx.snap +58 -0
- package/src/form/__tests__/__snapshots__/FileInput.tsx.snap +612 -0
- package/src/form/__tests__/__snapshots__/Label.tsx.snap +140 -0
- package/src/form/__tests__/__snapshots__/Legend.tsx.snap +30 -0
- package/src/form/__tests__/__snapshots__/Radio.tsx.snap +99 -0
- package/src/form/__tests__/__snapshots__/useCheckboxGroup.tsx.snap +481 -0
- package/src/form/__tests__/__snapshots__/useRadioGroup.tsx.snap +704 -0
- package/src/form/__tests__/useCheckboxGroup.tsx +292 -0
- package/src/form/__tests__/useFileUpload.tsx +281 -0
- package/src/form/__tests__/useRadioGroup.tsx +227 -0
- package/src/form/__tests__/utils.ts +247 -0
- package/src/form/_form.scss +2066 -0
- package/src/form/fileUtils.ts +690 -0
- package/src/form/formConfig.ts +24 -0
- package/src/form/formMessageStyles.ts +51 -0
- package/src/form/inputToggleStyles.ts +77 -0
- package/src/form/nativeSelectStyles.ts +56 -0
- package/src/form/optionStyles.ts +22 -0
- package/src/form/passwordStyles.ts +50 -0
- package/src/form/selectStyles.ts +32 -0
- package/src/form/selectUtils.ts +115 -0
- package/src/form/sliderUtils.ts +235 -0
- package/src/form/switchStyles.ts +29 -0
- package/src/form/textAreaStyles.ts +100 -0
- package/src/form/textFieldStyles.ts +33 -0
- package/src/form/types.ts +583 -0
- package/src/form/useCheckboxGroup.ts +334 -0
- package/src/form/useFileUpload.ts +539 -0
- package/src/form/useListboxProvider.ts +43 -0
- package/src/form/useNumberField.ts +492 -0
- package/src/form/useRadioGroup.ts +312 -0
- package/src/form/useRangeSlider.ts +90 -0
- package/src/form/useResizingTextArea.ts +146 -0
- package/src/form/useSlider.ts +112 -0
- package/src/form/useTextField.ts +706 -0
- package/src/form/utils.ts +86 -0
- package/src/form/validation.ts +267 -0
- package/src/hoverMode/useHoverMode.ts +197 -0
- package/src/hoverMode/useHoverModeProvider.ts +311 -0
- package/src/icon/FontIcon.tsx +60 -0
- package/src/icon/IconRotator.tsx +80 -0
- package/src/icon/MaterialIcon.tsx +52 -0
- package/src/icon/MaterialIconsProvider.ts +23 -0
- package/src/icon/MaterialSymbol.tsx +106 -0
- package/src/icon/MaterialSymbolsProvider.tsx +224 -0
- package/src/icon/SVGIcon.tsx +120 -0
- package/src/icon/TextIconSpacing.tsx +198 -0
- package/src/icon/__tests__/FontIcon.tsx +49 -0
- package/src/icon/__tests__/IconRotator.tsx +120 -0
- package/src/icon/__tests__/SVGIcon.tsx +39 -0
- package/src/icon/__tests__/TextIconSpacing.tsx +110 -0
- package/src/icon/__tests__/__snapshots__/FontIcon.tsx.snap +35 -0
- package/src/icon/__tests__/__snapshots__/IconRotator.tsx.snap +165 -0
- package/src/icon/__tests__/__snapshots__/SVGIcon.tsx.snap +47 -0
- package/src/icon/__tests__/__snapshots__/TextIconSpacing.tsx.snap +101 -0
- package/src/icon/__tests__/__snapshots__/styles.ts.snap +29 -0
- package/src/icon/__tests__/styles.ts +28 -0
- package/src/icon/_icon.scss +220 -0
- package/src/icon/iconConfig.tsx +295 -0
- package/src/icon/material.ts +5049 -0
- package/src/icon/styles.ts +188 -0
- package/src/index.ts +324 -0
- package/src/interaction/Ripple.tsx +66 -0
- package/src/interaction/RippleContainer.tsx +42 -0
- package/src/interaction/UserInteractionModeProvider.tsx +198 -0
- package/src/interaction/__tests__/UserInteractionModeProvider.tsx +121 -0
- package/src/interaction/__tests__/__snapshots__/useHigherContrastChildren.tsx.snap +79 -0
- package/src/interaction/__tests__/useHigherContrastChildren.tsx +97 -0
- package/src/interaction/_interaction.scss +427 -0
- package/src/interaction/config.ts +32 -0
- package/src/interaction/types.ts +179 -0
- package/src/interaction/useElementInteraction.tsx +476 -0
- package/src/interaction/useHigherContrastChildren.tsx +90 -0
- package/src/interaction/utils.ts +137 -0
- package/src/layout/LayoutAppBar.tsx +96 -0
- package/src/layout/LayoutNav.tsx +201 -0
- package/src/layout/LayoutWindowSplitter.tsx +129 -0
- package/src/layout/Main.tsx +94 -0
- package/src/layout/__tests__/LayoutAppBar.tsx +94 -0
- package/src/layout/__tests__/LayoutNav.tsx +78 -0
- package/src/layout/__tests__/LayoutWindowSplitter.tsx +63 -0
- package/src/layout/__tests__/Main.tsx +51 -0
- package/src/layout/__tests__/__snapshots__/LayoutAppBar.tsx.snap +78 -0
- package/src/layout/__tests__/__snapshots__/LayoutNav.tsx.snap +31 -0
- package/src/layout/__tests__/__snapshots__/LayoutWindowSplitter.tsx.snap +60 -0
- package/src/layout/__tests__/__snapshots__/Main.tsx.snap +32 -0
- package/src/layout/__tests__/__snapshots__/useExpandableLayout.tsx.snap +116 -0
- package/src/layout/__tests__/__snapshots__/useLayoutTree.tsx.snap +676 -0
- package/src/layout/__tests__/__snapshots__/useResizableLayout.tsx.snap +95 -0
- package/src/layout/__tests__/__snapshots__/useTemporaryLayout.tsx.snap +141 -0
- package/src/layout/__tests__/useExpandableLayout.tsx +260 -0
- package/src/layout/__tests__/useLayoutTree.tsx +207 -0
- package/src/layout/__tests__/useResizableLayout.tsx +158 -0
- package/src/layout/__tests__/useTemporaryLayout.tsx +104 -0
- package/src/layout/_layout.scss +156 -0
- package/src/layout/layoutNavStyles.ts +27 -0
- package/src/layout/layoutWindowSplitterStyles.ts +45 -0
- package/src/layout/mainStyles.ts +44 -0
- package/src/layout/useExpandableLayout.ts +219 -0
- package/src/layout/useHorizontalLayoutTransition.ts +88 -0
- package/src/layout/useLayoutAppBarHeight.ts +98 -0
- package/src/layout/useLayoutTree.ts +202 -0
- package/src/layout/useLayoutWindowSplitter.ts +137 -0
- package/src/layout/useMainTabIndex.ts +17 -0
- package/src/layout/useResizableLayout.ts +150 -0
- package/src/layout/useTemporaryLayout.ts +168 -0
- package/src/link/Link.tsx +81 -0
- package/src/link/LinkProvider.tsx +51 -0
- package/src/link/SkipToMainContent.tsx +121 -0
- package/src/link/__tests__/Link.tsx +31 -0
- package/src/link/__tests__/SkipToMainContent.tsx +128 -0
- package/src/link/__tests__/__snapshots__/Link.tsx.snap +20 -0
- package/src/link/__tests__/__snapshots__/SkipToMainContent.tsx.snap +22 -0
- package/src/link/_link.scss +141 -0
- package/src/link/styles.ts +51 -0
- package/src/list/List.tsx +135 -0
- package/src/list/ListItem.tsx +262 -0
- package/src/list/ListItemAddon.tsx +65 -0
- package/src/list/ListItemChildren.tsx +118 -0
- package/src/list/ListItemLink.tsx +177 -0
- package/src/list/ListItemText.tsx +64 -0
- package/src/list/ListSubheader.tsx +78 -0
- package/src/list/__tests__/List.tsx +58 -0
- package/src/list/__tests__/ListItem.tsx +279 -0
- package/src/list/__tests__/ListItemLink.tsx +89 -0
- package/src/list/__tests__/ListSubheader.tsx +81 -0
- package/src/list/__tests__/__snapshots__/List.tsx.snap +41 -0
- package/src/list/__tests__/__snapshots__/ListItem.tsx.snap +414 -0
- package/src/list/__tests__/__snapshots__/ListItemLink.tsx.snap +73 -0
- package/src/list/__tests__/__snapshots__/ListSubheader.tsx.snap +99 -0
- package/src/list/__tests__/getListItemHeight.ts +176 -0
- package/src/list/_list.scss +319 -0
- package/src/list/getListItemHeight.ts +72 -0
- package/src/list/listItemStyles.ts +196 -0
- package/src/list/types.ts +205 -0
- package/src/media-queries/AppSizeProvider.tsx +139 -0
- package/src/media-queries/__tests__/AppSizeProvider.node.tsx +37 -0
- package/src/media-queries/__tests__/AppSizeProvider.tsx +119 -0
- package/src/media-queries/__tests__/useMediaQuery.node.tsx +20 -0
- package/src/media-queries/__tests__/useMediaQuery.tsx +59 -0
- package/src/media-queries/_media-queries.scss +63 -0
- package/src/media-queries/appSize.ts +120 -0
- package/src/media-queries/useMediaQuery.ts +53 -0
- package/src/menu/DropdownMenu.tsx +278 -0
- package/src/menu/Menu.tsx +584 -0
- package/src/menu/MenuBar.tsx +119 -0
- package/src/menu/MenuButton.tsx +135 -0
- package/src/menu/MenuConfigurationProvider.tsx +184 -0
- package/src/menu/MenuItem.tsx +69 -0
- package/src/menu/MenuItemButton.tsx +165 -0
- package/src/menu/MenuItemGroup.tsx +97 -0
- package/src/menu/MenuItemSeparator.tsx +57 -0
- package/src/menu/MenuSheet.tsx +130 -0
- package/src/menu/MenuVisibilityProvider.tsx +95 -0
- package/src/menu/MenuWidget.tsx +182 -0
- package/src/menu/MenuWidgetKeyboardProvider.tsx +35 -0
- package/src/menu/__tests__/DropdownMenu.tsx +618 -0
- package/src/menu/__tests__/MenuBar.tsx +345 -0
- package/src/menu/__tests__/MenuVisibilityProvider.tsx +34 -0
- package/src/menu/__tests__/__snapshots__/DropdownMenu.tsx.snap +292 -0
- package/src/menu/__tests__/__snapshots__/MenuBar.tsx.snap +87 -0
- package/src/menu/__tests__/utils.ts +121 -0
- package/src/menu/_menu.scss +137 -0
- package/src/menu/useContextMenu.ts +135 -0
- package/src/menu/useMenuBarProvider.ts +88 -0
- package/src/menu/utils.ts +62 -0
- package/src/movement/__tests__/findMatchIndex.ts +244 -0
- package/src/movement/__tests__/utils.ts +710 -0
- package/src/movement/constants.ts +36 -0
- package/src/movement/findMatchIndex.ts +100 -0
- package/src/movement/types.ts +278 -0
- package/src/movement/useKeyboardMovementProvider.ts +534 -0
- package/src/movement/utils.ts +262 -0
- package/src/overlay/Overlay.tsx +157 -0
- package/src/overlay/__tests__/Overlay.tsx +196 -0
- package/src/overlay/__tests__/__snapshots__/Overlay.tsx.snap +77 -0
- package/src/overlay/_overlay.scss +77 -0
- package/src/overlay/overlayStyles.ts +85 -0
- package/src/portal/Portal.tsx +46 -0
- package/src/portal/PortalContainerProvider.tsx +86 -0
- package/src/portal/__tests__/PortalContainerProvider.node.tsx +25 -0
- package/src/portal/__tests__/PortalContainerProvider.tsx +61 -0
- package/src/positioning/__tests__/__snapshots__/useFixedPositioning.tsx.snap +119 -0
- package/src/positioning/__tests__/createHorizontalPosition.ts +779 -0
- package/src/positioning/__tests__/createVerticalPosition.ts +464 -0
- package/src/positioning/__tests__/useFixedPositioning.tsx +213 -0
- package/src/positioning/__tests__/utils.ts +1311 -0
- package/src/positioning/constants.ts +126 -0
- package/src/positioning/createHorizontalPosition.ts +330 -0
- package/src/positioning/createVerticalPosition.ts +304 -0
- package/src/positioning/getFixedPosition.ts +175 -0
- package/src/positioning/types.ts +255 -0
- package/src/positioning/useFixedPositioning.ts +418 -0
- package/src/positioning/utils.ts +380 -0
- package/src/progress/CircularProgress.tsx +237 -0
- package/src/progress/LinearProgress.tsx +189 -0
- package/src/progress/__tests__/CircularProgress.tsx +131 -0
- package/src/progress/__tests__/LinearProgress.tsx +116 -0
- package/src/progress/__tests__/__snapshots__/CircularProgress.tsx.snap +478 -0
- package/src/progress/__tests__/__snapshots__/LinearProgress.tsx.snap +301 -0
- package/src/progress/__tests__/getProgressA11y.ts +16 -0
- package/src/progress/_progress.scss +577 -0
- package/src/progress/getProgressA11y.ts +25 -0
- package/src/progress/types.ts +78 -0
- package/src/responsive-item/ResponsiveItemContainer.tsx +181 -0
- package/src/responsive-item/ResponsiveItemOverlay.tsx +100 -0
- package/src/responsive-item/__tests__/ResponsiveItemContainer.tsx +56 -0
- package/src/responsive-item/__tests__/ResponsiveItemOverlay.tsx +66 -0
- package/src/responsive-item/__tests__/__snapshots__/ResponsiveItemContainer.tsx.snap +85 -0
- package/src/responsive-item/__tests__/__snapshots__/ResponsiveItemOverlay.tsx.snap +151 -0
- package/src/responsive-item/__tests__/__snapshots__/styles.ts.snap +9 -0
- package/src/responsive-item/__tests__/styles.ts +32 -0
- package/src/responsive-item/_responsive-item.scss +194 -0
- package/src/responsive-item/styles.ts +58 -0
- package/src/scroll/ScrollLock.tsx +16 -0
- package/src/scroll/getScrollbarWidth.ts +32 -0
- package/src/scroll/useScrollLock.ts +52 -0
- package/src/segmented-button/SegmentedButton.tsx +178 -0
- package/src/segmented-button/SegmentedButtonContainer.tsx +64 -0
- package/src/segmented-button/__tests__/SegmentedButton.tsx +61 -0
- package/src/segmented-button/__tests__/SegmentedButtonContainer.tsx +38 -0
- package/src/segmented-button/__tests__/__snapshots__/SegmentedButton.tsx.snap +116 -0
- package/src/segmented-button/__tests__/__snapshots__/SegmentedButtonContainer.tsx.snap +22 -0
- package/src/segmented-button/_segmented-button.scss +209 -0
- package/src/segmented-button/segmentedButtonContainerStyles.ts +25 -0
- package/src/segmented-button/segmentedButtonStyles.ts +40 -0
- package/src/sheet/Sheet.tsx +104 -0
- package/src/sheet/_sheet.scss +205 -0
- package/src/sheet/styles.ts +98 -0
- package/src/snackbar/DefaultToastRenderer.tsx +147 -0
- package/src/snackbar/Snackbar.tsx +189 -0
- package/src/snackbar/Toast.tsx +247 -0
- package/src/snackbar/ToastActionButton.tsx +71 -0
- package/src/snackbar/ToastCloseButton.tsx +88 -0
- package/src/snackbar/ToastContent.tsx +93 -0
- package/src/snackbar/ToastManager.tsx +566 -0
- package/src/snackbar/ToastManagerProvider.tsx +105 -0
- package/src/snackbar/__tests__/Snackbar.tsx +84 -0
- package/src/snackbar/__tests__/Toast.tsx +100 -0
- package/src/snackbar/__tests__/ToastActionButton.tsx +112 -0
- package/src/snackbar/__tests__/ToastCloseButton.tsx +140 -0
- package/src/snackbar/__tests__/ToastContent.tsx +88 -0
- package/src/snackbar/__tests__/ToastManagerProvider.tsx +832 -0
- package/src/snackbar/__tests__/__snapshots__/Snackbar.tsx.snap +76 -0
- package/src/snackbar/__tests__/__snapshots__/Toast.tsx.snap +52 -0
- package/src/snackbar/__tests__/__snapshots__/ToastActionButton.tsx.snap +36 -0
- package/src/snackbar/__tests__/__snapshots__/ToastCloseButton.tsx.snap +104 -0
- package/src/snackbar/__tests__/__snapshots__/ToastContent.tsx.snap +26 -0
- package/src/snackbar/__tests__/__snapshots__/ToastManagerProvider.tsx.snap +275 -0
- package/src/snackbar/_snackbar.scss +262 -0
- package/src/snackbar/snackbarStyles.ts +43 -0
- package/src/snackbar/toastContentStyles.ts +37 -0
- package/src/snackbar/toastStyles.ts +61 -0
- package/src/snackbar/useCurrentToastActions.ts +47 -0
- package/src/suspense/CircularProgressSuspense.tsx +49 -0
- package/src/suspense/NullSuspense.tsx +39 -0
- package/src/table/Table.tsx +147 -0
- package/src/table/TableBody.tsx +65 -0
- package/src/table/TableCell.tsx +362 -0
- package/src/table/TableCellContent.tsx +99 -0
- package/src/table/TableCheckbox.tsx +208 -0
- package/src/table/TableConfigurationProvider.tsx +133 -0
- package/src/table/TableContainer.tsx +52 -0
- package/src/table/TableContainerProvider.tsx +36 -0
- package/src/table/TableFooter.tsx +144 -0
- package/src/table/TableHeader.tsx +177 -0
- package/src/table/TableRow.tsx +95 -0
- package/src/table/__tests__/Table.tsx +320 -0
- package/src/table/__tests__/TableBody.tsx +52 -0
- package/src/table/__tests__/TableCheckbox.tsx +90 -0
- package/src/table/__tests__/TableContainer.tsx +31 -0
- package/src/table/__tests__/TableRow.tsx +69 -0
- package/src/table/__tests__/__snapshots__/Table.tsx.snap +2428 -0
- package/src/table/__tests__/__snapshots__/TableBody.tsx.snap +54 -0
- package/src/table/__tests__/__snapshots__/TableCheckbox.tsx.snap +142 -0
- package/src/table/__tests__/__snapshots__/TableContainer.tsx.snap +16 -0
- package/src/table/__tests__/__snapshots__/TableRow.tsx.snap +58 -0
- package/src/table/_table.scss +462 -0
- package/src/table/types.ts +83 -0
- package/src/tabs/Tab.tsx +139 -0
- package/src/tabs/TabList.tsx +237 -0
- package/src/tabs/TabListScrollButton.tsx +135 -0
- package/src/tabs/__tests__/Tab.tsx +28 -0
- package/src/tabs/__tests__/TabList.tsx +630 -0
- package/src/tabs/__tests__/__snapshots__/Tab.tsx.snap +85 -0
- package/src/tabs/__tests__/__snapshots__/TabList.tsx.snap +51 -0
- package/src/tabs/__tests__/useTabs.tsx +209 -0
- package/src/tabs/_tabs.scss +262 -0
- package/src/tabs/tabIndicatorStyles.ts +24 -0
- package/src/tabs/tabListScrollButtonStyles.ts +47 -0
- package/src/tabs/tabListStyles.ts +52 -0
- package/src/tabs/tabStyles.ts +48 -0
- package/src/tabs/useTabList.ts +215 -0
- package/src/tabs/useTabs.ts +494 -0
- package/src/tabs/utils.ts +84 -0
- package/src/test-utils/IntersectionObserver.ts +50 -0
- package/src/test-utils/README.md +150 -0
- package/src/test-utils/ResizeObserver.ts +273 -0
- package/src/test-utils/__tests__/ResizeObserver.ts +171 -0
- package/src/test-utils/drag.ts +84 -0
- package/src/test-utils/index.ts +8 -0
- package/src/test-utils/jest-setup.ts +9 -0
- package/src/test-utils/matchMedia.ts +198 -0
- package/src/test-utils/polyfills/IntersectionObserver.ts +8 -0
- package/src/test-utils/polyfills/ResizeObserver.ts +5 -0
- package/src/test-utils/polyfills/index.ts +5 -0
- package/src/test-utils/polyfills/matchMedia.ts +8 -0
- package/src/test-utils/polyfills/offsetParent.ts +39 -0
- package/src/test-utils/polyfills/scrollIntoView.ts +9 -0
- package/src/test-utils/render.tsx +45 -0
- package/src/test-utils/timers.ts +46 -0
- package/src/theme/LocalStorageColorSchemeProvider.tsx +130 -0
- package/src/theme/ThemeProvider.tsx +469 -0
- package/src/theme/__tests__/LocalStorageColorSchemeProvider.tsx +162 -0
- package/src/theme/__tests__/ThemeProvider.tsx +90 -0
- package/src/theme/__tests__/__snapshots__/useCSSVariables.tsx.snap +27 -0
- package/src/theme/__tests__/__snapshots__/useColorSchemeMetaTag.tsx.snap +15 -0
- package/src/theme/__tests__/useCSSVariables.tsx +177 -0
- package/src/theme/__tests__/useColorSchemeMetaTag.tsx +36 -0
- package/src/theme/__tests__/utils.ts +67 -0
- package/src/theme/_a11y.scss +114 -0
- package/src/theme/_colors.scss +1057 -0
- package/src/theme/_theme.scss +409 -0
- package/src/theme/colors.ts +275 -0
- package/src/theme/cssVars.ts +15 -0
- package/src/theme/types.ts +38 -0
- package/src/theme/useCSSVariables.ts +179 -0
- package/src/theme/useColorScheme.ts +135 -0
- package/src/theme/useColorSchemeMetaTag.ts +53 -0
- package/src/theme/useColorSchemeProvider.ts +116 -0
- package/src/theme/usePrefersColorScheme.ts +12 -0
- package/src/theme/utils.ts +195 -0
- package/src/tooltip/Tooltip.tsx +150 -0
- package/src/tooltip/TooltipHoverModeProvider.tsx +90 -0
- package/src/tooltip/__tests__/Tooltip.tsx +458 -0
- package/src/tooltip/__tests__/TooltipHoverModeProvider.tsx +89 -0
- package/src/tooltip/__tests__/__snapshots__/Tooltip.tsx.snap +67 -0
- package/src/tooltip/__tests__/useOverflowTooltip.tsx +77 -0
- package/src/tooltip/__tests__/utils.ts +94 -0
- package/src/tooltip/_tooltip.scss +161 -0
- package/src/tooltip/constants.ts +41 -0
- package/src/tooltip/tooltipStyles.ts +32 -0
- package/src/tooltip/useOverflowTooltip.ts +93 -0
- package/src/tooltip/useTooltip.ts +563 -0
- package/src/tooltip/useTooltipPosition.ts +101 -0
- package/src/tooltip/utils.ts +51 -0
- package/src/transition/CSSTransition.tsx +91 -0
- package/src/transition/Collapse.tsx +84 -0
- package/src/transition/CrossFade.tsx +117 -0
- package/src/transition/ScaleTransition.tsx +81 -0
- package/src/transition/SkeletonPlaceholder.tsx +164 -0
- package/src/transition/Slide.tsx +94 -0
- package/src/transition/SlideContainer.tsx +188 -0
- package/src/transition/__tests__/CSSTransition.tsx +176 -0
- package/src/transition/__tests__/Collapse.tsx +207 -0
- package/src/transition/__tests__/CrossFade.tsx +224 -0
- package/src/transition/__tests__/ScaleTransition.tsx +200 -0
- package/src/transition/__tests__/__snapshots__/CSSTransition.tsx.snap +145 -0
- package/src/transition/__tests__/__snapshots__/Collapse.tsx.snap +224 -0
- package/src/transition/__tests__/__snapshots__/CrossFade.tsx.snap +240 -0
- package/src/transition/__tests__/__snapshots__/ScaleTransition.tsx.snap +239 -0
- package/src/transition/__tests__/__snapshots__/useCollapseTransition.tsx.snap +361 -0
- package/src/transition/__tests__/__snapshots__/useCrossFadeTransition.tsx.snap +258 -0
- package/src/transition/__tests__/__snapshots__/useMaxWidthTransition.tsx.snap +68 -0
- package/src/transition/__tests__/__snapshots__/useScaleTransition.tsx.snap +209 -0
- package/src/transition/__tests__/useCSSTransition.tsx +186 -0
- package/src/transition/__tests__/useCollapseTransition.tsx +312 -0
- package/src/transition/__tests__/useCrossFadeTransition.tsx +225 -0
- package/src/transition/__tests__/useMaxWidthTransition.tsx +123 -0
- package/src/transition/__tests__/useScaleTransition.tsx +206 -0
- package/src/transition/__tests__/useTransition.tsx +472 -0
- package/src/transition/__tests__/utils.ts +595 -0
- package/src/transition/_transition.scss +354 -0
- package/src/transition/collapseStyles.ts +33 -0
- package/src/transition/maxWidthTransition.ts +24 -0
- package/src/transition/types.ts +615 -0
- package/src/transition/useCSSTransition.ts +227 -0
- package/src/transition/useCarousel.ts +250 -0
- package/src/transition/useCollapseTransition.ts +451 -0
- package/src/transition/useCrossFadeTransition.ts +128 -0
- package/src/transition/useMaxWidthTransition.ts +40 -0
- package/src/transition/useScaleTransition.ts +150 -0
- package/src/transition/useSkeletonPlaceholder.ts +276 -0
- package/src/transition/useSlideTransition.ts +113 -0
- package/src/transition/useTransition.ts +277 -0
- package/src/transition/utils.ts +148 -0
- package/src/tree/DefaultTreeItemRenderer.tsx +72 -0
- package/src/tree/Tree.tsx +327 -0
- package/src/tree/TreeGroup.tsx +94 -0
- package/src/tree/TreeItem.tsx +309 -0
- package/src/tree/TreeItemExpander.tsx +90 -0
- package/src/tree/TreeProvider.tsx +192 -0
- package/src/tree/__tests__/Tree.tsx +730 -0
- package/src/tree/__tests__/TreeGroup.tsx +75 -0
- package/src/tree/__tests__/TreeItemExpander.tsx +73 -0
- package/src/tree/__tests__/__snapshots__/Tree.tsx.snap +3618 -0
- package/src/tree/__tests__/__snapshots__/TreeItemExpander.tsx.snap +11 -0
- package/src/tree/__tests__/utils.ts +98 -0
- package/src/tree/_tree.scss +174 -0
- package/src/tree/styles.ts +160 -0
- package/src/tree/types.ts +147 -0
- package/src/tree/useTree.ts +68 -0
- package/src/tree/useTreeExpansion.ts +52 -0
- package/src/tree/useTreeItems.ts +137 -0
- package/src/tree/useTreeMovement.ts +205 -0
- package/src/tree/useTreeSelection.ts +63 -0
- package/src/tree/utils.ts +64 -0
- package/src/types.ts +176 -0
- package/src/typography/SrOnly.tsx +81 -0
- package/src/typography/TextContainer.tsx +106 -0
- package/src/typography/Typography.tsx +314 -0
- package/src/typography/WritingDirectionProvider.tsx +232 -0
- package/src/typography/__tests__/SrOnly.tsx +43 -0
- package/src/typography/__tests__/TextContainer.tsx +44 -0
- package/src/typography/__tests__/Typography.tsx +88 -0
- package/src/typography/__tests__/WritingDirectionProvider.node.tsx +27 -0
- package/src/typography/__tests__/WritingDirectionProvider.tsx +119 -0
- package/src/typography/__tests__/__snapshots__/SrOnly.tsx.snap +56 -0
- package/src/typography/__tests__/__snapshots__/TextContainer.tsx.snap +29 -0
- package/src/typography/__tests__/__snapshots__/Typography.tsx.snap +112 -0
- package/src/typography/_typography.scss +345 -0
- package/src/useAsyncAction.ts +200 -0
- package/src/useDebouncedFunction.ts +115 -0
- package/src/useDropzone.ts +227 -0
- package/src/useEnsuredId.ts +30 -0
- package/src/useEnsuredRef.ts +56 -0
- package/src/useEnsuredState.ts +50 -0
- package/src/useHtmlClassName.ts +19 -0
- package/src/useIntersectionObserver.ts +330 -0
- package/src/useIsomorphicLayoutEffect.ts +15 -0
- package/src/useLocalStorage.ts +589 -0
- package/src/useOrientation.ts +62 -0
- package/src/usePageInactive.ts +121 -0
- package/src/useResizeListener.ts +100 -0
- package/src/useResizeObserver.ts +272 -0
- package/src/useThrottledFunction.ts +131 -0
- package/src/useToggle.ts +56 -0
- package/src/useUnmounted.ts +44 -0
- package/src/useWindowSize.ts +115 -0
- package/src/utils/RenderRecursively.tsx +202 -0
- package/src/utils/__tests__/RenderRecursively.tsx +87 -0
- package/src/utils/__tests__/__snapshots__/RenderRecursively.tsx.snap +80 -0
- package/src/utils/__tests__/applyRef.ts +30 -0
- package/src/utils/__tests__/bem.ts +54 -0
- package/src/utils/__tests__/filters.ts +279 -0
- package/src/utils/__tests__/getPercentage.ts +104 -0
- package/src/utils/__tests__/getRangeSteps.ts +14 -0
- package/src/utils/__tests__/loop.ts +50 -0
- package/src/utils/__tests__/nearest.ts +83 -0
- package/src/utils/__tests__/parseCssLengthUnit.node.ts +28 -0
- package/src/utils/__tests__/parseCssLengthUnit.ts +47 -0
- package/src/utils/__tests__/wait.ts +12 -0
- package/src/utils/__tests__/withinRange.ts +24 -0
- package/src/utils/alphaNumericSort.ts +150 -0
- package/src/utils/applyRef.ts +43 -0
- package/src/utils/bem.ts +109 -0
- package/src/utils/filters.ts +320 -0
- package/src/utils/getClientPosition.ts +47 -0
- package/src/utils/getPercentage.ts +56 -0
- package/src/utils/getRangeDefaultValue.ts +35 -0
- package/src/utils/getRangeSteps.ts +24 -0
- package/src/utils/identity.ts +5 -0
- package/src/utils/isElementVisible.ts +43 -0
- package/src/utils/loop.ts +59 -0
- package/src/utils/nearest.ts +45 -0
- package/src/utils/parseCssLengthUnit.ts +65 -0
- package/src/utils/randomInt.ts +21 -0
- package/src/utils/wait.ts +18 -0
- package/src/utils/withinRange.ts +33 -0
- package/src/window-splitter/WindowSplitter.tsx +120 -0
- package/src/window-splitter/_window-splitter.scss +172 -0
- package/src/window-splitter/useWindowSplitter.ts +157 -0
- package/tsconfig.json +19 -0
- package/tsconfig.types.json +12 -0
|
@@ -0,0 +1,460 @@
|
|
|
1
|
+
function _check_private_redeclaration(obj, privateCollection) {
|
|
2
|
+
if (privateCollection.has(obj)) {
|
|
3
|
+
throw new TypeError("Cannot initialize the same private elements twice on an object");
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
function _class_apply_descriptor_get(receiver, descriptor) {
|
|
7
|
+
if (descriptor.get) {
|
|
8
|
+
return descriptor.get.call(receiver);
|
|
9
|
+
}
|
|
10
|
+
return descriptor.value;
|
|
11
|
+
}
|
|
12
|
+
function _class_apply_descriptor_set(receiver, descriptor, value) {
|
|
13
|
+
if (descriptor.set) {
|
|
14
|
+
descriptor.set.call(receiver, value);
|
|
15
|
+
} else {
|
|
16
|
+
if (!descriptor.writable) {
|
|
17
|
+
throw new TypeError("attempted to set read only private field");
|
|
18
|
+
}
|
|
19
|
+
descriptor.value = value;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
function _class_extract_field_descriptor(receiver, privateMap, action) {
|
|
23
|
+
if (!privateMap.has(receiver)) {
|
|
24
|
+
throw new TypeError("attempted to " + action + " private field on non-instance");
|
|
25
|
+
}
|
|
26
|
+
return privateMap.get(receiver);
|
|
27
|
+
}
|
|
28
|
+
function _class_private_field_get(receiver, privateMap) {
|
|
29
|
+
var descriptor = _class_extract_field_descriptor(receiver, privateMap, "get");
|
|
30
|
+
return _class_apply_descriptor_get(receiver, descriptor);
|
|
31
|
+
}
|
|
32
|
+
function _class_private_field_init(obj, privateMap, value) {
|
|
33
|
+
_check_private_redeclaration(obj, privateMap);
|
|
34
|
+
privateMap.set(obj, value);
|
|
35
|
+
}
|
|
36
|
+
function _class_private_field_set(receiver, privateMap, value) {
|
|
37
|
+
var descriptor = _class_extract_field_descriptor(receiver, privateMap, "set");
|
|
38
|
+
_class_apply_descriptor_set(receiver, descriptor, value);
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
function _define_property(obj, key, value) {
|
|
42
|
+
if (key in obj) {
|
|
43
|
+
Object.defineProperty(obj, key, {
|
|
44
|
+
value: value,
|
|
45
|
+
enumerable: true,
|
|
46
|
+
configurable: true,
|
|
47
|
+
writable: true
|
|
48
|
+
});
|
|
49
|
+
} else {
|
|
50
|
+
obj[key] = value;
|
|
51
|
+
}
|
|
52
|
+
return obj;
|
|
53
|
+
}
|
|
54
|
+
import { nanoid } from "nanoid";
|
|
55
|
+
/**
|
|
56
|
+
* @remarks \@since 6.0.0
|
|
57
|
+
*/ export const DEFAULT_TOAST_VISIBLE_TIME = 5000;
|
|
58
|
+
var _queue = /*#__PURE__*/ new WeakMap(), _timers = /*#__PURE__*/ new WeakMap(), _listeners = /*#__PURE__*/ new WeakMap(), _emit = /*#__PURE__*/ new WeakMap(), _getToastIndex = /*#__PURE__*/ new WeakMap(), _getToast = /*#__PURE__*/ new WeakMap(), /**
|
|
59
|
+
* Starts the exit transition for the currently shown toast and adds the next
|
|
60
|
+
* toast into the queue. This requires a manual call to `this.#emit()`
|
|
61
|
+
* afterwards.
|
|
62
|
+
*/ _addToastImmediately = /*#__PURE__*/ new WeakMap(), /**
|
|
63
|
+
* This calls `this.#emit()` if the toast was updated
|
|
64
|
+
*/ _updateToast = /*#__PURE__*/ new WeakMap();
|
|
65
|
+
/**
|
|
66
|
+
* @see {@link ToastManagerProvider}
|
|
67
|
+
*
|
|
68
|
+
* @remarks \@since 6.0.0
|
|
69
|
+
*/ export class ToastManager {
|
|
70
|
+
constructor(){
|
|
71
|
+
_class_private_field_init(this, _queue, {
|
|
72
|
+
writable: true,
|
|
73
|
+
value: void 0
|
|
74
|
+
});
|
|
75
|
+
_class_private_field_init(this, _timers, {
|
|
76
|
+
writable: true,
|
|
77
|
+
value: void 0
|
|
78
|
+
});
|
|
79
|
+
_class_private_field_init(this, _listeners, {
|
|
80
|
+
writable: true,
|
|
81
|
+
value: void 0
|
|
82
|
+
});
|
|
83
|
+
_class_private_field_init(this, _emit, {
|
|
84
|
+
writable: true,
|
|
85
|
+
value: ()=>{
|
|
86
|
+
// shallow clone to ensure react updates
|
|
87
|
+
_class_private_field_set(this, _queue, [
|
|
88
|
+
..._class_private_field_get(this, _queue)
|
|
89
|
+
]);
|
|
90
|
+
_class_private_field_get(this, _listeners).forEach((callback)=>{
|
|
91
|
+
callback(_class_private_field_get(this, _queue));
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
_class_private_field_init(this, _getToastIndex, {
|
|
96
|
+
writable: true,
|
|
97
|
+
value: (toastId)=>{
|
|
98
|
+
if (!toastId) {
|
|
99
|
+
return -1;
|
|
100
|
+
}
|
|
101
|
+
return _class_private_field_get(this, _queue).findIndex((toast)=>toast.toastId === toastId);
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
_class_private_field_init(this, _getToast, {
|
|
105
|
+
writable: true,
|
|
106
|
+
value: (toastId)=>{
|
|
107
|
+
return _class_private_field_get(this, _queue)[_class_private_field_get(this, _getToastIndex).call(this, toastId)];
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
_class_private_field_init(this, _addToastImmediately, {
|
|
111
|
+
writable: true,
|
|
112
|
+
value: (nextToast)=>{
|
|
113
|
+
const [current] = _class_private_field_get(this, _queue);
|
|
114
|
+
this.clearTimer(current.toastId);
|
|
115
|
+
_class_private_field_get(this, _queue)[0] = {
|
|
116
|
+
...current,
|
|
117
|
+
visible: false
|
|
118
|
+
};
|
|
119
|
+
if (nextToast.priority === "immediate") {
|
|
120
|
+
_class_private_field_get(this, _queue).splice(1, 0, nextToast, current);
|
|
121
|
+
} else {
|
|
122
|
+
_class_private_field_get(this, _queue).splice(1, 0, nextToast);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
_class_private_field_init(this, _updateToast, {
|
|
127
|
+
writable: true,
|
|
128
|
+
value: (toastIdOrIndex, patch)=>{
|
|
129
|
+
const index = typeof toastIdOrIndex === "number" ? toastIdOrIndex : _class_private_field_get(this, _getToastIndex).call(this, toastIdOrIndex);
|
|
130
|
+
if (index === -1) {
|
|
131
|
+
return;
|
|
132
|
+
}
|
|
133
|
+
_class_private_field_get(this, _queue)[index] = {
|
|
134
|
+
..._class_private_field_get(this, _queue)[index],
|
|
135
|
+
...patch
|
|
136
|
+
};
|
|
137
|
+
_class_private_field_get(this, _emit).call(this);
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
/**
|
|
141
|
+
* This is just used to subscribe to changes in the {@link useToastQueue}.
|
|
142
|
+
*
|
|
143
|
+
* ```tsx
|
|
144
|
+
* useSyncExternalStore(
|
|
145
|
+
* toastManager.subscribe,
|
|
146
|
+
* toastManager.getQueue,
|
|
147
|
+
* toastManager.getQueue,
|
|
148
|
+
* );
|
|
149
|
+
* ```
|
|
150
|
+
*
|
|
151
|
+
* @internal
|
|
152
|
+
*/ _define_property(this, "subscribe", (callback)=>{
|
|
153
|
+
_class_private_field_get(this, _listeners).push(callback);
|
|
154
|
+
return ()=>{
|
|
155
|
+
_class_private_field_set(this, _listeners, _class_private_field_get(this, _listeners).filter((cb)=>cb !== callback));
|
|
156
|
+
};
|
|
157
|
+
});
|
|
158
|
+
/**
|
|
159
|
+
* @see {@link subscribe}
|
|
160
|
+
* @internal
|
|
161
|
+
*/ _define_property(this, "getQueue", ()=>{
|
|
162
|
+
return _class_private_field_get(this, _queue);
|
|
163
|
+
});
|
|
164
|
+
/**
|
|
165
|
+
* Either adds the toast to the queue or updates an existing toast when using
|
|
166
|
+
* an existing `toastId`.
|
|
167
|
+
*
|
|
168
|
+
* @example
|
|
169
|
+
* Adding toasts
|
|
170
|
+
* ```tsx
|
|
171
|
+
* // create a toast when the user is offline that will not disappear
|
|
172
|
+
* addToast({ toastId: "offline", visibleTime: null });
|
|
173
|
+
*
|
|
174
|
+
* // add a new toast that displays `"Toast"` to the queue
|
|
175
|
+
* addToast({ children: "Toast!" });
|
|
176
|
+
*
|
|
177
|
+
* // add an online toast notification. since these three use the same toast
|
|
178
|
+
* // id, the hide timer will be reset each time
|
|
179
|
+
* addToast({ toastId: "online" });
|
|
180
|
+
* addToast({ toastId: "online" });
|
|
181
|
+
* addToast({ toastId: "online" });
|
|
182
|
+
*
|
|
183
|
+
* // add a server error toast to the queue where the second one will be
|
|
184
|
+
* // ignored
|
|
185
|
+
* addToast({
|
|
186
|
+
* toastId: "ServerError",
|
|
187
|
+
* theme: "error",
|
|
188
|
+
* duplicates: "prevent",
|
|
189
|
+
* });
|
|
190
|
+
* addToast({
|
|
191
|
+
* toastId: "ServerError",
|
|
192
|
+
* theme: "error",
|
|
193
|
+
* duplicates: "prevent",
|
|
194
|
+
* });
|
|
195
|
+
*
|
|
196
|
+
* // add a toast to the queue that has an action button that says "Goodbye"
|
|
197
|
+
* addToast({
|
|
198
|
+
* children: "Hello, world!",
|
|
199
|
+
* action: "Goodbye",
|
|
200
|
+
* });
|
|
201
|
+
*
|
|
202
|
+
* // add a toast to the queue that has an action button that says "Goodbye"
|
|
203
|
+
* // and a custom click handler
|
|
204
|
+
* addToast({
|
|
205
|
+
* children: "Hello, world!",
|
|
206
|
+
* action: {
|
|
207
|
+
* onClick: () => {
|
|
208
|
+
* logout();
|
|
209
|
+
* },
|
|
210
|
+
* children: "Goodbye",
|
|
211
|
+
* },
|
|
212
|
+
* });
|
|
213
|
+
*
|
|
214
|
+
* // add a toast to the queue that renders a react component in the content,
|
|
215
|
+
* // a custom action button implementation (using `ToastActionButton`), and a
|
|
216
|
+
* // close button
|
|
217
|
+
* addToast({
|
|
218
|
+
* children: <SomeCustomComponent />,
|
|
219
|
+
* actionButton: <SomeCustomActionButton />,
|
|
220
|
+
* closeButton: true,
|
|
221
|
+
* });
|
|
222
|
+
* ```
|
|
223
|
+
*/ _define_property(this, "addToast", (toast)=>{
|
|
224
|
+
const { toastId = nanoid(), visibleTime = DEFAULT_TOAST_VISIBLE_TIME, role = visibleTime === null ? "alert" : undefined, priority = "normal", duplicates = "restart" } = toast;
|
|
225
|
+
const existingIndex = _class_private_field_get(this, _getToastIndex).call(this, toast.toastId);
|
|
226
|
+
if (existingIndex !== -1 && duplicates !== "allow") {
|
|
227
|
+
const existingToast = _class_private_field_get(this, _queue)[existingIndex];
|
|
228
|
+
// reorder/move the existing toast to be the next item in the queue by:
|
|
229
|
+
// - removing the toast from the queue
|
|
230
|
+
// - inserting it into the next position with the updates
|
|
231
|
+
if (priority === "next" && existingIndex > 1) {
|
|
232
|
+
_class_private_field_get(this, _queue).splice(existingIndex, 1);
|
|
233
|
+
_class_private_field_get(this, _queue).splice(1, 0, {
|
|
234
|
+
...existingToast,
|
|
235
|
+
...toast
|
|
236
|
+
});
|
|
237
|
+
_class_private_field_get(this, _emit).call(this);
|
|
238
|
+
return;
|
|
239
|
+
}
|
|
240
|
+
// only need to reorder the queue if it is not being shown
|
|
241
|
+
if ((priority === "replace" || priority === "immediate") && existingIndex !== 0) {
|
|
242
|
+
_class_private_field_get(this, _queue).splice(existingIndex, 1);
|
|
243
|
+
_class_private_field_get(this, _addToastImmediately).call(this, {
|
|
244
|
+
...existingToast,
|
|
245
|
+
...toast
|
|
246
|
+
});
|
|
247
|
+
_class_private_field_get(this, _emit).call(this);
|
|
248
|
+
return;
|
|
249
|
+
}
|
|
250
|
+
const timers = _class_private_field_get(this, _timers).get(toastId);
|
|
251
|
+
if (existingToast.visible && duplicates === "restart" && timers) {
|
|
252
|
+
_class_private_field_get(this, _timers).set(toastId, {
|
|
253
|
+
...timers,
|
|
254
|
+
elapsedTime: 0
|
|
255
|
+
});
|
|
256
|
+
this.startRemoveTimeout(toastId);
|
|
257
|
+
}
|
|
258
|
+
_class_private_field_get(this, _updateToast).call(this, existingIndex, toast);
|
|
259
|
+
return;
|
|
260
|
+
}
|
|
261
|
+
const nextToast = {
|
|
262
|
+
...toast,
|
|
263
|
+
role,
|
|
264
|
+
paused: false,
|
|
265
|
+
visible: true,
|
|
266
|
+
toastId,
|
|
267
|
+
priority,
|
|
268
|
+
duplicates,
|
|
269
|
+
visibleTime
|
|
270
|
+
};
|
|
271
|
+
const queueSize = _class_private_field_get(this, _queue).length;
|
|
272
|
+
if (priority === "next" && queueSize > 1) {
|
|
273
|
+
_class_private_field_get(this, _queue).splice(1, 0, nextToast);
|
|
274
|
+
} else if ((priority === "replace" || priority === "immediate") && queueSize > 0) {
|
|
275
|
+
_class_private_field_get(this, _addToastImmediately).call(this, nextToast);
|
|
276
|
+
} else {
|
|
277
|
+
_class_private_field_get(this, _queue).push(nextToast);
|
|
278
|
+
}
|
|
279
|
+
_class_private_field_get(this, _emit).call(this);
|
|
280
|
+
});
|
|
281
|
+
/**
|
|
282
|
+
* Attempts to start the timeout for removing the toast when the `visibleTime`
|
|
283
|
+
* is not null for a toast.
|
|
284
|
+
*
|
|
285
|
+
* @param toastId - The specific toastId to update
|
|
286
|
+
*/ _define_property(this, "startRemoveTimeout", (toastId)=>{
|
|
287
|
+
const toast = _class_private_field_get(this, _getToast).call(this, toastId);
|
|
288
|
+
if (!toast) {
|
|
289
|
+
return;
|
|
290
|
+
}
|
|
291
|
+
const { visibleTime } = toast;
|
|
292
|
+
if (visibleTime === null) {
|
|
293
|
+
// Must manually be closed
|
|
294
|
+
return;
|
|
295
|
+
}
|
|
296
|
+
const cached = _class_private_field_get(this, _timers).get(toastId);
|
|
297
|
+
const timers = cached && {
|
|
298
|
+
...cached
|
|
299
|
+
} || {
|
|
300
|
+
inactive: false,
|
|
301
|
+
startTime: Date.now(),
|
|
302
|
+
elapsedTime: 0
|
|
303
|
+
};
|
|
304
|
+
window.clearTimeout(timers.exitTimeout);
|
|
305
|
+
let duration = visibleTime;
|
|
306
|
+
if (timers.elapsedTime) {
|
|
307
|
+
duration -= timers.elapsedTime;
|
|
308
|
+
}
|
|
309
|
+
timers.inactive = false;
|
|
310
|
+
timers.exitTimeout = window.setTimeout(()=>{
|
|
311
|
+
this.removeToast(toastId, true);
|
|
312
|
+
}, duration);
|
|
313
|
+
_class_private_field_get(this, _timers).set(toastId, timers);
|
|
314
|
+
});
|
|
315
|
+
/**
|
|
316
|
+
* Pauses the remove timeout for a specific toast normally with hover events
|
|
317
|
+
* or the browser becoming inactive.
|
|
318
|
+
*
|
|
319
|
+
* @param toastId - The specific toastId to pause
|
|
320
|
+
*/ _define_property(this, "pauseRemoveTimeout", (toastId)=>{
|
|
321
|
+
const toast = _class_private_field_get(this, _getToast).call(this, toastId);
|
|
322
|
+
const cached = _class_private_field_get(this, _timers).get(toastId);
|
|
323
|
+
if (!toast || !cached || cached.inactive) {
|
|
324
|
+
return;
|
|
325
|
+
}
|
|
326
|
+
window.clearTimeout(cached.exitTimeout);
|
|
327
|
+
const timers = {
|
|
328
|
+
...cached
|
|
329
|
+
};
|
|
330
|
+
timers.inactive = true;
|
|
331
|
+
timers.elapsedTime = Date.now() - timers.startTime + timers.elapsedTime;
|
|
332
|
+
_class_private_field_get(this, _timers).set(toastId, timers);
|
|
333
|
+
_class_private_field_get(this, _updateToast).call(this, toastId, {
|
|
334
|
+
paused: true
|
|
335
|
+
});
|
|
336
|
+
});
|
|
337
|
+
/**
|
|
338
|
+
* Resumes the current remove timeout if it was paused by
|
|
339
|
+
* {@link pauseRemoveTimeout}.
|
|
340
|
+
*
|
|
341
|
+
* @param toastId - The specific toastId to resume
|
|
342
|
+
*/ _define_property(this, "resumeRemoveTimeout", (toastId)=>{
|
|
343
|
+
const toastIndex = _class_private_field_get(this, _getToastIndex).call(this, toastId);
|
|
344
|
+
const timers = _class_private_field_get(this, _timers).get(toastId);
|
|
345
|
+
if (toastIndex === -1 || !timers?.startTime) {
|
|
346
|
+
return;
|
|
347
|
+
}
|
|
348
|
+
_class_private_field_get(this, _updateToast).call(this, toastIndex, {
|
|
349
|
+
paused: false
|
|
350
|
+
});
|
|
351
|
+
this.startRemoveTimeout(toastId);
|
|
352
|
+
});
|
|
353
|
+
/**
|
|
354
|
+
* Removes a toast by id from the queue without any exit animation.
|
|
355
|
+
*
|
|
356
|
+
* @param toastId - The specific {@link QueuedToast.toastId}
|
|
357
|
+
* @param transition - Set this to `true` to remove the toast by the exit
|
|
358
|
+
* transition instead of immediately.
|
|
359
|
+
*/ _define_property(this, "removeToast", (toastId, transition)=>{
|
|
360
|
+
const toastIndex = _class_private_field_get(this, _getToastIndex).call(this, toastId);
|
|
361
|
+
if (toastIndex === -1) {
|
|
362
|
+
return;
|
|
363
|
+
}
|
|
364
|
+
if (transition) {
|
|
365
|
+
this.clearTimer(toastId);
|
|
366
|
+
_class_private_field_get(this, _updateToast).call(this, toastIndex, {
|
|
367
|
+
visible: false
|
|
368
|
+
});
|
|
369
|
+
return;
|
|
370
|
+
}
|
|
371
|
+
_class_private_field_get(this, _queue).splice(toastIndex, 1);
|
|
372
|
+
_class_private_field_get(this, _emit).call(this);
|
|
373
|
+
});
|
|
374
|
+
/**
|
|
375
|
+
* Clears any pending timers for the provided toast id. This should generally
|
|
376
|
+
* be used in the `useEffect` cleanup effect for any custom toast renderer
|
|
377
|
+
* implementations.
|
|
378
|
+
*
|
|
379
|
+
* @example
|
|
380
|
+
* ```tsx
|
|
381
|
+
* const { toastId } = toast;
|
|
382
|
+
* const toastManager = useToastManager();
|
|
383
|
+
*
|
|
384
|
+
* useEffect(() => {
|
|
385
|
+
* return () => {
|
|
386
|
+
* toastManager.clearTimer(toastId):
|
|
387
|
+
* }
|
|
388
|
+
* }, [toastManager, toastId]);
|
|
389
|
+
* ```
|
|
390
|
+
*/ _define_property(this, "clearTimer", (toastId)=>{
|
|
391
|
+
const timer = _class_private_field_get(this, _timers).get(toastId);
|
|
392
|
+
window.clearTimeout(timer?.exitTimeout);
|
|
393
|
+
_class_private_field_get(this, _timers).delete(toastId);
|
|
394
|
+
});
|
|
395
|
+
/**
|
|
396
|
+
* Removes first toast from the queue without any exit animation. You most
|
|
397
|
+
* likely want to use {@link removeToast} instead.
|
|
398
|
+
*/ _define_property(this, "popToast", ()=>{
|
|
399
|
+
_class_private_field_get(this, _queue).pop();
|
|
400
|
+
_class_private_field_get(this, _emit).call(this);
|
|
401
|
+
});
|
|
402
|
+
/**
|
|
403
|
+
* Removes all toasts from the queue. There will be no exit animation.
|
|
404
|
+
*
|
|
405
|
+
* @param disableEmit - Set this to `true` to disable emitting the empty queue.
|
|
406
|
+
* Mostly used for tests.
|
|
407
|
+
*/ _define_property(this, "clearToasts", (disableEmit = false)=>{
|
|
408
|
+
_class_private_field_set(this, _queue, []);
|
|
409
|
+
_class_private_field_get(this, _timers).forEach((meta)=>{
|
|
410
|
+
window.clearTimeout(meta.exitTimeout);
|
|
411
|
+
});
|
|
412
|
+
_class_private_field_get(this, _timers).clear();
|
|
413
|
+
if (!disableEmit) {
|
|
414
|
+
_class_private_field_get(this, _emit).call(this);
|
|
415
|
+
}
|
|
416
|
+
});
|
|
417
|
+
_class_private_field_set(this, _queue, []);
|
|
418
|
+
_class_private_field_set(this, _timers, new Map());
|
|
419
|
+
_class_private_field_set(this, _listeners, []);
|
|
420
|
+
// All of the class methods must be arrow functions to preserve the correct
|
|
421
|
+
// `this` value. If they aren't arrow functions, I'd have to wrap each call
|
|
422
|
+
// in an arrow function to work.
|
|
423
|
+
//
|
|
424
|
+
// i.e.
|
|
425
|
+
// useSyncExternalStore(
|
|
426
|
+
// (cb) => manager.subscribe(cb),
|
|
427
|
+
// () => manager.getQueue(),
|
|
428
|
+
// () => manager.getQueue(),
|
|
429
|
+
// );
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
/**
|
|
433
|
+
* The default toast manager for react-md apps that will allow toasts to be
|
|
434
|
+
* added without setting up the {@link ToastManagerProvider}.
|
|
435
|
+
*
|
|
436
|
+
* @internal
|
|
437
|
+
* @remarks \@since 6.0.0
|
|
438
|
+
*/ export const toastManager = new ToastManager();
|
|
439
|
+
/**
|
|
440
|
+
* @see {@link ToastManager.addToast}
|
|
441
|
+
* @remarks \@since 6.0.0
|
|
442
|
+
*/ export const addToast = (toast)=>toastManager.addToast(toast);
|
|
443
|
+
/**
|
|
444
|
+
* @see {@link ToastManager.startRemoveTimeout}
|
|
445
|
+
* @remarks \@since 6.0.0
|
|
446
|
+
*/ export const startRemoveToastTimeout = (toastId)=>toastManager.startRemoveTimeout(toastId);
|
|
447
|
+
/**
|
|
448
|
+
* @see {@link ToastManager.popToast}
|
|
449
|
+
* @remarks \@since 6.0.0
|
|
450
|
+
*/ export const popToast = ()=>toastManager.popToast();
|
|
451
|
+
/**
|
|
452
|
+
* @see {@link ToastManager.removeToast}
|
|
453
|
+
* @remarks \@since 6.0.0
|
|
454
|
+
*/ export const removeToast = (toastId, transition)=>toastManager.removeToast(toastId, transition);
|
|
455
|
+
/**
|
|
456
|
+
* @see {@link ToastManager.clearToasts}
|
|
457
|
+
* @remarks \@since 6.0.0
|
|
458
|
+
*/ export const clearToasts = ()=>toastManager.clearToasts();
|
|
459
|
+
|
|
460
|
+
//# sourceMappingURL=ToastManager.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/snackbar/ToastManager.tsx"],"sourcesContent":["import { nanoid } from \"nanoid\";\nimport { type ConfigurableToastProps } from \"./Toast.js\";\n\n/**\n * @remarks \\@since 6.0.0\n */\nexport const DEFAULT_TOAST_VISIBLE_TIME = 5000;\n\n/**\n * - `\"normal\"` - the toast will be added to the end of the queue\n * - `\"next\"` - the toast will be inserted next-in-line in the queue, waiting\n * for the current visible toast to exit before being shown. If the toast does\n * not support duplicates, the existing toast will be moved instead and merged\n * with the toast.\n * - `\"replace\"` - if there is a currently visible toast, it will start the\n * leave transition and display the newly added toast instead.\n * - `\"immediate\"` - the same behavior as `\"replace\"` except that if there was a\n * currently visible toast, it will be shown once the newly added toast again.\n *\n * @remarks \\@since 6.0.0 Renamed from `MessagePriority` to `ToastPriority`\n */\nexport type ToastPriority = \"normal\" | \"next\" | \"replace\" | \"immediate\";\n\n/**\n * - `\"allow\"` - toasts with the same `toastId` can be added into the queue, but\n * the leave timeout behavior might not work if multiple toasts can be shown\n * at the same time.\n * - `\"restart\"` - (default) toasts that have the same `toastId` as a toast\n * being shown will restart the exit timeout and update the toast with any\n * differences in the toast. If the toast is not currently being shown, a new\n * toast will not be added.\n * - `\"update\"` - toasts that have the same `toastId` will just update the toast\n * with the latest content while maintaining any existing timeouts\n *\n * @remarks \\@since 6.0.0 Renamed from `DuplicateBehavior`\n */\nexport type ToastDuplicateBehavior = \"allow\" | \"restart\" | \"update\";\n\n/**\n * @remarks \\@since 6.0.0\n */\nexport interface ToastMeta {\n /**\n * This will be `true` if the exit timeout has been paused either by hovering\n * the toast or the page has become inactive through blur or minimizing.\n */\n paused: boolean;\n\n /**\n * This will be `true` when the toast should be visible and `false` during the\n * exit animation.\n */\n visible: boolean;\n\n /**\n * The current toast's id which can be used with the:\n * - {@link ToastManager.removeToast}\n * - {@link ToastManager.startRemoveTimeout}\n * - {@link ToastManager.pauseRemoveTimeout}\n * - {@link ToastManager.resumeRemoveTimeout}\n */\n toastId: string;\n priority: ToastPriority;\n duplicates: ToastDuplicateBehavior;\n visibleTime: number | null;\n}\n\n/**\n * @remarks \\@since 6.0.0\n */\nexport interface CreateToastOptions extends ConfigurableToastProps {\n /**\n * @defaultValue `nanoid()`\n */\n toastId?: string;\n\n /**\n * @see {@link ToastDuplicateBehavior}\n * @defaultValue `\"restart\"`\n */\n duplicates?: ToastDuplicateBehavior;\n\n /**\n * @see {@link ToastPriority}\n * @defaultValue `\"normal\"`\n */\n priority?: ToastPriority;\n\n /**\n * Set this to `null` to prevent the toast from automatically hiding,\n * otherwise set this to the number of milliseconds to remain visible.\n *\n * @see {@link DEFAULT_TOAST_VISIBLE_TIME}\n * @defaultValue `DEFAULT_TOAST_VISIBLE_TIME`\n */\n visibleTime?: number | null;\n}\n\n/**\n * @remarks \\@since 6.0.0\n */\nexport interface QueuedToast extends ConfigurableToastProps, ToastMeta {}\n\n/**\n * @remarks \\@since 6.0.0\n */\nexport type ToastQueue = readonly Readonly<QueuedToast>[];\n\n/**\n * @remarks \\@since 6.0.0\n */\nexport type ToastCallback = (queue: ToastQueue) => void;\n\n/**\n * @internal\n * @remarks \\@since 6.0.0\n */\nexport interface ToastVisibilityTimers {\n inactive: boolean;\n startTime: number;\n elapsedTime: number;\n exitTimeout?: number;\n}\n\n/**\n * @see {@link ToastManagerProvider}\n *\n * @remarks \\@since 6.0.0\n */\nexport class ToastManager {\n #queue: QueuedToast[];\n #timers: Map<string, ToastVisibilityTimers>;\n #listeners: ToastCallback[];\n\n constructor() {\n this.#queue = [];\n this.#timers = new Map();\n this.#listeners = [];\n\n // All of the class methods must be arrow functions to preserve the correct\n // `this` value. If they aren't arrow functions, I'd have to wrap each call\n // in an arrow function to work.\n //\n // i.e.\n // useSyncExternalStore(\n // (cb) => manager.subscribe(cb),\n // () => manager.getQueue(),\n // () => manager.getQueue(),\n // );\n }\n\n #emit = (): void => {\n // shallow clone to ensure react updates\n this.#queue = [...this.#queue];\n this.#listeners.forEach((callback) => {\n callback(this.#queue);\n });\n };\n\n #getToastIndex = (toastId: string | undefined): number => {\n if (!toastId) {\n return -1;\n }\n\n return this.#queue.findIndex((toast) => toast.toastId === toastId);\n };\n\n #getToast = (toastId: string | undefined): QueuedToast | undefined => {\n return this.#queue[this.#getToastIndex(toastId)];\n };\n\n /**\n * Starts the exit transition for the currently shown toast and adds the next\n * toast into the queue. This requires a manual call to `this.#emit()`\n * afterwards.\n */\n #addToastImmediately = (nextToast: QueuedToast): void => {\n const [current] = this.#queue;\n this.clearTimer(current.toastId);\n this.#queue[0] = {\n ...current,\n visible: false,\n };\n if (nextToast.priority === \"immediate\") {\n this.#queue.splice(1, 0, nextToast, current);\n } else {\n this.#queue.splice(1, 0, nextToast);\n }\n };\n\n /**\n * This calls `this.#emit()` if the toast was updated\n */\n #updateToast = (\n toastIdOrIndex: string | number,\n patch: Partial<QueuedToast>\n ): void => {\n const index =\n typeof toastIdOrIndex === \"number\"\n ? toastIdOrIndex\n : this.#getToastIndex(toastIdOrIndex);\n\n if (index === -1) {\n return;\n }\n\n this.#queue[index] = {\n ...this.#queue[index],\n ...patch,\n };\n this.#emit();\n };\n\n /**\n * This is just used to subscribe to changes in the {@link useToastQueue}.\n *\n * ```tsx\n * useSyncExternalStore(\n * toastManager.subscribe,\n * toastManager.getQueue,\n * toastManager.getQueue,\n * );\n * ```\n *\n * @internal\n */\n subscribe = (callback: ToastCallback): (() => void) => {\n this.#listeners.push(callback);\n\n return () => {\n this.#listeners = this.#listeners.filter((cb) => cb !== callback);\n };\n };\n\n /**\n * @see {@link subscribe}\n * @internal\n */\n getQueue = (): ToastQueue => {\n return this.#queue;\n };\n\n /**\n * Either adds the toast to the queue or updates an existing toast when using\n * an existing `toastId`.\n *\n * @example\n * Adding toasts\n * ```tsx\n * // create a toast when the user is offline that will not disappear\n * addToast({ toastId: \"offline\", visibleTime: null });\n *\n * // add a new toast that displays `\"Toast\"` to the queue\n * addToast({ children: \"Toast!\" });\n *\n * // add an online toast notification. since these three use the same toast\n * // id, the hide timer will be reset each time\n * addToast({ toastId: \"online\" });\n * addToast({ toastId: \"online\" });\n * addToast({ toastId: \"online\" });\n *\n * // add a server error toast to the queue where the second one will be\n * // ignored\n * addToast({\n * toastId: \"ServerError\",\n * theme: \"error\",\n * duplicates: \"prevent\",\n * });\n * addToast({\n * toastId: \"ServerError\",\n * theme: \"error\",\n * duplicates: \"prevent\",\n * });\n *\n * // add a toast to the queue that has an action button that says \"Goodbye\"\n * addToast({\n * children: \"Hello, world!\",\n * action: \"Goodbye\",\n * });\n *\n * // add a toast to the queue that has an action button that says \"Goodbye\"\n * // and a custom click handler\n * addToast({\n * children: \"Hello, world!\",\n * action: {\n * onClick: () => {\n * logout();\n * },\n * children: \"Goodbye\",\n * },\n * });\n *\n * // add a toast to the queue that renders a react component in the content,\n * // a custom action button implementation (using `ToastActionButton`), and a\n * // close button\n * addToast({\n * children: <SomeCustomComponent />,\n * actionButton: <SomeCustomActionButton />,\n * closeButton: true,\n * });\n * ```\n */\n addToast = (toast: CreateToastOptions): void => {\n const {\n toastId = nanoid(),\n visibleTime = DEFAULT_TOAST_VISIBLE_TIME,\n role = visibleTime === null ? \"alert\" : undefined,\n priority = \"normal\",\n duplicates = \"restart\",\n } = toast;\n\n const existingIndex = this.#getToastIndex(toast.toastId);\n if (existingIndex !== -1 && duplicates !== \"allow\") {\n const existingToast = this.#queue[existingIndex];\n\n // reorder/move the existing toast to be the next item in the queue by:\n // - removing the toast from the queue\n // - inserting it into the next position with the updates\n if (priority === \"next\" && existingIndex > 1) {\n this.#queue.splice(existingIndex, 1);\n this.#queue.splice(1, 0, { ...existingToast, ...toast });\n this.#emit();\n return;\n }\n\n // only need to reorder the queue if it is not being shown\n if (\n (priority === \"replace\" || priority === \"immediate\") &&\n existingIndex !== 0\n ) {\n this.#queue.splice(existingIndex, 1);\n this.#addToastImmediately({\n ...existingToast,\n ...toast,\n });\n this.#emit();\n return;\n }\n\n const timers = this.#timers.get(toastId);\n if (existingToast.visible && duplicates === \"restart\" && timers) {\n this.#timers.set(toastId, { ...timers, elapsedTime: 0 });\n this.startRemoveTimeout(toastId);\n }\n\n this.#updateToast(existingIndex, toast);\n return;\n }\n\n const nextToast: QueuedToast = {\n ...toast,\n role,\n paused: false,\n visible: true,\n toastId,\n priority,\n duplicates,\n visibleTime,\n };\n\n const queueSize = this.#queue.length;\n if (priority === \"next\" && queueSize > 1) {\n this.#queue.splice(1, 0, nextToast);\n } else if (\n (priority === \"replace\" || priority === \"immediate\") &&\n queueSize > 0\n ) {\n this.#addToastImmediately(nextToast);\n } else {\n this.#queue.push(nextToast);\n }\n\n this.#emit();\n };\n\n /**\n * Attempts to start the timeout for removing the toast when the `visibleTime`\n * is not null for a toast.\n *\n * @param toastId - The specific toastId to update\n */\n startRemoveTimeout = (toastId: string): void => {\n const toast = this.#getToast(toastId);\n if (!toast) {\n return;\n }\n\n const { visibleTime } = toast;\n if (visibleTime === null) {\n // Must manually be closed\n return;\n }\n\n const cached = this.#timers.get(toastId);\n const timers = (cached && { ...cached }) || {\n inactive: false,\n startTime: Date.now(),\n elapsedTime: 0,\n };\n window.clearTimeout(timers.exitTimeout);\n\n let duration = visibleTime;\n if (timers.elapsedTime) {\n duration -= timers.elapsedTime;\n }\n\n timers.inactive = false;\n timers.exitTimeout = window.setTimeout(() => {\n this.removeToast(toastId, true);\n }, duration);\n this.#timers.set(toastId, timers);\n };\n\n /**\n * Pauses the remove timeout for a specific toast normally with hover events\n * or the browser becoming inactive.\n *\n * @param toastId - The specific toastId to pause\n */\n pauseRemoveTimeout = (toastId: string): void => {\n const toast = this.#getToast(toastId);\n const cached = this.#timers.get(toastId);\n if (!toast || !cached || cached.inactive) {\n return;\n }\n\n window.clearTimeout(cached.exitTimeout);\n const timers = { ...cached };\n timers.inactive = true;\n timers.elapsedTime = Date.now() - timers.startTime + timers.elapsedTime;\n this.#timers.set(toastId, timers);\n this.#updateToast(toastId, { paused: true });\n };\n\n /**\n * Resumes the current remove timeout if it was paused by\n * {@link pauseRemoveTimeout}.\n *\n * @param toastId - The specific toastId to resume\n */\n resumeRemoveTimeout = (toastId: string): void => {\n const toastIndex = this.#getToastIndex(toastId);\n const timers = this.#timers.get(toastId);\n if (toastIndex === -1 || !timers?.startTime) {\n return;\n }\n\n this.#updateToast(toastIndex, { paused: false });\n this.startRemoveTimeout(toastId);\n };\n\n /**\n * Removes a toast by id from the queue without any exit animation.\n *\n * @param toastId - The specific {@link QueuedToast.toastId}\n * @param transition - Set this to `true` to remove the toast by the exit\n * transition instead of immediately.\n */\n removeToast = (toastId: string, transition: boolean): void => {\n const toastIndex = this.#getToastIndex(toastId);\n if (toastIndex === -1) {\n return;\n }\n\n if (transition) {\n this.clearTimer(toastId);\n this.#updateToast(toastIndex, { visible: false });\n return;\n }\n\n this.#queue.splice(toastIndex, 1);\n this.#emit();\n };\n\n /**\n * Clears any pending timers for the provided toast id. This should generally\n * be used in the `useEffect` cleanup effect for any custom toast renderer\n * implementations.\n *\n * @example\n * ```tsx\n * const { toastId } = toast;\n * const toastManager = useToastManager();\n *\n * useEffect(() => {\n * return () => {\n * toastManager.clearTimer(toastId):\n * }\n * }, [toastManager, toastId]);\n * ```\n */\n clearTimer = (toastId: string): void => {\n const timer = this.#timers.get(toastId);\n window.clearTimeout(timer?.exitTimeout);\n this.#timers.delete(toastId);\n };\n\n /**\n * Removes first toast from the queue without any exit animation. You most\n * likely want to use {@link removeToast} instead.\n */\n popToast = (): void => {\n this.#queue.pop();\n this.#emit();\n };\n\n /**\n * Removes all toasts from the queue. There will be no exit animation.\n *\n * @param disableEmit - Set this to `true` to disable emitting the empty queue.\n * Mostly used for tests.\n */\n clearToasts = (disableEmit = false): void => {\n this.#queue = [];\n this.#timers.forEach((meta) => {\n window.clearTimeout(meta.exitTimeout);\n });\n this.#timers.clear();\n if (!disableEmit) {\n this.#emit();\n }\n };\n}\n\n/**\n * The default toast manager for react-md apps that will allow toasts to be\n * added without setting up the {@link ToastManagerProvider}.\n *\n * @internal\n * @remarks \\@since 6.0.0\n */\nexport const toastManager = new ToastManager();\n\n/**\n * @see {@link ToastManager.addToast}\n * @remarks \\@since 6.0.0\n */\nexport const addToast: ToastManager[\"addToast\"] = (toast) =>\n toastManager.addToast(toast);\n\n/**\n * @see {@link ToastManager.startRemoveTimeout}\n * @remarks \\@since 6.0.0\n */\nexport const startRemoveToastTimeout: ToastManager[\"startRemoveTimeout\"] = (\n toastId\n) => toastManager.startRemoveTimeout(toastId);\n\n/**\n * @see {@link ToastManager.popToast}\n * @remarks \\@since 6.0.0\n */\nexport const popToast: ToastManager[\"popToast\"] = () => toastManager.popToast();\n\n/**\n * @see {@link ToastManager.removeToast}\n * @remarks \\@since 6.0.0\n */\nexport const removeToast: ToastManager[\"removeToast\"] = (toastId, transition) =>\n toastManager.removeToast(toastId, transition);\n\n/**\n * @see {@link ToastManager.clearToasts}\n * @remarks \\@since 6.0.0\n */\nexport const clearToasts = (): void => toastManager.clearToasts();\n"],"names":["nanoid","DEFAULT_TOAST_VISIBLE_TIME","ToastManager","constructor","queue","listeners","forEach","callback","toastId","findIndex","toast","getToastIndex","nextToast","current","clearTimer","visible","priority","splice","toastIdOrIndex","patch","index","emit","subscribe","push","filter","cb","getQueue","addToast","visibleTime","role","undefined","duplicates","existingIndex","existingToast","addToastImmediately","timers","get","set","elapsedTime","startRemoveTimeout","updateToast","paused","queueSize","length","getToast","cached","inactive","startTime","Date","now","window","clearTimeout","exitTimeout","duration","setTimeout","removeToast","pauseRemoveTimeout","resumeRemoveTimeout","toastIndex","transition","timer","delete","popToast","pop","clearToasts","disableEmit","meta","clear","Map","toastManager","startRemoveToastTimeout"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAASA,MAAM,QAAQ,SAAS;AAGhC;;CAEC,GACD,OAAO,MAAMC,6BAA6B,KAAK;IA4H7C,sCACA,uCACA,0CAmBA,qCAQA,8CAQA,yCAIA;;;;GAIC,GACD,oDAcA;;GAEC,GACD;AArEF;;;;CAIC,GACD,OAAO,MAAMC;IAKXC,aAAc;QAJd,gCAAA;;mBAAA,KAAA;;QACA,gCAAA;;mBAAA,KAAA;;QACA,gCAAA;;mBAAA,KAAA;;QAmBA,gCAAA;;mBAAQ;gBACN,wCAAwC;+CAClCC,QAAQ;gDAAI,IAAI,EAAEA;iBAAM;gBAC9B,yBAAA,IAAI,EAAEC,YAAUC,OAAO,CAAC,CAACC;oBACvBA,kCAAS,IAAI,EAAEH;gBACjB;YACF;;QAEA,gCAAA;;mBAAiB,CAACI;gBAChB,IAAI,CAACA,SAAS;oBACZ,OAAO,CAAC;gBACV;gBAEA,OAAO,yBAAA,IAAI,EAAEJ,QAAMK,SAAS,CAAC,CAACC,QAAUA,MAAMF,OAAO,KAAKA;YAC5D;;QAEA,gCAAA;;mBAAY,CAACA;gBACX,OAAO,yBAAA,IAAI,EAAEJ,OAAK,CAAC,yBAAA,IAAI,EAAEO,qBAAN,IAAI,EAAgBH,SAAS;YAClD;;QAOA,gCAAA;;mBAAuB,CAACI;gBACtB,MAAM,CAACC,QAAQ,4BAAG,IAAI,EAAET;gBACxB,IAAI,CAACU,UAAU,CAACD,QAAQL,OAAO;gBAC/B,yBAAA,IAAI,EAAEJ,OAAK,CAAC,EAAE,GAAG;oBACf,GAAGS,OAAO;oBACVE,SAAS;gBACX;gBACA,IAAIH,UAAUI,QAAQ,KAAK,aAAa;oBACtC,yBAAA,IAAI,EAAEZ,QAAMa,MAAM,CAAC,GAAG,GAAGL,WAAWC;gBACtC,OAAO;oBACL,yBAAA,IAAI,EAAET,QAAMa,MAAM,CAAC,GAAG,GAAGL;gBAC3B;YACF;;QAKA,gCAAA;;mBAAe,CACbM,gBACAC;gBAEA,MAAMC,QACJ,OAAOF,mBAAmB,WACtBA,iBACA,yBAAA,IAAI,EAAEP,qBAAN,IAAI,EAAgBO;gBAE1B,IAAIE,UAAU,CAAC,GAAG;oBAChB;gBACF;gBAEA,yBAAA,IAAI,EAAEhB,OAAK,CAACgB,MAAM,GAAG;oBACnB,GAAG,yBAAA,IAAI,EAAEhB,OAAK,CAACgB,MAAM;oBACrB,GAAGD,KAAK;gBACV;gBACA,yBAAA,IAAI,EAAEE,YAAN,IAAI;YACN;;QAEA;;;;;;;;;;;;GAYC,GACDC,uBAAAA,aAAY,CAACf;YACX,yBAAA,IAAI,EAAEF,YAAUkB,IAAI,CAAChB;YAErB,OAAO;+CACCF,YAAY,yBAAA,IAAI,EAAEA,YAAUmB,MAAM,CAAC,CAACC,KAAOA,OAAOlB;YAC1D;QACF;QAEA;;;GAGC,GACDmB,uBAAAA,YAAW;YACT,gCAAO,IAAI,EAAEtB;QACf;QAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DC,GACDuB,uBAAAA,YAAW,CAACjB;YACV,MAAM,EACJF,UAAUR,QAAQ,EAClB4B,cAAc3B,0BAA0B,EACxC4B,OAAOD,gBAAgB,OAAO,UAAUE,SAAS,EACjDd,WAAW,QAAQ,EACnBe,aAAa,SAAS,EACvB,GAAGrB;YAEJ,MAAMsB,gBAAgB,yBAAA,IAAI,EAAErB,qBAAN,IAAI,EAAgBD,MAAMF,OAAO;YACvD,IAAIwB,kBAAkB,CAAC,KAAKD,eAAe,SAAS;gBAClD,MAAME,gBAAgB,yBAAA,IAAI,EAAE7B,OAAK,CAAC4B,cAAc;gBAEhD,uEAAuE;gBACvE,sCAAsC;gBACtC,yDAAyD;gBACzD,IAAIhB,aAAa,UAAUgB,gBAAgB,GAAG;oBAC5C,yBAAA,IAAI,EAAE5B,QAAMa,MAAM,CAACe,eAAe;oBAClC,yBAAA,IAAI,EAAE5B,QAAMa,MAAM,CAAC,GAAG,GAAG;wBAAE,GAAGgB,aAAa;wBAAE,GAAGvB,KAAK;oBAAC;oBACtD,yBAAA,IAAI,EAAEW,YAAN,IAAI;oBACJ;gBACF;gBAEA,0DAA0D;gBAC1D,IACE,AAACL,CAAAA,aAAa,aAAaA,aAAa,WAAU,KAClDgB,kBAAkB,GAClB;oBACA,yBAAA,IAAI,EAAE5B,QAAMa,MAAM,CAACe,eAAe;oBAClC,yBAAA,IAAI,EAAEE,2BAAN,IAAI,EAAsB;wBACxB,GAAGD,aAAa;wBAChB,GAAGvB,KAAK;oBACV;oBACA,yBAAA,IAAI,EAAEW,YAAN,IAAI;oBACJ;gBACF;gBAEA,MAAMc,SAAS,yBAAA,IAAI,EAAEA,SAAOC,GAAG,CAAC5B;gBAChC,IAAIyB,cAAclB,OAAO,IAAIgB,eAAe,aAAaI,QAAQ;oBAC/D,yBAAA,IAAI,EAAEA,SAAOE,GAAG,CAAC7B,SAAS;wBAAE,GAAG2B,MAAM;wBAAEG,aAAa;oBAAE;oBACtD,IAAI,CAACC,kBAAkB,CAAC/B;gBAC1B;gBAEA,yBAAA,IAAI,EAAEgC,mBAAN,IAAI,EAAcR,eAAetB;gBACjC;YACF;YAEA,MAAME,YAAyB;gBAC7B,GAAGF,KAAK;gBACRmB;gBACAY,QAAQ;gBACR1B,SAAS;gBACTP;gBACAQ;gBACAe;gBACAH;YACF;YAEA,MAAMc,YAAY,yBAAA,IAAI,EAAEtC,QAAMuC,MAAM;YACpC,IAAI3B,aAAa,UAAU0B,YAAY,GAAG;gBACxC,yBAAA,IAAI,EAAEtC,QAAMa,MAAM,CAAC,GAAG,GAAGL;YAC3B,OAAO,IACL,AAACI,CAAAA,aAAa,aAAaA,aAAa,WAAU,KAClD0B,YAAY,GACZ;gBACA,yBAAA,IAAI,EAAER,2BAAN,IAAI,EAAsBtB;YAC5B,OAAO;gBACL,yBAAA,IAAI,EAAER,QAAMmB,IAAI,CAACX;YACnB;YAEA,yBAAA,IAAI,EAAES,YAAN,IAAI;QACN;QAEA;;;;;GAKC,GACDkB,uBAAAA,sBAAqB,CAAC/B;YACpB,MAAME,QAAQ,yBAAA,IAAI,EAAEkC,gBAAN,IAAI,EAAWpC;YAC7B,IAAI,CAACE,OAAO;gBACV;YACF;YAEA,MAAM,EAAEkB,WAAW,EAAE,GAAGlB;YACxB,IAAIkB,gBAAgB,MAAM;gBACxB,0BAA0B;gBAC1B;YACF;YAEA,MAAMiB,SAAS,yBAAA,IAAI,EAAEV,SAAOC,GAAG,CAAC5B;YAChC,MAAM2B,SAAS,AAACU,UAAU;gBAAE,GAAGA,MAAM;YAAC,KAAM;gBAC1CC,UAAU;gBACVC,WAAWC,KAAKC,GAAG;gBACnBX,aAAa;YACf;YACAY,OAAOC,YAAY,CAAChB,OAAOiB,WAAW;YAEtC,IAAIC,WAAWzB;YACf,IAAIO,OAAOG,WAAW,EAAE;gBACtBe,YAAYlB,OAAOG,WAAW;YAChC;YAEAH,OAAOW,QAAQ,GAAG;YAClBX,OAAOiB,WAAW,GAAGF,OAAOI,UAAU,CAAC;gBACrC,IAAI,CAACC,WAAW,CAAC/C,SAAS;YAC5B,GAAG6C;YACH,yBAAA,IAAI,EAAElB,SAAOE,GAAG,CAAC7B,SAAS2B;QAC5B;QAEA;;;;;GAKC,GACDqB,uBAAAA,sBAAqB,CAAChD;YACpB,MAAME,QAAQ,yBAAA,IAAI,EAAEkC,gBAAN,IAAI,EAAWpC;YAC7B,MAAMqC,SAAS,yBAAA,IAAI,EAAEV,SAAOC,GAAG,CAAC5B;YAChC,IAAI,CAACE,SAAS,CAACmC,UAAUA,OAAOC,QAAQ,EAAE;gBACxC;YACF;YAEAI,OAAOC,YAAY,CAACN,OAAOO,WAAW;YACtC,MAAMjB,SAAS;gBAAE,GAAGU,MAAM;YAAC;YAC3BV,OAAOW,QAAQ,GAAG;YAClBX,OAAOG,WAAW,GAAGU,KAAKC,GAAG,KAAKd,OAAOY,SAAS,GAAGZ,OAAOG,WAAW;YACvE,yBAAA,IAAI,EAAEH,SAAOE,GAAG,CAAC7B,SAAS2B;YAC1B,yBAAA,IAAI,EAAEK,mBAAN,IAAI,EAAchC,SAAS;gBAAEiC,QAAQ;YAAK;QAC5C;QAEA;;;;;GAKC,GACDgB,uBAAAA,uBAAsB,CAACjD;YACrB,MAAMkD,aAAa,yBAAA,IAAI,EAAE/C,qBAAN,IAAI,EAAgBH;YACvC,MAAM2B,SAAS,yBAAA,IAAI,EAAEA,SAAOC,GAAG,CAAC5B;YAChC,IAAIkD,eAAe,CAAC,KAAK,CAACvB,QAAQY,WAAW;gBAC3C;YACF;YAEA,yBAAA,IAAI,EAAEP,mBAAN,IAAI,EAAckB,YAAY;gBAAEjB,QAAQ;YAAM;YAC9C,IAAI,CAACF,kBAAkB,CAAC/B;QAC1B;QAEA;;;;;;GAMC,GACD+C,uBAAAA,eAAc,CAAC/C,SAAiBmD;YAC9B,MAAMD,aAAa,yBAAA,IAAI,EAAE/C,qBAAN,IAAI,EAAgBH;YACvC,IAAIkD,eAAe,CAAC,GAAG;gBACrB;YACF;YAEA,IAAIC,YAAY;gBACd,IAAI,CAAC7C,UAAU,CAACN;gBAChB,yBAAA,IAAI,EAAEgC,mBAAN,IAAI,EAAckB,YAAY;oBAAE3C,SAAS;gBAAM;gBAC/C;YACF;YAEA,yBAAA,IAAI,EAAEX,QAAMa,MAAM,CAACyC,YAAY;YAC/B,yBAAA,IAAI,EAAErC,YAAN,IAAI;QACN;QAEA;;;;;;;;;;;;;;;;GAgBC,GACDP,uBAAAA,cAAa,CAACN;YACZ,MAAMoD,QAAQ,yBAAA,IAAI,EAAEzB,SAAOC,GAAG,CAAC5B;YAC/B0C,OAAOC,YAAY,CAACS,OAAOR;YAC3B,yBAAA,IAAI,EAAEjB,SAAO0B,MAAM,CAACrD;QACtB;QAEA;;;GAGC,GACDsD,uBAAAA,YAAW;YACT,yBAAA,IAAI,EAAE1D,QAAM2D,GAAG;YACf,yBAAA,IAAI,EAAE1C,YAAN,IAAI;QACN;QAEA;;;;;GAKC,GACD2C,uBAAAA,eAAc,CAACC,cAAc,KAAK;2CAC1B7D,QAAQ,EAAE;YAChB,yBAAA,IAAI,EAAE+B,SAAO7B,OAAO,CAAC,CAAC4D;gBACpBhB,OAAOC,YAAY,CAACe,KAAKd,WAAW;YACtC;YACA,yBAAA,IAAI,EAAEjB,SAAOgC,KAAK;YAClB,IAAI,CAACF,aAAa;gBAChB,yBAAA,IAAI,EAAE5C,YAAN,IAAI;YACN;QACF;uCAlYQjB,QAAQ,EAAE;uCACV+B,SAAS,IAAIiC;uCACb/D,YAAY,EAAE;IAEpB,2EAA2E;IAC3E,2EAA2E;IAC3E,gCAAgC;IAChC,EAAE;IACF,OAAO;IACP,wBAAwB;IACxB,mCAAmC;IACnC,8BAA8B;IAC9B,8BAA8B;IAC9B,KAAK;IACP;AAqXF;AAEA;;;;;;CAMC,GACD,OAAO,MAAMgE,eAAe,IAAInE,eAAe;AAE/C;;;CAGC,GACD,OAAO,MAAMyB,WAAqC,CAACjB,QACjD2D,aAAa1C,QAAQ,CAACjB,OAAO;AAE/B;;;CAGC,GACD,OAAO,MAAM4D,0BAA8D,CACzE9D,UACG6D,aAAa9B,kBAAkB,CAAC/B,SAAS;AAE9C;;;CAGC,GACD,OAAO,MAAMsD,WAAqC,IAAMO,aAAaP,QAAQ,GAAG;AAEhF;;;CAGC,GACD,OAAO,MAAMP,cAA2C,CAAC/C,SAASmD,aAChEU,aAAad,WAAW,CAAC/C,SAASmD,YAAY;AAEhD;;;CAGC,GACD,OAAO,MAAMK,cAAc,IAAYK,aAAaL,WAAW,GAAG"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { type ReactElement, type ReactNode } from "react";
|
|
2
|
+
import { type ToastManager, type ToastQueue } from "./ToastManager.js";
|
|
3
|
+
/**
|
|
4
|
+
* This is mostly an internal hook to implement the toast functionality but can
|
|
5
|
+
* be used externally as well for custom toast behavior if the other hooks do
|
|
6
|
+
* not support your needs.
|
|
7
|
+
*
|
|
8
|
+
* @see {@link useAddToast}
|
|
9
|
+
* @see {@link useToastQueue}
|
|
10
|
+
* @see {@link useRemoveToast}
|
|
11
|
+
*
|
|
12
|
+
* @returns The current `ToastManager` set in the `ToastManagerProvider`.
|
|
13
|
+
* Defaults to {@link toastManager} if there are no parent providers.
|
|
14
|
+
* @remarks \@since 6.0.0
|
|
15
|
+
*/
|
|
16
|
+
export declare function useToastManager(): ToastManager;
|
|
17
|
+
/**
|
|
18
|
+
* @see {@link ToastManager.addToast}
|
|
19
|
+
* @remarks \@since 6.0.0
|
|
20
|
+
*/
|
|
21
|
+
export declare function useAddToast(): ToastManager["addToast"];
|
|
22
|
+
/**
|
|
23
|
+
* @see {@link ToastManager.removeToast}
|
|
24
|
+
* @remarks \@since 6.0.0
|
|
25
|
+
*/
|
|
26
|
+
export declare function useRemoveToast(): ToastManager["removeToast"];
|
|
27
|
+
/**
|
|
28
|
+
* @param limit - the total number of toasts that can be visible at once.
|
|
29
|
+
* @remarks \@since 6.0.0
|
|
30
|
+
*/
|
|
31
|
+
export declare function useToastQueue(limit?: number): ToastQueue;
|
|
32
|
+
/**
|
|
33
|
+
* @remarks \@since 6.0.0
|
|
34
|
+
*/
|
|
35
|
+
export interface ToastManagerProviderProps {
|
|
36
|
+
children: ReactNode;
|
|
37
|
+
/**
|
|
38
|
+
* @defaultValue `toastManager`
|
|
39
|
+
*/
|
|
40
|
+
manager?: ToastManager;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* **Client Component**
|
|
44
|
+
*
|
|
45
|
+
* This component can be used to implement separate instances of toasts if
|
|
46
|
+
* required in your app. This probably shouldn't be required for most apps with
|
|
47
|
+
* the default {@link addToast}, {@link removeToast}, and {@link clearToasts}
|
|
48
|
+
* implementation.
|
|
49
|
+
*
|
|
50
|
+
* @see {@link ToastManager} for example usage.
|
|
51
|
+
* @remarks \@since 6.0.0
|
|
52
|
+
*/
|
|
53
|
+
export declare function ToastManagerProvider(props: ToastManagerProviderProps): ReactElement;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { createContext, useContext, useMemo, useSyncExternalStore } from "react";
|
|
4
|
+
import { toastManager } from "./ToastManager.js";
|
|
5
|
+
const context = /*#__PURE__*/ createContext(toastManager);
|
|
6
|
+
context.displayName = "ToastManager";
|
|
7
|
+
const { Provider } = context;
|
|
8
|
+
/**
|
|
9
|
+
* This is mostly an internal hook to implement the toast functionality but can
|
|
10
|
+
* be used externally as well for custom toast behavior if the other hooks do
|
|
11
|
+
* not support your needs.
|
|
12
|
+
*
|
|
13
|
+
* @see {@link useAddToast}
|
|
14
|
+
* @see {@link useToastQueue}
|
|
15
|
+
* @see {@link useRemoveToast}
|
|
16
|
+
*
|
|
17
|
+
* @returns The current `ToastManager` set in the `ToastManagerProvider`.
|
|
18
|
+
* Defaults to {@link toastManager} if there are no parent providers.
|
|
19
|
+
* @remarks \@since 6.0.0
|
|
20
|
+
*/ export function useToastManager() {
|
|
21
|
+
return useContext(context);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @see {@link ToastManager.addToast}
|
|
25
|
+
* @remarks \@since 6.0.0
|
|
26
|
+
*/ export function useAddToast() {
|
|
27
|
+
return useToastManager().addToast;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* @see {@link ToastManager.removeToast}
|
|
31
|
+
* @remarks \@since 6.0.0
|
|
32
|
+
*/ export function useRemoveToast() {
|
|
33
|
+
return useToastManager().removeToast;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* @param limit - the total number of toasts that can be visible at once.
|
|
37
|
+
* @remarks \@since 6.0.0
|
|
38
|
+
*/ export function useToastQueue(limit) {
|
|
39
|
+
const toastManager = useToastManager();
|
|
40
|
+
const queue = useSyncExternalStore(toastManager.subscribe, toastManager.getQueue, toastManager.getQueue);
|
|
41
|
+
return useMemo(()=>{
|
|
42
|
+
if (!limit) {
|
|
43
|
+
return queue;
|
|
44
|
+
}
|
|
45
|
+
return queue.slice(0, limit);
|
|
46
|
+
}, [
|
|
47
|
+
limit,
|
|
48
|
+
queue
|
|
49
|
+
]);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* **Client Component**
|
|
53
|
+
*
|
|
54
|
+
* This component can be used to implement separate instances of toasts if
|
|
55
|
+
* required in your app. This probably shouldn't be required for most apps with
|
|
56
|
+
* the default {@link addToast}, {@link removeToast}, and {@link clearToasts}
|
|
57
|
+
* implementation.
|
|
58
|
+
*
|
|
59
|
+
* @see {@link ToastManager} for example usage.
|
|
60
|
+
* @remarks \@since 6.0.0
|
|
61
|
+
*/ export function ToastManagerProvider(props) {
|
|
62
|
+
const { children, manager = toastManager } = props;
|
|
63
|
+
return /*#__PURE__*/ _jsx(Provider, {
|
|
64
|
+
value: manager,
|
|
65
|
+
children: children
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
//# sourceMappingURL=ToastManagerProvider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/snackbar/ToastManagerProvider.tsx"],"sourcesContent":["\"use client\";\n\nimport {\n createContext,\n useContext,\n useMemo,\n useSyncExternalStore,\n type ReactElement,\n type ReactNode,\n} from \"react\";\nimport {\n toastManager,\n type ToastManager,\n type ToastQueue,\n} from \"./ToastManager.js\";\n\nconst context = createContext(toastManager);\ncontext.displayName = \"ToastManager\";\nconst { Provider } = context;\n\n/**\n * This is mostly an internal hook to implement the toast functionality but can\n * be used externally as well for custom toast behavior if the other hooks do\n * not support your needs.\n *\n * @see {@link useAddToast}\n * @see {@link useToastQueue}\n * @see {@link useRemoveToast}\n *\n * @returns The current `ToastManager` set in the `ToastManagerProvider`.\n * Defaults to {@link toastManager} if there are no parent providers.\n * @remarks \\@since 6.0.0\n */\nexport function useToastManager(): ToastManager {\n return useContext(context);\n}\n\n/**\n * @see {@link ToastManager.addToast}\n * @remarks \\@since 6.0.0\n */\nexport function useAddToast(): ToastManager[\"addToast\"] {\n return useToastManager().addToast;\n}\n\n/**\n * @see {@link ToastManager.removeToast}\n * @remarks \\@since 6.0.0\n */\nexport function useRemoveToast(): ToastManager[\"removeToast\"] {\n return useToastManager().removeToast;\n}\n\n/**\n * @param limit - the total number of toasts that can be visible at once.\n * @remarks \\@since 6.0.0\n */\nexport function useToastQueue(limit?: number): ToastQueue {\n const toastManager = useToastManager();\n\n const queue = useSyncExternalStore(\n toastManager.subscribe,\n toastManager.getQueue,\n toastManager.getQueue\n );\n\n return useMemo(() => {\n if (!limit) {\n return queue;\n }\n\n return queue.slice(0, limit);\n }, [limit, queue]);\n}\n\n/**\n * @remarks \\@since 6.0.0\n */\nexport interface ToastManagerProviderProps {\n children: ReactNode;\n\n /**\n * @defaultValue `toastManager`\n */\n manager?: ToastManager;\n}\n\n/**\n * **Client Component**\n *\n * This component can be used to implement separate instances of toasts if\n * required in your app. This probably shouldn't be required for most apps with\n * the default {@link addToast}, {@link removeToast}, and {@link clearToasts}\n * implementation.\n *\n * @see {@link ToastManager} for example usage.\n * @remarks \\@since 6.0.0\n */\nexport function ToastManagerProvider(\n props: ToastManagerProviderProps\n): ReactElement {\n const { children, manager = toastManager } = props;\n\n return <Provider value={manager}>{children}</Provider>;\n}\n"],"names":["createContext","useContext","useMemo","useSyncExternalStore","toastManager","context","displayName","Provider","useToastManager","useAddToast","addToast","useRemoveToast","removeToast","useToastQueue","limit","queue","subscribe","getQueue","slice","ToastManagerProvider","props","children","manager","value"],"mappings":"AAAA;;AAEA,SACEA,aAAa,EACbC,UAAU,EACVC,OAAO,EACPC,oBAAoB,QAGf,QAAQ;AACf,SACEC,YAAY,QAGP,oBAAoB;AAE3B,MAAMC,wBAAUL,cAAcI;AAC9BC,QAAQC,WAAW,GAAG;AACtB,MAAM,EAAEC,QAAQ,EAAE,GAAGF;AAErB;;;;;;;;;;;;CAYC,GACD,OAAO,SAASG;IACd,OAAOP,WAAWI;AACpB;AAEA;;;CAGC,GACD,OAAO,SAASI;IACd,OAAOD,kBAAkBE,QAAQ;AACnC;AAEA;;;CAGC,GACD,OAAO,SAASC;IACd,OAAOH,kBAAkBI,WAAW;AACtC;AAEA;;;CAGC,GACD,OAAO,SAASC,cAAcC,KAAc;IAC1C,MAAMV,eAAeI;IAErB,MAAMO,QAAQZ,qBACZC,aAAaY,SAAS,EACtBZ,aAAaa,QAAQ,EACrBb,aAAaa,QAAQ;IAGvB,OAAOf,QAAQ;QACb,IAAI,CAACY,OAAO;YACV,OAAOC;QACT;QAEA,OAAOA,MAAMG,KAAK,CAAC,GAAGJ;IACxB,GAAG;QAACA;QAAOC;KAAM;AACnB;AAcA;;;;;;;;;;CAUC,GACD,OAAO,SAASI,qBACdC,KAAgC;IAEhC,MAAM,EAAEC,QAAQ,EAAEC,UAAUlB,YAAY,EAAE,GAAGgB;IAE7C,qBAAO,KAACb;QAASgB,OAAOD;kBAAUD;;AACpC"}
|