ingred-ui 22.3.0 → 22.3.2

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.
@@ -7,7 +7,9 @@ export declare const LeftPanel: import("styled-components").StyledComponent<"div
7
7
  isShow: boolean;
8
8
  }, never>;
9
9
  export declare const LeftPanelBody: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
10
- export declare const LeftPanelHeader: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
10
+ export declare const LeftPanelHeader: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
11
+ hasMenu?: boolean | undefined;
12
+ }, never>;
11
13
  export declare const HeaderSearch: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
12
14
  export declare const HeaderSearchReset: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
13
15
  export declare const HeaderMenuButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
@@ -16,6 +16,7 @@ type Select2Props = {
16
16
  size?: Select2Size;
17
17
  variant?: Select2Variant;
18
18
  tagVariant?: TagVariant;
19
+ searchable?: boolean;
19
20
  searchPlaceholder?: string;
20
21
  noResultsMessage?: string;
21
22
  error?: boolean;
@@ -76,13 +76,20 @@ export type Select2Props = {
76
76
  * @default "選択してください"
77
77
  */
78
78
  placeholder?: string;
79
+ /**
80
+ * 検索機能を有効にするかどうか
81
+ * @default false
82
+ */
83
+ searchable?: boolean;
79
84
  /**
80
85
  * 検索入力のプレースホルダー
86
+ * searchableがtrueの場合のみ使用されます
81
87
  * @default "検索"
82
88
  */
83
89
  searchPlaceholder?: string;
84
90
  /**
85
91
  * 検索結果がない場合のメッセージ
92
+ * searchableがtrueの場合のみ使用されます
86
93
  * @default "オプションがありません"
87
94
  */
88
95
  noResultsMessage?: string;