@soroush.tech/design-system 0.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/LICENSE +21 -0
- package/README.md +278 -0
- package/dist/AppBar.cjs +71 -0
- package/dist/AppBar.d.cts +23 -0
- package/dist/AppBar.d.mts +23 -0
- package/dist/AppBar.mjs +69 -0
- package/dist/Avatar.cjs +106 -0
- package/dist/Avatar.d.cts +28 -0
- package/dist/Avatar.d.mts +28 -0
- package/dist/Avatar.mjs +103 -0
- package/dist/Backdrop.cjs +26 -0
- package/dist/Backdrop.d.cts +10 -0
- package/dist/Backdrop.d.mts +10 -0
- package/dist/Backdrop.mjs +25 -0
- package/dist/Button.cjs +178 -0
- package/dist/Button.d.cts +2 -0
- package/dist/Button.d.mts +2 -0
- package/dist/Button.mjs +175 -0
- package/dist/ButtonGroup.cjs +110 -0
- package/dist/ButtonGroup.d.cts +2 -0
- package/dist/ButtonGroup.d.mts +2 -0
- package/dist/ButtonGroup.mjs +107 -0
- package/dist/ButtonGroupContext-DS-kl9lG.mjs +5 -0
- package/dist/ButtonGroupContext-NtkVeDVE.cjs +9 -0
- package/dist/Card.cjs +95 -0
- package/dist/Card.d.cts +18 -0
- package/dist/Card.d.mts +18 -0
- package/dist/Card.mjs +93 -0
- package/dist/Checkbox.cjs +192 -0
- package/dist/Checkbox.d.cts +2 -0
- package/dist/Checkbox.d.mts +2 -0
- package/dist/Checkbox.mjs +190 -0
- package/dist/CircularProgress.cjs +136 -0
- package/dist/CircularProgress.d.cts +34 -0
- package/dist/CircularProgress.d.mts +34 -0
- package/dist/CircularProgress.mjs +133 -0
- package/dist/CodeBlock.cjs +101 -0
- package/dist/CodeBlock.d.cts +2 -0
- package/dist/CodeBlock.d.mts +2 -0
- package/dist/CodeBlock.mjs +100 -0
- package/dist/Drawer.cjs +69 -0
- package/dist/Drawer.d.cts +22 -0
- package/dist/Drawer.d.mts +22 -0
- package/dist/Drawer.mjs +66 -0
- package/dist/Field.cjs +59 -0
- package/dist/Field.d.cts +36 -0
- package/dist/Field.d.mts +36 -0
- package/dist/Field.mjs +58 -0
- package/dist/Flex.cjs +21 -0
- package/dist/Flex.d.cts +2 -0
- package/dist/Flex.d.mts +2 -0
- package/dist/Flex.mjs +19 -0
- package/dist/FocusTrap.cjs +82 -0
- package/dist/FocusTrap.d.cts +24 -0
- package/dist/FocusTrap.d.mts +24 -0
- package/dist/FocusTrap.mjs +81 -0
- package/dist/Form.cjs +44 -0
- package/dist/Form.d.cts +41 -0
- package/dist/Form.d.mts +41 -0
- package/dist/Form.mjs +42 -0
- package/dist/FormContext-CRmRgDgu.cjs +10 -0
- package/dist/FormContext-_G3sxJyQ.mjs +6 -0
- package/dist/FormControl.cjs +84 -0
- package/dist/FormControl.d.cts +78 -0
- package/dist/FormControl.d.mts +78 -0
- package/dist/FormControl.mjs +81 -0
- package/dist/FormControlContext-CyxdOxdN.mjs +6 -0
- package/dist/FormControlContext-aeKTjRKY.cjs +10 -0
- package/dist/FormHelperText.cjs +40 -0
- package/dist/FormHelperText.d.cts +16 -0
- package/dist/FormHelperText.d.mts +16 -0
- package/dist/FormHelperText.mjs +39 -0
- package/dist/FormLabel.cjs +34 -0
- package/dist/FormLabel.d.cts +2 -0
- package/dist/FormLabel.d.mts +2 -0
- package/dist/FormLabel.mjs +33 -0
- package/dist/Grid.cjs +37 -0
- package/dist/Grid.d.cts +21 -0
- package/dist/Grid.d.mts +21 -0
- package/dist/Grid.mjs +32 -0
- package/dist/Icon-1YtNCUKo.cjs +755 -0
- package/dist/Icon-CAKRmFz3.mjs +742 -0
- package/dist/Icon.cjs +4 -0
- package/dist/Icon.d.cts +2 -0
- package/dist/Icon.d.mts +2 -0
- package/dist/Icon.mjs +2 -0
- package/dist/Image.cjs +82 -0
- package/dist/Image.d.cts +2 -0
- package/dist/Image.d.mts +2 -0
- package/dist/Image.mjs +80 -0
- package/dist/LinearProgress.cjs +217 -0
- package/dist/LinearProgress.d.cts +36 -0
- package/dist/LinearProgress.d.mts +36 -0
- package/dist/LinearProgress.mjs +214 -0
- package/dist/Link.cjs +64 -0
- package/dist/Link.d.cts +2 -0
- package/dist/Link.d.mts +2 -0
- package/dist/Link.mjs +62 -0
- package/dist/Markdown/Control.cjs +61 -0
- package/dist/Markdown/Control.d.cts +18 -0
- package/dist/Markdown/Control.d.mts +18 -0
- package/dist/Markdown/Control.mjs +60 -0
- package/dist/Markdown/Editor.cjs +130 -0
- package/dist/Markdown/Editor.d.cts +40 -0
- package/dist/Markdown/Editor.d.mts +40 -0
- package/dist/Markdown/Editor.mjs +128 -0
- package/dist/Markdown/Preview.cjs +241 -0
- package/dist/Markdown/Preview.d.cts +55 -0
- package/dist/Markdown/Preview.d.mts +55 -0
- package/dist/Markdown/Preview.mjs +236 -0
- package/dist/Markdown/Toolbar.cjs +4 -0
- package/dist/Markdown/Toolbar.d.cts +13 -0
- package/dist/Markdown/Toolbar.d.mts +13 -0
- package/dist/Markdown/Toolbar.mjs +2 -0
- package/dist/Markdown.cjs +13 -0
- package/dist/Markdown.d.cts +80 -0
- package/dist/Markdown.d.mts +80 -0
- package/dist/Markdown.mjs +6 -0
- package/dist/MarkdownContext-BN8A3W-J.mjs +11 -0
- package/dist/MarkdownContext-DSwjzpH8.cjs +22 -0
- package/dist/MenuItem.cjs +150 -0
- package/dist/MenuItem.d.cts +51 -0
- package/dist/MenuItem.d.mts +51 -0
- package/dist/MenuItem.mjs +147 -0
- package/dist/Modal-BDMPTSXv.cjs +351 -0
- package/dist/Modal-DR60peRg.mjs +327 -0
- package/dist/Modal.cjs +6 -0
- package/dist/Modal.d.cts +2 -0
- package/dist/Modal.d.mts +2 -0
- package/dist/Modal.mjs +2 -0
- package/dist/NativeSelect.cjs +189 -0
- package/dist/NativeSelect.d.cts +62 -0
- package/dist/NativeSelect.d.mts +62 -0
- package/dist/NativeSelect.mjs +186 -0
- package/dist/Pagination/PaginationItem.cjs +116 -0
- package/dist/Pagination/PaginationItem.d.cts +2 -0
- package/dist/Pagination/PaginationItem.d.mts +2 -0
- package/dist/Pagination/PaginationItem.mjs +114 -0
- package/dist/Pagination.cjs +134 -0
- package/dist/Pagination.d.cts +23 -0
- package/dist/Pagination.d.mts +23 -0
- package/dist/Pagination.mjs +130 -0
- package/dist/Paper.cjs +51 -0
- package/dist/Paper.d.cts +2 -0
- package/dist/Paper.d.mts +2 -0
- package/dist/Paper.mjs +48 -0
- package/dist/Popover-B61J7C79.mjs +252 -0
- package/dist/Popover-CRDLmywF.cjs +259 -0
- package/dist/Popover.cjs +3 -0
- package/dist/Popover.d.cts +84 -0
- package/dist/Popover.d.mts +84 -0
- package/dist/Popover.mjs +2 -0
- package/dist/Portal.cjs +20 -0
- package/dist/Portal.d.cts +18 -0
- package/dist/Portal.d.mts +18 -0
- package/dist/Portal.mjs +19 -0
- package/dist/Quote.cjs +11 -0
- package/dist/Quote.d.cts +2 -0
- package/dist/Quote.d.mts +2 -0
- package/dist/Quote.mjs +10 -0
- package/dist/Radio.cjs +143 -0
- package/dist/Radio.d.cts +38 -0
- package/dist/Radio.d.mts +38 -0
- package/dist/Radio.mjs +141 -0
- package/dist/Select.cjs +528 -0
- package/dist/Select.d.cts +68 -0
- package/dist/Select.d.mts +68 -0
- package/dist/Select.mjs +525 -0
- package/dist/Skeleton.cjs +82 -0
- package/dist/Skeleton.d.cts +21 -0
- package/dist/Skeleton.d.mts +21 -0
- package/dist/Skeleton.mjs +79 -0
- package/dist/Switch.cjs +332 -0
- package/dist/Switch.d.cts +40 -0
- package/dist/Switch.d.mts +40 -0
- package/dist/Switch.mjs +329 -0
- package/dist/Table/Table.cjs +65 -0
- package/dist/Table/Table.d.cts +2 -0
- package/dist/Table/Table.d.mts +2 -0
- package/dist/Table/Table.mjs +63 -0
- package/dist/Table/TableBody.cjs +42 -0
- package/dist/Table/TableBody.d.cts +2 -0
- package/dist/Table/TableBody.d.mts +2 -0
- package/dist/Table/TableBody.mjs +40 -0
- package/dist/Table/TableCell.cjs +93 -0
- package/dist/Table/TableCell.d.cts +2 -0
- package/dist/Table/TableCell.d.mts +2 -0
- package/dist/Table/TableCell.mjs +91 -0
- package/dist/Table/TableContainer.cjs +15 -0
- package/dist/Table/TableContainer.d.cts +2 -0
- package/dist/Table/TableContainer.d.mts +2 -0
- package/dist/Table/TableContainer.mjs +14 -0
- package/dist/Table/TableControl.cjs +42 -0
- package/dist/Table/TableControl.d.cts +2 -0
- package/dist/Table/TableControl.d.mts +2 -0
- package/dist/Table/TableControl.mjs +41 -0
- package/dist/Table/TableFooter.cjs +42 -0
- package/dist/Table/TableFooter.d.cts +2 -0
- package/dist/Table/TableFooter.d.mts +2 -0
- package/dist/Table/TableFooter.mjs +40 -0
- package/dist/Table/TableHead.cjs +42 -0
- package/dist/Table/TableHead.d.cts +2 -0
- package/dist/Table/TableHead.d.mts +2 -0
- package/dist/Table/TableHead.mjs +40 -0
- package/dist/Table/TablePagination.cjs +89 -0
- package/dist/Table/TablePagination.d.cts +2 -0
- package/dist/Table/TablePagination.d.mts +2 -0
- package/dist/Table/TablePagination.mjs +88 -0
- package/dist/Table/TablePaginationActions.cjs +65 -0
- package/dist/Table/TablePaginationActions.d.cts +2 -0
- package/dist/Table/TablePaginationActions.d.mts +2 -0
- package/dist/Table/TablePaginationActions.mjs +63 -0
- package/dist/Table/TableRow.cjs +56 -0
- package/dist/Table/TableRow.d.cts +2 -0
- package/dist/Table/TableRow.d.mts +2 -0
- package/dist/Table/TableRow.mjs +54 -0
- package/dist/Table/TableSortLabel.cjs +62 -0
- package/dist/Table/TableSortLabel.d.cts +2 -0
- package/dist/Table/TableSortLabel.d.mts +2 -0
- package/dist/Table/TableSortLabel.mjs +60 -0
- package/dist/Table/hooks.cjs +112 -0
- package/dist/Table/hooks.d.cts +3 -0
- package/dist/Table/hooks.d.mts +3 -0
- package/dist/Table/hooks.mjs +109 -0
- package/dist/Table.cjs +31 -0
- package/dist/Table.d.cts +16 -0
- package/dist/Table.d.mts +16 -0
- package/dist/Table.mjs +15 -0
- package/dist/TableContext-2qH7XYJB.d.cts +19 -0
- package/dist/TableContext-2qH7XYJB.d.mts +19 -0
- package/dist/TableContext-BRWPghAI.mjs +6 -0
- package/dist/TableContext-qqp35o8z.cjs +10 -0
- package/dist/TableSectionContext-meIG4lFZ.mjs +5 -0
- package/dist/TableSectionContext-pYlJ-duI.cjs +9 -0
- package/dist/TextInput-6o37Zddp.cjs +231 -0
- package/dist/TextInput-D_lHYJlL.mjs +224 -0
- package/dist/TextInput.cjs +3 -0
- package/dist/TextInput.d.cts +2 -0
- package/dist/TextInput.d.mts +2 -0
- package/dist/TextInput.mjs +2 -0
- package/dist/ThemeProvider.cjs +15 -0
- package/dist/ThemeProvider.d.cts +20 -0
- package/dist/ThemeProvider.d.mts +20 -0
- package/dist/ThemeProvider.mjs +14 -0
- package/dist/ToggleButton/ToggleButton.cjs +58 -0
- package/dist/ToggleButton/ToggleButton.d.cts +14 -0
- package/dist/ToggleButton/ToggleButton.d.mts +14 -0
- package/dist/ToggleButton/ToggleButton.mjs +56 -0
- package/dist/ToggleButton/ToggleButtonGroup.cjs +54 -0
- package/dist/ToggleButton/ToggleButtonGroup.d.cts +23 -0
- package/dist/ToggleButton/ToggleButtonGroup.d.mts +23 -0
- package/dist/ToggleButton/ToggleButtonGroup.mjs +52 -0
- package/dist/ToggleButton.cjs +7 -0
- package/dist/ToggleButton.d.cts +4 -0
- package/dist/ToggleButton.d.mts +4 -0
- package/dist/ToggleButton.mjs +4 -0
- package/dist/ToggleButtonGroupContext-CqD-Afho.d.cts +15 -0
- package/dist/ToggleButtonGroupContext-CqD-Afho.d.mts +15 -0
- package/dist/ToggleButtonGroupContext-DxIyy8ze.mjs +5 -0
- package/dist/ToggleButtonGroupContext-Ewc5Ixas.cjs +9 -0
- package/dist/Toolbar-B-W22Sk4.cjs +459 -0
- package/dist/Toolbar-KbR97iJS.mjs +448 -0
- package/dist/Typography.cjs +64 -0
- package/dist/Typography.d.cts +3 -0
- package/dist/Typography.d.mts +3 -0
- package/dist/Typography.mjs +61 -0
- package/dist/View.cjs +40 -0
- package/dist/View.d.cts +2 -0
- package/dist/View.d.mts +2 -0
- package/dist/View.mjs +38 -0
- package/dist/applyAction-B2B-hnP3.mjs +98 -0
- package/dist/applyAction-B2uVHxOE.cjs +103 -0
- package/dist/createTheme-Dts2F4R_.d.cts +21 -0
- package/dist/createTheme-Dts2F4R_.d.mts +21 -0
- package/dist/hooks/useCopyToClipboard.cjs +33 -0
- package/dist/hooks/useCopyToClipboard.d.cts +16 -0
- package/dist/hooks/useCopyToClipboard.d.mts +16 -0
- package/dist/hooks/useCopyToClipboard.mjs +31 -0
- package/dist/hooks.cjs +52 -0
- package/dist/hooks.d.cts +40 -0
- package/dist/hooks.d.mts +40 -0
- package/dist/hooks.mjs +41 -0
- package/dist/index-4rC2j7fR.d.cts +46 -0
- package/dist/index-8dzWTpFp.d.cts +24 -0
- package/dist/index-B1rCD6Oo.d.cts +17 -0
- package/dist/index-BH8jQOdF.d.mts +46 -0
- package/dist/index-BLRMuO_x.d.mts +24 -0
- package/dist/index-BLfFycfJ.d.mts +72 -0
- package/dist/index-BPrjvi7B.d.cts +13 -0
- package/dist/index-BX5-NfbX.d.cts +94 -0
- package/dist/index-Bihpwn75.d.cts +64 -0
- package/dist/index-BlfIbAMs.d.cts +45 -0
- package/dist/index-BnzUumAC2.d.mts +30 -0
- package/dist/index-BoqlPb3Z.d.mts +13 -0
- package/dist/index-BqVgv2B_.d.mts +42 -0
- package/dist/index-Bwi4kRpf.d.mts +79 -0
- package/dist/index-Bx24ZnOV.d.mts +43 -0
- package/dist/index-C-P_hipv.d.mts +21 -0
- package/dist/index-C0xMvDjL.d.mts +49 -0
- package/dist/index-C5_ciaeo.d.cts +79 -0
- package/dist/index-CDVnvjIE.d.cts +27 -0
- package/dist/index-CDcGTGR4.d.cts +21 -0
- package/dist/index-CEOZI-6L.d.mts +48 -0
- package/dist/index-CLU39rUS2.d.mts +30 -0
- package/dist/index-CM_KCTee.d.cts +48 -0
- package/dist/index-CT9uGKrs.d.cts +30 -0
- package/dist/index-CcYSvIJi.d.cts +21 -0
- package/dist/index-CdF_4ckE.d.mts +11 -0
- package/dist/index-CeYkEXU2.d.cts +68 -0
- package/dist/index-Cl_yBpzW2.d.mts +13 -0
- package/dist/index-Cv_UOfYx.d.mts +18 -0
- package/dist/index-CxSNNzBT2.d.mts +68 -0
- package/dist/index-CyZYXDn0.d.cts +42 -0
- package/dist/index-DASvoACZ.d.cts +49 -0
- package/dist/index-DBGE6yKw.d.mts +16 -0
- package/dist/index-DCQ2fsDu.d.mts +40 -0
- package/dist/index-DD2AVtiR.d.cts +16 -0
- package/dist/index-DE5PtzPn.d.mts +27 -0
- package/dist/index-DOPXpr2J.d.cts +43 -0
- package/dist/index-DSCMXFTn.d.cts +30 -0
- package/dist/index-DTkQSXQD.d.cts +11 -0
- package/dist/index-DeJWkpf9.d.cts +16 -0
- package/dist/index-DeiZHSwA.d.cts +12 -0
- package/dist/index-Des8BisQ.d.mts +12 -0
- package/dist/index-Dg8-CPOO.d.cts +18 -0
- package/dist/index-DgRS5Aqv.d.mts +16 -0
- package/dist/index-Dm9HfgV6.d.mts +63 -0
- package/dist/index-DmJIuQJj.d.mts +24 -0
- package/dist/index-Dp81rWM1.d.cts +72 -0
- package/dist/index-Dtzj8X58.d.cts +40 -0
- package/dist/index-DvW2eETV.d.mts +21 -0
- package/dist/index-Dy03o__A.d.mts +94 -0
- package/dist/index-FwTocqhP.d.cts +34 -0
- package/dist/index-GVsFY00r.d.cts +21 -0
- package/dist/index-Nqco3fsM.d.cts +13 -0
- package/dist/index-g-9DZ_KQ.d.cts +28 -0
- package/dist/index-g9EThkSg.d.mts +21 -0
- package/dist/index-kpk9e3xM2.d.mts +45 -0
- package/dist/index-pX7tBQdJ.d.mts +34 -0
- package/dist/index-u57CbuAU2.d.mts +28 -0
- package/dist/index-x80UG39F.d.cts +24 -0
- package/dist/index-z35LEYG8.d.mts +17 -0
- package/dist/index.cjs +68 -0
- package/dist/index.d.cts +4 -0
- package/dist/index.d.mts +4 -0
- package/dist/index.mjs +3 -0
- package/dist/inputVariantStyles-BBkkYQtE.cjs +32 -0
- package/dist/inputVariantStyles-CcqpGfuP.mjs +28 -0
- package/dist/rolldown-runtime-BBjsoOtd.mjs +27 -0
- package/dist/rolldown-runtime-DDXJien1.cjs +50 -0
- package/dist/src-BiocWFSR.cjs +60 -0
- package/dist/src-DcNT2aIK.mjs +49 -0
- package/dist/themeDefault-B-QjpGEO.cjs +16 -0
- package/dist/themeDefault-CjXaY3ok.mjs +11 -0
- package/dist/themes-D1SAp3SL.d.mts +500 -0
- package/dist/themes-D81JYbqm.d.cts +500 -0
- package/dist/themes.cjs +318 -0
- package/dist/themes.d.cts +3 -0
- package/dist/themes.d.mts +3 -0
- package/dist/themes.mjs +303 -0
- package/dist/useDefaultProps-Cb-5FNok.cjs +19 -0
- package/dist/useDefaultProps-CoApb4KT.mjs +14 -0
- package/dist/useTableSort--XMWjujs.d.cts +51 -0
- package/dist/useTableSort-CpDs4cGq.d.mts +51 -0
- package/dist/utils/styleCache.cjs +7 -0
- package/dist/utils/styleCache.d.cts +3 -0
- package/dist/utils/styleCache.d.mts +4 -0
- package/dist/utils/styleCache.mjs +5 -0
- package/dist/utils.cjs +65 -0
- package/dist/utils.d.cts +39 -0
- package/dist/utils.d.mts +39 -0
- package/dist/utils.mjs +58 -0
- package/package.json +125 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { s as ViewProps } from "./index-pX7tBQdJ.mjs";
|
|
2
|
+
//#region src/Table/TableContainer/TableContainer.d.ts
|
|
3
|
+
type TableContainerProps = ViewProps;
|
|
4
|
+
/**
|
|
5
|
+
* Scroll wrapper for `Table` — wide tables scroll horizontally inside it
|
|
6
|
+
* instead of breaking the page layout. Give it a bounded height to make
|
|
7
|
+
* `Table`'s `hasStickyHeader` stick.
|
|
8
|
+
*/
|
|
9
|
+
declare const TableContainer: import("@emotion/styled").StyledComponent<Pick<{
|
|
10
|
+
theme?: import("@emotion/react").Theme;
|
|
11
|
+
as?: React.ElementType;
|
|
12
|
+
} & ViewProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, "p" | "slot" | "style" | "title" | "ref" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "aspectRatio" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "cursor" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textAlignLast" | "textDecorationColor" | "textDecorationLine" | "textDecorationStyle" | "textDecorationThickness" | "textTransform" | "top" | "verticalAlign" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "margin" | "overflow" | "padding" | "textDecoration" | "borderX" | "borderY" | "theme" | "as" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "size"> & {
|
|
13
|
+
theme?: import("@emotion/react").Theme;
|
|
14
|
+
} & ViewProps, {}, {}>;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { TableContainerProps as n, TableContainer as t };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import "./useTableSort-CpDs4cGq.mjs";
|
|
2
|
+
//#region src/Table/hooks/useTableSelection.d.ts
|
|
3
|
+
/** Header select-all state — spreads directly onto `Checkbox`. */
|
|
4
|
+
interface TableSelectionAllProps {
|
|
5
|
+
checked: boolean;
|
|
6
|
+
indeterminate: boolean;
|
|
7
|
+
/** All selected → clears; otherwise selects every key. */
|
|
8
|
+
onChange: () => void;
|
|
9
|
+
}
|
|
10
|
+
/** One row's selection state — spreads directly onto `Checkbox`. */
|
|
11
|
+
interface TableSelectionRowProps {
|
|
12
|
+
checked: boolean;
|
|
13
|
+
/** Toggles this key in and out of the selection. */
|
|
14
|
+
onChange: () => void;
|
|
15
|
+
}
|
|
16
|
+
interface TableSelection<K extends string | number> {
|
|
17
|
+
/** Currently selected keys. */
|
|
18
|
+
selected: K[];
|
|
19
|
+
isSelected: (key: K) => boolean;
|
|
20
|
+
/** Spread onto the header select-all `Checkbox`. */
|
|
21
|
+
all: TableSelectionAllProps;
|
|
22
|
+
/** Spread onto a row's `Checkbox`. */
|
|
23
|
+
row: (key: K) => TableSelectionRowProps;
|
|
24
|
+
clear: () => void;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Key-based row selection that survives paging and re-sorting — selection is
|
|
28
|
+
* stored as row identities, and the select-all/indeterminate state is computed
|
|
29
|
+
* against the full `keys` list rather than the visible slice.
|
|
30
|
+
*
|
|
31
|
+
* ```tsx
|
|
32
|
+
* const selection = useTableSelection(services.map((s) => s.service))
|
|
33
|
+
* <Checkbox {...selection.all} aria-label="Select all" />
|
|
34
|
+
* <Checkbox {...selection.row(row.service)} aria-label={`Select ${row.service}`} />
|
|
35
|
+
* <TableRow isSelected={selection.isSelected(row.service)}>…</TableRow>
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
declare function useTableSelection<K extends string | number>(keys: readonly K[], onChange?: (selected: K[]) => void): TableSelection<K>;
|
|
39
|
+
//#endregion
|
|
40
|
+
export { useTableSelection as i, TableSelectionAllProps as n, TableSelectionRowProps as r, TableSelection as t };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { l as index_d_exports, o as Theme } from "./index-Bihpwn75.cjs";
|
|
2
|
+
import { CSSProperties, ImgHTMLAttributes } from "react";
|
|
3
|
+
//#region src/Image/Image.d.ts
|
|
4
|
+
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 {
|
|
5
|
+
/** Fallback image URL tried when src (or srcSet) fails to load. */
|
|
6
|
+
fallback?: string;
|
|
7
|
+
objectFit?: CSSProperties['objectFit'];
|
|
8
|
+
objectPosition?: CSSProperties['objectPosition'];
|
|
9
|
+
/** Corner radius — resolves against `theme.radii`. */
|
|
10
|
+
borderRadius?: keyof Theme['radii'];
|
|
11
|
+
/** Called once when all image sources are exhausted. */
|
|
12
|
+
onError?: () => void;
|
|
13
|
+
}
|
|
14
|
+
declare function Image({ src, srcSet, fallback, alt, onError, ...rest }: Readonly<ImageProps>): import("react").JSX.Element;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { ImageProps as n, Image as t };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { l as index_d_exports, o as Theme } from "./index-Dm9HfgV6.mjs";
|
|
2
|
+
import { F as TypographyVariant } from "./themes-D1SAp3SL.mjs";
|
|
3
|
+
import { CSSProperties, ElementType, HTMLAttributes } from "react";
|
|
4
|
+
//#region src/Typography/Typography.d.ts
|
|
5
|
+
type TypographyAlign = 'left' | 'right' | 'center' | 'justify' | 'inherit';
|
|
6
|
+
/** Valid values for the color prop — derived from theme.text keys. */
|
|
7
|
+
type TextColorToken = keyof Theme['text'];
|
|
8
|
+
/** Valid values for the bg prop — derived from theme.background keys. */
|
|
9
|
+
type BackgroundToken = keyof Theme['background'];
|
|
10
|
+
interface TypographyProps extends Omit<HTMLAttributes<HTMLElement>, 'color'>, index_d_exports.SpaceProps<Theme>, index_d_exports.LayoutProps<Theme>, index_d_exports.TypographyProps<Theme>, index_d_exports.FlexboxProps<Theme>, index_d_exports.BorderProps<Theme>, index_d_exports.PositionProps<Theme> {
|
|
11
|
+
/** Resolves against theme.text — inherit · initial · primary · secondary · error · success */
|
|
12
|
+
color?: TextColorToken;
|
|
13
|
+
/** Resolves against theme.background */
|
|
14
|
+
bg?: BackgroundToken;
|
|
15
|
+
opacity?: number;
|
|
16
|
+
textTransform?: CSSProperties['textTransform'];
|
|
17
|
+
variant?: TypographyVariant;
|
|
18
|
+
align?: TypographyAlign;
|
|
19
|
+
gutterBottom?: boolean;
|
|
20
|
+
noWrap?: boolean;
|
|
21
|
+
/** Machine-readable timestamp — forwarded when rendering as `<time>` (`as="time"`). */
|
|
22
|
+
dateTime?: string;
|
|
23
|
+
as?: ElementType;
|
|
24
|
+
}
|
|
25
|
+
declare function Typography({ variant, as, ...rest }: Readonly<TypographyProps>): import("react").JSX.Element;
|
|
26
|
+
//#endregion
|
|
27
|
+
export { TypographyProps as a, TypographyAlign as i, TextColorToken as n, Typography as r, BackgroundToken as t };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { l as index_d_exports, o as Theme } from "./index-Bihpwn75.cjs";
|
|
2
|
+
import { l as PaletteColor } from "./themes-D81JYbqm.cjs";
|
|
3
|
+
import { ChangeEvent, ReactNode } from "react";
|
|
4
|
+
//#region src/Checkbox/Checkbox.d.ts
|
|
5
|
+
type CheckboxColor = PaletteColor;
|
|
6
|
+
type CheckboxSize = keyof Theme['sizes'];
|
|
7
|
+
interface CheckboxProps extends index_d_exports.SpaceProps<Theme> {
|
|
8
|
+
/** Controlled checked state. */
|
|
9
|
+
checked?: boolean;
|
|
10
|
+
/** Initial checked state for uncontrolled usage. */
|
|
11
|
+
defaultChecked?: boolean;
|
|
12
|
+
/** Disables the checkbox. */
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
/** Stroke/fill color. `'default'` resolves to `theme.text.secondary`. Default: `'default'`. */
|
|
15
|
+
color?: CheckboxColor;
|
|
16
|
+
/** Icon size. Default: `'medium'`. */
|
|
17
|
+
size?: CheckboxSize;
|
|
18
|
+
/** Stretches the root to `width: 100%`. Default: `false`. */
|
|
19
|
+
fullWidth?: boolean;
|
|
20
|
+
/** Displays the indeterminate state (dash icon). Takes priority over `checked`. */
|
|
21
|
+
indeterminate?: boolean;
|
|
22
|
+
/** Custom icon for the unchecked state. */
|
|
23
|
+
icon?: ReactNode;
|
|
24
|
+
/** Custom icon for the checked state. */
|
|
25
|
+
checkedIcon?: ReactNode;
|
|
26
|
+
/** Called when the user toggles the checkbox. */
|
|
27
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
28
|
+
/** Forwarded to the underlying `<input>` for label association. */
|
|
29
|
+
id?: string;
|
|
30
|
+
/** Marks the field as required in a form. */
|
|
31
|
+
required?: boolean;
|
|
32
|
+
name?: string;
|
|
33
|
+
value?: string | number | readonly string[];
|
|
34
|
+
children?: ReactNode;
|
|
35
|
+
className?: string;
|
|
36
|
+
'aria-label'?: string;
|
|
37
|
+
'aria-labelledby'?: string;
|
|
38
|
+
'aria-describedby'?: string;
|
|
39
|
+
'data-testid'?: string;
|
|
40
|
+
}
|
|
41
|
+
declare function Checkbox({ checked, defaultChecked, disabled: disabledProp, color: colorProp, size: sizeProp, fullWidth: fullWidthProp, indeterminate, icon, checkedIcon, onChange, id: idProp, required: requiredProp, name, value, children, className, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, 'data-testid': dataTestid, ...spaceProps }: Readonly<CheckboxProps>): import("react").JSX.Element;
|
|
42
|
+
//#endregion
|
|
43
|
+
export { CheckboxSize as i, CheckboxColor as n, CheckboxProps as r, Checkbox as t };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { a as PaginationItemSize } from "./index-CeYkEXU2.cjs";
|
|
2
|
+
import { HTMLAttributes } from "react";
|
|
3
|
+
//#region src/Table/TablePaginationActions/TablePaginationActions.d.ts
|
|
4
|
+
type TablePaginationActionType = 'first' | 'previous' | 'next' | 'last';
|
|
5
|
+
interface TablePaginationActionsProps extends HTMLAttributes<HTMLDivElement> {
|
|
6
|
+
/** Total number of rows; `-1` = unknown (server-side pagination). */
|
|
7
|
+
count: number;
|
|
8
|
+
/** Zero-based current page. */
|
|
9
|
+
page: number;
|
|
10
|
+
/** Rows per page; `-1` = all rows. */
|
|
11
|
+
rowsPerPage: number;
|
|
12
|
+
/** Fired with the target zero-based page. */
|
|
13
|
+
onPageChange: (page: number) => void;
|
|
14
|
+
/** Accessible name per nav button — important for screen readers. */
|
|
15
|
+
getItemAriaLabel: (type: TablePaginationActionType) => string;
|
|
16
|
+
/** Disables all buttons. Default: `false`. */
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
shouldShowFirstButton?: boolean;
|
|
19
|
+
shouldShowLastButton?: boolean;
|
|
20
|
+
/** Button density — resolves against `theme.sizes`. Default: `'sm'`. */
|
|
21
|
+
size?: PaginationItemSize;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* The first / previous / next / last button cluster inside `TablePagination`.
|
|
25
|
+
* Composes `PaginationItem`'s nav types; boundary state is derived from
|
|
26
|
+
* `count` / `page` / `rowsPerPage`.
|
|
27
|
+
*/
|
|
28
|
+
declare function TablePaginationActions({ count, page, rowsPerPage, onPageChange, getItemAriaLabel, disabled, shouldShowFirstButton, shouldShowLastButton, size: sizeProp, ...rest }: Readonly<TablePaginationActionsProps>): import("react").JSX.Element;
|
|
29
|
+
//#endregion
|
|
30
|
+
export { TablePaginationActions as n, TablePaginationActionsProps as r, TablePaginationActionType as t };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { a as TypographyProps } from "./index-CDVnvjIE.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
|
+
gap?: number | string;
|
|
8
|
+
}
|
|
9
|
+
declare function Link({ underline: underlineProp, color, variant, target, rel, ...rest }: Readonly<LinkProps>): import("react").JSX.Element;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { LinkProps as n, LinkUnderline as r, Link as t };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { s as ViewProps } from "./index-FwTocqhP.cjs";
|
|
2
|
+
//#region src/Table/TableContainer/TableContainer.d.ts
|
|
3
|
+
type TableContainerProps = ViewProps;
|
|
4
|
+
/**
|
|
5
|
+
* Scroll wrapper for `Table` — wide tables scroll horizontally inside it
|
|
6
|
+
* instead of breaking the page layout. Give it a bounded height to make
|
|
7
|
+
* `Table`'s `hasStickyHeader` stick.
|
|
8
|
+
*/
|
|
9
|
+
declare const TableContainer: import("@emotion/styled").StyledComponent<Pick<{
|
|
10
|
+
theme?: import("@emotion/react").Theme;
|
|
11
|
+
as?: React.ElementType;
|
|
12
|
+
} & ViewProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, "p" | "slot" | "style" | "title" | "ref" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "aspectRatio" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "cursor" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textAlignLast" | "textDecorationColor" | "textDecorationLine" | "textDecorationStyle" | "textDecorationThickness" | "textTransform" | "top" | "verticalAlign" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "margin" | "overflow" | "padding" | "textDecoration" | "borderX" | "borderY" | "theme" | "as" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "size"> & {
|
|
13
|
+
theme?: import("@emotion/react").Theme;
|
|
14
|
+
} & ViewProps, {}, {}>;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { TableContainerProps as n, TableContainer as t };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { s as ViewProps } from "./index-FwTocqhP.cjs";
|
|
2
|
+
//#region src/Quote/Quote.d.ts
|
|
3
|
+
type QuoteProps = ViewProps;
|
|
4
|
+
/** A View with a 2px primary left-border — used for terminal readouts and markdown blockquotes. */
|
|
5
|
+
declare const Quote: import("@emotion/styled").StyledComponent<Pick<{
|
|
6
|
+
theme?: import("@emotion/react").Theme;
|
|
7
|
+
as?: React.ElementType;
|
|
8
|
+
} & ViewProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, "p" | "slot" | "style" | "title" | "ref" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "aspectRatio" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "cursor" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textAlignLast" | "textDecorationColor" | "textDecorationLine" | "textDecorationStyle" | "textDecorationThickness" | "textTransform" | "top" | "verticalAlign" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "margin" | "overflow" | "padding" | "textDecoration" | "borderX" | "borderY" | "theme" | "as" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "size"> & {
|
|
9
|
+
theme?: import("@emotion/react").Theme;
|
|
10
|
+
}, {}, {}>;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { QuoteProps as n, Quote as t };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { s as ViewProps } from "./index-pX7tBQdJ.mjs";
|
|
2
|
+
//#region src/Quote/Quote.d.ts
|
|
3
|
+
type QuoteProps = ViewProps;
|
|
4
|
+
/** A View with a 2px primary left-border — used for terminal readouts and markdown blockquotes. */
|
|
5
|
+
declare const Quote: import("@emotion/styled").StyledComponent<Pick<{
|
|
6
|
+
theme?: import("@emotion/react").Theme;
|
|
7
|
+
as?: React.ElementType;
|
|
8
|
+
} & ViewProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, "p" | "slot" | "style" | "title" | "ref" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "aspectRatio" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "cursor" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textAlignLast" | "textDecorationColor" | "textDecorationLine" | "textDecorationStyle" | "textDecorationThickness" | "textTransform" | "top" | "verticalAlign" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "margin" | "overflow" | "padding" | "textDecoration" | "borderX" | "borderY" | "theme" | "as" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "size"> & {
|
|
9
|
+
theme?: import("@emotion/react").Theme;
|
|
10
|
+
}, {}, {}>;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { QuoteProps as n, Quote as t };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { a as TypographyProps } from "./index-CDVnvjIE.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
|
|
18
|
+
export { FormLabelProps as n, FormLabel as t };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { l as index_d_exports, o as Theme } from "./index-Dm9HfgV6.mjs";
|
|
2
|
+
import { CSSProperties, ImgHTMLAttributes } from "react";
|
|
3
|
+
//#region src/Image/Image.d.ts
|
|
4
|
+
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 {
|
|
5
|
+
/** Fallback image URL tried when src (or srcSet) fails to load. */
|
|
6
|
+
fallback?: string;
|
|
7
|
+
objectFit?: CSSProperties['objectFit'];
|
|
8
|
+
objectPosition?: CSSProperties['objectPosition'];
|
|
9
|
+
/** Corner radius — resolves against `theme.radii`. */
|
|
10
|
+
borderRadius?: keyof Theme['radii'];
|
|
11
|
+
/** Called once when all image sources are exhausted. */
|
|
12
|
+
onError?: () => void;
|
|
13
|
+
}
|
|
14
|
+
declare function Image({ src, srcSet, fallback, alt, onError, ...rest }: Readonly<ImageProps>): import("react").JSX.Element;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { ImageProps as n, Image as t };
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { l as PaletteColor } from "./themes-D1SAp3SL.mjs";
|
|
2
|
+
import { CreateStyled, CreateStyledComponent, FilteringStyledOptions, Interpolation, StyledOptions } from "@emotion/styled";
|
|
3
|
+
import { CSSObject as CSSObject$1, CacheProvider, Global, PropsOf, Theme, Theme as Theme$1, ThemeContext as EmotionThemeContext, ThemeProvider as EmotionThemeProvider, css, keyframes, useTheme } from "@emotion/react";
|
|
4
|
+
import { createShouldForwardProp, props } from "@soroush.tech/styled-system/should-forward-prop";
|
|
5
|
+
import { ComponentClass, ComponentProps, ComponentType, JSX, Ref } from "react";
|
|
6
|
+
//#region src/styled.d.ts
|
|
7
|
+
/**
|
|
8
|
+
* Design-system additions to Emotion's styled options. A styled root that passes
|
|
9
|
+
* `name` becomes theme-customizable: `theme.components[name]` may contribute
|
|
10
|
+
* `styleOverrides` (per `slot`) and `variants`, appended after the component's
|
|
11
|
+
* own styles so the theme wins the cascade. Roots without `name` are plain
|
|
12
|
+
* Emotion — zero behavior change, zero cost.
|
|
13
|
+
*/
|
|
14
|
+
interface ThemeCustomizationOptions {
|
|
15
|
+
/** `theme.components` key enabling styleOverrides/variants for this root. */
|
|
16
|
+
name?: string;
|
|
17
|
+
/** The `styleOverrides` slot this root maps to. Default: `'root'`. */
|
|
18
|
+
slot?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Styled-system prop parsers (`space`, `layout`, …) appended AFTER the theme
|
|
21
|
+
* override resolver, so per-instance props (`m`, `p`, `width`, …) always beat
|
|
22
|
+
* theme `styleOverrides`.
|
|
23
|
+
*/
|
|
24
|
+
systemProps?: ReadonlyArray<Interpolation<never>>;
|
|
25
|
+
/**
|
|
26
|
+
* Custom mapping from render props to applied override styles — replaces the
|
|
27
|
+
* default `styleOverrides[slot]` lookup (for prop-keyed override keys).
|
|
28
|
+
*/
|
|
29
|
+
overridesResolver?: (props: Record<string, unknown>, styleOverrides: Record<string, unknown>) => unknown;
|
|
30
|
+
}
|
|
31
|
+
/** Overloads mirroring Emotion's, with the theme-customization options added. */
|
|
32
|
+
interface CreateThemedStyled extends CreateStyled {
|
|
33
|
+
<C extends ComponentClass<ComponentProps<C>>, ForwardedProps extends keyof ComponentProps<C> & string = keyof ComponentProps<C> & string>(component: C, options: FilteringStyledOptions<ComponentProps<C>, ForwardedProps> & ThemeCustomizationOptions): CreateStyledComponent<Pick<PropsOf<C>, ForwardedProps> & {
|
|
34
|
+
theme?: Theme;
|
|
35
|
+
}, {}, {
|
|
36
|
+
ref?: Ref<InstanceType<C>>;
|
|
37
|
+
}>;
|
|
38
|
+
<C extends ComponentType<ComponentProps<C>>, ForwardedProps extends keyof ComponentProps<C> & string = keyof ComponentProps<C> & string>(component: C, options: FilteringStyledOptions<ComponentProps<C>, ForwardedProps> & ThemeCustomizationOptions): CreateStyledComponent<Pick<PropsOf<C>, ForwardedProps> & {
|
|
39
|
+
theme?: Theme;
|
|
40
|
+
}>;
|
|
41
|
+
<C extends ComponentType<ComponentProps<C>>>(component: C, options?: StyledOptions<ComponentProps<C>> & ThemeCustomizationOptions): CreateStyledComponent<PropsOf<C> & {
|
|
42
|
+
theme?: Theme;
|
|
43
|
+
}>;
|
|
44
|
+
<Tag extends keyof JSX.IntrinsicElements, ForwardedProps extends keyof JSX.IntrinsicElements[Tag] & string = keyof JSX.IntrinsicElements[Tag] & string>(tag: Tag, options: FilteringStyledOptions<JSX.IntrinsicElements[Tag], ForwardedProps> & ThemeCustomizationOptions): CreateStyledComponent<{
|
|
45
|
+
theme?: Theme;
|
|
46
|
+
as?: React.ElementType;
|
|
47
|
+
}, Pick<JSX.IntrinsicElements[Tag], ForwardedProps>>;
|
|
48
|
+
<Tag extends keyof JSX.IntrinsicElements>(tag: Tag, options?: StyledOptions<JSX.IntrinsicElements[Tag]> & ThemeCustomizationOptions): CreateStyledComponent<{
|
|
49
|
+
theme?: Theme;
|
|
50
|
+
as?: React.ElementType;
|
|
51
|
+
}, JSX.IntrinsicElements[Tag]>;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* The design system's `styled` — Emotion's styled plus theme-level component
|
|
55
|
+
* customization (`theme.components[name].styleOverrides` / `.variants`).
|
|
56
|
+
*/
|
|
57
|
+
declare const styled: CreateThemedStyled;
|
|
58
|
+
declare namespace index_d_exports {
|
|
59
|
+
export { CSSObject$1 as CSSObject, CacheProvider, EmotionThemeContext, EmotionThemeProvider, Global, PaletteColor, Theme$1 as Theme, ThemeCustomizationOptions, createShouldForwardProp, css, keyframes, props, styled, useTheme };
|
|
60
|
+
}
|
|
61
|
+
import * as import__soroush_tech_styled_system from "@soroush.tech/styled-system";
|
|
62
|
+
//#endregion
|
|
63
|
+
export { Global as a, css as c, props as d, useTheme as f, EmotionThemeProvider as i, index_d_exports as l, styled as m, CacheProvider as n, Theme$1 as o, ThemeCustomizationOptions as p, EmotionThemeContext as r, createShouldForwardProp as s, CSSObject$1 as t, keyframes as u };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { l as index_d_exports, o as Theme } from "./index-Dm9HfgV6.mjs";
|
|
2
|
+
import { n as IconProps, r as IconName } from "./index-BLfFycfJ.mjs";
|
|
3
|
+
import { ButtonHTMLAttributes } from "react";
|
|
4
|
+
//#region src/Table/TableSortLabel/TableSortLabel.d.ts
|
|
5
|
+
type TableSortLabelDirection = 'asc' | 'desc';
|
|
6
|
+
interface TableSortLabelProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'color'>, index_d_exports.SpaceProps<Theme> {
|
|
7
|
+
/** Marks the currently-sorted column — shows the icon fully opaque. Default: `false`. */
|
|
8
|
+
isActive?: boolean;
|
|
9
|
+
/** Current sort direction — rotates the arrow. Default: `'asc'`. */
|
|
10
|
+
direction?: TableSortLabelDirection;
|
|
11
|
+
/**
|
|
12
|
+
* Hides the inactive sort icon, revealing it on hover/focus. Set `false` to
|
|
13
|
+
* keep it always visible (dimmed while inactive). Inherited from the
|
|
14
|
+
* enclosing `Table`'s `shouldHideSortIcon` via `TableContext`. Default: `true`.
|
|
15
|
+
*/
|
|
16
|
+
shouldHideSortIcon?: boolean;
|
|
17
|
+
/** Sort arrow icon. Default: `'arrow_upward'`. */
|
|
18
|
+
iconName?: IconName;
|
|
19
|
+
/** Extra props for the sort arrow icon. */
|
|
20
|
+
iconProps?: Omit<IconProps, 'name'>;
|
|
21
|
+
}
|
|
22
|
+
declare function TableSortLabel({ isActive, direction, shouldHideSortIcon, iconName, iconProps, type, children, ...rest }: Readonly<TableSortLabelProps>): import("react").JSX.Element;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { TableSortLabelDirection as n, TableSortLabelProps as r, TableSortLabel as t };
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { l as index_d_exports } from "./index-Bihpwn75.cjs";
|
|
2
|
+
import { n as TextColorToken } from "./index-CDVnvjIE.cjs";
|
|
3
|
+
import { SVGProps } from "react";
|
|
4
|
+
//#region src/Icon/icons.d.ts
|
|
5
|
+
/** Registry of available icons, keyed by their asset file name. */
|
|
6
|
+
declare const icons: {
|
|
7
|
+
readonly account_tree: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
8
|
+
readonly ads_click: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
9
|
+
readonly analytics: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
10
|
+
readonly architecture: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
11
|
+
readonly arrow_back: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
12
|
+
readonly arrow_forward: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
13
|
+
readonly arrow_upward: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
14
|
+
readonly check: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
15
|
+
readonly chevron_left: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
16
|
+
readonly chevron_right: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
17
|
+
readonly checklist: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
18
|
+
readonly cloud_done: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
19
|
+
readonly close: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
20
|
+
readonly code: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
21
|
+
readonly content_copy: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
22
|
+
readonly cookie: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
23
|
+
readonly database: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
24
|
+
readonly desktop_windows: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
25
|
+
readonly dns: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
26
|
+
readonly expand_less: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
27
|
+
readonly expand_more: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
28
|
+
readonly external_link: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
29
|
+
readonly first_page: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
30
|
+
readonly format_list_bulleted: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
31
|
+
readonly format_list_numbered: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
32
|
+
readonly format_quote: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
33
|
+
readonly grid_view: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
34
|
+
readonly groups: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
35
|
+
readonly hub: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
36
|
+
readonly image: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
37
|
+
readonly language: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
38
|
+
readonly last_page: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
39
|
+
readonly link: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
40
|
+
readonly lock: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
41
|
+
readonly menu: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
42
|
+
readonly neurology: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
43
|
+
readonly psychology: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
44
|
+
readonly rebase_edit: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
45
|
+
readonly schema: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
46
|
+
readonly security: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
47
|
+
readonly settings_input_component: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
48
|
+
readonly smart_toy: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
49
|
+
readonly smartphone: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
50
|
+
readonly speed: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
51
|
+
readonly stacks: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
52
|
+
readonly table: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
53
|
+
readonly terminal: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
54
|
+
readonly visibility: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
55
|
+
readonly warning: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
56
|
+
readonly web_asset: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
57
|
+
};
|
|
58
|
+
/** Valid values for the Icon `name` prop — derived from the registry keys. */
|
|
59
|
+
type IconName = keyof typeof icons;
|
|
60
|
+
//#endregion
|
|
61
|
+
//#region src/Icon/Icon.d.ts
|
|
62
|
+
interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'color' | 'ref' | 'width' | 'height' | 'display' | 'overflow'>, index_d_exports.LayoutProps, index_d_exports.SpaceProps {
|
|
63
|
+
/** Registry key of the icon to render. */
|
|
64
|
+
name: IconName;
|
|
65
|
+
/** Resolves against theme.text — applied as `color`, which the SVG inherits via `currentColor`. */
|
|
66
|
+
color?: TextColorToken;
|
|
67
|
+
/** Sets both width and height (icons are square). */
|
|
68
|
+
size?: string | number;
|
|
69
|
+
}
|
|
70
|
+
declare function Icon({ name, color, size, ...rest }: Readonly<IconProps>): import("react").JSX.Element;
|
|
71
|
+
//#endregion
|
|
72
|
+
export { icons as i, IconProps as n, IconName as r, Icon as t };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import "./useTableSort--XMWjujs.cjs";
|
|
2
|
+
//#region src/Table/hooks/useTableSelection.d.ts
|
|
3
|
+
/** Header select-all state — spreads directly onto `Checkbox`. */
|
|
4
|
+
interface TableSelectionAllProps {
|
|
5
|
+
checked: boolean;
|
|
6
|
+
indeterminate: boolean;
|
|
7
|
+
/** All selected → clears; otherwise selects every key. */
|
|
8
|
+
onChange: () => void;
|
|
9
|
+
}
|
|
10
|
+
/** One row's selection state — spreads directly onto `Checkbox`. */
|
|
11
|
+
interface TableSelectionRowProps {
|
|
12
|
+
checked: boolean;
|
|
13
|
+
/** Toggles this key in and out of the selection. */
|
|
14
|
+
onChange: () => void;
|
|
15
|
+
}
|
|
16
|
+
interface TableSelection<K extends string | number> {
|
|
17
|
+
/** Currently selected keys. */
|
|
18
|
+
selected: K[];
|
|
19
|
+
isSelected: (key: K) => boolean;
|
|
20
|
+
/** Spread onto the header select-all `Checkbox`. */
|
|
21
|
+
all: TableSelectionAllProps;
|
|
22
|
+
/** Spread onto a row's `Checkbox`. */
|
|
23
|
+
row: (key: K) => TableSelectionRowProps;
|
|
24
|
+
clear: () => void;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Key-based row selection that survives paging and re-sorting — selection is
|
|
28
|
+
* stored as row identities, and the select-all/indeterminate state is computed
|
|
29
|
+
* against the full `keys` list rather than the visible slice.
|
|
30
|
+
*
|
|
31
|
+
* ```tsx
|
|
32
|
+
* const selection = useTableSelection(services.map((s) => s.service))
|
|
33
|
+
* <Checkbox {...selection.all} aria-label="Select all" />
|
|
34
|
+
* <Checkbox {...selection.row(row.service)} aria-label={`Select ${row.service}`} />
|
|
35
|
+
* <TableRow isSelected={selection.isSelected(row.service)}>…</TableRow>
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
declare function useTableSelection<K extends string | number>(keys: readonly K[], onChange?: (selected: K[]) => void): TableSelection<K>;
|
|
39
|
+
//#endregion
|
|
40
|
+
export { useTableSelection as i, TableSelectionAllProps as n, TableSelectionRowProps as r, TableSelection as t };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { l as index_d_exports, o as Theme } from "./index-Dm9HfgV6.mjs";
|
|
2
|
+
import { ElementType, HTMLAttributes } from "react";
|
|
3
|
+
//#region src/Table/TableHead/TableHead.d.ts
|
|
4
|
+
/** Valid values for the color prop — derived from theme.text keys. */
|
|
5
|
+
type TableHeadColorToken = keyof Theme['text'];
|
|
6
|
+
/** Valid values for the bg prop — derived from theme.background keys. */
|
|
7
|
+
type TableHeadBackgroundToken = keyof Theme['background'];
|
|
8
|
+
/** Valid values for the borderColor prop — derived from theme.border keys. */
|
|
9
|
+
type TableHeadBorderColorToken = keyof Theme['border'];
|
|
10
|
+
interface TableHeadProps extends Omit<HTMLAttributes<HTMLTableSectionElement>, 'color'>, index_d_exports.SpaceProps<Theme>, Omit<index_d_exports.BorderProps<Theme>, 'borderColor' | 'borderRadius'> {
|
|
11
|
+
/** Resolves against theme.text */
|
|
12
|
+
color?: TableHeadColorToken;
|
|
13
|
+
/** Resolves against theme.background */
|
|
14
|
+
bg?: TableHeadBackgroundToken;
|
|
15
|
+
/** Resolves against theme.border — light · primary · dark */
|
|
16
|
+
borderColor?: TableHeadBorderColorToken;
|
|
17
|
+
as?: ElementType;
|
|
18
|
+
}
|
|
19
|
+
declare function TableHead({ as, children, ...rest }: Readonly<TableHeadProps>): import("react").JSX.Element;
|
|
20
|
+
//#endregion
|
|
21
|
+
export { TableHeadProps as a, TableHeadColorToken as i, TableHeadBackgroundToken as n, TableHeadBorderColorToken as r, TableHead as t };
|