@kingsimba/nc-ui 0.1.30 → 0.1.31
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/index.cjs +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +911 -905
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -622,7 +622,7 @@ declare interface HyperlinkProps {
|
|
|
622
622
|
size?: 'small' | 'default';
|
|
623
623
|
}
|
|
624
624
|
|
|
625
|
-
export declare function Input({ value: controlledValue, defaultValue, onChange, onEnter, onClear, placeholder, disabled, label, clearable, type, className, size, appearance, style, leadingIcon, showPasswordToggle, multiline, rows, validator, showErrorMessage, }: InputProps): JSX_2.Element;
|
|
625
|
+
export declare function Input({ value: controlledValue, defaultValue, onChange, onChangeConfirmed, onEnter, onClear, placeholder, disabled, label, clearable, type, className, size, appearance, style, leadingIcon, showPasswordToggle, multiline, rows, validator, showErrorMessage, }: InputProps): JSX_2.Element;
|
|
626
626
|
|
|
627
627
|
export declare interface InputProps {
|
|
628
628
|
/** Current value of the input (controlled mode) */
|
|
@@ -631,6 +631,8 @@ export declare interface InputProps {
|
|
|
631
631
|
defaultValue?: string;
|
|
632
632
|
/** Callback when value changes */
|
|
633
633
|
onChange?: (value: string) => void;
|
|
634
|
+
/** Callback when a plain-mode edit is confirmed with a changed value */
|
|
635
|
+
onChangeConfirmed?: (value: string) => void;
|
|
634
636
|
/** Callback when Enter key confirms the current value */
|
|
635
637
|
onEnter?: (value: string) => void;
|
|
636
638
|
/** Callback when input is cleared */
|