@nattstack/ui 0.0.40 → 0.0.42

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.
@@ -129,6 +129,7 @@ declare const LABEL_CLASS_NAME: {
129
129
  //#region src/components/otp-field/otp-field.d.ts
130
130
  interface OTPFieldProps extends Omit<OTPFieldPreview.Root.Props, "disabled"> {
131
131
  isDisabled?: OTPFieldPreview.Root.Props["disabled"];
132
+ isMasked?: OTPFieldPreview.Root.Props["mask"];
132
133
  }
133
134
  declare function OTPField(props: OTPFieldProps): JSX.Element;
134
135
  declare const OTP_FIELD_CLASS_NAME: {
@@ -136,9 +137,7 @@ declare const OTP_FIELD_CLASS_NAME: {
136
137
  };
137
138
  //#endregion
138
139
  //#region src/components/otp-field/otp-field-input.d.ts
139
- interface OTPFieldInputProps extends Omit<OTPFieldPreview.Input.Props, "disabled"> {
140
- isDisabled?: OTPFieldPreview.Input.Props["disabled"];
141
- }
140
+ interface OTPFieldInputProps extends OTPFieldPreview.Input.Props {}
142
141
  declare function OTPFieldInput(props: OTPFieldInputProps): JSX.Element;
143
142
  declare const OTP_FIELD_INPUT_CLASS_NAME: {
144
143
  readonly BASE: string;
@@ -321,7 +321,7 @@ var otp_field_module_default = { "otp_field": "otp-field-module_otp_field_l-Sakq
321
321
  //#endregion
322
322
  //#region src/components/otp-field/otp-field.tsx
323
323
  function OTPField(props) {
324
- const { className: customClassName = "", isDisabled = false, ...rest } = props;
324
+ const { className: customClassName = "", isDisabled = false, isMasked = false, ...rest } = props;
325
325
  const combinedClassName = normalizeWhitespace(`
326
326
  ${OTP_FIELD_CLASS_NAME.BASE}
327
327
  ${customClassName}
@@ -329,6 +329,7 @@ function OTPField(props) {
329
329
  return /* @__PURE__ */ jsx(OTPFieldPreview.Root, {
330
330
  className: combinedClassName,
331
331
  disabled: isDisabled,
332
+ mask: isMasked,
332
333
  ...rest
333
334
  });
334
335
  }
@@ -339,14 +340,13 @@ var otp_field_input_module_default = { "otp_field_input": "otp-field-input-modul
339
340
  //#endregion
340
341
  //#region src/components/otp-field/otp-field-input.tsx
341
342
  function OTPFieldInput(props) {
342
- const { className: customClassName = "", isDisabled = false, ...rest } = props;
343
+ const { className: customClassName = "", ...rest } = props;
343
344
  const combinedClassName = normalizeWhitespace(`
344
345
  ${OTP_FIELD_INPUT_CLASS_NAME.BASE}
345
346
  ${customClassName}
346
347
  `);
347
348
  return /* @__PURE__ */ jsx(OTPFieldPreview.Input, {
348
349
  className: combinedClassName,
349
- disabled: isDisabled,
350
350
  ...rest
351
351
  });
352
352
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nattstack/ui",
3
- "version": "0.0.40",
3
+ "version": "0.0.42",
4
4
  "description": "A collection of reusable React components built with Base UI, TypeScript, and CSS Modules",
5
5
  "keywords": [
6
6
  "base-ui",