@nattstack/ui 0.0.76 → 0.0.77
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.
|
@@ -110,8 +110,9 @@ interface DialogResponsiveTriggerProps extends Drawer.Trigger.Props {}
|
|
|
110
110
|
declare function DialogResponsiveTrigger(props: DialogResponsiveTriggerProps): JSX.Element;
|
|
111
111
|
//#endregion
|
|
112
112
|
//#region src/components/input/input.d.ts
|
|
113
|
-
interface InputProps extends Omit<ComponentProps<"input">, "aria-pressed" | "disabled" | "readOnly" | "required"> {
|
|
113
|
+
interface InputProps extends Omit<ComponentProps<"input">, "aria-pressed" | "autoFocus" | "disabled" | "readOnly" | "required"> {
|
|
114
114
|
isActive?: boolean;
|
|
115
|
+
isAutoFocus?: boolean;
|
|
115
116
|
isDisabled?: boolean;
|
|
116
117
|
isInvalid?: boolean;
|
|
117
118
|
isReadOnly?: boolean;
|
package/dist/components/index.js
CHANGED
|
@@ -310,8 +310,9 @@ var input_module_default = {
|
|
|
310
310
|
//#endregion
|
|
311
311
|
//#region src/components/input/input.tsx
|
|
312
312
|
function Input(props) {
|
|
313
|
-
const { className: customClassName = "", isActive = false, isDisabled = false, isInvalid = void 0, isReadOnly = false, isRequired = false, isRounded = false, isValid = void 0, size = 48, type = "text", ...rest } = props;
|
|
313
|
+
const { className: customClassName = "", isActive = false, isAutoFocus = false, isDisabled = false, isInvalid = void 0, isReadOnly = false, isRequired = false, isRounded = false, isValid = void 0, size = 48, type = "text", ...rest } = props;
|
|
314
314
|
return /* @__PURE__ */ jsx("input", {
|
|
315
|
+
autoFocus: isAutoFocus,
|
|
315
316
|
className: normalizeWhitespace(`
|
|
316
317
|
${INPUT_CLASS_NAME.BASE}
|
|
317
318
|
${INPUT_CLASS_NAME.SIZE[size]}
|