@soroush.tech/design-system 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/dist/AppBar.d.cts +3 -3
- package/dist/AppBar.d.mts +3 -3
- package/dist/Avatar.d.cts +3 -3
- package/dist/Avatar.d.mts +3 -3
- package/dist/Backdrop.d.cts +1 -1
- package/dist/Backdrop.d.mts +1 -1
- package/dist/Button.cjs +0 -6
- package/dist/Button.d.cts +1 -1
- package/dist/Button.d.mts +1 -1
- package/dist/Button.mjs +0 -6
- package/dist/ButtonGroup.d.cts +1 -1
- package/dist/ButtonGroup.d.mts +1 -1
- package/dist/Card.cjs +1 -1
- package/dist/Card.d.cts +3 -3
- package/dist/Card.d.mts +3 -3
- package/dist/Card.mjs +1 -1
- package/dist/Checkbox.d.cts +2 -2
- package/dist/Checkbox.d.mts +2 -2
- package/dist/CircularProgress.d.cts +3 -3
- package/dist/CircularProgress.d.mts +3 -3
- package/dist/Drawer.d.cts +2 -2
- package/dist/Drawer.d.mts +2 -2
- package/dist/Flex.cjs +2 -6
- package/dist/Flex.d.cts +1 -1
- package/dist/Flex.d.mts +1 -1
- package/dist/Flex.mjs +2 -8
- package/dist/Form.d.cts +1 -1
- package/dist/Form.d.mts +1 -1
- package/dist/FormControl.d.cts +2 -2
- package/dist/FormControl.d.mts +2 -2
- package/dist/FormHelperText.d.cts +1 -1
- package/dist/FormHelperText.d.mts +1 -1
- package/dist/FormLabel.d.cts +1 -1
- package/dist/FormLabel.d.mts +1 -1
- package/dist/Grid.cjs +2 -25
- package/dist/Grid.d.cts +4 -11
- package/dist/Grid.d.mts +4 -11
- package/dist/Grid.mjs +2 -24
- package/dist/{Icon-zsHe7hWR.cjs → Icon-BOjk5r39.cjs} +30 -0
- package/dist/{Icon-bv8Z38l-.mjs → Icon-CYjD0Bad.mjs} +30 -0
- 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.d.cts +2 -2
- package/dist/Image.d.mts +2 -2
- package/dist/LinearProgress.d.cts +3 -3
- package/dist/LinearProgress.d.mts +3 -3
- package/dist/Link.cjs +1 -5
- package/dist/Link.d.cts +1 -2
- package/dist/Link.d.mts +1 -2
- package/dist/Link.mjs +2 -6
- package/dist/MenuItem.cjs +1 -1
- package/dist/MenuItem.d.cts +2 -2
- package/dist/MenuItem.d.mts +2 -2
- package/dist/MenuItem.mjs +1 -1
- package/dist/Modal.d.cts +1 -1
- package/dist/Modal.d.mts +1 -1
- package/dist/NativeSelect.cjs +1 -1
- package/dist/NativeSelect.d.cts +3 -3
- package/dist/NativeSelect.d.mts +3 -3
- package/dist/NativeSelect.mjs +1 -1
- package/dist/Pagination/PaginationItem.cjs +1 -1
- package/dist/Pagination/PaginationItem.d.cts +1 -1
- package/dist/Pagination/PaginationItem.d.mts +1 -1
- package/dist/Pagination/PaginationItem.mjs +1 -1
- package/dist/Pagination.d.cts +2 -2
- package/dist/Pagination.d.mts +2 -2
- package/dist/Paper.cjs +0 -2
- package/dist/Paper.d.cts +1 -1
- package/dist/Paper.d.mts +1 -1
- package/dist/Paper.mjs +0 -2
- package/dist/Popover.d.cts +4 -4
- package/dist/Popover.d.mts +4 -4
- package/dist/Pressable.cjs +123 -0
- package/dist/Pressable.d.cts +2 -0
- package/dist/Pressable.d.mts +2 -0
- package/dist/Pressable.mjs +121 -0
- package/dist/Quote.d.cts +4 -4
- package/dist/Quote.d.mts +4 -4
- package/dist/Radio.d.cts +2 -2
- package/dist/Radio.d.mts +2 -2
- package/dist/Select.cjs +1 -1
- package/dist/Select.d.cts +3 -3
- package/dist/Select.d.mts +3 -3
- package/dist/Select.mjs +1 -1
- package/dist/Sidebar/Sidebar.cjs +94 -0
- package/dist/Sidebar/Sidebar.d.cts +59 -0
- package/dist/Sidebar/Sidebar.d.mts +59 -0
- package/dist/Sidebar/Sidebar.mjs +93 -0
- package/dist/Sidebar/SidebarItem.cjs +125 -0
- package/dist/Sidebar/SidebarItem.d.cts +39 -0
- package/dist/Sidebar/SidebarItem.d.mts +39 -0
- package/dist/Sidebar/SidebarItem.mjs +124 -0
- package/dist/Sidebar.cjs +7 -0
- package/dist/Sidebar.d.cts +4 -0
- package/dist/Sidebar.d.mts +4 -0
- package/dist/Sidebar.mjs +4 -0
- package/dist/SidebarContext-DgSLwjur.mjs +10 -0
- package/dist/SidebarContext-ao6lRfTX.d.cts +37 -0
- package/dist/SidebarContext-ao6lRfTX.d.mts +37 -0
- package/dist/SidebarContext-jG6OioC-.cjs +14 -0
- package/dist/Skeleton.d.cts +2 -2
- package/dist/Skeleton.d.mts +2 -2
- package/dist/Switch.d.cts +2 -2
- package/dist/Switch.d.mts +2 -2
- package/dist/Table/Table.d.cts +3 -3
- package/dist/Table/Table.d.mts +3 -3
- package/dist/Table/TableBody.d.cts +2 -2
- package/dist/Table/TableBody.d.mts +2 -2
- package/dist/Table/TableCell.d.cts +1 -1
- package/dist/Table/TableCell.d.mts +1 -1
- package/dist/Table/TableContainer.d.cts +4 -4
- package/dist/Table/TableContainer.d.mts +4 -4
- package/dist/Table/TableControl.d.cts +1 -1
- package/dist/Table/TableControl.d.mts +1 -1
- package/dist/Table/TableFooter.d.cts +2 -2
- package/dist/Table/TableFooter.d.mts +2 -2
- package/dist/Table/TableHead.d.cts +2 -2
- package/dist/Table/TableHead.d.mts +2 -2
- package/dist/Table/TablePagination.d.cts +2 -2
- package/dist/Table/TablePagination.d.mts +2 -2
- package/dist/Table/TablePaginationActions.d.cts +1 -1
- package/dist/Table/TablePaginationActions.d.mts +1 -1
- package/dist/Table/TableRow.d.cts +2 -2
- package/dist/Table/TableRow.d.mts +2 -2
- package/dist/Table/TableSortLabel.cjs +1 -1
- package/dist/Table/TableSortLabel.d.cts +1 -1
- package/dist/Table/TableSortLabel.d.mts +1 -1
- package/dist/Table/TableSortLabel.mjs +1 -1
- package/dist/Table/hooks.d.cts +1 -1
- package/dist/Table/hooks.d.mts +1 -1
- package/dist/Table.d.cts +5 -5
- package/dist/Table.d.mts +5 -5
- package/dist/{TableContext-DOhYeOFx.d.cts → TableContext-BoOxdk8p.d.cts} +1 -1
- package/dist/{TableContext-adilRIJZ.d.mts → TableContext-DV31j6HO.d.mts} +1 -1
- package/dist/TextInput.d.cts +2 -2
- package/dist/TextInput.d.mts +2 -2
- package/dist/ToggleButton/ToggleButton.d.cts +1 -1
- package/dist/ToggleButton/ToggleButton.d.mts +1 -1
- package/dist/ToggleButton/ToggleButtonGroup.d.cts +1 -1
- package/dist/ToggleButton/ToggleButtonGroup.d.mts +1 -1
- package/dist/Typography.d.cts +2 -2
- package/dist/Typography.d.mts +2 -2
- package/dist/View.cjs +0 -2
- package/dist/View.d.cts +1 -1
- package/dist/View.d.mts +1 -1
- package/dist/View.mjs +0 -2
- package/dist/engine.d.cts +1 -1
- package/dist/engine.d.mts +1 -1
- package/dist/{index-DwjxjLcD.d.mts → index--mvTGo8F.d.cts} +3 -3
- package/dist/{index-CY0Czi9Z.d.cts → index-ATXjtAOY.d.mts} +2 -2
- package/dist/{index-BF2KXGBM.d.mts → index-B2hrssyF.d.mts} +2 -2
- package/dist/{index-C-UBdWKI.d.cts → index-B3FrhO2r.d.cts} +3 -3
- package/dist/{index-DCwLdUQH.d.mts → index-B7aaTHOe.d.cts} +2 -2
- package/dist/{index-BGzs2cKy.d.mts → index-BItZoGZ1.d.mts} +3 -3
- package/dist/{index-CLCtvcKA.d.mts → index-BJ8OC_Zh.d.cts} +2 -2
- package/dist/{index-D0x1ZMVG.d.mts → index-BL3jwIQU.d.mts} +5 -2
- package/dist/{index-D2H_6WLf.d.cts → index-BNP_iejT.d.cts} +3 -3
- package/dist/{index-BpLv6Y8m.d.mts → index-BfpjEqqt.d.cts} +2 -2
- package/dist/{index-0J6U39Rl.d.mts → index-BoOs5h_b.d.mts} +1 -1
- package/dist/{index-ypEBcdCx.d.mts → index-BwUnDd9W.d.mts} +2 -2
- package/dist/{index-DGqakgRN.d.mts → index-C7j38wne.d.mts} +3 -3
- package/dist/{index-DN7IvJeV.d.cts → index-CA_X-mXg.d.cts} +5 -2
- package/dist/index-CO3Qq0I0.d.mts +49 -0
- package/dist/{index-DLiHZtDi.d.mts → index-CYTaYcm3.d.cts} +3 -5
- package/dist/{index-DitJ7ss0.d.mts → index-Ca0Pj5m2.d.mts} +3 -3
- package/dist/{index-BLnOsdgc.d.cts → index-CvaEVk-f.d.cts} +2 -2
- package/dist/{index-BnCp6k4s.d.cts → index-D8U2tk1L.d.mts} +2 -2
- package/dist/{index-B66h9kbP.d.mts → index-D8b5OCLe.d.mts} +1 -1
- package/dist/{index-DhcmRr8Q.d.cts → index-DEv2QslH.d.mts} +4 -7
- package/dist/{index-C1vVYigQ.d.cts → index-DF3Hweir.d.mts} +3 -3
- package/dist/{index-BVX_Jq2G.d.cts → index-DLJ-li1B.d.cts} +1 -1
- package/dist/{index-CYNgNatZ.d.mts → index-DjtGkwRM.d.cts} +2 -4
- package/dist/{index-DdFxl06Q.d.cts → index-Ds__py2h.d.mts} +2 -2
- package/dist/{index-HnvGdPCp.d.cts → index-KZUd8B5E.d.mts} +3 -5
- package/dist/{index-CJQXZ4hq.d.cts → index-MsUtFRul.d.cts} +1 -1
- package/dist/index-dtLxevvf.d.cts +49 -0
- package/dist/{index-B8FOqBiS.d.cts → index-q6EgsH9R.d.mts} +2 -4
- package/dist/{index-BahGB82c.d.cts → index-v99yMdts.d.cts} +3 -3
- package/dist/{index-BGWm4HKR.d.cts → index-yr4HkKOj.d.cts} +2 -2
- package/dist/{index-BJcHQUga.d.mts → index-zFYi0f1t.d.cts} +4 -7
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/style.d.cts +2 -2
- package/dist/style.d.mts +2 -2
- package/dist/theme.d.cts +3 -3
- package/dist/theme.d.mts +3 -3
- package/dist/{themes-BTGww2YK.d.cts → themes-CUV79qWU.d.cts} +16 -1
- package/dist/{themes-BTGww2YK.d.mts → themes-CUV79qWU.d.mts} +16 -1
- package/dist/{useTablePagination-D6T-fQFc.d.mts → useTablePagination-7jiSvKCh.d.cts} +1 -1
- package/dist/{useTablePagination-_94Wrvj9.d.cts → useTablePagination-HaIcJPv-.d.mts} +1 -1
- package/package.json +22 -2
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import "../index-DLJ-li1B.cjs";
|
|
2
|
+
import { h as Theme } from "../themes-CUV79qWU.cjs";
|
|
3
|
+
import { r as IconName } from "../index-CA_X-mXg.cjs";
|
|
4
|
+
import { i as PressableProps } from "../index-dtLxevvf.cjs";
|
|
5
|
+
import { i as SidebarItemVariant } from "../SidebarContext-ao6lRfTX.cjs";
|
|
6
|
+
import { ReactNode } from "react";
|
|
7
|
+
//#region src/Sidebar/SidebarItem/SidebarItem.d.ts
|
|
8
|
+
/** Density token — controls padding and font size. Resolves against `theme.sizes`. */
|
|
9
|
+
type SidebarItemSize = keyof Theme['sizes'];
|
|
10
|
+
interface SidebarItemProps extends Omit<PressableProps, 'children' | 'feedback' | 'activeOpacity' | 'size'> {
|
|
11
|
+
/** Icon shown in both the collapsed and open states — pinned to the anchored edge. */
|
|
12
|
+
icon: IconName;
|
|
13
|
+
/** Accessible name; also the default visible content while open. */
|
|
14
|
+
label: string;
|
|
15
|
+
/** Visual style — overrides the enclosing `Sidebar`'s `variant` (default `'text'`). */
|
|
16
|
+
variant?: SidebarItemVariant;
|
|
17
|
+
/** Padding and font size — resolves against `theme.sizes`. Default: `'sm'`. */
|
|
18
|
+
size?: SidebarItemSize;
|
|
19
|
+
/** Active state — drives `aria-pressed` and the selected fill. */
|
|
20
|
+
isSelected?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Custom open-state content rendered instead of the label text (badges,
|
|
23
|
+
* counts, …) — or, under the enclosing `Sidebar`'s `hasPanel`, the content of
|
|
24
|
+
* the panel column, shown while this item is selected.
|
|
25
|
+
*/
|
|
26
|
+
children?: ReactNode;
|
|
27
|
+
/** Fired when the item is activated. */
|
|
28
|
+
onSelect?: () => void;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* One entry of a `Sidebar`: an icon pinned to the anchored edge, plus content
|
|
32
|
+
* shown while the rail is open — the `label` by default, or custom `children`
|
|
33
|
+
* (on a right-anchored rail the content renders to the icon's left). Built on
|
|
34
|
+
* `Pressable`, so it is a real button carrying nothing but the styling declared
|
|
35
|
+
* here — no inherited uppercase, weight, or tracking.
|
|
36
|
+
*/
|
|
37
|
+
declare function SidebarItem({ icon, label, variant, size, color, children, onSelect, onClick, isSelected, ...rest }: Readonly<SidebarItemProps>): import("react").JSX.Element;
|
|
38
|
+
//#endregion
|
|
39
|
+
export { SidebarItem, SidebarItemProps, SidebarItemSize };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { h as Theme } from "../themes-CUV79qWU.mjs";
|
|
2
|
+
import "../index-D8b5OCLe.mjs";
|
|
3
|
+
import { r as IconName } from "../index-BL3jwIQU.mjs";
|
|
4
|
+
import { i as PressableProps } from "../index-CO3Qq0I0.mjs";
|
|
5
|
+
import { i as SidebarItemVariant } from "../SidebarContext-ao6lRfTX.mjs";
|
|
6
|
+
import { ReactNode } from "react";
|
|
7
|
+
//#region src/Sidebar/SidebarItem/SidebarItem.d.ts
|
|
8
|
+
/** Density token — controls padding and font size. Resolves against `theme.sizes`. */
|
|
9
|
+
type SidebarItemSize = keyof Theme['sizes'];
|
|
10
|
+
interface SidebarItemProps extends Omit<PressableProps, 'children' | 'feedback' | 'activeOpacity' | 'size'> {
|
|
11
|
+
/** Icon shown in both the collapsed and open states — pinned to the anchored edge. */
|
|
12
|
+
icon: IconName;
|
|
13
|
+
/** Accessible name; also the default visible content while open. */
|
|
14
|
+
label: string;
|
|
15
|
+
/** Visual style — overrides the enclosing `Sidebar`'s `variant` (default `'text'`). */
|
|
16
|
+
variant?: SidebarItemVariant;
|
|
17
|
+
/** Padding and font size — resolves against `theme.sizes`. Default: `'sm'`. */
|
|
18
|
+
size?: SidebarItemSize;
|
|
19
|
+
/** Active state — drives `aria-pressed` and the selected fill. */
|
|
20
|
+
isSelected?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Custom open-state content rendered instead of the label text (badges,
|
|
23
|
+
* counts, …) — or, under the enclosing `Sidebar`'s `hasPanel`, the content of
|
|
24
|
+
* the panel column, shown while this item is selected.
|
|
25
|
+
*/
|
|
26
|
+
children?: ReactNode;
|
|
27
|
+
/** Fired when the item is activated. */
|
|
28
|
+
onSelect?: () => void;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* One entry of a `Sidebar`: an icon pinned to the anchored edge, plus content
|
|
32
|
+
* shown while the rail is open — the `label` by default, or custom `children`
|
|
33
|
+
* (on a right-anchored rail the content renders to the icon's left). Built on
|
|
34
|
+
* `Pressable`, so it is a real button carrying nothing but the styling declared
|
|
35
|
+
* here — no inherited uppercase, weight, or tracking.
|
|
36
|
+
*/
|
|
37
|
+
declare function SidebarItem({ icon, label, variant, size, color, children, onSelect, onClick, isSelected, ...rest }: Readonly<SidebarItemProps>): import("react").JSX.Element;
|
|
38
|
+
//#endregion
|
|
39
|
+
export { SidebarItem, SidebarItemProps, SidebarItemSize };
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { a as src_exports, o as styled } from "../src-BJy4dM4f.mjs";
|
|
2
|
+
import { Flex } from "../Flex.mjs";
|
|
3
|
+
import { alpha } from "../utils.mjs";
|
|
4
|
+
import { Typography } from "../Typography.mjs";
|
|
5
|
+
import { t as Icon } from "../Icon-CYjD0Bad.mjs";
|
|
6
|
+
import { Portal } from "../Portal.mjs";
|
|
7
|
+
import { Pressable } from "../Pressable.mjs";
|
|
8
|
+
import { t as SidebarContext } from "../SidebarContext-DgSLwjur.mjs";
|
|
9
|
+
import { useContext, useEffect } from "react";
|
|
10
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
+
//#region src/Sidebar/SidebarItem/SidebarItem.tsx
|
|
12
|
+
const densityStyles = ({ theme, size }) => {
|
|
13
|
+
const s = theme.sizes[size];
|
|
14
|
+
return {
|
|
15
|
+
paddingTop: theme.space[s.paddingTop],
|
|
16
|
+
paddingBottom: theme.space[s.paddingBottom],
|
|
17
|
+
paddingLeft: theme.space[s.paddingLeft],
|
|
18
|
+
paddingRight: theme.space[s.paddingRight],
|
|
19
|
+
fontSize: theme.fontSizes[s.fontSize],
|
|
20
|
+
lineHeight: 1,
|
|
21
|
+
whiteSpace: "nowrap"
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
const layoutStyles = ({ anchor }) => ({
|
|
25
|
+
width: "100%",
|
|
26
|
+
alignItems: "center",
|
|
27
|
+
justifyContent: anchor === "right" ? "flex-end" : "flex-start"
|
|
28
|
+
});
|
|
29
|
+
const stateStyles = ({ theme, color, isSelected, itemVariant, disabled }) => {
|
|
30
|
+
const { main } = theme.palette[color];
|
|
31
|
+
const outlined = itemVariant === "outlined";
|
|
32
|
+
const base = {
|
|
33
|
+
border: `${theme.borderWidths.thin} solid ${outlined ? (0, src_exports.get)(theme, "border.light") : "transparent"}`,
|
|
34
|
+
borderRadius: theme.radii.sq,
|
|
35
|
+
color: (0, src_exports.get)(theme, "text.primary"),
|
|
36
|
+
"&:disabled, &[aria-disabled=\"true\"]": { opacity: .5 }
|
|
37
|
+
};
|
|
38
|
+
const hoverFill = (backgroundColor) => disabled ? {} : { "&:hover": { backgroundColor } };
|
|
39
|
+
if (itemVariant === "plain") return {
|
|
40
|
+
...base,
|
|
41
|
+
color: isSelected ? main : (0, src_exports.get)(theme, "text.primary")
|
|
42
|
+
};
|
|
43
|
+
if (isSelected) return {
|
|
44
|
+
...base,
|
|
45
|
+
backgroundColor: alpha(main, .16),
|
|
46
|
+
color: main,
|
|
47
|
+
...outlined && { borderColor: main },
|
|
48
|
+
...hoverFill(alpha(main, .24)),
|
|
49
|
+
...disabled ? {} : { "&:active": { backgroundColor: alpha(main, .24) } }
|
|
50
|
+
};
|
|
51
|
+
return {
|
|
52
|
+
...base,
|
|
53
|
+
...hoverFill(alpha(main, .08))
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
const SidebarItemRoot = styled(Pressable, {
|
|
57
|
+
name: "SidebarItem",
|
|
58
|
+
label: "SidebarItem",
|
|
59
|
+
shouldForwardProp: (prop) => prop !== "anchor" && prop !== "isSelected" && prop !== "itemVariant" && prop !== "size"
|
|
60
|
+
})(densityStyles, layoutStyles, stateStyles);
|
|
61
|
+
/**
|
|
62
|
+
* One entry of a `Sidebar`: an icon pinned to the anchored edge, plus content
|
|
63
|
+
* shown while the rail is open — the `label` by default, or custom `children`
|
|
64
|
+
* (on a right-anchored rail the content renders to the icon's left). Built on
|
|
65
|
+
* `Pressable`, so it is a real button carrying nothing but the styling declared
|
|
66
|
+
* here — no inherited uppercase, weight, or tracking.
|
|
67
|
+
*/
|
|
68
|
+
function SidebarItem({ icon, label, variant, size = "sm", color = "primary", children, onSelect, onClick, isSelected, ...rest }) {
|
|
69
|
+
const { isOpen, anchor, variant: railVariant, hasPanel, panelId, panelNode, setPanelLabel } = useContext(SidebarContext);
|
|
70
|
+
const resolvedVariant = variant ?? railVariant;
|
|
71
|
+
const ownsPanel = hasPanel && children != null;
|
|
72
|
+
const isPorting = ownsPanel && (isSelected ?? false);
|
|
73
|
+
useEffect(() => {
|
|
74
|
+
if (!isPorting || !setPanelLabel) return;
|
|
75
|
+
setPanelLabel(label);
|
|
76
|
+
return () => setPanelLabel(null);
|
|
77
|
+
}, [
|
|
78
|
+
isPorting,
|
|
79
|
+
label,
|
|
80
|
+
setPanelLabel
|
|
81
|
+
]);
|
|
82
|
+
const handleClick = (event) => {
|
|
83
|
+
onClick?.(event);
|
|
84
|
+
onSelect?.();
|
|
85
|
+
};
|
|
86
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(SidebarItemRoot, {
|
|
87
|
+
feedback: resolvedVariant === "plain" ? "none" : "highlight",
|
|
88
|
+
color,
|
|
89
|
+
size,
|
|
90
|
+
itemVariant: resolvedVariant,
|
|
91
|
+
isSelected,
|
|
92
|
+
anchor,
|
|
93
|
+
"aria-label": label,
|
|
94
|
+
"aria-pressed": isSelected ?? false,
|
|
95
|
+
...ownsPanel && {
|
|
96
|
+
"aria-expanded": isSelected ?? false,
|
|
97
|
+
"aria-controls": isPorting ? panelId : void 0
|
|
98
|
+
},
|
|
99
|
+
onClick: handleClick,
|
|
100
|
+
...rest,
|
|
101
|
+
children: /* @__PURE__ */ jsxs(Flex, {
|
|
102
|
+
as: "span",
|
|
103
|
+
flexDirection: anchor === "right" ? "row-reverse" : "row",
|
|
104
|
+
alignItems: "center",
|
|
105
|
+
gap: 2,
|
|
106
|
+
flexShrink: 0,
|
|
107
|
+
children: [/* @__PURE__ */ jsx(Icon, {
|
|
108
|
+
name: icon,
|
|
109
|
+
size: "1.25rem",
|
|
110
|
+
color: "inherit"
|
|
111
|
+
}), isOpen && ((ownsPanel ? null : children) ?? /* @__PURE__ */ jsx(Typography, {
|
|
112
|
+
as: "span",
|
|
113
|
+
variant: "inherit",
|
|
114
|
+
m: 0,
|
|
115
|
+
children: label
|
|
116
|
+
}))]
|
|
117
|
+
})
|
|
118
|
+
}), isPorting && panelNode && /* @__PURE__ */ jsx(Portal, {
|
|
119
|
+
container: panelNode,
|
|
120
|
+
children
|
|
121
|
+
})] });
|
|
122
|
+
}
|
|
123
|
+
//#endregion
|
|
124
|
+
export { SidebarItem };
|
package/dist/Sidebar.cjs
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_SidebarContext = require("./SidebarContext-jG6OioC-.cjs");
|
|
3
|
+
const require_Sidebar_Sidebar = require("./Sidebar/Sidebar.cjs");
|
|
4
|
+
const require_Sidebar_SidebarItem = require("./Sidebar/SidebarItem.cjs");
|
|
5
|
+
exports.Sidebar = require_Sidebar_Sidebar.Sidebar;
|
|
6
|
+
exports.SidebarContext = require_SidebarContext.SidebarContext;
|
|
7
|
+
exports.SidebarItem = require_Sidebar_SidebarItem.SidebarItem;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { i as SidebarItemVariant, n as SidebarContext, r as SidebarContextValue, t as SidebarAnchor } from "./SidebarContext-ao6lRfTX.cjs";
|
|
2
|
+
import { Sidebar, SidebarProps } from "./Sidebar/Sidebar.cjs";
|
|
3
|
+
import { SidebarItem, SidebarItemProps, SidebarItemSize } from "./Sidebar/SidebarItem.cjs";
|
|
4
|
+
export { Sidebar, SidebarAnchor, SidebarContext, SidebarContextValue, SidebarItem, SidebarItemProps, SidebarItemSize, SidebarItemVariant, SidebarProps };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { i as SidebarItemVariant, n as SidebarContext, r as SidebarContextValue, t as SidebarAnchor } from "./SidebarContext-ao6lRfTX.mjs";
|
|
2
|
+
import { Sidebar, SidebarProps } from "./Sidebar/Sidebar.mjs";
|
|
3
|
+
import { SidebarItem, SidebarItemProps, SidebarItemSize } from "./Sidebar/SidebarItem.mjs";
|
|
4
|
+
export { Sidebar, SidebarAnchor, SidebarContext, SidebarContextValue, SidebarItem, SidebarItemProps, SidebarItemSize, SidebarItemVariant, SidebarProps };
|
package/dist/Sidebar.mjs
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
//#region src/Sidebar/SidebarContext.d.ts
|
|
2
|
+
/** Screen edge a `Sidebar` hugs — item labels render away from that edge. */
|
|
3
|
+
type SidebarAnchor = 'left' | 'right';
|
|
4
|
+
/**
|
|
5
|
+
* Visual style of a `SidebarItem`: borderless (`text`, default), `outlined`, or
|
|
6
|
+
* `plain` — no fill and no hover or press feedback, so selection reads through
|
|
7
|
+
* the text color alone.
|
|
8
|
+
*/
|
|
9
|
+
type SidebarItemVariant = 'outlined' | 'text' | 'plain';
|
|
10
|
+
/**
|
|
11
|
+
* State provided by `Sidebar` and consumed by `SidebarItem`: whether labels
|
|
12
|
+
* are shown, which side the rail hugs (decides the label side), the rail-wide
|
|
13
|
+
* default item variant (an item's own `variant` wins), and whether the rail
|
|
14
|
+
* renders a panel column — which decides where an item's `children` go.
|
|
15
|
+
*/
|
|
16
|
+
interface SidebarContextValue {
|
|
17
|
+
isOpen: boolean;
|
|
18
|
+
anchor: SidebarAnchor;
|
|
19
|
+
variant: SidebarItemVariant;
|
|
20
|
+
/** Whether the rail renders a panel column; items port their children into it. */
|
|
21
|
+
hasPanel: boolean;
|
|
22
|
+
/** `id` of the panel element, so the selected item can point `aria-controls` at it. */
|
|
23
|
+
panelId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The panel's DOM node — the container the selected item ports its `children`
|
|
26
|
+
* into. `null` until the panel has mounted, and whenever `hasPanel` is off.
|
|
27
|
+
*/
|
|
28
|
+
panelNode?: HTMLElement | null;
|
|
29
|
+
/**
|
|
30
|
+
* Publishes the porting item's `label` so the panel can be named after it.
|
|
31
|
+
* Only the name travels through context; the content itself is ported.
|
|
32
|
+
*/
|
|
33
|
+
setPanelLabel?: (label: string | null) => void;
|
|
34
|
+
}
|
|
35
|
+
declare const SidebarContext: import("react").Context<SidebarContextValue>;
|
|
36
|
+
//#endregion
|
|
37
|
+
export { SidebarItemVariant as i, SidebarContext as n, SidebarContextValue as r, SidebarAnchor as t };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
//#region src/Sidebar/SidebarContext.d.ts
|
|
2
|
+
/** Screen edge a `Sidebar` hugs — item labels render away from that edge. */
|
|
3
|
+
type SidebarAnchor = 'left' | 'right';
|
|
4
|
+
/**
|
|
5
|
+
* Visual style of a `SidebarItem`: borderless (`text`, default), `outlined`, or
|
|
6
|
+
* `plain` — no fill and no hover or press feedback, so selection reads through
|
|
7
|
+
* the text color alone.
|
|
8
|
+
*/
|
|
9
|
+
type SidebarItemVariant = 'outlined' | 'text' | 'plain';
|
|
10
|
+
/**
|
|
11
|
+
* State provided by `Sidebar` and consumed by `SidebarItem`: whether labels
|
|
12
|
+
* are shown, which side the rail hugs (decides the label side), the rail-wide
|
|
13
|
+
* default item variant (an item's own `variant` wins), and whether the rail
|
|
14
|
+
* renders a panel column — which decides where an item's `children` go.
|
|
15
|
+
*/
|
|
16
|
+
interface SidebarContextValue {
|
|
17
|
+
isOpen: boolean;
|
|
18
|
+
anchor: SidebarAnchor;
|
|
19
|
+
variant: SidebarItemVariant;
|
|
20
|
+
/** Whether the rail renders a panel column; items port their children into it. */
|
|
21
|
+
hasPanel: boolean;
|
|
22
|
+
/** `id` of the panel element, so the selected item can point `aria-controls` at it. */
|
|
23
|
+
panelId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The panel's DOM node — the container the selected item ports its `children`
|
|
26
|
+
* into. `null` until the panel has mounted, and whenever `hasPanel` is off.
|
|
27
|
+
*/
|
|
28
|
+
panelNode?: HTMLElement | null;
|
|
29
|
+
/**
|
|
30
|
+
* Publishes the porting item's `label` so the panel can be named after it.
|
|
31
|
+
* Only the name travels through context; the content itself is ported.
|
|
32
|
+
*/
|
|
33
|
+
setPanelLabel?: (label: string | null) => void;
|
|
34
|
+
}
|
|
35
|
+
declare const SidebarContext: import("react").Context<SidebarContextValue>;
|
|
36
|
+
//#endregion
|
|
37
|
+
export { SidebarItemVariant as i, SidebarContext as n, SidebarContextValue as r, SidebarAnchor as t };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/Sidebar/SidebarContext.ts
|
|
2
|
+
const SidebarContext = (0, require("react").createContext)({
|
|
3
|
+
isOpen: false,
|
|
4
|
+
anchor: "left",
|
|
5
|
+
variant: "text",
|
|
6
|
+
hasPanel: false
|
|
7
|
+
});
|
|
8
|
+
//#endregion
|
|
9
|
+
Object.defineProperty(exports, "SidebarContext", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function() {
|
|
12
|
+
return SidebarContext;
|
|
13
|
+
}
|
|
14
|
+
});
|
package/dist/Skeleton.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as index_d_exports } from "./index-
|
|
2
|
-
import {
|
|
1
|
+
import { r as index_d_exports } from "./index-DLJ-li1B.cjs";
|
|
2
|
+
import { h as Theme } from "./themes-CUV79qWU.cjs";
|
|
3
3
|
import { HTMLAttributes } from "react";
|
|
4
4
|
//#region src/Skeleton/Skeleton.d.ts
|
|
5
5
|
type SkeletonVariant = 'text' | 'circular' | 'rectangular';
|
package/dist/Skeleton.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as index_d_exports } from "./index-
|
|
1
|
+
import { h as Theme } from "./themes-CUV79qWU.mjs";
|
|
2
|
+
import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
|
|
3
3
|
import { HTMLAttributes } from "react";
|
|
4
4
|
//#region src/Skeleton/Skeleton.d.ts
|
|
5
5
|
type SkeletonVariant = 'text' | 'circular' | 'rectangular';
|
package/dist/Switch.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as index_d_exports } from "./index-
|
|
2
|
-
import {
|
|
1
|
+
import { r as index_d_exports } from "./index-DLJ-li1B.cjs";
|
|
2
|
+
import { h as Theme } from "./themes-CUV79qWU.cjs";
|
|
3
3
|
import { ChangeEvent, ReactNode } from "react";
|
|
4
4
|
//#region src/Switch/Switch.d.ts
|
|
5
5
|
type SwitchColor = keyof Theme['palette'];
|
package/dist/Switch.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as index_d_exports } from "./index-
|
|
1
|
+
import { h as Theme } from "./themes-CUV79qWU.mjs";
|
|
2
|
+
import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
|
|
3
3
|
import { ChangeEvent, ReactNode } from "react";
|
|
4
4
|
//#region src/Switch/Switch.d.ts
|
|
5
5
|
type SwitchColor = keyof Theme['palette'];
|
package/dist/Table/Table.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as index_d_exports } from "../index-
|
|
2
|
-
import { d as PaletteColor,
|
|
3
|
-
import { t as TableCellPadding } from "../TableContext-
|
|
1
|
+
import { r as index_d_exports } from "../index-DLJ-li1B.cjs";
|
|
2
|
+
import { d as PaletteColor, h as Theme } from "../themes-CUV79qWU.cjs";
|
|
3
|
+
import { t as TableCellPadding } from "../TableContext-BoOxdk8p.cjs";
|
|
4
4
|
import { ElementType, TableHTMLAttributes } from "react";
|
|
5
5
|
//#region src/Table/Table/Table.d.ts
|
|
6
6
|
/** Valid values for the bg prop — derived from theme.background keys. */
|
package/dist/Table/Table.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as PaletteColor,
|
|
2
|
-
import { r as index_d_exports } from "../index-
|
|
3
|
-
import { t as TableCellPadding } from "../TableContext-
|
|
1
|
+
import { d as PaletteColor, h as Theme } from "../themes-CUV79qWU.mjs";
|
|
2
|
+
import { r as index_d_exports } from "../index-D8b5OCLe.mjs";
|
|
3
|
+
import { t as TableCellPadding } from "../TableContext-DV31j6HO.mjs";
|
|
4
4
|
import { ElementType, TableHTMLAttributes } from "react";
|
|
5
5
|
//#region src/Table/Table/Table.d.ts
|
|
6
6
|
/** Valid values for the bg prop — derived from theme.background keys. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as index_d_exports } from "../index-
|
|
2
|
-
import {
|
|
1
|
+
import { r as index_d_exports } from "../index-DLJ-li1B.cjs";
|
|
2
|
+
import { h as Theme } from "../themes-CUV79qWU.cjs";
|
|
3
3
|
import { ElementType, HTMLAttributes } from "react";
|
|
4
4
|
//#region src/Table/TableBody/TableBody.d.ts
|
|
5
5
|
/** Valid values for the color prop — derived from theme.text keys. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as index_d_exports } from "../index-
|
|
1
|
+
import { h as Theme } from "../themes-CUV79qWU.mjs";
|
|
2
|
+
import { r as index_d_exports } from "../index-D8b5OCLe.mjs";
|
|
3
3
|
import { ElementType, HTMLAttributes } from "react";
|
|
4
4
|
//#region src/Table/TableBody/TableBody.d.ts
|
|
5
5
|
/** Valid values for the color prop — derived from theme.text keys. */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TableCellColorToken, c as TableCellVariant, i as TableCellBorderColorToken, n as TableCellAlign, o as TableCellProps, r as TableCellBackgroundToken, s as TableCellSortDirection, t as TableCell } from "../index-
|
|
1
|
+
import { a as TableCellColorToken, c as TableCellVariant, i as TableCellBorderColorToken, n as TableCellAlign, o as TableCellProps, r as TableCellBackgroundToken, s as TableCellSortDirection, t as TableCell } from "../index-BNP_iejT.cjs";
|
|
2
2
|
export { TableCell, TableCellAlign, TableCellBackgroundToken, TableCellBorderColorToken, TableCellColorToken, TableCellProps, TableCellSortDirection, TableCellVariant };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TableCellColorToken, c as TableCellVariant, i as TableCellBorderColorToken, n as TableCellAlign, o as TableCellProps, r as TableCellBackgroundToken, s as TableCellSortDirection, t as TableCell } from "../index-
|
|
1
|
+
import { a as TableCellColorToken, c as TableCellVariant, i as TableCellBorderColorToken, n as TableCellAlign, o as TableCellProps, r as TableCellBackgroundToken, s as TableCellSortDirection, t as TableCell } from "../index-C7j38wne.mjs";
|
|
2
2
|
export { TableCell, TableCellAlign, TableCellBackgroundToken, TableCellBorderColorToken, TableCellColorToken, TableCellProps, TableCellSortDirection, TableCellVariant };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../index-
|
|
2
|
-
import {
|
|
3
|
-
import { s as ViewProps } from "../index-
|
|
1
|
+
import "../index-DLJ-li1B.cjs";
|
|
2
|
+
import { h as Theme } from "../themes-CUV79qWU.cjs";
|
|
3
|
+
import { s as ViewProps } from "../index-DjtGkwRM.cjs";
|
|
4
4
|
//#region src/Table/TableContainer/TableContainer.d.ts
|
|
5
5
|
type TableContainerProps = ViewProps;
|
|
6
6
|
/**
|
|
@@ -11,7 +11,7 @@ type TableContainerProps = ViewProps;
|
|
|
11
11
|
declare const TableContainer: import("@emotion/styled").StyledComponent<Pick<{
|
|
12
12
|
theme?: Theme;
|
|
13
13
|
as?: React.ElementType;
|
|
14
|
-
} & 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"> & {
|
|
14
|
+
} & 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" | "columnGap" | "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" | "rowGap" | "textAlign" | "textAlignLast" | "textDecorationColor" | "textDecorationLine" | "textDecorationStyle" | "textDecorationThickness" | "textOverflow" | "textTransform" | "top" | "verticalAlign" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "gap" | "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"> & {
|
|
15
15
|
theme?: Theme;
|
|
16
16
|
} & ViewProps, {}, {}>;
|
|
17
17
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../index-
|
|
3
|
-
import { s as ViewProps } from "../index-
|
|
1
|
+
import { h as Theme } from "../themes-CUV79qWU.mjs";
|
|
2
|
+
import "../index-D8b5OCLe.mjs";
|
|
3
|
+
import { s as ViewProps } from "../index-q6EgsH9R.mjs";
|
|
4
4
|
//#region src/Table/TableContainer/TableContainer.d.ts
|
|
5
5
|
type TableContainerProps = ViewProps;
|
|
6
6
|
/**
|
|
@@ -11,7 +11,7 @@ type TableContainerProps = ViewProps;
|
|
|
11
11
|
declare const TableContainer: import("@emotion/styled").StyledComponent<Pick<{
|
|
12
12
|
theme?: Theme;
|
|
13
13
|
as?: React.ElementType;
|
|
14
|
-
} & 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"> & {
|
|
14
|
+
} & 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" | "columnGap" | "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" | "rowGap" | "textAlign" | "textAlignLast" | "textDecorationColor" | "textDecorationLine" | "textDecorationStyle" | "textDecorationThickness" | "textOverflow" | "textTransform" | "top" | "verticalAlign" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "gap" | "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"> & {
|
|
15
15
|
theme?: Theme;
|
|
16
16
|
} & ViewProps, {}, {}>;
|
|
17
17
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as TableSortMap, t as TablePaginationState } from "../useTablePagination-
|
|
1
|
+
import { a as TableSortMap, t as TablePaginationState } from "../useTablePagination-7jiSvKCh.cjs";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
//#region src/Table/TableControl/TableControl.d.ts
|
|
4
4
|
interface TableControlProps<T, K extends string = string> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as TableSortMap, t as TablePaginationState } from "../useTablePagination-
|
|
1
|
+
import { a as TableSortMap, t as TablePaginationState } from "../useTablePagination-HaIcJPv-.mjs";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
//#region src/Table/TableControl/TableControl.d.ts
|
|
4
4
|
interface TableControlProps<T, K extends string = string> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as index_d_exports } from "../index-
|
|
2
|
-
import {
|
|
1
|
+
import { r as index_d_exports } from "../index-DLJ-li1B.cjs";
|
|
2
|
+
import { h as Theme } from "../themes-CUV79qWU.cjs";
|
|
3
3
|
import { ElementType, HTMLAttributes } from "react";
|
|
4
4
|
//#region src/Table/TableFooter/TableFooter.d.ts
|
|
5
5
|
/** Valid values for the color prop — derived from theme.text keys. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as index_d_exports } from "../index-
|
|
1
|
+
import { h as Theme } from "../themes-CUV79qWU.mjs";
|
|
2
|
+
import { r as index_d_exports } from "../index-D8b5OCLe.mjs";
|
|
3
3
|
import { ElementType, HTMLAttributes } from "react";
|
|
4
4
|
//#region src/Table/TableFooter/TableFooter.d.ts
|
|
5
5
|
/** Valid values for the color prop — derived from theme.text keys. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as index_d_exports } from "../index-
|
|
2
|
-
import {
|
|
1
|
+
import { r as index_d_exports } from "../index-DLJ-li1B.cjs";
|
|
2
|
+
import { h as Theme } from "../themes-CUV79qWU.cjs";
|
|
3
3
|
import { ElementType, HTMLAttributes } from "react";
|
|
4
4
|
//#region src/Table/TableHead/TableHead.d.ts
|
|
5
5
|
/** Valid values for the color prop — derived from theme.text keys. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as index_d_exports } from "../index-
|
|
1
|
+
import { h as Theme } from "../themes-CUV79qWU.mjs";
|
|
2
|
+
import { r as index_d_exports } from "../index-D8b5OCLe.mjs";
|
|
3
3
|
import { ElementType, HTMLAttributes } from "react";
|
|
4
4
|
//#region src/Table/TableHead/TableHead.d.ts
|
|
5
5
|
/** Valid values for the color prop — derived from theme.text keys. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as TableCellProps } from "../index-
|
|
2
|
-
import { t as TablePaginationActionType } from "../index-
|
|
1
|
+
import { o as TableCellProps } from "../index-BNP_iejT.cjs";
|
|
2
|
+
import { t as TablePaginationActionType } from "../index-B7aaTHOe.cjs";
|
|
3
3
|
import { ElementType, ReactNode } from "react";
|
|
4
4
|
//#region src/Table/TablePagination/TablePagination.d.ts
|
|
5
5
|
interface TablePaginationDisplayedRowsInfo {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as TableCellProps } from "../index-
|
|
2
|
-
import { t as TablePaginationActionType } from "../index-
|
|
1
|
+
import { o as TableCellProps } from "../index-C7j38wne.mjs";
|
|
2
|
+
import { t as TablePaginationActionType } from "../index-ATXjtAOY.mjs";
|
|
3
3
|
import { ElementType, ReactNode } from "react";
|
|
4
4
|
//#region src/Table/TablePagination/TablePagination.d.ts
|
|
5
5
|
interface TablePaginationDisplayedRowsInfo {
|