@trackunit/react-table-base-components 1.7.56 → 1.7.58

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/index.cjs.js CHANGED
@@ -119,6 +119,13 @@ const IdentityCell = ({ link, className, dataTestId, density = "default", title,
119
119
  }
120
120
  }, [link]);
121
121
  return (jsxRuntime.jsxs("div", { className: cvaIdentityCell({ className, density, hasThumbnail: !!thumbnail }), "data-testid": dataTestId, children: [thumbnail ? (jsxRuntime.jsx("div", { className: "mr-1 flex h-8 w-8 items-center justify-center overflow-hidden rounded-md", children: thumbnail })) : null, jsxRuntime.jsxs("div", { className: cvaIdentityCellLayout({ className, density }), children: [jsxRuntime.jsx("div", { className: "gap-responsive-space-sm flex w-full min-w-0 items-center truncate text-sm", children: jsxRuntime.jsx(reactComponents.Heading, { className: "truncate text-sm", dataTestId: dataTestId ? `${dataTestId}-name` : undefined, variant: "tertiary", children: !link ? (title) : (jsxRuntime.jsx(reactComponents.ExternalLink, { color: "neutral", href: href ?? "", onClick: async (e) => {
122
+ // Allow Cmd/Ctrl+Click, Shift+Click, or middle-click to open in new tab
123
+ const hasModifierKey = e.ctrlKey || e.metaKey || e.shiftKey;
124
+ const isMiddleClick = e.button === 1;
125
+ if (hasModifierKey || isMiddleClick) {
126
+ e.stopPropagation(); // Prevent parent handlers from also triggering
127
+ return;
128
+ }
122
129
  e.preventDefault();
123
130
  e.stopPropagation();
124
131
  await link.goto();
package/index.esm.js CHANGED
@@ -117,6 +117,13 @@ const IdentityCell = ({ link, className, dataTestId, density = "default", title,
117
117
  }
118
118
  }, [link]);
119
119
  return (jsxs("div", { className: cvaIdentityCell({ className, density, hasThumbnail: !!thumbnail }), "data-testid": dataTestId, children: [thumbnail ? (jsx("div", { className: "mr-1 flex h-8 w-8 items-center justify-center overflow-hidden rounded-md", children: thumbnail })) : null, jsxs("div", { className: cvaIdentityCellLayout({ className, density }), children: [jsx("div", { className: "gap-responsive-space-sm flex w-full min-w-0 items-center truncate text-sm", children: jsx(Heading, { className: "truncate text-sm", dataTestId: dataTestId ? `${dataTestId}-name` : undefined, variant: "tertiary", children: !link ? (title) : (jsx(ExternalLink, { color: "neutral", href: href ?? "", onClick: async (e) => {
120
+ // Allow Cmd/Ctrl+Click, Shift+Click, or middle-click to open in new tab
121
+ const hasModifierKey = e.ctrlKey || e.metaKey || e.shiftKey;
122
+ const isMiddleClick = e.button === 1;
123
+ if (hasModifierKey || isMiddleClick) {
124
+ e.stopPropagation(); // Prevent parent handlers from also triggering
125
+ return;
126
+ }
120
127
  e.preventDefault();
121
128
  e.stopPropagation();
122
129
  await link.goto();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-table-base-components",
3
- "version": "1.7.56",
3
+ "version": "1.7.58",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -8,13 +8,13 @@
8
8
  },
9
9
  "dependencies": {
10
10
  "react": "19.0.0",
11
- "@trackunit/react-components": "1.9.53",
12
- "@trackunit/ui-icons": "1.7.38",
13
- "@trackunit/react-form-components": "1.8.55",
14
- "@trackunit/css-class-variance-utilities": "1.7.37",
15
- "@trackunit/date-and-time-utils": "1.7.37",
16
- "@trackunit/shared-utils": "1.9.37",
17
- "@trackunit/react-test-setup": "1.4.37",
11
+ "@trackunit/react-components": "1.9.55",
12
+ "@trackunit/ui-icons": "1.7.40",
13
+ "@trackunit/react-form-components": "1.8.57",
14
+ "@trackunit/css-class-variance-utilities": "1.7.39",
15
+ "@trackunit/date-and-time-utils": "1.7.39",
16
+ "@trackunit/shared-utils": "1.9.39",
17
+ "@trackunit/react-test-setup": "1.4.39",
18
18
  "tailwind-merge": "^2.0.0",
19
19
  "@js-temporal/polyfill": "^0.5.1"
20
20
  },
@@ -1,7 +1,27 @@
1
- import { Meta, StoryObj } from "@storybook/react-webpack5";
2
- import { TableRoot } from "./components/TableRoot";
3
- type Story = StoryObj<typeof TableRoot>;
4
- declare const meta: Meta<typeof TableRoot>;
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: ({ 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
+ };
5
25
  export default meta;
6
- export declare const packageName: () => import("react/jsx-runtime").JSX.Element;
26
+ export declare const PackageName: () => ReactElement;
7
27
  export declare const Default: Story;
@@ -1,9 +1,22 @@
1
- import { Meta, StoryObj } from "@storybook/react-webpack5";
2
- import { ButtonCell } from "./ButtonCell";
3
- type Story = StoryObj<typeof ButtonCell>;
4
- declare const meta: Meta<typeof ButtonCell>;
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, 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
+ };
5
18
  export default meta;
6
- export declare const packageName: () => import("react/jsx-runtime").JSX.Element;
19
+ export declare const PackageName: () => ReactElement;
7
20
  export declare const Default: Story;
8
21
  export declare const CriticalAssetsExample: Story;
9
22
  export declare const IncorrectUsageExample: Story;
@@ -1,9 +1,22 @@
1
- import { Meta, StoryObj } from "@storybook/react-webpack5";
2
- import { CheckboxCell } from "./CheckboxCell";
1
+ import { StoryObj } from "@storybook/react-webpack5";
2
+ import { ReactElement } from "react";
3
+ import { CheckboxCellProps } from "./CheckboxCell";
3
4
  import "./CheckboxCell.variants";
4
- type Story = StoryObj<typeof CheckboxCell>;
5
- declare const meta: Meta<typeof CheckboxCell>;
5
+ type Story = StoryObj<typeof meta>;
6
+ declare const meta: {
7
+ title: string;
8
+ component: ({ checked, className, 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
+ };
6
19
  export default meta;
7
- export declare const packageName: () => import("react/jsx-runtime").JSX.Element;
20
+ export declare const PackageName: () => ReactElement;
8
21
  export declare const Default: Story;
9
- export declare const Variants: () => import("react/jsx-runtime").JSX.Element;
22
+ export declare const Variants: () => ReactElement;
@@ -1,9 +1,22 @@
1
- import { Meta, StoryObj } from "@storybook/react-webpack5";
2
- import { DateTimeCell } from "./DateTimeCell";
1
+ import { StoryObj } from "@storybook/react-webpack5";
2
+ import { ReactElement } from "react";
3
+ import { DateTimeCellProps } from "./DateTimeCell";
3
4
  import "./DateTimeCell.variants";
4
- type Story = StoryObj<typeof DateTimeCell>;
5
- declare const meta: Meta<typeof DateTimeCell>;
5
+ type Story = StoryObj<typeof meta>;
6
+ declare const meta: {
7
+ title: string;
8
+ component: ({ format, timeZone, locale, date, withTimeSince, className, 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
+ };
6
19
  export default meta;
7
- export declare const packageName: () => import("react/jsx-runtime").JSX.Element;
20
+ export declare const PackageName: () => ReactElement;
8
21
  export declare const Default: Story;
9
- export declare const Variants: () => import("react/jsx-runtime").JSX.Element;
22
+ export declare const Variants: () => ReactElement;
@@ -1,9 +1,22 @@
1
- import { Meta, StoryObj } from "@storybook/react-webpack5";
2
- import { HighlightCell } from "./HighlightCell";
3
- type Story = StoryObj<typeof HighlightCell>;
4
- declare const meta: Meta<typeof HighlightCell>;
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, 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
+ };
5
18
  export default meta;
6
- export declare const packageName: () => import("react/jsx-runtime").JSX.Element;
19
+ export declare const PackageName: () => ReactElement;
7
20
  export declare const Default: Story;
8
21
  export declare const WithCustomColors: Story;
9
22
  export declare const SingleHighlight: Story;
@@ -1,9 +1,22 @@
1
- import { Meta, StoryObj } from "@storybook/react-webpack5";
2
- import { IdentityCell } from "./IdentityCell";
3
- type Story = StoryObj<typeof IdentityCell>;
4
- declare const meta: Meta<typeof IdentityCell>;
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, dataTestId, density, title, details, thumbnail, }: IdentityCellProps) => ReactElement;
8
+ argTypes: {};
9
+ parameters: {
10
+ docs: {
11
+ source: {
12
+ type: string;
13
+ excludeDecorators: boolean;
14
+ };
15
+ };
16
+ };
17
+ };
5
18
  export default meta;
6
- export declare const packageName: () => import("react/jsx-runtime").JSX.Element;
19
+ export declare const PackageName: () => ReactElement;
7
20
  export declare const Default: Story;
8
21
  export declare const WithoutLink: Story;
9
22
  export declare const WithLink: Story;
@@ -1,6 +1,19 @@
1
- import { Meta, StoryObj } from "@storybook/react-webpack5";
2
- type Story = StoryObj<typeof Image>;
3
- declare const meta: Meta<typeof Image>;
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, 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
+ };
4
17
  export default meta;
5
- export declare const packageName: () => import("react/jsx-runtime").JSX.Element;
18
+ export declare const PackageName: () => ReactElement;
6
19
  export declare const Default: Story;
@@ -1,7 +1,41 @@
1
- import { Meta, StoryObj } from "@storybook/react-webpack5";
2
- import { IndicatorCell } from "./IndicatorCell";
3
- type Story = StoryObj<typeof IndicatorCell>;
4
- declare const meta: Meta<typeof IndicatorCell>;
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
+ };
5
39
  export default meta;
6
- export declare const packageName: () => import("react/jsx-runtime").JSX.Element;
40
+ export declare const PackageName: () => ReactElement;
7
41
  export declare const Default: Story;
@@ -1,8 +1,21 @@
1
- import { Meta, StoryObj } from "@storybook/react-webpack5";
2
- import { LinkCell } from "./LinkCell";
3
- type Story = StoryObj<typeof LinkCell>;
4
- declare const meta: Meta<typeof LinkCell>;
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) => import("react/jsx-runtime").JSX.Element;
8
+ argTypes: {};
9
+ parameters: {
10
+ docs: {
11
+ source: {
12
+ type: string;
13
+ excludeDecorators: boolean;
14
+ };
15
+ };
16
+ };
17
+ };
5
18
  export default meta;
6
- export declare const packageName: () => import("react/jsx-runtime").JSX.Element;
19
+ export declare const PackageName: () => ReactElement;
7
20
  export declare const Default: Story;
8
- export declare const Variants: () => import("react/jsx-runtime").JSX.Element;
21
+ export declare const Variants: () => ReactElement;
@@ -1,8 +1,21 @@
1
- import { Meta, StoryObj } from "@storybook/react-webpack5";
2
- import { MultiRowTableCell } from "./MultiRowTableCell";
3
- type Story = StoryObj<typeof MultiRowTableCell>;
4
- declare const meta: Meta<typeof MultiRowTableCell>;
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, 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
+ };
5
18
  export default meta;
6
- export declare const packageName: () => import("react/jsx-runtime").JSX.Element;
19
+ export declare const PackageName: () => ReactElement;
7
20
  export declare const Default: Story;
8
- export declare const Variants: () => import("react/jsx-runtime").JSX.Element;
21
+ export declare const Variants: () => ReactElement;
@@ -1,12 +1,53 @@
1
- import { Meta, StoryObj } from "@storybook/react-webpack5";
2
- import { MultiValueTextCell } from "./MultiValueTextCell";
1
+ import { ReactElement } from "react";
2
+ import { MultiValueTextCellProps } from "./MultiValueTextCell";
3
3
  import "./MultiValueTextCell.variants";
4
- type Story = StoryObj<typeof MultiValueTextCell>;
5
- declare const meta: Meta<typeof MultiValueTextCell>;
4
+ declare const meta: {
5
+ title: string;
6
+ component: ({ content, count, countTooltip, icon, iconTooltip, 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
+ };
6
17
  export default meta;
7
- export declare const packageName: () => import("react/jsx-runtime").JSX.Element;
8
- export declare const Default: Story;
9
- export declare const Example: Story;
10
- export declare const PlusBadgeWithTooltip: Story;
11
- export declare const LazyLoadedOnHover: Story;
12
- export declare const WithIcon: Story;
18
+ export declare const PackageName: () => ReactElement;
19
+ export declare const Default: {
20
+ render: (props: MultiValueTextCellProps) => import("react/jsx-runtime").JSX.Element;
21
+ args: {
22
+ dataTestId: 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,7 +1,20 @@
1
- import { Meta, StoryObj } from "@storybook/react-webpack5";
2
- import { NoticeCell } from "./NoticeCell";
3
- type Story = StoryObj<typeof NoticeCell>;
4
- declare const meta: Meta<typeof NoticeCell>;
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
+ };
5
18
  export default meta;
6
- export declare const packageName: () => import("react/jsx-runtime").JSX.Element;
19
+ export declare const PackageName: () => ReactElement;
7
20
  export declare const Default: Story;
@@ -1,9 +1,21 @@
1
- import { Meta, StoryObj } from "@storybook/react-webpack5";
2
- import { NumberCell } from "./NumberCell";
1
+ import { StoryObj } from "@storybook/react-webpack5";
2
+ import { ReactElement } from "react";
3
+ import { NumberCellProps } from "./NumberCell";
3
4
  import "./NumberCell.variants";
4
- type Story = StoryObj<typeof NumberCell>;
5
- declare const meta: Meta<typeof NumberCell>;
5
+ type Story = StoryObj<typeof meta>;
6
+ declare const meta: {
7
+ title: string;
8
+ component: ({ value, unit, className, dataTestId }: NumberCellProps) => import("react/jsx-runtime").JSX.Element;
9
+ parameters: {
10
+ docs: {
11
+ source: {
12
+ type: string;
13
+ excludeDecorators: boolean;
14
+ };
15
+ };
16
+ };
17
+ };
6
18
  export default meta;
7
- export declare const packageName: () => import("react/jsx-runtime").JSX.Element;
19
+ export declare const PackageName: () => ReactElement;
8
20
  export declare const Default: Story;
9
21
  export declare const Example: Story;
@@ -1,9 +1,22 @@
1
- import { Meta, StoryObj } from "@storybook/react-webpack5";
2
- import { PlainDateCell } from "./PlainDateCell";
1
+ import { StoryObj } from "@storybook/react-webpack5";
2
+ import { ReactElement } from "react";
3
+ import { PlainDateCellProps } from "./PlainDateCell";
3
4
  import "./PlainDateCell.variants";
4
- type Story = StoryObj<typeof PlainDateCell>;
5
- declare const meta: Meta<typeof PlainDateCell>;
5
+ type Story = StoryObj<typeof meta>;
6
+ declare const meta: {
7
+ title: string;
8
+ component: ({ locale, date, withDaysSince, className, 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
+ };
6
19
  export default meta;
7
- export declare const packageName: () => import("react/jsx-runtime").JSX.Element;
20
+ export declare const PackageName: () => ReactElement;
8
21
  export declare const Default: Story;
9
- export declare const Variants: () => import("react/jsx-runtime").JSX.Element;
22
+ export declare const Variants: () => ReactElement;
@@ -10,7 +10,7 @@ export type Action = {
10
10
  loading?: boolean;
11
11
  isVisible?: boolean | null;
12
12
  };
13
- interface RowActionsProps {
13
+ export interface RowActionsProps {
14
14
  actions: Array<Action>;
15
15
  }
16
16
  /**
@@ -25,4 +25,3 @@ interface RowActionsProps {
25
25
  * @returns {Element} A React component rendering the actions.
26
26
  */
27
27
  export declare const RowActions: ({ actions }: RowActionsProps) => false | import("react/jsx-runtime").JSX.Element | null | undefined;
28
- export {};
@@ -1,9 +1,21 @@
1
- import { Meta, StoryObj } from "@storybook/react-webpack5";
2
- import { RowActions } from "./RowActions";
3
- type Story = StoryObj<typeof RowActions>;
4
- declare const meta: Meta<typeof RowActions>;
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
+ };
5
17
  export default meta;
6
- export declare const packageName: () => import("react/jsx-runtime").JSX.Element;
18
+ export declare const PackageName: () => ReactElement;
7
19
  export declare const SingleAction: Story;
8
20
  export declare const MultipleActions: Story;
9
21
  export declare const NoActions: Story;
@@ -1,7 +1,19 @@
1
- import { Meta, StoryObj } from "@storybook/react-webpack5";
2
- import { SortIndicator } from "./SortIndicator";
3
- type Story = StoryObj<typeof SortIndicator>;
4
- declare const meta: Meta<typeof SortIndicator>;
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, dataTestId, className, ...rest }: SortIndicatorProps) => ReactElement;
8
+ parameters: {
9
+ docs: {
10
+ source: {
11
+ type: string;
12
+ excludeDecorators: boolean;
13
+ };
14
+ };
15
+ };
16
+ };
5
17
  export default meta;
6
- export declare const packageName: () => import("react/jsx-runtime").JSX.Element;
18
+ export declare const PackageName: () => ReactElement;
7
19
  export declare const Default: Story;
@@ -1,7 +1,20 @@
1
- import { Meta, StoryObj } from "@storybook/react-webpack5";
2
- import { TagsCell } from "./TagsCell";
3
- type Story = StoryObj<typeof TagsCell>;
4
- declare const meta: Meta<typeof TagsCell>;
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, 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
+ };
5
18
  export default meta;
6
- export declare const packageName: () => import("react/jsx-runtime").JSX.Element;
19
+ export declare const PackageName: () => ReactElement;
7
20
  export declare const Default: Story;
@@ -1,9 +1,22 @@
1
- import { Meta, StoryObj } from "@storybook/react-webpack5";
2
- import { TextCell } from "./TextCell";
1
+ import { StoryObj } from "@storybook/react-webpack5";
2
+ import { ReactElement } from "react";
3
+ import { TextCellProps } from "./TextCell";
3
4
  import "./TextCell.variants";
4
- type Story = StoryObj<typeof TextCell>;
5
- declare const meta: Meta<typeof TextCell>;
5
+ type Story = StoryObj<typeof meta>;
6
+ declare const meta: {
7
+ title: string;
8
+ component: ({ content, className, 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
+ };
6
19
  export default meta;
7
- export declare const packageName: () => import("react/jsx-runtime").JSX.Element;
20
+ export declare const PackageName: () => ReactElement;
8
21
  export declare const Default: Story;
9
22
  export declare const Example: Story;