@itcase/ui 1.2.20 → 1.2.22

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.
Files changed (58) hide show
  1. package/dist/{Button-D1PnF1C-.js → Button-CDc_-QmL.js} +1 -1
  2. package/dist/{Button--5mnRJi2.js → Button-CxJYh-_G.js} +1 -1
  3. package/dist/{Icon-D-zjcPll.js → Icon-DTwrijaa.js} +1 -1
  4. package/dist/{Icon-DD_Vyrw0.js → Icon-DfVed6hR.js} +1 -1
  5. package/dist/{Label-BA_CnRBq.js → Label-B7HJUf4x.js} +1 -1
  6. package/dist/{Label-CpSzGRtr.js → Label-BT_PpHjb.js} +1 -1
  7. package/dist/{Tooltip-DkTKx9n-.js → Tooltip-BygRHezt.js} +3 -6
  8. package/dist/{Tooltip-DJufHBiQ.js → Tooltip-CK7SVawj.js} +3 -6
  9. package/dist/cjs/components/Accordion.js +2 -2
  10. package/dist/cjs/components/Avatar.js +2 -2
  11. package/dist/cjs/components/Breadcrumbs.js +2 -2
  12. package/dist/cjs/components/Button.js +3 -3
  13. package/dist/cjs/components/Cell.js +13 -9
  14. package/dist/cjs/components/Choice.js +11 -3
  15. package/dist/cjs/components/ContextMenu.js +2 -2
  16. package/dist/cjs/components/CookiesWarning.js +3 -3
  17. package/dist/cjs/components/DatePicker.js +4 -4
  18. package/dist/cjs/components/Grid.js +5 -1
  19. package/dist/cjs/components/Icon.js +2 -2
  20. package/dist/cjs/components/InputPassword.js +2 -2
  21. package/dist/cjs/components/Label.js +2 -2
  22. package/dist/cjs/components/LanguageSelector.js +2 -2
  23. package/dist/cjs/components/Pagination.js +2 -2
  24. package/dist/cjs/components/Response.js +3 -3
  25. package/dist/cjs/components/Search.js +2 -2
  26. package/dist/cjs/components/Select.js +2 -2
  27. package/dist/cjs/components/SiteMenu.js +2 -2
  28. package/dist/cjs/components/Tooltip.js +1 -1
  29. package/dist/components/Accordion.js +2 -2
  30. package/dist/components/Avatar.js +2 -2
  31. package/dist/components/Breadcrumbs.js +2 -2
  32. package/dist/components/Button.js +3 -3
  33. package/dist/components/Cell.js +13 -9
  34. package/dist/components/Choice.js +11 -3
  35. package/dist/components/ContextMenu.js +2 -2
  36. package/dist/components/CookiesWarning.js +3 -3
  37. package/dist/components/DatePicker.js +4 -4
  38. package/dist/components/Grid.js +5 -1
  39. package/dist/components/Icon.js +2 -2
  40. package/dist/components/InputPassword.js +2 -2
  41. package/dist/components/Label.js +2 -2
  42. package/dist/components/LanguageSelector.js +2 -2
  43. package/dist/components/Pagination.js +2 -2
  44. package/dist/components/Response.js +3 -3
  45. package/dist/components/Search.js +2 -2
  46. package/dist/components/Select.js +2 -2
  47. package/dist/components/SiteMenu.js +2 -2
  48. package/dist/components/Tooltip.js +1 -1
  49. package/dist/css/components/Accordion/Accordion.css +3 -0
  50. package/dist/css/components/Cell/Cell.css +23 -0
  51. package/dist/css/components/Drawer/Drawer.css +2 -2
  52. package/dist/css/components/Icon/Icon.css +4 -3
  53. package/dist/css/components/Tooltip/Tooltip.css +21 -0
  54. package/dist/types/components/Cell/Cell.interface.d.ts +8 -6
  55. package/dist/types/components/Icon/Icon.interface.d.ts +22 -21
  56. package/dist/types/components/Label/Label.interface.d.ts +1 -1
  57. package/dist/types/components/Tooltip/Tooltip.interface.d.ts +4 -3
  58. package/package.json +9 -9
@@ -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-DD_Vyrw0.js';
8
+ import { I as Icon } from '../Icon-DfVed6hR.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-DJufHBiQ.js';
20
+ import '../Tooltip-CK7SVawj.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--5mnRJi2.js';
1
+ export { B as Button, b as buttonConfig } from '../Button-CxJYh-_G.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-DD_Vyrw0.js';
16
+ import '../Icon-DfVed6hR.js';
17
17
  import 'react-inlinesvg';
18
18
  import '../Link-CeQuavin.js';
19
19
  import '../tslib.es6-5FtW-kfi.js';
20
- import '../Tooltip-DJufHBiQ.js';
20
+ import '../Tooltip-CK7SVawj.js';
21
21
  import '../Text-CG3xPG27.js';
22
22
  import '../Title-BfSFPJtJ.js';
23
23
  import '../Loader-CJ8ZCdwy.js';
@@ -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-DfVed6hR.js';
6
+ import { L as Label } from '../Label-B7HJUf4x.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-DJufHBiQ.js';
21
+ import '../Tooltip-CK7SVawj.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 after = props.after, before = props.before, className = props.className, isActive = props.isActive, isDisabled = props.isDisabled, 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, valueTextWeight = props.valueTextWeight, valueTextWrap = props.valueTextWrap, zeroGap = props.zeroGap, zeroPadding = props.zeroPadding, onClick = props.onClick, onMouseEnter = props.onMouseEnter;
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, style: cellStyles, children: [before && jsx("div", { className: "cell__before", children: before }), jsxs("div", { className: clsx('cell__wrapper', directionClass, fillClass, fillHoverClass, isActive && fillActiveClass, isDisabled && fillDisabledClass, shapeClass), 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, { appearance: titleLabelAppearance, label: titleLabel, labelTextSize: titleLabelTextSize, shape: titleLabelShape, size: titleLabelSize }))] })), value && (jsxs("div", { className: "cell__data", children: [jsx(Text, { className: "cell__value", size: valueTextSize, tag: valueTag, textAlign: valueTextAlign, textColor: valueTextColor, 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, { appearance: valueLabelAppearance, label: valueLabel, labelTextSize: valueLabelTextSize, shape: valueLabelShape, size: valueLabelSize }))] }))] }), after && jsx("div", { className: "cell__after", children: after })] }));
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-DD_Vyrw0.js';
5
+ import { I as Icon } from '../Icon-DfVed6hR.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-DJufHBiQ.js';
21
+ import '../Tooltip-CK7SVawj.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-DD_Vyrw0.js';
5
+ import { I as Icon } from '../Icon-DfVed6hR.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-DJufHBiQ.js';
21
+ import '../Tooltip-CK7SVawj.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--5mnRJi2.js';
6
+ import { B as Button } from '../Button-CxJYh-_G.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-DD_Vyrw0.js';
19
+ import '../Icon-DfVed6hR.js';
20
20
  import 'react-inlinesvg';
21
21
  import '../Link-CeQuavin.js';
22
22
  import '../tslib.es6-5FtW-kfi.js';
23
- import '../Tooltip-DJufHBiQ.js';
23
+ import '../Tooltip-CK7SVawj.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--5mnRJi2.js';
9
- import { I as Icon } from '../Icon-DD_Vyrw0.js';
8
+ import { B as Button } from '../Button-CxJYh-_G.js';
9
+ import { I as Icon } from '../Icon-DfVed6hR.js';
10
10
  import { I as Input } from '../Input-UkM-ag48.js';
11
- import { L as Label } from '../Label-BA_CnRBq.js';
11
+ import { L as Label } from '../Label-B7HJUf4x.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-DJufHBiQ.js';
25
+ import '../Tooltip-CK7SVawj.js';
26
26
  import '../Title-BfSFPJtJ.js';
27
27
 
28
28
  function buildFormatLongFn(args) {
@@ -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',
@@ -1,4 +1,4 @@
1
- export { I as Icon, i as iconConfig } from '../Icon-DD_Vyrw0.js';
1
+ export { I as Icon, i as iconConfig } from '../Icon-DfVed6hR.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-DJufHBiQ.js';
19
+ import '../Tooltip-CK7SVawj.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-DD_Vyrw0.js';
5
+ import { I as Icon } from '../Icon-DfVed6hR.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-DJufHBiQ.js';
19
+ import '../Tooltip-CK7SVawj.js';
20
20
  import '../Text-CG3xPG27.js';
21
21
  import '../Title-BfSFPJtJ.js';
22
22
 
@@ -1,4 +1,4 @@
1
- export { L as Label, l as labelConfig } from '../Label-BA_CnRBq.js';
1
+ export { L as Label, l as labelConfig } from '../Label-B7HJUf4x.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-DJufHBiQ.js';
17
+ import '../Tooltip-CK7SVawj.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-DD_Vyrw0.js';
3
+ import { I as Icon } from '../Icon-DfVed6hR.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-DJufHBiQ.js';
19
+ import '../Tooltip-CK7SVawj.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-DD_Vyrw0.js';
8
+ import { I as Icon } from '../Icon-DfVed6hR.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-DJufHBiQ.js';
24
+ import '../Tooltip-CK7SVawj.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--5mnRJi2.js';
7
+ import { B as Button } from '../Button-CxJYh-_G.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-DD_Vyrw0.js';
20
+ import '../Icon-DfVed6hR.js';
21
21
  import '../Link-CeQuavin.js';
22
22
  import '../tslib.es6-5FtW-kfi.js';
23
- import '../Tooltip-DJufHBiQ.js';
23
+ import '../Tooltip-CK7SVawj.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-DD_Vyrw0.js';
6
+ import { I as Icon } from '../Icon-DfVed6hR.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-DJufHBiQ.js';
21
+ import '../Tooltip-CK7SVawj.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-DD_Vyrw0.js';
4
+ import { I as Icon } from '../Icon-DfVed6hR.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-DJufHBiQ.js';
24
+ import '../Tooltip-CK7SVawj.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-DD_Vyrw0.js';
6
+ import { I as Icon } from '../Icon-DfVed6hR.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-DJufHBiQ.js';
20
+ import '../Tooltip-CK7SVawj.js';
21
21
  import '../Title-BfSFPJtJ.js';
22
22
 
23
23
  function SiteMenu(props) {
@@ -1,4 +1,4 @@
1
- export { T as Tooltip, t as tooltipConfig } from '../Tooltip-DJufHBiQ.js';
1
+ export { T as Tooltip, t as tooltipConfig } from '../Tooltip-CK7SVawj.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'react';
4
4
  import 'clsx';
@@ -53,6 +53,9 @@
53
53
  gap: 14px;
54
54
  &__title {
55
55
  flex: 1;
56
+ &.text {
57
+ padding: var(--accordion-item-padding, 0);
58
+ }
56
59
  }
57
60
  &__icon {
58
61
  align-self: flex-start;
@@ -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
- &__tooltip {
121
- &.tooltip {
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;
@@ -105,6 +105,27 @@
105
105
  }
106
106
  }
107
107
 
108
+ .tooltip {
109
+ &_align-position {
110
+ &_left {
111
+ border: solid 2px red;
112
+ position: absolute;
113
+ transform: translate(0, -50%);
114
+ }
115
+ &_center {
116
+ position: absolute;
117
+ left: 50%;
118
+ top: 100%;
119
+ transform: translate(-50%, 0%);
120
+ }
121
+ &_right {
122
+ border: solid 2px red;
123
+ position: absolute;
124
+ transform: translate(0, -50%);
125
+ }
126
+ }
127
+ }
128
+
108
129
  .tooltip {
109
130
  &&_state_close {
110
131
  visibility: hidden;
@@ -1,18 +1,15 @@
1
1
  import { ElementType, ReactNode } from 'react';
2
2
  import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
3
- import { tDirectionProps, tFillProps, iconFillSizePropsType, tItemColorProps, tShapeProps, tSizeProps, tTextAlignProps, tTextColorProps, tTextSizeProps, tTextWeightProps, tTextWrapProps } from '../../types';
3
+ import { iconFillSizePropsType, tDirectionProps, tFillProps, tItemColorProps, tShapeProps, tSizeProps, tTextAlignProps, tTextColorProps, tTextSizeProps, tTextWeightProps, tTextWrapProps } from '../../types';
4
4
  import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
5
- type appearanceKeysType = tAppearanceKeysDefault & {};
5
+ type appearanceKeysType = {} & tAppearanceKeysDefault;
6
6
  export interface ICellProps extends iStyleAttributes {
7
- direction?: tDirectionProps;
8
7
  after?: ReactNode;
9
8
  before?: ReactNode;
10
9
  className?: string;
11
- isActive?: boolean;
12
- isDisabled?: boolean;
10
+ direction?: tDirectionProps;
13
11
  mode?: string;
14
12
  reverse?: boolean;
15
- set?: string;
16
13
  showTitleLabel?: boolean;
17
14
  showValueLabel?: boolean;
18
15
  size?: tSizeProps;
@@ -52,11 +49,16 @@ export interface ICellProps extends iStyleAttributes {
52
49
  valueTextAlign?: tTextAlignProps;
53
50
  valueTextColor?: tTextColorProps;
54
51
  valueTextSize?: tTextSizeProps;
52
+ valueTextTruncate?: boolean;
55
53
  valueTextWeight?: tTextWeightProps;
56
54
  valueTextWrap?: tTextWrapProps;
57
55
  zeroGap?: boolean;
58
56
  zeroPadding?: boolean;
57
+ isActive?: boolean;
58
+ isDisabled?: boolean;
59
+ isEqual?: boolean;
59
60
  onClick?: () => void;
60
61
  onMouseEnter?: () => void;
62
+ set?: string;
61
63
  }
62
64
  export {};
@@ -1,6 +1,6 @@
1
1
  import { CSSProperties, MouseEventHandler, ReactNode } from 'react';
2
2
  import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
3
- import { alignmentPropsType, borderColorHoverPropsType, tBorderColorProps, borderTypePropsType, tBorderWidthProps, tFillHoverProps, tFillProps, iconFillSizePropsType, iconSizePropsType, tItemColorProps, tShapeProps, tTextColorHoverProps, tTextColorProps, tTextSizeProps, titleSizePropsType } from '../../types';
3
+ import { alignmentPropsType, borderColorHoverPropsType, borderTypePropsType, iconFillSizePropsType, iconSizePropsType, tBorderColorProps, tBorderWidthProps, tFillHoverProps, tFillProps, tItemColorProps, titleSizePropsType, tShapeProps, tTextColorHoverProps, tTextColorProps, tTextSizeProps } from '../../types';
4
4
  import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
5
5
  export interface IIconThemeColor {
6
6
  alignment?: alignmentPropsType;
@@ -35,7 +35,7 @@ export interface IIconThemeColor {
35
35
  shape?: tShapeProps;
36
36
  size?: iconSizePropsType;
37
37
  }
38
- type appearanceKeysType = tAppearanceKeysDefault & {};
38
+ type appearanceKeysType = {} & tAppearanceKeysDefault;
39
39
  export type iconAppearanceType = {
40
40
  [key in appearanceKeysType]?: IIconThemeColor;
41
41
  };
@@ -44,50 +44,51 @@ export interface IIconConfig {
44
44
  setAppearance: (newComponent: iconAppearanceType) => void;
45
45
  }
46
46
  export interface IIconProps extends IIconThemeColor, iStyleAttributes {
47
- Badge?: ReactNode;
48
- SvgImage?: any;
47
+ id?: number | string;
49
48
  after?: ReactNode;
49
+ Badge?: ReactNode;
50
50
  before?: ReactNode;
51
51
  className?: string;
52
52
  dataTour?: string;
53
- height?: string;
54
- href?: string;
55
- id?: number | string;
56
- imageSrc?: string;
57
- link?: string;
58
- linkRel?: string;
59
- linkTarget?: string;
60
- showTooltip?: boolean;
61
- style?: CSSProperties;
62
- tooltipAppearance?: appearanceKeysType;
63
- tooltipText?: string;
64
- tooltipTextSize?: tTextSizeProps;
65
- tooltipTitle?: string;
66
- tooltipTitleSize?: titleSizePropsType;
67
- width?: string;
68
- onClick?: MouseEventHandler<HTMLDivElement>;
69
- LinkComponent?: ReactNode;
70
53
  fillDesktop?: tFillProps;
71
54
  fillMobile?: tFillProps;
72
55
  fillSizeDesktop?: string;
73
56
  fillSizeMobile?: string;
74
57
  fillSizeTablet?: string;
75
58
  fillTablet?: tFillProps;
59
+ height?: string;
60
+ href?: string;
76
61
  htmlType?: string;
77
62
  icon?: string;
78
63
  iconAfterSrc?: string;
79
64
  iconBeforeSrc?: string;
80
65
  iconSrc?: string;
66
+ imageSrc?: string;
67
+ link?: string;
68
+ LinkComponent?: ReactNode;
69
+ linkRel?: string;
70
+ linkTarget?: string;
81
71
  loading?: boolean;
82
72
  rel?: string;
83
73
  shapeDesktop?: tShapeProps;
84
74
  shapeMobile?: tShapeProps;
85
75
  shapeTablet?: tShapeProps;
76
+ showTooltip?: boolean;
86
77
  sizeDesktop?: iconSizePropsType;
87
78
  sizeMobile?: iconSizePropsType;
88
79
  sizeTablet?: iconSizePropsType;
80
+ style?: CSSProperties;
81
+ SvgImage?: any;
89
82
  target?: string;
83
+ tooltipAppearance?: appearanceKeysType;
84
+ tooltipContent?: ReactNode;
85
+ tooltipText?: string;
86
+ tooltipTextSize?: tTextSizeProps;
87
+ tooltipTitle?: string;
88
+ tooltipTitleSize?: titleSizePropsType;
90
89
  type?: string;
90
+ width?: string;
91
91
  isDisabled?: boolean;
92
+ onClick?: MouseEventHandler<HTMLDivElement>;
92
93
  }
93
94
  export {};