mimir-ui-kit 1.33.2 → 1.34.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Input-CCNRdc6Q.js → Input-DspsU5F4.js} +25 -22
- package/dist/{ProgressBar-CwLwhaeM.js → ProgressBar-DWKyrXzd.js} +23 -23
- package/dist/assets/Accordion.css +1 -1
- package/dist/assets/AccordionItem.css +1 -1
- package/dist/assets/Button.css +1 -1
- package/dist/assets/CheckboxMimir.css +1 -1
- package/dist/assets/Chip.css +1 -1
- package/dist/assets/Drawer.css +1 -1
- package/dist/assets/GosZnak.css +1 -1
- package/dist/assets/Input.css +1 -1
- package/dist/assets/InputPassword.css +1 -1
- package/dist/assets/InputRangeSlider.css +1 -1
- package/dist/assets/Link.css +1 -1
- package/dist/assets/ListFiles.css +1 -1
- package/dist/assets/ListPhotos.css +1 -1
- package/dist/assets/MergedButton.css +1 -1
- package/dist/assets/NotificationBadge.css +1 -1
- package/dist/assets/OtpInput.css +1 -1
- package/dist/assets/Pagination.css +1 -1
- package/dist/assets/ProgressBar2.css +1 -1
- package/dist/assets/RadioGroup.css +1 -1
- package/dist/assets/SelectSearch.css +1 -1
- package/dist/assets/SkeletonText.css +1 -1
- package/dist/assets/Slider.css +1 -1
- package/dist/assets/Switcher.css +1 -1
- package/dist/assets/TabTrail.css +1 -1
- package/dist/assets/Tag.css +1 -1
- package/dist/assets/TextArea.css +1 -1
- package/dist/assets/Timer.css +1 -1
- package/dist/assets/TwinSwitcher.css +1 -1
- package/dist/assets/Uploader.css +1 -1
- package/dist/assets/UploaderPhotos.css +1 -1
- package/dist/assets/Vote.css +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/assets/styles.css +1 -1
- package/dist/components/Accordion/Accordion.js +15 -15
- package/dist/components/Accordion/AccordionItem/AccordionItem.js +3 -3
- package/dist/components/AnchorLink/Link.js +9 -9
- package/dist/components/Button/Button.js +33 -33
- package/dist/components/CheckboxMimir/CheckboxMimir.js +4 -4
- package/dist/components/Chip/Chip.js +12 -12
- package/dist/components/DatePicker/DatePicker.js +5 -4
- package/dist/components/DatePicker/DatePickerModal.js +1 -1
- package/dist/components/DatePicker/MonthPickerModal.js +1 -1
- package/dist/components/DatePicker/YearPickerModal.js +1 -1
- package/dist/components/Drawer/Drawer.js +20 -20
- package/dist/components/GosZnak/GosZnak.js +13 -13
- package/dist/components/Input/Input.d.ts +5 -1
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/Input/constants.d.ts +5 -3
- package/dist/components/Input/constants.js +7 -3
- package/dist/components/Input/index.d.ts +2 -2
- package/dist/components/Input/index.js +3 -2
- package/dist/components/Input/types.d.ts +2 -6
- package/dist/components/InputPassword/InputPassword.js +8 -8
- package/dist/components/InputPhoneNumber/InputPhoneNumber.js +1 -1
- package/dist/components/InputRangeSlider/InputRangeSlider.js +16 -16
- package/dist/components/ListFiles/ListFiles.js +7 -7
- package/dist/components/ListPhotos/ListPhotos.js +4 -4
- package/dist/components/MergedButton/MergedButton.js +6 -6
- package/dist/components/NotificationBadge/NotificationBadge.js +4 -4
- package/dist/components/OtpInput/OtpInput.js +5 -5
- package/dist/components/Pagination/Pagination.d.ts +1 -3
- package/dist/components/Pagination/Pagination.js +7 -11
- package/dist/components/RadioGroup/RadioGroup.js +8 -8
- package/dist/components/SelectSearch/SelectSearch.js +20 -20
- package/dist/components/Skeleton/SkeletonBrick/SkeletonBrick.js +1 -1
- package/dist/components/Skeleton/SkeletonText/SkeletonText.js +2 -2
- package/dist/components/Slider/Slider.js +8 -8
- package/dist/components/Switcher/Switcher.js +8 -8
- package/dist/components/TabTrail/TabTrail.js +9 -9
- package/dist/components/Tag/Tag.js +6 -6
- package/dist/components/TextArea/TextArea.js +14 -12
- package/dist/components/Timer/Timer.js +1 -1
- package/dist/components/Toasts/ProgressBar.js +1 -1
- package/dist/components/Toasts/Toast.js +1 -1
- package/dist/components/Toasts/ToastList.js +1 -1
- package/dist/components/Toasts/ToastsProvider.js +1 -1
- package/dist/components/TwinSwitcher/TwinSwitcher.js +7 -7
- package/dist/components/UniversalUploader/UniversalUploader.js +1 -1
- package/dist/components/Uploader/Uploader.js +3 -3
- package/dist/components/UploaderFiles/UploaderFiles.js +1 -1
- package/dist/components/UploaderPhotos/UploaderPhotos.js +1 -1
- package/dist/components/Vote/Vote.js +3 -3
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.js +3 -2
- package/dist/index.js +3 -2
- package/dist/styles.module-B9L4B63y.js +40 -0
- package/package.json +1 -1
- package/dist/styles.module-7wzJYhR3.js +0 -40
@@ -3,17 +3,17 @@ import { c as classNames } from "../../index-CweZ_OcN.js";
|
|
3
3
|
import { memo, forwardRef, useState } from "react";
|
4
4
|
import { Icon } from "../../icons/Icon.js";
|
5
5
|
import { Button } from "../Button/Button.js";
|
6
|
-
import { I as Input } from "../../Input-
|
7
|
-
import '../../assets/InputPassword.css';const input = "
|
8
|
-
const wrapper = "
|
9
|
-
const button = "
|
10
|
-
const icon = "
|
11
|
-
const show = "
|
6
|
+
import { I as Input } from "../../Input-DspsU5F4.js";
|
7
|
+
import '../../assets/InputPassword.css';const input = "_input_7b9x2_2";
|
8
|
+
const wrapper = "_wrapper_7b9x2_6";
|
9
|
+
const button = "_button_7b9x2_17";
|
10
|
+
const icon = "_icon_7b9x2_33";
|
11
|
+
const show = "_show_7b9x2_38";
|
12
12
|
const cls = {
|
13
13
|
input,
|
14
14
|
wrapper,
|
15
|
-
"input-wrapper": "_input-
|
16
|
-
"button-wrapper": "_button-
|
15
|
+
"input-wrapper": "_input-wrapper_7b9x2_13",
|
16
|
+
"button-wrapper": "_button-wrapper_7b9x2_17",
|
17
17
|
button,
|
18
18
|
icon,
|
19
19
|
show
|
@@ -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-DspsU5F4.js";
|
5
5
|
const InputPhoneNumber = memo(
|
6
6
|
forwardRef(
|
7
7
|
({ value = "", onChange, ...props }, ref) => {
|
@@ -2,28 +2,28 @@ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { c as classNames } from "../../index-CweZ_OcN.js";
|
3
3
|
import { memo, useState, useEffect } from "react";
|
4
4
|
import { EInputRangeSliderPositions, EInputRangeSliderBorderState, DEFAULT_STEP, DEFAULT_WIDTH } from "./constants.js";
|
5
|
-
import '../../assets/InputRangeSlider.css';const wrapper = "
|
6
|
-
const input = "
|
7
|
-
const rail = "
|
8
|
-
const off = "
|
9
|
-
const right = "
|
10
|
-
const left = "
|
11
|
-
const control = "
|
12
|
-
const disabled = "
|
5
|
+
import '../../assets/InputRangeSlider.css';const wrapper = "_wrapper_1kfjr_8";
|
6
|
+
const input = "_input_1kfjr_18";
|
7
|
+
const rail = "_rail_1kfjr_115";
|
8
|
+
const off = "_off_1kfjr_124";
|
9
|
+
const right = "_right_1kfjr_124";
|
10
|
+
const left = "_left_1kfjr_145";
|
11
|
+
const control = "_control_1kfjr_36";
|
12
|
+
const disabled = "_disabled_1kfjr_170";
|
13
13
|
const cls = {
|
14
|
-
"main-wrapper": "_main-
|
14
|
+
"main-wrapper": "_main-wrapper_1kfjr_2",
|
15
15
|
wrapper,
|
16
|
-
"input-wrapper": "_input-
|
17
|
-
"info-wrapper": "_info-
|
18
|
-
"control-wrapper": "_control-
|
16
|
+
"input-wrapper": "_input-wrapper_1kfjr_18",
|
17
|
+
"info-wrapper": "_info-wrapper_1kfjr_26",
|
18
|
+
"control-wrapper": "_control-wrapper_1kfjr_36",
|
19
19
|
input,
|
20
|
-
"equal-value": "_equal-
|
21
|
-
"is-double-range": "_is-double-
|
20
|
+
"equal-value": "_equal-value_1kfjr_108",
|
21
|
+
"is-double-range": "_is-double-range_1kfjr_111",
|
22
22
|
rail,
|
23
23
|
off,
|
24
24
|
right,
|
25
|
-
"double-range": "_double-
|
26
|
-
"inner-rail": "_inner-
|
25
|
+
"double-range": "_double-range_1kfjr_124",
|
26
|
+
"inner-rail": "_inner-rail_1kfjr_134",
|
27
27
|
left,
|
28
28
|
control,
|
29
29
|
disabled
|
@@ -3,13 +3,13 @@ import { useState, useEffect } from "react";
|
|
3
3
|
import { formating } from "../../utils/index.js";
|
4
4
|
import { Button } from "../Button/Button.js";
|
5
5
|
import '../../assets/ListFiles.css';const cls = {
|
6
|
-
"file-info": "_file-
|
7
|
-
"file-info-size": "_file-info-
|
8
|
-
"file-info-name-wrapper": "_file-info-name-
|
9
|
-
"file-info-name": "_file-info-
|
10
|
-
"file-upload-container": "_file-upload-
|
11
|
-
"file-upload-container-item": "_file-upload-container-
|
12
|
-
"delete-button": "_delete-
|
6
|
+
"file-info": "_file-info_12h1y_2",
|
7
|
+
"file-info-size": "_file-info-size_12h1y_8",
|
8
|
+
"file-info-name-wrapper": "_file-info-name-wrapper_12h1y_16",
|
9
|
+
"file-info-name": "_file-info-name_12h1y_16",
|
10
|
+
"file-upload-container": "_file-upload-container_12h1y_34",
|
11
|
+
"file-upload-container-item": "_file-upload-container-item_12h1y_42",
|
12
|
+
"delete-button": "_delete-button_12h1y_51"
|
13
13
|
};
|
14
14
|
function ListFiles({ value, onChange }) {
|
15
15
|
const [list, setList] = useState(value);
|
@@ -2,10 +2,10 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useEffect } from "react";
|
3
3
|
import { Button } from "../Button/Button.js";
|
4
4
|
import '../../assets/ListPhotos.css';const cls = {
|
5
|
-
"list-photos": "_list-
|
6
|
-
"list-photos-item": "_list-photos-
|
7
|
-
"list-photos-image": "_list-photos-
|
8
|
-
"delete-button": "_delete-
|
5
|
+
"list-photos": "_list-photos_if5ro_2",
|
6
|
+
"list-photos-item": "_list-photos-item_if5ro_10",
|
7
|
+
"list-photos-image": "_list-photos-image_if5ro_19",
|
8
|
+
"delete-button": "_delete-button_if5ro_24"
|
9
9
|
};
|
10
10
|
function ListPhotos({ value, onChange }) {
|
11
11
|
const [list, setList] = useState(value);
|
@@ -3,17 +3,17 @@ import { c as classNames } from "../../index-CweZ_OcN.js";
|
|
3
3
|
import { memo } from "react";
|
4
4
|
import { EMergedButtonVariantRound } from "./constants.js";
|
5
5
|
import { Button } from "../Button/Button.js";
|
6
|
-
import '../../assets/MergedButton.css';const buttons = "
|
7
|
-
const gray = "
|
8
|
-
const white = "
|
9
|
-
const transparent = "
|
6
|
+
import '../../assets/MergedButton.css';const buttons = "_buttons_p8gim_2";
|
7
|
+
const gray = "_gray_p8gim_28";
|
8
|
+
const white = "_white_p8gim_36";
|
9
|
+
const transparent = "_transparent_p8gim_44";
|
10
10
|
const cls = {
|
11
11
|
buttons,
|
12
|
-
"merged-button": "_merged-
|
12
|
+
"merged-button": "_merged-button_p8gim_6",
|
13
13
|
gray,
|
14
14
|
white,
|
15
15
|
transparent,
|
16
|
-
"is-icon": "_is-
|
16
|
+
"is-icon": "_is-icon_p8gim_53"
|
17
17
|
};
|
18
18
|
const MergedButton = memo(({ buttons: buttons2 }) => {
|
19
19
|
return /* @__PURE__ */ jsx("div", { className: cls.buttons, children: buttons2.map(
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
2
2
|
import { c as classNames } from "../../index-CweZ_OcN.js";
|
3
3
|
import { ENotificationBadgeSize } from "./constants.js";
|
4
|
-
import '../../assets/NotificationBadge.css';const m = "
|
5
|
-
const s = "
|
4
|
+
import '../../assets/NotificationBadge.css';const m = "_m_ugqfj_18";
|
5
|
+
const s = "_s_ugqfj_24";
|
6
6
|
const cls = {
|
7
|
-
"notification-badge": "_notification-
|
8
|
-
"notification-badge-absolute": "_notification-badge-
|
7
|
+
"notification-badge": "_notification-badge_ugqfj_2",
|
8
|
+
"notification-badge-absolute": "_notification-badge-absolute_ugqfj_14",
|
9
9
|
m,
|
10
10
|
s
|
11
11
|
};
|
@@ -3,13 +3,13 @@ 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-
|
7
|
-
import '../../assets/OtpInput.css';const otp = "
|
8
|
-
const input = "
|
9
|
-
const separator = "
|
6
|
+
import { I as Input } from "../../Input-DspsU5F4.js";
|
7
|
+
import '../../assets/OtpInput.css';const otp = "_otp_1shq3_3";
|
8
|
+
const input = "_input_1shq3_14";
|
9
|
+
const separator = "_separator_1shq3_28";
|
10
10
|
const cls = {
|
11
11
|
otp,
|
12
|
-
"input-wrapper": "_input-
|
12
|
+
"input-wrapper": "_input-wrapper_1shq3_14",
|
13
13
|
input,
|
14
14
|
separator
|
15
15
|
};
|
@@ -1,5 +1,3 @@
|
|
1
|
-
import { default as React } from 'react';
|
2
|
-
|
3
1
|
export type TBackProps = {
|
4
2
|
currentPageNumber: number;
|
5
3
|
onClick: (nextPage: number) => void;
|
@@ -39,4 +37,4 @@ export type TProps = {
|
|
39
37
|
*/
|
40
38
|
currentPageNumber?: number;
|
41
39
|
};
|
42
|
-
export declare const Pagination:
|
40
|
+
export declare const Pagination: import('react').ForwardRefExoticComponent<TProps & import('react').RefAttributes<HTMLElement>>;
|
@@ -4,23 +4,19 @@ import { forwardRef, useState, useEffect } from "react";
|
|
4
4
|
import { FIRST_PAGE_NUMBER, DEFAULT_PER_PAGE } from "./constants.js";
|
5
5
|
import { useWindowSize } from "../../hooks/useWindowSize/index.js";
|
6
6
|
import { Icon } from "../../icons/Icon.js";
|
7
|
-
import '../../assets/Pagination.css';const container = "
|
8
|
-
const
|
9
|
-
const
|
10
|
-
const isActive = "
|
11
|
-
const disabled = "
|
7
|
+
import '../../assets/Pagination.css';const container = "_container_18kj0_2";
|
8
|
+
const item = "_item_18kj0_11";
|
9
|
+
const link = "_link_18kj0_18";
|
10
|
+
const isActive = "_isActive_18kj0_53";
|
11
|
+
const disabled = "_disabled_18kj0_56";
|
12
12
|
const cls = {
|
13
13
|
container,
|
14
|
-
link,
|
15
14
|
item,
|
15
|
+
link,
|
16
16
|
isActive,
|
17
17
|
disabled
|
18
18
|
};
|
19
|
-
const Back = ({
|
20
|
-
currentPageNumber,
|
21
|
-
onClick,
|
22
|
-
setCurrentPage
|
23
|
-
}) => {
|
19
|
+
const Back = ({ currentPageNumber, onClick, setCurrentPage }) => {
|
24
20
|
const handleClick = (event) => {
|
25
21
|
event.preventDefault();
|
26
22
|
if (currentPageNumber === FIRST_PAGE_NUMBER) return;
|
@@ -103,16 +103,16 @@ function we(o$12, t) {
|
|
103
103
|
return H({ ourProps: s$1, theirProps: I$1, slot: _2, defaultTag: He, name: "Radio" });
|
104
104
|
}
|
105
105
|
let Ne = W(Ue), We = W(Se), Be = W(we), Ve = K, Ke = w, Tt = Object.assign(Ne, { Option: We, Radio: Be, Label: Ve, Description: Ke });
|
106
|
-
const group = "
|
107
|
-
const radio = "
|
108
|
-
const disabled = "
|
109
|
-
const label = "
|
110
|
-
const frame = "
|
111
|
-
const checked = "
|
106
|
+
const group = "_group_yses6_3";
|
107
|
+
const radio = "_radio_yses6_18";
|
108
|
+
const disabled = "_disabled_yses6_40";
|
109
|
+
const label = "_label_yses6_51";
|
110
|
+
const frame = "_frame_yses6_64";
|
111
|
+
const checked = "_checked_yses6_73";
|
112
112
|
const cls = {
|
113
113
|
group,
|
114
|
-
"content-wrapper": "_content-
|
115
|
-
"radio-wrapper": "_radio-
|
114
|
+
"content-wrapper": "_content-wrapper_yses6_8",
|
115
|
+
"radio-wrapper": "_radio-wrapper_yses6_18",
|
116
116
|
radio,
|
117
117
|
disabled,
|
118
118
|
label,
|
@@ -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-DspsU5F4.js";
|
8
8
|
import { EInputVariant, 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";
|
@@ -3752,36 +3752,36 @@ function No(o2, r2) {
|
|
3752
3752
|
return H({ ourProps: { id: d2, ref: M2, role: "option", tabIndex: s2 === true ? void 0 : -1, "aria-disabled": s2 === true ? true : void 0, "aria-selected": C, disabled: void 0, onMouseDown: y2, onFocus: A2, onPointerEnter: h2, onMouseEnter: h2, onPointerMove: O, onMouseMove: O, onPointerLeave: G2, onMouseLeave: G2 }, theirProps: a3, slot: J2, defaultTag: ko, name: "Combobox.Option" });
|
3753
3753
|
}
|
3754
3754
|
let Uo = W$1(ho), Ho = W$1(Vo), Go = W$1(Mo), jo = K, zo = W$1(Bo), Ko = W$1(No), Nt = Object.assign(Uo, { Input: Go, Button: Ho, Label: jo, Options: zo, Option: Ko });
|
3755
|
-
const disabled = "
|
3756
|
-
const container = "
|
3757
|
-
const full = "
|
3758
|
-
const button = "
|
3759
|
-
const options = "
|
3760
|
-
const top = "
|
3761
|
-
const bottom = "
|
3762
|
-
const m = "
|
3763
|
-
const l = "
|
3764
|
-
const option = "
|
3755
|
+
const disabled = "_disabled_a63ul_5";
|
3756
|
+
const container = "_container_a63ul_9";
|
3757
|
+
const full = "_full_a63ul_22";
|
3758
|
+
const button = "_button_a63ul_34";
|
3759
|
+
const options = "_options_a63ul_52";
|
3760
|
+
const top = "_top_a63ul_63";
|
3761
|
+
const bottom = "_bottom_a63ul_68";
|
3762
|
+
const m = "_m_a63ul_95";
|
3763
|
+
const l = "_l_a63ul_108";
|
3764
|
+
const option = "_option_a63ul_52";
|
3765
3765
|
const cls = {
|
3766
|
-
"select-search": "_select-
|
3766
|
+
"select-search": "_select-search_a63ul_2",
|
3767
3767
|
disabled,
|
3768
3768
|
container,
|
3769
|
-
"container-open": "_container-
|
3769
|
+
"container-open": "_container-open_a63ul_18",
|
3770
3770
|
full,
|
3771
|
-
"selected-icon": "_selected-
|
3772
|
-
"selector-icon-open": "_selector-icon-
|
3771
|
+
"selected-icon": "_selected-icon_a63ul_26",
|
3772
|
+
"selector-icon-open": "_selector-icon-open_a63ul_30",
|
3773
3773
|
button,
|
3774
|
-
"selector-icon": "_selector-
|
3774
|
+
"selector-icon": "_selector-icon_a63ul_30",
|
3775
3775
|
options,
|
3776
3776
|
top,
|
3777
3777
|
bottom,
|
3778
|
-
"no-options": "_no-
|
3778
|
+
"no-options": "_no-options_a63ul_89",
|
3779
3779
|
m,
|
3780
3780
|
l,
|
3781
|
-
"custom-input-class": "_custom-input-
|
3781
|
+
"custom-input-class": "_custom-input-class_a63ul_121",
|
3782
3782
|
option,
|
3783
|
-
"option-active": "_option-
|
3784
|
-
"option-inner": "_option-
|
3783
|
+
"option-active": "_option-active_a63ul_137",
|
3784
|
+
"option-inner": "_option-inner_a63ul_140"
|
3785
3785
|
};
|
3786
3786
|
const SelectSearch = forwardRef(
|
3787
3787
|
(props, ref) => {
|
@@ -3,9 +3,9 @@ import { c as classNames } from "../../../index-CweZ_OcN.js";
|
|
3
3
|
import { memo } from "react";
|
4
4
|
import { ESkeletonVariant } from "../constants.js";
|
5
5
|
import { SkeletonBrick } from "../SkeletonBrick/SkeletonBrick.js";
|
6
|
-
import '../../../assets/SkeletonText.css';const row = "
|
6
|
+
import '../../../assets/SkeletonText.css';const row = "_row_1ks6f_9";
|
7
7
|
const cls = {
|
8
|
-
"skeleton-text": "_skeleton-
|
8
|
+
"skeleton-text": "_skeleton-text_1ks6f_2",
|
9
9
|
row
|
10
10
|
};
|
11
11
|
const getRowWidth = (index, total) => {
|
@@ -300,14 +300,14 @@ import '../../assets/Slider.css';function Autoplay(_ref) {
|
|
300
300
|
resume
|
301
301
|
});
|
302
302
|
}
|
303
|
-
const swiper = "
|
304
|
-
const slide = "
|
305
|
-
const link = "
|
306
|
-
const image = "
|
307
|
-
const navigation = "
|
308
|
-
const pagination = "
|
309
|
-
const slides = "
|
310
|
-
const separator = "
|
303
|
+
const swiper = "_swiper_rfcv9_3";
|
304
|
+
const slide = "_slide_rfcv9_9";
|
305
|
+
const link = "_link_rfcv9_16";
|
306
|
+
const image = "_image_rfcv9_22";
|
307
|
+
const navigation = "_navigation_rfcv9_29";
|
308
|
+
const pagination = "_pagination_rfcv9_39";
|
309
|
+
const slides = "_slides_rfcv9_54";
|
310
|
+
const separator = "_separator_rfcv9_60";
|
311
311
|
const cls = {
|
312
312
|
swiper,
|
313
313
|
slide,
|
@@ -36,19 +36,19 @@ function De(n, o$2) {
|
|
36
36
|
return React__default.createElement(React__default.Fragment, null, a$1 != null && React__default.createElement(j, { disabled: t, data: { [a$1]: u$1 || "on" }, overrides: { type: "checkbox", checked: s }, form: F, onReset: j$1 }), H({ ourProps: X, theirProps: k, slot: V, defaultTag: Ee, name: "Switch" }));
|
37
37
|
}
|
38
38
|
let ge = W(De), ve = Pe, xe = K, Ce = w, qe = Object.assign(ge, { Group: ve, Label: xe, Description: Ce });
|
39
|
-
const left = "
|
40
|
-
const right = "
|
41
|
-
const label = "
|
42
|
-
const switcher = "
|
39
|
+
const left = "_left_gu0m2_14";
|
40
|
+
const right = "_right_gu0m2_17";
|
41
|
+
const label = "_label_gu0m2_21";
|
42
|
+
const switcher = "_switcher_gu0m2_2";
|
43
43
|
const cls = {
|
44
|
-
"switcher-wrapper": "_switcher-
|
44
|
+
"switcher-wrapper": "_switcher-wrapper_gu0m2_2",
|
45
45
|
left,
|
46
46
|
right,
|
47
47
|
label,
|
48
48
|
switcher,
|
49
|
-
"switcher-checked": "_switcher-
|
50
|
-
"switcher-thumb": "_switcher-
|
51
|
-
"switcher-checked-thumb": "_switcher-checked-
|
49
|
+
"switcher-checked": "_switcher-checked_gu0m2_45",
|
50
|
+
"switcher-thumb": "_switcher-thumb_gu0m2_55",
|
51
|
+
"switcher-checked-thumb": "_switcher-checked-thumb_gu0m2_65"
|
52
52
|
};
|
53
53
|
const Switcher = forwardRef(
|
54
54
|
({
|
@@ -199,18 +199,18 @@ function He(e, r) {
|
|
199
199
|
return !s2 && ((g = n$1.unmount) == null || g) && !((R = n$1.static) != null && R) ? React__default.createElement(T, { "aria-hidden": "true", ...m2 }) : H({ ourProps: m2, theirProps: n$1, slot: b2, defaultTag: Ge, features: Ue, visible: s2, name: "Tabs.Panel" });
|
200
200
|
}
|
201
201
|
let we = W(ve), Oe = W(Se), Ne = W(Ie), ke = W(Me), Be = W(He), st = Object.assign(we, { Group: Oe, List: Ne, Panels: ke, Panel: Be });
|
202
|
-
const container = "
|
203
|
-
const group = "
|
204
|
-
const tab = "
|
205
|
-
const list = "
|
206
|
-
const tabs = "
|
207
|
-
const buttons = "
|
208
|
-
const m = "
|
209
|
-
const s = "
|
202
|
+
const container = "_container_rlke5_2";
|
203
|
+
const group = "_group_rlke5_6";
|
204
|
+
const tab = "_tab_rlke5_16";
|
205
|
+
const list = "_list_rlke5_51";
|
206
|
+
const tabs = "_tabs_rlke5_62";
|
207
|
+
const buttons = "_buttons_rlke5_68";
|
208
|
+
const m = "_m_rlke5_75";
|
209
|
+
const s = "_s_rlke5_83";
|
210
210
|
const cls = {
|
211
211
|
container,
|
212
212
|
group,
|
213
|
-
"group-inner": "_group-
|
213
|
+
"group-inner": "_group-inner_rlke5_9",
|
214
214
|
tab,
|
215
215
|
list,
|
216
216
|
tabs,
|
@@ -2,12 +2,12 @@ import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { c as classNames } from "../../index-CweZ_OcN.js";
|
3
3
|
import { forwardRef } from "react";
|
4
4
|
import { ETagSize, ETagType } from "./constants.js";
|
5
|
-
import '../../assets/Tag.css';const container = "
|
6
|
-
const disabled = "
|
7
|
-
const inner = "
|
8
|
-
const M = "
|
9
|
-
const S = "
|
10
|
-
const XS = "
|
5
|
+
import '../../assets/Tag.css';const container = "_container_pnj33_2";
|
6
|
+
const disabled = "_disabled_pnj33_25";
|
7
|
+
const inner = "_inner_pnj33_30";
|
8
|
+
const M = "_M_pnj33_38";
|
9
|
+
const S = "_S_pnj33_42";
|
10
|
+
const XS = "_XS_pnj33_50";
|
11
11
|
const cls = {
|
12
12
|
container,
|
13
13
|
disabled,
|
@@ -5,21 +5,21 @@ 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-DspsU5F4.js";
|
9
9
|
import { EInputVariant } from "../Input/constants.js";
|
10
|
-
import '../../assets/TextArea.css';const textarea = "
|
11
|
-
const label = "
|
12
|
-
const s = "
|
13
|
-
const m = "
|
14
|
-
const l = "
|
10
|
+
import '../../assets/TextArea.css';const textarea = "_textarea_1n8kz_2";
|
11
|
+
const label = "_label_1n8kz_22";
|
12
|
+
const s = "_s_1n8kz_54";
|
13
|
+
const m = "_m_1n8kz_62";
|
14
|
+
const l = "_l_1n8kz_22";
|
15
15
|
const textareaCls = {
|
16
|
-
"textarea-wrapper": "_textarea-
|
16
|
+
"textarea-wrapper": "_textarea-wrapper_1n8kz_2",
|
17
17
|
textarea,
|
18
|
-
"has-label": "_has-
|
19
|
-
"required-mark": "_required-
|
18
|
+
"has-label": "_has-label_1n8kz_8",
|
19
|
+
"required-mark": "_required-mark_1n8kz_11",
|
20
20
|
label,
|
21
|
-
"has-left-slot": "_has-left-
|
22
|
-
"active-label": "_active-
|
21
|
+
"has-left-slot": "_has-left-slot_1n8kz_37",
|
22
|
+
"active-label": "_active-label_1n8kz_40",
|
23
23
|
s,
|
24
24
|
m,
|
25
25
|
l
|
@@ -65,6 +65,7 @@ const TextArea = memo(
|
|
65
65
|
variant = EInputVariant.DefaultGray,
|
66
66
|
autofocus,
|
67
67
|
readonly,
|
68
|
+
status,
|
68
69
|
id,
|
69
70
|
onFocus,
|
70
71
|
onBlur,
|
@@ -145,7 +146,7 @@ const TextArea = memo(
|
|
145
146
|
cls.input,
|
146
147
|
mods,
|
147
148
|
className,
|
148
|
-
[cls[variant], textareaCls[size], cls[size]]
|
149
|
+
[cls[variant], textareaCls[size], cls[size], cls[status ?? ""]]
|
149
150
|
);
|
150
151
|
return /* @__PURE__ */ jsxs(
|
151
152
|
"div",
|
@@ -154,6 +155,7 @@ const TextArea = memo(
|
|
154
155
|
cls["input-wrapper"],
|
155
156
|
textareaCls["textarea-wrapper"],
|
156
157
|
cls[variant],
|
158
|
+
cls[status ?? ""],
|
157
159
|
textareaCls[size],
|
158
160
|
cls[size],
|
159
161
|
{
|
@@ -2,7 +2,7 @@ import { jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { c as classNames } from "../../index-CweZ_OcN.js";
|
3
3
|
import { memo } from "react";
|
4
4
|
import { useTimer } from "../../hooks/useTimer/index.js";
|
5
|
-
import '../../assets/Timer.css';const timer = "
|
5
|
+
import '../../assets/Timer.css';const timer = "_timer_un9th_3";
|
6
6
|
const cls = {
|
7
7
|
timer
|
8
8
|
};
|
@@ -2,7 +2,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { c as classNames } from "../../index-CweZ_OcN.js";
|
3
3
|
import { memo, useRef } from "react";
|
4
4
|
import { ANIMATION_VARIABLES_MAP, EToastPosition, EToastVariant, DEFAULT_TOAST_DURATION } from "./constants.js";
|
5
|
-
import { c as cls, P as ProgressBar } from "../../ProgressBar-
|
5
|
+
import { c as cls, P as ProgressBar } from "../../ProgressBar-DWKyrXzd.js";
|
6
6
|
import { useTimer } from "../../hooks/useTimer/index.js";
|
7
7
|
import { Button } from "../Button/Button.js";
|
8
8
|
const Toast = memo(
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { c as classNames } from "../../index-CweZ_OcN.js";
|
3
3
|
import { memo, useRef, useCallback, useEffect } from "react";
|
4
4
|
import { EToastPosition } from "./constants.js";
|
5
|
-
import { c as cls } from "../../ProgressBar-
|
5
|
+
import { c as cls } from "../../ProgressBar-DWKyrXzd.js";
|
6
6
|
import { Toast } from "./Toast.js";
|
7
7
|
const ToastList = memo(
|
8
8
|
({ toasts, position = EToastPosition.TOP_RIGHT, onToastRemove }) => {
|
@@ -3,7 +3,7 @@ import { useReducer, useCallback, useMemo } from "react";
|
|
3
3
|
import { EToastVariant } from "./constants.js";
|
4
4
|
import { ToastContext } from "./hooks.js";
|
5
5
|
import { reducer, initialState, actionCreators } from "./store.js";
|
6
|
-
import { c as cls } from "../../ProgressBar-
|
6
|
+
import { c as cls } from "../../ProgressBar-DWKyrXzd.js";
|
7
7
|
import { ToastList } from "./ToastList.js";
|
8
8
|
const ToastProvider = ({ children }) => {
|
9
9
|
const [toasts, dispatch] = useReducer(reducer, initialState);
|
@@ -2,15 +2,15 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { c as classNames } from "../../index-CweZ_OcN.js";
|
3
3
|
import { forwardRef } from "react";
|
4
4
|
import { Switcher } from "../Switcher/Switcher.js";
|
5
|
-
import '../../assets/TwinSwitcher.css';const icon = "
|
5
|
+
import '../../assets/TwinSwitcher.css';const icon = "_icon_1r3h0_30";
|
6
6
|
const cls = {
|
7
|
-
"twin-switcher": "_twin-
|
8
|
-
"twin-switcher-checked": "_twin-switcher-
|
9
|
-
"twin-switcher-thumb": "_twin-switcher-
|
10
|
-
"twin-switcher-checked-thumb": "_twin-switcher-checked-
|
7
|
+
"twin-switcher": "_twin-switcher_1r3h0_2",
|
8
|
+
"twin-switcher-checked": "_twin-switcher-checked_1r3h0_18",
|
9
|
+
"twin-switcher-thumb": "_twin-switcher-thumb_1r3h0_27",
|
10
|
+
"twin-switcher-checked-thumb": "_twin-switcher-checked-thumb_1r3h0_27",
|
11
11
|
icon,
|
12
|
-
"left-icon": "_left-
|
13
|
-
"right-icon": "_right-
|
12
|
+
"left-icon": "_left-icon_1r3h0_43",
|
13
|
+
"right-icon": "_right-icon_1r3h0_46"
|
14
14
|
};
|
15
15
|
const TwinSwitcher = forwardRef(
|
16
16
|
({
|
@@ -6,7 +6,7 @@ import { ListFiles } from "../ListFiles/ListFiles.js";
|
|
6
6
|
import { ListPhotos } from "../ListPhotos/ListPhotos.js";
|
7
7
|
import { Uploader } from "../Uploader/Uploader.js";
|
8
8
|
import '../../assets/UploaderPhotos.css';const cls = {
|
9
|
-
"upload-file-wrapper": "_upload-file-
|
9
|
+
"upload-file-wrapper": "_upload-file-wrapper_1a115_2"
|
10
10
|
};
|
11
11
|
const isImageFile = (file) => {
|
12
12
|
if ("file" in file && file.file instanceof File) {
|
@@ -3,9 +3,9 @@ import { forwardRef, useRef, useId } from "react";
|
|
3
3
|
import { Icon } from "../../icons/Icon.js";
|
4
4
|
import { Button } from "../Button/Button.js";
|
5
5
|
import '../../assets/Uploader.css';const cls = {
|
6
|
-
"upload-file-wrapper": "_upload-file-
|
7
|
-
"upload-text": "_upload-
|
8
|
-
"upload-file-input": "_upload-file-
|
6
|
+
"upload-file-wrapper": "_upload-file-wrapper_bplvw_2",
|
7
|
+
"upload-text": "_upload-text_bplvw_25",
|
8
|
+
"upload-file-input": "_upload-file-input_bplvw_35"
|
9
9
|
};
|
10
10
|
const MIME = {
|
11
11
|
jpeg: "image/jpeg",
|
@@ -4,7 +4,7 @@ import { forwardRef, useState, useEffect } from "react";
|
|
4
4
|
import { ListFiles } from "../ListFiles/ListFiles.js";
|
5
5
|
import { Uploader } from "../Uploader/Uploader.js";
|
6
6
|
import '../../assets/UploaderPhotos.css';const cls = {
|
7
|
-
"upload-file-wrapper": "_upload-file-
|
7
|
+
"upload-file-wrapper": "_upload-file-wrapper_1a115_2"
|
8
8
|
};
|
9
9
|
const UploaderFiles = forwardRef(
|
10
10
|
(props, ref) => {
|
@@ -4,7 +4,7 @@ import { forwardRef, useState, useEffect } from "react";
|
|
4
4
|
import { ListPhotos } from "../ListPhotos/ListPhotos.js";
|
5
5
|
import { Uploader } from "../Uploader/Uploader.js";
|
6
6
|
import '../../assets/UploaderPhotos.css';const cls = {
|
7
|
-
"upload-file-wrapper": "_upload-file-
|
7
|
+
"upload-file-wrapper": "_upload-file-wrapper_1a115_2"
|
8
8
|
};
|
9
9
|
const UploaderPhotos = forwardRef(
|
10
10
|
(props, ref) => {
|