mimir-ui-kit 1.17.1 → 1.17.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Input-BFFPzelg.js → Input-D-FCB1FU.js} +2 -2
- package/dist/assets/AnchorLink.css +1 -1
- package/dist/components/Accordion/Accordion.js +1 -0
- package/dist/components/AnchorLink/AnchorLink.js +9 -9
- 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/OtpInput/OtpInput.js +1 -1
- package/dist/components/SelectSearch/SelectSearch.js +1 -1
- package/dist/components/TextArea/TextArea.js +3 -3
- package/dist/components/index.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
@@ -84,6 +84,7 @@ const Input = memo(
|
|
84
84
|
id,
|
85
85
|
onFocus,
|
86
86
|
onBlur,
|
87
|
+
onChange,
|
87
88
|
label: label2,
|
88
89
|
withClearButton,
|
89
90
|
disabled: disabled2,
|
@@ -125,10 +126,9 @@ const Input = memo(
|
|
125
126
|
}
|
126
127
|
};
|
127
128
|
const handleChange = (event) => {
|
128
|
-
var _a;
|
129
129
|
const targetValue = event.target.value;
|
130
130
|
setWithValue(!!targetValue);
|
131
|
-
|
131
|
+
onChange == null ? void 0 : onChange(event);
|
132
132
|
};
|
133
133
|
const currentLeftAddon = renderAddon(leftAddon);
|
134
134
|
const currentRightAddon = renderAddon(rightAddon);
|
@@ -1 +1 @@
|
|
1
|
-
.
|
1
|
+
._link_miwq0_2{--link-color: var(--dark-text);display:inline-flex;align-items:center;color:var(--link-color);font-size:var(--link-font-size);font-family:var(--font-inter);line-height:var(--link-line-height);-moz-column-gap:var(--link-gap);column-gap:var(--link-gap);transition:all .15s ease}._link_miwq0_2:hover{--link-color: var(--sapphire-hover)}._link_miwq0_2:active{--link-color: var(--sapphire-active)}._link_miwq0_2._sample_miwq0_19:hover{-webkit-text-decoration:underline var(--link-color);text-decoration:underline var(--link-color);text-underline-offset:4px}._link_miwq0_2._anchor_miwq0_23{-webkit-text-decoration:underline dashed var(--link-color);text-decoration:underline dashed var(--link-color);text-underline-offset:4px}._link_miwq0_2._disabled_miwq0_27{--link-color: var(--disabled);-webkit-text-decoration:none;text-decoration:none}._link_miwq0_2._disabled_miwq0_27:hover,._link_miwq0_2._disabled_miwq0_27:active{-webkit-text-decoration:none;text-decoration:none;--link-color: var(--disabled)}._link_miwq0_2 ._icon_miwq0_35{color:currentcolor;fill:currentcolor}._link_miwq0_2 ._icon_miwq0_35 path{color:currentcolor;fill:currentcolor}._xs_miwq0_44{--link-font-size: var(--size-text-s);--link-line-height: var(--size-text-s);--link-gap: var(--space-2xs)}._s_miwq0_19{--link-font-size: var(--size-text-m);--link-line-height: var(--size-text-s);--link-gap: var(--space-2xs)}._m_miwq0_56{--link-font-size: var(--size-text-l);--link-line-height: var(--size-text-s);--link-gap: var(--space-2xs)}._l_miwq0_2{--link-font-size: var(--size-text-l2);--link-line-height: var(--size-text-s);--link-gap: var(--space-xs)}
|
@@ -3,15 +3,15 @@ import { c as classNames } from "../../index-CweZ_OcN.js";
|
|
3
3
|
import { forwardRef } from "react";
|
4
4
|
import { ELinkSize, ELinkVariant } from "./constants.js";
|
5
5
|
import { Icon } from "../../icons/Icon.js";
|
6
|
-
import '../../assets/AnchorLink.css';const link = "
|
7
|
-
const sample = "
|
8
|
-
const anchor = "
|
9
|
-
const disabled = "
|
10
|
-
const icon = "
|
11
|
-
const xs = "
|
12
|
-
const s = "
|
13
|
-
const m = "
|
14
|
-
const l = "
|
6
|
+
import '../../assets/AnchorLink.css';const link = "_link_miwq0_2";
|
7
|
+
const sample = "_sample_miwq0_19";
|
8
|
+
const anchor = "_anchor_miwq0_23";
|
9
|
+
const disabled = "_disabled_miwq0_27";
|
10
|
+
const icon = "_icon_miwq0_35";
|
11
|
+
const xs = "_xs_miwq0_44";
|
12
|
+
const s = "_s_miwq0_19";
|
13
|
+
const m = "_m_miwq0_56";
|
14
|
+
const l = "_l_miwq0_2";
|
15
15
|
const cls = {
|
16
16
|
link,
|
17
17
|
sample,
|
@@ -5,7 +5,7 @@ import { c as cls, D as DatePickerModal } from "../../DatePickerModal-BM0BgzTb.j
|
|
5
5
|
import { useClickOutside } from "../../hooks/useClickOutside/useClickOutside.js";
|
6
6
|
import { formating } from "../../utils/index.js";
|
7
7
|
import { Button } from "../Button/Button.js";
|
8
|
-
import { I as Input } from "../../Input-
|
8
|
+
import { I as Input } from "../../Input-D-FCB1FU.js";
|
9
9
|
const DatePicker = memo(
|
10
10
|
forwardRef(
|
11
11
|
({ size, value, onChangeValue, name, before, ...props }, ref) => {
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
2
2
|
import "../../index-CweZ_OcN.js";
|
3
3
|
import "react";
|
4
4
|
import "./constants.js";
|
5
|
-
import { I } from "../../Input-
|
5
|
+
import { I } from "../../Input-D-FCB1FU.js";
|
6
6
|
import "../../hooks/useMergeRefs/useMergeRefs.js";
|
7
7
|
import "../../icons/Icon.js";
|
8
8
|
import "../Button/Button.js";
|
@@ -2,7 +2,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { memo, forwardRef, useState } from "react";
|
3
3
|
import { Icon } from "../../icons/Icon.js";
|
4
4
|
import { Button } from "../Button/Button.js";
|
5
|
-
import { I as Input } from "../../Input-
|
5
|
+
import { I as Input } from "../../Input-D-FCB1FU.js";
|
6
6
|
import '../../assets/InputPassword.css';const input = "_input_mam1g_2";
|
7
7
|
const wrapper = "_wrapper_mam1g_6";
|
8
8
|
const button = "_button_mam1g_17";
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
2
2
|
import { memo, forwardRef, useState, useCallback, useImperativeHandle } from "react";
|
3
3
|
import { getMaskedInputPhoneValue, getUnmaskedInputValue } from "./utils.js";
|
4
|
-
import { I as Input } from "../../Input-
|
4
|
+
import { I as Input } from "../../Input-D-FCB1FU.js";
|
5
5
|
const InputPhoneNumber = memo(
|
6
6
|
forwardRef(
|
7
7
|
({ value = "", onChange, ...props }, ref) => {
|
@@ -3,7 +3,7 @@ import { c as classNames } from "../../index-CweZ_OcN.js";
|
|
3
3
|
import { forwardRef, useImperativeHandle, Fragment } from "react";
|
4
4
|
import { ITEMS_PER_SEPARATOR, DEFAULT_VALUE_LENGTH } from "./constants.js";
|
5
5
|
import { useOTPInput } from "./hooks.js";
|
6
|
-
import { I as Input } from "../../Input-
|
6
|
+
import { I as Input } from "../../Input-D-FCB1FU.js";
|
7
7
|
import '../../assets/OtpInput.css';const otp = "_otp_196ev_3";
|
8
8
|
const input = "_input_196ev_14";
|
9
9
|
const separator = "_separator_196ev_28";
|
@@ -4,7 +4,7 @@ import * as React from "react";
|
|
4
4
|
import React__default, { useReducer, useMemo, useSyncExternalStore, useId as useId$1, useEffect, useCallback, useRef, useLayoutEffect, createContext, useContext, useState, Fragment, createRef, forwardRef } from "react";
|
5
5
|
import { ESelectSearchSize } from "./constants.js";
|
6
6
|
import { Icon } from "../../icons/Icon.js";
|
7
|
-
import { I as Input } from "../../Input-
|
7
|
+
import { I as Input } from "../../Input-D-FCB1FU.js";
|
8
8
|
import { EInputSize } from "../Input/constants.js";
|
9
9
|
import { n as n$2, u as u$3, d as o$1, s as s$3, o as o$2, p as p$1, t as t$3, e as s$4, W as W$1, y as y$3, T, H, M as M$1, a as u$5, $ as $f7dceffc5ad7768b$export$4e328f61c538687f, b as $6179b936705e76d3$export$ae780daf29e6d456, D as D$2, c as o$3 } from "../../keyboard-B256ZoM-.js";
|
10
10
|
import * as ReactDOM from "react-dom";
|
@@ -5,7 +5,7 @@ import { useAutoResizeTextArea } from "./hooks.js";
|
|
5
5
|
import { useMergeRefs } from "../../hooks/useMergeRefs/useMergeRefs.js";
|
6
6
|
import { Icon } from "../../icons/Icon.js";
|
7
7
|
import { Button } from "../Button/Button.js";
|
8
|
-
import { c as cls } from "../../Input-
|
8
|
+
import { c as cls } from "../../Input-D-FCB1FU.js";
|
9
9
|
import { EInputVariant } from "../Input/constants.js";
|
10
10
|
import '../../assets/TextArea.css';const textarea = "_textarea_46c4k_2";
|
11
11
|
const s = "_s_46c4k_6";
|
@@ -62,6 +62,7 @@ const TextArea = memo(
|
|
62
62
|
id,
|
63
63
|
onFocus,
|
64
64
|
onBlur,
|
65
|
+
onChange,
|
65
66
|
label,
|
66
67
|
withClearButton,
|
67
68
|
disabled,
|
@@ -104,11 +105,10 @@ const TextArea = memo(
|
|
104
105
|
}
|
105
106
|
};
|
106
107
|
const handleChange = (event) => {
|
107
|
-
var _a;
|
108
108
|
const targetValue = event.target.value;
|
109
109
|
setWithValue(!!targetValue);
|
110
110
|
handleResize();
|
111
|
-
|
111
|
+
onChange == null ? void 0 : onChange(event);
|
112
112
|
};
|
113
113
|
const currentLeftAddon = renderAddon(leftAddon);
|
114
114
|
const currentRightAddon = renderAddon(rightAddon);
|
package/dist/components/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Button } from "./Button/Button.js";
|
2
2
|
import { EButtonForm, EButtonSize, EButtonVariantDefault, EButtonVariantOutline, EButtonVariantRound } from "./Button/constants.js";
|
3
|
-
import { I } from "../Input-
|
3
|
+
import { I } from "../Input-D-FCB1FU.js";
|
4
4
|
import { EInputSize, EInputVariant } from "./Input/constants.js";
|
5
5
|
import { TextArea } from "./TextArea/TextArea.js";
|
6
6
|
import { InputPassword } from "./InputPassword/InputPassword.js";
|
package/dist/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Button } from "./components/Button/Button.js";
|
2
2
|
import { EButtonForm, EButtonSize, EButtonVariantDefault, EButtonVariantOutline, EButtonVariantRound } from "./components/Button/constants.js";
|
3
|
-
import { I } from "./Input-
|
3
|
+
import { I } from "./Input-D-FCB1FU.js";
|
4
4
|
import { EInputSize, EInputVariant } from "./components/Input/constants.js";
|
5
5
|
import { TextArea } from "./components/TextArea/TextArea.js";
|
6
6
|
import { InputPassword } from "./components/InputPassword/InputPassword.js";
|