@soroush.tech/design-system 0.1.0 → 1.1.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 +47 -36
- package/dist/AppBar.cjs +2 -2
- package/dist/AppBar.d.cts +3 -2
- package/dist/AppBar.d.mts +3 -2
- package/dist/AppBar.mjs +2 -2
- package/dist/Avatar.cjs +4 -4
- package/dist/Avatar.d.cts +3 -2
- package/dist/Avatar.d.mts +3 -2
- package/dist/Avatar.mjs +3 -2
- package/dist/Backdrop.cjs +1 -1
- package/dist/Backdrop.d.cts +1 -1
- package/dist/Backdrop.d.mts +1 -1
- package/dist/Backdrop.mjs +1 -1
- package/dist/Button.cjs +5 -12
- package/dist/Button.d.cts +1 -1
- package/dist/Button.d.mts +1 -1
- package/dist/Button.mjs +3 -9
- package/dist/ButtonGroup.cjs +2 -2
- package/dist/ButtonGroup.d.cts +1 -1
- package/dist/ButtonGroup.d.mts +1 -1
- package/dist/ButtonGroup.mjs +2 -2
- package/dist/Card.cjs +6 -7
- package/dist/Card.d.cts +3 -3
- package/dist/Card.d.mts +3 -3
- package/dist/Card.mjs +4 -4
- package/dist/Checkbox.cjs +2 -2
- package/dist/Checkbox.d.cts +42 -1
- package/dist/Checkbox.d.mts +42 -1
- package/dist/Checkbox.mjs +2 -2
- package/dist/CircularProgress.cjs +2 -2
- package/dist/CircularProgress.d.cts +3 -2
- package/dist/CircularProgress.d.mts +3 -2
- package/dist/CircularProgress.mjs +2 -2
- package/dist/Drawer.cjs +2 -2
- package/dist/Drawer.d.cts +2 -2
- package/dist/Drawer.d.mts +2 -2
- package/dist/Drawer.mjs +2 -2
- package/dist/Flex.cjs +3 -7
- package/dist/Flex.d.cts +1 -1
- package/dist/Flex.d.mts +1 -1
- package/dist/Flex.mjs +3 -9
- package/dist/FocusTrap.cjs +1 -1
- package/dist/FocusTrap.mjs +1 -1
- package/dist/Form.cjs +2 -3
- package/dist/Form.d.cts +1 -1
- package/dist/Form.d.mts +1 -1
- package/dist/Form.mjs +2 -3
- package/dist/{FormContext-CRmRgDgu.cjs → FormContext-BGCsWAFc.cjs} +0 -1
- package/dist/{FormContext-_G3sxJyQ.mjs → FormContext-LrjAGe6U.mjs} +0 -1
- package/dist/FormControl.cjs +6 -6
- package/dist/FormControl.d.cts +2 -2
- package/dist/FormControl.d.mts +2 -2
- package/dist/FormControl.mjs +5 -5
- package/dist/{FormControlContext-aeKTjRKY.cjs → FormControlContext-74gvPGFk.cjs} +0 -1
- package/dist/{FormControlContext-CyxdOxdN.mjs → FormControlContext-CC2kToms.mjs} +0 -1
- package/dist/FormHelperText.cjs +3 -3
- package/dist/FormHelperText.d.cts +1 -1
- package/dist/FormHelperText.d.mts +1 -1
- package/dist/FormHelperText.mjs +3 -3
- package/dist/FormLabel.cjs +3 -3
- package/dist/FormLabel.d.cts +17 -1
- package/dist/FormLabel.d.mts +17 -1
- package/dist/FormLabel.mjs +3 -3
- package/dist/Grid.cjs +3 -26
- package/dist/Grid.d.cts +4 -10
- package/dist/Grid.d.mts +4 -10
- package/dist/Grid.mjs +3 -25
- package/dist/{Icon-1YtNCUKo.cjs → Icon-BOjk5r39.cjs} +75 -5
- package/dist/{Icon-CAKRmFz3.mjs → Icon-CYjD0Bad.mjs} +74 -3
- 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 +16 -1
- package/dist/Image.d.mts +16 -1
- package/dist/Image.mjs +1 -1
- package/dist/LinearProgress.cjs +2 -2
- package/dist/LinearProgress.d.cts +3 -2
- package/dist/LinearProgress.d.mts +3 -2
- package/dist/LinearProgress.mjs +2 -2
- package/dist/Link.cjs +5 -9
- package/dist/Link.d.cts +9 -1
- package/dist/Link.d.mts +9 -1
- package/dist/Link.mjs +4 -7
- package/dist/MenuItem.cjs +6 -7
- package/dist/MenuItem.d.cts +2 -1
- package/dist/MenuItem.d.mts +2 -1
- package/dist/MenuItem.mjs +4 -3
- package/dist/{Modal-BDMPTSXv.cjs → Modal-DZH-DzMZ.cjs} +2 -2
- package/dist/{Modal-DR60peRg.mjs → Modal-dy5l7gfH.mjs} +2 -2
- package/dist/Modal.cjs +1 -1
- package/dist/Modal.d.cts +1 -1
- package/dist/Modal.d.mts +1 -1
- package/dist/Modal.mjs +1 -1
- package/dist/NativeSelect.cjs +5 -5
- package/dist/NativeSelect.d.cts +3 -2
- package/dist/NativeSelect.d.mts +3 -2
- package/dist/NativeSelect.mjs +4 -3
- package/dist/Pagination/PaginationItem.cjs +3 -3
- package/dist/Pagination/PaginationItem.d.cts +1 -1
- package/dist/Pagination/PaginationItem.d.mts +1 -1
- package/dist/Pagination/PaginationItem.mjs +3 -3
- package/dist/Pagination.cjs +1 -1
- package/dist/Pagination.d.cts +2 -22
- package/dist/Pagination.d.mts +2 -22
- package/dist/Pagination.mjs +1 -1
- package/dist/Paper.cjs +5 -8
- package/dist/Paper.d.cts +1 -1
- package/dist/Paper.d.mts +1 -1
- package/dist/Paper.mjs +3 -4
- package/dist/{Popover-B61J7C79.mjs → Popover-Chgtjn-N.mjs} +3 -2
- package/dist/{Popover-CRDLmywF.cjs → Popover-pEVboMZO.cjs} +4 -4
- package/dist/Popover.cjs +1 -1
- package/dist/Popover.d.cts +4 -3
- package/dist/Popover.d.mts +4 -3
- package/dist/Popover.mjs +1 -1
- package/dist/Pressable.cjs +123 -0
- package/dist/Pressable.d.cts +2 -0
- package/dist/Pressable.d.mts +2 -0
- package/dist/Pressable.mjs +121 -0
- package/dist/Quote.cjs +1 -1
- package/dist/Quote.d.cts +13 -1
- package/dist/Quote.d.mts +13 -1
- package/dist/Quote.mjs +1 -1
- package/dist/Radio.cjs +2 -2
- package/dist/Radio.d.cts +2 -2
- package/dist/Radio.d.mts +2 -2
- package/dist/Radio.mjs +2 -2
- package/dist/Select.cjs +10 -32
- package/dist/Select.d.cts +3 -2
- package/dist/Select.d.mts +3 -2
- package/dist/Select.mjs +9 -30
- package/dist/Sidebar/Sidebar.cjs +94 -0
- package/dist/Sidebar/Sidebar.d.cts +59 -0
- package/dist/Sidebar/Sidebar.d.mts +59 -0
- package/dist/Sidebar/Sidebar.mjs +93 -0
- package/dist/Sidebar/SidebarItem.cjs +125 -0
- package/dist/Sidebar/SidebarItem.d.cts +39 -0
- package/dist/Sidebar/SidebarItem.d.mts +39 -0
- package/dist/Sidebar/SidebarItem.mjs +124 -0
- package/dist/Sidebar.cjs +7 -0
- package/dist/Sidebar.d.cts +4 -0
- package/dist/Sidebar.d.mts +4 -0
- package/dist/Sidebar.mjs +4 -0
- package/dist/SidebarContext-DgSLwjur.mjs +10 -0
- package/dist/SidebarContext-ao6lRfTX.d.cts +37 -0
- package/dist/SidebarContext-ao6lRfTX.d.mts +37 -0
- package/dist/SidebarContext-jG6OioC-.cjs +14 -0
- package/dist/Skeleton.cjs +1 -1
- package/dist/Skeleton.d.cts +2 -1
- package/dist/Skeleton.d.mts +2 -1
- package/dist/Skeleton.mjs +1 -1
- package/dist/Switch.cjs +4 -4
- package/dist/Switch.d.cts +2 -1
- package/dist/Switch.d.mts +2 -1
- package/dist/Switch.mjs +3 -2
- package/dist/Table/Table.cjs +2 -2
- package/dist/Table/Table.d.cts +47 -1
- package/dist/Table/Table.d.mts +47 -1
- package/dist/Table/Table.mjs +2 -2
- package/dist/Table/TableBody.cjs +1 -1
- package/dist/Table/TableBody.d.cts +21 -1
- package/dist/Table/TableBody.d.mts +21 -1
- package/dist/Table/TableBody.mjs +1 -1
- package/dist/Table/TableCell.cjs +3 -3
- package/dist/Table/TableCell.d.cts +1 -1
- package/dist/Table/TableCell.d.mts +1 -1
- package/dist/Table/TableCell.mjs +3 -3
- package/dist/Table/TableContainer.cjs +1 -1
- package/dist/Table/TableContainer.d.cts +17 -1
- package/dist/Table/TableContainer.d.mts +17 -1
- package/dist/Table/TableContainer.mjs +1 -1
- package/dist/Table/TableControl.d.cts +27 -1
- package/dist/Table/TableControl.d.mts +27 -1
- package/dist/Table/TableFooter.cjs +1 -1
- package/dist/Table/TableFooter.d.cts +21 -1
- package/dist/Table/TableFooter.d.mts +21 -1
- package/dist/Table/TableFooter.mjs +1 -1
- package/dist/Table/TableHead.cjs +1 -1
- package/dist/Table/TableHead.d.cts +21 -1
- package/dist/Table/TableHead.d.mts +21 -1
- package/dist/Table/TableHead.mjs +1 -1
- package/dist/Table/TablePagination.cjs +1 -1
- package/dist/Table/TablePagination.d.cts +44 -1
- package/dist/Table/TablePagination.d.mts +44 -1
- package/dist/Table/TablePagination.mjs +1 -1
- package/dist/Table/TablePaginationActions.cjs +4 -4
- package/dist/Table/TablePaginationActions.d.cts +1 -1
- package/dist/Table/TablePaginationActions.d.mts +1 -1
- package/dist/Table/TablePaginationActions.mjs +3 -2
- package/dist/Table/TableRow.cjs +3 -3
- package/dist/Table/TableRow.d.cts +29 -1
- package/dist/Table/TableRow.d.mts +29 -1
- package/dist/Table/TableRow.mjs +3 -3
- package/dist/Table/TableSortLabel.cjs +3 -3
- package/dist/Table/TableSortLabel.d.cts +1 -1
- package/dist/Table/TableSortLabel.d.mts +1 -1
- package/dist/Table/TableSortLabel.mjs +3 -3
- package/dist/Table/hooks.d.cts +39 -2
- package/dist/Table/hooks.d.mts +39 -2
- package/dist/Table.cjs +1 -1
- package/dist/Table.d.cts +14 -15
- package/dist/Table.d.mts +14 -15
- package/dist/Table.mjs +1 -1
- package/dist/{TableContext-qqp35o8z.cjs → TableContext-Bfg1C3Sr.cjs} +0 -1
- package/dist/{TableContext-2qH7XYJB.d.cts → TableContext-BoOxdk8p.d.cts} +1 -1
- package/dist/{TableContext-2qH7XYJB.d.mts → TableContext-DV31j6HO.d.mts} +1 -1
- package/dist/{TableContext-BRWPghAI.mjs → TableContext-Dyr89h_k.mjs} +0 -1
- package/dist/TextInput.cjs +228 -2
- package/dist/TextInput.d.cts +79 -1
- package/dist/TextInput.d.mts +79 -1
- package/dist/TextInput.mjs +226 -1
- package/dist/ToggleButton/ToggleButton.cjs +4 -4
- package/dist/ToggleButton/ToggleButton.d.cts +1 -1
- package/dist/ToggleButton/ToggleButton.d.mts +1 -1
- package/dist/ToggleButton/ToggleButton.mjs +3 -2
- package/dist/ToggleButton/ToggleButtonGroup.cjs +4 -4
- package/dist/ToggleButton/ToggleButtonGroup.d.cts +1 -1
- package/dist/ToggleButton/ToggleButtonGroup.d.mts +1 -1
- package/dist/ToggleButton/ToggleButtonGroup.mjs +3 -2
- package/dist/ToggleButton.d.cts +1 -1
- package/dist/ToggleButton.d.mts +1 -1
- package/dist/Typography.cjs +3 -3
- package/dist/Typography.d.cts +2 -2
- package/dist/Typography.d.mts +2 -2
- package/dist/Typography.mjs +2 -1
- package/dist/View.cjs +1 -3
- package/dist/View.d.cts +1 -1
- package/dist/View.d.mts +1 -1
- package/dist/View.mjs +1 -3
- package/dist/emotion-BAyqVw0c.mjs +6 -0
- package/dist/emotion-DviPkkGL.cjs +10 -0
- package/dist/engine.cjs +80 -0
- package/dist/engine.d.cts +21 -0
- package/dist/engine.d.mts +21 -0
- package/dist/engine.mjs +69 -0
- package/dist/{index-BqVgv2B_.d.mts → index--mvTGo8F.d.cts} +3 -2
- package/dist/{index-DSCMXFTn.d.cts → index-ATXjtAOY.d.mts} +2 -1
- package/dist/{index-CDVnvjIE.d.cts → index-B2hrssyF.d.mts} +2 -2
- package/dist/index-B3FrhO2r.d.cts +24 -0
- package/dist/{index-BnzUumAC2.d.mts → index-B7aaTHOe.d.cts} +2 -1
- package/dist/{index-DmJIuQJj.d.mts → index-BItZoGZ1.d.mts} +3 -2
- package/dist/{index-DASvoACZ.d.cts → index-BJ8OC_Zh.d.cts} +2 -2
- package/dist/{index-BLfFycfJ.d.mts → index-BL3jwIQU.d.mts} +9 -2
- package/dist/{index-4rC2j7fR.d.cts → index-BNP_iejT.d.cts} +3 -2
- package/dist/{index-Dy03o__A.d.mts → index-BfpjEqqt.d.cts} +2 -1
- package/dist/index-BoOs5h_b.d.mts +53 -0
- package/dist/{index-CeYkEXU2.d.cts → index-BwUnDd9W.d.mts} +2 -2
- package/dist/{index-BH8jQOdF.d.mts → index-C7j38wne.d.mts} +3 -2
- package/dist/{index-Dp81rWM1.d.cts → index-CA_X-mXg.d.cts} +9 -2
- package/dist/index-CO3Qq0I0.d.mts +49 -0
- package/dist/{index-BLRMuO_x.d.mts → index-CYTaYcm3.d.cts} +3 -4
- package/dist/index-Ca0Pj5m2.d.mts +24 -0
- package/dist/{index-DE5PtzPn.d.mts → index-CvaEVk-f.d.cts} +2 -2
- package/dist/{index-C0xMvDjL.d.mts → index-D8U2tk1L.d.mts} +2 -2
- package/dist/{index-Dm9HfgV6.d.mts → index-D8b5OCLe.d.mts} +17 -7
- package/dist/{index-B1rCD6Oo.d.cts → index-DEv2QslH.d.mts} +4 -6
- package/dist/{index-CyZYXDn0.d.cts → index-DF3Hweir.d.mts} +3 -2
- package/dist/{index-Bihpwn75.d.cts → index-DLJ-li1B.d.cts} +17 -7
- package/dist/{index-FwTocqhP.d.cts → index-DjtGkwRM.d.cts} +2 -3
- package/dist/{index-BX5-NfbX.d.cts → index-Ds__py2h.d.mts} +2 -1
- package/dist/{index-x80UG39F.d.cts → index-KZUd8B5E.d.mts} +3 -4
- package/dist/index-MsUtFRul.d.cts +53 -0
- package/dist/index-dtLxevvf.d.cts +49 -0
- package/dist/{index-pX7tBQdJ.d.mts → index-q6EgsH9R.d.mts} +2 -3
- package/dist/{index-8dzWTpFp.d.cts → index-v99yMdts.d.cts} +3 -2
- package/dist/{index-CxSNNzBT2.d.mts → index-yr4HkKOj.d.cts} +2 -2
- package/dist/{index-z35LEYG8.d.mts → index-zFYi0f1t.d.cts} +4 -6
- package/dist/index.cjs +2 -32
- package/dist/index.d.cts +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +2 -2
- package/dist/{src-DcNT2aIK.mjs → src-BJy4dM4f.mjs} +5 -10
- package/dist/{src-BiocWFSR.cjs → src-C8PIppTy.cjs} +2 -7
- package/dist/{hooks.cjs → style.cjs} +5 -23
- package/dist/style.d.cts +23 -0
- package/dist/style.d.mts +23 -0
- package/dist/{hooks.mjs → style.mjs} +6 -16
- package/dist/theme-Du6xgPsg.cjs +470 -0
- package/dist/{themes.mjs → theme-V6lYzd3j.mjs} +68 -14
- package/dist/theme.cjs +23 -0
- package/dist/theme.d.cts +3 -0
- package/dist/theme.d.mts +3 -0
- package/dist/theme.mjs +3 -0
- package/dist/{themeDefault-B-QjpGEO.cjs → themeDefault-Cebi08Cv.cjs} +1 -1
- package/dist/{themeDefault-CjXaY3ok.mjs → themeDefault-Z3KmyIbm.mjs} +1 -1
- package/dist/themes-CUV79qWU.d.cts +503 -0
- package/dist/themes-CUV79qWU.d.mts +503 -0
- package/dist/{useTableSort--XMWjujs.d.cts → useTablePagination-7jiSvKCh.d.cts} +25 -25
- package/dist/{useTableSort-CpDs4cGq.d.mts → useTablePagination-HaIcJPv-.d.mts} +25 -25
- package/dist/utils.cjs +0 -29
- package/dist/utils.d.cts +1 -19
- package/dist/utils.d.mts +1 -19
- package/dist/utils.mjs +1 -27
- package/package.json +431 -24
- package/dist/CodeBlock.cjs +0 -101
- package/dist/CodeBlock.d.cts +0 -2
- package/dist/CodeBlock.d.mts +0 -2
- package/dist/CodeBlock.mjs +0 -100
- package/dist/Field.cjs +0 -59
- package/dist/Field.d.cts +0 -36
- package/dist/Field.d.mts +0 -36
- package/dist/Field.mjs +0 -58
- package/dist/Markdown/Control.cjs +0 -61
- package/dist/Markdown/Control.d.cts +0 -18
- package/dist/Markdown/Control.d.mts +0 -18
- package/dist/Markdown/Control.mjs +0 -60
- package/dist/Markdown/Editor.cjs +0 -130
- package/dist/Markdown/Editor.d.cts +0 -40
- package/dist/Markdown/Editor.d.mts +0 -40
- package/dist/Markdown/Editor.mjs +0 -128
- package/dist/Markdown/Preview.cjs +0 -241
- package/dist/Markdown/Preview.d.cts +0 -55
- package/dist/Markdown/Preview.d.mts +0 -55
- package/dist/Markdown/Preview.mjs +0 -236
- package/dist/Markdown/Toolbar.cjs +0 -4
- package/dist/Markdown/Toolbar.d.cts +0 -13
- package/dist/Markdown/Toolbar.d.mts +0 -13
- package/dist/Markdown/Toolbar.mjs +0 -2
- package/dist/Markdown.cjs +0 -13
- package/dist/Markdown.d.cts +0 -80
- package/dist/Markdown.d.mts +0 -80
- package/dist/Markdown.mjs +0 -6
- package/dist/MarkdownContext-BN8A3W-J.mjs +0 -11
- package/dist/MarkdownContext-DSwjzpH8.cjs +0 -22
- package/dist/TextInput-6o37Zddp.cjs +0 -231
- package/dist/TextInput-D_lHYJlL.mjs +0 -224
- package/dist/ThemeProvider.cjs +0 -15
- package/dist/ThemeProvider.d.cts +0 -20
- package/dist/ThemeProvider.d.mts +0 -20
- package/dist/ThemeProvider.mjs +0 -14
- package/dist/Toolbar-B-W22Sk4.cjs +0 -459
- package/dist/Toolbar-KbR97iJS.mjs +0 -448
- package/dist/applyAction-B2B-hnP3.mjs +0 -98
- package/dist/applyAction-B2uVHxOE.cjs +0 -103
- package/dist/createTheme-Dts2F4R_.d.cts +0 -21
- package/dist/createTheme-Dts2F4R_.d.mts +0 -21
- package/dist/hooks/useCopyToClipboard.cjs +0 -33
- package/dist/hooks/useCopyToClipboard.d.cts +0 -16
- package/dist/hooks/useCopyToClipboard.d.mts +0 -16
- package/dist/hooks/useCopyToClipboard.mjs +0 -31
- package/dist/hooks.d.cts +0 -40
- package/dist/hooks.d.mts +0 -40
- package/dist/index-BPrjvi7B.d.cts +0 -13
- package/dist/index-BlfIbAMs.d.cts +0 -45
- package/dist/index-BoqlPb3Z.d.mts +0 -13
- package/dist/index-Bwi4kRpf.d.mts +0 -79
- package/dist/index-Bx24ZnOV.d.mts +0 -43
- package/dist/index-C-P_hipv.d.mts +0 -21
- package/dist/index-C5_ciaeo.d.cts +0 -79
- package/dist/index-CDcGTGR4.d.cts +0 -21
- package/dist/index-CEOZI-6L.d.mts +0 -48
- package/dist/index-CLU39rUS2.d.mts +0 -30
- package/dist/index-CM_KCTee.d.cts +0 -48
- package/dist/index-CT9uGKrs.d.cts +0 -30
- package/dist/index-CcYSvIJi.d.cts +0 -21
- package/dist/index-CdF_4ckE.d.mts +0 -11
- package/dist/index-Cl_yBpzW2.d.mts +0 -13
- package/dist/index-Cv_UOfYx.d.mts +0 -18
- package/dist/index-DBGE6yKw.d.mts +0 -16
- package/dist/index-DCQ2fsDu.d.mts +0 -40
- package/dist/index-DD2AVtiR.d.cts +0 -16
- package/dist/index-DOPXpr2J.d.cts +0 -43
- package/dist/index-DTkQSXQD.d.cts +0 -11
- package/dist/index-DeJWkpf9.d.cts +0 -16
- package/dist/index-DeiZHSwA.d.cts +0 -12
- package/dist/index-Des8BisQ.d.mts +0 -12
- package/dist/index-Dg8-CPOO.d.cts +0 -18
- package/dist/index-DgRS5Aqv.d.mts +0 -16
- package/dist/index-Dtzj8X58.d.cts +0 -40
- package/dist/index-DvW2eETV.d.mts +0 -21
- package/dist/index-GVsFY00r.d.cts +0 -21
- package/dist/index-Nqco3fsM.d.cts +0 -13
- package/dist/index-g-9DZ_KQ.d.cts +0 -28
- package/dist/index-g9EThkSg.d.mts +0 -21
- package/dist/index-kpk9e3xM2.d.mts +0 -45
- package/dist/index-u57CbuAU2.d.mts +0 -28
- package/dist/themes-D1SAp3SL.d.mts +0 -500
- package/dist/themes-D81JYbqm.d.cts +0 -500
- package/dist/themes.cjs +0 -318
- package/dist/themes.d.cts +0 -3
- package/dist/themes.d.mts +0 -3
- package/dist/useDefaultProps-Cb-5FNok.cjs +0 -19
- package/dist/useDefaultProps-CoApb4KT.mjs +0 -14
- package/dist/utils/styleCache.cjs +0 -7
- package/dist/utils/styleCache.d.cts +0 -3
- package/dist/utils/styleCache.d.mts +0 -4
- package/dist/utils/styleCache.mjs +0 -5
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const require_src = require("./src-
|
|
2
|
-
const require_themeDefault = require("./themeDefault-
|
|
1
|
+
const require_src = require("./src-C8PIppTy.cjs");
|
|
2
|
+
const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
|
|
3
|
+
const require_theme = require("./theme-Du6xgPsg.cjs");
|
|
3
4
|
require("react");
|
|
4
5
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
6
|
let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/styled-system/should-forward-prop");
|
|
6
|
-
let _emotion_react = require("@emotion/react");
|
|
7
7
|
//#region src/Icon/icons/AccountTree.tsx
|
|
8
8
|
const SvgAccountTree = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
9
9
|
viewBox: "0 -960 960 960",
|
|
@@ -204,6 +204,15 @@ const SvgDns = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
|
204
204
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M19 15H5c-1.1 0-2 .9-2 2v4h18v-4c0-1.1-.9-2-2-2zM7 20H5v-2h2v2zm12 0h-2v-2h2v2zM19 5H5C3.9 5 3 5.9 3 7v4h18V7c0-1.1-.9-2-2-2zM7 10H5V8h2v2zm12 0h-2V8h2v2z" })
|
|
205
205
|
});
|
|
206
206
|
//#endregion
|
|
207
|
+
//#region src/Icon/icons/EditNote.tsx
|
|
208
|
+
const SvgEditNote = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
209
|
+
viewBox: "0 -960 960 960",
|
|
210
|
+
fill: "#ffffff",
|
|
211
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
212
|
+
...props,
|
|
213
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M120-400v-60h300v60H120Zm0-165v-60h470v60H120Zm0-165v-60h470v60H120Zm400 610v-123l221-220q9-9 20-13t22-4q12 0 23 4.5t20 13.5l37 37q9 9 13 20t4 22q0 11-4.5 22.5T862-340L642-120H520Zm300-263-37-37 37 37ZM580-180h38l121-122-18-19-19-18-122 121v38Zm141-141-19-18 37 37-18-19Z" })
|
|
214
|
+
});
|
|
215
|
+
//#endregion
|
|
207
216
|
//#region src/Icon/icons/ExpandLess.tsx
|
|
208
217
|
const SvgExpandLess = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
209
218
|
viewBox: "0 0 24 24",
|
|
@@ -259,6 +268,15 @@ const SvgFirstPage = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg"
|
|
|
259
268
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M18.41 16.59 13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z" })
|
|
260
269
|
});
|
|
261
270
|
//#endregion
|
|
271
|
+
//#region src/Icon/icons/Folder.tsx
|
|
272
|
+
const SvgFolder = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
273
|
+
viewBox: "0 -960 960 960",
|
|
274
|
+
fill: "#ffffff",
|
|
275
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
276
|
+
...props,
|
|
277
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M140-160q-24 0-42-18t-18-42v-520q0-24 18-42t42-18h240l80 80h360q24 0 42 18t18 42v440q0 24-18 42t-42 18H140Zm0-60h680v-440H435l-80-80H140v520Zm0 0v-520 520Z" })
|
|
278
|
+
});
|
|
279
|
+
//#endregion
|
|
262
280
|
//#region src/Icon/icons/FormatListBulleted.tsx
|
|
263
281
|
const SvgFormatListBulleted = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
264
282
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -383,6 +401,15 @@ const SvgFormatQuote = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("s
|
|
|
383
401
|
]
|
|
384
402
|
});
|
|
385
403
|
//#endregion
|
|
404
|
+
//#region src/Icon/icons/Fullscreen.tsx
|
|
405
|
+
const SvgFullscreen = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
406
|
+
viewBox: "0 0 24 24",
|
|
407
|
+
fill: "#9cff93",
|
|
408
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
409
|
+
...props,
|
|
410
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M7 14H5v5h5v-2H7zm-2-4h2V7h3V5H5zm12 7h-3v2h5v-5h-2zM14 5v2h3v3h2V5z" })
|
|
411
|
+
});
|
|
412
|
+
//#endregion
|
|
386
413
|
//#region src/Icon/icons/GridView.tsx
|
|
387
414
|
const SvgGridView = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
388
415
|
viewBox: "0 0 24 24",
|
|
@@ -401,6 +428,15 @@ const SvgGroups = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
|
401
428
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z" })
|
|
402
429
|
});
|
|
403
430
|
//#endregion
|
|
431
|
+
//#region src/Icon/icons/History.tsx
|
|
432
|
+
const SvgHistory = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
433
|
+
viewBox: "0 -960 960 960",
|
|
434
|
+
fill: "#ffffff",
|
|
435
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
436
|
+
...props,
|
|
437
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M480-120q-138 0-240.5-91.5T122-440h62q13 106 92.5 173T480-200q117 0 198.5-81.5T760-480q0-117-81.5-198.5T480-760q-69 0-129 32t-101 88h110v60H150v-210h60v106q48-62 119-99t151-37q75 0 140.5 28.5t114 77q48.5 48.5 77 114T840-480q0 75-28.5 140.5t-77 114q-48.5 48.5-114 77T480-120Zm112-192L450-454v-226h60v202l124 124-42 42Z" })
|
|
438
|
+
});
|
|
439
|
+
//#endregion
|
|
404
440
|
//#region src/Icon/icons/Hub.tsx
|
|
405
441
|
const SvgHub = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
406
442
|
viewBox: "0 0 24 24",
|
|
@@ -526,6 +562,15 @@ const SvgRebaseEdit = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg
|
|
|
526
562
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M392-80v-170l302-302q9-9 20.5-13t22.5-4q11 0 21.96 4.5Q769.93-560 779-551l84 84q9 9 13 20.5t4 22.69q0 11.18-4 22Q872-391 863-382L562-80H392Zm428-345-84-84 84 84ZM452-140h85l173-173-43-42-43-42-172 171v86Zm215-215-43-42 43 42 43 42-43-42ZM430-605l-42-42 83-83H316q-8 32-31 55t-55 31v328q39 10 64.5 42t25.5 74q0 50-35 85t-85 35q-50 0-85-35t-35-85q0-41.76 25.5-73.88T170-316v-328q-39-10-64.5-42T80-760q0-50 35-85t85-35q42 0 74 25.5t42 64.5h155l-83-83 42-42 156 155-156 155Zm415-240q35 35 35 85t-35 85q-35 35-85 35t-85-35q-35-35-35-85t35-85q35-35 85-35t85 35ZM200-140q25.5 0 42.75-17.25T260-200q0-25.5-17.25-42.75T200-260q-25.5 0-42.75 17.25T140-200q0 25.5 17.25 42.75T200-140Zm0-560q25.5 0 42.75-17.25T260-760q0-25.5-17.25-42.75T200-820q-25.5 0-42.75 17.25T140-760q0 25.5 17.25 42.75T200-700Zm560 0q25.5 0 42.75-17.25T820-760q0-25.5-17.25-42.75T760-820q-25.5 0-42.75 17.25T700-760q0 25.5 17.25 42.75T760-700ZM200-200Zm0-560Zm560 0Z" })
|
|
527
563
|
});
|
|
528
564
|
//#endregion
|
|
565
|
+
//#region src/Icon/icons/Refresh.tsx
|
|
566
|
+
const SvgRefresh = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
567
|
+
viewBox: "0 0 24 24",
|
|
568
|
+
fill: "#9cff93",
|
|
569
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
570
|
+
...props,
|
|
571
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z" })
|
|
572
|
+
});
|
|
573
|
+
//#endregion
|
|
529
574
|
//#region src/Icon/icons/Schema.tsx
|
|
530
575
|
const SvgSchema = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
531
576
|
viewBox: "0 -960 960 960",
|
|
@@ -659,6 +704,24 @@ const SvgWebAsset = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg",
|
|
|
659
704
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M19 4H5c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H5V8h14v10z" })
|
|
660
705
|
});
|
|
661
706
|
//#endregion
|
|
707
|
+
//#region src/Icon/icons/ZoomIn.tsx
|
|
708
|
+
const SvgZoomIn = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
709
|
+
viewBox: "0 0 24 24",
|
|
710
|
+
fill: "#9cff93",
|
|
711
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
712
|
+
...props,
|
|
713
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zm.5-7H9v2H7v1h2v2h1v-2h2V9h-2z" })
|
|
714
|
+
});
|
|
715
|
+
//#endregion
|
|
716
|
+
//#region src/Icon/icons/ZoomOut.tsx
|
|
717
|
+
const SvgZoomOut = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
718
|
+
viewBox: "0 0 24 24",
|
|
719
|
+
fill: "#9cff93",
|
|
720
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
721
|
+
...props,
|
|
722
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zM7 9h5v1H7z" })
|
|
723
|
+
});
|
|
724
|
+
//#endregion
|
|
662
725
|
//#region src/Icon/icons.ts
|
|
663
726
|
/** Registry of available icons, keyed by their asset file name. */
|
|
664
727
|
const icons = {
|
|
@@ -681,15 +744,19 @@ const icons = {
|
|
|
681
744
|
database: SvgDatabase,
|
|
682
745
|
desktop_windows: SvgDesktopWindows,
|
|
683
746
|
dns: SvgDns,
|
|
747
|
+
edit_note: SvgEditNote,
|
|
684
748
|
expand_less: SvgExpandLess,
|
|
685
749
|
expand_more: SvgExpandMore,
|
|
686
750
|
external_link: SvgExternalLink,
|
|
687
751
|
first_page: SvgFirstPage,
|
|
752
|
+
folder: SvgFolder,
|
|
688
753
|
format_list_bulleted: SvgFormatListBulleted,
|
|
689
754
|
format_list_numbered: SvgFormatListNumbered,
|
|
690
755
|
format_quote: SvgFormatQuote,
|
|
756
|
+
fullscreen: SvgFullscreen,
|
|
691
757
|
grid_view: SvgGridView,
|
|
692
758
|
groups: SvgGroups,
|
|
759
|
+
history: SvgHistory,
|
|
693
760
|
hub: SvgHub,
|
|
694
761
|
image: SvgImage,
|
|
695
762
|
language: SvgLanguage,
|
|
@@ -700,6 +767,7 @@ const icons = {
|
|
|
700
767
|
neurology: SvgNeurology,
|
|
701
768
|
psychology: SvgPsychology,
|
|
702
769
|
rebase_edit: SvgRebaseEdit,
|
|
770
|
+
refresh: SvgRefresh,
|
|
703
771
|
schema: SvgSchema,
|
|
704
772
|
security: SvgSecurity,
|
|
705
773
|
settings_input_component: SvgSettingsInputComponent,
|
|
@@ -711,7 +779,9 @@ const icons = {
|
|
|
711
779
|
terminal: SvgTerminal,
|
|
712
780
|
visibility: SvgVisibility,
|
|
713
781
|
warning: SvgWarning,
|
|
714
|
-
web_asset: SvgWebAsset
|
|
782
|
+
web_asset: SvgWebAsset,
|
|
783
|
+
zoom_in: SvgZoomIn,
|
|
784
|
+
zoom_out: SvgZoomOut
|
|
715
785
|
};
|
|
716
786
|
//#endregion
|
|
717
787
|
//#region src/Icon/Icon.tsx
|
|
@@ -729,7 +799,7 @@ const StyledIcon = require_src.styled("svg", {
|
|
|
729
799
|
]
|
|
730
800
|
})({ fill: "currentColor" });
|
|
731
801
|
function Icon({ name, color, size, ...rest }) {
|
|
732
|
-
const theme =
|
|
802
|
+
const theme = require_theme.useTheme();
|
|
733
803
|
const resolvedSize = size ?? theme.icon[require_themeDefault.themeDefault(theme, "iconSize", "lg")];
|
|
734
804
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledIcon, {
|
|
735
805
|
as: icons[name],
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { t as themeDefault } from "./themeDefault-
|
|
1
|
+
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-BJy4dM4f.mjs";
|
|
2
|
+
import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
|
|
3
|
+
import { r as useTheme } from "./theme-V6lYzd3j.mjs";
|
|
3
4
|
import "react";
|
|
4
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
6
|
//#region src/Icon/icons/AccountTree.tsx
|
|
@@ -202,6 +203,15 @@ const SvgDns = (props) => /* @__PURE__ */ jsx("svg", {
|
|
|
202
203
|
children: /* @__PURE__ */ jsx("path", { d: "M19 15H5c-1.1 0-2 .9-2 2v4h18v-4c0-1.1-.9-2-2-2zM7 20H5v-2h2v2zm12 0h-2v-2h2v2zM19 5H5C3.9 5 3 5.9 3 7v4h18V7c0-1.1-.9-2-2-2zM7 10H5V8h2v2zm12 0h-2V8h2v2z" })
|
|
203
204
|
});
|
|
204
205
|
//#endregion
|
|
206
|
+
//#region src/Icon/icons/EditNote.tsx
|
|
207
|
+
const SvgEditNote = (props) => /* @__PURE__ */ jsx("svg", {
|
|
208
|
+
viewBox: "0 -960 960 960",
|
|
209
|
+
fill: "#ffffff",
|
|
210
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
211
|
+
...props,
|
|
212
|
+
children: /* @__PURE__ */ jsx("path", { d: "M120-400v-60h300v60H120Zm0-165v-60h470v60H120Zm0-165v-60h470v60H120Zm400 610v-123l221-220q9-9 20-13t22-4q12 0 23 4.5t20 13.5l37 37q9 9 13 20t4 22q0 11-4.5 22.5T862-340L642-120H520Zm300-263-37-37 37 37ZM580-180h38l121-122-18-19-19-18-122 121v38Zm141-141-19-18 37 37-18-19Z" })
|
|
213
|
+
});
|
|
214
|
+
//#endregion
|
|
205
215
|
//#region src/Icon/icons/ExpandLess.tsx
|
|
206
216
|
const SvgExpandLess = (props) => /* @__PURE__ */ jsx("svg", {
|
|
207
217
|
viewBox: "0 0 24 24",
|
|
@@ -257,6 +267,15 @@ const SvgFirstPage = (props) => /* @__PURE__ */ jsx("svg", {
|
|
|
257
267
|
children: /* @__PURE__ */ jsx("path", { d: "M18.41 16.59 13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z" })
|
|
258
268
|
});
|
|
259
269
|
//#endregion
|
|
270
|
+
//#region src/Icon/icons/Folder.tsx
|
|
271
|
+
const SvgFolder = (props) => /* @__PURE__ */ jsx("svg", {
|
|
272
|
+
viewBox: "0 -960 960 960",
|
|
273
|
+
fill: "#ffffff",
|
|
274
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
275
|
+
...props,
|
|
276
|
+
children: /* @__PURE__ */ jsx("path", { d: "M140-160q-24 0-42-18t-18-42v-520q0-24 18-42t42-18h240l80 80h360q24 0 42 18t18 42v440q0 24-18 42t-42 18H140Zm0-60h680v-440H435l-80-80H140v520Zm0 0v-520 520Z" })
|
|
277
|
+
});
|
|
278
|
+
//#endregion
|
|
260
279
|
//#region src/Icon/icons/FormatListBulleted.tsx
|
|
261
280
|
const SvgFormatListBulleted = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
262
281
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -381,6 +400,15 @@ const SvgFormatQuote = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
|
381
400
|
]
|
|
382
401
|
});
|
|
383
402
|
//#endregion
|
|
403
|
+
//#region src/Icon/icons/Fullscreen.tsx
|
|
404
|
+
const SvgFullscreen = (props) => /* @__PURE__ */ jsx("svg", {
|
|
405
|
+
viewBox: "0 0 24 24",
|
|
406
|
+
fill: "#9cff93",
|
|
407
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
408
|
+
...props,
|
|
409
|
+
children: /* @__PURE__ */ jsx("path", { d: "M7 14H5v5h5v-2H7zm-2-4h2V7h3V5H5zm12 7h-3v2h5v-5h-2zM14 5v2h3v3h2V5z" })
|
|
410
|
+
});
|
|
411
|
+
//#endregion
|
|
384
412
|
//#region src/Icon/icons/GridView.tsx
|
|
385
413
|
const SvgGridView = (props) => /* @__PURE__ */ jsx("svg", {
|
|
386
414
|
viewBox: "0 0 24 24",
|
|
@@ -399,6 +427,15 @@ const SvgGroups = (props) => /* @__PURE__ */ jsx("svg", {
|
|
|
399
427
|
children: /* @__PURE__ */ jsx("path", { d: "M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z" })
|
|
400
428
|
});
|
|
401
429
|
//#endregion
|
|
430
|
+
//#region src/Icon/icons/History.tsx
|
|
431
|
+
const SvgHistory = (props) => /* @__PURE__ */ jsx("svg", {
|
|
432
|
+
viewBox: "0 -960 960 960",
|
|
433
|
+
fill: "#ffffff",
|
|
434
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
435
|
+
...props,
|
|
436
|
+
children: /* @__PURE__ */ jsx("path", { d: "M480-120q-138 0-240.5-91.5T122-440h62q13 106 92.5 173T480-200q117 0 198.5-81.5T760-480q0-117-81.5-198.5T480-760q-69 0-129 32t-101 88h110v60H150v-210h60v106q48-62 119-99t151-37q75 0 140.5 28.5t114 77q48.5 48.5 77 114T840-480q0 75-28.5 140.5t-77 114q-48.5 48.5-114 77T480-120Zm112-192L450-454v-226h60v202l124 124-42 42Z" })
|
|
437
|
+
});
|
|
438
|
+
//#endregion
|
|
402
439
|
//#region src/Icon/icons/Hub.tsx
|
|
403
440
|
const SvgHub = (props) => /* @__PURE__ */ jsx("svg", {
|
|
404
441
|
viewBox: "0 0 24 24",
|
|
@@ -524,6 +561,15 @@ const SvgRebaseEdit = (props) => /* @__PURE__ */ jsx("svg", {
|
|
|
524
561
|
children: /* @__PURE__ */ jsx("path", { d: "M392-80v-170l302-302q9-9 20.5-13t22.5-4q11 0 21.96 4.5Q769.93-560 779-551l84 84q9 9 13 20.5t4 22.69q0 11.18-4 22Q872-391 863-382L562-80H392Zm428-345-84-84 84 84ZM452-140h85l173-173-43-42-43-42-172 171v86Zm215-215-43-42 43 42 43 42-43-42ZM430-605l-42-42 83-83H316q-8 32-31 55t-55 31v328q39 10 64.5 42t25.5 74q0 50-35 85t-85 35q-50 0-85-35t-35-85q0-41.76 25.5-73.88T170-316v-328q-39-10-64.5-42T80-760q0-50 35-85t85-35q42 0 74 25.5t42 64.5h155l-83-83 42-42 156 155-156 155Zm415-240q35 35 35 85t-35 85q-35 35-85 35t-85-35q-35-35-35-85t35-85q35-35 85-35t85 35ZM200-140q25.5 0 42.75-17.25T260-200q0-25.5-17.25-42.75T200-260q-25.5 0-42.75 17.25T140-200q0 25.5 17.25 42.75T200-140Zm0-560q25.5 0 42.75-17.25T260-760q0-25.5-17.25-42.75T200-820q-25.5 0-42.75 17.25T140-760q0 25.5 17.25 42.75T200-700Zm560 0q25.5 0 42.75-17.25T820-760q0-25.5-17.25-42.75T760-820q-25.5 0-42.75 17.25T700-760q0 25.5 17.25 42.75T760-700ZM200-200Zm0-560Zm560 0Z" })
|
|
525
562
|
});
|
|
526
563
|
//#endregion
|
|
564
|
+
//#region src/Icon/icons/Refresh.tsx
|
|
565
|
+
const SvgRefresh = (props) => /* @__PURE__ */ jsx("svg", {
|
|
566
|
+
viewBox: "0 0 24 24",
|
|
567
|
+
fill: "#9cff93",
|
|
568
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
569
|
+
...props,
|
|
570
|
+
children: /* @__PURE__ */ jsx("path", { d: "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z" })
|
|
571
|
+
});
|
|
572
|
+
//#endregion
|
|
527
573
|
//#region src/Icon/icons/Schema.tsx
|
|
528
574
|
const SvgSchema = (props) => /* @__PURE__ */ jsx("svg", {
|
|
529
575
|
viewBox: "0 -960 960 960",
|
|
@@ -657,6 +703,24 @@ const SvgWebAsset = (props) => /* @__PURE__ */ jsx("svg", {
|
|
|
657
703
|
children: /* @__PURE__ */ jsx("path", { d: "M19 4H5c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H5V8h14v10z" })
|
|
658
704
|
});
|
|
659
705
|
//#endregion
|
|
706
|
+
//#region src/Icon/icons/ZoomIn.tsx
|
|
707
|
+
const SvgZoomIn = (props) => /* @__PURE__ */ jsx("svg", {
|
|
708
|
+
viewBox: "0 0 24 24",
|
|
709
|
+
fill: "#9cff93",
|
|
710
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
711
|
+
...props,
|
|
712
|
+
children: /* @__PURE__ */ jsx("path", { d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zm.5-7H9v2H7v1h2v2h1v-2h2V9h-2z" })
|
|
713
|
+
});
|
|
714
|
+
//#endregion
|
|
715
|
+
//#region src/Icon/icons/ZoomOut.tsx
|
|
716
|
+
const SvgZoomOut = (props) => /* @__PURE__ */ jsx("svg", {
|
|
717
|
+
viewBox: "0 0 24 24",
|
|
718
|
+
fill: "#9cff93",
|
|
719
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
720
|
+
...props,
|
|
721
|
+
children: /* @__PURE__ */ jsx("path", { d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zM7 9h5v1H7z" })
|
|
722
|
+
});
|
|
723
|
+
//#endregion
|
|
660
724
|
//#region src/Icon/icons.ts
|
|
661
725
|
/** Registry of available icons, keyed by their asset file name. */
|
|
662
726
|
const icons = {
|
|
@@ -679,15 +743,19 @@ const icons = {
|
|
|
679
743
|
database: SvgDatabase,
|
|
680
744
|
desktop_windows: SvgDesktopWindows,
|
|
681
745
|
dns: SvgDns,
|
|
746
|
+
edit_note: SvgEditNote,
|
|
682
747
|
expand_less: SvgExpandLess,
|
|
683
748
|
expand_more: SvgExpandMore,
|
|
684
749
|
external_link: SvgExternalLink,
|
|
685
750
|
first_page: SvgFirstPage,
|
|
751
|
+
folder: SvgFolder,
|
|
686
752
|
format_list_bulleted: SvgFormatListBulleted,
|
|
687
753
|
format_list_numbered: SvgFormatListNumbered,
|
|
688
754
|
format_quote: SvgFormatQuote,
|
|
755
|
+
fullscreen: SvgFullscreen,
|
|
689
756
|
grid_view: SvgGridView,
|
|
690
757
|
groups: SvgGroups,
|
|
758
|
+
history: SvgHistory,
|
|
691
759
|
hub: SvgHub,
|
|
692
760
|
image: SvgImage,
|
|
693
761
|
language: SvgLanguage,
|
|
@@ -698,6 +766,7 @@ const icons = {
|
|
|
698
766
|
neurology: SvgNeurology,
|
|
699
767
|
psychology: SvgPsychology,
|
|
700
768
|
rebase_edit: SvgRebaseEdit,
|
|
769
|
+
refresh: SvgRefresh,
|
|
701
770
|
schema: SvgSchema,
|
|
702
771
|
security: SvgSecurity,
|
|
703
772
|
settings_input_component: SvgSettingsInputComponent,
|
|
@@ -709,7 +778,9 @@ const icons = {
|
|
|
709
778
|
terminal: SvgTerminal,
|
|
710
779
|
visibility: SvgVisibility,
|
|
711
780
|
warning: SvgWarning,
|
|
712
|
-
web_asset: SvgWebAsset
|
|
781
|
+
web_asset: SvgWebAsset,
|
|
782
|
+
zoom_in: SvgZoomIn,
|
|
783
|
+
zoom_out: SvgZoomOut
|
|
713
784
|
};
|
|
714
785
|
//#endregion
|
|
715
786
|
//#region src/Icon/Icon.tsx
|
package/dist/Icon.cjs
CHANGED
package/dist/Icon.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as icons, n as IconProps, r as IconName, t as Icon } from "./index-
|
|
1
|
+
import { i as icons, n as IconProps, r as IconName, t as Icon } from "./index-CA_X-mXg.cjs";
|
|
2
2
|
export { Icon, type IconName, IconProps, icons };
|
package/dist/Icon.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as icons, n as IconProps, r as IconName, t as Icon } from "./index-
|
|
1
|
+
import { i as icons, n as IconProps, r as IconName, t as Icon } from "./index-BL3jwIQU.mjs";
|
|
2
2
|
export { Icon, type IconName, IconProps, icons };
|
package/dist/Icon.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as icons, t as Icon } from "./Icon-
|
|
1
|
+
import { n as icons, t as Icon } from "./Icon-CYjD0Bad.mjs";
|
|
2
2
|
export { Icon, icons };
|
package/dist/Image.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-C8PIppTy.cjs");
|
|
3
3
|
let react = require("react");
|
|
4
4
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
5
|
let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/styled-system/should-forward-prop");
|
package/dist/Image.d.cts
CHANGED
|
@@ -1,2 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as index_d_exports } from "./index-DLJ-li1B.cjs";
|
|
2
|
+
import { h as Theme } from "./themes-CUV79qWU.cjs";
|
|
3
|
+
import { CSSProperties, ImgHTMLAttributes } from "react";
|
|
4
|
+
//#region src/Image/Image.d.ts
|
|
5
|
+
interface ImageProps extends Omit<ImgHTMLAttributes<HTMLImageElement>, 'height' | 'width' | 'color'>, index_d_exports.LayoutProps, index_d_exports.SpaceProps, index_d_exports.BackgroundProps, index_d_exports.PositionProps {
|
|
6
|
+
/** Fallback image URL tried when src (or srcSet) fails to load. */
|
|
7
|
+
fallback?: string;
|
|
8
|
+
objectFit?: CSSProperties['objectFit'];
|
|
9
|
+
objectPosition?: CSSProperties['objectPosition'];
|
|
10
|
+
/** Corner radius — resolves against `theme.radii`. */
|
|
11
|
+
borderRadius?: keyof Theme['radii'];
|
|
12
|
+
/** Called once when all image sources are exhausted. */
|
|
13
|
+
onError?: () => void;
|
|
14
|
+
}
|
|
15
|
+
declare function Image({ src, srcSet, fallback, alt, onError, ...rest }: Readonly<ImageProps>): import("react").JSX.Element;
|
|
16
|
+
//#endregion
|
|
2
17
|
export { Image, ImageProps };
|
package/dist/Image.d.mts
CHANGED
|
@@ -1,2 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h as Theme } from "./themes-CUV79qWU.mjs";
|
|
2
|
+
import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
|
|
3
|
+
import { CSSProperties, ImgHTMLAttributes } from "react";
|
|
4
|
+
//#region src/Image/Image.d.ts
|
|
5
|
+
interface ImageProps extends Omit<ImgHTMLAttributes<HTMLImageElement>, 'height' | 'width' | 'color'>, index_d_exports.LayoutProps, index_d_exports.SpaceProps, index_d_exports.BackgroundProps, index_d_exports.PositionProps {
|
|
6
|
+
/** Fallback image URL tried when src (or srcSet) fails to load. */
|
|
7
|
+
fallback?: string;
|
|
8
|
+
objectFit?: CSSProperties['objectFit'];
|
|
9
|
+
objectPosition?: CSSProperties['objectPosition'];
|
|
10
|
+
/** Corner radius — resolves against `theme.radii`. */
|
|
11
|
+
borderRadius?: keyof Theme['radii'];
|
|
12
|
+
/** Called once when all image sources are exhausted. */
|
|
13
|
+
onError?: () => void;
|
|
14
|
+
}
|
|
15
|
+
declare function Image({ src, srcSet, fallback, alt, onError, ...rest }: Readonly<ImageProps>): import("react").JSX.Element;
|
|
16
|
+
//#endregion
|
|
2
17
|
export { Image, ImageProps };
|
package/dist/Image.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-BJy4dM4f.mjs";
|
|
2
2
|
import { useState } from "react";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/Image/Image.tsx
|
package/dist/LinearProgress.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_src = require("./src-
|
|
3
|
-
const require_themeDefault = require("./themeDefault-
|
|
2
|
+
const require_src = require("./src-C8PIppTy.cjs");
|
|
3
|
+
const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
|
|
4
4
|
const require_utils = require("./utils.cjs");
|
|
5
5
|
require("react");
|
|
6
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { r as index_d_exports } from "./index-DLJ-li1B.cjs";
|
|
2
|
+
import { h as Theme } from "./themes-CUV79qWU.cjs";
|
|
3
|
+
import { n as ButtonColor } from "./index-BJ8OC_Zh.cjs";
|
|
3
4
|
import { HTMLAttributes } from "react";
|
|
4
5
|
//#region src/LinearProgress/LinearProgress.d.ts
|
|
5
6
|
type LinearProgressVariant = 'indeterminate' | 'determinate' | 'query';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { h as Theme } from "./themes-CUV79qWU.mjs";
|
|
2
|
+
import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
|
|
3
|
+
import { n as ButtonColor } from "./index-D8U2tk1L.mjs";
|
|
3
4
|
import { HTMLAttributes } from "react";
|
|
4
5
|
//#region src/LinearProgress/LinearProgress.d.ts
|
|
5
6
|
type LinearProgressVariant = 'indeterminate' | 'determinate' | 'query';
|
package/dist/LinearProgress.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { t as themeDefault } from "./themeDefault-
|
|
1
|
+
import { a as src_exports, i as props, o as styled, r as keyframes, t as createShouldForwardProp } from "./src-BJy4dM4f.mjs";
|
|
2
|
+
import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
|
|
3
3
|
import { clamp } from "./utils.mjs";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
package/dist/Link.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_src = require("./src-
|
|
3
|
-
const require_themeDefault = require("./themeDefault-
|
|
2
|
+
const require_src = require("./src-C8PIppTy.cjs");
|
|
3
|
+
const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
|
|
4
|
+
const require_theme = require("./theme-Du6xgPsg.cjs");
|
|
4
5
|
const require_Typography = require("./Typography.cjs");
|
|
5
6
|
require("react");
|
|
6
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
|
-
let _emotion_react = require("@emotion/react");
|
|
8
8
|
//#region src/Link/Link.tsx
|
|
9
9
|
const underlineStyles = {
|
|
10
10
|
always: { textDecoration: "underline" },
|
|
@@ -30,10 +30,6 @@ const underlineStyles = {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
|
-
const linkGapSystem = (0, require_src.src_exports.system)({ gap: {
|
|
34
|
-
property: "gap",
|
|
35
|
-
scale: "space"
|
|
36
|
-
} });
|
|
37
33
|
const LinkBase = require_src.styled(require_Typography.Typography, {
|
|
38
34
|
name: "Link",
|
|
39
35
|
label: "Link",
|
|
@@ -45,9 +41,9 @@ const LinkBase = require_src.styled(require_Typography.Typography, {
|
|
|
45
41
|
outlineOffset: "4px",
|
|
46
42
|
borderRadius: theme.radii.sm
|
|
47
43
|
}
|
|
48
|
-
})
|
|
44
|
+
}));
|
|
49
45
|
function Link({ underline: underlineProp, color, variant = "inherit", target, rel, ...rest }) {
|
|
50
|
-
const theme =
|
|
46
|
+
const theme = require_theme.useTheme();
|
|
51
47
|
const underline = underlineProp ?? require_themeDefault.themeDefault(theme, "linkUnderline", "always");
|
|
52
48
|
const resolvedRel = target === "_blank" && rel === void 0 ? "noopener noreferrer" : rel;
|
|
53
49
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(LinkBase, {
|
package/dist/Link.d.cts
CHANGED
|
@@ -1,2 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as TypographyProps } from "./index-CvaEVk-f.cjs";
|
|
2
|
+
import { AnchorHTMLAttributes } from "react";
|
|
3
|
+
//#region src/Link/Link.d.ts
|
|
4
|
+
type LinkUnderline = 'always' | 'hover' | 'none';
|
|
5
|
+
interface LinkProps extends Omit<TypographyProps, 'as'>, Omit<AnchorHTMLAttributes<HTMLAnchorElement>, keyof Omit<TypographyProps, 'as'>> {
|
|
6
|
+
underline?: LinkUnderline;
|
|
7
|
+
}
|
|
8
|
+
declare function Link({ underline: underlineProp, color, variant, target, rel, ...rest }: Readonly<LinkProps>): import("react").JSX.Element;
|
|
9
|
+
//#endregion
|
|
2
10
|
export { Link, LinkProps, LinkUnderline };
|
package/dist/Link.d.mts
CHANGED
|
@@ -1,2 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as TypographyProps } from "./index-B2hrssyF.mjs";
|
|
2
|
+
import { AnchorHTMLAttributes } from "react";
|
|
3
|
+
//#region src/Link/Link.d.ts
|
|
4
|
+
type LinkUnderline = 'always' | 'hover' | 'none';
|
|
5
|
+
interface LinkProps extends Omit<TypographyProps, 'as'>, Omit<AnchorHTMLAttributes<HTMLAnchorElement>, keyof Omit<TypographyProps, 'as'>> {
|
|
6
|
+
underline?: LinkUnderline;
|
|
7
|
+
}
|
|
8
|
+
declare function Link({ underline: underlineProp, color, variant, target, rel, ...rest }: Readonly<LinkProps>): import("react").JSX.Element;
|
|
9
|
+
//#endregion
|
|
2
10
|
export { Link, LinkProps, LinkUnderline };
|
package/dist/Link.mjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as themeDefault } from "./themeDefault-
|
|
1
|
+
import { o as styled } from "./src-BJy4dM4f.mjs";
|
|
2
|
+
import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
|
|
3
|
+
import { r as useTheme } from "./theme-V6lYzd3j.mjs";
|
|
3
4
|
import { Typography } from "./Typography.mjs";
|
|
4
5
|
import "react";
|
|
5
6
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -28,10 +29,6 @@ const underlineStyles = {
|
|
|
28
29
|
}
|
|
29
30
|
}
|
|
30
31
|
};
|
|
31
|
-
const linkGapSystem = (0, src_exports.system)({ gap: {
|
|
32
|
-
property: "gap",
|
|
33
|
-
scale: "space"
|
|
34
|
-
} });
|
|
35
32
|
const LinkBase = styled(Typography, {
|
|
36
33
|
name: "Link",
|
|
37
34
|
label: "Link",
|
|
@@ -43,7 +40,7 @@ const LinkBase = styled(Typography, {
|
|
|
43
40
|
outlineOffset: "4px",
|
|
44
41
|
borderRadius: theme.radii.sm
|
|
45
42
|
}
|
|
46
|
-
})
|
|
43
|
+
}));
|
|
47
44
|
function Link({ underline: underlineProp, color, variant = "inherit", target, rel, ...rest }) {
|
|
48
45
|
const theme = useTheme();
|
|
49
46
|
const underline = underlineProp ?? themeDefault(theme, "linkUnderline", "always");
|
package/dist/MenuItem.cjs
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_src = require("./src-
|
|
3
|
-
const require_themeDefault = require("./themeDefault-
|
|
4
|
-
const
|
|
2
|
+
const require_src = require("./src-C8PIppTy.cjs");
|
|
3
|
+
const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
|
|
4
|
+
const require_theme = require("./theme-Du6xgPsg.cjs");
|
|
5
|
+
const require_Icon = require("./Icon-BOjk5r39.cjs");
|
|
5
6
|
let react = require("react");
|
|
6
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
|
-
let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/styled-system/should-forward-prop");
|
|
8
|
-
let _emotion_react = require("@emotion/react");
|
|
9
8
|
//#region src/MenuItem/MenuItem.tsx
|
|
10
|
-
const shouldForwardProp = (0,
|
|
9
|
+
const shouldForwardProp = (0, require("@soroush.tech/styled-system/should-forward-prop").createShouldForwardProp)([
|
|
11
10
|
"color",
|
|
12
11
|
"textColor",
|
|
13
12
|
"sizeToken",
|
|
@@ -91,7 +90,7 @@ function isKeyboardFocus(element) {
|
|
|
91
90
|
* injected by `Select`; used on its own it renders a static, styled row.
|
|
92
91
|
*/
|
|
93
92
|
function MenuItem({ value, children, as, disabled = false, selected = false, highlighted = false, multiple = false, color: colorProp, textColor, size: sizeProp, dense = false, disableGutters = false, divider = false, autoFocus = false, focusVisibleClassName, onSelect, id, className, "data-testid": dataTestid }) {
|
|
94
|
-
const theme =
|
|
93
|
+
const theme = require_theme.useTheme();
|
|
95
94
|
const color = colorProp ?? require_themeDefault.themeDefault(theme, "color", "primary");
|
|
96
95
|
const size = sizeProp ?? require_themeDefault.themeDefault(theme, "size", "md");
|
|
97
96
|
const rootRef = (0, react.useRef)(null);
|
package/dist/MenuItem.d.cts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "./index-DLJ-li1B.cjs";
|
|
2
|
+
import { h as Theme } from "./themes-CUV79qWU.cjs";
|
|
2
3
|
import { ElementType, ReactNode } from "react";
|
|
3
4
|
//#region src/MenuItem/MenuItem.d.ts
|
|
4
5
|
type MenuItemColor = keyof Theme['palette'];
|
package/dist/MenuItem.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h as Theme } from "./themes-CUV79qWU.mjs";
|
|
2
|
+
import "./index-D8b5OCLe.mjs";
|
|
2
3
|
import { ElementType, ReactNode } from "react";
|
|
3
4
|
//#region src/MenuItem/MenuItem.d.ts
|
|
4
5
|
type MenuItemColor = keyof Theme['palette'];
|
package/dist/MenuItem.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { t as themeDefault } from "./themeDefault-
|
|
3
|
-
import {
|
|
1
|
+
import { a as src_exports, o as styled, t as createShouldForwardProp } from "./src-BJy4dM4f.mjs";
|
|
2
|
+
import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
|
|
3
|
+
import { r as useTheme } from "./theme-V6lYzd3j.mjs";
|
|
4
|
+
import { t as Icon } from "./Icon-CYjD0Bad.mjs";
|
|
4
5
|
import { useEffect, useRef, useState } from "react";
|
|
5
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
7
|
//#region src/MenuItem/MenuItem.tsx
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_src = require("./src-
|
|
1
|
+
const require_src = require("./src-C8PIppTy.cjs");
|
|
2
2
|
const require_View = require("./View.cjs");
|
|
3
3
|
const require_Backdrop = require("./Backdrop.cjs");
|
|
4
4
|
const require_Portal = require("./Portal.cjs");
|
|
@@ -15,7 +15,7 @@ function ownerDocument(node) {
|
|
|
15
15
|
return node?.ownerDocument ?? document;
|
|
16
16
|
}
|
|
17
17
|
//#endregion
|
|
18
|
-
//#region src/utils/ownerWindow.ts
|
|
18
|
+
//#region src/Modal/utils/ownerWindow.ts
|
|
19
19
|
/**
|
|
20
20
|
* Returns the `Window` that owns the given node, falling back to the global
|
|
21
21
|
* `window`. Used to read viewport metrics for scroll-lock calculations.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { o as styled, t as createShouldForwardProp } from "./src-BJy4dM4f.mjs";
|
|
2
2
|
import { View } from "./View.mjs";
|
|
3
3
|
import { Backdrop } from "./Backdrop.mjs";
|
|
4
4
|
import { Portal } from "./Portal.mjs";
|
|
@@ -14,7 +14,7 @@ function ownerDocument(node) {
|
|
|
14
14
|
return node?.ownerDocument ?? document;
|
|
15
15
|
}
|
|
16
16
|
//#endregion
|
|
17
|
-
//#region src/utils/ownerWindow.ts
|
|
17
|
+
//#region src/Modal/utils/ownerWindow.ts
|
|
18
18
|
/**
|
|
19
19
|
* Returns the `Window` that owns the given node, falling back to the global
|
|
20
20
|
* `window`. Used to read viewport metrics for scroll-lock calculations.
|
package/dist/Modal.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_Modal = require("./Modal-
|
|
2
|
+
const require_Modal = require("./Modal-DZH-DzMZ.cjs");
|
|
3
3
|
exports.Modal = require_Modal.Modal;
|
|
4
4
|
exports.ModalManager = require_Modal.ModalManager;
|
|
5
5
|
exports.ariaHidden = require_Modal.ariaHidden;
|
package/dist/Modal.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as Modal, c as ModalCloseReason, d as useModal, i as ariaHidden, l as UseModalParameters, n as ManagedModalProps, o as ModalProps, r as ModalManager, s as ModalScroll, t as ManagedModal, u as UseModalReturnValue } from "./index-
|
|
1
|
+
import { a as Modal, c as ModalCloseReason, d as useModal, i as ariaHidden, l as UseModalParameters, n as ManagedModalProps, o as ModalProps, r as ModalManager, s as ModalScroll, t as ManagedModal, u as UseModalReturnValue } from "./index-BfpjEqqt.cjs";
|
|
2
2
|
export { ManagedModal, ManagedModalProps, Modal, ModalCloseReason, ModalManager, ModalProps, ModalScroll, UseModalParameters, UseModalReturnValue, ariaHidden, useModal };
|