@nattstack/ui 0.0.40 → 0.0.41
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.
|
@@ -136,9 +136,7 @@ declare const OTP_FIELD_CLASS_NAME: {
|
|
|
136
136
|
};
|
|
137
137
|
//#endregion
|
|
138
138
|
//#region src/components/otp-field/otp-field-input.d.ts
|
|
139
|
-
interface OTPFieldInputProps extends
|
|
140
|
-
isDisabled?: OTPFieldPreview.Input.Props["disabled"];
|
|
141
|
-
}
|
|
139
|
+
interface OTPFieldInputProps extends OTPFieldPreview.Input.Props {}
|
|
142
140
|
declare function OTPFieldInput(props: OTPFieldInputProps): JSX.Element;
|
|
143
141
|
declare const OTP_FIELD_INPUT_CLASS_NAME: {
|
|
144
142
|
readonly BASE: string;
|
package/dist/components/index.js
CHANGED
|
@@ -339,14 +339,13 @@ var otp_field_input_module_default = { "otp_field_input": "otp-field-input-modul
|
|
|
339
339
|
//#endregion
|
|
340
340
|
//#region src/components/otp-field/otp-field-input.tsx
|
|
341
341
|
function OTPFieldInput(props) {
|
|
342
|
-
const { className: customClassName = "",
|
|
342
|
+
const { className: customClassName = "", ...rest } = props;
|
|
343
343
|
const combinedClassName = normalizeWhitespace(`
|
|
344
344
|
${OTP_FIELD_INPUT_CLASS_NAME.BASE}
|
|
345
345
|
${customClassName}
|
|
346
346
|
`);
|
|
347
347
|
return /* @__PURE__ */ jsx(OTPFieldPreview.Input, {
|
|
348
348
|
className: combinedClassName,
|
|
349
|
-
disabled: isDisabled,
|
|
350
349
|
...rest
|
|
351
350
|
});
|
|
352
351
|
}
|