@trackunit/react-table-base-components 1.13.13 → 1.13.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-table-base-components",
3
- "version": "1.13.13",
3
+ "version": "1.13.14",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -8,12 +8,12 @@
8
8
  },
9
9
  "dependencies": {
10
10
  "react": "19.0.0",
11
- "@trackunit/react-components": "1.17.11",
12
- "@trackunit/ui-icons": "1.11.39",
13
- "@trackunit/react-form-components": "1.14.13",
14
- "@trackunit/css-class-variance-utilities": "1.11.40",
15
- "@trackunit/date-and-time-utils": "1.11.41",
16
- "@trackunit/shared-utils": "1.13.40",
11
+ "@trackunit/react-components": "1.17.12",
12
+ "@trackunit/ui-icons": "1.11.40",
13
+ "@trackunit/react-form-components": "1.14.14",
14
+ "@trackunit/css-class-variance-utilities": "1.11.41",
15
+ "@trackunit/date-and-time-utils": "1.11.42",
16
+ "@trackunit/shared-utils": "1.13.41",
17
17
  "tailwind-merge": "^2.0.0",
18
18
  "@js-temporal/polyfill": "^0.5.1"
19
19
  },
@@ -1,27 +0,0 @@
1
- import { StoryObj } from "@storybook/react-webpack5";
2
- import { ComponentType, ReactElement } from "react";
3
- import { TableRootProps } from "./components/TableRoot";
4
- type Story = StoryObj<typeof meta>;
5
- declare const meta: {
6
- title: string;
7
- component: ({ "data-testid": dataTestId, className, children, ...rest }: TableRootProps) => import("react/jsx-runtime").JSX.Element;
8
- subcomponents: {
9
- Thead: ComponentType<unknown>;
10
- Th: ComponentType<unknown>;
11
- Tbody: ComponentType<unknown>;
12
- Tr: ComponentType<unknown>;
13
- Td: ComponentType<unknown>;
14
- Tfoot: ComponentType<unknown>;
15
- };
16
- parameters: {
17
- docs: {
18
- source: {
19
- type: string;
20
- excludeDecorators: boolean;
21
- };
22
- };
23
- };
24
- };
25
- export default meta;
26
- export declare const PackageName: () => ReactElement;
27
- export declare const Default: Story;
@@ -1,22 +0,0 @@
1
- import { StoryObjWithOptionalArgs } from "@trackunit/shared-utils";
2
- import { ReactElement } from "react";
3
- import { ButtonCellProps } from "./ButtonCell";
4
- type Story = StoryObjWithOptionalArgs<typeof meta, "children">;
5
- declare const meta: {
6
- title: string;
7
- component: ({ children, className, "data-testid": dataTestId, iconColor, iconName, variant, ...rest }: ButtonCellProps) => import("react/jsx-runtime").JSX.Element;
8
- argTypes: {};
9
- parameters: {
10
- docs: {
11
- source: {
12
- type: string;
13
- excludeDecorators: boolean;
14
- };
15
- };
16
- };
17
- };
18
- export default meta;
19
- export declare const PackageName: () => ReactElement;
20
- export declare const Default: Story;
21
- export declare const CriticalAssetsExample: Story;
22
- export declare const IncorrectUsageExample: Story;
@@ -1,22 +0,0 @@
1
- import { StoryObj } from "@storybook/react-webpack5";
2
- import { ReactElement } from "react";
3
- import { CheckboxCellProps } from "./CheckboxCell";
4
- import "./CheckboxCell.variants";
5
- type Story = StoryObj<typeof meta>;
6
- declare const meta: {
7
- title: string;
8
- component: ({ checked, className, "data-testid": dataTestId }: CheckboxCellProps) => import("react/jsx-runtime").JSX.Element;
9
- argTypes: {};
10
- parameters: {
11
- docs: {
12
- source: {
13
- type: string;
14
- excludeDecorators: boolean;
15
- };
16
- };
17
- };
18
- };
19
- export default meta;
20
- export declare const PackageName: () => ReactElement;
21
- export declare const Default: Story;
22
- export declare const Variants: () => ReactElement;
@@ -1,22 +0,0 @@
1
- import { StoryObj } from "@storybook/react-webpack5";
2
- import { ReactElement } from "react";
3
- import { DateTimeCellProps } from "./DateTimeCell";
4
- import "./DateTimeCell.variants";
5
- type Story = StoryObj<typeof meta>;
6
- declare const meta: {
7
- title: string;
8
- component: ({ format, timeZone, locale, date, withTimeSince, className, "data-testid": dataTestId, }: DateTimeCellProps) => import("react/jsx-runtime").JSX.Element | null;
9
- argTypes: {};
10
- parameters: {
11
- docs: {
12
- source: {
13
- type: string;
14
- excludeDecorators: boolean;
15
- };
16
- };
17
- };
18
- };
19
- export default meta;
20
- export declare const PackageName: () => ReactElement;
21
- export declare const Default: Story;
22
- export declare const Variants: () => ReactElement;
@@ -1,22 +0,0 @@
1
- import { StoryObj } from "@storybook/react-webpack5";
2
- import { ReactElement } from "react";
3
- import { HighlightCellProps } from "./HighlightCell";
4
- type Story = StoryObj<typeof meta>;
5
- declare const meta: {
6
- title: string;
7
- component: ({ className, highlights, "data-testid": dataTestId }: HighlightCellProps) => import("react/jsx-runtime").JSX.Element;
8
- argTypes: {};
9
- parameters: {
10
- docs: {
11
- source: {
12
- type: string;
13
- excludeDecorators: boolean;
14
- };
15
- };
16
- };
17
- };
18
- export default meta;
19
- export declare const PackageName: () => ReactElement;
20
- export declare const Default: Story;
21
- export declare const WithCustomColors: Story;
22
- export declare const SingleHighlight: Story;
@@ -1,23 +0,0 @@
1
- import { StoryObj } from "@storybook/react-webpack5";
2
- import { ReactElement } from "react";
3
- import { IdentityCellProps } from "./IdentityCell";
4
- type Story = StoryObj<typeof meta>;
5
- declare const meta: {
6
- title: string;
7
- component: ({ link, className, "data-testid": dataTestId, title, details, thumbnail, }: IdentityCellProps) => ReactElement;
8
- argTypes: {};
9
- parameters: {
10
- docs: {
11
- source: {
12
- type: string;
13
- excludeDecorators: boolean;
14
- };
15
- };
16
- };
17
- };
18
- export default meta;
19
- export declare const PackageName: () => ReactElement;
20
- export declare const Default: Story;
21
- export declare const WithoutLink: Story;
22
- export declare const WithLink: Story;
23
- export declare const Minimal: Story;
@@ -1,19 +0,0 @@
1
- import { StoryObj } from "@storybook/react-webpack5";
2
- import { ReactElement } from "react";
3
- type Story = StoryObj<typeof meta>;
4
- declare const meta: {
5
- title: string;
6
- component: ({ imageUrl, alt, width, height, "data-testid": dataTestId, ...rest }: import("./ImageCell").ImageCellProps) => import("react/jsx-runtime").JSX.Element;
7
- argTypes: {};
8
- parameters: {
9
- docs: {
10
- source: {
11
- type: string;
12
- excludeDecorators: boolean;
13
- };
14
- };
15
- };
16
- };
17
- export default meta;
18
- export declare const PackageName: () => ReactElement;
19
- export declare const Default: Story;
@@ -1,41 +0,0 @@
1
- import { StoryObj } from "@storybook/react-webpack5";
2
- import { ReactElement } from "react";
3
- import { IndicatorCellProps } from "./IndicatorCell";
4
- type Story = StoryObj<typeof meta>;
5
- declare const meta: {
6
- title: string;
7
- component: ({ withBackground, weight, ...rest }: IndicatorCellProps) => import("react/jsx-runtime").JSX.Element;
8
- argTypes: {
9
- icon: {
10
- options: string[];
11
- mapping: {
12
- CheckCircle: import("react/jsx-runtime").JSX.Element;
13
- ExclamationCircle: import("react/jsx-runtime").JSX.Element;
14
- ExclamationTriangle: import("react/jsx-runtime").JSX.Element;
15
- InformationCircle: import("react/jsx-runtime").JSX.Element;
16
- XCircle: import("react/jsx-runtime").JSX.Element;
17
- };
18
- control: {
19
- type: "select";
20
- labels: {
21
- CheckCircle: string;
22
- ExclamationCircle: string;
23
- ExclamationTriangle: string;
24
- InformationCircle: string;
25
- XCircle: string;
26
- };
27
- };
28
- };
29
- };
30
- parameters: {
31
- docs: {
32
- source: {
33
- type: string;
34
- excludeDecorators: boolean;
35
- };
36
- };
37
- };
38
- };
39
- export default meta;
40
- export declare const PackageName: () => ReactElement;
41
- export declare const Default: Story;
@@ -1,21 +0,0 @@
1
- import { StoryObj } from "@storybook/react-webpack5";
2
- import { ReactElement } from "react";
3
- import { LinkCellProps } from "./LinkCell";
4
- type Story = StoryObj<typeof meta>;
5
- declare const meta: {
6
- title: string;
7
- component: ({ link, type, className, ...rest }: LinkCellProps) => ReactElement;
8
- argTypes: {};
9
- parameters: {
10
- docs: {
11
- source: {
12
- type: string;
13
- excludeDecorators: boolean;
14
- };
15
- };
16
- };
17
- };
18
- export default meta;
19
- export declare const PackageName: () => ReactElement;
20
- export declare const Default: Story;
21
- export declare const Variants: () => ReactElement;
@@ -1,21 +0,0 @@
1
- import { StoryObj } from "@storybook/react-webpack5";
2
- import { ReactElement } from "react";
3
- import { MultiRowTableCellProps } from "./MultiRowTableCell";
4
- type Story = StoryObj<typeof meta>;
5
- declare const meta: {
6
- title: string;
7
- component: ({ main, secondary, "data-testid": dataTestId, className, }: MultiRowTableCellProps) => import("react/jsx-runtime").JSX.Element;
8
- argTypes: {};
9
- parameters: {
10
- docs: {
11
- source: {
12
- type: string;
13
- excludeDecorators: boolean;
14
- };
15
- };
16
- };
17
- };
18
- export default meta;
19
- export declare const PackageName: () => ReactElement;
20
- export declare const Default: Story;
21
- export declare const Variants: () => ReactElement;
@@ -1,53 +0,0 @@
1
- import { ReactElement } from "react";
2
- import { MultiValueTextCellProps } from "./MultiValueTextCell";
3
- import "./MultiValueTextCell.variants";
4
- declare const meta: {
5
- title: string;
6
- component: ({ content, count, countTooltip, icon, iconTooltip, "data-testid": dataTestId, className, onMouseEnter, }: MultiValueTextCellProps) => import("react/jsx-runtime").JSX.Element | null;
7
- argTypes: {};
8
- parameters: {
9
- docs: {
10
- source: {
11
- type: string;
12
- excludeDecorators: boolean;
13
- };
14
- };
15
- };
16
- };
17
- export default meta;
18
- export declare const PackageName: () => ReactElement;
19
- export declare const Default: {
20
- render: (props: MultiValueTextCellProps) => import("react/jsx-runtime").JSX.Element;
21
- args: {
22
- "data-testid": string;
23
- count: number;
24
- content: string;
25
- };
26
- };
27
- export declare const Example: {
28
- name: string;
29
- render: (props: MultiValueTextCellProps) => ReactElement;
30
- args: {
31
- count: number;
32
- content: string;
33
- };
34
- parameters: {
35
- docs: {
36
- source: {
37
- code: string;
38
- };
39
- };
40
- };
41
- };
42
- export declare const PlusBadgeWithTooltip: {
43
- name: string;
44
- render: () => import("react/jsx-runtime").JSX.Element;
45
- };
46
- export declare const LazyLoadedOnHover: {
47
- name: string;
48
- render: () => ReactElement;
49
- };
50
- export declare const WithIcon: {
51
- name: string;
52
- render: () => import("react/jsx-runtime").JSX.Element;
53
- };
@@ -1,20 +0,0 @@
1
- import { StoryObj } from "@storybook/react-webpack5";
2
- import { ReactElement } from "react";
3
- import { NoticeCellProps } from "./NoticeCell";
4
- type Story = StoryObj<typeof meta>;
5
- declare const meta: {
6
- title: string;
7
- component: ({ ...rest }: NoticeCellProps) => import("react/jsx-runtime").JSX.Element;
8
- argTypes: {};
9
- parameters: {
10
- docs: {
11
- source: {
12
- type: string;
13
- excludeDecorators: boolean;
14
- };
15
- };
16
- };
17
- };
18
- export default meta;
19
- export declare const PackageName: () => ReactElement;
20
- export declare const Default: Story;
@@ -1,21 +0,0 @@
1
- import { StoryObj } from "@storybook/react-webpack5";
2
- import { ReactElement } from "react";
3
- import { NumberCellProps } from "./NumberCell";
4
- import "./NumberCell.variants";
5
- type Story = StoryObj<typeof meta>;
6
- declare const meta: {
7
- title: string;
8
- component: ({ value, unit, className, "data-testid": dataTestId }: NumberCellProps) => import("react/jsx-runtime").JSX.Element;
9
- parameters: {
10
- docs: {
11
- source: {
12
- type: string;
13
- excludeDecorators: boolean;
14
- };
15
- };
16
- };
17
- };
18
- export default meta;
19
- export declare const PackageName: () => ReactElement;
20
- export declare const Default: Story;
21
- export declare const Example: Story;
@@ -1,22 +0,0 @@
1
- import { StoryObj } from "@storybook/react-webpack5";
2
- import { ReactElement } from "react";
3
- import { PlainDateCellProps } from "./PlainDateCell";
4
- import "./PlainDateCell.variants";
5
- type Story = StoryObj<typeof meta>;
6
- declare const meta: {
7
- title: string;
8
- component: ({ locale, date, withDaysSince, className, "data-testid": dataTestId, }: PlainDateCellProps) => import("react/jsx-runtime").JSX.Element | null;
9
- argTypes: {};
10
- parameters: {
11
- docs: {
12
- source: {
13
- type: string;
14
- excludeDecorators: boolean;
15
- };
16
- };
17
- };
18
- };
19
- export default meta;
20
- export declare const PackageName: () => ReactElement;
21
- export declare const Default: Story;
22
- export declare const Variants: () => ReactElement;
@@ -1,22 +0,0 @@
1
- import { StoryObj } from "@storybook/react-webpack5";
2
- import { ReactElement } from "react";
3
- type Story = StoryObj<typeof meta>;
4
- declare const meta: {
5
- title: string;
6
- component: ({ actions }: import("./RowActions").RowActionsProps) => false | import("react/jsx-runtime").JSX.Element | null | undefined;
7
- argTypes: {};
8
- parameters: {
9
- docs: {
10
- source: {
11
- type: string;
12
- excludeDecorators: boolean;
13
- };
14
- };
15
- };
16
- };
17
- export default meta;
18
- export declare const PackageName: () => ReactElement;
19
- export declare const SingleAction: Story;
20
- export declare const MultipleActions: Story;
21
- export declare const NoActions: Story;
22
- export declare const OnlyDangerActions: Story;
@@ -1,19 +0,0 @@
1
- import { StoryObj } from "@storybook/react-webpack5";
2
- import { ReactElement } from "react";
3
- import { SortIndicatorProps } from "./SortIndicator";
4
- type Story = StoryObj<typeof meta>;
5
- declare const meta: {
6
- title: string;
7
- component: ({ sortingState, "data-testid": dataTestId, className, ...rest }: SortIndicatorProps) => ReactElement;
8
- parameters: {
9
- docs: {
10
- source: {
11
- type: string;
12
- excludeDecorators: boolean;
13
- };
14
- };
15
- };
16
- };
17
- export default meta;
18
- export declare const PackageName: () => ReactElement;
19
- export declare const Default: Story;
@@ -1,20 +0,0 @@
1
- import { StoryObj } from "@storybook/react-webpack5";
2
- import { ReactElement } from "react";
3
- import { TagsCellProps } from "./TagsCell";
4
- type Story = StoryObj<typeof meta>;
5
- declare const meta: {
6
- title: string;
7
- component: ({ className, tags, "data-testid": dataTestId }: TagsCellProps) => import("react/jsx-runtime").JSX.Element;
8
- argTypes: {};
9
- parameters: {
10
- docs: {
11
- source: {
12
- type: string;
13
- excludeDecorators: boolean;
14
- };
15
- };
16
- };
17
- };
18
- export default meta;
19
- export declare const PackageName: () => ReactElement;
20
- export declare const Default: Story;
@@ -1,22 +0,0 @@
1
- import { StoryObj } from "@storybook/react-webpack5";
2
- import { ReactElement } from "react";
3
- import { TextCellProps } from "./TextCell";
4
- import "./TextCell.variants";
5
- type Story = StoryObj<typeof meta>;
6
- declare const meta: {
7
- title: string;
8
- component: ({ content, className, "data-testid": dataTestId }: TextCellProps) => import("react/jsx-runtime").JSX.Element;
9
- argTypes: {};
10
- parameters: {
11
- docs: {
12
- source: {
13
- type: string;
14
- excludeDecorators: boolean;
15
- };
16
- };
17
- };
18
- };
19
- export default meta;
20
- export declare const PackageName: () => ReactElement;
21
- export declare const Default: Story;
22
- export declare const Example: Story;