@soroush.tech/design-system 2.1.0 → 2.1.2-rc.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/README.md +12 -3
- package/dist/Accordion/Accordion.cjs +1 -1
- package/dist/Accordion/Accordion.d.cts +5 -6
- package/dist/Accordion/Accordion.d.mts +5 -6
- package/dist/Accordion/Accordion.mjs +2 -2
- package/dist/Accordion/AccordionActions.cjs +1 -1
- package/dist/Accordion/AccordionActions.d.cts +2 -3
- package/dist/Accordion/AccordionActions.d.mts +2 -3
- package/dist/Accordion/AccordionActions.mjs +1 -1
- package/dist/Accordion/AccordionDetails.cjs +1 -1
- package/dist/Accordion/AccordionDetails.d.cts +2 -3
- package/dist/Accordion/AccordionDetails.d.mts +2 -3
- package/dist/Accordion/AccordionDetails.mjs +1 -1
- package/dist/Accordion/AccordionGroup.cjs +1 -1
- package/dist/Accordion/AccordionGroup.d.cts +4 -5
- package/dist/Accordion/AccordionGroup.d.mts +4 -5
- package/dist/Accordion/AccordionGroup.mjs +2 -2
- package/dist/Accordion/AccordionSummary.cjs +2 -2
- package/dist/Accordion/AccordionSummary.d.cts +3 -4
- package/dist/Accordion/AccordionSummary.d.mts +3 -4
- package/dist/Accordion/AccordionSummary.mjs +3 -3
- package/dist/Alert/Alert.cjs +3 -3
- package/dist/Alert/Alert.d.cts +5 -6
- package/dist/Alert/Alert.d.mts +5 -6
- package/dist/Alert/Alert.mjs +4 -4
- package/dist/Alert/AlertTitle.cjs +1 -1
- package/dist/Alert/AlertTitle.d.cts +2 -3
- package/dist/Alert/AlertTitle.d.mts +2 -3
- package/dist/Alert/AlertTitle.mjs +1 -1
- package/dist/AppBar.cjs +2 -2
- package/dist/AppBar.d.cts +6 -7
- package/dist/AppBar.d.mts +6 -7
- package/dist/AppBar.mjs +2 -2
- package/dist/Autocomplete.cjs +6 -6
- package/dist/Autocomplete.d.cts +6 -6
- package/dist/Autocomplete.d.mts +6 -6
- package/dist/Autocomplete.mjs +7 -7
- package/dist/Avatar.cjs +2 -2
- package/dist/Avatar.d.cts +8 -8
- package/dist/Avatar.d.mts +8 -8
- package/dist/Avatar.mjs +3 -3
- package/dist/Backdrop.cjs +1 -1
- package/dist/Backdrop.d.cts +3 -4
- package/dist/Backdrop.d.mts +3 -4
- package/dist/Backdrop.mjs +1 -1
- package/dist/Badge.cjs +1 -1
- package/dist/Badge.d.cts +7 -8
- package/dist/Badge.d.mts +7 -8
- package/dist/Badge.mjs +2 -2
- package/dist/Breadcrumbs.cjs +2 -2
- package/dist/Breadcrumbs.d.cts +5 -6
- package/dist/Breadcrumbs.d.mts +5 -6
- package/dist/Breadcrumbs.mjs +3 -3
- package/dist/Button.cjs +4 -4
- package/dist/Button.d.cts +46 -2
- package/dist/Button.d.mts +1 -1
- package/dist/Button.mjs +4 -4
- package/dist/ButtonGroup.cjs +2 -2
- package/dist/ButtonGroup.d.cts +38 -2
- package/dist/ButtonGroup.d.mts +1 -1
- package/dist/ButtonGroup.mjs +2 -2
- package/dist/Card.cjs +4 -4
- package/dist/Card.d.cts +7 -8
- package/dist/Card.d.mts +7 -8
- package/dist/Card.mjs +4 -4
- package/dist/Checkbox.cjs +2 -2
- package/dist/Checkbox.d.cts +5 -6
- package/dist/Checkbox.d.mts +5 -6
- package/dist/Checkbox.mjs +2 -2
- package/dist/Chip.cjs +3 -3
- package/dist/Chip.d.cts +7 -8
- package/dist/Chip.d.mts +7 -8
- package/dist/Chip.mjs +4 -4
- package/dist/CircularProgress.cjs +1 -1
- package/dist/CircularProgress.d.cts +7 -8
- package/dist/CircularProgress.d.mts +7 -8
- package/dist/CircularProgress.mjs +1 -1
- package/dist/Collapse.cjs +1 -1
- package/dist/Collapse.d.cts +33 -2
- package/dist/Collapse.d.mts +1 -1
- package/dist/Collapse.mjs +2 -2
- package/dist/Drawer.cjs +2 -2
- package/dist/Drawer.d.cts +9 -10
- package/dist/Drawer.d.mts +9 -10
- package/dist/Drawer.mjs +2 -2
- package/dist/Fab.cjs +1 -1
- package/dist/Fab.d.cts +30 -2
- package/dist/Fab.d.mts +1 -1
- package/dist/Fab.mjs +2 -2
- package/dist/FabMenu/FabMenu.cjs +1 -1
- package/dist/FabMenu/FabMenu.d.cts +5 -6
- package/dist/FabMenu/FabMenu.d.mts +5 -6
- package/dist/FabMenu/FabMenu.mjs +1 -1
- package/dist/FabMenu/FabMenuItem.d.cts +3 -4
- package/dist/FabMenu/FabMenuItem.d.mts +3 -4
- package/dist/{FabMenu-fQGSZCjr.cjs → FabMenu-CvHrONFi.cjs} +4 -4
- package/dist/{FabMenu-BqBhZs0S.mjs → FabMenu-JJzhFdJP.mjs} +5 -5
- package/dist/FabMenu.cjs +1 -1
- package/dist/FabMenu.mjs +1 -1
- package/dist/Fade.cjs +1 -1
- package/dist/Fade.d.cts +3 -4
- package/dist/Fade.d.mts +3 -4
- package/dist/Fade.mjs +1 -1
- package/dist/Flex.cjs +1 -1
- package/dist/Flex.d.cts +1 -1
- package/dist/Flex.d.mts +1 -1
- package/dist/Flex.mjs +1 -1
- package/dist/FocusTrap.cjs +1 -1
- package/dist/FocusTrap.d.cts +2 -3
- package/dist/FocusTrap.d.mts +2 -3
- package/dist/FocusTrap.mjs +1 -1
- package/dist/Form.cjs +1 -1
- package/dist/Form.d.cts +5 -6
- package/dist/Form.d.mts +5 -6
- package/dist/Form.mjs +1 -1
- package/dist/FormControl.cjs +3 -3
- package/dist/FormControl.d.cts +8 -9
- package/dist/FormControl.d.mts +8 -9
- package/dist/FormControl.mjs +3 -3
- package/dist/FormHelperText.cjs +1 -1
- package/dist/FormHelperText.d.cts +3 -4
- package/dist/FormHelperText.d.mts +3 -4
- package/dist/FormHelperText.mjs +1 -1
- package/dist/FormLabel.cjs +1 -1
- package/dist/FormLabel.d.cts +3 -4
- package/dist/FormLabel.d.mts +3 -4
- package/dist/FormLabel.mjs +1 -1
- package/dist/Grid.cjs +1 -1
- package/dist/Grid.d.cts +5 -6
- package/dist/Grid.d.mts +5 -6
- package/dist/Grid.mjs +1 -1
- package/dist/Grow.cjs +1 -1
- package/dist/Grow.d.cts +3 -4
- package/dist/Grow.d.mts +3 -4
- package/dist/Grow.mjs +1 -1
- package/dist/{Icon-C5Iz5ekp.cjs → Icon-C4QMiNHJ.cjs} +1 -1
- package/dist/{Icon-XpXU-SuF.mjs → Icon-gVHlFgdH.mjs} +2 -2
- 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.cjs +1 -1
- package/dist/Image.d.cts +3 -4
- package/dist/Image.d.mts +3 -4
- package/dist/Image.mjs +1 -1
- package/dist/LinearProgress.cjs +1 -1
- package/dist/LinearProgress.d.cts +7 -8
- package/dist/LinearProgress.d.mts +7 -8
- package/dist/LinearProgress.mjs +1 -1
- package/dist/Link.cjs +2 -2
- package/dist/Link.d.cts +4 -5
- package/dist/Link.d.mts +4 -5
- package/dist/Link.mjs +3 -3
- package/dist/Menu/ContextMenu.cjs +3 -3
- package/dist/Menu/ContextMenu.d.cts +9 -9
- package/dist/Menu/ContextMenu.d.mts +9 -9
- package/dist/Menu/ContextMenu.mjs +4 -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/MenuDivider.cjs +1 -1
- package/dist/Menu/MenuDivider.d.cts +2 -3
- package/dist/Menu/MenuDivider.d.mts +2 -3
- package/dist/Menu/MenuDivider.mjs +1 -1
- package/dist/Menu/MenuItems.cjs +1 -1
- package/dist/Menu/MenuItems.d.cts +32 -2
- 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 +44 -3
- package/dist/Menu/MenuList.d.mts +2 -2
- package/dist/Menu/MenuList.mjs +1 -1
- package/dist/{Menu-Cv887y7O.mjs → Menu-31GXflmP.mjs} +5 -5
- package/dist/{Menu-DOOK_gM9.cjs → Menu-CTqplttU.cjs} +4 -4
- package/dist/Menu.cjs +2 -2
- package/dist/Menu.d.cts +4 -4
- package/dist/Menu.d.mts +4 -4
- package/dist/Menu.mjs +2 -2
- package/dist/{MenuItem-BWm8DC-S.cjs → MenuItem-Be4xFEww.cjs} +5 -5
- package/dist/{MenuItem-hJeCsQZX.mjs → MenuItem-DfS3Q2Ha.mjs} +6 -6
- package/dist/MenuItem.cjs +1 -1
- package/dist/MenuItem.d.cts +73 -2
- package/dist/MenuItem.d.mts +1 -1
- package/dist/MenuItem.mjs +1 -1
- package/dist/{MenuList-D7Pvpn_K.mjs → MenuList-CoLoldE2.mjs} +3 -3
- package/dist/{MenuList-CSaaR3jt.cjs → MenuList-Cr9L4x9N.cjs} +2 -2
- package/dist/{MenuListContext-BN1VV12-.d.mts → MenuListContext-BIcjLUEc.d.cts} +2 -2
- package/dist/{MenuListContext-BkQzp2DA.d.cts → MenuListContext-D976fSth.d.mts} +2 -2
- package/dist/{Modal-gQcAJAKH.cjs → Modal-6SWc5gG5.cjs} +1 -1
- package/dist/{Modal-DR4TRQSH.mjs → Modal-EH6RduGc.mjs} +1 -1
- package/dist/Modal.cjs +1 -1
- package/dist/Modal.d.cts +91 -2
- package/dist/Modal.d.mts +1 -1
- package/dist/Modal.mjs +1 -1
- package/dist/NativeSelect.cjs +4 -4
- package/dist/NativeSelect.d.cts +10 -11
- package/dist/NativeSelect.d.mts +10 -11
- package/dist/NativeSelect.mjs +5 -5
- package/dist/NavTree/NavGroup.cjs +1 -1
- package/dist/NavTree/NavGroup.d.cts +2 -3
- package/dist/NavTree/NavGroup.d.mts +2 -3
- package/dist/NavTree/NavGroup.mjs +1 -1
- package/dist/NavTree/NavLink.cjs +2 -2
- package/dist/NavTree/NavLink.d.cts +3 -4
- package/dist/NavTree/NavLink.d.mts +3 -4
- package/dist/NavTree/NavLink.mjs +2 -2
- package/dist/NavTree/NavTree.cjs +1 -1
- package/dist/NavTree/NavTree.d.cts +3 -4
- package/dist/NavTree/NavTree.d.mts +3 -4
- package/dist/NavTree/NavTree.mjs +1 -1
- package/dist/NavTree.d.cts +1 -1
- package/dist/NavTree.d.mts +1 -1
- package/dist/NumberInput.cjs +6 -6
- package/dist/NumberInput.d.cts +5 -6
- package/dist/NumberInput.d.mts +5 -6
- package/dist/NumberInput.mjs +7 -7
- 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.cjs +1 -1
- package/dist/Pagination.d.cts +22 -3
- package/dist/Pagination.d.mts +2 -2
- package/dist/Pagination.mjs +1 -1
- package/dist/Paper.cjs +2 -2
- package/dist/Paper.d.cts +1 -2
- package/dist/Paper.d.mts +2 -2
- package/dist/Paper.mjs +3 -3
- package/dist/{Popover-BniabG7D.cjs → Popover-CPB9wIFY.cjs} +3 -3
- package/dist/{Popover-Dnmeo0Av.mjs → Popover-JCnuplk4.mjs} +4 -4
- package/dist/Popover.cjs +1 -1
- package/dist/Popover.d.cts +7 -7
- package/dist/Popover.d.mts +7 -7
- package/dist/Popover.mjs +1 -1
- package/dist/Portal.d.cts +15 -2
- package/dist/Pressable.cjs +3 -3
- package/dist/Pressable.d.cts +46 -2
- package/dist/Pressable.d.mts +1 -1
- package/dist/Pressable.mjs +3 -3
- package/dist/Quote.cjs +1 -1
- package/dist/Quote.d.cts +5 -6
- package/dist/Quote.d.mts +5 -6
- package/dist/Quote.mjs +1 -1
- package/dist/Radio.cjs +2 -2
- package/dist/Radio.d.cts +5 -6
- package/dist/Radio.d.mts +5 -6
- package/dist/Radio.mjs +2 -2
- package/dist/RangeInput.cjs +3 -3
- package/dist/RangeInput.d.cts +7 -7
- package/dist/RangeInput.d.mts +7 -7
- package/dist/RangeInput.mjs +4 -4
- package/dist/Rating.cjs +5 -5
- package/dist/Rating.d.cts +3 -4
- package/dist/Rating.d.mts +3 -4
- package/dist/Rating.mjs +6 -6
- package/dist/ScrollArea.cjs +1 -1
- package/dist/ScrollArea.d.cts +5 -5
- package/dist/ScrollArea.d.mts +5 -5
- package/dist/ScrollArea.mjs +2 -2
- package/dist/Select.cjs +6 -6
- package/dist/Select.d.cts +10 -10
- package/dist/Select.d.mts +10 -10
- package/dist/Select.mjs +6 -6
- package/dist/Sidebar/Sidebar.cjs +4 -4
- package/dist/Sidebar/Sidebar.d.cts +3 -4
- package/dist/Sidebar/Sidebar.d.mts +3 -4
- package/dist/Sidebar/Sidebar.mjs +4 -4
- package/dist/Sidebar/SidebarItem.cjs +4 -4
- package/dist/Sidebar/SidebarItem.d.cts +6 -7
- package/dist/Sidebar/SidebarItem.d.mts +6 -7
- package/dist/Sidebar/SidebarItem.mjs +4 -4
- package/dist/Sidebar.d.cts +1 -1
- package/dist/Sidebar.d.mts +1 -1
- package/dist/Skeleton.cjs +1 -1
- package/dist/Skeleton.d.cts +6 -7
- package/dist/Skeleton.d.mts +6 -7
- package/dist/Skeleton.mjs +1 -1
- package/dist/Slide.cjs +1 -1
- package/dist/Slide.d.cts +4 -5
- package/dist/Slide.d.mts +4 -5
- package/dist/Slide.mjs +1 -1
- package/dist/Snackbar.cjs +3 -3
- package/dist/Snackbar.d.cts +8 -9
- package/dist/Snackbar.d.mts +7 -8
- package/dist/Snackbar.mjs +4 -4
- package/dist/Switch.cjs +3 -3
- package/dist/Switch.d.cts +7 -8
- package/dist/Switch.d.mts +7 -8
- package/dist/Switch.mjs +3 -3
- package/dist/Table/Table.cjs +1 -1
- package/dist/Table/Table.d.cts +8 -9
- package/dist/Table/Table.d.mts +8 -9
- package/dist/Table/Table.mjs +1 -1
- package/dist/Table/TableBody.cjs +1 -1
- package/dist/Table/TableBody.d.cts +6 -7
- package/dist/Table/TableBody.d.mts +6 -7
- package/dist/Table/TableBody.mjs +1 -1
- package/dist/Table/TableCell.cjs +2 -2
- package/dist/Table/TableCell.d.cts +1 -1
- package/dist/Table/TableCell.d.mts +1 -1
- package/dist/Table/TableCell.mjs +2 -2
- package/dist/Table/TableContainer.cjs +1 -1
- package/dist/Table/TableContainer.d.cts +4 -5
- package/dist/Table/TableContainer.d.mts +4 -5
- package/dist/Table/TableContainer.mjs +1 -1
- package/dist/Table/TableControl.d.cts +3 -4
- package/dist/Table/TableControl.d.mts +3 -4
- package/dist/Table/TableFooter.cjs +1 -1
- package/dist/Table/TableFooter.d.cts +6 -7
- package/dist/Table/TableFooter.d.mts +6 -7
- package/dist/Table/TableFooter.mjs +1 -1
- package/dist/Table/TableHead.cjs +1 -1
- package/dist/Table/TableHead.d.cts +6 -7
- package/dist/Table/TableHead.d.mts +6 -7
- package/dist/Table/TableHead.mjs +1 -1
- package/dist/Table/TablePagination.cjs +2 -2
- package/dist/Table/TablePagination.d.cts +5 -6
- package/dist/Table/TablePagination.d.mts +5 -6
- package/dist/Table/TablePagination.mjs +2 -2
- package/dist/Table/TablePaginationActions.cjs +2 -2
- package/dist/Table/TablePaginationActions.d.cts +28 -2
- package/dist/Table/TablePaginationActions.d.mts +1 -1
- package/dist/Table/TablePaginationActions.mjs +3 -3
- package/dist/Table/TableRow.cjs +2 -2
- package/dist/Table/TableRow.d.cts +6 -7
- package/dist/Table/TableRow.d.mts +6 -7
- package/dist/Table/TableRow.mjs +2 -2
- package/dist/Table/TableSortLabel.cjs +2 -2
- package/dist/Table/TableSortLabel.d.cts +22 -2
- package/dist/Table/TableSortLabel.d.mts +1 -1
- package/dist/Table/TableSortLabel.mjs +2 -2
- package/dist/Table/hooks.d.cts +6 -6
- package/dist/Table/hooks.d.mts +6 -6
- package/dist/Table.d.cts +6 -6
- package/dist/Table.d.mts +6 -6
- package/dist/{TableContext-BNwokJ3f.d.cts → TableContext-BsJpQ-9A.d.cts} +1 -1
- package/dist/{TableContext-jOlk5jxs.d.mts → TableContext-rP21CNyq.d.mts} +1 -1
- package/dist/Tabs/Tab.cjs +4 -4
- package/dist/Tabs/Tab.d.cts +5 -6
- package/dist/Tabs/Tab.d.mts +5 -6
- package/dist/Tabs/Tab.mjs +5 -5
- package/dist/Tabs/TabContext.d.cts +3 -4
- package/dist/Tabs/TabContext.d.mts +3 -4
- package/dist/Tabs/TabList.cjs +1 -1
- package/dist/Tabs/TabList.d.cts +3 -4
- package/dist/Tabs/TabList.d.mts +3 -4
- package/dist/Tabs/TabList.mjs +1 -1
- package/dist/Tabs/TabPanel.cjs +2 -2
- package/dist/Tabs/TabPanel.d.cts +4 -5
- package/dist/Tabs/TabPanel.d.mts +4 -5
- package/dist/Tabs/TabPanel.mjs +3 -3
- package/dist/Tabs/TabScrollButton.cjs +3 -3
- package/dist/Tabs/TabScrollButton.d.cts +31 -2
- package/dist/Tabs/TabScrollButton.d.mts +1 -1
- package/dist/Tabs/TabScrollButton.mjs +4 -4
- package/dist/Tabs/Tabs.cjs +1 -1
- package/dist/Tabs/Tabs.d.cts +104 -3
- package/dist/Tabs/Tabs.d.mts +2 -2
- package/dist/Tabs/Tabs.mjs +1 -1
- package/dist/{Tabs-CE8iDr0D.mjs → Tabs-DPCVKt9p.mjs} +25 -15
- package/dist/{Tabs-BTa2myRe.cjs → Tabs-DipA7I2c.cjs} +24 -14
- 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-D5E7s9i5.d.mts → TabsContext-DkPIvEhN.d.cts} +1 -1
- package/dist/{TabsContext-i57cha5W.d.cts → TabsContext-cm-4w5HV.d.mts} +1 -1
- package/dist/TextInput.cjs +4 -4
- package/dist/TextInput.d.cts +8 -9
- package/dist/TextInput.d.mts +8 -9
- package/dist/TextInput.mjs +5 -5
- package/dist/ToggleButton/ToggleButton.cjs +5 -5
- package/dist/ToggleButton/ToggleButton.d.cts +3 -4
- package/dist/ToggleButton/ToggleButton.d.mts +3 -4
- package/dist/ToggleButton/ToggleButton.mjs +6 -6
- package/dist/ToggleButton/ToggleButtonGroup.cjs +3 -3
- package/dist/ToggleButton/ToggleButtonGroup.d.cts +3 -4
- package/dist/ToggleButton/ToggleButtonGroup.d.mts +3 -4
- package/dist/ToggleButton/ToggleButtonGroup.mjs +4 -4
- package/dist/ToggleButton.d.cts +1 -1
- package/dist/ToggleButton.d.mts +1 -1
- package/dist/{Tooltip-rkGm1HnP.cjs → Tooltip-Bzt4mirM.cjs} +3 -3
- package/dist/{Tooltip-Cx4ez9vY.mjs → Tooltip-CqGB8Pgm.mjs} +4 -4
- package/dist/Tooltip.cjs +1 -1
- package/dist/Tooltip.d.cts +9 -9
- package/dist/Tooltip.d.mts +9 -9
- package/dist/Tooltip.mjs +1 -1
- package/dist/TransferList.cjs +5 -5
- package/dist/TransferList.d.cts +4 -4
- package/dist/TransferList.d.mts +4 -4
- package/dist/TransferList.mjs +6 -6
- package/dist/Typography.cjs +1 -1
- package/dist/Typography.d.cts +25 -3
- package/dist/Typography.d.mts +2 -2
- package/dist/Typography.mjs +2 -2
- package/dist/View.cjs +1 -1
- package/dist/View.d.cts +1 -1
- package/dist/View.d.mts +1 -1
- package/dist/View.mjs +1 -1
- package/dist/Zoom.cjs +1 -1
- package/dist/Zoom.d.cts +3 -4
- package/dist/Zoom.d.mts +3 -4
- package/dist/Zoom.mjs +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.d.cts +3 -3
- package/dist/catalog.d.mts +3 -3
- package/dist/catalog.mjs +1 -1
- package/dist/{dividerLine-DFuLn1zU.cjs → dividerLine-BL7qyMS7.cjs} +1 -1
- package/dist/{dividerLine-BC8E38Ed.mjs → dividerLine-CjHOunP8.mjs} +1 -1
- package/dist/emotion-b3mnJPXZ.mjs +5 -0
- package/dist/engine.cjs +1 -1
- package/dist/engine.d.cts +5 -5
- package/dist/engine.d.mts +4 -4
- package/dist/engine.mjs +1 -1
- package/dist/{index-C_K0hsEr.d.mts → index-2yg1ycx-.d.mts} +1 -1
- package/dist/{index-DXUVsHux.d.mts → index-B4rMxnAI.d.mts} +1 -1
- package/dist/{index-CZofj6vc.d.cts → index-BX05FTzq.d.mts} +3 -3
- package/dist/index-BzWmnUjW.d.mts +1 -0
- package/dist/{index-DPCh-ols.d.mts → index-CCA5pNXc.d.mts} +2 -2
- package/dist/{index-vls8Jhdl.d.cts → index-CF6cynkC.d.mts} +1 -1
- package/dist/{index-BJIqJbF4.d.mts → index-CR-3ET8R.d.mts} +2 -2
- package/dist/{index-C9jnQ-mQ.d.mts → index-CRopLcd3.d.mts} +1 -1
- package/dist/{index-F81TdZtB.d.mts → index-C_6hDoX5.d.mts} +5 -5
- package/dist/{index-C6uLwNRF.d.cts → index-CgZujUBc.d.mts} +5 -5
- package/dist/{index-BDVi1DNs.d.mts → index-CjIlieUz.d.cts} +3 -3
- package/dist/{index-CwWM6Xfz.d.cts → index-Ck1kZGKo.d.cts} +1 -1
- package/dist/{index-xhbtDtsc.d.mts → index-DA-h_wfm.d.mts} +1 -1
- package/dist/{index-DA3M2w5w.d.cts → index-DW6ItSg9.d.mts} +5 -5
- package/dist/{index-CRbfhyQ6.d.mts → index-DWPBIj3Q.d.mts} +2 -2
- package/dist/{index-CGlDeiGk.d.cts → index-DXpsn7vq.d.mts} +2 -2
- package/dist/{index-Cf2D7Y1b.d.cts → index-DuW9P_vU.d.mts} +2 -2
- package/dist/{index-CLTH0nFB.d.cts → index-Dv-JacXL.d.mts} +3 -3
- package/dist/{index-CK-uaK5U.d.cts → index-MipJMh6w.d.cts} +7 -7
- package/dist/{index-CPmemva9.d.mts → index-UdCNBn1j.d.cts} +6 -5
- package/dist/{index-ClTo3BEJ.d.mts → index-WepMprJw.d.cts} +3 -3
- package/dist/{index-DOimZ1Wo.d.mts → index-fbOIRIGi.d.mts} +2 -2
- package/dist/{index-BhWBXIkH.d.cts → index-fiGzE2_0.d.mts} +3 -3
- package/dist/{index-d5jm3kxO.d.cts → index-goQ0P1tj.d.mts} +2 -2
- package/dist/{index-BwFPSXSw.d.mts → index-m7brCUK5.d.mts} +1 -1
- package/dist/{index-B-1sp9oV.d.mts → index-nw0pvCoK.d.mts} +9 -9
- package/dist/{index-DOnYRzqY.d.cts → index-uxQ6yoYo.d.mts} +3 -3
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{inputVariantStyles-DCGRUY9c.mjs → inputVariantStyles-GEyyFeaq.mjs} +1 -1
- package/dist/{inputVariantStyles-DhClkDHY.cjs → inputVariantStyles-GsJaknFt.cjs} +1 -1
- package/dist/{rolldown-runtime-CiKaZLfC.cjs → rolldown-runtime-C_Pgydhf.cjs} +4 -4
- package/dist/{src-yC1f5WR2.cjs → src-B1PmaZ-2.cjs} +2 -2
- package/dist/{src-B-rNjHIL.mjs → src-BSo7bM2g.mjs} +8 -8
- package/dist/style.d.cts +8 -8
- package/dist/style.d.mts +8 -8
- package/dist/style.mjs +2 -2
- package/dist/{surfaceSystem-DI6bqK5F.cjs → surfaceSystem-BeGFjViA.cjs} +1 -1
- package/dist/{surfaceSystem-4XDqbvf4.mjs → surfaceSystem-Bsd7LqgB.mjs} +1 -1
- package/dist/testing.d.cts +1 -2
- package/dist/testing.d.mts +1 -2
- package/dist/{theme-DyyZQFzQ.mjs → theme-B6LFWZ98.mjs} +2 -2
- package/dist/theme.d.cts +59 -3
- package/dist/theme.d.mts +2 -2
- package/dist/theme.mjs +2 -2
- package/dist/{themes-D-knykK0.mjs → themes-D3yxQwT9.mjs} +10 -10
- package/dist/{useTablePagination-DOLl6Ba7.d.cts → useTablePagination-Be__hayI.d.mts} +1 -1
- package/dist/{useTablePagination-bZTeweJ_.d.mts → useTableSort-DQWSd9Rf.d.cts} +23 -23
- package/dist/{useTransition-DnOAXNav.d.cts → useTransition-CdObuV2M.d.cts} +1 -1
- package/dist/{useTransition-Dk84FQFT.d.mts → useTransition-DwlKWjUJ.d.mts} +1 -1
- package/dist/{useTransitionChild-CFhlMm65.mjs → useTransitionChild-De79LIB9.mjs} +2 -2
- package/dist/utils.d.cts +4 -5
- package/dist/utils.d.mts +4 -5
- package/package.json +15 -15
- package/dist/emotion-E3pBNlXd.mjs +0 -5
- package/dist/index-3-LXZL7g.d.mts +0 -39
- package/dist/index-BMeqk34D.d.mts +0 -47
- package/dist/index-BYg-l1_n.d.cts +0 -23
- package/dist/index-BbWQZ2Wj.d.mts +0 -104
- package/dist/index-Bwry7fNj.d.mts +0 -22
- package/dist/index-C3D70-3U.d.mts +0 -74
- package/dist/index-COGZ6LV4.d.mts +0 -91
- package/dist/index-C_n4ZPpQ.d.mts +0 -1
- package/dist/index-Cc7Yhn7-.d.cts +0 -47
- package/dist/index-CoHM1HQY.d.cts +0 -30
- package/dist/index-Cp96BUYc.d.cts +0 -25
- package/dist/index-CvV0TCBK.d.cts +0 -59
- package/dist/index-CykbbqeN.d.cts +0 -33
- package/dist/index-Dh_9qMhj.d.mts +0 -34
- package/dist/index-DiQHPHUv.d.cts +0 -44
- package/dist/index-UloRwym_.d.cts +0 -16
- package/dist/index-YxsjfTkO.d.cts +0 -29
- package/dist/index-fwRQcB91.d.cts +0 -1
- package/dist/index-qgFJF8n2.d.cts +0 -32
- package/dist/{useTransitionChild-COlRozbU.cjs → useTransitionChild-B2W_GM3m.cjs} +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { cn as PaperElevation, nt as Theme } from "./index-
|
|
2
|
-
import "./index-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { cn as PaperElevation, nt as Theme } from "./index-nw0pvCoK.mjs";
|
|
2
|
+
import "./index-BzWmnUjW.mjs";
|
|
3
|
+
import { r as MenuListSlotProps } from "./index-fbOIRIGi.mjs";
|
|
4
|
+
import { n as MenuItemData } from "./index-DWPBIj3Q.mjs";
|
|
5
|
+
import { t as MenuItemValue } from "./MenuListContext-D976fSth.mjs";
|
|
6
6
|
import { KeyboardEvent, MouseEvent, ReactElement, ReactNode, Ref, SyntheticEvent } from "react";
|
|
7
7
|
/** Which edge of its trigger a menu lines up with: the start edge, or the end edge. */
|
|
8
8
|
type MenuAlign = 'start' | 'end';
|
|
@@ -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-D976fSth.mjs";
|
|
2
|
+
import { i as MenuItemRole } from "./index-goQ0P1tj.mjs";
|
|
3
3
|
import { KeyboardEvent, MouseEvent, ReactNode } from "react";
|
|
4
4
|
/** A menu row as data - what a `MenuItem` takes, with its label as `label`. */
|
|
5
5
|
interface MenuItemRowData {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { nt as Theme } from "./index-
|
|
2
|
-
import { r as TransitionTimeout, t as TransitionCallbacks } from "./useTransition-
|
|
1
|
+
import { nt as Theme } from "./index-nw0pvCoK.mjs";
|
|
2
|
+
import { r as TransitionTimeout, t as TransitionCallbacks } from "./useTransition-DwlKWjUJ.mjs";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
type CollapseOrientation = 'vertical' | 'horizontal';
|
|
5
5
|
interface CollapseProps extends TransitionCallbacks {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { U as PaletteColor, _ as ButtonVariants, nt as Theme } from "./index-
|
|
2
|
-
import { ButtonHTMLAttributes, ReactNode } from "react";
|
|
1
|
+
import { U as PaletteColor, _ as ButtonVariants, nt as Theme } from "./index-nw0pvCoK.mjs";
|
|
3
2
|
import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
3
|
+
import { ButtonHTMLAttributes, ReactNode } from "react";
|
|
4
4
|
/** Augmentable via the `ButtonVariants` interface - style new values through `theme.components.Button.variants`. */
|
|
5
5
|
type ButtonVariant = keyof ButtonVariants;
|
|
6
6
|
type ButtonColor = PaletteColor;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { SVGProps } from "react";
|
|
1
|
+
import { n as TextColorToken } from "./index-C_6hDoX5.mjs";
|
|
2
|
+
import { ft as ThemeIconSizes } from "./index-nw0pvCoK.mjs";
|
|
4
3
|
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
4
|
+
import { SVGProps } from "react";
|
|
5
5
|
declare const SvgAccountTree: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
6
6
|
declare const SvgAdd: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
7
7
|
declare const SvgAddCircle: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { CreateStyledComponent, FilteringStyledOptions, Interpolation, StyledOptions } from "@emotion/styled";
|
|
2
|
+
import { CSSObject as CSSObject$1, PropsOf, css, keyframes } from "@emotion/react";
|
|
1
3
|
import { CSSProperties, ComponentClass, ComponentProps, ComponentType, ElementType, HTMLAttributes, JSX, ReactNode, Ref } from "react";
|
|
2
4
|
import { BorderProps, ContainerQueries, FlexboxProps, LayoutFrameProps, LayoutProps, PositionProps, QueryHelpers, SpaceProps, SpanProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
3
|
-
import { CreateStyledComponent, FilteringStyledOptions, Interpolation, StyledOptions } from "@emotion/styled";
|
|
4
|
-
import { CSSObject, PropsOf, css, keyframes } from "@emotion/react";
|
|
5
5
|
import { createShouldForwardProp, props } from "@soroush.tech/styled-system/should-forward-prop";
|
|
6
6
|
/** Valid values for the color prop - derived from theme.text keys. */
|
|
7
7
|
type ViewColorToken = keyof Theme['text'];
|
|
@@ -93,7 +93,7 @@ type ThemeOverride = DeepPartial<Theme>;
|
|
|
93
93
|
*/
|
|
94
94
|
declare const createTheme: (base: Theme, overrides: ThemeOverride) => Theme;
|
|
95
95
|
/** Design-system's own style-object shape - Emotion stays an internal implementation detail. */
|
|
96
|
-
type CSSObject
|
|
96
|
+
type CSSObject = CSSObject$1;
|
|
97
97
|
/**
|
|
98
98
|
* Re-opens a named scale interface as an anonymous mapped type. Named
|
|
99
99
|
* interfaces have no implicit index signature, which styled-system's
|
|
@@ -377,7 +377,7 @@ interface TypographyVariantStyle {
|
|
|
377
377
|
fontSize?: number;
|
|
378
378
|
fontWeight?: string;
|
|
379
379
|
letterSpacing?: string;
|
|
380
|
-
textTransform?: CSSObject
|
|
380
|
+
textTransform?: CSSObject['textTransform'];
|
|
381
381
|
}
|
|
382
382
|
interface ThemeTypographyVariants {
|
|
383
383
|
h1: TypographyVariantStyle;
|
|
@@ -457,10 +457,10 @@ interface ThemeDefaults {
|
|
|
457
457
|
* callback receiving the theme and the styled root's resolved props
|
|
458
458
|
* (`ownerState`) for conditional styling.
|
|
459
459
|
*/
|
|
460
|
-
type ComponentStyle<OwnerState> = CSSObject
|
|
460
|
+
type ComponentStyle<OwnerState> = CSSObject | ((args: {
|
|
461
461
|
theme: Theme;
|
|
462
462
|
ownerState: OwnerState;
|
|
463
|
-
}) => CSSObject
|
|
463
|
+
}) => CSSObject);
|
|
464
464
|
/** One theme-contributed variant: applied when every key in `props` matches the render props. */
|
|
465
465
|
interface ComponentVariant<OwnerState> {
|
|
466
466
|
props: Partial<OwnerState>;
|
|
@@ -1052,4 +1052,4 @@ interface CreateThemedStyled extends StyledTags {
|
|
|
1052
1052
|
* customization (`theme.components[name].styleOverrides` / `.variants`).
|
|
1053
1053
|
*/
|
|
1054
1054
|
declare const styled: CreateThemedStyled;
|
|
1055
|
-
export { TabScrollButtonOwnerState as $, typography 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 as Wt, SnackbarOwnerState as X, sizes as Xt, SizeEntry as Y, radii as Yt, TabOwnerState as Z, space 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 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
|
|
1055
|
+
export { TabScrollButtonOwnerState as $, typography 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 as Wt, SnackbarOwnerState as X, sizes as Xt, SizeEntry as Y, radii as Yt, TabOwnerState as Z, space 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 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 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,8 +1,9 @@
|
|
|
1
|
-
import { cn as PaperElevation, nt as Theme } from "./index-
|
|
2
|
-
import "./
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { cn as PaperElevation, nt as Theme } from "./index-MipJMh6w.cjs";
|
|
2
|
+
import "./Paper.cjs";
|
|
3
|
+
import { MenuListSlotProps } from "./Menu/MenuList.cjs";
|
|
4
|
+
import { MenuItemData } from "./Menu/MenuItems.cjs";
|
|
5
|
+
import { t as MenuItemValue } from "./MenuListContext-BIcjLUEc.cjs";
|
|
6
|
+
import "./computePopoverPosition-JgOwCM7k.cjs";
|
|
6
7
|
import { KeyboardEvent, MouseEvent, ReactElement, ReactNode, Ref, SyntheticEvent } from "react";
|
|
7
8
|
/** Which edge of its trigger a menu lines up with: the start edge, or the end edge. */
|
|
8
9
|
type MenuAlign = 'start' | 'end';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { BorderProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
1
|
+
import { t as TableCellPadding } from "./TableContext-BsJpQ-9A.cjs";
|
|
2
|
+
import { nt as Theme } from "./index-MipJMh6w.cjs";
|
|
4
3
|
import { ElementType, ThHTMLAttributes } from "react";
|
|
4
|
+
import { BorderProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
5
5
|
/** The table section a cell lives in - drives `TableCell`'s th/td element resolution. */
|
|
6
6
|
type TableSection = 'head' | 'body' | 'footer';
|
|
7
7
|
declare const TableSectionContext: import("react").Context<TableSection | undefined>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { nt as Theme } from "./index-
|
|
2
|
-
import { t as MenuItemValue } from "./MenuListContext-
|
|
1
|
+
import { nt as Theme } from "./index-nw0pvCoK.mjs";
|
|
2
|
+
import { t as MenuItemValue } from "./MenuListContext-D976fSth.mjs";
|
|
3
3
|
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
import { AriaAttributes, KeyboardEvent, ReactNode } from "react";
|
|
5
5
|
interface MenuListProps extends SpaceProps<Theme>, LayoutProps<Theme> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { HTMLAttributes } from "react";
|
|
1
|
+
import { a as PaginationItemSize, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, s as PaginationItemType } from "./index-CRopLcd3.mjs";
|
|
2
|
+
import { nt as Theme } from "./index-nw0pvCoK.mjs";
|
|
4
3
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
4
|
+
import { HTMLAttributes } from "react";
|
|
5
5
|
type PaginationColor = PaginationItemColor;
|
|
6
6
|
type PaginationVariant = PaginationItemVariant;
|
|
7
7
|
type PaginationShape = PaginationItemShape;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { nt as Theme } from "./index-
|
|
2
|
-
import { t as MenuItemValue } from "./MenuListContext-
|
|
1
|
+
import { nt as Theme } from "./index-nw0pvCoK.mjs";
|
|
2
|
+
import { t as MenuItemValue } from "./MenuListContext-D976fSth.mjs";
|
|
3
3
|
import { ElementType, KeyboardEvent, MouseEvent, ReactNode } from "react";
|
|
4
4
|
type MenuItemColor = keyof Theme['palette'];
|
|
5
5
|
type MenuItemSize = keyof Theme['sizes'];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as ButtonProps } from "./index-
|
|
1
|
+
import { i as ButtonProps } from "./index-DuW9P_vU.mjs";
|
|
2
2
|
import { ReactNode, Ref } from "react";
|
|
3
3
|
type FabVariant = 'circular' | 'extended';
|
|
4
4
|
type FabButtonProps = Omit<ButtonProps, 'variant' | 'shape' | 'endIcon' | 'loading' | 'loadingIndicator' | 'loadingPosition' | 'fullWidth' | 'href' | 'target' | 'rel' | 'gap'>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CreateStyledComponent, FilteringStyledOptions, Interpolation, StyledOptions } from "@emotion/styled";
|
|
2
|
-
import { CSSObject, PropsOf, css
|
|
2
|
+
import { CSSObject as CSSObject$1, PropsOf, css, keyframes } from "@emotion/react";
|
|
3
3
|
import { BorderProps, ContainerQueries, FlexboxProps, LayoutFrameProps, LayoutProps, PositionProps, QueryHelpers, SpaceProps, SpanProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
4
4
|
import { createShouldForwardProp, props } from "@soroush.tech/styled-system/should-forward-prop";
|
|
5
5
|
import { CSSProperties, ComponentClass, ComponentProps, ComponentType, ElementType, HTMLAttributes, JSX, ReactNode, Ref } from "react";
|
|
@@ -93,7 +93,7 @@ type ThemeOverride = DeepPartial<Theme>;
|
|
|
93
93
|
*/
|
|
94
94
|
declare const createTheme: (base: Theme, overrides: ThemeOverride) => Theme;
|
|
95
95
|
/** Design-system's own style-object shape - Emotion stays an internal implementation detail. */
|
|
96
|
-
type CSSObject
|
|
96
|
+
type CSSObject = CSSObject$1;
|
|
97
97
|
/**
|
|
98
98
|
* Re-opens a named scale interface as an anonymous mapped type. Named
|
|
99
99
|
* interfaces have no implicit index signature, which styled-system's
|
|
@@ -377,7 +377,7 @@ interface TypographyVariantStyle {
|
|
|
377
377
|
fontSize?: number;
|
|
378
378
|
fontWeight?: string;
|
|
379
379
|
letterSpacing?: string;
|
|
380
|
-
textTransform?: CSSObject
|
|
380
|
+
textTransform?: CSSObject['textTransform'];
|
|
381
381
|
}
|
|
382
382
|
interface ThemeTypographyVariants {
|
|
383
383
|
h1: TypographyVariantStyle;
|
|
@@ -457,10 +457,10 @@ interface ThemeDefaults {
|
|
|
457
457
|
* callback receiving the theme and the styled root's resolved props
|
|
458
458
|
* (`ownerState`) for conditional styling.
|
|
459
459
|
*/
|
|
460
|
-
type ComponentStyle<OwnerState> = CSSObject
|
|
460
|
+
type ComponentStyle<OwnerState> = CSSObject | ((args: {
|
|
461
461
|
theme: Theme;
|
|
462
462
|
ownerState: OwnerState;
|
|
463
|
-
}) => CSSObject
|
|
463
|
+
}) => CSSObject);
|
|
464
464
|
/** One theme-contributed variant: applied when every key in `props` matches the render props. */
|
|
465
465
|
interface ComponentVariant<OwnerState> {
|
|
466
466
|
props: Partial<OwnerState>;
|
|
@@ -977,10 +977,10 @@ declare const avatar: {
|
|
|
977
977
|
};
|
|
978
978
|
declare const icon: ThemeIconSizes;
|
|
979
979
|
declare const sizes: ThemeSizes;
|
|
980
|
-
declare const space
|
|
980
|
+
declare const space: ThemeSpace;
|
|
981
981
|
declare const breakpoints: ThemeBreakpoints & BreakpointHelpers;
|
|
982
|
-
declare const layout
|
|
983
|
-
declare const typography
|
|
982
|
+
declare const layout: ThemeLayout;
|
|
983
|
+
declare const typography: ThemeTypographyVariants;
|
|
984
984
|
/**
|
|
985
985
|
* The package's complete default theme (dark-schemed). Raw hex only - palettes
|
|
986
986
|
* belong to the consumer, who builds brand themes with `createTheme(baseTheme, ...)`.
|
|
@@ -1052,4 +1052,4 @@ interface CreateThemedStyled extends StyledTags {
|
|
|
1052
1052
|
* customization (`theme.components[name].styleOverrides` / `.variants`).
|
|
1053
1053
|
*/
|
|
1054
1054
|
declare const styled: CreateThemedStyled;
|
|
1055
|
-
export { TabScrollButtonOwnerState as $, typography
|
|
1055
|
+
export { TabScrollButtonOwnerState as $, typography 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 as Wt, SnackbarOwnerState as X, sizes as Xt, SizeEntry as Y, radii as Yt, TabOwnerState as Z, space 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 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 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,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { ElementType, ThHTMLAttributes } from "react";
|
|
1
|
+
import { t as TableCellPadding } from "./TableContext-rP21CNyq.mjs";
|
|
2
|
+
import { nt as Theme } from "./index-nw0pvCoK.mjs";
|
|
4
3
|
import { BorderProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
4
|
+
import { ElementType, ThHTMLAttributes } from "react";
|
|
5
5
|
/** The table section a cell lives in - drives `TableCell`'s th/td element resolution. */
|
|
6
6
|
type TableSection = 'head' | 'body' | 'footer';
|
|
7
7
|
declare const TableSectionContext: import("react").Context<TableSection | undefined>;
|
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_src = require("./src-
|
|
2
|
+
const require_src = require("./src-B1PmaZ-2.cjs");
|
|
3
3
|
let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/styled-system/should-forward-prop");
|
|
4
4
|
let _emotion_react = require("@emotion/react");
|
|
5
5
|
Object.defineProperty(exports, "createShouldForwardProp", {
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { U as PaletteColor, a as ThemeCustomizationOptions, i as props, n as css, nt as Theme, o as styled, r as keyframes, t as createShouldForwardProp, v as CSSObject } from "./index-
|
|
1
|
+
import { U as PaletteColor, a as ThemeCustomizationOptions, i as props, n as css, nt as Theme, o as styled, r as keyframes, t as createShouldForwardProp, v as CSSObject } from "./index-MipJMh6w.cjs";
|
|
2
2
|
export * from "@soroush.tech/styled-system";
|
|
3
3
|
export { type CSSObject, type PaletteColor, type Theme, type ThemeCustomizationOptions, createShouldForwardProp, css, keyframes, props, styled };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { U as PaletteColor, a as ThemeCustomizationOptions, i as props, n as css, nt as Theme, o as styled, r as keyframes, t as createShouldForwardProp, v as CSSObject } from "./index-
|
|
1
|
+
import { U as PaletteColor, a as ThemeCustomizationOptions, i as props, n as css, nt as Theme, o as styled, r as keyframes, t as createShouldForwardProp, v as CSSObject } from "./index-nw0pvCoK.mjs";
|
|
2
2
|
export * from "@soroush.tech/styled-system";
|
|
3
3
|
export { type CSSObject, type PaletteColor, type Theme, type ThemeCustomizationOptions, createShouldForwardProp, css, keyframes, props, styled };
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { t as createShouldForwardProp, n as css, r as keyframes, i as props, o as styled } from "./src-
|
|
1
|
+
export { t as createShouldForwardProp, n as css, r as keyframes, i as props, o as styled } from "./src-BSo7bM2g.mjs";
|
|
2
2
|
export * from "@soroush.tech/styled-system";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_src = require("./src-
|
|
1
|
+
const require_src = require("./src-B1PmaZ-2.cjs");
|
|
2
2
|
const require_themeDefault = require("./themeDefault-DbPHBbNO.cjs");
|
|
3
3
|
let _soroush_tech_styled_system = require("@soroush.tech/styled-system");
|
|
4
4
|
// src/utils/inputStyles.ts
|
|
@@ -5,14 +5,14 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __exportAll = (all,
|
|
9
|
-
let target = {};
|
|
8
|
+
var __exportAll = (all, flags) => {
|
|
9
|
+
let target = Object.setPrototypeOf({}, null);
|
|
10
10
|
for (var name in all) __defProp(target, name, {
|
|
11
11
|
get: all[name],
|
|
12
12
|
enumerable: true
|
|
13
13
|
});
|
|
14
|
-
if (!
|
|
15
|
-
return target;
|
|
14
|
+
if (!(flags & 1)) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
15
|
+
return flags & 2 ? target : Object.preventExtensions(target);
|
|
16
16
|
};
|
|
17
17
|
var __copyProps = (to, from, except, desc) => {
|
|
18
18
|
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_rolldown_runtime = require("./rolldown-runtime-
|
|
1
|
+
const require_rolldown_runtime = require("./rolldown-runtime-C_Pgydhf.cjs");
|
|
2
2
|
let _emotion_styled = require("@emotion/styled");
|
|
3
3
|
_emotion_styled = require_rolldown_runtime.__toESM(_emotion_styled, 1);
|
|
4
4
|
let _emotion_react = require("@emotion/react");
|
|
@@ -37,7 +37,7 @@ var src_exports = /* @__PURE__ */ require_rolldown_runtime.__exportAll({
|
|
|
37
37
|
keyframes: () => _emotion_react.keyframes,
|
|
38
38
|
props: () => _soroush_tech_styled_system_should_forward_prop.props,
|
|
39
39
|
styled: () => styled
|
|
40
|
-
});
|
|
40
|
+
}, 2);
|
|
41
41
|
require_rolldown_runtime.__reExport(src_exports, require("@soroush.tech/styled-system"));
|
|
42
42
|
Object.defineProperty(exports, "src_exports", {
|
|
43
43
|
enumerable: true,
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import emotionStyled from "@emotion/styled";
|
|
2
|
-
import { css
|
|
2
|
+
import { css, keyframes } from "@emotion/react";
|
|
3
3
|
import { createShouldForwardProp, props } from "@soroush.tech/styled-system/should-forward-prop";
|
|
4
4
|
// \0rolldown/runtime.js
|
|
5
5
|
var __defProp = Object.defineProperty;
|
|
6
6
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
7
7
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
8
8
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
-
var __exportAll = (all,
|
|
10
|
-
let target = {};
|
|
9
|
+
var __exportAll = (all, flags) => {
|
|
10
|
+
let target = Object.setPrototypeOf({}, null);
|
|
11
11
|
for (var name in all) __defProp(target, name, {
|
|
12
12
|
get: all[name],
|
|
13
13
|
enumerable: true
|
|
14
14
|
});
|
|
15
|
-
if (!
|
|
16
|
-
return target;
|
|
15
|
+
if (!(flags & 1)) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
16
|
+
return flags & 2 ? target : Object.preventExtensions(target);
|
|
17
17
|
};
|
|
18
18
|
var __copyProps = (to, from, except, desc) => {
|
|
19
19
|
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
@@ -56,11 +56,11 @@ const styled = Object.assign(createThemedStyled, emotionStyled);
|
|
|
56
56
|
// src/index.ts
|
|
57
57
|
var src_exports = /* @__PURE__ */ __exportAll({
|
|
58
58
|
createShouldForwardProp: () => createShouldForwardProp,
|
|
59
|
-
css: () => css
|
|
59
|
+
css: () => css,
|
|
60
60
|
keyframes: () => keyframes,
|
|
61
61
|
props: () => props,
|
|
62
62
|
styled: () => styled
|
|
63
|
-
});
|
|
63
|
+
}, 2);
|
|
64
64
|
import * as import__soroush_tech_styled_system from "@soroush.tech/styled-system";
|
|
65
65
|
__reExport(src_exports, import__soroush_tech_styled_system);
|
|
66
|
-
export { src_exports as a, props as i, css
|
|
66
|
+
export { src_exports as a, props as i, css as n, styled as o, keyframes as r, createShouldForwardProp as t };
|
package/dist/style.d.cts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "./index-
|
|
1
|
+
import "./theme.cjs";
|
|
2
|
+
import { nt as Theme, v as CSSObject } from "./index-MipJMh6w.cjs";
|
|
3
3
|
import { ComponentType, ReactNode } from "react";
|
|
4
|
-
type StyleFactory = {
|
|
4
|
+
export type StyleFactory = {
|
|
5
5
|
getStyles: (theme: Theme) => CSSObject;
|
|
6
6
|
};
|
|
7
|
-
type StyleInput = CSSObject | StyleFactory;
|
|
8
|
-
declare function useStyle(style: StyleInput): CSSObject;
|
|
9
|
-
declare function withStyles<P extends object>(style: StyleInput): (WrappedComponent: ComponentType<P & {
|
|
7
|
+
export type StyleInput = CSSObject | StyleFactory;
|
|
8
|
+
export declare function useStyle(style: StyleInput): CSSObject;
|
|
9
|
+
export declare function withStyles<P extends object>(style: StyleInput): (WrappedComponent: ComponentType<P & {
|
|
10
10
|
styles: CSSObject;
|
|
11
11
|
}>) => (props: P) => import("react").JSX.Element;
|
|
12
12
|
type StylesConsumerProps = {
|
|
13
13
|
style: StyleFactory;
|
|
14
14
|
children: (styles: CSSObject) => ReactNode;
|
|
15
15
|
};
|
|
16
|
-
declare function StylesConsumer({ style, children }: Readonly<StylesConsumerProps>): import("react").JSX.Element;
|
|
17
|
-
export {
|
|
16
|
+
export declare function StylesConsumer({ style, children }: Readonly<StylesConsumerProps>): import("react").JSX.Element;
|
|
17
|
+
export {};
|
package/dist/style.d.mts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "./index-
|
|
1
|
+
import "./index-2yg1ycx-.mjs";
|
|
2
|
+
import { nt as Theme, v as CSSObject } from "./index-nw0pvCoK.mjs";
|
|
3
3
|
import { ComponentType, ReactNode } from "react";
|
|
4
|
-
type StyleFactory = {
|
|
4
|
+
export type StyleFactory = {
|
|
5
5
|
getStyles: (theme: Theme) => CSSObject;
|
|
6
6
|
};
|
|
7
|
-
type StyleInput = CSSObject | StyleFactory;
|
|
8
|
-
declare function useStyle(style: StyleInput): CSSObject;
|
|
9
|
-
declare function withStyles<P extends object>(style: StyleInput): (WrappedComponent: ComponentType<P & {
|
|
7
|
+
export type StyleInput = CSSObject | StyleFactory;
|
|
8
|
+
export declare function useStyle(style: StyleInput): CSSObject;
|
|
9
|
+
export declare function withStyles<P extends object>(style: StyleInput): (WrappedComponent: ComponentType<P & {
|
|
10
10
|
styles: CSSObject;
|
|
11
11
|
}>) => (props: P) => import("react").JSX.Element;
|
|
12
12
|
type StylesConsumerProps = {
|
|
13
13
|
style: StyleFactory;
|
|
14
14
|
children: (styles: CSSObject) => ReactNode;
|
|
15
15
|
};
|
|
16
|
-
declare function StylesConsumer({ style, children }: Readonly<StylesConsumerProps>): import("react").JSX.Element;
|
|
17
|
-
export {
|
|
16
|
+
export declare function StylesConsumer({ style, children }: Readonly<StylesConsumerProps>): import("react").JSX.Element;
|
|
17
|
+
export {};
|
package/dist/style.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as useTheme } from "./theme-
|
|
2
|
-
import { n as EmotionThemeContext } from "./emotion-
|
|
1
|
+
import { r as useTheme } from "./theme-B6LFWZ98.mjs";
|
|
2
|
+
import { n as EmotionThemeContext } from "./emotion-b3mnJPXZ.mjs";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
// src/style/hooks/useStyle.ts
|
|
5
5
|
function useStyle(style) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as src_exports } from "./src-
|
|
1
|
+
import { a as src_exports } from "./src-BSo7bM2g.mjs";
|
|
2
2
|
// src/Tabs/utils/tabIds.ts
|
|
3
3
|
/** A tab's DOM id - what its panel's `aria-labelledby` names. */
|
|
4
4
|
const getTabId = (baseId, value) => `${baseId}-tab-${value}`;
|
package/dist/testing.d.cts
CHANGED
|
@@ -3,5 +3,4 @@
|
|
|
3
3
|
* none - so components built on HTML popovers (`Drawer`) open, close and fire `toggle` in unit
|
|
4
4
|
* tests. Does nothing where the real API exists. Returns a function that removes it again.
|
|
5
5
|
*/
|
|
6
|
-
declare function installPopover(): () => void;
|
|
7
|
-
export { installPopover };
|
|
6
|
+
export declare function installPopover(): () => void;
|
package/dist/testing.d.mts
CHANGED
|
@@ -3,5 +3,4 @@
|
|
|
3
3
|
* none - so components built on HTML popovers (`Drawer`) open, close and fire `toggle` in unit
|
|
4
4
|
* tests. Does nothing where the real API exists. Returns a function that removes it again.
|
|
5
5
|
*/
|
|
6
|
-
declare function installPopover(): () => void;
|
|
7
|
-
export { installPopover };
|
|
6
|
+
export declare function installPopover(): () => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as baseTheme, w as withBreakpointHelpers } from "./themes-
|
|
2
|
-
import { a as useEmotionTheme, n as EmotionThemeContext, r as EmotionThemeProvider } from "./emotion-
|
|
1
|
+
import { n as baseTheme, w as withBreakpointHelpers } from "./themes-D3yxQwT9.mjs";
|
|
2
|
+
import { a as useEmotionTheme, n as EmotionThemeContext, r as EmotionThemeProvider } from "./emotion-b3mnJPXZ.mjs";
|
|
3
3
|
import { useCallback, useMemo } from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
// src/theme/utils/createTheme.ts
|
package/dist/theme.d.cts
CHANGED
|
@@ -1,3 +1,59 @@
|
|
|
1
|
-
import { $ as TabScrollButtonOwnerState, $t as typography, A as FabOwnerState, At as TransferListOwnerState, B as MenuOwnerState, Bt as fontSizes, C as CollapseOwnerState, Ct as ThemeText, D as ContextMenuOwnerState, Dt as ThemeTypographyVariants, E as ComponentVariant, Et as ThemeTransitions, F as LayoutPanel, Ft as between, G as PressableOwnerState, Gt as letterSpacings, H as OpenScale, Ht as fonts, I as LayoutPanels, It as borderWidths, J as ScrollAreaOwnerState, Jt as only, K as RangeInputOwnerState, Kt as lineHeights, L as LayoutSpace, Lt as breakpoints, M as LayoutContent, Mt as TypographyVariantStyle, N as LayoutEntry, Nt as avatar, O as DefaultBreakpoints, Ot as ThemeZOrder, P as LayoutLength, Pt as baseTheme, Q as TabPanelOwnerState, Qt as transitions, R as MenuItemOwnerState, Rt as containerQueries, S as ChipOwnerState, St as ThemeSwitch, T as ComponentStyle, Tt as ThemeTransitionEasing, U as PaletteColor, Ut as icon, V as NumberInputOwnerState, Vt as fontWeights, W as PaletteEntry, Wt as layout, X as SnackbarOwnerState, Xt as sizes, Y as SizeEntry, Yt as radii, Z as TabOwnerState, Zt as space, _ as ButtonVariants, _t as ThemeRadii, an as BreakpointHelpers, at as ThemeBorder, b as CardSlotIconProps, bt as ThemeSkeleton, c as AccordionOwnerState, ct as ThemeComponents, d as AutocompleteOwnerState, dt as ThemeFonts, en as up, et as TabsOwnerState, f as BadgeOwnerState, ft as ThemeIconSizes, g as ButtonOwnerState, gt as ThemePalette, h as BreakpointOverrides, ht as ThemeLineHeights, in as createTheme, it as ThemeBackground, j as LayoutBars, jt as TypographyVariant, k as FabMenuOwnerState, kt as TooltipOwnerState, l as AccordionSummaryOwnerState, lt as ThemeDefaults, m as BreakpointKey, mt as ThemeLetterSpacings, nn as DeepPartial, nt as Theme, on as withBreakpointHelpers, ot as ThemeBorderWidths, p as BreadcrumbsOwnerState, pt as ThemeLayout, q as RatingOwnerState, qt as not, rn as ThemeOverride, rt as ThemeAvatarSizes, s as AccordionGroupOwnerState, st as ThemeBreakpoints, tn as zOrder, tt as TabsVariants, u as AlertOwnerState, ut as ThemeFontWeights, v as CSSObject, vt as ThemeShadow, w as ComponentConfig, wt as ThemeTransitionDuration, x as CardSlotTypographyProps, xt as ThemeSpace, y as CardOwnerState, yt as ThemeSizes, z as MenuListOwnerState, zt as down } from "./index-
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { $ as TabScrollButtonOwnerState, $t as typography, A as FabOwnerState, At as TransferListOwnerState, B as MenuOwnerState, Bt as fontSizes, C as CollapseOwnerState, Ct as ThemeText, D as ContextMenuOwnerState, Dt as ThemeTypographyVariants, E as ComponentVariant, Et as ThemeTransitions, F as LayoutPanel, Ft as between, G as PressableOwnerState, Gt as letterSpacings, H as OpenScale, Ht as fonts, I as LayoutPanels, It as borderWidths, J as ScrollAreaOwnerState, Jt as only, K as RangeInputOwnerState, Kt as lineHeights, L as LayoutSpace, Lt as breakpoints, M as LayoutContent, Mt as TypographyVariantStyle, N as LayoutEntry, Nt as avatar, O as DefaultBreakpoints, Ot as ThemeZOrder, P as LayoutLength, Pt as baseTheme, Q as TabPanelOwnerState, Qt as transitions, R as MenuItemOwnerState, Rt as containerQueries, S as ChipOwnerState, St as ThemeSwitch, T as ComponentStyle, Tt as ThemeTransitionEasing, U as PaletteColor, Ut as icon, V as NumberInputOwnerState, Vt as fontWeights, W as PaletteEntry, Wt as layout, X as SnackbarOwnerState, Xt as sizes, Y as SizeEntry, Yt as radii, Z as TabOwnerState, Zt as space, _ as ButtonVariants, _t as ThemeRadii, an as BreakpointHelpers, at as ThemeBorder, b as CardSlotIconProps, bt as ThemeSkeleton, c as AccordionOwnerState, ct as ThemeComponents, d as AutocompleteOwnerState, dt as ThemeFonts, en as up, et as TabsOwnerState, f as BadgeOwnerState, ft as ThemeIconSizes, g as ButtonOwnerState, gt as ThemePalette, h as BreakpointOverrides, ht as ThemeLineHeights, in as createTheme, it as ThemeBackground, j as LayoutBars, jt as TypographyVariant, k as FabMenuOwnerState, kt as TooltipOwnerState, l as AccordionSummaryOwnerState, lt as ThemeDefaults, m as BreakpointKey, mt as ThemeLetterSpacings, nn as DeepPartial, nt as Theme, on as withBreakpointHelpers, ot as ThemeBorderWidths, p as BreadcrumbsOwnerState, pt as ThemeLayout, q as RatingOwnerState, qt as not, rn as ThemeOverride, rt as ThemeAvatarSizes, s as AccordionGroupOwnerState, st as ThemeBreakpoints, tn as zOrder, tt as TabsVariants, u as AlertOwnerState, ut as ThemeFontWeights, v as CSSObject, vt as ThemeShadow, w as ComponentConfig, wt as ThemeTransitionDuration, x as CardSlotTypographyProps, xt as ThemeSpace, y as CardOwnerState, yt as ThemeSizes, z as MenuListOwnerState, zt as down } from "./index-MipJMh6w.cjs";
|
|
2
|
+
import { ComponentType, ReactNode } from "react";
|
|
3
|
+
interface ThemeProviderProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
/**
|
|
6
|
+
* The active theme. Bring one theme, or as many as you like - switching
|
|
7
|
+
* between them is your state, not the provider's. Defaults to the built-in
|
|
8
|
+
* `baseTheme`.
|
|
9
|
+
*/
|
|
10
|
+
theme?: Theme;
|
|
11
|
+
/**
|
|
12
|
+
* Optional component default token/variant keys, merged into the theme
|
|
13
|
+
* (e.g. `{ size: 'compact' }` makes every sized component default to your key).
|
|
14
|
+
*/
|
|
15
|
+
defaults?: ThemeDefaults;
|
|
16
|
+
}
|
|
17
|
+
export declare function ThemeProvider({ children, theme, defaults }: Readonly<ThemeProviderProps>): import("react").JSX.Element;
|
|
18
|
+
export interface LayoutProviderProps {
|
|
19
|
+
/**
|
|
20
|
+
* The page's layout: `theme.layout`'s shape - `content`, `panels`, `bars` per breakpoint -
|
|
21
|
+
* partial. A value holds from its breakpoint up, until the page sets it again. Keep it stable
|
|
22
|
+
* (defined outside the component, or memoized): a new object re-derives the theme.
|
|
23
|
+
*/
|
|
24
|
+
layout: ThemeLayout;
|
|
25
|
+
children: ReactNode;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @description A page-level layout: everything inside sees `theme.layout` with the page's
|
|
29
|
+
* values merged on top - `View`, `Flex` and `Grid` with `layout`, and `useTheme().layout`. It
|
|
30
|
+
* derives the theme from the one around it and changes nothing else, so colours, light/dark
|
|
31
|
+
* switching and every other token stay the app theme's. Nested providers stack.
|
|
32
|
+
*/
|
|
33
|
+
export declare function LayoutProvider({ layout, children }: Readonly<LayoutProviderProps>): import("react").JSX.Element;
|
|
34
|
+
/**
|
|
35
|
+
* Resolves a component's default token/variant key: the theme's optional
|
|
36
|
+
* `defaults` override wins, otherwise the component's literal `fallback`.
|
|
37
|
+
* Components call this in their prop defaults (`size = themeDefault(theme,
|
|
38
|
+
* 'size', 'md')`) so every built-in default stays visible in the component
|
|
39
|
+
* yet overridable per theme or via `ThemeProvider`'s `defaults` prop.
|
|
40
|
+
*/
|
|
41
|
+
export declare const themeDefault: <K extends keyof ThemeDefaults>(theme: Theme, key: K, fallback: NonNullable<ThemeDefaults[K]>) => NonNullable<ThemeDefaults[K]>;
|
|
42
|
+
/**
|
|
43
|
+
* The active theme, typed as this package's own `Theme` - Emotion is an
|
|
44
|
+
* internal implementation detail, never part of the public type surface.
|
|
45
|
+
*/
|
|
46
|
+
export declare const useTheme: () => Theme;
|
|
47
|
+
type DefaultPropsOf<N extends keyof ThemeComponents> = NonNullable<NonNullable<ThemeComponents[N]>['defaultProps']>;
|
|
48
|
+
/**
|
|
49
|
+
* The theme-contributed default prop values for a component
|
|
50
|
+
* (`theme.components[name].defaultProps`), or an empty object.
|
|
51
|
+
*
|
|
52
|
+
* Components apply it as one step of the default-resolution chain:
|
|
53
|
+
* explicit prop → group context → `useDefaultProps` → `theme.defaults.*` → literal fallback.
|
|
54
|
+
*/
|
|
55
|
+
export declare function useDefaultProps<N extends keyof ThemeComponents>(name: N): DefaultPropsOf<N>;
|
|
56
|
+
export declare function withTheme<P extends object>(WrappedComponent: ComponentType<P & {
|
|
57
|
+
theme: Theme;
|
|
58
|
+
}>): (props: P) => import("react").JSX.Element;
|
|
59
|
+
export { AccordionGroupOwnerState, AccordionOwnerState, AccordionSummaryOwnerState, AlertOwnerState, AutocompleteOwnerState, BadgeOwnerState, BreadcrumbsOwnerState, BreakpointHelpers, BreakpointKey, BreakpointOverrides, ButtonOwnerState, ButtonVariants, CSSObject, CardOwnerState, CardSlotIconProps, CardSlotTypographyProps, ChipOwnerState, CollapseOwnerState, ComponentConfig, ComponentStyle, ComponentVariant, ContextMenuOwnerState, type DeepPartial, DefaultBreakpoints, FabMenuOwnerState, FabOwnerState, LayoutBars, LayoutContent, LayoutEntry, LayoutLength, LayoutPanel, LayoutPanels, LayoutSpace, MenuItemOwnerState, MenuListOwnerState, MenuOwnerState, NumberInputOwnerState, OpenScale, PaletteColor, PaletteEntry, PressableOwnerState, RangeInputOwnerState, RatingOwnerState, ScrollAreaOwnerState, SizeEntry, SnackbarOwnerState, TabOwnerState, TabPanelOwnerState, TabScrollButtonOwnerState, TabsOwnerState, TabsVariants, Theme, ThemeAvatarSizes, ThemeBackground, ThemeBorder, ThemeBorderWidths, ThemeBreakpoints, ThemeComponents, ThemeDefaults, ThemeFontWeights, ThemeFonts, ThemeIconSizes, ThemeLayout, ThemeLetterSpacings, ThemeLineHeights, type ThemeOverride, ThemePalette, ThemeRadii, ThemeShadow, ThemeSizes, ThemeSkeleton, ThemeSpace, ThemeSwitch, ThemeText, ThemeTransitionDuration, ThemeTransitionEasing, ThemeTransitions, ThemeTypographyVariants, ThemeZOrder, TooltipOwnerState, TransferListOwnerState, TypographyVariant, TypographyVariantStyle, avatar, baseTheme, between, borderWidths, breakpoints, containerQueries, createTheme, down, fontSizes, fontWeights, fonts, icon, layout, letterSpacings, lineHeights, not, only, radii, sizes, space, transitions, typography, up, withBreakpointHelpers, zOrder };
|
package/dist/theme.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as TabScrollButtonOwnerState, $t as typography, A as FabOwnerState, At as TransferListOwnerState, B as MenuOwnerState, Bt as fontSizes, C as CollapseOwnerState, Ct as ThemeText, D as ContextMenuOwnerState, Dt as ThemeTypographyVariants, E as ComponentVariant, Et as ThemeTransitions, F as LayoutPanel, Ft as between, G as PressableOwnerState, Gt as letterSpacings, H as OpenScale, Ht as fonts, I as LayoutPanels, It as borderWidths, J as ScrollAreaOwnerState, Jt as only, K as RangeInputOwnerState, Kt as lineHeights, L as LayoutSpace, Lt as breakpoints, M as LayoutContent, Mt as TypographyVariantStyle, N as LayoutEntry, Nt as avatar, O as DefaultBreakpoints, Ot as ThemeZOrder, P as LayoutLength, Pt as baseTheme, Q as TabPanelOwnerState, Qt as transitions, R as MenuItemOwnerState, Rt as containerQueries, S as ChipOwnerState, St as ThemeSwitch, T as ComponentStyle, Tt as ThemeTransitionEasing, U as PaletteColor, Ut as icon, V as NumberInputOwnerState, Vt as fontWeights, W as PaletteEntry, Wt as layout, X as SnackbarOwnerState, Xt as sizes, Y as SizeEntry, Yt as radii, Z as TabOwnerState, Zt as space, _ as ButtonVariants, _t as ThemeRadii, an as BreakpointHelpers, at as ThemeBorder, b as CardSlotIconProps, bt as ThemeSkeleton, c as AccordionOwnerState, ct as ThemeComponents, d as AutocompleteOwnerState, dt as ThemeFonts, en as up, et as TabsOwnerState, f as BadgeOwnerState, ft as ThemeIconSizes, g as ButtonOwnerState, gt as ThemePalette, h as BreakpointOverrides, ht as ThemeLineHeights, in as createTheme, it as ThemeBackground, j as LayoutBars, jt as TypographyVariant, k as FabMenuOwnerState, kt as TooltipOwnerState, l as AccordionSummaryOwnerState, lt as ThemeDefaults, m as BreakpointKey, mt as ThemeLetterSpacings, nn as DeepPartial, nt as Theme, on as withBreakpointHelpers, ot as ThemeBorderWidths, p as BreadcrumbsOwnerState, pt as ThemeLayout, q as RatingOwnerState, qt as not, rn as ThemeOverride, rt as ThemeAvatarSizes, s as AccordionGroupOwnerState, st as ThemeBreakpoints, tn as zOrder, tt as TabsVariants, u as AlertOwnerState, ut as ThemeFontWeights, v as CSSObject, vt as ThemeShadow, w as ComponentConfig, wt as ThemeTransitionDuration, x as CardSlotTypographyProps, xt as ThemeSpace, y as CardOwnerState, yt as ThemeSizes, z as MenuListOwnerState, zt as down } from "./index-
|
|
2
|
-
import { a as LayoutProvider, i as themeDefault, n as useDefaultProps, o as LayoutProviderProps, r as useTheme, s as ThemeProvider, t as withTheme } from "./index-
|
|
1
|
+
import { $ as TabScrollButtonOwnerState, $t as typography, A as FabOwnerState, At as TransferListOwnerState, B as MenuOwnerState, Bt as fontSizes, C as CollapseOwnerState, Ct as ThemeText, D as ContextMenuOwnerState, Dt as ThemeTypographyVariants, E as ComponentVariant, Et as ThemeTransitions, F as LayoutPanel, Ft as between, G as PressableOwnerState, Gt as letterSpacings, H as OpenScale, Ht as fonts, I as LayoutPanels, It as borderWidths, J as ScrollAreaOwnerState, Jt as only, K as RangeInputOwnerState, Kt as lineHeights, L as LayoutSpace, Lt as breakpoints, M as LayoutContent, Mt as TypographyVariantStyle, N as LayoutEntry, Nt as avatar, O as DefaultBreakpoints, Ot as ThemeZOrder, P as LayoutLength, Pt as baseTheme, Q as TabPanelOwnerState, Qt as transitions, R as MenuItemOwnerState, Rt as containerQueries, S as ChipOwnerState, St as ThemeSwitch, T as ComponentStyle, Tt as ThemeTransitionEasing, U as PaletteColor, Ut as icon, V as NumberInputOwnerState, Vt as fontWeights, W as PaletteEntry, Wt as layout, X as SnackbarOwnerState, Xt as sizes, Y as SizeEntry, Yt as radii, Z as TabOwnerState, Zt as space, _ as ButtonVariants, _t as ThemeRadii, an as BreakpointHelpers, at as ThemeBorder, b as CardSlotIconProps, bt as ThemeSkeleton, c as AccordionOwnerState, ct as ThemeComponents, d as AutocompleteOwnerState, dt as ThemeFonts, en as up, et as TabsOwnerState, f as BadgeOwnerState, ft as ThemeIconSizes, g as ButtonOwnerState, gt as ThemePalette, h as BreakpointOverrides, ht as ThemeLineHeights, in as createTheme, it as ThemeBackground, j as LayoutBars, jt as TypographyVariant, k as FabMenuOwnerState, kt as TooltipOwnerState, l as AccordionSummaryOwnerState, lt as ThemeDefaults, m as BreakpointKey, mt as ThemeLetterSpacings, nn as DeepPartial, nt as Theme, on as withBreakpointHelpers, ot as ThemeBorderWidths, p as BreadcrumbsOwnerState, pt as ThemeLayout, q as RatingOwnerState, qt as not, rn as ThemeOverride, rt as ThemeAvatarSizes, s as AccordionGroupOwnerState, st as ThemeBreakpoints, tn as zOrder, tt as TabsVariants, u as AlertOwnerState, ut as ThemeFontWeights, v as CSSObject, vt as ThemeShadow, w as ComponentConfig, wt as ThemeTransitionDuration, x as CardSlotTypographyProps, xt as ThemeSpace, y as CardOwnerState, yt as ThemeSizes, z as MenuListOwnerState, zt as down } from "./index-nw0pvCoK.mjs";
|
|
2
|
+
import { a as LayoutProvider, i as themeDefault, n as useDefaultProps, o as LayoutProviderProps, r as useTheme, s as ThemeProvider, t as withTheme } from "./index-2yg1ycx-.mjs";
|
|
3
3
|
export { AccordionGroupOwnerState, AccordionOwnerState, AccordionSummaryOwnerState, AlertOwnerState, AutocompleteOwnerState, BadgeOwnerState, BreadcrumbsOwnerState, BreakpointHelpers, BreakpointKey, BreakpointOverrides, ButtonOwnerState, ButtonVariants, CSSObject, CardOwnerState, CardSlotIconProps, CardSlotTypographyProps, ChipOwnerState, CollapseOwnerState, ComponentConfig, ComponentStyle, ComponentVariant, ContextMenuOwnerState, type DeepPartial, DefaultBreakpoints, FabMenuOwnerState, FabOwnerState, LayoutBars, LayoutContent, LayoutEntry, LayoutLength, LayoutPanel, LayoutPanels, LayoutProvider, LayoutProviderProps, LayoutSpace, MenuItemOwnerState, MenuListOwnerState, MenuOwnerState, NumberInputOwnerState, OpenScale, PaletteColor, PaletteEntry, PressableOwnerState, RangeInputOwnerState, RatingOwnerState, ScrollAreaOwnerState, SizeEntry, SnackbarOwnerState, TabOwnerState, TabPanelOwnerState, TabScrollButtonOwnerState, TabsOwnerState, TabsVariants, Theme, ThemeAvatarSizes, ThemeBackground, ThemeBorder, ThemeBorderWidths, ThemeBreakpoints, ThemeComponents, ThemeDefaults, ThemeFontWeights, ThemeFonts, ThemeIconSizes, ThemeLayout, ThemeLetterSpacings, ThemeLineHeights, type ThemeOverride, ThemePalette, ThemeProvider, ThemeRadii, ThemeShadow, ThemeSizes, ThemeSkeleton, ThemeSpace, ThemeSwitch, ThemeText, ThemeTransitionDuration, ThemeTransitionEasing, ThemeTransitions, ThemeTypographyVariants, ThemeZOrder, TooltipOwnerState, TransferListOwnerState, TypographyVariant, TypographyVariantStyle, avatar, baseTheme, between, borderWidths, breakpoints, containerQueries, createTheme, down, fontSizes, fontWeights, fonts, icon, layout, letterSpacings, lineHeights, not, only, radii, sizes, space, themeDefault, transitions, typography, up, useDefaultProps, useTheme, withBreakpointHelpers, withTheme, zOrder };
|
package/dist/theme.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as zOrder, S as up, _ as radii, a as breakpoints, b as transitions, c as fontSizes, d as icon, f as layout, g as only, h as not, i as borderWidths, l as fontWeights, m as lineHeights, n as baseTheme, o as containerQueries, p as letterSpacings, r as between, s as down, t as avatar, u as fonts, v as sizes, w as withBreakpointHelpers, x as typography, y as space } from "./themes-
|
|
2
|
-
import { a as ThemeProvider, i as LayoutProvider, n as useDefaultProps, o as createTheme, r as useTheme, t as withTheme } from "./theme-
|
|
1
|
+
import { C as zOrder, S as up, _ as radii, a as breakpoints, b as transitions, c as fontSizes, d as icon, f as layout, g as only, h as not, i as borderWidths, l as fontWeights, m as lineHeights, n as baseTheme, o as containerQueries, p as letterSpacings, r as between, s as down, t as avatar, u as fonts, v as sizes, w as withBreakpointHelpers, x as typography, y as space } from "./themes-D3yxQwT9.mjs";
|
|
2
|
+
import { a as ThemeProvider, i as LayoutProvider, n as useDefaultProps, o as createTheme, r as useTheme, t as withTheme } from "./theme-B6LFWZ98.mjs";
|
|
3
3
|
import { t as themeDefault } from "./themeDefault-BeZJzqJj.mjs";
|
|
4
4
|
export { LayoutProvider, ThemeProvider, avatar, baseTheme, between, borderWidths, breakpoints, containerQueries, createTheme, down, fontSizes, fontWeights, fonts, icon, layout, letterSpacings, lineHeights, not, only, radii, sizes, space, themeDefault, transitions, typography, up, useDefaultProps, useTheme, withBreakpointHelpers, withTheme, zOrder };
|