@itcase/ui 1.2.21 → 1.2.23
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/{Button--5mnRJi2.js → Button-BLcVDStV.js} +1 -1
- package/dist/{Button-D1PnF1C-.js → Button-DawNa85U.js} +1 -1
- package/dist/{Icon-D-zjcPll.js → Icon-BeHO7N79.js} +5 -4
- package/dist/{Icon-DD_Vyrw0.js → Icon-DQWyj5EO.js} +6 -5
- package/dist/{Label-CpSzGRtr.js → Label-B0O9q0E4.js} +1 -1
- package/dist/{Label-BA_CnRBq.js → Label-D8DRdqad.js} +1 -1
- package/dist/{Tooltip-DJufHBiQ.js → Tooltip-aaDRYNWY.js} +21 -13
- package/dist/{Tooltip-DkTKx9n-.js → Tooltip-xGmgUzGr.js} +21 -13
- package/dist/cjs/components/Accordion.js +2 -2
- package/dist/cjs/components/Avatar.js +2 -2
- package/dist/cjs/components/Breadcrumbs.js +2 -2
- package/dist/cjs/components/Button.js +3 -3
- package/dist/cjs/components/Cell.js +13 -9
- package/dist/cjs/components/Choice.js +11 -3
- package/dist/cjs/components/ContextMenu.js +2 -2
- package/dist/cjs/components/CookiesWarning.js +3 -3
- package/dist/cjs/components/DatePicker.js +4 -4
- package/dist/cjs/components/Grid.js +5 -1
- package/dist/cjs/components/Icon.js +2 -2
- package/dist/cjs/components/InputPassword.js +2 -2
- package/dist/cjs/components/Label.js +2 -2
- package/dist/cjs/components/LanguageSelector.js +2 -2
- package/dist/cjs/components/Pagination.js +2 -2
- package/dist/cjs/components/Response.js +3 -3
- package/dist/cjs/components/Search.js +2 -2
- package/dist/cjs/components/Select.js +2 -2
- package/dist/cjs/components/SiteMenu.js +2 -2
- package/dist/cjs/components/Tooltip.js +1 -1
- package/dist/components/Accordion.js +2 -2
- package/dist/components/Avatar.js +2 -2
- package/dist/components/Breadcrumbs.js +2 -2
- package/dist/components/Button.js +3 -3
- package/dist/components/Cell.js +13 -9
- package/dist/components/Choice.js +11 -3
- package/dist/components/ContextMenu.js +2 -2
- package/dist/components/CookiesWarning.js +3 -3
- package/dist/components/DatePicker.js +4 -4
- package/dist/components/Grid.js +5 -1
- package/dist/components/Icon.js +2 -2
- package/dist/components/InputPassword.js +2 -2
- package/dist/components/Label.js +2 -2
- package/dist/components/LanguageSelector.js +2 -2
- package/dist/components/Pagination.js +2 -2
- package/dist/components/Response.js +3 -3
- package/dist/components/Search.js +2 -2
- package/dist/components/Select.js +2 -2
- package/dist/components/SiteMenu.js +2 -2
- package/dist/components/Tooltip.js +1 -1
- package/dist/css/components/Accordion/Accordion.css +3 -0
- package/dist/css/components/Cell/Cell.css +23 -0
- package/dist/css/components/Drawer/Drawer.css +2 -2
- package/dist/css/components/Icon/Icon.css +4 -3
- package/dist/css/components/Tooltip/Tooltip.css +21 -0
- package/dist/types/components/Cell/Cell.interface.d.ts +8 -6
- package/dist/types/components/Icon/Icon.d.ts +3 -3
- package/dist/types/components/Icon/Icon.interface.d.ts +34 -32
- package/dist/types/components/Label/Label.interface.d.ts +1 -1
- package/dist/types/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/types/components/Tooltip/Tooltip.interface.d.ts +4 -3
- package/package.json +24 -24
|
@@ -7,7 +7,7 @@ var ceil = require('lodash/ceil');
|
|
|
7
7
|
var ReactPaginate = require('react-paginate');
|
|
8
8
|
var useDeviceTargetClass = require('../hooks/useDeviceTargetClass.js');
|
|
9
9
|
var DropdownItem = require('../../DropdownItem-D52wxY6I.js');
|
|
10
|
-
var Icon = require('../../Icon-
|
|
10
|
+
var Icon = require('../../Icon-BeHO7N79.js');
|
|
11
11
|
var Text = require('../../Text-_YhyTsQ1.js');
|
|
12
12
|
require('lodash/castArray');
|
|
13
13
|
require('lodash/camelCase');
|
|
@@ -23,7 +23,7 @@ require('../../Divider-BjB5MD6u.js');
|
|
|
23
23
|
require('../../Link-CqWzwh8V.js');
|
|
24
24
|
require('../../tslib.es6-CCZ3TN_7.js');
|
|
25
25
|
require('react-inlinesvg');
|
|
26
|
-
require('../../Tooltip-
|
|
26
|
+
require('../../Tooltip-xGmgUzGr.js');
|
|
27
27
|
require('../../Title-zwP6c2U2.js');
|
|
28
28
|
|
|
29
29
|
function Pagination(props) {
|
|
@@ -6,7 +6,7 @@ var clsx = require('clsx');
|
|
|
6
6
|
var SVG = require('react-inlinesvg');
|
|
7
7
|
var useDeviceTargetClass = require('../hooks/useDeviceTargetClass.js');
|
|
8
8
|
var useStyles = require('../hooks/useStyles.js');
|
|
9
|
-
var Button = require('../../Button-
|
|
9
|
+
var Button = require('../../Button-DawNa85U.js');
|
|
10
10
|
var Group = require('../../Group-B2oTJg0t.js');
|
|
11
11
|
var Text = require('../../Text-_YhyTsQ1.js');
|
|
12
12
|
var Title = require('../../Title-zwP6c2U2.js');
|
|
@@ -19,10 +19,10 @@ require('react-responsive');
|
|
|
19
19
|
require('lodash/maxBy');
|
|
20
20
|
require('lodash/upperFirst');
|
|
21
21
|
require('../hooks/styleAttributes.js');
|
|
22
|
-
require('../../Icon-
|
|
22
|
+
require('../../Icon-BeHO7N79.js');
|
|
23
23
|
require('../../Link-CqWzwh8V.js');
|
|
24
24
|
require('../../tslib.es6-CCZ3TN_7.js');
|
|
25
|
-
require('../../Tooltip-
|
|
25
|
+
require('../../Tooltip-xGmgUzGr.js');
|
|
26
26
|
require('../../Loader-fA11tUEJ.js');
|
|
27
27
|
|
|
28
28
|
var responseConfig = {
|
|
@@ -5,7 +5,7 @@ var React = require('react');
|
|
|
5
5
|
var clsx = require('clsx');
|
|
6
6
|
var useDeviceTargetClass = require('../hooks/useDeviceTargetClass.js');
|
|
7
7
|
var useStyles = require('../hooks/useStyles.js');
|
|
8
|
-
var Icon = require('../../Icon-
|
|
8
|
+
var Icon = require('../../Icon-BeHO7N79.js');
|
|
9
9
|
var Text = require('../../Text-_YhyTsQ1.js');
|
|
10
10
|
var Scrollbar = require('../../Scrollbar-DVlIZzvz.js');
|
|
11
11
|
require('lodash/castArray');
|
|
@@ -20,7 +20,7 @@ require('../hooks/styleAttributes.js');
|
|
|
20
20
|
require('react-inlinesvg');
|
|
21
21
|
require('../../Link-CqWzwh8V.js');
|
|
22
22
|
require('../../tslib.es6-CCZ3TN_7.js');
|
|
23
|
-
require('../../Tooltip-
|
|
23
|
+
require('../../Tooltip-xGmgUzGr.js');
|
|
24
24
|
require('../../Title-zwP6c2U2.js');
|
|
25
25
|
require('react-scrollbars-custom');
|
|
26
26
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var tslib_es6 = require('../../tslib.es6-CCZ3TN_7.js');
|
|
4
4
|
var jsxRuntime = require('react/jsx-runtime');
|
|
5
5
|
var Select = require('react-select');
|
|
6
|
-
var Icon = require('../../Icon-
|
|
6
|
+
var Icon = require('../../Icon-BeHO7N79.js');
|
|
7
7
|
var React = require('react');
|
|
8
8
|
var clsx = require('clsx');
|
|
9
9
|
var CreatableSelect = require('react-select/creatable');
|
|
@@ -23,7 +23,7 @@ require('../hooks/useMediaQueries.js');
|
|
|
23
23
|
require('react-responsive');
|
|
24
24
|
require('../hooks/styleAttributes.js');
|
|
25
25
|
require('../../Link-CqWzwh8V.js');
|
|
26
|
-
require('../../Tooltip-
|
|
26
|
+
require('../../Tooltip-xGmgUzGr.js');
|
|
27
27
|
require('../../Title-zwP6c2U2.js');
|
|
28
28
|
require('lodash/castArray');
|
|
29
29
|
|
|
@@ -5,7 +5,7 @@ var React = require('react');
|
|
|
5
5
|
var clsx = require('clsx');
|
|
6
6
|
var UIContext = require('../context/UIContext.js');
|
|
7
7
|
var useDeviceTargetClass = require('../hooks/useDeviceTargetClass.js');
|
|
8
|
-
var Icon = require('../../Icon-
|
|
8
|
+
var Icon = require('../../Icon-BeHO7N79.js');
|
|
9
9
|
var Text = require('../../Text-_YhyTsQ1.js');
|
|
10
10
|
require('prop-types');
|
|
11
11
|
require('../hooks/useMediaQueries.js');
|
|
@@ -19,7 +19,7 @@ require('lodash/upperFirst');
|
|
|
19
19
|
require('../hooks/styleAttributes.js');
|
|
20
20
|
require('../../Link-CqWzwh8V.js');
|
|
21
21
|
require('../../tslib.es6-CCZ3TN_7.js');
|
|
22
|
-
require('../../Tooltip-
|
|
22
|
+
require('../../Tooltip-xGmgUzGr.js');
|
|
23
23
|
require('../../Title-zwP6c2U2.js');
|
|
24
24
|
|
|
25
25
|
function SiteMenu(props) {
|
|
@@ -6,7 +6,7 @@ import castArray from 'lodash/castArray';
|
|
|
6
6
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
7
7
|
import { useStyles } from '../hooks/useStyles.js';
|
|
8
8
|
import { D as Divider } from '../Divider-U5UdY-ef.js';
|
|
9
|
-
import { I as Icon } from '../Icon-
|
|
9
|
+
import { I as Icon } from '../Icon-DQWyj5EO.js';
|
|
10
10
|
import { T as Text } from '../Text-CG3xPG27.js';
|
|
11
11
|
import 'lodash/camelCase';
|
|
12
12
|
import '../context/UIContext.js';
|
|
@@ -18,7 +18,7 @@ import 'lodash/upperFirst';
|
|
|
18
18
|
import '../hooks/styleAttributes.js';
|
|
19
19
|
import 'react-inlinesvg';
|
|
20
20
|
import '../Link-CeQuavin.js';
|
|
21
|
-
import '../Tooltip-
|
|
21
|
+
import '../Tooltip-aaDRYNWY.js';
|
|
22
22
|
import '../Title-BfSFPJtJ.js';
|
|
23
23
|
|
|
24
24
|
var ChevronDown16 = function ChevronDown16(props) {
|
|
@@ -2,7 +2,7 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
5
|
-
import { I as Icon } from '../Icon-
|
|
5
|
+
import { I as Icon } from '../Icon-DQWyj5EO.js';
|
|
6
6
|
import { I as Image } from '../Image-8t6PvsaZ.js';
|
|
7
7
|
import { T as Text } from '../Text-CG3xPG27.js';
|
|
8
8
|
import 'lodash/castArray';
|
|
@@ -18,7 +18,7 @@ import 'lodash/upperFirst';
|
|
|
18
18
|
import '../hooks/styleAttributes.js';
|
|
19
19
|
import '../Link-CeQuavin.js';
|
|
20
20
|
import '../tslib.es6-5FtW-kfi.js';
|
|
21
|
-
import '../Tooltip-
|
|
21
|
+
import '../Tooltip-aaDRYNWY.js';
|
|
22
22
|
import '../Title-BfSFPJtJ.js';
|
|
23
23
|
|
|
24
24
|
function Avatar(props) {
|
|
@@ -5,7 +5,7 @@ import clsx from 'clsx';
|
|
|
5
5
|
import camelCase from 'lodash/camelCase';
|
|
6
6
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
7
7
|
import { useStyles } from '../hooks/useStyles.js';
|
|
8
|
-
import { I as Icon } from '../Icon-
|
|
8
|
+
import { I as Icon } from '../Icon-DQWyj5EO.js';
|
|
9
9
|
import { a as LinkWrapper } from '../Link-CeQuavin.js';
|
|
10
10
|
import { T as Text } from '../Text-CG3xPG27.js';
|
|
11
11
|
import 'lodash/castArray';
|
|
@@ -17,7 +17,7 @@ import 'lodash/maxBy';
|
|
|
17
17
|
import 'lodash/upperFirst';
|
|
18
18
|
import '../hooks/styleAttributes.js';
|
|
19
19
|
import 'react-inlinesvg';
|
|
20
|
-
import '../Tooltip-
|
|
20
|
+
import '../Tooltip-aaDRYNWY.js';
|
|
21
21
|
import '../Title-BfSFPJtJ.js';
|
|
22
22
|
|
|
23
23
|
function BreadcrumbsItem(props) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { B as Button, b as buttonConfig } from '../Button
|
|
1
|
+
export { B as Button, b as buttonConfig } from '../Button-BLcVDStV.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -13,11 +13,11 @@ import '../hooks/useStyles.js';
|
|
|
13
13
|
import 'lodash/maxBy';
|
|
14
14
|
import 'lodash/upperFirst';
|
|
15
15
|
import '../hooks/styleAttributes.js';
|
|
16
|
-
import '../Icon-
|
|
16
|
+
import '../Icon-DQWyj5EO.js';
|
|
17
17
|
import 'react-inlinesvg';
|
|
18
18
|
import '../Link-CeQuavin.js';
|
|
19
19
|
import '../tslib.es6-5FtW-kfi.js';
|
|
20
|
-
import '../Tooltip-
|
|
20
|
+
import '../Tooltip-aaDRYNWY.js';
|
|
21
21
|
import '../Text-CG3xPG27.js';
|
|
22
22
|
import '../Title-BfSFPJtJ.js';
|
|
23
23
|
import '../Loader-CJ8ZCdwy.js';
|
package/dist/components/Cell.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
4
|
-
import { I as Icon } from '../Icon-DD_Vyrw0.js';
|
|
5
|
-
import { L as Label } from '../Label-BA_CnRBq.js';
|
|
6
|
-
import { T as Text } from '../Text-CG3xPG27.js';
|
|
7
4
|
import { useStyles } from '../hooks/useStyles.js';
|
|
5
|
+
import { I as Icon } from '../Icon-DQWyj5EO.js';
|
|
6
|
+
import { L as Label } from '../Label-D8DRdqad.js';
|
|
7
|
+
import { T as Text } from '../Text-CG3xPG27.js';
|
|
8
8
|
import 'react';
|
|
9
9
|
import 'lodash/castArray';
|
|
10
10
|
import 'lodash/camelCase';
|
|
@@ -12,17 +12,17 @@ import '../context/UIContext.js';
|
|
|
12
12
|
import 'prop-types';
|
|
13
13
|
import '../hooks/useMediaQueries.js';
|
|
14
14
|
import 'react-responsive';
|
|
15
|
+
import 'lodash/maxBy';
|
|
16
|
+
import 'lodash/upperFirst';
|
|
17
|
+
import '../hooks/styleAttributes.js';
|
|
15
18
|
import 'react-inlinesvg';
|
|
16
19
|
import '../Link-CeQuavin.js';
|
|
17
20
|
import '../tslib.es6-5FtW-kfi.js';
|
|
18
|
-
import '../Tooltip-
|
|
21
|
+
import '../Tooltip-aaDRYNWY.js';
|
|
19
22
|
import '../Title-BfSFPJtJ.js';
|
|
20
|
-
import 'lodash/maxBy';
|
|
21
|
-
import 'lodash/upperFirst';
|
|
22
|
-
import '../hooks/styleAttributes.js';
|
|
23
23
|
|
|
24
24
|
function Cell(props) {
|
|
25
|
-
var
|
|
25
|
+
var isActive = props.isActive, isDisabled = props.isDisabled, isEqual = props.isEqual, after = props.after, before = props.before, className = props.className, mode = props.mode, reverse = props.reverse, set = props.set, showTitleLabel = props.showTitleLabel, showValueLabel = props.showValueLabel, size = props.size, title = props.title, titleIcon = props.titleIcon, titleIconFill = props.titleIconFill, titleIconFillHover = props.titleIconFillHover, titleIconFillSize = props.titleIconFillSize, titleIconItemFill = props.titleIconItemFill, titleIconShape = props.titleIconShape, titleIconSrc = props.titleIconSrc, titleLabel = props.titleLabel, titleLabelAppearance = props.titleLabelAppearance, titleLabelShape = props.titleLabelShape, titleLabelSize = props.titleLabelSize, titleLabelTextSize = props.titleLabelTextSize, titleTag = props.titleTag, titleTextColor = props.titleTextColor, titleTextSize = props.titleTextSize, titleTextTruncate = props.titleTextTruncate, titleTextWeight = props.titleTextWeight, titleTextWrap = props.titleTextWrap, value = props.value, valueIcon = props.valueIcon, valueIconFill = props.valueIconFill, valueIconFillHover = props.valueIconFillHover, valueIconFillSize = props.valueIconFillSize, valueIconItemFill = props.valueIconItemFill, valueIconShape = props.valueIconShape, valueIconSrc = props.valueIconSrc, valueLabel = props.valueLabel, valueLabelAppearance = props.valueLabelAppearance, valueLabelShape = props.valueLabelShape, valueLabelSize = props.valueLabelSize, valueLabelTextSize = props.valueLabelTextSize, valueTag = props.valueTag, valueTextAlign = props.valueTextAlign, valueTextColor = props.valueTextColor, valueTextSize = props.valueTextSize, valueTextTruncate = props.valueTextTruncate, valueTextWeight = props.valueTextWeight, valueTextWrap = props.valueTextWrap, zeroGap = props.zeroGap, zeroPadding = props.zeroPadding, onClick = props.onClick, onMouseEnter = props.onMouseEnter;
|
|
26
26
|
var fillClass = useDeviceTargetClass(props, {
|
|
27
27
|
prefix: 'fill_',
|
|
28
28
|
propsKey: 'fill',
|
|
@@ -71,9 +71,13 @@ function Cell(props) {
|
|
|
71
71
|
prefix: 'width_',
|
|
72
72
|
propsKey: 'width',
|
|
73
73
|
});
|
|
74
|
+
var gapClass = useDeviceTargetClass(props, {
|
|
75
|
+
prefix: 'gap_',
|
|
76
|
+
propsKey: 'gap',
|
|
77
|
+
});
|
|
74
78
|
// @ts-expect-error
|
|
75
79
|
var cellStyles = useStyles(props).styles;
|
|
76
|
-
return (jsxs("div", { className: clsx(className, 'cell', mode && "cell_mode_".concat(mode), size && "cell_size_".concat(size), set && "cell_set_".concat(set), bgFillClass, bgFillHoverClass, isActive && bgFillActiveClass, isDisabled && bgFillDisabledClass, bgShapeClass, widthClass, zeroPadding && 'cell_reset-padding', zeroGap && 'cell_reset-gap', reverse && 'cell_reverse'), onClick: onClick, onMouseEnter: onMouseEnter,
|
|
80
|
+
return (jsxs("div", { className: clsx(className, 'cell', mode && "cell_mode_".concat(mode), size && "cell_size_".concat(size), set && "cell_set_".concat(set), bgFillClass, bgFillHoverClass, isActive && bgFillActiveClass, isDisabled && bgFillDisabledClass, bgShapeClass, widthClass, gapClass, zeroPadding && 'cell_reset-padding', zeroGap && 'cell_reset-gap', reverse && 'cell_reverse'), style: cellStyles, onClick: onClick, onMouseEnter: onMouseEnter, children: [before && jsx("div", { className: "cell__before", children: before }), jsxs("div", { className: clsx('cell__wrapper', directionClass, fillClass, fillHoverClass, isActive && fillActiveClass, isDisabled && fillDisabledClass, shapeClass, isEqual && 'cell__wrapper-equal'), children: [title && (jsxs("div", { className: "cell__data", children: [jsx(Text, { className: "cell__title", size: titleTextSize, tag: titleTag, textColor: titleTextColor, textTruncate: titleTextTruncate, textWeight: titleTextWeight, textWrap: titleTextWrap, children: title }), (titleIcon || titleIconSrc) && (jsx(Icon, { className: "cell__icon", fill: titleIconFill, fillSize: titleIconFillSize, iconFill: titleIconItemFill, iconFillHover: titleIconFillHover, imageSrc: titleIconSrc, shape: titleIconShape, SvgImage: titleIcon })), showTitleLabel && (jsx(Label, { labelTextSize: titleLabelTextSize, appearance: titleLabelAppearance, label: titleLabel, shape: titleLabelShape, size: titleLabelSize }))] })), value && (jsxs("div", { className: "cell__data", children: [jsx(Text, { className: "cell__value", size: valueTextSize, tag: valueTag, textAlign: valueTextAlign, textColor: valueTextColor, textTruncate: valueTextTruncate, textWeight: valueTextWeight, textWrap: valueTextWrap, children: value }), (valueIcon || valueIconSrc) && (jsx(Icon, { className: "cell__icon", fill: valueIconFill, fillSize: valueIconFillSize, iconFill: valueIconItemFill, iconFillHover: valueIconFillHover, imageSrc: valueIconSrc, shape: valueIconShape, SvgImage: valueIcon })), showValueLabel && (jsx(Label, { labelTextSize: valueLabelTextSize, appearance: valueLabelAppearance, label: valueLabel, shape: valueLabelShape, size: valueLabelSize }))] }))] }), after && jsx("div", { className: "cell__after", children: after })] }));
|
|
77
81
|
}
|
|
78
82
|
Cell.defaultProps = {
|
|
79
83
|
isDisabled: false,
|
|
@@ -2,7 +2,7 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
2
2
|
import React, { useRef, useMemo, createRef, useCallback } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
5
|
-
import { I as Icon } from '../Icon-
|
|
5
|
+
import { I as Icon } from '../Icon-DQWyj5EO.js';
|
|
6
6
|
import { L as Loader } from '../Loader-CJ8ZCdwy.js';
|
|
7
7
|
import { T as Text } from '../Text-CG3xPG27.js';
|
|
8
8
|
import 'lodash/castArray';
|
|
@@ -18,7 +18,7 @@ import 'lodash/upperFirst';
|
|
|
18
18
|
import '../hooks/styleAttributes.js';
|
|
19
19
|
import '../Link-CeQuavin.js';
|
|
20
20
|
import '../tslib.es6-5FtW-kfi.js';
|
|
21
|
-
import '../Tooltip-
|
|
21
|
+
import '../Tooltip-aaDRYNWY.js';
|
|
22
22
|
import '../Title-BfSFPJtJ.js';
|
|
23
23
|
|
|
24
24
|
var choiceConfig = {
|
|
@@ -79,6 +79,14 @@ var Choice = React.forwardRef(function Choice(props, ref) {
|
|
|
79
79
|
prefix: 'gap_',
|
|
80
80
|
propsKey: 'gap',
|
|
81
81
|
});
|
|
82
|
+
var rowGapClass = useDeviceTargetClass(props, {
|
|
83
|
+
prefix: 'row-gap_',
|
|
84
|
+
propsKey: 'rowGap',
|
|
85
|
+
});
|
|
86
|
+
var columnGapClass = useDeviceTargetClass(props, {
|
|
87
|
+
prefix: 'column-gap_',
|
|
88
|
+
propsKey: 'columnGap',
|
|
89
|
+
});
|
|
82
90
|
// prettier-ignore
|
|
83
91
|
var appearanceConfig = (appearance && choiceConfig.appearance && choiceConfig.appearance[appearance]);
|
|
84
92
|
return (jsx("div", { className: clsx(className, 'choice', shapeClass ||
|
|
@@ -87,7 +95,7 @@ var Choice = React.forwardRef(function Choice(props, ref) {
|
|
|
87
95
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.borderColor) &&
|
|
88
96
|
"border-color_".concat(appearanceConfig.borderColor)
|
|
89
97
|
.replace(/([A-Z])/g, '-$1')
|
|
90
|
-
.toLowerCase()), borderWidthClass, borderTypeClass, set && "choice_set_".concat(set), size && "choice_size_".concat(size), type && "choice_type_".concat(type)), ref: controlRef, children: isLoading ? (jsx(Loader, { width: "fill", height: "fill", fill: "surfacePrimary", itemFill: "surfaceItemAccent", set: "simple" })) : (jsx("div", { className: clsx(className, 'choice__wrapper', gapClass, wrapClass), children: options.map(function (item) {
|
|
98
|
+
.toLowerCase()), borderWidthClass, borderTypeClass, set && "choice_set_".concat(set), size && "choice_size_".concat(size), type && "choice_type_".concat(type)), ref: controlRef, children: isLoading ? (jsx(Loader, { width: "fill", height: "fill", fill: "surfacePrimary", itemFill: "surfaceItemAccent", set: "simple" })) : (jsx("div", { className: clsx(className, 'choice__wrapper', gapClass, rowGapClass, columnGapClass, wrapClass), children: options.map(function (item) {
|
|
91
99
|
// prettier-ignore
|
|
92
100
|
var isActive = typeof active === 'object'
|
|
93
101
|
? String(item.value) === String(active.value)
|
|
@@ -2,7 +2,7 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
4
4
|
import { D as Divider } from '../Divider-U5UdY-ef.js';
|
|
5
|
-
import { I as Icon } from '../Icon-
|
|
5
|
+
import { I as Icon } from '../Icon-DQWyj5EO.js';
|
|
6
6
|
import { T as Text } from '../Text-CG3xPG27.js';
|
|
7
7
|
import 'react';
|
|
8
8
|
import 'lodash/castArray';
|
|
@@ -18,7 +18,7 @@ import '../hooks/styleAttributes.js';
|
|
|
18
18
|
import 'react-inlinesvg';
|
|
19
19
|
import '../Link-CeQuavin.js';
|
|
20
20
|
import '../tslib.es6-5FtW-kfi.js';
|
|
21
|
-
import '../Tooltip-
|
|
21
|
+
import '../Tooltip-aaDRYNWY.js';
|
|
22
22
|
import '../Title-BfSFPJtJ.js';
|
|
23
23
|
|
|
24
24
|
function ContextMenu(props) {
|
|
@@ -3,7 +3,7 @@ import { useRef, useMemo, useCallback, useEffect } from 'react';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import Cookies from 'js-cookie';
|
|
5
5
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
6
|
-
import { B as Button } from '../Button
|
|
6
|
+
import { B as Button } from '../Button-BLcVDStV.js';
|
|
7
7
|
import { G as Group } from '../Group-CVUfaHaS.js';
|
|
8
8
|
import { T as Text } from '../Text-CG3xPG27.js';
|
|
9
9
|
import 'lodash/castArray';
|
|
@@ -16,11 +16,11 @@ import '../hooks/useStyles.js';
|
|
|
16
16
|
import 'lodash/maxBy';
|
|
17
17
|
import 'lodash/upperFirst';
|
|
18
18
|
import '../hooks/styleAttributes.js';
|
|
19
|
-
import '../Icon-
|
|
19
|
+
import '../Icon-DQWyj5EO.js';
|
|
20
20
|
import 'react-inlinesvg';
|
|
21
21
|
import '../Link-CeQuavin.js';
|
|
22
22
|
import '../tslib.es6-5FtW-kfi.js';
|
|
23
|
-
import '../Tooltip-
|
|
23
|
+
import '../Tooltip-aaDRYNWY.js';
|
|
24
24
|
import '../Title-BfSFPJtJ.js';
|
|
25
25
|
import '../Loader-CJ8ZCdwy.js';
|
|
26
26
|
|
|
@@ -5,10 +5,10 @@ import clsx from 'clsx';
|
|
|
5
5
|
import DatePicker from 'react-datepicker';
|
|
6
6
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
7
7
|
import { useStyles } from '../hooks/useStyles.js';
|
|
8
|
-
import { B as Button } from '../Button
|
|
9
|
-
import { I as Icon } from '../Icon-
|
|
8
|
+
import { B as Button } from '../Button-BLcVDStV.js';
|
|
9
|
+
import { I as Icon } from '../Icon-DQWyj5EO.js';
|
|
10
10
|
import { I as Input } from '../Input-UkM-ag48.js';
|
|
11
|
-
import { L as Label } from '../Label-
|
|
11
|
+
import { L as Label } from '../Label-D8DRdqad.js';
|
|
12
12
|
import { T as Text } from '../Text-CG3xPG27.js';
|
|
13
13
|
import 'lodash/castArray';
|
|
14
14
|
import 'lodash/camelCase';
|
|
@@ -22,7 +22,7 @@ import '../hooks/styleAttributes.js';
|
|
|
22
22
|
import '../Link-CeQuavin.js';
|
|
23
23
|
import '../Loader-CJ8ZCdwy.js';
|
|
24
24
|
import 'react-inlinesvg';
|
|
25
|
-
import '../Tooltip-
|
|
25
|
+
import '../Tooltip-aaDRYNWY.js';
|
|
26
26
|
import '../Title-BfSFPJtJ.js';
|
|
27
27
|
|
|
28
28
|
function buildFormatLongFn(args) {
|
package/dist/components/Grid.js
CHANGED
|
@@ -148,9 +148,13 @@ function GridRow(props) {
|
|
|
148
148
|
prefix: 'fill_hover_',
|
|
149
149
|
propsKey: 'fillHover',
|
|
150
150
|
});
|
|
151
|
+
var borderColorClass = useDeviceTargetClass(props, {
|
|
152
|
+
prefix: 'border-color_',
|
|
153
|
+
propsKey: 'borderColor',
|
|
154
|
+
});
|
|
151
155
|
// @ts-expect-error
|
|
152
156
|
var gridRowStyles = useStyles(props).styles;
|
|
153
|
-
return (jsx(Tag, { className: clsx(className, 'grid__row', fillClass, fillHoverClass), "data-tour": dataTour, htmlFor: htmlFor, id: id, style: gridRowStyles, onClick: onClick, children: children }));
|
|
157
|
+
return (jsx(Tag, { className: clsx(className, 'grid__row', fillClass, fillHoverClass, borderColorClass), "data-tour": dataTour, htmlFor: htmlFor, id: id, style: gridRowStyles, onClick: onClick, children: children }));
|
|
154
158
|
}
|
|
155
159
|
GridRow.defaultProps = {
|
|
156
160
|
tag: 'div',
|
package/dist/components/Icon.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { I as Icon, i as iconConfig } from '../Icon-
|
|
1
|
+
export { I as Icon, i as iconConfig } from '../Icon-DQWyj5EO.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -16,6 +16,6 @@ import 'lodash/upperFirst';
|
|
|
16
16
|
import '../hooks/styleAttributes.js';
|
|
17
17
|
import '../Link-CeQuavin.js';
|
|
18
18
|
import '../tslib.es6-5FtW-kfi.js';
|
|
19
|
-
import '../Tooltip-
|
|
19
|
+
import '../Tooltip-aaDRYNWY.js';
|
|
20
20
|
import '../Text-CG3xPG27.js';
|
|
21
21
|
import '../Title-BfSFPJtJ.js';
|
|
@@ -2,7 +2,7 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { useState, useMemo, useCallback } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
5
|
-
import { I as Icon } from '../Icon-
|
|
5
|
+
import { I as Icon } from '../Icon-DQWyj5EO.js';
|
|
6
6
|
import 'lodash/castArray';
|
|
7
7
|
import 'lodash/camelCase';
|
|
8
8
|
import '../context/UIContext.js';
|
|
@@ -16,7 +16,7 @@ import 'lodash/upperFirst';
|
|
|
16
16
|
import '../hooks/styleAttributes.js';
|
|
17
17
|
import '../Link-CeQuavin.js';
|
|
18
18
|
import '../tslib.es6-5FtW-kfi.js';
|
|
19
|
-
import '../Tooltip-
|
|
19
|
+
import '../Tooltip-aaDRYNWY.js';
|
|
20
20
|
import '../Text-CG3xPG27.js';
|
|
21
21
|
import '../Title-BfSFPJtJ.js';
|
|
22
22
|
|
package/dist/components/Label.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { L as Label, l as labelConfig } from '../Label-
|
|
1
|
+
export { L as Label, l as labelConfig } from '../Label-D8DRdqad.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -14,5 +14,5 @@ import 'lodash/maxBy';
|
|
|
14
14
|
import 'lodash/upperFirst';
|
|
15
15
|
import '../hooks/styleAttributes.js';
|
|
16
16
|
import '../Text-CG3xPG27.js';
|
|
17
|
-
import '../Tooltip-
|
|
17
|
+
import '../Tooltip-aaDRYNWY.js';
|
|
18
18
|
import '../Title-BfSFPJtJ.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import clsx from 'clsx';
|
|
3
|
-
import { I as Icon } from '../Icon-
|
|
3
|
+
import { I as Icon } from '../Icon-DQWyj5EO.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'react-inlinesvg';
|
|
6
6
|
import '../hooks/useDeviceTargetClass.js';
|
|
@@ -16,7 +16,7 @@ import 'lodash/upperFirst';
|
|
|
16
16
|
import '../hooks/styleAttributes.js';
|
|
17
17
|
import '../Link-CeQuavin.js';
|
|
18
18
|
import '../tslib.es6-5FtW-kfi.js';
|
|
19
|
-
import '../Tooltip-
|
|
19
|
+
import '../Tooltip-aaDRYNWY.js';
|
|
20
20
|
import '../Text-CG3xPG27.js';
|
|
21
21
|
import '../Title-BfSFPJtJ.js';
|
|
22
22
|
|
|
@@ -5,7 +5,7 @@ import ceil from 'lodash/ceil';
|
|
|
5
5
|
import ReactPaginate from 'react-paginate';
|
|
6
6
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
7
7
|
import { D as Dropdown, a as DropdownItem } from '../DropdownItem-D0dOP4NL.js';
|
|
8
|
-
import { I as Icon } from '../Icon-
|
|
8
|
+
import { I as Icon } from '../Icon-DQWyj5EO.js';
|
|
9
9
|
import { T as Text } from '../Text-CG3xPG27.js';
|
|
10
10
|
import 'lodash/castArray';
|
|
11
11
|
import 'lodash/camelCase';
|
|
@@ -21,7 +21,7 @@ import '../Divider-U5UdY-ef.js';
|
|
|
21
21
|
import '../Link-CeQuavin.js';
|
|
22
22
|
import '../tslib.es6-5FtW-kfi.js';
|
|
23
23
|
import 'react-inlinesvg';
|
|
24
|
-
import '../Tooltip-
|
|
24
|
+
import '../Tooltip-aaDRYNWY.js';
|
|
25
25
|
import '../Title-BfSFPJtJ.js';
|
|
26
26
|
|
|
27
27
|
function Pagination(props) {
|
|
@@ -4,7 +4,7 @@ import clsx from 'clsx';
|
|
|
4
4
|
import SVG from 'react-inlinesvg';
|
|
5
5
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles.js';
|
|
7
|
-
import { B as Button } from '../Button
|
|
7
|
+
import { B as Button } from '../Button-BLcVDStV.js';
|
|
8
8
|
import { G as Group } from '../Group-CVUfaHaS.js';
|
|
9
9
|
import { T as Text } from '../Text-CG3xPG27.js';
|
|
10
10
|
import { T as Title } from '../Title-BfSFPJtJ.js';
|
|
@@ -17,10 +17,10 @@ import 'react-responsive';
|
|
|
17
17
|
import 'lodash/maxBy';
|
|
18
18
|
import 'lodash/upperFirst';
|
|
19
19
|
import '../hooks/styleAttributes.js';
|
|
20
|
-
import '../Icon-
|
|
20
|
+
import '../Icon-DQWyj5EO.js';
|
|
21
21
|
import '../Link-CeQuavin.js';
|
|
22
22
|
import '../tslib.es6-5FtW-kfi.js';
|
|
23
|
-
import '../Tooltip-
|
|
23
|
+
import '../Tooltip-aaDRYNWY.js';
|
|
24
24
|
import '../Loader-CJ8ZCdwy.js';
|
|
25
25
|
|
|
26
26
|
var responseConfig = {
|
|
@@ -3,7 +3,7 @@ import React, { useCallback } from 'react';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
5
5
|
import { useStyles } from '../hooks/useStyles.js';
|
|
6
|
-
import { I as Icon } from '../Icon-
|
|
6
|
+
import { I as Icon } from '../Icon-DQWyj5EO.js';
|
|
7
7
|
import { T as Text } from '../Text-CG3xPG27.js';
|
|
8
8
|
import { S as Scrollbar } from '../Scrollbar-CrGXCZ_F.js';
|
|
9
9
|
import 'lodash/castArray';
|
|
@@ -18,7 +18,7 @@ import '../hooks/styleAttributes.js';
|
|
|
18
18
|
import 'react-inlinesvg';
|
|
19
19
|
import '../Link-CeQuavin.js';
|
|
20
20
|
import '../tslib.es6-5FtW-kfi.js';
|
|
21
|
-
import '../Tooltip-
|
|
21
|
+
import '../Tooltip-aaDRYNWY.js';
|
|
22
22
|
import '../Title-BfSFPJtJ.js';
|
|
23
23
|
import 'react-scrollbars-custom';
|
|
24
24
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as __assign } from '../tslib.es6-5FtW-kfi.js';
|
|
2
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
3
|
import Select, { components } from 'react-select';
|
|
4
|
-
import { I as Icon } from '../Icon-
|
|
4
|
+
import { I as Icon } from '../Icon-DQWyj5EO.js';
|
|
5
5
|
import React, { useMemo, useRef, useCallback, useEffect } from 'react';
|
|
6
6
|
import clsx from 'clsx';
|
|
7
7
|
import CreatableSelect from 'react-select/creatable';
|
|
@@ -21,7 +21,7 @@ import '../hooks/useMediaQueries.js';
|
|
|
21
21
|
import 'react-responsive';
|
|
22
22
|
import '../hooks/styleAttributes.js';
|
|
23
23
|
import '../Link-CeQuavin.js';
|
|
24
|
-
import '../Tooltip-
|
|
24
|
+
import '../Tooltip-aaDRYNWY.js';
|
|
25
25
|
import '../Title-BfSFPJtJ.js';
|
|
26
26
|
import 'lodash/castArray';
|
|
27
27
|
|
|
@@ -3,7 +3,7 @@ import { useCallback } from 'react';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useSiteMenuContext } from '../context/UIContext.js';
|
|
5
5
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
6
|
-
import { I as Icon } from '../Icon-
|
|
6
|
+
import { I as Icon } from '../Icon-DQWyj5EO.js';
|
|
7
7
|
import { T as Text } from '../Text-CG3xPG27.js';
|
|
8
8
|
import 'prop-types';
|
|
9
9
|
import '../hooks/useMediaQueries.js';
|
|
@@ -17,7 +17,7 @@ import 'lodash/upperFirst';
|
|
|
17
17
|
import '../hooks/styleAttributes.js';
|
|
18
18
|
import '../Link-CeQuavin.js';
|
|
19
19
|
import '../tslib.es6-5FtW-kfi.js';
|
|
20
|
-
import '../Tooltip-
|
|
20
|
+
import '../Tooltip-aaDRYNWY.js';
|
|
21
21
|
import '../Title-BfSFPJtJ.js';
|
|
22
22
|
|
|
23
23
|
function SiteMenu(props) {
|
|
@@ -2,13 +2,18 @@
|
|
|
2
2
|
&__wrapper {
|
|
3
3
|
min-width: auto;
|
|
4
4
|
^&__data {
|
|
5
|
+
width: 100%;
|
|
5
6
|
display: flex;
|
|
6
7
|
flex-flow: row nowrap;
|
|
8
|
+
justify-content: space-between;
|
|
7
9
|
align-items: center;
|
|
8
10
|
gap: 8px;
|
|
9
11
|
}
|
|
10
12
|
^&__icon {
|
|
11
13
|
}
|
|
14
|
+
&-equal ^&__data {
|
|
15
|
+
width: 50%;
|
|
16
|
+
}
|
|
12
17
|
}
|
|
13
18
|
}
|
|
14
19
|
.cell {
|
|
@@ -48,6 +53,24 @@
|
|
|
48
53
|
}
|
|
49
54
|
}
|
|
50
55
|
}
|
|
56
|
+
.cell {
|
|
57
|
+
&_set {
|
|
58
|
+
&_horizontal {
|
|
59
|
+
display: flex;
|
|
60
|
+
flex-direction: row;
|
|
61
|
+
justify-content: center;
|
|
62
|
+
align-items: center;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
.cell {
|
|
67
|
+
&_set {
|
|
68
|
+
&_vertical {
|
|
69
|
+
display: flex;
|
|
70
|
+
flex-direction: column;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
51
74
|
.cell {
|
|
52
75
|
&&_state {
|
|
53
76
|
&_active {
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
display: flex;
|
|
30
30
|
flex-flow: column nowrap;
|
|
31
31
|
&__overlay {
|
|
32
|
-
background: rgba(116, 116, 116, 0.5) !important;
|
|
32
|
+
background: var(--drawer-overlay-background, rgba(116, 116, 116, 0.5)) !important;
|
|
33
33
|
opacity: 100% !important;
|
|
34
|
-
backdrop-filter: blur(10px) !important;
|
|
34
|
+
backdrop-filter: var(--drawer-overlay-filter, blur(10px)) !important;
|
|
35
35
|
}
|
|
36
36
|
&__wrapper {
|
|
37
37
|
flex: 1;
|
|
@@ -117,15 +117,16 @@
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
.icon {
|
|
120
|
-
|
|
121
|
-
|
|
120
|
+
&__tooltip {
|
|
121
|
+
&.tooltip {
|
|
122
122
|
min-width: 200px;
|
|
123
123
|
padding: 8px;
|
|
124
124
|
border-radius: 8px;
|
|
125
125
|
visibility: visible;
|
|
126
|
+
z-index: 12;
|
|
126
127
|
opacity: 100%;
|
|
127
128
|
}
|
|
128
|
-
|
|
129
|
+
}
|
|
129
130
|
}
|
|
130
131
|
:root {
|
|
131
132
|
--icon-transition: all 0.2s ease 0s;
|