@majoo-ui/react 1.59.6-rc.10 → 1.59.6-rc.11

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.
@@ -102,14 +102,14 @@ export declare const SelectBox: import("@stitches/react/types/styled-component")
102
102
  align?: "stretch" | "center" | "end" | "start" | "baseline" | undefined;
103
103
  justify?: "center" | "end" | "start" | "between" | "evenly" | "around" | undefined;
104
104
  wrap?: "wrap" | "noWrap" | "wrapReverse" | undefined;
105
- gap?: 1 | "1" | "2" | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | undefined;
106
- m?: 1 | "1" | "2" | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | undefined;
107
- mt?: 1 | "1" | "2" | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | undefined;
108
- mb?: 1 | "1" | "2" | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | undefined;
109
- mr?: 1 | "1" | "2" | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | undefined;
110
- ml?: 1 | "1" | "2" | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | undefined;
111
- mx?: 1 | "1" | "2" | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | undefined;
112
- my?: 1 | "1" | "2" | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | undefined;
105
+ gap?: 1 | 2 | "1" | "2" | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | undefined;
106
+ m?: 1 | 2 | "1" | "2" | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | undefined;
107
+ mt?: 1 | 2 | "1" | "2" | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | undefined;
108
+ mb?: 1 | 2 | "1" | "2" | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | undefined;
109
+ mr?: 1 | 2 | "1" | "2" | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | undefined;
110
+ ml?: 1 | 2 | "1" | "2" | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | undefined;
111
+ mx?: 1 | 2 | "1" | "2" | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | undefined;
112
+ my?: 1 | 2 | "1" | "2" | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | undefined;
113
113
  mobileOnly?: boolean | "true" | undefined;
114
114
  desktopOnly?: boolean | "true" | undefined;
115
115
  }, {
@@ -510,6 +510,7 @@ export declare const IconContainer: import("@stitches/react/types/styled-compone
510
510
  export declare const OptionWrapper: import("@stitches/react/types/styled-component").StyledComponent<"div", {
511
511
  placement?: "bottom" | "top" | undefined;
512
512
  withFooter?: boolean | "true" | undefined;
513
+ isMobile?: boolean | "true" | undefined;
513
514
  }, {
514
515
  sm: "(min-width: 359px)";
515
516
  md: "(min-width: 767px)";
@@ -943,6 +944,18 @@ interface InputSelectProps extends Omit<DownshiftProps<Option>, 'initialSelected
943
944
  * Called whenever the InputSelect state changes.
944
945
  */
945
946
  onStateChange?(state: StateChangeOptions<Option>): void;
947
+ /**
948
+ * If true, the option list will be shown as mobile modal dialog
949
+ */
950
+ isMobile?: boolean;
951
+ /**
952
+ * Specify the mobile modal dialog title
953
+ */
954
+ mobileTitle?: string;
955
+ /**
956
+ * If true, the input search will be debounced.
957
+ */
958
+ withDebounce?: boolean;
946
959
  /**
947
960
  * If true, the input label will be rendered with option render prop (If exist)
948
961
  */