@itcase/ui 1.8.31 → 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_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_BYh1Dsto.js} +9 -9
- package/dist/{DatePicker_es_DGck2HRu.js → DatePicker_es_DEAcYDTL.js} +10 -10
- 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/{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 +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 +68 -8
- package/dist/cjs/components/Choice.js +20 -15
- 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 +1 -1
- 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 +13 -13
- 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 +67 -8
- package/dist/components/Choice.js +20 -15
- 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 +1 -1
- 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 +14 -14
- 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 +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/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/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/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/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/Drawer/appearance/drawerSurface.d.ts +5 -5
- 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/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
|
@@ -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';
|
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';
|
|
@@ -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
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
2
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
3
|
import Select, { components } from 'react-select';
|
|
4
|
-
import { I as Icon, B as Badge } from '../
|
|
4
|
+
import { I as Icon, B as Badge } from '../Tooltip_es_B0nm9irO.js';
|
|
5
5
|
import React, { useRef, useCallback, useEffect, useMemo } from 'react';
|
|
6
6
|
import clsx from 'clsx';
|
|
7
7
|
import CreatableSelect from 'react-select/creatable';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsxs } from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
var slidesMock = Array.from({ length: 10 }, function (_, index) { return (jsxs("div", { style: {
|
|
4
|
+
width: '100%',
|
|
5
|
+
height: 'auto',
|
|
6
|
+
justifyContent: 'center',
|
|
7
|
+
alignItems: 'center',
|
|
8
|
+
fontSize: 24,
|
|
9
|
+
fontWeight: 'bold',
|
|
10
|
+
display: 'flex',
|
|
11
|
+
background: "hsl(".concat(index * 60, ", 70%, 80%)"),
|
|
12
|
+
}, children: ["Slide ", index + 1] }, index)); });
|
|
13
|
+
|
|
14
|
+
export { slidesMock };
|
|
@@ -4,7 +4,7 @@ import clsx from 'clsx';
|
|
|
4
4
|
import { Swiper as Swiper$1, SwiperSlide } from 'swiper/react';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
7
|
-
import { b as Title } from '../
|
|
7
|
+
import { b as Title } from '../Tooltip_es_B0nm9irO.js';
|
|
8
8
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
9
9
|
import 'lodash/camelCase';
|
|
10
10
|
import 'lodash/castArray';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { icons16 } from '@itcase/icons/default';
|
|
2
2
|
|
|
3
3
|
var tabListMock = {
|
|
4
4
|
tabList: [
|
|
5
5
|
{ key: 1, label: 'Tab 1', isActive: true },
|
|
6
6
|
{ key: 2, label: 'Tab 2', isActive: false },
|
|
7
7
|
{ key: 3, label: 'Tab 3', badgeValue: 3, isActive: false },
|
|
8
|
-
{ key: 4, label: 'Tab 4', icon:
|
|
8
|
+
{ key: 4, label: 'Tab 4', icon: icons16.Placeholder, isActive: false },
|
|
9
9
|
],
|
|
10
10
|
};
|
|
11
11
|
|
package/dist/components/Tab.js
CHANGED
|
@@ -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 { B as Badge, I as Icon } from '../
|
|
7
|
+
import { B as Badge, I as Icon } from '../Tooltip_es_B0nm9irO.js';
|
|
8
8
|
import { D as Divider } from '../Divider_es_kY-30pft.js';
|
|
9
9
|
import { L as Link } from '../Link_es_DxtZLeKY.js';
|
|
10
10
|
import { T as Text } from '../Text_es_BfLRfj-5.js';
|
package/dist/components/Tile.js
CHANGED
|
@@ -3,7 +3,7 @@ import { jsx, jsxs } 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 { b as Title, B as Badge, I as Icon } from '../
|
|
6
|
+
import { b as Title, B as Badge, I as Icon } from '../Tooltip_es_B0nm9irO.js';
|
|
7
7
|
import { T as Text } from '../Text_es_BfLRfj-5.js';
|
|
8
8
|
import 'react';
|
|
9
9
|
import 'lodash/camelCase';
|
package/dist/components/Title.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { b as Title, d as titleAppearance, c as titleConfig } from '../
|
|
1
|
+
export { b as Title, d as titleAppearance, c as titleConfig } from '../Tooltip_es_B0nm9irO.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { T as Tooltip, a as tooltipAppearance, t as tooltipConfig } from '../
|
|
1
|
+
export { T as Tooltip, a as tooltipAppearance, t as tooltipConfig } from '../Tooltip_es_B0nm9irO.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -8,12 +8,6 @@
|
|
|
8
8
|
border-right: var(--chioce-item-border-right);
|
|
9
9
|
}
|
|
10
10
|
*/
|
|
11
|
-
&_state_disabled {
|
|
12
|
-
background: var(--choice-item-state-disabled-background);
|
|
13
|
-
&:hover {
|
|
14
|
-
background: var(--choice-item-state-disabled-background);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
11
|
& input {
|
|
18
12
|
width: 100%;
|
|
19
13
|
height: 100%;
|
|
@@ -35,9 +29,6 @@
|
|
|
35
29
|
transition: color 0.5s ease;
|
|
36
30
|
cursor: pointer;
|
|
37
31
|
}
|
|
38
|
-
&-icon {
|
|
39
|
-
padding: var(--choice-item-icon-padding);
|
|
40
|
-
}
|
|
41
32
|
}
|
|
42
33
|
.choice__item {
|
|
43
34
|
&_shape {
|
|
@@ -54,8 +45,11 @@
|
|
|
54
45
|
&_size {
|
|
55
46
|
@each $size in xxl, xl, l, m, s, xs, xxs {
|
|
56
47
|
&_$(size) {
|
|
57
|
-
min-height: var(--choice-size-$(size)-min-height);
|
|
48
|
+
min-height: var(--choice-item-size-$(size)-min-height);
|
|
58
49
|
padding: var(--choice-item-size-$(size)-padding);
|
|
50
|
+
^^&-label {
|
|
51
|
+
gap: var(--choice-item-size-$(size)-gap);
|
|
52
|
+
}
|
|
59
53
|
}
|
|
60
54
|
}
|
|
61
55
|
}
|
|
@@ -145,28 +139,29 @@
|
|
|
145
139
|
}
|
|
146
140
|
:root {
|
|
147
141
|
--choice-size-s-height: 28px;
|
|
148
|
-
--choice-size-m-height: 36px;
|
|
149
|
-
--choice-size-l-height: 40px;
|
|
150
|
-
|
|
151
142
|
--choice-size-s-min-height: 28px;
|
|
152
|
-
--choice-size-m-min-height: 36px;
|
|
153
|
-
--choice-size-l-min-height: 40px;
|
|
154
|
-
|
|
155
143
|
--choice-size-s-row-gap: 12px;
|
|
156
144
|
--choice-size-s-column-gap: 12px;
|
|
157
145
|
|
|
158
146
|
--choice-size-m-row-gap: 12px;
|
|
159
147
|
--choice-size-m-column-gap: 12px;
|
|
148
|
+
--choice-size-m-height: 36px;
|
|
149
|
+
--choice-size-m-min-height: 36px;
|
|
160
150
|
|
|
151
|
+
--choice-size-l-height: 40px;
|
|
152
|
+
--choice-size-l-min-height: 40px;
|
|
161
153
|
--choice-size-l-row-gap: 12px;
|
|
162
154
|
--choice-size-l-column-gap: 12px;
|
|
163
155
|
|
|
164
|
-
--choice-shape-rounded: 8px;
|
|
165
|
-
|
|
166
156
|
--choice-item-size-s-padding: 0px 6px;
|
|
157
|
+
--choice-item-size-s-min-height: 24px;
|
|
158
|
+
--choice-item-size-s-gap: 8px;
|
|
159
|
+
|
|
167
160
|
--choice-item-size-m-padding: 0px 12px;
|
|
168
|
-
--choice-item-size-
|
|
161
|
+
--choice-item-size-m-min-height: 32px;
|
|
162
|
+
--choice-item-size-m-gap: 8px;
|
|
169
163
|
|
|
170
|
-
--choice-item-
|
|
171
|
-
--choice-item-
|
|
164
|
+
--choice-item-size-l-padding: 0px 12px;
|
|
165
|
+
--choice-item-size-l-min-height: 36px;
|
|
166
|
+
--choice-item-size-l-gap: 8px;
|
|
172
167
|
}
|
|
@@ -8,12 +8,6 @@
|
|
|
8
8
|
border-right: var(--chioce-item-border-right);
|
|
9
9
|
}
|
|
10
10
|
*/
|
|
11
|
-
&_state_disabled {
|
|
12
|
-
background: var(--choice-item-state-disabled-background);
|
|
13
|
-
&:hover {
|
|
14
|
-
background: var(--choice-item-state-disabled-background);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
11
|
& input {
|
|
18
12
|
width: 100%;
|
|
19
13
|
height: 100%;
|
|
@@ -35,7 +29,4 @@
|
|
|
35
29
|
transition: color 0.5s ease;
|
|
36
30
|
cursor: pointer;
|
|
37
31
|
}
|
|
38
|
-
&-icon {
|
|
39
|
-
padding: var(--choice-item-icon-padding);
|
|
40
|
-
}
|
|
41
32
|
}
|
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
&_size {
|
|
3
3
|
@each $size in xxl, xl, l, m, s, xs, xxs {
|
|
4
4
|
&_$(size) {
|
|
5
|
-
min-height: var(--choice-size-$(size)-min-height);
|
|
5
|
+
min-height: var(--choice-item-size-$(size)-min-height);
|
|
6
6
|
padding: var(--choice-item-size-$(size)-padding);
|
|
7
|
+
^^&-label {
|
|
8
|
+
gap: var(--choice-item-size-$(size)-gap);
|
|
9
|
+
}
|
|
7
10
|
}
|
|
8
11
|
}
|
|
9
12
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
.code {
|
|
2
|
-
width: 100%;
|
|
3
2
|
&__wrapper {
|
|
4
3
|
width: 100%;
|
|
5
4
|
display: flex;
|
|
@@ -40,7 +39,6 @@
|
|
|
40
39
|
.code__input {
|
|
41
40
|
border: none;
|
|
42
41
|
outline: none;
|
|
43
|
-
|
|
44
42
|
&:focus {
|
|
45
43
|
outline: none;
|
|
46
44
|
}
|
|
@@ -78,11 +76,11 @@
|
|
|
78
76
|
}
|
|
79
77
|
}
|
|
80
78
|
:root {
|
|
81
|
-
--code-input-shape-rounded: 0;
|
|
82
79
|
--code-input-size-l-width: 56px;
|
|
83
|
-
--code-input-size-l-height:
|
|
84
|
-
--code-
|
|
80
|
+
--code-input-size-l-height: 56px;
|
|
81
|
+
--code-size-l-gap: 8px;
|
|
82
|
+
|
|
85
83
|
--code-input-size-m-width: 48px;
|
|
86
|
-
--code-input-size-m-height:
|
|
87
|
-
--code-
|
|
84
|
+
--code-input-size-m-height: 48px;
|
|
85
|
+
--code-size-m-gap: 6px;
|
|
88
86
|
}
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
width: 100%;
|
|
4
4
|
^&__input {
|
|
5
5
|
height: auto;
|
|
6
|
-
color: var(--
|
|
7
|
-
padding: var(--
|
|
8
|
-
border: 1px solid var(--
|
|
9
|
-
border-radius: var(--
|
|
6
|
+
color: var(--dadata-color);
|
|
7
|
+
padding: var(--dadata-padding);
|
|
8
|
+
border: 1px solid var(--dadata-border);
|
|
9
|
+
border-radius: var(--dadata-border-radius);
|
|
10
10
|
box-shadow: none;
|
|
11
11
|
&:hover {
|
|
12
|
-
border: solid 1px var(--
|
|
12
|
+
border: solid 1px var(--dadata-hover-border);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
&__suggestion {
|
|
20
20
|
position: relative !important;
|
|
21
21
|
&:hover {
|
|
22
|
-
background: var(--
|
|
22
|
+
background: var(--dadata-suggestion-hover-color, --color-accent-tertiary);
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
&--highlighted {
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
}
|
|
28
28
|
& .input_state {
|
|
29
29
|
&_error {
|
|
30
|
-
border: solid 1px var(--
|
|
30
|
+
border: solid 1px var(--dadata-error-border);
|
|
31
31
|
&:hover {
|
|
32
|
-
border: solid 1px var(--
|
|
32
|
+
border: solid 1px var(--dadata-error-border);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
&_focus {
|
|
36
|
-
border: solid 1px var(--
|
|
36
|
+
border: solid 1px var(--dadata-focus-border);
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
}
|