fis-component 0.0.46 → 0.0.48

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.
@@ -2,12 +2,13 @@ import { DateRangeProps } from ".";
2
2
  declare const meta: {
3
3
  title: string;
4
4
  component: {
5
- ({ placeholder, label, required, message, negative, positive, ...rest }: DateRangeProps): import("react/jsx-runtime").JSX.Element;
5
+ ({ placeholder, label, required, message, negative, positive, disabled, ...rest }: DateRangeProps): import("react/jsx-runtime").JSX.Element;
6
6
  displayName: string;
7
7
  };
8
8
  tags: string[];
9
9
  args: {
10
10
  label: string;
11
+ disabled: false;
11
12
  required: true;
12
13
  message: string;
13
14
  negative: false;
@@ -2,6 +2,7 @@ export type DateRangeProps = {
2
2
  className?: string;
3
3
  label?: string;
4
4
  required?: boolean;
5
+ disabled?: boolean;
5
6
  message?: string;
6
7
  negative?: boolean;
7
8
  positive?: boolean;
@@ -20,7 +21,7 @@ declare const RangePicker: import("react").ForwardRefExoticComponent<Omit<import
20
21
  popupStyle?: React.CSSProperties;
21
22
  } & import("react").RefAttributes<import("rc-picker").PickerRef>>;
22
23
  declare const FISDateRange: {
23
- ({ placeholder, label, required, message, negative, positive, ...rest }: DateRangeProps): import("react/jsx-runtime").JSX.Element;
24
+ ({ placeholder, label, required, message, negative, positive, disabled, ...rest }: DateRangeProps): import("react/jsx-runtime").JSX.Element;
24
25
  displayName: string;
25
26
  };
26
27
  export default FISDateRange;
@@ -1,6 +1,7 @@
1
1
  interface DateRangeProps {
2
2
  $negative?: boolean;
3
3
  $positive?: boolean;
4
+ $disabled?: boolean;
4
5
  }
5
6
  export declare const DivDateRangeContainerSC: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, DateRangeProps>> & string;
6
7
  export declare const DivSeparatorIconSC: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, DateRangeProps>> & string;
@@ -951,7 +951,7 @@ declare const _default: {
951
951
  readonly "com/menu/left-padding": "8px";
952
952
  readonly "com/menu/corner-radius": "12px";
953
953
  readonly "com/menu/min-width": "132px";
954
- readonly "com/menu/max-height": "780px";
954
+ readonly "com/menu/max-height": "380px";
955
955
  readonly "com/menu/height": "204px";
956
956
  readonly "com/menu/search-bar/size": "Md (36)";
957
957
  readonly "com/menu/scrollbar/direction": "Vertical";
@@ -954,7 +954,7 @@ declare const getTheme: <K extends keyof ThemeType>(key: K) => (props: {
954
954
  readonly "com/menu/left-padding": "8px";
955
955
  readonly "com/menu/corner-radius": "12px";
956
956
  readonly "com/menu/min-width": "132px";
957
- readonly "com/menu/max-height": "780px";
957
+ readonly "com/menu/max-height": "380px";
958
958
  readonly "com/menu/height": "204px";
959
959
  readonly "com/menu/search-bar/size": "Md (36)";
960
960
  readonly "com/menu/scrollbar/direction": "Vertical";
package/dist/index.d.ts CHANGED
@@ -970,7 +970,7 @@ declare const _default: {
970
970
  readonly "com/menu/left-padding": "8px";
971
971
  readonly "com/menu/corner-radius": "12px";
972
972
  readonly "com/menu/min-width": "132px";
973
- readonly "com/menu/max-height": "780px";
973
+ readonly "com/menu/max-height": "380px";
974
974
  readonly "com/menu/height": "204px";
975
975
  readonly "com/menu/search-bar/size": "Md (36)";
976
976
  readonly "com/menu/scrollbar/direction": "Vertical";
@@ -4113,6 +4113,7 @@ type DateRangeProps = {
4113
4113
  className?: string;
4114
4114
  label?: string;
4115
4115
  required?: boolean;
4116
+ disabled?: boolean;
4116
4117
  message?: string;
4117
4118
  negative?: boolean;
4118
4119
  positive?: boolean;
@@ -4131,7 +4132,7 @@ declare const RangePicker: React$1.ForwardRefExoticComponent<Omit<rc_picker.Rang
4131
4132
  popupStyle?: React.CSSProperties;
4132
4133
  } & React$1.RefAttributes<rc_picker.PickerRef>>;
4133
4134
  declare const FISDateRange: {
4134
- ({ placeholder, label, required, message, negative, positive, ...rest }: DateRangeProps): react_jsx_runtime.JSX.Element;
4135
+ ({ placeholder, label, required, message, negative, positive, disabled, ...rest }: DateRangeProps): react_jsx_runtime.JSX.Element;
4135
4136
  displayName: string;
4136
4137
  };
4137
4138
 
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.46",
4
+ "version": "0.0.48",
5
5
  "description": "",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/esm/index.js",