@itcase/ui 1.8.22 → 1.8.24
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_DSXs1Yrg.js → Avatar_cjs_D84VawE9.js} +1 -1
- package/dist/{Avatar_es_DByUaJL6.js → Avatar_es_CUnfNViT.js} +1 -1
- package/dist/{Button_cjs_CukkOE-v.js → Button_cjs_CYUpbdMO.js} +138 -49
- package/dist/{Button_es_DXcCJuNX.js → Button_es_Dp6yFZgn.js} +138 -49
- package/dist/{ChipsGroup_cjs_9wrMZrzL.js → ChipsGroup_cjs_CTh6644i.js} +1 -1
- package/dist/{ChipsGroup_es_CjGZ-ulT.js → ChipsGroup_es_BFxBhYNB.js} +1 -1
- package/dist/{DatePicker_cjs_BriuTQqj.js → DatePicker_cjs_DamcZFbX.js} +3 -3
- package/dist/{DatePicker_es_DzY_fVii.js → DatePicker_es_Bm_onmmb.js} +3 -3
- package/dist/{Divider_cjs_DzFVtGkF.js → Divider_cjs_DhqcldLH.js} +6 -2
- package/dist/{Divider_es_BdU9qjKa.js → Divider_es_BEYLRagS.js} +6 -2
- package/dist/{DropdownItem_cjs_DY61IdLK.js → DropdownItem_cjs_B_7anyaJ.js} +2 -2
- package/dist/{DropdownItem_es_D8mY9vFZ.js → DropdownItem_es_B4EZYdJA.js} +2 -2
- package/dist/{Label_cjs_CnwET26s.js → Label_cjs_ByGAWJcj.js} +169 -29
- package/dist/{Label_es_Dc18d1gY.js → Label_es_BtwZ3a2V.js} +169 -29
- package/dist/{Loader_cjs_3VRzFLI2.js → Loader_cjs___VikiqS.js} +36 -1
- package/dist/{Loader_es_DEYowVdU.js → Loader_es_DHKB6tTw.js} +36 -1
- package/dist/{Tooltip_cjs_PkuRdzzy.js → Tooltip_cjs_CaocDcQ5.js} +82 -24
- package/dist/{Tooltip_es_BaGfb-qC.js → Tooltip_es_D1w1s33u.js} +82 -24
- package/dist/cjs/components/Accordion.js +2 -2
- 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 +45 -0
- package/dist/cjs/components/Breadcrumbs.js +47 -58
- 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/Divider.js +1 -1
- package/dist/cjs/components/Dropdown.js +3 -3
- 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 +1 -1
- package/dist/cjs/components/Modal.js +2 -2
- package/dist/cjs/components/ModalSheetBottom.js +19 -5
- package/dist/cjs/components/Pagination.js +3 -3
- package/dist/cjs/components/Response.js +28 -37
- package/dist/cjs/components/Search.js +1 -1
- package/dist/cjs/components/Select.js +2 -2
- package/dist/cjs/components/Swiper.js +1 -1
- package/dist/cjs/components/Tab/stories/__mock__.js +14 -0
- package/dist/cjs/components/Tab.js +134 -40
- 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 +2 -2
- 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 +43 -0
- package/dist/components/Breadcrumbs.js +47 -58
- 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/Divider.js +1 -1
- package/dist/components/Dropdown.js +3 -3
- 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 +1 -1
- package/dist/components/Modal.js +2 -2
- package/dist/components/ModalSheetBottom.js +19 -5
- package/dist/components/Pagination.js +3 -3
- package/dist/components/Response.js +28 -37
- package/dist/components/Search.js +1 -1
- package/dist/components/Select.js +2 -2
- package/dist/components/Swiper.js +1 -1
- package/dist/components/Tab/stories/__mock__.js +12 -0
- package/dist/components/Tab.js +134 -40
- 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/Badge/Badge.css +3 -3
- package/dist/css/components/Breadcrumbs/Breadcrumbs.css +22 -0
- package/dist/css/components/Button/Button.css +4 -4
- package/dist/css/components/Label/Label.css +10 -9
- package/dist/css/components/Loader/Loader.css +21 -2
- package/dist/css/styles/border-color/border-color.css +19 -0
- package/dist/css/styles/border-color/border-color_active.css +38 -0
- package/dist/css/styles/border-color/border-color_focus.css +25 -1
- package/dist/css/styles/border-color/border-color_hover.css +32 -0
- package/dist/stories/Plsyground.mdx +1 -3
- package/dist/types/components/Badge/appearance/badgeAccent.d.ts +13 -1
- package/dist/types/components/Badge/appearance/badgeDanger.d.ts +7 -1
- package/dist/types/components/Badge/appearance/badgeDisabled.d.ts +6 -1
- package/dist/types/components/Badge/appearance/badgeError.d.ts +7 -2
- package/dist/types/components/Badge/appearance/badgeInfo.d.ts +1 -3
- package/dist/types/components/Badge/appearance/badgePrimary.d.ts +7 -1
- package/dist/types/components/Badge/appearance/badgeSecondary.d.ts +7 -1
- package/dist/types/components/Badge/appearance/badgeStyle.d.ts +5 -7
- package/dist/types/components/Badge/appearance/badgeSuccess.d.ts +7 -1
- package/dist/types/components/Badge/appearance/badgeWarning.d.ts +7 -1
- package/dist/types/components/Breadcrumbs/Breadcrumbs.d.ts +2 -3
- package/dist/types/components/Breadcrumbs/appearance/breadcrumbsSize.d.ts +28 -35
- package/dist/types/components/Breadcrumbs/appearance/breadcrumbsSurface.d.ts +4 -3
- package/dist/types/components/Breadcrumbs/stories/__mock__/index.d.ts +10 -0
- package/dist/types/components/Button/appearance/buttonAccent.d.ts +7 -6
- package/dist/types/components/Button/appearance/buttonDanger.d.ts +8 -4
- package/dist/types/components/Button/appearance/buttonError.d.ts +14 -2
- package/dist/types/components/Button/appearance/buttonInfo.d.ts +19 -4
- package/dist/types/components/Button/appearance/buttonPrimary.d.ts +13 -0
- package/dist/types/components/Button/appearance/buttonSecondary.d.ts +13 -0
- package/dist/types/components/Button/appearance/buttonSize.d.ts +7 -0
- package/dist/types/components/Button/appearance/buttonStyle.d.ts +0 -2
- package/dist/types/components/Button/appearance/buttonSuccess.d.ts +14 -2
- package/dist/types/components/Button/appearance/buttonSurface.d.ts +11 -8
- package/dist/types/components/Button/appearance/buttonWarning.d.ts +14 -2
- package/dist/types/components/Label/appearance/labelAccent.d.ts +10 -1
- package/dist/types/components/Label/appearance/labelDanger.d.ts +20 -0
- package/dist/types/components/Label/appearance/labelDisable.d.ts +19 -0
- package/dist/types/components/Label/appearance/labelError.d.ts +13 -2
- package/dist/types/components/Label/appearance/labelInfo.d.ts +14 -2
- package/dist/types/components/Label/appearance/labelPrimary.d.ts +19 -0
- package/dist/types/components/Label/appearance/labelSecondary.d.ts +19 -0
- package/dist/types/components/Label/appearance/labelStyle.d.ts +0 -2
- package/dist/types/components/Label/appearance/labelSuccess.d.ts +11 -0
- package/dist/types/components/Label/appearance/labelSurface.d.ts +14 -3
- package/dist/types/components/Label/appearance/labelWarning.d.ts +11 -0
- package/dist/types/components/Loader/appearance/loaderDanger.d.ts +7 -0
- package/dist/types/components/Loader/appearance/loaderError.d.ts +7 -0
- package/dist/types/components/Loader/appearance/loaderInfo.d.ts +7 -0
- package/dist/types/components/Loader/appearance/loaderSuccess.d.ts +7 -0
- package/dist/types/components/Loader/appearance/loaderWarning.d.ts +7 -0
- package/dist/types/components/ModalSheetBottom/ModalSheetBottom.d.ts +2 -1
- package/dist/types/components/Response/appearance/responceConfirm.d.ts +2 -3
- package/dist/types/components/Response/appearance/responceFail.d.ts +2 -3
- package/dist/types/components/Response/appearance/responceNothingFound.d.ts +2 -3
- package/dist/types/components/Response/appearance/responceRefresh.d.ts +2 -3
- package/dist/types/components/Response/appearance/responseError.d.ts +2 -3
- package/dist/types/components/Response/appearance/responseSuccess.d.ts +2 -3
- package/dist/types/components/Response/appearance/responseUnableLoadData.d.ts +2 -3
- package/dist/types/components/Response/appearance/responseWarning.d.ts +2 -3
- package/dist/types/components/Tab/appearance/tabError.d.ts +13 -0
- package/dist/types/components/Tab/appearance/tabSize.d.ts +41 -0
- package/dist/types/components/Tab/appearance/tabStyle.d.ts +2 -2
- package/dist/types/components/Tab/appearance/tabSuccess.d.ts +13 -0
- package/dist/types/components/Tab/appearance/tabSurface.d.ts +29 -24
- package/dist/types/components/Tab/appearance/tabWarning.d.ts +13 -0
- package/dist/types/components/Tab/stories/__mock__/index.d.ts +22 -0
- package/package.json +10 -12
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
2
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
2
|
import { useMemo } from 'react';
|
|
4
3
|
import clsx from 'clsx';
|
|
5
4
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
5
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
7
|
-
import {
|
|
6
|
+
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
7
|
+
import { I as Icon } from '../Tooltip_es_D1w1s33u.js';
|
|
8
8
|
import { a as LinkWrapper } from '../Link_es_DxtZLeKY.js';
|
|
9
9
|
import { T as Text } from '../Text_es_BRb3qqKM.js';
|
|
10
10
|
import 'lodash/camelCase';
|
|
@@ -91,53 +91,46 @@ var breadcrumbsAppearanceSecondary = {
|
|
|
91
91
|
|
|
92
92
|
var breadcrumbsAppearanceSize = {
|
|
93
93
|
sizeXXL: {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
iconBeforeSize: '24',
|
|
94
|
+
size: 'xxl',
|
|
95
|
+
labelTextSize: 'xxl',
|
|
96
|
+
iconFillSize: '24',
|
|
97
|
+
iconSize: '24',
|
|
99
98
|
},
|
|
100
99
|
sizeXL: {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
iconBeforeSize: '24',
|
|
100
|
+
size: 'xl',
|
|
101
|
+
labelTextSize: 'l',
|
|
102
|
+
iconFillSize: '24',
|
|
103
|
+
iconSize: '24',
|
|
106
104
|
},
|
|
107
105
|
sizeL: {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
iconBeforeSize: '24',
|
|
106
|
+
size: 'l',
|
|
107
|
+
labelTextSize: 'l',
|
|
108
|
+
iconFillSize: '24',
|
|
109
|
+
iconSize: '24',
|
|
113
110
|
},
|
|
114
111
|
sizeM: {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
iconBeforeSize: '24',
|
|
112
|
+
size: 'm',
|
|
113
|
+
labelTextSize: 'm',
|
|
114
|
+
iconFillSize: '24',
|
|
115
|
+
iconSize: '24',
|
|
120
116
|
},
|
|
121
117
|
sizeS: {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
iconBeforeSize: '20',
|
|
118
|
+
size: 's',
|
|
119
|
+
labelTextSize: 's',
|
|
120
|
+
iconFillSize: '20',
|
|
121
|
+
iconSize: '20',
|
|
127
122
|
},
|
|
128
123
|
sizeXS: {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
iconBeforeSize: '16',
|
|
124
|
+
size: 'xs',
|
|
125
|
+
labelTextSize: 'xs',
|
|
126
|
+
iconFillSize: '16',
|
|
127
|
+
iconSize: '16',
|
|
134
128
|
},
|
|
135
129
|
sizeXXS: {
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
iconBeforeSize: '14',
|
|
130
|
+
size: 'xxs',
|
|
131
|
+
labelTextSize: 'xs',
|
|
132
|
+
iconFillSize: '14',
|
|
133
|
+
iconSize: '14',
|
|
141
134
|
},
|
|
142
135
|
};
|
|
143
136
|
|
|
@@ -171,11 +164,7 @@ var breadcrumbsAppearanceSurface = {
|
|
|
171
164
|
fill: 'surfacePrimary',
|
|
172
165
|
fillHover: 'surfacePrimaryHover',
|
|
173
166
|
textColor: 'surfaceTextPrimary',
|
|
174
|
-
|
|
175
|
-
surfaceQuaternary: {
|
|
176
|
-
fill: 'surfaceQuaternary',
|
|
177
|
-
fillHover: 'surfaceQuaternaryHover',
|
|
178
|
-
textColor: 'surfaceTextPrimary',
|
|
167
|
+
iconFillIcon: 'surfaceItemPrimary',
|
|
179
168
|
},
|
|
180
169
|
surfaceSecondary: {
|
|
181
170
|
fill: 'surfaceSecondary',
|
|
@@ -187,6 +176,11 @@ var breadcrumbsAppearanceSurface = {
|
|
|
187
176
|
fillHover: 'surfaceTertiaryHover',
|
|
188
177
|
textColor: 'surfaceTextPrimary',
|
|
189
178
|
},
|
|
179
|
+
surfaceQuaternary: {
|
|
180
|
+
fill: 'surfaceQuaternary',
|
|
181
|
+
fillHover: 'surfaceQuaternaryHover',
|
|
182
|
+
textColor: 'surfaceTextPrimary',
|
|
183
|
+
},
|
|
190
184
|
};
|
|
191
185
|
|
|
192
186
|
var breadcrumbsAppearanceWarning = {
|
|
@@ -200,34 +194,29 @@ var breadcrumbsAppearanceWarning = {
|
|
|
200
194
|
|
|
201
195
|
var breadcrumbsAppearance = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, breadcrumbsAppearanceSize), breadcrumbsAppearanceStyle), breadcrumbsAppearanceAccent), breadcrumbsAppearanceDanger), breadcrumbsAppearanceError), breadcrumbsAppearanceInfo), breadcrumbsAppearancePrimary), breadcrumbsAppearanceSecondary), breadcrumbsAppearanceSuccess), breadcrumbsAppearanceSurface), breadcrumbsAppearanceWarning);
|
|
202
196
|
|
|
203
|
-
var breadcrumbsConfig
|
|
197
|
+
var breadcrumbsConfig = {
|
|
204
198
|
appearance: breadcrumbsAppearance};
|
|
205
199
|
function BreadcrumbsItem(props) {
|
|
206
|
-
var className = props.className, appearance = props.appearance, href = props.href, onClick = props.onClick, children = props.children;
|
|
200
|
+
var className = props.className, appearance = props.appearance, href = props.href, isActive = props.isActive, onClick = props.onClick, children = props.children;
|
|
207
201
|
var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
|
|
208
202
|
var _a;
|
|
209
|
-
return (__assign(__assign({}, resultConfig), (_a = breadcrumbsConfig
|
|
203
|
+
return (__assign(__assign({}, resultConfig), (_a = breadcrumbsConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
|
|
210
204
|
}, {});
|
|
211
205
|
var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
212
|
-
var fillClass = propsGenerator.fillClass,
|
|
206
|
+
var fillClass = propsGenerator.fillClass, labelTextColor = propsGenerator.labelTextColor, labelTextColorHover = propsGenerator.labelTextColorHover, labelTextSize = propsGenerator.labelTextSize, text = propsGenerator.text, cursor = propsGenerator.cursor, icon = propsGenerator.icon, iconFill = propsGenerator.iconFill, iconFillIcon = propsGenerator.iconFillIcon, iconFillSize = propsGenerator.iconFillSize, iconShape = propsGenerator.iconShape, iconSize = propsGenerator.iconSize, iconSrc = propsGenerator.iconSrc, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, underlineClass = propsGenerator.underlineClass;
|
|
213
207
|
// @ts-expect-error
|
|
214
208
|
var itemStyles = useStyles(props).styles;
|
|
215
|
-
return (jsxs(LinkWrapper, { className: clsx(className, 'breadcrumbs__item',
|
|
209
|
+
return (jsxs(LinkWrapper, { className: clsx(className, 'breadcrumbs__item', isActive && 'breadcrumbs__item_current', sizeClass && "breadcrumbs__item_size_".concat(sizeClass), shapeClass && "breadcrumbs__item_shape_".concat(shapeClass), fillClass && "fill_".concat(fillClass), underlineClass && "text-decoration_".concat(underlineClass), onClick && (cursor || 'cursor_type_pointer')), href: href, LinkComponent: "div", style: itemStyles, onClick: onClick, children: [jsx(Text, { className: "breadcrumbs__item-text", size: labelTextSize, textColor: labelTextColor, textColorHover: labelTextColorHover, children: text || children }), !isActive && (icon || iconSrc) && (jsx(Icon, { className: clsx('breadcrumbs__item-icon'), fill: iconFill, fillSize: iconFillSize, iconFill: iconFillIcon, iconSize: iconSize, imageSrc: iconSrc, shape: iconShape, SvgImage: icon }))] }));
|
|
216
210
|
}
|
|
217
211
|
|
|
218
|
-
var breadcrumbsConfig = {
|
|
219
|
-
appearance: breadcrumbsAppearance};
|
|
220
212
|
function Breadcrumbs(props) {
|
|
221
|
-
var className = props.className,
|
|
222
|
-
var
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
}, {});
|
|
226
|
-
var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
227
|
-
var _a = propsGenerator.directionClass, directionClass = _a === void 0 ? 'horizontal' : _a, fillClass = propsGenerator.fillClass, iconAfter = propsGenerator.iconAfter, iconAfterBgFill = propsGenerator.iconAfterBgFill, iconAfterFill = propsGenerator.iconAfterFill, iconAfterSize = propsGenerator.iconAfterSize, textColor = propsGenerator.textColor, textSize = propsGenerator.textSize, textColorHover = propsGenerator.textColorHover, textUnderline = propsGenerator.textUnderline, shapeClass = propsGenerator.shapeClass, widthClass = propsGenerator.widthClass;
|
|
213
|
+
var className = props.className, breadcrumbsAppearance = props.breadcrumbsAppearance, breadcrumbsList = props.breadcrumbsList, children = props.children;
|
|
214
|
+
var propsGenerator = useDevicePropsGenerator(props);
|
|
215
|
+
var _a = propsGenerator.directionClass, directionClass = _a === void 0 ? 'horizontal' : _a, fillClass = propsGenerator.fillClass, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass;
|
|
216
|
+
console.log(breadcrumbsAppearance);
|
|
228
217
|
var breadcrumbsItemsList = useMemo(function () {
|
|
229
218
|
if (breadcrumbsList) {
|
|
230
|
-
return breadcrumbsList.map(function (item, i) { return (jsx(BreadcrumbsItem, {
|
|
219
|
+
return breadcrumbsList.map(function (item, i) { return (jsx(BreadcrumbsItem, { appearance: breadcrumbsAppearance, text: item.text, icon: item.icon, iconSrc: item.icon, isActive: i + 1 === breadcrumbsList.length && true }, "breadcrumbsItem_".concat(item.key || item.id || item.text))); });
|
|
231
220
|
}
|
|
232
221
|
if (children) {
|
|
233
222
|
return children;
|
|
@@ -235,7 +224,7 @@ function Breadcrumbs(props) {
|
|
|
235
224
|
return [];
|
|
236
225
|
}, [children, breadcrumbsList]);
|
|
237
226
|
var breadcrumbsStyles = useStyles(props).styles;
|
|
238
|
-
return (jsx("div", { className: clsx(className, 'breadcrumbs', widthClass && "width_".concat(widthClass), directionClass && "direction_".concat(directionClass), fillClass && "fill_".concat(fillClass), shapeClass && "breadcrumbs_shape_".concat(shapeClass)), style: breadcrumbsStyles, children: breadcrumbsItemsList }));
|
|
227
|
+
return (jsx("div", { className: clsx(className, 'breadcrumbs', widthClass && "width_".concat(widthClass), directionClass && "direction_".concat(directionClass), fillClass && "fill_".concat(fillClass), sizeClass && "size_".concat(sizeClass), shapeClass && "breadcrumbs_shape_".concat(shapeClass)), style: breadcrumbsStyles, children: breadcrumbsItemsList }));
|
|
239
228
|
}
|
|
240
229
|
|
|
241
230
|
export { Breadcrumbs, BreadcrumbsItem, breadcrumbsAppearance };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { B as Button, a as buttonAppearance, b as buttonConfig } from '../
|
|
1
|
+
export { B as Button, a as buttonAppearance, b as buttonConfig } from '../Button_es_Dp6yFZgn.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'clsx';
|
|
6
|
-
import '../
|
|
6
|
+
import '../Tooltip_es_D1w1s33u.js';
|
|
7
7
|
import '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
8
|
import 'lodash/camelCase';
|
|
9
9
|
import 'lodash/castArray';
|
|
@@ -21,4 +21,4 @@ import '../hooks/useStyles/styleAttributes.js';
|
|
|
21
21
|
import '../Text_es_BRb3qqKM.js';
|
|
22
22
|
import 'react-inlinesvg';
|
|
23
23
|
import '../Link_es_DxtZLeKY.js';
|
|
24
|
-
import '../
|
|
24
|
+
import '../Loader_es_DHKB6tTw.js';
|
package/dist/components/Cell.js
CHANGED
|
@@ -3,8 +3,8 @@ 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 '../
|
|
7
|
-
import { L as Label } from '../
|
|
6
|
+
import { I as Icon } from '../Tooltip_es_D1w1s33u.js';
|
|
7
|
+
import { L as Label } from '../Label_es_BtwZ3a2V.js';
|
|
8
8
|
import { T as Text } from '../Text_es_BRb3qqKM.js';
|
|
9
9
|
import 'react';
|
|
10
10
|
import 'lodash/camelCase';
|
package/dist/components/Chips.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as Chips, b as ChipsGroup, a as chipsAppearance, c as chipsConfig } from '../
|
|
1
|
+
export { C as Chips, b as ChipsGroup, a as chipsAppearance, c as chipsConfig } from '../ChipsGroup_es_BFxBhYNB.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_D1w1s33u.js';
|
|
21
21
|
import '../Text_es_BRb3qqKM.js';
|
|
22
22
|
import 'react-inlinesvg';
|
|
23
23
|
import '../Link_es_DxtZLeKY.js';
|
|
@@ -4,8 +4,8 @@ import React, { useRef, useMemo, createRef, useCallback } 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 '../
|
|
8
|
-
import { L as Loader } from '../
|
|
7
|
+
import { I as Icon } from '../Tooltip_es_D1w1s33u.js';
|
|
8
|
+
import { L as Loader } from '../Loader_es_DHKB6tTw.js';
|
|
9
9
|
import { T as Text } from '../Text_es_BRb3qqKM.js';
|
|
10
10
|
import 'lodash/camelCase';
|
|
11
11
|
import 'lodash/castArray';
|
|
@@ -3,7 +3,7 @@ import { useRef, useMemo, useCallback, useEffect } from 'react';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import Cookies from 'js-cookie';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
|
-
import { B as Button } from '../
|
|
6
|
+
import { B as Button } from '../Button_es_Dp6yFZgn.js';
|
|
7
7
|
import { G as Group } from '../Group_es_CYW2Hquh.js';
|
|
8
8
|
import { T as Text } from '../Text_es_BRb3qqKM.js';
|
|
9
9
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
@@ -17,13 +17,13 @@ import '../context/UIContext.js';
|
|
|
17
17
|
import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
18
18
|
import 'react-responsive';
|
|
19
19
|
import '../utils/setViewportProperty.js';
|
|
20
|
-
import '../
|
|
20
|
+
import '../Tooltip_es_D1w1s33u.js';
|
|
21
21
|
import '../hooks/useStyles/useStyles.js';
|
|
22
22
|
import 'lodash/maxBy';
|
|
23
23
|
import '../hooks/useStyles/styleAttributes.js';
|
|
24
24
|
import 'react-inlinesvg';
|
|
25
25
|
import '../Link_es_DxtZLeKY.js';
|
|
26
|
-
import '../
|
|
26
|
+
import '../Loader_es_DHKB6tTw.js';
|
|
27
27
|
|
|
28
28
|
function CookiesWarning(props) {
|
|
29
29
|
var className = props.className, message = props.message, _a = props.isHideOnScroll, isHideOnScroll = _a === void 0 ? false : _a;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
2
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
|
-
import { D as DatePickerInput } from '../
|
|
4
|
+
import { D as DatePickerInput } from '../DatePicker_es_Bm_onmmb.js';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
|
-
import { b as ChipsGroup, C as Chips } from '../
|
|
6
|
+
import { b as ChipsGroup, C as Chips } from '../ChipsGroup_es_BFxBhYNB.js';
|
|
7
7
|
import 'react';
|
|
8
8
|
import 'date-fns/locale';
|
|
9
9
|
import 'react-datepicker';
|
|
@@ -19,14 +19,14 @@ import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
|
19
19
|
import 'react-responsive';
|
|
20
20
|
import '../utils/setViewportProperty.js';
|
|
21
21
|
import '../hooks/useStyles/styleAttributes.js';
|
|
22
|
-
import '../
|
|
23
|
-
import '../
|
|
22
|
+
import '../Button_es_Dp6yFZgn.js';
|
|
23
|
+
import '../Tooltip_es_D1w1s33u.js';
|
|
24
24
|
import '../Text_es_BRb3qqKM.js';
|
|
25
25
|
import 'react-inlinesvg';
|
|
26
26
|
import '../Link_es_DxtZLeKY.js';
|
|
27
|
-
import '../
|
|
27
|
+
import '../Loader_es_DHKB6tTw.js';
|
|
28
28
|
import '../Input_es_CNduH28G.js';
|
|
29
|
-
import '../
|
|
29
|
+
import '../Label_es_BtwZ3a2V.js';
|
|
30
30
|
import '@itcase/icons/default';
|
|
31
31
|
import 'lodash/castArray';
|
|
32
32
|
|
|
@@ -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_Bm_onmmb.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -19,12 +19,12 @@ import '../utils/setViewportProperty.js';
|
|
|
19
19
|
import '../hooks/useStyles/useStyles.js';
|
|
20
20
|
import 'lodash/maxBy';
|
|
21
21
|
import '../hooks/useStyles/styleAttributes.js';
|
|
22
|
-
import '../
|
|
23
|
-
import '../
|
|
22
|
+
import '../Button_es_Dp6yFZgn.js';
|
|
23
|
+
import '../Tooltip_es_D1w1s33u.js';
|
|
24
24
|
import '../Text_es_BRb3qqKM.js';
|
|
25
25
|
import 'react-inlinesvg';
|
|
26
26
|
import '../Link_es_DxtZLeKY.js';
|
|
27
|
-
import '../
|
|
27
|
+
import '../Loader_es_DHKB6tTw.js';
|
|
28
28
|
import '../Input_es_CNduH28G.js';
|
|
29
|
-
import '../
|
|
29
|
+
import '../Label_es_BtwZ3a2V.js';
|
|
30
30
|
import '@itcase/icons/default';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as Divider, a as dividerAppearance, d as dividerConfig } from '../
|
|
1
|
+
export { D as Divider, a as dividerAppearance, d as dividerConfig } from '../Divider_es_BEYLRagS.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'clsx';
|
|
@@ -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_B4EZYdJA.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -17,8 +17,8 @@ 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 '../
|
|
21
|
-
import '../
|
|
20
|
+
import '../Divider_es_BEYLRagS.js';
|
|
21
|
+
import '../Tooltip_es_D1w1s33u.js';
|
|
22
22
|
import '../Text_es_BRb3qqKM.js';
|
|
23
23
|
import 'react-inlinesvg';
|
|
24
24
|
import '../Link_es_DxtZLeKY.js';
|
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_D1w1s33u.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_D1w1s33u.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_BtwZ3a2V.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_D1w1s33u.js';
|
|
21
21
|
import '../Text_es_BRb3qqKM.js';
|
|
22
22
|
import 'react-inlinesvg';
|
|
23
23
|
import '../Link_es_DxtZLeKY.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_DHKB6tTw.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'clsx';
|
|
@@ -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_D1w1s33u.js';
|
|
8
8
|
import { L as Link } from '../Link_es_DxtZLeKY.js';
|
|
9
9
|
import { T as Text } from '../Text_es_BRb3qqKM.js';
|
|
10
10
|
import 'lodash/camelCase';
|
package/dist/components/Modal.js
CHANGED
|
@@ -6,8 +6,8 @@ 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_cI_-_xUO.js';
|
|
9
|
-
import { b as Title } from '../
|
|
10
|
-
import { L as Loader } from '../
|
|
9
|
+
import { b as Title } from '../Tooltip_es_D1w1s33u.js';
|
|
10
|
+
import { L as Loader } from '../Loader_es_DHKB6tTw.js';
|
|
11
11
|
import 'lodash/camelCase';
|
|
12
12
|
import 'lodash/castArray';
|
|
13
13
|
import 'lodash/upperFirst';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
2
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
+
import React, { useState, useCallback, useImperativeHandle } from 'react';
|
|
3
4
|
import { Sheet } from 'react-modal-sheet';
|
|
4
5
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
5
|
-
import 'react';
|
|
6
6
|
import 'lodash/camelCase';
|
|
7
7
|
import 'lodash/maxBy';
|
|
8
8
|
import 'lodash/upperFirst';
|
|
@@ -21,11 +21,25 @@ var modalSheetBottomAppearance = {
|
|
|
21
21
|
},
|
|
22
22
|
};
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
var dataTestId = props.dataTestId, dataTour = props.dataTour, closeButton = props.closeButton,
|
|
24
|
+
var ModalSheetBottom = React.forwardRef(function Modal(props, ref) {
|
|
25
|
+
var initialIsOpen = props.initialIsOpen, dataTestId = props.dataTestId, dataTour = props.dataTour, closeButton = props.closeButton, onCloseModalSheetBottom = props.onCloseModalSheetBottom, onOpenModalSheetBottom = props.onOpenModalSheetBottom, children = props.children;
|
|
26
|
+
var _a = useState(initialIsOpen), isOpen = _a[0], setIsOpen = _a[1];
|
|
27
|
+
var openModalSheetBottom = useCallback(function () {
|
|
28
|
+
setIsOpen(true);
|
|
29
|
+
if (typeof onOpenModalSheetBottom === 'function') {
|
|
30
|
+
onOpenModalSheetBottom();
|
|
31
|
+
}
|
|
32
|
+
}, [onOpenModalSheetBottom]);
|
|
33
|
+
var closeModalSheetBottom = useCallback(function () {
|
|
34
|
+
setIsOpen(false);
|
|
35
|
+
// Callback
|
|
36
|
+
onCloseModalSheetBottom && onCloseModalSheetBottom();
|
|
37
|
+
}, [onCloseModalSheetBottom]);
|
|
38
|
+
// Save ref things
|
|
39
|
+
useImperativeHandle(ref, function () { return ({ openModalSheetBottom: openModalSheetBottom, closeModalSheetBottom: closeModalSheetBottom, isOpen: isOpen }); }, [isOpen, openModalSheetBottom, closeModalSheetBottom]);
|
|
26
40
|
// @ts-expect-error
|
|
27
41
|
var styles = useStyles(props).styles;
|
|
28
|
-
return (jsxs(Sheet, __assign({ className: "modal-sheet-bottom", "data-testid": dataTestId, "data-tour": dataTour, isOpen:
|
|
29
|
-
}
|
|
42
|
+
return (jsxs(Sheet, __assign({ className: "modal-sheet-bottom", "data-testid": dataTestId, "data-tour": dataTour, isOpen: isOpen, onClose: closeModalSheetBottom }, props, { children: [jsxs(Sheet.Container, { className: "modal-sheet-bottom__container", style: styles, children: [closeButton ? (jsx("div", { className: "modal-sheet-bottom__header", children: jsx("div", { className: "modal-sheet-bottom__close", onClick: closeModalSheetBottom, children: closeButton }) })) : (jsx(Sheet.Header, { className: "modal-sheet-bottom__header" })), jsx(Sheet.Content, { className: "modal-sheet-bottom__content", children: children })] }), jsx(Sheet.Backdrop, { className: "modal-sheet-bottom__backdrop", onClick: closeModalSheetBottom })] })));
|
|
43
|
+
});
|
|
30
44
|
|
|
31
45
|
export { ModalSheetBottom, modalSheetBottomAppearance };
|
|
@@ -6,8 +6,8 @@ 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_B4EZYdJA.js';
|
|
10
|
+
import { I as Icon } from '../Tooltip_es_D1w1s33u.js';
|
|
11
11
|
import { T as Text } from '../Text_es_BRb3qqKM.js';
|
|
12
12
|
import { icon32, icon24 } from '@itcase/icons/default';
|
|
13
13
|
import 'lodash/camelCase';
|
|
@@ -22,7 +22,7 @@ import 'react-responsive';
|
|
|
22
22
|
import '../utils/setViewportProperty.js';
|
|
23
23
|
import 'lodash/maxBy';
|
|
24
24
|
import '../hooks/useStyles/styleAttributes.js';
|
|
25
|
-
import '../
|
|
25
|
+
import '../Divider_es_BEYLRagS.js';
|
|
26
26
|
import 'react-inlinesvg';
|
|
27
27
|
import '../Link_es_DxtZLeKY.js';
|
|
28
28
|
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
2
|
-
import { resposeIcon } from './Response/img.js';
|
|
3
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
4
3
|
import { useMemo } from 'react';
|
|
5
4
|
import clsx from 'clsx';
|
|
6
5
|
import SVG from 'react-inlinesvg';
|
|
7
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
7
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
9
|
-
import { B as Button } from '../
|
|
8
|
+
import { B as Button } from '../Button_es_Dp6yFZgn.js';
|
|
10
9
|
import { G as Group } from '../Group_es_CYW2Hquh.js';
|
|
11
10
|
import { T as Text } from '../Text_es_BRb3qqKM.js';
|
|
12
11
|
import 'lodash/camelCase';
|
|
@@ -21,20 +20,19 @@ import 'react-responsive';
|
|
|
21
20
|
import '../utils/setViewportProperty.js';
|
|
22
21
|
import 'lodash/maxBy';
|
|
23
22
|
import '../hooks/useStyles/styleAttributes.js';
|
|
24
|
-
import '../
|
|
23
|
+
import '../Tooltip_es_D1w1s33u.js';
|
|
25
24
|
import '../Link_es_DxtZLeKY.js';
|
|
26
|
-
import '../
|
|
25
|
+
import '../Loader_es_DHKB6tTw.js';
|
|
27
26
|
|
|
28
27
|
var responseAppearanceConfirm = {
|
|
29
28
|
confirm: {
|
|
30
29
|
fill: 'surfacePrimary',
|
|
31
30
|
titleTextColor: 'surfaceTextPrimary',
|
|
31
|
+
titleTextSize: 'xxl',
|
|
32
32
|
labelTextColor: 'surfaceTextPrimary',
|
|
33
|
-
|
|
33
|
+
descTextSize: 'm',
|
|
34
|
+
primaryButtonAppearance: 'accentPrimary sizeXXL',
|
|
34
35
|
secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
|
|
35
|
-
svgFill: 'surfaceTertiary',
|
|
36
|
-
SvgImage: resposeIcon.Confirm,
|
|
37
|
-
svgPathFill: 'surfaceItemQuaternary',
|
|
38
36
|
},
|
|
39
37
|
};
|
|
40
38
|
|
|
@@ -42,12 +40,11 @@ var responseAppearanceFail = {
|
|
|
42
40
|
fail: {
|
|
43
41
|
fill: 'surfacePrimary',
|
|
44
42
|
titleTextColor: 'surfaceTextPrimary',
|
|
43
|
+
titleTextSize: 'xxl',
|
|
45
44
|
labelTextColor: 'surfaceTextPrimary',
|
|
46
|
-
|
|
45
|
+
descTextSize: 'm',
|
|
46
|
+
primaryButtonAppearance: 'accentPrimary sizeXXL',
|
|
47
47
|
secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
|
|
48
|
-
svgFill: 'surfaceTertiary',
|
|
49
|
-
SvgImage: resposeIcon.Fail,
|
|
50
|
-
svgPathFill: 'surfaceItemQuaternary',
|
|
51
48
|
},
|
|
52
49
|
};
|
|
53
50
|
|
|
@@ -55,12 +52,11 @@ var responseAppearanceNothingFound = {
|
|
|
55
52
|
nothingFound: {
|
|
56
53
|
fill: 'surfacePrimary',
|
|
57
54
|
titleTextColor: 'surfaceTextPrimary',
|
|
55
|
+
titleTextSize: 'xxl',
|
|
58
56
|
labelTextColor: 'surfaceTextPrimary',
|
|
59
|
-
|
|
57
|
+
descTextSize: 'm',
|
|
58
|
+
primaryButtonAppearance: 'accentPrimary sizeXXL',
|
|
60
59
|
secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
|
|
61
|
-
svgFill: 'surfaceTertiary',
|
|
62
|
-
SvgImage: resposeIcon.NothingFound,
|
|
63
|
-
svgPathFill: 'surfaceItemQuaternary',
|
|
64
60
|
},
|
|
65
61
|
};
|
|
66
62
|
|
|
@@ -68,12 +64,11 @@ var responseAppearanceRefresh = {
|
|
|
68
64
|
refresh: {
|
|
69
65
|
fill: 'surfacePrimary',
|
|
70
66
|
titleTextColor: 'surfaceTextPrimary',
|
|
67
|
+
titleTextSize: 'xxl',
|
|
71
68
|
labelTextColor: 'surfaceTextPrimary',
|
|
72
|
-
|
|
69
|
+
descTextSize: 'm',
|
|
70
|
+
primaryButtonAppearance: 'accentPrimary sizeXXL',
|
|
73
71
|
secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
|
|
74
|
-
svgFill: 'surfaceTertiary',
|
|
75
|
-
SvgImage: resposeIcon.Refresh,
|
|
76
|
-
svgPathFill: 'surfaceItemQuaternary',
|
|
77
72
|
},
|
|
78
73
|
};
|
|
79
74
|
|
|
@@ -81,12 +76,11 @@ var responseAppearanceError = {
|
|
|
81
76
|
error: {
|
|
82
77
|
fill: 'surfacePrimary',
|
|
83
78
|
titleTextColor: 'surfaceTextPrimary',
|
|
79
|
+
titleTextSize: 'xxl',
|
|
84
80
|
labelTextColor: 'surfaceTextPrimary',
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
SvgImage: resposeIcon.Error,
|
|
89
|
-
svgPathFill: 'accentItemPrimary',
|
|
81
|
+
descTextSize: 'm',
|
|
82
|
+
primaryButtonAppearance: 'errorPrimary sizeXXL',
|
|
83
|
+
secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
|
|
90
84
|
},
|
|
91
85
|
};
|
|
92
86
|
|
|
@@ -94,12 +88,11 @@ var responseAppearanceSuccess = {
|
|
|
94
88
|
success: {
|
|
95
89
|
fill: 'surfacePrimary',
|
|
96
90
|
titleTextColor: 'surfaceTextPrimary',
|
|
91
|
+
titleTextSize: 'xxl',
|
|
97
92
|
labelTextColor: 'surfaceTextPrimary',
|
|
93
|
+
descTextSize: 'm',
|
|
98
94
|
primaryButtonAppearance: 'accentPrimary sizeXXL',
|
|
99
95
|
secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
|
|
100
|
-
svgFill: 'accentPrimary',
|
|
101
|
-
SvgImage: resposeIcon.Success,
|
|
102
|
-
svgPathFill: 'accentItemPrimary',
|
|
103
96
|
},
|
|
104
97
|
};
|
|
105
98
|
|
|
@@ -107,12 +100,11 @@ var responseAppearanceUnableLoadData = {
|
|
|
107
100
|
unableLoadData: {
|
|
108
101
|
fill: 'surfacePrimary',
|
|
109
102
|
titleTextColor: 'surfaceTextPrimary',
|
|
103
|
+
titleTextSize: 'xxl',
|
|
110
104
|
labelTextColor: 'surfaceTextPrimary',
|
|
111
|
-
|
|
105
|
+
descTextSize: 'm',
|
|
106
|
+
primaryButtonAppearance: 'accentPrimary sizeXXL',
|
|
112
107
|
secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
|
|
113
|
-
svgFill: 'surfaceTertiary',
|
|
114
|
-
SvgImage: resposeIcon.UnableLoadData,
|
|
115
|
-
svgPathFill: 'surfaceItemQuaternary',
|
|
116
108
|
},
|
|
117
109
|
};
|
|
118
110
|
|
|
@@ -120,12 +112,11 @@ var responseAppearanceWarning = {
|
|
|
120
112
|
warning: {
|
|
121
113
|
fill: 'surfacePrimary',
|
|
122
114
|
titleTextColor: 'surfaceTextPrimary',
|
|
115
|
+
titleTextSize: 'xxl',
|
|
123
116
|
labelTextColor: 'surfaceTextPrimary',
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
SvgImage: resposeIcon.Warning,
|
|
128
|
-
svgPathFill: 'accentItemPrimary',
|
|
117
|
+
descTextSize: 'm',
|
|
118
|
+
primaryButtonAppearance: 'warningPrimary sizeXXL',
|
|
119
|
+
secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
|
|
129
120
|
},
|
|
130
121
|
};
|
|
131
122
|
|
|
@@ -4,7 +4,7 @@ import React, { useCallback } 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_D1w1s33u.js';
|
|
8
8
|
import { T as Text } from '../Text_es_BRb3qqKM.js';
|
|
9
9
|
import { S as Scrollbar } from '../Scrollbar_es_CThJeCLF.js';
|
|
10
10
|
import 'lodash/camelCase';
|