@itcase/ui 1.8.31 → 1.8.33
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/{Avatar_cjs_DRaNGlad.js → Avatar_cjs_kADy_b4o.js} +1 -1
- package/dist/{Avatar_es_Ck1RiTgB.js → Avatar_es_DbGpnL99.js} +1 -1
- package/dist/{Button_cjs_CnBP4mKv.js → Button_cjs_CW6ENTbm.js} +1 -1
- package/dist/{Button_es_WG0yV-rp.js → Button_es_DTUagqgU.js} +1 -1
- package/dist/{ChipsGroup_cjs_BCnPa9xv.js → ChipsGroup_cjs_DdWjvr_S.js} +1 -1
- package/dist/{ChipsGroup_es_1854brF_.js → ChipsGroup_es_CXS0aeon.js} +1 -1
- package/dist/{DatePicker_cjs_Cbv3ffoB.js → DatePicker_cjs_CJl9V32f.js} +11 -11
- package/dist/{DatePicker_es_DGck2HRu.js → DatePicker_es_C2Pi6aB-.js} +12 -12
- package/dist/{DropdownItem_cjs_C3BV7axh.js → DropdownItem_cjs_D-zoX7Ik.js} +1 -1
- package/dist/{DropdownItem_es_VDp5tKZr.js → DropdownItem_es_BMnIhUSe.js} +1 -1
- package/dist/{Input_cjs_BAVggtkk.js → Input_cjs_arr_wxD2.js} +21 -20
- package/dist/{Input_es_CNduH28G.js → Input_es_BW6cZThr.js} +21 -20
- package/dist/{Label_cjs_CqSZcFNk.js → Label_cjs_CZMMdwt5.js} +1 -1
- package/dist/{Label_es_s3M2-dON.js → Label_es_DmDqs4Rc.js} +1 -1
- package/dist/{Tooltip_cjs_BE4fABOp.js → Tooltip_cjs_DinScDnC.js} +4 -2
- package/dist/{Tooltip_es_BPMRrd2L.js → Tooltip_es_B0nm9irO.js} +4 -2
- package/dist/cjs/components/Accordion.js +8 -8
- package/dist/cjs/components/Avatar.js +2 -2
- package/dist/cjs/components/AvatarStack.js +2 -2
- package/dist/cjs/components/Badge.js +1 -1
- package/dist/cjs/components/Breadcrumbs/stories/__mock__.js +5 -5
- package/dist/cjs/components/Breadcrumbs.js +1 -1
- package/dist/cjs/components/Button.js +2 -2
- package/dist/cjs/components/Cell/stories/__mock__.js +4 -4
- package/dist/cjs/components/Cell.js +2 -2
- package/dist/cjs/components/Chips.js +2 -2
- package/dist/cjs/components/Choice/stories/__mock__.js +68 -8
- package/dist/cjs/components/Choice.js +20 -15
- package/dist/cjs/components/Code.js +46 -58
- package/dist/cjs/components/CookiesWarning.js +2 -2
- package/dist/cjs/components/{DadataHintField.js → Dadata.js} +3 -3
- package/dist/cjs/components/DatePeriod.js +6 -6
- package/dist/cjs/components/DatePicker.js +5 -5
- package/dist/cjs/components/Drawer.js +7 -7
- package/dist/cjs/components/Dropdown/stories/__mock__.js +19 -4
- package/dist/cjs/components/Dropdown.js +2 -2
- package/dist/cjs/components/HeroTitle.js +1 -1
- package/dist/cjs/components/Icon.js +1 -1
- package/dist/cjs/components/Input.js +1 -1
- package/dist/cjs/components/InputPassword.js +1 -1
- package/dist/cjs/components/Label.js +2 -2
- package/dist/cjs/components/MenuItem.js +4 -2
- package/dist/cjs/components/Modal.js +1 -1
- package/dist/cjs/components/Notification.js +5 -5
- package/dist/cjs/components/Pagination.js +91 -19
- package/dist/cjs/components/Response.js +2 -2
- package/dist/cjs/components/ScrollOnDrag/stories/__mock__.js +15 -0
- package/dist/cjs/components/Scrollbar/stories/__mock__.js +7 -0
- package/dist/cjs/components/Search.js +28 -27
- package/dist/cjs/components/Segmented.js +1 -1
- package/dist/cjs/components/Select.js +1 -1
- package/dist/cjs/components/Swiper/stories/__mock__.js +16 -0
- package/dist/cjs/components/Swiper.js +1 -1
- package/dist/cjs/components/Tab/stories/__mock__.js +6 -1
- package/dist/cjs/components/Tab.js +1 -1
- package/dist/cjs/components/Tile.js +1 -1
- package/dist/cjs/components/Title.js +1 -1
- package/dist/cjs/components/Tooltip.js +1 -1
- package/dist/cjs/context/Notifications.js +6 -6
- package/dist/components/Accordion.js +9 -9
- package/dist/components/Avatar.js +2 -2
- package/dist/components/AvatarStack.js +2 -2
- package/dist/components/Badge.js +1 -1
- package/dist/components/Breadcrumbs/stories/__mock__.js +6 -6
- package/dist/components/Breadcrumbs.js +1 -1
- package/dist/components/Button.js +2 -2
- package/dist/components/Cell/stories/__mock__.js +4 -4
- package/dist/components/Cell.js +2 -2
- package/dist/components/Chips.js +2 -2
- package/dist/components/Choice/stories/__mock__.js +67 -8
- package/dist/components/Choice.js +20 -15
- package/dist/components/Code.js +46 -58
- package/dist/components/CookiesWarning.js +2 -2
- package/dist/components/{DadataHintField.js → Dadata.js} +3 -3
- package/dist/components/DatePeriod.js +6 -6
- package/dist/components/DatePicker.js +5 -5
- package/dist/components/Drawer.js +8 -8
- package/dist/components/Dropdown/stories/__mock__.js +20 -5
- package/dist/components/Dropdown.js +2 -2
- package/dist/components/HeroTitle.js +1 -1
- package/dist/components/Icon.js +1 -1
- package/dist/components/Input.js +1 -1
- package/dist/components/InputPassword.js +1 -1
- package/dist/components/Label.js +2 -2
- package/dist/components/MenuItem.js +4 -2
- package/dist/components/Modal.js +1 -1
- package/dist/components/Notification.js +6 -6
- package/dist/components/Pagination.js +93 -21
- package/dist/components/Response.js +2 -2
- package/dist/components/ScrollOnDrag/stories/__mock__.js +13 -0
- package/dist/components/Scrollbar/stories/__mock__.js +5 -0
- package/dist/components/Search.js +29 -28
- package/dist/components/Segmented.js +1 -1
- package/dist/components/Select.js +1 -1
- package/dist/components/Swiper/stories/__mock__.js +14 -0
- package/dist/components/Swiper.js +1 -1
- package/dist/components/Tab/stories/__mock__.js +7 -2
- package/dist/components/Tab.js +1 -1
- package/dist/components/Tile.js +1 -1
- package/dist/components/Title.js +1 -1
- package/dist/components/Tooltip.js +1 -1
- package/dist/context/Notifications.js +6 -6
- package/dist/css/components/Choice/Choice.css +16 -21
- package/dist/css/components/Choice/css/__item/choice__item.css +0 -9
- package/dist/css/components/Choice/css/__item/choice__item_size.css +4 -1
- package/dist/css/components/Code/Code.css +5 -7
- package/dist/css/components/{DadataHintField/DadataHintField.css → Dadata/Dadata.css} +9 -9
- package/dist/css/components/HTMLContent/HTMLContent.css +85 -18
- package/dist/css/components/Input/Input.css +6 -0
- package/dist/css/components/Search/Search.css +0 -1
- package/dist/css/components/Search/css/search-input/search-input.css +0 -1
- package/dist/css/components/Tab/Tab.css +4 -0
- package/dist/css/styles/border-color/border-color_hover.css +3 -0
- package/dist/stories/CookiesWarningOverview.mdx +1 -1
- package/dist/stories/CookiesWarningPlayground.mdx +1 -1
- package/dist/stories/DadataOverview.mdx +11 -0
- package/dist/stories/DadataPlaygroynd.mdx +11 -0
- package/dist/stories/HTMLContentOverview.mdx +1 -1
- package/dist/stories/HTMLContentPlayground.mdx +1 -1
- package/dist/stories/HeroTitleOverview.mdx +1 -1
- package/dist/stories/HeroTitlePlayground.mdx +1 -1
- package/dist/stories/LinkOverview.mdx +1 -1
- package/dist/stories/LinkPlayground.mdx +1 -1
- package/dist/stories/RangeSliderOverview.mdx +15 -0
- package/dist/stories/RangeSliderPlayground.mdx +10 -0
- package/dist/stories/SVGContentOverview.mdx +1 -1
- package/dist/stories/SVGContentPlayground.mdx +1 -1
- package/dist/stories/ScrollOnDragOverview.mdx +12 -0
- package/dist/stories/ScrollOnDragPlayground.mdx +10 -0
- package/dist/stories/ScrollbarOverview.mdx +15 -0
- package/dist/stories/ScrollbarPlayground.mdx +10 -0
- package/dist/stories/SwiperOverview.mdx +2 -2
- package/dist/stories/SwiperPlayground.mdx +2 -2
- package/dist/stories/TextOverview.mdx +1 -1
- package/dist/stories/TextPlayground.mdx +1 -1
- package/dist/stories/TitleOverview.mdx +1 -1
- package/dist/stories/TitlePlayground.mdx +1 -1
- package/dist/types/components/Cell/stories/__mock__/index.d.ts +0 -2
- package/dist/types/components/Choice/appearance/choiceError.d.ts +7 -0
- package/dist/types/components/Choice/stories/__mock__/index.d.ts +21 -4
- package/dist/types/components/Code/appearance/codeDefault.d.ts +6 -8
- package/dist/types/components/Code/appearance/codeDisabled.d.ts +7 -11
- package/dist/types/components/Code/appearance/codeError.d.ts +1 -0
- package/dist/types/components/Code/appearance/codeRequire.d.ts +7 -15
- package/dist/types/components/Code/appearance/codeSize.d.ts +2 -2
- package/dist/types/components/Code/appearance/codeStyle.d.ts +9 -9
- package/dist/types/components/Code/appearance/codeSuccess.d.ts +8 -7
- package/dist/types/components/Dadata/Dadata.d.ts +3 -0
- package/dist/types/components/{DadataHintField/DadataHintField.interface.d.ts → Dadata/Dadata.interface.d.ts} +1 -1
- package/dist/types/components/Dadata/index.d.ts +1 -0
- package/dist/types/components/DatePicker/DatePicker.appearance.d.ts +1 -1
- package/dist/types/components/DatePicker/appearance/datePickerStyle.d.ts +1 -1
- package/dist/types/components/Drawer/appearance/drawerSurface.d.ts +5 -5
- package/dist/types/components/Input/appearance/inputDefault.d.ts +2 -2
- package/dist/types/components/Input/appearance/inputDisabled.d.ts +2 -2
- package/dist/types/components/Input/appearance/inputError.d.ts +2 -2
- package/dist/types/components/Input/appearance/inputRequire.d.ts +2 -2
- package/dist/types/components/Input/appearance/inputStyle.d.ts +7 -6
- package/dist/types/components/Input/appearance/inputSuccess.d.ts +2 -2
- package/dist/types/components/MenuItem/appearance/menuItemSurface.d.ts +2 -0
- package/dist/types/components/Pagination/appearance/paginationAccent.d.ts +21 -0
- package/dist/types/components/Pagination/appearance/paginationSize.d.ts +45 -0
- package/dist/types/components/Pagination/appearance/paginationStyle.d.ts +14 -0
- package/dist/types/components/Pagination/appearance/paginationSurface.d.ts +4 -12
- package/dist/types/components/ScrollOnDrag/stories/__mock__/index.d.ts +2 -0
- package/dist/types/components/Scrollbar/stories/__mock__/index.d.ts +2 -0
- package/dist/types/components/Search/appearance/searchDefault.d.ts +1 -1
- package/dist/types/components/Search/appearance/searchDisabled.d.ts +1 -1
- package/dist/types/components/Search/appearance/searchError.d.ts +1 -1
- package/dist/types/components/Search/appearance/searchRequire.d.ts +1 -1
- package/dist/types/components/Search/appearance/searchStyle.d.ts +8 -7
- package/dist/types/components/Search/appearance/searchSuccess.d.ts +1 -1
- package/dist/types/components/Swiper/stories/__mock__/index.d.ts +2 -0
- package/package.json +2 -2
- package/dist/stories/Colors.mdx +0 -239
- package/dist/stories/DadataHintFieldOverview.mdx +0 -11
- package/dist/stories/DadataHintFieldPlaygroynd.mdx +0 -11
- package/dist/stories/Elevation.mdx +0 -80
- package/dist/stories/Settings.mdx +0 -3
- package/dist/stories/TypographyAM.mdx +0 -82
- package/dist/stories/TypographyBaikal.mdx +0 -82
- package/dist/types/components/DadataHintField/DadataHintField.d.ts +0 -3
- package/dist/types/components/DadataHintField/index.d.ts +0 -1
|
@@ -4,7 +4,7 @@ import { useRef, useMemo, useCallback, useEffect } from 'react';
|
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import Cookies from 'js-cookie';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
|
-
import { B as Button } from '../
|
|
7
|
+
import { B as Button } from '../Button_es_DTUagqgU.js';
|
|
8
8
|
import { T as Text } from '../Text_es_BfLRfj-5.js';
|
|
9
9
|
import 'lodash/camelCase';
|
|
10
10
|
import 'lodash/castArray';
|
|
@@ -16,7 +16,7 @@ import '../context/UIContext.js';
|
|
|
16
16
|
import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
17
17
|
import 'react-responsive';
|
|
18
18
|
import '../utils/setViewportProperty.js';
|
|
19
|
-
import '../
|
|
19
|
+
import '../Tooltip_es_B0nm9irO.js';
|
|
20
20
|
import '../hooks/useStyles/useStyles.js';
|
|
21
21
|
import 'lodash/maxBy';
|
|
22
22
|
import '../hooks/useStyles/styleAttributes.js';
|
|
@@ -3,7 +3,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
3
3
|
import { useMemo } from 'react';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import { PartySuggestions } from 'react-dadata';
|
|
6
|
-
import { I as Input } from '../
|
|
6
|
+
import { I as Input } from '../Input_es_BW6cZThr.js';
|
|
7
7
|
import '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
8
|
import 'lodash/camelCase';
|
|
9
9
|
import 'lodash/castArray';
|
|
@@ -16,7 +16,7 @@ import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
|
16
16
|
import 'react-responsive';
|
|
17
17
|
import '../utils/setViewportProperty.js';
|
|
18
18
|
|
|
19
|
-
function
|
|
19
|
+
function Dadata(props) {
|
|
20
20
|
var delay = props.delay, input = props.input, inputProps = props.inputProps, meta = props.meta, token = props.token, setValue = props.setValue;
|
|
21
21
|
var dadataInputProps = useMemo(function () {
|
|
22
22
|
return __assign(__assign({}, inputProps), { className: clsx('react-dadata__input', meta.active && 'input_state_focus', meta.error &&
|
|
@@ -43,4 +43,4 @@ function DadataCustomInput(props) {
|
|
|
43
43
|
return jsx(Input, __assign({}, otherProps, { value: inputValue }));
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Dadata };
|
|
@@ -4,9 +4,9 @@ import { useCallback } from 'react';
|
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import { DateTime } from 'luxon';
|
|
6
6
|
import { DATE_PERIOD_INTERVALS } from '@itcase/common';
|
|
7
|
-
import { D as DatePickerInput } from '../
|
|
7
|
+
import { D as DatePickerInput } from '../DatePicker_es_C2Pi6aB-.js';
|
|
8
8
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
9
|
-
import { b as ChipsGroup, C as Chips } from '../
|
|
9
|
+
import { b as ChipsGroup, C as Chips } from '../ChipsGroup_es_CXS0aeon.js';
|
|
10
10
|
import 'date-fns/locale';
|
|
11
11
|
import 'react-datepicker';
|
|
12
12
|
import '../hooks/useStyles/useStyles.js';
|
|
@@ -20,14 +20,14 @@ import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
|
20
20
|
import 'react-responsive';
|
|
21
21
|
import '../utils/setViewportProperty.js';
|
|
22
22
|
import '../hooks/useStyles/styleAttributes.js';
|
|
23
|
-
import '../
|
|
24
|
-
import '../
|
|
23
|
+
import '../Button_es_DTUagqgU.js';
|
|
24
|
+
import '../Tooltip_es_B0nm9irO.js';
|
|
25
25
|
import '../Text_es_BfLRfj-5.js';
|
|
26
26
|
import 'react-inlinesvg';
|
|
27
27
|
import '../Link_es_DxtZLeKY.js';
|
|
28
28
|
import '../Loader_es_B2auu_rc.js';
|
|
29
|
-
import '../
|
|
30
|
-
import '../
|
|
29
|
+
import '../Input_es_BW6cZThr.js';
|
|
30
|
+
import '../Label_es_DmDqs4Rc.js';
|
|
31
31
|
import '@itcase/icons/default';
|
|
32
32
|
import 'lodash/castArray';
|
|
33
33
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as DatePickerInput, a as datePickerAppearance, d as datePickerConfig } from '../
|
|
1
|
+
export { D as DatePickerInput, a as datePickerAppearance, d as datePickerConfig } from '../DatePicker_es_C2Pi6aB-.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -19,12 +19,12 @@ import '../utils/setViewportProperty.js';
|
|
|
19
19
|
import '../hooks/useStyles/useStyles.js';
|
|
20
20
|
import 'lodash/maxBy';
|
|
21
21
|
import '../hooks/useStyles/styleAttributes.js';
|
|
22
|
-
import '../
|
|
23
|
-
import '../
|
|
22
|
+
import '../Button_es_DTUagqgU.js';
|
|
23
|
+
import '../Tooltip_es_B0nm9irO.js';
|
|
24
24
|
import '../Text_es_BfLRfj-5.js';
|
|
25
25
|
import 'react-inlinesvg';
|
|
26
26
|
import '../Link_es_DxtZLeKY.js';
|
|
27
27
|
import '../Loader_es_B2auu_rc.js';
|
|
28
|
-
import '../
|
|
29
|
-
import '../
|
|
28
|
+
import '../Input_es_BW6cZThr.js';
|
|
29
|
+
import '../Label_es_DmDqs4Rc.js';
|
|
30
30
|
import '@itcase/icons/default';
|
|
@@ -3,10 +3,10 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
3
3
|
import { useRef, useEffect } from 'react';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import ReactDrawer from 'react-modern-drawer';
|
|
6
|
-
import { I as Icon, b as Title } from '../
|
|
6
|
+
import { I as Icon, b as Title } from '../Tooltip_es_B0nm9irO.js';
|
|
7
7
|
import { T as Text } from '../Text_es_BfLRfj-5.js';
|
|
8
8
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
9
|
-
import {
|
|
9
|
+
import { icons24 } from '@itcase/icons/default';
|
|
10
10
|
import '../hooks/useStyles/useStyles.js';
|
|
11
11
|
import 'lodash/camelCase';
|
|
12
12
|
import 'lodash/maxBy';
|
|
@@ -32,14 +32,9 @@ var drawerAppearanceSurface = {
|
|
|
32
32
|
descTextColor: 'surfaceTextPrimary',
|
|
33
33
|
descTextSize: 's',
|
|
34
34
|
iconSize: 24,
|
|
35
|
-
closeIcon:
|
|
35
|
+
closeIcon: icons24.Action.Close,
|
|
36
36
|
closeIconFillIcon: 'surfaceItemPrimary',
|
|
37
37
|
},
|
|
38
|
-
surfaceQuaternary: {
|
|
39
|
-
fill: 'surfaceQuaternary',
|
|
40
|
-
fillHover: 'surfaceQuaternaryHover',
|
|
41
|
-
labelTextColor: 'surfaceTextPrimary',
|
|
42
|
-
},
|
|
43
38
|
surfaceSecondary: {
|
|
44
39
|
fill: 'surfaceSecondary',
|
|
45
40
|
fillHover: 'surfaceSecondaryHover',
|
|
@@ -52,6 +47,11 @@ var drawerAppearanceSurface = {
|
|
|
52
47
|
fillHover: 'surfaceTertiaryHover',
|
|
53
48
|
labelTextColor: 'surfaceTextPrimary',
|
|
54
49
|
},
|
|
50
|
+
surfaceQuaternary: {
|
|
51
|
+
fill: 'surfaceQuaternary',
|
|
52
|
+
fillHover: 'surfaceQuaternaryHover',
|
|
53
|
+
labelTextColor: 'surfaceTextPrimary',
|
|
54
|
+
},
|
|
55
55
|
};
|
|
56
56
|
|
|
57
57
|
var drawerAppearance = __assign({}, drawerAppearanceSurface);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { icons24 } from '@itcase/icons/default';
|
|
2
2
|
|
|
3
3
|
var dropdownListMock = {
|
|
4
4
|
dropdownList: [
|
|
@@ -8,12 +8,27 @@ var dropdownListMock = {
|
|
|
8
8
|
{
|
|
9
9
|
key: 4,
|
|
10
10
|
label: 'Item 4',
|
|
11
|
-
iconBefore:
|
|
11
|
+
iconBefore: icons24.Placeholder,
|
|
12
|
+
isActive: false,
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
key: 5,
|
|
16
|
+
label: 'Item 5',
|
|
17
|
+
iconAfter: icons24.Placeholder,
|
|
18
|
+
isActive: false,
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
key: 6,
|
|
22
|
+
label: 'Item 6',
|
|
23
|
+
iconBefore: icons24.General.Check,
|
|
24
|
+
isActive: false,
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
key: 7,
|
|
28
|
+
label: 'Item 7',
|
|
29
|
+
iconAfter: icons24.General.Check,
|
|
12
30
|
isActive: false,
|
|
13
31
|
},
|
|
14
|
-
{ key: 5, label: 'Item 5', iconAfter: icon24.Placeholder, isActive: false },
|
|
15
|
-
{ key: 6, label: 'Item 6', iconBefore: icon24.Check, isActive: false },
|
|
16
|
-
{ key: 7, label: 'Item 7', iconAfter: icon24.Check, isActive: false },
|
|
17
32
|
{ key: 8, label: 'Item 8', showDivider: true, isActive: false },
|
|
18
33
|
{ key: 9, label: 'Item 9', isActive: false },
|
|
19
34
|
],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as Dropdown, a as DropdownItem, d as dropdownItemAppearance, b as dropdownItemConfig } from '../
|
|
1
|
+
export { D as Dropdown, a as DropdownItem, d as dropdownItemAppearance, b as dropdownItemConfig } from '../DropdownItem_es_BMnIhUSe.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -18,7 +18,7 @@ import '../hooks/useStyles/useStyles.js';
|
|
|
18
18
|
import 'lodash/maxBy';
|
|
19
19
|
import '../hooks/useStyles/styleAttributes.js';
|
|
20
20
|
import '../Divider_es_kY-30pft.js';
|
|
21
|
-
import '../
|
|
21
|
+
import '../Tooltip_es_B0nm9irO.js';
|
|
22
22
|
import '../Text_es_BfLRfj-5.js';
|
|
23
23
|
import 'react-inlinesvg';
|
|
24
24
|
import '../Link_es_DxtZLeKY.js';
|
|
@@ -4,7 +4,7 @@ import { useMemo } from 'react';
|
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
7
|
-
import { I as Icon } from '../
|
|
7
|
+
import { I as Icon } from '../Tooltip_es_B0nm9irO.js';
|
|
8
8
|
import 'lodash/camelCase';
|
|
9
9
|
import 'lodash/castArray';
|
|
10
10
|
import 'lodash/upperFirst';
|
package/dist/components/Icon.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { I as Icon, e as iconAppearance, i as iconConfig } from '../
|
|
1
|
+
export { I as Icon, e as iconAppearance, i as iconConfig } from '../Tooltip_es_B0nm9irO.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
package/dist/components/Input.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { I as Input, a as inputAppearance, i as inputConfig } from '../
|
|
1
|
+
export { I as Input, a as inputAppearance, i as inputConfig } from '../Input_es_BW6cZThr.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -3,7 +3,7 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
3
3
|
import { useState, useMemo, useCallback } from 'react';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
|
-
import { I as Icon } from '../
|
|
6
|
+
import { I as Icon } from '../Tooltip_es_B0nm9irO.js';
|
|
7
7
|
import 'lodash/camelCase';
|
|
8
8
|
import 'lodash/castArray';
|
|
9
9
|
import 'lodash/upperFirst';
|
package/dist/components/Label.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { L as Label, a as labelAppearance, l as labelConfig } from '../
|
|
1
|
+
export { L as Label, a as labelAppearance, l as labelConfig } from '../Label_es_DmDqs4Rc.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -17,7 +17,7 @@ import '../utils/setViewportProperty.js';
|
|
|
17
17
|
import '../hooks/useStyles/useStyles.js';
|
|
18
18
|
import 'lodash/maxBy';
|
|
19
19
|
import '../hooks/useStyles/styleAttributes.js';
|
|
20
|
-
import '../
|
|
20
|
+
import '../Tooltip_es_B0nm9irO.js';
|
|
21
21
|
import '../Text_es_BfLRfj-5.js';
|
|
22
22
|
import 'react-inlinesvg';
|
|
23
23
|
import '../Link_es_DxtZLeKY.js';
|
|
@@ -4,7 +4,7 @@ import React from 'react';
|
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
7
|
-
import { I as Icon } from '../
|
|
7
|
+
import { I as Icon } from '../Tooltip_es_B0nm9irO.js';
|
|
8
8
|
import { L as Link } from '../Link_es_DxtZLeKY.js';
|
|
9
9
|
import { T as Text } from '../Text_es_BfLRfj-5.js';
|
|
10
10
|
import 'lodash/camelCase';
|
|
@@ -112,7 +112,9 @@ var menuItemAppearanceStyle = {
|
|
|
112
112
|
var menuItemAppearanceSurface = {
|
|
113
113
|
surfacePrimary: {
|
|
114
114
|
fill: 'surfacePrimary',
|
|
115
|
-
|
|
115
|
+
fillActive: 'surfaceHover',
|
|
116
|
+
fillActiveHover: 'surfaceHover',
|
|
117
|
+
fillHover: 'surfaceHover',
|
|
116
118
|
labelTextColor: 'surfaceTextPrimary',
|
|
117
119
|
iconAfterFillIcon: 'surfaceItemPrimary',
|
|
118
120
|
iconBeforeFillIcon: 'surfaceItemPrimary',
|
package/dist/components/Modal.js
CHANGED
|
@@ -6,7 +6,7 @@ import ReactDOM from 'react-dom';
|
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
7
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
8
8
|
import { O as Overlay } from '../Overlay_es_DczPjVL9.js';
|
|
9
|
-
import { b as Title } from '../
|
|
9
|
+
import { b as Title } from '../Tooltip_es_B0nm9irO.js';
|
|
10
10
|
import { L as Loader } from '../Loader_es_B2auu_rc.js';
|
|
11
11
|
import 'lodash/camelCase';
|
|
12
12
|
import 'lodash/castArray';
|
|
@@ -3,9 +3,9 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
5
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
6
|
-
import { I as Icon } from '../
|
|
6
|
+
import { I as Icon } from '../Tooltip_es_B0nm9irO.js';
|
|
7
7
|
import { T as Text } from '../Text_es_BfLRfj-5.js';
|
|
8
|
-
import {
|
|
8
|
+
import { icons20 } from '@itcase/icons/default';
|
|
9
9
|
import { useNotifications, useNotificationsAPI } from '../context/Notifications.js';
|
|
10
10
|
import '../context/UIContext.js';
|
|
11
11
|
import 'react';
|
|
@@ -34,7 +34,7 @@ var notificationAppearanceDefault = {
|
|
|
34
34
|
elevation: 8,
|
|
35
35
|
textColor: 'surfaceTextPrimary',
|
|
36
36
|
iconSize: 20,
|
|
37
|
-
closeIcon:
|
|
37
|
+
closeIcon: icons20.Action.Close,
|
|
38
38
|
closeIconFillIcon: 'surfaceItemPrimary',
|
|
39
39
|
},
|
|
40
40
|
};
|
|
@@ -51,7 +51,7 @@ var notificationAppearanceError = {
|
|
|
51
51
|
elevation: 8,
|
|
52
52
|
textColor: 'errorTextPrimary',
|
|
53
53
|
iconSize: 20,
|
|
54
|
-
closeIcon:
|
|
54
|
+
closeIcon: icons20.Action.Close,
|
|
55
55
|
closeIconFillIcon: 'errorItemPrimary',
|
|
56
56
|
},
|
|
57
57
|
};
|
|
@@ -84,7 +84,7 @@ var notificationAppearanceSuccess = {
|
|
|
84
84
|
elevation: 8,
|
|
85
85
|
textColor: 'successTextPrimary',
|
|
86
86
|
iconSize: 20,
|
|
87
|
-
closeIcon:
|
|
87
|
+
closeIcon: icons20.Action.Close,
|
|
88
88
|
closeIconFillIcon: 'accentItemPrimary',
|
|
89
89
|
},
|
|
90
90
|
};
|
|
@@ -101,7 +101,7 @@ var notificationAppearanceWarning = {
|
|
|
101
101
|
elevation: 8,
|
|
102
102
|
textColor: 'warningTextPrimary',
|
|
103
103
|
iconSize: 20,
|
|
104
|
-
closeIcon:
|
|
104
|
+
closeIcon: icons20.Action.Close,
|
|
105
105
|
closeIconFillIcon: 'warningItemPrimary',
|
|
106
106
|
},
|
|
107
107
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
2
|
-
import {
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { useMemo, useState, useCallback } from 'react';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import ceil from 'lodash/ceil';
|
|
6
6
|
import ReactPaginate from 'react-paginate';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
8
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
9
|
-
import { D as Dropdown, a as DropdownItem } from '../
|
|
10
|
-
import { I as Icon } from '../
|
|
9
|
+
import { D as Dropdown, a as DropdownItem } from '../DropdownItem_es_BMnIhUSe.js';
|
|
10
|
+
import { I as Icon } from '../Tooltip_es_B0nm9irO.js';
|
|
11
11
|
import { T as Text } from '../Text_es_BfLRfj-5.js';
|
|
12
|
-
import {
|
|
12
|
+
import { icons32, icons24 } from '@itcase/icons/default';
|
|
13
13
|
import 'lodash/camelCase';
|
|
14
14
|
import 'lodash/castArray';
|
|
15
15
|
import 'lodash/upperFirst';
|
|
@@ -26,21 +26,98 @@ import '../Divider_es_kY-30pft.js';
|
|
|
26
26
|
import 'react-inlinesvg';
|
|
27
27
|
import '../Link_es_DxtZLeKY.js';
|
|
28
28
|
|
|
29
|
+
var paginationAppearanceAccent = {
|
|
30
|
+
accent: {
|
|
31
|
+
fill: 'accentPrimary',
|
|
32
|
+
fillHover: 'accentPrimaryHover',
|
|
33
|
+
},
|
|
34
|
+
accentPrimary: {
|
|
35
|
+
fill: 'accentPrimary',
|
|
36
|
+
fillHover: 'accentPrimaryHover',
|
|
37
|
+
borderColor: 'accentBorderPrimary',
|
|
38
|
+
},
|
|
39
|
+
accentSecondary: {
|
|
40
|
+
fill: 'accentPrimary',
|
|
41
|
+
fillHover: 'accentPrimaryHover',
|
|
42
|
+
labelTextColor: 'accentTextSecondary',
|
|
43
|
+
labelTextColorHover: 'accentTextSecondary',
|
|
44
|
+
borderColor: 'accentBorderPrimary',
|
|
45
|
+
loaderFill: 'accentPrimary',
|
|
46
|
+
loaderItemFill: 'accentItemPrimary',
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
var paginationAppearanceSize = {
|
|
51
|
+
sizeL: {
|
|
52
|
+
size: 'l',
|
|
53
|
+
labelTextSize: 'l',
|
|
54
|
+
iconAfterFillSize: '24',
|
|
55
|
+
iconAfterSize: '24',
|
|
56
|
+
iconBeforeFillSize: '24',
|
|
57
|
+
iconBeforeSize: '24',
|
|
58
|
+
pageCountDescTextSize: 'l',
|
|
59
|
+
pageCountDropdownItemDividerSize: 'xxs',
|
|
60
|
+
pageCountDropdownItemLabelSize: 'm',
|
|
61
|
+
pageCountDropdownItemSize: 'l',
|
|
62
|
+
pageCountInputIconFillSize: '24',
|
|
63
|
+
pageCountInputTextSize: 'm',
|
|
64
|
+
},
|
|
65
|
+
sizeM: {
|
|
66
|
+
size: 'm',
|
|
67
|
+
labelTextSize: 'm',
|
|
68
|
+
iconAfterFillSize: '24',
|
|
69
|
+
iconAfterSize: '24',
|
|
70
|
+
iconBeforeFillSize: '24',
|
|
71
|
+
iconBeforeSize: '24',
|
|
72
|
+
pageCountDescTextSize: 'm',
|
|
73
|
+
pageCountDropdownItemDividerSize: 'xxs',
|
|
74
|
+
pageCountDropdownItemLabelSize: 'm',
|
|
75
|
+
pageCountDropdownItemSize: 'l',
|
|
76
|
+
pageCountInputIconFillSize: '24',
|
|
77
|
+
pageCountInputTextSize: 'm',
|
|
78
|
+
},
|
|
79
|
+
sizeS: {
|
|
80
|
+
size: 's',
|
|
81
|
+
labelTextSize: 's',
|
|
82
|
+
iconAfterFillSize: '20',
|
|
83
|
+
iconAfterSize: '20',
|
|
84
|
+
iconBeforeFillSize: '20',
|
|
85
|
+
iconBeforeSize: '20',
|
|
86
|
+
},
|
|
87
|
+
sizeXS: {
|
|
88
|
+
size: 'xs',
|
|
89
|
+
labelTextSize: 'xs',
|
|
90
|
+
beforeSize: '16',
|
|
91
|
+
iconAfterFillSize: '16',
|
|
92
|
+
},
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
var paginationAppearanceStyle = {
|
|
96
|
+
solid: {
|
|
97
|
+
borderColor: 'none',
|
|
98
|
+
},
|
|
99
|
+
outlined: {
|
|
100
|
+
fill: 'none',
|
|
101
|
+
},
|
|
102
|
+
full: {},
|
|
103
|
+
ghost: {
|
|
104
|
+
fill: 'none',
|
|
105
|
+
borderColor: 'none',
|
|
106
|
+
},
|
|
107
|
+
};
|
|
108
|
+
|
|
29
109
|
var paginationAppearanceSurface = {
|
|
30
110
|
surfacePrimary: {
|
|
31
111
|
fill: 'surfacePrimary',
|
|
32
112
|
fillHover: 'surfaceSecondary',
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
nextLabel: (jsx(Icon, { size: "14", fillSize: "32", iconFill: "surfaceItemPrimary", shape: "circular", SvgImage: icon32.ChevronRightSmall })),
|
|
113
|
+
nextIcon: icons32.Arrow.ChevronRightSmall,
|
|
114
|
+
nextIconFillIcon: 'surfaceItemPrimary',
|
|
36
115
|
pageCountDesc: 'кол-во строк',
|
|
37
116
|
pageCountDescTextColor: 'surfaceTextPrimary',
|
|
38
|
-
pageCountDescTextSize: 'm',
|
|
39
117
|
pageCountDropdownAlignment: 'topCenter',
|
|
40
118
|
pageCountDropdownElevation: 8,
|
|
41
119
|
pageCountDropdownFill: 'surfacePrimary',
|
|
42
120
|
pageCountDropdownItemDividerFill: 'surfaceSecondary',
|
|
43
|
-
pageCountDropdownItemDividerSize: 'xxs',
|
|
44
121
|
pageCountDropdownItemFill: 'surfacePrimary',
|
|
45
122
|
pageCountDropdownItemFillActive: 'accentPrimary',
|
|
46
123
|
pageCountDropdownItemFillActiveHover: 'accentActiveHover',
|
|
@@ -50,22 +127,17 @@ var paginationAppearanceSurface = {
|
|
|
50
127
|
pageCountDropdownItemLabelColorActive: 'accentTextPrimary',
|
|
51
128
|
pageCountDropdownItemLabelColorActiveHover: 'accentTextPrimary',
|
|
52
129
|
pageCountDropdownItemLabelColorHover: 'surfaceTextPrimary',
|
|
53
|
-
pageCountDropdownItemLabelSize: 'm',
|
|
54
|
-
pageCountDropdownItemShowDivider: true,
|
|
55
|
-
pageCountDropdownItemSize: 'l',
|
|
56
130
|
pageCountDropdownItemWidth: 'hug',
|
|
57
131
|
pageCountDropdownShape: 'rounded',
|
|
58
|
-
pageCountInputIcon:
|
|
132
|
+
pageCountInputIcon: icons24.Arrow.ChevronDownSmall,
|
|
59
133
|
pageCountInputIconColor: 'surfaceItemPrimary',
|
|
60
|
-
pageCountInputIconFillSize: '24',
|
|
61
134
|
pageCountInputTextColor: 'surfaceTextPrimary',
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
previousLabel: (jsx(Icon, { size: "14", fillSize: "32", iconFill: "surfaceItemPrimary", shape: "circular", SvgImage: icon32.ChevronLeftSmall })),
|
|
135
|
+
previousIcon: icons32.Arrow.ChevronLeftSmall,
|
|
136
|
+
previousIconFillIcon: 'surfaceItemPrimary',
|
|
65
137
|
},
|
|
66
138
|
};
|
|
67
139
|
|
|
68
|
-
var paginationAppearance = __assign({}, paginationAppearanceSurface);
|
|
140
|
+
var paginationAppearance = __assign(__assign(__assign(__assign({}, paginationAppearanceSurface), paginationAppearanceAccent), paginationAppearanceSize), paginationAppearanceStyle);
|
|
69
141
|
|
|
70
142
|
var paginationConfig = {
|
|
71
143
|
appearance: paginationAppearance,
|
|
@@ -136,15 +208,15 @@ function Pagination(props) {
|
|
|
136
208
|
return (__assign(__assign({}, resultConfig), (_a = paginationConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
|
|
137
209
|
}, {});
|
|
138
210
|
var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
139
|
-
var justifyContentClass = propsGenerator.justifyContentClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, marginPagesDisplayed = propsGenerator.marginPagesDisplayed,
|
|
211
|
+
var justifyContentClass = propsGenerator.justifyContentClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, marginPagesDisplayed = propsGenerator.marginPagesDisplayed, nextIcon = propsGenerator.nextIcon, nextIconFill = propsGenerator.nextIconFill, nextIconFillIcon = propsGenerator.nextIconFillIcon, nextIconFillSize = propsGenerator.nextIconFillSize, nextIconSize = propsGenerator.nextIconSize, pageCountDescTextColor = propsGenerator.pageCountDescTextColor, pageCountDescTextSize = propsGenerator.pageCountDescTextSize, pageCountDropdownAlignment = propsGenerator.pageCountDropdownAlignment, pageCountDropdownElevation = propsGenerator.pageCountDropdownElevation, pageCountDropdownFill = propsGenerator.pageCountDropdownFill, pageCountDropdownItemDividerFill = propsGenerator.pageCountDropdownItemDividerFill, pageCountDropdownItemDividerSize = propsGenerator.pageCountDropdownItemDividerSize, pageCountDropdownItemFill = propsGenerator.pageCountDropdownItemFill, pageCountDropdownItemFillActive = propsGenerator.pageCountDropdownItemFillActive, pageCountDropdownItemFillActiveHover = propsGenerator.pageCountDropdownItemFillActiveHover, pageCountDropdownItemFillHover = propsGenerator.pageCountDropdownItemFillHover, pageCountDropdownItemLabelAlign = propsGenerator.pageCountDropdownItemLabelAlign, pageCountDropdownItemLabelColor = propsGenerator.pageCountDropdownItemLabelColor, pageCountDropdownItemLabelColorActive = propsGenerator.pageCountDropdownItemLabelColorActive, pageCountDropdownItemLabelColorActiveHover = propsGenerator.pageCountDropdownItemLabelColorActiveHover, pageCountDropdownItemLabelColorHover = propsGenerator.pageCountDropdownItemLabelColorHover, pageCountDropdownItemLabelSize = propsGenerator.pageCountDropdownItemLabelSize, pageCountDropdownItemLabelWrap = propsGenerator.pageCountDropdownItemLabelWrap, pageCountDropdownItemShowDivider = propsGenerator.pageCountDropdownItemShowDivider, pageCountDropdownItemSize = propsGenerator.pageCountDropdownItemSize, pageCountDropdownItemWidth = propsGenerator.pageCountDropdownItemWidth, pageCountDropdownShape = propsGenerator.pageCountDropdownShape, pageCountInputIcon = propsGenerator.pageCountInputIcon, pageCountInputIconColor = propsGenerator.pageCountInputIconColor, pageCountInputIconFillSize = propsGenerator.pageCountInputIconFillSize, pageCountInputIconSrc = propsGenerator.pageCountInputIconSrc, pageCountInputTextColor = propsGenerator.pageCountInputTextColor, pageCountInputTextSize = propsGenerator.pageCountInputTextSize, pageRangeDisplayed = propsGenerator.pageRangeDisplayed, previousIcon = propsGenerator.previousIcon, previousIconFill = propsGenerator.previousIconFill, previousIconFillIcon = propsGenerator.previousIconFillIcon, previousIconFillSize = propsGenerator.previousIconFillSize, previousIconSize = propsGenerator.previousIconSize;
|
|
140
212
|
var paginationStyles = useStyles(props).styles;
|
|
141
213
|
return (jsxs("div", { className: "pagination", "data-testid": dataTestId, "data-tour": dataTour, style: paginationStyles, children: [jsx(ReactPaginate, { disabledClassName: "pagination__item_state_disabled cursor_type_default", disabledLinkClassName: "pagination__item_state_disabled", activeClassName: "pagination__item_state_active cursor_type_default", activeLinkClassName: "pagination__item-link_state_active", breakClassName: "pagination__item pagination__item_break", breakLabel: "...", breakLinkClassName: "pagination__item-link", containerClassName: clsx(className, 'pagination__container', justifyContentClass &&
|
|
142
214
|
"pagination_justify-content_".concat(justifyContentClass)),
|
|
143
215
|
// pages settings
|
|
144
216
|
forcePage: paginationPageIndex, marginPagesDisplayed: marginPagesDisplayed, nextClassName: "pagination__item pagination__item_next",
|
|
145
217
|
// next button
|
|
146
|
-
nextLabel:
|
|
147
|
-
return activeDropdownItem === item ? (jsx(DropdownItem, { width: pageCountDropdownItemWidth, size: pageCountDropdownItemSize, fill: pageCountDropdownItemFill, fillActive: pageCountDropdownItemFillActive, fillActiveHover: pageCountDropdownItemFillActiveHover, fillHover: pageCountDropdownItemFillHover, label: item.toString(), labelTextAlign: pageCountDropdownItemLabelAlign, labelTextColor: pageCountDropdownItemLabelColor, labelTextColorActive: pageCountDropdownItemLabelColorActive,
|
|
218
|
+
nextLabel: jsx(Icon, { fill: nextIconFill, fillSize: nextIconFillSize, iconFill: nextIconFillIcon, iconSize: nextIconSize, shape: "circular", SvgImage: nextIcon }), nextLinkClassName: "pagination__item-link", pageClassName: "pagination__item", pageCount: paginationPagesCount, pageLinkClassName: "pagination__item-link", pageRangeDisplayed: pageRangeDisplayed, previousClassName: "pagination__item pagination__item_previous", previousLabel: jsx(Icon, { fill: previousIconFill, fillSize: previousIconFillSize, iconFill: previousIconFillIcon, iconSize: previousIconSize, shape: "circular", SvgImage: previousIcon }), previousLinkClassName: "pagination__item-link", onPageChange: _onChangePage }), isPageCount && (jsxs("div", { className: clsx(className, 'pagination__count'), children: [jsx(Text, { className: "pagination__count-text", size: pageCountDescTextSize, textColor: pageCountDescTextColor, children: pageCountDesc }), jsxs("div", { className: clsx('pagination__input', 'cursor_type_pointer', fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass)), onClick: onClickCommandMenuButton, children: [jsx(Text, { size: pageCountInputTextSize, textColor: pageCountInputTextColor, children: activeDropdownItem }), jsx(Icon, { fillSize: pageCountInputIconFillSize, iconFill: pageCountInputIconColor, imageSrc: pageCountInputIconSrc, SvgImage: pageCountInputIcon }), jsx(Dropdown, { alignment: pageCountDropdownAlignment, fill: pageCountDropdownFill, elevation: pageCountDropdownElevation, shape: pageCountDropdownShape, isOpen: isOpenDropdown, setIsOpen: setIsOpenDropdown, children: pageCountDropdownArray.map(function (item, index) {
|
|
219
|
+
return activeDropdownItem === item ? (jsx(DropdownItem, { width: pageCountDropdownItemWidth, size: pageCountDropdownItemSize, fill: pageCountDropdownItemFill, fillActive: pageCountDropdownItemFillActive, fillActiveHover: pageCountDropdownItemFillActiveHover, fillHover: pageCountDropdownItemFillHover, label: item.toString(), labelTextAlign: pageCountDropdownItemLabelAlign, labelTextColor: pageCountDropdownItemLabelColor, labelTextColorActive: pageCountDropdownItemLabelColorActive, labelTextColorActiveHover: pageCountDropdownItemLabelColorActiveHover, labelTextColorHover: pageCountDropdownItemLabelColorHover, labelTextSize: pageCountDropdownItemLabelSize, labelTextWrap: pageCountDropdownItemLabelWrap, dividerDirection: pageCountDropdownItemDividerDirection, dividerFill: pageCountDropdownItemDividerFill, dividerSize: pageCountDropdownItemDividerSize, showDivider: index < pageCountArray.length - 1 &&
|
|
148
220
|
pageCountDropdownItemShowDivider, isActive: true, onClick: function (event) { return handleDropdownItemClick(event, item); } }, item)) : (jsx(DropdownItem, { width: pageCountDropdownItemWidth, size: pageCountDropdownItemSize, fill: pageCountDropdownItemFill, fillHover: pageCountDropdownItemFillHover, label: item.toString(), labelTextAlign: pageCountDropdownItemLabelAlign, labelTextColor: pageCountDropdownItemLabelColor, labelTextColorHover: pageCountDropdownItemLabelColorHover, labelTextSize: pageCountDropdownItemLabelSize, labelTextWrap: pageCountDropdownItemLabelWrap, dividerDirection: pageCountDropdownItemDividerDirection, dividerFill: pageCountDropdownItemDividerFill, dividerSize: pageCountDropdownItemDividerSize, showDivider: index < pageCountArray.length - 1 &&
|
|
149
221
|
pageCountDropdownItemShowDivider, isActive: false, onClick: function (event) { return handleDropdownItemClick(event, item); } }, item));
|
|
150
222
|
}) })] })] }))] }));
|
|
@@ -5,7 +5,7 @@ import clsx from 'clsx';
|
|
|
5
5
|
import SVG from 'react-inlinesvg';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
7
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
8
|
-
import { B as Button } from '../
|
|
8
|
+
import { B as Button } from '../Button_es_DTUagqgU.js';
|
|
9
9
|
import { G as Group } from '../Group_es_CYW2Hquh.js';
|
|
10
10
|
import { T as Text } from '../Text_es_BfLRfj-5.js';
|
|
11
11
|
import 'lodash/camelCase';
|
|
@@ -20,7 +20,7 @@ import 'react-responsive';
|
|
|
20
20
|
import '../utils/setViewportProperty.js';
|
|
21
21
|
import 'lodash/maxBy';
|
|
22
22
|
import '../hooks/useStyles/styleAttributes.js';
|
|
23
|
-
import '../
|
|
23
|
+
import '../Tooltip_es_B0nm9irO.js';
|
|
24
24
|
import '../Link_es_DxtZLeKY.js';
|
|
25
25
|
import '../Loader_es_B2auu_rc.js';
|
|
26
26
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
var scrollOnDragMock = (jsx("div", { style: { display: 'flex' }, children: Array.from({ length: 20 }, function (_, index) { return (jsx("div", { style: {
|
|
4
|
+
height: 65,
|
|
5
|
+
justifyContent: 'center',
|
|
6
|
+
alignItems: 'center',
|
|
7
|
+
margin: '0 5px',
|
|
8
|
+
padding: '50px',
|
|
9
|
+
border: '1px solid black',
|
|
10
|
+
display: 'flex',
|
|
11
|
+
}, children: index }, index)); }) }));
|
|
12
|
+
|
|
13
|
+
export { scrollOnDragMock };
|