fis-component 0.0.71 → 0.0.73

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.
@@ -30,4 +30,5 @@ export type ComboboxProps<T> = Omit<InputFieldProps, "value" | "onChange"> & Par
30
30
  renderOption?: (option: ComboboxOption) => React.ReactNode;
31
31
  noResult?: boolean;
32
32
  noResultText?: string;
33
+ maxHeight?: string | number;
33
34
  } & (SingleSelect<T> | MultiSelect<T>);
@@ -1,4 +1,6 @@
1
- export declare const DivContainerSC: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
1
+ export declare const DivContainerSC: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
2
+ $maxHeight?: string | number;
3
+ }>> & string;
2
4
  export declare const DivLoaderSC: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
5
  export declare const DivIconDataSC: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
4
6
  export declare const PTitleSC: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>> & string;
@@ -29,6 +29,7 @@ export interface MenuProps {
29
29
  noResultText?: string;
30
30
  removeSelectedText?: string;
31
31
  selectedGroupLabel?: string;
32
+ maxHeight?: string | number;
32
33
  }
33
34
  export interface MenuState {
34
35
  search: string;
@@ -13,3 +13,5 @@ export declare const Loading: import("@storybook/core/csf").AnnotatedStoryFn<imp
13
13
  export declare const LargeSize: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, SingleSelectStoryProps>;
14
14
  export declare const Disabled: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, SingleSelectStoryProps>;
15
15
  export declare const NumberType: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, NumberSelectStoryProps>;
16
+ export declare const CustomMaxHeight: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, SingleSelectStoryProps>;
17
+ export declare const TextEllipsis: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, SingleSelectStoryProps>;
@@ -18,6 +18,7 @@ type BaseSelectProps<T extends string | number> = Partial<InputLabelProps> & Omi
18
18
  multiDisplayText?: (count: number) => string;
19
19
  renderOption?: (option: SelectOption<T>) => React.ReactNode;
20
20
  portal?: boolean;
21
+ maxHeight?: string | number;
21
22
  };
22
23
  export type SingleSelectProps<T extends string | number> = BaseSelectProps<T> & {
23
24
  multi?: false;
package/dist/index.d.ts CHANGED
@@ -3881,6 +3881,7 @@ interface MenuProps {
3881
3881
  noResultText?: string;
3882
3882
  removeSelectedText?: string;
3883
3883
  selectedGroupLabel?: string;
3884
+ maxHeight?: string | number;
3884
3885
  }
3885
3886
 
3886
3887
  declare const FISMenuSelect: React__default.FC<MenuProps>;
@@ -4018,6 +4019,7 @@ type ComboboxProps<T> = Omit<InputFieldProps, "value" | "onChange"> & Partial<In
4018
4019
  renderOption?: (option: ComboboxOption) => React.ReactNode;
4019
4020
  noResult?: boolean;
4020
4021
  noResultText?: string;
4022
+ maxHeight?: string | number;
4021
4023
  } & (SingleSelect<T> | MultiSelect<T>);
4022
4024
 
4023
4025
  declare const FISCombobox: React$1.ForwardRefExoticComponent<ComboboxProps<string> & React$1.RefAttributes<HTMLInputElement>>;
@@ -4256,6 +4258,7 @@ type BaseSelectProps<T extends string | number> = Partial<InputLabelProps> & Omi
4256
4258
  multiDisplayText?: (count: number) => string;
4257
4259
  renderOption?: (option: SelectOption<T>) => React.ReactNode;
4258
4260
  portal?: boolean;
4261
+ maxHeight?: string | number;
4259
4262
  };
4260
4263
  type SingleSelectProps<T extends string | number> = BaseSelectProps<T> & {
4261
4264
  multi?: false;
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.71",
4
+ "version": "0.0.73",
5
5
  "description": "",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/esm/index.js",