mimir-ui-kit 1.17.3 → 1.19.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +62 -62
- package/dist/{Input-D-FCB1FU.js → Input-BFFPzelg.js} +2 -2
- package/dist/assets/Accordion.css +1 -1
- package/dist/assets/Checkbox.css +0 -0
- package/dist/assets/Drawer.css +1 -1
- package/dist/assets/NotificationBadge.css +1 -0
- package/dist/assets/SelectSearch.css +1 -1
- package/dist/assets/Steps.css +1 -1
- package/dist/assets/Switch.css +1 -1
- package/dist/assets/TabTrail.css +1 -1
- package/dist/assets/Vote.css +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/components/Accordion/Accordion.d.ts +3 -1
- package/dist/components/Accordion/Accordion.js +32 -17
- package/dist/components/Accordion/constants.d.ts +8 -0
- package/dist/components/Accordion/constants.js +12 -0
- package/dist/components/Checkbox/Checkbox.d.ts +23 -0
- package/dist/components/Checkbox/Checkbox.js +24 -0
- package/dist/components/Checkbox/constants.d.ts +0 -0
- package/dist/components/Checkbox/constants.js +1 -0
- package/dist/components/Checkbox/index.d.ts +1 -0
- package/dist/components/Checkbox/index.js +4 -0
- package/dist/components/Checkbox/types.d.ts +0 -0
- package/dist/components/Checkbox/types.js +1 -0
- package/dist/components/DatePicker/DatePicker.js +1 -1
- package/dist/components/Drawer/Drawer.js +17 -15
- package/dist/components/Drawer/constants.d.ts +2 -1
- package/dist/components/Drawer/constants.js +1 -0
- 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/NotificationBadge/NotificationBadge.d.ts +3 -0
- package/dist/components/NotificationBadge/NotificationBadge.js +38 -0
- package/dist/components/NotificationBadge/constants.d.ts +4 -0
- package/dist/components/NotificationBadge/constants.js +8 -0
- package/dist/components/NotificationBadge/index.d.ts +3 -0
- package/dist/components/NotificationBadge/index.js +6 -0
- package/dist/components/NotificationBadge/types.d.ts +25 -0
- package/dist/components/NotificationBadge/types.js +1 -0
- package/dist/components/OtpInput/OtpInput.js +1 -1
- package/dist/components/SelectSearch/SelectSearch.js +48 -29
- package/dist/components/SelectSearch/types.d.ts +8 -0
- package/dist/components/Steps/Steps.d.ts +9 -9
- package/dist/components/Steps/Steps.js +18 -34
- package/dist/components/Steps/constants.d.ts +6 -13
- package/dist/components/Steps/constants.js +9 -20
- package/dist/components/Steps/index.d.ts +2 -2
- package/dist/components/Steps/index.js +2 -3
- package/dist/components/Steps/types.d.ts +5 -1
- package/dist/components/Switch/Switch.d.ts +7 -2
- package/dist/components/Switch/Switch.js +24 -17
- package/dist/components/TabTrail/TabTrail.d.ts +24 -0
- package/dist/components/TabTrail/TabTrail.js +18 -17
- package/dist/components/TextArea/TextArea.js +3 -3
- package/dist/components/Vote/Vote.d.ts +19 -13
- package/dist/components/Vote/Vote.js +43 -64
- package/dist/components/index.d.ts +4 -1
- package/dist/components/index.js +7 -4
- package/dist/hooks/useMediaQuery/useMediaQuery.d.ts +2 -2
- package/dist/index.js +7 -4
- package/package.json +1 -1
@@ -4,8 +4,7 @@ import * as React from "react";
|
|
4
4
|
import React__default, { useRef, useState, createContext, useReducer, useMemo, useId, useContext, forwardRef, useEffect } from "react";
|
5
5
|
import { ETabTrailSize } from "./constants.js";
|
6
6
|
import { TabButtons } from "./TabButtons/TabButtons.js";
|
7
|
-
import {
|
8
|
-
import { EMediaQuery } from "../../hooks/useMediaQuery/constants.js";
|
7
|
+
import { NotificationBadge } from "../NotificationBadge/NotificationBadge.js";
|
9
8
|
import { n, M, W, s as s$3, y, o, H, $ as $f7dceffc5ad7768b$export$4e328f61c538687f, b as $6179b936705e76d3$export$ae780daf29e6d456, D, a as u, u as u$1, c as o$1, t } from "../../keyboard-B256ZoM-.js";
|
10
9
|
import { w } from "../../use-active-press-B6yeSopF.js";
|
11
10
|
import { T as T$1 } from "../../use-resolve-button-type-B6LE6gU3.js";
|
@@ -200,18 +199,18 @@ function He(e, r) {
|
|
200
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" });
|
201
200
|
}
|
202
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 });
|
203
|
-
const container = "
|
204
|
-
const group = "
|
205
|
-
const tab = "
|
206
|
-
const list = "
|
207
|
-
const tabs = "
|
208
|
-
const buttons = "
|
209
|
-
const m = "
|
210
|
-
const s = "
|
202
|
+
const container = "_container_5jk4g_2";
|
203
|
+
const group = "_group_5jk4g_6";
|
204
|
+
const tab = "_tab_5jk4g_16";
|
205
|
+
const list = "_list_5jk4g_51";
|
206
|
+
const tabs = "_tabs_5jk4g_62";
|
207
|
+
const buttons = "_buttons_5jk4g_68";
|
208
|
+
const m = "_m_5jk4g_75";
|
209
|
+
const s = "_s_5jk4g_82";
|
211
210
|
const cls = {
|
212
211
|
container,
|
213
212
|
group,
|
214
|
-
"group-inner": "_group-
|
213
|
+
"group-inner": "_group-inner_5jk4g_10",
|
215
214
|
tab,
|
216
215
|
list,
|
217
216
|
tabs,
|
@@ -220,10 +219,9 @@ const cls = {
|
|
220
219
|
s
|
221
220
|
};
|
222
221
|
const TabTrail = forwardRef(
|
223
|
-
({ categories, size = ETabTrailSize.M }, ref) => {
|
222
|
+
({ categories, size = ETabTrailSize.M, showButtons = true, className }, ref) => {
|
224
223
|
const [activeIndex, setActiveIndex] = useState(0);
|
225
224
|
const tabListRef = useRef(null);
|
226
|
-
const isTablet = useMediaQuery(EMediaQuery.S);
|
227
225
|
const handleNext = () => {
|
228
226
|
setActiveIndex((prevIndex) => (prevIndex + 1) % categories.length);
|
229
227
|
};
|
@@ -249,21 +247,24 @@ const TabTrail = forwardRef(
|
|
249
247
|
Oe,
|
250
248
|
{
|
251
249
|
ref,
|
252
|
-
className: classNames(cls.group, cls[size]),
|
250
|
+
className: classNames(cls.group, cls[size], className),
|
253
251
|
selectedIndex: activeIndex,
|
254
252
|
onChange: setActiveIndex,
|
255
253
|
children: [
|
256
254
|
/* @__PURE__ */ jsxs("div", { className: cls["group-inner"], children: [
|
257
|
-
/* @__PURE__ */ jsx(Ne, { ref: tabListRef, className: cls.list, children: /* @__PURE__ */ jsx("div", { className: cls.tabs, children: categories.map(({ name }, index) => /* @__PURE__ */
|
255
|
+
/* @__PURE__ */ jsx(Ne, { ref: tabListRef, className: cls.list, children: /* @__PURE__ */ jsx("div", { className: cls.tabs, children: categories.map(({ name, notificationCount }, index) => /* @__PURE__ */ jsxs(
|
258
256
|
st,
|
259
257
|
{
|
260
258
|
className: `${cls.tab} ${activeIndex === index ? 'data-active="true"' : ""}`,
|
261
259
|
"data-active": activeIndex === index,
|
262
|
-
children:
|
260
|
+
children: [
|
261
|
+
name,
|
262
|
+
notificationCount && /* @__PURE__ */ jsx(NotificationBadge, { count: notificationCount, size: "m" })
|
263
|
+
]
|
263
264
|
},
|
264
265
|
name
|
265
266
|
)) }) }),
|
266
|
-
|
267
|
+
showButtons && /* @__PURE__ */ jsx("div", { className: cls.buttons, children: /* @__PURE__ */ jsx(
|
267
268
|
TabButtons,
|
268
269
|
{
|
269
270
|
handlePrevTab: handlePrev,
|
@@ -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-BFFPzelg.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,7 +62,6 @@ const TextArea = memo(
|
|
62
62
|
id,
|
63
63
|
onFocus,
|
64
64
|
onBlur,
|
65
|
-
onChange,
|
66
65
|
label,
|
67
66
|
withClearButton,
|
68
67
|
disabled,
|
@@ -105,10 +104,11 @@ const TextArea = memo(
|
|
105
104
|
}
|
106
105
|
};
|
107
106
|
const handleChange = (event) => {
|
107
|
+
var _a;
|
108
108
|
const targetValue = event.target.value;
|
109
109
|
setWithValue(!!targetValue);
|
110
110
|
handleResize();
|
111
|
-
onChange == null ? void 0 :
|
111
|
+
(_a = otherProps == null ? void 0 : otherProps.onChange) == null ? void 0 : _a.call(otherProps, event);
|
112
112
|
};
|
113
113
|
const currentLeftAddon = renderAddon(leftAddon);
|
114
114
|
const currentRightAddon = renderAddon(rightAddon);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { TCommonVoteProps } from './types';
|
2
|
-
import {
|
2
|
+
import { TStepsZone } from '../Steps/types.ts';
|
3
3
|
|
4
4
|
export type TProps = TCommonVoteProps & {
|
5
5
|
/**
|
@@ -47,17 +47,20 @@ export type TProps = TCommonVoteProps & {
|
|
47
47
|
*/
|
48
48
|
disabled?: boolean;
|
49
49
|
/**
|
50
|
-
*
|
50
|
+
* Зоны для рахделения шагов по цветам
|
51
51
|
*/
|
52
|
-
|
52
|
+
zones?: TStepsZone[];
|
53
53
|
/**
|
54
|
-
* Цвет
|
54
|
+
* Цвет круга шага с баллом, если оценка не установлена и шага, если он не выбран
|
55
55
|
*/
|
56
|
-
|
56
|
+
unselectedColor?: string;
|
57
57
|
/**
|
58
|
-
*
|
58
|
+
* Цвет текста в круге с баллом
|
59
59
|
*/
|
60
|
-
|
60
|
+
scoreTextColor?: {
|
61
|
+
unselected: string;
|
62
|
+
selected: string;
|
63
|
+
};
|
61
64
|
};
|
62
65
|
export declare const Vote: import('react').ForwardRefExoticComponent<TCommonVoteProps & {
|
63
66
|
/**
|
@@ -105,15 +108,18 @@ export declare const Vote: import('react').ForwardRefExoticComponent<TCommonVote
|
|
105
108
|
*/
|
106
109
|
disabled?: boolean;
|
107
110
|
/**
|
108
|
-
*
|
111
|
+
* Зоны для рахделения шагов по цветам
|
109
112
|
*/
|
110
|
-
|
113
|
+
zones?: TStepsZone[];
|
111
114
|
/**
|
112
|
-
* Цвет
|
115
|
+
* Цвет круга шага с баллом, если оценка не установлена и шага, если он не выбран
|
113
116
|
*/
|
114
|
-
|
117
|
+
unselectedColor?: string;
|
115
118
|
/**
|
116
|
-
*
|
119
|
+
* Цвет текста в круге с баллом
|
117
120
|
*/
|
118
|
-
|
121
|
+
scoreTextColor?: {
|
122
|
+
unselected: string;
|
123
|
+
selected: string;
|
124
|
+
};
|
119
125
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
@@ -1,32 +1,19 @@
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
2
2
|
import { c as classNames } from "../../index-CweZ_OcN.js";
|
3
3
|
import { forwardRef, useState, useEffect } from "react";
|
4
|
-
import { DEFAULT_TITLE, EVoteSize,
|
5
|
-
import { ZERO_STEP, EStepsPrimaryColor, EStepsSecondaryColor } from "../Steps/constants.js";
|
4
|
+
import { DEFAULT_TITLE, EVoteSize, ZERO_VALUE } from "./constants.js";
|
6
5
|
import { Steps } from "../Steps/Steps.js";
|
7
|
-
import
|
8
|
-
const
|
9
|
-
const
|
10
|
-
const
|
11
|
-
const LIGHT_GRAY = "_LIGHT_GRAY_4roqw_29";
|
12
|
-
const WHITE = "_WHITE_4roqw_32";
|
13
|
-
const LIGHT_SAPPHIRE = "_LIGHT_SAPPHIRE_4roqw_36";
|
14
|
-
const GRAY = "_GRAY_4roqw_39";
|
15
|
-
const CITRINE = "_CITRINE_4roqw_42";
|
16
|
-
const SAPPHIRE = "_SAPPHIRE_4roqw_45";
|
6
|
+
import { ZERO_STEP } from "../Steps/constants.js";
|
7
|
+
import '../../assets/Vote.css';const container = "_container_1akd9_2";
|
8
|
+
const title = "_title_1akd9_9";
|
9
|
+
const score = "_score_1akd9_16";
|
17
10
|
const cls = {
|
18
11
|
container,
|
19
12
|
title,
|
20
|
-
score
|
21
|
-
zero,
|
22
|
-
LIGHT_GRAY,
|
23
|
-
WHITE,
|
24
|
-
LIGHT_SAPPHIRE,
|
25
|
-
GRAY,
|
26
|
-
CITRINE,
|
27
|
-
SAPPHIRE
|
13
|
+
score
|
28
14
|
};
|
29
15
|
const Vote = forwardRef((props, ref) => {
|
16
|
+
var _a;
|
30
17
|
const {
|
31
18
|
rootClassName,
|
32
19
|
titleClassName,
|
@@ -40,12 +27,14 @@ const Vote = forwardRef((props, ref) => {
|
|
40
27
|
size = EVoteSize.M,
|
41
28
|
onClick,
|
42
29
|
disabled = false,
|
43
|
-
|
44
|
-
|
45
|
-
|
30
|
+
zones = [{ color: "#ff0000", to: quantity }],
|
31
|
+
unselectedColor = "#ffffff",
|
32
|
+
scoreTextColor = {
|
33
|
+
unselected: "#000000",
|
34
|
+
selected: "#ffffff"
|
35
|
+
}
|
46
36
|
} = props;
|
47
37
|
const [score2, setScore] = useState(current);
|
48
|
-
const [color, setColor] = useState(primaryColor);
|
49
38
|
const isZeroStep = score2 === ZERO_STEP;
|
50
39
|
useEffect(() => {
|
51
40
|
setScore(current);
|
@@ -54,46 +43,36 @@ const Vote = forwardRef((props, ref) => {
|
|
54
43
|
setScore(step);
|
55
44
|
onClick && onClick(step);
|
56
45
|
};
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
editable: true,
|
88
|
-
disabled,
|
89
|
-
onClick: handleStepsClick,
|
90
|
-
primaryColor: color,
|
91
|
-
secondaryColor
|
92
|
-
}
|
93
|
-
)
|
94
|
-
]
|
95
|
-
}
|
96
|
-
);
|
46
|
+
const backgroundColor = isZeroStep ? unselectedColor : ((_a = zones == null ? void 0 : zones.find((zone) => score2 <= zone.to)) == null ? void 0 : _a.color) || unselectedColor;
|
47
|
+
return /* @__PURE__ */ jsxs("div", { className: classNames(cls.container, rootClassName), ref, children: [
|
48
|
+
!withoutTitle && /* @__PURE__ */ jsx("p", { className: classNames(cls.title, titleClassName), children: title2 }),
|
49
|
+
/* @__PURE__ */ jsx(
|
50
|
+
"div",
|
51
|
+
{
|
52
|
+
className: classNames(cls.score, scoreClassName),
|
53
|
+
style: {
|
54
|
+
backgroundColor,
|
55
|
+
color: isZeroStep ? scoreTextColor.unselected : scoreTextColor.selected
|
56
|
+
},
|
57
|
+
children: isZeroStep ? ZERO_VALUE : score2
|
58
|
+
}
|
59
|
+
),
|
60
|
+
/* @__PURE__ */ jsx(
|
61
|
+
Steps,
|
62
|
+
{
|
63
|
+
rootClassName: stepsRootClassName,
|
64
|
+
stepClassName: stepsStepClassName,
|
65
|
+
quantity,
|
66
|
+
size,
|
67
|
+
current: score2,
|
68
|
+
editable: true,
|
69
|
+
disabled,
|
70
|
+
onClick: handleStepsClick,
|
71
|
+
zones,
|
72
|
+
unselectedColor
|
73
|
+
}
|
74
|
+
)
|
75
|
+
] });
|
97
76
|
});
|
98
77
|
export {
|
99
78
|
Vote
|
@@ -19,7 +19,7 @@ export { Loader } from './Loader';
|
|
19
19
|
export { Slider } from './Slider';
|
20
20
|
export { Drawer } from './Drawer';
|
21
21
|
export { EDrawerPosition } from './Drawer';
|
22
|
-
export { Steps,
|
22
|
+
export { Steps, EStepsSize, EStepColor, type TCommonStepsProps } from './Steps';
|
23
23
|
export { Vote, EVoteSize, type TCommonVoteProps } from './Vote';
|
24
24
|
export { SelectSearch, ESelectSearchSize } from './SelectSearch';
|
25
25
|
export type { TSelectSearchProps, TSelectOption } from './SelectSearch';
|
@@ -38,3 +38,6 @@ export type { TUploaderPhotos, TOnChangePhotosUpdate } from './UploaderPhotos';
|
|
38
38
|
export { Uploader } from './Uploader';
|
39
39
|
export type { TUploadValue, TFileItem } from './Uploader';
|
40
40
|
export { ELinkSize, ELinkVariant, Link } from './AnchorLink';
|
41
|
+
export { NotificationBadge } from './NotificationBadge';
|
42
|
+
export type { TNotificationBadgeProps } from './NotificationBadge';
|
43
|
+
export { ENotificationBadgeSize } from './NotificationBadge';
|
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-BFFPzelg.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";
|
@@ -17,7 +17,7 @@ import { Slider } from "./Slider/Slider.js";
|
|
17
17
|
import { Drawer } from "./Drawer/Drawer.js";
|
18
18
|
import { EDrawerPosition } from "./Drawer/constants.js";
|
19
19
|
import { Steps } from "./Steps/Steps.js";
|
20
|
-
import {
|
20
|
+
import { EStepColor, EStepsSize } from "./Steps/constants.js";
|
21
21
|
import { Vote } from "./Vote/Vote.js";
|
22
22
|
import { EVoteSize } from "./Vote/constants.js";
|
23
23
|
import { SelectSearch } from "./SelectSearch/SelectSearch.js";
|
@@ -39,6 +39,8 @@ import { UploaderPhotos } from "./UploaderPhotos/UploaderPhotos.js";
|
|
39
39
|
import { Uploader } from "./Uploader/Uploader.js";
|
40
40
|
import { Link } from "./AnchorLink/AnchorLink.js";
|
41
41
|
import { ELinkSize, ELinkVariant } from "./AnchorLink/constants.js";
|
42
|
+
import { NotificationBadge } from "./NotificationBadge/NotificationBadge.js";
|
43
|
+
import { ENotificationBadgeSize } from "./NotificationBadge/constants.js";
|
42
44
|
export {
|
43
45
|
Accordion,
|
44
46
|
AccordionItem,
|
@@ -57,9 +59,9 @@ export {
|
|
57
59
|
ELinkSize,
|
58
60
|
ELinkVariant,
|
59
61
|
EMergedButtonVariantRound,
|
62
|
+
ENotificationBadgeSize,
|
60
63
|
ESelectSearchSize,
|
61
|
-
|
62
|
-
EStepsSecondaryColor,
|
64
|
+
EStepColor,
|
63
65
|
EStepsSize,
|
64
66
|
ETabTrailSize,
|
65
67
|
ETagSize,
|
@@ -74,6 +76,7 @@ export {
|
|
74
76
|
Link,
|
75
77
|
Loader,
|
76
78
|
MergedButton,
|
79
|
+
NotificationBadge,
|
77
80
|
OtpInput,
|
78
81
|
Pagination,
|
79
82
|
RadioGroup,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { EMediaQuery } from './constants';
|
1
|
+
import { EMediaQuery, EMinMediaQuery } from './constants';
|
2
2
|
|
3
3
|
/**
|
4
4
|
* @name useMediaQuery
|
@@ -11,4 +11,4 @@ import { EMediaQuery } from './constants';
|
|
11
11
|
* @example
|
12
12
|
* const matches = useMediaQuery('(max-width: 768px)');
|
13
13
|
*/
|
14
|
-
export declare const useMediaQuery: (query: EMediaQuery | `${EMediaQuery}`) => boolean;
|
14
|
+
export declare const useMediaQuery: (query: EMediaQuery | `${EMediaQuery}` | EMinMediaQuery | `${EMinMediaQuery}`) => boolean;
|
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-BFFPzelg.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";
|
@@ -17,7 +17,7 @@ import { Slider } from "./components/Slider/Slider.js";
|
|
17
17
|
import { Drawer } from "./components/Drawer/Drawer.js";
|
18
18
|
import { EDrawerPosition } from "./components/Drawer/constants.js";
|
19
19
|
import { Steps } from "./components/Steps/Steps.js";
|
20
|
-
import {
|
20
|
+
import { EStepColor, EStepsSize } from "./components/Steps/constants.js";
|
21
21
|
import { Vote } from "./components/Vote/Vote.js";
|
22
22
|
import { EVoteSize } from "./components/Vote/constants.js";
|
23
23
|
import { SelectSearch } from "./components/SelectSearch/SelectSearch.js";
|
@@ -39,6 +39,8 @@ import { UploaderPhotos } from "./components/UploaderPhotos/UploaderPhotos.js";
|
|
39
39
|
import { Uploader } from "./components/Uploader/Uploader.js";
|
40
40
|
import { Link } from "./components/AnchorLink/AnchorLink.js";
|
41
41
|
import { ELinkSize, ELinkVariant } from "./components/AnchorLink/constants.js";
|
42
|
+
import { NotificationBadge } from "./components/NotificationBadge/NotificationBadge.js";
|
43
|
+
import { ENotificationBadgeSize } from "./components/NotificationBadge/constants.js";
|
42
44
|
import { useMediaQuery } from "./hooks/useMediaQuery/useMediaQuery.js";
|
43
45
|
import { EMediaQuery, EMinMediaQuery } from "./hooks/useMediaQuery/constants.js";
|
44
46
|
import { useLockBodyScroll } from "./hooks/useLockBodyScroll/useLockBodyScroll.js";
|
@@ -68,9 +70,9 @@ import './assets/index.css';export {
|
|
68
70
|
EMediaQuery,
|
69
71
|
EMergedButtonVariantRound,
|
70
72
|
EMinMediaQuery,
|
73
|
+
ENotificationBadgeSize,
|
71
74
|
ESelectSearchSize,
|
72
|
-
|
73
|
-
EStepsSecondaryColor,
|
75
|
+
EStepColor,
|
74
76
|
EStepsSize,
|
75
77
|
ETabTrailSize,
|
76
78
|
ETagSize,
|
@@ -86,6 +88,7 @@ import './assets/index.css';export {
|
|
86
88
|
Link,
|
87
89
|
Loader,
|
88
90
|
MergedButton,
|
91
|
+
NotificationBadge,
|
89
92
|
OtpInput,
|
90
93
|
Pagination,
|
91
94
|
RadioGroup,
|