@itcase/ui 1.8.129 → 1.8.130
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/{Group_cjs_DmfeUcFI.js → Group_cjs_DxyobxPf.js} +2 -2
- package/dist/{Group_es_BU5k8f5S.js → Group_es_DJ6GHMrs.js} +2 -2
- package/dist/cjs/components/AvatarStack.js +1 -1
- package/dist/cjs/components/Group.js +1 -1
- package/dist/cjs/components/MenuItem.js +1 -1
- package/dist/cjs/components/Response.js +1 -1
- package/dist/cjs/components/Select.js +1 -1
- package/dist/cjs/hooks/useStyles/styleAttributes.js +5 -1
- package/dist/components/AvatarStack.js +1 -1
- package/dist/components/Group.js +1 -1
- package/dist/components/MenuItem.js +1 -1
- package/dist/components/Response.js +1 -1
- package/dist/components/Select.js +1 -1
- package/dist/css/components/MenuItem/MenuItem.css +1 -4
- package/dist/css/styles/bundle.css +104 -0
- package/dist/css/styles/easing/easing.css +104 -0
- package/dist/hooks/useStyles/styleAttributes.js +5 -1
- package/package.json +1 -1
|
@@ -24,13 +24,13 @@ const groupConfig = {
|
|
|
24
24
|
},
|
|
25
25
|
};
|
|
26
26
|
const Group = React.forwardRef(function Group(props, ref) {
|
|
27
|
-
const { id, dataTestId, dataTour, className, name, appearance, isDisabled, htmlFor, scroll, style, tag: Tag = 'div', isActive, onClick, onMouseDown, children, } = props;
|
|
27
|
+
const { id, dataTestId, dataTour, className, easing, name, appearance, isDisabled, htmlFor, scroll, style, tag: Tag = 'div', isActive, onClick, onMouseDown, children, } = props;
|
|
28
28
|
const appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, groupConfig);
|
|
29
29
|
const propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
|
|
30
30
|
const { directionClass, flexGrowClass, justifyContentClass, alignClass, alignDirectionClass, fillActiveClass, fillActiveHoverClass, fillClass, fillDisabledClass, fillHoverClass, borderColorActiveClass, borderColorActiveHoverClass, borderColorClass, borderColorHoverClass, borderTypeClass, borderWidthClass, textColorActiveClass, textColorClass, textColorHoverClass, columnsClass, elevationClass, heightClass, iconFillHoverClass, shapeClass, stackingClass, widthClass, wrapClass, } = propsGenerator;
|
|
31
31
|
// @ts-expect-error
|
|
32
32
|
const { styles: groupStyles } = useStyles.useStyles(props);
|
|
33
|
-
return (jsxRuntime.jsx(Tag, { id: id, "data-test-id": dataTestId, "data-tour": dataTour, className: clsx(className, 'group', widthClass && `width_${widthClass}`, heightClass && `height_${heightClass}`, columnsClass && `group_columns_${columnsClass}`, alignDirectionClass && `align_${alignDirectionClass}`, directionClass && `group_direction_${directionClass}`, alignClass && `align_${alignClass}`, justifyContentClass && `justify-content_${justifyContentClass}`, textColorClass && `group_text-color_${textColorClass}`, textColorActiveClass &&
|
|
33
|
+
return (jsxRuntime.jsx(Tag, { id: id, "data-test-id": dataTestId, "data-tour": dataTour, className: clsx(className, 'group', easing && `easing_${easing}`, widthClass && `width_${widthClass}`, heightClass && `height_${heightClass}`, columnsClass && `group_columns_${columnsClass}`, alignDirectionClass && `align_${alignDirectionClass}`, directionClass && `group_direction_${directionClass}`, alignClass && `align_${alignClass}`, justifyContentClass && `justify-content_${justifyContentClass}`, textColorClass && `group_text-color_${textColorClass}`, textColorActiveClass &&
|
|
34
34
|
`group_text-color_active_${textColorActiveClass}`, textColorHoverClass && `group_text-color_hover_${textColorHoverClass}`, iconFillHoverClass && `group_icon_fill_hover_${iconFillHoverClass}`, !isDisabled
|
|
35
35
|
? !isActive
|
|
36
36
|
? fillClass && `fill_${fillClass}`
|
|
@@ -22,13 +22,13 @@ const groupConfig = {
|
|
|
22
22
|
},
|
|
23
23
|
};
|
|
24
24
|
const Group = React.forwardRef(function Group(props, ref) {
|
|
25
|
-
const { id, dataTestId, dataTour, className, name, appearance, isDisabled, htmlFor, scroll, style, tag: Tag = 'div', isActive, onClick, onMouseDown, children, } = props;
|
|
25
|
+
const { id, dataTestId, dataTour, className, easing, name, appearance, isDisabled, htmlFor, scroll, style, tag: Tag = 'div', isActive, onClick, onMouseDown, children, } = props;
|
|
26
26
|
const appearanceConfig = useAppearanceConfig(appearance, groupConfig);
|
|
27
27
|
const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
28
28
|
const { directionClass, flexGrowClass, justifyContentClass, alignClass, alignDirectionClass, fillActiveClass, fillActiveHoverClass, fillClass, fillDisabledClass, fillHoverClass, borderColorActiveClass, borderColorActiveHoverClass, borderColorClass, borderColorHoverClass, borderTypeClass, borderWidthClass, textColorActiveClass, textColorClass, textColorHoverClass, columnsClass, elevationClass, heightClass, iconFillHoverClass, shapeClass, stackingClass, widthClass, wrapClass, } = propsGenerator;
|
|
29
29
|
// @ts-expect-error
|
|
30
30
|
const { styles: groupStyles } = useStyles(props);
|
|
31
|
-
return (jsx(Tag, { id: id, "data-test-id": dataTestId, "data-tour": dataTour, className: clsx(className, 'group', widthClass && `width_${widthClass}`, heightClass && `height_${heightClass}`, columnsClass && `group_columns_${columnsClass}`, alignDirectionClass && `align_${alignDirectionClass}`, directionClass && `group_direction_${directionClass}`, alignClass && `align_${alignClass}`, justifyContentClass && `justify-content_${justifyContentClass}`, textColorClass && `group_text-color_${textColorClass}`, textColorActiveClass &&
|
|
31
|
+
return (jsx(Tag, { id: id, "data-test-id": dataTestId, "data-tour": dataTour, className: clsx(className, 'group', easing && `easing_${easing}`, widthClass && `width_${widthClass}`, heightClass && `height_${heightClass}`, columnsClass && `group_columns_${columnsClass}`, alignDirectionClass && `align_${alignDirectionClass}`, directionClass && `group_direction_${directionClass}`, alignClass && `align_${alignClass}`, justifyContentClass && `justify-content_${justifyContentClass}`, textColorClass && `group_text-color_${textColorClass}`, textColorActiveClass &&
|
|
32
32
|
`group_text-color_active_${textColorActiveClass}`, textColorHoverClass && `group_text-color_hover_${textColorHoverClass}`, iconFillHoverClass && `group_icon_fill_hover_${iconFillHoverClass}`, !isDisabled
|
|
33
33
|
? !isActive
|
|
34
34
|
? fillClass && `fill_${fillClass}`
|
|
@@ -6,7 +6,7 @@ var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceCon
|
|
|
6
6
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
7
7
|
var useStyles = require('../hooks/useStyles/useStyles.js');
|
|
8
8
|
var Avatar = require('../../Avatar_cjs_D-M9sW20.js');
|
|
9
|
-
var Group = require('../../
|
|
9
|
+
var Group = require('../../Group_cjs_DxyobxPf.js');
|
|
10
10
|
var Text = require('../../Text_cjs_DaH5tVvz.js');
|
|
11
11
|
require('react');
|
|
12
12
|
require('lodash/camelCase');
|
|
@@ -244,7 +244,7 @@ function MenuItem(props) {
|
|
|
244
244
|
: fillActiveHoverClass && `fill_active_hover_${fillActiveHoverClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass
|
|
245
245
|
? `shape-strength_${shapeStrengthClass}`
|
|
246
246
|
: shapeClass === 'rounded' && 'shape-strength_default', typeClass && `menu-item_type_${typeClass}`, widthClass && `width_${widthClass}`, justifyContentClass &&
|
|
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: "
|
|
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: "2m", text: tooltipText, textColor: tooltipTextColor, textSize: tooltipTextSize,
|
|
248
248
|
// centering="vertical"
|
|
249
249
|
shape: tooltipShape, shapeStrength: tooltipShapeStrength, isTooltipDisableState: true }))] }));
|
|
250
250
|
}
|
|
@@ -9,7 +9,7 @@ var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceCon
|
|
|
9
9
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
10
10
|
var useStyles = require('../hooks/useStyles/useStyles.js');
|
|
11
11
|
var Button = require('../../Button_cjs_BxoEdSG6.js');
|
|
12
|
-
var Group = require('../../
|
|
12
|
+
var Group = require('../../Group_cjs_DxyobxPf.js');
|
|
13
13
|
var Text = require('../../Text_cjs_DaH5tVvz.js');
|
|
14
14
|
require('@itcase/common');
|
|
15
15
|
require('../context/UrlAssetPrefix.js');
|
|
@@ -6,7 +6,7 @@ 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');
|
|
9
|
-
var Group = require('../../
|
|
9
|
+
var Group = require('../../Group_cjs_DxyobxPf.js');
|
|
10
10
|
var Text = require('../../Text_cjs_DaH5tVvz.js');
|
|
11
11
|
var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
12
12
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
@@ -41,6 +41,10 @@ var styleAttributes = [
|
|
|
41
41
|
/**
|
|
42
42
|
* Filter
|
|
43
43
|
*/
|
|
44
|
-
'backdropFilter'
|
|
44
|
+
'backdropFilter',
|
|
45
|
+
/**
|
|
46
|
+
* transition
|
|
47
|
+
*/
|
|
48
|
+
'transition', 'transitionBehavior', 'transitionDelay', 'transitionDuration', 'transitionProperty', 'transitionTimingFunction'];
|
|
45
49
|
|
|
46
50
|
exports.default = styleAttributes;
|
|
@@ -4,7 +4,7 @@ import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceC
|
|
|
4
4
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
5
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
6
6
|
import { A as Avatar } from '../Avatar_es_BTvbT36l.js';
|
|
7
|
-
import { G as Group } from '../
|
|
7
|
+
import { G as Group } from '../Group_es_DJ6GHMrs.js';
|
|
8
8
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
9
9
|
import 'react';
|
|
10
10
|
import 'lodash/camelCase';
|
package/dist/components/Group.js
CHANGED
|
@@ -242,7 +242,7 @@ function MenuItem(props) {
|
|
|
242
242
|
: fillActiveHoverClass && `fill_active_hover_${fillActiveHoverClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass
|
|
243
243
|
? `shape-strength_${shapeStrengthClass}`
|
|
244
244
|
: shapeClass === 'rounded' && 'shape-strength_default', typeClass && `menu-item_type_${typeClass}`, widthClass && `width_${widthClass}`, justifyContentClass &&
|
|
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: "
|
|
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: "2m", text: tooltipText, textColor: tooltipTextColor, textSize: tooltipTextSize,
|
|
246
246
|
// centering="vertical"
|
|
247
247
|
shape: tooltipShape, shapeStrength: tooltipShapeStrength, isTooltipDisableState: true }))] }));
|
|
248
248
|
}
|
|
@@ -7,7 +7,7 @@ import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceC
|
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
8
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
9
9
|
import { B as Button } from '../Button_es_B-SYHL6T.js';
|
|
10
|
-
import { G as Group } from '../
|
|
10
|
+
import { G as Group } from '../Group_es_DJ6GHMrs.js';
|
|
11
11
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
12
12
|
import '@itcase/common';
|
|
13
13
|
import '../context/UrlAssetPrefix.js';
|
|
@@ -4,7 +4,7 @@ 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';
|
|
7
|
-
import { G as Group } from '../
|
|
7
|
+
import { G as Group } from '../Group_es_DJ6GHMrs.js';
|
|
8
8
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
9
9
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
10
10
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
flex-grow: 1;
|
|
24
24
|
}
|
|
25
25
|
&__tooltip {
|
|
26
|
+
visibility: hidden;
|
|
26
27
|
position: absolute !important;
|
|
27
28
|
animation-duration: 0.1s;
|
|
28
29
|
animation-name: menuTooltipHideAnimation;
|
|
@@ -31,22 +32,18 @@
|
|
|
31
32
|
|
|
32
33
|
@keyframes menuTooltipShowAnimation {
|
|
33
34
|
0% {
|
|
34
|
-
visibility: hidden;
|
|
35
35
|
opacity: 0%;
|
|
36
36
|
}
|
|
37
37
|
100% {
|
|
38
|
-
visibility: visible;
|
|
39
38
|
opacity: 100%;
|
|
40
39
|
}
|
|
41
40
|
}
|
|
42
41
|
|
|
43
42
|
@keyframes menuTooltipHideAnimation {
|
|
44
43
|
0% {
|
|
45
|
-
visibility: visible;
|
|
46
44
|
opacity: 100%;
|
|
47
45
|
}
|
|
48
46
|
100% {
|
|
49
|
-
visibility: hidden;
|
|
50
47
|
opacity: 0%;
|
|
51
48
|
}
|
|
52
49
|
}
|
|
@@ -773,6 +773,110 @@ div.alignment {
|
|
|
773
773
|
}
|
|
774
774
|
}
|
|
775
775
|
}
|
|
776
|
+
div.easing {
|
|
777
|
+
&_ease {
|
|
778
|
+
transition: all 600ms ease;
|
|
779
|
+
}
|
|
780
|
+
&_linear {
|
|
781
|
+
transition: all 600ms linear;
|
|
782
|
+
}
|
|
783
|
+
&_easeIn {
|
|
784
|
+
transition: all 600ms ease-in;
|
|
785
|
+
}
|
|
786
|
+
&_easeOut {
|
|
787
|
+
transition: all 600ms ease-out;
|
|
788
|
+
}
|
|
789
|
+
&_easeInSine {
|
|
790
|
+
transition: all 600ms easeInSine;
|
|
791
|
+
}
|
|
792
|
+
&_easeOutSine {
|
|
793
|
+
transition: all 600ms easeOutSine;
|
|
794
|
+
}
|
|
795
|
+
&_easeInOutSine {
|
|
796
|
+
transition: all 600ms easeInOutSine;
|
|
797
|
+
}
|
|
798
|
+
&_easeInQuad {
|
|
799
|
+
transition: all 600ms easeInQuad;
|
|
800
|
+
}
|
|
801
|
+
&_easeOutQuad {
|
|
802
|
+
transition: all 600ms easeOutQuad;
|
|
803
|
+
}
|
|
804
|
+
&_easeInOutQuad {
|
|
805
|
+
transition: all 600ms easeInOutQuad;
|
|
806
|
+
}
|
|
807
|
+
&_easeInCubic {
|
|
808
|
+
transition: all 600ms easeInCubic;
|
|
809
|
+
}
|
|
810
|
+
&_easeOutCubic {
|
|
811
|
+
transition: all 600ms easeOutCubic;
|
|
812
|
+
}
|
|
813
|
+
&_easeInOutCubic {
|
|
814
|
+
transition: all 600ms easeInOutCubic;
|
|
815
|
+
}
|
|
816
|
+
&_easeInQuart {
|
|
817
|
+
transition: all 600ms easeInQuart;
|
|
818
|
+
}
|
|
819
|
+
&_easeOutQuart {
|
|
820
|
+
transition: all 600ms easeOutQuart;
|
|
821
|
+
}
|
|
822
|
+
&_easeInOutQuart {
|
|
823
|
+
transition: all 600ms easeInOutQuart;
|
|
824
|
+
}
|
|
825
|
+
&_easeInQuint {
|
|
826
|
+
transition: all 600ms easeInQuint;
|
|
827
|
+
}
|
|
828
|
+
&_easeOutQuint {
|
|
829
|
+
transition: all 600ms easeOutQuint;
|
|
830
|
+
}
|
|
831
|
+
&_easeInOutQuint {
|
|
832
|
+
transition: all 600ms easeInOutQuint;
|
|
833
|
+
}
|
|
834
|
+
&_easeInExpo {
|
|
835
|
+
transition: all 600ms easeInExpo;
|
|
836
|
+
}
|
|
837
|
+
&_easeOutExpo {
|
|
838
|
+
transition: all 600ms easeOutExpo;
|
|
839
|
+
}
|
|
840
|
+
&_easeInOutExpo {
|
|
841
|
+
transition: all 600ms easeInOutExpo;
|
|
842
|
+
}
|
|
843
|
+
&_easeInCirc {
|
|
844
|
+
transition: all 600ms easeInCirc;
|
|
845
|
+
}
|
|
846
|
+
&_easeOutCirc {
|
|
847
|
+
transition: all 600ms easeOutCirc;
|
|
848
|
+
}
|
|
849
|
+
&_easeInOutCirc {
|
|
850
|
+
transition: all 600ms easeInOutCirc;
|
|
851
|
+
}
|
|
852
|
+
&_easeInBack {
|
|
853
|
+
transition: all 600ms easeInBack;
|
|
854
|
+
}
|
|
855
|
+
&_easeOutBack {
|
|
856
|
+
transition: all 600ms easeOutBack;
|
|
857
|
+
}
|
|
858
|
+
&_easeInOutBack {
|
|
859
|
+
transition: all 600ms easeInOutBack;
|
|
860
|
+
}
|
|
861
|
+
&_easeInElastic {
|
|
862
|
+
transition: all 600ms easeInElastic;
|
|
863
|
+
}
|
|
864
|
+
&_easeOutElastic {
|
|
865
|
+
transition: all 600ms easeOutElastic;
|
|
866
|
+
}
|
|
867
|
+
&_easeInOutElastic {
|
|
868
|
+
transition: all 600ms easeInOutElastic;
|
|
869
|
+
}
|
|
870
|
+
&_easeInBounce {
|
|
871
|
+
transition: all 600ms easeInBounce;
|
|
872
|
+
}
|
|
873
|
+
&_easeOutBounce {
|
|
874
|
+
transition: all 600ms easeOutBounce;
|
|
875
|
+
}
|
|
876
|
+
&_easeInOutBounce {
|
|
877
|
+
transition: all 600ms easeInOutBounce;
|
|
878
|
+
}
|
|
879
|
+
}
|
|
776
880
|
.elevation {
|
|
777
881
|
@each $val in 1, 2, 4, 6, 8, 12, 16, 24 {
|
|
778
882
|
&_$(val) {
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
div.easing {
|
|
2
|
+
&_ease {
|
|
3
|
+
transition: all 600ms ease;
|
|
4
|
+
}
|
|
5
|
+
&_linear {
|
|
6
|
+
transition: all 600ms linear;
|
|
7
|
+
}
|
|
8
|
+
&_easeIn {
|
|
9
|
+
transition: all 600ms ease-in;
|
|
10
|
+
}
|
|
11
|
+
&_easeOut {
|
|
12
|
+
transition: all 600ms ease-out;
|
|
13
|
+
}
|
|
14
|
+
&_easeInSine {
|
|
15
|
+
transition: all 600ms easeInSine;
|
|
16
|
+
}
|
|
17
|
+
&_easeOutSine {
|
|
18
|
+
transition: all 600ms easeOutSine;
|
|
19
|
+
}
|
|
20
|
+
&_easeInOutSine {
|
|
21
|
+
transition: all 600ms easeInOutSine;
|
|
22
|
+
}
|
|
23
|
+
&_easeInQuad {
|
|
24
|
+
transition: all 600ms easeInQuad;
|
|
25
|
+
}
|
|
26
|
+
&_easeOutQuad {
|
|
27
|
+
transition: all 600ms easeOutQuad;
|
|
28
|
+
}
|
|
29
|
+
&_easeInOutQuad {
|
|
30
|
+
transition: all 600ms easeInOutQuad;
|
|
31
|
+
}
|
|
32
|
+
&_easeInCubic {
|
|
33
|
+
transition: all 600ms easeInCubic;
|
|
34
|
+
}
|
|
35
|
+
&_easeOutCubic {
|
|
36
|
+
transition: all 600ms easeOutCubic;
|
|
37
|
+
}
|
|
38
|
+
&_easeInOutCubic {
|
|
39
|
+
transition: all 600ms easeInOutCubic;
|
|
40
|
+
}
|
|
41
|
+
&_easeInQuart {
|
|
42
|
+
transition: all 600ms easeInQuart;
|
|
43
|
+
}
|
|
44
|
+
&_easeOutQuart {
|
|
45
|
+
transition: all 600ms easeOutQuart;
|
|
46
|
+
}
|
|
47
|
+
&_easeInOutQuart {
|
|
48
|
+
transition: all 600ms easeInOutQuart;
|
|
49
|
+
}
|
|
50
|
+
&_easeInQuint {
|
|
51
|
+
transition: all 600ms easeInQuint;
|
|
52
|
+
}
|
|
53
|
+
&_easeOutQuint {
|
|
54
|
+
transition: all 600ms easeOutQuint;
|
|
55
|
+
}
|
|
56
|
+
&_easeInOutQuint {
|
|
57
|
+
transition: all 600ms easeInOutQuint;
|
|
58
|
+
}
|
|
59
|
+
&_easeInExpo {
|
|
60
|
+
transition: all 600ms easeInExpo;
|
|
61
|
+
}
|
|
62
|
+
&_easeOutExpo {
|
|
63
|
+
transition: all 600ms easeOutExpo;
|
|
64
|
+
}
|
|
65
|
+
&_easeInOutExpo {
|
|
66
|
+
transition: all 600ms easeInOutExpo;
|
|
67
|
+
}
|
|
68
|
+
&_easeInCirc {
|
|
69
|
+
transition: all 600ms easeInCirc;
|
|
70
|
+
}
|
|
71
|
+
&_easeOutCirc {
|
|
72
|
+
transition: all 600ms easeOutCirc;
|
|
73
|
+
}
|
|
74
|
+
&_easeInOutCirc {
|
|
75
|
+
transition: all 600ms easeInOutCirc;
|
|
76
|
+
}
|
|
77
|
+
&_easeInBack {
|
|
78
|
+
transition: all 600ms easeInBack;
|
|
79
|
+
}
|
|
80
|
+
&_easeOutBack {
|
|
81
|
+
transition: all 600ms easeOutBack;
|
|
82
|
+
}
|
|
83
|
+
&_easeInOutBack {
|
|
84
|
+
transition: all 600ms easeInOutBack;
|
|
85
|
+
}
|
|
86
|
+
&_easeInElastic {
|
|
87
|
+
transition: all 600ms easeInElastic;
|
|
88
|
+
}
|
|
89
|
+
&_easeOutElastic {
|
|
90
|
+
transition: all 600ms easeOutElastic;
|
|
91
|
+
}
|
|
92
|
+
&_easeInOutElastic {
|
|
93
|
+
transition: all 600ms easeInOutElastic;
|
|
94
|
+
}
|
|
95
|
+
&_easeInBounce {
|
|
96
|
+
transition: all 600ms easeInBounce;
|
|
97
|
+
}
|
|
98
|
+
&_easeOutBounce {
|
|
99
|
+
transition: all 600ms easeOutBounce;
|
|
100
|
+
}
|
|
101
|
+
&_easeInOutBounce {
|
|
102
|
+
transition: all 600ms easeInOutBounce;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
@@ -37,6 +37,10 @@ var styleAttributes = [
|
|
|
37
37
|
/**
|
|
38
38
|
* Filter
|
|
39
39
|
*/
|
|
40
|
-
'backdropFilter'
|
|
40
|
+
'backdropFilter',
|
|
41
|
+
/**
|
|
42
|
+
* transition
|
|
43
|
+
*/
|
|
44
|
+
'transition', 'transitionBehavior', 'transitionDelay', 'transitionDuration', 'transitionProperty', 'transitionTimingFunction'];
|
|
41
45
|
|
|
42
46
|
export { styleAttributes as default };
|