mimir-ui-kit 1.38.27 → 1.38.28
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Input-CQ7LgZWK.js → Input-DAmc_HxO.js} +5 -5
- package/dist/components/DatePicker/DatePicker.js +1 -1
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/Input/index.js +1 -1
- package/dist/components/InputPassword/InputPassword.js +1 -1
- package/dist/components/InputPhoneNumber/InputPhoneNumber.js +1 -1
- package/dist/components/MultiSelectSearch/MultiSelectSearch.js +1 -1
- package/dist/components/MultiSelectSearch/utils.js +1 -1
- package/dist/components/OtpInput/OtpInput.js +1 -1
- package/dist/components/SelectSearch/SelectSearch.js +1 -1
- package/dist/components/SelectSearch/utils.js +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
@@ -76,7 +76,7 @@ import './assets/Input.css';const ne = "_label_1y1tj_27", oe = "_input_1y1tj_3",
|
|
76
76
|
label: u,
|
77
77
|
withClearButton: M,
|
78
78
|
disabled: a,
|
79
|
-
onChange:
|
79
|
+
onChange: d,
|
80
80
|
rightAddon: O,
|
81
81
|
status: F,
|
82
82
|
leftAddon: S,
|
@@ -86,7 +86,7 @@ import './assets/Input.css';const ne = "_label_1y1tj_27", oe = "_input_1y1tj_3",
|
|
86
86
|
maxLength: v,
|
87
87
|
autocomplete: G = "on",
|
88
88
|
...P
|
89
|
-
} = t, [_, I] = B(g), [f, h] = B(!!l),
|
89
|
+
} = t, [_, I] = B(g), [f, h] = B(!!l), i = te(null), W = se(i, m);
|
90
90
|
R(() => {
|
91
91
|
g && I(!0);
|
92
92
|
}, [g]), R(() => {
|
@@ -98,12 +98,12 @@ import './assets/Input.css';const ne = "_label_1y1tj_27", oe = "_input_1y1tj_3",
|
|
98
98
|
}, J = (r) => {
|
99
99
|
c || (I(!0), N == null || N(r));
|
100
100
|
}, K = () => {
|
101
|
-
|
102
|
-
target:
|
101
|
+
i != null && i.current && (i.current.value = "", i.current.focus(), h(!1), d == null || d({
|
102
|
+
target: i.current
|
103
103
|
}));
|
104
104
|
}, Q = (r) => {
|
105
105
|
let n = r.target.value;
|
106
|
-
T && (n = n.replace(/\D/g, "")), v !== void 0 && (n = n.slice(0, v)), r.target.value = n,
|
106
|
+
T && (n = n.replace(/\D/g, "")), v !== void 0 && (n = n.slice(0, v)), r.target.value = n, d == null || d(r), h(!!n);
|
107
107
|
}, y = z(S), b = z(O), U = {
|
108
108
|
[e.readonly]: a || c,
|
109
109
|
[e.focused]: _,
|
@@ -10,7 +10,7 @@ import { YearPickerModal as at } from "./YearPickerModal.js";
|
|
10
10
|
import { useClickOutside as mt } from "../../hooks/useClickOutside/useClickOutside.js";
|
11
11
|
import { Icon as X } from "../../icons/Icon.js";
|
12
12
|
import { formating as l } from "../../utils/index.js";
|
13
|
-
import { I as pt } from "../../Input-
|
13
|
+
import { I as pt } from "../../Input-DAmc_HxO.js";
|
14
14
|
import { EInputStatus as dt, EInputSize as E } from "../Input/constants.js";
|
15
15
|
const ft = {
|
16
16
|
days: ot,
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
2
2
|
import "../../index-DIxK0V-G.js";
|
3
3
|
import "react";
|
4
4
|
import "./constants.js";
|
5
|
-
import { I as f } from "../../Input-
|
5
|
+
import { I as f } from "../../Input-DAmc_HxO.js";
|
6
6
|
import "../../hooks/useMergeRefs/useMergeRefs.js";
|
7
7
|
import "../../icons/Icon.js";
|
8
8
|
import "../Button/Button.js";
|
@@ -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-DAmc_HxO.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-DAmc_HxO.js";
|
5
5
|
const h = I(
|
6
6
|
i(
|
7
7
|
({ value: s = "", onChange: e, ...p }, a) => {
|
@@ -7,7 +7,7 @@ import { Icon as ye } from "../../icons/Icon.js";
|
|
7
7
|
import { Button as ke } from "../Button/Button.js";
|
8
8
|
import { CheckboxMimir as Te } from "../CheckboxMimir/CheckboxMimir.js";
|
9
9
|
import { Chip as Oe } from "../Chip/Chip.js";
|
10
|
-
import { I as ne } from "../../Input-
|
10
|
+
import { I as ne } from "../../Input-DAmc_HxO.js";
|
11
11
|
import { EInputVariant as ze } from "../Input/constants.js";
|
12
12
|
import { H as Ae, U as ie, G as se, K as Ve, W as qe } from "../../combobox-CVtJDVoZ.js";
|
13
13
|
import '../../assets/MultiSelectSearch.css';const xe = "_disabled_io0c8_5", De = "_container_io0c8_9", Pe = "_full_io0c8_27", Re = "_button_io0c8_39", Be = "_options_io0c8_53", Fe = "_visible_io0c8_66", Je = "_top_io0c8_69", je = "_bottom_io0c8_74", Ge = "_m_io0c8_2", He = "_l_io0c8_116", Ue = "_focused_io0c8_134", We = "_option_io0c8_53", Ke = "_chip_io0c8_163", $e = "_clear_io0c8_188", e = {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { EMultiSelectSearchSize as o, MOBILE_MENU_HEIGHT as u, DESKTOP_MENU_HEIGHT as w } from "./constants.js";
|
2
|
-
import "../../Input-
|
2
|
+
import "../../Input-DAmc_HxO.js";
|
3
3
|
import { EInputSize as r } from "../Input/constants.js";
|
4
4
|
const m = (t) => {
|
5
5
|
switch (t) {
|
@@ -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-DAmc_HxO.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",
|
@@ -5,7 +5,7 @@ import { ESelectSearchSize as g } from "./constants.js";
|
|
5
5
|
import { mapSizeToInputSize as A, getDropdownArrowIcon as J } from "./utils.js";
|
6
6
|
import { Icon as O } from "../../icons/Icon.js";
|
7
7
|
import { Button as Q } from "../Button/Button.js";
|
8
|
-
import { I as B } from "../../Input-
|
8
|
+
import { I as B } from "../../Input-DAmc_HxO.js";
|
9
9
|
import { EInputVariant as X } from "../Input/constants.js";
|
10
10
|
import { H as Y, U as M, G as j, K as Z, W as ee } from "../../combobox-CVtJDVoZ.js";
|
11
11
|
import '../../assets/SelectSearch.css';const te = "_disabled_1bph7_6", oe = "_container_1bph7_13", ne = "_full_1bph7_28", se = "_button_1bph7_40", ae = "_options_1bph7_54", ie = "_top_1bph7_65", le = "_bottom_1bph7_71", re = "_m_1bph7_98", ce = "_l_1bph7_113", de = "_option_1bph7_54", pe = "_clear_1bph7_167", e = {
|
@@ -5,7 +5,7 @@ import { useAutoResizeTextArea as Z } from "./hooks.js";
|
|
5
5
|
import { useMergeRefs as $ } from "../../hooks/useMergeRefs/useMergeRefs.js";
|
6
6
|
import { Icon as ee } from "../../icons/Icon.js";
|
7
7
|
import { Button as te } from "../Button/Button.js";
|
8
|
-
import { c as e } from "../../Input-
|
8
|
+
import { c as e } from "../../Input-DAmc_HxO.js";
|
9
9
|
import { EInputVariant as ae } from "../Input/constants.js";
|
10
10
|
import '../../assets/TextArea.css';const re = "_textarea_rk5xe_2", se = "_clear_rk5xe_11", le = "_label_rk5xe_26", ne = "_s_rk5xe_71", oe = "_m_rk5xe_84", ce = "_l_rk5xe_26", t = {
|
11
11
|
"textarea-wrapper": "_textarea-wrapper_rk5xe_2",
|
package/dist/components/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Button as e } from "./Button/Button.js";
|
2
2
|
import { EButtonForm as p, EButtonSize as a, EButtonVariantBorderless as i, EButtonVariantDefault as m, EButtonVariantOutline as f, EButtonVariantRound as x } from "./Button/constants.js";
|
3
|
-
import { I as s } from "../Input-
|
3
|
+
import { I as s } from "../Input-DAmc_HxO.js";
|
4
4
|
import { EInputSize as E, EInputStatus as l, EInputVariant as u } from "./Input/constants.js";
|
5
5
|
import { TextArea as c } from "./TextArea/TextArea.js";
|
6
6
|
import { ETextAreaInputSize as g } from "./TextArea/constants.js";
|
package/dist/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Button as e } from "./components/Button/Button.js";
|
2
2
|
import { EButtonForm as p, EButtonSize as a, EButtonVariantBorderless as m, EButtonVariantDefault as i, EButtonVariantOutline as f, EButtonVariantRound as x } from "./components/Button/constants.js";
|
3
|
-
import { I as s } from "./Input-
|
3
|
+
import { I as s } from "./Input-DAmc_HxO.js";
|
4
4
|
import { EInputSize as l, EInputStatus as E, EInputVariant as S } from "./components/Input/constants.js";
|
5
5
|
import { TextArea as c } from "./components/TextArea/TextArea.js";
|
6
6
|
import { ETextAreaInputSize as g } from "./components/TextArea/constants.js";
|