mimir-ui-kit 1.43.28 → 1.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Input-IzZ6B9kw.js +232 -0
- package/dist/assets/Avatar.css +1 -1
- package/dist/assets/Chip.css +1 -1
- package/dist/assets/CopyText.css +1 -0
- package/dist/assets/Counter.css +1 -0
- package/dist/assets/DropdownSelect.css +1 -0
- package/dist/assets/Input.css +1 -1
- package/dist/assets/Pagination.css +1 -1
- package/dist/assets/SelectSearch.css +1 -1
- package/dist/assets/TabTrail.css +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/assets/styles.css +1 -1
- package/dist/components/Avatar/Avatar.d.ts +1 -1
- package/dist/components/Avatar/Avatar.js +41 -37
- package/dist/components/Avatar/constants.d.ts +5 -0
- package/dist/components/Avatar/constants.js +3 -2
- package/dist/components/Avatar/index.d.ts +1 -0
- package/dist/components/Avatar/index.js +5 -4
- package/dist/components/Avatar/types.d.ts +3 -1
- package/dist/components/Chip/Chip.d.ts +5 -1
- package/dist/components/Chip/Chip.js +45 -36
- package/dist/components/Chip/constants.d.ts +5 -1
- package/dist/components/Chip/constants.js +3 -3
- package/dist/components/CopyText/CopyText.d.ts +3 -0
- package/dist/components/CopyText/CopyText.js +96 -0
- package/dist/components/CopyText/index.d.ts +2 -0
- package/dist/components/CopyText/index.js +4 -0
- package/dist/components/CopyText/types.d.ts +32 -0
- package/dist/components/DatePicker/DatePicker.d.ts +11 -0
- package/dist/components/DatePicker/DatePicker.js +96 -93
- 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/DatePicker/constants.d.ts +6 -0
- package/dist/components/DatePicker/constants.js +13 -12
- package/dist/components/DatePicker/index.d.ts +1 -0
- package/dist/components/DatePicker/index.js +3 -1
- package/dist/components/DropdownSelect/DropdownSelect.d.ts +3 -0
- package/dist/components/DropdownSelect/DropdownSelect.js +115 -0
- package/dist/components/DropdownSelect/constants.d.ts +5 -0
- package/dist/components/DropdownSelect/constants.js +4 -0
- package/dist/components/DropdownSelect/index.d.ts +3 -0
- package/dist/components/DropdownSelect/index.js +6 -0
- package/dist/components/DropdownSelect/types.d.ts +56 -0
- package/dist/components/Input/Input.d.ts +5 -0
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/Input/constants.d.ts +6 -0
- package/dist/components/Input/constants.js +4 -3
- package/dist/components/Input/index.js +1 -1
- package/dist/components/InputPassword/InputPassword.js +1 -1
- package/dist/components/InputPhoneNumber/InputPhoneNumber.js +1 -1
- package/dist/components/MultiSelectSearch/MultiSelectSearch.js +1 -1
- package/dist/components/MultiSelectSearch/utils.js +1 -1
- package/dist/components/OtpInput/OtpInput.js +1 -1
- package/dist/components/Pagination/Counter/Counter.d.ts +9 -0
- package/dist/components/Pagination/Counter/Counter.js +28 -0
- package/dist/components/Pagination/Pagination.d.ts +17 -0
- package/dist/components/Pagination/Pagination.js +167 -126
- package/dist/components/Pagination/constants.d.ts +6 -0
- package/dist/components/Pagination/constants.js +5 -3
- package/dist/components/Pagination/index.d.ts +1 -0
- package/dist/components/Pagination/index.js +4 -2
- package/dist/components/SelectSearch/SelectSearch.d.ts +2 -1
- package/dist/components/SelectSearch/SelectSearch.js +193 -187
- package/dist/components/SelectSearch/constants.d.ts +6 -0
- package/dist/components/SelectSearch/constants.js +7 -5
- package/dist/components/SelectSearch/index.d.ts +1 -1
- package/dist/components/SelectSearch/index.js +5 -4
- package/dist/components/SelectSearch/types.d.ts +6 -1
- package/dist/components/SelectSearch/utils.js +1 -1
- package/dist/components/TabTrail/TabTrail.d.ts +16 -0
- package/dist/components/TabTrail/TabTrail.js +257 -220
- package/dist/components/TextArea/TextArea.js +1 -1
- package/dist/components/index.d.ts +8 -4
- package/dist/components/index.js +178 -166
- package/dist/index.js +203 -191
- package/dist/styles.module-D3nnIVCZ.js +31 -0
- package/package.json +1 -1
- package/dist/Input-BU_6U1CW.js +0 -227
- package/dist/styles.module-Cuqm31CO.js +0 -28
@@ -1,8 +1,10 @@
|
|
1
|
-
var p = /* @__PURE__ */ ((
|
2
|
-
const
|
1
|
+
var p = /* @__PURE__ */ ((n) => (n.S = "s", n.M = "m", n.L = "l", n))(p || {}), o = /* @__PURE__ */ ((n) => (n.Input = "input", n.Dropdown = "dropdown", n.Both = "both", n.None = "none", n))(o || {});
|
2
|
+
const M = 240, N = 320;
|
3
|
+
var H = /* @__PURE__ */ ((n) => (n.All = "all", n.Left = "left", n.Right = "right", n.None = "none", n))(H || {});
|
3
4
|
export {
|
4
|
-
|
5
|
-
|
5
|
+
N as DESKTOP_MENU_HEIGHT,
|
6
|
+
o as ELoadingIndicatorPlacement,
|
7
|
+
H as ESelectSearchBorderRadius,
|
6
8
|
p as ESelectSearchSize,
|
7
|
-
|
9
|
+
M as MOBILE_MENU_HEIGHT
|
8
10
|
};
|
@@ -1,3 +1,3 @@
|
|
1
1
|
export { SelectSearch } from './SelectSearch';
|
2
2
|
export type { TSelectSearchProps, TSelectOption } from './types';
|
3
|
-
export { ESelectSearchSize, ELoadingIndicatorPlacement as ESSLoadingPlacement } from './constants';
|
3
|
+
export { ESelectSearchSize, ELoadingIndicatorPlacement as ESSLoadingPlacement, ESelectSearchBorderRadius } from './constants';
|
@@ -1,7 +1,8 @@
|
|
1
|
-
import { SelectSearch as
|
2
|
-
import { ELoadingIndicatorPlacement as
|
1
|
+
import { SelectSearch as r } from "./SelectSearch.js";
|
2
|
+
import { ELoadingIndicatorPlacement as S, ESelectSearchBorderRadius as o, ESelectSearchSize as t } from "./constants.js";
|
3
3
|
export {
|
4
|
-
|
4
|
+
S as ESSLoadingPlacement,
|
5
|
+
o as ESelectSearchBorderRadius,
|
5
6
|
t as ESelectSearchSize,
|
6
|
-
|
7
|
+
r as SelectSearch
|
7
8
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ReactNode } from 'react';
|
2
|
-
import { ELoadingIndicatorPlacement, ESelectSearchSize } from './constants';
|
2
|
+
import { ELoadingIndicatorPlacement, ESelectSearchBorderRadius, ESelectSearchSize } from './constants';
|
3
3
|
import { TInputProps } from '../Input';
|
4
4
|
|
5
5
|
export type TSelectOption = {
|
@@ -99,4 +99,9 @@ export type TSelectSearchProps = Pick<TInputProps, 'withClearButton' | 'variant'
|
|
99
99
|
* Автоматическое определение положения выпадающего меню
|
100
100
|
*/
|
101
101
|
autoPlacement?: boolean;
|
102
|
+
/**
|
103
|
+
* Управление скруглениями углов компонента
|
104
|
+
* @default 'all'
|
105
|
+
*/
|
106
|
+
borderRadius?: ESelectSearchBorderRadius | `${ESelectSearchBorderRadius}`;
|
102
107
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ESelectSearchSize as t, MOBILE_MENU_HEIGHT as i, DESKTOP_MENU_HEIGHT as a } from "./constants.js";
|
2
|
-
import "../../Input-
|
2
|
+
import "../../Input-IzZ6B9kw.js";
|
3
3
|
import { EInputSize as s } from "../Input/constants.js";
|
4
4
|
const h = (r) => {
|
5
5
|
switch (r) {
|
@@ -15,6 +15,18 @@ export type TCategoryTab = {
|
|
15
15
|
* Количество уведомлений для компонента NotificationBadge.
|
16
16
|
*/
|
17
17
|
notificationCount?: number;
|
18
|
+
/**
|
19
|
+
* Значение для detailed варианта таба.
|
20
|
+
*/
|
21
|
+
value?: string;
|
22
|
+
/**
|
23
|
+
* Цвет значения для detailed варианта таба.
|
24
|
+
*/
|
25
|
+
valueColor?: string;
|
26
|
+
/**
|
27
|
+
* Цвет нижней границы для detailed варианта таба.
|
28
|
+
*/
|
29
|
+
borderColor?: string;
|
18
30
|
};
|
19
31
|
export type TTabTrailProps = {
|
20
32
|
/**
|
@@ -73,5 +85,9 @@ export type TTabTrailProps = {
|
|
73
85
|
* Иконки для табов. Ключи - индексы табов, значения - названия иконок.
|
74
86
|
*/
|
75
87
|
tabIcons?: Record<number, TIcon>;
|
88
|
+
/**
|
89
|
+
* Вариант отображения табов
|
90
|
+
*/
|
91
|
+
variant?: 'default' | 'detailed';
|
76
92
|
};
|
77
93
|
export declare const TabTrail: import('react').ForwardRefExoticComponent<TTabTrailProps & import('react').RefAttributes<HTMLElement>>;
|