fis-component 0.0.40 → 0.0.42
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/cjs/index.js +6 -10
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/src/components/Table/ColumnCell/ColumnCell.stories.d.ts +0 -1
- package/dist/cjs/types/src/components/Table/ColumnCell/index.d.ts +1 -1
- package/dist/cjs/types/src/components/Table/HeaderCell/HeaderCell.stories.d.ts +1 -1
- package/dist/cjs/types/src/components/Table/HeaderCell/index.d.ts +1 -2
- package/dist/cjs/types/src/components/Table/HeaderCell/styles.d.ts +1 -2
- package/dist/esm/index.js +6 -10
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/src/components/Table/ColumnCell/ColumnCell.stories.d.ts +0 -1
- package/dist/esm/types/src/components/Table/ColumnCell/index.d.ts +1 -1
- package/dist/esm/types/src/components/Table/HeaderCell/HeaderCell.stories.d.ts +1 -1
- package/dist/esm/types/src/components/Table/HeaderCell/index.d.ts +1 -2
- package/dist/esm/types/src/components/Table/HeaderCell/styles.d.ts +1 -2
- package/dist/index.d.ts +2 -3
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DetailedHTMLProps, HTMLAttributes, ReactElement } from "react";
|
|
2
2
|
interface ColumnCellProps extends Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> {
|
|
3
3
|
className?: string;
|
|
4
|
-
textAlign?:
|
|
4
|
+
textAlign?: "left" | "right";
|
|
5
5
|
contentWrapText?: boolean;
|
|
6
6
|
variant?: string;
|
|
7
7
|
content?: string;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { DetailedHTMLProps, HTMLAttributes, ReactNode } from "react";
|
|
2
2
|
interface HeaderCellProps extends Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> {
|
|
3
3
|
className?: string;
|
|
4
|
-
|
|
5
|
-
textAlign?: string;
|
|
4
|
+
textAlign?: "left" | "right";
|
|
6
5
|
label: string | null | undefined;
|
|
7
6
|
description?: string;
|
|
8
7
|
rightComponent?: ReactNode;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
interface HeaderCellStyleProps {
|
|
2
|
-
$textAlign?: string;
|
|
3
2
|
$disabled?: boolean;
|
|
4
3
|
$hasRightDivider?: boolean;
|
|
5
4
|
$hasTruncateLabel?: boolean;
|
|
6
|
-
$
|
|
5
|
+
$textAlign?: "left" | "right";
|
|
7
6
|
$onlyIcon?: boolean;
|
|
8
7
|
}
|
|
9
8
|
export declare const DivHeaderCellContainerSC: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, HeaderCellStyleProps>> & string;
|
package/dist/index.d.ts
CHANGED
|
@@ -4062,8 +4062,7 @@ declare const FISTable: React$1.ForwardRefExoticComponent<TableProps & React$1.R
|
|
|
4062
4062
|
|
|
4063
4063
|
interface HeaderCellProps extends Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> {
|
|
4064
4064
|
className?: string;
|
|
4065
|
-
|
|
4066
|
-
textAlign?: string;
|
|
4065
|
+
textAlign?: "left" | "right";
|
|
4067
4066
|
label: string | null | undefined;
|
|
4068
4067
|
description?: string;
|
|
4069
4068
|
rightComponent?: ReactNode;
|
|
@@ -4076,7 +4075,7 @@ declare const FISTableHeaderCell: React$1.ForwardRefExoticComponent<HeaderCellPr
|
|
|
4076
4075
|
|
|
4077
4076
|
interface ColumnCellProps extends Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> {
|
|
4078
4077
|
className?: string;
|
|
4079
|
-
textAlign?:
|
|
4078
|
+
textAlign?: "left" | "right";
|
|
4080
4079
|
contentWrapText?: boolean;
|
|
4081
4080
|
variant?: string;
|
|
4082
4081
|
content?: string;
|