@itcase/ui 1.8.45 → 1.8.51

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 (101) hide show
  1. package/README.md +1 -0
  2. package/dist/{Avatar_cjs_Bp8wjwGw.js → Avatar_cjs_BQNgRkQo.js} +2 -2
  3. package/dist/{Avatar_es_BIKf0hNV.js → Avatar_es_DzMM4D-9.js} +2 -2
  4. package/dist/{Button_cjs_Chn18eOU.js → Button_cjs_C8P5a38-.js} +28 -12
  5. package/dist/{Button_es_XnWb2XF3.js → Button_es_CwtOu3lT.js} +28 -12
  6. package/dist/{ChipsGroup_cjs_Deoz_rju.js → ChipsGroup_cjs_CVCYLe2C.js} +2 -2
  7. package/dist/{ChipsGroup_es_C1Qi_5A1.js → ChipsGroup_es_BrX6_qHH.js} +2 -2
  8. package/dist/{DatePicker_cjs_B24qHiks.js → DatePicker_cjs_CKmX_JOf.js} +4 -4
  9. package/dist/{DatePicker_es_BuC8mEcK.js → DatePicker_es_BRH4AHbV.js} +4 -4
  10. package/dist/{DropdownItem_cjs_DuqySfbd.js → DropdownItem_cjs_DFScS1ls.js} +2 -2
  11. package/dist/{DropdownItem_es_BBxfR35q.js → DropdownItem_es_BnKPMQwa.js} +2 -2
  12. package/dist/{Icon_cjs_DRZih-pc.js → Icon_cjs_CKWWo53f.js} +1 -1
  13. package/dist/{Icon_es_k9bHSLyL.js → Icon_es_B7IMj2rG.js} +1 -1
  14. package/dist/{Label_cjs_D70CHJDE.js → Label_cjs_DNAubjXm.js} +2 -2
  15. package/dist/{Label_es_HXrap3A4.js → Label_es_DnV8akSC.js} +2 -2
  16. package/dist/{Loader_cjs_BShrE-Nb.js → Loader_cjs_D_n5PrK5.js} +1 -1
  17. package/dist/{Loader_es_BDb87cdb.js → Loader_es_DXVVV9LE.js} +1 -1
  18. package/dist/{Text_cjs_BlNeIm_v.js → Text_cjs_C-Ux7Tz5.js} +6 -4
  19. package/dist/{Text_es_Ffjr5J1k.js → Text_es_BdFAdf7M.js} +6 -4
  20. package/dist/cjs/components/Accordion.js +2 -2
  21. package/dist/cjs/components/Avatar.js +3 -3
  22. package/dist/cjs/components/AvatarStack.js +3 -3
  23. package/dist/cjs/components/Badge.js +2 -2
  24. package/dist/cjs/components/Breadcrumbs.js +2 -2
  25. package/dist/cjs/components/Button.js +4 -4
  26. package/dist/cjs/components/Cell.js +22 -20
  27. package/dist/cjs/components/Checkbox.js +1 -1
  28. package/dist/cjs/components/Chips.js +3 -3
  29. package/dist/cjs/components/Choice.js +3 -3
  30. package/dist/cjs/components/CookiesWarning.js +4 -4
  31. package/dist/cjs/components/DatePeriod.js +7 -7
  32. package/dist/cjs/components/DatePicker.js +6 -6
  33. package/dist/cjs/components/Drawer.js +2 -2
  34. package/dist/cjs/components/Dropdown.js +3 -3
  35. package/dist/cjs/components/HeroTitle.js +2 -2
  36. package/dist/cjs/components/Icon.js +2 -2
  37. package/dist/cjs/components/InputPassword.js +2 -2
  38. package/dist/cjs/components/Label.js +3 -3
  39. package/dist/cjs/components/Loader.js +2 -2
  40. package/dist/cjs/components/Logo.js +2 -3
  41. package/dist/cjs/components/MenuItem.js +4 -16
  42. package/dist/cjs/components/Modal.js +3 -3
  43. package/dist/cjs/components/Notification.js +2 -2
  44. package/dist/cjs/components/Pagination.js +3 -3
  45. package/dist/cjs/components/Radio.js +1 -1
  46. package/dist/cjs/components/Response.js +4 -4
  47. package/dist/cjs/components/Search.js +2 -2
  48. package/dist/cjs/components/Segmented.js +2 -2
  49. package/dist/cjs/components/Select.js +2 -2
  50. package/dist/cjs/components/Swiper.js +2 -2
  51. package/dist/cjs/components/Switch.js +1 -1
  52. package/dist/cjs/components/Tab.js +2 -2
  53. package/dist/cjs/components/Text.js +1 -1
  54. package/dist/cjs/components/Tile.js +2 -2
  55. package/dist/cjs/components/Title.js +2 -2
  56. package/dist/cjs/components/Tooltip.js +2 -2
  57. package/dist/cjs/components/Warning.js +2 -2
  58. package/dist/components/Accordion.js +2 -2
  59. package/dist/components/Avatar.js +3 -3
  60. package/dist/components/AvatarStack.js +3 -3
  61. package/dist/components/Badge.js +2 -2
  62. package/dist/components/Breadcrumbs.js +2 -2
  63. package/dist/components/Button.js +4 -4
  64. package/dist/components/Cell.js +22 -20
  65. package/dist/components/Checkbox.js +1 -1
  66. package/dist/components/Chips.js +3 -3
  67. package/dist/components/Choice.js +3 -3
  68. package/dist/components/CookiesWarning.js +4 -4
  69. package/dist/components/DatePeriod.js +7 -7
  70. package/dist/components/DatePicker.js +6 -6
  71. package/dist/components/Drawer.js +2 -2
  72. package/dist/components/Dropdown.js +3 -3
  73. package/dist/components/HeroTitle.js +2 -2
  74. package/dist/components/Icon.js +2 -2
  75. package/dist/components/InputPassword.js +2 -2
  76. package/dist/components/Label.js +3 -3
  77. package/dist/components/Loader.js +2 -2
  78. package/dist/components/Logo.js +2 -3
  79. package/dist/components/MenuItem.js +4 -16
  80. package/dist/components/Modal.js +3 -3
  81. package/dist/components/Notification.js +2 -2
  82. package/dist/components/Pagination.js +3 -3
  83. package/dist/components/Radio.js +1 -1
  84. package/dist/components/Response.js +4 -4
  85. package/dist/components/Search.js +2 -2
  86. package/dist/components/Segmented.js +2 -2
  87. package/dist/components/Select.js +2 -2
  88. package/dist/components/Swiper.js +2 -2
  89. package/dist/components/Switch.js +1 -1
  90. package/dist/components/Tab.js +2 -2
  91. package/dist/components/Text.js +1 -1
  92. package/dist/components/Tile.js +2 -2
  93. package/dist/components/Title.js +2 -2
  94. package/dist/components/Tooltip.js +2 -2
  95. package/dist/components/Warning.js +2 -2
  96. package/dist/css/components/Cell/Cell.css +10 -0
  97. package/dist/css/styles/fill-gradient/fill-gradient.css +8 -3
  98. package/dist/css/styles/shape-strength/shape-strength.css +3 -11
  99. package/dist/types/components/Button/appearance/buttonShape.d.ts +22 -0
  100. package/dist/types/components/Cell/appearance/cellSurface.d.ts +4 -0
  101. package/package.json +11 -12
@@ -28,13 +28,12 @@ var logoConfig = {
28
28
  },
29
29
  };
30
30
  var Logo = urlWithAssetPrefix(function Logo(props) {
31
- var className = props.className, appearance = props.appearance, size = props.size, href = props.href, link = props.link, mode = props.mode;
31
+ var className = props.className, appearance = props.appearance, size = props.size, href = props.href, link = props.link;
32
32
  var appearanceConfig = useAppearanceConfig(appearance, logoConfig);
33
33
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
34
34
  var alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, alignItemsClass = propsGenerator.alignItemsClass, src = propsGenerator.src, title = propsGenerator.title, alt = propsGenerator.alt, widthClass = propsGenerator.widthClass;
35
- // @ts-expect-error
36
35
  var logo = useStyles(props).styles;
37
- return (jsx("div", { className: clsx(className, 'logo', alignClass && "align_".concat(alignClass), alignDirectionClass && "align_".concat(alignDirectionClass), alignItemsClass && "logo_align-items_".concat(alignItemsClass), alt, title, mode && "logo_mode_".concat(mode), size && "logo_size_".concat(size), widthClass && "width_".concat(widthClass)), style: logo, children: link || href ? (jsx(LinkWrapper, { className: "logo__link", href: link || href, children: jsx("img", { className: "logo__image", src: src, title: title || alt, alt: alt || title }) })) : (jsx("img", { className: "logo__image", src: src, title: title || alt, alt: alt || title })) }));
36
+ return (jsx("div", { className: clsx(className, 'logo', alignClass && "align_".concat(alignClass), alignDirectionClass && "align_".concat(alignDirectionClass), alignItemsClass && "logo_align-items_".concat(alignItemsClass), size && "logo_size_".concat(size), widthClass && "width_".concat(widthClass)), style: logo, children: link || href ? (jsx(LinkWrapper, { className: "logo__link", href: link || href, children: jsx("img", { className: "logo__image", src: src, title: title || alt, alt: alt || title }) })) : (jsx("img", { className: "logo__image", src: src, title: title || alt, alt: alt || title })) }));
38
37
  });
39
38
 
40
39
  export { Logo, logoConfig };
@@ -4,9 +4,9 @@ import clsx from 'clsx';
4
4
  import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
5
5
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
6
6
  import { useStyles } from '../hooks/useStyles/useStyles.js';
7
- import { I as Icon, T as Tooltip } from '../Icon_es_k9bHSLyL.js';
7
+ import { I as Icon, T as Tooltip } from '../Icon_es_B7IMj2rG.js';
8
8
  import { L as Link } from '../Link_es_BnUIX0QT.js';
9
- import { T as Text } from '../Text_es_Ffjr5J1k.js';
9
+ import { T as Text } from '../Text_es_BdFAdf7M.js';
10
10
  import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
11
11
  import 'lodash/camelCase';
12
12
  import 'lodash/castArray';
@@ -182,7 +182,7 @@ function MenuItem(props) {
182
182
  var className = props.className, appearance = props.appearance, label = props.label, isDisabled = props.isDisabled, href = props.href, link = props.link, LinkComponent = props.LinkComponent, rel = props.rel, target = props.target, underline = props.underline, before = props.before, after = props.after, isActive = props.isActive, onClick = props.onClick, onMouseEnter = props.onMouseEnter, children = props.children;
183
183
  var appearanceConfig = useAppearanceConfig(appearance, menuItemConfig);
184
184
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
185
- var directionClass = propsGenerator.directionClass, justifyContentClass = propsGenerator.justifyContentClass, alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, labelStyle = propsGenerator.labelStyle, labelTextActiveColor = propsGenerator.labelTextActiveColor, labelTextActiveColorDisabled = propsGenerator.labelTextActiveColorDisabled, labelTextActiveHoverColor = propsGenerator.labelTextActiveHoverColor, labelTextActiveHoverColorDisabled = propsGenerator.labelTextActiveHoverColorDisabled, labelTextColor = propsGenerator.labelTextColor, labelTextColorDisabled = propsGenerator.labelTextColorDisabled, labelTextHoverColor = propsGenerator.labelTextHoverColor, labelTextHoverColorDisabled = propsGenerator.labelTextHoverColorDisabled, labelTextSize = propsGenerator.labelTextSize, labelWeight = propsGenerator.labelWeight, labelWrap = propsGenerator.labelWrap, borderColorClass = propsGenerator.borderColorClass, iconAfter = propsGenerator.iconAfter, iconAfterFill = propsGenerator.iconAfterFill, iconAfterFillIcon = propsGenerator.iconAfterFillIcon, iconAfterFillSize = propsGenerator.iconAfterFillSize, iconAfterShape = propsGenerator.iconAfterShape, iconAfterSize = propsGenerator.iconAfterSize, iconAfterSrc = propsGenerator.iconAfterSrc, iconBadgeAppearance = propsGenerator.iconBadgeAppearance, iconBadgeShape = propsGenerator.iconBadgeShape, iconBadgeSize = propsGenerator.iconBadgeSize, iconBadgeTextColor = propsGenerator.iconBadgeTextColor, iconBadgeTextSize = propsGenerator.iconBadgeTextSize, iconBadgeValue = propsGenerator.iconBadgeValue, iconBefore = propsGenerator.iconBefore, iconBeforeFill = propsGenerator.iconBeforeFill, iconBeforeFillIcon = propsGenerator.iconBeforeFillIcon, iconBeforeFillSize = propsGenerator.iconBeforeFillSize, iconBeforeShape = propsGenerator.iconBeforeShape, iconBeforeSize = propsGenerator.iconBeforeSize, iconBeforeSrc = propsGenerator.iconBeforeSrc, shapeClass = propsGenerator.shapeClass, shapeStrengthClass = propsGenerator.shapeStrengthClass, sizeClass = propsGenerator.sizeClass, tooltipAppearance = propsGenerator.tooltipAppearance, tooltipFill = propsGenerator.tooltipFill, tooltipShapeStrength = propsGenerator.tooltipShapeStrength, tooltipText = propsGenerator.tooltipText, tooltipTextColor = propsGenerator.tooltipTextColor, tooltipTitleTextColor = propsGenerator.tooltipTitleTextColor, typeClass = propsGenerator.typeClass, widthClass = propsGenerator.widthClass, isSkeleton = propsGenerator.isSkeleton;
185
+ var directionClass = propsGenerator.directionClass, justifyContentClass = propsGenerator.justifyContentClass, alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, labelStyle = propsGenerator.labelStyle, labelTextActiveColor = propsGenerator.labelTextActiveColor, labelTextActiveHoverColor = propsGenerator.labelTextActiveHoverColor, labelTextColor = propsGenerator.labelTextColor, labelTextColorDisabled = propsGenerator.labelTextColorDisabled, labelTextHoverColor = propsGenerator.labelTextHoverColor, labelTextSize = propsGenerator.labelTextSize, labelWeight = propsGenerator.labelWeight, labelWrap = propsGenerator.labelWrap, borderColorClass = propsGenerator.borderColorClass, iconAfter = propsGenerator.iconAfter, iconAfterFill = propsGenerator.iconAfterFill, iconAfterFillIcon = propsGenerator.iconAfterFillIcon, iconAfterFillSize = propsGenerator.iconAfterFillSize, iconAfterShape = propsGenerator.iconAfterShape, iconAfterSize = propsGenerator.iconAfterSize, iconAfterSrc = propsGenerator.iconAfterSrc, iconBadgeAppearance = propsGenerator.iconBadgeAppearance, iconBadgeShape = propsGenerator.iconBadgeShape, iconBadgeSize = propsGenerator.iconBadgeSize, iconBadgeTextColor = propsGenerator.iconBadgeTextColor, iconBadgeTextSize = propsGenerator.iconBadgeTextSize, iconBadgeValue = propsGenerator.iconBadgeValue, iconBefore = propsGenerator.iconBefore, iconBeforeFill = propsGenerator.iconBeforeFill, iconBeforeFillIcon = propsGenerator.iconBeforeFillIcon, iconBeforeFillSize = propsGenerator.iconBeforeFillSize, iconBeforeShape = propsGenerator.iconBeforeShape, iconBeforeSize = propsGenerator.iconBeforeSize, iconBeforeSrc = propsGenerator.iconBeforeSrc, shapeClass = propsGenerator.shapeClass, shapeStrengthClass = propsGenerator.shapeStrengthClass, sizeClass = propsGenerator.sizeClass, tooltipAppearance = propsGenerator.tooltipAppearance, tooltipFill = propsGenerator.tooltipFill, tooltipShapeStrength = propsGenerator.tooltipShapeStrength, tooltipText = propsGenerator.tooltipText, tooltipTextColor = propsGenerator.tooltipTextColor, tooltipTitleTextColor = propsGenerator.tooltipTitleTextColor, typeClass = propsGenerator.typeClass, widthClass = propsGenerator.widthClass, isSkeleton = propsGenerator.isSkeleton;
186
186
  // @ts-expect-error
187
187
  var menuItem = useStyles(props).styles;
188
188
  return (jsx("div", { className: clsx('menu-item', isActive && 'menu-item_state_active', isDisabled && "menu-item_state_disabled", directionClass && "menu-item_direction_".concat(directionClass), className, sizeClass && "menu-item_size_".concat(sizeClass), borderColorClass && "border-color_".concat(borderColorClass), !isActive
@@ -192,19 +192,7 @@ function MenuItem(props) {
192
192
  : fillActiveHoverClass && "fill_active_hover_".concat(fillActiveHoverClass), shapeClass && "shape_".concat(shapeClass), shapeStrengthClass
193
193
  ? "shape-strength_".concat(shapeStrengthClass)
194
194
  : shapeClass === 'rounded' && 'shape-strength_default', typeClass && "menu-item_type_".concat(typeClass), widthClass && "width_".concat(widthClass), justifyContentClass &&
195
- "menu-item_justify-content_".concat(justifyContentClass), isSkeleton && "menu-item_skeleton"), style: menuItem, onClick: onClick, onMouseEnter: onMouseEnter, children: jsxs(Link, { className: clsx('menu-item__wrapper', alignDirectionClass && "align_".concat(alignDirectionClass), alignClass && "align_".concat(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: isActive
196
- ? !isDisabled
197
- ? labelTextActiveColor
198
- : labelTextActiveColorDisabled
199
- : !isDisabled
200
- ? labelTextColor
201
- : labelTextColorDisabled, textColorHover: isActive
202
- ? !isDisabled
203
- ? labelTextActiveHoverColor
204
- : labelTextActiveHoverColorDisabled
205
- : !isDisabled
206
- ? labelTextHoverColor
207
- : labelTextHoverColorDisabled, textStyle: labelStyle, textWeight: labelWeight, textWrap: labelWrap, 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, jsx(Tooltip, { className: "menu-item__tooltip", appearance: tooltipAppearance, minWidth: "auto", fill: tooltipFill, left: "100%", zIndex: "100", titleTextColor: tooltipTitleTextColor, text: tooltipText, textColor: tooltipTextColor, centering: "vertical", shapeStrength: tooltipShapeStrength })] }) }));
195
+ "menu-item_justify-content_".concat(justifyContentClass), isSkeleton && "menu-item_skeleton"), style: menuItem, onClick: onClick, onMouseEnter: onMouseEnter, children: jsxs(Link, { className: clsx('menu-item__wrapper', alignDirectionClass && "align_".concat(alignDirectionClass), alignClass && "align_".concat(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: labelTextHoverColor, textStyle: labelStyle, textWeight: labelWeight, textWrap: labelWrap, isDisabled: isDisabled, isActive: isActive, 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, jsx(Tooltip, { className: "menu-item__tooltip", appearance: tooltipAppearance, minWidth: "auto", fill: tooltipFill, left: "100%", zIndex: "100", titleTextColor: tooltipTitleTextColor, text: tooltipText, textColor: tooltipTextColor, centering: "vertical", shapeStrength: tooltipShapeStrength })] }) }));
208
196
  }
209
197
 
210
198
  export { MenuItem, menuItemAppearance, menuItemConfig };
@@ -6,9 +6,9 @@ import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceC
6
6
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
7
7
  import { useStyles } from '../hooks/useStyles/useStyles.js';
8
8
  import { O as Overlay } from '../Overlay_es_D_izIIUB.js';
9
- import { b as Title } from '../Icon_es_k9bHSLyL.js';
9
+ import { b as Title } from '../Icon_es_B7IMj2rG.js';
10
10
  import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
11
- import { L as Loader } from '../Loader_es_BDb87cdb.js';
11
+ import { L as Loader } from '../Loader_es_DXVVV9LE.js';
12
12
  import 'lodash/camelCase';
13
13
  import 'lodash/castArray';
14
14
  import 'lodash/upperFirst';
@@ -25,7 +25,7 @@ import 'react-inlinesvg';
25
25
  import '../hoc/urlWithAssetPrefix.js';
26
26
  import '../context/UrlAssetPrefix.js';
27
27
  import '../Link_es_BnUIX0QT.js';
28
- import '../Text_es_Ffjr5J1k.js';
28
+ import '../Text_es_BdFAdf7M.js';
29
29
 
30
30
  var modalAppearanceSurface = {
31
31
  surfacePrimary: {
@@ -3,8 +3,8 @@ import clsx from 'clsx';
3
3
  import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
4
4
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
5
5
  import { useStyles } from '../hooks/useStyles/useStyles.js';
6
- import { I as Icon } from '../Icon_es_k9bHSLyL.js';
7
- import { T as Text } from '../Text_es_Ffjr5J1k.js';
6
+ import { I as Icon } from '../Icon_es_B7IMj2rG.js';
7
+ import { T as Text } from '../Text_es_BdFAdf7M.js';
8
8
  import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
9
9
  import { icons20 } from '@itcase/icons/default';
10
10
  import { useNotifications, useNotificationsAPI } from '../context/Notifications.js';
@@ -6,9 +6,9 @@ import ReactPaginate from 'react-paginate';
6
6
  import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
7
7
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
8
8
  import { useStyles } from '../hooks/useStyles/useStyles.js';
9
- import { D as Dropdown, a as DropdownItem } from '../DropdownItem_es_BBxfR35q.js';
10
- import { I as Icon } from '../Icon_es_k9bHSLyL.js';
11
- import { T as Text } from '../Text_es_Ffjr5J1k.js';
9
+ import { D as Dropdown, a as DropdownItem } from '../DropdownItem_es_BnKPMQwa.js';
10
+ import { I as Icon } from '../Icon_es_B7IMj2rG.js';
11
+ import { T as Text } from '../Text_es_BdFAdf7M.js';
12
12
  import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
13
13
  import { icons14, icons24, icons16 } from '@itcase/icons/default';
14
14
  import 'lodash/camelCase';
@@ -2,7 +2,7 @@ import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import clsx from 'clsx';
3
3
  import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
4
4
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
5
- import { T as Text } from '../Text_es_Ffjr5J1k.js';
5
+ import { T as Text } from '../Text_es_BdFAdf7M.js';
6
6
  import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
7
7
  import 'react';
8
8
  import 'lodash/camelCase';
@@ -7,9 +7,9 @@ import { urlWithAssetPrefix } from '../hoc/urlWithAssetPrefix.js';
7
7
  import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
8
8
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
9
9
  import { useStyles } from '../hooks/useStyles/useStyles.js';
10
- import { B as Button } from '../Button_es_XnWb2XF3.js';
10
+ import { B as Button } from '../Button_es_CwtOu3lT.js';
11
11
  import { G as Group } from '../Group_es_DSZxyI1e.js';
12
- import { T as Text } from '../Text_es_Ffjr5J1k.js';
12
+ import { T as Text } from '../Text_es_BdFAdf7M.js';
13
13
  import '@itcase/common';
14
14
  import '../context/UrlAssetPrefix.js';
15
15
  import 'lodash/camelCase';
@@ -23,9 +23,9 @@ import 'react-responsive';
23
23
  import '../utils/setViewportProperty.js';
24
24
  import 'lodash/maxBy';
25
25
  import '../hooks/useStyles/styleAttributes.js';
26
- import '../Icon_es_k9bHSLyL.js';
26
+ import '../Icon_es_B7IMj2rG.js';
27
27
  import '../Link_es_BnUIX0QT.js';
28
- import '../Loader_es_BDb87cdb.js';
28
+ import '../Loader_es_DXVVV9LE.js';
29
29
 
30
30
  var responseAppearanceConfirm = {
31
31
  confirm: {
@@ -6,8 +6,8 @@ import clsx from 'clsx';
6
6
  import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
7
7
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
8
8
  import { useStyles } from '../hooks/useStyles/useStyles.js';
9
- import { I as Icon } from '../Icon_es_k9bHSLyL.js';
10
- import { T as Text } from '../Text_es_Ffjr5J1k.js';
9
+ import { I as Icon } from '../Icon_es_B7IMj2rG.js';
10
+ import { T as Text } from '../Text_es_BdFAdf7M.js';
11
11
  import { S as Scrollbar } from '../Scrollbar_es_CThJeCLF.js';
12
12
  import 'lodash/camelCase';
13
13
  import 'lodash/castArray';
@@ -1,10 +1,10 @@
1
1
  import { jsx, jsxs } from 'react/jsx-runtime';
2
2
  import React, { useRef, useMemo, createRef, useCallback, useEffect } from 'react';
3
3
  import clsx from 'clsx';
4
- import { I as Icon } from '../Icon_es_k9bHSLyL.js';
4
+ import { I as Icon } from '../Icon_es_B7IMj2rG.js';
5
5
  import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
6
6
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
7
- import { T as Text } from '../Text_es_Ffjr5J1k.js';
7
+ import { T as Text } from '../Text_es_BdFAdf7M.js';
8
8
  import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
9
9
  import 'react-inlinesvg';
10
10
  import '../hoc/urlWithAssetPrefix.js';
@@ -1,13 +1,13 @@
1
1
  import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
2
2
  import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import Select, { components } from 'react-select';
4
- import { I as Icon, B as Badge } from '../Icon_es_k9bHSLyL.js';
4
+ import { I as Icon, B as Badge } from '../Icon_es_B7IMj2rG.js';
5
5
  import React, { useRef, useCallback, useEffect, useMemo } from 'react';
6
6
  import clsx from 'clsx';
7
7
  import CreatableSelect from 'react-select/creatable';
8
8
  import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
9
9
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
10
- import { T as Text } from '../Text_es_Ffjr5J1k.js';
10
+ import { T as Text } from '../Text_es_BdFAdf7M.js';
11
11
  import { G as Group } from '../Group_es_DSZxyI1e.js';
12
12
  import { D as Divider } from '../Divider_es_CiRU0sTz.js';
13
13
  import 'react-inlinesvg';
@@ -4,7 +4,7 @@ import clsx from 'clsx';
4
4
  import { Swiper as Swiper$1, SwiperSlide } from 'swiper/react';
5
5
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
6
6
  import { useStyles } from '../hooks/useStyles/useStyles.js';
7
- import { b as Title } from '../Icon_es_k9bHSLyL.js';
7
+ import { b as Title } from '../Icon_es_B7IMj2rG.js';
8
8
  import '../tslib.es6_es_Bwu1Cn-t.js';
9
9
  import 'lodash/camelCase';
10
10
  import 'lodash/castArray';
@@ -23,7 +23,7 @@ import '../hoc/urlWithAssetPrefix.js';
23
23
  import '../context/UrlAssetPrefix.js';
24
24
  import '../hooks/useAppearanceConfig/useAppearanceConfig.js';
25
25
  import '../Link_es_BnUIX0QT.js';
26
- import '../Text_es_Ffjr5J1k.js';
26
+ import '../Text_es_BdFAdf7M.js';
27
27
 
28
28
  function Swiper(props) {
29
29
  var id = props.id, className = props.className, direction = props.direction, title = props.title, titleAfter = props.titleAfter, titleSize = props.titleSize, titleTextColor = props.titleTextColor, titleWeight = props.titleWeight, setNextBtnDisabled = props.setNextBtnDisabled, setPrevBtnDisabled = props.setPrevBtnDisabled, _a = props.activeSlideIndex, activeSlideIndex = _a === void 0 ? 0 : _a, allowTouchMove = props.allowTouchMove, autoHeight = props.autoHeight, breakpoints = props.breakpoints, forwardedRef = props.forwardedRef, // https://github.com/vercel/next.js/issues/4957
@@ -3,7 +3,7 @@ import React from 'react';
3
3
  import clsx from 'clsx';
4
4
  import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
5
5
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
6
- import { T as Text } from '../Text_es_Ffjr5J1k.js';
6
+ import { T as Text } from '../Text_es_BdFAdf7M.js';
7
7
  import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
8
8
  import 'lodash/camelCase';
9
9
  import 'lodash/castArray';
@@ -4,10 +4,10 @@ import clsx from 'clsx';
4
4
  import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
5
5
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
6
6
  import { useStyles } from '../hooks/useStyles/useStyles.js';
7
- import { B as Badge, I as Icon } from '../Icon_es_k9bHSLyL.js';
7
+ import { B as Badge, I as Icon } from '../Icon_es_B7IMj2rG.js';
8
8
  import { D as Divider } from '../Divider_es_CiRU0sTz.js';
9
9
  import { L as Link } from '../Link_es_BnUIX0QT.js';
10
- import { T as Text } from '../Text_es_Ffjr5J1k.js';
10
+ import { T as Text } from '../Text_es_BdFAdf7M.js';
11
11
  import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
12
12
  import 'lodash/camelCase';
13
13
  import 'lodash/castArray';
@@ -1,4 +1,4 @@
1
- export { T as Text, a as textAppearance, t as textConfig } from '../Text_es_Ffjr5J1k.js';
1
+ export { T as Text, a as textAppearance, t as textConfig } from '../Text_es_BdFAdf7M.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'clsx';
4
4
  import '../hooks/useAppearanceConfig/useAppearanceConfig.js';
@@ -3,8 +3,8 @@ import clsx from 'clsx';
3
3
  import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
4
4
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
5
5
  import { useStyles } from '../hooks/useStyles/useStyles.js';
6
- import { b as Title, B as Badge, I as Icon } from '../Icon_es_k9bHSLyL.js';
7
- import { T as Text } from '../Text_es_Ffjr5J1k.js';
6
+ import { b as Title, B as Badge, I as Icon } from '../Icon_es_B7IMj2rG.js';
7
+ import { T as Text } from '../Text_es_BdFAdf7M.js';
8
8
  import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
9
9
  import 'react';
10
10
  import 'lodash/camelCase';
@@ -1,4 +1,4 @@
1
- export { b as Title, d as titleAppearance, c as titleConfig } from '../Icon_es_k9bHSLyL.js';
1
+ export { b as Title, d as titleAppearance, c as titleConfig } from '../Icon_es_B7IMj2rG.js';
2
2
  import '../tslib.es6_es_Bwu1Cn-t.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
@@ -22,4 +22,4 @@ import '../hooks/useStyles/useStyles.js';
22
22
  import 'lodash/maxBy';
23
23
  import '../hooks/useStyles/styleAttributes.js';
24
24
  import '../Link_es_BnUIX0QT.js';
25
- import '../Text_es_Ffjr5J1k.js';
25
+ import '../Text_es_BdFAdf7M.js';
@@ -1,4 +1,4 @@
1
- export { T as Tooltip, a as tooltipAppearance, t as tooltipConfig } from '../Icon_es_k9bHSLyL.js';
1
+ export { T as Tooltip, a as tooltipAppearance, t as tooltipConfig } from '../Icon_es_B7IMj2rG.js';
2
2
  import '../tslib.es6_es_Bwu1Cn-t.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
@@ -22,4 +22,4 @@ import '../hooks/useStyles/useStyles.js';
22
22
  import 'lodash/maxBy';
23
23
  import '../hooks/useStyles/styleAttributes.js';
24
24
  import '../Link_es_BnUIX0QT.js';
25
- import '../Text_es_Ffjr5J1k.js';
25
+ import '../Text_es_BdFAdf7M.js';
@@ -1,8 +1,8 @@
1
1
  import { jsx, jsxs } from 'react/jsx-runtime';
2
2
  import { useState, Fragment } from 'react';
3
3
  import clsx from 'clsx';
4
- import { I as Icon } from '../Icon_es_k9bHSLyL.js';
5
- import { T as Text } from '../Text_es_Ffjr5J1k.js';
4
+ import { I as Icon } from '../Icon_es_B7IMj2rG.js';
5
+ import { T as Text } from '../Text_es_BdFAdf7M.js';
6
6
  import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
7
7
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
8
8
  import { useStyles } from '../hooks/useStyles/useStyles.js';
@@ -105,6 +105,16 @@
105
105
  background-position: -200%;
106
106
  }
107
107
  }
108
+ .cell {
109
+ &_reverse {
110
+ &_true {
111
+ ^^&__wrapper {
112
+ display: flex;
113
+ flex-direction: column-reverse;
114
+ }
115
+ }
116
+ }
117
+ }
108
118
  :root {
109
119
  --cell-size-xl-padding: 4px 6px;
110
120
  --cell-size-xl-gap: 4px;
@@ -1,11 +1,16 @@
1
1
  .fill-gradient {
2
2
  @each $type in accent, primary, secondary, tertiary, surface, success, error {
3
3
  &_$(type) {
4
- @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
4
+ @each $color in primary, secondary, tertiary, quaternary, quinary, senary,
5
+ accent, disabled, hover {
5
6
  &-$(color) {
6
- @each $direction in left, top, right, bottom {
7
+ @each $direction in left, top, right, bottom {
7
8
  &-$(direction) {
8
- background: linear-gradient(to $(direction), var(--color-$(type)-gradient-$(color)-start) 0%, var(--color-$(type)-gradient-$(color)-end) 100%);
9
+ background: linear-gradient(
10
+ to $(direction),
11
+ var(--color-$(type)-gradient-$(color)-start) 0%,
12
+ var(--color-$(type)-gradient-$(color)-end) 100%
13
+ );
9
14
  }
10
15
  }
11
16
  }
@@ -1,23 +1,15 @@
1
+ .shape_rounded.shape-strength,
1
2
  .shape-strength {
2
- &_default {
3
- border-radius: 0.5m;
4
- }
5
- &_0-5-m {
3
+ &_05-m {
6
4
  border-radius: 0.5m;
7
5
  }
8
6
  &_1-m {
9
7
  border-radius: 1m;
10
8
  }
11
- &_1-5-m {
9
+ &_15-m {
12
10
  border-radius: 1.5m;
13
11
  }
14
12
  &_2-m {
15
13
  border-radius: 2m;
16
14
  }
17
- &_2-5-m {
18
- border-radius: 2.5m;
19
- }
20
- &_3-m {
21
- border-radius: 3m;
22
- }
23
15
  }
@@ -0,0 +1,22 @@
1
+ declare const buttonAppearanceShape: {
2
+ rounded: {
3
+ shape: string;
4
+ };
5
+ roundedS: {
6
+ shape: string;
7
+ shapeStrength: string;
8
+ };
9
+ roundedM: {
10
+ shape: string;
11
+ shapeStrength: string;
12
+ };
13
+ roundedL: {
14
+ shape: string;
15
+ shapeStrength: string;
16
+ };
17
+ roundedXL: {
18
+ shape: string;
19
+ shapeStrength: string;
20
+ };
21
+ };
22
+ export { buttonAppearanceShape };
@@ -5,6 +5,7 @@ declare const cellAppearanceSurface: {
5
5
  titleIconItemFill: string;
6
6
  titleLabelAppearance: string;
7
7
  labelTextColor: string;
8
+ borderColor: string;
8
9
  valueIconItemFill: string;
9
10
  valueLabelAppearance: string;
10
11
  };
@@ -14,6 +15,7 @@ declare const cellAppearanceSurface: {
14
15
  titleIconItemFill: string;
15
16
  titleLabelAppearance: string;
16
17
  labelTextColor: string;
18
+ borderColor: string;
17
19
  valueIconItemFill: string;
18
20
  valueLabelAppearance: string;
19
21
  };
@@ -23,6 +25,7 @@ declare const cellAppearanceSurface: {
23
25
  titleIconItemFill: string;
24
26
  titleLabelAppearance: string;
25
27
  labelTextColor: string;
28
+ borderColor: string;
26
29
  valueIconItemFill: string;
27
30
  valueLabelAppearance: string;
28
31
  };
@@ -32,6 +35,7 @@ declare const cellAppearanceSurface: {
32
35
  titleIconItemFill: string;
33
36
  titleLabelAppearance: string;
34
37
  labelTextColor: string;
38
+ borderColor: string;
35
39
  valueIconItemFill: string;
36
40
  valueLabelAppearance: string;
37
41
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/ui",
3
- "version": "1.8.45",
3
+ "version": "1.8.51",
4
4
  "description": "UI components (Modal, Loader, Popup, etc)",
5
5
  "keywords": [
6
6
  "Modal",
@@ -102,21 +102,21 @@
102
102
  "dependencies": {
103
103
  "@emotion/is-prop-valid": "^1.3.1",
104
104
  "@itcase/common": "^1.2.28",
105
- "@itcase/icons": "^1.2.13",
105
+ "@itcase/icons": "^1.2.16",
106
106
  "@itcase/storybook-config": "^1.1.37",
107
- "@itcase/tokens-am": "^1.1.13",
108
- "@itcase/tokens-baikal": "^1.1.9",
107
+ "@itcase/tokens-am": "^1.1.15",
108
+ "@itcase/tokens-baikal": "^1.1.15",
109
109
  "@itcase/tokens-palette": "^1.1.11",
110
- "@storybook/addon-vitest": "^9.0.16",
110
+ "@storybook/addon-vitest": "^9.0.17",
111
111
  "clsx": "^2.1.1",
112
112
  "date-fns": "^4.1.0",
113
113
  "eslint-import-resolver-alias": "^1.1.2",
114
114
  "eslint-plugin-import": "^2.32.0",
115
- "framer-motion": "^12.23.5",
115
+ "framer-motion": "^12.23.6",
116
116
  "js-cookie": "^3.0.5",
117
117
  "lodash": "^4.17.21",
118
118
  "luxon": "^3.7.1",
119
- "motion": "^12.23.5",
119
+ "motion": "^12.23.6",
120
120
  "rc-slider": "^11.1.8",
121
121
  "react": "^18.3.1",
122
122
  "react-dadata": "^2.27.4",
@@ -142,8 +142,8 @@
142
142
  "@babel/preset-react": "^7.27.1",
143
143
  "@commitlint/cli": "^19.8.1",
144
144
  "@commitlint/config-conventional": "^19.8.1",
145
- "@itcase/config": "^1.0.51",
146
- "@itcase/lint": "^1.1.21",
145
+ "@itcase/config": "^1.0.53",
146
+ "@itcase/lint": "^1.1.23",
147
147
  "@itcase/types": "^1.0.6",
148
148
  "@rollup/plugin-alias": "^5.1.1",
149
149
  "@rollup/plugin-babel": "^6.0.4",
@@ -172,16 +172,15 @@
172
172
  "eslint": "9.31.0",
173
173
  "husky": "^9.1.7",
174
174
  "lint-staged": "^16.1.2",
175
- "npm": "^11.4.2",
176
175
  "prettier": "^3.6.2",
177
176
  "react-docgen-typescript": "^2.4.0",
178
- "rollup": "^4.45.0",
177
+ "rollup": "^4.45.1",
179
178
  "rollup-plugin-copy": "^3.5.0",
180
179
  "rollup-plugin-dts": "^6.2.1",
181
180
  "rollup-plugin-peer-deps-external": "^2.2.4",
182
181
  "rollup-preserve-directives": "^1.1.3",
183
182
  "semantic-release": "^24.2.7",
184
- "storybook": "^9.0.16",
183
+ "storybook": "^9.0.17",
185
184
  "stylelint": "^16.21.1",
186
185
  "typescript": "^5.8.3"
187
186
  }