@trackunit/react-table-base-components 2.7.18 → 2.7.20
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 +5 -5
- package/src/components/ButtonCell/ButtonCell.d.ts +1 -1
- package/src/components/CheckboxCell/CheckboxCell.d.ts +1 -1
- package/src/components/HighlightCell/HighlightCell.d.ts +1 -1
- package/src/components/ImageCell/ImageCell.d.ts +1 -1
- package/src/components/IndicatorCell/IndicatorCell.d.ts +1 -1
- package/src/components/MultiRowTableCell/MultiRowTableCell.d.ts +1 -1
- package/src/components/MultiValueTextCell/ListTooltip.d.ts +1 -1
- package/src/components/MultiValueTextCell/MultiValueTextCell.d.ts +1 -1
- package/src/components/NumberCell/NumberCell.d.ts +1 -1
- package/src/components/PlainDateCell/PlainDateCell.d.ts +1 -1
- package/src/components/RowActions/RowActions.d.ts +1 -1
- package/src/components/TableRoot.d.ts +1 -1
- package/src/components/TagsCell/TagsCell.d.ts +1 -1
- package/src/components/Tbody.d.ts +1 -1
- package/src/components/Td.d.ts +1 -1
- package/src/components/TextCell/TextCell.d.ts +1 -1
- package/src/components/Tfoot.d.ts +1 -1
- package/src/components/Th.d.ts +1 -1
- package/src/components/Thead.d.ts +1 -1
- package/src/components/Tr.d.ts +1 -1
- package/src/translation.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-table-base-components",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.20",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=24.x"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@trackunit/react-components": "2.13.
|
|
10
|
+
"@trackunit/react-components": "2.13.26",
|
|
11
11
|
"@trackunit/ui-icons": "1.14.43",
|
|
12
|
-
"@trackunit/react-form-components": "2.6.
|
|
12
|
+
"@trackunit/react-form-components": "2.6.74",
|
|
13
13
|
"@trackunit/css-class-variance-utilities": "2.0.14",
|
|
14
14
|
"@trackunit/date-and-time-utils": "1.14.45",
|
|
15
|
-
"@trackunit/react-date-and-time-hooks": "2.6.
|
|
15
|
+
"@trackunit/react-date-and-time-hooks": "2.6.72",
|
|
16
16
|
"@trackunit/shared-utils": "1.16.49",
|
|
17
|
-
"@trackunit/i18n-library-translation": "2.4.
|
|
17
|
+
"@trackunit/i18n-library-translation": "2.4.64",
|
|
18
18
|
"tailwind-merge": "^2.0.0"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
@@ -89,4 +89,4 @@ export interface ButtonCellProps extends ButtonCommonProps, Refable<HTMLButtonEl
|
|
|
89
89
|
* @param {ButtonCellProps} props - The props for the ButtonCell component
|
|
90
90
|
* @returns {ReactElement} ButtonCell component
|
|
91
91
|
*/
|
|
92
|
-
export declare const ButtonCell: ({ children, className, "data-testid": dataTestId, iconColor, iconName, style, variant, ...rest }: ButtonCellProps) => import("react
|
|
92
|
+
export declare const ButtonCell: ({ children, className, "data-testid": dataTestId, iconColor, iconName, style, variant, ...rest }: ButtonCellProps) => import("react").JSX.Element;
|
|
@@ -21,4 +21,4 @@ export interface CheckboxCellProps extends CommonProps, Styleable {
|
|
|
21
21
|
* @param {CheckboxCellProps} props - The props for the CheckboxCell component
|
|
22
22
|
* @returns {ReactElement} CheckboxCell component
|
|
23
23
|
*/
|
|
24
|
-
export declare const CheckboxCell: ({ checked, className, "data-testid": dataTestId, style }: CheckboxCellProps) => import("react
|
|
24
|
+
export declare const CheckboxCell: ({ checked, className, "data-testid": dataTestId, style }: CheckboxCellProps) => import("react").JSX.Element;
|
|
@@ -40,4 +40,4 @@ export interface HighlightCellProps extends CommonProps, HTMLAttributes<HTMLTabl
|
|
|
40
40
|
* @param {HighlightCellProps} props - The props for the HighlightCell component
|
|
41
41
|
* @returns {ReactElement} HighlightCell component
|
|
42
42
|
*/
|
|
43
|
-
export declare const HighlightCell: ({ className, highlights, "data-testid": dataTestId, ref, style }: HighlightCellProps) => import("react
|
|
43
|
+
export declare const HighlightCell: ({ className, highlights, "data-testid": dataTestId, ref, style }: HighlightCellProps) => import("react").JSX.Element;
|
|
@@ -42,4 +42,4 @@ export interface ImageCellProps extends CommonProps, Refable<HTMLImageElement>,
|
|
|
42
42
|
* @param {ImageCellProps} props - The props for the ImageCell component
|
|
43
43
|
* @returns {ReactElement} ImageCell component
|
|
44
44
|
*/
|
|
45
|
-
export declare const ImageCell: ({ imageUrl, alt, width, height, "data-testid": dataTestId, ref, ...rest }: ImageCellProps) => import("react
|
|
45
|
+
export declare const ImageCell: ({ imageUrl, alt, width, height, "data-testid": dataTestId, ref, ...rest }: ImageCellProps) => import("react").JSX.Element;
|
|
@@ -57,4 +57,4 @@ export interface IndicatorCellProps extends IndicatorProps, HTMLAttributes<HTMLT
|
|
|
57
57
|
* @param {IndicatorCellProps} props - The props for the IndicatorCell component
|
|
58
58
|
* @returns {ReactElement} IndicatorCell component
|
|
59
59
|
*/
|
|
60
|
-
export declare const IndicatorCell: ({ withBackground, weight, ref, ...rest }: IndicatorCellProps) => import("react
|
|
60
|
+
export declare const IndicatorCell: ({ withBackground, weight, ref, ...rest }: IndicatorCellProps) => import("react").JSX.Element;
|
|
@@ -32,4 +32,4 @@ export interface MultiRowTableCellProps extends CommonProps, Styleable {
|
|
|
32
32
|
* @param {MultiRowTableCellProps} props - The props for the MultiRowTableCell component
|
|
33
33
|
* @returns {ReactElement} MultiRowTableCell component
|
|
34
34
|
*/
|
|
35
|
-
export declare const MultiRowTableCell: ({ main, secondary, "data-testid": dataTestId, className, style, }: MultiRowTableCellProps) => import("react
|
|
35
|
+
export declare const MultiRowTableCell: ({ main, secondary, "data-testid": dataTestId, className, style, }: MultiRowTableCellProps) => import("react").JSX.Element;
|
|
@@ -32,4 +32,4 @@ export type ListTooltipProps<TItem = unknown> = Styleable & {
|
|
|
32
32
|
* @param {ListTooltipProps<TItem>} props Component props.
|
|
33
33
|
* @returns {ReactNode} Tooltip list markup.
|
|
34
34
|
*/
|
|
35
|
-
export declare const ListTooltip: <TItem = unknown>({ items, "data-testid": dataTestId, getLabel, getKey, loading, style, }: ListTooltipProps<TItem>) => import("react
|
|
35
|
+
export declare const ListTooltip: <TItem = unknown>({ items, "data-testid": dataTestId, getLabel, getKey, loading, style, }: ListTooltipProps<TItem>) => import("react").JSX.Element;
|
|
@@ -82,5 +82,5 @@ export type MultiValueTextCellProps = MultiValueTextCellDefaultProps | MultiValu
|
|
|
82
82
|
* @param {MultiValueTextCellProps} props - The props for the MultiValueTextCell component
|
|
83
83
|
* @returns {ReactElement} MultiValueTextCell component
|
|
84
84
|
*/
|
|
85
|
-
export declare const MultiValueTextCell: ({ content, count, countTooltip, icon, iconTooltip, "data-testid": dataTestId, className, onMouseEnter, ref, style, unifiedTooltip, }: MultiValueTextCellProps) => import("react
|
|
85
|
+
export declare const MultiValueTextCell: ({ content, count, countTooltip, icon, iconTooltip, "data-testid": dataTestId, className, onMouseEnter, ref, style, unifiedTooltip, }: MultiValueTextCellProps) => import("react").JSX.Element | null;
|
|
86
86
|
export {};
|
|
@@ -65,4 +65,4 @@ export interface NumberCellProps extends CommonProps, Refable<HTMLDivElement>, S
|
|
|
65
65
|
* @param {NumberCellProps} props - The props for the NumberCell component.
|
|
66
66
|
* @returns {ReactElement} A React JSX element representing the NumberCell component.
|
|
67
67
|
*/
|
|
68
|
-
export declare const NumberCell: ({ value, unit, className, "data-testid": dataTestId, ref, style }: NumberCellProps) => import("react
|
|
68
|
+
export declare const NumberCell: ({ value, unit, className, "data-testid": dataTestId, ref, style }: NumberCellProps) => import("react").JSX.Element;
|
|
@@ -43,7 +43,7 @@ export interface PlainDateCellProps extends CommonProps, Refable<HTMLDivElement>
|
|
|
43
43
|
* @param {PlainDateCellProps} props - The props for the PlainDateCell component
|
|
44
44
|
* @returns {ReactElement} PlainDateCell component
|
|
45
45
|
*/
|
|
46
|
-
export declare const PlainDateCell: ({ locale, date, withDaysSince, className, "data-testid": dataTestId, ref, style, }: PlainDateCellProps) => import("react
|
|
46
|
+
export declare const PlainDateCell: ({ locale, date, withDaysSince, className, "data-testid": dataTestId, ref, style, }: PlainDateCellProps) => import("react").JSX.Element | null;
|
|
47
47
|
export interface DaysSinceProps extends Pick<PlainDateCellProps, "date" | "locale"> {
|
|
48
48
|
date: Temporal.PlainDate;
|
|
49
49
|
}
|
|
@@ -136,4 +136,4 @@ export interface RowActionsProps extends Styleable {
|
|
|
136
136
|
* @param {RowActionsProps} props - The properties for the component.
|
|
137
137
|
* @returns {ReactElement} A React component rendering the row actions.
|
|
138
138
|
*/
|
|
139
|
-
export declare const RowActions: ({ actions, style }: RowActionsProps) => false | import("react
|
|
139
|
+
export declare const RowActions: ({ actions, style }: RowActionsProps) => false | import("react").JSX.Element | null | undefined;
|
|
@@ -24,4 +24,4 @@ export interface TableRootProps extends CommonProps, HTMLAttributes<HTMLTableEle
|
|
|
24
24
|
* @param {TableRootProps} props - The props for the TableRoot component
|
|
25
25
|
* @returns {ReactElement} TableRoot component
|
|
26
26
|
*/
|
|
27
|
-
export declare const TableRoot: ({ "data-testid": dataTestId, className, children, ...rest }: TableRootProps) => import("react
|
|
27
|
+
export declare const TableRoot: ({ "data-testid": dataTestId, className, children, ...rest }: TableRootProps) => import("react").JSX.Element;
|
|
@@ -61,4 +61,4 @@ export interface TagsCellProps extends CommonProps, HTMLAttributes<HTMLTableSect
|
|
|
61
61
|
* @param {TagsCellProps} props - The props for the TagsCell component
|
|
62
62
|
* @returns {ReactElement} TagsCell component
|
|
63
63
|
*/
|
|
64
|
-
export declare const TagsCell: ({ className, tags, "data-testid": dataTestId, ref, style }: TagsCellProps) => import("react
|
|
64
|
+
export declare const TagsCell: ({ className, tags, "data-testid": dataTestId, ref, style }: TagsCellProps) => import("react").JSX.Element;
|
|
@@ -24,4 +24,4 @@ export interface TbodyProps extends CommonProps, HTMLAttributes<HTMLTableSection
|
|
|
24
24
|
* @param {TbodyProps} props - The props for the Tbody component
|
|
25
25
|
* @returns {ReactElement} Tbody component
|
|
26
26
|
*/
|
|
27
|
-
export declare const Tbody: ({ "data-testid": dataTestId, className, children, ref, ...rest }: TbodyProps) => import("react
|
|
27
|
+
export declare const Tbody: ({ "data-testid": dataTestId, className, children, ref, ...rest }: TbodyProps) => import("react").JSX.Element;
|
package/src/components/Td.d.ts
CHANGED
|
@@ -24,4 +24,4 @@ export interface TdProps extends CommonProps, HTMLAttributes<HTMLTableCellElemen
|
|
|
24
24
|
* @param {TdProps} props - The props for the Td component
|
|
25
25
|
* @returns {ReactElement} Td component
|
|
26
26
|
*/
|
|
27
|
-
export declare const Td: ({ "data-testid": dataTestId, className, children, ref, ...rest }: TdProps) => import("react
|
|
27
|
+
export declare const Td: ({ "data-testid": dataTestId, className, children, ref, ...rest }: TdProps) => import("react").JSX.Element;
|
|
@@ -74,4 +74,4 @@ export interface TextCellProps extends CommonProps, Refable<HTMLSpanElement>, St
|
|
|
74
74
|
* @param {TextCellProps} props - The props for the TextCell component
|
|
75
75
|
* @returns {ReactElement} TextCell component
|
|
76
76
|
*/
|
|
77
|
-
export declare const TextCell: ({ content, className, "data-testid": dataTestId, ref, style, variant, }: TextCellProps) => import("react
|
|
77
|
+
export declare const TextCell: ({ content, className, "data-testid": dataTestId, ref, style, variant, }: TextCellProps) => import("react").JSX.Element;
|
|
@@ -24,4 +24,4 @@ export interface TfootProps extends CommonProps, HTMLAttributes<HTMLTableSection
|
|
|
24
24
|
* @param {TfootProps} props - The props for the Tfoot component
|
|
25
25
|
* @returns {ReactElement} Tfoot component
|
|
26
26
|
*/
|
|
27
|
-
export declare const Tfoot: ({ "data-testid": dataTestId, className, children, ref, ...rest }: TfootProps) => import("react
|
|
27
|
+
export declare const Tfoot: ({ "data-testid": dataTestId, className, children, ref, ...rest }: TfootProps) => import("react").JSX.Element;
|
package/src/components/Th.d.ts
CHANGED
|
@@ -24,4 +24,4 @@ export interface ThProps extends CommonProps, HTMLAttributes<HTMLTableCellElemen
|
|
|
24
24
|
* @param {ThProps} props - The props for the Th component
|
|
25
25
|
* @returns {ReactElement} Th component
|
|
26
26
|
*/
|
|
27
|
-
export declare const Th: ({ "data-testid": dataTestId, className, children, ref, ...rest }: ThProps) => import("react
|
|
27
|
+
export declare const Th: ({ "data-testid": dataTestId, className, children, ref, ...rest }: ThProps) => import("react").JSX.Element;
|
|
@@ -31,4 +31,4 @@ export interface TheadProps extends CommonProps, HTMLAttributes<HTMLTableSection
|
|
|
31
31
|
* @param {TheadProps} props - The props for the Thead component
|
|
32
32
|
* @returns {ReactElement} Thead component
|
|
33
33
|
*/
|
|
34
|
-
export declare const Thead: ({ "data-testid": dataTestId, className, children, sticky, ref, ...rest }: TheadProps) => import("react
|
|
34
|
+
export declare const Thead: ({ "data-testid": dataTestId, className, children, sticky, ref, ...rest }: TheadProps) => import("react").JSX.Element;
|
package/src/components/Tr.d.ts
CHANGED
|
@@ -32,4 +32,4 @@ export interface TrProps extends CommonProps, HTMLAttributes<HTMLTableRowElement
|
|
|
32
32
|
* @param {TrProps} props - The props for the Tr component
|
|
33
33
|
* @returns {ReactElement} Tr component
|
|
34
34
|
*/
|
|
35
|
-
export declare const Tr: ({ "data-testid": dataTestId, className, children, layout, ref, ...rest }: TrProps) => import("react
|
|
35
|
+
export declare const Tr: ({ "data-testid": dataTestId, className, children, layout, ref, ...rest }: TrProps) => import("react").JSX.Element;
|
package/src/translation.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export type TranslationFunction = TransForLibs<TranslationKeys>;
|
|
|
18
18
|
/**
|
|
19
19
|
* Trans for this specific library.
|
|
20
20
|
*/
|
|
21
|
-
export declare const Trans: (props: NamespaceTransProps<TranslationKeys>) => import("react
|
|
21
|
+
export declare const Trans: (props: NamespaceTransProps<TranslationKeys>) => import("react").JSX.Element;
|
|
22
22
|
/**
|
|
23
23
|
* Registers the translations for this library
|
|
24
24
|
*/
|