@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 { o as styled, t as createShouldForwardProp } from "./src-
|
|
2
|
-
import { r as useTheme } from "./theme-
|
|
3
|
-
import { t as
|
|
1
|
+
import { o as styled, t as createShouldForwardProp } from "./src-BSo7bM2g.mjs";
|
|
2
|
+
import { r as useTheme } from "./theme-B6LFWZ98.mjs";
|
|
3
|
+
import { t as Modal } from "./Modal-EH6RduGc.mjs";
|
|
4
4
|
import { Paper } from "./Paper.mjs";
|
|
5
|
-
import { t as
|
|
5
|
+
import { t as computePopoverPosition } from "./computePopoverPosition-qii46Z6p.mjs";
|
|
6
6
|
import { useCallback, useEffect, useImperativeHandle, useLayoutEffect, useRef, useState } from "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
// src/Popover/utils/resolveAnchorEl.ts
|
package/dist/Popover.cjs
CHANGED
package/dist/Popover.d.cts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { cn as PaperElevation, ln as PaperProps, nt as Theme } from "./index-
|
|
2
|
-
import "./
|
|
1
|
+
import { cn as PaperElevation, ln as PaperProps, nt as Theme } from "./index-MipJMh6w.cjs";
|
|
2
|
+
import { ModalCloseReason } from "./Modal.cjs";
|
|
3
|
+
import "./Paper.cjs";
|
|
3
4
|
import { n as PopoverPosition, r as PopoverReference, t as PopoverOrigin } from "./computePopoverPosition-JgOwCM7k.cjs";
|
|
4
|
-
import { l as ModalCloseReason } from "./index-vls8Jhdl.cjs";
|
|
5
5
|
import { ReactNode, Ref } from "react";
|
|
6
6
|
type PopoverAnchorEl = HTMLElement | (() => HTMLElement | null) | null;
|
|
7
|
-
interface PopoverActions {
|
|
7
|
+
export interface PopoverActions {
|
|
8
8
|
/** Recomputes the popover's position against its anchor. */
|
|
9
9
|
updatePosition: () => void;
|
|
10
10
|
}
|
|
11
|
-
interface PopoverProps {
|
|
11
|
+
export interface PopoverProps {
|
|
12
12
|
/** If true, the popover is shown. */
|
|
13
13
|
open: boolean;
|
|
14
14
|
/** The content of the popover. */
|
|
@@ -62,5 +62,5 @@ interface PopoverProps {
|
|
|
62
62
|
* scroll lock, and Escape/click-away close - then adds anchor positioning
|
|
63
63
|
* (`anchorOrigin`/`transformOrigin`/`marginThreshold`).
|
|
64
64
|
*/
|
|
65
|
-
declare function Popover({ open, children, anchorEl, anchorReference, anchorPosition, anchorOrigin, transformOrigin, onClose, elevation, marginThreshold, container, action, slotProps, hasBackdrop, disableScrollLock, disableAriaHidden, shouldAutoFocus, shouldTrapFocus, shouldEnforceFocus, shouldRestoreFocus, shouldKeepMounted, layer }: Readonly<PopoverProps>): import("react").JSX.Element;
|
|
66
|
-
export {
|
|
65
|
+
export declare function Popover({ open, children, anchorEl, anchorReference, anchorPosition, anchorOrigin, transformOrigin, onClose, elevation, marginThreshold, container, action, slotProps, hasBackdrop, disableScrollLock, disableAriaHidden, shouldAutoFocus, shouldTrapFocus, shouldEnforceFocus, shouldRestoreFocus, shouldKeepMounted, layer }: Readonly<PopoverProps>): import("react").JSX.Element;
|
|
66
|
+
export type { PopoverAnchorEl, PopoverOrigin, PopoverPosition, PopoverReference };
|
package/dist/Popover.d.mts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { cn as PaperElevation, ln as PaperProps, nt as Theme } from "./index-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { cn as PaperElevation, ln as PaperProps, nt as Theme } from "./index-nw0pvCoK.mjs";
|
|
2
|
+
import { l as ModalCloseReason } from "./index-CF6cynkC.mjs";
|
|
3
|
+
import "./index-BzWmnUjW.mjs";
|
|
3
4
|
import { n as PopoverPosition, r as PopoverReference, t as PopoverOrigin } from "./computePopoverPosition-JgOwCM7k.mjs";
|
|
4
|
-
import { l as ModalCloseReason } from "./index-COGZ6LV4.mjs";
|
|
5
5
|
import { ReactNode, Ref } from "react";
|
|
6
6
|
type PopoverAnchorEl = HTMLElement | (() => HTMLElement | null) | null;
|
|
7
|
-
interface PopoverActions {
|
|
7
|
+
export interface PopoverActions {
|
|
8
8
|
/** Recomputes the popover's position against its anchor. */
|
|
9
9
|
updatePosition: () => void;
|
|
10
10
|
}
|
|
11
|
-
interface PopoverProps {
|
|
11
|
+
export interface PopoverProps {
|
|
12
12
|
/** If true, the popover is shown. */
|
|
13
13
|
open: boolean;
|
|
14
14
|
/** The content of the popover. */
|
|
@@ -62,5 +62,5 @@ interface PopoverProps {
|
|
|
62
62
|
* scroll lock, and Escape/click-away close - then adds anchor positioning
|
|
63
63
|
* (`anchorOrigin`/`transformOrigin`/`marginThreshold`).
|
|
64
64
|
*/
|
|
65
|
-
declare function Popover({ open, children, anchorEl, anchorReference, anchorPosition, anchorOrigin, transformOrigin, onClose, elevation, marginThreshold, container, action, slotProps, hasBackdrop, disableScrollLock, disableAriaHidden, shouldAutoFocus, shouldTrapFocus, shouldEnforceFocus, shouldRestoreFocus, shouldKeepMounted, layer }: Readonly<PopoverProps>): import("react").JSX.Element;
|
|
66
|
-
export {
|
|
65
|
+
export declare function Popover({ open, children, anchorEl, anchorReference, anchorPosition, anchorOrigin, transformOrigin, onClose, elevation, marginThreshold, container, action, slotProps, hasBackdrop, disableScrollLock, disableAriaHidden, shouldAutoFocus, shouldTrapFocus, shouldEnforceFocus, shouldRestoreFocus, shouldKeepMounted, layer }: Readonly<PopoverProps>): import("react").JSX.Element;
|
|
66
|
+
export type { PopoverAnchorEl, PopoverOrigin, PopoverPosition, PopoverReference };
|
package/dist/Popover.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as Popover } from "./Popover-
|
|
1
|
+
export { t as Popover } from "./Popover-JCnuplk4.mjs";
|
package/dist/Portal.d.cts
CHANGED
|
@@ -1,2 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
export interface PortalProps {
|
|
3
|
+
/** Content to render into the container. */
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
/** Target node, or a function returning one. Defaults to `document.body`. */
|
|
6
|
+
container?: HTMLElement | (() => HTMLElement | null) | null;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Renders its children into a DOM node outside the parent hierarchy (the document
|
|
10
|
+
* body by default). Resolves the container synchronously during render, so the
|
|
11
|
+
* portaled content mounts in the same commit - consumers like Modal can rely on
|
|
12
|
+
* their root ref being attached before their effects run. Renders nothing during
|
|
13
|
+
* server rendering.
|
|
14
|
+
*/
|
|
15
|
+
export declare function Portal({ children, container }: Readonly<PortalProps>): import("react").ReactPortal | null;
|
package/dist/Pressable.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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
|
const require_utils = require("./utils.cjs");
|
|
4
|
-
const require_theme = require("./theme-XJvMdOnY.cjs");
|
|
5
|
-
const require_themeDefault = require("./themeDefault-DbPHBbNO.cjs");
|
|
6
4
|
const require_getAnchorRel = require("./getAnchorRel-DFMc_uIR.cjs");
|
|
5
|
+
const require_themeDefault = require("./themeDefault-DbPHBbNO.cjs");
|
|
6
|
+
const require_theme = require("./theme-XJvMdOnY.cjs");
|
|
7
7
|
require("react");
|
|
8
8
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
9
|
let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/styled-system/should-forward-prop");
|
package/dist/Pressable.d.cts
CHANGED
|
@@ -1,2 +1,46 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { U as PaletteColor, nt as Theme } from "./index-MipJMh6w.cjs";
|
|
2
|
+
import { ButtonHTMLAttributes, ElementType } from "react";
|
|
3
|
+
import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
4
|
+
/**
|
|
5
|
+
* Press feedback: `none` leaves the wrapped content untouched, `opacity` dims it
|
|
6
|
+
* while held, `highlight` tints the surface behind it while held.
|
|
7
|
+
*/
|
|
8
|
+
export type PressableFeedback = 'none' | 'opacity' | 'highlight';
|
|
9
|
+
export type PressableColor = PaletteColor;
|
|
10
|
+
export interface PressableProps extends Omit<ButtonHTMLAttributes<HTMLElement>, 'color'>, SpaceProps<Theme>, LayoutProps<Theme>, BorderProps<Theme>, TypographyProps<Theme> {
|
|
11
|
+
/**
|
|
12
|
+
* Element to render. Default: `'div'` - which still behaves as a button
|
|
13
|
+
* (`role`, tab stop, Enter/Space) because a `<button>` may not legally contain
|
|
14
|
+
* links, buttons, or block-level content. Pass `'button'` for a native button
|
|
15
|
+
* when the content is phrasing-only, or any other tag you need.
|
|
16
|
+
*/
|
|
17
|
+
as?: ElementType;
|
|
18
|
+
/** Feedback shown while pressed. Default: `'none'`, overridable via `theme.components.Pressable.defaultProps`. */
|
|
19
|
+
feedback?: PressableFeedback;
|
|
20
|
+
/** Palette the `highlight` tint derives from - maps to `theme.palette[color]`. Default: `'primary'`, overridable via `theme.defaults.color`. */
|
|
21
|
+
color?: PressableColor;
|
|
22
|
+
/** Opacity held content fades to under `feedback="opacity"`. Default: `0.7`. */
|
|
23
|
+
activeOpacity?: number;
|
|
24
|
+
/** The URL to link to. If defined and `as` is unset, an `a` element is used. */
|
|
25
|
+
href?: string;
|
|
26
|
+
/** Anchor `target` - only meaningful when `href` is set. */
|
|
27
|
+
target?: string;
|
|
28
|
+
/** Anchor `rel` - only meaningful when `href` is set. */
|
|
29
|
+
rel?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* An unstyled clickable surface - button semantics (keyboard activation, focus
|
|
33
|
+
* ring, disabled state) with none of a button's looks, so it can wrap arbitrary
|
|
34
|
+
* content without changing its layout. Use it instead of an `onClick` on a
|
|
35
|
+
* `div`, which no keyboard or screen-reader user can reach.
|
|
36
|
+
*
|
|
37
|
+
* It renders a `div` by default, because `<button>` may not legally contain a
|
|
38
|
+
* link, another button, or block-level content - the shim gives that div a
|
|
39
|
+
* `role`, a tab stop, and Enter/Space activation, so it is announced and
|
|
40
|
+
* operated as a button either way. Pass `as="button"` for a native button, or
|
|
41
|
+
* `href` for an anchor; both skip the shim and let the browser do the work.
|
|
42
|
+
*
|
|
43
|
+
* `feedback` picks what happens while it is held: nothing (default), the content
|
|
44
|
+
* dims, or the surface tints.
|
|
45
|
+
*/
|
|
46
|
+
export declare function Pressable({ as, feedback, color, activeOpacity, href, target, rel, type, disabled, onClick, onKeyDown, onKeyUp, ...rest }: Readonly<PressableProps>): import("react").JSX.Element;
|
package/dist/Pressable.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as PressableProps, n as PressableColor, r as PressableFeedback, t as Pressable } from "./index-
|
|
1
|
+
import { i as PressableProps, n as PressableColor, r as PressableFeedback, t as Pressable } from "./index-DA-h_wfm.mjs";
|
|
2
2
|
export { Pressable, PressableColor, PressableFeedback, PressableProps };
|
package/dist/Pressable.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-
|
|
1
|
+
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-BSo7bM2g.mjs";
|
|
2
2
|
import { alpha } from "./utils.mjs";
|
|
3
|
-
import { n as useDefaultProps, r as useTheme } from "./theme-DyyZQFzQ.mjs";
|
|
4
|
-
import { t as themeDefault } from "./themeDefault-BeZJzqJj.mjs";
|
|
5
3
|
import { t as getAnchorRel } from "./getAnchorRel-BLYap7aE.mjs";
|
|
4
|
+
import { t as themeDefault } from "./themeDefault-BeZJzqJj.mjs";
|
|
5
|
+
import { n as useDefaultProps, r as useTheme } from "./theme-B6LFWZ98.mjs";
|
|
6
6
|
import "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
// src/Pressable/Pressable.tsx
|
package/dist/Quote.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
|
const require_View = require("./View.cjs");
|
|
4
4
|
// src/Quote/Quote.tsx
|
|
5
5
|
/** A View with a 2px primary left-border - used for terminal readouts and markdown blockquotes. */
|
package/dist/Quote.d.cts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "./index-
|
|
3
|
-
type QuoteProps = ViewProps;
|
|
1
|
+
import "./theme.cjs";
|
|
2
|
+
import { nt as Theme, yn as ViewProps } from "./index-MipJMh6w.cjs";
|
|
3
|
+
export type QuoteProps = ViewProps;
|
|
4
4
|
/** A View with a 2px primary left-border - used for terminal readouts and markdown blockquotes. */
|
|
5
|
-
declare const Quote: import("@emotion/styled").StyledComponent<Pick<{
|
|
5
|
+
export declare const Quote: import("@emotion/styled").StyledComponent<Pick<{
|
|
6
6
|
theme?: Theme;
|
|
7
7
|
as?: React.ElementType;
|
|
8
8
|
} & ViewProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, "about" | "accessKey" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "as" | "aspectRatio" | "autoCapitalize" | "autoCorrect" | "autoFocus" | "autoSave" | "bg" | "border" | "borderBottom" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderColor" | "borderLeft" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRadius" | "borderRight" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderStyle" | "borderTop" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "borderWidth" | "borderX" | "borderY" | "bottom" | "children" | "className" | "color" | "columnGap" | "containerName" | "containerType" | "content" | "contentEditable" | "contextMenu" | "cursor" | "dangerouslySetInnerHTML" | "datatype" | "defaultChecked" | "defaultValue" | "dir" | "display" | "draggable" | "enterKeyHint" | "exportparts" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gap" | "height" | "hidden" | "id" | "inert" | "inlist" | "inputMode" | "is" | "itemID" | "itemProp" | "itemRef" | "itemScope" | "itemType" | "key" | "lang" | "layout" | "left" | "letterSpacing" | "lineHeight" | "m" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "marginX" | "marginY" | "maxHeight" | "maxWidth" | "mb" | "minHeight" | "minWidth" | "ml" | "mr" | "mt" | "mx" | "my" | "nonce" | "onAbort" | "onAbortCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAuxClick" | "onAuxClickCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onBeforeToggle" | "onBlur" | "onBlurCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onChange" | "onChangeCapture" | "onClick" | "onClickCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onContextMenu" | "onContextMenuCapture" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onError" | "onErrorCapture" | "onFocus" | "onFocusCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onInput" | "onInputCapture" | "onInvalid" | "onInvalidCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onLoad" | "onLoadCapture" | "onLoadStart" | "onLoadStartCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onPaste" | "onPasteCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerMove" | "onPointerMoveCapture" | "onPointerOut" | "onPointerOutCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerUp" | "onPointerUpCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onReset" | "onResetCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onSelect" | "onSelectCapture" | "onStalled" | "onStalledCapture" | "onSubmit" | "onSubmitCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onToggle" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onWheel" | "onWheelCapture" | "opacity" | "order" | "overflow" | "overflowX" | "overflowY" | "p" | "padding" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "paddingX" | "paddingY" | "part" | "pb" | "pl" | "popover" | "popoverTarget" | "popoverTargetAction" | "position" | "pr" | "prefix" | "property" | "pt" | "px" | "py" | "radioGroup" | "ref" | "rel" | "resource" | "results" | "rev" | "right" | "role" | "rowGap" | "security" | "size" | "slot" | "span" | "spellCheck" | "style" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "tabIndex" | "textAlign" | "textAlignLast" | "textDecoration" | "textDecorationColor" | "textDecorationLine" | "textDecorationStyle" | "textDecorationThickness" | "textOverflow" | "textTransform" | "theme" | "title" | "top" | "translate" | "typeof" | "unselectable" | "verticalAlign" | "vocab" | "whiteSpace" | "width" | "zIndex"> & {
|
|
9
9
|
theme?: Theme;
|
|
10
|
-
}, {}, {}>;
|
|
11
|
-
export { Quote, QuoteProps };
|
|
10
|
+
}, {}, {}>;
|
package/dist/Quote.d.mts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "./index-
|
|
3
|
-
type QuoteProps = ViewProps;
|
|
1
|
+
import "./index-2yg1ycx-.mjs";
|
|
2
|
+
import { nt as Theme, yn as ViewProps } from "./index-nw0pvCoK.mjs";
|
|
3
|
+
export type QuoteProps = ViewProps;
|
|
4
4
|
/** A View with a 2px primary left-border - used for terminal readouts and markdown blockquotes. */
|
|
5
|
-
declare const Quote: import("@emotion/styled").StyledComponent<Pick<{
|
|
5
|
+
export declare const Quote: import("@emotion/styled").StyledComponent<Pick<{
|
|
6
6
|
theme?: Theme;
|
|
7
7
|
as?: React.ElementType;
|
|
8
8
|
} & ViewProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, "about" | "accessKey" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "as" | "aspectRatio" | "autoCapitalize" | "autoCorrect" | "autoFocus" | "autoSave" | "bg" | "border" | "borderBottom" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderColor" | "borderLeft" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRadius" | "borderRight" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderStyle" | "borderTop" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "borderWidth" | "borderX" | "borderY" | "bottom" | "children" | "className" | "color" | "columnGap" | "containerName" | "containerType" | "content" | "contentEditable" | "contextMenu" | "cursor" | "dangerouslySetInnerHTML" | "datatype" | "defaultChecked" | "defaultValue" | "dir" | "display" | "draggable" | "enterKeyHint" | "exportparts" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gap" | "height" | "hidden" | "id" | "inert" | "inlist" | "inputMode" | "is" | "itemID" | "itemProp" | "itemRef" | "itemScope" | "itemType" | "key" | "lang" | "layout" | "left" | "letterSpacing" | "lineHeight" | "m" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "marginX" | "marginY" | "maxHeight" | "maxWidth" | "mb" | "minHeight" | "minWidth" | "ml" | "mr" | "mt" | "mx" | "my" | "nonce" | "onAbort" | "onAbortCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAuxClick" | "onAuxClickCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onBeforeToggle" | "onBlur" | "onBlurCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onChange" | "onChangeCapture" | "onClick" | "onClickCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onContextMenu" | "onContextMenuCapture" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onError" | "onErrorCapture" | "onFocus" | "onFocusCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onInput" | "onInputCapture" | "onInvalid" | "onInvalidCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onLoad" | "onLoadCapture" | "onLoadStart" | "onLoadStartCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onPaste" | "onPasteCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerMove" | "onPointerMoveCapture" | "onPointerOut" | "onPointerOutCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerUp" | "onPointerUpCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onReset" | "onResetCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onSelect" | "onSelectCapture" | "onStalled" | "onStalledCapture" | "onSubmit" | "onSubmitCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onToggle" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onWheel" | "onWheelCapture" | "opacity" | "order" | "overflow" | "overflowX" | "overflowY" | "p" | "padding" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "paddingX" | "paddingY" | "part" | "pb" | "pl" | "popover" | "popoverTarget" | "popoverTargetAction" | "position" | "pr" | "prefix" | "property" | "pt" | "px" | "py" | "radioGroup" | "ref" | "rel" | "resource" | "results" | "rev" | "right" | "role" | "rowGap" | "security" | "size" | "slot" | "span" | "spellCheck" | "style" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "tabIndex" | "textAlign" | "textAlignLast" | "textDecoration" | "textDecorationColor" | "textDecorationLine" | "textDecorationStyle" | "textDecorationThickness" | "textOverflow" | "textTransform" | "theme" | "title" | "top" | "translate" | "typeof" | "unselectable" | "verticalAlign" | "vocab" | "whiteSpace" | "width" | "zIndex"> & {
|
|
9
9
|
theme?: Theme;
|
|
10
|
-
}, {}, {}>;
|
|
11
|
-
export { Quote, QuoteProps };
|
|
10
|
+
}, {}, {}>;
|
package/dist/Quote.mjs
CHANGED
package/dist/Radio.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_src = require("./src-yC1f5WR2.cjs");
|
|
3
|
-
const require_themeDefault = require("./themeDefault-DbPHBbNO.cjs");
|
|
4
2
|
const require_FormControl = require("./FormControl.cjs");
|
|
3
|
+
const require_src = require("./src-B1PmaZ-2.cjs");
|
|
4
|
+
const require_themeDefault = require("./themeDefault-DbPHBbNO.cjs");
|
|
5
5
|
require("react");
|
|
6
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
7
|
let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/styled-system/should-forward-prop");
|
package/dist/Radio.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { U as PaletteColor, nt as Theme } from "./index-
|
|
1
|
+
import { U as PaletteColor, nt as Theme } from "./index-MipJMh6w.cjs";
|
|
2
2
|
import { ChangeEvent, InputHTMLAttributes, ReactNode } from "react";
|
|
3
3
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
4
|
-
type RadioColor = PaletteColor;
|
|
5
|
-
type RadioSize = keyof Theme['sizes'];
|
|
6
|
-
interface RadioProps extends SpaceProps<Theme> {
|
|
4
|
+
export type RadioColor = PaletteColor;
|
|
5
|
+
export type RadioSize = keyof Theme['sizes'];
|
|
6
|
+
export interface RadioProps extends SpaceProps<Theme> {
|
|
7
7
|
/** Controlled checked state. Must be paired with `onChange`. */
|
|
8
8
|
checked?: boolean;
|
|
9
9
|
/** Disables the radio. */
|
|
@@ -34,5 +34,4 @@ interface RadioProps extends SpaceProps<Theme> {
|
|
|
34
34
|
className?: string;
|
|
35
35
|
'data-testid'?: string;
|
|
36
36
|
}
|
|
37
|
-
declare function Radio({ checked, disabled: disabledProp, color: colorProp, textColor: textColorProp, size: sizeProp, icon, checkedIcon, onChange, id: idProp, required: requiredProp, name, value, inputProps, children, className, 'data-testid': dataTestid, ...spaceProps }: Readonly<RadioProps>): import("react").JSX.Element;
|
|
38
|
-
export { Radio, RadioColor, RadioProps, RadioSize };
|
|
37
|
+
export declare function Radio({ checked, disabled: disabledProp, color: colorProp, textColor: textColorProp, size: sizeProp, icon, checkedIcon, onChange, id: idProp, required: requiredProp, name, value, inputProps, children, className, 'data-testid': dataTestid, ...spaceProps }: Readonly<RadioProps>): import("react").JSX.Element;
|
package/dist/Radio.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { U as PaletteColor, nt as Theme } from "./index-
|
|
1
|
+
import { U as PaletteColor, nt as Theme } from "./index-nw0pvCoK.mjs";
|
|
2
2
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
3
3
|
import { ChangeEvent, InputHTMLAttributes, ReactNode } from "react";
|
|
4
|
-
type RadioColor = PaletteColor;
|
|
5
|
-
type RadioSize = keyof Theme['sizes'];
|
|
6
|
-
interface RadioProps extends SpaceProps<Theme> {
|
|
4
|
+
export type RadioColor = PaletteColor;
|
|
5
|
+
export type RadioSize = keyof Theme['sizes'];
|
|
6
|
+
export interface RadioProps extends SpaceProps<Theme> {
|
|
7
7
|
/** Controlled checked state. Must be paired with `onChange`. */
|
|
8
8
|
checked?: boolean;
|
|
9
9
|
/** Disables the radio. */
|
|
@@ -34,5 +34,4 @@ interface RadioProps extends SpaceProps<Theme> {
|
|
|
34
34
|
className?: string;
|
|
35
35
|
'data-testid'?: string;
|
|
36
36
|
}
|
|
37
|
-
declare function Radio({ checked, disabled: disabledProp, color: colorProp, textColor: textColorProp, size: sizeProp, icon, checkedIcon, onChange, id: idProp, required: requiredProp, name, value, inputProps, children, className, 'data-testid': dataTestid, ...spaceProps }: Readonly<RadioProps>): import("react").JSX.Element;
|
|
38
|
-
export { Radio, RadioColor, RadioProps, RadioSize };
|
|
37
|
+
export declare function Radio({ checked, disabled: disabledProp, color: colorProp, textColor: textColorProp, size: sizeProp, icon, checkedIcon, onChange, id: idProp, required: requiredProp, name, value, inputProps, children, className, 'data-testid': dataTestid, ...spaceProps }: Readonly<RadioProps>): import("react").JSX.Element;
|
package/dist/Radio.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-B-rNjHIL.mjs";
|
|
2
|
-
import { t as themeDefault } from "./themeDefault-BeZJzqJj.mjs";
|
|
3
1
|
import { useFormControl } from "./FormControl.mjs";
|
|
2
|
+
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-BSo7bM2g.mjs";
|
|
3
|
+
import { t as themeDefault } from "./themeDefault-BeZJzqJj.mjs";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
// src/Radio/Radio.tsx
|
package/dist/RangeInput.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_src = require("./src-
|
|
3
|
-
const require_utils = require("./utils.cjs");
|
|
2
|
+
const require_src = require("./src-B1PmaZ-2.cjs");
|
|
4
3
|
const require_theme = require("./theme-XJvMdOnY.cjs");
|
|
5
|
-
const require_useControlled = require("./useControlled-CzCxM4J3.cjs");
|
|
6
4
|
const require_FormControl = require("./FormControl.cjs");
|
|
5
|
+
const require_utils = require("./utils.cjs");
|
|
7
6
|
const require_isRtl = require("./isRtl-Dl6QQWib.cjs");
|
|
7
|
+
const require_useControlled = require("./useControlled-CzCxM4J3.cjs");
|
|
8
8
|
const require_precision = require("./precision-DbF9gToz.cjs");
|
|
9
9
|
let react = require("react");
|
|
10
10
|
let react_jsx_runtime = require("react/jsx-runtime");
|
package/dist/RangeInput.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { nt as Theme } from "./index-
|
|
2
|
-
import {
|
|
1
|
+
import { nt as Theme } from "./index-MipJMh6w.cjs";
|
|
2
|
+
import { ReactNode } from "react";
|
|
3
3
|
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
/** A tick on the rail, with a label under it when it has one. */
|
|
5
5
|
interface Mark {
|
|
@@ -8,9 +8,9 @@ interface Mark {
|
|
|
8
8
|
}
|
|
9
9
|
type Orientation = 'horizontal' | 'vertical';
|
|
10
10
|
type RangeInputValue = number | number[];
|
|
11
|
-
type RangeInputTrack = 'normal' | false | 'inverted';
|
|
12
|
-
type RangeInputValueLabel = 'auto' | 'on' | 'off';
|
|
13
|
-
interface RangeInputProps extends SpaceProps<Theme>, Pick<LayoutProps<Theme>, 'width' | 'height' | 'minWidth' | 'maxWidth' | 'minHeight' | 'maxHeight'> {
|
|
11
|
+
export type RangeInputTrack = 'normal' | false | 'inverted';
|
|
12
|
+
export type RangeInputValueLabel = 'auto' | 'on' | 'off';
|
|
13
|
+
export interface RangeInputProps extends SpaceProps<Theme>, Pick<LayoutProps<Theme>, 'width' | 'height' | 'minWidth' | 'maxWidth' | 'minHeight' | 'maxHeight'> {
|
|
14
14
|
/** The value - a number for one thumb, an array for one per entry. Controlled with `onChange`. */
|
|
15
15
|
value?: number | readonly number[];
|
|
16
16
|
/** The value at first, when uncontrolled. Default: `min`. */
|
|
@@ -69,5 +69,5 @@ interface RangeInputProps extends SpaceProps<Theme>, Pick<LayoutProps<Theme>, 'w
|
|
|
69
69
|
* In a `FormControl` it takes the field's size, color, error, and disabled state, and its
|
|
70
70
|
* `FormLabel` targets the first thumb.
|
|
71
71
|
*/
|
|
72
|
-
declare function RangeInput({ value, defaultValue, onChange, onChangeCommitted, min, max, step: stepProp, shiftStep: shiftStepProp, marks: marksProp, orientation: orientationProp, track: trackProp, scale, valueLabel: valueLabelProp, formatValueLabel, getAriaLabel, getAriaValueText, shouldSwapThumbs: shouldSwapProp, size: sizeProp, color: colorProp, disabled: disabledProp, error: errorProp, name, id: idProp, className, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, 'data-testid': dataTestid, ...rest }: Readonly<RangeInputProps>): import("react").JSX.Element;
|
|
73
|
-
export {
|
|
72
|
+
export declare function RangeInput({ value, defaultValue, onChange, onChangeCommitted, min, max, step: stepProp, shiftStep: shiftStepProp, marks: marksProp, orientation: orientationProp, track: trackProp, scale, valueLabel: valueLabelProp, formatValueLabel, getAriaLabel, getAriaValueText, shouldSwapThumbs: shouldSwapProp, size: sizeProp, color: colorProp, disabled: disabledProp, error: errorProp, name, id: idProp, className, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, 'data-testid': dataTestid, ...rest }: Readonly<RangeInputProps>): import("react").JSX.Element;
|
|
73
|
+
export type { Mark as RangeInputMark };
|
package/dist/RangeInput.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { nt as Theme } from "./index-
|
|
1
|
+
import { nt as Theme } from "./index-nw0pvCoK.mjs";
|
|
2
2
|
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
3
|
-
import {
|
|
3
|
+
import { ReactNode } from "react";
|
|
4
4
|
/** A tick on the rail, with a label under it when it has one. */
|
|
5
5
|
interface Mark {
|
|
6
6
|
value: number;
|
|
@@ -8,9 +8,9 @@ interface Mark {
|
|
|
8
8
|
}
|
|
9
9
|
type Orientation = 'horizontal' | 'vertical';
|
|
10
10
|
type RangeInputValue = number | number[];
|
|
11
|
-
type RangeInputTrack = 'normal' | false | 'inverted';
|
|
12
|
-
type RangeInputValueLabel = 'auto' | 'on' | 'off';
|
|
13
|
-
interface RangeInputProps extends SpaceProps<Theme>, Pick<LayoutProps<Theme>, 'width' | 'height' | 'minWidth' | 'maxWidth' | 'minHeight' | 'maxHeight'> {
|
|
11
|
+
export type RangeInputTrack = 'normal' | false | 'inverted';
|
|
12
|
+
export type RangeInputValueLabel = 'auto' | 'on' | 'off';
|
|
13
|
+
export interface RangeInputProps extends SpaceProps<Theme>, Pick<LayoutProps<Theme>, 'width' | 'height' | 'minWidth' | 'maxWidth' | 'minHeight' | 'maxHeight'> {
|
|
14
14
|
/** The value - a number for one thumb, an array for one per entry. Controlled with `onChange`. */
|
|
15
15
|
value?: number | readonly number[];
|
|
16
16
|
/** The value at first, when uncontrolled. Default: `min`. */
|
|
@@ -69,5 +69,5 @@ interface RangeInputProps extends SpaceProps<Theme>, Pick<LayoutProps<Theme>, 'w
|
|
|
69
69
|
* In a `FormControl` it takes the field's size, color, error, and disabled state, and its
|
|
70
70
|
* `FormLabel` targets the first thumb.
|
|
71
71
|
*/
|
|
72
|
-
declare function RangeInput({ value, defaultValue, onChange, onChangeCommitted, min, max, step: stepProp, shiftStep: shiftStepProp, marks: marksProp, orientation: orientationProp, track: trackProp, scale, valueLabel: valueLabelProp, formatValueLabel, getAriaLabel, getAriaValueText, shouldSwapThumbs: shouldSwapProp, size: sizeProp, color: colorProp, disabled: disabledProp, error: errorProp, name, id: idProp, className, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, 'data-testid': dataTestid, ...rest }: Readonly<RangeInputProps>): import("react").JSX.Element;
|
|
73
|
-
export {
|
|
72
|
+
export declare function RangeInput({ value, defaultValue, onChange, onChangeCommitted, min, max, step: stepProp, shiftStep: shiftStepProp, marks: marksProp, orientation: orientationProp, track: trackProp, scale, valueLabel: valueLabelProp, formatValueLabel, getAriaLabel, getAriaValueText, shouldSwapThumbs: shouldSwapProp, size: sizeProp, color: colorProp, disabled: disabledProp, error: errorProp, name, id: idProp, className, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, 'data-testid': dataTestid, ...rest }: Readonly<RangeInputProps>): import("react").JSX.Element;
|
|
73
|
+
export type { Mark as RangeInputMark };
|
package/dist/RangeInput.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-
|
|
2
|
-
import {
|
|
3
|
-
import { n as useDefaultProps } from "./theme-DyyZQFzQ.mjs";
|
|
4
|
-
import { t as useControlled } from "./useControlled-B4uQ9Bj6.mjs";
|
|
1
|
+
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-BSo7bM2g.mjs";
|
|
2
|
+
import { n as useDefaultProps } from "./theme-B6LFWZ98.mjs";
|
|
5
3
|
import { useFormControl } from "./FormControl.mjs";
|
|
4
|
+
import { clamp } from "./utils.mjs";
|
|
6
5
|
import { t as isRtl } from "./isRtl-DN-EdUlg.mjs";
|
|
6
|
+
import { t as useControlled } from "./useControlled-B4uQ9Bj6.mjs";
|
|
7
7
|
import { i as snapToStep, t as addExact } from "./precision-DrmFmgMd.mjs";
|
|
8
8
|
import { Fragment, useId, useRef, useState } from "react";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
package/dist/Rating.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_src = require("./src-
|
|
3
|
-
const require_utils = require("./utils.cjs");
|
|
2
|
+
const require_src = require("./src-B1PmaZ-2.cjs");
|
|
4
3
|
const require_theme = require("./theme-XJvMdOnY.cjs");
|
|
5
|
-
const require_useControlled = require("./useControlled-CzCxM4J3.cjs");
|
|
6
|
-
const require_Icon = require("./Icon-C5Iz5ekp.cjs");
|
|
7
|
-
const require_FormControlContext = require("./FormControlContext-DvEyxrdM.cjs");
|
|
8
4
|
const require_FormControl = require("./FormControl.cjs");
|
|
5
|
+
const require_FormControlContext = require("./FormControlContext-DvEyxrdM.cjs");
|
|
6
|
+
const require_Icon = require("./Icon-C4QMiNHJ.cjs");
|
|
9
7
|
const require_isRtl = require("./isRtl-Dl6QQWib.cjs");
|
|
8
|
+
const require_useControlled = require("./useControlled-CzCxM4J3.cjs");
|
|
10
9
|
const require_precision = require("./precision-DbF9gToz.cjs");
|
|
10
|
+
const require_utils = require("./utils.cjs");
|
|
11
11
|
let react = require("react");
|
|
12
12
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
13
13
|
let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/styled-system/should-forward-prop");
|
package/dist/Rating.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { nt as Theme } from "./index-
|
|
1
|
+
import { nt as Theme } from "./index-MipJMh6w.cjs";
|
|
2
2
|
import { MouseEvent, ReactNode, SyntheticEvent } from "react";
|
|
3
3
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
4
|
-
interface RatingProps extends SpaceProps<Theme> {
|
|
4
|
+
export interface RatingProps extends SpaceProps<Theme> {
|
|
5
5
|
/** The rating - `null` for none. Controlled with `onChange`. */
|
|
6
6
|
value?: number | null;
|
|
7
7
|
/** The rating at first, when uncontrolled. */
|
|
@@ -51,5 +51,4 @@ interface RatingProps extends SpaceProps<Theme> {
|
|
|
51
51
|
* chosen item clears it. In a `FormControl` it takes the field's size, color, error and
|
|
52
52
|
* disabled state, and its `FormLabel` names it.
|
|
53
53
|
*/
|
|
54
|
-
declare function Rating({ value, defaultValue, onChange, onChangeActive, max: maxProp, precision: precisionProp, highlightSelectedOnly: highlightSelectedOnlyProp, icon: iconProp, emptyIcon: emptyIconProp, getLabelText, emptyLabelText, readOnly, size: sizeProp, color: colorProp, disabled: disabledProp, required: requiredProp, error: errorProp, name: nameProp, id: idProp, className, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, 'data-testid': dataTestid, ...spaceProps }: Readonly<RatingProps>): import("react").JSX.Element;
|
|
55
|
-
export { Rating, RatingProps };
|
|
54
|
+
export declare function Rating({ value, defaultValue, onChange, onChangeActive, max: maxProp, precision: precisionProp, highlightSelectedOnly: highlightSelectedOnlyProp, icon: iconProp, emptyIcon: emptyIconProp, getLabelText, emptyLabelText, readOnly, size: sizeProp, color: colorProp, disabled: disabledProp, required: requiredProp, error: errorProp, name: nameProp, id: idProp, className, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, 'data-testid': dataTestid, ...spaceProps }: Readonly<RatingProps>): import("react").JSX.Element;
|
package/dist/Rating.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { nt as Theme } from "./index-
|
|
1
|
+
import { nt as Theme } from "./index-nw0pvCoK.mjs";
|
|
2
2
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
3
3
|
import { MouseEvent, ReactNode, SyntheticEvent } from "react";
|
|
4
|
-
interface RatingProps extends SpaceProps<Theme> {
|
|
4
|
+
export interface RatingProps extends SpaceProps<Theme> {
|
|
5
5
|
/** The rating - `null` for none. Controlled with `onChange`. */
|
|
6
6
|
value?: number | null;
|
|
7
7
|
/** The rating at first, when uncontrolled. */
|
|
@@ -51,5 +51,4 @@ interface RatingProps extends SpaceProps<Theme> {
|
|
|
51
51
|
* chosen item clears it. In a `FormControl` it takes the field's size, color, error and
|
|
52
52
|
* disabled state, and its `FormLabel` names it.
|
|
53
53
|
*/
|
|
54
|
-
declare function Rating({ value, defaultValue, onChange, onChangeActive, max: maxProp, precision: precisionProp, highlightSelectedOnly: highlightSelectedOnlyProp, icon: iconProp, emptyIcon: emptyIconProp, getLabelText, emptyLabelText, readOnly, size: sizeProp, color: colorProp, disabled: disabledProp, required: requiredProp, error: errorProp, name: nameProp, id: idProp, className, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, 'data-testid': dataTestid, ...spaceProps }: Readonly<RatingProps>): import("react").JSX.Element;
|
|
55
|
-
export { Rating, RatingProps };
|
|
54
|
+
export declare function Rating({ value, defaultValue, onChange, onChangeActive, max: maxProp, precision: precisionProp, highlightSelectedOnly: highlightSelectedOnlyProp, icon: iconProp, emptyIcon: emptyIconProp, getLabelText, emptyLabelText, readOnly, size: sizeProp, color: colorProp, disabled: disabledProp, required: requiredProp, error: errorProp, name: nameProp, id: idProp, className, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, 'data-testid': dataTestid, ...spaceProps }: Readonly<RatingProps>): import("react").JSX.Element;
|
package/dist/Rating.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-
|
|
2
|
-
import {
|
|
3
|
-
import { n as useDefaultProps } from "./theme-DyyZQFzQ.mjs";
|
|
4
|
-
import { t as useControlled } from "./useControlled-B4uQ9Bj6.mjs";
|
|
5
|
-
import { t as Icon } from "./Icon-XpXU-SuF.mjs";
|
|
6
|
-
import { t as FormControlContext } from "./FormControlContext-Dg_ommiF.mjs";
|
|
1
|
+
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-BSo7bM2g.mjs";
|
|
2
|
+
import { n as useDefaultProps } from "./theme-B6LFWZ98.mjs";
|
|
7
3
|
import { useFormControl } from "./FormControl.mjs";
|
|
4
|
+
import { t as FormControlContext } from "./FormControlContext-Dg_ommiF.mjs";
|
|
5
|
+
import { t as Icon } from "./Icon-gVHlFgdH.mjs";
|
|
8
6
|
import { t as isRtl } from "./isRtl-DN-EdUlg.mjs";
|
|
7
|
+
import { t as useControlled } from "./useControlled-B4uQ9Bj6.mjs";
|
|
9
8
|
import { r as roundToPrecision } from "./precision-DrmFmgMd.mjs";
|
|
9
|
+
import { clamp } from "./utils.mjs";
|
|
10
10
|
import { useContext, useId, useRef, useState } from "react";
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
// src/Rating/utils/precision.ts
|
package/dist/ScrollArea.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
|
const require_theme = require("./theme-XJvMdOnY.cjs");
|
|
4
4
|
const require_useMergedRefs = require("./useMergedRefs-BtctsnmX.cjs");
|
|
5
5
|
let react = require("react");
|
package/dist/ScrollArea.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { nt as Theme } from "./index-
|
|
1
|
+
import { nt as Theme } from "./index-MipJMh6w.cjs";
|
|
2
2
|
import { ReactNode, Ref } from "react";
|
|
3
3
|
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
/** Which way a thumb runs: down the right edge, or along the bottom. */
|
|
5
5
|
type ScrollAxis = 'y' | 'x';
|
|
6
6
|
/** Which ways it scrolls. */
|
|
7
|
-
type ScrollAxes = ScrollAxis | 'both';
|
|
8
|
-
interface ScrollAreaProps extends SpaceProps<Theme>, Pick<LayoutProps<Theme>, 'width' | 'minWidth' | 'maxWidth' | 'height' | 'minHeight' | 'maxHeight'> {
|
|
7
|
+
export type ScrollAxes = ScrollAxis | 'both';
|
|
8
|
+
export interface ScrollAreaProps extends SpaceProps<Theme>, Pick<LayoutProps<Theme>, 'width' | 'minWidth' | 'maxWidth' | 'height' | 'minHeight' | 'maxHeight'> {
|
|
9
9
|
/** What scrolls. */
|
|
10
10
|
children: ReactNode;
|
|
11
11
|
/** Which ways it scrolls. Default: `'y'`. */
|
|
@@ -32,5 +32,5 @@ interface ScrollAreaProps extends SpaceProps<Theme>, Pick<LayoutProps<Theme>, 'w
|
|
|
32
32
|
* container, or `maxHeight`, allows. Colors come from `theme.background.scrollbar` and
|
|
33
33
|
* `scrollbarTrack`, its size from `theme.space`.
|
|
34
34
|
*/
|
|
35
|
-
declare function ScrollArea({ children, axes: axesProp, viewportRef, tabIndex, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, className, 'data-testid': dataTestid, ...rest }: Readonly<ScrollAreaProps>): import("react").JSX.Element;
|
|
36
|
-
export {
|
|
35
|
+
export declare function ScrollArea({ children, axes: axesProp, viewportRef, tabIndex, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, className, 'data-testid': dataTestid, ...rest }: Readonly<ScrollAreaProps>): import("react").JSX.Element;
|
|
36
|
+
export {};
|
package/dist/ScrollArea.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { nt as Theme } from "./index-
|
|
1
|
+
import { nt as Theme } from "./index-nw0pvCoK.mjs";
|
|
2
2
|
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
3
3
|
import { ReactNode, Ref } from "react";
|
|
4
4
|
/** Which way a thumb runs: down the right edge, or along the bottom. */
|
|
5
5
|
type ScrollAxis = 'y' | 'x';
|
|
6
6
|
/** Which ways it scrolls. */
|
|
7
|
-
type ScrollAxes = ScrollAxis | 'both';
|
|
8
|
-
interface ScrollAreaProps extends SpaceProps<Theme>, Pick<LayoutProps<Theme>, 'width' | 'minWidth' | 'maxWidth' | 'height' | 'minHeight' | 'maxHeight'> {
|
|
7
|
+
export type ScrollAxes = ScrollAxis | 'both';
|
|
8
|
+
export interface ScrollAreaProps extends SpaceProps<Theme>, Pick<LayoutProps<Theme>, 'width' | 'minWidth' | 'maxWidth' | 'height' | 'minHeight' | 'maxHeight'> {
|
|
9
9
|
/** What scrolls. */
|
|
10
10
|
children: ReactNode;
|
|
11
11
|
/** Which ways it scrolls. Default: `'y'`. */
|
|
@@ -32,5 +32,5 @@ interface ScrollAreaProps extends SpaceProps<Theme>, Pick<LayoutProps<Theme>, 'w
|
|
|
32
32
|
* container, or `maxHeight`, allows. Colors come from `theme.background.scrollbar` and
|
|
33
33
|
* `scrollbarTrack`, its size from `theme.space`.
|
|
34
34
|
*/
|
|
35
|
-
declare function ScrollArea({ children, axes: axesProp, viewportRef, tabIndex, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, className, 'data-testid': dataTestid, ...rest }: Readonly<ScrollAreaProps>): import("react").JSX.Element;
|
|
36
|
-
export {
|
|
35
|
+
export declare function ScrollArea({ children, axes: axesProp, viewportRef, tabIndex, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, className, 'data-testid': dataTestid, ...rest }: Readonly<ScrollAreaProps>): import("react").JSX.Element;
|
|
36
|
+
export {};
|
package/dist/ScrollArea.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-
|
|
2
|
-
import { n as useDefaultProps } from "./theme-
|
|
1
|
+
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-BSo7bM2g.mjs";
|
|
2
|
+
import { n as useDefaultProps } from "./theme-B6LFWZ98.mjs";
|
|
3
3
|
import { t as useMergedRefs } from "./useMergedRefs-CdfwtmUd.mjs";
|
|
4
4
|
import { useEffect, useRef, useState } from "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|