@alphakits/ui 2.0.6 → 2.0.8
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/badge/component.d.ts +1 -1
- package/dist/badge/component.js +19 -19
- package/dist/badge/component.js.map +1 -1
- package/dist/badge/index.module.css +1 -1
- package/dist/badge/index.module.css.js +46 -32
- package/dist/badge/index.module.css.js.map +1 -1
- package/dist/cell/base/component.d.ts +6 -0
- package/dist/cell/base/component.js +69 -37
- package/dist/cell/base/component.js.map +1 -1
- package/dist/cell/base/index.module.css +1 -1
- package/dist/cell/base/index.module.css.js +12 -8
- package/dist/cell/base/index.module.css.js.map +1 -1
- package/dist/cell/pure/component.d.ts +2 -0
- package/dist/cell/pure/component.js +16 -14
- package/dist/cell/pure/component.js.map +1 -1
- package/dist/cell/pure/index.module.css +1 -1
- package/dist/cell/pure/index.module.css.js +16 -14
- package/dist/cell/pure/index.module.css.js.map +1 -1
- package/dist/filter-tag/component.d.ts +12 -0
- package/dist/filter-tag/component.js +38 -0
- package/dist/filter-tag/component.js.map +1 -0
- package/dist/filter-tag/index.d.ts +1 -0
- package/dist/filter-tag/index.js +5 -0
- package/dist/filter-tag/index.js.map +1 -0
- package/dist/filter-tag/index.module.css +1 -0
- package/dist/filter-tag/index.module.css.js +29 -0
- package/dist/filter-tag/index.module.css.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +268 -266
- package/dist/index.js.map +1 -1
- package/dist/sidepanel/component.d.ts +1 -0
- package/dist/sidepanel/component.js +22 -20
- package/dist/sidepanel/component.js.map +1 -1
- package/dist/sidepanel-header/component.d.ts +1 -0
- package/dist/sidepanel-header/component.js +9 -8
- package/dist/sidepanel-header/component.js.map +1 -1
- package/dist/sidepanel-header/index.module.css +1 -1
- package/dist/table/columns.js +2 -4
- package/dist/table/columns.js.map +1 -1
- package/dist/table/components/cell/component.d.ts +1 -0
- package/dist/table/components/cell/component.js +42 -35
- package/dist/table/components/cell/component.js.map +1 -1
- package/dist/table/components/cell/index.module.css +1 -1
- package/dist/table/components/cell/index.module.css.js +12 -8
- package/dist/table/components/cell/index.module.css.js.map +1 -1
- package/dist/table/components/cells/index.module.css +1 -1
- package/dist/table/components/table-header/index.module.css +1 -1
- package/dist/table/index.module.css.js +9 -6
- package/dist/table/index.module.css.js.map +1 -1
- package/dist/table/table.d.ts +2 -1
- package/dist/table/table.js +107 -101
- package/dist/table/table.js.map +1 -1
- package/dist/table/utils/prepare-rows.d.ts +2 -1
- package/dist/table/utils/prepare-rows.js +60 -27
- package/dist/table/utils/prepare-rows.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,41 +1,43 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { FlexColumns as
|
|
5
|
-
import { SidepanelHeader as
|
|
6
|
-
import { Skeleton as
|
|
1
|
+
import { jsx as e, jsxs as v } from "react/jsx-runtime";
|
|
2
|
+
import N from "react";
|
|
3
|
+
import x from "classnames";
|
|
4
|
+
import { FlexColumns as S } from "../flex-columns/component.js";
|
|
5
|
+
import { SidepanelHeader as g } from "../sidepanel-header/component.js";
|
|
6
|
+
import { Skeleton as y } from "../skeleton/component.js";
|
|
7
7
|
import r from "./index.module.css.js";
|
|
8
|
-
const
|
|
8
|
+
const R = ({
|
|
9
9
|
dataTestId: i,
|
|
10
10
|
title: m,
|
|
11
11
|
loading: t,
|
|
12
12
|
headerRightAddons: a,
|
|
13
13
|
subtitle: l,
|
|
14
14
|
noCloser: s,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
showCloser: n,
|
|
16
|
+
headerBottomAddons: c,
|
|
17
|
+
noStickyFooter: d,
|
|
18
|
+
noStickyHeader: p,
|
|
18
19
|
bottomAddons: o,
|
|
19
|
-
children:
|
|
20
|
-
...
|
|
21
|
-
}) => /* @__PURE__ */ e(
|
|
20
|
+
children: f,
|
|
21
|
+
...h
|
|
22
|
+
}) => /* @__PURE__ */ e(N.Fragment, { children: t ? /* @__PURE__ */ e(S, { className: r.loader, columns: 1, gr: 20, children: new Array(7).fill("").map((j, u) => /* @__PURE__ */ e(y, { animate: !0, visible: !0, className: r.input }, u)) }) : /* @__PURE__ */ v("div", { children: [
|
|
22
23
|
/* @__PURE__ */ e(
|
|
23
|
-
|
|
24
|
+
g,
|
|
24
25
|
{
|
|
25
26
|
title: m,
|
|
26
|
-
className:
|
|
27
|
+
className: p ? void 0 : r.header,
|
|
27
28
|
subtitle: l,
|
|
28
29
|
noCloser: s,
|
|
30
|
+
showCloser: n,
|
|
29
31
|
dataTestId: i,
|
|
30
32
|
rightAddons: a,
|
|
31
|
-
bottomAddons:
|
|
32
|
-
...
|
|
33
|
+
bottomAddons: c,
|
|
34
|
+
...h
|
|
33
35
|
}
|
|
34
36
|
),
|
|
35
|
-
/* @__PURE__ */ e("div", { className: r.content, children:
|
|
36
|
-
o && /* @__PURE__ */ e("div", { className:
|
|
37
|
+
/* @__PURE__ */ e("div", { className: r.content, children: f }),
|
|
38
|
+
o && /* @__PURE__ */ e("div", { className: x(r.footer, { [r.noSticky]: d }), children: o })
|
|
37
39
|
] }) });
|
|
38
40
|
export {
|
|
39
|
-
|
|
41
|
+
R as Sidepanel
|
|
40
42
|
};
|
|
41
43
|
//# sourceMappingURL=component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sources":["../../src/sidepanel/component.tsx"],"sourcesContent":["/* eslint-disable react/no-array-index-key */\nimport React from 'react';\nimport classNames from 'classnames';\n\nimport { FlexColumns } from '../flex-columns';\nimport { TFunction } from '../modal';\nimport { SidepanelHeader } from '../sidepanel-header';\nimport { Skeleton } from '../skeleton';\n\nimport styles from './index.module.css';\n\ntype Back = {\n back?: () => void;\n t: TFunction;\n} | {\n back?: never;\n t?: never;\n};\n\nexport type SidepanelProps = {\n title?: string;\n loading?: boolean;\n subtitle?: string;\n headerRightAddons?: React.ReactNode;\n headerBottomAddons?: React.ReactNode;\n bottomAddons?: React.ReactNode;\n dataTestId?: string;\n noCloser?: boolean;\n noStickyFooter?: boolean;\n noStickyHeader?: boolean;\n} & Back;\n\nexport const Sidepanel: React.FC<SidepanelProps> = ({\n dataTestId,\n title,\n loading,\n headerRightAddons,\n subtitle,\n noCloser,\n headerBottomAddons,\n noStickyFooter,\n noStickyHeader,\n bottomAddons,\n children,\n ...props\n}) => (\n <React.Fragment>\n { loading ? (\n <FlexColumns className={ styles.loader } columns={ 1 } gr={ 20 }>\n { new Array(7).fill('').map((_, i) => (\n <Skeleton key={ i } animate={ true } visible={ true } className={ styles.input } />\n )) }\n </FlexColumns>\n ) : (\n <div>\n <SidepanelHeader\n title={ title }\n className={ noStickyHeader ? undefined : styles.header }\n subtitle={ subtitle }\n noCloser={ noCloser }\n dataTestId={ dataTestId }\n rightAddons={ headerRightAddons }\n bottomAddons={ headerBottomAddons }\n { ...props }\n />\n\n <div className={ styles.content }>\n { children }\n </div>\n\n { bottomAddons && (\n <div className={ classNames(styles.footer, { [styles.noSticky]: noStickyFooter }) }>\n { bottomAddons }\n </div>\n ) }\n </div>\n ) }\n </React.Fragment>\n);\n"],"names":["Sidepanel","dataTestId","title","loading","headerRightAddons","subtitle","noCloser","headerBottomAddons","noStickyFooter","noStickyHeader","bottomAddons","children","props","React","FlexColumns","styles","_","i","jsx","Skeleton","SidepanelHeader","classNames"],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"component.js","sources":["../../src/sidepanel/component.tsx"],"sourcesContent":["/* eslint-disable react/no-array-index-key */\nimport React from 'react';\nimport classNames from 'classnames';\n\nimport { FlexColumns } from '../flex-columns';\nimport { TFunction } from '../modal';\nimport { SidepanelHeader } from '../sidepanel-header';\nimport { Skeleton } from '../skeleton';\n\nimport styles from './index.module.css';\n\ntype Back = {\n back?: () => void;\n t: TFunction;\n} | {\n back?: never;\n t?: never;\n};\n\nexport type SidepanelProps = {\n title?: string;\n loading?: boolean;\n subtitle?: string;\n headerRightAddons?: React.ReactNode;\n headerBottomAddons?: React.ReactNode;\n bottomAddons?: React.ReactNode;\n dataTestId?: string;\n noCloser?: boolean;\n showCloser?: boolean;\n noStickyFooter?: boolean;\n noStickyHeader?: boolean;\n} & Back;\n\nexport const Sidepanel: React.FC<SidepanelProps> = ({\n dataTestId,\n title,\n loading,\n headerRightAddons,\n subtitle,\n noCloser,\n showCloser,\n headerBottomAddons,\n noStickyFooter,\n noStickyHeader,\n bottomAddons,\n children,\n ...props\n}) => (\n <React.Fragment>\n { loading ? (\n <FlexColumns className={ styles.loader } columns={ 1 } gr={ 20 }>\n { new Array(7).fill('').map((_, i) => (\n <Skeleton key={ i } animate={ true } visible={ true } className={ styles.input } />\n )) }\n </FlexColumns>\n ) : (\n <div>\n <SidepanelHeader\n title={ title }\n className={ noStickyHeader ? undefined : styles.header }\n subtitle={ subtitle }\n noCloser={ noCloser }\n showCloser={ showCloser }\n dataTestId={ dataTestId }\n rightAddons={ headerRightAddons }\n bottomAddons={ headerBottomAddons }\n { ...props }\n />\n\n <div className={ styles.content }>\n { children }\n </div>\n\n { bottomAddons && (\n <div className={ classNames(styles.footer, { [styles.noSticky]: noStickyFooter }) }>\n { bottomAddons }\n </div>\n ) }\n </div>\n ) }\n </React.Fragment>\n);\n"],"names":["Sidepanel","dataTestId","title","loading","headerRightAddons","subtitle","noCloser","showCloser","headerBottomAddons","noStickyFooter","noStickyHeader","bottomAddons","children","props","React","FlexColumns","styles","_","i","jsx","Skeleton","SidepanelHeader","classNames"],"mappings":";;;;;;;AAiCO,MAAMA,IAAsC,CAAC;AAAA,EAChD,YAAAC;AAAA,EACA,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,mBAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,YAAAC;AAAA,EACA,oBAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,cAAAC;AAAA,EACA,UAAAC;AAAA,EACA,GAAGC;AACP,wBACKC,EAAM,UAAN,EACK,UAAAX,sBACGY,GAAA,EAAY,WAAYC,EAAO,QAAS,SAAU,GAAI,IAAK,IACtD,UAAA,IAAI,MAAM,CAAC,EAAE,KAAK,EAAE,EAAE,IAAI,CAACC,GAAGC,MAC5B,gBAAAC,EAACC,GAAA,EAAmB,SAAU,IAAO,SAAU,IAAO,WAAYJ,EAAO,MAAA,GAAzDE,CAAiE,CACpF,EAAA,CACL,sBAEC,OAAA,EACG,UAAA;AAAA,EAAA,gBAAAC;AAAA,IAACE;AAAA,IAAA;AAAA,MACG,OAAAnB;AAAA,MACA,WAAYQ,IAAiB,SAAYM,EAAO;AAAA,MAChD,UAAAX;AAAA,MACA,UAAAC;AAAA,MACA,YAAAC;AAAA,MACA,YAAAN;AAAA,MACA,aAAcG;AAAA,MACd,cAAeI;AAAA,MACb,GAAGK;AAAA,IAAA;AAAA,EAAA;AAAA,EAGT,gBAAAM,EAAC,OAAA,EAAI,WAAYH,EAAO,SAClB,UAAAJ,GACN;AAAA,EAEED,KACE,gBAAAQ,EAAC,OAAA,EAAI,WAAYG,EAAWN,EAAO,QAAQ,EAAE,CAACA,EAAO,QAAQ,GAAGP,EAAA,CAAgB,GAC1E,UAAAE,EAAA,CACN;AAAA,EAAA,CAER,EAAA,CAER;"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as a, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import p from "classnames";
|
|
3
|
-
import { BackButton as
|
|
4
|
-
import { FlexColumns as
|
|
3
|
+
import { BackButton as g } from "../back-button/component.js";
|
|
4
|
+
import { FlexColumns as w } from "../flex-columns/component.js";
|
|
5
5
|
import { Typography as t } from "../typography/component.js";
|
|
6
6
|
import e from "./index.module.css.js";
|
|
7
|
-
const h = ({ title: m, subtitle: l }) => /* @__PURE__ */ a(
|
|
7
|
+
const h = ({ title: m, subtitle: l }) => /* @__PURE__ */ a(w, { columns: 1, gr: 4, className: e.title, children: [
|
|
8
8
|
/* @__PURE__ */ r(t.Title, { color: "primary", tag: "div", view: "small", weight: "bold", children: m }),
|
|
9
9
|
l && /* @__PURE__ */ r(t.Text, { view: "title", weight: "regular", color: "secondary", children: l })
|
|
10
|
-
] }),
|
|
10
|
+
] }), u = ({
|
|
11
11
|
className: m,
|
|
12
12
|
dataTestId: l,
|
|
13
13
|
title: o,
|
|
@@ -16,7 +16,8 @@ const h = ({ title: m, subtitle: l }) => /* @__PURE__ */ a(g, { columns: 1, gr:
|
|
|
16
16
|
subtitle: c,
|
|
17
17
|
t: d,
|
|
18
18
|
bottomAddons: n,
|
|
19
|
-
noCloser:
|
|
19
|
+
noCloser: f,
|
|
20
|
+
showCloser: v
|
|
20
21
|
}) => /* @__PURE__ */ a(
|
|
21
22
|
"div",
|
|
22
23
|
{
|
|
@@ -24,9 +25,9 @@ const h = ({ title: m, subtitle: l }) => /* @__PURE__ */ a(g, { columns: 1, gr:
|
|
|
24
25
|
className: p(e.wrapper, m),
|
|
25
26
|
children: [
|
|
26
27
|
(i || o || s) && /* @__PURE__ */ a("div", { className: e.heading, children: [
|
|
27
|
-
i && d && /* @__PURE__ */ r(
|
|
28
|
+
i && d && /* @__PURE__ */ r(g, { onClick: i, t: d }),
|
|
28
29
|
!i && o && /* @__PURE__ */ r(h, { title: o, subtitle: c }),
|
|
29
|
-
s && /* @__PURE__ */ r("div", { className: p(e.rightAddons, { [e.noCloser]: !!v }), children: s })
|
|
30
|
+
s && /* @__PURE__ */ r("div", { className: p(e.rightAddons, { [e.noCloser]: !!f || v === !1 }), children: s })
|
|
30
31
|
] }),
|
|
31
32
|
!!i && o && /* @__PURE__ */ r(h, { title: o, subtitle: c }),
|
|
32
33
|
!!n && /* @__PURE__ */ r("div", { className: e.bottomAddons, children: n })
|
|
@@ -34,6 +35,6 @@ const h = ({ title: m, subtitle: l }) => /* @__PURE__ */ a(g, { columns: 1, gr:
|
|
|
34
35
|
}
|
|
35
36
|
);
|
|
36
37
|
export {
|
|
37
|
-
|
|
38
|
+
u as SidepanelHeader
|
|
38
39
|
};
|
|
39
40
|
//# sourceMappingURL=component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sources":["../../src/sidepanel-header/component.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'classnames';\n\nimport { BackButton } from '../back-button';\nimport { FlexColumns } from '../flex-columns';\nimport { TFunction } from '../modal';\nimport { Typography } from '../typography';\n\nimport styles from './index.module.css';\n\ntype Back = {\n back?: () => void;\n t: TFunction;\n} | {\n back?: never;\n t?: never;\n};\n\nexport type SidepanelHeaderProps = {\n /**\n * Кастомный класс\n */\n className?: string;\n\n /**\n * title\n */\n title?: string;\n\n /**\n * rightAddons - слот слева\n */\n rightAddons?: React.ReactNode;\n\n /**\n * bottomAddons - слот внизу\n */\n bottomAddons?: React.ReactNode;\n\n /**\n * Id компонента для тестов\n */\n noCloser?: boolean;\n dataTestId?: string;\n\n subtitle?: string;\n} & Back;\n\nconst Title = ({ title, subtitle }: {title: string; subtitle?: string}) => (\n <FlexColumns columns={ 1 } gr={ 4 } className={ styles.title }>\n\n <Typography.Title color=\"primary\" tag=\"div\" view=\"small\" weight=\"bold\">\n { title }\n </Typography.Title>\n\n { subtitle && (\n <Typography.Text view=\"title\" weight=\"regular\" color=\"secondary\">\n { subtitle }\n </Typography.Text>\n ) }\n\n </FlexColumns>\n);\n\nexport const SidepanelHeader: React.FC<SidepanelHeaderProps> = ({\n className,\n dataTestId,\n title,\n rightAddons,\n back,\n subtitle,\n t,\n bottomAddons,\n noCloser,\n}) => (\n <div\n data-test-id={ dataTestId }\n className={ cn(styles.wrapper, className) }\n >\n { (back || title || rightAddons) && (\n <div className={ styles.heading }>\n { back && t && (\n <BackButton onClick={ back } t={ t } />\n ) }\n\n { !back && title && (\n <Title title={ title } subtitle={ subtitle } />\n ) }\n\n { rightAddons && <div className={ cn(styles.rightAddons, { [styles.noCloser]: !!noCloser }) }>{ rightAddons }</div> }\n </div>\n ) }\n\n { !!back && title && (\n <Title title={ title } subtitle={ subtitle } />\n ) }\n\n { !!bottomAddons && <div className={ styles.bottomAddons }>{ bottomAddons }</div> }\n\n </div>\n);\n"],"names":["Title","title","subtitle","jsxs","FlexColumns","styles","jsx","Typography","SidepanelHeader","className","dataTestId","rightAddons","back","t","bottomAddons","noCloser","cn","BackButton"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"component.js","sources":["../../src/sidepanel-header/component.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'classnames';\n\nimport { BackButton } from '../back-button';\nimport { FlexColumns } from '../flex-columns';\nimport { TFunction } from '../modal';\nimport { Typography } from '../typography';\n\nimport styles from './index.module.css';\n\ntype Back = {\n back?: () => void;\n t: TFunction;\n} | {\n back?: never;\n t?: never;\n};\n\nexport type SidepanelHeaderProps = {\n /**\n * Кастомный класс\n */\n className?: string;\n\n /**\n * title\n */\n title?: string;\n\n /**\n * rightAddons - слот слева\n */\n rightAddons?: React.ReactNode;\n\n /**\n * bottomAddons - слот внизу\n */\n bottomAddons?: React.ReactNode;\n\n /**\n * Id компонента для тестов\n */\n noCloser?: boolean;\n showCloser?: boolean;\n dataTestId?: string;\n\n subtitle?: string;\n} & Back;\n\nconst Title = ({ title, subtitle }: {title: string; subtitle?: string}) => (\n <FlexColumns columns={ 1 } gr={ 4 } className={ styles.title }>\n\n <Typography.Title color=\"primary\" tag=\"div\" view=\"small\" weight=\"bold\">\n { title }\n </Typography.Title>\n\n { subtitle && (\n <Typography.Text view=\"title\" weight=\"regular\" color=\"secondary\">\n { subtitle }\n </Typography.Text>\n ) }\n\n </FlexColumns>\n);\n\nexport const SidepanelHeader: React.FC<SidepanelHeaderProps> = ({\n className,\n dataTestId,\n title,\n rightAddons,\n back,\n subtitle,\n t,\n bottomAddons,\n noCloser,\n showCloser,\n}) => (\n <div\n data-test-id={ dataTestId }\n className={ cn(styles.wrapper, className) }\n >\n { (back || title || rightAddons) && (\n <div className={ styles.heading }>\n { back && t && (\n <BackButton onClick={ back } t={ t } />\n ) }\n\n { !back && title && (\n <Title title={ title } subtitle={ subtitle } />\n ) }\n\n { rightAddons && <div className={ cn(styles.rightAddons, { [styles.noCloser]: !!noCloser || showCloser === false }) }>{ rightAddons }</div> }\n </div>\n ) }\n\n { !!back && title && (\n <Title title={ title } subtitle={ subtitle } />\n ) }\n\n { !!bottomAddons && <div className={ styles.bottomAddons }>{ bottomAddons }</div> }\n\n </div>\n);\n"],"names":["Title","title","subtitle","jsxs","FlexColumns","styles","jsx","Typography","SidepanelHeader","className","dataTestId","rightAddons","back","t","bottomAddons","noCloser","showCloser","cn","BackButton"],"mappings":";;;;;;AAiDA,MAAMA,IAAQ,CAAC,EAAE,OAAAC,GAAO,UAAAC,QACpB,gBAAAC,EAACC,GAAA,EAAY,SAAU,GAAI,IAAK,GAAI,WAAYC,EAAO,OAEnD,UAAA;AAAA,EAAA,gBAAAC,EAACC,EAAW,OAAX,EAAiB,OAAM,WAAU,KAAI,OAAM,MAAK,SAAQ,QAAO,QAC1D,UAAAN,EAAA,CACN;AAAA,EAEEC,KACE,gBAAAI,EAACC,EAAW,MAAX,EAAgB,MAAK,SAAQ,QAAO,WAAU,OAAM,aAC/C,UAAAL,EAAA,CACN;AAAA,GAGR,GAGSM,IAAkD,CAAC;AAAA,EAC5D,WAAAC;AAAA,EACA,YAAAC;AAAA,EACA,OAAAT;AAAA,EACA,aAAAU;AAAA,EACA,MAAAC;AAAA,EACA,UAAAV;AAAA,EACA,GAAAW;AAAA,EACA,cAAAC;AAAA,EACA,UAAAC;AAAA,EACA,YAAAC;AACJ,MACI,gBAAAb;AAAA,EAAC;AAAA,EAAA;AAAA,IACG,gBAAeO;AAAA,IACf,WAAYO,EAAGZ,EAAO,SAASI,CAAS;AAAA,IAErC,UAAA;AAAA,OAAAG,KAAQX,KAASU,MAChB,gBAAAR,EAAC,OAAA,EAAI,WAAYE,EAAO,SAClB,UAAA;AAAA,QAAAO,KAAQC,KACN,gBAAAP,EAACY,GAAA,EAAW,SAAUN,GAAO,GAAAC,GAAQ;AAAA,QAGvC,CAACD,KAAQX,KACP,gBAAAK,EAACN,GAAA,EAAM,OAAAC,GAAgB,UAAAC,GAAsB;AAAA,QAG/CS,KAAe,gBAAAL,EAAC,OAAA,EAAI,WAAYW,EAAGZ,EAAO,aAAa,EAAE,CAACA,EAAO,QAAQ,GAAG,CAAC,CAACU,KAAYC,MAAe,IAAO,GAAM,UAAAL,EAAA,CAAa;AAAA,MAAA,GACzI;AAAA,MAGF,CAAC,CAACC,KAAQX,KACR,gBAAAK,EAACN,GAAA,EAAM,OAAAC,GAAgB,UAAAC,GAAsB;AAAA,MAG/C,CAAC,CAACY,KAAgB,gBAAAR,EAAC,SAAI,WAAYD,EAAO,cAAiB,UAAAS,EAAA,CAAc;AAAA,IAAA;AAAA,EAAA;AAE/E;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.wrapper_QxqD{padding:28px 32px 12px;background-color:var(--color-bg-primary);box-sizing:border-box}.heading_XGDy{display:flex;justify-content:space-between;min-height:48px}.title_jwxc,.bottomAddons_3yzd{padding-bottom:8px;padding-top:8px}.rightAddons_aZFa{margin-right:48px;height:48px;display:flex;align-items:center}.noCloser_O7u0{margin-right:0}@media(max-width:823px){.wrapper_QxqD{padding:16px 16px 12px!important}}
|
|
1
|
+
.wrapper_QxqD{padding:28px 32px 12px;background-color:var(--color-bg-primary);box-sizing:border-box}.heading_XGDy{display:flex;justify-content:space-between;min-height:48px}.title_jwxc,.bottomAddons_3yzd{padding-bottom:8px;padding-top:8px}.rightAddons_aZFa{margin-right:48px;height:48px;display:flex;align-items:center}.noCloser_O7u0{margin-right:0!important}@media(max-width:823px){.wrapper_QxqD{padding:16px 16px 12px!important}}
|
package/dist/table/columns.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
const l = () => [
|
|
2
|
+
const r = () => [
|
|
4
3
|
{
|
|
5
4
|
header: "Title",
|
|
6
5
|
accessor: "title",
|
|
@@ -49,7 +48,6 @@ const l = () => [
|
|
|
49
48
|
align: "right",
|
|
50
49
|
width: "200px",
|
|
51
50
|
row: {
|
|
52
|
-
title: ({ refetch: t }) => /* @__PURE__ */ e(o, { onClick: t, children: "Refetch" }),
|
|
53
51
|
customAddon: ({ row: t }) => /* @__PURE__ */ e("div", { style: { background: "red" }, children: t.title.length })
|
|
54
52
|
}
|
|
55
53
|
}
|
|
@@ -62,6 +60,6 @@ const l = () => [
|
|
|
62
60
|
// },
|
|
63
61
|
];
|
|
64
62
|
export {
|
|
65
|
-
|
|
63
|
+
r as NewColumns
|
|
66
64
|
};
|
|
67
65
|
//# sourceMappingURL=columns.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"columns.js","sources":["../../src/table/columns.tsx"],"sourcesContent":["import React from 'react';\n\nimport {
|
|
1
|
+
{"version":3,"file":"columns.js","sources":["../../src/table/columns.tsx"],"sourcesContent":["import React from 'react';\n\nimport { TableColumns } from './types';\n\ntype Row = {\n title: string;\n photo: string;\n};\n\nexport const NewColumns = (): TableColumns<Row> => [\n {\n header: 'Title',\n accessor: 'title',\n sort: true,\n row: {\n image: () => 'https://via.placeholder.com/150',\n subtitle: 'title',\n },\n },\n {\n header: 'Photo',\n accessor: 'photo',\n sort: true,\n row: {\n title: ({ row }) => `${row.title}awdawd`,\n image: ({ row }) => row.photo,\n },\n },\n // ,{\n // header: 'Brakin photo',\n // sort: true,\n // row: {\n // image: ({ row }) => row.title,\n // },\n // },{\n // header: 'No photo',\n // sort: true,\n // row: {\n // image: () => '',\n // },\n // },\n // {\n // header: 'icon',\n // row: {\n // icon: () => <ChevronForwardS />,\n // },\n // },\n {\n header: 'no icon',\n row: {\n icon: () => '',\n },\n },\n {\n header: 'Button',\n align: 'right',\n width: '200px',\n row: {\n customAddon: ({ row }) => <div style={ { background: 'red' } }>{ row.title.length }</div>,\n },\n },\n // {\n // header: 'Button',\n // width: '50px',\n // row: {\n // title: null,\n // },\n // },\n];\n"],"names":["NewColumns","row","jsx"],"mappings":";AASO,MAAMA,IAAa,MAAyB;AAAA,EAC/C;AAAA,IACI,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,MAAM;AAAA,IACN,KAAK;AAAA,MACD,OAAO,MAAM;AAAA,MACb,UAAU;AAAA,IAAA;AAAA,EACd;AAAA,EAEJ;AAAA,IACI,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,MAAM;AAAA,IACN,KAAK;AAAA,MACD,OAAO,CAAC,EAAE,KAAAC,QAAU,GAAGA,EAAI,KAAK;AAAA,MAChC,OAAO,CAAC,EAAE,KAAAA,EAAA,MAAUA,EAAI;AAAA,IAAA;AAAA,EAC5B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAqBJ;AAAA,IACI,QAAQ;AAAA,IACR,KAAK;AAAA,MACD,MAAM,MAAM;AAAA,IAAA;AAAA,EAChB;AAAA,EAEJ;AAAA,IACI,QAAQ;AAAA,IACR,OAAO;AAAA,IACP,OAAO;AAAA,IACP,KAAK;AAAA,MACD,aAAa,CAAC,EAAE,KAAAA,EAAA,MAAU,gBAAAC,EAAC,OAAA,EAAI,OAAQ,EAAE,YAAY,MAAA,GAAY,UAAAD,EAAI,MAAM,OAAA,CAAQ;AAAA,IAAA;AAAA,EACvF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASR;"}
|
|
@@ -1,53 +1,60 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { Cell as
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import d from "classnames";
|
|
3
|
+
import { Cell as T } from "../../../cell/component.js";
|
|
4
4
|
import e from "./index.module.css.js";
|
|
5
|
-
const
|
|
6
|
-
dataTestID:
|
|
7
|
-
className:
|
|
8
|
-
children:
|
|
9
|
-
title:
|
|
10
|
-
subtitle:
|
|
11
|
-
tableProps:
|
|
12
|
-
cellProps:
|
|
5
|
+
const x = ({
|
|
6
|
+
dataTestID: a,
|
|
7
|
+
className: l,
|
|
8
|
+
children: m,
|
|
9
|
+
title: o,
|
|
10
|
+
subtitle: c,
|
|
11
|
+
tableProps: h,
|
|
12
|
+
cellProps: i,
|
|
13
13
|
addon: f,
|
|
14
|
-
align:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
align: r,
|
|
15
|
+
compact: t,
|
|
16
|
+
width: v,
|
|
17
|
+
tag: n = "td"
|
|
18
|
+
}) => /* @__PURE__ */ s(
|
|
19
|
+
n,
|
|
19
20
|
{
|
|
20
|
-
"data-test-id":
|
|
21
|
-
className:
|
|
22
|
-
[e.is_div]:
|
|
21
|
+
"data-test-id": a,
|
|
22
|
+
className: d(e.cell, l, {
|
|
23
|
+
[e.is_div]: n === "div",
|
|
24
|
+
[e.compact_cell]: t
|
|
23
25
|
}),
|
|
24
|
-
style: { width:
|
|
25
|
-
...
|
|
26
|
-
children:
|
|
26
|
+
style: { width: v },
|
|
27
|
+
...h,
|
|
28
|
+
children: m ? /* @__PURE__ */ s(
|
|
27
29
|
"div",
|
|
28
30
|
{
|
|
29
|
-
className:
|
|
30
|
-
[e.center]:
|
|
31
|
-
[e.right]:
|
|
31
|
+
className: d(e.children, {
|
|
32
|
+
[e.center]: r === "center",
|
|
33
|
+
[e.right]: r === "right"
|
|
32
34
|
}),
|
|
33
|
-
children:
|
|
35
|
+
children: m
|
|
34
36
|
}
|
|
35
|
-
) : /* @__PURE__ */
|
|
36
|
-
|
|
37
|
+
) : /* @__PURE__ */ s(
|
|
38
|
+
T.Base,
|
|
37
39
|
{
|
|
38
|
-
title:
|
|
39
|
-
subtitle:
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
title: o === void 0 ? "-" : o,
|
|
41
|
+
subtitle: c,
|
|
42
|
+
size: (i == null ? void 0 : i.size) || "s",
|
|
43
|
+
compactAddon: t,
|
|
44
|
+
singleLineTitle: t,
|
|
45
|
+
showTitleTooltipOnOverflow: t,
|
|
46
|
+
className: d({
|
|
47
|
+
[e.center]: r === "center",
|
|
48
|
+
[e.right]: r === "right",
|
|
49
|
+
[e.compact_content]: t
|
|
43
50
|
}),
|
|
44
51
|
addon: f,
|
|
45
|
-
...
|
|
52
|
+
...i
|
|
46
53
|
}
|
|
47
54
|
)
|
|
48
55
|
}
|
|
49
56
|
);
|
|
50
57
|
export {
|
|
51
|
-
|
|
58
|
+
x as TableCell
|
|
52
59
|
};
|
|
53
60
|
//# sourceMappingURL=component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sources":["../../../../src/table/components/cell/component.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'classnames';\n\nimport { Cell as BaseCell } from '../../../cell';\nimport { BaseProps } from '../../../cell/base/component';\n\nimport styles from './index.module.css';\n\nexport type CellProps = {\n className?: string;\n dataTestID?: string;\n title?: BaseProps['title'];\n subtitle?: BaseProps['subtitle'];\n cellProps?: Omit<BaseProps, 'title' | 'subtitle'>;\n tableProps?: React.TdHTMLAttributes<any>;\n addon?: React.ReactNode;\n children?: React.ReactNode;\n width?: string;\n align?: 'left' | 'right' | 'center';\n\n /**\n * HTML тег\n */\n tag?: 'td' | 'div';\n};\n\nexport const TableCell: React.FC<CellProps> = ({\n dataTestID,\n className,\n children,\n title,\n subtitle,\n tableProps,\n cellProps,\n addon,\n align,\n width,\n tag: Component = 'td',\n}) => (\n <Component\n data-test-id={ dataTestID }\n className={ cn(styles.cell, className, {\n [styles.is_div]: Component === 'div',\n }) }\n style={ { width } }\n { ...tableProps }\n >\n { children ? (\n <div\n className={ cn(styles.children, {\n [styles.center]: align === 'center',\n [styles.right]: align === 'right',\n }) }\n >\n { children }\n </div>\n ) : (\n <BaseCell.Base\n title={ title === undefined ? '-' : title }\n subtitle={ subtitle }\n className={ cn({\n [styles.center]: align === 'center',\n [styles.right]: align === 'right',\n }) }\n addon={ addon }\n { ...cellProps }\n />\n ) }\n </Component>\n);\n"],"names":["TableCell","dataTestID","className","children","title","subtitle","tableProps","cellProps","addon","align","width","Component","jsx","cn","styles","BaseCell"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"component.js","sources":["../../../../src/table/components/cell/component.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'classnames';\n\nimport { Cell as BaseCell } from '../../../cell';\nimport { BaseProps } from '../../../cell/base/component';\n\nimport styles from './index.module.css';\n\nexport type CellProps = {\n className?: string;\n dataTestID?: string;\n title?: BaseProps['title'];\n subtitle?: BaseProps['subtitle'];\n cellProps?: Omit<BaseProps, 'title' | 'subtitle'>;\n tableProps?: React.TdHTMLAttributes<any>;\n addon?: React.ReactNode;\n children?: React.ReactNode;\n width?: string;\n align?: 'left' | 'right' | 'center';\n compact?: boolean;\n\n /**\n * HTML тег\n */\n tag?: 'td' | 'div';\n};\n\nexport const TableCell: React.FC<CellProps> = ({\n dataTestID,\n className,\n children,\n title,\n subtitle,\n tableProps,\n cellProps,\n addon,\n align,\n compact,\n width,\n tag: Component = 'td',\n}) => (\n <Component\n data-test-id={ dataTestID }\n className={ cn(styles.cell, className, {\n [styles.is_div]: Component === 'div',\n [styles.compact_cell]: compact,\n }) }\n style={ { width } }\n { ...tableProps }\n >\n { children ? (\n <div\n className={ cn(styles.children, {\n [styles.center]: align === 'center',\n [styles.right]: align === 'right',\n }) }\n >\n { children }\n </div>\n ) : (\n <BaseCell.Base\n title={ title === undefined ? '-' : title }\n subtitle={ subtitle }\n size={ cellProps?.size || 's' }\n compactAddon={ compact }\n singleLineTitle={ compact }\n showTitleTooltipOnOverflow={ compact }\n className={ cn({\n [styles.center]: align === 'center',\n [styles.right]: align === 'right',\n [styles.compact_content]: compact,\n }) }\n addon={ addon }\n { ...cellProps }\n />\n ) }\n </Component>\n);\n"],"names":["TableCell","dataTestID","className","children","title","subtitle","tableProps","cellProps","addon","align","compact","width","Component","jsx","cn","styles","BaseCell"],"mappings":";;;;AA2BO,MAAMA,IAAiC,CAAC;AAAA,EAC3C,YAAAC;AAAA,EACA,WAAAC;AAAA,EACA,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,YAAAC;AAAA,EACA,WAAAC;AAAA,EACA,OAAAC;AAAA,EACA,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,OAAAC;AAAA,EACA,KAAKC,IAAY;AACrB,MACI,gBAAAC;AAAA,EAACD;AAAA,EAAA;AAAA,IACG,gBAAeX;AAAA,IACf,WAAYa,EAAGC,EAAO,MAAMb,GAAW;AAAA,MACnC,CAACa,EAAO,MAAM,GAAGH,MAAc;AAAA,MAC/B,CAACG,EAAO,YAAY,GAAGL;AAAA,IAAA,CAC1B;AAAA,IACD,OAAQ,EAAE,OAAAC,EAAA;AAAA,IACR,GAAGL;AAAA,IAEH,UAAAH,IACE,gBAAAU;AAAA,MAAC;AAAA,MAAA;AAAA,QACG,WAAYC,EAAGC,EAAO,UAAU;AAAA,UAC5B,CAACA,EAAO,MAAM,GAAGN,MAAU;AAAA,UAC3B,CAACM,EAAO,KAAK,GAAGN,MAAU;AAAA,QAAA,CAC7B;AAAA,QAEC,UAAAN;AAAA,MAAA;AAAA,IAAA,IAGN,gBAAAU;AAAA,MAACG,EAAS;AAAA,MAAT;AAAA,QACG,OAAQZ,MAAU,SAAY,MAAMA;AAAA,QACpC,UAAAC;AAAA,QACA,OAAOE,KAAA,gBAAAA,EAAW,SAAQ;AAAA,QAC1B,cAAeG;AAAA,QACf,iBAAkBA;AAAA,QAClB,4BAA6BA;AAAA,QAC7B,WAAYI,EAAG;AAAA,UACX,CAACC,EAAO,MAAM,GAAGN,MAAU;AAAA,UAC3B,CAACM,EAAO,KAAK,GAAGN,MAAU;AAAA,UAC1B,CAACM,EAAO,eAAe,GAAGL;AAAA,QAAA,CAC7B;AAAA,QACD,OAAAF;AAAA,QACE,GAAGD;AAAA,MAAA;AAAA,IAAA;AAAA,EACT;AAER;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
table tr:last-child .cell_SVZP{border-bottom:0!important}.cell_SVZP{padding:0
|
|
1
|
+
table tr:last-child .cell_SVZP{border-bottom:0!important}.cell_SVZP{padding:0 12px;border-bottom:1px solid var(--color-border-secondary);position:relative;height:52px}.compact_cell_zSJH{height:44px}.right_30pJ{justify-content:flex-end}.children_X057{width:100%;display:flex;align-items:center}.compact_content_bjnq{gap:0 6px!important;min-height:40px!important}.is_div_XHlH{min-height:52px;display:flex;align-items:center}
|
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
import './index.module.css';
|
|
2
|
-
const
|
|
3
|
-
cell:
|
|
2
|
+
const c = "cell_SVZP", t = "compact_cell_zSJH", l = "right_30pJ", n = "children_X057", o = "compact_content_bjnq", e = "is_div_XHlH", _ = {
|
|
3
|
+
cell: c,
|
|
4
|
+
compact_cell: t,
|
|
4
5
|
right: l,
|
|
5
|
-
children:
|
|
6
|
-
|
|
6
|
+
children: n,
|
|
7
|
+
compact_content: o,
|
|
8
|
+
is_div: e
|
|
7
9
|
};
|
|
8
10
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
t as
|
|
12
|
-
|
|
11
|
+
c as cell,
|
|
12
|
+
n as children,
|
|
13
|
+
t as compact_cell,
|
|
14
|
+
o as compact_content,
|
|
15
|
+
_ as default,
|
|
16
|
+
e as is_div,
|
|
13
17
|
l as right
|
|
14
18
|
};
|
|
15
19
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.header_row_-IYY{overflow:hidden}.header_row_-IYY th:only-child{border-radius:8px!important}.header_row_-IYY th:first-child{border-radius:8px 0 0 8px}.header_row_-IYY th:last-child{border-radius:0 8px 8px 0}.cell_c2wS{height:
|
|
1
|
+
.header_row_-IYY{overflow:hidden}.header_row_-IYY th:only-child{border-radius:8px!important}.header_row_-IYY th:first-child{border-radius:8px 0 0 8px}.header_row_-IYY th:last-child{border-radius:0 8px 8px 0}.cell_c2wS{height:40px;padding:0 12px;box-sizing:border-box;background:var(--color-bg-secondary);position:sticky;top:0;z-index:9}.clickable_uhII{cursor:pointer}.head_wrapper_WjtN{display:flex;align-items:center}.arrow_svnk{height:16px;width:16px;margin-left:8px;display:flex;flex-direction:column;color:var(--color-graphic-thirdly);opacity:.4}.accent_5Dn8{color:var(--color-graphic-primary)}.DESC_p2eV{transform:rotate(-90deg)}.ASC_fIiQ{transform:rotate(90deg)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.table_header_GXu4{width:100%;margin-bottom:
|
|
1
|
+
.table_header_GXu4{width:100%;margin-bottom:12px}.actions_GZKJ{display:flex;align-items:center;justify-content:space-between}.leftHeaderAddons_W8Yb{margin-right:12px!important}.tags_PpKz{margin-top:8px;display:flex;flex-wrap:wrap;margin-right:-8px}.tags_PpKz>*:not(:last-child):not(:only-child){margin-right:8px}.tags_PpKz>*{margin:4px 0}.tag_SqNT{margin-right:8px}.buttons_3CQY{display:flex;align-items:center}.buttons_3CQY button:not(:last-child){margin-right:8px}
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import './index.module.css';
|
|
2
|
-
const l = "table_wrapper_SeB5",
|
|
2
|
+
const l = "table_wrapper_SeB5", t = "table_9sbd", a = "fill_Q-ic", c = "compact_kbrU", e = "clickable_k4S8", b = {
|
|
3
3
|
table_wrapper: l,
|
|
4
|
-
table:
|
|
4
|
+
table: t,
|
|
5
5
|
fill: a,
|
|
6
|
-
|
|
6
|
+
default: "default_BxOw",
|
|
7
|
+
compact: c,
|
|
8
|
+
clickable: e
|
|
7
9
|
};
|
|
8
10
|
export {
|
|
9
|
-
|
|
10
|
-
c as
|
|
11
|
+
e as clickable,
|
|
12
|
+
c as compact,
|
|
13
|
+
b as default,
|
|
11
14
|
a as fill,
|
|
12
|
-
|
|
15
|
+
t as table,
|
|
13
16
|
l as table_wrapper
|
|
14
17
|
};
|
|
15
18
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
package/dist/table/table.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ type FiltersButton = {
|
|
|
20
20
|
};
|
|
21
21
|
export type TableProps<T extends object> = Records<T> & {
|
|
22
22
|
columns: TableColumns<T>;
|
|
23
|
+
view?: 'default' | 'compact';
|
|
23
24
|
searchPlaceholder?: string;
|
|
24
25
|
rightHeaderAddons?: React.ReactNode;
|
|
25
26
|
leftHeaderAddons?: React.ReactNode;
|
|
@@ -35,5 +36,5 @@ export type TableProps<T extends object> = Records<T> & {
|
|
|
35
36
|
/** true — параметры из URL; false — только локальное состояние. */
|
|
36
37
|
fromPath?: boolean;
|
|
37
38
|
} & FiltersButton;
|
|
38
|
-
export declare function Table<T extends object>({ columns, searchPlaceholder, records, hideSearch, rightHeaderAddons, leftHeaderAddons, filtersButtonLabel, createButtonLabel, loading, height, tagsBuilder, promise, onRowClick, onCreateClick, onFiltersClick, refetch, language, fromPath, }: TableProps<T>): JSX.Element;
|
|
39
|
+
export declare function Table<T extends object>({ columns, searchPlaceholder, records, hideSearch, rightHeaderAddons, leftHeaderAddons, filtersButtonLabel, createButtonLabel, loading, height, view, tagsBuilder, promise, onRowClick, onCreateClick, onFiltersClick, refetch, language, fromPath, }: TableProps<T>): JSX.Element;
|
|
39
40
|
export {};
|