fis-component 0.0.47 → 0.0.49

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.
@@ -16,7 +16,7 @@ export type SingleSelect<T> = {
16
16
  displayValue?: (value: SelectOption) => string;
17
17
  };
18
18
  export type MultiSelect<T> = {
19
- multi: true;
19
+ multi?: boolean;
20
20
  value: T[];
21
21
  onChange: (value: T[]) => void;
22
22
  displayValue?: (value: SelectOption[]) => 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";
@@ -4232,7 +4232,7 @@ type SingleSelect<T> = {
4232
4232
  displayValue?: (value: SelectOption) => string;
4233
4233
  };
4234
4234
  type MultiSelect<T> = {
4235
- multi: true;
4235
+ multi?: boolean;
4236
4236
  value: T[];
4237
4237
  onChange: (value: T[]) => void;
4238
4238
  displayValue?: (value: SelectOption[]) => 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.47",
4
+ "version": "0.0.49",
5
5
  "description": "",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/esm/index.js",