@itcase/ui 1.3.26 → 1.3.28
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/{Badge-CcaG-4ly.js → Badge-5gtVywXB.js} +4 -6
- package/dist/{Badge-CoHPvO35.js → Badge-DhOJoJgc.js} +4 -6
- package/dist/{Button-BFX_EEum.js → Button-BSnodY9v.js} +2 -2
- package/dist/{Button-BSzqA8CB.js → Button-Kcw2DdY0.js} +2 -2
- package/dist/{Group-D6CXN4hS.js → Group-BY8OkVsS.js} +2 -2
- package/dist/{Group-B9L2NTgM.js → Group-c3ZkPu8e.js} +2 -2
- package/dist/{Icon-BZa8B7te.js → Icon-BdHr6E6M.js} +1 -1
- package/dist/{Icon-B_bS-o4g.js → Icon-pUvizy3W.js} +1 -1
- package/dist/{Label-HKRKV3mn.js → Label-CBwPiUuf.js} +1 -1
- package/dist/{Label-DQyB2ThM.js → Label-DgyUhGTQ.js} +1 -1
- package/dist/{Overlay-DcGWchjp.js → Overlay-B9nOIfLe.js} +2 -2
- package/dist/{Overlay-CCx7yAPc.js → Overlay-Yf9EEclM.js} +2 -2
- package/dist/{Title-DBaHcpvB.js → Title-BfKF5WvZ.js} +2 -2
- package/dist/{Title-CHgrIarR.js → Title-C7Qv9WfS.js} +2 -2
- package/dist/{Tooltip-1Jbub0K6.js → Tooltip-AodzD-7D.js} +1 -1
- package/dist/{Tooltip-CNua1g76.js → Tooltip-BDEyAnd-.js} +1 -1
- package/dist/cjs/components/Accordion.js +3 -3
- package/dist/cjs/components/Avatar.js +3 -3
- package/dist/cjs/components/Badge.js +1 -1
- package/dist/cjs/components/Breadcrumbs.js +3 -3
- package/dist/cjs/components/Button.js +4 -4
- package/dist/cjs/components/Cell.js +4 -4
- package/dist/cjs/components/Checkmark.js +6 -12
- package/dist/cjs/components/Choice.js +3 -3
- package/dist/cjs/components/CookiesWarning.js +5 -5
- package/dist/cjs/components/DatePicker.js +5 -5
- package/dist/cjs/components/Drawer.js +2 -2
- package/dist/cjs/components/Flex.js +4 -4
- package/dist/cjs/components/Grid.js +4 -4
- package/dist/cjs/components/Group.js +1 -1
- package/dist/cjs/components/Icon.js +3 -3
- package/dist/cjs/components/InputPassword.js +3 -3
- package/dist/cjs/components/Label.js +3 -3
- package/dist/cjs/components/Modal.js +3 -3
- package/dist/cjs/components/ModalSheetBottom.js +2 -2
- package/dist/cjs/components/Notification.js +2 -2
- package/dist/cjs/components/Overlay.js +1 -1
- package/dist/cjs/components/Pagination.js +3 -3
- package/dist/cjs/components/Panel.js +1 -1
- package/dist/cjs/components/Response.js +7 -7
- package/dist/cjs/components/SVGContent.js +0 -1
- package/dist/cjs/components/Search.js +3 -3
- package/dist/cjs/components/Select.js +5 -5
- package/dist/cjs/components/Swiper.js +1 -1
- package/dist/cjs/components/Tab.js +1 -1
- package/dist/cjs/components/Tile.js +4 -4
- package/dist/cjs/components/Title.js +1 -1
- package/dist/cjs/components/Tooltip.js +2 -2
- package/dist/components/Accordion.js +3 -3
- package/dist/components/Avatar.js +3 -3
- package/dist/components/Badge.js +1 -1
- package/dist/components/Breadcrumbs.js +3 -3
- package/dist/components/Button.js +4 -4
- package/dist/components/Cell.js +4 -4
- package/dist/components/Checkmark.js +6 -12
- package/dist/components/Choice.js +3 -3
- package/dist/components/CookiesWarning.js +5 -5
- package/dist/components/DatePicker.js +5 -5
- package/dist/components/Drawer.js +2 -2
- package/dist/components/Flex.js +4 -4
- package/dist/components/Grid.js +4 -4
- package/dist/components/Group.js +1 -1
- package/dist/components/Icon.js +3 -3
- package/dist/components/InputPassword.js +3 -3
- package/dist/components/Label.js +3 -3
- package/dist/components/Modal.js +3 -3
- package/dist/components/ModalSheetBottom.js +2 -2
- package/dist/components/Notification.js +2 -2
- package/dist/components/Overlay.js +1 -1
- package/dist/components/Pagination.js +3 -3
- package/dist/components/Panel.js +1 -1
- package/dist/components/Response.js +7 -7
- package/dist/components/SVGContent.js +0 -1
- package/dist/components/Search.js +3 -3
- package/dist/components/Select.js +5 -5
- package/dist/components/Swiper.js +1 -1
- package/dist/components/Tab.js +1 -1
- package/dist/components/Tile.js +4 -4
- package/dist/components/Title.js +1 -1
- package/dist/components/Tooltip.js +2 -2
- package/dist/css/components/Checkmark/Checkmark.css +2 -4
- package/dist/css/tokens/colors.css +19 -7
- package/dist/stories/Overview.mdx +5 -5
- package/dist/stories/Playground.mdx +4 -4
- package/package.json +8 -5
- package/dist/cjs/components/Caption.js +0 -28
- package/dist/cjs/components/SiteMenu.js +0 -87
- package/dist/cjs/components/Wrapper.js +0 -28
- package/dist/components/Caption.js +0 -26
- package/dist/components/SiteMenu.js +0 -82
- package/dist/components/Wrapper.js +0 -26
- package/dist/css/components/Caption/Caption.css +0 -22
- package/dist/css/components/SiteMenu/SiteMenu.css +0 -37
- package/dist/css/components/Wrapper/Wrapper.css +0 -36
- package/dist/types/components/Caption/Caption.d.ts +0 -3
- package/dist/types/components/Caption/Caption.interface.d.ts +0 -22
- package/dist/types/components/Caption/index.d.ts +0 -1
- package/dist/types/components/SiteMenu/SiteMenu.appearance.d.ts +0 -2
- package/dist/types/components/SiteMenu/SiteMenu.d.ts +0 -4
- package/dist/types/components/SiteMenu/SiteMenu.interface.d.ts +0 -39
- package/dist/types/components/SiteMenu/SiteMenuButton.d.ts +0 -3
- package/dist/types/components/SiteMenu/index.d.ts +0 -4
- package/dist/types/components/Wrapper/Wrapper.d.ts +0 -3
- package/dist/types/components/Wrapper/Wrapper.interface.d.ts +0 -21
- package/dist/types/components/Wrapper/index.d.ts +0 -1
|
@@ -2,7 +2,6 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { useDeviceTargetClassGenerator } from '../hooks/useDeviceTargetClassGenerator.js';
|
|
4
4
|
import { useStyles } from '../hooks/useStyles.js';
|
|
5
|
-
import { I as Icon } from '../Icon-BZa8B7te.js';
|
|
6
5
|
import '../tslib.es6-Bwu1Cn-t.js';
|
|
7
6
|
import 'react';
|
|
8
7
|
import 'lodash/camelCase';
|
|
@@ -14,30 +13,25 @@ import '../utils/setViewportProperty.js';
|
|
|
14
13
|
import 'lodash/maxBy';
|
|
15
14
|
import 'lodash/upperFirst';
|
|
16
15
|
import '../hooks/styleAttributes.js';
|
|
17
|
-
import 'react-inlinesvg';
|
|
18
|
-
import '../Link-DN2LhPjD.js';
|
|
19
|
-
import '../Tooltip-1Jbub0K6.js';
|
|
20
|
-
import '../Text-JayJa3hj.js';
|
|
21
|
-
import '../Title-CHgrIarR.js';
|
|
22
16
|
|
|
23
17
|
var checkmarkAppearance = {
|
|
24
18
|
accent: {
|
|
25
19
|
borderWidth: '4',
|
|
26
|
-
borderColor: '
|
|
20
|
+
borderColor: 'accentBorderPrimary',
|
|
27
21
|
fill: 'accentPrimary',
|
|
28
|
-
iconFill: '
|
|
22
|
+
iconFill: 'white',
|
|
29
23
|
},
|
|
30
24
|
disabled: {
|
|
31
25
|
borderWidth: '4',
|
|
32
26
|
borderColor: 'surfaceBorderTertiary',
|
|
33
27
|
fill: 'surfaceItemSecondary',
|
|
34
|
-
iconFill: '
|
|
28
|
+
iconFill: '#787878',
|
|
35
29
|
},
|
|
36
30
|
surface: {
|
|
37
31
|
borderWidth: '4',
|
|
38
32
|
borderColor: 'surfaceBorderTertiary',
|
|
39
33
|
fill: 'surfacePrimary',
|
|
40
|
-
iconFill: '
|
|
34
|
+
iconFill: 'black',
|
|
41
35
|
},
|
|
42
36
|
};
|
|
43
37
|
|
|
@@ -48,14 +42,14 @@ var checkmarkConfig = {
|
|
|
48
42
|
},
|
|
49
43
|
};
|
|
50
44
|
function Checkmark(props) {
|
|
51
|
-
var isChecked = props.isChecked, _a = props.isDisabled, isDisabled = _a === void 0 ? false : _a, appearance = props.appearance, className = props.className,
|
|
45
|
+
var isChecked = props.isChecked, _a = props.isDisabled, isDisabled = _a === void 0 ? false : _a, appearance = props.appearance, className = props.className, iconFill = props.iconFill, onClick = props.onClick;
|
|
52
46
|
// @ts-expect-error
|
|
53
47
|
var appearanceConfig = checkmarkConfig.appearance && checkmarkConfig.appearance[appearance];
|
|
54
48
|
var classGenerator = useDeviceTargetClassGenerator(props, appearanceConfig);
|
|
55
49
|
var borderColorClass = classGenerator.borderColorClass, borderWidthClass = classGenerator.borderWidthClass, fillClass = classGenerator.fillClass, sizeClass = classGenerator.sizeClass;
|
|
56
50
|
// @ts-expect-error
|
|
57
51
|
var checkmarkStyles = useStyles(props).styles;
|
|
58
|
-
return (jsx("div", { className: clsx(className, 'checkmark', sizeClass && "checkmark_size_".concat(sizeClass), fillClass && "fill_".concat(fillClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderColorClass && "border-color_".concat(borderColorClass), isDisabled), style: checkmarkStyles, onClick: onClick, children: isChecked && (jsx(
|
|
52
|
+
return (jsx("div", { className: clsx(className, 'checkmark', sizeClass && "checkmark_size_".concat(sizeClass), fillClass && "fill_".concat(fillClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderColorClass && "border-color_".concat(borderColorClass), isDisabled), style: checkmarkStyles, onClick: onClick, children: isChecked && (jsx("svg", { fill: "none", style: { width: '60%', height: '60%' }, viewBox: "0 0 12 12", xmlns: "http://www.w3.org/2000/svg", children: jsx("path", { fill: iconFill || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.iconFill), "clip-rule": "evenodd", d: "M11.5281 3.04275C11.8222 2.75109 11.8242 2.27622 11.5325 1.9821C11.2409 1.68799 10.766 1.686 10.4719 1.97766L3.94118 8.45396L1.52811 6.061C1.23399 5.76933 0.759121 5.77132 0.467456 6.06544C0.17579 6.35955 0.177777 6.83442 0.471894 7.12609L3.37786 10.0078C3.68973 10.3171 4.19262 10.3171 4.50449 10.0078L11.5281 3.04275Z", "fill-rule": "evenodd" }) })) }));
|
|
59
53
|
}
|
|
60
54
|
|
|
61
55
|
export { Checkmark, checkmarkAppearance, checkmarkConfig };
|
|
@@ -2,7 +2,7 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
2
2
|
import { useRef, useMemo, createRef, useCallback } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useDeviceTargetClassGenerator } from '../hooks/useDeviceTargetClassGenerator.js';
|
|
5
|
-
import { I as Icon } from '../Icon-
|
|
5
|
+
import { I as Icon } from '../Icon-BdHr6E6M.js';
|
|
6
6
|
import { L as Loader } from '../Loader-K_DJmah6.js';
|
|
7
7
|
import { T as Text } from '../Text-JayJa3hj.js';
|
|
8
8
|
import '../tslib.es6-Bwu1Cn-t.js';
|
|
@@ -18,8 +18,8 @@ import 'lodash/maxBy';
|
|
|
18
18
|
import 'lodash/upperFirst';
|
|
19
19
|
import '../hooks/styleAttributes.js';
|
|
20
20
|
import '../Link-DN2LhPjD.js';
|
|
21
|
-
import '../Tooltip-
|
|
22
|
-
import '../Title-
|
|
21
|
+
import '../Tooltip-AodzD-7D.js';
|
|
22
|
+
import '../Title-C7Qv9WfS.js';
|
|
23
23
|
|
|
24
24
|
var choiceAppearance = {
|
|
25
25
|
accent: {
|
|
@@ -3,8 +3,8 @@ import { useRef, useMemo, useCallback, useEffect } from 'react';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import Cookies from 'js-cookie';
|
|
5
5
|
import { useDeviceTargetClassGenerator } from '../hooks/useDeviceTargetClassGenerator.js';
|
|
6
|
-
import { B as Button } from '../Button-
|
|
7
|
-
import { G as Group } from '../Group-
|
|
6
|
+
import { B as Button } from '../Button-Kcw2DdY0.js';
|
|
7
|
+
import { G as Group } from '../Group-c3ZkPu8e.js';
|
|
8
8
|
import { T as Text } from '../Text-JayJa3hj.js';
|
|
9
9
|
import '../tslib.es6-Bwu1Cn-t.js';
|
|
10
10
|
import 'lodash/camelCase';
|
|
@@ -17,11 +17,11 @@ import '../hooks/useStyles.js';
|
|
|
17
17
|
import 'lodash/maxBy';
|
|
18
18
|
import 'lodash/upperFirst';
|
|
19
19
|
import '../hooks/styleAttributes.js';
|
|
20
|
-
import '../Icon-
|
|
20
|
+
import '../Icon-BdHr6E6M.js';
|
|
21
21
|
import 'react-inlinesvg';
|
|
22
22
|
import '../Link-DN2LhPjD.js';
|
|
23
|
-
import '../Tooltip-
|
|
24
|
-
import '../Title-
|
|
23
|
+
import '../Tooltip-AodzD-7D.js';
|
|
24
|
+
import '../Title-C7Qv9WfS.js';
|
|
25
25
|
import '../Loader-K_DJmah6.js';
|
|
26
26
|
|
|
27
27
|
function CookiesWarning(props) {
|
|
@@ -6,10 +6,10 @@ import { ru } from 'date-fns/locale';
|
|
|
6
6
|
import DatePicker from 'react-datepicker';
|
|
7
7
|
import { useDeviceTargetClassGenerator } from '../hooks/useDeviceTargetClassGenerator.js';
|
|
8
8
|
import { useStyles } from '../hooks/useStyles.js';
|
|
9
|
-
import { B as Button } from '../Button-
|
|
10
|
-
import { I as Icon } from '../Icon-
|
|
9
|
+
import { B as Button } from '../Button-Kcw2DdY0.js';
|
|
10
|
+
import { I as Icon } from '../Icon-BdHr6E6M.js';
|
|
11
11
|
import { I as Input } from '../Input-BrV5_NoV.js';
|
|
12
|
-
import { L as Label } from '../Label-
|
|
12
|
+
import { L as Label } from '../Label-DgyUhGTQ.js';
|
|
13
13
|
import { T as Text } from '../Text-JayJa3hj.js';
|
|
14
14
|
import 'lodash/camelCase';
|
|
15
15
|
import 'lodash/castArray';
|
|
@@ -23,8 +23,8 @@ import '../hooks/styleAttributes.js';
|
|
|
23
23
|
import '../Link-DN2LhPjD.js';
|
|
24
24
|
import '../Loader-K_DJmah6.js';
|
|
25
25
|
import 'react-inlinesvg';
|
|
26
|
-
import '../Tooltip-
|
|
27
|
-
import '../Title-
|
|
26
|
+
import '../Tooltip-AodzD-7D.js';
|
|
27
|
+
import '../Title-C7Qv9WfS.js';
|
|
28
28
|
|
|
29
29
|
var datePickerAppearance = {
|
|
30
30
|
dev: {},
|
|
@@ -14,7 +14,7 @@ var drawerConfig = {
|
|
|
14
14
|
},
|
|
15
15
|
};
|
|
16
16
|
function Drawer(props) {
|
|
17
|
-
var children = props.children, direction = props.direction, isOpenModal = props.isOpenModal, after = props.after, before = props.before, className = props.className, dataTour = props.dataTour, enableOverlay = props.enableOverlay, size = props.size, type = props.type, onClickClose = props.onClickClose, onClose = props.onClose;
|
|
17
|
+
var children = props.children, direction = props.direction, isOpenModal = props.isOpenModal, after = props.after, before = props.before, className = props.className, dataTour = props.dataTour, dataTestId = props.dataTestId, enableOverlay = props.enableOverlay, size = props.size, type = props.type, onClickClose = props.onClickClose, onClose = props.onClose;
|
|
18
18
|
var prevIsOpenModalRef = useRef(null);
|
|
19
19
|
useEffect(function () {
|
|
20
20
|
if (onClose && prevIsOpenModalRef.current === true && !isOpenModal) {
|
|
@@ -24,7 +24,7 @@ function Drawer(props) {
|
|
|
24
24
|
}, [isOpenModal, onClose]);
|
|
25
25
|
return (jsxs(ReactDrawer, { className: clsx('drawer', type && "drawer_type_".concat(type), className, dataTour && "data-tour-".concat(dataTour)), direction: direction || 'right', enableOverlay: enableOverlay, lockBackgroundScroll: false,
|
|
26
26
|
// @ts-expect-error
|
|
27
|
-
open: isOpenModal, overlayClassName: "drawer__overlay", size: size || 600, onClose: onClickClose, children: [before && jsx("div", { className: "drawer__before", children: before }), children && jsx("div", { className: "drawer__wrapper", children: children }), after && jsx("div", { className: "drawer__after", children: after })] }));
|
|
27
|
+
open: isOpenModal, "data-testid": dataTestId, "data-tour": dataTour, overlayClassName: "drawer__overlay", size: size || 600, onClose: onClickClose, children: [before && jsx("div", { className: "drawer__before", children: before }), children && jsx("div", { className: "drawer__wrapper", children: children }), after && jsx("div", { className: "drawer__after", children: after })] }));
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
export { Drawer, drawerAppearance, drawerConfig };
|
package/dist/components/Flex.js
CHANGED
|
@@ -17,19 +17,19 @@ import '../hooks/styleAttributes.js';
|
|
|
17
17
|
function Flex(props) {
|
|
18
18
|
var id = props.id, children = props.children, className = props.className, _a = props.tag, Tag = _a === void 0 ? 'div' : _a, type = props.type, style = props.style, onClick = props.onClick;
|
|
19
19
|
var classGenerator = useDeviceTargetClassGenerator(props);
|
|
20
|
-
var alignContentClass = classGenerator.alignContentClass, alignItemsClass = classGenerator.alignItemsClass, borderColorClass = classGenerator.borderColorClass, borderTypeClass = classGenerator.borderTypeClass, directionClass = classGenerator.directionClass, fillClass = classGenerator.fillClass, flowClass = classGenerator.flowClass, justifyContentClass = classGenerator.justifyContentClass, positionClass = classGenerator.positionClass, shapeClass = classGenerator.shapeClass, widthClass = classGenerator.widthClass, wrapClass = classGenerator.wrapClass;
|
|
20
|
+
var alignContentClass = classGenerator.alignContentClass, alignItemsClass = classGenerator.alignItemsClass, borderColorClass = classGenerator.borderColorClass, borderTypeClass = classGenerator.borderTypeClass, dataTestId = classGenerator.dataTestId, dataTour = classGenerator.dataTour, directionClass = classGenerator.directionClass, fillClass = classGenerator.fillClass, flowClass = classGenerator.flowClass, justifyContentClass = classGenerator.justifyContentClass, positionClass = classGenerator.positionClass, shapeClass = classGenerator.shapeClass, widthClass = classGenerator.widthClass, wrapClass = classGenerator.wrapClass;
|
|
21
21
|
// @ts-expect-error
|
|
22
22
|
var _b = useStyles(props), flexStyles = _b.styles, flexWrapperStyles = _b.wrapper;
|
|
23
|
-
return (jsx(Tag, { className: clsx(className, 'flex', widthClass && "width_".concat(widthClass), alignContentClass && "flex_align-content_".concat(alignContentClass), alignItemsClass && "flex_align-items_".concat(alignItemsClass), directionClass && "flex_direction_".concat(directionClass), fillClass && "fill_".concat(fillClass), flowClass && "flex_flow_".concat(flowClass), borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), positionClass && "position_".concat(positionClass), justifyContentClass && "flex_justify-content_".concat(justifyContentClass), shapeClass && "flex_shape_".concat(shapeClass), type && "flex_type_".concat(type), wrapClass && "flex_wrap_".concat(wrapClass)), id: id, style: Object.assign({}, flexStyles, style), onClick: onClick, children: jsx("div", { className: "flex__wrapper", style: flexWrapperStyles, children: children }) }));
|
|
23
|
+
return (jsx(Tag, { className: clsx(className, 'flex', widthClass && "width_".concat(widthClass), alignContentClass && "flex_align-content_".concat(alignContentClass), alignItemsClass && "flex_align-items_".concat(alignItemsClass), directionClass && "flex_direction_".concat(directionClass), fillClass && "fill_".concat(fillClass), flowClass && "flex_flow_".concat(flowClass), borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), positionClass && "position_".concat(positionClass), justifyContentClass && "flex_justify-content_".concat(justifyContentClass), shapeClass && "flex_shape_".concat(shapeClass), type && "flex_type_".concat(type), wrapClass && "flex_wrap_".concat(wrapClass)), "data-testid": dataTestId, "data-tour": dataTour, id: id, style: Object.assign({}, flexStyles, style), onClick: onClick, children: jsx("div", { className: "flex__wrapper", style: flexWrapperStyles, children: children }) }));
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
function FlexItem(props) {
|
|
27
27
|
var children = props.children, className = props.className, htmlFor = props.htmlFor, _a = props.tag, Tag = _a === void 0 ? 'div' : _a, style = props.style;
|
|
28
28
|
var classGenerator = useDeviceTargetClassGenerator(props);
|
|
29
|
-
var alignItemsClass = classGenerator.alignItemsClass, alignSelfClass = classGenerator.alignSelfClass, directionClass = classGenerator.directionClass, fillClass = classGenerator.fillClass, fillHoverClass = classGenerator.fillHoverClass, growClass = classGenerator.growClass, justifyContentClass = classGenerator.justifyContentClass, positionClass = classGenerator.positionClass, shapeClass = classGenerator.shapeClass, widthClass = classGenerator.widthClass, wrapClass = classGenerator.wrapClass;
|
|
29
|
+
var alignItemsClass = classGenerator.alignItemsClass, alignSelfClass = classGenerator.alignSelfClass, directionClass = classGenerator.directionClass, fillClass = classGenerator.fillClass, dataTestId = classGenerator.dataTestId, dataTour = classGenerator.dataTour, fillHoverClass = classGenerator.fillHoverClass, growClass = classGenerator.growClass, justifyContentClass = classGenerator.justifyContentClass, positionClass = classGenerator.positionClass, shapeClass = classGenerator.shapeClass, widthClass = classGenerator.widthClass, wrapClass = classGenerator.wrapClass;
|
|
30
30
|
// @ts-expect-error
|
|
31
31
|
var flexItemStyles = useStyles(props).styles;
|
|
32
|
-
return (jsx(Tag, { className: clsx(className, 'flex__item', positionClass && "position_".concat(positionClass), alignItemsClass && "flex__item_align-items_".concat(alignItemsClass), alignSelfClass && "flex__item_align-self_".concat(alignSelfClass), directionClass && "flex__item_direction_".concat(directionClass), fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), growClass && "flex__item_grow_".concat(growClass), justifyContentClass && "flex__item_justify-content_".concat(justifyContentClass), shapeClass && "flex__item_shape_".concat(shapeClass), widthClass && "width_".concat(widthClass), wrapClass && "flex__item_wrap_".concat(wrapClass)), style: Object.assign({}, flexItemStyles, style), htmlFor: htmlFor, children: children }));
|
|
32
|
+
return (jsx(Tag, { className: clsx(className, 'flex__item', positionClass && "position_".concat(positionClass), alignItemsClass && "flex__item_align-items_".concat(alignItemsClass), alignSelfClass && "flex__item_align-self_".concat(alignSelfClass), directionClass && "flex__item_direction_".concat(directionClass), fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), growClass && "flex__item_grow_".concat(growClass), justifyContentClass && "flex__item_justify-content_".concat(justifyContentClass), shapeClass && "flex__item_shape_".concat(shapeClass), widthClass && "width_".concat(widthClass), wrapClass && "flex__item_wrap_".concat(wrapClass)), "data-testid": dataTestId, "data-tour": dataTour, style: Object.assign({}, flexItemStyles, style), htmlFor: htmlFor, children: children }));
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
export { Flex, FlexItem };
|
package/dist/components/Grid.js
CHANGED
|
@@ -26,19 +26,19 @@ function Grid(props) {
|
|
|
26
26
|
function GridItem(props) {
|
|
27
27
|
var id = props.id, children = props.children, className = props.className, dataTour = props.dataTour, style = props.style, onClick = props.onClick;
|
|
28
28
|
var classGenerator = useDeviceTargetClassGenerator(props);
|
|
29
|
-
var alignSelfClass = classGenerator.alignSelfClass, columnEndClass = classGenerator.columnEndClass, columnGapClass = classGenerator.columnGapClass, columnSpanClass = classGenerator.columnSpanClass, columnStartClass = classGenerator.columnStartClass, directionClass = classGenerator.directionClass, fillClass = classGenerator.fillClass, fillHoverClass = classGenerator.fillHoverClass, gapClass = classGenerator.gapClass, heightClass = classGenerator.heightClass, justifySelfClass = classGenerator.justifySelfClass, orderClass = classGenerator.orderClass, rowEndClass = classGenerator.rowEndClass, rowGapClass = classGenerator.rowGapClass, rowSpanClass = classGenerator.rowSpanClass, rowStartClass = classGenerator.rowStartClass, widthClass = classGenerator.widthClass;
|
|
29
|
+
var alignSelfClass = classGenerator.alignSelfClass, columnEndClass = classGenerator.columnEndClass, dataTestId = classGenerator.dataTestId, dataTour = classGenerator.dataTour, columnGapClass = classGenerator.columnGapClass, columnSpanClass = classGenerator.columnSpanClass, columnStartClass = classGenerator.columnStartClass, directionClass = classGenerator.directionClass, fillClass = classGenerator.fillClass, fillHoverClass = classGenerator.fillHoverClass, gapClass = classGenerator.gapClass, heightClass = classGenerator.heightClass, justifySelfClass = classGenerator.justifySelfClass, orderClass = classGenerator.orderClass, rowEndClass = classGenerator.rowEndClass, rowGapClass = classGenerator.rowGapClass, rowSpanClass = classGenerator.rowSpanClass, rowStartClass = classGenerator.rowStartClass, widthClass = classGenerator.widthClass;
|
|
30
30
|
// @ts-expect-error
|
|
31
31
|
var gridItemStyles = useStyles(props).styles;
|
|
32
|
-
return (jsx("div", { className: clsx(className, 'grid__item', orderClass && "order_".concat(orderClass), fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), alignSelfClass && "grid__item_align-self_".concat(alignSelfClass), justifySelfClass && "grid__item_justify-self_".concat(justifySelfClass), columnStartClass && "grid__item_column-start_".concat(columnStartClass), columnEndClass && "grid__item_column-end_".concat(columnEndClass), columnSpanClass && "grid__item_column-span_".concat(columnSpanClass), rowStartClass && "grid__item_row-start_".concat(rowStartClass), rowEndClass && "grid__item_row-end_".concat(rowEndClass), rowSpanClass && "grid__item_row-span_".concat(rowSpanClass), directionClass && "direction_".concat(directionClass), gapClass && "gap_".concat(gapClass), widthClass && "width_".concat(widthClass), heightClass && "height_".concat(heightClass), rowGapClass && "row-gap_".concat(rowGapClass), columnGapClass && "column-gap_".concat(columnGapClass)), "data-tour": dataTour, id: id, style: Object.assign({}, gridItemStyles, style), onClick: onClick, children: children }));
|
|
32
|
+
return (jsx("div", { className: clsx(className, 'grid__item', orderClass && "order_".concat(orderClass), fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), alignSelfClass && "grid__item_align-self_".concat(alignSelfClass), justifySelfClass && "grid__item_justify-self_".concat(justifySelfClass), columnStartClass && "grid__item_column-start_".concat(columnStartClass), columnEndClass && "grid__item_column-end_".concat(columnEndClass), columnSpanClass && "grid__item_column-span_".concat(columnSpanClass), rowStartClass && "grid__item_row-start_".concat(rowStartClass), rowEndClass && "grid__item_row-end_".concat(rowEndClass), rowSpanClass && "grid__item_row-span_".concat(rowSpanClass), directionClass && "direction_".concat(directionClass), gapClass && "gap_".concat(gapClass), widthClass && "width_".concat(widthClass), heightClass && "height_".concat(heightClass), rowGapClass && "row-gap_".concat(rowGapClass), columnGapClass && "column-gap_".concat(columnGapClass)), "data-testid": dataTestId, "data-tour": dataTour, id: id, style: Object.assign({}, gridItemStyles, style), onClick: onClick, children: children }));
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
function GridRow(props) {
|
|
36
|
-
var id = props.id, children = props.children, className = props.className, dataTour = props.dataTour, htmlFor = props.htmlFor, style = props.style, _a = props.tag, Tag = _a === void 0 ? 'div' : _a, onClick = props.onClick;
|
|
36
|
+
var id = props.id, dataTestId = props.dataTestId, children = props.children, className = props.className, dataTour = props.dataTour, htmlFor = props.htmlFor, style = props.style, _a = props.tag, Tag = _a === void 0 ? 'div' : _a, onClick = props.onClick;
|
|
37
37
|
var classGenerator = useDeviceTargetClassGenerator(props);
|
|
38
38
|
var borderColorClass = classGenerator.borderColorClass, fillClass = classGenerator.fillClass, fillHoverClass = classGenerator.fillHoverClass;
|
|
39
39
|
// @ts-expect-error
|
|
40
40
|
var gridRowStyles = useStyles(props).styles;
|
|
41
|
-
return (jsx(Tag, { className: clsx(className, 'grid__row', fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), borderColorClass && "border-color_".concat(borderColorClass)), "data-tour": dataTour, htmlFor: htmlFor, id: id, style: Object.assign({}, gridRowStyles, style), onClick: onClick, children: children }));
|
|
41
|
+
return (jsx(Tag, { className: clsx(className, 'grid__row', fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), borderColorClass && "border-color_".concat(borderColorClass)), "data-testid": dataTestId, "data-tour": dataTour, htmlFor: htmlFor, id: id, style: Object.assign({}, gridRowStyles, style), onClick: onClick, children: children }));
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
export { Grid, GridItem, GridRow };
|
package/dist/components/Group.js
CHANGED
package/dist/components/Icon.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { I as Icon, a as iconAppearance, i as iconConfig } from '../Icon-
|
|
1
|
+
export { I as Icon, a as iconAppearance, i as iconConfig } from '../Icon-BdHr6E6M.js';
|
|
2
2
|
import '../tslib.es6-Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -16,6 +16,6 @@ import 'lodash/maxBy';
|
|
|
16
16
|
import 'lodash/upperFirst';
|
|
17
17
|
import '../hooks/styleAttributes.js';
|
|
18
18
|
import '../Link-DN2LhPjD.js';
|
|
19
|
-
import '../Tooltip-
|
|
19
|
+
import '../Tooltip-AodzD-7D.js';
|
|
20
20
|
import '../Text-JayJa3hj.js';
|
|
21
|
-
import '../Title-
|
|
21
|
+
import '../Title-C7Qv9WfS.js';
|
|
@@ -2,7 +2,7 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { useState, useMemo, useCallback } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useDeviceTargetClassGenerator } from '../hooks/useDeviceTargetClassGenerator.js';
|
|
5
|
-
import { I as Icon } from '../Icon-
|
|
5
|
+
import { I as Icon } from '../Icon-BdHr6E6M.js';
|
|
6
6
|
import '../tslib.es6-Bwu1Cn-t.js';
|
|
7
7
|
import 'lodash/camelCase';
|
|
8
8
|
import 'lodash/castArray';
|
|
@@ -16,9 +16,9 @@ import 'lodash/maxBy';
|
|
|
16
16
|
import 'lodash/upperFirst';
|
|
17
17
|
import '../hooks/styleAttributes.js';
|
|
18
18
|
import '../Link-DN2LhPjD.js';
|
|
19
|
-
import '../Tooltip-
|
|
19
|
+
import '../Tooltip-AodzD-7D.js';
|
|
20
20
|
import '../Text-JayJa3hj.js';
|
|
21
|
-
import '../Title-
|
|
21
|
+
import '../Title-C7Qv9WfS.js';
|
|
22
22
|
|
|
23
23
|
var InputPasswordAppearance = {
|
|
24
24
|
dev: {
|
package/dist/components/Label.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { L as Label, a as labelAppearance, l as labelConfig } from '../Label-
|
|
1
|
+
export { L as Label, a as labelAppearance, l as labelConfig } from '../Label-DgyUhGTQ.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -15,5 +15,5 @@ import 'lodash/maxBy';
|
|
|
15
15
|
import 'lodash/upperFirst';
|
|
16
16
|
import '../hooks/styleAttributes.js';
|
|
17
17
|
import '../Text-JayJa3hj.js';
|
|
18
|
-
import '../Tooltip-
|
|
19
|
-
import '../Title-
|
|
18
|
+
import '../Tooltip-AodzD-7D.js';
|
|
19
|
+
import '../Title-C7Qv9WfS.js';
|
package/dist/components/Modal.js
CHANGED
|
@@ -4,7 +4,7 @@ import clsx from 'clsx';
|
|
|
4
4
|
import ReactDOM from 'react-dom';
|
|
5
5
|
import { useDeviceTargetClassGenerator } from '../hooks/useDeviceTargetClassGenerator.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles.js';
|
|
7
|
-
import { O as Overlay } from '../Overlay-
|
|
7
|
+
import { O as Overlay } from '../Overlay-B9nOIfLe.js';
|
|
8
8
|
import { L as Loader } from '../Loader-K_DJmah6.js';
|
|
9
9
|
import '../tslib.es6-Bwu1Cn-t.js';
|
|
10
10
|
import 'lodash/camelCase';
|
|
@@ -50,7 +50,7 @@ var getOrCreateModalElement = function (modalQuerySelector, className) {
|
|
|
50
50
|
};
|
|
51
51
|
// Modal component that is an abstraction around the portal API.
|
|
52
52
|
var Modal = React.forwardRef(function Modal(props, ref) {
|
|
53
|
-
var id = props.id, children = props.children, _a = props.isCloseOnBlur, isCloseOnBlur = _a === void 0 ? true : _a, _b = props.isOpen, initialIsOpen = _b === void 0 ? false : _b, _c = props.isOverlay, isOverlay = _c === void 0 ? true : _c, _d = props.isScrollOnOpen, isScrollOnOpen = _d === void 0 ? true : _d, _e = props.isSetFocusOnOpen, isSetFocusOnOpen = _e === void 0 ? true : _e, appearance = props.appearance, className = props.className, closeButton = props.closeButton, contentClassName = props.contentClassName, _f = props.modalQuerySelector, modalQuerySelector = _f === void 0 ? '#modal-global' : _f, overlayClassName = props.overlayClassName, overlayFill = props.overlayFill, overlayFillGradient = props.overlayFillGradient, overlayOpacity = props.overlayOpacity, onClickOverlay = props.onClickOverlay, onCloseModal = props.onCloseModal, onOpenModal = props.onOpenModal;
|
|
53
|
+
var id = props.id, children = props.children, _a = props.isCloseOnBlur, isCloseOnBlur = _a === void 0 ? true : _a, _b = props.isOpen, initialIsOpen = _b === void 0 ? false : _b, _c = props.isOverlay, isOverlay = _c === void 0 ? true : _c, _d = props.isScrollOnOpen, isScrollOnOpen = _d === void 0 ? true : _d, _e = props.isSetFocusOnOpen, isSetFocusOnOpen = _e === void 0 ? true : _e, appearance = props.appearance, className = props.className, closeButton = props.closeButton, contentClassName = props.contentClassName, _f = props.modalQuerySelector, modalQuerySelector = _f === void 0 ? '#modal-global' : _f, overlayClassName = props.overlayClassName, overlayFill = props.overlayFill, overlayFillGradient = props.overlayFillGradient, overlayOpacity = props.overlayOpacity, dataTestId = props.dataTestId, dataTour = props.dataTour, onClickOverlay = props.onClickOverlay, onCloseModal = props.onCloseModal, onOpenModal = props.onOpenModal;
|
|
54
54
|
// Query DOM element
|
|
55
55
|
var _g = useState(null), modalElement = _g[0], setModalElement = _g[1];
|
|
56
56
|
var _h = useState(initialIsOpen), isOpen = _h[0], setIsOpen = _h[1];
|
|
@@ -147,7 +147,7 @@ var Modal = React.forwardRef(function Modal(props, ref) {
|
|
|
147
147
|
return (modalElement &&
|
|
148
148
|
ReactDOM.createPortal(
|
|
149
149
|
// Any valid React child: JSX, strings, arrays, etc.
|
|
150
|
-
isOpen ? (jsxs(React.Fragment, { children: [jsxs("div", { className: clsx('modal-content', contentClassName, fillClass && "fill_".concat(fillClass), shapeClass && "modal-shape_".concat(shapeClass), borderColorClass && "border-color_".concat(borderColorClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), elevationClass && "elevation_".concat(elevationClass)), ref: modalContentRef, id: id, style: modalStyles, tabIndex: 0, onBlur: isCloseOnBlur ? closeModal : undefined, children: [closeButton && (jsx("div", { className: "modal-content__close", onClick: closeModal, children: closeButton })), jsx("div", { className: "modal-content__wrapper", children: children })] }), jsx(Overlay, { className: clsx('modal__overlay', 'overlay_type_modal', overlayClassName),
|
|
150
|
+
isOpen ? (jsxs(React.Fragment, { children: [jsxs("div", { className: clsx('modal-content', contentClassName, fillClass && "fill_".concat(fillClass), shapeClass && "modal-shape_".concat(shapeClass), borderColorClass && "border-color_".concat(borderColorClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), elevationClass && "elevation_".concat(elevationClass)), "data-testid": dataTestId, "data-tour": dataTour, ref: modalContentRef, id: id, style: modalStyles, tabIndex: 0, onBlur: isCloseOnBlur ? closeModal : undefined, children: [closeButton && (jsx("div", { className: "modal-content__close", onClick: closeModal, children: closeButton })), jsx("div", { className: "modal-content__wrapper", children: children })] }), jsx(Overlay, { className: clsx('modal__overlay', 'overlay_type_modal', overlayClassName),
|
|
151
151
|
// ref={modalOverlayRef}
|
|
152
152
|
fill: overlayFill || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.overlayFill), opacity: overlayOpacity || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.overlayOpacity), fillGradient: overlayFillGradient || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.overlayFillGradient), isOverlay: isOverlay || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.isOverlay), onClick: onClickOverlay })] })) : null,
|
|
153
153
|
// A DOM element
|
|
@@ -13,10 +13,10 @@ import '../utils/setViewportProperty.js';
|
|
|
13
13
|
import '../hooks/styleAttributes.js';
|
|
14
14
|
|
|
15
15
|
function ModalSheetBottom(props) {
|
|
16
|
-
var children = props.children, isOpenModal = props.isOpenModal, closeButton = props.closeButton, closeModal = props.closeModal;
|
|
16
|
+
var children = props.children, dataTestId = props.dataTestId, dataTour = props.dataTour, isOpenModal = props.isOpenModal, closeButton = props.closeButton, closeModal = props.closeModal;
|
|
17
17
|
// @ts-expect-error
|
|
18
18
|
var styles = useStyles(props).styles;
|
|
19
|
-
return (jsxs(Sheet, __assign({ className: "modal-sheet-bottom", isOpen: isOpenModal, onClose: closeModal }, 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: closeModal, 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: closeModal })] })));
|
|
19
|
+
return (jsxs(Sheet, __assign({ "data-testid": dataTestId, "data-tour": dataTour, className: "modal-sheet-bottom", isOpen: isOpenModal, onClose: closeModal }, 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: closeModal, 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: closeModal })] })));
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
export { ModalSheetBottom };
|
|
@@ -57,13 +57,13 @@ var notificationItemConfig = {
|
|
|
57
57
|
},
|
|
58
58
|
};
|
|
59
59
|
function NotificationItem(props) {
|
|
60
|
-
var id = props.id, after = props.after, appearance = props.appearance, before = props.before, className = props.className, closeButton = props.closeButton, dataTour = props.dataTour, set = props.set, size = props.size, status = props.status, text = props.text, textColor = props.textColor, _a = props.textSize, textSize = _a === void 0 ? 's' : _a, title = props.title, titleTextColor = props.titleTextColor, _b = props.titleTextSize, titleTextSize = _b === void 0 ? 'm' : _b, onClickClose = props.onClickClose;
|
|
60
|
+
var id = props.id, after = props.after, appearance = props.appearance, before = props.before, className = props.className, closeButton = props.closeButton, dataTour = props.dataTour, dataTestId = props.dataTestId, set = props.set, size = props.size, status = props.status, text = props.text, textColor = props.textColor, _a = props.textSize, textSize = _a === void 0 ? 's' : _a, title = props.title, titleTextColor = props.titleTextColor, _b = props.titleTextSize, titleTextSize = _b === void 0 ? 'm' : _b, onClickClose = props.onClickClose;
|
|
61
61
|
var appearanceConfig = notificationItemConfig.appearance && notificationItemConfig.appearance[appearance];
|
|
62
62
|
var classGenerator = useDeviceTargetClassGenerator(props, appearanceConfig);
|
|
63
63
|
var fillClass = classGenerator.fillClass, widthClass = classGenerator.widthClass;
|
|
64
64
|
// @ts-expect-error
|
|
65
65
|
var notificationStyles = useStyles(props).styles;
|
|
66
|
-
return (jsxs("div", { className: clsx('notification__item', status && "notification__item_status_".concat(status), set && "notification__item_set_".concat(set), size && "notification__item_set_".concat(size), closeButton && 'notification__item_type_close-button', widthClass && "width_".concat(widthClass), fillClass && "fill_".concat(fillClass)), "data-tour": dataTour, style: notificationStyles, children: [before, jsxs("div", { className: clsx(className, 'notification__item-wrapper'), children: [title && (jsx(Text, { className: "notification__item-title", size: titleTextSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.titleTextSize), textColor: titleTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.titleTextColor), children: title })), text && (jsx(Text, { className: "notification__item-text", size: textSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.textSize), textColor: textColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.textColor), children: text })), closeButton && (jsx("div", { className: clsx('notification__item-close', onClickClose && 'cursor_type_pointer'), onClick: function () { return onClickClose && onClickClose(id); }, children: closeButton }))] }), after] }));
|
|
66
|
+
return (jsxs("div", { className: clsx('notification__item', status && "notification__item_status_".concat(status), set && "notification__item_set_".concat(set), size && "notification__item_set_".concat(size), closeButton && 'notification__item_type_close-button', widthClass && "width_".concat(widthClass), fillClass && "fill_".concat(fillClass)), "data-testid": dataTestId, "data-tour": dataTour, style: notificationStyles, children: [before, jsxs("div", { className: clsx(className, 'notification__item-wrapper'), children: [title && (jsx(Text, { className: "notification__item-title", size: titleTextSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.titleTextSize), textColor: titleTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.titleTextColor), children: title })), text && (jsx(Text, { className: "notification__item-text", size: textSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.textSize), textColor: textColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.textColor), children: text })), closeButton && (jsx("div", { className: clsx('notification__item-close', onClickClose && 'cursor_type_pointer'), onClick: function () { return onClickClose && onClickClose(id); }, children: closeButton }))] }), after] }));
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
function NotificationList(props) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { O as Overlay, a as overlayAppearance, o as overlayConfig } from '../Overlay-
|
|
1
|
+
export { O as Overlay, a as overlayAppearance, o as overlayConfig } from '../Overlay-B9nOIfLe.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'clsx';
|
|
4
4
|
import '../hooks/useDeviceTargetClassGenerator.js';
|
|
@@ -5,7 +5,7 @@ import ceil from 'lodash/ceil';
|
|
|
5
5
|
import ReactPaginate from 'react-paginate';
|
|
6
6
|
import { useDeviceTargetClassGenerator } from '../hooks/useDeviceTargetClassGenerator.js';
|
|
7
7
|
import { D as Dropdown, a as DropdownItem } from '../DropdownItem-Bq-oPnWX.js';
|
|
8
|
-
import { I as Icon } from '../Icon-
|
|
8
|
+
import { I as Icon } from '../Icon-BdHr6E6M.js';
|
|
9
9
|
import { T as Text } from '../Text-JayJa3hj.js';
|
|
10
10
|
import '../tslib.es6-Bwu1Cn-t.js';
|
|
11
11
|
import 'lodash/camelCase';
|
|
@@ -21,8 +21,8 @@ import '../hooks/styleAttributes.js';
|
|
|
21
21
|
import '../Divider-DBvDCUqP.js';
|
|
22
22
|
import '../Link-DN2LhPjD.js';
|
|
23
23
|
import 'react-inlinesvg';
|
|
24
|
-
import '../Tooltip-
|
|
25
|
-
import '../Title-
|
|
24
|
+
import '../Tooltip-AodzD-7D.js';
|
|
25
|
+
import '../Title-C7Qv9WfS.js';
|
|
26
26
|
|
|
27
27
|
var paginationAppearance = {
|
|
28
28
|
default: {
|
package/dist/components/Panel.js
CHANGED
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useDeviceTargetClassGenerator } from '../hooks/useDeviceTargetClassGenerator.js';
|
|
5
5
|
import { useStyles } from '../hooks/useStyles.js';
|
|
6
|
-
import { G as Group } from '../Group-
|
|
6
|
+
import { G as Group } from '../Group-c3ZkPu8e.js';
|
|
7
7
|
import { T as Text } from '../Text-JayJa3hj.js';
|
|
8
8
|
import '../tslib.es6-Bwu1Cn-t.js';
|
|
9
9
|
import 'lodash/camelCase';
|
|
@@ -5,8 +5,8 @@ import clsx from 'clsx';
|
|
|
5
5
|
import SVG from 'react-inlinesvg';
|
|
6
6
|
import { useDeviceTargetClassGenerator } from '../hooks/useDeviceTargetClassGenerator.js';
|
|
7
7
|
import { useStyles } from '../hooks/useStyles.js';
|
|
8
|
-
import { B as Button } from '../Button-
|
|
9
|
-
import { G as Group } from '../Group-
|
|
8
|
+
import { B as Button } from '../Button-Kcw2DdY0.js';
|
|
9
|
+
import { G as Group } from '../Group-c3ZkPu8e.js';
|
|
10
10
|
import { T as Text } from '../Text-JayJa3hj.js';
|
|
11
11
|
import 'lodash/camelCase';
|
|
12
12
|
import 'lodash/castArray';
|
|
@@ -17,10 +17,10 @@ import '../utils/setViewportProperty.js';
|
|
|
17
17
|
import 'lodash/maxBy';
|
|
18
18
|
import 'lodash/upperFirst';
|
|
19
19
|
import '../hooks/styleAttributes.js';
|
|
20
|
-
import '../Icon-
|
|
20
|
+
import '../Icon-BdHr6E6M.js';
|
|
21
21
|
import '../Link-DN2LhPjD.js';
|
|
22
|
-
import '../Tooltip-
|
|
23
|
-
import '../Title-
|
|
22
|
+
import '../Tooltip-AodzD-7D.js';
|
|
23
|
+
import '../Title-C7Qv9WfS.js';
|
|
24
24
|
import '../Loader-K_DJmah6.js';
|
|
25
25
|
|
|
26
26
|
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%3ccircle cx='90' cy='90' r='90' fill='%23D9D9D9'/%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='%23747474'/%3e%3c/svg%3e";
|
|
@@ -247,7 +247,7 @@ function Response(props) {
|
|
|
247
247
|
// @ts-expect-error
|
|
248
248
|
var appearanceConfig = responseConfig.appearance && responseConfig.appearance[appearance];
|
|
249
249
|
var classGenerator = useDeviceTargetClassGenerator(props, appearanceConfig);
|
|
250
|
-
var borderColorClass = classGenerator.borderColorClass, borderColorHoverClass = classGenerator.borderColorHoverClass, borderTypeClass = classGenerator.borderTypeClass, borderWidthClass = classGenerator.borderWidthClass, fillClass = classGenerator.fillClass, fillHoverClass = classGenerator.fillHoverClass, shapeClass = classGenerator.shapeClass, svgFillClass = classGenerator.svgFillClass, svgPathFillClass = classGenerator.svgPathFillClass, textAlignClass = classGenerator.textAlignClass;
|
|
250
|
+
var borderColorClass = classGenerator.borderColorClass, borderColorHoverClass = classGenerator.borderColorHoverClass, borderTypeClass = classGenerator.borderTypeClass, dataTestId = classGenerator.dataTestId, dataTour = classGenerator.dataTour, borderWidthClass = classGenerator.borderWidthClass, fillClass = classGenerator.fillClass, fillHoverClass = classGenerator.fillHoverClass, shapeClass = classGenerator.shapeClass, svgFillClass = classGenerator.svgFillClass, svgPathFillClass = classGenerator.svgPathFillClass, textAlignClass = classGenerator.textAlignClass;
|
|
251
251
|
var ImageComponent = useMemo(function () {
|
|
252
252
|
var src = imageSrc || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.imageSrc) || svgSrc || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.svgSrc);
|
|
253
253
|
var Image = SvgImage || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.SvgImage);
|
|
@@ -276,7 +276,7 @@ function Response(props) {
|
|
|
276
276
|
}, [imageSrc, appearanceConfig, SvgImage, width, height, svgFillClass]);
|
|
277
277
|
// @ts-expect-error
|
|
278
278
|
var _a = useStyles(props), responseStyles = _a.styles, wrapperStyles = _a.wrapper;
|
|
279
|
-
return (jsxs("div", { className: clsx(className, 'response', fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), shapeClass && "response_shape_".concat(shapeClass), borderColorClass && "border-color_".concat(borderColorClass), borderColorHoverClass && "border-color_hover_".concat(borderColorHoverClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), set && "response_set_".concat(set)), style: responseStyles, children: [before, jsxs("div", { className: "response__wrapper", style: wrapperStyles, children: [jsx("div", { className: clsx('response__image', svgFillClass && "svg_fill_".concat(svgFillClass), svgPathFillClass && "svg_path_fill_".concat(svgPathFillClass)), children: ImageComponent }), jsxs(Group, { className: clsx('response__desc', textAlignClass && "text-align_".concat(textAlignClass)), width: "fill", children: [title && (jsx(Text, { className: "response__title", size: titleTextSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.titleTextSize) || 'xxl', textColor: titleTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.titleTextColor), textWeight: titleTextWeight || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.titleTextWeight) || '400', children: title })), message && (jsx(Text, { className: "response__message", size: messageTextSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.messageTextSize) || 'm', textColor: messageTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.messageTextColor), textWeight: messageTextWeight || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.messageTextWeight), children: message }))] })] }), (primaryButtonLabel ||
|
|
279
|
+
return (jsxs("div", { className: clsx(className, 'response', fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), shapeClass && "response_shape_".concat(shapeClass), borderColorClass && "border-color_".concat(borderColorClass), borderColorHoverClass && "border-color_hover_".concat(borderColorHoverClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), set && "response_set_".concat(set)), "data-testid": dataTestId, "data-tour": dataTour, style: responseStyles, children: [before, jsxs("div", { className: "response__wrapper", style: wrapperStyles, children: [jsx("div", { className: clsx('response__image', svgFillClass && "svg_fill_".concat(svgFillClass), svgPathFillClass && "svg_path_fill_".concat(svgPathFillClass)), children: ImageComponent }), jsxs(Group, { className: clsx('response__desc', textAlignClass && "text-align_".concat(textAlignClass)), width: "fill", children: [title && (jsx(Text, { className: "response__title", size: titleTextSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.titleTextSize) || 'xxl', textColor: titleTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.titleTextColor), textWeight: titleTextWeight || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.titleTextWeight) || '400', children: title })), message && (jsx(Text, { className: "response__message", size: messageTextSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.messageTextSize) || 'm', textColor: messageTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.messageTextColor), textWeight: messageTextWeight || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.messageTextWeight), children: message }))] })] }), (primaryButtonLabel ||
|
|
280
280
|
primaryButton ||
|
|
281
281
|
secondaryButtonLabel ||
|
|
282
282
|
secondaryButton ||
|
|
@@ -21,7 +21,6 @@ function SVGContent(props) {
|
|
|
21
21
|
var svgFillClass = classGenerator.svgFillClass, svgFillHoverClass = classGenerator.svgFillHoverClass;
|
|
22
22
|
// @ts-expect-error
|
|
23
23
|
var svgContentStyles = useStyles(props).styles;
|
|
24
|
-
console.log(src);
|
|
25
24
|
return (jsxs("div", { className: clsx(className, 'svg-content', svgFillClass && "svg_fill_".concat(svgFillClass), svgFillHoverClass && "svg_fill_hover_".concat(svgFillHoverClass)), style: svgContentStyles, children: [src && jsx(SVG, { src: src }), SvgImage && jsx(SvgImage, {})] }));
|
|
26
25
|
}
|
|
27
26
|
|
|
@@ -3,7 +3,7 @@ import React, { useCallback } from 'react';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useDeviceTargetClassGenerator } from '../hooks/useDeviceTargetClassGenerator.js';
|
|
5
5
|
import { useStyles } from '../hooks/useStyles.js';
|
|
6
|
-
import { I as Icon } from '../Icon-
|
|
6
|
+
import { I as Icon } from '../Icon-BdHr6E6M.js';
|
|
7
7
|
import { T as Text } from '../Text-JayJa3hj.js';
|
|
8
8
|
import { S as Scrollbar } from '../Scrollbar-Bo7z7ELm.js';
|
|
9
9
|
import '../tslib.es6-Bwu1Cn-t.js';
|
|
@@ -18,8 +18,8 @@ import 'lodash/upperFirst';
|
|
|
18
18
|
import '../hooks/styleAttributes.js';
|
|
19
19
|
import 'react-inlinesvg';
|
|
20
20
|
import '../Link-DN2LhPjD.js';
|
|
21
|
-
import '../Tooltip-
|
|
22
|
-
import '../Title-
|
|
21
|
+
import '../Tooltip-AodzD-7D.js';
|
|
22
|
+
import '../Title-C7Qv9WfS.js';
|
|
23
23
|
import 'react-scrollbars-custom';
|
|
24
24
|
|
|
25
25
|
var searchAppearance = {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { _ as __assign } from '../tslib.es6-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 } from '../Icon-
|
|
4
|
+
import { I as Icon } from '../Icon-BdHr6E6M.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';
|
|
8
8
|
import { useDeviceTargetClassGenerator } from '../hooks/useDeviceTargetClassGenerator.js';
|
|
9
9
|
import { T as Text } from '../Text-JayJa3hj.js';
|
|
10
|
-
import { B as Badge } from '../Badge-
|
|
11
|
-
import { G as Group } from '../Group-
|
|
10
|
+
import { B as Badge } from '../Badge-5gtVywXB.js';
|
|
11
|
+
import { G as Group } from '../Group-c3ZkPu8e.js';
|
|
12
12
|
import { D as Divider } from '../Divider-DBvDCUqP.js';
|
|
13
13
|
import 'react-inlinesvg';
|
|
14
14
|
import '../hooks/useStyles.js';
|
|
@@ -21,8 +21,8 @@ import 'react-responsive';
|
|
|
21
21
|
import '../utils/setViewportProperty.js';
|
|
22
22
|
import '../hooks/styleAttributes.js';
|
|
23
23
|
import '../Link-DN2LhPjD.js';
|
|
24
|
-
import '../Tooltip-
|
|
25
|
-
import '../Title-
|
|
24
|
+
import '../Tooltip-AodzD-7D.js';
|
|
25
|
+
import '../Title-C7Qv9WfS.js';
|
|
26
26
|
import 'lodash/castArray';
|
|
27
27
|
|
|
28
28
|
// interface ClearIndicatorProps<Option, IsMulti extends boolean, Group extends GroupBase<Option>>
|
|
@@ -4,7 +4,7 @@ import clsx from 'clsx';
|
|
|
4
4
|
import { Swiper as Swiper$1, SwiperSlide } from 'swiper/react';
|
|
5
5
|
import { useDeviceTargetClassGenerator } from '../hooks/useDeviceTargetClassGenerator.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles.js';
|
|
7
|
-
import { T as Title } from '../Title-
|
|
7
|
+
import { T as Title } from '../Title-C7Qv9WfS.js';
|
|
8
8
|
import '../tslib.es6-Bwu1Cn-t.js';
|
|
9
9
|
import 'lodash/camelCase';
|
|
10
10
|
import 'lodash/castArray';
|
package/dist/components/Tab.js
CHANGED
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useDeviceTargetClassGenerator } from '../hooks/useDeviceTargetClassGenerator.js';
|
|
5
5
|
import { useStyles } from '../hooks/useStyles.js';
|
|
6
|
-
import { B as Badge } from '../Badge-
|
|
6
|
+
import { B as Badge } from '../Badge-5gtVywXB.js';
|
|
7
7
|
import { D as Divider } from '../Divider-DBvDCUqP.js';
|
|
8
8
|
import { a as Link } from '../Link-DN2LhPjD.js';
|
|
9
9
|
import { T as Text } from '../Text-JayJa3hj.js';
|
package/dist/components/Tile.js
CHANGED
|
@@ -2,9 +2,9 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { useDeviceTargetClassGenerator } from '../hooks/useDeviceTargetClassGenerator.js';
|
|
4
4
|
import { useStyles } from '../hooks/useStyles.js';
|
|
5
|
-
import { B as Badge } from '../Badge-
|
|
5
|
+
import { B as Badge } from '../Badge-5gtVywXB.js';
|
|
6
6
|
import { T as Text } from '../Text-JayJa3hj.js';
|
|
7
|
-
import { T as Title } from '../Title-
|
|
7
|
+
import { T as Title } from '../Title-C7Qv9WfS.js';
|
|
8
8
|
import '../tslib.es6-Bwu1Cn-t.js';
|
|
9
9
|
import 'react';
|
|
10
10
|
import 'lodash/camelCase';
|
|
@@ -32,10 +32,10 @@ function Tile(props) {
|
|
|
32
32
|
// @ts-expect-error
|
|
33
33
|
var appearanceConfig = tileConfig.appearance && tileConfig.appearance[appearance];
|
|
34
34
|
var classGenerator = useDeviceTargetClassGenerator(props, appearanceConfig);
|
|
35
|
-
var alignClass = classGenerator.alignClass, alignDirectionClass = classGenerator.alignDirectionClass, borderColorClass = classGenerator.borderColorClass, borderColorHoverClass = classGenerator.borderColorHoverClass, borderTypeClass = classGenerator.borderTypeClass, borderWidthClass = classGenerator.borderWidthClass, fillClass = classGenerator.fillClass, shapeClass = classGenerator.shapeClass;
|
|
35
|
+
var alignClass = classGenerator.alignClass, alignDirectionClass = classGenerator.alignDirectionClass, borderColorClass = classGenerator.borderColorClass, borderColorHoverClass = classGenerator.borderColorHoverClass, borderTypeClass = classGenerator.borderTypeClass, dataTestId = classGenerator.dataTestId, dataTour = classGenerator.dataTour, borderWidthClass = classGenerator.borderWidthClass, fillClass = classGenerator.fillClass, shapeClass = classGenerator.shapeClass;
|
|
36
36
|
// @ts-expect-error
|
|
37
37
|
var tileStyles = useStyles(props).styles;
|
|
38
|
-
return (jsx("div", { className: clsx('tile', className, fillClass && "fill_".concat(fillClass), shapeClass && "tile_shape_".concat(shapeClass), alignClass && "align_".concat(alignClass), alignDirectionClass && "align_".concat(alignDirectionClass), direction && "direction_".concat(direction), borderColorClass && "border-color_".concat(borderColorClass), borderColorHoverClass && "border-color_hover_".concat(borderColorHoverClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), reverse && 'tile_reverse', size && "tile_size_".concat(size), type && "tile_type_".concat(type), badge && "tile_state_badge"), style: tileStyles, onClick: onClick, children: jsxs("div", { className: clsx('tile__wrapper', alignClass, alignDirectionClass), children: [before, title && (jsx(Title, { className: "tile__title", size: titleTextSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.titleTextSize), textAlign: titleTextAlign, textColor: titleTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.titleTextColor), textWeight: titleTextWeight, textWrap: titleTextWrap, children: title })), text && (jsx(Text, { className: "tile__text", size: textSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.textSize), textColor: textColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.textColor), textWrap: textWrap, children: text })), badge && (jsx(Badge, { className: "tile__badge", appearance: badgeAppearance, size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, value: badge })), children, after] }) }));
|
|
38
|
+
return (jsx("div", { className: clsx('tile', className, fillClass && "fill_".concat(fillClass), shapeClass && "tile_shape_".concat(shapeClass), alignClass && "align_".concat(alignClass), alignDirectionClass && "align_".concat(alignDirectionClass), direction && "direction_".concat(direction), borderColorClass && "border-color_".concat(borderColorClass), borderColorHoverClass && "border-color_hover_".concat(borderColorHoverClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), reverse && 'tile_reverse', size && "tile_size_".concat(size), type && "tile_type_".concat(type), badge && "tile_state_badge"), style: tileStyles, onClick: onClick, "data-testid": dataTestId, "data-tour": dataTour, children: jsxs("div", { className: clsx('tile__wrapper', alignClass, alignDirectionClass), children: [before, title && (jsx(Title, { className: "tile__title", size: titleTextSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.titleTextSize), textAlign: titleTextAlign, textColor: titleTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.titleTextColor), textWeight: titleTextWeight, textWrap: titleTextWrap, children: title })), text && (jsx(Text, { className: "tile__text", size: textSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.textSize), textColor: textColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.textColor), textWrap: textWrap, children: text })), badge && (jsx(Badge, { className: "tile__badge", appearance: badgeAppearance, size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, value: badge })), children, after] }) }));
|
|
39
39
|
}
|
|
40
40
|
Tile.defaultProps = {
|
|
41
41
|
alignDirection: 'vertical',
|
package/dist/components/Title.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { T as Tooltip, a as tooltipAppearance, t as tooltipConfig } from '../Tooltip-
|
|
1
|
+
export { T as Tooltip, a as tooltipAppearance, t as tooltipConfig } from '../Tooltip-AodzD-7D.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -15,4 +15,4 @@ import 'lodash/maxBy';
|
|
|
15
15
|
import 'lodash/upperFirst';
|
|
16
16
|
import '../hooks/styleAttributes.js';
|
|
17
17
|
import '../Text-JayJa3hj.js';
|
|
18
|
-
import '../Title-
|
|
18
|
+
import '../Title-C7Qv9WfS.js';
|
|
@@ -11,10 +11,6 @@
|
|
|
11
11
|
height: 100%;
|
|
12
12
|
justify-content: center;
|
|
13
13
|
align-items: center;
|
|
14
|
-
& > svg {
|
|
15
|
-
width: 60%;
|
|
16
|
-
height: 60%;
|
|
17
|
-
}
|
|
18
14
|
}
|
|
19
15
|
}
|
|
20
16
|
}
|
|
@@ -24,6 +20,8 @@
|
|
|
24
20
|
&_$(size) {
|
|
25
21
|
min-width: var(--checkmark-width-size-$(size));
|
|
26
22
|
min-height: var(--checkmark-height-size-$(size));
|
|
23
|
+
max-width: var(--checkmark-width-size-$(size));
|
|
24
|
+
max-height: var(--checkmark-height-size-$(size));
|
|
27
25
|
}
|
|
28
26
|
}
|
|
29
27
|
}
|