@itcase/ui 1.8.121 → 1.8.122
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_BKcQuqYV.js → Avatar_cjs_kuE0Rueg.js} +2 -2
- package/dist/{Avatar_es_Cpn1PNmO.js → Avatar_es_lx7s4Vla.js} +2 -2
- package/dist/{Button_cjs_3BTD8Mlm.js → Button_cjs_i0Dn1pkl.js} +2 -2
- package/dist/{Button_es_B_k-SP92.js → Button_es_CtH5EKJd.js} +2 -2
- package/dist/{ChipsGroup_cjs_DhoY9YjT.js → ChipsGroup_cjs_C8L3ZeD_.js} +1 -1
- package/dist/{ChipsGroup_es_Dg1GmJ-9.js → ChipsGroup_es_ayPPUwQ7.js} +1 -1
- package/dist/{DatePicker_cjs_BLkZB0S0.js → DatePicker_cjs_DsIAoi01.js} +3 -3
- package/dist/{DatePicker_es_CKrgRUWu.js → DatePicker_es_BP5BrEr-.js} +3 -3
- package/dist/{DropdownItem_cjs_D3Mcbsxa.js → DropdownItem_cjs_Bhss6lyM.js} +1 -1
- package/dist/{DropdownItem_es_BUs02mjJ.js → DropdownItem_es_BXl6lPJx.js} +1 -1
- package/dist/{Icon_cjs_CUArL1z2.js → Icon_cjs_Cz6IyOkb.js} +2 -2
- package/dist/{Icon_es_CNrc90oI.js → Icon_es_BrwLifge.js} +2 -2
- package/dist/{Label_cjs_BUEGAnsq.js → Label_cjs_DMoaOoHi.js} +1 -1
- package/dist/{Label_es_I01RN9hv.js → Label_es_SULlg9bL.js} +1 -1
- package/dist/{Loader_cjs_Cme6Hi0B.js → Loader_cjs_D3lnxPlI.js} +4 -0
- package/dist/{Loader_es_ByhTIMxS.js → Loader_es_BUSqFrCd.js} +4 -0
- package/dist/cjs/components/Accordion.js +1 -1
- 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.js +1 -1
- package/dist/cjs/components/Button.js +3 -3
- package/dist/cjs/components/Cell.js +2 -2
- package/dist/cjs/components/Chips.js +2 -2
- package/dist/cjs/components/Choice.js +2 -2
- package/dist/cjs/components/CookiesWarning.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 +1 -1
- 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/Loader.js +1 -1
- package/dist/cjs/components/MenuItem.js +3 -2
- package/dist/cjs/components/Modal.js +2 -2
- package/dist/cjs/components/ModalSheetBottom.js +1 -1
- package/dist/cjs/components/Notification.js +1 -1
- package/dist/cjs/components/Pagination.js +2 -2
- package/dist/cjs/components/Response/img.js +8 -2
- package/dist/cjs/components/Response.js +124 -30
- package/dist/cjs/components/Search.js +1 -1
- package/dist/cjs/components/Segmented.js +1 -1
- package/dist/cjs/components/Select.js +2 -2
- package/dist/cjs/components/Swiper.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/cjs/components/Warning.js +1 -1
- package/dist/components/Accordion.js +1 -1
- 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.js +1 -1
- package/dist/components/Button.js +3 -3
- package/dist/components/Cell.js +2 -2
- package/dist/components/Chips.js +2 -2
- package/dist/components/Choice.js +2 -2
- package/dist/components/CookiesWarning.js +3 -3
- package/dist/components/DatePeriod.js +6 -6
- package/dist/components/DatePicker.js +5 -5
- package/dist/components/Drawer.js +1 -1
- 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/Loader.js +1 -1
- package/dist/components/MenuItem.js +3 -2
- package/dist/components/Modal.js +2 -2
- package/dist/components/ModalSheetBottom.js +1 -1
- package/dist/components/Notification.js +1 -1
- package/dist/components/Pagination.js +2 -2
- package/dist/components/Response/img.js +8 -2
- package/dist/components/Response.js +125 -32
- package/dist/components/Search.js +1 -1
- package/dist/components/Segmented.js +1 -1
- package/dist/components/Select.js +2 -2
- package/dist/components/Swiper.js +1 -1
- 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/components/Warning.js +1 -1
- package/dist/css/components/Cell/Cell.css +1 -2
- package/dist/css/components/MenuItem/MenuItem.css +28 -15
- package/dist/css/components/Tooltip/Tooltip.css +1 -0
- package/dist/types/components/Response/Response.constant.d.ts +79 -0
- package/dist/types/components/Response/appearance/responseStyle.d.ts +14 -0
- package/dist/types/components/Response/img/index.d.ts +2 -0
- package/dist/types/components/Response/index.d.ts +2 -1
- package/package.json +1 -1
- /package/dist/types/components/Response/appearance/{responceConfirm.d.ts → responseConfirm.d.ts} +0 -0
- /package/dist/types/components/Response/appearance/{responceEmpty.d.ts → responseEmpty.d.ts} +0 -0
- /package/dist/types/components/Response/appearance/{responceFail.d.ts → responseFail.d.ts} +0 -0
- /package/dist/types/components/Response/appearance/{responceNothingFound.d.ts → responseNothingFound.d.ts} +0 -0
- /package/dist/types/components/Response/appearance/{responceRefresh.d.ts → responseRefresh.d.ts} +0 -0
|
@@ -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_BP5BrEr-.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -21,14 +21,14 @@ import '../hooks.js';
|
|
|
21
21
|
import '../hooks/useStyles/styleAttributes.js';
|
|
22
22
|
import '../hooks/useStyles/useStyles.js';
|
|
23
23
|
import 'lodash/maxBy';
|
|
24
|
-
import '../
|
|
25
|
-
import '../
|
|
24
|
+
import '../Button_es_CtH5EKJd.js';
|
|
25
|
+
import '../Icon_es_BrwLifge.js';
|
|
26
26
|
import 'react-inlinesvg';
|
|
27
27
|
import '../hoc/urlWithAssetPrefix.js';
|
|
28
28
|
import '../context/UrlAssetPrefix.js';
|
|
29
29
|
import '../Link_es_XiqbdwLp.js';
|
|
30
30
|
import '../Text_es_CwV9rjFD.js';
|
|
31
|
-
import '../
|
|
31
|
+
import '../Loader_es_BUSqFrCd.js';
|
|
32
32
|
import '../Input_es_CiDHjDqJ.js';
|
|
33
|
-
import '../
|
|
33
|
+
import '../Label_es_SULlg9bL.js';
|
|
34
34
|
import '@itcase/icons/default';
|
|
@@ -3,7 +3,7 @@ import { useRef, useEffect } from 'react';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import ReactDrawer from 'react-modern-drawer';
|
|
5
5
|
import { D as Divider } from '../Divider_es_CCLBFIx6.js';
|
|
6
|
-
import { I as Icon, b as Title } from '../
|
|
6
|
+
import { I as Icon, b as Title } from '../Icon_es_BrwLifge.js';
|
|
7
7
|
import { T as Text } from '../Text_es_CwV9rjFD.js';
|
|
8
8
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
9
9
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
@@ -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_BXl6lPJx.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -18,7 +18,7 @@ import '../hooks.js';
|
|
|
18
18
|
import '../hooks/useStyles/styleAttributes.js';
|
|
19
19
|
import '../hooks/useStyles/useStyles.js';
|
|
20
20
|
import 'lodash/maxBy';
|
|
21
|
-
import '../
|
|
21
|
+
import '../Icon_es_BrwLifge.js';
|
|
22
22
|
import 'react-inlinesvg';
|
|
23
23
|
import '../hoc/urlWithAssetPrefix.js';
|
|
24
24
|
import '../context/UrlAssetPrefix.js';
|
|
@@ -4,7 +4,7 @@ import clsx from 'clsx';
|
|
|
4
4
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
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 '../Icon_es_BrwLifge.js';
|
|
8
8
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
9
9
|
import 'lodash/camelCase';
|
|
10
10
|
import 'lodash/castArray';
|
package/dist/components/Icon.js
CHANGED
|
@@ -4,7 +4,7 @@ import { useState, useMemo, useCallback } from 'react';
|
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
|
-
import { I as Icon } from '../
|
|
7
|
+
import { I as Icon } from '../Icon_es_BrwLifge.js';
|
|
8
8
|
import 'lodash/camelCase';
|
|
9
9
|
import 'lodash/castArray';
|
|
10
10
|
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_SULlg9bL.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -19,7 +19,7 @@ import '../hooks.js';
|
|
|
19
19
|
import '../hooks/useStyles/styleAttributes.js';
|
|
20
20
|
import '../hooks/useStyles/useStyles.js';
|
|
21
21
|
import 'lodash/maxBy';
|
|
22
|
-
import '../
|
|
22
|
+
import '../Icon_es_BrwLifge.js';
|
|
23
23
|
import 'react-inlinesvg';
|
|
24
24
|
import '../hoc/urlWithAssetPrefix.js';
|
|
25
25
|
import '../context/UrlAssetPrefix.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { L as Loader, a as loaderAppearance, l as loaderConfig } from '../
|
|
1
|
+
export { L as Loader, a as loaderAppearance, l as loaderConfig } from '../Loader_es_BUSqFrCd.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'clsx';
|
|
4
4
|
import '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
@@ -4,7 +4,7 @@ import clsx from 'clsx';
|
|
|
4
4
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
7
|
-
import { I as Icon, T as Tooltip } from '../
|
|
7
|
+
import { I as Icon, T as Tooltip } from '../Icon_es_BrwLifge.js';
|
|
8
8
|
import { L as Link } from '../Link_es_XiqbdwLp.js';
|
|
9
9
|
import { T as Text } from '../Text_es_CwV9rjFD.js';
|
|
10
10
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
@@ -202,7 +202,8 @@ function MenuItem(props) {
|
|
|
202
202
|
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, labelTextActiveHoverColor = propsGenerator.labelTextActiveHoverColor, labelTextColor = propsGenerator.labelTextColor, labelTextColorDisabled = propsGenerator.labelTextColorDisabled, labelTextHoverColor = propsGenerator.labelTextHoverColor, labelTextSize = propsGenerator.labelTextSize, labelWeight = propsGenerator.labelWeight, labelWrap = propsGenerator.labelWrap, borderColorClass = propsGenerator.borderColorClass, 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, shapeStrengthClass = propsGenerator.shapeStrengthClass, sizeClass = propsGenerator.sizeClass, tooltipFill = propsGenerator.tooltipFill, tooltipShapeStrength = propsGenerator.tooltipShapeStrength, tooltipText = propsGenerator.tooltipText, tooltipTextColor = propsGenerator.tooltipTextColor, tooltipTitleTextColor = propsGenerator.tooltipTitleTextColor, typeClass = propsGenerator.typeClass, widthClass = propsGenerator.widthClass, isSkeleton = propsGenerator.isSkeleton;
|
|
203
203
|
// @ts-expect-error
|
|
204
204
|
var menuItem = useStyles(props).styles;
|
|
205
|
-
return (jsxs("div", { className: clsx('menu-item', isActive && 'menu-item_state_active', isDisabled && "menu-item_state_disabled", directionClass && "menu-item_direction_".concat(directionClass), className,
|
|
205
|
+
return (jsxs("div", { className: clsx('menu-item', isActive && 'menu-item_state_active', isDisabled && "menu-item_state_disabled", directionClass && "menu-item_direction_".concat(directionClass), className, (iconBefore || iconBeforeSrc || iconAfter || iconAfterSrc) &&
|
|
206
|
+
'menu-item_label-icon', sizeClass && "menu-item_size_".concat(sizeClass), borderColorClass && "border-color_".concat(borderColorClass), !isActive
|
|
206
207
|
? fillClass && "fill_".concat(fillClass)
|
|
207
208
|
: fillActiveClass && "fill_active_".concat(fillActiveClass), !isActive
|
|
208
209
|
? fillHoverClass && "fill_hover_".concat(fillHoverClass)
|
package/dist/components/Modal.js
CHANGED
|
@@ -5,11 +5,11 @@ import ReactDOM from 'react-dom';
|
|
|
5
5
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
7
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
8
|
-
import { b as Title, I as Icon } from '../
|
|
8
|
+
import { b as Title, I as Icon } from '../Icon_es_BrwLifge.js';
|
|
9
9
|
import { O as Overlay } from '../Overlay_es_DF3DAdxS.js';
|
|
10
10
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
11
11
|
import { icons24, icons32, icons40 } from '@itcase/icons/default';
|
|
12
|
-
import { L as Loader } from '../
|
|
12
|
+
import { L as Loader } from '../Loader_es_BUSqFrCd.js';
|
|
13
13
|
import 'lodash/camelCase';
|
|
14
14
|
import 'lodash/castArray';
|
|
15
15
|
import 'lodash/upperFirst';
|
|
@@ -6,7 +6,7 @@ import { Sheet } from 'react-modal-sheet';
|
|
|
6
6
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
8
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
9
|
-
import { b as Title } from '../
|
|
9
|
+
import { b as Title } from '../Icon_es_BrwLifge.js';
|
|
10
10
|
import 'lodash/camelCase';
|
|
11
11
|
import 'lodash/castArray';
|
|
12
12
|
import 'lodash/upperFirst';
|
|
@@ -3,7 +3,7 @@ import clsx from 'clsx';
|
|
|
3
3
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
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 '../Icon_es_BrwLifge.js';
|
|
7
7
|
import { T as Text } from '../Text_es_CwV9rjFD.js';
|
|
8
8
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
9
9
|
import { icons20 } from '@itcase/icons/default';
|
|
@@ -6,8 +6,8 @@ import ReactPaginate from 'react-paginate';
|
|
|
6
6
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
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_BXl6lPJx.js';
|
|
10
|
+
import { I as Icon } from '../Icon_es_BrwLifge.js';
|
|
11
11
|
import { T as Text } from '../Text_es_CwV9rjFD.js';
|
|
12
12
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
13
13
|
import { icons14, icons24, icons16 } from '@itcase/icons/default';
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
var img$
|
|
1
|
+
var img$a = "data:image/svg+xml,%3csvg width='180' height='180' viewBox='0 0 180 180' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='180' height='180' rx='90' fill='%23D9D9D9'/%3e%3cpath d='M93.2275 101.842H84.0659C83.8263 99.1898 83.976 96.839 84.515 94.7895C85.1138 92.74 86.2216 90.8111 87.8383 89.0027C89.515 87.1341 91.7904 85.2051 94.6647 83.2159C96.5808 81.8898 97.9581 80.5637 98.7964 79.2375C99.6946 77.9114 100.144 76.4345 100.144 74.807C100.144 72.2753 99.2156 70.1957 97.3593 68.5682C95.503 66.9406 93.0778 66.1269 90.0838 66.1269C87.3892 66.1269 84.7246 66.9105 82.0898 68.4777C79.4551 69.9847 77.0299 72.3959 74.8144 75.7112L67 67.9352C70.0539 64.0774 73.5868 61.1237 77.5988 59.0742C81.6707 57.0247 85.9521 56 90.4431 56C94.5749 56 98.2575 56.8439 101.491 58.5317C104.725 60.1592 107.269 62.3896 109.126 65.2227C111.042 67.9955 112 71.1601 112 74.7166C112 78.0922 111.042 81.1062 109.126 83.7584C107.269 86.4107 104.455 88.8821 100.683 91.1727C97.7485 92.8605 95.7725 94.4881 94.7545 96.0553C93.7365 97.6226 93.2275 99.5515 93.2275 101.842ZM96.1916 115.767C96.1916 117.756 95.4731 119.474 94.0359 120.92C92.5988 122.307 90.8323 123 88.7365 123C86.6407 123 84.8743 122.307 83.4371 120.92C82 119.474 81.2814 117.756 81.2814 115.767C81.2814 113.717 82 111.999 83.4371 110.613C84.8743 109.166 86.6407 108.443 88.7365 108.443C90.8323 108.443 92.5988 109.166 94.0359 110.613C95.4731 111.999 96.1916 113.717 96.1916 115.767Z' fill='%23747474'/%3e%3c/svg%3e";
|
|
2
|
+
|
|
3
|
+
var img$9 = "data:image/svg+xml,%3csvg width='180' height='180' viewBox='0 0 180 180' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='180' height='180' rx='90' fill='%23E00000'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M85.7155 56.9042L54.1865 115.911C53.0219 118.09 54.5678 121.43 58.4708 121.43H121.529C125.432 121.43 126.978 118.09 125.814 115.911L94.2845 56.9043C93.5012 55.4392 91.8762 54.57 89.9998 54.57C88.1237 54.57 86.4986 55.439 85.7155 56.9042ZM89.9998 48C93.9317 48 98.1142 49.8644 100.253 53.8659L131.782 112.873C135.732 120.266 129.482 128 121.529 128H58.4708C50.5181 128 44.2675 120.266 48.2181 112.873L79.7471 53.866C81.8855 49.8645 86.0683 48 89.9998 48ZM90.0002 74.0886C91.8588 74.0886 93.3658 75.5593 93.3658 77.3736V92.8756C93.3658 94.6897 91.8588 96.1606 90.0002 96.1606C88.1411 96.1606 86.6345 94.6897 86.6345 92.8756V77.3736C86.6345 75.5593 88.1411 74.0886 90.0002 74.0886ZM93.3658 108.377C93.3658 106.563 91.8588 105.092 90.0002 105.092C88.1411 105.092 86.6345 106.563 86.6345 108.377V108.457C86.6345 110.271 88.1411 111.742 90.0002 111.742C91.8588 111.742 93.3658 110.271 93.3658 108.457V108.377Z' fill='white'/%3e%3c/svg%3e";
|
|
4
|
+
|
|
5
|
+
var img$8 = "data:image/svg+xml,%3csvg width='180' height='180' viewBox='0 0 180 180' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='180' height='180' rx='90' fill='%23D9D9D9'/%3e%3cpath d='M90.5029 123.721C93.8166 123.721 96.5029 126.407 96.5029 129.721V134.749C96.5027 138.063 93.8165 140.749 90.5029 140.749C87.1894 140.749 84.5031 138.063 84.5029 134.749V129.721C84.5029 126.407 87.1892 123.721 90.5029 123.721ZM90.5029 39.252C93.8166 39.252 96.5029 41.9383 96.5029 45.252V104.582C96.5024 107.895 93.8163 110.582 90.5029 110.582C87.1895 110.582 84.5034 107.895 84.5029 104.582V45.252C84.5029 41.9382 87.1892 39.252 90.5029 39.252Z' fill='%23747474'/%3e%3c/svg%3e";
|
|
2
6
|
|
|
3
7
|
var img$7 = "data:image/svg+xml,%3csvg width='180' height='180' viewBox='0 0 180 180' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='180' height='180' rx='90' fill='%23E00000'/%3e%3cpath d='M90.5029 123.721C93.8166 123.721 96.5029 126.407 96.5029 129.721V134.749C96.5027 138.063 93.8165 140.749 90.5029 140.749C87.1894 140.749 84.5031 138.063 84.5029 134.749V129.721C84.5029 126.407 87.1892 123.721 90.5029 123.721ZM90.5029 39.251C93.8166 39.251 96.5029 41.9383 96.5029 45.252V104.582C96.5024 107.895 93.8163 110.582 90.5029 110.582C87.1895 110.582 84.5034 107.895 84.5029 104.582V45.252C84.5029 41.9382 87.1892 39.251 90.5029 39.251Z' fill='white'/%3e%3c/svg%3e";
|
|
4
8
|
|
|
@@ -20,7 +24,9 @@ var responseIcon = {
|
|
|
20
24
|
Error: img$7,
|
|
21
25
|
Warning: img,
|
|
22
26
|
Success: img$2,
|
|
23
|
-
|
|
27
|
+
Danger: img$9,
|
|
28
|
+
Confirm: img$a,
|
|
29
|
+
Empty: img$8,
|
|
24
30
|
Fail: img$6,
|
|
25
31
|
NothingFound: img$5,
|
|
26
32
|
Refresh: img$4,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { responseIcon } from './Response/img.js';
|
|
2
2
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
4
4
|
import { useMemo } from 'react';
|
|
@@ -7,7 +7,7 @@ import { urlWithAssetPrefix } from '../hoc/urlWithAssetPrefix.js';
|
|
|
7
7
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
8
8
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
9
9
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
10
|
-
import { B as Button } from '../
|
|
10
|
+
import { B as Button } from '../Button_es_CtH5EKJd.js';
|
|
11
11
|
import { G as Group } from '../Group_es_DRqIIM9m.js';
|
|
12
12
|
import { T as Text } from '../Text_es_CwV9rjFD.js';
|
|
13
13
|
import '@itcase/common';
|
|
@@ -24,10 +24,10 @@ import '../utils/setViewportProperty.js';
|
|
|
24
24
|
import '../hooks.js';
|
|
25
25
|
import '../hooks/useStyles/styleAttributes.js';
|
|
26
26
|
import 'lodash/maxBy';
|
|
27
|
-
import '../
|
|
27
|
+
import '../Icon_es_BrwLifge.js';
|
|
28
28
|
import 'react-inlinesvg';
|
|
29
29
|
import '../Link_es_XiqbdwLp.js';
|
|
30
|
-
import '../
|
|
30
|
+
import '../Loader_es_BUSqFrCd.js';
|
|
31
31
|
|
|
32
32
|
var responseAppearanceConfirm = {
|
|
33
33
|
confirm: {
|
|
@@ -43,22 +43,22 @@ var responseAppearanceConfirm = {
|
|
|
43
43
|
},
|
|
44
44
|
};
|
|
45
45
|
|
|
46
|
-
var
|
|
47
|
-
|
|
46
|
+
var responseAppearanceDanger = {
|
|
47
|
+
danger: {
|
|
48
48
|
fill: 'surfacePrimary',
|
|
49
49
|
titleTextColor: 'surfaceTextPrimary',
|
|
50
50
|
titleTextSize: 'xxl',
|
|
51
51
|
labelTextColor: 'surfaceTextPrimary',
|
|
52
52
|
descTextSize: 'm',
|
|
53
|
-
primaryButtonAppearance: '
|
|
53
|
+
primaryButtonAppearance: 'dangerPrimary sizeXXL solid',
|
|
54
54
|
secondaryButtonAppearance: 'surfaceSecondary sizeXXL solid',
|
|
55
|
-
svgFill: '
|
|
56
|
-
svgPathFill: '
|
|
55
|
+
svgFill: 'dangerPrimary',
|
|
56
|
+
svgPathFill: 'dangerItemPrimary',
|
|
57
57
|
},
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
var
|
|
61
|
-
|
|
60
|
+
var responseAppearanceEmpty = {
|
|
61
|
+
empty: {
|
|
62
62
|
fill: 'surfacePrimary',
|
|
63
63
|
titleTextColor: 'surfaceTextPrimary',
|
|
64
64
|
titleTextSize: 'xxl',
|
|
@@ -71,22 +71,22 @@ var responseAppearanceFail = {
|
|
|
71
71
|
},
|
|
72
72
|
};
|
|
73
73
|
|
|
74
|
-
var
|
|
75
|
-
|
|
74
|
+
var responseAppearanceError = {
|
|
75
|
+
error: {
|
|
76
76
|
fill: 'surfacePrimary',
|
|
77
77
|
titleTextColor: 'surfaceTextPrimary',
|
|
78
78
|
titleTextSize: 'xxl',
|
|
79
79
|
labelTextColor: 'surfaceTextPrimary',
|
|
80
80
|
descTextSize: 'm',
|
|
81
|
-
primaryButtonAppearance: '
|
|
81
|
+
primaryButtonAppearance: 'errorPrimary sizeXXL solid',
|
|
82
82
|
secondaryButtonAppearance: 'surfaceSecondary sizeXXL solid',
|
|
83
|
-
svgFill: '
|
|
84
|
-
svgPathFill: '
|
|
83
|
+
svgFill: 'errorPrimary',
|
|
84
|
+
svgPathFill: 'errorItemPrimary',
|
|
85
85
|
},
|
|
86
86
|
};
|
|
87
87
|
|
|
88
|
-
var
|
|
89
|
-
|
|
88
|
+
var responseAppearanceFail = {
|
|
89
|
+
fail: {
|
|
90
90
|
fill: 'surfacePrimary',
|
|
91
91
|
titleTextColor: 'surfaceTextPrimary',
|
|
92
92
|
titleTextSize: 'xxl',
|
|
@@ -99,31 +99,45 @@ var responseAppearanceRefresh = {
|
|
|
99
99
|
},
|
|
100
100
|
};
|
|
101
101
|
|
|
102
|
-
var
|
|
103
|
-
|
|
102
|
+
var responseAppearanceNothingFound = {
|
|
103
|
+
nothingFound: {
|
|
104
104
|
fill: 'surfacePrimary',
|
|
105
105
|
titleTextColor: 'surfaceTextPrimary',
|
|
106
106
|
titleTextSize: 'xxl',
|
|
107
107
|
labelTextColor: 'surfaceTextPrimary',
|
|
108
108
|
descTextSize: 'm',
|
|
109
|
-
primaryButtonAppearance: '
|
|
109
|
+
primaryButtonAppearance: 'accentPrimary sizeXXL solid',
|
|
110
110
|
secondaryButtonAppearance: 'surfaceSecondary sizeXXL solid',
|
|
111
|
-
svgFill: '
|
|
112
|
-
svgPathFill: '
|
|
111
|
+
svgFill: 'surfaceTertiary',
|
|
112
|
+
svgPathFill: 'surfaceItemQuaternary',
|
|
113
113
|
},
|
|
114
114
|
};
|
|
115
115
|
|
|
116
|
-
var
|
|
117
|
-
|
|
116
|
+
var responseAppearanceRefresh = {
|
|
117
|
+
refresh: {
|
|
118
118
|
fill: 'surfacePrimary',
|
|
119
119
|
titleTextColor: 'surfaceTextPrimary',
|
|
120
120
|
titleTextSize: 'xxl',
|
|
121
121
|
labelTextColor: 'surfaceTextPrimary',
|
|
122
122
|
descTextSize: 'm',
|
|
123
|
-
primaryButtonAppearance: '
|
|
123
|
+
primaryButtonAppearance: 'accentPrimary sizeXXL solid',
|
|
124
124
|
secondaryButtonAppearance: 'surfaceSecondary sizeXXL solid',
|
|
125
|
-
svgFill: '
|
|
126
|
-
svgPathFill: '
|
|
125
|
+
svgFill: 'surfaceTertiary',
|
|
126
|
+
svgPathFill: 'surfaceItemQuaternary',
|
|
127
|
+
},
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
var responseAppearanceStyle = {
|
|
131
|
+
solid: {
|
|
132
|
+
borderColor: 'none',
|
|
133
|
+
},
|
|
134
|
+
outlined: {
|
|
135
|
+
fill: 'none',
|
|
136
|
+
},
|
|
137
|
+
full: {},
|
|
138
|
+
ghost: {
|
|
139
|
+
fill: 'none',
|
|
140
|
+
borderColor: 'none',
|
|
127
141
|
},
|
|
128
142
|
};
|
|
129
143
|
|
|
@@ -169,7 +183,7 @@ var responseAppearanceWarning = {
|
|
|
169
183
|
},
|
|
170
184
|
};
|
|
171
185
|
|
|
172
|
-
var responseAppearance = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, responseAppearanceConfirm), responseAppearanceEmpty), responseAppearanceDanger), responseAppearanceRefresh), responseAppearanceUnableLoadData), responseAppearanceNothingFound), responseAppearanceFail), responseAppearanceError), responseAppearanceSuccess), responseAppearanceWarning);
|
|
186
|
+
var responseAppearance = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, responseAppearanceConfirm), responseAppearanceEmpty), responseAppearanceDanger), responseAppearanceRefresh), responseAppearanceUnableLoadData), responseAppearanceNothingFound), responseAppearanceFail), responseAppearanceError), responseAppearanceSuccess), responseAppearanceWarning), responseAppearanceStyle);
|
|
173
187
|
|
|
174
188
|
var responseConfig = {
|
|
175
189
|
appearance: responseAppearance,
|
|
@@ -178,10 +192,10 @@ var responseConfig = {
|
|
|
178
192
|
},
|
|
179
193
|
};
|
|
180
194
|
var Response = urlWithAssetPrefix(function Response(props) {
|
|
181
|
-
var
|
|
195
|
+
var appearance = props.appearance, className = props.className, width = props.width, height = props.height, title = props.title, desc = props.desc, secondaryButton = props.secondaryButton, primaryButton = props.primaryButton, before = props.before, after = props.after, isSkeleton = props.isSkeleton, onClickSecondaryButton = props.onClickSecondaryButton;
|
|
182
196
|
var appearanceConfig = useAppearanceConfig(appearance, responseConfig);
|
|
183
197
|
var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
184
|
-
var fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, titleTextColor = propsGenerator.titleTextColor, titleTextSize = propsGenerator.titleTextSize, titleTextWeight = propsGenerator.titleTextWeight, descTextColor = propsGenerator.descTextColor, descTextSize = propsGenerator.descTextSize, descTextWeight = propsGenerator.descTextWeight, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, onClickPrimaryButton = propsGenerator.onClickPrimaryButton,
|
|
198
|
+
var dataTestId = propsGenerator.dataTestId, dataTour = propsGenerator.dataTour, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, titleTextColor = propsGenerator.titleTextColor, titleTextSize = propsGenerator.titleTextSize, titleTextWeight = propsGenerator.titleTextWeight, descTextColor = propsGenerator.descTextColor, descTextSize = propsGenerator.descTextSize, descTextWeight = propsGenerator.descTextWeight, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, onClickPrimaryButton = propsGenerator.onClickPrimaryButton, secondaryButtonAfter = propsGenerator.secondaryButtonAfter, secondaryButtonAppearance = propsGenerator.secondaryButtonAppearance, secondaryButtonBefore = propsGenerator.secondaryButtonBefore, secondaryButtonFill = propsGenerator.secondaryButtonFill, secondaryButtonFillHover = propsGenerator.secondaryButtonFillHover, secondaryButtonLabel = propsGenerator.secondaryButtonLabel, secondaryButtonLabelTextColor = propsGenerator.secondaryButtonLabelTextColor, secondaryButtonLabelTextSize = propsGenerator.secondaryButtonLabelTextSize, secondaryButtonShape = propsGenerator.secondaryButtonShape, secondaryButtonSize = propsGenerator.secondaryButtonSize, secondaryButtonWidth = propsGenerator.secondaryButtonWidth, imageSrc = propsGenerator.imageSrc, primaryButtonAfter = propsGenerator.primaryButtonAfter, primaryButtonAppearance = propsGenerator.primaryButtonAppearance, primaryButtonBefore = propsGenerator.primaryButtonBefore, primaryButtonFill = propsGenerator.primaryButtonFill, primaryButtonFillHover = propsGenerator.primaryButtonFillHover, primaryButtonLabel = propsGenerator.primaryButtonLabel, primaryButtonLabelTextColor = propsGenerator.primaryButtonLabelTextColor, primaryButtonLabelTextSize = propsGenerator.primaryButtonLabelTextSize, primaryButtonShape = propsGenerator.primaryButtonShape, primaryButtonSize = propsGenerator.primaryButtonSize, primaryButtonWidth = propsGenerator.primaryButtonWidth, shapeClass = propsGenerator.shapeClass, shapeStrengthClass = propsGenerator.shapeStrengthClass, svgFillClass = propsGenerator.svgFillClass, SvgImage = propsGenerator.SvgImage, svgPathFillClass = propsGenerator.svgPathFillClass, svgSrc = propsGenerator.svgSrc, widthClass = propsGenerator.widthClass;
|
|
185
199
|
// TODO: use Icon instead?
|
|
186
200
|
var ImageComponent = useMemo(function () {
|
|
187
201
|
var src = imageSrc || svgSrc;
|
|
@@ -217,4 +231,83 @@ var Response = urlWithAssetPrefix(function Response(props) {
|
|
|
217
231
|
appearanceConfig) && (jsxs(Group, { className: "response__button", width: "fill", children: [primaryButtonLabel ? (jsx(Button, { className: "response__button-item", appearance: primaryButtonAppearance, width: primaryButtonWidth || 'fill', size: primaryButtonSize, fill: primaryButtonFill, fillHover: primaryButtonFillHover, label: primaryButtonLabel, labelTextColor: primaryButtonLabelTextColor, labelTextSize: primaryButtonLabelTextSize, shape: primaryButtonShape, before: primaryButtonBefore, after: primaryButtonAfter, onClick: onClickPrimaryButton })) : (primaryButton), secondaryButtonLabel ? (jsx(Button, { className: "response__button-item", appearance: secondaryButtonAppearance, width: secondaryButtonWidth || 'fill', size: secondaryButtonSize, fill: secondaryButtonFill, fillHover: secondaryButtonFillHover, label: secondaryButtonLabel, labelTextColor: secondaryButtonLabelTextColor, labelTextSize: secondaryButtonLabelTextSize, shape: secondaryButtonShape, before: secondaryButtonBefore, after: secondaryButtonAfter, onClick: onClickSecondaryButton })) : (secondaryButton)] })), after] }));
|
|
218
232
|
});
|
|
219
233
|
|
|
220
|
-
|
|
234
|
+
var RESPONSE_MESSAGES = {
|
|
235
|
+
error: {
|
|
236
|
+
imageSrc: responseIcon.Error,
|
|
237
|
+
appearance: 'error ghost',
|
|
238
|
+
title: 'Ошибка',
|
|
239
|
+
code: '500',
|
|
240
|
+
desc: 'Возникла проблема с обработкой вашего запроса. Повторите попытку позже или обратитесь в поддержку по электронной почте: support@example.com',
|
|
241
|
+
primaryButtonLabel: 'ОК',
|
|
242
|
+
primaryButtonAppearance: 'errorPrimary sizeXXL solid rounded',
|
|
243
|
+
secondaryButtonLabel: 'Отмена',
|
|
244
|
+
secondaryButtonAppearance: 'surfaceSecondary sizeXXL solid rounded',
|
|
245
|
+
},
|
|
246
|
+
errorRequest: {
|
|
247
|
+
imageSrc: responseIcon.UnableLoadData,
|
|
248
|
+
appearance: 'refresh ghost',
|
|
249
|
+
title: 'Доступ ограничен',
|
|
250
|
+
code: '403',
|
|
251
|
+
desc: 'Для выяснения причин и восстановления доступа обратитесь, пожалуйста, в техническую поддержку по электронной почте: support@example.com',
|
|
252
|
+
primaryButtonLabel: 'Повторить',
|
|
253
|
+
primaryButtonAppearance: 'surfaceSecondary sizeXXL solid rounded',
|
|
254
|
+
secondaryButtonLabel: 'Отмена',
|
|
255
|
+
secondaryButtonAppearance: 'surfaceSecondary sizeXXL solid rounded',
|
|
256
|
+
},
|
|
257
|
+
timeout: {
|
|
258
|
+
imageSrc: responseIcon.UnableLoadData,
|
|
259
|
+
appearance: 'unableLoadData ghost',
|
|
260
|
+
title: 'Ошибка соединения',
|
|
261
|
+
code: '503',
|
|
262
|
+
desc: 'Не удалось подключиться.Проверьте интернет-соединение и повторите попытку',
|
|
263
|
+
primaryButtonLabel: 'Обновить',
|
|
264
|
+
primaryButtonAppearance: 'surfaceSecondary sizeXXL solid rounded',
|
|
265
|
+
secondaryButtonLabel: 'Отмена',
|
|
266
|
+
secondaryButtonAppearance: 'surfaceSecondary sizeXXL solid rounded',
|
|
267
|
+
},
|
|
268
|
+
unableLoadData: {
|
|
269
|
+
imageSrc: responseIcon.Error,
|
|
270
|
+
appearance: 'unableLoadData ghost',
|
|
271
|
+
title: 'Ошибка загрузки',
|
|
272
|
+
code: '500',
|
|
273
|
+
desc: 'Данные не загружены, проверьте подключение к интернету или повторите попытку',
|
|
274
|
+
primaryButtonLabel: 'Повторить',
|
|
275
|
+
primaryButtonAppearance: 'surfaceSecondary sizeXXL solid rounded',
|
|
276
|
+
secondaryButtonLabel: 'Отмена',
|
|
277
|
+
secondaryButtonAppearance: 'surfaceSecondary sizeXXL solid rounded',
|
|
278
|
+
},
|
|
279
|
+
nothingFound: {
|
|
280
|
+
imageSrc: responseIcon.NothingFound,
|
|
281
|
+
appearance: 'refresh ghost',
|
|
282
|
+
title: 'Ничего не найдено',
|
|
283
|
+
code: '500',
|
|
284
|
+
desc: 'Нет данных по заданным параметрам',
|
|
285
|
+
primaryButtonLabel: 'Повторить',
|
|
286
|
+
primaryButtonAppearance: 'surfaceSecondary sizeXXL solid rounded',
|
|
287
|
+
secondaryButtonLabel: 'Отмена',
|
|
288
|
+
secondaryButtonAppearance: 'surfaceSecondary sizeXXL solid rounded',
|
|
289
|
+
},
|
|
290
|
+
empty: {
|
|
291
|
+
imageSrc: responseIcon.Empty,
|
|
292
|
+
appearance: 'refresh ghost',
|
|
293
|
+
title: 'Ничего не найдено',
|
|
294
|
+
code: '500',
|
|
295
|
+
desc: 'Нет данных по заданным параметрам',
|
|
296
|
+
primaryButtonLabel: 'Сбросить',
|
|
297
|
+
primaryButtonAppearance: 'surfaceSecondary sizeXXL solid rounded',
|
|
298
|
+
secondaryButtonLabel: 'Отмена',
|
|
299
|
+
secondaryButtonAppearance: 'surfaceSecondary sizeXXL solid rounded',
|
|
300
|
+
},
|
|
301
|
+
success: {
|
|
302
|
+
imageSrc: responseIcon.Success,
|
|
303
|
+
appearance: 'refresh ghost',
|
|
304
|
+
title: 'Готово',
|
|
305
|
+
code: '500',
|
|
306
|
+
desc: 'Успешно выполнено',
|
|
307
|
+
primaryButtonLabel: 'ОК',
|
|
308
|
+
primaryButtonAppearance: 'surfaceSecondary sizeXXL solid rounded',
|
|
309
|
+
secondaryButtonLabel: 'Закрыть',
|
|
310
|
+
},
|
|
311
|
+
};
|
|
312
|
+
|
|
313
|
+
export { RESPONSE_MESSAGES, Response, responseAppearance, responseConfig, responseIcon };
|
|
@@ -6,7 +6,7 @@ import clsx from 'clsx';
|
|
|
6
6
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
8
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
9
|
-
import { I as Icon } from '../
|
|
9
|
+
import { I as Icon } from '../Icon_es_BrwLifge.js';
|
|
10
10
|
import { T as Text } from '../Text_es_CwV9rjFD.js';
|
|
11
11
|
import { S as Scrollbar } from '../Scrollbar_es_CThJeCLF.js';
|
|
12
12
|
import 'lodash/camelCase';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { useRef, useMemo, createRef, useCallback, useEffect } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
|
-
import { I as Icon } from '../
|
|
4
|
+
import { I as Icon } from '../Icon_es_BrwLifge.js';
|
|
5
5
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
7
|
import { T as Text } from '../Text_es_CwV9rjFD.js';
|
|
@@ -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 '../Icon_es_BrwLifge.js';
|
|
5
5
|
import React, { useRef, useEffect, useMemo } from 'react';
|
|
6
6
|
import clsx from 'clsx';
|
|
7
7
|
import CreatableSelect from 'react-select/creatable';
|
|
@@ -10,7 +10,7 @@ import { T as Text } from '../Text_es_CwV9rjFD.js';
|
|
|
10
10
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
11
11
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
12
12
|
import { icons12, icons16, icons14, icons24 } from '@itcase/icons/default';
|
|
13
|
-
import { L as Loader } from '../
|
|
13
|
+
import { L as Loader } from '../Loader_es_BUSqFrCd.js';
|
|
14
14
|
import { D as Divider } from '../Divider_es_CCLBFIx6.js';
|
|
15
15
|
import 'react-inlinesvg';
|
|
16
16
|
import '../hoc/urlWithAssetPrefix.js';
|
|
@@ -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 '../Icon_es_BrwLifge.js';
|
|
8
8
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
9
9
|
import 'lodash/camelCase';
|
|
10
10
|
import 'lodash/castArray';
|
package/dist/components/Tab.js
CHANGED
|
@@ -5,7 +5,7 @@ import { useActiveClasses } from '../hooks/useActiveClasses/useActiveClasses.js'
|
|
|
5
5
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
7
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
8
|
-
import { B as Badge, I as Icon } from '../
|
|
8
|
+
import { B as Badge, I as Icon } from '../Icon_es_BrwLifge.js';
|
|
9
9
|
import { D as Divider } from '../Divider_es_CCLBFIx6.js';
|
|
10
10
|
import { L as Link } from '../Link_es_XiqbdwLp.js';
|
|
11
11
|
import { T as Text } from '../Text_es_CwV9rjFD.js';
|
package/dist/components/Tile.js
CHANGED
|
@@ -3,7 +3,7 @@ import clsx from 'clsx';
|
|
|
3
3
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
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 '../Icon_es_BrwLifge.js';
|
|
7
7
|
import { T as Text } from '../Text_es_CwV9rjFD.js';
|
|
8
8
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
9
9
|
import 'react';
|
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 '../Icon_es_BrwLifge.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 '../Icon_es_BrwLifge.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { useState, Fragment } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
|
-
import { I as Icon } from '../
|
|
4
|
+
import { I as Icon } from '../Icon_es_BrwLifge.js';
|
|
5
5
|
import { T as Text } from '../Text_es_CwV9rjFD.js';
|
|
6
6
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
&__wrapper {
|
|
3
3
|
min-width: auto;
|
|
4
4
|
^&__data {
|
|
5
|
-
width: 100%;
|
|
6
5
|
display: flex;
|
|
7
6
|
flex-flow: row nowrap;
|
|
8
7
|
justify-content: space-between;
|
|
@@ -12,7 +11,7 @@
|
|
|
12
11
|
width: 100%;
|
|
13
12
|
}
|
|
14
13
|
}
|
|
15
|
-
&-
|
|
14
|
+
&-same-width ^&__data {
|
|
16
15
|
width: 50%;
|
|
17
16
|
}
|
|
18
17
|
}
|