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.
- package/dist/Input-B-gKQ9FT.js +219 -0
- package/dist/assets/Button.css +1 -1
- package/dist/assets/Input.css +1 -1
- package/dist/assets/SelectSearch.css +1 -1
- package/dist/components/Button/Button.d.ts +36 -0
- package/dist/components/Button/Button.js +83 -75
- package/dist/components/DatePicker/DatePicker.js +1 -1
- package/dist/components/Input/Input.d.ts +8 -0
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/Input/index.js +1 -1
- package/dist/components/Input/types.d.ts +6 -2
- package/dist/components/InputPassword/InputPassword.js +1 -1
- package/dist/components/InputPhoneNumber/InputPhoneNumber.js +1 -1
- package/dist/components/OtpInput/OtpInput.js +1 -1
- package/dist/components/SelectSearch/SelectSearch.d.ts +1 -1
- package/dist/components/SelectSearch/SelectSearch.js +891 -860
- package/dist/components/SelectSearch/types.d.ts +1 -1
- package/dist/components/TextArea/TextArea.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/Input-DGr0q5AJ.js +0 -210
@@ -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
|
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-
|
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-
|
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-
|
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>>;
|