@soroush.tech/design-system 2.0.0-rc.6 → 2.1.0-alpha.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 +3 -3
- package/dist/Accordion/Accordion.d.cts +2 -2
- package/dist/Accordion/Accordion.d.mts +2 -2
- package/dist/Accordion/AccordionGroup.d.cts +1 -1
- package/dist/Accordion/AccordionGroup.d.mts +1 -1
- package/dist/Alert/Alert.d.cts +1 -1
- package/dist/Alert/Alert.d.mts +1 -1
- package/dist/AppBar.d.cts +1 -1
- package/dist/AppBar.d.mts +1 -1
- package/dist/Autocomplete.cjs +1 -1
- package/dist/Autocomplete.d.cts +1 -1
- package/dist/Autocomplete.d.mts +1 -1
- package/dist/Autocomplete.mjs +1 -1
- package/dist/Avatar.d.cts +1 -1
- package/dist/Avatar.d.mts +1 -1
- package/dist/Backdrop.d.cts +1 -1
- package/dist/Backdrop.d.mts +1 -1
- package/dist/Badge.d.cts +1 -1
- package/dist/Badge.d.mts +1 -1
- package/dist/Breadcrumbs.d.cts +3 -3
- package/dist/Breadcrumbs.d.mts +3 -3
- package/dist/Button.d.cts +1 -1
- package/dist/Button.d.mts +1 -1
- package/dist/ButtonGroup.d.cts +1 -1
- package/dist/ButtonGroup.d.mts +1 -1
- package/dist/Card.d.cts +4 -4
- package/dist/Card.d.mts +4 -4
- package/dist/Checkbox.d.cts +1 -1
- package/dist/Checkbox.d.mts +1 -1
- package/dist/Chip.d.cts +1 -1
- package/dist/Chip.d.mts +1 -1
- package/dist/CircularProgress.d.cts +2 -2
- package/dist/CircularProgress.d.mts +2 -2
- package/dist/Collapse.d.cts +1 -1
- package/dist/Collapse.d.mts +1 -1
- package/dist/Drawer.d.cts +3 -3
- package/dist/Drawer.d.mts +3 -3
- package/dist/Fab.d.cts +1 -1
- package/dist/Fab.d.mts +1 -1
- package/dist/FabMenu/FabMenu.d.cts +1 -1
- package/dist/FabMenu/FabMenu.d.mts +1 -1
- package/dist/FabMenu/FabMenuItem.d.cts +1 -1
- package/dist/FabMenu/FabMenuItem.d.mts +1 -1
- package/dist/Fade.d.cts +1 -1
- package/dist/Fade.d.mts +1 -1
- package/dist/Flex.d.cts +1 -1
- package/dist/Flex.d.mts +1 -1
- package/dist/Form.d.cts +1 -1
- package/dist/Form.d.mts +1 -1
- package/dist/FormControl.d.cts +1 -1
- package/dist/FormControl.d.mts +1 -1
- package/dist/FormHelperText.d.cts +1 -1
- package/dist/FormHelperText.d.mts +1 -1
- package/dist/FormLabel.d.cts +1 -1
- package/dist/FormLabel.d.mts +1 -1
- package/dist/Grid.d.cts +1 -1
- package/dist/Grid.d.mts +1 -1
- package/dist/Grow.d.cts +1 -1
- package/dist/Grow.d.mts +1 -1
- package/dist/Icon.d.cts +1 -1
- package/dist/Icon.d.mts +1 -1
- package/dist/Image.d.cts +1 -1
- package/dist/Image.d.mts +1 -1
- package/dist/LinearProgress.d.cts +2 -2
- package/dist/LinearProgress.d.mts +2 -2
- package/dist/Link.d.cts +1 -1
- package/dist/Link.d.mts +1 -1
- package/dist/Menu/ContextMenu.cjs +1 -1
- package/dist/Menu/ContextMenu.d.cts +5 -5
- package/dist/Menu/ContextMenu.d.mts +5 -5
- package/dist/Menu/ContextMenu.mjs +1 -1
- package/dist/Menu/Menu.cjs +1 -1
- package/dist/Menu/Menu.d.cts +1 -1
- package/dist/Menu/Menu.d.mts +1 -1
- package/dist/Menu/Menu.mjs +1 -1
- package/dist/Menu/MenuItems.cjs +1 -1
- package/dist/Menu/MenuItems.d.cts +1 -1
- package/dist/Menu/MenuItems.d.mts +1 -1
- package/dist/Menu/MenuItems.mjs +1 -1
- package/dist/Menu/MenuList.d.cts +2 -2
- package/dist/Menu/MenuList.d.mts +2 -2
- package/dist/{Menu-Bx9jaHOy.cjs → Menu-BfJF32J2.cjs} +1 -1
- package/dist/{Menu-D4AIpdJv.mjs → Menu-CX9V2DAu.mjs} +1 -1
- package/dist/Menu.cjs +1 -1
- package/dist/Menu.d.cts +3 -3
- package/dist/Menu.d.mts +3 -3
- package/dist/Menu.mjs +1 -1
- package/dist/{MenuItem-DXRw3Yca.cjs → MenuItem-CvCMGXuL.cjs} +1 -1
- package/dist/{MenuItem-vXHGPK8g.mjs → MenuItem-DdPzSWZY.mjs} +1 -1
- package/dist/MenuItem.cjs +1 -1
- package/dist/MenuItem.d.cts +1 -1
- package/dist/MenuItem.d.mts +1 -1
- package/dist/MenuItem.mjs +1 -1
- package/dist/{MenuListContext-BwgQHUu9.d.cts → MenuListContext-DJ_qJ1Uo.d.cts} +2 -2
- package/dist/{MenuListContext-DbnAoUdJ.d.mts → MenuListContext-DiZAVDCb.d.mts} +2 -2
- package/dist/Modal.d.cts +1 -1
- package/dist/Modal.d.mts +1 -1
- package/dist/NativeSelect.d.cts +2 -2
- package/dist/NativeSelect.d.mts +2 -2
- package/dist/NavTree/NavLink.d.cts +1 -1
- package/dist/NavTree/NavLink.d.mts +1 -1
- package/dist/NavTree/NavTree.d.cts +1 -1
- package/dist/NavTree/NavTree.d.mts +1 -1
- package/dist/NumberInput.d.cts +1 -1
- package/dist/NumberInput.d.mts +1 -1
- package/dist/Pagination/PaginationItem.d.cts +1 -1
- package/dist/Pagination/PaginationItem.d.mts +1 -1
- package/dist/Pagination.d.cts +2 -2
- package/dist/Pagination.d.mts +2 -2
- package/dist/Paper.d.cts +2 -2
- package/dist/Paper.d.mts +2 -2
- package/dist/Popover.d.cts +4 -14
- package/dist/Popover.d.mts +4 -14
- package/dist/Pressable.d.cts +1 -1
- package/dist/Pressable.d.mts +1 -1
- package/dist/Quote.d.cts +2 -2
- package/dist/Quote.d.mts +2 -2
- package/dist/Radio.d.cts +1 -1
- package/dist/Radio.d.mts +1 -1
- package/dist/RangeInput.d.cts +1 -1
- package/dist/RangeInput.d.mts +1 -1
- package/dist/Rating.d.cts +1 -1
- package/dist/Rating.d.mts +1 -1
- package/dist/ScrollArea.d.cts +1 -1
- package/dist/ScrollArea.d.mts +1 -1
- package/dist/Select.d.cts +2 -2
- package/dist/Select.d.mts +2 -2
- package/dist/Sidebar/Sidebar.d.cts +1 -1
- package/dist/Sidebar/Sidebar.d.mts +1 -1
- package/dist/Sidebar/SidebarItem.d.cts +3 -3
- package/dist/Sidebar/SidebarItem.d.mts +3 -3
- package/dist/Skeleton.d.cts +1 -1
- package/dist/Skeleton.d.mts +1 -1
- package/dist/Slide.d.cts +1 -1
- package/dist/Slide.d.mts +1 -1
- package/dist/Snackbar.d.cts +2 -2
- package/dist/Snackbar.d.mts +2 -2
- package/dist/Switch.d.cts +1 -1
- package/dist/Switch.d.mts +1 -1
- package/dist/Table/Table.d.cts +2 -2
- package/dist/Table/Table.d.mts +2 -2
- package/dist/Table/TableBody.d.cts +1 -1
- package/dist/Table/TableBody.d.mts +1 -1
- package/dist/Table/TableCell.d.cts +1 -1
- package/dist/Table/TableCell.d.mts +1 -1
- package/dist/Table/TableContainer.d.cts +1 -1
- package/dist/Table/TableContainer.d.mts +1 -1
- package/dist/Table/TableControl.d.cts +1 -1
- package/dist/Table/TableControl.d.mts +1 -1
- package/dist/Table/TableFooter.d.cts +1 -1
- package/dist/Table/TableFooter.d.mts +1 -1
- package/dist/Table/TableHead.d.cts +1 -1
- package/dist/Table/TableHead.d.mts +1 -1
- package/dist/Table/TablePagination.d.cts +2 -2
- package/dist/Table/TablePagination.d.mts +2 -2
- package/dist/Table/TablePaginationActions.d.cts +1 -1
- package/dist/Table/TablePaginationActions.d.mts +1 -1
- package/dist/Table/TableRow.d.cts +1 -1
- package/dist/Table/TableRow.d.mts +1 -1
- package/dist/Table/TableSortLabel.d.cts +1 -1
- package/dist/Table/TableSortLabel.d.mts +1 -1
- package/dist/Table/hooks.d.cts +1 -1
- package/dist/Table/hooks.d.mts +1 -1
- package/dist/Table.d.cts +5 -5
- package/dist/Table.d.mts +5 -5
- package/dist/{TableContext-0hifLOKH.d.mts → TableContext-4sJdk84N.d.cts} +1 -1
- package/dist/{TableContext-fIyMD_Bj.d.cts → TableContext-BCW5av9c.d.mts} +1 -1
- package/dist/Tabs/Tab.d.cts +2 -2
- package/dist/Tabs/Tab.d.mts +2 -2
- package/dist/Tabs/TabContext.d.cts +1 -1
- package/dist/Tabs/TabContext.d.mts +1 -1
- package/dist/Tabs/TabList.cjs +1 -1
- package/dist/Tabs/TabList.d.cts +1 -1
- package/dist/Tabs/TabList.d.mts +1 -1
- package/dist/Tabs/TabList.mjs +1 -1
- package/dist/Tabs/TabPanel.d.cts +2 -2
- package/dist/Tabs/TabPanel.d.mts +2 -2
- package/dist/Tabs/TabScrollButton.d.cts +1 -1
- package/dist/Tabs/TabScrollButton.d.mts +1 -1
- package/dist/Tabs/Tabs.cjs +1 -1
- package/dist/Tabs/Tabs.d.cts +2 -2
- package/dist/Tabs/Tabs.d.mts +2 -2
- package/dist/Tabs/Tabs.mjs +1 -1
- package/dist/{Tabs-JvjuCU8m.mjs → Tabs-CG-hRs9L.mjs} +2 -2
- package/dist/{Tabs-BsbX0jFL.cjs → Tabs-CPH0H6yp.cjs} +2 -2
- 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-0ZtedNyH.d.mts → TabsContext-CsiW5MOp.d.mts} +1 -1
- package/dist/{TabsContext-MpMEEVuB.d.cts → TabsContext-DrmDtBqA.d.cts} +1 -1
- package/dist/TextInput.d.cts +1 -1
- package/dist/TextInput.d.mts +1 -1
- package/dist/ToggleButton/ToggleButton.d.cts +1 -1
- package/dist/ToggleButton/ToggleButton.d.mts +1 -1
- package/dist/ToggleButton/ToggleButtonGroup.d.cts +1 -1
- package/dist/ToggleButton/ToggleButtonGroup.d.mts +1 -1
- package/dist/Tooltip.cjs +78 -34
- package/dist/Tooltip.d.cts +26 -4
- package/dist/Tooltip.d.mts +26 -4
- package/dist/Tooltip.mjs +78 -34
- package/dist/TransferList.d.cts +1 -1
- package/dist/TransferList.d.mts +1 -1
- package/dist/Typography.d.cts +2 -2
- package/dist/Typography.d.mts +2 -2
- package/dist/View.d.cts +1 -1
- package/dist/View.d.mts +1 -1
- package/dist/Zoom.d.cts +1 -1
- package/dist/Zoom.d.mts +1 -1
- package/dist/catalog.cjs +8 -0
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +8 -0
- package/dist/computePopoverPosition-JgOwCM7k.d.cts +12 -0
- package/dist/computePopoverPosition-JgOwCM7k.d.mts +12 -0
- package/dist/engine.d.cts +1 -1
- package/dist/engine.d.mts +1 -1
- package/dist/{index-76zijQoi.d.mts → index-5TAVgzbU.d.mts} +2 -2
- package/dist/index-6zQ2VUlM.d.cts +1 -0
- package/dist/index-B1qv6yGM.d.mts +1 -0
- package/dist/{index-CR8qkP8U.d.mts → index-BWiDilH8.d.mts} +2 -0
- package/dist/{index-C7EUYyom.d.cts → index-BYAtunSZ.d.cts} +2 -2
- package/dist/{index-Dm7vQHor.d.cts → index-Ba39mhDf.d.cts} +4 -4
- package/dist/{index-CKywwIep.d.mts → index-BgmEVOSj.d.mts} +1 -1
- package/dist/{index-SotXsXXb.d.mts → index-Biqn5xUs.d.mts} +4 -4
- package/dist/{index-CJYWGPVO.d.mts → index-BlHFb150.d.cts} +2 -2
- package/dist/{index-DBF5n3ey.d.cts → index-Bo8Og0oC.d.cts} +2 -2
- package/dist/{index-Byk1_ms9.d.cts → index-Bp9ECTzr.d.mts} +2 -2
- package/dist/{index-CfB7OceY.d.cts → index-Buu5MtRG.d.mts} +1 -1
- package/dist/{index-BChRNCld.d.mts → index-Bx-4KmJU.d.mts} +1 -1
- package/dist/{index-CAt0-L4i.d.cts → index-C3TrdOpQ.d.cts} +2 -2
- package/dist/{index-CF_pl72E.d.mts → index-CAICXdTA.d.cts} +1 -1
- package/dist/{index-CQeTS_zL.d.cts → index-CBOtkDdX.d.cts} +1 -1
- package/dist/{index-DbgrItbx.d.cts → index-CW0DW6Aq.d.mts} +2 -2
- package/dist/{index-Dt274Ngt.d.mts → index-CeFExef3.d.cts} +2 -2
- package/dist/{index-C2a-5yop.d.mts → index-CyOSmefH.d.cts} +2 -2
- package/dist/{index-CLTFsCYC.d.cts → index-D--R4_5H.d.mts} +2 -2
- package/dist/{index-hoHPfsc1.d.cts → index-D24iFgwR.d.cts} +2 -2
- package/dist/{index-BXlBouWV.d.mts → index-DKNvADeE.d.mts} +2 -2
- package/dist/{index-C2tTbEBS.d.mts → index-DM7HHa4V.d.mts} +2 -2
- package/dist/{index-RaDENVX_.d.cts → index-DQYhGgbl.d.cts} +2 -2
- package/dist/{index-BuAKhHMs.d.cts → index-DR76LcSz.d.mts} +1 -1
- package/dist/{index-BV5BvdeN.d.mts → index-DWon54cO.d.cts} +1 -1
- package/dist/{index-C_J58B_n.d.mts → index-D_azfqsX.d.mts} +1 -1
- package/dist/{index-BzQze7eY.d.cts → index-DgLjcrkG.d.cts} +1 -1
- package/dist/{index-Dxu6Ks2A.d.cts → index-DhTzn0mf.d.cts} +1 -1
- package/dist/{index-BAzMLTVi.d.mts → index-DhzjNAzv.d.mts} +4 -4
- package/dist/{index-D48qVo1X.d.mts → index-DjmWIzXF.d.mts} +2 -2
- package/dist/{index-B3Bdupj3.d.mts → index-DrfJt7W6.d.cts} +2 -2
- package/dist/{index-BC9S8Fpr.d.cts → index-Dt-ZNTnC.d.cts} +1 -1
- package/dist/{index-4maWM1H8.d.mts → index-DtK3SaKA.d.mts} +1 -1
- package/dist/{index-CGyIuCRh.d.cts → index-DtVrZFJI.d.mts} +2 -2
- package/dist/{index-CnVvfG9_.d.mts → index-Dudkopvi.d.mts} +1 -1
- package/dist/{index-Lsm4v8fB.d.cts → index-DvVQLBZc.d.cts} +2 -0
- package/dist/{index-D4PcgL-c.d.cts → index-HAVWK7RM.d.cts} +2 -2
- package/dist/{index-Bo45R0nD.d.cts → index-HLDMvfb2.d.cts} +4 -4
- package/dist/{index-UiyZAKID.d.mts → index-YKXzINGk.d.mts} +2 -2
- package/dist/{index-Cjh607-v.d.cts → index-fRyMPKtY.d.cts} +1 -1
- package/dist/{index-tOrd12AJ.d.mts → index-m1RGSQlP.d.mts} +2 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/style.d.cts +2 -2
- package/dist/style.d.mts +2 -2
- package/dist/theme.d.cts +2 -2
- package/dist/theme.d.mts +2 -2
- package/dist/{useAnchoredPlacement-ee6KzG3t.cjs → useAnchoredPlacement-BSfjNMut.cjs} +10 -5
- package/dist/{useAnchoredPlacement-COrXZxhm.mjs → useAnchoredPlacement-txSaWzfk.mjs} +10 -5
- package/dist/{useTablePagination-BlD8mK8k.d.mts → useTablePagination-BOzuKUnF.d.mts} +1 -1
- package/dist/{useTablePagination-CGjb_jPX.d.cts → useTablePagination-CraL2Mux.d.cts} +1 -1
- package/dist/{useTransition-3EoagwIe.d.mts → useTransition-B-hzi7Sm.d.mts} +1 -1
- package/dist/{useTransition-C89K0mS7.d.cts → useTransition-CF_Zy_tM.d.cts} +1 -1
- package/package.json +2 -2
- package/dist/index-1Xzj0iAs.d.mts +0 -1
- package/dist/index-323PrYLR.d.cts +0 -1
package/dist/catalog.mjs
CHANGED
|
@@ -617,6 +617,14 @@ const tooltipCatalog = defineCatalogEntry()({
|
|
|
617
617
|
values: [true, false],
|
|
618
618
|
default: false
|
|
619
619
|
},
|
|
620
|
+
isInteractive: {
|
|
621
|
+
values: [true, false],
|
|
622
|
+
default: true
|
|
623
|
+
},
|
|
624
|
+
isDescriptionPersistent: {
|
|
625
|
+
values: [true, false],
|
|
626
|
+
default: false
|
|
627
|
+
},
|
|
620
628
|
shouldOpenOnHover: {
|
|
621
629
|
values: [true, false],
|
|
622
630
|
default: true
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type PopoverVerticalOrigin = 'top' | 'center' | 'bottom' | number;
|
|
2
|
+
type PopoverHorizontalOrigin = 'left' | 'center' | 'right' | number;
|
|
3
|
+
interface PopoverOrigin {
|
|
4
|
+
vertical: PopoverVerticalOrigin;
|
|
5
|
+
horizontal: PopoverHorizontalOrigin;
|
|
6
|
+
}
|
|
7
|
+
type PopoverReference = 'anchorEl' | 'anchorPosition' | 'none';
|
|
8
|
+
interface PopoverPosition {
|
|
9
|
+
top: number;
|
|
10
|
+
left: number;
|
|
11
|
+
}
|
|
12
|
+
export { PopoverPosition as n, PopoverReference as r, PopoverOrigin as t };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type PopoverVerticalOrigin = 'top' | 'center' | 'bottom' | number;
|
|
2
|
+
type PopoverHorizontalOrigin = 'left' | 'center' | 'right' | number;
|
|
3
|
+
interface PopoverOrigin {
|
|
4
|
+
vertical: PopoverVerticalOrigin;
|
|
5
|
+
horizontal: PopoverHorizontalOrigin;
|
|
6
|
+
}
|
|
7
|
+
type PopoverReference = 'anchorEl' | 'anchorPosition' | 'none';
|
|
8
|
+
interface PopoverPosition {
|
|
9
|
+
top: number;
|
|
10
|
+
left: number;
|
|
11
|
+
}
|
|
12
|
+
export { PopoverPosition as n, PopoverReference as r, PopoverOrigin as t };
|
package/dist/engine.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { nt as Theme } from "./index-
|
|
1
|
+
import { nt as Theme } from "./index-DvVQLBZc.cjs";
|
|
2
2
|
import { ComponentType, RefAttributes } from "react";
|
|
3
3
|
import { CacheProvider, Interpolation } from "@emotion/react";
|
|
4
4
|
/** `Global`, retyped against this package's own `Theme` (see `styled.ts`'s `StyledTags`). */
|
package/dist/engine.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { nt as Theme } from "./index-
|
|
1
|
+
import { nt as Theme } from "./index-BWiDilH8.mjs";
|
|
2
2
|
import { CacheProvider, Interpolation } from "@emotion/react";
|
|
3
3
|
import { ComponentType, RefAttributes } from "react";
|
|
4
4
|
/** `Global`, retyped against this package's own `Theme` (see `styled.ts`'s `StyledTags`). */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { nt as Theme } from "./index-
|
|
2
|
-
import { n as IconProps, r as IconName } from "./index-
|
|
1
|
+
import { nt as Theme } from "./index-BWiDilH8.mjs";
|
|
2
|
+
import { n as IconProps, r as IconName } from "./index-DjmWIzXF.mjs";
|
|
3
3
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
import { ButtonHTMLAttributes } from "react";
|
|
5
5
|
type TableSortLabelDirection = 'asc' | 'desc';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./index-DvVQLBZc.cjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./index-BWiDilH8.mjs";
|
|
@@ -550,6 +550,8 @@ interface TooltipOwnerState {
|
|
|
550
550
|
enterTouchDelay?: number;
|
|
551
551
|
leaveTouchDelay?: number;
|
|
552
552
|
shouldDescribeChild?: boolean;
|
|
553
|
+
isDescriptionPersistent?: boolean;
|
|
554
|
+
isInteractive?: boolean;
|
|
553
555
|
shouldOpenOnHover?: boolean;
|
|
554
556
|
shouldOpenOnFocus?: boolean;
|
|
555
557
|
shouldOpenOnTouch?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as PaginationItemSize } from "./index-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { a as PaginationItemSize } from "./index-DhTzn0mf.cjs";
|
|
2
|
+
import "./index-Bo8Og0oC.cjs";
|
|
3
3
|
import { HTMLAttributes } from "react";
|
|
4
4
|
type TablePaginationActionType = 'first' | 'previous' | 'next' | 'last';
|
|
5
5
|
interface TablePaginationActionsProps extends HTMLAttributes<HTMLDivElement> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { cn as PaperElevation, nt as Theme } from "./index-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { t as MenuItemValue } from "./MenuListContext-
|
|
4
|
-
import { n as MenuItemData } from "./index-
|
|
1
|
+
import { cn as PaperElevation, nt as Theme } from "./index-DvVQLBZc.cjs";
|
|
2
|
+
import "./index-6zQ2VUlM.cjs";
|
|
3
|
+
import { t as MenuItemValue } from "./MenuListContext-DJ_qJ1Uo.cjs";
|
|
4
|
+
import { n as MenuItemData } from "./index-BlHFb150.cjs";
|
|
5
5
|
import { KeyboardEvent, MouseEvent, ReactElement, ReactNode, Ref, SyntheticEvent } from "react";
|
|
6
6
|
/** Which edge of its trigger a menu lines up with: the start edge, or the end edge. */
|
|
7
7
|
type MenuAlign = 'start' | 'end';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as PaletteColor, nt as Theme } from "./index-
|
|
1
|
+
import { U as PaletteColor, nt as Theme } from "./index-BWiDilH8.mjs";
|
|
2
2
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
3
3
|
import { ButtonHTMLAttributes, ElementType, ReactNode } from "react";
|
|
4
4
|
type PaginationItemType = 'page' | 'first' | 'previous' | 'next' | 'last' | 'start-ellipsis' | 'end-ellipsis';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { nt as Theme, tt as TabsVariants } from "./index-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { t as TabValue } from "./TabsContext-
|
|
4
|
-
import { n as TabScrollButtonProps } from "./index-
|
|
1
|
+
import { nt as Theme, tt as TabsVariants } from "./index-BWiDilH8.mjs";
|
|
2
|
+
import "./index-Buu5MtRG.mjs";
|
|
3
|
+
import { t as TabValue } from "./TabsContext-CsiW5MOp.mjs";
|
|
4
|
+
import { n as TabScrollButtonProps } from "./index-D_azfqsX.mjs";
|
|
5
5
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
6
6
|
import { ComponentType, ReactNode, Ref } from "react";
|
|
7
7
|
type TabsVariant = keyof TabsVariants;
|
|
@@ -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-DJ_qJ1Uo.cjs";
|
|
2
|
+
import { i as MenuItemRole } from "./index-CeFExef3.cjs";
|
|
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 { a as PaginationItemSize, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, s as PaginationItemType } from "./index-
|
|
1
|
+
import { nt as Theme } from "./index-DvVQLBZc.cjs";
|
|
2
|
+
import { a as PaginationItemSize, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, s as PaginationItemType } from "./index-DhTzn0mf.cjs";
|
|
3
3
|
import { HTMLAttributes } from "react";
|
|
4
4
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
5
5
|
type PaginationColor = PaginationItemColor;
|
|
@@ -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-BWiDilH8.mjs";
|
|
2
|
+
import { t as MenuItemValue } from "./MenuListContext-DiZAVDCb.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 { ct as ThemeComponents, lt as ThemeDefaults, nt as Theme, pt as ThemeLayout } from "./index-
|
|
1
|
+
import { ct as ThemeComponents, lt as ThemeDefaults, nt as Theme, pt as ThemeLayout } from "./index-BWiDilH8.mjs";
|
|
2
2
|
import { ComponentType, ReactNode } from "react";
|
|
3
3
|
interface ThemeProviderProps {
|
|
4
4
|
children: ReactNode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as PaletteColor, _ as ButtonVariants, nt as Theme } from "./index-
|
|
1
|
+
import { U as PaletteColor, _ as ButtonVariants, nt as Theme } from "./index-BWiDilH8.mjs";
|
|
2
2
|
import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
3
3
|
import { ButtonHTMLAttributes, ReactNode } from "react";
|
|
4
4
|
/** Augmentable via the `ButtonVariants` interface - style new values through `theme.components.Button.variants`. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ft as ThemeIconSizes } from "./index-
|
|
2
|
-
import { n as TextColorToken } from "./index-
|
|
1
|
+
import { ft as ThemeIconSizes } from "./index-DvVQLBZc.cjs";
|
|
2
|
+
import { n as TextColorToken } from "./index-CyOSmefH.cjs";
|
|
3
3
|
import { SVGProps } from "react";
|
|
4
4
|
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
5
5
|
declare const SvgAccountTree: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ct as ThemeComponents, lt as ThemeDefaults, nt as Theme, pt as ThemeLayout } from "./index-
|
|
1
|
+
import { ct as ThemeComponents, lt as ThemeDefaults, nt as Theme, pt as ThemeLayout } from "./index-DvVQLBZc.cjs";
|
|
2
2
|
import { ComponentType, ReactNode } from "react";
|
|
3
3
|
interface ThemeProviderProps {
|
|
4
4
|
children: ReactNode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { nt as Theme } from "./index-
|
|
1
|
+
import { nt as Theme } from "./index-DvVQLBZc.cjs";
|
|
2
2
|
import { MouseEvent, ReactNode } from "react";
|
|
3
3
|
/** Which way a scroll button scrolls a row of tabs: towards its start, or its end. */
|
|
4
4
|
type TabScrollDirection = '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-DiZAVDCb.mjs";
|
|
2
|
+
import { i as MenuItemRole } from "./index-Bp9ECTzr.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 { t as MenuItemValue } from "./MenuListContext-
|
|
1
|
+
import { nt as Theme } from "./index-DvVQLBZc.cjs";
|
|
2
|
+
import { t as MenuItemValue } from "./MenuListContext-DJ_qJ1Uo.cjs";
|
|
3
3
|
import { ElementType, KeyboardEvent, MouseEvent, ReactNode } from "react";
|
|
4
4
|
type MenuItemColor = keyof Theme['palette'];
|
|
5
5
|
type MenuItemSize = keyof Theme['sizes'];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jt as TypographyVariant, nt as Theme } from "./index-
|
|
2
|
-
import { BorderProps, FlexboxProps, LayoutProps, PositionProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
1
|
+
import { jt as TypographyVariant, nt as Theme } from "./index-DvVQLBZc.cjs";
|
|
3
2
|
import { CSSProperties, ElementType, HTMLAttributes } from "react";
|
|
3
|
+
import { BorderProps, FlexboxProps, LayoutProps, PositionProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
4
4
|
type TypographyAlign = 'left' | 'right' | 'center' | 'justify' | 'inherit';
|
|
5
5
|
/** Valid values for the color prop - derived from theme.text keys. */
|
|
6
6
|
type TextColorToken = keyof Theme['text'];
|
|
@@ -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-BWiDilH8.mjs";
|
|
2
|
+
import { r as TransitionTimeout, t as TransitionCallbacks } from "./useTransition-B-hzi7Sm.mjs";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
type CollapseOrientation = 'vertical' | 'horizontal';
|
|
5
5
|
interface CollapseProps extends TransitionCallbacks {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { nt as Theme } from "./index-
|
|
2
|
-
import { n as ButtonColor, o as ButtonSize, s as ButtonVariant } from "./index-
|
|
1
|
+
import { nt as Theme } from "./index-DvVQLBZc.cjs";
|
|
2
|
+
import { n as ButtonColor, o as ButtonSize, s as ButtonVariant } from "./index-DgLjcrkG.cjs";
|
|
3
3
|
import { ElementType, HTMLAttributes } from "react";
|
|
4
4
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
5
5
|
type ButtonGroupOrientation = 'horizontal' | 'vertical';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { nt as Theme } from "./index-
|
|
2
|
-
import { a as PaginationItemSize, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, s as PaginationItemType } from "./index-
|
|
1
|
+
import { nt as Theme } from "./index-BWiDilH8.mjs";
|
|
2
|
+
import { a as PaginationItemSize, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, s as PaginationItemType } from "./index-BgmEVOSj.mjs";
|
|
3
3
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
import { HTMLAttributes } from "react";
|
|
5
5
|
type PaginationColor = PaginationItemColor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as PaginationItemSize } from "./index-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { a as PaginationItemSize } from "./index-BgmEVOSj.mjs";
|
|
2
|
+
import "./index-DKNvADeE.mjs";
|
|
3
3
|
import { HTMLAttributes } from "react";
|
|
4
4
|
type TablePaginationActionType = 'first' | 'previous' | 'next' | 'last';
|
|
5
5
|
interface TablePaginationActionsProps extends HTMLAttributes<HTMLDivElement> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { nt as Theme } from "./index-
|
|
2
|
-
import { n as IconProps, r as IconName } from "./index-
|
|
1
|
+
import { nt as Theme } from "./index-DvVQLBZc.cjs";
|
|
2
|
+
import { n as IconProps, r as IconName } from "./index-C3TrdOpQ.cjs";
|
|
3
3
|
import { ButtonHTMLAttributes } from "react";
|
|
4
4
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
5
5
|
type TableSortLabelDirection = 'asc' | 'desc';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as ButtonProps } from "./index-
|
|
1
|
+
import { i as ButtonProps } from "./index-Bx-4KmJU.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,4 +1,4 @@
|
|
|
1
|
-
import { i as ButtonProps } from "./index-
|
|
1
|
+
import { i as ButtonProps } from "./index-DgLjcrkG.cjs";
|
|
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,4 +1,4 @@
|
|
|
1
|
-
import { nt as Theme } from "./index-
|
|
1
|
+
import { nt as Theme } from "./index-BWiDilH8.mjs";
|
|
2
2
|
import { MouseEvent, ReactNode } from "react";
|
|
3
3
|
/** Which way a scroll button scrolls a row of tabs: towards its start, or its end. */
|
|
4
4
|
type TabScrollDirection = 'start' | 'end';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as PaletteColor, _ as ButtonVariants, nt as Theme } from "./index-
|
|
1
|
+
import { U as PaletteColor, _ as ButtonVariants, nt as Theme } from "./index-DvVQLBZc.cjs";
|
|
2
2
|
import { ButtonHTMLAttributes, ReactNode } from "react";
|
|
3
3
|
import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
4
4
|
/** Augmentable via the `ButtonVariants` interface - style new values through `theme.components.Button.variants`. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as PaletteColor, nt as Theme } from "./index-
|
|
1
|
+
import { U as PaletteColor, nt as Theme } from "./index-DvVQLBZc.cjs";
|
|
2
2
|
import { ButtonHTMLAttributes, ElementType, ReactNode } from "react";
|
|
3
3
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
type PaginationItemType = 'page' | 'first' | 'previous' | 'next' | 'last' | 'start-ellipsis' | 'end-ellipsis';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { cn as PaperElevation, nt as Theme } from "./index-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { t as MenuItemValue } from "./MenuListContext-
|
|
4
|
-
import { n as MenuItemData } from "./index-
|
|
1
|
+
import { cn as PaperElevation, nt as Theme } from "./index-BWiDilH8.mjs";
|
|
2
|
+
import "./index-B1qv6yGM.mjs";
|
|
3
|
+
import { t as MenuItemValue } from "./MenuListContext-DiZAVDCb.mjs";
|
|
4
|
+
import { n as MenuItemData } from "./index-CW0DW6Aq.mjs";
|
|
5
5
|
import { KeyboardEvent, MouseEvent, ReactElement, ReactNode, Ref, SyntheticEvent } from "react";
|
|
6
6
|
/** Which edge of its trigger a menu lines up with: the start edge, or the end edge. */
|
|
7
7
|
type MenuAlign = 'start' | 'end';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ft as ThemeIconSizes } from "./index-
|
|
2
|
-
import { n as TextColorToken } from "./index-
|
|
1
|
+
import { ft as ThemeIconSizes } from "./index-BWiDilH8.mjs";
|
|
2
|
+
import { n as TextColorToken } from "./index-DtVrZFJI.mjs";
|
|
3
3
|
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
import { SVGProps } from "react";
|
|
5
5
|
declare const SvgAccountTree: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
@@ -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-DvVQLBZc.cjs";
|
|
2
|
+
import { r as TransitionTimeout, t as TransitionCallbacks } from "./useTransition-CF_Zy_tM.cjs";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
type CollapseOrientation = 'vertical' | 'horizontal';
|
|
5
5
|
interface CollapseProps extends TransitionCallbacks {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { nt as Theme } from "./index-
|
|
1
|
+
import { nt as Theme } from "./index-DvVQLBZc.cjs";
|
|
2
2
|
import { KeyboardEvent, MouseEvent, ReactNode, Ref, RefCallback, SyntheticEvent } from "react";
|
|
3
3
|
type ModalCloseReason = 'escapeKey' | 'backdropClick';
|
|
4
4
|
type EventHandlers = Record<string, ((event: SyntheticEvent) => void) | undefined>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { nt as Theme } from "./index-
|
|
1
|
+
import { nt as Theme } from "./index-BWiDilH8.mjs";
|
|
2
2
|
import { KeyboardEvent, MouseEvent, ReactNode, Ref, RefCallback, SyntheticEvent } from "react";
|
|
3
3
|
type ModalCloseReason = 'escapeKey' | 'backdropClick';
|
|
4
4
|
type EventHandlers = Record<string, ((event: SyntheticEvent) => void) | undefined>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jt as TypographyVariant, nt as Theme } from "./index-
|
|
2
|
-
import { CSSProperties, ElementType, HTMLAttributes } from "react";
|
|
1
|
+
import { jt as TypographyVariant, nt as Theme } from "./index-BWiDilH8.mjs";
|
|
3
2
|
import { BorderProps, FlexboxProps, LayoutProps, PositionProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
3
|
+
import { CSSProperties, ElementType, HTMLAttributes } from "react";
|
|
4
4
|
type TypographyAlign = 'left' | 'right' | 'center' | 'justify' | 'inherit';
|
|
5
5
|
/** Valid values for the color prop - derived from theme.text keys. */
|
|
6
6
|
type TextColorToken = keyof Theme['text'];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as PaletteColor, nt as Theme } from "./index-
|
|
1
|
+
import { U as PaletteColor, nt as Theme } from "./index-BWiDilH8.mjs";
|
|
2
2
|
import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
3
3
|
import { ButtonHTMLAttributes, ElementType } from "react";
|
|
4
4
|
/**
|
|
@@ -550,6 +550,8 @@ interface TooltipOwnerState {
|
|
|
550
550
|
enterTouchDelay?: number;
|
|
551
551
|
leaveTouchDelay?: number;
|
|
552
552
|
shouldDescribeChild?: boolean;
|
|
553
|
+
isDescriptionPersistent?: boolean;
|
|
554
|
+
isInteractive?: boolean;
|
|
553
555
|
shouldOpenOnHover?: boolean;
|
|
554
556
|
shouldOpenOnFocus?: boolean;
|
|
555
557
|
shouldOpenOnTouch?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { nt as Theme } from "./index-
|
|
2
|
-
import { t as TableCellPadding } from "./TableContext-
|
|
1
|
+
import { nt as Theme } from "./index-DvVQLBZc.cjs";
|
|
2
|
+
import { t as TableCellPadding } from "./TableContext-4sJdk84N.cjs";
|
|
3
3
|
import { ElementType, ThHTMLAttributes } from "react";
|
|
4
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. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { nt as Theme, tt as TabsVariants } from "./index-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { t as TabValue } from "./TabsContext-
|
|
4
|
-
import { n as TabScrollButtonProps } from "./index-
|
|
1
|
+
import { nt as Theme, tt as TabsVariants } from "./index-DvVQLBZc.cjs";
|
|
2
|
+
import "./index-CAICXdTA.cjs";
|
|
3
|
+
import { t as TabValue } from "./TabsContext-DrmDtBqA.cjs";
|
|
4
|
+
import { n as TabScrollButtonProps } from "./index-CBOtkDdX.cjs";
|
|
5
5
|
import { ComponentType, ReactNode, Ref } from "react";
|
|
6
6
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
7
7
|
type TabsVariant = keyof TabsVariants;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { nt as Theme } from "./index-
|
|
2
|
-
import { t as TableCellPadding } from "./TableContext-
|
|
1
|
+
import { nt as Theme } from "./index-BWiDilH8.mjs";
|
|
2
|
+
import { t as TableCellPadding } from "./TableContext-BCW5av9c.mjs";
|
|
3
3
|
import { BorderProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
4
4
|
import { ElementType, ThHTMLAttributes } from "react";
|
|
5
5
|
/** The table section a cell lives in - drives `TableCell`'s th/td element resolution. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as PaletteColor, nt as Theme } from "./index-
|
|
1
|
+
import { U as PaletteColor, nt as Theme } from "./index-DvVQLBZc.cjs";
|
|
2
2
|
import { ButtonHTMLAttributes, ElementType } from "react";
|
|
3
3
|
import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { nt as Theme } from "./index-
|
|
2
|
-
import { n as ButtonColor, o as ButtonSize, s as ButtonVariant } from "./index-
|
|
1
|
+
import { nt as Theme } from "./index-BWiDilH8.mjs";
|
|
2
|
+
import { n as ButtonColor, o as ButtonSize, s as ButtonVariant } from "./index-Bx-4KmJU.mjs";
|
|
3
3
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
import { ElementType, HTMLAttributes } from "react";
|
|
5
5
|
type ButtonGroupOrientation = 'horizontal' | 'vertical';
|
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-DvVQLBZc.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-BWiDilH8.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/style.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { nt as Theme, v as CSSObject } from "./index-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { nt as Theme, v as CSSObject } from "./index-DvVQLBZc.cjs";
|
|
2
|
+
import "./index-CAICXdTA.cjs";
|
|
3
3
|
import { ComponentType, ReactNode } from "react";
|
|
4
4
|
type StyleFactory = {
|
|
5
5
|
getStyles: (theme: Theme) => CSSObject;
|
package/dist/style.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { nt as Theme, v as CSSObject } from "./index-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { nt as Theme, v as CSSObject } from "./index-BWiDilH8.mjs";
|
|
2
|
+
import "./index-Buu5MtRG.mjs";
|
|
3
3
|
import { ComponentType, ReactNode } from "react";
|
|
4
4
|
type StyleFactory = {
|
|
5
5
|
getStyles: (theme: Theme) => CSSObject;
|
package/dist/theme.d.cts
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-DvVQLBZc.cjs";
|
|
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-CAICXdTA.cjs";
|
|
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.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-BWiDilH8.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-Buu5MtRG.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 };
|
|
@@ -22,9 +22,14 @@ function useAnchoredPlacement({ isOpen, anchorRef, surfaceRef, getOrigins, margi
|
|
|
22
22
|
const place = (0, react.useCallback)(() => {
|
|
23
23
|
const anchor = anchorRef.current;
|
|
24
24
|
const surface = surfaceRef.current;
|
|
25
|
-
if (!anchor || !surface) return;
|
|
26
25
|
const isPoint = pointTop !== void 0;
|
|
27
|
-
|
|
26
|
+
if (!surface) return;
|
|
27
|
+
if (!anchor && !isPoint) {
|
|
28
|
+
surface.style.visibility = "hidden";
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
const isBareAnchor = !anchor;
|
|
32
|
+
const rect = anchor ? anchor.getBoundingClientRect() : new DOMRect(pointLeft, pointTop, 0, 0);
|
|
28
33
|
const surfaceSize = {
|
|
29
34
|
width: surface.offsetWidth,
|
|
30
35
|
height: surface.offsetHeight
|
|
@@ -37,7 +42,7 @@ function useAnchoredPlacement({ isOpen, anchorRef, surfaceRef, getOrigins, margi
|
|
|
37
42
|
anchorRect: rect,
|
|
38
43
|
surfaceSize,
|
|
39
44
|
viewport,
|
|
40
|
-
isRtl: require_isRtl.isRtl(anchor)
|
|
45
|
+
isRtl: require_isRtl.isRtl(anchor ?? surface)
|
|
41
46
|
};
|
|
42
47
|
const origins = getOrigins(context);
|
|
43
48
|
const isBesideVertically = OPPOSITE[origins.anchorOrigin.vertical] === origins.transformOrigin.vertical;
|
|
@@ -52,8 +57,8 @@ function useAnchoredPlacement({ isOpen, anchorRef, surfaceRef, getOrigins, margi
|
|
|
52
57
|
height: rect.height + 2 * gapY
|
|
53
58
|
};
|
|
54
59
|
const { top, left } = require_computePopoverPosition.computePopoverPosition({
|
|
55
|
-
anchorReference: isPoint ? "anchorPosition" : "anchorEl",
|
|
56
|
-
anchorPosition: isPoint ? {
|
|
60
|
+
anchorReference: isPoint && !isBareAnchor ? "anchorPosition" : "anchorEl",
|
|
61
|
+
anchorPosition: isPoint && !isBareAnchor ? {
|
|
57
62
|
top: pointTop,
|
|
58
63
|
left: pointLeft
|
|
59
64
|
} : void 0,
|
|
@@ -22,9 +22,14 @@ function useAnchoredPlacement({ isOpen, anchorRef, surfaceRef, getOrigins, margi
|
|
|
22
22
|
const place = useCallback(() => {
|
|
23
23
|
const anchor = anchorRef.current;
|
|
24
24
|
const surface = surfaceRef.current;
|
|
25
|
-
if (!anchor || !surface) return;
|
|
26
25
|
const isPoint = pointTop !== void 0;
|
|
27
|
-
|
|
26
|
+
if (!surface) return;
|
|
27
|
+
if (!anchor && !isPoint) {
|
|
28
|
+
surface.style.visibility = "hidden";
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
const isBareAnchor = !anchor;
|
|
32
|
+
const rect = anchor ? anchor.getBoundingClientRect() : new DOMRect(pointLeft, pointTop, 0, 0);
|
|
28
33
|
const surfaceSize = {
|
|
29
34
|
width: surface.offsetWidth,
|
|
30
35
|
height: surface.offsetHeight
|
|
@@ -37,7 +42,7 @@ function useAnchoredPlacement({ isOpen, anchorRef, surfaceRef, getOrigins, margi
|
|
|
37
42
|
anchorRect: rect,
|
|
38
43
|
surfaceSize,
|
|
39
44
|
viewport,
|
|
40
|
-
isRtl: isRtl(anchor)
|
|
45
|
+
isRtl: isRtl(anchor ?? surface)
|
|
41
46
|
};
|
|
42
47
|
const origins = getOrigins(context);
|
|
43
48
|
const isBesideVertically = OPPOSITE[origins.anchorOrigin.vertical] === origins.transformOrigin.vertical;
|
|
@@ -52,8 +57,8 @@ function useAnchoredPlacement({ isOpen, anchorRef, surfaceRef, getOrigins, margi
|
|
|
52
57
|
height: rect.height + 2 * gapY
|
|
53
58
|
};
|
|
54
59
|
const { top, left } = computePopoverPosition({
|
|
55
|
-
anchorReference: isPoint ? "anchorPosition" : "anchorEl",
|
|
56
|
-
anchorPosition: isPoint ? {
|
|
60
|
+
anchorReference: isPoint && !isBareAnchor ? "anchorPosition" : "anchorEl",
|
|
61
|
+
anchorPosition: isPoint && !isBareAnchor ? {
|
|
57
62
|
top: pointTop,
|
|
58
63
|
left: pointLeft
|
|
59
64
|
} : void 0,
|