fis-component 0.0.40 → 0.0.41

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.
@@ -11,7 +11,6 @@ declare const meta: {
11
11
  disabled: false;
12
12
  hasBorder: true;
13
13
  icon: import("react/jsx-runtime").JSX.Element;
14
- textAlign: string;
15
14
  contentWrapText: false;
16
15
  };
17
16
  argTypes: {
@@ -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?: string;
4
+ textAlign?: "left" | "right";
5
5
  contentWrapText?: boolean;
6
6
  variant?: string;
7
7
  content?: string;
@@ -9,7 +9,7 @@ declare const meta: {
9
9
  label: string;
10
10
  description: string;
11
11
  rightComponent: import("react/jsx-runtime").JSX.Element;
12
- align: "left";
12
+ textAlign: "left";
13
13
  disabled: false;
14
14
  hasRightDivider: true;
15
15
  hasTruncateLabel: false;
@@ -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
- align?: "left" | "right";
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
- $align?: "left" | "right";
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
- align?: "left" | "right";
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?: string;
4078
+ textAlign?: "left" | "right";
4080
4079
  contentWrapText?: boolean;
4081
4080
  variant?: string;
4082
4081
  content?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "homepage": "https://vietdiemtran.github.io/fis-component/",
3
3
  "name": "fis-component",
4
- "version": "0.0.40",
4
+ "version": "0.0.41",
5
5
  "description": "",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/esm/index.js",