@itcase/ui 1.9.30 → 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 +5 -1
  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
@@ -2,11 +2,11 @@ import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import React, { useRef, useCallback, useImperativeHandle, useEffect, useState } from 'react';
3
3
  import clsx from 'clsx';
4
4
  import { Swiper as Swiper$1, SwiperSlide } from 'swiper/react';
5
- import { G as Group } from '../Group_es_C69f2Dom.js';
5
+ import { G as Group } from '../Group_es_Dml1c8Cz.js';
6
6
  import { T as Text } from '../Text_es_DaYcLe4H.js';
7
7
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
8
8
  import { useStyles } from '../hooks/useStyles/useStyles.js';
9
- import { b as Title } from '../Icon_es_BstDGBF3.js';
9
+ import { b as Title } from '../Icon_es_Banbw98_.js';
10
10
  import '../hooks/useAppearanceConfig/useAppearanceConfig.js';
11
11
  import 'lodash/camelCase';
12
12
  import 'lodash/castArray';
@@ -24,10 +24,10 @@ 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
  function Swiper(props) {
30
- 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
30
+ 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
31
31
  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;
32
32
  const swiperRef = useRef(null);
33
33
  const isMountedRef = useRef(false);
@@ -79,7 +79,7 @@ function Swiper(props) {
79
79
  const { alignClass, alignDirectionClass, fillClass, shapeClass } = propsGenerator;
80
80
  // @ts-expect-error
81
81
  const { styles: style } = useStyles(props);
82
- return (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 && (jsxs("div", { className: "swiper-block__wrapper", children: [title && (jsx(Title, { className: "swiper-block__title", size: titleSize, textColor: titleTextColor, textWeight: titleWeight, children: title })), titleAfter] })), prevButton && nextButton && (jsxs(React.Fragment, { children: [jsx("div", { className: "swiper-block__prev swiper-button", ref: prevRef, children: prevButton }), jsx("div", { className: "swiper-block__next swiper-button", ref: nextRef, children: nextButton })] })), jsx(Swiper$1, { 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: {
82
+ return (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 && (jsxs("div", { className: "swiper-block__wrapper", children: [title && (jsx(Title, { className: "swiper-block__title", size: titleSize, textColor: titleTextColor, textWeight: titleWeight, children: title })), titleAfter] })), prevButton && nextButton && (jsxs(React.Fragment, { children: [jsx("div", { className: "swiper-block__prev swiper-button", ref: prevRef, children: prevButton }), jsx("div", { className: "swiper-block__next swiper-button", ref: nextRef, children: nextButton })] })), jsx(Swiper$1, { 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: {
83
83
  minRatio: minZoom,
84
84
  maxRatio: maxZoom,
85
85
  enabled: isZoomEnabled,
@@ -125,13 +125,13 @@ const switchConfig = {
125
125
  },
126
126
  };
127
127
  const Switch = React.forwardRef(function Switch(props, ref) {
128
- const { id, className, appearance, align = 'left', title, desc, isDisabled, isActive, onChange, } = props;
128
+ const { id, appearance, className, dataTestId, dataTour, align = 'left', title, desc, isActive, isDisabled, onChange, } = props;
129
129
  const appearanceConfig = useAppearanceConfig(appearance, switchConfig, isDisabled);
130
130
  const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
131
- const { size, fillActiveClass, fillActiveHoverClass, fillClass, widthClass, fillHoverClass, fillToggleActiveClass, fillToggleActiveHoverClass, fillToggleClass, fillToggleHoverClass, titleTextColor, titleTextSize, descTextColor, descTextSize, } = propsGenerator;
132
- return (jsxs("div", { className: clsx('switch', className, widthClass && `width_${widthClass}`, align && `switch_align_${align}`, size && `switch_size_${size}`), children: [jsxs("div", { className: "switch__wrapper", children: [title && (jsx(Text, { className: clsx('switch__title'), size: titleTextSize, textColor: titleTextColor, children: title })), desc && (jsx(Text, { className: clsx('switch__desc'), size: descTextSize, textColor: descTextColor, children: desc }))] }), jsxs("div", { className: 'switch__item', children: [jsx("input", { id: id, className: "switch__checkbox", type: "checkbox",
131
+ const { size, fillActiveClass, fillActiveHoverClass, fillClass, fillHoverClass, fillToggleActiveClass, fillToggleActiveHoverClass, fillToggleClass, fillToggleHoverClass, titleTextColor, titleTextSize, descTextColor, descTextSize, widthClass, } = propsGenerator;
132
+ return (jsxs("div", { className: clsx('switch', className, widthClass && `width_${widthClass}`, align && `switch_align_${align}`, size && `switch_size_${size}`), "data-testid": dataTestId, "data-tour": dataTour, children: [jsxs("div", { className: "switch__wrapper", children: [title && (jsx(Text, { className: clsx('switch__title'), size: titleTextSize, textColor: titleTextColor, children: title })), desc && (jsx(Text, { className: clsx('switch__desc'), size: descTextSize, textColor: descTextColor, children: desc }))] }), jsxs("div", { className: 'switch__item', children: [jsx("input", { id: id, className: "switch__checkbox", type: "checkbox",
133
133
  // @ts-expect-error
134
- ref: ref, disabled: isDisabled && 'disabled', checked: isActive && 'checked', onChange: onChange }), jsx("div", { className: clsx('switch__bg', !isActive
134
+ ref: ref, checked: isActive && 'checked', disabled: isDisabled && 'disabled', onChange: onChange }), jsx("div", { className: clsx('switch__bg', !isActive
135
135
  ? fillClass && `fill_${fillClass}`
136
136
  : fillActiveClass && `fill_active_${fillActiveClass}`, !isActive
137
137
  ? fillHoverClass && `fill_hover_${fillHoverClass}`
@@ -5,9 +5,9 @@ import { useActiveClasses } from '../hooks/useActiveClasses/useActiveClasses.js'
5
5
  import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
6
6
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
7
7
  import { useStyles } from '../hooks/useStyles/useStyles.js';
8
- import { B as Badge, I as Icon } from '../Icon_es_BstDGBF3.js';
9
- import { D as Divider } from '../Divider_es_DNJg0mQR.js';
10
- import { L as Link } from '../Link_es_P2b6ya7P.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
+ import { L as Link } from '../Link_es_Bt-Bhy3t.js';
11
11
  import { T as Text } from '../Text_es_DaYcLe4H.js';
12
12
  import '../hooks/useActiveClasses/useActiveClasses.helpers.js';
13
13
  import 'lodash/camelCase';
@@ -212,11 +212,11 @@ const textareaConfig = {
212
212
  },
213
213
  };
214
214
  function Textarea(props) {
215
- const { id, appearance, className, dataTestId, name, placeholder, value, isDisabled, onBlur, onChange, onFocus, onKeyDown, } = props;
215
+ const { id, appearance, className, dataTestId, dataTour, name, placeholder, value, isDisabled, onBlur, onChange, onFocus, onKeyDown, } = props;
216
216
  const appearanceConfig = useAppearanceConfig(appearance, textareaConfig, isDisabled);
217
217
  const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
218
218
  const { fillClass, fillHoverClass, borderColorClass, borderHoverClass, borderWidthClass, textColorClass, textSizeClass, textWeightClass, caretClass, placeholderTextColorClass, shapeClass, shapeStrengthClass, sizeClass, widthClass, } = propsGenerator;
219
- return (jsx("div", { className: clsx('textarea', className, sizeClass && `textarea_size_${sizeClass}`), children: 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 &&
219
+ return (jsx("div", { className: clsx('textarea', className, sizeClass && `textarea_size_${sizeClass}`), "data-tour": dataTour, children: 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 &&
220
220
  `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 }) }));
221
221
  }
222
222
 
@@ -3,7 +3,7 @@ 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_BstDGBF3.js';
6
+ import { b as Title, B as Badge, I as Icon } from '../Icon_es_Banbw98_.js';
7
7
  import { T as Text } from '../Text_es_DaYcLe4H.js';
8
8
  import 'react';
9
9
  import 'lodash/camelCase';
@@ -22,7 +22,7 @@ import 'lodash/maxBy';
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
 
27
27
  const tileAppearanceShape = {
28
28
  circular: {
@@ -163,13 +163,13 @@ const tileConfig = {
163
163
  },
164
164
  };
165
165
  function Tile(props) {
166
- const { className, type, appearance, title, desc, badgeValue, before, after, isSkeleton, onClick, children, } = props;
166
+ const { appearance, className, dataTestId, dataTour, type, title, desc, badgeValue, before, after, isSkeleton, onClick, children, } = props;
167
167
  const appearanceConfig = useAppearanceConfig(appearance, tileConfig);
168
168
  const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
169
- 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;
169
+ 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;
170
170
  // @ts-expect-error
171
171
  const { styles: tileStyles } = useStyles(props);
172
- return (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: 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: `${badgeAppearance} ${badgeAppearanceSize}`, size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue })), (icon || iconSrc) && (jsx(Icon, { className: "tile__icon", appearance: iconAppearance, fill: iconFill, fillSize: iconFillSize, iconFill: iconFillIcon, iconSize: iconSize, imageSrc: iconSrc, shape: iconShape, SvgImage: icon }))] })] }), children, after] }) }));
172
+ return (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: 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, { appearance: `${badgeAppearance} ${badgeAppearanceSize}`, className: "tile__badge", size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue })), (icon || iconSrc) && (jsx(Icon, { appearance: iconAppearance, className: "tile__icon", fill: iconFill, fillSize: iconFillSize, iconFill: iconFillIcon, iconSize: iconSize, imageSrc: iconSrc, shape: iconShape, SvgImage: icon }))] })] }), children, after] }) }));
173
173
  }
174
174
 
175
175
  export { Tile, tileAppearance, tileConfig };
@@ -1,4 +1,4 @@
1
- export { b as Title, d as titleAppearance, c as titleConfig } from '../Icon_es_BstDGBF3.js';
1
+ export { b as Title, d as titleAppearance, c as titleConfig } 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';
@@ -1,4 +1,4 @@
1
- export { T as Tooltip, a as tooltipAppearance, t as tooltipConfig } from '../Icon_es_BstDGBF3.js';
1
+ export { T as Tooltip, a as tooltipAppearance, t as tooltipConfig } 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';
@@ -16,9 +16,9 @@ import '../hooks.js';
16
16
  import '../hooks/useStyles/styleAttributes.js';
17
17
 
18
18
  function Video(props) {
19
- const { id, className, position, mp4, ogv, poster, webm, children } = props;
19
+ const { id, className, dataTestId, dataTour, position, mp4, ogv, poster, webm, children, } = props;
20
20
  const { styles: videoStyles } = useStyles(props);
21
- return (jsxs("div", { id: id, className: clsx('video', className, poster && `video_poster`, position && `video_position_${position}`), style: videoStyles, children: [jsxs("video", { className: "video__wrapper", autoPlay: true, loop: true, muted: true, playsInline: false, poster: poster, children: [webm && jsx("source", { type: 'video/webm; codecs="vp8, vorbis"', src: webm }), ogv && jsx("source", { type: 'video/ogg; codecs="theora, vorbi"', src: ogv }), mp4 && (jsx("source", { type: 'video/mp4; codecs="avc1.42E01E, mp4a.40.2"', src: mp4 }))] }), children] }));
21
+ return (jsxs("div", { id: id, className: clsx('video', className, poster && `video_poster`, position && `video_position_${position}`), "data-testid": dataTestId, "data-tour": dataTour, style: videoStyles, children: [jsxs("video", { className: "video__wrapper", autoPlay: true, loop: true, muted: true, playsInline: false, poster: poster, children: [webm && jsx("source", { type: 'video/webm; codecs="vp8, vorbis"', src: webm }), ogv && jsx("source", { type: 'video/ogg; codecs="theora, vorbi"', src: ogv }), mp4 && (jsx("source", { type: 'video/mp4; codecs="avc1.42E01E, mp4a.40.2"', src: mp4 }))] }), children] }));
22
22
  }
23
23
 
24
24
  export { Video };
@@ -4,7 +4,7 @@ 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';
7
+ import { I as Icon } from '../Icon_es_Banbw98_.js';
8
8
  import { T as Text } from '../Text_es_DaYcLe4H.js';
9
9
  import { icons16 } from '@itcase/icons/default';
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 warningAppearanceAccent = {
29
29
  accentMutedPrimary: {
@@ -184,14 +184,14 @@ const warningConfig = {
184
184
  },
185
185
  };
186
186
  function Warning(props) {
187
- const { appearance, className, label, description, isSkeleton, children } = props;
187
+ const { appearance, className, dataTestId, dataTour, label, description, isSkeleton, children, } = props;
188
188
  const appearanceConfig = useAppearanceConfig(appearance, warningConfig);
189
189
  const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
190
190
  const { fillClass, labelTextColor, labelTextSize, labelTextWeight, descriptionTextColor, descriptionTextSize, borderColorClass, iconAfter, iconAfterFill, iconAfterFillIcon, iconAfterSize, iconAfterSrc, iconBefore, iconBeforeFill, iconBeforeFillIcon, iconBeforeSize, iconBeforeSrc, shapeClass, shapeStrengthClass, sizeClass, } = propsGenerator;
191
191
  // @ts-ignore
192
192
  const { styles: warningStyles } = useStyles(props);
193
193
  const [isVisible, setIsVisible] = useState(true);
194
- return (jsx(Fragment, { children: isVisible && (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) && (jsx(Icon, { fill: iconBeforeFill, iconFill: iconBeforeFillIcon, iconSize: iconBeforeSize, imageSrc: iconBeforeSrc, SvgImage: iconBefore })), jsxs("div", { className: 'warning__content', children: [label && (jsx(Text, { size: labelTextSize, textColor: labelTextColor, textWeight: labelTextWeight, children: label })), description && (jsx(Text, { size: descriptionTextSize, textColor: descriptionTextColor, children: description })), children] }), (iconAfter || iconAfterSrc) && (jsx(Icon, { fill: iconAfterFill, iconFill: iconAfterFillIcon, iconSize: iconAfterSize, imageSrc: iconAfterSrc, SvgImage: iconAfter, onClick: () => setIsVisible(false) }))] })) }));
194
+ return (jsx(Fragment, { children: isVisible && (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) && (jsx(Icon, { fill: iconBeforeFill, iconFill: iconBeforeFillIcon, iconSize: iconBeforeSize, imageSrc: iconBeforeSrc, SvgImage: iconBefore })), jsxs("div", { className: 'warning__content', children: [label && (jsx(Text, { size: labelTextSize, textColor: labelTextColor, textWeight: labelTextWeight, children: label })), description && (jsx(Text, { size: descriptionTextSize, textColor: descriptionTextColor, children: description })), children] }), (iconAfter || iconAfterSrc) && (jsx(Icon, { fill: iconAfterFill, iconFill: iconAfterFillIcon, iconSize: iconAfterSize, imageSrc: iconAfterSrc, SvgImage: iconAfter, onClick: () => setIsVisible(false) }))] })) }));
195
195
  }
196
196
 
197
197
  export { Warning, warningAppearance, warningConfig };
@@ -38275,8 +38275,12 @@ textarea.fill {
38275
38275
  }
38276
38276
  .print {
38277
38277
  height: auto;
38278
- overflow: auto;
38278
+ overflow: hidden !important;
38279
38279
  display: block;
38280
+ &[style*='100vh'] {
38281
+ height: auto !important;
38282
+ overflow: hidden !important;
38283
+ }
38280
38284
  }
38281
38285
  }
38282
38286
  .resize-horizontal {
@@ -39,6 +39,8 @@ type AvatarProps = AvatarAppearanceProps & StyleAttributes & {
39
39
  children?: ReactNode;
40
40
  className?: string;
41
41
  count?: number;
42
+ dataTestId?: string;
43
+ dataTour?: string;
42
44
  firstName?: string;
43
45
  isSkeleton?: boolean;
44
46
  onClick: () => void;
@@ -22,6 +22,8 @@ type BadgeProps = BadgeAppearanceProps & StyleAttributes & {
22
22
  appearance?: CompositeAppearanceKey;
23
23
  children?: ReactNode;
24
24
  className?: string;
25
+ dataTestId?: string;
26
+ dataTour?: string;
25
27
  dot?: boolean;
26
28
  icon?: string;
27
29
  iconSrc?: string;
@@ -27,6 +27,8 @@ export interface BreadcrumbsItemProps extends StyleAttributes {
27
27
  children?: ReactNode;
28
28
  className?: string;
29
29
  cursor?: string;
30
+ dataTestId?: string;
31
+ dataTour?: string;
30
32
  fill?: FillProps;
31
33
  fillDesktop?: FillProps;
32
34
  fillMobile?: FillProps;
@@ -63,6 +65,8 @@ export interface BreadcrumbsProps extends StyleAttributes {
63
65
  }[];
64
66
  children?: ReactNode;
65
67
  className?: string;
68
+ dataTestId?: string;
69
+ dataTour?: string;
66
70
  direction?: DirectionProps;
67
71
  directionDesktop?: DirectionProps;
68
72
  directionMobile?: DirectionProps;
@@ -59,6 +59,8 @@ type CellProps = CellAppearanceProps & StyleAttributes & {
59
59
  appearance?: CompositeAppearanceDefaultSizeStyleKey;
60
60
  before?: string;
61
61
  className?: string;
62
+ dataTestId?: string;
63
+ dataTour?: string;
62
64
  isActive?: boolean;
63
65
  isEqual?: boolean;
64
66
  isSameWidth?: boolean;
@@ -45,6 +45,8 @@ interface CheckboxProps extends CheckboxThemeColor, StyleAttributes {
45
45
  before?: ReactNode;
46
46
  checked?: boolean;
47
47
  className?: string;
48
+ dataTestId?: string;
49
+ dataTour?: string;
48
50
  desc?: string;
49
51
  disabled?: boolean;
50
52
  label?: string;
@@ -54,4 +56,4 @@ interface CheckboxProps extends CheckboxThemeColor, StyleAttributes {
54
56
  onChange?: (event?: React.ChangeEvent<HTMLInputElement>) => void;
55
57
  onFocus?: (event?: React.FocusEvent<HTMLInputElement>) => void;
56
58
  }
57
- export type { CheckboxThemeColor, CheckboxAppearance, CheckboxConfig, CheckboxProps, };
59
+ export type { CheckboxAppearance, CheckboxConfig, CheckboxProps, CheckboxThemeColor, };
@@ -21,6 +21,8 @@ export interface CheckmarkProps extends CheckmarkThemeColor, CheckmarkThemeColor
21
21
  [key: number | string | symbol]: any;
22
22
  appearance?: AppearanceKeys;
23
23
  className?: string;
24
+ dataTestId?: string;
25
+ dataTour?: string;
24
26
  iconChecked: ElementType;
25
27
  isDisabled?: boolean;
26
28
  }
@@ -32,6 +32,8 @@ type CodeProps = CodeAppearanceProps & StyleAttributes & {
32
32
  appearance?: AppearanceKeys;
33
33
  before?: ReactNode;
34
34
  className?: string;
35
+ dataTestId?: string;
36
+ dataTour?: string;
35
37
  initialValue?: string;
36
38
  inputAutoFocus?: boolean;
37
39
  inputCount?: number;
@@ -10,6 +10,8 @@ export interface CookiesWarningProps {
10
10
  buttonSize?: SizeProps;
11
11
  buttonWidth?: string;
12
12
  className?: string;
13
+ dataTestId?: string;
14
+ dataTour?: string;
13
15
  message?: string;
14
16
  textColor?: TextColorProps;
15
17
  textSize?: TextSizeProps;
@@ -3,6 +3,8 @@ import { DaDataSuggestion } from 'react-dadata';
3
3
  import { DaDataParty } from 'react-dadata/dist/variants/party_russia/party-russia-types';
4
4
  import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
5
5
  export interface DadataProps extends StyleAttributes {
6
+ dataTestId?: string;
7
+ dataTour?: string;
6
8
  delay?: number;
7
9
  input?: any;
8
10
  inputProps?: HTMLProps<HTMLInputElement>;
@@ -19,6 +19,8 @@ type DatePeriodProps = DatePeriodThemeColor & StyleAttributes & {
19
19
  chipsAppearance?: CompositeAppearanceKey;
20
20
  chipsShape?: ShapeProps;
21
21
  className?: string;
22
+ dataTestId?: string;
23
+ dataTour?: string;
22
24
  datePeriodIntervalsList: DatePeriodItem[];
23
25
  datePeriodValueEnd: Date | DateIso | null;
24
26
  datePeriodValueStart: Date | DateIso | null;
@@ -63,6 +63,8 @@ export interface DatePickerInputProps extends DatePickerProps {
63
63
  clearLabelTextColor?: TextColorProps;
64
64
  clearLabelTextColorHover?: TextColorHoverProps;
65
65
  clearLabelTextSize?: TextSizeProps;
66
+ dataTestId?: string;
67
+ dataTour?: string;
66
68
  datePickerProps: DatePickerProps;
67
69
  endValue?: string | Date | DateIso;
68
70
  inputProps?: InputProps;
@@ -18,6 +18,8 @@ type DividerAppearanceProps = {
18
18
  type DividerProps = DividerAppearanceProps & StyleAttributes & {
19
19
  appearance?: CompositeAppearanceKey;
20
20
  className?: string;
21
+ dataTestId?: string;
22
+ dataTour?: string;
21
23
  isActive?: boolean;
22
24
  isDisabled?: boolean;
23
25
  isSkeleton?: boolean;
@@ -23,6 +23,8 @@ type DotAppearance = {
23
23
  type DotProps = DotAppearance & StyleAttributes & {
24
24
  children?: ReactNode;
25
25
  className?: string;
26
+ dataTestId?: string;
27
+ dataTour?: string;
26
28
  style?: CSSProperties;
27
29
  };
28
30
  export type { DotAppearance, DotProps };
@@ -10,6 +10,8 @@ export interface DropdownProps extends StyleAttributes {
10
10
  before?: ReactNode;
11
11
  children?: ReactNode;
12
12
  className?: string;
13
+ dataTestId?: string;
14
+ dataTour?: string;
13
15
  elevation?: ElevationProps;
14
16
  fill?: FillProps;
15
17
  fillHover?: FillHoverProps;
@@ -50,6 +52,8 @@ export interface DropdownItemProps extends DropdownItemThemeColor, StyleAttribut
50
52
  before?: ReactNode;
51
53
  children?: ReactNode;
52
54
  className?: string;
55
+ dataTestId?: string;
56
+ dataTour?: string;
53
57
  desc?: string;
54
58
  descTextColorHover?: TextColorHoverProps;
55
59
  descTextGradient?: TextGradientProps;
@@ -16,6 +16,8 @@ export interface FlexProps extends StyleAttributes {
16
16
  borderType?: BorderTypeProps;
17
17
  children?: ReactNode;
18
18
  className?: string;
19
+ dataTestId?: string;
20
+ dataTour?: string;
19
21
  direction?: AlignDirectionProps;
20
22
  directionDesktop?: AlignDirectionProps;
21
23
  directionMobile?: AlignDirectionProps;
@@ -83,6 +85,8 @@ export interface FlexItemProps extends StyleAttributes {
83
85
  columnStartDesktop?: number;
84
86
  columnStartMobile?: number;
85
87
  columnStartTablet?: number;
88
+ dataTestId?: string;
89
+ dataTour?: string;
86
90
  direction?: DirectionProps;
87
91
  directionDesktop?: DirectionProps;
88
92
  directionMobile?: DirectionProps;
@@ -58,6 +58,7 @@ export interface GridItemProps extends GridBaseThemeColor {
58
58
  [key: number | string | symbol]: any;
59
59
  children?: ReactNode;
60
60
  className?: string;
61
+ dataTestId?: string;
61
62
  dataTour?: string;
62
63
  onClick?: () => void;
63
64
  }
@@ -66,6 +67,7 @@ export interface GridRowProps extends GridBaseThemeColor {
66
67
  [key: number | string | symbol]: any;
67
68
  children?: ReactNode;
68
69
  className?: string;
70
+ dataTestId?: string;
69
71
  dataTour?: string;
70
72
  htmlFor?: string;
71
73
  tag?: ElementType;
@@ -95,6 +97,7 @@ export interface GridProps extends StyleAttributes {
95
97
  columnsDesktop?: string;
96
98
  columnsMobile?: string;
97
99
  columnsTablet?: string;
100
+ dataTestId?: string;
98
101
  dataTour?: string;
99
102
  fill?: FillProps;
100
103
  fillDesktop?: FillProps;
@@ -13,6 +13,7 @@ export interface HTMLContentProps extends StyleAttributes {
13
13
  className?: string;
14
14
  columns?: number;
15
15
  content?: any;
16
+ dataTestId?: string;
16
17
  dataTour?: string;
17
18
  direction?: DirectionProps;
18
19
  elevation?: ElevationProps;
@@ -37,6 +37,7 @@ export interface HeroTitleProps extends HeroTitleThemeColor, StyleAttributes {
37
37
  beforeWrapper?: any;
38
38
  children: ReactNode;
39
39
  className?: string;
40
+ dataTestId?: string;
40
41
  dataTour?: string;
41
42
  direction?: string;
42
43
  directionWrapper?: string;
@@ -12,6 +12,8 @@ export interface ImageProps extends StyleAttributes {
12
12
  children?: ReactNode;
13
13
  className?: string;
14
14
  cursor?: string;
15
+ dataTestId?: string;
16
+ dataTour?: string;
15
17
  fill?: FillProps;
16
18
  fillHover?: FillHoverProps;
17
19
  height?: string;
@@ -36,7 +36,8 @@ interface InputProps extends InputThemeColor, StyleAttributes {
36
36
  appearance?: AppearanceKeysDefault;
37
37
  autocomplete?: string;
38
38
  className?: string;
39
- dataTestId?: number | string;
39
+ dataTestId?: string;
40
+ dataTour?: string;
40
41
  index?: number | string;
41
42
  name?: string;
42
43
  placeholder?: string;
@@ -29,6 +29,8 @@ type InputNumberProps = InputNumberAppearanceProps & StyleAttributes & {
29
29
  id?: number;
30
30
  appearance?: CompositeAppearanceTitleKey;
31
31
  className?: string;
32
+ dataTestId?: string;
33
+ dataTour?: string;
32
34
  max?: number;
33
35
  min?: number;
34
36
  onChange?: (number: number) => void;
@@ -28,6 +28,8 @@ export interface InputPasswordProps extends InputThemeColor, StyleAttributes {
28
28
  [key: number | string | symbol]: any;
29
29
  appearance?: AppearanceKeys;
30
30
  className?: string;
31
+ dataTestId?: string;
32
+ dataTour?: string;
31
33
  disabled?: boolean;
32
34
  iconFill?: ItemColorProps;
33
35
  iconFillHover?: ItemColorProps;
@@ -39,6 +39,8 @@ export interface LinkProps extends LinkThemeColor, StyleAttributes {
39
39
  before?: ReactNode;
40
40
  children?: ReactNode;
41
41
  className?: string;
42
+ dataTestId?: string;
43
+ dataTour?: string;
42
44
  href?: string;
43
45
  link?: string;
44
46
  LinkComponent?: ElementType;
@@ -28,6 +28,8 @@ export interface ListProps extends StyleAttributes {
28
28
  bulletTextColor?: TextColorProps;
29
29
  children?: ReactNode;
30
30
  className?: string;
31
+ dataTestId?: string;
32
+ dataTour?: string;
31
33
  direction?: DirectionProps;
32
34
  size?: SizeProps;
33
35
  style?: CSSProperties;
@@ -39,6 +41,8 @@ export interface ListItemProps extends StyleAttributes {
39
41
  before?: ReactNode;
40
42
  children?: ReactNode;
41
43
  className?: string;
44
+ dataTestId?: string;
45
+ dataTour?: string;
42
46
  fill?: FillProps;
43
47
  href?: string;
44
48
  link?: string;
@@ -13,6 +13,9 @@ type LoaderProps = LoaderAppearanceProps & StyleAttributes & {
13
13
  appearance?: CompositeAppearanceKey;
14
14
  children?: ReactNode;
15
15
  className?: string;
16
+ dataTestId?: string;
17
+ dataTour?: string;
18
+ isDisabled?: boolean;
16
19
  isSkeleton?: boolean;
17
20
  shape?: ShapeProps;
18
21
  shapeStrength?: ShapeStrengthProps;
@@ -26,6 +26,8 @@ export interface LogoProps extends LogoThemeColor, StyleAttributes {
26
26
  alt?: string;
27
27
  appearance?: AppearanceKeys;
28
28
  className?: string;
29
+ dataTestId?: string;
30
+ dataTour?: string;
29
31
  href?: string;
30
32
  link?: string;
31
33
  mode?: string;
@@ -7,7 +7,8 @@ export interface ModalSheetBottomProps extends a {
7
7
  className?: string;
8
8
  closeButton?: ReactNode;
9
9
  closeModal: () => void;
10
- dataTestId: string;
10
+ dataTestId?: string;
11
+ dataTour?: string;
11
12
  fill?: FillProps;
12
13
  style?: CSSProperties;
13
14
  isOpenModal: boolean;
@@ -28,6 +28,7 @@ export interface NotificationProps extends StyleAttributes {
28
28
  before?: ReactNode;
29
29
  className?: string;
30
30
  closeButton?: ReactNode;
31
+ dataTestId?: string;
31
32
  dataTour?: string;
32
33
  fill?: FillProps;
33
34
  size?: SizeProps;
@@ -47,6 +48,8 @@ export interface NotificationProps extends StyleAttributes {
47
48
  export interface NotificationWrapperProps {
48
49
  className?: string;
49
50
  closeButton?: ReactNode;
51
+ dataTestId?: string;
52
+ dataTour?: string;
50
53
  size?: SizeProps;
51
54
  type?: string;
52
55
  set?: string;
@@ -49,6 +49,8 @@ interface PaginationProps extends PaginationThemeColor, StyleAttributes {
49
49
  allItemsCount?: number;
50
50
  appearance?: AppearanceKeys;
51
51
  className?: string;
52
+ dataTestId?: string;
53
+ dataTour?: string;
52
54
  marginPagesDisplayed?: number;
53
55
  nextLabel?: ReactNode;
54
56
  pageCountDropdownItemDividerDirection?: DirectionProps;
@@ -46,6 +46,8 @@ export interface RadioProps extends RadioThemeColor, StyleAttributes {
46
46
  appearance?: AppearanceKeys;
47
47
  checked?: boolean;
48
48
  className?: string;
49
+ dataTestId?: string;
50
+ dataTour?: string;
49
51
  desc?: string;
50
52
  disabled?: boolean;
51
53
  label?: string;
@@ -7,6 +7,8 @@ export interface RangeSliderProps extends StyleAttributes {
7
7
  before?: ReactNode;
8
8
  children?: ReactNode;
9
9
  className?: string;
10
+ dataTestId?: string;
11
+ dataTour?: string;
10
12
  disabled?: boolean;
11
13
  fill?: FillProps;
12
14
  fillHandle?: ItemColorProps;