@ehfuse/mui-form-controls 3.1.34 → 3.1.36
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.
- package/dist/Autocomplete.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +3 -3
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +3 -3
- package/dist/types.d.ts +4 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -152,6 +152,8 @@ export type ToggleButtonGroupProps = Omit<MuiToggleButtonGroupProps, "value" | "
|
|
|
152
152
|
export type AutocompleteOption = {
|
|
153
153
|
value: string | number;
|
|
154
154
|
label: string;
|
|
155
|
+
/** true면 선택 불가(헤더/구분선 등). hover/클릭 비활성, 키보드 이동 시 건너뜀. */
|
|
156
|
+
disabled?: boolean;
|
|
155
157
|
};
|
|
156
158
|
export type AutocompleteInputChangeReason = "input" | "reset" | "clear" | "blur";
|
|
157
159
|
export type AutocompleteCloseReason = "selectOption" | "blur" | "clickAway";
|
|
@@ -184,6 +186,8 @@ export type AutocompleteProps = BaseTextFieldProps & {
|
|
|
184
186
|
disablePortal?: boolean;
|
|
185
187
|
/** portal 드롭다운 최소 너비(px). 좁은 앵커(그리드 셀 등)에서 옵션 가독성 확보용. 기본 240. */
|
|
186
188
|
dropdownMinWidth?: number;
|
|
189
|
+
/** true면 내부 라벨 필터를 끈다. 호출부가 options 를 이미 검색·정렬해 넘길 때(외부 필터). 기본 false. */
|
|
190
|
+
disableFilter?: boolean;
|
|
187
191
|
freeSolo?: boolean;
|
|
188
192
|
forcePopupIcon?: boolean;
|
|
189
193
|
popupIcon?: React.ReactNode;
|