@itcase/ui 1.8.30 → 1.8.32
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_33OrnLtt.js → Avatar_cjs_kADy_b4o.js} +1 -1
- package/dist/{Avatar_es_B3LiV8MM.js → Avatar_es_DbGpnL99.js} +1 -1
- package/dist/{Button_cjs_C05Joa8j.js → Button_cjs_CW6ENTbm.js} +1 -1
- package/dist/{Button_es_CO_dwo-N.js → Button_es_DTUagqgU.js} +1 -1
- package/dist/{ChipsGroup_cjs_DN9BoTKe.js → ChipsGroup_cjs_DdWjvr_S.js} +1 -1
- package/dist/{ChipsGroup_es_D9aK8Roh.js → ChipsGroup_es_CXS0aeon.js} +1 -1
- package/dist/{DatePicker_cjs_B_OWDm9X.js → DatePicker_cjs_BYh1Dsto.js} +9 -9
- package/dist/{DatePicker_es_BCbmUdl0.js → DatePicker_es_DEAcYDTL.js} +10 -10
- package/dist/{DropdownItem_cjs_DPoFy70W.js → DropdownItem_cjs_D-zoX7Ik.js} +1 -1
- package/dist/{DropdownItem_es_CVztMEm0.js → DropdownItem_es_BMnIhUSe.js} +1 -1
- package/dist/{Label_cjs_BefEcq6i.js → Label_cjs_CZMMdwt5.js} +63 -63
- package/dist/{Label_es_Dl_DrMOh.js → Label_es_DmDqs4Rc.js} +63 -63
- package/dist/{Tooltip_cjs_pBGCcXLZ.js → Tooltip_cjs_DinScDnC.js} +38 -7
- package/dist/{Tooltip_es_frBCZDrO.js → Tooltip_es_B0nm9irO.js} +38 -7
- 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 +15 -7
- 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 +71 -0
- package/dist/cjs/components/Choice.js +75 -28
- package/dist/cjs/components/Code.js +15 -16
- package/dist/cjs/components/CookiesWarning.js +2 -2
- package/dist/cjs/components/{DadataHintField.js → Dadata.js} +2 -2
- package/dist/cjs/components/DatePeriod.js +5 -5
- package/dist/cjs/components/DatePicker.js +4 -4
- 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/InputPassword.js +1 -1
- package/dist/cjs/components/Label.js +2 -2
- package/dist/cjs/components/MenuItem.js +38 -68
- package/dist/cjs/components/Modal.js +1 -1
- package/dist/cjs/components/Notification.js +5 -5
- package/dist/cjs/components/Pagination.js +5 -5
- 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 +16 -16
- package/dist/cjs/components/Segmented.js +21 -44
- 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 +1 -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/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 +15 -7
- 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 +68 -0
- package/dist/components/Choice.js +75 -28
- package/dist/components/Code.js +15 -16
- package/dist/components/CookiesWarning.js +2 -2
- package/dist/components/{DadataHintField.js → Dadata.js} +2 -2
- package/dist/components/DatePeriod.js +5 -5
- package/dist/components/DatePicker.js +4 -4
- 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/InputPassword.js +1 -1
- package/dist/components/Label.js +2 -2
- package/dist/components/MenuItem.js +38 -68
- package/dist/components/Modal.js +1 -1
- package/dist/components/Notification.js +6 -6
- package/dist/components/Pagination.js +6 -6
- 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 +17 -17
- package/dist/components/Segmented.js +21 -44
- 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 +2 -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/css/components/Choice/Choice.css +41 -38
- 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/MenuItem/MenuItem.css +45 -8
- package/dist/stories/ChoiceOverview.mdx +2 -2
- package/dist/stories/ChoicePlayground.mdx +3 -3
- 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/Accordion/appearance/accordionSize.d.ts +7 -7
- package/dist/types/components/Breadcrumbs/stories/__mock__/index.d.ts +0 -1
- package/dist/types/components/Cell/stories/__mock__/index.d.ts +0 -2
- package/dist/types/components/Choice/Choice.interface.d.ts +1 -0
- package/dist/types/components/Choice/appearance/choiceDefault.d.ts +10 -0
- package/dist/types/components/Choice/appearance/choiceDisabled.d.ts +10 -0
- package/dist/types/components/Choice/appearance/choiceError.d.ts +17 -0
- package/dist/types/components/Choice/appearance/choiceRequire.d.ts +11 -0
- package/dist/types/components/Choice/appearance/choiceStyle.d.ts +6 -4
- package/dist/types/components/Choice/appearance/choiceSuccess.d.ts +11 -0
- package/dist/types/components/Choice/stories/__mock__/index.d.ts +21 -0
- package/dist/types/components/Code/appearance/codeDefault.d.ts +6 -8
- package/dist/types/components/Code/appearance/codeError.d.ts +1 -0
- package/dist/types/components/Code/appearance/codeSize.d.ts +2 -2
- 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 +6 -6
- package/dist/types/components/DatePicker/appearance/datePickerSize.d.ts +6 -6
- package/dist/types/components/Drawer/appearance/drawerSurface.d.ts +6 -6
- package/dist/types/components/Icon/appearance/iconDanger.d.ts +6 -0
- package/dist/types/components/Icon/appearance/iconError.d.ts +6 -0
- package/dist/types/components/Icon/appearance/iconPrimary.d.ts +5 -0
- package/dist/types/components/Icon/appearance/iconSecondary.d.ts +5 -0
- package/dist/types/components/Icon/appearance/iconStyle.d.ts +6 -5
- package/dist/types/components/Icon/appearance/iconWarning.d.ts +6 -0
- package/dist/types/components/Label/appearance/labelAccent.d.ts +1 -1
- package/dist/types/components/Label/appearance/labelDanger.d.ts +1 -1
- package/dist/types/components/Label/appearance/labelError.d.ts +7 -7
- package/dist/types/components/Label/appearance/labelPrimary.d.ts +1 -1
- package/dist/types/components/Label/appearance/labelSecondary.d.ts +1 -1
- package/dist/types/components/Label/appearance/labelSuccess.d.ts +1 -1
- package/dist/types/components/Label/appearance/labelSurface.d.ts +8 -8
- package/dist/types/components/Label/appearance/labelWarning.d.ts +1 -1
- package/dist/types/components/MenuItem/MenuItem.interface.d.ts +1 -0
- package/dist/types/components/MenuItem/appearance/menuItemAccent.d.ts +5 -8
- package/dist/types/components/MenuItem/appearance/menuItemError.d.ts +3 -3
- package/dist/types/components/MenuItem/appearance/menuItemSize.d.ts +0 -15
- package/dist/types/components/MenuItem/appearance/menuItemStyle.d.ts +1 -3
- package/dist/types/components/MenuItem/appearance/menuItemSurface.d.ts +3 -5
- package/dist/types/components/Notification/appearance/notificationDefault.d.ts +1 -1
- package/dist/types/components/Notification/appearance/notificationError.d.ts +1 -1
- package/dist/types/components/Notification/appearance/notificationSuccess.d.ts +1 -1
- package/dist/types/components/Notification/appearance/notificationWarning.d.ts +1 -1
- package/dist/types/components/Pagination/appearance/paginationSurface.d.ts +1 -1
- 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/searchSize.d.ts +12 -12
- package/dist/types/components/Segmented/appearance/{segmentedSurface.d.ts → segmentedDefault.d.ts} +4 -4
- package/dist/types/components/Select/SelectLoadingIndicator.d.ts +1 -2
- package/dist/types/components/Swiper/stories/__mock__/index.d.ts +2 -0
- package/dist/types/components/Tab/stories/__mock__/index.d.ts +1 -1
- package/dist/types/hooks/useDeviceTargetClass.d.ts +5 -0
- package/package.json +12 -12
- 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/Choice/appearance/choiceAccent.d.ts +0 -10
- package/dist/types/components/DadataHintField/DadataHintField.d.ts +0 -3
- package/dist/types/components/DadataHintField/index.d.ts +0 -1
- package/dist/types/components/Label/appearance/labelGradient.d.ts +0 -9
- package/dist/types/components/MenuItem/appearance/menuItemPrimary.d.ts +0 -8
- package/dist/types/components/Pagination/appearance/paginationAccent.d.ts +0 -21
- package/dist/types/components/Pagination/appearance/paginationDanger.d.ts +0 -7
- package/dist/types/components/Pagination/appearance/paginationError.d.ts +0 -11
- package/dist/types/components/Pagination/appearance/paginationInfo.d.ts +0 -21
- package/dist/types/components/Pagination/appearance/paginationPrimary.d.ts +0 -8
- package/dist/types/components/Pagination/appearance/paginationSecondary.d.ts +0 -8
- package/dist/types/components/Pagination/appearance/paginationSize.d.ts +0 -48
- package/dist/types/components/Pagination/appearance/paginationStyle.d.ts +0 -16
- package/dist/types/components/Pagination/appearance/paginationSuccess.d.ts +0 -11
- package/dist/types/components/Pagination/appearance/paginationWarning.d.ts +0 -11
- package/dist/types/components/Segmented/appearance/segmentedAccent.d.ts +0 -19
- package/dist/types/components/Segmented/appearance/segmentedFalse.d.ts +0 -4
- package/dist/types/config/forms/datepicker.d.ts +0 -18
- package/dist/types/config/forms/index.d.ts +0 -3
- package/dist/types/config/forms/input.d.ts +0 -14
|
@@ -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';
|
|
@@ -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';
|
|
@@ -22,102 +22,76 @@ import '../hooks/useStyles/styleAttributes.js';
|
|
|
22
22
|
import 'react-inlinesvg';
|
|
23
23
|
|
|
24
24
|
var menuItemAppearanceAccent = {
|
|
25
|
-
accent: {
|
|
26
|
-
fill: 'accentPrimary',
|
|
27
|
-
fillHover: 'accentPrimaryHover',
|
|
28
|
-
},
|
|
29
25
|
accentPrimary: {
|
|
30
26
|
fill: 'accentPrimary',
|
|
31
27
|
fillHover: 'accentPrimaryHover',
|
|
32
|
-
|
|
28
|
+
labelTextColor: 'accentTextPrimary',
|
|
29
|
+
iconAfterFillIcon: 'accentItemPrimary',
|
|
30
|
+
iconBeforeFillIcon: 'accentItemPrimary',
|
|
33
31
|
},
|
|
34
32
|
accentSecondary: {
|
|
35
33
|
fill: 'accentPrimary',
|
|
36
34
|
fillHover: 'accentPrimaryHover',
|
|
37
35
|
labelTextColor: 'accentTextSecondary',
|
|
38
36
|
labelTextColorHover: 'accentTextSecondary',
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
loaderItemFill: 'accentItemPrimary',
|
|
37
|
+
iconAfterFillIcon: 'accentItemSecondary',
|
|
38
|
+
iconBeforeFillIcon: 'accentItemSecondary',
|
|
42
39
|
},
|
|
43
40
|
};
|
|
44
41
|
|
|
45
42
|
var menuItemAppearanceError = {
|
|
46
|
-
|
|
43
|
+
errorPrimary: {
|
|
47
44
|
fill: 'errorPrimary',
|
|
48
45
|
fillHover: 'errorPrimaryHover',
|
|
49
46
|
labelTextColor: 'errorTextPrimary',
|
|
50
47
|
labelTextColorHover: 'errorTextPrimary',
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
},
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
var menuItemAppearancePrimary = {
|
|
57
|
-
primary: {
|
|
58
|
-
fill: 'primaryPrimary',
|
|
59
|
-
fillHover: 'primaryPrimaryHover',
|
|
60
|
-
labelTextColor: 'primaryTextPrimary',
|
|
48
|
+
iconAfterFillIcon: 'errorItemPrimary',
|
|
49
|
+
iconBeforeFillIcon: 'errorItemPrimary',
|
|
61
50
|
},
|
|
62
51
|
};
|
|
63
52
|
|
|
64
53
|
var menuItemAppearanceSize = {
|
|
65
54
|
sizeXXL: {
|
|
66
55
|
size: 'xxl',
|
|
67
|
-
labelTextSize: '
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
iconBeforeFillSize: '48',
|
|
71
|
-
iconBeforeSize: '14',
|
|
56
|
+
labelTextSize: 'l',
|
|
57
|
+
iconAfterSize: '20',
|
|
58
|
+
iconBeforeSize: '20',
|
|
72
59
|
},
|
|
73
60
|
sizeXL: {
|
|
74
61
|
size: 'xl',
|
|
75
62
|
labelTextSize: 'l',
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
iconBeforeFillSize: '40',
|
|
79
|
-
iconBeforeSize: '40',
|
|
63
|
+
iconAfterSize: '20',
|
|
64
|
+
iconBeforeSize: '20',
|
|
80
65
|
},
|
|
81
66
|
sizeL: {
|
|
82
67
|
size: 'l',
|
|
83
|
-
labelTextSize: '
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
iconAfterSize: '32',
|
|
87
|
-
iconBeforeFillSize: '32',
|
|
88
|
-
iconBeforeSize: '32',
|
|
68
|
+
labelTextSize: 's',
|
|
69
|
+
iconAfterSize: '16',
|
|
70
|
+
iconBeforeSize: '16',
|
|
89
71
|
},
|
|
90
72
|
sizeM: {
|
|
91
73
|
size: 'm',
|
|
92
|
-
labelTextSize: '
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
iconBeforeFillSize: '28',
|
|
96
|
-
iconBeforeSize: '28',
|
|
74
|
+
labelTextSize: 's',
|
|
75
|
+
iconAfterSize: '16',
|
|
76
|
+
iconBeforeSize: '16',
|
|
97
77
|
},
|
|
98
78
|
sizeS: {
|
|
99
79
|
size: 's',
|
|
100
|
-
labelTextSize: '
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
iconBeforeFillSize: '24',
|
|
104
|
-
iconBeforeSize: '24',
|
|
80
|
+
labelTextSize: 'xs',
|
|
81
|
+
iconAfterSize: '12',
|
|
82
|
+
iconBeforeSize: '12',
|
|
105
83
|
},
|
|
106
84
|
sizeXS: {
|
|
107
85
|
size: 'xs',
|
|
108
86
|
labelTextSize: 'xs',
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
iconBeforeFillSize: '20',
|
|
112
|
-
iconBeforeSize: '20',
|
|
87
|
+
iconAfterSize: '12',
|
|
88
|
+
iconBeforeSize: '12',
|
|
113
89
|
},
|
|
114
90
|
sizeXXS: {
|
|
115
91
|
size: 'xxs',
|
|
116
|
-
labelTextSize: '
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
iconBeforeFillSize: '16',
|
|
120
|
-
iconBeforeSize: '16',
|
|
92
|
+
labelTextSize: 'xxs',
|
|
93
|
+
iconAfterSize: '12',
|
|
94
|
+
iconBeforeSize: '12',
|
|
121
95
|
},
|
|
122
96
|
};
|
|
123
97
|
|
|
@@ -128,9 +102,7 @@ var menuItemAppearanceStyle = {
|
|
|
128
102
|
outlined: {
|
|
129
103
|
fill: 'none',
|
|
130
104
|
},
|
|
131
|
-
full: {
|
|
132
|
-
borderColor: 'none',
|
|
133
|
-
},
|
|
105
|
+
full: {},
|
|
134
106
|
ghost: {
|
|
135
107
|
fill: 'none',
|
|
136
108
|
borderColor: 'none',
|
|
@@ -140,18 +112,11 @@ var menuItemAppearanceStyle = {
|
|
|
140
112
|
var menuItemAppearanceSurface = {
|
|
141
113
|
surfacePrimary: {
|
|
142
114
|
fill: 'surfacePrimary',
|
|
143
|
-
|
|
144
|
-
fillActiveHover: 'surfaceSecondary',
|
|
145
|
-
fillHover: 'surfaceSecondary',
|
|
115
|
+
fillHover: 'surfacePrimaryHover',
|
|
146
116
|
labelTextColor: 'surfaceTextPrimary',
|
|
147
117
|
iconAfterFillIcon: 'surfaceItemPrimary',
|
|
148
118
|
iconBeforeFillIcon: 'surfaceItemPrimary',
|
|
149
119
|
},
|
|
150
|
-
surfaceQuaternary: {
|
|
151
|
-
fill: 'surfaceQuaternary',
|
|
152
|
-
fillHover: 'surfaceQuaternaryHover',
|
|
153
|
-
labelTextColor: 'surfaceTextPrimary',
|
|
154
|
-
},
|
|
155
120
|
surfaceSecondary: {
|
|
156
121
|
fill: 'surfaceSecondary',
|
|
157
122
|
fillHover: 'surfaceSecondaryHover',
|
|
@@ -162,9 +127,14 @@ var menuItemAppearanceSurface = {
|
|
|
162
127
|
fillHover: 'surfaceTertiaryHover',
|
|
163
128
|
labelTextColor: 'surfaceTextPrimary',
|
|
164
129
|
},
|
|
130
|
+
surfaceQuaternary: {
|
|
131
|
+
fill: 'surfaceQuaternary',
|
|
132
|
+
fillHover: 'surfaceQuaternaryHover',
|
|
133
|
+
labelTextColor: 'surfaceTextPrimary',
|
|
134
|
+
},
|
|
165
135
|
};
|
|
166
136
|
|
|
167
|
-
var menuItemAppearance = __assign(__assign(__assign(__assign(__assign(
|
|
137
|
+
var menuItemAppearance = __assign(__assign(__assign(__assign(__assign({}, menuItemAppearanceSize), menuItemAppearanceStyle), menuItemAppearanceAccent), menuItemAppearanceError), menuItemAppearanceSurface);
|
|
168
138
|
|
|
169
139
|
var menuItemConfig = {
|
|
170
140
|
appearance: menuItemAppearance,
|
|
@@ -179,7 +149,7 @@ function MenuItem(props) {
|
|
|
179
149
|
return (__assign(__assign({}, resultConfig), (_a = menuItemConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
|
|
180
150
|
}, {});
|
|
181
151
|
var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
182
|
-
var directionClass = propsGenerator.directionClass, justifyContentClass = propsGenerator.justifyContentClass, alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, labelStyle = propsGenerator.labelStyle, labelTextActiveColor = propsGenerator.labelTextActiveColor, labelTextActiveColorDisabled = propsGenerator.labelTextActiveColorDisabled, labelTextActiveHoverColor = propsGenerator.labelTextActiveHoverColor, labelTextActiveHoverColorDisabled = propsGenerator.labelTextActiveHoverColorDisabled, labelTextColor = propsGenerator.labelTextColor, labelTextColorDisabled = propsGenerator.labelTextColorDisabled, labelTextHoverColor = propsGenerator.labelTextHoverColor, labelTextHoverColorDisabled = propsGenerator.labelTextHoverColorDisabled, labelTextSize = propsGenerator.labelTextSize, labelWeight = propsGenerator.labelWeight, labelWrap = propsGenerator.labelWrap, iconAfter = propsGenerator.iconAfter, iconAfterFill = propsGenerator.iconAfterFill, iconAfterFillIcon = propsGenerator.iconAfterFillIcon, iconAfterFillSize = propsGenerator.iconAfterFillSize, iconAfterShape = propsGenerator.iconAfterShape, iconAfterSize = propsGenerator.iconAfterSize, iconAfterSrc = propsGenerator.iconAfterSrc, iconBadgeAppearance = propsGenerator.iconBadgeAppearance, iconBadgeShape = propsGenerator.iconBadgeShape, iconBadgeSize = propsGenerator.iconBadgeSize, iconBadgeTextColor = propsGenerator.iconBadgeTextColor, iconBadgeTextSize = propsGenerator.iconBadgeTextSize, iconBadgeValue = propsGenerator.iconBadgeValue, iconBefore = propsGenerator.iconBefore, iconBeforeFill = propsGenerator.iconBeforeFill, iconBeforeFillIcon = propsGenerator.iconBeforeFillIcon, iconBeforeFillSize = propsGenerator.iconBeforeFillSize, iconBeforeShape = propsGenerator.iconBeforeShape, iconBeforeSize = propsGenerator.iconBeforeSize, iconBeforeSrc = propsGenerator.iconBeforeSrc, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, typeClass = propsGenerator.typeClass, widthClass = propsGenerator.widthClass;
|
|
152
|
+
var directionClass = propsGenerator.directionClass, justifyContentClass = propsGenerator.justifyContentClass, alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, labelStyle = propsGenerator.labelStyle, labelTextActiveColor = propsGenerator.labelTextActiveColor, labelTextActiveColorDisabled = propsGenerator.labelTextActiveColorDisabled, labelTextActiveHoverColor = propsGenerator.labelTextActiveHoverColor, labelTextActiveHoverColorDisabled = propsGenerator.labelTextActiveHoverColorDisabled, labelTextColor = propsGenerator.labelTextColor, labelTextColorDisabled = propsGenerator.labelTextColorDisabled, labelTextHoverColor = propsGenerator.labelTextHoverColor, labelTextHoverColorDisabled = propsGenerator.labelTextHoverColorDisabled, labelTextSize = propsGenerator.labelTextSize, labelWeight = propsGenerator.labelWeight, labelWrap = propsGenerator.labelWrap, iconAfter = propsGenerator.iconAfter, iconAfterFill = propsGenerator.iconAfterFill, iconAfterFillIcon = propsGenerator.iconAfterFillIcon, iconAfterFillSize = propsGenerator.iconAfterFillSize, iconAfterShape = propsGenerator.iconAfterShape, iconAfterSize = propsGenerator.iconAfterSize, iconAfterSrc = propsGenerator.iconAfterSrc, iconBadgeAppearance = propsGenerator.iconBadgeAppearance, iconBadgeShape = propsGenerator.iconBadgeShape, iconBadgeSize = propsGenerator.iconBadgeSize, iconBadgeTextColor = propsGenerator.iconBadgeTextColor, iconBadgeTextSize = propsGenerator.iconBadgeTextSize, iconBadgeValue = propsGenerator.iconBadgeValue, iconBefore = propsGenerator.iconBefore, iconBeforeFill = propsGenerator.iconBeforeFill, iconBeforeFillIcon = propsGenerator.iconBeforeFillIcon, iconBeforeFillSize = propsGenerator.iconBeforeFillSize, iconBeforeShape = propsGenerator.iconBeforeShape, iconBeforeSize = propsGenerator.iconBeforeSize, iconBeforeSrc = propsGenerator.iconBeforeSrc, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, typeClass = propsGenerator.typeClass, widthClass = propsGenerator.widthClass, isSkeleton = propsGenerator.isSkeleton;
|
|
183
153
|
// @ts-expect-error
|
|
184
154
|
var menuItem = useStyles(props).styles;
|
|
185
155
|
return (jsx("div", { className: clsx('menu-item', isActive && 'menu-item_state_active', isDisabled && "menu-item_state_disabled", directionClass && "menu-item_direction_".concat(directionClass), className, sizeClass && "menu-item_size_".concat(sizeClass), !isActive
|
|
@@ -187,7 +157,7 @@ function MenuItem(props) {
|
|
|
187
157
|
: fillActiveClass && "fill_active_".concat(fillActiveClass), !isActive
|
|
188
158
|
? fillHoverClass && "fill_hover_".concat(fillHoverClass)
|
|
189
159
|
: fillActiveHoverClass && "fill_active_hover_".concat(fillActiveHoverClass), shapeClass && "menu-item_shape_".concat(shapeClass), typeClass && "menu-item_type_".concat(typeClass), widthClass && "width_".concat(widthClass), justifyContentClass &&
|
|
190
|
-
"menu-item_justify-content_".concat(justifyContentClass)), style: menuItem, onClick: onClick, onMouseEnter: onMouseEnter, children: jsxs(Link, { className: clsx('menu-item__wrapper', alignDirectionClass && "align_".concat(alignDirectionClass), alignClass && "align_".concat(alignClass)), href: link || href, LinkComponent: LinkComponent, rel: rel, target: target, underline: underline, children: [before, children || (jsxs(React.Fragment, { children: [(iconBefore || iconBeforeSrc) && (jsx(Icon, { className: clsx('menu-item__icon_before', iconBadgeValue && 'menu-item__icon_before-badge'), fill: iconBeforeFill, fillSize: iconBeforeFillSize, badgeAppearance: iconBadgeAppearance, badgeClass: 'menu-item__icon_before_badge', badgeShape: iconBadgeShape, badgeSize: iconBadgeSize, badgeTextColor: iconBadgeTextColor, badgeTextSize: iconBadgeTextSize, badgeValue: iconBadgeValue, iconFill: iconBeforeFillIcon, iconSize: iconBeforeSize, imageSrc: iconBeforeSrc, shape: iconBeforeShape, SvgImage: iconBefore })), label && (jsx(Text, { className: "menu-item__label", size: labelTextSize, textColor: isActive
|
|
160
|
+
"menu-item_justify-content_".concat(justifyContentClass), isSkeleton && "menu-item_skeleton"), style: menuItem, onClick: onClick, onMouseEnter: onMouseEnter, children: jsxs(Link, { className: clsx('menu-item__wrapper', alignDirectionClass && "align_".concat(alignDirectionClass), alignClass && "align_".concat(alignClass)), href: link || href, LinkComponent: LinkComponent, rel: rel, target: target, underline: underline, children: [before, children || (jsxs(React.Fragment, { children: [(iconBefore || iconBeforeSrc) && (jsx(Icon, { className: clsx('menu-item__icon_before', iconBadgeValue && 'menu-item__icon_before-badge'), fill: iconBeforeFill, fillSize: iconBeforeFillSize, badgeAppearance: iconBadgeAppearance, badgeClass: 'menu-item__icon_before_badge', badgeShape: iconBadgeShape, badgeSize: iconBadgeSize, badgeTextColor: iconBadgeTextColor, badgeTextSize: iconBadgeTextSize, badgeValue: iconBadgeValue, iconFill: iconBeforeFillIcon, iconSize: iconBeforeSize, imageSrc: iconBeforeSrc, shape: iconBeforeShape, SvgImage: iconBefore })), label && (jsx(Text, { className: "menu-item__label", size: labelTextSize, textColor: isActive
|
|
191
161
|
? !isDisabled
|
|
192
162
|
? labelTextActiveColor
|
|
193
163
|
: labelTextActiveColorDisabled
|
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
|
};
|
|
@@ -6,10 +6,10 @@ 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';
|
|
@@ -32,7 +32,7 @@ var paginationAppearanceSurface = {
|
|
|
32
32
|
fillHover: 'surfaceSecondary',
|
|
33
33
|
gap: '8',
|
|
34
34
|
marginPagesDisplayed: 10,
|
|
35
|
-
nextLabel: (jsx(Icon, { size: "14", fillSize: "32", iconFill: "surfaceItemPrimary", shape: "circular", SvgImage:
|
|
35
|
+
nextLabel: (jsx(Icon, { size: "14", fillSize: "32", iconFill: "surfaceItemPrimary", shape: "circular", SvgImage: icons32.Arrow.Chevron_Right_Small })),
|
|
36
36
|
pageCountDesc: 'кол-во строк',
|
|
37
37
|
pageCountDescTextColor: 'surfaceTextPrimary',
|
|
38
38
|
pageCountDescTextSize: 'm',
|
|
@@ -55,13 +55,13 @@ var paginationAppearanceSurface = {
|
|
|
55
55
|
pageCountDropdownItemSize: 'l',
|
|
56
56
|
pageCountDropdownItemWidth: 'hug',
|
|
57
57
|
pageCountDropdownShape: 'rounded',
|
|
58
|
-
pageCountInputIcon:
|
|
58
|
+
pageCountInputIcon: icons24.Arrow.Chevron_Down_Small,
|
|
59
59
|
pageCountInputIconColor: 'surfaceItemPrimary',
|
|
60
60
|
pageCountInputIconFillSize: '24',
|
|
61
61
|
pageCountInputTextColor: 'surfaceTextPrimary',
|
|
62
62
|
pageCountInputTextSize: 'm',
|
|
63
63
|
pageRangeDisplayed: 8,
|
|
64
|
-
previousLabel: (jsx(Icon, { size: "14", fillSize: "32", iconFill: "surfaceItemPrimary", shape: "circular", SvgImage:
|
|
64
|
+
previousLabel: (jsx(Icon, { size: "14", fillSize: "32", iconFill: "surfaceItemPrimary", shape: "circular", SvgImage: icons32.Arrow.Chevron_Left_Small })),
|
|
65
65
|
},
|
|
66
66
|
};
|
|
67
67
|
|
|
@@ -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 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
2
|
-
import {
|
|
2
|
+
import { icons16, icons24 } from '@itcase/icons/default';
|
|
3
3
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
4
4
|
import React, { useCallback } from 'react';
|
|
5
5
|
import clsx from 'clsx';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
7
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
8
|
-
import { I as Icon } from '../
|
|
8
|
+
import { I as Icon } from '../Tooltip_es_B0nm9irO.js';
|
|
9
9
|
import { T as Text } from '../Text_es_BfLRfj-5.js';
|
|
10
10
|
import { S as Scrollbar } from '../Scrollbar_es_CThJeCLF.js';
|
|
11
11
|
import 'lodash/camelCase';
|
|
@@ -55,9 +55,9 @@ var searchAppearanceError = {
|
|
|
55
55
|
fill: 'errorTertiary',
|
|
56
56
|
borderColor: 'errorBorderQuaternary',
|
|
57
57
|
borderHover: 'errorBorderQuaternaryHover',
|
|
58
|
-
iconAfterFill: '
|
|
59
|
-
iconBeforeFill: '
|
|
60
|
-
iconClearFill: '
|
|
58
|
+
iconAfterFill: 'errorItemSecondary',
|
|
59
|
+
iconBeforeFill: 'errorItemSecondary',
|
|
60
|
+
iconClearFill: 'errorItemSecondary',
|
|
61
61
|
inputTextColor: 'surfaceTextPrimary',
|
|
62
62
|
placeholderTextColor: 'surfaceTextQuaternary',
|
|
63
63
|
},
|
|
@@ -79,43 +79,43 @@ var searchAppearanceRequire = {
|
|
|
79
79
|
var searchAppearanceSize = {
|
|
80
80
|
sizeXXL: {
|
|
81
81
|
size: 'xxl',
|
|
82
|
-
iconBefore:
|
|
83
|
-
iconClear:
|
|
82
|
+
iconBefore: icons24.Security.Search,
|
|
83
|
+
iconClear: icons24.Action.Clear,
|
|
84
84
|
inputTextSize: 'l',
|
|
85
85
|
placeholderTextSize: 'l',
|
|
86
86
|
},
|
|
87
87
|
sizeXL: {
|
|
88
88
|
size: 'xl',
|
|
89
|
-
iconBefore:
|
|
90
|
-
iconClear:
|
|
89
|
+
iconBefore: icons24.Security.Search,
|
|
90
|
+
iconClear: icons24.Action.Clear,
|
|
91
91
|
inputTextSize: 'm',
|
|
92
92
|
placeholderTextSize: 'm',
|
|
93
93
|
},
|
|
94
94
|
sizeL: {
|
|
95
95
|
size: 'l',
|
|
96
|
-
iconBefore:
|
|
97
|
-
iconClear:
|
|
96
|
+
iconBefore: icons24.Security.Search,
|
|
97
|
+
iconClear: icons24.Action.Clear,
|
|
98
98
|
inputTextSize: 's',
|
|
99
99
|
placeholderTextSize: 's',
|
|
100
100
|
},
|
|
101
101
|
sizeM: {
|
|
102
102
|
size: 'm',
|
|
103
|
-
iconBefore:
|
|
104
|
-
iconClear:
|
|
103
|
+
iconBefore: icons24.Security.Search,
|
|
104
|
+
iconClear: icons24.Action.Clear,
|
|
105
105
|
inputTextSize: 'm',
|
|
106
106
|
placeholderTextSize: 'm',
|
|
107
107
|
},
|
|
108
108
|
sizeS: {
|
|
109
109
|
size: 's',
|
|
110
|
-
iconBefore:
|
|
111
|
-
iconClear:
|
|
110
|
+
iconBefore: icons24.Security.Search,
|
|
111
|
+
iconClear: icons24.Action.Clear,
|
|
112
112
|
inputTextSize: 's',
|
|
113
113
|
placeholderTextSize: 's',
|
|
114
114
|
},
|
|
115
115
|
sizeXS: {
|
|
116
116
|
size: 'xs',
|
|
117
|
-
iconBefore:
|
|
118
|
-
iconClear:
|
|
117
|
+
iconBefore: icons16.Security.Search,
|
|
118
|
+
iconClear: icons16.Action.Clear,
|
|
119
119
|
inputTextSize: 's',
|
|
120
120
|
placeholderTextSize: 's',
|
|
121
121
|
},
|