@underverse-ui/underverse 2.0.6 → 2.0.8
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/api-reference.json +1 -1
- package/dist/{chunk-OZH3EDGZ.js → chunk-JINSMREP.js} +2 -2
- package/dist/{chunk-JXE7JBQV.js → chunk-TETMVVUP.js} +3 -1
- package/dist/chunk-TETMVVUP.js.map +1 -0
- package/dist/{chunk-2UQ7H5GR.js → chunk-XE3RJHVX.js} +3 -3
- package/dist/index.cjs +229 -91
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +254 -121
- package/dist/index.js.map +1 -1
- package/dist/{menu-bar-6HZDCX44.js → menu-bar-NFEW4FOJ.js} +3 -3
- package/dist/ueditor.js +2 -2
- package/package.json +3 -1
- package/dist/chunk-JXE7JBQV.js.map +0 -1
- /package/dist/{chunk-OZH3EDGZ.js.map → chunk-JINSMREP.js.map} +0 -0
- /package/dist/{chunk-2UQ7H5GR.js.map → chunk-XE3RJHVX.js.map} +0 -0
- /package/dist/{menu-bar-6HZDCX44.js.map → menu-bar-NFEW4FOJ.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -241,12 +241,19 @@ interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size">
|
|
|
241
241
|
maxLength?: number;
|
|
242
242
|
/** Custom content rendered inside the input container (positioned absolutely) */
|
|
243
243
|
rightAddon?: React__default.ReactNode;
|
|
244
|
+
/** Custom content attached to the end of the input, after built-in controls */
|
|
245
|
+
rightSection?: React__default.ReactNode;
|
|
244
246
|
}
|
|
245
247
|
declare const Input: React__default.ForwardRefExoticComponent<InputProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
246
248
|
/** Public props for the `SearchInput` component. */
|
|
247
249
|
interface SearchInputProps extends Omit<InputProps, "leftIcon" | "type"> {
|
|
250
|
+
/** Search interaction style. `default` searches as the value changes; `button` searches on Enter or button click. */
|
|
251
|
+
mode?: "default" | "button";
|
|
248
252
|
onSearch?: (value: string) => void;
|
|
253
|
+
/** Debounce duration for `default` mode. Ignored in `button` mode. */
|
|
249
254
|
searchDelay?: number;
|
|
255
|
+
/** Accessible label for the search action in `button` mode. */
|
|
256
|
+
searchButtonLabel?: string;
|
|
250
257
|
}
|
|
251
258
|
declare const SearchInput: React__default.ForwardRefExoticComponent<SearchInputProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
252
259
|
/** Public props for the `PasswordInput` component. */
|
package/dist/index.d.ts
CHANGED
|
@@ -241,12 +241,19 @@ interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size">
|
|
|
241
241
|
maxLength?: number;
|
|
242
242
|
/** Custom content rendered inside the input container (positioned absolutely) */
|
|
243
243
|
rightAddon?: React__default.ReactNode;
|
|
244
|
+
/** Custom content attached to the end of the input, after built-in controls */
|
|
245
|
+
rightSection?: React__default.ReactNode;
|
|
244
246
|
}
|
|
245
247
|
declare const Input: React__default.ForwardRefExoticComponent<InputProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
246
248
|
/** Public props for the `SearchInput` component. */
|
|
247
249
|
interface SearchInputProps extends Omit<InputProps, "leftIcon" | "type"> {
|
|
250
|
+
/** Search interaction style. `default` searches as the value changes; `button` searches on Enter or button click. */
|
|
251
|
+
mode?: "default" | "button";
|
|
248
252
|
onSearch?: (value: string) => void;
|
|
253
|
+
/** Debounce duration for `default` mode. Ignored in `button` mode. */
|
|
249
254
|
searchDelay?: number;
|
|
255
|
+
/** Accessible label for the search action in `button` mode. */
|
|
256
|
+
searchButtonLabel?: string;
|
|
250
257
|
}
|
|
251
258
|
declare const SearchInput: React__default.ForwardRefExoticComponent<SearchInputProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
252
259
|
/** Public props for the `PasswordInput` component. */
|