@itcase/ui 1.9.31 → 1.9.32

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 (195) hide show
  1. package/dist/{Avatar_cjs_DsgsCeRd.js → Avatar_cjs_MeHu04tK.js} +4 -4
  2. package/dist/{Avatar_es_DBNS3IWw.js → Avatar_es_uJ8vSNKC.js} +4 -4
  3. package/dist/{Button_cjs_DiaYeIs8.js → Button_cjs_BLuRWxbc.js} +3 -3
  4. package/dist/{Button_es_y6hlih24.js → Button_es_DH8hqqdN.js} +3 -3
  5. package/dist/{ChipsGroup_cjs_P0UlUnid.js → ChipsGroup_cjs_C-oThNwF.js} +1 -1
  6. package/dist/{ChipsGroup_es_BgECuDPT.js → ChipsGroup_es_BOaDqAo8.js} +1 -1
  7. package/dist/{DatePicker_cjs_CaD9pYTQ.js → DatePicker_cjs_CHxK5Rw8.js} +6 -6
  8. package/dist/{DatePicker_es_DqHRlhti.js → DatePicker_es_DHGzUpHd.js} +6 -6
  9. package/dist/{Divider_cjs_BZn2epqW.js → Divider_cjs_1fwsCxEb.js} +2 -2
  10. package/dist/{Divider_es_DNJg0mQR.js → Divider_es_BlOJ77zx.js} +2 -2
  11. package/dist/{DropdownItem_cjs_l_fnynBJ.js → DropdownItem_cjs_DUtEvTHI.js} +6 -6
  12. package/dist/{DropdownItem_es_B36TJ2oI.js → DropdownItem_es_DgaoM2SE.js} +6 -6
  13. package/dist/{Group_cjs_C1YVff0N.js → Group_cjs_CcDdC0Ua.js} +2 -2
  14. package/dist/{Group_es_C69f2Dom.js → Group_es_Dml1c8Cz.js} +2 -2
  15. package/dist/{Icon_cjs_D-jQrwjV.js → Icon_cjs_CQxDPPGY.js} +7 -7
  16. package/dist/{Icon_es_BstDGBF3.js → Icon_es_Banbw98_.js} +7 -7
  17. package/dist/{Image_cjs_BUM81t4Y.js → Image_cjs_B3E9N9YO.js} +2 -2
  18. package/dist/{Image_es_C-IjVkKX.js → Image_es_D3YrkouM.js} +2 -2
  19. package/dist/{Input_cjs_DnjehCpi.js → Input_cjs_BUtZUZYh.js} +2 -2
  20. package/dist/{Input_es_DCaVqQH5.js → Input_es_DaDvQ8Xp.js} +2 -2
  21. package/dist/{Label_cjs_CyPU9hqO.js → Label_cjs_eckLVQqh.js} +1 -1
  22. package/dist/{Label_es_qnCgQX52.js → Label_es_DuDL0-3C.js} +1 -1
  23. package/dist/{Link_cjs_qKXVfU8e.js → Link_cjs_DqNtNI23.js} +2 -2
  24. package/dist/{Link_es_P2b6ya7P.js → Link_es_Bt-Bhy3t.js} +2 -2
  25. package/dist/{Loader_cjs_B3j9ATrq.js → Loader_cjs_CP1xKwb-.js} +2 -2
  26. package/dist/{Loader_es_wjTqawH6.js → Loader_es_Csp5tr40.js} +2 -2
  27. package/dist/{Scrollbar_cjs_Cp-7v2Mt.js → Scrollbar_cjs_DHe1EK_B.js} +2 -2
  28. package/dist/{Scrollbar_es_CcMgNvGi.js → Scrollbar_es_CKTh3pew.js} +2 -2
  29. package/dist/{SelectContainer_cjs_CnhODaJP.js → SelectContainer_cjs_CD-J8jSe.js} +6 -6
  30. package/dist/{SelectContainer_es_CcYDHcBP.js → SelectContainer_es_Bxt5C3nI.js} +6 -6
  31. package/dist/cjs/components/Accordion.js +3 -3
  32. package/dist/cjs/components/Avatar.js +4 -4
  33. package/dist/cjs/components/AvatarStack.js +5 -5
  34. package/dist/cjs/components/Badge.js +2 -2
  35. package/dist/cjs/components/Breadcrumbs.js +7 -7
  36. package/dist/cjs/components/Button.js +4 -4
  37. package/dist/cjs/components/Cell.js +5 -5
  38. package/dist/cjs/components/Checkbox.js +2 -2
  39. package/dist/cjs/components/Checkmark.js +2 -2
  40. package/dist/cjs/components/Chips.js +3 -3
  41. package/dist/cjs/components/Choice.js +3 -3
  42. package/dist/cjs/components/Code.js +2 -2
  43. package/dist/cjs/components/CookiesWarning.js +6 -6
  44. package/dist/cjs/components/Dadata.js +3 -3
  45. package/dist/cjs/components/DatePeriod.js +13 -13
  46. package/dist/cjs/components/DatePicker.js +7 -7
  47. package/dist/cjs/components/Divider.js +1 -1
  48. package/dist/cjs/components/Dot.js +2 -2
  49. package/dist/cjs/components/Drawer.js +5 -5
  50. package/dist/cjs/components/Dropdown.js +4 -4
  51. package/dist/cjs/components/Flex.js +5 -5
  52. package/dist/cjs/components/Grid.js +7 -7
  53. package/dist/cjs/components/Group.js +1 -1
  54. package/dist/cjs/components/HTMLContent.js +2 -2
  55. package/dist/cjs/components/HeroTitle.js +4 -4
  56. package/dist/cjs/components/Icon.js +2 -2
  57. package/dist/cjs/components/Image.js +1 -1
  58. package/dist/cjs/components/Input.js +1 -1
  59. package/dist/cjs/components/InputNumber.js +6 -6
  60. package/dist/cjs/components/InputPassword.js +4 -4
  61. package/dist/cjs/components/Label.js +3 -3
  62. package/dist/cjs/components/Link.js +1 -1
  63. package/dist/cjs/components/List.js +5 -5
  64. package/dist/cjs/components/Loader.js +1 -1
  65. package/dist/cjs/components/Logo.js +3 -3
  66. package/dist/cjs/components/MenuItem.js +2 -2
  67. package/dist/cjs/components/Modal.js +7 -36
  68. package/dist/cjs/components/ModalSheetBottom.js +4 -4
  69. package/dist/cjs/components/Notification.js +6 -6
  70. package/dist/cjs/components/Pagination.js +4 -4
  71. package/dist/cjs/components/Radio.js +2 -2
  72. package/dist/cjs/components/RangeSlider.js +2 -2
  73. package/dist/cjs/components/Response.js +8 -15
  74. package/dist/cjs/components/SVGContent.js +2 -2
  75. package/dist/cjs/components/ScrollOnDrag.js +2 -2
  76. package/dist/cjs/components/ScrollToView.js +2 -2
  77. package/dist/cjs/components/Scrollbar.js +1 -1
  78. package/dist/cjs/components/Search.js +7 -7
  79. package/dist/cjs/components/Segmented.js +11 -11
  80. package/dist/cjs/components/Select.js +6 -6
  81. package/dist/cjs/components/Swiper.js +5 -5
  82. package/dist/cjs/components/Switch.js +4 -4
  83. package/dist/cjs/components/Tab.js +3 -3
  84. package/dist/cjs/components/Textarea.js +2 -2
  85. package/dist/cjs/components/Tile.js +5 -5
  86. package/dist/cjs/components/Title.js +2 -2
  87. package/dist/cjs/components/Tooltip.js +2 -2
  88. package/dist/cjs/components/Video.js +2 -2
  89. package/dist/cjs/components/Warning.js +4 -4
  90. package/dist/components/Accordion.js +3 -3
  91. package/dist/components/Avatar.js +4 -4
  92. package/dist/components/AvatarStack.js +5 -5
  93. package/dist/components/Badge.js +2 -2
  94. package/dist/components/Breadcrumbs.js +7 -7
  95. package/dist/components/Button.js +4 -4
  96. package/dist/components/Cell.js +5 -5
  97. package/dist/components/Checkbox.js +2 -2
  98. package/dist/components/Checkmark.js +2 -2
  99. package/dist/components/Chips.js +3 -3
  100. package/dist/components/Choice.js +3 -3
  101. package/dist/components/Code.js +2 -2
  102. package/dist/components/CookiesWarning.js +6 -6
  103. package/dist/components/Dadata.js +3 -3
  104. package/dist/components/DatePeriod.js +13 -13
  105. package/dist/components/DatePicker.js +7 -7
  106. package/dist/components/Divider.js +1 -1
  107. package/dist/components/Dot.js +2 -2
  108. package/dist/components/Drawer.js +5 -5
  109. package/dist/components/Dropdown.js +4 -4
  110. package/dist/components/Flex.js +5 -5
  111. package/dist/components/Grid.js +7 -7
  112. package/dist/components/Group.js +1 -1
  113. package/dist/components/HTMLContent.js +2 -2
  114. package/dist/components/HeroTitle.js +4 -4
  115. package/dist/components/Icon.js +2 -2
  116. package/dist/components/Image.js +1 -1
  117. package/dist/components/Input.js +1 -1
  118. package/dist/components/InputNumber.js +6 -6
  119. package/dist/components/InputPassword.js +4 -4
  120. package/dist/components/Label.js +3 -3
  121. package/dist/components/Link.js +1 -1
  122. package/dist/components/List.js +5 -5
  123. package/dist/components/Loader.js +1 -1
  124. package/dist/components/Logo.js +3 -3
  125. package/dist/components/MenuItem.js +2 -2
  126. package/dist/components/Modal.js +7 -36
  127. package/dist/components/ModalSheetBottom.js +4 -4
  128. package/dist/components/Notification.js +6 -6
  129. package/dist/components/Pagination.js +4 -4
  130. package/dist/components/Radio.js +2 -2
  131. package/dist/components/RangeSlider.js +2 -2
  132. package/dist/components/Response.js +8 -15
  133. package/dist/components/SVGContent.js +2 -2
  134. package/dist/components/ScrollOnDrag.js +2 -2
  135. package/dist/components/ScrollToView.js +2 -2
  136. package/dist/components/Scrollbar.js +1 -1
  137. package/dist/components/Search.js +7 -7
  138. package/dist/components/Segmented.js +11 -11
  139. package/dist/components/Select.js +6 -6
  140. package/dist/components/Swiper.js +5 -5
  141. package/dist/components/Switch.js +4 -4
  142. package/dist/components/Tab.js +3 -3
  143. package/dist/components/Textarea.js +2 -2
  144. package/dist/components/Tile.js +5 -5
  145. package/dist/components/Title.js +2 -2
  146. package/dist/components/Tooltip.js +2 -2
  147. package/dist/components/Video.js +2 -2
  148. package/dist/components/Warning.js +4 -4
  149. package/dist/css/styles/bundles.css +3 -3
  150. package/dist/types/components/Avatar/Avatar.interface.d.ts +2 -0
  151. package/dist/types/components/Badge/Badge.interface.d.ts +2 -0
  152. package/dist/types/components/Breadcrumbs/Breadcrumbs.interface.d.ts +4 -0
  153. package/dist/types/components/Cell/Cell.interface.d.ts +2 -0
  154. package/dist/types/components/Checkbox/Checkbox.interface.d.ts +3 -1
  155. package/dist/types/components/Checkmark/Checkmark.interface.d.ts +2 -0
  156. package/dist/types/components/Code/Code.interface.d.ts +2 -0
  157. package/dist/types/components/CookiesWarning/CookiesWarning.interface.d.ts +2 -0
  158. package/dist/types/components/Dadata/Dadata.interface.d.ts +2 -0
  159. package/dist/types/components/DatePeriod/DatePeriod.interface.d.ts +2 -0
  160. package/dist/types/components/DatePicker/DatePicker.interface.d.ts +2 -0
  161. package/dist/types/components/Divider/Divider.interface.d.ts +2 -0
  162. package/dist/types/components/Dot/Dot.interface.d.ts +2 -0
  163. package/dist/types/components/Dropdown/Dropdown.interface.d.ts +4 -0
  164. package/dist/types/components/Flex/Flex.interface.d.ts +4 -0
  165. package/dist/types/components/Grid/Grid.interface.d.ts +3 -0
  166. package/dist/types/components/HTMLContent/HTMLContent.interface.d.ts +1 -0
  167. package/dist/types/components/HeroTitle/HeroTitle.interface.d.ts +1 -0
  168. package/dist/types/components/Image/Image.interface.d.ts +2 -0
  169. package/dist/types/components/Input/Input.interface.d.ts +2 -1
  170. package/dist/types/components/InputNumber/InputNumber.interfaces.d.ts +2 -0
  171. package/dist/types/components/InputPassword/InputPassword.interface.d.ts +2 -0
  172. package/dist/types/components/Link/Link.interface.d.ts +2 -0
  173. package/dist/types/components/List/List.interface.d.ts +4 -0
  174. package/dist/types/components/Loader/Loader.interface.d.ts +3 -0
  175. package/dist/types/components/Logo/Logo.interface.d.ts +2 -0
  176. package/dist/types/components/ModalSheetBottom/ModalSheetBottom.interface.d.ts +2 -1
  177. package/dist/types/components/Notification/Notification.interface.d.ts +3 -0
  178. package/dist/types/components/Pagination/Pagination.interface.d.ts +2 -0
  179. package/dist/types/components/Radio/Radio.interface.d.ts +2 -0
  180. package/dist/types/components/RangeSlider/RangeSlider.interface.d.ts +2 -0
  181. package/dist/types/components/Response/Response.interface.d.ts +2 -3
  182. package/dist/types/components/SVGContent/SVGContent.interface.d.ts +2 -0
  183. package/dist/types/components/ScrollOnDrag/ScrollOnDrag.interface.d.ts +2 -0
  184. package/dist/types/components/Scrollbar/Scrollbar.interface.d.ts +2 -0
  185. package/dist/types/components/Search/Search.interface.d.ts +3 -0
  186. package/dist/types/components/Segmented/Segmented.interface.d.ts +2 -0
  187. package/dist/types/components/Select/Select.interface.d.ts +3 -1
  188. package/dist/types/components/Swiper/Swiper.interface.d.ts +2 -0
  189. package/dist/types/components/Switch/Switch.interface.d.ts +2 -0
  190. package/dist/types/components/Tab/Tab.interface.d.ts +1 -1
  191. package/dist/types/components/Textarea/Textarea.interface.d.ts +2 -0
  192. package/dist/types/components/Video/Video.interface.d.ts +2 -0
  193. package/dist/types/components/Warning/Warning.appearance.d.ts +58 -58
  194. package/dist/types/components/Warning/Warning.interface.d.ts +3 -1
  195. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var SelectContainer = require('../../SelectContainer_cjs_CnhODaJP.js');
3
+ var SelectContainer = require('../../SelectContainer_cjs_CD-J8jSe.js');
4
4
  require('react/jsx-runtime');
5
5
  require('react');
6
6
  require('clsx');
@@ -20,18 +20,18 @@ require('react-responsive');
20
20
  require('../utils/setViewportProperty.js');
21
21
  require('../hooks.js');
22
22
  require('../hooks/useStyles/styleAttributes.js');
23
- require('../../Group_cjs_C1YVff0N.js');
23
+ require('../../Group_cjs_CcDdC0Ua.js');
24
24
  require('../hooks/useStyles/useStyles.js');
25
25
  require('lodash/maxBy');
26
26
  require('../../Text_cjs_Co2XdYF-.js');
27
27
  require('@itcase/icons/default');
28
- require('../../Icon_cjs_D-jQrwjV.js');
28
+ require('../../Icon_cjs_CQxDPPGY.js');
29
29
  require('react-inlinesvg');
30
30
  require('../hoc/urlWithAssetPrefix.js');
31
31
  require('../context/UrlAssetPrefix.js');
32
- require('../../Link_cjs_qKXVfU8e.js');
33
- require('../../Loader_cjs_B3j9ATrq.js');
34
- require('../../Divider_cjs_BZn2epqW.js');
32
+ require('../../Link_cjs_DqNtNI23.js');
33
+ require('../../Loader_cjs_CP1xKwb-.js');
34
+ require('../../Divider_cjs_1fwsCxEb.js');
35
35
 
36
36
 
37
37
 
@@ -4,11 +4,11 @@ var jsxRuntime = require('react/jsx-runtime');
4
4
  var React = require('react');
5
5
  var clsx = require('clsx');
6
6
  var react = require('swiper/react');
7
- var Group = require('../../Group_cjs_C1YVff0N.js');
7
+ var Group = require('../../Group_cjs_CcDdC0Ua.js');
8
8
  var Text = require('../../Text_cjs_Co2XdYF-.js');
9
9
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
10
10
  var useStyles = require('../hooks/useStyles/useStyles.js');
11
- var Icon = require('../../Icon_cjs_D-jQrwjV.js');
11
+ var Icon = require('../../Icon_cjs_CQxDPPGY.js');
12
12
  require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
13
13
  require('lodash/camelCase');
14
14
  require('lodash/castArray');
@@ -26,10 +26,10 @@ require('lodash/maxBy');
26
26
  require('react-inlinesvg');
27
27
  require('../hoc/urlWithAssetPrefix.js');
28
28
  require('../context/UrlAssetPrefix.js');
29
- require('../../Link_cjs_qKXVfU8e.js');
29
+ require('../../Link_cjs_DqNtNI23.js');
30
30
 
31
31
  function Swiper(props) {
32
- const { id, className, direction, minZoom = 1, maxZoom = 5, title, titleAfter, titleSize, titleTextColor, titleWeight, activeSlideIndex = 0, allowTouchMove, autoHeight, breakpoints, forwardedRef, // https://github.com/vercel/next.js/issues/4957
32
+ const { id, className, dataTestId, dataTour, direction, minZoom = 1, maxZoom = 5, title, titleAfter, titleSize, titleTextColor, titleWeight, activeSlideIndex = 0, allowTouchMove, autoHeight, breakpoints, forwardedRef, // https://github.com/vercel/next.js/issues/4957
33
33
  freeMode, items, keyboard, loop, modules, mousewheel, nextButton, normalizeSlideIndex, pagination, prevButton, preventClicks, preventClicksPropagation, simulateTouch, slidesPerView, spaceBetween, speed, swiperClass, swiperSlideClass, isChangeOnClickSlide, isInit, isNavigation = false, isScrollbar, isShowOriginalLink = false, isZoomEnabled = false, setNextBtnDisabled, setPrevBtnDisabled, onSlideNextTransitionEnd, onSlidePrevTransitionEnd, onSwiper, onUpdate, children, } = props;
34
34
  const swiperRef = React.useRef(null);
35
35
  const isMountedRef = React.useRef(false);
@@ -81,7 +81,7 @@ function Swiper(props) {
81
81
  const { alignClass, alignDirectionClass, fillClass, shapeClass } = propsGenerator;
82
82
  // @ts-expect-error
83
83
  const { styles: style } = useStyles.useStyles(props);
84
- return (jsxRuntime.jsxs("div", { id: id, className: clsx('swiper-block', slidesPerView === 'auto' && 'swiper-block_type_auto', fillClass && `fill_${fillClass}`, shapeClass && `swiper_shape_${shapeClass}`, className), style: style, children: [title && (jsxRuntime.jsxs("div", { className: "swiper-block__wrapper", children: [title && (jsxRuntime.jsx(Icon.Title, { className: "swiper-block__title", size: titleSize, textColor: titleTextColor, textWeight: titleWeight, children: title })), titleAfter] })), prevButton && nextButton && (jsxRuntime.jsxs(React.Fragment, { children: [jsxRuntime.jsx("div", { className: "swiper-block__prev swiper-button", ref: prevRef, children: prevButton }), jsxRuntime.jsx("div", { className: "swiper-block__next swiper-button", ref: nextRef, children: nextButton })] })), jsxRuntime.jsx(react.Swiper, { className: clsx('swiper-block__swiper', swiperClass), ref: swiperRef, direction: direction, allowTouchMove: allowTouchMove, autoHeight: autoHeight ?? false, breakpoints: breakpoints, centeredSlides: true, freeMode: freeMode, init: isInit ?? true, keyboard: keyboard, loop: isLoop, modules: modules, mousewheel: mousewheel, navigation: isNavigation ? { nextEl, prevEl } : false, normalizeSlideIndex: normalizeSlideIndex, pagination: pagination, preventClicks: preventClicks, preventClicksPropagation: preventClicksPropagation, scrollbar: isScrollbar, simulateTouch: simulateTouch, slidesPerView: slidesPerView, spaceBetween: spaceBetween, speed: speed ?? 500, zoom: {
84
+ return (jsxRuntime.jsxs("div", { id: id, className: clsx('swiper-block', slidesPerView === 'auto' && 'swiper-block_type_auto', fillClass && `fill_${fillClass}`, shapeClass && `swiper_shape_${shapeClass}`, className), "data-testid": dataTestId, "data-tour": dataTour, style: style, children: [title && (jsxRuntime.jsxs("div", { className: "swiper-block__wrapper", children: [title && (jsxRuntime.jsx(Icon.Title, { className: "swiper-block__title", size: titleSize, textColor: titleTextColor, textWeight: titleWeight, children: title })), titleAfter] })), prevButton && nextButton && (jsxRuntime.jsxs(React.Fragment, { children: [jsxRuntime.jsx("div", { className: "swiper-block__prev swiper-button", ref: prevRef, children: prevButton }), jsxRuntime.jsx("div", { className: "swiper-block__next swiper-button", ref: nextRef, children: nextButton })] })), jsxRuntime.jsx(react.Swiper, { className: clsx('swiper-block__swiper', swiperClass), ref: swiperRef, direction: direction, allowTouchMove: allowTouchMove, autoHeight: autoHeight ?? false, breakpoints: breakpoints, centeredSlides: true, freeMode: freeMode, init: isInit ?? true, keyboard: keyboard, loop: isLoop, modules: modules, mousewheel: mousewheel, navigation: isNavigation ? { nextEl, prevEl } : false, normalizeSlideIndex: normalizeSlideIndex, pagination: pagination, preventClicks: preventClicks, preventClicksPropagation: preventClicksPropagation, scrollbar: isScrollbar, simulateTouch: simulateTouch, slidesPerView: slidesPerView, spaceBetween: spaceBetween, speed: speed ?? 500, zoom: {
85
85
  minRatio: minZoom,
86
86
  maxRatio: maxZoom,
87
87
  enabled: isZoomEnabled,
@@ -127,13 +127,13 @@ const switchConfig = {
127
127
  },
128
128
  };
129
129
  const Switch = React.forwardRef(function Switch(props, ref) {
130
- const { id, className, appearance, align = 'left', title, desc, isDisabled, isActive, onChange, } = props;
130
+ const { id, appearance, className, dataTestId, dataTour, align = 'left', title, desc, isActive, isDisabled, onChange, } = props;
131
131
  const appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, switchConfig, isDisabled);
132
132
  const propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
133
- const { size, fillActiveClass, fillActiveHoverClass, fillClass, widthClass, fillHoverClass, fillToggleActiveClass, fillToggleActiveHoverClass, fillToggleClass, fillToggleHoverClass, titleTextColor, titleTextSize, descTextColor, descTextSize, } = propsGenerator;
134
- return (jsxRuntime.jsxs("div", { className: clsx('switch', className, widthClass && `width_${widthClass}`, align && `switch_align_${align}`, size && `switch_size_${size}`), children: [jsxRuntime.jsxs("div", { className: "switch__wrapper", children: [title && (jsxRuntime.jsx(Text.Text, { className: clsx('switch__title'), size: titleTextSize, textColor: titleTextColor, children: title })), desc && (jsxRuntime.jsx(Text.Text, { className: clsx('switch__desc'), size: descTextSize, textColor: descTextColor, children: desc }))] }), jsxRuntime.jsxs("div", { className: 'switch__item', children: [jsxRuntime.jsx("input", { id: id, className: "switch__checkbox", type: "checkbox",
133
+ const { size, fillActiveClass, fillActiveHoverClass, fillClass, fillHoverClass, fillToggleActiveClass, fillToggleActiveHoverClass, fillToggleClass, fillToggleHoverClass, titleTextColor, titleTextSize, descTextColor, descTextSize, widthClass, } = propsGenerator;
134
+ return (jsxRuntime.jsxs("div", { className: clsx('switch', className, widthClass && `width_${widthClass}`, align && `switch_align_${align}`, size && `switch_size_${size}`), "data-testid": dataTestId, "data-tour": dataTour, children: [jsxRuntime.jsxs("div", { className: "switch__wrapper", children: [title && (jsxRuntime.jsx(Text.Text, { className: clsx('switch__title'), size: titleTextSize, textColor: titleTextColor, children: title })), desc && (jsxRuntime.jsx(Text.Text, { className: clsx('switch__desc'), size: descTextSize, textColor: descTextColor, children: desc }))] }), jsxRuntime.jsxs("div", { className: 'switch__item', children: [jsxRuntime.jsx("input", { id: id, className: "switch__checkbox", type: "checkbox",
135
135
  // @ts-expect-error
136
- ref: ref, disabled: isDisabled && 'disabled', checked: isActive && 'checked', onChange: onChange }), jsxRuntime.jsx("div", { className: clsx('switch__bg', !isActive
136
+ ref: ref, checked: isActive && 'checked', disabled: isDisabled && 'disabled', onChange: onChange }), jsxRuntime.jsx("div", { className: clsx('switch__bg', !isActive
137
137
  ? fillClass && `fill_${fillClass}`
138
138
  : fillActiveClass && `fill_active_${fillActiveClass}`, !isActive
139
139
  ? fillHoverClass && `fill_hover_${fillHoverClass}`
@@ -7,9 +7,9 @@ var useActiveClasses = require('../hooks/useActiveClasses/useActiveClasses.js');
7
7
  var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
8
8
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
9
9
  var useStyles = require('../hooks/useStyles/useStyles.js');
10
- var Icon = require('../../Icon_cjs_D-jQrwjV.js');
11
- var Divider = require('../../Divider_cjs_BZn2epqW.js');
12
- var Link = require('../../Link_cjs_qKXVfU8e.js');
10
+ var Icon = require('../../Icon_cjs_CQxDPPGY.js');
11
+ var Divider = require('../../Divider_cjs_1fwsCxEb.js');
12
+ var Link = require('../../Link_cjs_DqNtNI23.js');
13
13
  var Text = require('../../Text_cjs_Co2XdYF-.js');
14
14
  require('../hooks/useActiveClasses/useActiveClasses.helpers.js');
15
15
  require('lodash/camelCase');
@@ -214,11 +214,11 @@ const textareaConfig = {
214
214
  },
215
215
  };
216
216
  function Textarea(props) {
217
- const { id, appearance, className, dataTestId, name, placeholder, value, isDisabled, onBlur, onChange, onFocus, onKeyDown, } = props;
217
+ const { id, appearance, className, dataTestId, dataTour, name, placeholder, value, isDisabled, onBlur, onChange, onFocus, onKeyDown, } = props;
218
218
  const appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, textareaConfig, isDisabled);
219
219
  const propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
220
220
  const { fillClass, fillHoverClass, borderColorClass, borderHoverClass, borderWidthClass, textColorClass, textSizeClass, textWeightClass, caretClass, placeholderTextColorClass, shapeClass, shapeStrengthClass, sizeClass, widthClass, } = propsGenerator;
221
- return (jsxRuntime.jsx("div", { className: clsx('textarea', className, sizeClass && `textarea_size_${sizeClass}`), children: jsxRuntime.jsx("textarea", { id: id, className: clsx('textarea__input', (textSizeClass || textColorClass || textWeightClass) && 'text', caretClass && `caret-color_${caretClass}`, fillClass && `fill_${fillClass}`, fillHoverClass && `fill_hover_${fillHoverClass}`, borderColorClass && `border-color_${borderColorClass}`, borderWidthClass && `border-width_${borderWidthClass}`, borderHoverClass && `border-color_hover_${borderHoverClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, placeholderTextColorClass &&
221
+ return (jsxRuntime.jsx("div", { className: clsx('textarea', className, sizeClass && `textarea_size_${sizeClass}`), "data-tour": dataTour, children: jsxRuntime.jsx("textarea", { id: id, className: clsx('textarea__input', (textSizeClass || textColorClass || textWeightClass) && 'text', caretClass && `caret-color_${caretClass}`, fillClass && `fill_${fillClass}`, fillHoverClass && `fill_hover_${fillHoverClass}`, borderColorClass && `border-color_${borderColorClass}`, borderWidthClass && `border-width_${borderWidthClass}`, borderHoverClass && `border-color_hover_${borderHoverClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, placeholderTextColorClass &&
222
222
  `placeholder-text-color_${placeholderTextColorClass}`, textSizeClass && `text_size_${textSizeClass}`, textColorClass && `text-color_${textColorClass}`, textWeightClass && `text-weight_${textWeightClass}`, widthClass && `width_${widthClass}`), "data-testid": dataTestId || (name ? `${name}-textarea` : 'textarea'), disabled: isDisabled, placeholder: placeholder, value: value, onBlur: onBlur, onChange: onChange, onFocus: onFocus, onKeyDown: onKeyDown }) }));
223
223
  }
224
224
 
@@ -5,7 +5,7 @@ var clsx = require('clsx');
5
5
  var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
6
6
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
7
7
  var useStyles = require('../hooks/useStyles/useStyles.js');
8
- var Icon = require('../../Icon_cjs_D-jQrwjV.js');
8
+ var Icon = require('../../Icon_cjs_CQxDPPGY.js');
9
9
  var Text = require('../../Text_cjs_Co2XdYF-.js');
10
10
  require('react');
11
11
  require('lodash/camelCase');
@@ -24,7 +24,7 @@ require('lodash/maxBy');
24
24
  require('react-inlinesvg');
25
25
  require('../hoc/urlWithAssetPrefix.js');
26
26
  require('../context/UrlAssetPrefix.js');
27
- require('../../Link_cjs_qKXVfU8e.js');
27
+ require('../../Link_cjs_DqNtNI23.js');
28
28
 
29
29
  const tileAppearanceShape = {
30
30
  circular: {
@@ -165,13 +165,13 @@ const tileConfig = {
165
165
  },
166
166
  };
167
167
  function Tile(props) {
168
- const { className, type, appearance, title, desc, badgeValue, before, after, isSkeleton, onClick, children, } = props;
168
+ const { appearance, className, dataTestId, dataTour, type, title, desc, badgeValue, before, after, isSkeleton, onClick, children, } = props;
169
169
  const appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, tileConfig);
170
170
  const propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
171
- const { dataTestId, dataTour, directionClass, alignClass, alignDirectionClass, fillClass, titleTextAlign, titleTextColor, titleTextSize, titleTextWeight, titleTextWrap, descTextColor, descTextSize, descTextWrap, borderColorClass, borderColorHoverClass, borderTypeClass, borderWidthClass, badgeAppearance, badgeAppearanceSize, badgeShape, badgeSize, badgeTextColor, badgeTextSize, icon, iconAppearance, iconFill, iconFillIcon, iconFillSize, iconShape, iconSize, iconSrc, shapeClass, shapeStrengthClass, sizeClass, widthClass, } = propsGenerator;
171
+ const { directionClass, alignClass, alignDirectionClass, fillClass, titleTextAlign, titleTextColor, titleTextSize, titleTextWeight, titleTextWrap, descTextColor, descTextSize, descTextWrap, borderColorClass, borderColorHoverClass, borderTypeClass, borderWidthClass, badgeAppearance, badgeAppearanceSize, badgeShape, badgeSize, badgeTextColor, badgeTextSize, icon, iconAppearance, iconFill, iconFillIcon, iconFillSize, iconShape, iconSize, iconSrc, shapeClass, shapeStrengthClass, sizeClass, widthClass, } = propsGenerator;
172
172
  // @ts-expect-error
173
173
  const { styles: tileStyles } = useStyles.useStyles(props);
174
- return (jsxRuntime.jsx("div", { className: clsx('tile', className, fillClass && `fill_${fillClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, alignClass && `align_${alignClass}`, directionClass && `direction_${directionClass}`, borderColorClass && `border-color_${borderColorClass}`, borderColorHoverClass && `border-color_hover_${borderColorHoverClass}`, borderWidthClass && `border-width_${borderWidthClass}`, borderTypeClass && `border_type_${borderTypeClass}`, sizeClass && `tile_size_${sizeClass}`, type && `tile_type_${type}`, badgeValue && `tile_state_badge`, widthClass && `width_${widthClass}`, isSkeleton && `tile_skeleton`), "data-testid": dataTestId, "data-tour": dataTour, style: tileStyles, onClick: onClick, children: jsxRuntime.jsxs("div", { className: clsx('tile__wrapper', alignClass, alignDirectionClass), children: [before, jsxRuntime.jsxs("div", { className: "tile__header", children: [jsxRuntime.jsxs("div", { className: "tile__header-inner", children: [title && (jsxRuntime.jsx(Icon.Title, { className: "tile__title", size: titleTextSize, textAlign: titleTextAlign, textColor: titleTextColor, textWeight: titleTextWeight, textWrap: titleTextWrap, children: title })), desc && (jsxRuntime.jsx(Text.Text, { className: "tile__text", size: descTextSize, textColor: descTextColor, textWrap: descTextWrap, children: desc }))] }), jsxRuntime.jsxs("div", { className: "tile__header-actions", children: [badgeValue && (jsxRuntime.jsx(Icon.Badge, { className: "tile__badge", appearance: `${badgeAppearance} ${badgeAppearanceSize}`, size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue })), (icon || iconSrc) && (jsxRuntime.jsx(Icon.Icon, { className: "tile__icon", appearance: iconAppearance, fill: iconFill, fillSize: iconFillSize, iconFill: iconFillIcon, iconSize: iconSize, imageSrc: iconSrc, shape: iconShape, SvgImage: icon }))] })] }), children, after] }) }));
174
+ return (jsxRuntime.jsx("div", { className: clsx('tile', className, fillClass && `fill_${fillClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, alignClass && `align_${alignClass}`, directionClass && `direction_${directionClass}`, borderColorClass && `border-color_${borderColorClass}`, borderColorHoverClass && `border-color_hover_${borderColorHoverClass}`, borderWidthClass && `border-width_${borderWidthClass}`, borderTypeClass && `border_type_${borderTypeClass}`, sizeClass && `tile_size_${sizeClass}`, type && `tile_type_${type}`, badgeValue && `tile_state_badge`, widthClass && `width_${widthClass}`, isSkeleton && `tile_skeleton`), "data-testid": dataTestId, "data-tour": dataTour, style: tileStyles, onClick: onClick, children: jsxRuntime.jsxs("div", { className: clsx('tile__wrapper', alignClass, alignDirectionClass), children: [before, jsxRuntime.jsxs("div", { className: "tile__header", children: [jsxRuntime.jsxs("div", { className: "tile__header-inner", children: [title && (jsxRuntime.jsx(Icon.Title, { className: "tile__title", size: titleTextSize, textAlign: titleTextAlign, textColor: titleTextColor, textWeight: titleTextWeight, textWrap: titleTextWrap, children: title })), desc && (jsxRuntime.jsx(Text.Text, { className: "tile__text", size: descTextSize, textColor: descTextColor, textWrap: descTextWrap, children: desc }))] }), jsxRuntime.jsxs("div", { className: "tile__header-actions", children: [badgeValue && (jsxRuntime.jsx(Icon.Badge, { appearance: `${badgeAppearance} ${badgeAppearanceSize}`, className: "tile__badge", size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue })), (icon || iconSrc) && (jsxRuntime.jsx(Icon.Icon, { appearance: iconAppearance, className: "tile__icon", fill: iconFill, fillSize: iconFillSize, iconFill: iconFillIcon, iconSize: iconSize, imageSrc: iconSrc, shape: iconShape, SvgImage: icon }))] })] }), children, after] }) }));
175
175
  }
176
176
 
177
177
  exports.Tile = Tile;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var Icon = require('../../Icon_cjs_D-jQrwjV.js');
3
+ var Icon = require('../../Icon_cjs_CQxDPPGY.js');
4
4
  require('react/jsx-runtime');
5
5
  require('react');
6
6
  require('clsx');
@@ -23,7 +23,7 @@ require('../hooks.js');
23
23
  require('../hooks/useStyles/styleAttributes.js');
24
24
  require('../hooks/useStyles/useStyles.js');
25
25
  require('lodash/maxBy');
26
- require('../../Link_cjs_qKXVfU8e.js');
26
+ require('../../Link_cjs_DqNtNI23.js');
27
27
  require('../../Text_cjs_Co2XdYF-.js');
28
28
 
29
29
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var Icon = require('../../Icon_cjs_D-jQrwjV.js');
3
+ var Icon = require('../../Icon_cjs_CQxDPPGY.js');
4
4
  require('react/jsx-runtime');
5
5
  require('react');
6
6
  require('clsx');
@@ -23,7 +23,7 @@ require('../hooks.js');
23
23
  require('../hooks/useStyles/styleAttributes.js');
24
24
  require('../hooks/useStyles/useStyles.js');
25
25
  require('lodash/maxBy');
26
- require('../../Link_cjs_qKXVfU8e.js');
26
+ require('../../Link_cjs_DqNtNI23.js');
27
27
  require('../../Text_cjs_Co2XdYF-.js');
28
28
 
29
29
 
@@ -18,9 +18,9 @@ require('../hooks.js');
18
18
  require('../hooks/useStyles/styleAttributes.js');
19
19
 
20
20
  function Video(props) {
21
- const { id, className, position, mp4, ogv, poster, webm, children } = props;
21
+ const { id, className, dataTestId, dataTour, position, mp4, ogv, poster, webm, children, } = props;
22
22
  const { styles: videoStyles } = useStyles.useStyles(props);
23
- return (jsxRuntime.jsxs("div", { id: id, className: clsx('video', className, poster && `video_poster`, position && `video_position_${position}`), style: videoStyles, children: [jsxRuntime.jsxs("video", { className: "video__wrapper", autoPlay: true, loop: true, muted: true, playsInline: false, poster: poster, children: [webm && jsxRuntime.jsx("source", { type: 'video/webm; codecs="vp8, vorbis"', src: webm }), ogv && jsxRuntime.jsx("source", { type: 'video/ogg; codecs="theora, vorbi"', src: ogv }), mp4 && (jsxRuntime.jsx("source", { type: 'video/mp4; codecs="avc1.42E01E, mp4a.40.2"', src: mp4 }))] }), children] }));
23
+ return (jsxRuntime.jsxs("div", { id: id, className: clsx('video', className, poster && `video_poster`, position && `video_position_${position}`), "data-testid": dataTestId, "data-tour": dataTour, style: videoStyles, children: [jsxRuntime.jsxs("video", { className: "video__wrapper", autoPlay: true, loop: true, muted: true, playsInline: false, poster: poster, children: [webm && jsxRuntime.jsx("source", { type: 'video/webm; codecs="vp8, vorbis"', src: webm }), ogv && jsxRuntime.jsx("source", { type: 'video/ogg; codecs="theora, vorbi"', src: ogv }), mp4 && (jsxRuntime.jsx("source", { type: 'video/mp4; codecs="avc1.42E01E, mp4a.40.2"', src: mp4 }))] }), children] }));
24
24
  }
25
25
 
26
26
  exports.Video = Video;
@@ -6,7 +6,7 @@ var clsx = require('clsx');
6
6
  var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
7
7
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
8
8
  var useStyles = require('../hooks/useStyles/useStyles.js');
9
- var Icon = require('../../Icon_cjs_D-jQrwjV.js');
9
+ var Icon = require('../../Icon_cjs_CQxDPPGY.js');
10
10
  var Text = require('../../Text_cjs_Co2XdYF-.js');
11
11
  var _default = require('@itcase/icons/default');
12
12
  require('lodash/camelCase');
@@ -25,7 +25,7 @@ require('lodash/maxBy');
25
25
  require('react-inlinesvg');
26
26
  require('../hoc/urlWithAssetPrefix.js');
27
27
  require('../context/UrlAssetPrefix.js');
28
- require('../../Link_cjs_qKXVfU8e.js');
28
+ require('../../Link_cjs_DqNtNI23.js');
29
29
 
30
30
  const warningAppearanceAccent = {
31
31
  accentMutedPrimary: {
@@ -186,14 +186,14 @@ const warningConfig = {
186
186
  },
187
187
  };
188
188
  function Warning(props) {
189
- const { appearance, className, label, description, isSkeleton, children } = props;
189
+ const { appearance, className, dataTestId, dataTour, label, description, isSkeleton, children, } = props;
190
190
  const appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, warningConfig);
191
191
  const propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
192
192
  const { fillClass, labelTextColor, labelTextSize, labelTextWeight, descriptionTextColor, descriptionTextSize, borderColorClass, iconAfter, iconAfterFill, iconAfterFillIcon, iconAfterSize, iconAfterSrc, iconBefore, iconBeforeFill, iconBeforeFillIcon, iconBeforeSize, iconBeforeSrc, shapeClass, shapeStrengthClass, sizeClass, } = propsGenerator;
193
193
  // @ts-ignore
194
194
  const { styles: warningStyles } = useStyles.useStyles(props);
195
195
  const [isVisible, setIsVisible] = React.useState(true);
196
- return (jsxRuntime.jsx(React.Fragment, { children: isVisible && (jsxRuntime.jsxs("div", { className: clsx(className, 'warning', fillClass && `fill_${fillClass}`, sizeClass && `warning_size_${sizeClass}`, borderColorClass && `border-color_${borderColorClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, isSkeleton && `warning_skeleton`), style: warningStyles, children: [(iconBefore || iconBeforeSrc) && (jsxRuntime.jsx(Icon.Icon, { fill: iconBeforeFill, iconFill: iconBeforeFillIcon, iconSize: iconBeforeSize, imageSrc: iconBeforeSrc, SvgImage: iconBefore })), jsxRuntime.jsxs("div", { className: 'warning__content', children: [label && (jsxRuntime.jsx(Text.Text, { size: labelTextSize, textColor: labelTextColor, textWeight: labelTextWeight, children: label })), description && (jsxRuntime.jsx(Text.Text, { size: descriptionTextSize, textColor: descriptionTextColor, children: description })), children] }), (iconAfter || iconAfterSrc) && (jsxRuntime.jsx(Icon.Icon, { fill: iconAfterFill, iconFill: iconAfterFillIcon, iconSize: iconAfterSize, imageSrc: iconAfterSrc, SvgImage: iconAfter, onClick: () => setIsVisible(false) }))] })) }));
196
+ return (jsxRuntime.jsx(React.Fragment, { children: isVisible && (jsxRuntime.jsxs("div", { className: clsx(className, 'warning', fillClass && `fill_${fillClass}`, sizeClass && `warning_size_${sizeClass}`, borderColorClass && `border-color_${borderColorClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, isSkeleton && `warning_skeleton`), "data-testid": dataTestId, "data-tour": dataTour, style: warningStyles, children: [(iconBefore || iconBeforeSrc) && (jsxRuntime.jsx(Icon.Icon, { fill: iconBeforeFill, iconFill: iconBeforeFillIcon, iconSize: iconBeforeSize, imageSrc: iconBeforeSrc, SvgImage: iconBefore })), jsxRuntime.jsxs("div", { className: 'warning__content', children: [label && (jsxRuntime.jsx(Text.Text, { size: labelTextSize, textColor: labelTextColor, textWeight: labelTextWeight, children: label })), description && (jsxRuntime.jsx(Text.Text, { size: descriptionTextSize, textColor: descriptionTextColor, children: description })), children] }), (iconAfter || iconAfterSrc) && (jsxRuntime.jsx(Icon.Icon, { fill: iconAfterFill, iconFill: iconAfterFillIcon, iconSize: iconAfterSize, imageSrc: iconAfterSrc, SvgImage: iconAfter, onClick: () => setIsVisible(false) }))] })) }));
197
197
  }
198
198
 
199
199
  exports.Warning = Warning;
@@ -5,8 +5,8 @@ import castArray from 'lodash/castArray';
5
5
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
6
6
  import { useStyles } from '../hooks/useStyles/useStyles.js';
7
7
  import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
8
- import { B as Badge, I as Icon } from '../Icon_es_BstDGBF3.js';
9
- import { D as Divider } from '../Divider_es_DNJg0mQR.js';
8
+ import { B as Badge, I as Icon } from '../Icon_es_Banbw98_.js';
9
+ import { D as Divider } from '../Divider_es_BlOJ77zx.js';
10
10
  import { T as Text } from '../Text_es_DaYcLe4H.js';
11
11
  import { icons16 } from '@itcase/icons/default';
12
12
  import 'lodash/camelCase';
@@ -24,7 +24,7 @@ import 'lodash/maxBy';
24
24
  import 'react-inlinesvg';
25
25
  import '../hoc/urlWithAssetPrefix.js';
26
26
  import '../context/UrlAssetPrefix.js';
27
- import '../Link_es_P2b6ya7P.js';
27
+ import '../Link_es_Bt-Bhy3t.js';
28
28
 
29
29
  const accordionAppearanceSize = {
30
30
  sizeXXL: {
@@ -1,4 +1,4 @@
1
- export { A as Avatar, b as avatarAppearance, a as avatarConfig } from '../Avatar_es_DBNS3IWw.js';
1
+ export { A as Avatar, b as avatarAppearance, a as avatarConfig } from '../Avatar_es_uJ8vSNKC.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'react';
4
4
  import 'clsx';
@@ -16,12 +16,12 @@ import 'react-responsive';
16
16
  import '../utils/setViewportProperty.js';
17
17
  import '../hooks.js';
18
18
  import '../hooks/useStyles/styleAttributes.js';
19
- import '../Icon_es_BstDGBF3.js';
19
+ import '../Icon_es_Banbw98_.js';
20
20
  import 'react-inlinesvg';
21
21
  import '../hoc/urlWithAssetPrefix.js';
22
22
  import '../context/UrlAssetPrefix.js';
23
23
  import '../hooks/useStyles/useStyles.js';
24
24
  import 'lodash/maxBy';
25
- import '../Link_es_P2b6ya7P.js';
25
+ import '../Link_es_Bt-Bhy3t.js';
26
26
  import '../Text_es_DaYcLe4H.js';
27
- import '../Image_es_C-IjVkKX.js';
27
+ import '../Image_es_D3YrkouM.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 { A as Avatar } from '../Avatar_es_DBNS3IWw.js';
7
- import { G as Group } from '../Group_es_C69f2Dom.js';
6
+ import { A as Avatar } from '../Avatar_es_uJ8vSNKC.js';
7
+ import { G as Group } from '../Group_es_Dml1c8Cz.js';
8
8
  import { T as Text } from '../Text_es_DaYcLe4H.js';
9
9
  import 'react';
10
10
  import 'lodash/camelCase';
@@ -20,12 +20,12 @@ import '../utils/setViewportProperty.js';
20
20
  import '../hooks.js';
21
21
  import '../hooks/useStyles/styleAttributes.js';
22
22
  import 'lodash/maxBy';
23
- import '../Icon_es_BstDGBF3.js';
23
+ import '../Icon_es_Banbw98_.js';
24
24
  import 'react-inlinesvg';
25
25
  import '../hoc/urlWithAssetPrefix.js';
26
26
  import '../context/UrlAssetPrefix.js';
27
- import '../Link_es_P2b6ya7P.js';
28
- import '../Image_es_C-IjVkKX.js';
27
+ import '../Link_es_Bt-Bhy3t.js';
28
+ import '../Image_es_D3YrkouM.js';
29
29
 
30
30
  const avatarStackAppearanceSize = {
31
31
  size16: {
@@ -1,4 +1,4 @@
1
- export { B as Badge, f as badgeAppearance, g as badgeConfig } from '../Icon_es_BstDGBF3.js';
1
+ export { B as Badge, f as badgeAppearance, g as badgeConfig } from '../Icon_es_Banbw98_.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'react';
4
4
  import 'clsx';
@@ -21,5 +21,5 @@ import '../hooks.js';
21
21
  import '../hooks/useStyles/styleAttributes.js';
22
22
  import '../hooks/useStyles/useStyles.js';
23
23
  import 'lodash/maxBy';
24
- import '../Link_es_P2b6ya7P.js';
24
+ import '../Link_es_Bt-Bhy3t.js';
25
25
  import '../Text_es_DaYcLe4H.js';
@@ -4,8 +4,8 @@ import clsx from 'clsx';
4
4
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
5
5
  import { useStyles } from '../hooks/useStyles/useStyles.js';
6
6
  import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
7
- import { I as Icon } from '../Icon_es_BstDGBF3.js';
8
- import { a as LinkWrapper } from '../Link_es_P2b6ya7P.js';
7
+ import { I as Icon } from '../Icon_es_Banbw98_.js';
8
+ import { a as LinkWrapper } from '../Link_es_Bt-Bhy3t.js';
9
9
  import { T as Text } from '../Text_es_DaYcLe4H.js';
10
10
  import { icons12, icons14, icons16, icons20, icons24 } from '@itcase/icons/default';
11
11
  import 'lodash/camelCase';
@@ -123,17 +123,17 @@ const breadcrumbsAppearance = {
123
123
  const breadcrumbsConfig = {
124
124
  appearance: breadcrumbsAppearance};
125
125
  function BreadcrumbsItem(props) {
126
- const { className, appearance, href, isActive, isSkeleton, onClick, children, } = props;
126
+ const { appearance, className, dataTestId, dataTour, href, isActive, isSkeleton, onClick, children, } = props;
127
127
  const appearanceConfig = useAppearanceConfig(appearance, breadcrumbsConfig);
128
128
  const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
129
129
  const { fillClass, labelTextColor, labelTextColorHover, labelTextSize, borderColorClass, text, cursor, icon, iconFill, iconFillIcon, iconFillSize, iconShape, iconSize, iconSrc, shapeClass, sizeClass, underlineClass, } = propsGenerator;
130
130
  // @ts-expect-error
131
131
  const { styles: itemStyles } = useStyles(props);
132
- return (jsxs(LinkWrapper, { className: clsx(className, 'breadcrumbs__item', borderColorClass && `border-color_${borderColorClass}`, isActive && 'breadcrumbs__item_current', sizeClass && `breadcrumbs__item_size_${sizeClass}`, shapeClass && `breadcrumbs__item_shape_${shapeClass}`, fillClass && `fill_${fillClass}`, underlineClass && `text-decoration_${underlineClass}`, isSkeleton && `breadcrumbs__item_skeleton`, onClick && (cursor || 'cursor_type_pointer')), href: href, LinkComponent: "div", style: itemStyles, onClick: onClick, children: [jsx(Text, { className: "breadcrumbs__item-text", size: labelTextSize, textColor: labelTextColor, textColorHover: labelTextColorHover, children: text || children }), !isActive && (icon || iconSrc) && (jsx(Icon, { className: clsx('breadcrumbs__item-icon'), fill: iconFill, fillSize: iconFillSize, iconFill: iconFillIcon, iconSize: iconSize, imageSrc: iconSrc, shape: iconShape, SvgImage: icon }))] }));
132
+ return (jsxs(LinkWrapper, { className: clsx(className, 'breadcrumbs__item', borderColorClass && `border-color_${borderColorClass}`, isActive && 'breadcrumbs__item_current', sizeClass && `breadcrumbs__item_size_${sizeClass}`, shapeClass && `breadcrumbs__item_shape_${shapeClass}`, fillClass && `fill_${fillClass}`, underlineClass && `text-decoration_${underlineClass}`, isSkeleton && `breadcrumbs__item_skeleton`, onClick && (cursor || 'cursor_type_pointer')), "data-testid": dataTestId, "data-tour": dataTour, href: href, LinkComponent: "div", style: itemStyles, onClick: onClick, children: [jsx(Text, { className: "breadcrumbs__item-text", size: labelTextSize, textColor: labelTextColor, textColorHover: labelTextColorHover, children: text || children }), !isActive && (icon || iconSrc) && (jsx(Icon, { className: clsx('breadcrumbs__item-icon'), fill: iconFill, fillSize: iconFillSize, iconFill: iconFillIcon, iconSize: iconSize, imageSrc: iconSrc, shape: iconShape, SvgImage: icon }))] }));
133
133
  }
134
134
 
135
135
  function Breadcrumbs(props) {
136
- const { className, appearance, breadcrumbsList, isSkeleton, children } = props;
136
+ const { appearance, className, dataTestId, dataTour, breadcrumbsList, isSkeleton, children, } = props;
137
137
  const propsGenerator = useDevicePropsGenerator(props);
138
138
  const { directionClass = 'horizontal', widthClass } = propsGenerator;
139
139
  const breadcrumbsItemsList = useMemo(() => {
@@ -144,9 +144,9 @@ function Breadcrumbs(props) {
144
144
  return children;
145
145
  }
146
146
  return [];
147
- }, [children, breadcrumbsList, appearance]);
147
+ }, [breadcrumbsList, children, appearance, isSkeleton]);
148
148
  const { styles: breadcrumbsStyles } = useStyles(props);
149
- return (jsx("div", { className: clsx(className, 'breadcrumbs', widthClass && `width_${widthClass}`, directionClass && `direction_${directionClass}`), style: breadcrumbsStyles, children: breadcrumbsItemsList }));
149
+ return (jsx("div", { className: clsx(className, 'breadcrumbs', widthClass && `width_${widthClass}`, directionClass && `direction_${directionClass}`), "data-testid": dataTestId, "data-tour": dataTour, style: breadcrumbsStyles, children: breadcrumbsItemsList }));
150
150
  }
151
151
 
152
152
  export { Breadcrumbs, BreadcrumbsItem, breadcrumbsAppearance };
@@ -1,4 +1,4 @@
1
- export { B as Button, a as buttonAppearance, b as buttonConfig } from '../Button_es_y6hlih24.js';
1
+ export { B as Button, a as buttonAppearance, b as buttonConfig } from '../Button_es_DH8hqqdN.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'react';
4
4
  import 'clsx';
@@ -18,10 +18,10 @@ import '../hooks.js';
18
18
  import '../hooks/useStyles/styleAttributes.js';
19
19
  import '../hooks/useStyles/useStyles.js';
20
20
  import 'lodash/maxBy';
21
- import '../Icon_es_BstDGBF3.js';
21
+ import '../Icon_es_Banbw98_.js';
22
22
  import 'react-inlinesvg';
23
23
  import '../hoc/urlWithAssetPrefix.js';
24
24
  import '../context/UrlAssetPrefix.js';
25
- import '../Link_es_P2b6ya7P.js';
25
+ import '../Link_es_Bt-Bhy3t.js';
26
26
  import '../Text_es_DaYcLe4H.js';
27
- import '../Loader_es_wjTqawH6.js';
27
+ import '../Loader_es_Csp5tr40.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 { I as Icon } from '../Icon_es_BstDGBF3.js';
7
- import { L as Label } from '../Label_es_qnCgQX52.js';
6
+ import { I as Icon } from '../Icon_es_Banbw98_.js';
7
+ import { L as Label } from '../Label_es_DuDL0-3C.js';
8
8
  import { T as Text } from '../Text_es_DaYcLe4H.js';
9
9
  import 'react';
10
10
  import 'lodash/camelCase';
@@ -23,7 +23,7 @@ import 'lodash/maxBy';
23
23
  import 'react-inlinesvg';
24
24
  import '../hoc/urlWithAssetPrefix.js';
25
25
  import '../context/UrlAssetPrefix.js';
26
- import '../Link_es_P2b6ya7P.js';
26
+ import '../Link_es_Bt-Bhy3t.js';
27
27
 
28
28
  const cellAppearanceSize = {
29
29
  sizeXL: {
@@ -162,7 +162,7 @@ const cellConfig = {
162
162
  },
163
163
  };
164
164
  function Cell(props) {
165
- const { appearance, className, title, titleIcon, titleLabel, titleTag, showTitleLabel, showValueLabel, value, valueIcon, valueTag, before, after, isActive, isEqual, isSameWidth, onClick, onMouseEnter, } = props;
165
+ const { appearance, className, dataTestId, dataTour, title, titleIcon, titleLabel, titleTag, showTitleLabel, showValueLabel, value, valueIcon, valueTag, before, after, isActive, isEqual, isSameWidth, onClick, onMouseEnter, } = props;
166
166
  const appearanceConfig = useAppearanceConfig(appearance, cellConfig);
167
167
  const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
168
168
  const { directionClass, fillActiveClass, fillActiveHoverClass, fillClass, fillHoverClass, titleIconFill, titleIconFillHover, titleIconFillSize, titleIconItemFill, titleIconShape, titleIconSrc, titleLabelAppearance, titleLabelAppearanceSize, titleLabelShape, titleLabelSize, titleLabelTextSize, titleTextColor, titleTextSize, titleTextTruncate, titleTextWeight, titleTextWrap, borderColorActiveClass, borderColorActiveHoverClass, borderColorClass, borderColorHoverClass, reverseClass, shapeClass, sizeClass, valueIconFill, valueIconFillHover, valueIconFillSize, valueIconItemFill, valueIconShape, valueIconSrc, valueLabel, valueLabelAppearance, valueLabelAppearanceSize, valueLabelShape, valueLabelSize, valueLabelTextSize, valueTextAlign, valueTextColor, valueTextSize, valueTextTruncate, valueTextWeight, valueTextWrap, widthClass, zeroGap, zeroPadding, } = propsGenerator;
@@ -179,7 +179,7 @@ function Cell(props) {
179
179
  ? borderColorHoverClass &&
180
180
  `border-color_hover_${borderColorHoverClass}`
181
181
  : borderColorActiveHoverClass &&
182
- `border-color_active_hover_${borderColorActiveHoverClass}`, reverseClass && `cell_reverse_${reverseClass}`, shapeClass && `cell_shape_${shapeClass}`, widthClass && `width_${widthClass}`, zeroPadding && 'cell_reset-padding', zeroGap && 'cell_reset-gap'), style: cellStyles, onClick: onClick, onMouseEnter: onMouseEnter, children: [before && jsx("div", { className: "cell__before", children: before }), jsxs("div", { className: clsx('cell__wrapper', directionClass && `cell__wrapper_direction_${directionClass}`, isEqual && 'cell__wrapper-equal', isSameWidth && 'cell__wrapper-same-width'), children: [title && (jsxs("div", { className: "cell__data", style: dataStyles, children: [jsx(Text, { className: "cell__title", size: titleTextSize, textColor: titleTextColor, textTruncate: titleTextTruncate, textWeight: titleTextWeight, textWrap: titleTextWrap, tag: titleTag, children: title }), (titleIcon || titleIconSrc) && (jsx(Icon, { className: "cell__title-icon", fill: titleIconFill, fillSize: titleIconFillSize, iconFill: titleIconItemFill, iconFillHover: titleIconFillHover, imageSrc: titleIconSrc, shape: titleIconShape, SvgImage: titleIcon })), (showTitleLabel || titleLabel) && (jsx(Label, { appearance: `${titleLabelAppearance} ${titleLabelAppearanceSize}`, className: "cell__title-label", size: titleLabelSize, label: titleLabel, labelTextSize: titleLabelTextSize, shape: titleLabelShape }))] })), value && (jsxs("div", { className: "cell__data", style: dataStyles, children: [jsx(Text, { className: "cell__value", size: valueTextSize, textAlign: valueTextAlign, textColor: valueTextColor, textTruncate: valueTextTruncate, textWeight: valueTextWeight, textWrap: valueTextWrap, tag: valueTag, children: value }), (valueIcon || valueIconSrc) && (jsx(Icon, { className: "cell__value-icon", fill: valueIconFill, fillSize: valueIconFillSize, iconFill: valueIconItemFill, iconFillHover: valueIconFillHover, imageSrc: valueIconSrc, shape: valueIconShape, SvgImage: valueIcon })), (showValueLabel || valueLabel) && (jsx(Label, { appearance: `${valueLabelAppearance} ${valueLabelAppearanceSize}`, className: "cell__value-label", size: valueLabelSize, label: valueLabel, labelTextSize: valueLabelTextSize, shape: valueLabelShape }))] }))] }), after && jsx("div", { className: "cell__after", children: after })] }));
182
+ `border-color_active_hover_${borderColorActiveHoverClass}`, reverseClass && `cell_reverse_${reverseClass}`, shapeClass && `cell_shape_${shapeClass}`, widthClass && `width_${widthClass}`, zeroPadding && 'cell_reset-padding', zeroGap && 'cell_reset-gap'), "data-testid": dataTestId, "data-tour": dataTour, style: cellStyles, onClick: onClick, onMouseEnter: onMouseEnter, children: [before && jsx("div", { className: "cell__before", children: before }), jsxs("div", { className: clsx('cell__wrapper', directionClass && `cell__wrapper_direction_${directionClass}`, isEqual && 'cell__wrapper-equal', isSameWidth && 'cell__wrapper-same-width'), children: [title && (jsxs("div", { className: "cell__data", style: dataStyles, children: [jsx(Text, { className: "cell__title", size: titleTextSize, textColor: titleTextColor, textTruncate: titleTextTruncate, textWeight: titleTextWeight, textWrap: titleTextWrap, tag: titleTag, children: title }), (titleIcon || titleIconSrc) && (jsx(Icon, { className: "cell__title-icon", fill: titleIconFill, fillSize: titleIconFillSize, iconFill: titleIconItemFill, iconFillHover: titleIconFillHover, imageSrc: titleIconSrc, shape: titleIconShape, SvgImage: titleIcon })), (showTitleLabel || titleLabel) && (jsx(Label, { appearance: `${titleLabelAppearance} ${titleLabelAppearanceSize}`, className: "cell__title-label", size: titleLabelSize, label: titleLabel, labelTextSize: titleLabelTextSize, shape: titleLabelShape }))] })), value && (jsxs("div", { className: "cell__data", style: dataStyles, children: [jsx(Text, { className: "cell__value", size: valueTextSize, textAlign: valueTextAlign, textColor: valueTextColor, textTruncate: valueTextTruncate, textWeight: valueTextWeight, textWrap: valueTextWrap, tag: valueTag, children: value }), (valueIcon || valueIconSrc) && (jsx(Icon, { className: "cell__value-icon", fill: valueIconFill, fillSize: valueIconFillSize, iconFill: valueIconItemFill, iconFillHover: valueIconFillHover, imageSrc: valueIconSrc, shape: valueIconShape, SvgImage: valueIcon })), (showValueLabel || valueLabel) && (jsx(Label, { appearance: `${valueLabelAppearance} ${valueLabelAppearanceSize}`, className: "cell__value-label", size: valueLabelSize, label: valueLabel, labelTextSize: valueLabelTextSize, shape: valueLabelShape }))] }))] }), after && jsx("div", { className: "cell__after", children: after })] }));
183
183
  }
184
184
 
185
185
  export { Cell, cellAppearance, cellConfig };
@@ -190,7 +190,7 @@ const checkboxConfig = {
190
190
  },
191
191
  };
192
192
  function Checkbox(props) {
193
- const { id, className, appearance, label, desc, disabled, isDisabled, checked, indeterminate, Tag = 'label', value, before, after, isActive, isChecked, isSkeleton, onBlur, onChange, onFocus, } = props;
193
+ const { id, appearance, className, dataTestId, dataTour, label, desc, checked, disabled, indeterminate, Tag = 'label', value, before, after, isActive, isChecked, isDisabled, isSkeleton, onBlur, onChange, onFocus, } = props;
194
194
  const appearanceConfig = useAppearanceConfig(appearance, checkboxConfig, isDisabled);
195
195
  const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
196
196
  const { fillCheckboxActiveClass, fillCheckboxActiveHoverClass, fillCheckboxClass, fillCheckboxHoverClass, fillCheckmarkClass, fillClass, fillHoverClass, labelTextColor, labelTextSize, labelTextWeight, descTextColor, descTextSize, descTextWeight, borderColorCheckboxActiveClass, borderColorCheckboxActiveHoverClass, borderColorCheckboxClass, borderColorCheckboxHoverClass, shapeClass, shapeStrengthClass, sizeClass, widthClass, } = propsGenerator;
@@ -209,7 +209,7 @@ function Checkbox(props) {
209
209
  ? borderColorCheckboxHoverClass &&
210
210
  `checkbox_border-color_hover_${borderColorCheckboxHoverClass}`
211
211
  : borderColorCheckboxActiveHoverClass &&
212
- `checkbox_border-color_active_hover_${borderColorCheckboxActiveHoverClass}`, widthClass && `width_${widthClass}`, isSkeleton && `checkbox_skeleton`), htmlFor: Tag === 'label' && id, children: [before, jsxs("div", { className: "checkbox__item", children: [jsx("input", { id: id, className: "checkbox__input", type: "checkbox", disabled: (isDisabled || disabled) && 'disabled', checked: (isActive || isChecked || checked) && 'checked', value: value, onBlur: onBlur, onChange: onChange, onFocus: onFocus }), jsx("div", { className: clsx('checkbox__state', shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`), children: "\u00A0" }), jsx("div", { className: clsx(!indeterminate
212
+ `checkbox_border-color_active_hover_${borderColorCheckboxActiveHoverClass}`, widthClass && `width_${widthClass}`, isSkeleton && `checkbox_skeleton`), "data-testid": dataTestId, "data-tour": dataTour, htmlFor: Tag === 'label' && id, children: [before, jsxs("div", { className: "checkbox__item", children: [jsx("input", { id: id, className: "checkbox__input", type: "checkbox", checked: (isActive || isChecked || checked) && 'checked', disabled: (isDisabled || disabled) && 'disabled', value: value, onBlur: onBlur, onChange: onChange, onFocus: onFocus }), jsx("div", { className: clsx('checkbox__state', shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`), children: "\u00A0" }), jsx("div", { className: clsx(!indeterminate
213
213
  ? 'checkbox__state-checkmark'
214
214
  : 'checkbox__state-indeterminate', (checked || indeterminate) &&
215
215
  fillCheckmarkClass &&
@@ -113,7 +113,7 @@ const checkmarkConfig = {
113
113
  },
114
114
  };
115
115
  function Checkmark(props) {
116
- const { className, appearance, isDisabled = false, isActive, isChecked, onClick, } = props;
116
+ const { appearance, className, dataTestId, dataTour, isActive, isChecked, isDisabled = false, onClick, } = props;
117
117
  const appearanceConfig = useAppearanceConfig(appearance, checkmarkConfig);
118
118
  const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
119
119
  const { fillActiveClass, fillActiveHoverClass, fillClass, fillHoverClass, borderColorActiveClass, borderColorActiveHoverClass, borderColorClass, borderColorHoverClass, borderWidthClass, checkmarkFillClass, sizeClass, } = propsGenerator;
@@ -130,7 +130,7 @@ function Checkmark(props) {
130
130
  ? borderColorHoverClass &&
131
131
  `border-color_hover_${borderColorHoverClass}`
132
132
  : borderColorActiveHoverClass &&
133
- `border-color_active_hover_${borderColorActiveHoverClass}`, borderWidthClass && `border-width_${borderWidthClass}`, isDisabled), style: checkmarkStyles, onClick: onClick, children: (isChecked || isActive) && (jsx("div", { className: clsx('checkmark__icon', `svg_path_fill_${checkmarkFillClass}`), children: jsx("svg", { width: "32", height: "24", fill: "none", viewBox: "0 0 32 24", xmlns: "http://www.w3.org/2000/svg", children: jsx("path", { fill: checkmarkFillClass, d: "M28.0896 0.706312L11.4967 18.1772L3.9104 10.1895C3.01576 9.24775 1.56549 9.24775 0.670845 10.1895C-0.223615 11.1315 -0.223615 12.6585 0.670845 13.6005L9.87695 23.2936C10.3243 23.7644 10.9105 24 11.4967 24C12.083 24 12.6692 23.7644 13.1165 23.2936L31.3292 4.11744C32.2236 3.17547 32.2236 1.64848 31.3292 0.706504C30.4345 -0.235469 28.9841 -0.235469 28.0896 0.706312Z" }) }) })) }));
133
+ `border-color_active_hover_${borderColorActiveHoverClass}`, borderWidthClass && `border-width_${borderWidthClass}`, isDisabled), "data-testid": dataTestId, "data-tour": dataTour, style: checkmarkStyles, onClick: onClick, children: (isChecked || isActive) && (jsx("div", { className: clsx('checkmark__icon', `svg_path_fill_${checkmarkFillClass}`), children: jsx("svg", { width: "32", height: "24", fill: "none", viewBox: "0 0 32 24", xmlns: "http://www.w3.org/2000/svg", children: jsx("path", { fill: checkmarkFillClass, d: "M28.0896 0.706312L11.4967 18.1772L3.9104 10.1895C3.01576 9.24775 1.56549 9.24775 0.670845 10.1895C-0.223615 11.1315 -0.223615 12.6585 0.670845 13.6005L9.87695 23.2936C10.3243 23.7644 10.9105 24 11.4967 24C12.083 24 12.6692 23.7644 13.1165 23.2936L31.3292 4.11744C32.2236 3.17547 32.2236 1.64848 31.3292 0.706504C30.4345 -0.235469 28.9841 -0.235469 28.0896 0.706312Z" }) }) })) }));
134
134
  }
135
135
 
136
136
  export { Checkmark, checkmarkAppearance, checkmarkConfig };
@@ -1,4 +1,4 @@
1
- export { C as Chips, b as ChipsGroup, a as chipsAppearance, c as chipsConfig } from '../ChipsGroup_es_BgECuDPT.js';
1
+ export { C as Chips, b as ChipsGroup, a as chipsAppearance, c as chipsConfig } from '../ChipsGroup_es_BOaDqAo8.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'clsx';
4
4
  import '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
@@ -18,9 +18,9 @@ import '../hooks/useStyles/styleAttributes.js';
18
18
  import '../hooks/useStyles/useStyles.js';
19
19
  import 'lodash/maxBy';
20
20
  import '../hooks/useAppearanceConfig/useAppearanceConfig.js';
21
- import '../Icon_es_BstDGBF3.js';
21
+ import '../Icon_es_Banbw98_.js';
22
22
  import 'react-inlinesvg';
23
23
  import '../hoc/urlWithAssetPrefix.js';
24
24
  import '../context/UrlAssetPrefix.js';
25
- import '../Link_es_P2b6ya7P.js';
25
+ import '../Link_es_Bt-Bhy3t.js';
26
26
  import '../Text_es_DaYcLe4H.js';
@@ -4,8 +4,8 @@ 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 } from '../Icon_es_BstDGBF3.js';
8
- import { L as Loader } from '../Loader_es_wjTqawH6.js';
7
+ import { I as Icon } from '../Icon_es_Banbw98_.js';
8
+ import { L as Loader } from '../Loader_es_Csp5tr40.js';
9
9
  import { T as Text } from '../Text_es_DaYcLe4H.js';
10
10
  import 'lodash/camelCase';
11
11
  import 'lodash/castArray';
@@ -23,7 +23,7 @@ import 'lodash/maxBy';
23
23
  import 'react-inlinesvg';
24
24
  import '../hoc/urlWithAssetPrefix.js';
25
25
  import '../context/UrlAssetPrefix.js';
26
- import '../Link_es_P2b6ya7P.js';
26
+ import '../Link_es_Bt-Bhy3t.js';
27
27
 
28
28
  const choiceAppearanceDefault = {
29
29
  defaultMutedPrimary: {
@@ -148,7 +148,7 @@ const codeConfig = {
148
148
  },
149
149
  };
150
150
  function Code(props) {
151
- const { appearance, className, initialValue = '', inputAutoFocus, inputCount = 6, inputPlaceholder, inputType = 'number', separatorComponent, before, after, isDisabled, isSkeleton, onBlur, onChange, onFocus, } = props;
151
+ const { appearance, className, dataTestId, dataTour, initialValue = '', inputAutoFocus, inputCount = 6, inputPlaceholder, inputType = 'number', separatorComponent, before, after, isDisabled, isSkeleton, onBlur, onChange, onFocus, } = props;
152
152
  const [otp, setOtp] = useState(initialValue);
153
153
  const appearanceConfig = useAppearanceConfig(appearance, codeConfig, isDisabled);
154
154
  const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
@@ -169,7 +169,7 @@ function Code(props) {
169
169
  useEffect(() => {
170
170
  onChange && onChange(otp);
171
171
  }, [otp]);
172
- return (jsxs("div", { className: clsx(className, 'code', widthClass, sizeClass && `code_size_${sizeClass}`), children: [before, jsx(OtpInput, { containerStyle: clsx(className, 'code__wrapper'), inputType: inputType, numInputs: inputCount, placeholder: inputPlaceholder, renderInput: renderInput, renderSeparator: separatorComponent || null, shouldAutoFocus: inputAutoFocus, value: otp, onChange: setOtp }), after] }));
172
+ return (jsxs("div", { className: clsx(className, 'code', widthClass, sizeClass && `code_size_${sizeClass}`), "data-testid": dataTestId, "data-tour": dataTour, children: [before, jsx(OtpInput, { containerStyle: clsx(className, 'code__wrapper'), inputType: inputType, numInputs: inputCount, placeholder: inputPlaceholder, renderInput: renderInput, renderSeparator: separatorComponent || null, shouldAutoFocus: inputAutoFocus, value: otp, onChange: setOtp }), after] }));
173
173
  }
174
174
 
175
175
  export { Code, codeAppearance, codeConfig };