@ehfuse/mui-form-controls 3.1.33 → 3.1.35
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";
|
|
@@ -182,6 +184,8 @@ export type AutocompleteProps = BaseTextFieldProps & {
|
|
|
182
184
|
moveFocusOnSelect?: boolean | number;
|
|
183
185
|
clearOnBlur?: boolean;
|
|
184
186
|
disablePortal?: boolean;
|
|
187
|
+
/** portal 드롭다운 최소 너비(px). 좁은 앵커(그리드 셀 등)에서 옵션 가독성 확보용. 기본 240. */
|
|
188
|
+
dropdownMinWidth?: number;
|
|
185
189
|
freeSolo?: boolean;
|
|
186
190
|
forcePopupIcon?: boolean;
|
|
187
191
|
popupIcon?: React.ReactNode;
|