@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
package/dist/components/Label.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { L as Label, a as labelAppearance, l as labelConfig } from '../
|
|
1
|
+
export { L as Label, a as labelAppearance, l as labelConfig } from '../Label_es_B5uGQwNN.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -18,7 +18,7 @@ import '../hooks.js';
|
|
|
18
18
|
import '../hooks/useStyles/styleAttributes.js';
|
|
19
19
|
import '../hooks/useStyles/useStyles.js';
|
|
20
20
|
import 'lodash/maxBy';
|
|
21
|
-
import '../
|
|
21
|
+
import '../Icon_es_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, T as Tooltip } from '../
|
|
7
|
+
import { I as Icon, T as Tooltip } from '../Icon_es_5JUPM7bP.js';
|
|
8
8
|
import { L as Link } from '../Link_es_P2b6ya7P.js';
|
|
9
9
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
10
10
|
import 'lodash/camelCase';
|
|
@@ -113,6 +113,8 @@ const menuItemAppearanceSize = {
|
|
|
113
113
|
labelTextSize: 's',
|
|
114
114
|
iconAfterSize: '16',
|
|
115
115
|
iconBeforeSize: '16',
|
|
116
|
+
tooltipSize: 's',
|
|
117
|
+
tooltipTextSize: 'm',
|
|
116
118
|
},
|
|
117
119
|
sizeM: {
|
|
118
120
|
size: 'm',
|
|
@@ -183,10 +185,11 @@ const menuItemAppearanceSurface = {
|
|
|
183
185
|
},
|
|
184
186
|
surfaceSecondary: {
|
|
185
187
|
fill: 'surfacePrimary',
|
|
186
|
-
fillActive: '
|
|
187
|
-
fillActiveHover: '
|
|
188
|
+
fillActive: 'surfaceHover',
|
|
189
|
+
fillActiveHover: 'surfaceHover',
|
|
188
190
|
fillHover: 'surfaceSecondary',
|
|
189
|
-
|
|
191
|
+
labelTextActiveColor: 'accentTextSecondary',
|
|
192
|
+
labelTextActiveHoverColor: 'surfaceTextPrimary',
|
|
190
193
|
borderColor: 'surfaceBorderQuaternary',
|
|
191
194
|
iconAfterFillIcon: 'surfaceItemPrimary',
|
|
192
195
|
iconBeforeFillIcon: 'surfaceItemPrimary',
|
|
@@ -228,7 +231,7 @@ function MenuItem(props) {
|
|
|
228
231
|
}, [showTooltip]);
|
|
229
232
|
const appearanceConfig = useAppearanceConfig(appearance, menuItemConfig, isDisabled);
|
|
230
233
|
const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
231
|
-
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;
|
|
234
|
+
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;
|
|
232
235
|
// @ts-expect-error
|
|
233
236
|
const { styles: menuItem } = useStyles(props);
|
|
234
237
|
return (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) &&
|
|
@@ -239,7 +242,9 @@ function MenuItem(props) {
|
|
|
239
242
|
: fillActiveHoverClass && `fill_active_hover_${fillActiveHoverClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass
|
|
240
243
|
? `shape-strength_${shapeStrengthClass}`
|
|
241
244
|
: shapeClass === 'rounded' && 'shape-strength_default', typeClass && `menu-item_type_${typeClass}`, widthClass && `width_${widthClass}`, justifyContentClass &&
|
|
242
|
-
`menu-item_justify-content_${justifyContentClass}`, isSkeleton && `menu-item_skeleton`), style: menuItem, onClick: onClick, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, children: [jsxs(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 || (jsxs(React.Fragment, { children: [(iconBefore || iconBeforeSrc) && (jsx(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 && (jsx(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) && (jsx(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 && (jsx(Tooltip, { appearance: tooltipAppearance, className: "menu-item__tooltip", ref: tooltipRef, minWidth: "auto", fill: tooltipFill, left: "100%", zIndex: "100", titleTextColor: tooltipTitleTextColor, text: tooltipText, textColor: tooltipTextColor,
|
|
245
|
+
`menu-item_justify-content_${justifyContentClass}`, isSkeleton && `menu-item_skeleton`), style: menuItem, onClick: onClick, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, children: [jsxs(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 || (jsxs(React.Fragment, { children: [(iconBefore || iconBeforeSrc) && (jsx(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 && (jsx(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) && (jsx(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 && (jsx(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,
|
|
246
|
+
// centering="vertical"
|
|
247
|
+
shape: tooltipShape, shapeStrength: tooltipShapeStrength, isTooltipDisableState: true }))] }));
|
|
243
248
|
}
|
|
244
249
|
|
|
245
250
|
export { MenuItem, menuItemAppearance, menuItemConfig };
|
package/dist/components/Modal.js
CHANGED
|
@@ -6,7 +6,7 @@ import { icons24, icons32, icons40 } from '@itcase/icons/default';
|
|
|
6
6
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
8
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
9
|
-
import { b as Title, I as Icon } from '../
|
|
9
|
+
import { b as Title, I as Icon } from '../Icon_es_5JUPM7bP.js';
|
|
10
10
|
import { O as Overlay } from '../Overlay_es_BS7OTFoy.js';
|
|
11
11
|
import { L as Loader } from '../Loader_es_Dq2-7sn2.js';
|
|
12
12
|
import 'lodash/camelCase';
|
|
@@ -5,7 +5,7 @@ import { Sheet } from 'react-modal-sheet';
|
|
|
5
5
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
7
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
8
|
-
import { b as Title } from '../
|
|
8
|
+
import { b as Title } from '../Icon_es_5JUPM7bP.js';
|
|
9
9
|
import 'lodash/camelCase';
|
|
10
10
|
import 'lodash/castArray';
|
|
11
11
|
import 'lodash/upperFirst';
|
|
@@ -42,7 +42,7 @@ const modalSheetBottomAppearance = {
|
|
|
42
42
|
const modalSheetBottomConfig = {
|
|
43
43
|
appearance: modalSheetBottomAppearance};
|
|
44
44
|
const ModalSheetBottom = React.forwardRef(function Modal(props, ref) {
|
|
45
|
-
const { appearance, initialIsOpen, title,
|
|
45
|
+
const { appearance, initialIsOpen, title, closeButton, isDisabled, onCloseModalSheetBottom, onOpenModalSheetBottom, children, } = props;
|
|
46
46
|
const [isOpen, setIsOpen] = useState(initialIsOpen);
|
|
47
47
|
const openModalSheetBottom = useCallback(() => {
|
|
48
48
|
setIsOpen(true);
|
|
@@ -63,7 +63,7 @@ const ModalSheetBottom = React.forwardRef(function Modal(props, ref) {
|
|
|
63
63
|
const { titleTextColor, titleTextColorHover, titleTextSize, titleTextTruncate, titleTextWeight, titleTextWidth, titleTextWrap, zeroPadding, } = propsGenerator;
|
|
64
64
|
// @ts-expect-error
|
|
65
65
|
const { styles } = useStyles(props);
|
|
66
|
-
return (jsxs(Sheet, { className: "modal-sheet-bottom", isOpen: isOpen, onClose: closeModalSheetBottom, ...props, children: [jsxs(Sheet.Container, { className: "modal-sheet-bottom__container", style: styles, children: [jsx(Sheet.Header, { className: "modal-sheet-bottom__header", children: closeButton && (jsx("div", { className: "modal-sheet-bottom__close", onClick: closeModalSheetBottom, children: closeButton })) }), jsx(Sheet.Content, { className: "modal-sheet-bottom__content", children:
|
|
66
|
+
return (jsxs(Sheet, { className: "modal-sheet-bottom", isOpen: isOpen, onClose: closeModalSheetBottom, ...props, children: [jsxs(Sheet.Container, { className: "modal-sheet-bottom__container", style: styles, children: [jsx(Sheet.Header, { className: "modal-sheet-bottom__header", children: closeButton && (jsx("div", { className: "modal-sheet-bottom__close", onClick: closeModalSheetBottom, children: closeButton })) }), jsx(Sheet.Content, { className: "modal-sheet-bottom__content", children: jsxs("div", { className: clsx('modal-sheet-bottom__content-wrapper', zeroPadding && 'modal-sheet-bottom__content-reset-padding'), children: [title && (jsx(Title, { className: "modal__title", width: titleTextWidth, size: titleTextSize, textColor: titleTextColor, textColorHover: titleTextColorHover, textTruncate: titleTextTruncate, textWeight: titleTextWeight, textWrap: titleTextWrap, children: title })), children] }) })] }), jsx(Sheet.Backdrop, { className: "modal-sheet-bottom__backdrop", onClick: closeModalSheetBottom })] }));
|
|
67
67
|
});
|
|
68
68
|
|
|
69
69
|
export { ModalSheetBottom, modalSheetBottomAppearance };
|
|
@@ -3,7 +3,7 @@ import clsx from 'clsx';
|
|
|
3
3
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
4
4
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
5
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
6
|
-
import { I as Icon } from '../
|
|
6
|
+
import { I as Icon } from '../Icon_es_5JUPM7bP.js';
|
|
7
7
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
8
8
|
import { icons20 } from '@itcase/icons/default';
|
|
9
9
|
import { useNotifications, useNotificationsAPI } from '../context/Notifications.js';
|
|
@@ -6,8 +6,8 @@ import ReactPaginate from 'react-paginate';
|
|
|
6
6
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
8
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
9
|
-
import { D as Dropdown, a as DropdownItem } from '../
|
|
10
|
-
import { I as Icon } from '../
|
|
9
|
+
import { D as Dropdown, a as DropdownItem } from '../DropdownItem_es_BBKtNngp.js';
|
|
10
|
+
import { I as Icon } from '../Icon_es_5JUPM7bP.js';
|
|
11
11
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
12
12
|
import { icons14, icons24, icons16 } from '@itcase/icons/default';
|
|
13
13
|
import 'lodash/camelCase';
|
|
@@ -6,7 +6,7 @@ import { urlWithAssetPrefix } from '../hoc/urlWithAssetPrefix.js';
|
|
|
6
6
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
8
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
9
|
-
import { B as Button } from '../
|
|
9
|
+
import { B as Button } from '../Button_es_B-SYHL6T.js';
|
|
10
10
|
import { G as Group } from '../Group_es_BU5k8f5S.js';
|
|
11
11
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
12
12
|
import '@itcase/common';
|
|
@@ -23,7 +23,7 @@ import '../utils/setViewportProperty.js';
|
|
|
23
23
|
import '../hooks.js';
|
|
24
24
|
import '../hooks/useStyles/styleAttributes.js';
|
|
25
25
|
import 'lodash/maxBy';
|
|
26
|
-
import '../
|
|
26
|
+
import '../Icon_es_5JUPM7bP.js';
|
|
27
27
|
import 'react-inlinesvg';
|
|
28
28
|
import '../Link_es_P2b6ya7P.js';
|
|
29
29
|
import '../Loader_es_Dq2-7sn2.js';
|
|
@@ -5,7 +5,7 @@ import clsx from 'clsx';
|
|
|
5
5
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
7
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
8
|
-
import { I as Icon } from '../
|
|
8
|
+
import { I as Icon } from '../Icon_es_5JUPM7bP.js';
|
|
9
9
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
10
10
|
import { S as Scrollbar } from '../Scrollbar_es_CcMgNvGi.js';
|
|
11
11
|
import 'lodash/camelCase';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { useRef, useMemo, createRef, useCallback, useEffect } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
|
-
import { I as Icon } from '../
|
|
4
|
+
import { I as Icon } from '../Icon_es_5JUPM7bP.js';
|
|
5
5
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
7
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import Select, { components } from 'react-select';
|
|
3
|
-
import { I as Icon, B as Badge } from '../
|
|
3
|
+
import { I as Icon, B as Badge } from '../Icon_es_5JUPM7bP.js';
|
|
4
4
|
import React, { useRef, useEffect, useMemo } from 'react';
|
|
5
5
|
import clsx from 'clsx';
|
|
6
6
|
import CreatableSelect from 'react-select/creatable';
|
|
@@ -4,7 +4,7 @@ import clsx from 'clsx';
|
|
|
4
4
|
import { Swiper as Swiper$1, SwiperSlide } from 'swiper/react';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
7
|
-
import { b as Title } from '../
|
|
7
|
+
import { b as Title } from '../Icon_es_5JUPM7bP.js';
|
|
8
8
|
import 'lodash/camelCase';
|
|
9
9
|
import 'lodash/castArray';
|
|
10
10
|
import 'lodash/upperFirst';
|
package/dist/components/Tab.js
CHANGED
|
@@ -5,7 +5,7 @@ import { useActiveClasses } from '../hooks/useActiveClasses/useActiveClasses.js'
|
|
|
5
5
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
7
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
8
|
-
import { B as Badge, I as Icon } from '../
|
|
8
|
+
import { B as Badge, I as Icon } from '../Icon_es_5JUPM7bP.js';
|
|
9
9
|
import { D as Divider } from '../Divider_es_BiYozVBS.js';
|
|
10
10
|
import { L as Link } from '../Link_es_P2b6ya7P.js';
|
|
11
11
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
package/dist/components/Tile.js
CHANGED
|
@@ -3,7 +3,7 @@ import clsx from 'clsx';
|
|
|
3
3
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
4
4
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
5
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
6
|
-
import { b as Title, B as Badge, I as Icon } from '../
|
|
6
|
+
import { b as Title, B as Badge, I as Icon } from '../Icon_es_5JUPM7bP.js';
|
|
7
7
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
8
8
|
import 'react';
|
|
9
9
|
import 'lodash/camelCase';
|
package/dist/components/Title.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { useState, Fragment } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
|
-
import { I as Icon } from '../
|
|
4
|
+
import { I as Icon } from '../Icon_es_5JUPM7bP.js';
|
|
5
5
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
6
6
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
.date-period {
|
|
2
2
|
display: flex;
|
|
3
|
+
&__choice {
|
|
4
|
+
align-items: center !important;
|
|
5
|
+
}
|
|
3
6
|
&__datepicker {
|
|
4
7
|
min-width: 220px;
|
|
5
8
|
}
|
|
@@ -27,19 +30,6 @@
|
|
|
27
30
|
background-position: -200%;
|
|
28
31
|
}
|
|
29
32
|
}
|
|
30
|
-
.date-period {
|
|
31
|
-
&_shape {
|
|
32
|
-
&_circular {
|
|
33
|
-
border-radius: 50%;
|
|
34
|
-
}
|
|
35
|
-
&_geometric {
|
|
36
|
-
border-radius: 0;
|
|
37
|
-
}
|
|
38
|
-
&_rounded {
|
|
39
|
-
border-radius: var(--date-period-shape-default);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
33
|
.date-period {
|
|
44
34
|
&_size {
|
|
45
35
|
@each $size in xxs, xs, s, m, l, xl, xxl {
|
|
@@ -60,25 +50,20 @@
|
|
|
60
50
|
}
|
|
61
51
|
}
|
|
62
52
|
:root {
|
|
63
|
-
--date-period-shape-default: 8px;
|
|
64
|
-
|
|
65
53
|
/* Size XXL */
|
|
66
54
|
--date-period-xxl-padding: 2m 2m;
|
|
67
55
|
--date-period-xxl-min-width: 48px;
|
|
68
56
|
--date-period-xxl-min-height: 48px;
|
|
69
|
-
--date-period-xxl-shape-rounded: 8px;
|
|
70
57
|
|
|
71
58
|
/* Size XL */
|
|
72
59
|
--date-period-xl-padding: 1m 1m;
|
|
73
60
|
--date-period-xl-min-width: 40px;
|
|
74
61
|
--date-period-xl-min-height: 40px;
|
|
75
|
-
--date-period-xl-shape-rounded: 8px;
|
|
76
62
|
|
|
77
63
|
/* Size L */
|
|
78
|
-
--date-period-l-padding: 0.
|
|
64
|
+
--date-period-l-padding: 0.25m 0.25m;
|
|
79
65
|
--date-period-l-min-width: 32px;
|
|
80
|
-
--date-period-l-min-height:
|
|
81
|
-
--date-period-l-shape-rounded: 8px;
|
|
66
|
+
--date-period-l-min-height: 48px;
|
|
82
67
|
--date-period-datepicker-input-l-padding: 0.5m 12px;
|
|
83
68
|
--date-period-datepicker-input-l-min-height: 32px;
|
|
84
69
|
|
|
@@ -86,23 +71,19 @@
|
|
|
86
71
|
--date-period-m-padding: 2px;
|
|
87
72
|
--date-period-m-min-width: 36px;
|
|
88
73
|
--date-period-m-min-height: 36px;
|
|
89
|
-
--date-period-m-shape-rounded: 8px;
|
|
90
74
|
|
|
91
75
|
/* Size S */
|
|
92
76
|
--date-period-s-padding: 0.25m 0.5m;
|
|
93
77
|
--date-period-s-min-width: 24px;
|
|
94
78
|
--date-period-s-min-height: 24px;
|
|
95
|
-
--date-period-s-shape-rounded: 8px;
|
|
96
79
|
|
|
97
80
|
/* Size XS */
|
|
98
81
|
--date-period-xs-padding: 0.5m 0.5m;
|
|
99
82
|
--date-period-xs-min-width: 20px;
|
|
100
83
|
--date-period-xs-min-height: 20px;
|
|
101
|
-
--date-period-xs-shape-rounded: 8px;
|
|
102
84
|
|
|
103
85
|
/* Size XXS */
|
|
104
86
|
--date-period-xxs-padding: 0.25m 0.25m;
|
|
105
87
|
--date-period-xxs-min-width: 16px;
|
|
106
88
|
--date-period-xxs-min-height: 16px;
|
|
107
|
-
--date-period-xxs-shape-rounded: 8px;
|
|
108
89
|
}
|
|
@@ -1359,7 +1359,9 @@ h2.react-datepicker__current-month {
|
|
|
1359
1359
|
);
|
|
1360
1360
|
|
|
1361
1361
|
--date-picker-day-selected-background: var(--color-accent-fill-primary);
|
|
1362
|
-
--date-picker-day-selected-background-hover: var(
|
|
1362
|
+
--date-picker-day-selected-background-hover: var(
|
|
1363
|
+
--color-accent-fill-secondary
|
|
1364
|
+
);
|
|
1363
1365
|
--date-picker-day-selected-text-color: var(--color-accent-text-primary);
|
|
1364
1366
|
--date-picker-day-selected-text-hover-color: var(--color-accent-text-primary);
|
|
1365
1367
|
|
|
@@ -4,9 +4,10 @@
|
|
|
4
4
|
align-items: center;
|
|
5
5
|
&:hover {
|
|
6
6
|
^&__tooltip {
|
|
7
|
-
visibility: visible
|
|
8
|
-
animation-duration: 0.2s
|
|
9
|
-
animation-name: menuTooltipShowAnimation
|
|
7
|
+
visibility: visible;
|
|
8
|
+
animation-duration: 0.2s;
|
|
9
|
+
animation-name: menuTooltipShowAnimation;
|
|
10
|
+
opacity: 100%;
|
|
10
11
|
}
|
|
11
12
|
}
|
|
12
13
|
&__wrapper {
|
|
@@ -15,35 +16,38 @@
|
|
|
15
16
|
display: flex;
|
|
16
17
|
align-items: center;
|
|
17
18
|
align-content: center;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
19
|
+
}
|
|
20
|
+
&__label {
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
flex-grow: 1;
|
|
24
|
+
}
|
|
25
|
+
&__tooltip {
|
|
26
|
+
position: absolute !important;
|
|
27
|
+
animation-duration: 0.1s;
|
|
28
|
+
animation-name: menuTooltipHideAnimation;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
@keyframes menuTooltipShowAnimation {
|
|
33
33
|
0% {
|
|
34
34
|
visibility: hidden;
|
|
35
|
+
opacity: 0%;
|
|
35
36
|
}
|
|
36
37
|
100% {
|
|
37
38
|
visibility: visible;
|
|
39
|
+
opacity: 100%;
|
|
38
40
|
}
|
|
39
41
|
}
|
|
40
42
|
|
|
41
43
|
@keyframes menuTooltipHideAnimation {
|
|
42
44
|
0% {
|
|
43
45
|
visibility: visible;
|
|
46
|
+
opacity: 100%;
|
|
44
47
|
}
|
|
45
48
|
100% {
|
|
46
49
|
visibility: hidden;
|
|
50
|
+
opacity: 0%;
|
|
47
51
|
}
|
|
48
52
|
}
|
|
49
53
|
|