@soroush.tech/design-system 0.1.0 → 1.0.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 +42 -31
- 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 -6
- package/dist/Button.d.cts +1 -1
- package/dist/Button.d.mts +1 -1
- package/dist/Button.mjs +3 -3
- 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 +1 -1
- package/dist/Flex.d.cts +1 -1
- package/dist/Flex.d.mts +1 -1
- package/dist/Flex.mjs +1 -1
- package/dist/FocusTrap.cjs +1 -1
- package/dist/FocusTrap.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 +1 -1
- package/dist/Grid.d.cts +3 -2
- package/dist/Grid.d.mts +3 -2
- package/dist/Grid.mjs +1 -1
- package/dist/{Icon-CAKRmFz3.mjs → Icon-bv8Z38l-.mjs} +44 -3
- package/dist/{Icon-1YtNCUKo.cjs → Icon-zsHe7hWR.cjs} +45 -5
- 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 +4 -4
- package/dist/Link.d.cts +10 -1
- package/dist/Link.d.mts +10 -1
- package/dist/Link.mjs +3 -2
- 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 -6
- package/dist/Paper.d.cts +1 -1
- package/dist/Paper.d.mts +1 -1
- package/dist/Paper.mjs +3 -2
- 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/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/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-DOhYeOFx.d.cts} +1 -1
- package/dist/{TableContext-BRWPghAI.mjs → TableContext-Dyr89h_k.mjs} +0 -1
- package/dist/{TableContext-2qH7XYJB.d.mts → TableContext-adilRIJZ.d.mts} +1 -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 -1
- package/dist/View.d.cts +1 -1
- package/dist/View.d.mts +1 -1
- package/dist/View.mjs +1 -1
- 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-0J6U39Rl.d.mts +53 -0
- package/dist/{index-Dm9HfgV6.d.mts → index-B66h9kbP.d.mts} +17 -7
- package/dist/{index-FwTocqhP.d.cts → index-B8FOqBiS.d.cts} +2 -1
- package/dist/{index-DE5PtzPn.d.mts → index-BF2KXGBM.d.mts} +2 -2
- package/dist/{index-CeYkEXU2.d.cts → index-BGWm4HKR.d.cts} +2 -2
- package/dist/{index-DmJIuQJj.d.mts → index-BGzs2cKy.d.mts} +3 -2
- package/dist/{index-B1rCD6Oo.d.cts → index-BJcHQUga.d.mts} +3 -2
- package/dist/{index-CDVnvjIE.d.cts → index-BLnOsdgc.d.cts} +2 -2
- package/dist/{index-Bihpwn75.d.cts → index-BVX_Jq2G.d.cts} +17 -7
- package/dist/{index-8dzWTpFp.d.cts → index-BahGB82c.d.cts} +3 -2
- package/dist/{index-DASvoACZ.d.cts → index-BnCp6k4s.d.cts} +2 -2
- package/dist/{index-Dy03o__A.d.mts → index-BpLv6Y8m.d.mts} +2 -1
- package/dist/index-C-UBdWKI.d.cts +24 -0
- package/dist/{index-BqVgv2B_.d.mts → index-C1vVYigQ.d.cts} +3 -2
- package/dist/index-CJQXZ4hq.d.cts +53 -0
- package/dist/{index-C0xMvDjL.d.mts → index-CLCtvcKA.d.mts} +2 -2
- package/dist/{index-DSCMXFTn.d.cts → index-CY0Czi9Z.d.cts} +2 -1
- package/dist/{index-pX7tBQdJ.d.mts → index-CYNgNatZ.d.mts} +2 -1
- package/dist/{index-BLfFycfJ.d.mts → index-D0x1ZMVG.d.mts} +6 -2
- package/dist/{index-4rC2j7fR.d.cts → index-D2H_6WLf.d.cts} +3 -2
- package/dist/{index-BnzUumAC2.d.mts → index-DCwLdUQH.d.mts} +2 -1
- package/dist/{index-BH8jQOdF.d.mts → index-DGqakgRN.d.mts} +3 -2
- package/dist/{index-BLRMuO_x.d.mts → index-DLiHZtDi.d.mts} +3 -2
- package/dist/{index-Dp81rWM1.d.cts → index-DN7IvJeV.d.cts} +6 -2
- package/dist/{index-BX5-NfbX.d.cts → index-DdFxl06Q.d.cts} +2 -1
- package/dist/{index-z35LEYG8.d.mts → index-DhcmRr8Q.d.cts} +3 -2
- package/dist/index-DitJ7ss0.d.mts +24 -0
- package/dist/{index-CyZYXDn0.d.cts → index-DwjxjLcD.d.mts} +3 -2
- package/dist/{index-x80UG39F.d.cts → index-HnvGdPCp.d.cts} +3 -2
- package/dist/{index-CxSNNzBT2.d.mts → index-ypEBcdCx.d.mts} +2 -2
- 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-BTGww2YK.d.cts +488 -0
- package/dist/themes-BTGww2YK.d.mts +488 -0
- package/dist/{useTableSort--XMWjujs.d.cts → useTablePagination-D6T-fQFc.d.mts} +25 -25
- package/dist/{useTableSort-CpDs4cGq.d.mts → useTablePagination-_94Wrvj9.d.cts} +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 +410 -23
- 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
package/dist/Drawer.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as PaperElevation } from "./index-
|
|
2
|
-
import { o as ModalProps } from "./index-
|
|
1
|
+
import { n as PaperElevation } from "./index-DLiHZtDi.mjs";
|
|
2
|
+
import { o as ModalProps } from "./index-BpLv6Y8m.mjs";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
//#region src/Drawer/Drawer.d.ts
|
|
5
5
|
type DrawerAnchor = 'left' | 'right' | 'top' | 'bottom';
|
package/dist/Drawer.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { o as styled, r as keyframes, t as createShouldForwardProp } from "./src-BJy4dM4f.mjs";
|
|
2
2
|
import { Paper } from "./Paper.mjs";
|
|
3
|
-
import { t as Modal } from "./Modal-
|
|
3
|
+
import { t as Modal } from "./Modal-dy5l7gfH.mjs";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/Drawer/Drawer.tsx
|
package/dist/Flex.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
|
const require_View = require("./View.cjs");
|
|
4
4
|
let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/styled-system/should-forward-prop");
|
|
5
5
|
//#region src/Flex/Flex.tsx
|
package/dist/Flex.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as FlexProps, r as GapToken, t as Flex } from "./index-
|
|
1
|
+
import { n as FlexProps, r as GapToken, t as Flex } from "./index-DhcmRr8Q.cjs";
|
|
2
2
|
export { Flex, FlexProps, GapToken };
|
package/dist/Flex.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as FlexProps, r as GapToken, t as Flex } from "./index-
|
|
1
|
+
import { n as FlexProps, r as GapToken, t as Flex } from "./index-BJcHQUga.mjs";
|
|
2
2
|
export { Flex, FlexProps, GapToken };
|
package/dist/Flex.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 { View } from "./View.mjs";
|
|
3
3
|
//#region src/Flex/Flex.tsx
|
|
4
4
|
const shouldForwardProp = createShouldForwardProp([...props, "gap"]);
|
package/dist/FocusTrap.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
|
//#region src/FocusTrap/FocusTrap.tsx
|
package/dist/FocusTrap.mjs
CHANGED
package/dist/Form.cjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_src = require("./src-
|
|
3
|
-
const require_FormContext = require("./FormContext-
|
|
4
|
-
require("@emotion/react");
|
|
2
|
+
const require_src = require("./src-C8PIppTy.cjs");
|
|
3
|
+
const require_FormContext = require("./FormContext-BGCsWAFc.cjs");
|
|
5
4
|
let react = require("react");
|
|
6
5
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
6
|
//#region src/Form/Form.tsx
|
package/dist/Form.d.cts
CHANGED
package/dist/Form.d.mts
CHANGED
package/dist/Form.mjs
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as FormContext } from "./FormContext-
|
|
3
|
-
import "@emotion/react";
|
|
1
|
+
import { o as styled } from "./src-BJy4dM4f.mjs";
|
|
2
|
+
import { t as FormContext } from "./FormContext-LrjAGe6U.mjs";
|
|
4
3
|
import { useMemo } from "react";
|
|
5
4
|
import { jsx } from "react/jsx-runtime";
|
|
6
5
|
//#region src/Form/Form.tsx
|
package/dist/FormControl.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-B-QjpGEO.cjs");
|
|
2
|
+
const require_src = require("./src-C8PIppTy.cjs");
|
|
4
3
|
const require_View = require("./View.cjs");
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
|
|
4
|
+
const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
|
|
5
|
+
const require_theme = require("./theme-Du6xgPsg.cjs");
|
|
6
|
+
const require_FormControlContext = require("./FormControlContext-74gvPGFk.cjs");
|
|
7
|
+
const require_FormContext = require("./FormContext-BGCsWAFc.cjs");
|
|
8
8
|
let react = require("react");
|
|
9
9
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
10
10
|
//#region src/FormControl/FormControl.tsx
|
|
@@ -65,7 +65,7 @@ function FormControl({ children, id, error, disabled, required, size, fullWidth,
|
|
|
65
65
|
function useFormControl(overrides = {}) {
|
|
66
66
|
const form = (0, react.useContext)(require_FormContext.FormContext);
|
|
67
67
|
const control = (0, react.useContext)(require_FormControlContext.FormControlContext);
|
|
68
|
-
const theme =
|
|
68
|
+
const theme = require_theme.useTheme();
|
|
69
69
|
return {
|
|
70
70
|
id: overrides.id ?? control?.id,
|
|
71
71
|
error: overrides.error ?? control?.error ?? false,
|
package/dist/FormControl.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { m as Theme } from "./themes-BTGww2YK.cjs";
|
|
2
|
+
import { s as ViewProps } from "./index-B8FOqBiS.cjs";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
//#region src/FormControl/FormControl.d.ts
|
|
5
5
|
interface FormControlProps extends Omit<ViewProps, 'color'> {
|
package/dist/FormControl.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { m as Theme } from "./themes-BTGww2YK.mjs";
|
|
2
|
+
import { s as ViewProps } from "./index-CYNgNatZ.mjs";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
//#region src/FormControl/FormControl.d.ts
|
|
5
5
|
interface FormControlProps extends Omit<ViewProps, 'color'> {
|
package/dist/FormControl.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as themeDefault } from "./themeDefault-CjXaY3ok.mjs";
|
|
1
|
+
import { o as styled } from "./src-BJy4dM4f.mjs";
|
|
3
2
|
import { View } from "./View.mjs";
|
|
4
|
-
import { t as
|
|
5
|
-
import {
|
|
6
|
-
import "
|
|
3
|
+
import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
|
|
4
|
+
import { r as useTheme } from "./theme-V6lYzd3j.mjs";
|
|
5
|
+
import { t as FormControlContext } from "./FormControlContext-CC2kToms.mjs";
|
|
6
|
+
import { t as FormContext } from "./FormContext-LrjAGe6U.mjs";
|
|
7
7
|
import { useContext, useId, useMemo, useState } from "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/FormControl/FormControl.tsx
|
package/dist/FormHelperText.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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
|
const require_Typography = require("./Typography.cjs");
|
|
4
|
-
const require_FormControlContext = require("./FormControlContext-
|
|
5
|
-
const require_FormContext = require("./FormContext-
|
|
4
|
+
const require_FormControlContext = require("./FormControlContext-74gvPGFk.cjs");
|
|
5
|
+
const require_FormContext = require("./FormContext-BGCsWAFc.cjs");
|
|
6
6
|
let react = require("react");
|
|
7
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
//#region src/FormHelperText/FormHelperText.tsx
|
package/dist/FormHelperText.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { o as styled } from "./src-BJy4dM4f.mjs";
|
|
2
2
|
import { Typography } from "./Typography.mjs";
|
|
3
|
-
import { t as FormControlContext } from "./FormControlContext-
|
|
4
|
-
import { t as FormContext } from "./FormContext-
|
|
3
|
+
import { t as FormControlContext } from "./FormControlContext-CC2kToms.mjs";
|
|
4
|
+
import { t as FormContext } from "./FormContext-LrjAGe6U.mjs";
|
|
5
5
|
import { useContext, useEffect } from "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/FormHelperText/FormHelperText.tsx
|
package/dist/FormLabel.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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
|
const require_Typography = require("./Typography.cjs");
|
|
4
|
-
const require_FormControlContext = require("./FormControlContext-
|
|
5
|
-
const require_FormContext = require("./FormContext-
|
|
4
|
+
const require_FormControlContext = require("./FormControlContext-74gvPGFk.cjs");
|
|
5
|
+
const require_FormContext = require("./FormContext-BGCsWAFc.cjs");
|
|
6
6
|
let react = require("react");
|
|
7
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
//#region src/FormLabel/FormLabel.tsx
|
package/dist/FormLabel.d.cts
CHANGED
|
@@ -1,2 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as TypographyProps } from "./index-BLnOsdgc.cjs";
|
|
2
|
+
import { ReactNode } from "react";
|
|
3
|
+
//#region src/FormLabel/FormLabel.d.ts
|
|
4
|
+
interface FormLabelProps extends TypographyProps {
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
/** Appends a `*` indicator. Falls back to the FormControl `required` value. */
|
|
7
|
+
required?: boolean;
|
|
8
|
+
/** Target control id. Falls back to the FormControl id. */
|
|
9
|
+
htmlFor?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Renders a `<label>` linked to the control via `htmlFor`, reading the id and
|
|
13
|
+
* `required` flag from FormControl context. All Typography props pass through,
|
|
14
|
+
* so callers can restyle freely while keeping the wiring automatic.
|
|
15
|
+
*/
|
|
16
|
+
declare function FormLabel({ children, required, htmlFor, color, ...rest }: Readonly<FormLabelProps>): import("react").JSX.Element;
|
|
17
|
+
//#endregion
|
|
2
18
|
export { FormLabel, FormLabelProps };
|
package/dist/FormLabel.d.mts
CHANGED
|
@@ -1,2 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as TypographyProps } from "./index-BF2KXGBM.mjs";
|
|
2
|
+
import { ReactNode } from "react";
|
|
3
|
+
//#region src/FormLabel/FormLabel.d.ts
|
|
4
|
+
interface FormLabelProps extends TypographyProps {
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
/** Appends a `*` indicator. Falls back to the FormControl `required` value. */
|
|
7
|
+
required?: boolean;
|
|
8
|
+
/** Target control id. Falls back to the FormControl id. */
|
|
9
|
+
htmlFor?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Renders a `<label>` linked to the control via `htmlFor`, reading the id and
|
|
13
|
+
* `required` flag from FormControl context. All Typography props pass through,
|
|
14
|
+
* so callers can restyle freely while keeping the wiring automatic.
|
|
15
|
+
*/
|
|
16
|
+
declare function FormLabel({ children, required, htmlFor, color, ...rest }: Readonly<FormLabelProps>): import("react").JSX.Element;
|
|
17
|
+
//#endregion
|
|
2
18
|
export { FormLabel, FormLabelProps };
|
package/dist/FormLabel.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { o as styled } from "./src-BJy4dM4f.mjs";
|
|
2
2
|
import { Typography } from "./Typography.mjs";
|
|
3
|
-
import { t as FormControlContext } from "./FormControlContext-
|
|
4
|
-
import { t as FormContext } from "./FormContext-
|
|
3
|
+
import { t as FormControlContext } from "./FormControlContext-CC2kToms.mjs";
|
|
4
|
+
import { t as FormContext } from "./FormContext-LrjAGe6U.mjs";
|
|
5
5
|
import { useContext } from "react";
|
|
6
6
|
import { jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region src/FormLabel/FormLabel.tsx
|
package/dist/Grid.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
|
const require_View = require("./View.cjs");
|
|
4
4
|
let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/styled-system/should-forward-prop");
|
|
5
5
|
//#region src/Grid/Grid.tsx
|
package/dist/Grid.d.cts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { r as index_d_exports } from "./index-BVX_Jq2G.cjs";
|
|
2
|
+
import { m as Theme } from "./themes-BTGww2YK.cjs";
|
|
3
|
+
import { s as ViewProps } from "./index-B8FOqBiS.cjs";
|
|
3
4
|
//#region src/Grid/Grid.d.ts
|
|
4
5
|
/** Valid values for the gap / columnGap / rowGap props — derived from theme.space keys. */
|
|
5
6
|
type GapToken = keyof Theme['space'];
|
package/dist/Grid.d.mts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { m as Theme } from "./themes-BTGww2YK.mjs";
|
|
2
|
+
import { r as index_d_exports } from "./index-B66h9kbP.mjs";
|
|
3
|
+
import { s as ViewProps } from "./index-CYNgNatZ.mjs";
|
|
3
4
|
//#region src/Grid/Grid.d.ts
|
|
4
5
|
/** Valid values for the gap / columnGap / rowGap props — derived from theme.space keys. */
|
|
5
6
|
type GapToken = keyof Theme['space'];
|
package/dist/Grid.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 { View } from "./View.mjs";
|
|
3
3
|
const Grid = styled(View, {
|
|
4
4
|
name: "Grid",
|
|
@@ -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
|
|
@@ -381,6 +382,15 @@ const SvgFormatQuote = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
|
381
382
|
]
|
|
382
383
|
});
|
|
383
384
|
//#endregion
|
|
385
|
+
//#region src/Icon/icons/Fullscreen.tsx
|
|
386
|
+
const SvgFullscreen = (props) => /* @__PURE__ */ jsx("svg", {
|
|
387
|
+
viewBox: "0 0 24 24",
|
|
388
|
+
fill: "#9cff93",
|
|
389
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
390
|
+
...props,
|
|
391
|
+
children: /* @__PURE__ */ jsx("path", { d: "M7 14H5v5h5v-2H7zm-2-4h2V7h3V5H5zm12 7h-3v2h5v-5h-2zM14 5v2h3v3h2V5z" })
|
|
392
|
+
});
|
|
393
|
+
//#endregion
|
|
384
394
|
//#region src/Icon/icons/GridView.tsx
|
|
385
395
|
const SvgGridView = (props) => /* @__PURE__ */ jsx("svg", {
|
|
386
396
|
viewBox: "0 0 24 24",
|
|
@@ -524,6 +534,15 @@ const SvgRebaseEdit = (props) => /* @__PURE__ */ jsx("svg", {
|
|
|
524
534
|
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
535
|
});
|
|
526
536
|
//#endregion
|
|
537
|
+
//#region src/Icon/icons/Refresh.tsx
|
|
538
|
+
const SvgRefresh = (props) => /* @__PURE__ */ jsx("svg", {
|
|
539
|
+
viewBox: "0 0 24 24",
|
|
540
|
+
fill: "#9cff93",
|
|
541
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
542
|
+
...props,
|
|
543
|
+
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" })
|
|
544
|
+
});
|
|
545
|
+
//#endregion
|
|
527
546
|
//#region src/Icon/icons/Schema.tsx
|
|
528
547
|
const SvgSchema = (props) => /* @__PURE__ */ jsx("svg", {
|
|
529
548
|
viewBox: "0 -960 960 960",
|
|
@@ -657,6 +676,24 @@ const SvgWebAsset = (props) => /* @__PURE__ */ jsx("svg", {
|
|
|
657
676
|
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
677
|
});
|
|
659
678
|
//#endregion
|
|
679
|
+
//#region src/Icon/icons/ZoomIn.tsx
|
|
680
|
+
const SvgZoomIn = (props) => /* @__PURE__ */ jsx("svg", {
|
|
681
|
+
viewBox: "0 0 24 24",
|
|
682
|
+
fill: "#9cff93",
|
|
683
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
684
|
+
...props,
|
|
685
|
+
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" })
|
|
686
|
+
});
|
|
687
|
+
//#endregion
|
|
688
|
+
//#region src/Icon/icons/ZoomOut.tsx
|
|
689
|
+
const SvgZoomOut = (props) => /* @__PURE__ */ jsx("svg", {
|
|
690
|
+
viewBox: "0 0 24 24",
|
|
691
|
+
fill: "#9cff93",
|
|
692
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
693
|
+
...props,
|
|
694
|
+
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" })
|
|
695
|
+
});
|
|
696
|
+
//#endregion
|
|
660
697
|
//#region src/Icon/icons.ts
|
|
661
698
|
/** Registry of available icons, keyed by their asset file name. */
|
|
662
699
|
const icons = {
|
|
@@ -686,6 +723,7 @@ const icons = {
|
|
|
686
723
|
format_list_bulleted: SvgFormatListBulleted,
|
|
687
724
|
format_list_numbered: SvgFormatListNumbered,
|
|
688
725
|
format_quote: SvgFormatQuote,
|
|
726
|
+
fullscreen: SvgFullscreen,
|
|
689
727
|
grid_view: SvgGridView,
|
|
690
728
|
groups: SvgGroups,
|
|
691
729
|
hub: SvgHub,
|
|
@@ -698,6 +736,7 @@ const icons = {
|
|
|
698
736
|
neurology: SvgNeurology,
|
|
699
737
|
psychology: SvgPsychology,
|
|
700
738
|
rebase_edit: SvgRebaseEdit,
|
|
739
|
+
refresh: SvgRefresh,
|
|
701
740
|
schema: SvgSchema,
|
|
702
741
|
security: SvgSecurity,
|
|
703
742
|
settings_input_component: SvgSettingsInputComponent,
|
|
@@ -709,7 +748,9 @@ const icons = {
|
|
|
709
748
|
terminal: SvgTerminal,
|
|
710
749
|
visibility: SvgVisibility,
|
|
711
750
|
warning: SvgWarning,
|
|
712
|
-
web_asset: SvgWebAsset
|
|
751
|
+
web_asset: SvgWebAsset,
|
|
752
|
+
zoom_in: SvgZoomIn,
|
|
753
|
+
zoom_out: SvgZoomOut
|
|
713
754
|
};
|
|
714
755
|
//#endregion
|
|
715
756
|
//#region src/Icon/Icon.tsx
|
|
@@ -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",
|
|
@@ -383,6 +383,15 @@ const SvgFormatQuote = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("s
|
|
|
383
383
|
]
|
|
384
384
|
});
|
|
385
385
|
//#endregion
|
|
386
|
+
//#region src/Icon/icons/Fullscreen.tsx
|
|
387
|
+
const SvgFullscreen = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
388
|
+
viewBox: "0 0 24 24",
|
|
389
|
+
fill: "#9cff93",
|
|
390
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
391
|
+
...props,
|
|
392
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M7 14H5v5h5v-2H7zm-2-4h2V7h3V5H5zm12 7h-3v2h5v-5h-2zM14 5v2h3v3h2V5z" })
|
|
393
|
+
});
|
|
394
|
+
//#endregion
|
|
386
395
|
//#region src/Icon/icons/GridView.tsx
|
|
387
396
|
const SvgGridView = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
388
397
|
viewBox: "0 0 24 24",
|
|
@@ -526,6 +535,15 @@ const SvgRebaseEdit = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg
|
|
|
526
535
|
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
536
|
});
|
|
528
537
|
//#endregion
|
|
538
|
+
//#region src/Icon/icons/Refresh.tsx
|
|
539
|
+
const SvgRefresh = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
540
|
+
viewBox: "0 0 24 24",
|
|
541
|
+
fill: "#9cff93",
|
|
542
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
543
|
+
...props,
|
|
544
|
+
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" })
|
|
545
|
+
});
|
|
546
|
+
//#endregion
|
|
529
547
|
//#region src/Icon/icons/Schema.tsx
|
|
530
548
|
const SvgSchema = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
531
549
|
viewBox: "0 -960 960 960",
|
|
@@ -659,6 +677,24 @@ const SvgWebAsset = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg",
|
|
|
659
677
|
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
678
|
});
|
|
661
679
|
//#endregion
|
|
680
|
+
//#region src/Icon/icons/ZoomIn.tsx
|
|
681
|
+
const SvgZoomIn = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
682
|
+
viewBox: "0 0 24 24",
|
|
683
|
+
fill: "#9cff93",
|
|
684
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
685
|
+
...props,
|
|
686
|
+
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" })
|
|
687
|
+
});
|
|
688
|
+
//#endregion
|
|
689
|
+
//#region src/Icon/icons/ZoomOut.tsx
|
|
690
|
+
const SvgZoomOut = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
691
|
+
viewBox: "0 0 24 24",
|
|
692
|
+
fill: "#9cff93",
|
|
693
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
694
|
+
...props,
|
|
695
|
+
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" })
|
|
696
|
+
});
|
|
697
|
+
//#endregion
|
|
662
698
|
//#region src/Icon/icons.ts
|
|
663
699
|
/** Registry of available icons, keyed by their asset file name. */
|
|
664
700
|
const icons = {
|
|
@@ -688,6 +724,7 @@ const icons = {
|
|
|
688
724
|
format_list_bulleted: SvgFormatListBulleted,
|
|
689
725
|
format_list_numbered: SvgFormatListNumbered,
|
|
690
726
|
format_quote: SvgFormatQuote,
|
|
727
|
+
fullscreen: SvgFullscreen,
|
|
691
728
|
grid_view: SvgGridView,
|
|
692
729
|
groups: SvgGroups,
|
|
693
730
|
hub: SvgHub,
|
|
@@ -700,6 +737,7 @@ const icons = {
|
|
|
700
737
|
neurology: SvgNeurology,
|
|
701
738
|
psychology: SvgPsychology,
|
|
702
739
|
rebase_edit: SvgRebaseEdit,
|
|
740
|
+
refresh: SvgRefresh,
|
|
703
741
|
schema: SvgSchema,
|
|
704
742
|
security: SvgSecurity,
|
|
705
743
|
settings_input_component: SvgSettingsInputComponent,
|
|
@@ -711,7 +749,9 @@ const icons = {
|
|
|
711
749
|
terminal: SvgTerminal,
|
|
712
750
|
visibility: SvgVisibility,
|
|
713
751
|
warning: SvgWarning,
|
|
714
|
-
web_asset: SvgWebAsset
|
|
752
|
+
web_asset: SvgWebAsset,
|
|
753
|
+
zoom_in: SvgZoomIn,
|
|
754
|
+
zoom_out: SvgZoomOut
|
|
715
755
|
};
|
|
716
756
|
//#endregion
|
|
717
757
|
//#region src/Icon/Icon.tsx
|
|
@@ -729,7 +769,7 @@ const StyledIcon = require_src.styled("svg", {
|
|
|
729
769
|
]
|
|
730
770
|
})({ fill: "currentColor" });
|
|
731
771
|
function Icon({ name, color, size, ...rest }) {
|
|
732
|
-
const theme =
|
|
772
|
+
const theme = require_theme.useTheme();
|
|
733
773
|
const resolvedSize = size ?? theme.icon[require_themeDefault.themeDefault(theme, "iconSize", "lg")];
|
|
734
774
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledIcon, {
|
|
735
775
|
as: icons[name],
|
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-DN7IvJeV.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-D0x1ZMVG.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-bv8Z38l-.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-BVX_Jq2G.cjs";
|
|
2
|
+
import { m as Theme } from "./themes-BTGww2YK.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 { m as Theme } from "./themes-BTGww2YK.mjs";
|
|
2
|
+
import { r as index_d_exports } from "./index-B66h9kbP.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");
|