@ehfuse/mui-form-controls 3.1.11 → 3.1.12
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 -1
- 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 +2 -2
- package/dist/utils/focus.d.ts +3 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -179,7 +179,7 @@ export type AutocompleteProps = BaseTextFieldProps & {
|
|
|
179
179
|
hideEmptyMessage?: boolean;
|
|
180
180
|
autoFocus?: boolean;
|
|
181
181
|
blurOnSelect?: boolean;
|
|
182
|
-
moveFocusOnSelect?: boolean;
|
|
182
|
+
moveFocusOnSelect?: boolean | number;
|
|
183
183
|
clearOnBlur?: boolean;
|
|
184
184
|
disablePortal?: boolean;
|
|
185
185
|
freeSolo?: boolean;
|
|
@@ -232,7 +232,7 @@ export type LabelSelectProps = Omit<MuiSelectProps, "value" | "onChange" | "defa
|
|
|
232
232
|
options: LabelSelectOption[];
|
|
233
233
|
inputProps?: InputBaseComponentProps;
|
|
234
234
|
enableWheel?: boolean;
|
|
235
|
-
moveFocusOnSelect?: boolean;
|
|
235
|
+
moveFocusOnSelect?: boolean | number;
|
|
236
236
|
showLabel?: boolean;
|
|
237
237
|
emptyLabel?: string;
|
|
238
238
|
showEmptyOption?: boolean;
|
package/dist/utils/focus.d.ts
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
|
+
/** 이동할 포커스 단계 수를 양의 정수로 정규화한다. */
|
|
2
|
+
export declare function resolveFocusMoveSteps(moveFocusOnSelect: boolean | number | undefined): number;
|
|
1
3
|
/** 다음 탭 순서의 포커스 가능한 요소로 이동한다. */
|
|
2
|
-
export declare function focusNextTabbable(currentElement: HTMLElement | null): void;
|
|
4
|
+
export declare function focusNextTabbable(currentElement: HTMLElement | null, steps?: number): void;
|