@itcase/ui 1.8.61 → 1.8.62

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 (117) hide show
  1. package/dist/{Avatar_cjs_B-x-GK60.js → Avatar_cjs_g8d8LDkU.js} +2 -2
  2. package/dist/{Avatar_es_Dq-ngVWR.js → Avatar_es_DbH5Le9j.js} +2 -2
  3. package/dist/{Button_cjs_mbF1YhaZ.js → Button_cjs_BMCGsGKK.js} +10 -10
  4. package/dist/{Button_es_B2N3GsgJ.js → Button_es_CvkdyDHz.js} +10 -10
  5. package/dist/{ChipsGroup_cjs_BroKrFnn.js → ChipsGroup_cjs_BALOkFuT.js} +5 -5
  6. package/dist/{ChipsGroup_es_CCN4Bfnp.js → ChipsGroup_es_BIDq4idr.js} +5 -5
  7. package/dist/{DatePicker_cjs_CMgWyAQ0.js → DatePicker_cjs_EaIpF6cm.js} +4 -4
  8. package/dist/{DatePicker_es_CLJs86S9.js → DatePicker_es_Cq2jJkv0.js} +4 -4
  9. package/dist/{DropdownItem_cjs_DdjN_gRH.js → DropdownItem_cjs_DyjqXle_.js} +2 -2
  10. package/dist/{DropdownItem_es_DfEoMbef.js → DropdownItem_es_DHKJHW8q.js} +2 -2
  11. package/dist/{Group_cjs_DHNBxjH3.js → Group_cjs_D4QLNgcC.js} +2 -2
  12. package/dist/{Group_es_B2yGEJfj.js → Group_es_CruwH8Al.js} +2 -2
  13. package/dist/{Icon_cjs_O7ILYzgW.js → Icon_cjs_BsACgdjJ.js} +3 -3
  14. package/dist/{Icon_es_BGR9vYtq.js → Icon_es_CoIszJbl.js} +3 -3
  15. package/dist/{Label_cjs_eQIgvtt7.js → Label_cjs_QJ0WLQXG.js} +3 -3
  16. package/dist/{Label_es_BQDu9dwH.js → Label_es_WH-qJKvj.js} +3 -3
  17. package/dist/{Loader_cjs_DXJ1zsFJ.js → Loader_cjs_DlnM5Vzb.js} +16 -2
  18. package/dist/{Loader_es_D_NFpg8C.js → Loader_es_DhNCKZ8Y.js} +16 -2
  19. package/dist/{Overlay_cjs_BMrkRg7M.js → Overlay_cjs_B2KA85nC.js} +1 -1
  20. package/dist/{Overlay_es_D_izIIUB.js → Overlay_es_BvehRqIP.js} +1 -1
  21. package/dist/{Text_cjs_C-Ux7Tz5.js → Text_cjs_B8nNXWBA.js} +1 -1
  22. package/dist/{Text_es_BdFAdf7M.js → Text_es_BvmOR4nv.js} +1 -1
  23. package/dist/cjs/components/Accordion.js +2 -2
  24. package/dist/cjs/components/Avatar.js +3 -3
  25. package/dist/cjs/components/AvatarStack.js +4 -4
  26. package/dist/cjs/components/Badge.js +2 -2
  27. package/dist/cjs/components/Breadcrumbs.js +2 -2
  28. package/dist/cjs/components/Button.js +4 -4
  29. package/dist/cjs/components/Cell.js +3 -3
  30. package/dist/cjs/components/Checkbox.js +1 -1
  31. package/dist/cjs/components/Chips.js +3 -3
  32. package/dist/cjs/components/Choice.js +4 -4
  33. package/dist/cjs/components/CookiesWarning.js +4 -4
  34. package/dist/cjs/components/DatePeriod.js +7 -7
  35. package/dist/cjs/components/DatePicker.js +6 -6
  36. package/dist/cjs/components/Drawer.js +4 -4
  37. package/dist/cjs/components/Dropdown.js +3 -3
  38. package/dist/cjs/components/Flex.js +2 -2
  39. package/dist/cjs/components/Grid.js +3 -3
  40. package/dist/cjs/components/Group.js +1 -1
  41. package/dist/cjs/components/HTMLContent.js +1 -1
  42. package/dist/cjs/components/HeroTitle.js +3 -3
  43. package/dist/cjs/components/Icon.js +2 -2
  44. package/dist/cjs/components/InputPassword.js +2 -2
  45. package/dist/cjs/components/Label.js +3 -3
  46. package/dist/cjs/components/Loader.js +2 -2
  47. package/dist/cjs/components/MenuItem.js +2 -2
  48. package/dist/cjs/components/Modal.js +5 -5
  49. package/dist/cjs/components/ModalSheetBottom.js +1 -1
  50. package/dist/cjs/components/Notification.js +3 -3
  51. package/dist/cjs/components/Overlay.js +1 -1
  52. package/dist/cjs/components/Pagination.js +4 -4
  53. package/dist/cjs/components/Radio.js +1 -1
  54. package/dist/cjs/components/Response/img.js +4 -4
  55. package/dist/cjs/components/Response.js +12 -8
  56. package/dist/cjs/components/Search.js +3 -3
  57. package/dist/cjs/components/Segmented.js +2 -2
  58. package/dist/cjs/components/Select.js +3 -3
  59. package/dist/cjs/components/Swiper.js +2 -2
  60. package/dist/cjs/components/Switch.js +1 -1
  61. package/dist/cjs/components/Tab.js +4 -4
  62. package/dist/cjs/components/Text.js +1 -1
  63. package/dist/cjs/components/Tile.js +3 -3
  64. package/dist/cjs/components/Title.js +2 -2
  65. package/dist/cjs/components/Tooltip.js +2 -2
  66. package/dist/cjs/components/Warning.js +2 -2
  67. package/dist/components/Accordion.js +2 -2
  68. package/dist/components/Avatar.js +3 -3
  69. package/dist/components/AvatarStack.js +4 -4
  70. package/dist/components/Badge.js +2 -2
  71. package/dist/components/Breadcrumbs.js +2 -2
  72. package/dist/components/Button.js +4 -4
  73. package/dist/components/Cell.js +3 -3
  74. package/dist/components/Checkbox.js +1 -1
  75. package/dist/components/Chips.js +3 -3
  76. package/dist/components/Choice.js +4 -4
  77. package/dist/components/CookiesWarning.js +4 -4
  78. package/dist/components/DatePeriod.js +7 -7
  79. package/dist/components/DatePicker.js +6 -6
  80. package/dist/components/Drawer.js +4 -4
  81. package/dist/components/Dropdown.js +3 -3
  82. package/dist/components/Flex.js +2 -2
  83. package/dist/components/Grid.js +3 -3
  84. package/dist/components/Group.js +1 -1
  85. package/dist/components/HTMLContent.js +1 -1
  86. package/dist/components/HeroTitle.js +3 -3
  87. package/dist/components/Icon.js +2 -2
  88. package/dist/components/InputPassword.js +2 -2
  89. package/dist/components/Label.js +3 -3
  90. package/dist/components/Loader.js +2 -2
  91. package/dist/components/MenuItem.js +2 -2
  92. package/dist/components/Modal.js +5 -5
  93. package/dist/components/ModalSheetBottom.js +1 -1
  94. package/dist/components/Notification.js +3 -3
  95. package/dist/components/Overlay.js +1 -1
  96. package/dist/components/Pagination.js +4 -4
  97. package/dist/components/Radio.js +1 -1
  98. package/dist/components/Response/img.js +4 -4
  99. package/dist/components/Response.js +11 -8
  100. package/dist/components/Search.js +3 -3
  101. package/dist/components/Segmented.js +2 -2
  102. package/dist/components/Select.js +3 -3
  103. package/dist/components/Swiper.js +2 -2
  104. package/dist/components/Switch.js +1 -1
  105. package/dist/components/Tab.js +4 -4
  106. package/dist/components/Text.js +1 -1
  107. package/dist/components/Tile.js +3 -3
  108. package/dist/components/Title.js +2 -2
  109. package/dist/components/Tooltip.js +2 -2
  110. package/dist/components/Warning.js +2 -2
  111. package/dist/types/components/Button/appearance/buttonStyle.d.ts +4 -4
  112. package/dist/types/components/Loader/appearance/loaderStyle.d.ts +14 -0
  113. package/dist/types/components/Response/appearance/responceConfirm.d.ts +2 -0
  114. package/dist/types/components/Response/appearance/responseSuccess.d.ts +2 -2
  115. package/dist/types/components/Response/img/index.d.ts +4 -4
  116. package/dist/types/components/Response/index.d.ts +4 -2
  117. package/package.json +5 -5
@@ -1,3 +1,4 @@
1
+ export { responseIcon } from './Response/img.js';
1
2
  import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
2
3
  import { jsx, jsxs } from 'react/jsx-runtime';
3
4
  import { useMemo } from 'react';
@@ -6,9 +7,9 @@ import { urlWithAssetPrefix } from '../hoc/urlWithAssetPrefix.js';
6
7
  import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
7
8
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
8
9
  import { useStyles } from '../hooks/useStyles/useStyles.js';
9
- import { B as Button } from '../Button_es_B2N3GsgJ.js';
10
- import { G as Group } from '../Group_es_B2yGEJfj.js';
11
- import { T as Text } from '../Text_es_BdFAdf7M.js';
10
+ import { B as Button } from '../Button_es_CvkdyDHz.js';
11
+ import { G as Group } from '../Group_es_CruwH8Al.js';
12
+ import { T as Text } from '../Text_es_BvmOR4nv.js';
12
13
  import '@itcase/common';
13
14
  import '../context/UrlAssetPrefix.js';
14
15
  import 'lodash/camelCase';
@@ -22,10 +23,10 @@ import 'react-responsive';
22
23
  import '../utils/setViewportProperty.js';
23
24
  import 'lodash/maxBy';
24
25
  import '../hooks/useStyles/styleAttributes.js';
25
- import '../Icon_es_BGR9vYtq.js';
26
+ import '../Icon_es_CoIszJbl.js';
26
27
  import 'react-inlinesvg';
27
28
  import '../Link_es_BnUIX0QT.js';
28
- import '../Loader_es_D_NFpg8C.js';
29
+ import '../Loader_es_DhNCKZ8Y.js';
29
30
 
30
31
  var responseAppearanceConfirm = {
31
32
  confirm: {
@@ -34,6 +35,8 @@ var responseAppearanceConfirm = {
34
35
  titleTextSize: 'xxl',
35
36
  labelTextColor: 'surfaceTextPrimary',
36
37
  descTextSize: 'm',
38
+ svgFill: 'surfaceTertiary',
39
+ svgPathFill: 'surfaceItemQuaternary',
37
40
  primaryButtonAppearance: 'accentPrimary sizeXXL',
38
41
  secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
39
42
  },
@@ -102,10 +105,10 @@ var responseAppearanceSuccess = {
102
105
  titleTextSize: 'xxl',
103
106
  labelTextColor: 'surfaceTextPrimary',
104
107
  descTextSize: 'm',
108
+ svgFill: 'accentPrimary',
109
+ svgPathFill: 'accentItemPrimary',
105
110
  primaryButtonAppearance: 'accentPrimary sizeXXL',
106
111
  secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
107
- svgFill: 'surfaceTertiary',
108
- svgPathFill: 'surfaceItemQuaternary',
109
112
  },
110
113
  };
111
114
 
@@ -178,7 +181,7 @@ var Response = urlWithAssetPrefix(function Response(props) {
178
181
  }, [imageSrc, svgSrc, SvgImage, width, height, svgFillClass]);
179
182
  // @ts-expect-error
180
183
  var _a = useStyles(props), responseStyles = _a.styles, wrapperStyles = _a.wrapper;
181
- return (jsxs("div", { className: clsx(className, 'response', fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), shapeClass && "response_shape_".concat(shapeClass), borderColorClass && "border-color_".concat(borderColorClass), borderColorHoverClass && "border-color_hover_".concat(borderColorHoverClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), isSkeleton && "response_skeleton"), "data-testid": dataTestId, "data-tour": dataTour, style: responseStyles, children: [before, jsxs("div", { className: "response__wrapper", style: wrapperStyles, children: [ImageComponent && (jsx("div", { className: clsx('response__image', svgFillClass && "svg_fill_".concat(svgFillClass), svgPathFillClass && "svg_path_fill_".concat(svgPathFillClass)), children: ImageComponent })), jsxs("div", { className: "response__wrapper-inner", children: [title && (jsx(Text, { className: "response__title", size: titleTextSize, textColor: titleTextColor, textWeight: titleTextWeight, children: title })), desc && (jsx(Text, { className: "response__desc", size: descTextSize, textColor: descTextColor, textWeight: descTextWeight, children: desc }))] })] }), (primaryButtonLabel ||
184
+ return (jsxs("div", { dataTestId: dataTestId, dataTour: dataTour, className: clsx(className, 'response', fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), shapeClass && "response_shape_".concat(shapeClass), borderColorClass && "border-color_".concat(borderColorClass), borderColorHoverClass && "border-color_hover_".concat(borderColorHoverClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), isSkeleton && "response_skeleton"), style: responseStyles, children: [before, jsxs("div", { className: "response__wrapper", style: wrapperStyles, children: [ImageComponent && (jsx("div", { className: clsx('response__image', svgFillClass && "svg_fill_".concat(svgFillClass), svgPathFillClass && "svg_path_fill_".concat(svgPathFillClass)), children: ImageComponent })), jsxs("div", { className: "response__wrapper-inner", children: [title && (jsx(Text, { className: "response__title", size: titleTextSize, textColor: titleTextColor, textWeight: titleTextWeight, children: title })), desc && (jsx(Text, { className: "response__desc", size: descTextSize, textColor: descTextColor, textWeight: descTextWeight, children: desc }))] })] }), (primaryButtonLabel ||
182
185
  primaryButton ||
183
186
  secondaryButtonLabel ||
184
187
  secondaryButton ||
@@ -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_BGR9vYtq.js';
10
- import { T as Text } from '../Text_es_BdFAdf7M.js';
9
+ import { I as Icon } from '../Icon_es_CoIszJbl.js';
10
+ import { T as Text } from '../Text_es_BvmOR4nv.js';
11
11
  import { S as Scrollbar } from '../Scrollbar_es_CThJeCLF.js';
12
12
  import 'lodash/camelCase';
13
13
  import 'lodash/castArray';
@@ -178,7 +178,7 @@ var SearchInput = React.forwardRef(function SearchInput(props, ref) {
178
178
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
179
179
  var size = propsGenerator.size, fillClass = propsGenerator.fillClass, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, iconAfter = propsGenerator.iconAfter, iconAfterFill = propsGenerator.iconAfterFill, iconAfterSize = propsGenerator.iconAfterSize, iconAfterSrc = propsGenerator.iconAfterSrc, iconBefore = propsGenerator.iconBefore, iconBeforeFill = propsGenerator.iconBeforeFill, iconBeforeSize = propsGenerator.iconBeforeSize, iconBeforeSrc = propsGenerator.iconBeforeSrc, iconClear = propsGenerator.iconClear, iconClearFill = propsGenerator.iconClearFill, iconClearSize = propsGenerator.iconClearSize, iconClearSrc = propsGenerator.iconClearSrc, inputFillClass = propsGenerator.inputFillClass, inputShapeClass = propsGenerator.inputShapeClass, inputTextColorClass = propsGenerator.inputTextColorClass, inputTextSizeClass = propsGenerator.inputTextSizeClass, inputTextStyleClass = propsGenerator.inputTextStyleClass, inputTextWeightClass = propsGenerator.inputTextWeightClass, placeholderTextColor = propsGenerator.placeholderTextColor, placeholderTextSize = propsGenerator.placeholderTextSize, placeholderTextStyle = propsGenerator.placeholderTextStyle, placeholderTextWeight = propsGenerator.placeholderTextWeight, shapeClass = propsGenerator.shapeClass, widthClass = propsGenerator.widthClass;
180
180
  var searchInputStyles = useStyles(props).styles;
181
- return (jsxs("label", { className: clsx(className, 'search-input', shapeClass && "search_shape_".concat(shapeClass), fillClass && "fill_".concat(fillClass), widthClass && "width_".concat(widthClass), borderColorClass && "border-color_".concat(borderColorClass), borderColorHoverClass && "border-color_hover_".concat(borderColorHoverClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), size && "search-input_size_".concat(size), type && "search-input_type_".concat(type), isSkeleton && "search-input_skeleton"), "data-tour": dataTour, style: searchInputStyles, children: [before, (iconBefore || iconBeforeSrc) && (jsx(Icon, { className: "search-input__icon search-input__icon-before", size: iconBeforeSize, iconFill: iconBeforeFill, imageSrc: iconBeforeSrc, SvgImage: iconBefore })), jsxs("div", { className: clsx('search-input__wrapper', inputFillClass && "fill_".concat(inputFillClass), inputShapeClass && "search-input_shape_".concat(inputShapeClass)), children: [jsx("input", { className: clsx('search-input__value', (inputTextSizeClass ||
181
+ return (jsxs("label", { className: clsx(className, 'search-input', shapeClass && "search_shape_".concat(shapeClass), fillClass && "fill_".concat(fillClass), widthClass && "width_".concat(widthClass), borderColorClass && "border-color_".concat(borderColorClass), borderColorHoverClass && "border-color_hover_".concat(borderColorHoverClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), size && "search-input_size_".concat(size), type && "search-input_type_".concat(type), isSkeleton && "search-input_skeleton"), dataTour: dataTour, style: searchInputStyles, children: [before, (iconBefore || iconBeforeSrc) && (jsx(Icon, { className: "search-input__icon search-input__icon-before", size: iconBeforeSize, iconFill: iconBeforeFill, imageSrc: iconBeforeSrc, SvgImage: iconBefore })), jsxs("div", { className: clsx('search-input__wrapper', inputFillClass && "fill_".concat(inputFillClass), inputShapeClass && "search-input_shape_".concat(inputShapeClass)), children: [jsx("input", { className: clsx('search-input__value', (inputTextSizeClass ||
182
182
  inputTextWeightClass ||
183
183
  inputTextColorClass ||
184
184
  inputTextStyleClass) &&
@@ -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_BGR9vYtq.js';
4
+ import { I as Icon } from '../Icon_es_CoIszJbl.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_BdFAdf7M.js';
7
+ import { T as Text } from '../Text_es_BvmOR4nv.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,14 +1,14 @@
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_BGR9vYtq.js';
4
+ import { I as Icon, B as Badge } from '../Icon_es_CoIszJbl.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_BdFAdf7M.js';
11
- import { G as Group } from '../Group_es_B2yGEJfj.js';
10
+ import { T as Text } from '../Text_es_BvmOR4nv.js';
11
+ import { G as Group } from '../Group_es_CruwH8Al.js';
12
12
  import { D as Divider } from '../Divider_es_CiRU0sTz.js';
13
13
  import 'react-inlinesvg';
14
14
  import '../hoc/urlWithAssetPrefix.js';
@@ -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_BGR9vYtq.js';
7
+ import { b as Title } from '../Icon_es_CoIszJbl.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_BdFAdf7M.js';
26
+ import '../Text_es_BvmOR4nv.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_BdFAdf7M.js';
6
+ import { T as Text } from '../Text_es_BvmOR4nv.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_BGR9vYtq.js';
7
+ import { B as Badge, I as Icon } from '../Icon_es_CoIszJbl.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_BdFAdf7M.js';
10
+ import { T as Text } from '../Text_es_BvmOR4nv.js';
11
11
  import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
12
12
  import 'lodash/camelCase';
13
13
  import 'lodash/castArray';
@@ -213,7 +213,7 @@ function Tab(props) {
213
213
  ? borderColorHoverClass &&
214
214
  "border-color_hover_".concat(borderColorHoverClass)
215
215
  : borderColorActiveHoverClass &&
216
- "border-color_active_hover_".concat(borderColorActiveHoverClass), sizeClass && "tab_size_".concat(sizeClass), shapeClass && "tab_shape_".concat(shapeClass), widthClass && "width_".concat(widthClass), justifyContentClass && "tab_justify-content_".concat(justifyContentClass), isSkeleton && "tab_skeleton", onClick && 'cursor_type_pointer'), "data-tour": dataTour, style: tab, onClick: onClick, onMouseEnter: onMouseEnter, children: jsxs(Link, { className: clsx('tab__link', alignDirectionClass && "align_".concat(alignDirectionClass), alignClass && "align_".concat(alignClass), !isDisabled && 'cursor_type_pointer'), fill: linkFill, href: link || href, rel: rel, target: target, children: [before, children || (jsxs(React.Fragment, { children: [jsxs("div", { className: "tab__wrapper", children: [label && (jsx(Text, { className: "tab__label", size: labelTextSize, textAlign: labelTextAlign, textColor: labelTextColor, textColorActive: labelTextColorActive, textColorHover: labelTextColorHover, textColorHoverActive: labelTextColorActiveHover, textStyle: labelTextStyle, textWeight: labelTextWeight, textWrap: labelTextWrap, isDisabled: isDisabled, isActive: isActive, children: label })), badgeValue && (jsx(Badge, { appearance: badgeAppearance, size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue })), (icon || iconSrc) && (jsx(Icon, { className: clsx('tab__icon_after'), fill: iconFill, fillSize: iconFillSize, iconFill: iconFillIcon, iconSize: iconSize, imageSrc: iconSrc, shape: iconShape, SvgImage: icon }))] }), jsx(Divider, { width: "fill", direction: "horizontal", size: dividerSize, fill: dividerFill, fillActive: dividerFillActive, fillActiveHover: dividerFillActiveHover, fillDisabled: dividerFillDisabled, fillHover: dividerFillHover, zIndex: "1", isDisabled: isDisabled, isActive: isActive })] })), after] }) }));
216
+ "border-color_active_hover_".concat(borderColorActiveHoverClass), sizeClass && "tab_size_".concat(sizeClass), shapeClass && "tab_shape_".concat(shapeClass), widthClass && "width_".concat(widthClass), justifyContentClass && "tab_justify-content_".concat(justifyContentClass), isSkeleton && "tab_skeleton", onClick && 'cursor_type_pointer'), dataTour: dataTour, style: tab, onClick: onClick, onMouseEnter: onMouseEnter, children: jsxs(Link, { className: clsx('tab__link', alignDirectionClass && "align_".concat(alignDirectionClass), alignClass && "align_".concat(alignClass), !isDisabled && 'cursor_type_pointer'), fill: linkFill, href: link || href, rel: rel, target: target, children: [before, children || (jsxs(React.Fragment, { children: [jsxs("div", { className: "tab__wrapper", children: [label && (jsx(Text, { className: "tab__label", size: labelTextSize, textAlign: labelTextAlign, textColor: labelTextColor, textColorActive: labelTextColorActive, textColorHover: labelTextColorHover, textColorHoverActive: labelTextColorActiveHover, textStyle: labelTextStyle, textWeight: labelTextWeight, textWrap: labelTextWrap, isDisabled: isDisabled, isActive: isActive, children: label })), badgeValue && (jsx(Badge, { appearance: badgeAppearance, size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue })), (icon || iconSrc) && (jsx(Icon, { className: clsx('tab__icon_after'), fill: iconFill, fillSize: iconFillSize, iconFill: iconFillIcon, iconSize: iconSize, imageSrc: iconSrc, shape: iconShape, SvgImage: icon }))] }), jsx(Divider, { width: "fill", direction: "horizontal", size: dividerSize, fill: dividerFill, fillActive: dividerFillActive, fillActiveHover: dividerFillActiveHover, fillDisabled: dividerFillDisabled, fillHover: dividerFillHover, zIndex: "1", isDisabled: isDisabled, isActive: isActive })] })), after] }) }));
217
217
  }
218
218
 
219
219
  function TabGroup(props) {
@@ -222,7 +222,7 @@ function TabGroup(props) {
222
222
  var directionClass = propsGenerator.directionClass, alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillClass = propsGenerator.fillClass, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, widthClass = propsGenerator.widthClass, wrapClass = propsGenerator.wrapClass;
223
223
  // @ts-expect-error
224
224
  var _a = useStyles(props), groupStyles = _a.styles, groupWrapperStyles = _a.wrapper;
225
- return (jsx("div", { className: clsx(className, 'tab-group', 'group', widthClass && "width_".concat(widthClass), alignDirectionClass && "align_".concat(alignDirectionClass), directionClass && "group_direction_".concat(directionClass), alignClass && "align_".concat(alignClass), fillClass && "fill_".concat(fillClass), horizontalScroll && 'group_type_horizontal_scroll', wrapClass && "group_wrap_".concat(wrapClass), borderColorClass && "border-color_".concat(borderColorClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass)), "data-testid": dataTestId, "data-tour": dataTour, style: Object.assign({}, groupStyles, style), children: horizontalScroll ? (jsxs("div", { className: "tab-group__wrapper", style: groupWrapperStyles, children: [tabList === null || tabList === void 0 ? void 0 : tabList.map(function (item) { return (jsx(Tab, { appearance: tabAppearance, label: item.label, isActive: item.isActive }, item.key)); }), children] })) : (jsxs(React.Fragment, { children: [tabList === null || tabList === void 0 ? void 0 : tabList.map(function (item) { return (jsx(Tab, { appearance: tabAppearance, label: item.label, badgeValue: item.badgeValue, icon: item.icon, iconSrc: item.icon, isActive: item.isActive }, item.key)); }), children] })) }));
225
+ return (jsx("div", { className: clsx(className, 'tab-group', 'group', widthClass && "width_".concat(widthClass), alignDirectionClass && "align_".concat(alignDirectionClass), directionClass && "group_direction_".concat(directionClass), alignClass && "align_".concat(alignClass), fillClass && "fill_".concat(fillClass), horizontalScroll && 'group_type_horizontal_scroll', wrapClass && "group_wrap_".concat(wrapClass), borderColorClass && "border-color_".concat(borderColorClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass)), dataTestId: dataTestId, dataTour: dataTour, style: Object.assign({}, groupStyles, style), children: horizontalScroll ? (jsxs("div", { className: "tab-group__wrapper", style: groupWrapperStyles, children: [tabList === null || tabList === void 0 ? void 0 : tabList.map(function (item) { return (jsx(Tab, { appearance: tabAppearance, label: item.label, isActive: item.isActive }, item.key)); }), children] })) : (jsxs(React.Fragment, { children: [tabList === null || tabList === void 0 ? void 0 : tabList.map(function (item) { return (jsx(Tab, { appearance: tabAppearance, label: item.label, badgeValue: item.badgeValue, icon: item.icon, iconSrc: item.icon, isActive: item.isActive }, item.key)); }), children] })) }));
226
226
  }
227
227
 
228
228
  export { Tab, TabGroup, tabAppearance, tabConfig };
@@ -1,4 +1,4 @@
1
- export { T as Text, a as textAppearance, t as textConfig } from '../Text_es_BdFAdf7M.js';
1
+ export { T as Text, a as textAppearance, t as textConfig } from '../Text_es_BvmOR4nv.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_BGR9vYtq.js';
7
- import { T as Text } from '../Text_es_BdFAdf7M.js';
6
+ import { b as Title, B as Badge, I as Icon } from '../Icon_es_CoIszJbl.js';
7
+ import { T as Text } from '../Text_es_BvmOR4nv.js';
8
8
  import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
9
9
  import 'react';
10
10
  import 'lodash/camelCase';
@@ -141,7 +141,7 @@ function Tile(props) {
141
141
  var alignClass = propsGenerator.alignClass, _a = propsGenerator.alignDirectionClass, alignDirectionClass = _a === void 0 ? 'vertical' : _a, fillClass = propsGenerator.fillClass, titleTextAlign = propsGenerator.titleTextAlign, titleTextColor = propsGenerator.titleTextColor, titleTextSize = propsGenerator.titleTextSize, titleTextWeight = propsGenerator.titleTextWeight, titleTextWrap = propsGenerator.titleTextWrap, descTextColor = propsGenerator.descTextColor, descTextSize = propsGenerator.descTextSize, descTextWrap = propsGenerator.descTextWrap, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, badgeAppearance = propsGenerator.badgeAppearance, badgeAppearanceSize = propsGenerator.badgeAppearanceSize, badgeShape = propsGenerator.badgeShape, badgeSize = propsGenerator.badgeSize, badgeTextColor = propsGenerator.badgeTextColor, badgeTextSize = propsGenerator.badgeTextSize, dataTestId = propsGenerator.dataTestId, dataTour = propsGenerator.dataTour, icon = propsGenerator.icon, iconAppearance = propsGenerator.iconAppearance, iconFill = propsGenerator.iconFill, iconFillIcon = propsGenerator.iconFillIcon, iconFillSize = propsGenerator.iconFillSize, iconShape = propsGenerator.iconShape, iconSize = propsGenerator.iconSize, iconSrc = propsGenerator.iconSrc, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass;
142
142
  // @ts-expect-error
143
143
  var tileStyles = useStyles(props).styles;
144
- return (jsx("div", { className: clsx('tile', className, fillClass && "fill_".concat(fillClass), shapeClass && "tile_shape_".concat(shapeClass), alignClass && "align_".concat(alignClass), alignDirectionClass && "align_".concat(alignDirectionClass), direction && "direction_".concat(direction), borderColorClass && "border-color_".concat(borderColorClass), borderColorHoverClass && "border-color_hover_".concat(borderColorHoverClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), reverse && 'tile_reverse', sizeClass && "tile_size_".concat(sizeClass), type && "tile_type_".concat(type), badgeValue && "tile_state_badge", isSkeleton && "tile_skeleton"), "data-testid": dataTestId, "data-tour": dataTour, style: tileStyles, onClick: onClick, children: jsxs("div", { className: clsx('tile__wrapper', alignClass, alignDirectionClass), children: [before, jsxs("div", { className: "tile__header", children: [jsxs("div", { className: "tile__header-inner", children: [title && (jsx(Title, { className: "tile__title", size: titleTextSize, textAlign: titleTextAlign, textColor: titleTextColor, textWeight: titleTextWeight, textWrap: titleTextWrap, children: title })), desc && (jsx(Text, { className: "tile__text", size: descTextSize, textColor: descTextColor, textWrap: descTextWrap, children: desc }))] }), jsxs("div", { className: "tile__header-actions", children: [badgeValue && (jsx(Badge, { className: "tile__badge", appearance: "".concat(badgeAppearance, " ").concat(badgeAppearanceSize), size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue })), (icon || iconSrc) && (jsx(Icon, { className: clsx('tile__icon'), appearance: iconAppearance, fill: iconFill, fillSize: iconFillSize, iconFill: iconFillIcon, iconSize: iconSize, imageSrc: iconSrc, shape: iconShape, SvgImage: icon }))] })] }), children, after] }) }));
144
+ return (jsx("div", { className: clsx('tile', className, fillClass && "fill_".concat(fillClass), shapeClass && "tile_shape_".concat(shapeClass), alignClass && "align_".concat(alignClass), alignDirectionClass && "align_".concat(alignDirectionClass), direction && "direction_".concat(direction), borderColorClass && "border-color_".concat(borderColorClass), borderColorHoverClass && "border-color_hover_".concat(borderColorHoverClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), reverse && 'tile_reverse', sizeClass && "tile_size_".concat(sizeClass), type && "tile_type_".concat(type), badgeValue && "tile_state_badge", isSkeleton && "tile_skeleton"), dataTestId: dataTestId, dataTour: dataTour, style: tileStyles, onClick: onClick, children: jsxs("div", { className: clsx('tile__wrapper', alignClass, alignDirectionClass), children: [before, jsxs("div", { className: "tile__header", children: [jsxs("div", { className: "tile__header-inner", children: [title && (jsx(Title, { className: "tile__title", size: titleTextSize, textAlign: titleTextAlign, textColor: titleTextColor, textWeight: titleTextWeight, textWrap: titleTextWrap, children: title })), desc && (jsx(Text, { className: "tile__text", size: descTextSize, textColor: descTextColor, textWrap: descTextWrap, children: desc }))] }), jsxs("div", { className: "tile__header-actions", children: [badgeValue && (jsx(Badge, { className: "tile__badge", appearance: "".concat(badgeAppearance, " ").concat(badgeAppearanceSize), size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue })), (icon || iconSrc) && (jsx(Icon, { className: clsx('tile__icon'), appearance: iconAppearance, fill: iconFill, fillSize: iconFillSize, iconFill: iconFillIcon, iconSize: iconSize, imageSrc: iconSrc, shape: iconShape, SvgImage: icon }))] })] }), children, after] }) }));
145
145
  }
146
146
 
147
147
  export { Tile, tileAppearance, tileConfig };
@@ -1,4 +1,4 @@
1
- export { b as Title, d as titleAppearance, c as titleConfig } from '../Icon_es_BGR9vYtq.js';
1
+ export { b as Title, d as titleAppearance, c as titleConfig } from '../Icon_es_CoIszJbl.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_BdFAdf7M.js';
25
+ import '../Text_es_BvmOR4nv.js';
@@ -1,4 +1,4 @@
1
- export { T as Tooltip, a as tooltipAppearance, t as tooltipConfig } from '../Icon_es_BGR9vYtq.js';
1
+ export { T as Tooltip, a as tooltipAppearance, t as tooltipConfig } from '../Icon_es_CoIszJbl.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_BdFAdf7M.js';
25
+ import '../Text_es_BvmOR4nv.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_BGR9vYtq.js';
5
- import { T as Text } from '../Text_es_BdFAdf7M.js';
4
+ import { I as Icon } from '../Icon_es_CoIszJbl.js';
5
+ import { T as Text } from '../Text_es_BvmOR4nv.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';
@@ -1,13 +1,13 @@
1
1
  declare const buttonAppearanceStyle: {
2
- full: {};
3
- ghost: {
4
- fill: string;
2
+ solid: {
5
3
  borderColor: string;
6
4
  };
7
5
  outlined: {
8
6
  fill: string;
9
7
  };
10
- solid: {
8
+ full: {};
9
+ ghost: {
10
+ fill: string;
11
11
  borderColor: string;
12
12
  };
13
13
  };
@@ -0,0 +1,14 @@
1
+ declare const loaderAppearanceStyle: {
2
+ solid: {
3
+ borderColor: string;
4
+ };
5
+ outlined: {
6
+ fill: string;
7
+ };
8
+ full: {};
9
+ ghost: {
10
+ fill: string;
11
+ borderColor: string;
12
+ };
13
+ };
14
+ export { loaderAppearanceStyle };
@@ -5,6 +5,8 @@ declare const responseAppearanceConfirm: {
5
5
  titleTextSize: string;
6
6
  labelTextColor: string;
7
7
  descTextSize: string;
8
+ svgFill: string;
9
+ svgPathFill: string;
8
10
  primaryButtonAppearance: string;
9
11
  secondaryButtonAppearance: string;
10
12
  };
@@ -5,10 +5,10 @@ declare const responseAppearanceSuccess: {
5
5
  titleTextSize: string;
6
6
  labelTextColor: string;
7
7
  descTextSize: string;
8
- primaryButtonAppearance: string;
9
- secondaryButtonAppearance: string;
10
8
  svgFill: string;
11
9
  svgPathFill: string;
10
+ primaryButtonAppearance: string;
11
+ secondaryButtonAppearance: string;
12
12
  };
13
13
  };
14
14
  export { responseAppearanceSuccess };
@@ -1,12 +1,12 @@
1
- declare const resposeIcon: {
1
+ declare const responseIcon: {
2
+ Error: any;
2
3
  Warning: any;
3
4
  Success: any;
4
5
  Confirm: any;
5
- Search: any;
6
- Error: any;
7
6
  Fail: any;
8
7
  NothingFound: any;
9
8
  Refresh: any;
9
+ Search: any;
10
10
  UnableLoadData: any;
11
11
  };
12
- export { resposeIcon };
12
+ export { responseIcon };
@@ -1,2 +1,4 @@
1
- export { responseAppearance } from './Response.appearance';
2
- export { Response, responseConfig } from './Response';
1
+ import { responseIcon } from './img';
2
+ import { Response, responseConfig } from './Response';
3
+ import { responseAppearance } from './Response.appearance';
4
+ export { responseAppearance, responseIcon, Response, responseConfig };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/ui",
3
- "version": "1.8.61",
3
+ "version": "1.8.62",
4
4
  "description": "UI components (Modal, Loader, Popup, etc)",
5
5
  "keywords": [
6
6
  "Modal",
@@ -103,11 +103,11 @@
103
103
  "@emotion/is-prop-valid": "^1.3.1",
104
104
  "@itcase/common": "^1.2.28",
105
105
  "@itcase/icons": "^1.2.16",
106
- "@itcase/storybook-config": "^1.1.50",
106
+ "@itcase/storybook-config": "^1.1.53",
107
107
  "@itcase/tokens-am": "^1.1.19",
108
108
  "@itcase/tokens-baikal": "^1.1.17",
109
109
  "@itcase/tokens-palette": "^1.1.11",
110
- "@storybook/addon-vitest": "^9.0.17",
110
+ "@storybook/addon-vitest": "^9.0.18",
111
111
  "clsx": "^2.1.1",
112
112
  "date-fns": "^4.1.0",
113
113
  "eslint-import-resolver-alias": "^1.1.2",
@@ -143,7 +143,7 @@
143
143
  "@commitlint/cli": "^19.8.1",
144
144
  "@commitlint/config-conventional": "^19.8.1",
145
145
  "@itcase/config": "^1.0.54",
146
- "@itcase/lint": "^1.1.25",
146
+ "@itcase/lint": "^1.1.26",
147
147
  "@itcase/types": "^1.0.6",
148
148
  "@rollup/plugin-alias": "^5.1.1",
149
149
  "@rollup/plugin-babel": "^6.0.4",
@@ -180,7 +180,7 @@
180
180
  "rollup-plugin-peer-deps-external": "^2.2.4",
181
181
  "rollup-preserve-directives": "^1.1.3",
182
182
  "semantic-release": "^24.2.7",
183
- "storybook": "^9.0.17",
183
+ "storybook": "^9.0.18",
184
184
  "stylelint": "^16.22.0",
185
185
  "typescript": "^5.8.3"
186
186
  }