mimir-ui-kit 1.35.0 → 1.35.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- import { I as n } from "../../Input-DGr0q5AJ.js";
1
+ import { I as n } from "../../Input-B-gKQ9FT.js";
2
2
  import { EInputSize as u, EInputStatus as I, EInputVariant as a } from "./constants.js";
3
3
  export {
4
4
  u as EInputSize,
@@ -1,4 +1,4 @@
1
- import { InputHTMLAttributes } from 'react';
1
+ import { InputHTMLAttributes, ReactNode } from 'react';
2
2
  import { EInputSize, EInputVariant, EInputStatus } from './constants';
3
3
  import { TIcon } from '../../icons';
4
4
 
@@ -13,6 +13,10 @@ export type TIconAddon = {
13
13
  addonType?: 'icon';
14
14
  addonContent: TIcon;
15
15
  };
16
- export type TAddon = TTextAddon | TIconAddon;
16
+ export type TReactNodeAddon = {
17
+ addonType?: 'react-node';
18
+ addonContent: ReactNode;
19
+ };
20
+ export type TAddon = TTextAddon | TIconAddon | TReactNodeAddon;
17
21
  export type TInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'readOnly' | 'size' | 'placeholder'>;
18
22
  export {};
@@ -3,7 +3,7 @@ import { c } from "../../index-DIxK0V-G.js";
3
3
  import { memo as w, forwardRef as u, useState as m } from "react";
4
4
  import { Icon as d } from "../../icons/Icon.js";
5
5
  import { Button as _ } from "../Button/Button.js";
6
- import { I as l } from "../../Input-DGr0q5AJ.js";
6
+ import { I as l } from "../../Input-B-gKQ9FT.js";
7
7
  import '../../assets/InputPassword.css';const b = "_input_7b9x2_2", x = "_wrapper_7b9x2_6", h = "_button_7b9x2_17", f = "_icon_7b9x2_33", N = "_show_7b9x2_38", t = {
8
8
  input: b,
9
9
  wrapper: x,
@@ -1,7 +1,7 @@
1
1
  import { jsx as d } from "react/jsx-runtime";
2
2
  import { memo as I, forwardRef as i, useState as c, useCallback as f, useImperativeHandle as P } from "react";
3
3
  import { getMaskedInputPhoneValue as m, getUnmaskedInputValue as o } from "./utils.js";
4
- import { I as b } from "../../Input-DGr0q5AJ.js";
4
+ import { I as b } from "../../Input-B-gKQ9FT.js";
5
5
  const h = I(
6
6
  i(
7
7
  ({ value: s = "", onChange: e, ...p }, a) => {
@@ -3,7 +3,7 @@ import { c as u } from "../../index-DIxK0V-G.js";
3
3
  import { forwardRef as P, useImperativeHandle as R, Fragment as T } from "react";
4
4
  import { ITEMS_PER_SEPARATOR as q, DEFAULT_VALUE_LENGTH as v } from "./constants.js";
5
5
  import { useOTPInput as y } from "./hooks.js";
6
- import { I as A } from "../../Input-DGr0q5AJ.js";
6
+ import { I as A } from "../../Input-B-gKQ9FT.js";
7
7
  import '../../assets/OtpInput.css';const C = "_otp_1shq3_3", F = "_input_1shq3_14", L = "_separator_1shq3_28", r = {
8
8
  otp: C,
9
9
  "input-wrapper": "_input-wrapper_1shq3_14",
@@ -15,6 +15,6 @@ export declare const SelectSearch: import('react').ForwardRefExoticComponent<Pic
15
15
  classNameOption?: string;
16
16
  menuPlacement?: import('./types').TMenuPlacement;
17
17
  disabled?: boolean;
18
- searchProps?: Pick<import('../Input').TInputProps, "numbersOnly" | "maxLength">;
18
+ searchProps?: Pick<import('../Input').TInputProps, "numbersOnly" | "maxLength" | "required">;
19
19
  disableInput?: boolean;
20
20
  } & import('react').RefAttributes<HTMLElement>>;