@xyo-network/react-table 6.2.0 → 7.0.1
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/dist/browser/components/TableEx/TableCellEx.d.ts +1 -1
- package/dist/browser/components/TableEx/TableCellEx.d.ts.map +1 -1
- package/dist/browser/components/TableEx/TableEx.stories.d.ts +3 -3
- package/dist/browser/components/TableEx/TableEx.stories.d.ts.map +1 -1
- package/dist/browser/index.mjs +31 -48
- package/dist/browser/index.mjs.map +1 -1
- package/package.json +25 -18
- package/typedoc.json +0 -5
- package/xy.config.ts +0 -10
|
@@ -2,5 +2,5 @@ import type { TableCellProps } from '@mui/material';
|
|
|
2
2
|
export interface TableCellExProps extends TableCellProps {
|
|
3
3
|
noBgColor?: boolean;
|
|
4
4
|
}
|
|
5
|
-
export declare const TableCellEx: import("@emotion/styled").StyledComponent<TableCellProps & import("
|
|
5
|
+
export declare const TableCellEx: import("@emotion/styled").StyledComponent<TableCellProps & import(".store/@mui-system-virtual-08e51c7e26/package").MUIStyledCommonProps<import("@mui/material").Theme> & TableCellExProps, {}, {}>;
|
|
6
6
|
//# sourceMappingURL=TableCellEx.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableCellEx.d.ts","sourceRoot":"","sources":["../../../../src/components/TableEx/TableCellEx.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAGnD,MAAM,WAAW,gBAAiB,SAAQ,cAAc;IACtD,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"TableCellEx.d.ts","sourceRoot":"","sources":["../../../../src/components/TableEx/TableCellEx.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAGnD,MAAM,WAAW,gBAAiB,SAAQ,cAAc;IACtD,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,eAAO,MAAM,WAAW,oMAEvB,CAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Meta } from '@storybook/react-vite';
|
|
2
2
|
import { TableEx } from './TableEx.tsx';
|
|
3
3
|
declare const StorybookEntry: Meta<typeof TableEx>;
|
|
4
|
-
declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, import("./TableEx.tsx").TableExProps>;
|
|
5
|
-
declare const WithRef: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, import("./TableEx.tsx").TableExProps>;
|
|
6
|
-
declare const WithScrollable: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, import("./TableEx.tsx").TableExProps>;
|
|
4
|
+
declare const Default: import(".store/storybook-virtual-997ab3c959/package/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, import("./TableEx.tsx").TableExProps>;
|
|
5
|
+
declare const WithRef: import(".store/storybook-virtual-997ab3c959/package/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, import("./TableEx.tsx").TableExProps>;
|
|
6
|
+
declare const WithScrollable: import(".store/storybook-virtual-997ab3c959/package/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, import("./TableEx.tsx").TableExProps>;
|
|
7
7
|
export { Default, WithRef, WithScrollable, };
|
|
8
8
|
export default StorybookEntry;
|
|
9
9
|
//# sourceMappingURL=TableEx.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableEx.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/TableEx/TableEx.stories.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACC,IAAI,EAChB,MAAM,uBAAuB,CAAA;AAK9B,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAYvC,QAAA,MAAM,cAAc,EAKf,IAAI,CAAC,OAAO,OAAO,CAAC,CAAA;AAmDzB,QAAA,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"TableEx.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/TableEx/TableEx.stories.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACC,IAAI,EAChB,MAAM,uBAAuB,CAAA;AAK9B,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAYvC,QAAA,MAAM,cAAc,EAKf,IAAI,CAAC,OAAO,OAAO,CAAC,CAAA;AAmDzB,QAAA,MAAM,OAAO,0KAAoB,CAAA;AAGjC,QAAA,MAAM,OAAO,0KAAoB,CAAA;AAGjC,QAAA,MAAM,cAAc,0KAAoB,CAAA;AAIxC,OAAO,EACL,OAAO,EAAE,OAAO,EAAE,cAAc,GACjC,CAAA;AAED,eAAe,cAAc,CAAA"}
|
package/dist/browser/index.mjs
CHANGED
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
|
|
4
1
|
// src/components/TableEx/TableCellEx.tsx
|
|
5
2
|
import { styled, TableCell } from "@mui/material";
|
|
6
|
-
var TableCellEx = styled(TableCell, {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
})(({ noBgColor = true }) => ({
|
|
10
|
-
...noBgColor && {
|
|
11
|
-
backgroundColor: "transparent"
|
|
12
|
-
}
|
|
13
|
-
}));
|
|
3
|
+
var TableCellEx = styled(TableCell, { name: "TableCellNoBgColor", shouldForwardProp: (prop) => prop !== "noBgColor" })(
|
|
4
|
+
({ noBgColor = true }) => ({ ...noBgColor && { backgroundColor: "transparent" } })
|
|
5
|
+
);
|
|
14
6
|
|
|
15
7
|
// src/components/TableEx/TableEx.tsx
|
|
16
8
|
import { Table } from "@mui/material";
|
|
17
|
-
import
|
|
18
|
-
var TableExInner =
|
|
19
|
-
return /* @__PURE__ */
|
|
20
|
-
}
|
|
9
|
+
import { jsx } from "react/jsx-runtime";
|
|
10
|
+
var TableExInner = ({ children, ...props }) => {
|
|
11
|
+
return /* @__PURE__ */ jsx(Table, { ...props, children });
|
|
12
|
+
};
|
|
21
13
|
TableExInner.displayName = "TableExInner";
|
|
22
|
-
var TableExWithRef =
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
14
|
+
var TableExWithRef = ({
|
|
15
|
+
variant,
|
|
16
|
+
children,
|
|
17
|
+
...props
|
|
18
|
+
}) => {
|
|
19
|
+
return /* @__PURE__ */ jsx(TableExInner, { stickyHeader: variant === "scrollable", ...props, children });
|
|
20
|
+
};
|
|
28
21
|
TableExWithRef.displayName = "TableEx";
|
|
29
22
|
var TableEx = TableExWithRef;
|
|
30
23
|
|
|
31
24
|
// src/components/TableEx/TableFooterEx.tsx
|
|
32
25
|
import { styled as styled2, TableFooter } from "@mui/material";
|
|
33
|
-
import
|
|
26
|
+
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
34
27
|
var TableFooterExRoot = styled2(TableFooter, {
|
|
35
28
|
name: "TableFooterEx",
|
|
36
|
-
shouldForwardProp:
|
|
29
|
+
shouldForwardProp: (propName) => propName !== "scrollable",
|
|
37
30
|
slot: "Root"
|
|
38
31
|
})(({ variant, theme }) => ({
|
|
39
32
|
backgroundColor: theme.vars.palette.background.default,
|
|
@@ -44,7 +37,7 @@ var TableFooterExRoot = styled2(TableFooter, {
|
|
|
44
37
|
position: "sticky"
|
|
45
38
|
}
|
|
46
39
|
}));
|
|
47
|
-
var TableFooterEx =
|
|
40
|
+
var TableFooterEx = ({ children, ...props }) => /* @__PURE__ */ jsx2(TableFooterExRoot, { ...props, children });
|
|
48
41
|
|
|
49
42
|
// src/context/TableHeight/Context.ts
|
|
50
43
|
import { createContextEx } from "@xylabs/react-shared";
|
|
@@ -52,24 +45,22 @@ var TableHeightContext = createContextEx();
|
|
|
52
45
|
|
|
53
46
|
// src/context/TableHeight/Provider.tsx
|
|
54
47
|
import { useResetState } from "@xylabs/react-hooks";
|
|
55
|
-
import
|
|
56
|
-
|
|
48
|
+
import { useMemo, useState } from "react";
|
|
49
|
+
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
50
|
+
var TableHeightProvider = ({
|
|
51
|
+
children,
|
|
52
|
+
additionalRows = 0,
|
|
53
|
+
defaultVisibleRows,
|
|
54
|
+
heightFormat = "px"
|
|
55
|
+
}) => {
|
|
57
56
|
const [visibleRows, setVisibleRows] = useResetState(defaultVisibleRows);
|
|
58
57
|
const [rowHeight, setRowHeight] = useState();
|
|
59
58
|
const height = useMemo(() => {
|
|
60
59
|
if (rowHeight !== void 0 && visibleRows !== void 0) {
|
|
61
60
|
return rowHeight * (visibleRows + additionalRows);
|
|
62
61
|
}
|
|
63
|
-
}, [
|
|
64
|
-
|
|
65
|
-
rowHeight,
|
|
66
|
-
visibleRows,
|
|
67
|
-
additionalRows
|
|
68
|
-
]);
|
|
69
|
-
const formattedHeight = useMemo(() => height === void 0 ? void 0 : `${height}${heightFormat}`, [
|
|
70
|
-
height,
|
|
71
|
-
heightFormat
|
|
72
|
-
]);
|
|
62
|
+
}, [defaultVisibleRows, rowHeight, visibleRows, additionalRows]);
|
|
63
|
+
const formattedHeight = useMemo(() => height === void 0 ? void 0 : `${height}${heightFormat}`, [height, heightFormat]);
|
|
73
64
|
const value = useMemo(() => ({
|
|
74
65
|
height: formattedHeight,
|
|
75
66
|
provided: true,
|
|
@@ -77,21 +68,13 @@ var TableHeightProvider = /* @__PURE__ */ __name(({ children, additionalRows = 0
|
|
|
77
68
|
setRowHeight,
|
|
78
69
|
setVisibleRows,
|
|
79
70
|
visibleRows
|
|
80
|
-
}), [
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
setRowHeight,
|
|
84
|
-
setVisibleRows,
|
|
85
|
-
visibleRows
|
|
86
|
-
]);
|
|
87
|
-
return /* @__PURE__ */ React3.createElement(TableHeightContext, {
|
|
88
|
-
value
|
|
89
|
-
}, children);
|
|
90
|
-
}, "TableHeightProvider");
|
|
71
|
+
}), [formattedHeight, rowHeight, setRowHeight, setVisibleRows, visibleRows]);
|
|
72
|
+
return /* @__PURE__ */ jsx3(TableHeightContext, { value, children });
|
|
73
|
+
};
|
|
91
74
|
|
|
92
75
|
// src/context/TableHeight/use.ts
|
|
93
76
|
import { useContextEx } from "@xylabs/react-shared";
|
|
94
|
-
var useTableHeight =
|
|
77
|
+
var useTableHeight = (required = false) => useContextEx(TableHeightContext, "TableHeight", required);
|
|
95
78
|
export {
|
|
96
79
|
TableCellEx,
|
|
97
80
|
TableEx,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/components/TableEx/TableCellEx.tsx","../../src/components/TableEx/TableEx.tsx","../../src/components/TableEx/TableFooterEx.tsx","../../src/context/TableHeight/Context.ts","../../src/context/TableHeight/Provider.tsx","../../src/context/TableHeight/use.ts"],"sourcesContent":["import type { TableCellProps } from '@mui/material'\nimport { styled, TableCell } from '@mui/material'\n\nexport interface TableCellExProps extends TableCellProps {\n noBgColor?: boolean\n}\n\nexport const TableCellEx = styled(TableCell, { name: 'TableCellNoBgColor', shouldForwardProp: prop => prop !== 'noBgColor' })<TableCellExProps>(\n ({ noBgColor = true }) => ({ ...(noBgColor && { backgroundColor: 'transparent' }) }),\n)\n","import type { TableProps } from '@mui/material'\nimport { Table } from '@mui/material'\nimport type { PropsWithChildren } from 'react'\nimport React from 'react'\n\nimport type { TableExVariants } from './types/index.ts'\n\nexport interface TableExProps extends PropsWithChildren, TableProps {\n variant?: TableExVariants\n}\n\nconst TableExInner: React.FC<TableExProps> = ({ children, ...props }) => {\n return (\n <Table {...props}>\n {children}\n </Table>\n )\n}\n\nTableExInner.displayName = 'TableExInner'\n\nexport const TableExWithRef: React.FC<TableExProps> = ({\n variant, children, ...props\n}) => {\n return (\n <TableExInner stickyHeader={variant === 'scrollable'} {...props}>\n {children}\n </TableExInner>\n )\n}\n\nTableExWithRef.displayName = 'TableEx'\n\nexport const TableEx = TableExWithRef\n","import type { TableFooterProps } from '@mui/material'\nimport { styled, TableFooter } from '@mui/material'\nimport type { PropsWithChildren } from 'react'\nimport React from 'react'\n\nimport type { TableExVariants } from './types/index.ts'\n\nconst TableFooterExRoot = styled(TableFooter, {\n name: 'TableFooterEx',\n shouldForwardProp: propName => propName !== 'scrollable',\n slot: 'Root',\n})<TableFooterExProps>(({ variant, theme }) => ({\n backgroundColor: theme.vars.palette.background.default,\n bottom: 'unset',\n position: 'relative',\n ...(variant === 'scrollable' && {\n bottom: 0,\n position: 'sticky',\n }),\n}))\n\nexport interface TableFooterExProps extends PropsWithChildren, TableFooterProps {\n variant?: TableExVariants\n}\n\nexport const TableFooterEx: React.FC<TableFooterExProps> = ({ children, ...props }) => <TableFooterExRoot {...props}>{children}</TableFooterExRoot>\n","import { createContextEx } from '@xylabs/react-shared'\n\nimport type { TableHeightState } from './State.ts'\n\nexport const TableHeightContext = createContextEx<TableHeightState>()\n","import { useResetState } from '@xylabs/react-hooks'\nimport type { ContextExProviderProps } from '@xylabs/react-shared'\nimport type { PropsWithChildren } from 'react'\nimport React, { useMemo, useState } from 'react'\n\nimport { TableHeightContext } from './Context.ts'\nimport type { TableHeightState } from './State.ts'\n\nexport interface TableHeightProviderProps extends ContextExProviderProps, PropsWithChildren {\n /** @field Account for optional header and footer rows */\n additionalRows?: number\n defaultVisibleRows?: number\n heightFormat?: string\n}\n\nexport const TableHeightProvider: React.FC<TableHeightProviderProps> = ({\n children,\n additionalRows = 0,\n defaultVisibleRows,\n heightFormat = 'px',\n}) => {\n const [visibleRows, setVisibleRows] = useResetState(defaultVisibleRows)\n const [rowHeight, setRowHeight] = useState<number | undefined>()\n\n const height = useMemo(() => {\n if (rowHeight !== undefined && visibleRows !== undefined) {\n return rowHeight * (visibleRows + additionalRows)\n }\n }, [defaultVisibleRows, rowHeight, visibleRows, additionalRows])\n\n const formattedHeight = useMemo(() => (height === undefined ? undefined : `${height}${heightFormat}`), [height, heightFormat])\n\n const value: TableHeightState = useMemo(() => ({\n height: formattedHeight, provided: true, rowHeight, setRowHeight, setVisibleRows, visibleRows,\n }), [formattedHeight, rowHeight, setRowHeight, setVisibleRows, visibleRows])\n\n return (\n <TableHeightContext value={value}>\n {children}\n </TableHeightContext>\n )\n}\n","import { useContextEx } from '@xylabs/react-shared'\n\nimport { TableHeightContext } from './Context.ts'\n\nexport const useTableHeight = (required = false) => useContextEx(TableHeightContext, 'TableHeight', required)\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/components/TableEx/TableCellEx.tsx","../../src/components/TableEx/TableEx.tsx","../../src/components/TableEx/TableFooterEx.tsx","../../src/context/TableHeight/Context.ts","../../src/context/TableHeight/Provider.tsx","../../src/context/TableHeight/use.ts"],"sourcesContent":["import type { TableCellProps } from '@mui/material'\nimport { styled, TableCell } from '@mui/material'\n\nexport interface TableCellExProps extends TableCellProps {\n noBgColor?: boolean\n}\n\nexport const TableCellEx = styled(TableCell, { name: 'TableCellNoBgColor', shouldForwardProp: prop => prop !== 'noBgColor' })<TableCellExProps>(\n ({ noBgColor = true }) => ({ ...(noBgColor && { backgroundColor: 'transparent' }) }),\n)\n","import type { TableProps } from '@mui/material'\nimport { Table } from '@mui/material'\nimport type { PropsWithChildren } from 'react'\nimport React from 'react'\n\nimport type { TableExVariants } from './types/index.ts'\n\nexport interface TableExProps extends PropsWithChildren, TableProps {\n variant?: TableExVariants\n}\n\nconst TableExInner: React.FC<TableExProps> = ({ children, ...props }) => {\n return (\n <Table {...props}>\n {children}\n </Table>\n )\n}\n\nTableExInner.displayName = 'TableExInner'\n\nexport const TableExWithRef: React.FC<TableExProps> = ({\n variant, children, ...props\n}) => {\n return (\n <TableExInner stickyHeader={variant === 'scrollable'} {...props}>\n {children}\n </TableExInner>\n )\n}\n\nTableExWithRef.displayName = 'TableEx'\n\nexport const TableEx = TableExWithRef\n","import type { TableFooterProps } from '@mui/material'\nimport { styled, TableFooter } from '@mui/material'\nimport type { PropsWithChildren } from 'react'\nimport React from 'react'\n\nimport type { TableExVariants } from './types/index.ts'\n\nconst TableFooterExRoot = styled(TableFooter, {\n name: 'TableFooterEx',\n shouldForwardProp: propName => propName !== 'scrollable',\n slot: 'Root',\n})<TableFooterExProps>(({ variant, theme }) => ({\n backgroundColor: theme.vars.palette.background.default,\n bottom: 'unset',\n position: 'relative',\n ...(variant === 'scrollable' && {\n bottom: 0,\n position: 'sticky',\n }),\n}))\n\nexport interface TableFooterExProps extends PropsWithChildren, TableFooterProps {\n variant?: TableExVariants\n}\n\nexport const TableFooterEx: React.FC<TableFooterExProps> = ({ children, ...props }) => <TableFooterExRoot {...props}>{children}</TableFooterExRoot>\n","import { createContextEx } from '@xylabs/react-shared'\n\nimport type { TableHeightState } from './State.ts'\n\nexport const TableHeightContext = createContextEx<TableHeightState>()\n","import { useResetState } from '@xylabs/react-hooks'\nimport type { ContextExProviderProps } from '@xylabs/react-shared'\nimport type { PropsWithChildren } from 'react'\nimport React, { useMemo, useState } from 'react'\n\nimport { TableHeightContext } from './Context.ts'\nimport type { TableHeightState } from './State.ts'\n\nexport interface TableHeightProviderProps extends ContextExProviderProps, PropsWithChildren {\n /** @field Account for optional header and footer rows */\n additionalRows?: number\n defaultVisibleRows?: number\n heightFormat?: string\n}\n\nexport const TableHeightProvider: React.FC<TableHeightProviderProps> = ({\n children,\n additionalRows = 0,\n defaultVisibleRows,\n heightFormat = 'px',\n}) => {\n const [visibleRows, setVisibleRows] = useResetState(defaultVisibleRows)\n const [rowHeight, setRowHeight] = useState<number | undefined>()\n\n const height = useMemo(() => {\n if (rowHeight !== undefined && visibleRows !== undefined) {\n return rowHeight * (visibleRows + additionalRows)\n }\n }, [defaultVisibleRows, rowHeight, visibleRows, additionalRows])\n\n const formattedHeight = useMemo(() => (height === undefined ? undefined : `${height}${heightFormat}`), [height, heightFormat])\n\n const value: TableHeightState = useMemo(() => ({\n height: formattedHeight, provided: true, rowHeight, setRowHeight, setVisibleRows, visibleRows,\n }), [formattedHeight, rowHeight, setRowHeight, setVisibleRows, visibleRows])\n\n return (\n <TableHeightContext value={value}>\n {children}\n </TableHeightContext>\n )\n}\n","import { useContextEx } from '@xylabs/react-shared'\n\nimport { TableHeightContext } from './Context.ts'\n\nexport const useTableHeight = (required = false) => useContextEx(TableHeightContext, 'TableHeight', required)\n"],"mappings":";AACA,SAAS,QAAQ,iBAAiB;AAM3B,IAAM,cAAc,OAAO,WAAW,EAAE,MAAM,sBAAsB,mBAAmB,UAAQ,SAAS,YAAY,CAAC;AAAA,EAC1H,CAAC,EAAE,YAAY,KAAK,OAAO,EAAE,GAAI,aAAa,EAAE,iBAAiB,cAAc,EAAG;AACpF;;;ACRA,SAAS,aAAa;AAYlB;AAFJ,IAAM,eAAuC,CAAC,EAAE,UAAU,GAAG,MAAM,MAAM;AACvE,SACE,oBAAC,SAAO,GAAG,OACR,UACH;AAEJ;AAEA,aAAa,cAAc;AAEpB,IAAM,iBAAyC,CAAC;AAAA,EACrD;AAAA,EAAS;AAAA,EAAU,GAAG;AACxB,MAAM;AACJ,SACE,oBAAC,gBAAa,cAAc,YAAY,cAAe,GAAG,OACvD,UACH;AAEJ;AAEA,eAAe,cAAc;AAEtB,IAAM,UAAU;;;AChCvB,SAAS,UAAAA,SAAQ,mBAAmB;AAwBmD,gBAAAC,YAAA;AAlBvF,IAAM,oBAAoBD,QAAO,aAAa;AAAA,EAC5C,MAAM;AAAA,EACN,mBAAmB,cAAY,aAAa;AAAA,EAC5C,MAAM;AACR,CAAC,EAAsB,CAAC,EAAE,SAAS,MAAM,OAAO;AAAA,EAC9C,iBAAiB,MAAM,KAAK,QAAQ,WAAW;AAAA,EAC/C,QAAQ;AAAA,EACR,UAAU;AAAA,EACV,GAAI,YAAY,gBAAgB;AAAA,IAC9B,QAAQ;AAAA,IACR,UAAU;AAAA,EACZ;AACF,EAAE;AAMK,IAAM,gBAA8C,CAAC,EAAE,UAAU,GAAG,MAAM,MAAM,gBAAAC,KAAC,qBAAmB,GAAG,OAAQ,UAAS;;;ACzB/H,SAAS,uBAAuB;AAIzB,IAAM,qBAAqB,gBAAkC;;;ACJpE,SAAS,qBAAqB;AAG9B,SAAgB,SAAS,gBAAgB;AAkCrC,gBAAAC,YAAA;AAtBG,IAAM,sBAA0D,CAAC;AAAA,EACtE;AAAA,EACA,iBAAiB;AAAA,EACjB;AAAA,EACA,eAAe;AACjB,MAAM;AACJ,QAAM,CAAC,aAAa,cAAc,IAAI,cAAc,kBAAkB;AACtE,QAAM,CAAC,WAAW,YAAY,IAAI,SAA6B;AAE/D,QAAM,SAAS,QAAQ,MAAM;AAC3B,QAAI,cAAc,UAAa,gBAAgB,QAAW;AACxD,aAAO,aAAa,cAAc;AAAA,IACpC;AAAA,EACF,GAAG,CAAC,oBAAoB,WAAW,aAAa,cAAc,CAAC;AAE/D,QAAM,kBAAkB,QAAQ,MAAO,WAAW,SAAY,SAAY,GAAG,MAAM,GAAG,YAAY,IAAK,CAAC,QAAQ,YAAY,CAAC;AAE7H,QAAM,QAA0B,QAAQ,OAAO;AAAA,IAC7C,QAAQ;AAAA,IAAiB,UAAU;AAAA,IAAM;AAAA,IAAW;AAAA,IAAc;AAAA,IAAgB;AAAA,EACpF,IAAI,CAAC,iBAAiB,WAAW,cAAc,gBAAgB,WAAW,CAAC;AAE3E,SACE,gBAAAA,KAAC,sBAAmB,OACjB,UACH;AAEJ;;;ACzCA,SAAS,oBAAoB;AAItB,IAAM,iBAAiB,CAAC,WAAW,UAAU,aAAa,oBAAoB,eAAe,QAAQ;","names":["styled","jsx","jsx"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/react-table",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.1",
|
|
4
4
|
"description": "Common React library for all XYO projects that use React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"xyo",
|
|
@@ -38,30 +38,37 @@
|
|
|
38
38
|
},
|
|
39
39
|
"module": "dist/browser/index.mjs",
|
|
40
40
|
"types": "dist/browser/index.d.ts",
|
|
41
|
+
"files": [
|
|
42
|
+
"dist",
|
|
43
|
+
"src"
|
|
44
|
+
],
|
|
41
45
|
"dependencies": {
|
|
42
|
-
"@xylabs/react-hooks": "
|
|
43
|
-
"@xylabs/react-shared": "
|
|
46
|
+
"@xylabs/react-hooks": "~7.0.1",
|
|
47
|
+
"@xylabs/react-shared": "~7.0.1"
|
|
44
48
|
},
|
|
45
49
|
"devDependencies": {
|
|
46
|
-
"@mui/icons-material": "
|
|
47
|
-
"@mui/material": "
|
|
48
|
-
"@storybook/react-vite": "
|
|
49
|
-
"@types/react": "
|
|
50
|
-
"@xylabs/ts-scripts-yarn3": "
|
|
51
|
-
"@xylabs/tsconfig
|
|
52
|
-
"@
|
|
53
|
-
"react": "
|
|
54
|
-
"react-
|
|
55
|
-
"react
|
|
56
|
-
"
|
|
57
|
-
"
|
|
50
|
+
"@mui/icons-material": "~7.3.1",
|
|
51
|
+
"@mui/material": "~7.3.1",
|
|
52
|
+
"@storybook/react-vite": "~9.1.2",
|
|
53
|
+
"@types/react": "~19.1.10",
|
|
54
|
+
"@xylabs/ts-scripts-yarn3": "~7.1.1",
|
|
55
|
+
"@xylabs/tsconfig": "~7.1.1",
|
|
56
|
+
"@xylabs/tsconfig-dom": "~7.1.1",
|
|
57
|
+
"@xylabs/tsconfig-react": "~7.1.1",
|
|
58
|
+
"@xyo-network/react-storybook": "^7.0.1",
|
|
59
|
+
"react": "~19.1.1",
|
|
60
|
+
"react-dom": "~19.1.1",
|
|
61
|
+
"react-router-dom": "~7.8.0",
|
|
62
|
+
"storybook": "~9.1.2",
|
|
63
|
+
"typescript": "~5.9.2",
|
|
64
|
+
"vite": "~7.1.2"
|
|
58
65
|
},
|
|
59
66
|
"peerDependencies": {
|
|
60
67
|
"@mui/icons-material": ">=6 <8",
|
|
61
68
|
"@mui/material": ">=6 <8",
|
|
62
|
-
"react": "
|
|
63
|
-
"react-dom": "
|
|
64
|
-
"react-router-dom": "
|
|
69
|
+
"react": "~19",
|
|
70
|
+
"react-dom": "~19",
|
|
71
|
+
"react-router-dom": "~7"
|
|
65
72
|
},
|
|
66
73
|
"publishConfig": {
|
|
67
74
|
"access": "public"
|
package/typedoc.json
DELETED