@itcase/ui 1.8.127 → 1.8.129
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_CLpFeKt-.js → Avatar_cjs_D-M9sW20.js} +1 -1
- package/dist/{Avatar_es_BQf7U0hA.js → Avatar_es_BTvbT36l.js} +1 -1
- package/dist/{Button_cjs_D4f7urKp.js → Button_cjs_BxoEdSG6.js} +1 -1
- package/dist/{Button_es_C7L4CT4f.js → Button_es_B-SYHL6T.js} +1 -1
- package/dist/{ChipsGroup_cjs_BCdLcqbz.js → ChipsGroup_cjs_BMkiDYau.js} +1 -1
- package/dist/{ChipsGroup_es_DMfjXntS.js → ChipsGroup_es_Czu95rkL.js} +1 -1
- package/dist/{DatePicker_cjs_xV-NFl1J.js → DatePicker_cjs_BLOiIsfD.js} +5 -5
- package/dist/{DatePicker_es_Da_ZC57A.js → DatePicker_es_VslTy9Qw.js} +5 -5
- package/dist/{DropdownItem_cjs_DUPMlJr_.js → DropdownItem_cjs_FsiEMPDs.js} +1 -1
- package/dist/{DropdownItem_es_DbC3VzEL.js → DropdownItem_es_BBKtNngp.js} +1 -1
- package/dist/{Icon_cjs_DN4Kc8La.js → Icon_cjs_DKzT-zmQ.js} +11 -4
- package/dist/{Icon_es_B7IBHqyf.js → Icon_es_5JUPM7bP.js} +11 -4
- package/dist/{Label_cjs_D5_n3Yvg.js → Label_cjs_D2YMjCoS.js} +1 -1
- package/dist/{Label_es_Dror143Q.js → Label_es_B5uGQwNN.js} +1 -1
- package/dist/cjs/components/Accordion.js +1 -1
- package/dist/cjs/components/Avatar.js +2 -2
- package/dist/cjs/components/AvatarStack.js +2 -2
- package/dist/cjs/components/Badge.js +1 -1
- package/dist/cjs/components/Breadcrumbs.js +1 -1
- package/dist/cjs/components/Button.js +2 -2
- package/dist/cjs/components/Cell.js +2 -2
- package/dist/cjs/components/Chips.js +2 -2
- package/dist/cjs/components/Choice.js +1 -1
- package/dist/cjs/components/CookiesWarning.js +2 -2
- package/dist/cjs/components/DatePeriod.js +38 -14
- package/dist/cjs/components/DatePicker.js +4 -4
- package/dist/cjs/components/Drawer.js +1 -1
- package/dist/cjs/components/Dropdown.js +2 -2
- package/dist/cjs/components/HeroTitle.js +1 -1
- package/dist/cjs/components/Icon.js +1 -1
- package/dist/cjs/components/InputPassword.js +1 -1
- package/dist/cjs/components/Label.js +2 -2
- package/dist/cjs/components/MenuItem.js +11 -6
- package/dist/cjs/components/Modal.js +1 -1
- package/dist/cjs/components/ModalSheetBottom.js +3 -3
- package/dist/cjs/components/Notification.js +1 -1
- package/dist/cjs/components/Pagination.js +2 -2
- package/dist/cjs/components/Response.js +2 -2
- package/dist/cjs/components/Search.js +1 -1
- package/dist/cjs/components/Segmented.js +1 -1
- package/dist/cjs/components/Select.js +1 -1
- package/dist/cjs/components/Swiper.js +1 -1
- package/dist/cjs/components/Tab.js +1 -1
- package/dist/cjs/components/Tile.js +1 -1
- package/dist/cjs/components/Title.js +1 -1
- package/dist/cjs/components/Tooltip.js +1 -1
- package/dist/cjs/components/Warning.js +1 -1
- package/dist/components/Accordion.js +1 -1
- package/dist/components/Avatar.js +2 -2
- package/dist/components/AvatarStack.js +2 -2
- package/dist/components/Badge.js +1 -1
- package/dist/components/Breadcrumbs.js +1 -1
- package/dist/components/Button.js +2 -2
- package/dist/components/Cell.js +2 -2
- package/dist/components/Chips.js +2 -2
- package/dist/components/Choice.js +1 -1
- package/dist/components/CookiesWarning.js +2 -2
- package/dist/components/DatePeriod.js +38 -14
- package/dist/components/DatePicker.js +4 -4
- package/dist/components/Drawer.js +1 -1
- package/dist/components/Dropdown.js +2 -2
- package/dist/components/HeroTitle.js +1 -1
- package/dist/components/Icon.js +1 -1
- package/dist/components/InputPassword.js +1 -1
- package/dist/components/Label.js +2 -2
- package/dist/components/MenuItem.js +11 -6
- package/dist/components/Modal.js +1 -1
- package/dist/components/ModalSheetBottom.js +3 -3
- package/dist/components/Notification.js +1 -1
- package/dist/components/Pagination.js +2 -2
- package/dist/components/Response.js +2 -2
- package/dist/components/Search.js +1 -1
- package/dist/components/Segmented.js +1 -1
- package/dist/components/Select.js +1 -1
- package/dist/components/Swiper.js +1 -1
- package/dist/components/Tab.js +1 -1
- package/dist/components/Tile.js +1 -1
- package/dist/components/Title.js +1 -1
- package/dist/components/Tooltip.js +1 -1
- package/dist/components/Warning.js +1 -1
- package/dist/css/components/Chips/Chips.css +0 -3
- package/dist/css/components/DatePeriod/DatePeriod.css +5 -24
- package/dist/css/components/DatePicker/DatePicker.css +3 -1
- package/dist/css/components/MenuItem/MenuItem.css +18 -14
- package/dist/css/components/Swiper/Swiper.css +463 -473
- package/dist/css/components/Tooltip/Tooltip.css +1 -1
- package/dist/types/components/DatePeriod/DatePeriod.appearance.d.ts +52 -2
- package/dist/types/components/DatePeriod/appearance/datePeriodShape.d.ts +25 -0
- package/dist/types/components/DatePeriod/appearance/datePeriodSize.d.ts +2 -4
- package/dist/types/components/DatePicker/DatePicker.d.ts +1 -1
- package/package.json +8 -8
|
@@ -6,7 +6,7 @@ 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_DKzT-zmQ.js');
|
|
10
10
|
require('lodash/camelCase');
|
|
11
11
|
require('lodash/castArray');
|
|
12
12
|
require('lodash/upperFirst');
|
|
@@ -6,7 +6,7 @@ var React = require('react');
|
|
|
6
6
|
var clsx = require('clsx');
|
|
7
7
|
var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
8
8
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
9
|
-
var Icon = require('../../
|
|
9
|
+
var Icon = require('../../Icon_cjs_DKzT-zmQ.js');
|
|
10
10
|
require('lodash/camelCase');
|
|
11
11
|
require('lodash/castArray');
|
|
12
12
|
require('lodash/upperFirst');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Label = require('../../
|
|
3
|
+
var Label = require('../../Label_cjs_D2YMjCoS.js');
|
|
4
4
|
require('react/jsx-runtime');
|
|
5
5
|
require('react');
|
|
6
6
|
require('clsx');
|
|
@@ -20,7 +20,7 @@ require('../hooks.js');
|
|
|
20
20
|
require('../hooks/useStyles/styleAttributes.js');
|
|
21
21
|
require('../hooks/useStyles/useStyles.js');
|
|
22
22
|
require('lodash/maxBy');
|
|
23
|
-
require('../../
|
|
23
|
+
require('../../Icon_cjs_DKzT-zmQ.js');
|
|
24
24
|
require('react-inlinesvg');
|
|
25
25
|
require('../hoc/urlWithAssetPrefix.js');
|
|
26
26
|
require('../context/UrlAssetPrefix.js');
|
|
@@ -6,7 +6,7 @@ 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_DKzT-zmQ.js');
|
|
10
10
|
var Link = require('../../Link_cjs_qKXVfU8e.js');
|
|
11
11
|
var Text = require('../../Text_cjs_DaH5tVvz.js');
|
|
12
12
|
require('lodash/camelCase');
|
|
@@ -115,6 +115,8 @@ const menuItemAppearanceSize = {
|
|
|
115
115
|
labelTextSize: 's',
|
|
116
116
|
iconAfterSize: '16',
|
|
117
117
|
iconBeforeSize: '16',
|
|
118
|
+
tooltipSize: 's',
|
|
119
|
+
tooltipTextSize: 'm',
|
|
118
120
|
},
|
|
119
121
|
sizeM: {
|
|
120
122
|
size: 'm',
|
|
@@ -185,10 +187,11 @@ const menuItemAppearanceSurface = {
|
|
|
185
187
|
},
|
|
186
188
|
surfaceSecondary: {
|
|
187
189
|
fill: 'surfacePrimary',
|
|
188
|
-
fillActive: '
|
|
189
|
-
fillActiveHover: '
|
|
190
|
+
fillActive: 'surfaceHover',
|
|
191
|
+
fillActiveHover: 'surfaceHover',
|
|
190
192
|
fillHover: 'surfaceSecondary',
|
|
191
|
-
|
|
193
|
+
labelTextActiveColor: 'accentTextSecondary',
|
|
194
|
+
labelTextActiveHoverColor: 'surfaceTextPrimary',
|
|
192
195
|
borderColor: 'surfaceBorderQuaternary',
|
|
193
196
|
iconAfterFillIcon: 'surfaceItemPrimary',
|
|
194
197
|
iconBeforeFillIcon: 'surfaceItemPrimary',
|
|
@@ -230,7 +233,7 @@ function MenuItem(props) {
|
|
|
230
233
|
}, [showTooltip]);
|
|
231
234
|
const appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, menuItemConfig, isDisabled);
|
|
232
235
|
const propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
|
|
233
|
-
const { directionClass, justifyContentClass, alignClass, alignDirectionClass, fillActiveClass, fillActiveHoverClass, fillClass, fillHoverClass, labelStyle, labelTextActiveColor, labelTextActiveHoverColor, labelTextColor, labelTextColorDisabled, labelTextColorHover, labelTextSize, labelWeight, labelWrap, borderColorClass, iconAfter, iconAfterFill, iconAfterFillIcon, iconAfterFillSize, iconAfterShape, iconAfterSize, iconAfterSrc, iconBadgeAppearance, iconBadgeShape, iconBadgeSize, iconBadgeTextColor, iconBadgeTextSize, iconBadgeValue, iconBefore, iconBeforeFill, iconBeforeFillIcon, iconBeforeFillSize, iconBeforeShape, iconBeforeSize, iconBeforeSrc, shapeClass, shapeStrengthClass, sizeClass, tooltipFill, tooltipShape, tooltipShapeStrength, tooltipText, tooltipTextColor, tooltipTitleTextColor, typeClass, widthClass, isSkeleton, } = propsGenerator;
|
|
236
|
+
const { directionClass, justifyContentClass, alignClass, alignDirectionClass, fillActiveClass, fillActiveHoverClass, fillClass, fillHoverClass, labelStyle, labelTextActiveColor, labelTextActiveHoverColor, labelTextColor, labelTextColorDisabled, labelTextColorHover, labelTextSize, labelWeight, labelWrap, borderColorClass, iconAfter, iconAfterFill, iconAfterFillIcon, iconAfterFillSize, iconAfterShape, iconAfterSize, iconAfterSrc, iconBadgeAppearance, iconBadgeShape, iconBadgeSize, iconBadgeTextColor, iconBadgeTextSize, iconBadgeValue, iconBefore, iconBeforeFill, iconBeforeFillIcon, iconBeforeFillSize, iconBeforeShape, iconBeforeSize, iconBeforeSrc, shapeClass, shapeStrengthClass, sizeClass, tooltipFill, tooltipShape, tooltipShapeStrength, tooltipSize, tooltipText, tooltipTextColor, tooltipTextSize, tooltipTitleTextColor, typeClass, widthClass, isSkeleton, } = propsGenerator;
|
|
234
237
|
// @ts-expect-error
|
|
235
238
|
const { styles: menuItem } = useStyles.useStyles(props);
|
|
236
239
|
return (jsxRuntime.jsxs("div", { className: clsx('menu-item', isActive && 'menu-item_state_active', isDisabled && `menu-item_state_disabled`, directionClass && `menu-item_direction_${directionClass}`, className, (iconBefore || iconBeforeSrc || iconAfter || iconAfterSrc) &&
|
|
@@ -241,7 +244,9 @@ function MenuItem(props) {
|
|
|
241
244
|
: fillActiveHoverClass && `fill_active_hover_${fillActiveHoverClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass
|
|
242
245
|
? `shape-strength_${shapeStrengthClass}`
|
|
243
246
|
: shapeClass === 'rounded' && 'shape-strength_default', typeClass && `menu-item_type_${typeClass}`, widthClass && `width_${widthClass}`, justifyContentClass &&
|
|
244
|
-
`menu-item_justify-content_${justifyContentClass}`, isSkeleton && `menu-item_skeleton`), style: menuItem, onClick: onClick, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, children: [jsxRuntime.jsxs(Link.Link, { className: clsx('menu-item__wrapper', alignDirectionClass && `align_${alignDirectionClass}`, alignClass && `align_${alignClass}`), href: link || href, LinkComponent: LinkComponent, rel: rel, target: target, underline: underline, children: [before, children || (jsxRuntime.jsxs(React.Fragment, { children: [(iconBefore || iconBeforeSrc) && (jsxRuntime.jsx(Icon.Icon, { className: clsx('menu-item__icon_before', iconBadgeValue && 'menu-item__icon_before-badge'), fill: iconBeforeFill, fillSize: iconBeforeFillSize, badgeAppearance: iconBadgeAppearance, badgeClass: 'menu-item__icon_before_badge', badgeShape: iconBadgeShape, badgeSize: iconBadgeSize, badgeTextColor: iconBadgeTextColor, badgeTextSize: iconBadgeTextSize, badgeValue: iconBadgeValue, iconFill: iconBeforeFillIcon, iconSize: iconBeforeSize, imageSrc: iconBeforeSrc, shape: iconBeforeShape, SvgImage: iconBefore })), label && (jsxRuntime.jsx(Text.Text, { className: "menu-item__label", size: labelTextSize, textColor: labelTextColor, textColorActive: labelTextActiveColor, textColorActiveHover: labelTextActiveHoverColor, textColorDisabled: labelTextColorDisabled, textColorHover: labelTextColorHover, textStyle: labelStyle, textWeight: labelWeight, textWrap: labelWrap, isActive: isActive, isDisabled: isDisabled, children: label })), (iconAfter || iconAfterSrc) && (jsxRuntime.jsx(Icon.Icon, { className: clsx('menu-item__icon_after', iconBadgeValue && 'menu-item__icon_after-badge'), fill: iconAfterFill, fillSize: iconAfterFillSize, badgeAppearance: iconBadgeAppearance, badgeClass: "menu-item__icon_after_badge", badgeShape: iconBadgeShape, badgeSize: iconBadgeSize, badgeTextColor: iconBadgeTextColor, badgeTextSize: iconBadgeTextSize, badgeValue: iconBadgeValue, iconFill: iconAfterFillIcon, iconSize: iconAfterSize, imageSrc: iconAfterSrc, shape: iconAfterShape, SvgImage: iconAfter }))] })), after] }), showTooltip && (jsxRuntime.jsx(Icon.Tooltip, { appearance: tooltipAppearance, className: "menu-item__tooltip", ref: tooltipRef, minWidth: "auto", fill: tooltipFill, left: "100%", zIndex: "100", titleTextColor: tooltipTitleTextColor, text: tooltipText, textColor: tooltipTextColor,
|
|
247
|
+
`menu-item_justify-content_${justifyContentClass}`, isSkeleton && `menu-item_skeleton`), style: menuItem, onClick: onClick, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, children: [jsxRuntime.jsxs(Link.Link, { className: clsx('menu-item__wrapper', alignDirectionClass && `align_${alignDirectionClass}`, alignClass && `align_${alignClass}`), href: link || href, LinkComponent: LinkComponent, rel: rel, target: target, underline: underline, children: [before, children || (jsxRuntime.jsxs(React.Fragment, { children: [(iconBefore || iconBeforeSrc) && (jsxRuntime.jsx(Icon.Icon, { className: clsx('menu-item__icon_before', iconBadgeValue && 'menu-item__icon_before-badge'), fill: iconBeforeFill, fillSize: iconBeforeFillSize, badgeAppearance: iconBadgeAppearance, badgeClass: 'menu-item__icon_before_badge', badgeShape: iconBadgeShape, badgeSize: iconBadgeSize, badgeTextColor: iconBadgeTextColor, badgeTextSize: iconBadgeTextSize, badgeValue: iconBadgeValue, iconFill: iconBeforeFillIcon, iconSize: iconBeforeSize, imageSrc: iconBeforeSrc, shape: iconBeforeShape, SvgImage: iconBefore })), label && (jsxRuntime.jsx(Text.Text, { className: "menu-item__label", size: labelTextSize, textColor: labelTextColor, textColorActive: labelTextActiveColor, textColorActiveHover: labelTextActiveHoverColor, textColorDisabled: labelTextColorDisabled, textColorHover: labelTextColorHover, textStyle: labelStyle, textWeight: labelWeight, textWrap: labelWrap, isActive: isActive, isDisabled: isDisabled, children: label })), (iconAfter || iconAfterSrc) && (jsxRuntime.jsx(Icon.Icon, { className: clsx('menu-item__icon_after', iconBadgeValue && 'menu-item__icon_after-badge'), fill: iconAfterFill, fillSize: iconAfterFillSize, badgeAppearance: iconBadgeAppearance, badgeClass: "menu-item__icon_after_badge", badgeShape: iconBadgeShape, badgeSize: iconBadgeSize, badgeTextColor: iconBadgeTextColor, badgeTextSize: iconBadgeTextSize, badgeValue: iconBadgeValue, iconFill: iconAfterFillIcon, iconSize: iconAfterSize, imageSrc: iconAfterSrc, shape: iconAfterShape, SvgImage: iconAfter }))] })), after] }), showTooltip && (jsxRuntime.jsx(Icon.Tooltip, { appearance: tooltipAppearance, className: "menu-item__tooltip", ref: tooltipRef, minWidth: "auto", size: tooltipSize, fill: tooltipFill, left: "100%", zIndex: "100", titleTextColor: tooltipTitleTextColor, paddingLeft: "3m", text: tooltipText, textColor: tooltipTextColor, textSize: tooltipTextSize,
|
|
248
|
+
// centering="vertical"
|
|
249
|
+
shape: tooltipShape, shapeStrength: tooltipShapeStrength, isTooltipDisableState: true }))] }));
|
|
245
250
|
}
|
|
246
251
|
|
|
247
252
|
exports.MenuItem = MenuItem;
|
|
@@ -8,7 +8,7 @@ var _default = require('@itcase/icons/default');
|
|
|
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');
|
|
11
|
-
var Icon = require('../../
|
|
11
|
+
var Icon = require('../../Icon_cjs_DKzT-zmQ.js');
|
|
12
12
|
var Overlay = require('../../Overlay_cjs_tGA2fU43.js');
|
|
13
13
|
var Loader = require('../../Loader_cjs_CRiUlTC3.js');
|
|
14
14
|
require('lodash/camelCase');
|
|
@@ -7,7 +7,7 @@ var reactModalSheet = require('react-modal-sheet');
|
|
|
7
7
|
var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
8
8
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
9
9
|
var useStyles = require('../hooks/useStyles/useStyles.js');
|
|
10
|
-
var Icon = require('../../
|
|
10
|
+
var Icon = require('../../Icon_cjs_DKzT-zmQ.js');
|
|
11
11
|
require('lodash/camelCase');
|
|
12
12
|
require('lodash/castArray');
|
|
13
13
|
require('lodash/upperFirst');
|
|
@@ -44,7 +44,7 @@ const modalSheetBottomAppearance = {
|
|
|
44
44
|
const modalSheetBottomConfig = {
|
|
45
45
|
appearance: modalSheetBottomAppearance};
|
|
46
46
|
const ModalSheetBottom = React.forwardRef(function Modal(props, ref) {
|
|
47
|
-
const { appearance, initialIsOpen, title,
|
|
47
|
+
const { appearance, initialIsOpen, title, closeButton, isDisabled, onCloseModalSheetBottom, onOpenModalSheetBottom, children, } = props;
|
|
48
48
|
const [isOpen, setIsOpen] = React.useState(initialIsOpen);
|
|
49
49
|
const openModalSheetBottom = React.useCallback(() => {
|
|
50
50
|
setIsOpen(true);
|
|
@@ -65,7 +65,7 @@ const ModalSheetBottom = React.forwardRef(function Modal(props, ref) {
|
|
|
65
65
|
const { titleTextColor, titleTextColorHover, titleTextSize, titleTextTruncate, titleTextWeight, titleTextWidth, titleTextWrap, zeroPadding, } = propsGenerator;
|
|
66
66
|
// @ts-expect-error
|
|
67
67
|
const { styles } = useStyles.useStyles(props);
|
|
68
|
-
return (jsxRuntime.jsxs(reactModalSheet.Sheet, { className: "modal-sheet-bottom", isOpen: isOpen, onClose: closeModalSheetBottom, ...props, children: [jsxRuntime.jsxs(reactModalSheet.Sheet.Container, { className: "modal-sheet-bottom__container", style: styles, children: [jsxRuntime.jsx(reactModalSheet.Sheet.Header, { className: "modal-sheet-bottom__header", children: closeButton && (jsxRuntime.jsx("div", { className: "modal-sheet-bottom__close", onClick: closeModalSheetBottom, children: closeButton })) }), jsxRuntime.jsx(reactModalSheet.Sheet.Content, { className: "modal-sheet-bottom__content", children: jsxRuntime.
|
|
68
|
+
return (jsxRuntime.jsxs(reactModalSheet.Sheet, { className: "modal-sheet-bottom", isOpen: isOpen, onClose: closeModalSheetBottom, ...props, children: [jsxRuntime.jsxs(reactModalSheet.Sheet.Container, { className: "modal-sheet-bottom__container", style: styles, children: [jsxRuntime.jsx(reactModalSheet.Sheet.Header, { className: "modal-sheet-bottom__header", children: closeButton && (jsxRuntime.jsx("div", { className: "modal-sheet-bottom__close", onClick: closeModalSheetBottom, children: closeButton })) }), jsxRuntime.jsx(reactModalSheet.Sheet.Content, { className: "modal-sheet-bottom__content", children: jsxRuntime.jsxs("div", { className: clsx('modal-sheet-bottom__content-wrapper', zeroPadding && 'modal-sheet-bottom__content-reset-padding'), children: [title && (jsxRuntime.jsx(Icon.Title, { className: "modal__title", width: titleTextWidth, size: titleTextSize, textColor: titleTextColor, textColorHover: titleTextColorHover, textTruncate: titleTextTruncate, textWeight: titleTextWeight, textWrap: titleTextWrap, children: title })), children] }) })] }), jsxRuntime.jsx(reactModalSheet.Sheet.Backdrop, { className: "modal-sheet-bottom__backdrop", onClick: closeModalSheetBottom })] }));
|
|
69
69
|
});
|
|
70
70
|
|
|
71
71
|
exports.ModalSheetBottom = ModalSheetBottom;
|
|
@@ -5,7 +5,7 @@ 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('../../
|
|
8
|
+
var Icon = require('../../Icon_cjs_DKzT-zmQ.js');
|
|
9
9
|
var Text = require('../../Text_cjs_DaH5tVvz.js');
|
|
10
10
|
var _default = require('@itcase/icons/default');
|
|
11
11
|
var Notifications = require('../context/Notifications.js');
|
|
@@ -8,8 +8,8 @@ var ReactPaginate = require('react-paginate');
|
|
|
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');
|
|
11
|
-
var DropdownItem = require('../../
|
|
12
|
-
var Icon = require('../../
|
|
11
|
+
var DropdownItem = require('../../DropdownItem_cjs_FsiEMPDs.js');
|
|
12
|
+
var Icon = require('../../Icon_cjs_DKzT-zmQ.js');
|
|
13
13
|
var Text = require('../../Text_cjs_DaH5tVvz.js');
|
|
14
14
|
var _default = require('@itcase/icons/default');
|
|
15
15
|
require('lodash/camelCase');
|
|
@@ -8,7 +8,7 @@ var urlWithAssetPrefix = require('../hoc/urlWithAssetPrefix.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');
|
|
11
|
-
var Button = require('../../
|
|
11
|
+
var Button = require('../../Button_cjs_BxoEdSG6.js');
|
|
12
12
|
var Group = require('../../Group_cjs_DmfeUcFI.js');
|
|
13
13
|
var Text = require('../../Text_cjs_DaH5tVvz.js');
|
|
14
14
|
require('@itcase/common');
|
|
@@ -25,7 +25,7 @@ require('../utils/setViewportProperty.js');
|
|
|
25
25
|
require('../hooks.js');
|
|
26
26
|
require('../hooks/useStyles/styleAttributes.js');
|
|
27
27
|
require('lodash/maxBy');
|
|
28
|
-
require('../../
|
|
28
|
+
require('../../Icon_cjs_DKzT-zmQ.js');
|
|
29
29
|
require('react-inlinesvg');
|
|
30
30
|
require('../../Link_cjs_qKXVfU8e.js');
|
|
31
31
|
require('../../Loader_cjs_CRiUlTC3.js');
|
|
@@ -7,7 +7,7 @@ var clsx = require('clsx');
|
|
|
7
7
|
var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
8
8
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
9
9
|
var useStyles = require('../hooks/useStyles/useStyles.js');
|
|
10
|
-
var Icon = require('../../
|
|
10
|
+
var Icon = require('../../Icon_cjs_DKzT-zmQ.js');
|
|
11
11
|
var Text = require('../../Text_cjs_DaH5tVvz.js');
|
|
12
12
|
var Scrollbar = require('../../Scrollbar_cjs_Cp-7v2Mt.js');
|
|
13
13
|
require('lodash/camelCase');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var clsx = require('clsx');
|
|
6
|
-
var Icon = require('../../
|
|
6
|
+
var Icon = require('../../Icon_cjs_DKzT-zmQ.js');
|
|
7
7
|
var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
8
8
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
9
9
|
var Text = require('../../Text_cjs_DaH5tVvz.js');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
var Select = require('react-select');
|
|
5
|
-
var Icon = require('../../
|
|
5
|
+
var Icon = require('../../Icon_cjs_DKzT-zmQ.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var clsx = require('clsx');
|
|
8
8
|
var CreatableSelect = require('react-select/creatable');
|
|
@@ -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_DKzT-zmQ.js');
|
|
10
10
|
require('lodash/camelCase');
|
|
11
11
|
require('lodash/castArray');
|
|
12
12
|
require('lodash/upperFirst');
|
|
@@ -7,7 +7,7 @@ var useActiveClasses = require('../hooks/useActiveClasses/useActiveClasses.js');
|
|
|
7
7
|
var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
8
8
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
9
9
|
var useStyles = require('../hooks/useStyles/useStyles.js');
|
|
10
|
-
var Icon = require('../../
|
|
10
|
+
var Icon = require('../../Icon_cjs_DKzT-zmQ.js');
|
|
11
11
|
var Divider = require('../../Divider_cjs_DrmV2ezS.js');
|
|
12
12
|
var Link = require('../../Link_cjs_qKXVfU8e.js');
|
|
13
13
|
var Text = require('../../Text_cjs_DaH5tVvz.js');
|
|
@@ -5,7 +5,7 @@ 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('../../
|
|
8
|
+
var Icon = require('../../Icon_cjs_DKzT-zmQ.js');
|
|
9
9
|
var Text = require('../../Text_cjs_DaH5tVvz.js');
|
|
10
10
|
require('react');
|
|
11
11
|
require('lodash/camelCase');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var clsx = require('clsx');
|
|
6
|
-
var Icon = require('../../
|
|
6
|
+
var Icon = require('../../Icon_cjs_DKzT-zmQ.js');
|
|
7
7
|
var Text = require('../../Text_cjs_DaH5tVvz.js');
|
|
8
8
|
var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
9
9
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
@@ -5,7 +5,7 @@ import castArray from 'lodash/castArray';
|
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
7
7
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
8
|
-
import { B as Badge, I as Icon } from '../
|
|
8
|
+
import { B as Badge, I as Icon } from '../Icon_es_5JUPM7bP.js';
|
|
9
9
|
import { D as Divider } from '../Divider_es_BiYozVBS.js';
|
|
10
10
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
11
11
|
import { icons16 } from '@itcase/icons/default';
|
|
@@ -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_BTvbT36l.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -16,7 +16,7 @@ import 'react-responsive';
|
|
|
16
16
|
import '../utils/setViewportProperty.js';
|
|
17
17
|
import '../hooks.js';
|
|
18
18
|
import '../hooks/useStyles/styleAttributes.js';
|
|
19
|
-
import '../
|
|
19
|
+
import '../Icon_es_5JUPM7bP.js';
|
|
20
20
|
import 'react-inlinesvg';
|
|
21
21
|
import '../hoc/urlWithAssetPrefix.js';
|
|
22
22
|
import '../context/UrlAssetPrefix.js';
|
|
@@ -3,7 +3,7 @@ import clsx from 'clsx';
|
|
|
3
3
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
4
4
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
5
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
6
|
-
import { A as Avatar } from '../
|
|
6
|
+
import { A as Avatar } from '../Avatar_es_BTvbT36l.js';
|
|
7
7
|
import { G as Group } from '../Group_es_BU5k8f5S.js';
|
|
8
8
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
9
9
|
import 'react';
|
|
@@ -20,7 +20,7 @@ import '../utils/setViewportProperty.js';
|
|
|
20
20
|
import '../hooks.js';
|
|
21
21
|
import '../hooks/useStyles/styleAttributes.js';
|
|
22
22
|
import 'lodash/maxBy';
|
|
23
|
-
import '../
|
|
23
|
+
import '../Icon_es_5JUPM7bP.js';
|
|
24
24
|
import 'react-inlinesvg';
|
|
25
25
|
import '../hoc/urlWithAssetPrefix.js';
|
|
26
26
|
import '../context/UrlAssetPrefix.js';
|
package/dist/components/Badge.js
CHANGED
|
@@ -4,7 +4,7 @@ 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_5JUPM7bP.js';
|
|
8
8
|
import { a as LinkWrapper } from '../Link_es_P2b6ya7P.js';
|
|
9
9
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
10
10
|
import { icons12, icons14, icons16, icons20, icons24 } from '@itcase/icons/default';
|
|
@@ -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_B-SYHL6T.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
5
|
-
import '../
|
|
5
|
+
import '../Icon_es_5JUPM7bP.js';
|
|
6
6
|
import 'react-inlinesvg';
|
|
7
7
|
import '../hoc/urlWithAssetPrefix.js';
|
|
8
8
|
import '@itcase/common';
|
package/dist/components/Cell.js
CHANGED
|
@@ -3,8 +3,8 @@ 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 '../
|
|
6
|
+
import { I as Icon } from '../Icon_es_5JUPM7bP.js';
|
|
7
|
+
import { L as Label } from '../Label_es_B5uGQwNN.js';
|
|
8
8
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
9
9
|
import 'react';
|
|
10
10
|
import 'lodash/camelCase';
|
package/dist/components/Chips.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as Chips, b as ChipsGroup, a as chipsAppearance, c as chipsConfig } from '../
|
|
1
|
+
export { C as Chips, b as ChipsGroup, a as chipsAppearance, c as chipsConfig } from '../ChipsGroup_es_Czu95rkL.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'clsx';
|
|
4
4
|
import '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
@@ -18,7 +18,7 @@ import '../hooks.js';
|
|
|
18
18
|
import '../hooks/useStyles/styleAttributes.js';
|
|
19
19
|
import '../hooks/useStyles/useStyles.js';
|
|
20
20
|
import 'lodash/maxBy';
|
|
21
|
-
import '../
|
|
21
|
+
import '../Icon_es_5JUPM7bP.js';
|
|
22
22
|
import 'react-inlinesvg';
|
|
23
23
|
import '../hoc/urlWithAssetPrefix.js';
|
|
24
24
|
import '../context/UrlAssetPrefix.js';
|
|
@@ -4,7 +4,7 @@ import clsx from 'clsx';
|
|
|
4
4
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
7
|
-
import { I as Icon } from '../
|
|
7
|
+
import { I as Icon } from '../Icon_es_5JUPM7bP.js';
|
|
8
8
|
import { L as Loader } from '../Loader_es_Dq2-7sn2.js';
|
|
9
9
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
10
10
|
import 'lodash/camelCase';
|
|
@@ -4,7 +4,7 @@ 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 '../
|
|
7
|
+
import { B as Button } from '../Button_es_B-SYHL6T.js';
|
|
8
8
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
9
9
|
import 'lodash/camelCase';
|
|
10
10
|
import 'lodash/castArray';
|
|
@@ -18,7 +18,7 @@ import 'react-responsive';
|
|
|
18
18
|
import '../utils/setViewportProperty.js';
|
|
19
19
|
import '../hooks.js';
|
|
20
20
|
import '../hooks/useStyles/styleAttributes.js';
|
|
21
|
-
import '../
|
|
21
|
+
import '../Icon_es_5JUPM7bP.js';
|
|
22
22
|
import 'react-inlinesvg';
|
|
23
23
|
import '../hoc/urlWithAssetPrefix.js';
|
|
24
24
|
import '../context/UrlAssetPrefix.js';
|
|
@@ -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_VslTy9Qw.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_Czu95rkL.js';
|
|
9
9
|
import 'date-fns/locale';
|
|
10
10
|
import 'react-datepicker';
|
|
11
11
|
import '../hooks/useStyles/useStyles.js';
|
|
@@ -20,8 +20,8 @@ import 'react-responsive';
|
|
|
20
20
|
import '../utils/setViewportProperty.js';
|
|
21
21
|
import '../hooks.js';
|
|
22
22
|
import '../hooks/useStyles/styleAttributes.js';
|
|
23
|
-
import '../
|
|
24
|
-
import '../
|
|
23
|
+
import '../Button_es_B-SYHL6T.js';
|
|
24
|
+
import '../Icon_es_5JUPM7bP.js';
|
|
25
25
|
import 'react-inlinesvg';
|
|
26
26
|
import '../hoc/urlWithAssetPrefix.js';
|
|
27
27
|
import '../context/UrlAssetPrefix.js';
|
|
@@ -29,24 +29,47 @@ import '../Link_es_P2b6ya7P.js';
|
|
|
29
29
|
import '../Text_es_RDU9GLCV.js';
|
|
30
30
|
import '../Loader_es_Dq2-7sn2.js';
|
|
31
31
|
import '../Input_es_BnCXATnh.js';
|
|
32
|
-
import '../
|
|
32
|
+
import '../Label_es_B5uGQwNN.js';
|
|
33
33
|
import '@itcase/icons/default';
|
|
34
34
|
import 'lodash/castArray';
|
|
35
35
|
|
|
36
|
+
const datePeriodAppearanceShape = {
|
|
37
|
+
circular: {
|
|
38
|
+
shape: 'circular',
|
|
39
|
+
},
|
|
40
|
+
rounded: {
|
|
41
|
+
shape: 'rounded',
|
|
42
|
+
},
|
|
43
|
+
roundedXL: {
|
|
44
|
+
shape: 'rounded',
|
|
45
|
+
shapeStrength: '2m',
|
|
46
|
+
},
|
|
47
|
+
roundedL: {
|
|
48
|
+
shape: 'rounded',
|
|
49
|
+
shapeStrength: '1_5m',
|
|
50
|
+
},
|
|
51
|
+
roundedM: {
|
|
52
|
+
shape: 'rounded',
|
|
53
|
+
shapeStrength: '1m',
|
|
54
|
+
},
|
|
55
|
+
roundedS: {
|
|
56
|
+
shape: 'rounded',
|
|
57
|
+
shapeStrength: '0_5m',
|
|
58
|
+
},
|
|
59
|
+
};
|
|
60
|
+
|
|
36
61
|
const datePeriodAppearanceSize = {
|
|
37
62
|
sizeL: {
|
|
38
|
-
size: '
|
|
39
|
-
chipsAppearanceSize: '
|
|
63
|
+
size: 'l',
|
|
64
|
+
chipsAppearanceSize: 'sizeXL',
|
|
40
65
|
datePickerAppearanceSize: 'sizeM',
|
|
41
|
-
|
|
42
|
-
datePickerInputTextSize: 'm',
|
|
66
|
+
datePickerInputAppearanceSize: 'sizeM',
|
|
43
67
|
},
|
|
44
68
|
sizeM: {
|
|
45
69
|
size: 'm',
|
|
46
70
|
chipsAppearanceSize: 'sizeL',
|
|
47
71
|
datePickerAppearanceSize: 'sizeM',
|
|
48
|
-
|
|
49
|
-
datePickerInputTextSize: 'm',
|
|
72
|
+
datePickerInputAppearanceSize: 'sizeM',
|
|
50
73
|
},
|
|
51
74
|
};
|
|
52
75
|
|
|
@@ -72,6 +95,7 @@ const datePeriodAppearanceSurface = {
|
|
|
72
95
|
const datePeriodAppearance = {
|
|
73
96
|
...datePeriodAppearanceSurface,
|
|
74
97
|
...datePeriodAppearanceSize,
|
|
98
|
+
...datePeriodAppearanceShape,
|
|
75
99
|
};
|
|
76
100
|
|
|
77
101
|
const datePeriodConfig = {
|
|
@@ -84,7 +108,7 @@ function DatePeriod(props) {
|
|
|
84
108
|
const { appearance, className, datePeriodIntervalsList = Object.values(DATE_PERIOD_INTERVALS), datePeriodValueEnd, datePeriodValueStart, monthsShown, selectsRange = true, isDisabled, isSkeleton, onChangeDatePeriod, onKeyDown, } = props;
|
|
85
109
|
const appearanceConfig = useAppearanceConfig(appearance, datePeriodConfig, isDisabled);
|
|
86
110
|
const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
87
|
-
const { fillClass, chipsAppearance, chipsAppearanceSize, chipsShape, datePickerAppearance, datePickerAppearanceSize, datePickerInputAppearance, datePickerInputFillHover, datePickerInputSize, datePickerInputTextSize, shapeClass, sizeClass, } = propsGenerator;
|
|
111
|
+
const { fillClass, chipsAppearance, chipsAppearanceSize, chipsShape, datePickerAppearance, datePickerAppearanceSize, datePickerInputAppearance, datePickerInputAppearanceSize, datePickerInputFillHover, datePickerInputSize, datePickerInputTextSize, shapeClass, shapeStrengthClass, sizeClass, } = propsGenerator;
|
|
88
112
|
const onClickPeriodChips = useCallback((selectedPeriodItem) => {
|
|
89
113
|
const dateStartIso = selectedPeriodItem.dateIntervalsList[0];
|
|
90
114
|
const dateEndIso = selectedPeriodItem.dateIntervalsList[1];
|
|
@@ -110,7 +134,7 @@ function DatePeriod(props) {
|
|
|
110
134
|
// },
|
|
111
135
|
// [onChangeDatePeriod],
|
|
112
136
|
// )
|
|
113
|
-
return (jsx("div", { className: clsx(className, 'date-period', shapeClass && `
|
|
137
|
+
return (jsx("div", { className: clsx(className, 'date-period', shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, sizeClass && `date-period_size_${sizeClass}`, isSkeleton && `date-period_skeleton`, fillClass && `fill_${fillClass}`, 'cursor_type_pointer'), children: jsxs(ChipsGroup, { className: "date-period__choice", direction: "horizontal", children: [datePeriodIntervalsList.map((datePeriodItem) => (jsx(Chips, { appearance: `${chipsAppearance} ${chipsAppearanceSize}`, label: datePeriodItem.label, shape: chipsShape, isActive: checkIsChipsActive(datePeriodItem), onClick: () => onClickPeriodChips(datePeriodItem) }, datePeriodItem.value))), jsx(DatePickerInput, { className: "date-period__datepicker", datePickerProps: {
|
|
114
138
|
appearance: `${datePickerAppearance} ${datePickerAppearanceSize}`,
|
|
115
139
|
dateFormat: 'dd/MM/yyyy',
|
|
116
140
|
monthsShown: monthsShown,
|
|
@@ -120,7 +144,7 @@ function DatePeriod(props) {
|
|
|
120
144
|
isStartDefaultNull: true,
|
|
121
145
|
onKeyDown: onKeyDown,
|
|
122
146
|
}, endValue: datePeriodValueEnd, inputProps: {
|
|
123
|
-
appearance: `${datePickerInputAppearance} ghost`,
|
|
147
|
+
appearance: `${datePickerInputAppearance} ${datePickerInputAppearanceSize} ghost`,
|
|
124
148
|
className: `date-period__datepicker-input date-period__datepicker-input_size_${datePickerInputSize}`,
|
|
125
149
|
fillHover: datePickerInputFillHover,
|
|
126
150
|
textSize: datePickerInputTextSize,
|
|
@@ -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_VslTy9Qw.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -20,8 +20,8 @@ import '../hooks.js';
|
|
|
20
20
|
import '../hooks/useStyles/styleAttributes.js';
|
|
21
21
|
import '../hooks/useStyles/useStyles.js';
|
|
22
22
|
import 'lodash/maxBy';
|
|
23
|
-
import '../
|
|
24
|
-
import '../
|
|
23
|
+
import '../Button_es_B-SYHL6T.js';
|
|
24
|
+
import '../Icon_es_5JUPM7bP.js';
|
|
25
25
|
import 'react-inlinesvg';
|
|
26
26
|
import '../hoc/urlWithAssetPrefix.js';
|
|
27
27
|
import '../context/UrlAssetPrefix.js';
|
|
@@ -29,5 +29,5 @@ import '../Link_es_P2b6ya7P.js';
|
|
|
29
29
|
import '../Text_es_RDU9GLCV.js';
|
|
30
30
|
import '../Loader_es_Dq2-7sn2.js';
|
|
31
31
|
import '../Input_es_BnCXATnh.js';
|
|
32
|
-
import '../
|
|
32
|
+
import '../Label_es_B5uGQwNN.js';
|
|
33
33
|
import '@itcase/icons/default';
|
|
@@ -3,7 +3,7 @@ import { useRef, useEffect } from 'react';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import ReactDrawer from 'react-modern-drawer';
|
|
5
5
|
import { D as Divider } from '../Divider_es_BiYozVBS.js';
|
|
6
|
-
import { I as Icon, b as Title } from '../
|
|
6
|
+
import { I as Icon, b as Title } from '../Icon_es_5JUPM7bP.js';
|
|
7
7
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
8
8
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
9
9
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as Dropdown, a as DropdownItem, d as dropdownItemAppearance, b as dropdownItemConfig } from '../
|
|
1
|
+
export { D as Dropdown, a as DropdownItem, d as dropdownItemAppearance, b as dropdownItemConfig } from '../DropdownItem_es_BBKtNngp.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -17,7 +17,7 @@ import '../hooks.js';
|
|
|
17
17
|
import '../hooks/useStyles/styleAttributes.js';
|
|
18
18
|
import '../hooks/useStyles/useStyles.js';
|
|
19
19
|
import 'lodash/maxBy';
|
|
20
|
-
import '../
|
|
20
|
+
import '../Icon_es_5JUPM7bP.js';
|
|
21
21
|
import 'react-inlinesvg';
|
|
22
22
|
import '../hoc/urlWithAssetPrefix.js';
|
|
23
23
|
import '../context/UrlAssetPrefix.js';
|
|
@@ -4,7 +4,7 @@ import clsx from 'clsx';
|
|
|
4
4
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
7
|
-
import { I as Icon } from '../
|
|
7
|
+
import { I as Icon } from '../Icon_es_5JUPM7bP.js';
|
|
8
8
|
import 'lodash/camelCase';
|
|
9
9
|
import 'lodash/castArray';
|
|
10
10
|
import 'lodash/upperFirst';
|
package/dist/components/Icon.js
CHANGED
|
@@ -4,7 +4,7 @@ import { useState, useMemo, useCallback } from 'react';
|
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
|
-
import { I as Icon } from '../
|
|
7
|
+
import { I as Icon } from '../Icon_es_5JUPM7bP.js';
|
|
8
8
|
import 'lodash/camelCase';
|
|
9
9
|
import 'lodash/castArray';
|
|
10
10
|
import 'lodash/upperFirst';
|