mimir-ui-kit 1.36.16 → 1.37.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ ._short-reply_1tpxx_2{--short-reply-cursor: pointer;display:inline-flex;flex-shrink:0;align-items:center;box-sizing:border-box;max-width:100%;height:32px;padding:0 var(--mimir-space-xs);overflow:hidden;color:var(--short-reply-color);font-size:var(--mimir-size-text-s);font-family:var(--mimir-font-inter);line-height:var(--mimir-line-height-text-s1);white-space:nowrap;-webkit-text-decoration:none;text-decoration:none;text-overflow:ellipsis;-moz-column-gap:var(--mimir-space-2xs);column-gap:var(--mimir-space-2xs);background-color:var(--short-reply-bg-color);border-color:var(--short-reply-border-color);border-style:solid;border-width:1px;border-radius:var(--mimir-control-input-radius);cursor:pointer;cursor:var(--short-reply-cursor);transition:all .15s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none}._short-reply_1tpxx_2:hover{color:var(--short-reply-color-hover);background:var(--short-reply-bg-color-hover);border-color:var(--short-reply-border-color-hover)}._short-reply_1tpxx_2:active{color:var(--short-reply-color-active);background:var(--short-reply-bg-color-active);border-color:var(--short-reply-border-color-active)}._short-reply_1tpxx_2:focus-visible{box-shadow:0 0 2px var(--sapphire-normal)}._short-reply_1tpxx_2 svg{color:currentcolor;fill:currentcolor}._short-reply_1tpxx_2 svg path{color:currentcolor;fill:currentcolor}._short-reply_1tpxx_2._sapphire_1tpxx_50{--short-reply-bg-color: transparent;--short-reply-color-hover: var(--light-text);--short-reply-color-active: var(--light-text);--short-reply-bg-color-active: var(--sapphire-active);--short-reply-bg-color-hover: var(--sapphire-normal);--short-reply-color: var(--sapphire-normal);--short-reply-border-color: var(--sapphire-normal)}._short-reply_1tpxx_2._sapphire-filled_1tpxx_59{--short-reply-bg-color: var(--sapphire-normal);--short-reply-color-hover: var(--light-text);--short-reply-color-active: var(--light-text);--short-reply-bg-color-active: var(--sapphire-active);--short-reply-bg-color-hover: var(--sapphire-hover);--short-reply-color: var(--light-text)}._short-reply_1tpxx_2._citrine_1tpxx_67{--short-reply-bg-color: transparent;--short-reply-bg-color-active: var(--citrine-active);--short-reply-bg-color-hover: var(--citrine-hover);--short-reply-color: var(--citrine-normal);--short-reply-color-hover: var(--light-text);--short-reply-color-active: var(--light-text);--short-reply-border-color: var(--citrine-normal)}._short-reply_1tpxx_2._asphalt_1tpxx_76{--short-reply-bg-color: transparent;--short-reply-bg-color-active: var(--asphalt-active);--short-reply-bg-color-hover: var(--asphalt-hover);--short-reply-color: var(--asphalt-normal);--short-reply-color-hover: var(--light-text);--short-reply-color-active: var(--light-text);--short-reply-border-color: var(--asphalt-normal)}._short-reply_1tpxx_2._gray_1tpxx_85{--short-reply-bg-color: var(--gray-normal);--short-reply-bg-color-hover: var(--gray-hover);--short-reply-bg-color-active: var(--gray-active);--short-reply-color: var(--dark-text);--short-reply-color-hover: var(--dark-text);--short-reply-color-active: var(--light-text);border:none}._short-reply_1tpxx_2._white_1tpxx_94{--short-reply-bg-color: var(--white-normal);--short-reply-bg-color-hover: var(--white-hover);--short-reply-bg-color-active: var(--white-active);--short-reply-color: var(--dark-text);--short-reply-color-hover: var(--dark-text);--short-reply-color-active: var(--light-text);border:none}._short-reply_1tpxx_2._green_1tpxx_103{--short-reply-bg-color: transparent;--short-reply-bg-color-hover: var(--green-hover);--short-reply-bg-color-active: var(--green-active);--short-reply-color: var(--green);--short-reply-color-hover: var(--light-text);--short-reply-color-active: var(--light-text);--short-reply-border-color: var(--green)}._short-reply_1tpxx_2._disabled_1tpxx_112{--short-reply-cursor: not-allowed;color:var(--disabled);background-color:transparent;border-color:var(--disabled)}._short-reply_1tpxx_2._disabled_1tpxx_112:hover,._short-reply_1tpxx_2._disabled_1tpxx_112:active,._short-reply_1tpxx_2._disabled_1tpxx_112:focus{color:var(--disabled);background-color:transparent;border-color:var(--disabled);box-shadow:none}
@@ -0,0 +1,30 @@
1
+ import { ComponentProps } from 'react';
2
+ import { EMessageShortReplyVariant } from './constants';
3
+ import { TIcon } from '../../icons';
4
+
5
+ export type TProps = ComponentProps<'button'> & {
6
+ /**
7
+ * Класс, применяемый к корневому элементу MessageShortReply.
8
+ */
9
+ className?: string;
10
+ /**
11
+ * Флаг, указывающий, отключена ли MessageShortReply.
12
+ */
13
+ disabled?: boolean;
14
+ /**
15
+ * "Вариант отображения MessageShortReply. Допустимые значения: 'sapphire', sapphire-filled', 'citrine', 'asphalt', 'gray', 'white', 'green'."
16
+ */
17
+ variant?: `${EMessageShortReplyVariant}` | EMessageShortReplyVariant;
18
+ /**
19
+ * Имя иконки слева.
20
+ */
21
+ leftIconName?: TIcon;
22
+ /**
23
+ * Имя иконки справа.
24
+ */
25
+ rightIconName?: TIcon;
26
+ };
27
+ /**
28
+ * Компонент MessageShortReply, который можно настраивать с различными темами и размерами.
29
+ */
30
+ export declare const MessageShortReply: import('react').ForwardRefExoticComponent<Omit<TProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1,51 @@
1
+ import { jsxs as d, jsx as a } from "react/jsx-runtime";
2
+ import { c as y } from "../../index-DIxK0V-G.js";
3
+ import { forwardRef as f } from "react";
4
+ import { EMessageShortReplyVariant as g } from "./constants.js";
5
+ import { Icon as o } from "../../icons/Icon.js";
6
+ import '../../assets/MessageShortReply.css';const N = "_sapphire_1tpxx_50", b = "_citrine_1tpxx_67", u = "_asphalt_1tpxx_76", w = "_gray_1tpxx_85", R = "_white_1tpxx_94", S = "_green_1tpxx_103", I = "_disabled_1tpxx_112", e = {
7
+ "short-reply": "_short-reply_1tpxx_2",
8
+ sapphire: N,
9
+ "sapphire-filled": "_sapphire-filled_1tpxx_59",
10
+ citrine: b,
11
+ asphalt: u,
12
+ gray: w,
13
+ white: R,
14
+ green: S,
15
+ disabled: I
16
+ }, M = f(
17
+ (p, i) => {
18
+ const {
19
+ variant: n = g.Sapphire,
20
+ children: c,
21
+ className: l,
22
+ leftIconName: s,
23
+ rightIconName: r,
24
+ type: _ = "button",
25
+ disabled: t,
26
+ ...h
27
+ } = p, x = {
28
+ [e.disabled]: t,
29
+ [e[n]]: !t
30
+ }, m = y(l, e["short-reply"], x);
31
+ return /* @__PURE__ */ d(
32
+ "button",
33
+ {
34
+ type: _,
35
+ disabled: t,
36
+ ref: i,
37
+ className: m,
38
+ ...h,
39
+ children: [
40
+ s && /* @__PURE__ */ a(o, { iconName: s }),
41
+ c,
42
+ r && /* @__PURE__ */ a(o, { iconName: r })
43
+ ]
44
+ }
45
+ );
46
+ }
47
+ );
48
+ M.displayName = "MessageShortReply";
49
+ export {
50
+ M as MessageShortReply
51
+ };
@@ -0,0 +1,9 @@
1
+ export declare enum EMessageShortReplyVariant {
2
+ Sapphire = "sapphire",
3
+ SapphireFilled = "sapphire-filled",
4
+ Citrine = "citrine",
5
+ Asphalt = "asphalt",
6
+ Gray = "gray",
7
+ White = "white",
8
+ Green = "green"
9
+ }
@@ -0,0 +1,4 @@
1
+ var p = /* @__PURE__ */ ((i) => (i.Sapphire = "sapphire", i.SapphireFilled = "sapphire-filled", i.Citrine = "citrine", i.Asphalt = "asphalt", i.Gray = "gray", i.White = "white", i.Green = "green", i))(p || {});
2
+ export {
3
+ p as EMessageShortReplyVariant
4
+ };
@@ -0,0 +1,2 @@
1
+ export { MessageShortReply, type TProps as TMessageShortReplyProps } from './MessageShortReply';
2
+ export { EMessageShortReplyVariant } from './constants';
@@ -0,0 +1,6 @@
1
+ import { MessageShortReply as o } from "./MessageShortReply.js";
2
+ import { EMessageShortReplyVariant as a } from "./constants.js";
3
+ export {
4
+ a as EMessageShortReplyVariant,
5
+ o as MessageShortReply
6
+ };
@@ -1,38 +1,38 @@
1
- import { jsxs as y, jsx as p, Fragment as j } from "react/jsx-runtime";
2
- import { c as B } from "../../index-DIxK0V-G.js";
3
- import { forwardRef as D, useState as T, useEffect as V, useMemo as _ } from "react";
4
- import { imageTypes as h } from "./constants.js";
1
+ import { jsxs as h, jsx as p, Fragment as V } from "react/jsx-runtime";
2
+ import { c as j } from "../../index-DIxK0V-G.js";
3
+ import { forwardRef as B, useState as D, useEffect as T, useMemo as _ } from "react";
4
+ import { imageTypes as y } from "./constants.js";
5
5
  import "../Button/Button.js";
6
- import { EButtonVariantDefault as E } from "../Button/constants.js";
7
- import { ListFiles as M } from "../ListFiles/ListFiles.js";
8
- import { ListPhotos as O } from "../ListPhotos/ListPhotos.js";
9
- import { Uploader as P } from "../Uploader/Uploader.js";
6
+ import { EButtonVariantDefault as C } from "../Button/constants.js";
7
+ import { ListFiles as E } from "../ListFiles/ListFiles.js";
8
+ import { ListPhotos as M } from "../ListPhotos/ListPhotos.js";
9
+ import { Uploader as O } from "../Uploader/Uploader.js";
10
10
  import '../../assets/UploaderPhotos.css';const g = {
11
11
  "upload-file-wrapper": "_upload-file-wrapper_1a115_2"
12
- }, f = (i) => "file" in i && i.file instanceof File ? h.includes(i.file.type) : "type" in i && typeof i.type == "string" ? h.includes(i.type) : !1, W = D(
12
+ }, f = (i) => "file" in i && i.file instanceof File ? y.includes(i.file.type) : "type" in i && typeof i.type == "string" ? y.includes(i.type) : !1, W = B(
13
13
  (i, v) => {
14
14
  const {
15
15
  type: s,
16
16
  filesType: x,
17
17
  arrayName: F,
18
18
  maxSize: U,
19
- onChange: o,
20
- value: a,
21
- maxFiles: m,
19
+ onChange: a,
20
+ value: r,
21
+ maxFiles: u,
22
22
  titleUploader: b,
23
23
  buttonText: w = "Выберите файлы",
24
- showOnlyUploadButton: u = !1,
25
- uploadButtonVariant: z = E.SecondaryAsphalt,
24
+ showOnlyUploadButton: d = !1,
25
+ uploadButtonVariant: z = C.SecondaryAsphalt,
26
26
  buttonSize: I = "m",
27
27
  buttonClassName: L
28
- } = i, [l, n] = T(
29
- a || []
30
- ), d = l.length >= m;
31
- V(() => {
32
- a && n(a);
33
- }, [a]);
28
+ } = i, [l, n] = D(
29
+ r || []
30
+ ), m = l.length >= u;
31
+ T(() => {
32
+ r && n(r);
33
+ }, [r]);
34
34
  const N = (t) => {
35
- const r = t.value.map((e) => f(e.file) ? {
35
+ const o = t.value.map((e) => f(e.file) ? {
36
36
  id: e.id,
37
37
  url: URL.createObjectURL(e.file),
38
38
  type: e.file.type,
@@ -45,49 +45,50 @@ import '../../assets/UploaderPhotos.css';const g = {
45
45
  name: e.file.name,
46
46
  type: e.file.type
47
47
  });
48
- n((e) => [...e, ...r]), o == null || o({ type: "add", data: t.value });
48
+ n((e) => [...e, ...o]), a == null || a({ type: "add", data: t.value });
49
49
  }, c = (t) => {
50
- n((r) => r.filter((e) => e.id !== t)), o == null || o({ type: "delete", data: t });
50
+ n((o) => o.filter((e) => e.id !== t)), a == null || a({ type: "delete", data: t });
51
51
  }, { photos: R, files: S } = _(() => {
52
- const t = () => l.filter((e) => !f(e)), r = () => l.filter(f);
53
- return s === "all" ? { files: t(), photos: r() } : s === "files" ? { photos: [], files: t() } : s === "photos" ? { files: [], photos: r() } : { files: [], photos: [] };
52
+ const t = () => l.filter((e) => !f(e)), o = () => l.filter(f);
53
+ return s === "all" ? { files: t(), photos: o() } : s === "files" ? { photos: [], files: t() } : s === "photos" ? { files: [], photos: o() } : { files: [], photos: [] };
54
54
  }, [l, s]);
55
- return /* @__PURE__ */ y(
55
+ return /* @__PURE__ */ h(
56
56
  "div",
57
57
  {
58
- className: B(
58
+ "data-testid": "universal-uploader",
59
+ className: j(
59
60
  g["upload-file-wrapper"],
60
- d && g.disabled
61
+ m && g.disabled
61
62
  ),
62
63
  children: [
63
64
  /* @__PURE__ */ p(
64
- P,
65
+ O,
65
66
  {
66
67
  filesType: x,
67
68
  arrayName: F,
68
69
  maxSize: U,
69
70
  onChangeValue: N,
70
71
  ref: v,
71
- maxFiles: m,
72
- isDisabled: d,
72
+ maxFiles: u,
73
+ isDisabled: m,
73
74
  titleUploader: b,
74
- showOnlyUploadButton: u,
75
+ showOnlyUploadButton: d,
75
76
  buttonText: w,
76
77
  uploadButtonVariant: z,
77
78
  buttonSize: I,
78
79
  buttonClassName: L
79
80
  }
80
81
  ),
81
- !u && /* @__PURE__ */ y(j, { children: [
82
+ !d && /* @__PURE__ */ h(V, { children: [
82
83
  (s === "files" || s === "all") && /* @__PURE__ */ p(
83
- M,
84
+ E,
84
85
  {
85
86
  value: S,
86
87
  onChange: (t) => c(t.deleteId)
87
88
  }
88
89
  ),
89
90
  (s === "photos" || s === "all") && /* @__PURE__ */ p(
90
- O,
91
+ M,
91
92
  {
92
93
  value: R,
93
94
  onChange: (t) => c(t.deleteId)
@@ -65,3 +65,5 @@ export { ListFiles, EFileItemVariant } from './ListFiles';
65
65
  export type { TListFiles, TFilesDetail, TFileValue } from './ListFiles';
66
66
  export { ListPhotos } from './ListPhotos';
67
67
  export type { TListPhotos, TPhotosDetail, TPhotoValue, TPhotoItem } from './ListPhotos';
68
+ export { MessageShortReply } from './MessageShortReply';
69
+ export { EMessageShortReplyVariant, type TMessageShortReplyProps } from './MessageShortReply';
@@ -1,18 +1,18 @@
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 x, EButtonVariantRound as f } from "./Button/constants.js";
3
3
  import { I as S } from "../Input-BYrIS5GU.js";
4
- import { EInputSize as u, EInputStatus as l, EInputVariant as s } from "./Input/constants.js";
4
+ import { EInputSize as s, 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 I } from "./TextArea/constants.js";
7
- import { InputPassword as k } from "./InputPassword/InputPassword.js";
8
- import { InputPhoneNumber as V } from "./InputPhoneNumber/InputPhoneNumber.js";
7
+ import { InputPassword as h } from "./InputPassword/InputPassword.js";
8
+ import { InputPhoneNumber as k } from "./InputPhoneNumber/InputPhoneNumber.js";
9
9
  import { getMaskedInputPhoneValue as B, getUnmaskedInputValue as P } from "./InputPhoneNumber/utils.js";
10
- import { OtpInput as L } from "./OtpInput/OtpInput.js";
11
- import { RadioGroup as w } from "./RadioGroup/RadioGroup.js";
12
- import { DatePicker as M } from "./DatePicker/DatePicker.js";
10
+ import { OtpInput as M } from "./OtpInput/OtpInput.js";
11
+ import { RadioGroup as L } from "./RadioGroup/RadioGroup.js";
12
+ import { DatePicker as w } from "./DatePicker/DatePicker.js";
13
13
  import { MergedButton as b } from "./MergedButton/MergedButton.js";
14
- import { EMergedButtonVariantRound as D } from "./MergedButton/constants.js";
15
- import { AppImage as G } from "./Image/Image.js";
14
+ import { EMergedButtonVariantRound as v } from "./MergedButton/constants.js";
15
+ import { AppImage as F } from "./Image/Image.js";
16
16
  import { Loader as N } from "./Loader/Loader.js";
17
17
  import { Slider as O } from "./Slider/index.js";
18
18
  import { Drawer as q } from "./Drawer/Drawer.js";
@@ -29,15 +29,15 @@ import { ETagSize as So, ETagType as Eo } from "./Tag/constants.js";
29
29
  import { Timer as lo } from "./Timer/Timer.js";
30
30
  import { Accordion as co } from "./Accordion/Accordion.js";
31
31
  import { EAccordionSize as Io } from "./Accordion/constants.js";
32
- import { AccordionItem as ko } from "./Accordion/AccordionItem/AccordionItem.js";
33
- import { TabTrail as Vo } from "./TabTrail/TabTrail.js";
32
+ import { AccordionItem as ho } from "./Accordion/AccordionItem/AccordionItem.js";
33
+ import { TabTrail as ko } from "./TabTrail/TabTrail.js";
34
34
  import { ETabTrailSize as Bo } from "./TabTrail/constants.js";
35
35
  import { Pagination as Ao } from "./Pagination/Pagination.js";
36
- import { ToastProvider as Uo } from "./Toasts/ToastsProvider.js";
37
- import { useToast as Co } from "./Toasts/hooks.js";
38
- import { EToastPosition as Ro, EToastVariant as bo } from "./Toasts/constants.js";
39
- import { UploaderPhotos as Do } from "./UploaderPhotos/UploaderPhotos.js";
40
- import { UploaderFiles as Go } from "./UploaderFiles/UploaderFiles.js";
36
+ import { ToastProvider as Ro } from "./Toasts/ToastsProvider.js";
37
+ import { useToast as Uo } from "./Toasts/hooks.js";
38
+ import { EToastPosition as Co, EToastVariant as bo } from "./Toasts/constants.js";
39
+ import { UploaderPhotos as vo } from "./UploaderPhotos/UploaderPhotos.js";
40
+ import { UploaderFiles as Fo } from "./UploaderFiles/UploaderFiles.js";
41
41
  import { Uploader as No } from "./Uploader/Uploader.js";
42
42
  import { Link as Oo } from "./AnchorLink/Link.js";
43
43
  import { ELinkSize as qo, ELinkVariant as Ho } from "./AnchorLink/constants.js";
@@ -50,32 +50,34 @@ import { EUploaderType as pr } from "./UniversalUploader/constants.js";
50
50
  import { InputRangeSlider as ir } from "./InputRangeSlider/InputRangeSlider.js";
51
51
  import { EInputRangeSliderBorderState as xr, EInputRangeSliderPositions as fr } from "./InputRangeSlider/constants.js";
52
52
  import { GosZnak as Sr } from "./GosZnak/GosZnak.js";
53
- import { EGosZnakSize as ur, EGosZnakType as lr } from "./GosZnak/constants.js";
53
+ import { EGosZnakSize as sr, EGosZnakType as lr } from "./GosZnak/constants.js";
54
54
  import { Switcher as dr } from "./Switcher/Switcher.js";
55
55
  import { ELabelPositions as Tr } from "./Switcher/constants.js";
56
56
  import { TwinSwitcher as gr } from "./TwinSwitcher/TwinSwitcher.js";
57
- import { SkeletonBrick as zr } from "./Skeleton/SkeletonBrick/SkeletonBrick.js";
58
- import { SkeletonText as hr } from "./Skeleton/SkeletonText/SkeletonText.js";
57
+ import { SkeletonBrick as Vr } from "./Skeleton/SkeletonBrick/SkeletonBrick.js";
58
+ import { SkeletonText as zr } from "./Skeleton/SkeletonText/SkeletonText.js";
59
59
  import { SkeletonCircle as Pr } from "./Skeleton/SkeletonCircle/SkeletonCircle.js";
60
- import { ESkeletonVariant as Lr } from "./Skeleton/constants.js";
61
- import { Avatar as wr } from "./Avatar/Avatar.js";
62
- import { EAvatarSize as Mr } from "./Avatar/constants.js";
60
+ import { ESkeletonVariant as Mr } from "./Skeleton/constants.js";
61
+ import { Avatar as Lr } from "./Avatar/Avatar.js";
62
+ import { EAvatarSize as wr } from "./Avatar/constants.js";
63
63
  import { MultiSelectSearch as br } from "./MultiSelectSearch/MultiSelectSearch.js";
64
- import { EMultiSelectSearchSize as Dr } from "./MultiSelectSearch/constants.js";
65
- import { ListFiles as Gr } from "./ListFiles/ListFiles.js";
64
+ import { EMultiSelectSearchSize as vr } from "./MultiSelectSearch/constants.js";
65
+ import { ListFiles as Fr } from "./ListFiles/ListFiles.js";
66
66
  import { EFileItemVariant as Nr } from "./ListFiles/constants.js";
67
67
  import { ListPhotos as Or } from "./ListPhotos/ListPhotos.js";
68
+ import { MessageShortReply as qr } from "./MessageShortReply/MessageShortReply.js";
69
+ import { EMessageShortReplyVariant as Jr } from "./MessageShortReply/constants.js";
68
70
  export {
69
71
  co as Accordion,
70
- ko as AccordionItem,
71
- wr as Avatar,
72
+ ho as AccordionItem,
73
+ Lr as Avatar,
72
74
  e as Button,
73
75
  mo as CheckboxMimir,
74
76
  Yo as Chip,
75
- M as DatePicker,
77
+ w as DatePicker,
76
78
  q as Drawer,
77
79
  Io as EAccordionSize,
78
- Mr as EAvatarSize,
80
+ wr as EAvatarSize,
79
81
  p as EButtonForm,
80
82
  a as EButtonSize,
81
83
  i as EButtonVariantBorderless,
@@ -86,66 +88,68 @@ export {
86
88
  or as EChipVariant,
87
89
  J as EDrawerPosition,
88
90
  Nr as EFileItemVariant,
89
- ur as EGosZnakSize,
91
+ sr as EGosZnakSize,
90
92
  lr as EGosZnakType,
91
93
  xr as EInputRangeSliderBorderState,
92
94
  fr as EInputRangeSliderPositions,
93
- u as EInputSize,
95
+ s as EInputSize,
94
96
  l as EInputStatus,
95
- s as EInputVariant,
97
+ u as EInputVariant,
96
98
  Tr as ELabelPositions,
97
99
  qo as ELinkSize,
98
100
  Ho as ELinkVariant,
99
- D as EMergedButtonVariantRound,
100
- Dr as EMultiSelectSearchSize,
101
+ v as EMergedButtonVariantRound,
102
+ Jr as EMessageShortReplyVariant,
103
+ vr as EMultiSelectSearchSize,
101
104
  Wo as ENotificationBadgeSize,
102
105
  ao as ESelectSearchSize,
103
- Lr as ESkeletonVariant,
106
+ Mr as ESkeletonVariant,
104
107
  X as EStepColor,
105
108
  Y as EStepsSize,
106
109
  Bo as ETabTrailSize,
107
110
  So as ETagSize,
108
111
  Eo as ETagType,
109
112
  I as ETextAreaInputSize,
110
- Ro as EToastPosition,
113
+ Co as EToastPosition,
111
114
  bo as EToastVariant,
112
115
  pr as EUploaderType,
113
116
  ro as EVoteSize,
114
117
  Sr as GosZnak,
115
- G as Image,
118
+ F as Image,
116
119
  S as Input,
117
- k as InputPassword,
118
- V as InputPhoneNumber,
120
+ h as InputPassword,
121
+ k as InputPhoneNumber,
119
122
  ir as InputRangeSlider,
120
123
  Oo as Link,
121
- Gr as ListFiles,
124
+ Fr as ListFiles,
122
125
  Or as ListPhotos,
123
126
  N as Loader,
124
127
  b as MergedButton,
128
+ qr as MessageShortReply,
125
129
  br as MultiSelectSearch,
126
130
  Ko as NotificationBadge,
127
- L as OtpInput,
131
+ M as OtpInput,
128
132
  Ao as Pagination,
129
- w as RadioGroup,
133
+ L as RadioGroup,
130
134
  to as SelectSearch,
131
- zr as SkeletonBrick,
135
+ Vr as SkeletonBrick,
132
136
  Pr as SkeletonCircle,
133
- hr as SkeletonText,
137
+ zr as SkeletonText,
134
138
  O as Slider,
135
139
  Q as Steps,
136
140
  dr as Switcher,
137
- Vo as TabTrail,
141
+ ko as TabTrail,
138
142
  fo as Tag,
139
143
  c as TextArea,
140
144
  lo as Timer,
141
- Uo as ToastProvider,
145
+ Ro as ToastProvider,
142
146
  gr as TwinSwitcher,
143
147
  er as UniversalUploader,
144
148
  No as Uploader,
145
- Go as UploaderFiles,
146
- Do as UploaderPhotos,
149
+ Fo as UploaderFiles,
150
+ vo as UploaderPhotos,
147
151
  $ as Vote,
148
152
  B as getMaskedInputPhoneValue,
149
153
  P as getUnmaskedInputValue,
150
- Co as useToast
154
+ Uo as useToast
151
155
  };
package/dist/index.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { Button as e } from "./components/Button/Button.js";
2
- import { EButtonForm as p, EButtonSize as m, EButtonVariantBorderless as a, EButtonVariantDefault as i, EButtonVariantOutline as f, EButtonVariantRound as x } from "./components/Button/constants.js";
3
- import { I as u } from "./Input-BYrIS5GU.js";
4
- import { EInputSize as E, EInputStatus as S, EInputVariant as l } from "./components/Input/constants.js";
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-BYrIS5GU.js";
4
+ import { EInputSize as S, EInputStatus as E, EInputVariant as l } from "./components/Input/constants.js";
5
5
  import { TextArea as c } from "./components/TextArea/TextArea.js";
6
6
  import { ETextAreaInputSize as I } from "./components/TextArea/constants.js";
7
- import { InputPassword as k } from "./components/InputPassword/InputPassword.js";
8
- import { InputPhoneNumber as B } from "./components/InputPhoneNumber/InputPhoneNumber.js";
9
- import { getMaskedInputPhoneValue as h, getUnmaskedInputValue as P } from "./components/InputPhoneNumber/utils.js";
7
+ import { InputPassword as h } from "./components/InputPassword/InputPassword.js";
8
+ import { InputPhoneNumber as z } from "./components/InputPhoneNumber/InputPhoneNumber.js";
9
+ import { getMaskedInputPhoneValue as B, getUnmaskedInputValue as M } from "./components/InputPhoneNumber/utils.js";
10
10
  import { OtpInput as y } from "./components/OtpInput/OtpInput.js";
11
- import { RadioGroup as C } from "./components/RadioGroup/RadioGroup.js";
12
- import { DatePicker as R } from "./components/DatePicker/DatePicker.js";
11
+ import { RadioGroup as A } from "./components/RadioGroup/RadioGroup.js";
12
+ import { DatePicker as L } from "./components/DatePicker/DatePicker.js";
13
13
  import { MergedButton as U } from "./components/MergedButton/MergedButton.js";
14
14
  import { EMergedButtonVariantRound as w } from "./components/MergedButton/constants.js";
15
15
  import { AppImage as F } from "./components/Image/Image.js";
@@ -22,19 +22,19 @@ import { EStepColor as X, EStepsSize as Y } from "./components/Steps/constants.j
22
22
  import { Vote as $ } from "./components/Vote/Vote.js";
23
23
  import { EVoteSize as ro } from "./components/Vote/constants.js";
24
24
  import { SelectSearch as to } from "./components/SelectSearch/SelectSearch.js";
25
- import { ESelectSearchSize as mo } from "./components/SelectSearch/constants.js";
25
+ import { ESelectSearchSize as ao } from "./components/SelectSearch/constants.js";
26
26
  import { CheckboxMimir as io } from "./components/CheckboxMimir/CheckboxMimir.js";
27
27
  import { Tag as xo } from "./components/Tag/Tag.js";
28
- import { ETagSize as uo, ETagType as so } from "./components/Tag/constants.js";
29
- import { Timer as So } from "./components/Timer/Timer.js";
28
+ import { ETagSize as so, ETagType as uo } from "./components/Tag/constants.js";
29
+ import { Timer as Eo } from "./components/Timer/Timer.js";
30
30
  import { Accordion as co } from "./components/Accordion/Accordion.js";
31
31
  import { EAccordionSize as Io } from "./components/Accordion/constants.js";
32
- import { AccordionItem as ko } from "./components/Accordion/AccordionItem/AccordionItem.js";
33
- import { TabTrail as Bo } from "./components/TabTrail/TabTrail.js";
34
- import { ETabTrailSize as ho } from "./components/TabTrail/constants.js";
35
- import { Pagination as Mo } from "./components/Pagination/Pagination.js";
36
- import { ToastProvider as Ao } from "./components/Toasts/ToastsProvider.js";
37
- import { useToast as Lo } from "./components/Toasts/hooks.js";
32
+ import { AccordionItem as ho } from "./components/Accordion/AccordionItem/AccordionItem.js";
33
+ import { TabTrail as zo } from "./components/TabTrail/TabTrail.js";
34
+ import { ETabTrailSize as Bo } from "./components/TabTrail/constants.js";
35
+ import { Pagination as Po } from "./components/Pagination/Pagination.js";
36
+ import { ToastProvider as Ro } from "./components/Toasts/ToastsProvider.js";
37
+ import { useToast as Co } from "./components/Toasts/hooks.js";
38
38
  import { EToastPosition as bo, EToastVariant as Uo } from "./components/Toasts/constants.js";
39
39
  import { UploaderPhotos as wo } from "./components/UploaderPhotos/UploaderPhotos.js";
40
40
  import { UploaderFiles as Fo } from "./components/UploaderFiles/UploaderFiles.js";
@@ -47,49 +47,51 @@ import { Chip as Yo } from "./components/Chip/Chip.js";
47
47
  import { EChipSize as $o, EChipVariant as or } from "./components/Chip/constants.js";
48
48
  import { UniversalUploader as er } from "./components/UniversalUploader/UniversalUploader.js";
49
49
  import { EUploaderType as pr } from "./components/UniversalUploader/constants.js";
50
- import { InputRangeSlider as ar } from "./components/InputRangeSlider/InputRangeSlider.js";
50
+ import { InputRangeSlider as mr } from "./components/InputRangeSlider/InputRangeSlider.js";
51
51
  import { EInputRangeSliderBorderState as fr, EInputRangeSliderPositions as xr } from "./components/InputRangeSlider/constants.js";
52
- import { GosZnak as ur } from "./components/GosZnak/GosZnak.js";
53
- import { EGosZnakSize as Er, EGosZnakType as Sr } from "./components/GosZnak/constants.js";
52
+ import { GosZnak as sr } from "./components/GosZnak/GosZnak.js";
53
+ import { EGosZnakSize as Sr, EGosZnakType as Er } from "./components/GosZnak/constants.js";
54
54
  import { Switcher as dr } from "./components/Switcher/Switcher.js";
55
55
  import { ELabelPositions as Tr } from "./components/Switcher/constants.js";
56
56
  import { TwinSwitcher as gr } from "./components/TwinSwitcher/TwinSwitcher.js";
57
- import { SkeletonBrick as zr } from "./components/Skeleton/SkeletonBrick/SkeletonBrick.js";
57
+ import { SkeletonBrick as kr } from "./components/Skeleton/SkeletonBrick/SkeletonBrick.js";
58
58
  import { SkeletonText as Vr } from "./components/Skeleton/SkeletonText/SkeletonText.js";
59
- import { SkeletonCircle as Pr } from "./components/Skeleton/SkeletonCircle/SkeletonCircle.js";
59
+ import { SkeletonCircle as Mr } from "./components/Skeleton/SkeletonCircle/SkeletonCircle.js";
60
60
  import { ESkeletonVariant as yr } from "./components/Skeleton/constants.js";
61
- import { Avatar as Cr } from "./components/Avatar/Avatar.js";
62
- import { EAvatarSize as Rr } from "./components/Avatar/constants.js";
61
+ import { Avatar as Ar } from "./components/Avatar/Avatar.js";
62
+ import { EAvatarSize as Lr } from "./components/Avatar/constants.js";
63
63
  import { MultiSelectSearch as Ur } from "./components/MultiSelectSearch/MultiSelectSearch.js";
64
64
  import { EMultiSelectSearchSize as wr } from "./components/MultiSelectSearch/constants.js";
65
65
  import { ListFiles as Fr } from "./components/ListFiles/ListFiles.js";
66
66
  import { EFileItemVariant as Nr } from "./components/ListFiles/constants.js";
67
67
  import { ListPhotos as Qr } from "./components/ListPhotos/ListPhotos.js";
68
- import { useMediaQuery as jr } from "./hooks/useMediaQuery/useMediaQuery.js";
69
- import { EMediaQuery as Hr, EMinMediaQuery as Jr } from "./hooks/useMediaQuery/constants.js";
70
- import { useLockBodyScroll as Wr } from "./hooks/useLockBodyScroll/useLockBodyScroll.js";
71
- import { useInterval as Yr } from "./hooks/useInterval/useInterval.js";
72
- import { useTimer as $r } from "./hooks/useTimer/index.js";
73
- import { useCopyToClipboard as re } from "./hooks/useCopyToClipboard/useCopyToClipboard.js";
74
- import { useMergeRefs as te } from "./hooks/useMergeRefs/useMergeRefs.js";
75
- import { useResizeObserver as me } from "./hooks/useResizeObserver/useResizeObserver.js";
76
- import { Icon as ie } from "./icons/Icon.js";
77
- import { formating as xe } from "./utils/index.js";
78
- import { parseDate as ue } from "./utils/formating/Date.js";
68
+ import { MessageShortReply as jr } from "./components/MessageShortReply/MessageShortReply.js";
69
+ import { EMessageShortReplyVariant as Hr } from "./components/MessageShortReply/constants.js";
70
+ import { useMediaQuery as Kr } from "./hooks/useMediaQuery/useMediaQuery.js";
71
+ import { EMediaQuery as Xr, EMinMediaQuery as Yr } from "./hooks/useMediaQuery/constants.js";
72
+ import { useLockBodyScroll as $r } from "./hooks/useLockBodyScroll/useLockBodyScroll.js";
73
+ import { useInterval as re } from "./hooks/useInterval/useInterval.js";
74
+ import { useTimer as te } from "./hooks/useTimer/index.js";
75
+ import { useCopyToClipboard as ae } from "./hooks/useCopyToClipboard/useCopyToClipboard.js";
76
+ import { useMergeRefs as ie } from "./hooks/useMergeRefs/useMergeRefs.js";
77
+ import { useResizeObserver as xe } from "./hooks/useResizeObserver/useResizeObserver.js";
78
+ import { Icon as se } from "./icons/Icon.js";
79
+ import { formating as Se } from "./utils/index.js";
80
+ import { parseDate as le } from "./utils/formating/Date.js";
79
81
  import './assets/index.css';export {
80
82
  co as Accordion,
81
- ko as AccordionItem,
82
- Cr as Avatar,
83
+ ho as AccordionItem,
84
+ Ar as Avatar,
83
85
  e as Button,
84
86
  io as CheckboxMimir,
85
87
  Yo as Chip,
86
- R as DatePicker,
88
+ L as DatePicker,
87
89
  j as Drawer,
88
90
  Io as EAccordionSize,
89
- Rr as EAvatarSize,
91
+ Lr as EAvatarSize,
90
92
  p as EButtonForm,
91
- m as EButtonSize,
92
- a as EButtonVariantBorderless,
93
+ a as EButtonSize,
94
+ m as EButtonVariantBorderless,
93
95
  i as EButtonVariantDefault,
94
96
  f as EButtonVariantOutline,
95
97
  x as EButtonVariantRound,
@@ -97,78 +99,80 @@ import './assets/index.css';export {
97
99
  or as EChipVariant,
98
100
  H as EDrawerPosition,
99
101
  Nr as EFileItemVariant,
100
- Er as EGosZnakSize,
101
- Sr as EGosZnakType,
102
+ Sr as EGosZnakSize,
103
+ Er as EGosZnakType,
102
104
  fr as EInputRangeSliderBorderState,
103
105
  xr as EInputRangeSliderPositions,
104
- E as EInputSize,
105
- S as EInputStatus,
106
+ S as EInputSize,
107
+ E as EInputStatus,
106
108
  l as EInputVariant,
107
109
  Tr as ELabelPositions,
108
110
  jo as ELinkSize,
109
111
  qo as ELinkVariant,
110
- Hr as EMediaQuery,
112
+ Xr as EMediaQuery,
111
113
  w as EMergedButtonVariantRound,
112
- Jr as EMinMediaQuery,
114
+ Hr as EMessageShortReplyVariant,
115
+ Yr as EMinMediaQuery,
113
116
  wr as EMultiSelectSearchSize,
114
117
  Wo as ENotificationBadgeSize,
115
- mo as ESelectSearchSize,
118
+ ao as ESelectSearchSize,
116
119
  yr as ESkeletonVariant,
117
120
  X as EStepColor,
118
121
  Y as EStepsSize,
119
- ho as ETabTrailSize,
120
- uo as ETagSize,
121
- so as ETagType,
122
+ Bo as ETabTrailSize,
123
+ so as ETagSize,
124
+ uo as ETagType,
122
125
  I as ETextAreaInputSize,
123
126
  bo as EToastPosition,
124
127
  Uo as EToastVariant,
125
128
  pr as EUploaderType,
126
129
  ro as EVoteSize,
127
- ur as GosZnak,
128
- ie as Icon,
130
+ sr as GosZnak,
131
+ se as Icon,
129
132
  F as Image,
130
- u as Input,
131
- k as InputPassword,
132
- B as InputPhoneNumber,
133
- ar as InputRangeSlider,
133
+ s as Input,
134
+ h as InputPassword,
135
+ z as InputPhoneNumber,
136
+ mr as InputRangeSlider,
134
137
  Qo as Link,
135
138
  Fr as ListFiles,
136
139
  Qr as ListPhotos,
137
140
  N as Loader,
138
141
  U as MergedButton,
142
+ jr as MessageShortReply,
139
143
  Ur as MultiSelectSearch,
140
144
  Jo as NotificationBadge,
141
145
  y as OtpInput,
142
- Mo as Pagination,
143
- C as RadioGroup,
146
+ Po as Pagination,
147
+ A as RadioGroup,
144
148
  to as SelectSearch,
145
- zr as SkeletonBrick,
146
- Pr as SkeletonCircle,
149
+ kr as SkeletonBrick,
150
+ Mr as SkeletonCircle,
147
151
  Vr as SkeletonText,
148
152
  Q as Slider,
149
153
  K as Steps,
150
154
  dr as Switcher,
151
- Bo as TabTrail,
155
+ zo as TabTrail,
152
156
  xo as Tag,
153
157
  c as TextArea,
154
- So as Timer,
155
- Ao as ToastProvider,
158
+ Eo as Timer,
159
+ Ro as ToastProvider,
156
160
  gr as TwinSwitcher,
157
161
  er as UniversalUploader,
158
162
  No as Uploader,
159
163
  Fo as UploaderFiles,
160
164
  wo as UploaderPhotos,
161
165
  $ as Vote,
162
- xe as formating,
163
- h as getMaskedInputPhoneValue,
164
- P as getUnmaskedInputValue,
165
- ue as parseDate,
166
- re as useCopyToClipboard,
167
- Yr as useInterval,
168
- Wr as useLockBodyScroll,
169
- jr as useMediaQuery,
170
- te as useMergeRefs,
171
- me as useResizeObserver,
172
- $r as useTimer,
173
- Lo as useToast
166
+ Se as formating,
167
+ B as getMaskedInputPhoneValue,
168
+ M as getUnmaskedInputValue,
169
+ le as parseDate,
170
+ ae as useCopyToClipboard,
171
+ re as useInterval,
172
+ $r as useLockBodyScroll,
173
+ Kr as useMediaQuery,
174
+ ie as useMergeRefs,
175
+ xe as useResizeObserver,
176
+ te as useTimer,
177
+ Co as useToast
174
178
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mimir-ui-kit",
3
3
  "private": false,
4
- "version": "1.36.16",
4
+ "version": "1.37.1",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {