@itcase/ui 1.8.60 → 1.8.62
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_-cKfA1OW.js → Avatar_cjs_g8d8LDkU.js} +3 -3
- package/dist/{Avatar_es_CSKFNChm.js → Avatar_es_DbH5Le9j.js} +3 -3
- package/dist/{Button_cjs_DnkftkHE.js → Button_cjs_BMCGsGKK.js} +12 -12
- package/dist/{Button_es_kqE4jwUz.js → Button_es_CvkdyDHz.js} +12 -12
- package/dist/{ChipsGroup_cjs_CymyJ6SH.js → ChipsGroup_cjs_BALOkFuT.js} +41 -8
- package/dist/{ChipsGroup_es_BVXA2F8b.js → ChipsGroup_es_BIDq4idr.js} +41 -8
- package/dist/{DatePicker_cjs_DuPePxS9.js → DatePicker_cjs_EaIpF6cm.js} +4 -4
- package/dist/{DatePicker_es_B84xipuO.js → DatePicker_es_Cq2jJkv0.js} +4 -4
- package/dist/{DropdownItem_cjs_DdjN_gRH.js → DropdownItem_cjs_DyjqXle_.js} +2 -2
- package/dist/{DropdownItem_es_DfEoMbef.js → DropdownItem_es_DHKJHW8q.js} +2 -2
- package/dist/{Group_cjs_DHNBxjH3.js → Group_cjs_D4QLNgcC.js} +2 -2
- package/dist/{Group_es_B2yGEJfj.js → Group_es_CruwH8Al.js} +2 -2
- package/dist/{Icon_cjs_O7ILYzgW.js → Icon_cjs_BsACgdjJ.js} +3 -3
- package/dist/{Icon_es_BGR9vYtq.js → Icon_es_CoIszJbl.js} +3 -3
- package/dist/{Image_cjs_2zEjohYE.js → Image_cjs_B6YlGx8G.js} +2 -2
- package/dist/{Image_es_ChF-63wh.js → Image_es_BvYo_cHH.js} +2 -2
- package/dist/{Label_cjs_eQIgvtt7.js → Label_cjs_QJ0WLQXG.js} +3 -3
- package/dist/{Label_es_BQDu9dwH.js → Label_es_WH-qJKvj.js} +3 -3
- package/dist/{Loader_cjs_DXJ1zsFJ.js → Loader_cjs_DlnM5Vzb.js} +16 -2
- package/dist/{Loader_es_D_NFpg8C.js → Loader_es_DhNCKZ8Y.js} +16 -2
- package/dist/{Overlay_cjs_BMrkRg7M.js → Overlay_cjs_B2KA85nC.js} +1 -1
- package/dist/{Overlay_es_D_izIIUB.js → Overlay_es_BvehRqIP.js} +1 -1
- package/dist/{Text_cjs_C-Ux7Tz5.js → Text_cjs_B8nNXWBA.js} +1 -1
- package/dist/{Text_es_BdFAdf7M.js → Text_es_BvmOR4nv.js} +1 -1
- package/dist/cjs/components/Accordion.js +2 -2
- package/dist/cjs/components/Avatar.js +4 -4
- package/dist/cjs/components/AvatarStack.js +5 -5
- package/dist/cjs/components/Badge.js +2 -2
- package/dist/cjs/components/Breadcrumbs.js +2 -2
- package/dist/cjs/components/Button.js +4 -4
- package/dist/cjs/components/Cell.js +15 -3
- package/dist/cjs/components/Checkbox.js +1 -1
- package/dist/cjs/components/Chips.js +3 -3
- package/dist/cjs/components/Choice.js +4 -4
- package/dist/cjs/components/CookiesWarning.js +4 -4
- package/dist/cjs/components/DatePeriod.js +7 -7
- package/dist/cjs/components/DatePicker.js +6 -6
- package/dist/cjs/components/Drawer.js +4 -4
- package/dist/cjs/components/Dropdown.js +3 -3
- package/dist/cjs/components/Flex.js +2 -2
- package/dist/cjs/components/Grid.js +3 -3
- package/dist/cjs/components/Group.js +1 -1
- package/dist/cjs/components/HTMLContent.js +1 -1
- package/dist/cjs/components/HeroTitle.js +3 -3
- package/dist/cjs/components/Icon.js +2 -2
- package/dist/cjs/components/Image.js +1 -1
- package/dist/cjs/components/InputPassword.js +2 -2
- package/dist/cjs/components/Label.js +3 -3
- package/dist/cjs/components/Loader.js +2 -2
- package/dist/cjs/components/MenuItem.js +2 -2
- package/dist/cjs/components/Modal.js +5 -5
- package/dist/cjs/components/ModalSheetBottom.js +1 -1
- package/dist/cjs/components/Notification.js +3 -3
- package/dist/cjs/components/Overlay.js +1 -1
- package/dist/cjs/components/Pagination.js +4 -4
- package/dist/cjs/components/Radio.js +1 -1
- package/dist/cjs/components/Response/img.js +4 -4
- package/dist/cjs/components/Response.js +12 -8
- package/dist/cjs/components/Search.js +3 -3
- package/dist/cjs/components/Segmented.js +2 -2
- package/dist/cjs/components/Select.js +3 -3
- package/dist/cjs/components/Swiper.js +2 -2
- package/dist/cjs/components/Switch.js +1 -1
- package/dist/cjs/components/Tab.js +4 -4
- package/dist/cjs/components/Text.js +1 -1
- package/dist/cjs/components/Tile.js +3 -3
- package/dist/cjs/components/Title.js +2 -2
- package/dist/cjs/components/Tooltip.js +2 -2
- package/dist/cjs/components/Warning.js +2 -2
- package/dist/components/Accordion.js +2 -2
- package/dist/components/Avatar.js +4 -4
- package/dist/components/AvatarStack.js +5 -5
- package/dist/components/Badge.js +2 -2
- package/dist/components/Breadcrumbs.js +2 -2
- package/dist/components/Button.js +4 -4
- package/dist/components/Cell.js +15 -3
- package/dist/components/Checkbox.js +1 -1
- package/dist/components/Chips.js +3 -3
- package/dist/components/Choice.js +4 -4
- package/dist/components/CookiesWarning.js +4 -4
- package/dist/components/DatePeriod.js +7 -7
- package/dist/components/DatePicker.js +6 -6
- package/dist/components/Drawer.js +4 -4
- package/dist/components/Dropdown.js +3 -3
- package/dist/components/Flex.js +2 -2
- package/dist/components/Grid.js +3 -3
- package/dist/components/Group.js +1 -1
- package/dist/components/HTMLContent.js +1 -1
- package/dist/components/HeroTitle.js +3 -3
- package/dist/components/Icon.js +2 -2
- package/dist/components/Image.js +1 -1
- package/dist/components/InputPassword.js +2 -2
- package/dist/components/Label.js +3 -3
- package/dist/components/Loader.js +2 -2
- package/dist/components/MenuItem.js +2 -2
- package/dist/components/Modal.js +5 -5
- package/dist/components/ModalSheetBottom.js +1 -1
- package/dist/components/Notification.js +3 -3
- package/dist/components/Overlay.js +1 -1
- package/dist/components/Pagination.js +4 -4
- package/dist/components/Radio.js +1 -1
- package/dist/components/Response/img.js +4 -4
- package/dist/components/Response.js +11 -8
- package/dist/components/Search.js +3 -3
- package/dist/components/Segmented.js +2 -2
- package/dist/components/Select.js +3 -3
- package/dist/components/Swiper.js +2 -2
- package/dist/components/Switch.js +1 -1
- package/dist/components/Tab.js +4 -4
- package/dist/components/Text.js +1 -1
- package/dist/components/Tile.js +3 -3
- package/dist/components/Title.js +2 -2
- package/dist/components/Tooltip.js +2 -2
- package/dist/components/Warning.js +2 -2
- package/dist/css/components/Chips/Chips.css +0 -20
- package/dist/css/components/ScrollOnDrag/ScrollOnDrag.css +3 -4
- package/dist/css/components/Select/Select.css +1 -1
- package/dist/types/components/Button/appearance/buttonStyle.d.ts +4 -4
- package/dist/types/components/Cell/appearance/cellSurface.d.ts +12 -0
- package/dist/types/components/Chips/appearance/chipsShape.d.ts +25 -0
- package/dist/types/components/Chips/appearance/chipsSurface.d.ts +8 -0
- package/dist/types/components/Loader/appearance/loaderStyle.d.ts +14 -0
- package/dist/types/components/Response/appearance/responceConfirm.d.ts +2 -0
- package/dist/types/components/Response/appearance/responseSuccess.d.ts +2 -2
- package/dist/types/components/Response/img/index.d.ts +4 -4
- package/dist/types/components/Response/index.d.ts +4 -2
- package/package.json +5 -5
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
var tslib_es6 = require('../../tslib.es6_cjs_CCZ3TN_7.js');
|
|
4
4
|
var jsxRuntime = require('react/jsx-runtime');
|
|
5
5
|
var Select = require('react-select');
|
|
6
|
-
var Icon = require('../../
|
|
6
|
+
var Icon = require('../../Icon_cjs_BsACgdjJ.js');
|
|
7
7
|
var React = require('react');
|
|
8
8
|
var clsx = require('clsx');
|
|
9
9
|
var CreatableSelect = require('react-select/creatable');
|
|
10
10
|
var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
11
11
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
12
|
-
var Text = require('../../
|
|
13
|
-
var Group = require('../../
|
|
12
|
+
var Text = require('../../Text_cjs_B8nNXWBA.js');
|
|
13
|
+
var Group = require('../../Group_cjs_D4QLNgcC.js');
|
|
14
14
|
var Divider = require('../../Divider_cjs_rxMMBfLC.js');
|
|
15
15
|
require('react-inlinesvg');
|
|
16
16
|
require('../hoc/urlWithAssetPrefix.js');
|
|
@@ -6,7 +6,7 @@ var clsx = require('clsx');
|
|
|
6
6
|
var react = require('swiper/react');
|
|
7
7
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
8
8
|
var useStyles = require('../hooks/useStyles/useStyles.js');
|
|
9
|
-
var Icon = require('../../
|
|
9
|
+
var Icon = require('../../Icon_cjs_BsACgdjJ.js');
|
|
10
10
|
require('../../tslib.es6_cjs_CCZ3TN_7.js');
|
|
11
11
|
require('lodash/camelCase');
|
|
12
12
|
require('lodash/castArray');
|
|
@@ -25,7 +25,7 @@ require('../hoc/urlWithAssetPrefix.js');
|
|
|
25
25
|
require('../context/UrlAssetPrefix.js');
|
|
26
26
|
require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
27
27
|
require('../../Link_cjs_BqT6eVl6.js');
|
|
28
|
-
require('../../
|
|
28
|
+
require('../../Text_cjs_B8nNXWBA.js');
|
|
29
29
|
|
|
30
30
|
function Swiper(props) {
|
|
31
31
|
var id = props.id, className = props.className, direction = props.direction, title = props.title, titleAfter = props.titleAfter, titleSize = props.titleSize, titleTextColor = props.titleTextColor, titleWeight = props.titleWeight, setNextBtnDisabled = props.setNextBtnDisabled, setPrevBtnDisabled = props.setPrevBtnDisabled, _a = props.activeSlideIndex, activeSlideIndex = _a === void 0 ? 0 : _a, allowTouchMove = props.allowTouchMove, autoHeight = props.autoHeight, breakpoints = props.breakpoints, forwardedRef = props.forwardedRef, // https://github.com/vercel/next.js/issues/4957
|
|
@@ -5,7 +5,7 @@ var React = require('react');
|
|
|
5
5
|
var clsx = require('clsx');
|
|
6
6
|
var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
7
7
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
8
|
-
var Text = require('../../
|
|
8
|
+
var Text = require('../../Text_cjs_B8nNXWBA.js');
|
|
9
9
|
var tslib_es6 = require('../../tslib.es6_cjs_CCZ3TN_7.js');
|
|
10
10
|
require('lodash/camelCase');
|
|
11
11
|
require('lodash/castArray');
|
|
@@ -6,10 +6,10 @@ var clsx = require('clsx');
|
|
|
6
6
|
var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
7
7
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
8
8
|
var useStyles = require('../hooks/useStyles/useStyles.js');
|
|
9
|
-
var Icon = require('../../
|
|
9
|
+
var Icon = require('../../Icon_cjs_BsACgdjJ.js');
|
|
10
10
|
var Divider = require('../../Divider_cjs_rxMMBfLC.js');
|
|
11
11
|
var Link = require('../../Link_cjs_BqT6eVl6.js');
|
|
12
|
-
var Text = require('../../
|
|
12
|
+
var Text = require('../../Text_cjs_B8nNXWBA.js');
|
|
13
13
|
var tslib_es6 = require('../../tslib.es6_cjs_CCZ3TN_7.js');
|
|
14
14
|
require('lodash/camelCase');
|
|
15
15
|
require('lodash/castArray');
|
|
@@ -215,7 +215,7 @@ function Tab(props) {
|
|
|
215
215
|
? borderColorHoverClass &&
|
|
216
216
|
"border-color_hover_".concat(borderColorHoverClass)
|
|
217
217
|
: borderColorActiveHoverClass &&
|
|
218
|
-
"border-color_active_hover_".concat(borderColorActiveHoverClass), sizeClass && "tab_size_".concat(sizeClass), shapeClass && "tab_shape_".concat(shapeClass), widthClass && "width_".concat(widthClass), justifyContentClass && "tab_justify-content_".concat(justifyContentClass), isSkeleton && "tab_skeleton", onClick && 'cursor_type_pointer'),
|
|
218
|
+
"border-color_active_hover_".concat(borderColorActiveHoverClass), sizeClass && "tab_size_".concat(sizeClass), shapeClass && "tab_shape_".concat(shapeClass), widthClass && "width_".concat(widthClass), justifyContentClass && "tab_justify-content_".concat(justifyContentClass), isSkeleton && "tab_skeleton", onClick && 'cursor_type_pointer'), dataTour: dataTour, style: tab, onClick: onClick, onMouseEnter: onMouseEnter, children: jsxRuntime.jsxs(Link.Link, { className: clsx('tab__link', alignDirectionClass && "align_".concat(alignDirectionClass), alignClass && "align_".concat(alignClass), !isDisabled && 'cursor_type_pointer'), fill: linkFill, href: link || href, rel: rel, target: target, children: [before, children || (jsxRuntime.jsxs(React.Fragment, { children: [jsxRuntime.jsxs("div", { className: "tab__wrapper", children: [label && (jsxRuntime.jsx(Text.Text, { className: "tab__label", size: labelTextSize, textAlign: labelTextAlign, textColor: labelTextColor, textColorActive: labelTextColorActive, textColorHover: labelTextColorHover, textColorHoverActive: labelTextColorActiveHover, textStyle: labelTextStyle, textWeight: labelTextWeight, textWrap: labelTextWrap, isDisabled: isDisabled, isActive: isActive, children: label })), badgeValue && (jsxRuntime.jsx(Icon.Badge, { appearance: badgeAppearance, size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue })), (icon || iconSrc) && (jsxRuntime.jsx(Icon.Icon, { className: clsx('tab__icon_after'), fill: iconFill, fillSize: iconFillSize, iconFill: iconFillIcon, iconSize: iconSize, imageSrc: iconSrc, shape: iconShape, SvgImage: icon }))] }), jsxRuntime.jsx(Divider.Divider, { width: "fill", direction: "horizontal", size: dividerSize, fill: dividerFill, fillActive: dividerFillActive, fillActiveHover: dividerFillActiveHover, fillDisabled: dividerFillDisabled, fillHover: dividerFillHover, zIndex: "1", isDisabled: isDisabled, isActive: isActive })] })), after] }) }));
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
function TabGroup(props) {
|
|
@@ -224,7 +224,7 @@ function TabGroup(props) {
|
|
|
224
224
|
var directionClass = propsGenerator.directionClass, alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillClass = propsGenerator.fillClass, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, widthClass = propsGenerator.widthClass, wrapClass = propsGenerator.wrapClass;
|
|
225
225
|
// @ts-expect-error
|
|
226
226
|
var _a = useStyles.useStyles(props), groupStyles = _a.styles, groupWrapperStyles = _a.wrapper;
|
|
227
|
-
return (jsxRuntime.jsx("div", { className: clsx(className, 'tab-group', 'group', widthClass && "width_".concat(widthClass), alignDirectionClass && "align_".concat(alignDirectionClass), directionClass && "group_direction_".concat(directionClass), alignClass && "align_".concat(alignClass), fillClass && "fill_".concat(fillClass), horizontalScroll && 'group_type_horizontal_scroll', wrapClass && "group_wrap_".concat(wrapClass), borderColorClass && "border-color_".concat(borderColorClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass)),
|
|
227
|
+
return (jsxRuntime.jsx("div", { className: clsx(className, 'tab-group', 'group', widthClass && "width_".concat(widthClass), alignDirectionClass && "align_".concat(alignDirectionClass), directionClass && "group_direction_".concat(directionClass), alignClass && "align_".concat(alignClass), fillClass && "fill_".concat(fillClass), horizontalScroll && 'group_type_horizontal_scroll', wrapClass && "group_wrap_".concat(wrapClass), borderColorClass && "border-color_".concat(borderColorClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass)), dataTestId: dataTestId, dataTour: dataTour, style: Object.assign({}, groupStyles, style), children: horizontalScroll ? (jsxRuntime.jsxs("div", { className: "tab-group__wrapper", style: groupWrapperStyles, children: [tabList === null || tabList === void 0 ? void 0 : tabList.map(function (item) { return (jsxRuntime.jsx(Tab, { appearance: tabAppearance, label: item.label, isActive: item.isActive }, item.key)); }), children] })) : (jsxRuntime.jsxs(React.Fragment, { children: [tabList === null || tabList === void 0 ? void 0 : tabList.map(function (item) { return (jsxRuntime.jsx(Tab, { appearance: tabAppearance, label: item.label, badgeValue: item.badgeValue, icon: item.icon, iconSrc: item.icon, isActive: item.isActive }, item.key)); }), children] })) }));
|
|
228
228
|
}
|
|
229
229
|
|
|
230
230
|
exports.Tab = Tab;
|
|
@@ -5,8 +5,8 @@ var clsx = require('clsx');
|
|
|
5
5
|
var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
6
6
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
7
7
|
var useStyles = require('../hooks/useStyles/useStyles.js');
|
|
8
|
-
var Icon = require('../../
|
|
9
|
-
var Text = require('../../
|
|
8
|
+
var Icon = require('../../Icon_cjs_BsACgdjJ.js');
|
|
9
|
+
var Text = require('../../Text_cjs_B8nNXWBA.js');
|
|
10
10
|
var tslib_es6 = require('../../tslib.es6_cjs_CCZ3TN_7.js');
|
|
11
11
|
require('react');
|
|
12
12
|
require('lodash/camelCase');
|
|
@@ -143,7 +143,7 @@ function Tile(props) {
|
|
|
143
143
|
var alignClass = propsGenerator.alignClass, _a = propsGenerator.alignDirectionClass, alignDirectionClass = _a === void 0 ? 'vertical' : _a, fillClass = propsGenerator.fillClass, titleTextAlign = propsGenerator.titleTextAlign, titleTextColor = propsGenerator.titleTextColor, titleTextSize = propsGenerator.titleTextSize, titleTextWeight = propsGenerator.titleTextWeight, titleTextWrap = propsGenerator.titleTextWrap, descTextColor = propsGenerator.descTextColor, descTextSize = propsGenerator.descTextSize, descTextWrap = propsGenerator.descTextWrap, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, badgeAppearance = propsGenerator.badgeAppearance, badgeAppearanceSize = propsGenerator.badgeAppearanceSize, badgeShape = propsGenerator.badgeShape, badgeSize = propsGenerator.badgeSize, badgeTextColor = propsGenerator.badgeTextColor, badgeTextSize = propsGenerator.badgeTextSize, dataTestId = propsGenerator.dataTestId, dataTour = propsGenerator.dataTour, icon = propsGenerator.icon, iconAppearance = propsGenerator.iconAppearance, iconFill = propsGenerator.iconFill, iconFillIcon = propsGenerator.iconFillIcon, iconFillSize = propsGenerator.iconFillSize, iconShape = propsGenerator.iconShape, iconSize = propsGenerator.iconSize, iconSrc = propsGenerator.iconSrc, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass;
|
|
144
144
|
// @ts-expect-error
|
|
145
145
|
var tileStyles = useStyles.useStyles(props).styles;
|
|
146
|
-
return (jsxRuntime.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', sizeClass && "tile_size_".concat(sizeClass), type && "tile_type_".concat(type), badgeValue && "tile_state_badge", isSkeleton && "tile_skeleton"),
|
|
146
|
+
return (jsxRuntime.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', sizeClass && "tile_size_".concat(sizeClass), type && "tile_type_".concat(type), badgeValue && "tile_state_badge", isSkeleton && "tile_skeleton"), dataTestId: dataTestId, dataTour: dataTour, style: tileStyles, onClick: onClick, children: jsxRuntime.jsxs("div", { className: clsx('tile__wrapper', alignClass, alignDirectionClass), children: [before, jsxRuntime.jsxs("div", { className: "tile__header", children: [jsxRuntime.jsxs("div", { className: "tile__header-inner", children: [title && (jsxRuntime.jsx(Icon.Title, { className: "tile__title", size: titleTextSize, textAlign: titleTextAlign, textColor: titleTextColor, textWeight: titleTextWeight, textWrap: titleTextWrap, children: title })), desc && (jsxRuntime.jsx(Text.Text, { className: "tile__text", size: descTextSize, textColor: descTextColor, textWrap: descTextWrap, children: desc }))] }), jsxRuntime.jsxs("div", { className: "tile__header-actions", children: [badgeValue && (jsxRuntime.jsx(Icon.Badge, { className: "tile__badge", appearance: "".concat(badgeAppearance, " ").concat(badgeAppearanceSize), size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue })), (icon || iconSrc) && (jsxRuntime.jsx(Icon.Icon, { className: clsx('tile__icon'), appearance: iconAppearance, fill: iconFill, fillSize: iconFillSize, iconFill: iconFillIcon, iconSize: iconSize, imageSrc: iconSrc, shape: iconShape, SvgImage: icon }))] })] }), children, after] }) }));
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
exports.Tile = Tile;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Icon = require('../../
|
|
3
|
+
var Icon = require('../../Icon_cjs_BsACgdjJ.js');
|
|
4
4
|
require('../../tslib.es6_cjs_CCZ3TN_7.js');
|
|
5
5
|
require('react/jsx-runtime');
|
|
6
6
|
require('react');
|
|
@@ -24,7 +24,7 @@ require('../hooks/useStyles/useStyles.js');
|
|
|
24
24
|
require('lodash/maxBy');
|
|
25
25
|
require('../hooks/useStyles/styleAttributes.js');
|
|
26
26
|
require('../../Link_cjs_BqT6eVl6.js');
|
|
27
|
-
require('../../
|
|
27
|
+
require('../../Text_cjs_B8nNXWBA.js');
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Icon = require('../../
|
|
3
|
+
var Icon = require('../../Icon_cjs_BsACgdjJ.js');
|
|
4
4
|
require('../../tslib.es6_cjs_CCZ3TN_7.js');
|
|
5
5
|
require('react/jsx-runtime');
|
|
6
6
|
require('react');
|
|
@@ -24,7 +24,7 @@ require('../hooks/useStyles/useStyles.js');
|
|
|
24
24
|
require('lodash/maxBy');
|
|
25
25
|
require('../hooks/useStyles/styleAttributes.js');
|
|
26
26
|
require('../../Link_cjs_BqT6eVl6.js');
|
|
27
|
-
require('../../
|
|
27
|
+
require('../../Text_cjs_B8nNXWBA.js');
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var clsx = require('clsx');
|
|
6
|
-
var Icon = require('../../
|
|
7
|
-
var Text = require('../../
|
|
6
|
+
var Icon = require('../../Icon_cjs_BsACgdjJ.js');
|
|
7
|
+
var Text = require('../../Text_cjs_B8nNXWBA.js');
|
|
8
8
|
var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
9
9
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
10
10
|
var useStyles = require('../hooks/useStyles/useStyles.js');
|
|
@@ -6,9 +6,9 @@ import castArray from 'lodash/castArray';
|
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
7
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
8
8
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
9
|
-
import { B as Badge, I as Icon } from '../
|
|
9
|
+
import { B as Badge, I as Icon } from '../Icon_es_CoIszJbl.js';
|
|
10
10
|
import { D as Divider } from '../Divider_es_CiRU0sTz.js';
|
|
11
|
-
import { T as Text } from '../
|
|
11
|
+
import { T as Text } from '../Text_es_BvmOR4nv.js';
|
|
12
12
|
import { icons16 } from '@itcase/icons/default';
|
|
13
13
|
import 'lodash/camelCase';
|
|
14
14
|
import 'lodash/upperFirst';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as Avatar, b as avatarAppearance, a as avatarConfig } from '../
|
|
1
|
+
export { A as Avatar, b as avatarAppearance, a as avatarConfig } from '../Avatar_es_DbH5Le9j.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -15,7 +15,7 @@ import '../context/UIContext.js';
|
|
|
15
15
|
import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
16
16
|
import 'react-responsive';
|
|
17
17
|
import '../utils/setViewportProperty.js';
|
|
18
|
-
import '../
|
|
18
|
+
import '../Icon_es_CoIszJbl.js';
|
|
19
19
|
import 'react-inlinesvg';
|
|
20
20
|
import '../hoc/urlWithAssetPrefix.js';
|
|
21
21
|
import '../context/UrlAssetPrefix.js';
|
|
@@ -23,5 +23,5 @@ import '../hooks/useStyles/useStyles.js';
|
|
|
23
23
|
import 'lodash/maxBy';
|
|
24
24
|
import '../hooks/useStyles/styleAttributes.js';
|
|
25
25
|
import '../Link_es_BnUIX0QT.js';
|
|
26
|
-
import '../
|
|
27
|
-
import '../
|
|
26
|
+
import '../Text_es_BvmOR4nv.js';
|
|
27
|
+
import '../Image_es_BvYo_cHH.js';
|
|
@@ -3,9 +3,9 @@ import clsx from 'clsx';
|
|
|
3
3
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
4
4
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
5
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
6
|
-
import { A as Avatar } from '../
|
|
7
|
-
import { G as Group } from '../
|
|
8
|
-
import { T as Text } from '../
|
|
6
|
+
import { A as Avatar } from '../Avatar_es_DbH5Le9j.js';
|
|
7
|
+
import { G as Group } from '../Group_es_CruwH8Al.js';
|
|
8
|
+
import { T as Text } from '../Text_es_BvmOR4nv.js';
|
|
9
9
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
10
10
|
import 'react';
|
|
11
11
|
import 'lodash/camelCase';
|
|
@@ -20,12 +20,12 @@ import 'react-responsive';
|
|
|
20
20
|
import '../utils/setViewportProperty.js';
|
|
21
21
|
import 'lodash/maxBy';
|
|
22
22
|
import '../hooks/useStyles/styleAttributes.js';
|
|
23
|
-
import '../
|
|
23
|
+
import '../Icon_es_CoIszJbl.js';
|
|
24
24
|
import 'react-inlinesvg';
|
|
25
25
|
import '../hoc/urlWithAssetPrefix.js';
|
|
26
26
|
import '../context/UrlAssetPrefix.js';
|
|
27
27
|
import '../Link_es_BnUIX0QT.js';
|
|
28
|
-
import '../
|
|
28
|
+
import '../Image_es_BvYo_cHH.js';
|
|
29
29
|
|
|
30
30
|
var avatarStackAppearanceSize = {
|
|
31
31
|
size16: {
|
package/dist/components/Badge.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { B as Badge, f as badgeAppearance, g as badgeConfig } from '../
|
|
1
|
+
export { B as Badge, f as badgeAppearance, g as badgeConfig } from '../Icon_es_CoIszJbl.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -22,4 +22,4 @@ import '../hooks/useStyles/useStyles.js';
|
|
|
22
22
|
import 'lodash/maxBy';
|
|
23
23
|
import '../hooks/useStyles/styleAttributes.js';
|
|
24
24
|
import '../Link_es_BnUIX0QT.js';
|
|
25
|
-
import '../
|
|
25
|
+
import '../Text_es_BvmOR4nv.js';
|
|
@@ -4,9 +4,9 @@ import clsx from 'clsx';
|
|
|
4
4
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
5
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
6
6
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
7
|
-
import { I as Icon } from '../
|
|
7
|
+
import { I as Icon } from '../Icon_es_CoIszJbl.js';
|
|
8
8
|
import { a as LinkWrapper } from '../Link_es_BnUIX0QT.js';
|
|
9
|
-
import { T as Text } from '../
|
|
9
|
+
import { T as Text } from '../Text_es_BvmOR4nv.js';
|
|
10
10
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
11
11
|
import { icons12, icons14, icons16, icons20, icons24 } from '@itcase/icons/default';
|
|
12
12
|
import 'lodash/camelCase';
|
|
@@ -1,8 +1,8 @@
|
|
|
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_CvkdyDHz.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
5
|
-
import '../
|
|
5
|
+
import '../Icon_es_CoIszJbl.js';
|
|
6
6
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
7
7
|
import 'react-inlinesvg';
|
|
8
8
|
import '../hoc/urlWithAssetPrefix.js';
|
|
@@ -23,5 +23,5 @@ import '../hooks/useStyles/useStyles.js';
|
|
|
23
23
|
import 'lodash/maxBy';
|
|
24
24
|
import '../hooks/useStyles/styleAttributes.js';
|
|
25
25
|
import '../Link_es_BnUIX0QT.js';
|
|
26
|
-
import '../
|
|
27
|
-
import '../
|
|
26
|
+
import '../Text_es_BvmOR4nv.js';
|
|
27
|
+
import '../Loader_es_DhNCKZ8Y.js';
|
package/dist/components/Cell.js
CHANGED
|
@@ -3,9 +3,9 @@ import clsx from 'clsx';
|
|
|
3
3
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
4
4
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
5
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
6
|
-
import { I as Icon } from '../
|
|
7
|
-
import { L as Label } from '../
|
|
8
|
-
import { T as Text } from '../
|
|
6
|
+
import { I as Icon } from '../Icon_es_CoIszJbl.js';
|
|
7
|
+
import { L as Label } from '../Label_es_WH-qJKvj.js';
|
|
8
|
+
import { T as Text } from '../Text_es_BvmOR4nv.js';
|
|
9
9
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
10
10
|
import 'react';
|
|
11
11
|
import 'lodash/camelCase';
|
|
@@ -102,7 +102,10 @@ var cellAppearanceSurface = {
|
|
|
102
102
|
surfacePrimary: {
|
|
103
103
|
fill: 'surfacePrimary',
|
|
104
104
|
fillHover: 'surfacePrimaryHover',
|
|
105
|
+
titleTextSize: 'surfaceTextPrimary',
|
|
105
106
|
titleIconItemFill: 'surfaceItemPrimary',
|
|
107
|
+
valueTextColor: 'surfaceTextPrimary',
|
|
108
|
+
titleTextColor: 'surfaceTextPrimary',
|
|
106
109
|
titleLabelAppearance: 'accentPrimary',
|
|
107
110
|
labelTextColor: 'surfaceTextPrimary',
|
|
108
111
|
borderColor: 'surfaceBorderPrimary',
|
|
@@ -112,7 +115,10 @@ var cellAppearanceSurface = {
|
|
|
112
115
|
surfaceSecondary: {
|
|
113
116
|
fill: 'surfaceSecondary',
|
|
114
117
|
fillHover: 'surfaceSecondaryHover',
|
|
118
|
+
titleTextSize: 'surfaceTextPrimary',
|
|
119
|
+
titleTextColor: 'surfaceTextPrimary',
|
|
115
120
|
titleIconItemFill: 'surfaceItemPrimary',
|
|
121
|
+
valueTextColor: 'surfaceTextPrimary',
|
|
116
122
|
titleLabelAppearance: 'accentPrimary',
|
|
117
123
|
labelTextColor: 'surfaceTextPrimary',
|
|
118
124
|
borderColor: 'surfaceBorderPrimary',
|
|
@@ -122,7 +128,10 @@ var cellAppearanceSurface = {
|
|
|
122
128
|
surfaceTertiary: {
|
|
123
129
|
fill: 'surfaceTertiary',
|
|
124
130
|
fillHover: 'surfaceTertiaryHover',
|
|
131
|
+
titleTextSize: 'surfaceTextPrimary',
|
|
132
|
+
titleTextColor: 'surfaceTextPrimary',
|
|
125
133
|
titleIconItemFill: 'surfaceItemPrimary',
|
|
134
|
+
valueTextColor: 'surfaceTextPrimary',
|
|
126
135
|
titleLabelAppearance: 'accentPrimary',
|
|
127
136
|
labelTextColor: 'surfaceTextPrimary',
|
|
128
137
|
borderColor: 'surfaceBorderPrimary',
|
|
@@ -130,7 +139,10 @@ var cellAppearanceSurface = {
|
|
|
130
139
|
valueLabelAppearance: 'accentPrimary',
|
|
131
140
|
},
|
|
132
141
|
surfaceQuaternary: {
|
|
142
|
+
titleTextSize: 'surfaceTextPrimary',
|
|
133
143
|
fill: 'surfaceQuaternary',
|
|
144
|
+
valueTextColor: 'surfaceTextPrimary',
|
|
145
|
+
titleTextColor: 'surfaceTextPrimary',
|
|
134
146
|
fillHover: 'surfaceQuaternaryHover',
|
|
135
147
|
titleIconItemFill: 'surfaceItemPrimary',
|
|
136
148
|
titleLabelAppearance: 'accentPrimary',
|
|
@@ -2,7 +2,7 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
4
4
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
|
-
import { T as Text } from '../
|
|
5
|
+
import { T as Text } from '../Text_es_BvmOR4nv.js';
|
|
6
6
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
7
7
|
import 'react';
|
|
8
8
|
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_BIDq4idr.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'clsx';
|
|
4
4
|
import '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
@@ -18,9 +18,9 @@ import '../utils/setViewportProperty.js';
|
|
|
18
18
|
import '../hooks/useStyles/useStyles.js';
|
|
19
19
|
import 'lodash/maxBy';
|
|
20
20
|
import '../hooks/useStyles/styleAttributes.js';
|
|
21
|
-
import '../
|
|
21
|
+
import '../Icon_es_CoIszJbl.js';
|
|
22
22
|
import 'react-inlinesvg';
|
|
23
23
|
import '../hoc/urlWithAssetPrefix.js';
|
|
24
24
|
import '../context/UrlAssetPrefix.js';
|
|
25
25
|
import '../Link_es_BnUIX0QT.js';
|
|
26
|
-
import '../
|
|
26
|
+
import '../Text_es_BvmOR4nv.js';
|
|
@@ -4,9 +4,9 @@ import clsx from 'clsx';
|
|
|
4
4
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
7
|
-
import { I as Icon } from '../
|
|
8
|
-
import { L as Loader } from '../
|
|
9
|
-
import { T as Text } from '../
|
|
7
|
+
import { I as Icon } from '../Icon_es_CoIszJbl.js';
|
|
8
|
+
import { L as Loader } from '../Loader_es_DhNCKZ8Y.js';
|
|
9
|
+
import { T as Text } from '../Text_es_BvmOR4nv.js';
|
|
10
10
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
11
11
|
import 'lodash/camelCase';
|
|
12
12
|
import 'lodash/castArray';
|
|
@@ -172,7 +172,7 @@ function Choice(props) {
|
|
|
172
172
|
var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
173
173
|
var size = propsGenerator.size, fillClass = propsGenerator.fillClass, fillItemActiveClass = propsGenerator.fillItemActiveClass, fillItemActiveDisabledClass = propsGenerator.fillItemActiveDisabledClass, fillItemActiveHoverClass = propsGenerator.fillItemActiveHoverClass, fillItemClass = propsGenerator.fillItemClass, fillItemDisabledClass = propsGenerator.fillItemDisabledClass, fillItemHoverClass = propsGenerator.fillItemHoverClass, labelTextActiveColor = propsGenerator.labelTextActiveColor, labelTextColor = propsGenerator.labelTextColor, labelTextSize = propsGenerator.labelTextSize, labelTextWeight = propsGenerator.labelTextWeight, labelTextWrap = propsGenerator.labelTextWrap, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, iconAfterFillDisabled = propsGenerator.iconAfterFillDisabled, iconBeforeFillDisabled = propsGenerator.iconBeforeFillDisabled, iconFillDisabled = propsGenerator.iconFillDisabled, iconAfterFill = propsGenerator.iconAfterFill, iconAfterFillActive = propsGenerator.iconAfterFillActive, iconAfterSize = propsGenerator.iconAfterSize, iconBeforeFill = propsGenerator.iconBeforeFill, iconBeforeFillActive = propsGenerator.iconBeforeFillActive, iconBeforeSize = propsGenerator.iconBeforeSize, iconFill = propsGenerator.iconFill, iconFillActive = propsGenerator.iconFillActive, iconSize = propsGenerator.iconSize, shapeClass = propsGenerator.shapeClass, shapeItemClass = propsGenerator.shapeItemClass, wrapClass = propsGenerator.wrapClass;
|
|
174
174
|
var styles = useStyles(props).styles;
|
|
175
|
-
return (jsxs("div", { id: id, className: clsx(className, 'choice', size && "choice_size_".concat(size), fillClass && "fill_".concat(fillClass), wrapClass && "choice_wrap_".concat(wrapClass), isSkeleton && "choice_skeleton"),
|
|
175
|
+
return (jsxs("div", { id: id, className: clsx(className, 'choice', size && "choice_size_".concat(size), fillClass && "fill_".concat(fillClass), wrapClass && "choice_wrap_".concat(wrapClass), isSkeleton && "choice_skeleton"), dataTestId: dataTestId && "".concat(dataTestId, "Choice"), dataTour: dataTour, ref: controlRef, style: styles, children: [before && jsx("div", { className: "choice__before", children: before }), isLoading ? (jsx(Loader, { width: "fill", height: "fill", fill: "surfacePrimary", itemFill: "surfaceItemAccent" })) : (jsx(React.Fragment, { children: options.map(function (item) {
|
|
176
176
|
var isActive = typeof active === 'object'
|
|
177
177
|
? String(item.value) === String(active.value)
|
|
178
178
|
: String(item.value) === String(active);
|
|
@@ -4,8 +4,8 @@ import clsx from 'clsx';
|
|
|
4
4
|
import Cookies from 'js-cookie';
|
|
5
5
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
|
-
import { B as Button } from '../
|
|
8
|
-
import { T as Text } from '../
|
|
7
|
+
import { B as Button } from '../Button_es_CvkdyDHz.js';
|
|
8
|
+
import { T as Text } from '../Text_es_BvmOR4nv.js';
|
|
9
9
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
10
10
|
import 'lodash/camelCase';
|
|
11
11
|
import 'lodash/castArray';
|
|
@@ -17,7 +17,7 @@ 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 '../Icon_es_CoIszJbl.js';
|
|
21
21
|
import 'react-inlinesvg';
|
|
22
22
|
import '../hoc/urlWithAssetPrefix.js';
|
|
23
23
|
import '../context/UrlAssetPrefix.js';
|
|
@@ -25,7 +25,7 @@ import '../hooks/useStyles/useStyles.js';
|
|
|
25
25
|
import 'lodash/maxBy';
|
|
26
26
|
import '../hooks/useStyles/styleAttributes.js';
|
|
27
27
|
import '../Link_es_BnUIX0QT.js';
|
|
28
|
-
import '../
|
|
28
|
+
import '../Loader_es_DhNCKZ8Y.js';
|
|
29
29
|
|
|
30
30
|
var cookiesWarningAppearanceDefault = {
|
|
31
31
|
defaultPrimary: {
|
|
@@ -2,10 +2,10 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
2
2
|
import { useCallback } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { DATE_PERIOD_INTERVALS } from '@itcase/common';
|
|
5
|
-
import { D as DatePickerInput } from '../
|
|
5
|
+
import { D as DatePickerInput } from '../DatePicker_es_Cq2jJkv0.js';
|
|
6
6
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
|
-
import { b as ChipsGroup, C as Chips } from '../
|
|
8
|
+
import { b as ChipsGroup, C as Chips } from '../ChipsGroup_es_BIDq4idr.js';
|
|
9
9
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
10
10
|
import 'date-fns/locale';
|
|
11
11
|
import 'react-datepicker';
|
|
@@ -20,16 +20,16 @@ import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
|
20
20
|
import 'react-responsive';
|
|
21
21
|
import '../utils/setViewportProperty.js';
|
|
22
22
|
import '../hooks/useStyles/styleAttributes.js';
|
|
23
|
-
import '../
|
|
24
|
-
import '../
|
|
23
|
+
import '../Button_es_CvkdyDHz.js';
|
|
24
|
+
import '../Icon_es_CoIszJbl.js';
|
|
25
25
|
import 'react-inlinesvg';
|
|
26
26
|
import '../hoc/urlWithAssetPrefix.js';
|
|
27
27
|
import '../context/UrlAssetPrefix.js';
|
|
28
28
|
import '../Link_es_BnUIX0QT.js';
|
|
29
|
-
import '../
|
|
30
|
-
import '../
|
|
29
|
+
import '../Text_es_BvmOR4nv.js';
|
|
30
|
+
import '../Loader_es_DhNCKZ8Y.js';
|
|
31
31
|
import '../Input_es_D2mNCqiH.js';
|
|
32
|
-
import '../
|
|
32
|
+
import '../Label_es_WH-qJKvj.js';
|
|
33
33
|
import '@itcase/icons/default';
|
|
34
34
|
import 'lodash/castArray';
|
|
35
35
|
|
|
@@ -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_Cq2jJkv0.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -20,14 +20,14 @@ import '../utils/setViewportProperty.js';
|
|
|
20
20
|
import '../hooks/useStyles/useStyles.js';
|
|
21
21
|
import 'lodash/maxBy';
|
|
22
22
|
import '../hooks/useStyles/styleAttributes.js';
|
|
23
|
-
import '../
|
|
24
|
-
import '../
|
|
23
|
+
import '../Button_es_CvkdyDHz.js';
|
|
24
|
+
import '../Icon_es_CoIszJbl.js';
|
|
25
25
|
import 'react-inlinesvg';
|
|
26
26
|
import '../hoc/urlWithAssetPrefix.js';
|
|
27
27
|
import '../context/UrlAssetPrefix.js';
|
|
28
28
|
import '../Link_es_BnUIX0QT.js';
|
|
29
|
-
import '../
|
|
30
|
-
import '../
|
|
29
|
+
import '../Text_es_BvmOR4nv.js';
|
|
30
|
+
import '../Loader_es_DhNCKZ8Y.js';
|
|
31
31
|
import '../Input_es_D2mNCqiH.js';
|
|
32
|
-
import '../
|
|
32
|
+
import '../Label_es_WH-qJKvj.js';
|
|
33
33
|
import '@itcase/icons/default';
|
|
@@ -2,8 +2,8 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { useRef, useEffect } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import ReactDrawer from 'react-modern-drawer';
|
|
5
|
-
import { I as Icon, b as Title } from '../
|
|
6
|
-
import { T as Text } from '../
|
|
5
|
+
import { I as Icon, b as Title } from '../Icon_es_CoIszJbl.js';
|
|
6
|
+
import { T as Text } from '../Text_es_BvmOR4nv.js';
|
|
7
7
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
8
8
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
9
9
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
@@ -77,9 +77,9 @@ function Drawer(props) {
|
|
|
77
77
|
}
|
|
78
78
|
prevIsOpenModalRef.current = Boolean(isOpenModal);
|
|
79
79
|
}, [isOpenModal, onClose]);
|
|
80
|
-
return (jsxs(ReactDrawer, { className: clsx('drawer', type && "drawer_type_".concat(type), className, dataTour && "
|
|
80
|
+
return (jsxs(ReactDrawer, { className: clsx('drawer', type && "drawer_type_".concat(type), className, dataTour && "dataTour-".concat(dataTour)), direction: direction || 'right', size: size || 600,
|
|
81
81
|
// Drawer set prefix "EZDrawer" for any id
|
|
82
|
-
customIdSuffix: dataTestId ? "_".concat(dataTestId) : undefined,
|
|
82
|
+
customIdSuffix: dataTestId ? "_".concat(dataTestId) : undefined, dataTour: dataTour, enableOverlay: enableOverlay, lockBackgroundScroll: false, overlayClassName: "drawer__overlay", open: isOpenModal, onClose: onClickClose, children: [before && jsx("div", { className: "drawer__before", children: before }), !close && (closeIcon || closeIconSrc) && (jsx("div", { className: "drawer__close", children: jsx(Icon, { className: "cursor_type_pointer", fill: closeIconFill, fillSize: closeIconFillSize, iconFill: closeIconFillIcon, iconSize: closeIconSize, imageSrc: closeIconSrc, shape: closeIconShape, SvgImage: closeIcon }) })), (title || desc) && (jsxs("div", { className: "drawer__header", children: [jsx(Title, { className: "drawer__header-title", size: titleTextSize, textColor: titleTextColor, children: title }), jsx(Text, { className: "drawer__header-desc", size: descTextSize, textColor: descTextColor, children: desc })] })), children && jsx("div", { className: "drawer__wrapper", children: children }), after && jsx("div", { className: "drawer__after", children: after })] }));
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
export { Drawer, drawerAppearance, drawerConfig };
|
|
@@ -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_DHKJHW8q.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -17,11 +17,11 @@ 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 '../Icon_es_CoIszJbl.js';
|
|
21
21
|
import 'react-inlinesvg';
|
|
22
22
|
import '../hoc/urlWithAssetPrefix.js';
|
|
23
23
|
import '../context/UrlAssetPrefix.js';
|
|
24
24
|
import '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
25
25
|
import '../Link_es_BnUIX0QT.js';
|
|
26
|
-
import '../
|
|
26
|
+
import '../Text_es_BvmOR4nv.js';
|
|
27
27
|
import '../Divider_es_CiRU0sTz.js';
|
package/dist/components/Flex.js
CHANGED
|
@@ -23,7 +23,7 @@ function Flex(props) {
|
|
|
23
23
|
var directionClass = propsGenerator.directionClass, justifyContentClass = propsGenerator.justifyContentClass, alignContentClass = propsGenerator.alignContentClass, alignItemsClass = propsGenerator.alignItemsClass, fillClass = propsGenerator.fillClass, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, dataTestId = propsGenerator.dataTestId, dataTour = propsGenerator.dataTour, flowClass = propsGenerator.flowClass, positionClass = propsGenerator.positionClass, shapeClass = propsGenerator.shapeClass, widthClass = propsGenerator.widthClass, wrapClass = propsGenerator.wrapClass;
|
|
24
24
|
// @ts-expect-error
|
|
25
25
|
var _b = useStyles(props), flexStyles = _b.styles, flexWrapperStyles = _b.wrapper;
|
|
26
|
-
return (jsx(Tag, { id: id, 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)),
|
|
26
|
+
return (jsx(Tag, { id: id, 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)), dataTestId: dataTestId, dataTour: dataTour, style: Object.assign({}, flexStyles, style), onClick: onClick, children: jsx("div", { className: "flex__wrapper", style: flexWrapperStyles, children: children }) }));
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
function FlexItem(props) {
|
|
@@ -33,7 +33,7 @@ function FlexItem(props) {
|
|
|
33
33
|
// @ts-expect-error
|
|
34
34
|
var flexItemStyles = useStyles(props).styles;
|
|
35
35
|
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 &&
|
|
36
|
-
"flex__item_justify-content_".concat(justifyContentClass), shapeClass && "flex__item_shape_".concat(shapeClass), widthClass && "width_".concat(widthClass), wrapClass && "flex__item_wrap_".concat(wrapClass)),
|
|
36
|
+
"flex__item_justify-content_".concat(justifyContentClass), shapeClass && "flex__item_shape_".concat(shapeClass), widthClass && "width_".concat(widthClass), wrapClass && "flex__item_wrap_".concat(wrapClass)), dataTestId: dataTestId, dataTour: dataTour, htmlFor: htmlFor, style: Object.assign({}, flexItemStyles, style), children: children }));
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
export { Flex, FlexItem };
|