@soroush.tech/design-system 2.0.0-rc.3 → 2.0.0-rc.4
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/README.md +54 -32
- package/dist/Accordion/Accordion.cjs +100 -0
- package/dist/Accordion/Accordion.d.cts +41 -0
- package/dist/Accordion/Accordion.d.mts +41 -0
- package/dist/Accordion/Accordion.mjs +98 -0
- package/dist/Accordion/AccordionActions.cjs +29 -0
- package/dist/Accordion/AccordionActions.d.cts +12 -0
- package/dist/Accordion/AccordionActions.d.mts +12 -0
- package/dist/Accordion/AccordionActions.mjs +27 -0
- package/dist/Accordion/AccordionDetails.cjs +23 -0
- package/dist/Accordion/AccordionDetails.d.cts +12 -0
- package/dist/Accordion/AccordionDetails.d.mts +12 -0
- package/dist/Accordion/AccordionDetails.mjs +21 -0
- package/dist/Accordion/AccordionGroup.cjs +79 -0
- package/dist/Accordion/AccordionGroup.d.cts +24 -0
- package/dist/Accordion/AccordionGroup.d.mts +24 -0
- package/dist/Accordion/AccordionGroup.mjs +77 -0
- package/dist/Accordion/AccordionSummary.cjs +99 -0
- package/dist/Accordion/AccordionSummary.d.cts +21 -0
- package/dist/Accordion/AccordionSummary.d.mts +21 -0
- package/dist/Accordion/AccordionSummary.mjs +97 -0
- package/dist/Accordion.cjs +11 -0
- package/dist/Accordion.d.cts +6 -0
- package/dist/Accordion.d.mts +6 -0
- package/dist/Accordion.mjs +6 -0
- package/dist/AccordionContext-B2TCl9Os.cjs +44 -0
- package/dist/AccordionContext-DDk_i9Dx.mjs +15 -0
- package/dist/Alert/Alert.cjs +154 -0
- package/dist/Alert/Alert.d.cts +37 -0
- package/dist/Alert/Alert.d.mts +37 -0
- package/dist/Alert/Alert.mjs +152 -0
- package/dist/Alert/AlertTitle.cjs +21 -0
- package/dist/Alert/AlertTitle.d.cts +12 -0
- package/dist/Alert/AlertTitle.d.mts +12 -0
- package/dist/Alert/AlertTitle.mjs +20 -0
- package/dist/Alert.cjs +5 -0
- package/dist/Alert.d.cts +3 -0
- package/dist/Alert.d.mts +3 -0
- package/dist/Alert.mjs +3 -0
- package/dist/AppBar.cjs +1 -1
- package/dist/AppBar.d.cts +1 -1
- package/dist/AppBar.d.mts +1 -1
- package/dist/AppBar.mjs +1 -1
- package/dist/Autocomplete.cjs +666 -0
- package/dist/Autocomplete.d.cts +97 -0
- package/dist/Autocomplete.d.mts +97 -0
- package/dist/Autocomplete.mjs +664 -0
- package/dist/Avatar.cjs +2 -2
- package/dist/Avatar.d.cts +1 -1
- package/dist/Avatar.d.mts +1 -1
- package/dist/Avatar.mjs +2 -2
- package/dist/Backdrop.d.cts +1 -1
- package/dist/Backdrop.d.mts +1 -1
- package/dist/Badge.cjs +130 -0
- package/dist/Badge.d.cts +45 -0
- package/dist/Badge.d.mts +45 -0
- package/dist/Badge.mjs +128 -0
- package/dist/Breadcrumbs.cjs +2 -2
- package/dist/Breadcrumbs.d.cts +3 -3
- package/dist/Breadcrumbs.d.mts +3 -3
- package/dist/Breadcrumbs.mjs +2 -2
- package/dist/Button.cjs +6 -3
- package/dist/Button.d.cts +1 -1
- package/dist/Button.d.mts +1 -1
- package/dist/Button.mjs +6 -3
- package/dist/ButtonGroup.cjs +1 -1
- package/dist/ButtonGroup.d.cts +1 -1
- package/dist/ButtonGroup.d.mts +1 -1
- package/dist/ButtonGroup.mjs +1 -1
- package/dist/Card.cjs +2 -2
- package/dist/Card.d.cts +4 -4
- package/dist/Card.d.mts +4 -4
- package/dist/Card.mjs +2 -2
- package/dist/Checkbox.cjs +13 -3
- package/dist/Checkbox.d.cts +4 -2
- package/dist/Checkbox.d.mts +4 -2
- package/dist/Checkbox.mjs +13 -3
- package/dist/Chip.cjs +194 -0
- package/dist/Chip.d.cts +49 -0
- package/dist/Chip.d.mts +49 -0
- package/dist/Chip.mjs +192 -0
- package/dist/CircularProgress.cjs +1 -1
- package/dist/CircularProgress.d.cts +2 -2
- package/dist/CircularProgress.d.mts +2 -2
- package/dist/CircularProgress.mjs +1 -1
- package/dist/Collapse.cjs +126 -0
- package/dist/Collapse.d.cts +2 -0
- package/dist/Collapse.d.mts +2 -0
- package/dist/Collapse.mjs +124 -0
- package/dist/Drawer.d.cts +3 -3
- package/dist/Drawer.d.mts +3 -3
- package/dist/Fab.cjs +114 -0
- package/dist/Fab.d.cts +2 -0
- package/dist/Fab.d.mts +2 -0
- package/dist/Fab.mjs +113 -0
- package/dist/FabMenu/FabMenu.cjs +3 -0
- package/dist/FabMenu/FabMenu.d.cts +53 -0
- package/dist/FabMenu/FabMenu.d.mts +53 -0
- package/dist/FabMenu/FabMenu.mjs +2 -0
- package/dist/FabMenu/FabMenuItem.cjs +28 -0
- package/dist/FabMenu/FabMenuItem.d.cts +19 -0
- package/dist/FabMenu/FabMenuItem.d.mts +19 -0
- package/dist/FabMenu/FabMenuItem.mjs +27 -0
- package/dist/FabMenu-BDfkT_zt.mjs +273 -0
- package/dist/FabMenu-RiVtzrKe.cjs +279 -0
- package/dist/FabMenu.cjs +5 -0
- package/dist/FabMenu.d.cts +3 -0
- package/dist/FabMenu.d.mts +3 -0
- package/dist/FabMenu.mjs +3 -0
- package/dist/FabMenuContext-BZslb0lL.cjs +22 -0
- package/dist/FabMenuContext-D-XlDbLl.mjs +11 -0
- package/dist/Fade.cjs +17 -0
- package/dist/Fade.d.cts +11 -0
- package/dist/Fade.d.mts +11 -0
- package/dist/Fade.mjs +16 -0
- package/dist/Flex.d.cts +1 -1
- package/dist/Flex.d.mts +1 -1
- package/dist/Form.d.cts +1 -1
- package/dist/Form.d.mts +1 -1
- package/dist/FormControl.cjs +5 -3
- package/dist/FormControl.d.cts +1 -1
- package/dist/FormControl.d.mts +1 -1
- package/dist/FormControl.mjs +5 -3
- package/dist/FormHelperText.cjs +1 -1
- package/dist/FormHelperText.d.cts +1 -1
- package/dist/FormHelperText.d.mts +1 -1
- package/dist/FormHelperText.mjs +1 -1
- package/dist/FormLabel.cjs +4 -1
- package/dist/FormLabel.d.cts +1 -1
- package/dist/FormLabel.d.mts +1 -1
- package/dist/FormLabel.mjs +4 -1
- package/dist/Grid.d.cts +1 -1
- package/dist/Grid.d.mts +1 -1
- package/dist/Grow.cjs +21 -0
- package/dist/Grow.d.cts +11 -0
- package/dist/Grow.d.mts +11 -0
- package/dist/Grow.mjs +20 -0
- package/dist/{Icon-BihOAP4u.mjs → Icon-0hPpk-WZ.mjs} +31 -1
- package/dist/{Icon-D-EWsBVg.cjs → Icon-BE7bRsqR.cjs} +31 -1
- package/dist/Icon.cjs +1 -1
- package/dist/Icon.d.cts +1 -1
- package/dist/Icon.d.mts +1 -1
- package/dist/Icon.mjs +1 -1
- package/dist/Image.d.cts +1 -1
- package/dist/Image.d.mts +1 -1
- package/dist/LinearProgress.cjs +1 -1
- package/dist/LinearProgress.d.cts +2 -2
- package/dist/LinearProgress.d.mts +2 -2
- package/dist/LinearProgress.mjs +1 -1
- package/dist/Link.cjs +3 -3
- package/dist/Link.d.cts +1 -1
- package/dist/Link.d.mts +1 -1
- package/dist/Link.mjs +3 -3
- package/dist/Menu/ContextMenu.cjs +6 -4
- package/dist/Menu/ContextMenu.d.cts +8 -6
- package/dist/Menu/ContextMenu.d.mts +8 -6
- package/dist/Menu/ContextMenu.mjs +6 -4
- package/dist/Menu/Menu.cjs +1 -1
- package/dist/Menu/Menu.d.cts +1 -1
- package/dist/Menu/Menu.d.mts +1 -1
- package/dist/Menu/Menu.mjs +1 -1
- package/dist/Menu/MenuItems.cjs +1 -1
- package/dist/Menu/MenuItems.d.cts +1 -1
- package/dist/Menu/MenuItems.d.mts +1 -1
- package/dist/Menu/MenuItems.mjs +1 -1
- package/dist/Menu/MenuList.cjs +1 -1
- package/dist/Menu/MenuList.d.cts +2 -2
- package/dist/Menu/MenuList.d.mts +2 -2
- package/dist/Menu/MenuList.mjs +1 -1
- package/dist/{Menu-CrzHc_cn.mjs → Menu-CnG4ikZd.mjs} +6 -4
- package/dist/{Menu-Cgg-sX4W.cjs → Menu-DXLjR9ga.cjs} +6 -4
- package/dist/Menu.cjs +2 -2
- package/dist/Menu.d.cts +3 -3
- package/dist/Menu.d.mts +3 -3
- package/dist/Menu.mjs +2 -2
- package/dist/{MenuItem-DUn4IZKK.mjs → MenuItem-C21eR7d6.mjs} +40 -79
- package/dist/{MenuItem-BTP7Ijwi.cjs → MenuItem-EJ4u73f0.cjs} +39 -78
- package/dist/MenuItem.cjs +1 -1
- package/dist/MenuItem.d.cts +1 -1
- package/dist/MenuItem.d.mts +1 -1
- package/dist/MenuItem.mjs +1 -1
- package/dist/{MenuList-D4imLXAa.cjs → MenuList-BBAYeUvD.cjs} +1 -1
- package/dist/{MenuList-B7msJ1IG.mjs → MenuList-Cz3cupC3.mjs} +1 -1
- package/dist/{MenuListContext-DKUOhNyw.d.cts → MenuListContext-BWL5fM_L.d.mts} +2 -2
- package/dist/{MenuListContext-x-7lH4CH.d.mts → MenuListContext-BrCKLgKZ.d.cts} +2 -2
- package/dist/{Modal-BcsyrrpH.mjs → Modal-CEHDej-v.mjs} +3 -22
- package/dist/{Modal-CM3osOqj.cjs → Modal-DBw4j0YA.cjs} +3 -22
- package/dist/Modal.cjs +1 -1
- package/dist/Modal.d.cts +1 -1
- package/dist/Modal.d.mts +1 -1
- package/dist/Modal.mjs +1 -1
- package/dist/NativeSelect.cjs +8 -12
- package/dist/NativeSelect.d.cts +2 -2
- package/dist/NativeSelect.d.mts +2 -2
- package/dist/NativeSelect.mjs +8 -12
- package/dist/{NumberField.cjs → NumberInput.cjs} +69 -43
- package/dist/{NumberField.d.cts → NumberInput.d.cts} +14 -9
- package/dist/{NumberField.d.mts → NumberInput.d.mts} +14 -9
- package/dist/{NumberField.mjs → NumberInput.mjs} +69 -43
- package/dist/Pagination/PaginationItem.cjs +2 -2
- package/dist/Pagination/PaginationItem.d.cts +1 -1
- package/dist/Pagination/PaginationItem.d.mts +1 -1
- package/dist/Pagination/PaginationItem.mjs +2 -2
- package/dist/Pagination.d.cts +2 -2
- package/dist/Pagination.d.mts +2 -2
- package/dist/Paper.cjs +2 -2
- package/dist/Paper.d.cts +2 -2
- package/dist/Paper.d.mts +2 -2
- package/dist/Paper.mjs +2 -2
- package/dist/{Popover-QjM5Z1CR.mjs → Popover-Neeqs_7l.mjs} +3 -3
- package/dist/{Popover-CiZfgiKE.cjs → Popover-xyJTSjZy.cjs} +3 -3
- package/dist/Popover.cjs +1 -1
- package/dist/Popover.d.cts +3 -3
- package/dist/Popover.d.mts +3 -3
- package/dist/Popover.mjs +1 -1
- package/dist/Portal.d.cts +1 -17
- package/dist/Portal.d.mts +1 -17
- package/dist/Pressable.cjs +17 -13
- package/dist/Pressable.d.cts +1 -1
- package/dist/Pressable.d.mts +1 -1
- package/dist/Pressable.mjs +17 -13
- package/dist/Quote.d.cts +2 -2
- package/dist/Quote.d.mts +2 -2
- package/dist/Radio.cjs +13 -3
- package/dist/Radio.d.cts +4 -2
- package/dist/Radio.d.mts +4 -2
- package/dist/Radio.mjs +13 -3
- package/dist/{InputRange.cjs → RangeInput.cjs} +45 -43
- package/dist/{InputRange.d.mts → RangeInput.d.cts} +15 -15
- package/dist/{InputRange.d.cts → RangeInput.d.mts} +15 -15
- package/dist/{InputRange.mjs → RangeInput.mjs} +45 -43
- package/dist/Rating.cjs +3 -3
- package/dist/Rating.d.cts +1 -1
- package/dist/Rating.d.mts +1 -1
- package/dist/Rating.mjs +3 -3
- package/dist/ScrollArea.cjs +268 -0
- package/dist/ScrollArea.d.cts +40 -0
- package/dist/ScrollArea.d.mts +40 -0
- package/dist/ScrollArea.mjs +266 -0
- package/dist/Select.cjs +9 -12
- package/dist/Select.d.cts +2 -2
- package/dist/Select.d.mts +2 -2
- package/dist/Select.mjs +9 -12
- package/dist/Sidebar/Sidebar.d.cts +1 -1
- package/dist/Sidebar/Sidebar.d.mts +1 -1
- package/dist/Sidebar/SidebarItem.cjs +2 -2
- package/dist/Sidebar/SidebarItem.d.cts +3 -3
- package/dist/Sidebar/SidebarItem.d.mts +3 -3
- package/dist/Sidebar/SidebarItem.mjs +2 -2
- package/dist/Skeleton.d.cts +1 -1
- package/dist/Skeleton.d.mts +1 -1
- package/dist/Slide.cjs +51 -0
- package/dist/Slide.d.cts +17 -0
- package/dist/Slide.d.mts +17 -0
- package/dist/Slide.mjs +50 -0
- package/dist/Snackbar.cjs +205 -0
- package/dist/Snackbar.d.cts +62 -0
- package/dist/Snackbar.d.mts +62 -0
- package/dist/Snackbar.mjs +203 -0
- package/dist/Switch.cjs +15 -5
- package/dist/Switch.d.cts +4 -2
- package/dist/Switch.d.mts +4 -2
- package/dist/Switch.mjs +15 -5
- package/dist/Table/Table.d.cts +2 -2
- package/dist/Table/Table.d.mts +2 -2
- package/dist/Table/TableBody.d.cts +1 -1
- package/dist/Table/TableBody.d.mts +1 -1
- package/dist/Table/TableCell.d.cts +1 -1
- package/dist/Table/TableCell.d.mts +1 -1
- package/dist/Table/TableContainer.d.cts +1 -1
- package/dist/Table/TableContainer.d.mts +1 -1
- package/dist/Table/TableControl.d.cts +1 -1
- package/dist/Table/TableControl.d.mts +1 -1
- package/dist/Table/TableFooter.d.cts +1 -1
- package/dist/Table/TableFooter.d.mts +1 -1
- package/dist/Table/TableHead.d.cts +1 -1
- package/dist/Table/TableHead.d.mts +1 -1
- package/dist/Table/TablePagination.cjs +1 -0
- package/dist/Table/TablePagination.d.cts +2 -2
- package/dist/Table/TablePagination.d.mts +2 -2
- package/dist/Table/TablePagination.mjs +1 -0
- package/dist/Table/TablePaginationActions.cjs +1 -1
- package/dist/Table/TablePaginationActions.d.cts +1 -1
- package/dist/Table/TablePaginationActions.d.mts +1 -1
- package/dist/Table/TablePaginationActions.mjs +1 -1
- package/dist/Table/TableRow.d.cts +1 -1
- package/dist/Table/TableRow.d.mts +1 -1
- package/dist/Table/TableSortLabel.cjs +1 -1
- package/dist/Table/TableSortLabel.d.cts +1 -1
- package/dist/Table/TableSortLabel.d.mts +1 -1
- package/dist/Table/TableSortLabel.mjs +1 -1
- package/dist/Table/hooks.d.cts +1 -1
- package/dist/Table/hooks.d.mts +1 -1
- package/dist/Table.d.cts +5 -5
- package/dist/Table.d.mts +5 -5
- package/dist/{TableContext-DhuRf6Wy.d.mts → TableContext-Be8tluYZ.d.cts} +1 -1
- package/dist/{TableContext-Duj1nVG7.d.cts → TableContext-DUPqls5k.d.mts} +1 -1
- package/dist/Tabs/Tab.cjs +16 -7
- package/dist/Tabs/Tab.d.cts +2 -2
- package/dist/Tabs/Tab.d.mts +2 -2
- package/dist/Tabs/Tab.mjs +16 -7
- package/dist/Tabs/TabContext.d.cts +1 -1
- package/dist/Tabs/TabContext.d.mts +1 -1
- package/dist/Tabs/TabList.cjs +1 -1
- package/dist/Tabs/TabList.d.cts +1 -1
- package/dist/Tabs/TabList.d.mts +1 -1
- package/dist/Tabs/TabList.mjs +1 -1
- package/dist/Tabs/TabPanel.cjs +1 -1
- package/dist/Tabs/TabPanel.d.cts +2 -2
- package/dist/Tabs/TabPanel.d.mts +2 -2
- package/dist/Tabs/TabPanel.mjs +1 -1
- package/dist/Tabs/TabScrollButton.cjs +2 -2
- package/dist/Tabs/TabScrollButton.d.cts +1 -1
- package/dist/Tabs/TabScrollButton.d.mts +1 -1
- package/dist/Tabs/TabScrollButton.mjs +2 -2
- package/dist/Tabs/Tabs.cjs +1 -1
- package/dist/Tabs/Tabs.d.cts +2 -2
- package/dist/Tabs/Tabs.d.mts +2 -2
- package/dist/Tabs/Tabs.mjs +1 -1
- package/dist/{Tabs-D4tWCq78.cjs → Tabs-Croeq9s2.cjs} +11 -7
- package/dist/{Tabs-BTNOJx5v.mjs → Tabs-DMMP5aDj.mjs} +11 -7
- package/dist/Tabs.cjs +1 -1
- package/dist/Tabs.d.cts +3 -3
- package/dist/Tabs.d.mts +3 -3
- package/dist/Tabs.mjs +1 -1
- package/dist/{TabsContext-B_XHbjcS.d.cts → TabsContext-BYeGjSZK.d.cts} +1 -1
- package/dist/{TabsContext-Dn2kqUwr.d.mts → TabsContext-D4YumTfD.d.mts} +1 -1
- package/dist/TextInput.cjs +11 -11
- package/dist/TextInput.d.cts +1 -1
- package/dist/TextInput.d.mts +1 -1
- package/dist/TextInput.mjs +11 -11
- package/dist/ToggleButton/ToggleButton.cjs +2 -2
- package/dist/ToggleButton/ToggleButton.d.cts +1 -1
- package/dist/ToggleButton/ToggleButton.d.mts +1 -1
- package/dist/ToggleButton/ToggleButton.mjs +2 -2
- package/dist/ToggleButton/ToggleButtonGroup.cjs +1 -1
- package/dist/ToggleButton/ToggleButtonGroup.d.cts +1 -1
- package/dist/ToggleButton/ToggleButtonGroup.d.mts +1 -1
- package/dist/ToggleButton/ToggleButtonGroup.mjs +1 -1
- package/dist/Tooltip.cjs +270 -0
- package/dist/Tooltip.d.cts +78 -0
- package/dist/Tooltip.d.mts +78 -0
- package/dist/Tooltip.mjs +268 -0
- package/dist/TransferList.cjs +14 -7
- package/dist/TransferList.d.cts +4 -2
- package/dist/TransferList.d.mts +4 -2
- package/dist/TransferList.mjs +14 -7
- package/dist/Typography.cjs +1 -1
- package/dist/Typography.d.cts +2 -2
- package/dist/Typography.d.mts +2 -2
- package/dist/Typography.mjs +1 -1
- package/dist/View.d.cts +1 -1
- package/dist/View.d.mts +1 -1
- package/dist/Zoom.cjs +16 -0
- package/dist/Zoom.d.cts +10 -0
- package/dist/Zoom.d.mts +10 -0
- package/dist/Zoom.mjs +15 -0
- package/dist/catalog.cjs +932 -30
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +932 -30
- package/dist/engine.d.cts +2 -2
- package/dist/engine.d.mts +1 -1
- package/dist/getAnchorRel-CySI28HJ.mjs +8 -0
- package/dist/getAnchorRel-_vtAXC-4.cjs +13 -0
- package/dist/getShapeRadius-B9ytqDSk.d.cts +5 -0
- package/dist/getShapeRadius-B9ytqDSk.d.mts +5 -0
- package/dist/getShapeRadius-sY6-AGP4.mjs +12 -0
- package/dist/getShapeRadius-vXmXGV3f.cjs +17 -0
- package/dist/getSurfaceRadius-BTUV1E8H.cjs +11 -0
- package/dist/getSurfaceRadius-DTgqIzll.mjs +6 -0
- package/dist/getTooltipOrigins-B_7XXtQq.cjs +104 -0
- package/dist/getTooltipOrigins-CyyIMCF1.mjs +87 -0
- package/dist/{index-Dv_fk1_F.d.cts → index-05VGk0y_.d.cts} +14 -2
- package/dist/{index-DtYjdBvO.d.cts → index-2x01drCL.d.mts} +2 -2
- package/dist/{index-B1RFybA_.d.mts → index-46mhlgP6.d.mts} +7 -3
- package/dist/{index-BQWjh4rK.d.mts → index-BCzI2Iqo.d.cts} +3 -3
- package/dist/{index-ClZyaZrR.d.mts → index-BDqIc6Gx.d.cts} +2 -2
- package/dist/{index-K5exjvnX.d.cts → index-BPh60KDs.d.mts} +2 -2
- package/dist/{index-DAwcmIjN.d.cts → index-BQge4W7L.d.cts} +2 -2
- package/dist/{index-B4TeaB7b.d.cts → index-BSGu9rPv.d.cts} +7 -3
- package/dist/{index-BelFIizY.d.cts → index-BThHG5QU.d.mts} +3 -3
- package/dist/{index-YKrfFC_I.d.cts → index-BUeqNHjb.d.cts} +2 -2
- package/dist/{index-BGbTuHP9.d.mts → index-BeqpkGV-.d.mts} +1 -1
- package/dist/{index-Bx0-6yeX.d.mts → index-Bfyz3MDc.d.mts} +1 -1
- package/dist/{index-CbFaWtjK.d.mts → index-BgLqA52S.d.cts} +2 -2
- package/dist/{index-DchHf5cF.d.cts → index-BhnLFsBv.d.cts} +1 -1
- package/dist/{index-KnXhlKMr.d.cts → index-BitQk7Hx.d.cts} +1 -1
- package/dist/index-BvgX5eyV.d.mts +36 -0
- package/dist/index-CERyXFjz.d.cts +32 -0
- package/dist/index-CLvlNnjM.d.mts +32 -0
- package/dist/{index-BkzZxHVj.d.mts → index-CO-XxjiZ.d.cts} +2 -2
- package/dist/{index-DYF8sRE-.d.cts → index-CR0akDlJ.d.cts} +2 -2
- package/dist/{index-CJhK7JND.d.mts → index-CRQ7XLri.d.mts} +193 -13
- package/dist/{index-CknoXDLQ.d.cts → index-CRn4fWwA.d.mts} +2 -2
- package/dist/{index-CUz2h5xY.d.mts → index-CWPvdEjP.d.mts} +2 -2
- package/dist/{index-nqUA_6J_.d.cts → index-CrQDxJ1D.d.cts} +1 -1
- package/dist/index-Ctx-DKV3.d.cts +18 -0
- package/dist/index-Ctx-DKV3.d.mts +18 -0
- package/dist/{index-CE5JG1us.d.mts → index-CyLhEXYB.d.mts} +1 -1
- package/dist/{index-pTNq3iQn.d.mts → index-D05fSuF1.d.mts} +2 -2
- package/dist/{index-CG_1uPrD.d.mts → index-DK3zgGPe.d.mts} +2 -2
- package/dist/{index-ha1WjSZ5.d.mts → index-DNj5P2NH.d.mts} +14 -2
- package/dist/{index-ChXeKJCk.d.cts → index-DOH1xY0L.d.cts} +1 -1
- package/dist/{index-WHFhjfgy.d.cts → index-D_-DAAE7.d.mts} +14 -6
- package/dist/{index-BHKgEOZJ.d.cts → index-D_LT3QiH.d.mts} +3 -3
- package/dist/index-Db4L2hwa.d.cts +36 -0
- package/dist/{index-BrgwkY6z.d.mts → index-Dk4KuTPB.d.cts} +3 -3
- package/dist/{index-bpnLB_4K.d.mts → index-Ebjbrbsk.d.cts} +14 -6
- package/dist/{index-CQfJZADG.d.cts → index-MWUGpG-Y.d.mts} +3 -3
- package/dist/{index-DJ0f69wh.d.cts → index-XN4-ZqTB.d.cts} +195 -15
- package/dist/index-fPRELf0V.d.mts +1 -0
- package/dist/{index-DGnXJwLj.d.mts → index-fi-W3MOz.d.cts} +7 -5
- package/dist/{index-ByYxVl9O.d.mts → index-iTquH69S.d.cts} +3 -3
- package/dist/{index-DWjz5ZzG.d.cts → index-lGpLM144.d.mts} +7 -5
- package/dist/{index-h4dYtVrp.d.mts → index-vBCN6iAz.d.mts} +1 -1
- package/dist/index-x3WC9ViD.d.cts +1 -0
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/inputVariantStyles-BUK_62Ra.cjs +61 -0
- package/dist/inputVariantStyles-q_cZsCJg.mjs +44 -0
- package/dist/style.cjs +1 -1
- package/dist/style.d.cts +2 -2
- package/dist/style.d.mts +2 -2
- package/dist/style.mjs +1 -1
- package/dist/{theme-BxXuXRgQ.cjs → theme-DzfwuzMZ.cjs} +1 -1
- package/dist/{theme-Z9_QludW.mjs → theme-oBfFhJm9.mjs} +1 -1
- package/dist/theme.cjs +3 -2
- package/dist/theme.d.cts +3 -3
- package/dist/theme.d.mts +3 -3
- package/dist/theme.mjs +3 -3
- package/dist/{themes-gd6tcmqS.cjs → themes--4eci3M1.cjs} +25 -2
- package/dist/{themes-L-dE7_ck.mjs → themes-BwEsdVox.mjs} +20 -3
- package/dist/useAnchoredPlacement-B1FyGoZV.cjs +111 -0
- package/dist/useAnchoredPlacement-Pe7sY41E.mjs +106 -0
- package/dist/useMergedRefs-2zTDXgPO.cjs +27 -0
- package/dist/useMergedRefs-BfBckwRY.mjs +22 -0
- package/dist/{useTablePagination-C-u3ru4N.d.cts → useTablePagination-CFb_FYA9.d.cts} +1 -1
- package/dist/{useTablePagination-D-39ZmQh.d.mts → useTablePagination-_-bzuXJO.d.mts} +1 -1
- package/dist/useTransition-C1F7MuHO.d.mts +42 -0
- package/dist/useTransition-DAQd1PX3.cjs +83 -0
- package/dist/useTransition-DP1k0irI.mjs +78 -0
- package/dist/useTransition-l9dv83-Y.d.cts +42 -0
- package/dist/useTransitionChild-CikpU0Yh.cjs +54 -0
- package/dist/useTransitionChild-Dvg9hO-F.mjs +49 -0
- package/package.json +164 -14
- package/dist/index-BxVTIMnB.d.cts +0 -1
- package/dist/index-DaIIo5QU.d.mts +0 -1
- package/dist/inputVariantStyles-BBkkYQtE.cjs +0 -32
- package/dist/inputVariantStyles-CcqpGfuP.mjs +0 -28
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { i as ButtonProps } from "./index-DK3zgGPe.mjs";
|
|
2
|
+
import { ReactNode, Ref } from "react";
|
|
3
|
+
//#region src/Fab/Fab.d.ts
|
|
4
|
+
type FabVariant = 'circular' | 'extended';
|
|
5
|
+
type FabButtonProps = Omit<ButtonProps, 'variant' | 'shape' | 'endIcon' | 'loading' | 'loadingIndicator' | 'loadingPosition' | 'fullWidth' | 'href' | 'target' | 'rel' | 'gap'>;
|
|
6
|
+
type FabProps = FabButtonProps & {
|
|
7
|
+
/** A circle, or a pill with a label. Default: `'circular'`. */
|
|
8
|
+
variant?: FabVariant;
|
|
9
|
+
/** An extended fab's icon, before the label. A circular one is its content. */
|
|
10
|
+
startIcon?: ReactNode;
|
|
11
|
+
/** The button element, for a trigger that places something against it or moves its focus. */
|
|
12
|
+
ref?: Ref<HTMLButtonElement>;
|
|
13
|
+
/**
|
|
14
|
+
* Draws an extended fab as its icon alone - a circle - and back again, the label moving in and out
|
|
15
|
+
* over `theme.transitions`. The label stays in the tree, so the fab keeps its name. A circular
|
|
16
|
+
* fab ignores it. Default: `false`.
|
|
17
|
+
*/
|
|
18
|
+
isCollapsed?: boolean;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* @description A floating action button: the one main action of a page, circular - its icon - or
|
|
22
|
+
* extended, a pill with a label. It is a `Button`, with its focus ring, press state and disabled
|
|
23
|
+
* behavior, raised on a shadow that lifts on hover and moves with `theme.transitions` (and not at
|
|
24
|
+
* all under `prefers-reduced-motion`). Its touch target is at least `theme.space[6]` square however
|
|
25
|
+
* small the fab. An extended fab keeps its label on one line, with the icon a `theme.space[1.5]`
|
|
26
|
+
* before it, and `isCollapsed` draws it as a circle - the label moving out over `theme.transitions`. Margin and padding are `theme.space` keys, as everywhere. Where it floats is the
|
|
27
|
+
* page's: no position is built in. A fab with no text - a circular one - must be named:
|
|
28
|
+
* `aria-label` or `aria-labelledby`.
|
|
29
|
+
*/
|
|
30
|
+
declare function Fab({ variant: variantProp, color, size, startIcon, isCollapsed, children, ...rest }: Readonly<FabProps>): import("react").JSX.Element;
|
|
31
|
+
//#endregion
|
|
32
|
+
export { FabProps as n, FabVariant as r, Fab as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as MenuItemValue } from "./MenuListContext-
|
|
2
|
-
import { i as MenuItemRole } from "./index-
|
|
1
|
+
import { t as MenuItemValue } from "./MenuListContext-BrCKLgKZ.cjs";
|
|
2
|
+
import { i as MenuItemRole } from "./index-BSGu9rPv.cjs";
|
|
3
3
|
import { KeyboardEvent, MouseEvent, ReactNode } from "react";
|
|
4
4
|
//#region src/Menu/MenuItems/MenuItems.d.ts
|
|
5
5
|
/** A menu row as data - what a `MenuItem` takes, with its label as `label`. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as IconProps, r as IconName } from "./index-
|
|
1
|
+
import { nt as Theme } from "./index-XN4-ZqTB.cjs";
|
|
2
|
+
import { n as IconProps, r as IconName } from "./index-05VGk0y_.cjs";
|
|
3
3
|
import { ButtonHTMLAttributes } from "react";
|
|
4
4
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
5
5
|
//#region src/Table/TableSortLabel/TableSortLabel.d.ts
|
|
@@ -152,6 +152,10 @@ interface ThemeBackground {
|
|
|
152
152
|
terminal: string;
|
|
153
153
|
grid: string;
|
|
154
154
|
transparent: string;
|
|
155
|
+
/** The thumb of a drawn scrollbar (`ScrollArea`). */
|
|
156
|
+
scrollbar: string;
|
|
157
|
+
/** The track of a drawn scrollbar, while it is hovered or dragged. */
|
|
158
|
+
scrollbarTrack: string;
|
|
155
159
|
}
|
|
156
160
|
interface ThemeBorder {
|
|
157
161
|
default?: string;
|
|
@@ -188,6 +192,25 @@ interface ThemeZOrder {
|
|
|
188
192
|
appBar: number;
|
|
189
193
|
drawer: number;
|
|
190
194
|
modal: number;
|
|
195
|
+
snackbar: number;
|
|
196
|
+
tooltip: number;
|
|
197
|
+
}
|
|
198
|
+
/** The durations of `theme.transitions.duration`, in milliseconds. */
|
|
199
|
+
interface ThemeTransitionDuration {
|
|
200
|
+
short: number;
|
|
201
|
+
standard: number;
|
|
202
|
+
long: number;
|
|
203
|
+
}
|
|
204
|
+
/** The easings of `theme.transitions.easing` - CSS timing functions. */
|
|
205
|
+
interface ThemeTransitionEasing {
|
|
206
|
+
standard: string;
|
|
207
|
+
enter: string;
|
|
208
|
+
exit: string;
|
|
209
|
+
}
|
|
210
|
+
/** How long and how smoothly things move - read by `Collapse`, `Fade`, `Grow`, `Slide` and `Zoom`. */
|
|
211
|
+
interface ThemeTransitions {
|
|
212
|
+
duration: OpenScale<ThemeTransitionDuration>;
|
|
213
|
+
easing: OpenScale<ThemeTransitionEasing>;
|
|
191
214
|
}
|
|
192
215
|
interface ThemeRadii {
|
|
193
216
|
sq: string;
|
|
@@ -417,6 +440,8 @@ interface ThemeDefaults {
|
|
|
417
440
|
avatarSize?: keyof ThemeAvatarSizes;
|
|
418
441
|
/** Icon glyph size step. Fallback: `'lg'`. */
|
|
419
442
|
iconSize?: keyof ThemeIconSizes;
|
|
443
|
+
/** Least width of an input that does not fill its row (text, number, select, autocomplete) - a CSS length. Fallback: `'12rem'`. */
|
|
444
|
+
inputMinWidth?: string;
|
|
420
445
|
/** Border/ring color. Fallback: `'primary'`. */
|
|
421
446
|
borderColor?: keyof ThemeBorder;
|
|
422
447
|
/** Border/ring width. Fallback: `'thin'`. */
|
|
@@ -426,7 +451,7 @@ interface ThemeDefaults {
|
|
|
426
451
|
/** Switch thumb/track layout. Fallback: `'outside'`. */
|
|
427
452
|
switchVariant?: 'outside' | 'inside';
|
|
428
453
|
/** Input frame style (TextInput, Select, NativeSelect). Fallback: `'default'`. */
|
|
429
|
-
inputVariant?:
|
|
454
|
+
inputVariant?: InputVariantKey;
|
|
430
455
|
/** Avatar shape. Fallback: `'circular'`. */
|
|
431
456
|
avatarVariant?: 'circular' | 'rounded' | 'square';
|
|
432
457
|
/** Link underline behavior. Fallback: `'always'`. */
|
|
@@ -467,8 +492,8 @@ interface ButtonVariants {
|
|
|
467
492
|
outlined: true;
|
|
468
493
|
text: true;
|
|
469
494
|
}
|
|
470
|
-
/** The defaults a theme may set for every `
|
|
471
|
-
interface
|
|
495
|
+
/** The defaults a theme may set for every `RangeInput`. */
|
|
496
|
+
interface RangeInputOwnerState {
|
|
472
497
|
size?: keyof ThemeSizes;
|
|
473
498
|
color?: keyof ThemePalette;
|
|
474
499
|
orientation?: 'horizontal' | 'vertical';
|
|
@@ -478,9 +503,9 @@ interface InputRangeOwnerState {
|
|
|
478
503
|
valueLabel?: 'auto' | 'on' | 'off';
|
|
479
504
|
shouldSwapThumbs?: boolean;
|
|
480
505
|
}
|
|
481
|
-
/** The defaults a theme may set for every `
|
|
482
|
-
interface
|
|
483
|
-
variant?:
|
|
506
|
+
/** The defaults a theme may set for every `NumberInput` - its button labels give it a language. */
|
|
507
|
+
interface NumberInputOwnerState {
|
|
508
|
+
variant?: InputVariantKey;
|
|
484
509
|
size?: keyof ThemeSizes;
|
|
485
510
|
color?: keyof ThemePalette;
|
|
486
511
|
spinButtons?: 'stacked' | 'sides' | 'none';
|
|
@@ -500,6 +525,129 @@ interface RatingOwnerState {
|
|
|
500
525
|
size?: keyof ThemeSizes;
|
|
501
526
|
color?: keyof ThemePalette;
|
|
502
527
|
}
|
|
528
|
+
/** The defaults a theme may set for every `Autocomplete` - its labels give it a language. */
|
|
529
|
+
interface AutocompleteOwnerState {
|
|
530
|
+
borderRadius?: keyof ThemeRadii;
|
|
531
|
+
bg?: keyof ThemeBackground;
|
|
532
|
+
textColor?: keyof ThemeText;
|
|
533
|
+
variant?: InputVariantKey;
|
|
534
|
+
size?: keyof ThemeSizes;
|
|
535
|
+
color?: keyof ThemePalette;
|
|
536
|
+
shouldAllowFreeText?: boolean;
|
|
537
|
+
layer?: keyof ThemeZOrder;
|
|
538
|
+
clearLabel?: string;
|
|
539
|
+
openLabel?: string;
|
|
540
|
+
closeLabel?: string;
|
|
541
|
+
loadingText?: string;
|
|
542
|
+
noOptionsText?: string;
|
|
543
|
+
}
|
|
544
|
+
/** The defaults a theme may set for every `ScrollArea`. */
|
|
545
|
+
interface ScrollAreaOwnerState {
|
|
546
|
+
axes?: 'x' | 'y' | 'both';
|
|
547
|
+
}
|
|
548
|
+
/** The frames a form input is drawn in. */
|
|
549
|
+
type InputVariantKey = 'default' | 'outlined' | 'text' | 'underline';
|
|
550
|
+
/** The corner shapes of a control or a surface. */
|
|
551
|
+
type ShapeKey = 'square' | 'rounded' | 'pill';
|
|
552
|
+
/** The defaults a theme may set for every `Tooltip`. */
|
|
553
|
+
interface TooltipOwnerState {
|
|
554
|
+
borderRadius?: keyof ThemeRadii;
|
|
555
|
+
bg?: keyof ThemeBackground;
|
|
556
|
+
textColor?: keyof ThemeText;
|
|
557
|
+
placement?: 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end' | 'auto' | 'auto-start' | 'auto-end';
|
|
558
|
+
hasArrow?: boolean;
|
|
559
|
+
enterDelay?: number;
|
|
560
|
+
leaveDelay?: number;
|
|
561
|
+
enterTouchDelay?: number;
|
|
562
|
+
leaveTouchDelay?: number;
|
|
563
|
+
shouldDescribeChild?: boolean;
|
|
564
|
+
shouldOpenOnHover?: boolean;
|
|
565
|
+
shouldOpenOnFocus?: boolean;
|
|
566
|
+
shouldOpenOnTouch?: boolean;
|
|
567
|
+
layer?: keyof ThemeZOrder;
|
|
568
|
+
}
|
|
569
|
+
/** The defaults a theme may set for every `Snackbar`. */
|
|
570
|
+
interface SnackbarOwnerState {
|
|
571
|
+
anchorOrigin?: {
|
|
572
|
+
vertical: 'top' | 'bottom';
|
|
573
|
+
horizontal: 'start' | 'center' | 'end';
|
|
574
|
+
};
|
|
575
|
+
autoHideDuration?: number;
|
|
576
|
+
resumeHideDuration?: number;
|
|
577
|
+
layer?: keyof ThemeZOrder;
|
|
578
|
+
shape?: ShapeKey;
|
|
579
|
+
borderRadius?: keyof ThemeRadii;
|
|
580
|
+
bg?: keyof ThemeBackground;
|
|
581
|
+
textColor?: keyof ThemeText;
|
|
582
|
+
}
|
|
583
|
+
/** The defaults a theme may set for every `Fab`. */
|
|
584
|
+
interface FabOwnerState {
|
|
585
|
+
variant?: 'circular' | 'extended';
|
|
586
|
+
color?: keyof ThemePalette;
|
|
587
|
+
size?: keyof ThemeSizes;
|
|
588
|
+
}
|
|
589
|
+
/** The defaults a theme may set for every `FabMenu`. */
|
|
590
|
+
interface FabMenuOwnerState {
|
|
591
|
+
direction?: 'up' | 'down' | 'left' | 'right';
|
|
592
|
+
align?: 'start' | 'end';
|
|
593
|
+
color?: keyof ThemePalette;
|
|
594
|
+
size?: keyof ThemeSizes;
|
|
595
|
+
}
|
|
596
|
+
/** The defaults a theme may set for every `Alert` - its `closeLabel` gives it a language. */
|
|
597
|
+
interface AlertOwnerState {
|
|
598
|
+
severity?: 'success' | 'info' | 'warning' | 'error';
|
|
599
|
+
variant?: 'standard' | 'contained' | 'outlined';
|
|
600
|
+
closeLabel?: string;
|
|
601
|
+
role?: 'alert' | 'status';
|
|
602
|
+
borderRadius?: keyof ThemeRadii;
|
|
603
|
+
}
|
|
604
|
+
/** The defaults a theme may set for every `Badge`. */
|
|
605
|
+
interface BadgeOwnerState {
|
|
606
|
+
max?: number;
|
|
607
|
+
variant?: 'standard' | 'dot';
|
|
608
|
+
color?: keyof ThemePalette;
|
|
609
|
+
anchorOrigin?: {
|
|
610
|
+
vertical: 'top' | 'bottom';
|
|
611
|
+
horizontal: 'start' | 'end';
|
|
612
|
+
};
|
|
613
|
+
overlap?: 'rectangular' | 'circular';
|
|
614
|
+
}
|
|
615
|
+
/** The defaults a theme may set for every `Chip` - its `deleteLabel` gives it a language. */
|
|
616
|
+
interface ChipOwnerState {
|
|
617
|
+
variant?: 'contained' | 'outlined' | 'text';
|
|
618
|
+
color?: keyof ThemePalette;
|
|
619
|
+
size?: keyof ThemeSizes;
|
|
620
|
+
shape?: ShapeKey;
|
|
621
|
+
borderRadius?: keyof ThemeRadii;
|
|
622
|
+
deleteLabel?: string;
|
|
623
|
+
}
|
|
624
|
+
/** The defaults a theme may set for every `Accordion`. */
|
|
625
|
+
interface AccordionOwnerState {
|
|
626
|
+
hasGutters?: boolean;
|
|
627
|
+
borderRadius?: keyof ThemeRadii;
|
|
628
|
+
bg?: keyof ThemeBackground;
|
|
629
|
+
textColor?: keyof ThemeText;
|
|
630
|
+
}
|
|
631
|
+
/** The defaults a theme may set for every `AccordionSummary`. */
|
|
632
|
+
interface AccordionSummaryOwnerState {
|
|
633
|
+
headingLevel?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
634
|
+
}
|
|
635
|
+
/** The defaults a theme may set for every `AccordionGroup`. */
|
|
636
|
+
interface AccordionGroupOwnerState {
|
|
637
|
+
isExclusive?: boolean;
|
|
638
|
+
variant?: 'separated' | 'attached';
|
|
639
|
+
}
|
|
640
|
+
/** The defaults a theme may set for every `Collapse`. */
|
|
641
|
+
interface CollapseOwnerState {
|
|
642
|
+
orientation?: 'vertical' | 'horizontal';
|
|
643
|
+
collapsedSize?: string | number;
|
|
644
|
+
timeout?: number | {
|
|
645
|
+
enter: number;
|
|
646
|
+
exit: number;
|
|
647
|
+
};
|
|
648
|
+
easing?: keyof ThemeTransitionEasing;
|
|
649
|
+
shouldAppear?: boolean;
|
|
650
|
+
}
|
|
503
651
|
/** The defaults a theme may set for every `TransferList` - its button labels give it a language. */
|
|
504
652
|
interface TransferListOwnerState {
|
|
505
653
|
size?: keyof ThemeSizes;
|
|
@@ -525,7 +673,7 @@ interface ButtonOwnerState {
|
|
|
525
673
|
variant?: keyof ButtonVariants;
|
|
526
674
|
color?: keyof ThemePalette;
|
|
527
675
|
size?: keyof ThemeSizes;
|
|
528
|
-
shape?:
|
|
676
|
+
shape?: ShapeKey;
|
|
529
677
|
fullWidth?: boolean;
|
|
530
678
|
disabled?: boolean;
|
|
531
679
|
}
|
|
@@ -548,6 +696,7 @@ interface TabsOwnerState {
|
|
|
548
696
|
/** The defaults a theme may set for every `Menu`. */
|
|
549
697
|
interface MenuOwnerState {
|
|
550
698
|
align?: 'start' | 'end';
|
|
699
|
+
borderRadius?: keyof ThemeRadii;
|
|
551
700
|
marginThreshold?: keyof ThemeSpace;
|
|
552
701
|
elevation?: PaperElevation;
|
|
553
702
|
layer?: keyof ThemeZOrder;
|
|
@@ -639,7 +788,7 @@ interface ThemeComponents {
|
|
|
639
788
|
Button?: ComponentConfig<ButtonOwnerState, 'root' | 'label' | 'icon' | 'loader'>;
|
|
640
789
|
ButtonGroup?: ComponentConfig;
|
|
641
790
|
Card?: ComponentConfig<CardOwnerState, 'root' | 'title' | 'caption' | 'icon'>;
|
|
642
|
-
Checkbox?: ComponentConfig<Record<string, unknown>, 'root' | 'input' | 'icon'>;
|
|
791
|
+
Checkbox?: ComponentConfig<Record<string, unknown>, 'root' | 'input' | 'icon' | 'label'>;
|
|
643
792
|
CircularProgress?: ComponentConfig<Record<string, unknown>, 'root' | 'track' | 'circle'>;
|
|
644
793
|
ContextMenu?: ComponentConfig<ContextMenuOwnerState, 'root' | 'paper'>;
|
|
645
794
|
Drawer?: ComponentConfig;
|
|
@@ -666,16 +815,32 @@ interface ThemeComponents {
|
|
|
666
815
|
Popover?: ComponentConfig<Record<string, unknown>, 'root' | 'positioner'>;
|
|
667
816
|
Pressable?: ComponentConfig<PressableOwnerState>;
|
|
668
817
|
Quote?: ComponentConfig;
|
|
669
|
-
Radio?: ComponentConfig<Record<string, unknown>, 'root' | 'input' | 'icon'>;
|
|
670
|
-
|
|
818
|
+
Radio?: ComponentConfig<Record<string, unknown>, 'root' | 'input' | 'icon' | 'label'>;
|
|
819
|
+
RangeInput?: ComponentConfig<RangeInputOwnerState, 'root' | 'rail' | 'track' | 'thumb' | 'mark' | 'markLabel' | 'valueLabel' | 'input'>;
|
|
820
|
+
Tooltip?: ComponentConfig<TooltipOwnerState, 'root' | 'arrow'>;
|
|
821
|
+
Snackbar?: ComponentConfig<SnackbarOwnerState, 'root' | 'content' | 'message' | 'action'>;
|
|
822
|
+
Fab?: ComponentConfig<FabOwnerState, 'root' | 'label' | 'labelText'>;
|
|
823
|
+
FabMenu?: ComponentConfig<FabMenuOwnerState, 'root' | 'list'>;
|
|
824
|
+
Alert?: ComponentConfig<AlertOwnerState, 'root' | 'icon' | 'message' | 'action' | 'closeButton'>;
|
|
825
|
+
AlertTitle?: ComponentConfig;
|
|
826
|
+
Badge?: ComponentConfig<BadgeOwnerState, 'root' | 'badge' | 'label'>;
|
|
827
|
+
Chip?: ComponentConfig<ChipOwnerState, 'root' | 'body' | 'label' | 'icon' | 'avatar' | 'deleteIcon'>;
|
|
828
|
+
Accordion?: ComponentConfig<AccordionOwnerState, 'root' | 'region'>;
|
|
829
|
+
AccordionSummary?: ComponentConfig<AccordionSummaryOwnerState, 'root' | 'button' | 'content' | 'icon'>;
|
|
830
|
+
AccordionDetails?: ComponentConfig;
|
|
831
|
+
AccordionActions?: ComponentConfig;
|
|
832
|
+
AccordionGroup?: ComponentConfig<AccordionGroupOwnerState>;
|
|
833
|
+
Collapse?: ComponentConfig<CollapseOwnerState, 'root' | 'wrapper' | 'inner'>;
|
|
671
834
|
TransferList?: ComponentConfig<TransferListOwnerState, 'root' | 'list' | 'header' | 'title' | 'count' | 'items' | 'item' | 'controls' | 'icon'>;
|
|
672
|
-
|
|
835
|
+
Autocomplete?: ComponentConfig<AutocompleteOwnerState, 'root' | 'tags' | 'input' | 'clearIndicator' | 'popupIndicator' | 'popup' | 'listbox' | 'group' | 'groupLabel' | 'groupItems' | 'option' | 'status'>;
|
|
836
|
+
NumberInput?: ComponentConfig<NumberInputOwnerState, 'root' | 'input' | 'content' | 'spinButtons' | 'increment' | 'decrement'>;
|
|
673
837
|
Rating?: ComponentConfig<RatingOwnerState, 'root' | 'item' | 'icon' | 'decimal' | 'input' | 'text' | 'emptyLabel'>;
|
|
838
|
+
ScrollArea?: ComponentConfig<ScrollAreaOwnerState, 'root' | 'viewport' | 'track' | 'thumb'>;
|
|
674
839
|
Select?: ComponentConfig<Record<string, unknown>, 'root' | 'value' | 'valueArea' | 'valueGhost' | 'listbox'>;
|
|
675
840
|
Sidebar?: ComponentConfig<Record<string, unknown>, 'root' | 'rail' | 'panel'>;
|
|
676
841
|
SidebarItem?: ComponentConfig;
|
|
677
842
|
Skeleton?: ComponentConfig<Record<string, unknown>, 'root' | 'content'>;
|
|
678
|
-
Switch?: ComponentConfig<Record<string, unknown>, 'root' | 'input' | 'track' | 'thumb'>;
|
|
843
|
+
Switch?: ComponentConfig<Record<string, unknown>, 'root' | 'input' | 'track' | 'thumb' | 'label'>;
|
|
679
844
|
Tab?: ComponentConfig<TabOwnerState, 'root' | 'label' | 'icon' | 'secondaryAction' | 'close'>;
|
|
680
845
|
Table?: ComponentConfig;
|
|
681
846
|
TableBody?: ComponentConfig;
|
|
@@ -732,6 +897,7 @@ interface Theme {
|
|
|
732
897
|
fontWeights: OpenScale<ThemeFontWeights>;
|
|
733
898
|
palette: OpenScale<ThemePalette>;
|
|
734
899
|
zOrder: OpenScale<ThemeZOrder>;
|
|
900
|
+
transitions: ThemeTransitions;
|
|
735
901
|
}
|
|
736
902
|
/** The semantic color keys of `theme.palette`. */
|
|
737
903
|
type PaletteColor = keyof ThemePalette;
|
|
@@ -753,6 +919,20 @@ declare const zOrder: {
|
|
|
753
919
|
appBar: number;
|
|
754
920
|
drawer: number;
|
|
755
921
|
modal: number;
|
|
922
|
+
snackbar: number;
|
|
923
|
+
tooltip: number;
|
|
924
|
+
};
|
|
925
|
+
declare const transitions: {
|
|
926
|
+
duration: {
|
|
927
|
+
short: number;
|
|
928
|
+
standard: number;
|
|
929
|
+
long: number;
|
|
930
|
+
};
|
|
931
|
+
easing: {
|
|
932
|
+
standard: string;
|
|
933
|
+
enter: string;
|
|
934
|
+
exit: string;
|
|
935
|
+
};
|
|
756
936
|
};
|
|
757
937
|
declare const fontSizes: number[];
|
|
758
938
|
declare const lineHeights: {
|
|
@@ -873,4 +1053,4 @@ interface CreateThemedStyled extends StyledTags {
|
|
|
873
1053
|
*/
|
|
874
1054
|
declare const styled: CreateThemedStyled;
|
|
875
1055
|
//#endregion
|
|
876
|
-
export {
|
|
1056
|
+
export { TabScrollButtonOwnerState as $, typography$1 as $t, FabOwnerState as A, TransferListOwnerState as At, MenuOwnerState as B, fontSizes as Bt, CollapseOwnerState as C, ThemeText as Ct, ContextMenuOwnerState as D, ThemeTypographyVariants as Dt, ComponentVariant as E, ThemeTransitions as Et, LayoutPanel as F, between as Ft, PressableOwnerState as G, letterSpacings as Gt, OpenScale as H, fonts as Ht, LayoutPanels as I, borderWidths as It, ScrollAreaOwnerState as J, only as Jt, RangeInputOwnerState as K, lineHeights as Kt, LayoutSpace as L, breakpoints as Lt, LayoutContent as M, TypographyVariantStyle as Mt, LayoutEntry as N, avatar as Nt, DefaultBreakpoints as O, ThemeZOrder as Ot, LayoutLength as P, baseTheme as Pt, TabPanelOwnerState as Q, transitions as Qt, MenuItemOwnerState as R, containerQueries as Rt, ChipOwnerState as S, ThemeSwitch as St, ComponentStyle as T, ThemeTransitionEasing as Tt, PaletteColor as U, icon as Ut, NumberInputOwnerState as V, fontWeights as Vt, PaletteEntry as W, layout$1 as Wt, SnackbarOwnerState as X, sizes as Xt, SizeEntry as Y, radii as Yt, TabOwnerState as Z, space$1 as Zt, ButtonVariants as _, ViewBorderWidthToken as _n, ThemeRadii as _t, ThemeCustomizationOptions as a, BreakpointHelpers as an, ThemeBorder as at, CardSlotIconProps as b, ThemeSkeleton as bt, AccordionOwnerState as c, PaperElevation as cn, ThemeComponents as ct, AutocompleteOwnerState as d, FlexProps as dn, ThemeFonts as dt, up as en, TabsOwnerState as et, BadgeOwnerState as f, GapToken as fn, ThemeIconSizes as ft, ButtonOwnerState as g, ViewBorderRadiusToken as gn, ThemePalette as gt, BreakpointOverrides as h, ViewBorderColorToken as hn, ThemeLineHeights as ht, props as i, createTheme as in, ThemeBackground as it, LayoutBars as j, TypographyVariant as jt, FabMenuOwnerState as k, TooltipOwnerState as kt, AccordionSummaryOwnerState as l, PaperProps as ln, ThemeDefaults as lt, BreakpointKey as m, ViewBackgroundToken as mn, ThemeLetterSpacings as mt, css$1 as n, DeepPartial as nn, Theme as nt, styled as o, withBreakpointHelpers as on, ThemeBorderWidths as ot, BreadcrumbsOwnerState as p, View as pn, ThemeLayout as pt, RatingOwnerState as q, not as qt, keyframes as r, ThemeOverride as rn, ThemeAvatarSizes as rt, AccordionGroupOwnerState as s, Paper as sn, ThemeBreakpoints as st, createShouldForwardProp as t, zOrder as tn, TabsVariants as tt, AlertOwnerState as u, Flex as un, ThemeFontWeights as ut, CSSObject$1 as v, ViewColorToken as vn, ThemeShadow as vt, ComponentConfig as w, ThemeTransitionDuration as wt, CardSlotTypographyProps as x, ThemeSpace as xt, CardOwnerState as y, ViewProps as yn, ThemeSizes as yt, MenuListOwnerState as z, down as zt };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as MenuItemValue } from "./MenuListContext-
|
|
2
|
-
import { i as MenuItemRole } from "./index-
|
|
1
|
+
import { t as MenuItemValue } from "./MenuListContext-BWL5fM_L.mjs";
|
|
2
|
+
import { i as MenuItemRole } from "./index-46mhlgP6.mjs";
|
|
3
3
|
import { KeyboardEvent, MouseEvent, ReactNode } from "react";
|
|
4
4
|
//#region src/Menu/MenuItems/MenuItems.d.ts
|
|
5
5
|
/** A menu row as data - what a `MenuItem` takes, with its label as `label`. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { U as PaletteColor, nt as Theme } from "./index-CRQ7XLri.mjs";
|
|
2
2
|
import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
3
3
|
import { ButtonHTMLAttributes, ElementType } from "react";
|
|
4
4
|
//#region src/Pressable/Pressable.d.ts
|
|
@@ -44,6 +44,6 @@ interface PressableProps extends Omit<ButtonHTMLAttributes<HTMLElement>, 'color'
|
|
|
44
44
|
* `feedback` picks what happens while it is held: nothing (default), the content
|
|
45
45
|
* dims, or the surface tints.
|
|
46
46
|
*/
|
|
47
|
-
declare function Pressable({ as, feedback, color, activeOpacity, href, type, disabled, onClick, onKeyDown, onKeyUp, ...rest }: Readonly<PressableProps>): import("react").JSX.Element;
|
|
47
|
+
declare function Pressable({ as, feedback, color, activeOpacity, href, target, rel, type, disabled, onClick, onKeyDown, onKeyUp, ...rest }: Readonly<PressableProps>): import("react").JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { PressableProps as i, PressableColor as n, PressableFeedback as r, Pressable as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { nt as Theme } from "./index-XN4-ZqTB.cjs";
|
|
2
2
|
import { KeyboardEvent, MouseEvent, ReactNode, Ref, RefCallback, SyntheticEvent } from "react";
|
|
3
3
|
//#region src/Modal/useModal.d.ts
|
|
4
4
|
type ModalCloseReason = 'escapeKey' | 'backdropClick';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
//#region src/Portal/Portal.d.ts
|
|
3
|
+
interface PortalProps {
|
|
4
|
+
/** Content to render into the container. */
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
/** Target node, or a function returning one. Defaults to `document.body`. */
|
|
7
|
+
container?: HTMLElement | (() => HTMLElement | null) | null;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Renders its children into a DOM node outside the parent hierarchy (the document
|
|
11
|
+
* body by default). Resolves the container synchronously during render, so the
|
|
12
|
+
* portaled content mounts in the same commit - consumers like Modal can rely on
|
|
13
|
+
* their root ref being attached before their effects run. Renders nothing during
|
|
14
|
+
* server rendering.
|
|
15
|
+
*/
|
|
16
|
+
declare function Portal({ children, container }: Readonly<PortalProps>): import("react").ReactPortal | null;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { PortalProps as n, Portal as t };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
//#region src/Portal/Portal.d.ts
|
|
3
|
+
interface PortalProps {
|
|
4
|
+
/** Content to render into the container. */
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
/** Target node, or a function returning one. Defaults to `document.body`. */
|
|
7
|
+
container?: HTMLElement | (() => HTMLElement | null) | null;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Renders its children into a DOM node outside the parent hierarchy (the document
|
|
11
|
+
* body by default). Resolves the container synchronously during render, so the
|
|
12
|
+
* portaled content mounts in the same commit - consumers like Modal can rely on
|
|
13
|
+
* their root ref being attached before their effects run. Renders nothing during
|
|
14
|
+
* server rendering.
|
|
15
|
+
*/
|
|
16
|
+
declare function Portal({ children, container }: Readonly<PortalProps>): import("react").ReactPortal | null;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { PortalProps as n, Portal as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { nt as Theme } from "./index-CRQ7XLri.mjs";
|
|
2
2
|
import { MouseEvent, ReactNode } from "react";
|
|
3
3
|
//#region src/Tabs/TabScrollButton/TabScrollButton.d.ts
|
|
4
4
|
/** Which way a scroll button scrolls a row of tabs: towards its start, or its end. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as IconProps, r as IconName } from "./index-
|
|
1
|
+
import { nt as Theme } from "./index-CRQ7XLri.mjs";
|
|
2
|
+
import { n as IconProps, r as IconName } from "./index-DNj5P2NH.mjs";
|
|
3
3
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
import { ButtonHTMLAttributes } from "react";
|
|
5
5
|
//#region src/Table/TableSortLabel/TableSortLabel.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { U as PaletteColor, _ as ButtonVariants, nt as Theme } from "./index-CRQ7XLri.mjs";
|
|
2
2
|
import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
3
3
|
import { ButtonHTMLAttributes, ReactNode } from "react";
|
|
4
4
|
//#region src/Button/Button.d.ts
|
|
@@ -44,6 +44,6 @@ interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'col
|
|
|
44
44
|
/** Anchor `rel` - only meaningful when `href` is set. */
|
|
45
45
|
rel?: string;
|
|
46
46
|
}
|
|
47
|
-
declare function Button({ variant, color, size, shape, gap, fontWeight, letterSpacing, startIcon, endIcon, fullWidth, loading, loadingIndicator, loadingPosition, children, disabled, href, ...rest }: Readonly<ButtonProps>): import("react").JSX.Element;
|
|
47
|
+
declare function Button({ variant, color, size, shape, gap, fontWeight, letterSpacing, startIcon, endIcon, fullWidth, loading, loadingIndicator, loadingPosition, children, disabled, href, target, rel, ...rest }: Readonly<ButtonProps>): import("react").JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { ButtonShape as a, GapToken as c, ButtonProps as i, ButtonColor as n, ButtonSize as o, ButtonLoadingPosition as r, ButtonVariant as s, Button as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as TextColorToken } from "./index-
|
|
1
|
+
import { ft as ThemeIconSizes } from "./index-CRQ7XLri.mjs";
|
|
2
|
+
import { n as TextColorToken } from "./index-BPh60KDs.mjs";
|
|
3
3
|
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
import { SVGProps } from "react";
|
|
5
5
|
//#region src/Icon/icons/AccountTree.d.ts
|
|
@@ -29,6 +29,9 @@ declare const SvgArrowUpward: (props: SVGProps<SVGSVGElement>) => import("react"
|
|
|
29
29
|
//#region src/Icon/icons/Check.d.ts
|
|
30
30
|
declare const SvgCheck: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
31
31
|
//#endregion
|
|
32
|
+
//#region src/Icon/icons/CheckCircle.d.ts
|
|
33
|
+
declare const SvgCheckCircle: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
34
|
+
//#endregion
|
|
32
35
|
//#region src/Icon/icons/ChevronLeft.d.ts
|
|
33
36
|
declare const SvgChevronLeft: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
34
37
|
//#endregion
|
|
@@ -65,6 +68,9 @@ declare const SvgDns: (props: SVGProps<SVGSVGElement>) => import("react").JSX.El
|
|
|
65
68
|
//#region src/Icon/icons/EditNote.d.ts
|
|
66
69
|
declare const SvgEditNote: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
67
70
|
//#endregion
|
|
71
|
+
//#region src/Icon/icons/ErrorCircle.d.ts
|
|
72
|
+
declare const SvgErrorCircle: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
73
|
+
//#endregion
|
|
68
74
|
//#region src/Icon/icons/ExpandLess.d.ts
|
|
69
75
|
declare const SvgExpandLess: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
70
76
|
//#endregion
|
|
@@ -107,6 +113,9 @@ declare const SvgHub: (props: SVGProps<SVGSVGElement>) => import("react").JSX.El
|
|
|
107
113
|
//#region src/Icon/icons/Image.d.ts
|
|
108
114
|
declare const SvgImage: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
109
115
|
//#endregion
|
|
116
|
+
//#region src/Icon/icons/Info.d.ts
|
|
117
|
+
declare const SvgInfo: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
118
|
+
//#endregion
|
|
110
119
|
//#region src/Icon/icons/Language.d.ts
|
|
111
120
|
declare const SvgLanguage: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
112
121
|
//#endregion
|
|
@@ -200,6 +209,7 @@ declare const icons: {
|
|
|
200
209
|
readonly arrow_forward: typeof SvgArrowForward;
|
|
201
210
|
readonly arrow_upward: typeof SvgArrowUpward;
|
|
202
211
|
readonly check: typeof SvgCheck;
|
|
212
|
+
readonly check_circle: typeof SvgCheckCircle;
|
|
203
213
|
readonly chevron_left: typeof SvgChevronLeft;
|
|
204
214
|
readonly chevron_right: typeof SvgChevronRight;
|
|
205
215
|
readonly checklist: typeof SvgChecklist;
|
|
@@ -212,6 +222,7 @@ declare const icons: {
|
|
|
212
222
|
readonly desktop_windows: typeof SvgDesktopWindows;
|
|
213
223
|
readonly dns: typeof SvgDns;
|
|
214
224
|
readonly edit_note: typeof SvgEditNote;
|
|
225
|
+
readonly error: typeof SvgErrorCircle;
|
|
215
226
|
readonly expand_less: typeof SvgExpandLess;
|
|
216
227
|
readonly expand_more: typeof SvgExpandMore;
|
|
217
228
|
readonly external_link: typeof SvgExternalLink;
|
|
@@ -226,6 +237,7 @@ declare const icons: {
|
|
|
226
237
|
readonly history: typeof SvgHistory;
|
|
227
238
|
readonly hub: typeof SvgHub;
|
|
228
239
|
readonly image: typeof SvgImage;
|
|
240
|
+
readonly info: typeof SvgInfo;
|
|
229
241
|
readonly language: typeof SvgLanguage;
|
|
230
242
|
readonly last_page: typeof SvgLastPage;
|
|
231
243
|
readonly link: typeof SvgLink;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { U as PaletteColor, nt as Theme } from "./index-XN4-ZqTB.cjs";
|
|
2
2
|
import { ButtonHTMLAttributes, ElementType, ReactNode } from "react";
|
|
3
3
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
//#region src/Pagination/hooks/usePagination.d.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-
|
|
3
|
-
import { t as TabValue } from "./TabsContext-
|
|
4
|
-
import { n as TabScrollButtonProps } from "./index-
|
|
5
|
-
import { ComponentType, ReactNode, Ref } from "react";
|
|
1
|
+
import { nt as Theme, tt as TabsVariants } from "./index-CRQ7XLri.mjs";
|
|
2
|
+
import "./index-vBCN6iAz.mjs";
|
|
3
|
+
import { t as TabValue } from "./TabsContext-D4YumTfD.mjs";
|
|
4
|
+
import { n as TabScrollButtonProps } from "./index-CyLhEXYB.mjs";
|
|
6
5
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
6
|
+
import { ComponentType, ReactNode, Ref } from "react";
|
|
7
7
|
//#region src/Tabs/Tabs/Tabs.d.ts
|
|
8
8
|
type TabsVariant = keyof TabsVariants;
|
|
9
9
|
type TabsOrientation = 'horizontal' | 'vertical';
|
|
@@ -29,6 +29,14 @@ interface TabsProps extends SpaceProps<Theme> {
|
|
|
29
29
|
onChange?: (value: TabValue) => void;
|
|
30
30
|
/** Fired with a closable tab's value when its close button, a middle click or Delete closes it. Removing the tab, and picking the next selection, are the app's. */
|
|
31
31
|
onTabClose?: (value: TabValue) => void;
|
|
32
|
+
/**
|
|
33
|
+
* Names each closable tab's close button for assistive technology - and the one in the overflow
|
|
34
|
+
* menu - by its `closeLabel`, so it is a button a screen reader finds and presses by name, still
|
|
35
|
+
* out of the tab order. It is a sibling of the tab, not inside it, so a tablist of tabs and their
|
|
36
|
+
* close buttons is read as one. Without it, the button is the pointer's alone and Delete closes
|
|
37
|
+
* the focused tab. Default: `false`.
|
|
38
|
+
*/
|
|
39
|
+
shouldAnnounceClose?: boolean;
|
|
32
40
|
/** `'nav'` makes it a navigation of links or buttons (`aria-current="page"`) rather than a `tablist`. Default: `'div'`. */
|
|
33
41
|
as?: 'div' | 'nav';
|
|
34
42
|
/** Default: `'horizontal'`. */
|
|
@@ -93,6 +101,6 @@ interface TabsProps extends SpaceProps<Theme> {
|
|
|
93
101
|
* navigation, its current tab marked `aria-current="page"`. Content of the row's own sits
|
|
94
102
|
* before and after the tabs.
|
|
95
103
|
*/
|
|
96
|
-
declare function Tabs({ children, value: valueProp, defaultValue, onChange, onTabClose, as, orientation, variant: variantProp, color: colorProp, textColor, size: sizeProp, fullWidth, isCentered, shouldSelectOnFocus, overflowBehavior, overflowLabel, scrollButtons, shouldShowScrollButtonsOnMobile, hasVisibleScrollbar, hasDivider: hasDividerProp, bg, selectedBg: selectedBgProp, slots, startContent, endContent, action, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, id, className, 'data-testid': dataTestid, ...spaceProps }: Readonly<TabsProps>): import("react").JSX.Element;
|
|
104
|
+
declare function Tabs({ children, value: valueProp, defaultValue, onChange, onTabClose, shouldAnnounceClose, as, orientation, variant: variantProp, color: colorProp, textColor, size: sizeProp, fullWidth, isCentered, shouldSelectOnFocus, overflowBehavior, overflowLabel, scrollButtons, shouldShowScrollButtonsOnMobile, hasVisibleScrollbar, hasDivider: hasDividerProp, bg, selectedBg: selectedBgProp, slots, startContent, endContent, action, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, id, className, 'data-testid': dataTestid, ...spaceProps }: Readonly<TabsProps>): import("react").JSX.Element;
|
|
97
105
|
//#endregion
|
|
98
106
|
export { TabsProps as a, TabsOverflowBehavior as i, TabsActions as n, TabsScrollButtons as o, TabsOrientation as r, TabsVariant as s, Tabs as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as PaginationItemSize, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, s as PaginationItemType } from "./index-
|
|
3
|
-
import { HTMLAttributes } from "react";
|
|
1
|
+
import { nt as Theme } from "./index-CRQ7XLri.mjs";
|
|
2
|
+
import { a as PaginationItemSize, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, s as PaginationItemType } from "./index-BeqpkGV-.mjs";
|
|
4
3
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
4
|
+
import { HTMLAttributes } from "react";
|
|
5
5
|
//#region src/Pagination/Pagination.d.ts
|
|
6
6
|
type PaginationColor = PaginationItemColor;
|
|
7
7
|
type PaginationVariant = PaginationItemVariant;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { nt as Theme } from "./index-XN4-ZqTB.cjs";
|
|
2
|
+
import { r as TransitionTimeout, t as TransitionCallbacks } from "./useTransition-l9dv83-Y.cjs";
|
|
3
|
+
import { ReactNode } from "react";
|
|
4
|
+
//#region src/Collapse/Collapse.d.ts
|
|
5
|
+
type CollapseOrientation = 'vertical' | 'horizontal';
|
|
6
|
+
interface CollapseProps extends TransitionCallbacks {
|
|
7
|
+
/** What opens and closes. */
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
/** Whether it is open. Default: `false`. */
|
|
10
|
+
isShown?: boolean;
|
|
11
|
+
/** Moves on the first render too, when open. Default: `true`. */
|
|
12
|
+
shouldAppear?: boolean;
|
|
13
|
+
/** Keeps the content out of the tree until it is first opened. Default: `false`. */
|
|
14
|
+
shouldMountOnEnter?: boolean;
|
|
15
|
+
/** Takes the content out of the tree once it is closed. Default: `false`. */
|
|
16
|
+
shouldUnmountOnExit?: boolean;
|
|
17
|
+
/** How long it takes in milliseconds, open or closed. Default: `theme.transitions.duration.standard`. */
|
|
18
|
+
timeout?: TransitionTimeout;
|
|
19
|
+
/** Which of `theme.transitions.easing` it moves by. Default: `'standard'`. */
|
|
20
|
+
easing?: keyof Theme['transitions']['easing'];
|
|
21
|
+
/** The height - or, horizontal, the width - it keeps when closed. Default: `0`. */
|
|
22
|
+
collapsedSize?: string | number;
|
|
23
|
+
/** Which way it opens. Default: `'vertical'`. */
|
|
24
|
+
orientation?: CollapseOrientation;
|
|
25
|
+
className?: string;
|
|
26
|
+
'data-testid'?: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* @description Opens and closes its content by its height - or, horizontal, its width. The size
|
|
30
|
+
* it moves to is measured from the content, and left to the content once it is open, so content
|
|
31
|
+
* that grows keeps showing. Closed, it keeps `collapsedSize` and is hidden when that is nothing.
|
|
32
|
+
* A user who asked for less motion sees it change at once.
|
|
33
|
+
*/
|
|
34
|
+
declare function Collapse({ children, isShown, shouldAppear: shouldAppearProp, shouldMountOnEnter, shouldUnmountOnExit, timeout: timeoutProp, easing: easingProp, collapsedSize: collapsedSizeProp, orientation: orientationProp, onEnter, onEntering, onEntered, onExit, onExiting, onExited, className, 'data-testid': dataTestid }: Readonly<CollapseProps>): import("react").JSX.Element | null;
|
|
35
|
+
//#endregion
|
|
36
|
+
export { CollapseOrientation as n, CollapseProps as r, Collapse as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as ButtonColor, o as ButtonSize, s as ButtonVariant } from "./index-
|
|
3
|
-
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
1
|
+
import { nt as Theme } from "./index-XN4-ZqTB.cjs";
|
|
2
|
+
import { n as ButtonColor, o as ButtonSize, s as ButtonVariant } from "./index-BQge4W7L.cjs";
|
|
4
3
|
import { ElementType, HTMLAttributes } from "react";
|
|
4
|
+
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
5
5
|
//#region src/ButtonGroup/ButtonGroup.d.ts
|
|
6
6
|
type ButtonGroupOrientation = 'horizontal' | 'vertical';
|
|
7
7
|
type ButtonGroupRadius = keyof Theme['radii'];
|