@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.
- package/dist/{Avatar_cjs_DsgsCeRd.js → Avatar_cjs_MeHu04tK.js} +4 -4
- package/dist/{Avatar_es_DBNS3IWw.js → Avatar_es_uJ8vSNKC.js} +4 -4
- package/dist/{Button_cjs_DiaYeIs8.js → Button_cjs_BLuRWxbc.js} +3 -3
- package/dist/{Button_es_y6hlih24.js → Button_es_DH8hqqdN.js} +3 -3
- package/dist/{ChipsGroup_cjs_P0UlUnid.js → ChipsGroup_cjs_C-oThNwF.js} +1 -1
- package/dist/{ChipsGroup_es_BgECuDPT.js → ChipsGroup_es_BOaDqAo8.js} +1 -1
- package/dist/{DatePicker_cjs_CaD9pYTQ.js → DatePicker_cjs_CHxK5Rw8.js} +6 -6
- package/dist/{DatePicker_es_DqHRlhti.js → DatePicker_es_DHGzUpHd.js} +6 -6
- package/dist/{Divider_cjs_BZn2epqW.js → Divider_cjs_1fwsCxEb.js} +2 -2
- package/dist/{Divider_es_DNJg0mQR.js → Divider_es_BlOJ77zx.js} +2 -2
- package/dist/{DropdownItem_cjs_l_fnynBJ.js → DropdownItem_cjs_DUtEvTHI.js} +6 -6
- package/dist/{DropdownItem_es_B36TJ2oI.js → DropdownItem_es_DgaoM2SE.js} +6 -6
- package/dist/{Group_cjs_C1YVff0N.js → Group_cjs_CcDdC0Ua.js} +2 -2
- package/dist/{Group_es_C69f2Dom.js → Group_es_Dml1c8Cz.js} +2 -2
- package/dist/{Icon_cjs_D-jQrwjV.js → Icon_cjs_CQxDPPGY.js} +7 -7
- package/dist/{Icon_es_BstDGBF3.js → Icon_es_Banbw98_.js} +7 -7
- package/dist/{Image_cjs_BUM81t4Y.js → Image_cjs_B3E9N9YO.js} +2 -2
- package/dist/{Image_es_C-IjVkKX.js → Image_es_D3YrkouM.js} +2 -2
- package/dist/{Input_cjs_DnjehCpi.js → Input_cjs_BUtZUZYh.js} +2 -2
- package/dist/{Input_es_DCaVqQH5.js → Input_es_DaDvQ8Xp.js} +2 -2
- package/dist/{Label_cjs_CyPU9hqO.js → Label_cjs_eckLVQqh.js} +1 -1
- package/dist/{Label_es_qnCgQX52.js → Label_es_DuDL0-3C.js} +1 -1
- package/dist/{Link_cjs_qKXVfU8e.js → Link_cjs_DqNtNI23.js} +2 -2
- package/dist/{Link_es_P2b6ya7P.js → Link_es_Bt-Bhy3t.js} +2 -2
- package/dist/{Loader_cjs_B3j9ATrq.js → Loader_cjs_CP1xKwb-.js} +2 -2
- package/dist/{Loader_es_wjTqawH6.js → Loader_es_Csp5tr40.js} +2 -2
- package/dist/{Scrollbar_cjs_Cp-7v2Mt.js → Scrollbar_cjs_DHe1EK_B.js} +2 -2
- package/dist/{Scrollbar_es_CcMgNvGi.js → Scrollbar_es_CKTh3pew.js} +2 -2
- package/dist/{SelectContainer_cjs_CnhODaJP.js → SelectContainer_cjs_CD-J8jSe.js} +6 -6
- package/dist/{SelectContainer_es_CcYDHcBP.js → SelectContainer_es_Bxt5C3nI.js} +6 -6
- package/dist/cjs/components/Accordion.js +3 -3
- package/dist/cjs/components/Avatar.js +4 -4
- package/dist/cjs/components/AvatarStack.js +5 -5
- package/dist/cjs/components/Badge.js +2 -2
- package/dist/cjs/components/Breadcrumbs.js +7 -7
- package/dist/cjs/components/Button.js +4 -4
- package/dist/cjs/components/Cell.js +5 -5
- package/dist/cjs/components/Checkbox.js +2 -2
- package/dist/cjs/components/Checkmark.js +2 -2
- package/dist/cjs/components/Chips.js +3 -3
- package/dist/cjs/components/Choice.js +3 -3
- package/dist/cjs/components/Code.js +2 -2
- package/dist/cjs/components/CookiesWarning.js +6 -6
- package/dist/cjs/components/Dadata.js +3 -3
- package/dist/cjs/components/DatePeriod.js +13 -13
- package/dist/cjs/components/DatePicker.js +7 -7
- package/dist/cjs/components/Divider.js +1 -1
- package/dist/cjs/components/Dot.js +2 -2
- package/dist/cjs/components/Drawer.js +5 -5
- package/dist/cjs/components/Dropdown.js +4 -4
- package/dist/cjs/components/Flex.js +5 -5
- package/dist/cjs/components/Grid.js +7 -7
- package/dist/cjs/components/Group.js +1 -1
- package/dist/cjs/components/HTMLContent.js +2 -2
- package/dist/cjs/components/HeroTitle.js +4 -4
- package/dist/cjs/components/Icon.js +2 -2
- package/dist/cjs/components/Image.js +1 -1
- package/dist/cjs/components/Input.js +1 -1
- package/dist/cjs/components/InputNumber.js +6 -6
- package/dist/cjs/components/InputPassword.js +4 -4
- package/dist/cjs/components/Label.js +3 -3
- package/dist/cjs/components/Link.js +1 -1
- package/dist/cjs/components/List.js +5 -5
- package/dist/cjs/components/Loader.js +1 -1
- package/dist/cjs/components/Logo.js +3 -3
- package/dist/cjs/components/MenuItem.js +2 -2
- package/dist/cjs/components/Modal.js +7 -36
- package/dist/cjs/components/ModalSheetBottom.js +4 -4
- package/dist/cjs/components/Notification.js +6 -6
- package/dist/cjs/components/Pagination.js +4 -4
- package/dist/cjs/components/Radio.js +2 -2
- package/dist/cjs/components/RangeSlider.js +2 -2
- package/dist/cjs/components/Response.js +8 -15
- package/dist/cjs/components/SVGContent.js +2 -2
- package/dist/cjs/components/ScrollOnDrag.js +2 -2
- package/dist/cjs/components/ScrollToView.js +2 -2
- package/dist/cjs/components/Scrollbar.js +1 -1
- package/dist/cjs/components/Search.js +7 -7
- package/dist/cjs/components/Segmented.js +11 -11
- package/dist/cjs/components/Select.js +6 -6
- package/dist/cjs/components/Swiper.js +5 -5
- package/dist/cjs/components/Switch.js +4 -4
- package/dist/cjs/components/Tab.js +3 -3
- package/dist/cjs/components/Textarea.js +2 -2
- package/dist/cjs/components/Tile.js +5 -5
- package/dist/cjs/components/Title.js +2 -2
- package/dist/cjs/components/Tooltip.js +2 -2
- package/dist/cjs/components/Video.js +2 -2
- package/dist/cjs/components/Warning.js +4 -4
- package/dist/components/Accordion.js +3 -3
- package/dist/components/Avatar.js +4 -4
- package/dist/components/AvatarStack.js +5 -5
- package/dist/components/Badge.js +2 -2
- package/dist/components/Breadcrumbs.js +7 -7
- package/dist/components/Button.js +4 -4
- package/dist/components/Cell.js +5 -5
- package/dist/components/Checkbox.js +2 -2
- package/dist/components/Checkmark.js +2 -2
- package/dist/components/Chips.js +3 -3
- package/dist/components/Choice.js +3 -3
- package/dist/components/Code.js +2 -2
- package/dist/components/CookiesWarning.js +6 -6
- package/dist/components/Dadata.js +3 -3
- package/dist/components/DatePeriod.js +13 -13
- package/dist/components/DatePicker.js +7 -7
- package/dist/components/Divider.js +1 -1
- package/dist/components/Dot.js +2 -2
- package/dist/components/Drawer.js +5 -5
- package/dist/components/Dropdown.js +4 -4
- package/dist/components/Flex.js +5 -5
- package/dist/components/Grid.js +7 -7
- package/dist/components/Group.js +1 -1
- package/dist/components/HTMLContent.js +2 -2
- package/dist/components/HeroTitle.js +4 -4
- package/dist/components/Icon.js +2 -2
- package/dist/components/Image.js +1 -1
- package/dist/components/Input.js +1 -1
- package/dist/components/InputNumber.js +6 -6
- package/dist/components/InputPassword.js +4 -4
- package/dist/components/Label.js +3 -3
- package/dist/components/Link.js +1 -1
- package/dist/components/List.js +5 -5
- package/dist/components/Loader.js +1 -1
- package/dist/components/Logo.js +3 -3
- package/dist/components/MenuItem.js +2 -2
- package/dist/components/Modal.js +7 -36
- package/dist/components/ModalSheetBottom.js +4 -4
- package/dist/components/Notification.js +6 -6
- package/dist/components/Pagination.js +4 -4
- package/dist/components/Radio.js +2 -2
- package/dist/components/RangeSlider.js +2 -2
- package/dist/components/Response.js +8 -15
- package/dist/components/SVGContent.js +2 -2
- package/dist/components/ScrollOnDrag.js +2 -2
- package/dist/components/ScrollToView.js +2 -2
- package/dist/components/Scrollbar.js +1 -1
- package/dist/components/Search.js +7 -7
- package/dist/components/Segmented.js +11 -11
- package/dist/components/Select.js +6 -6
- package/dist/components/Swiper.js +5 -5
- package/dist/components/Switch.js +4 -4
- package/dist/components/Tab.js +3 -3
- package/dist/components/Textarea.js +2 -2
- package/dist/components/Tile.js +5 -5
- package/dist/components/Title.js +2 -2
- package/dist/components/Tooltip.js +2 -2
- package/dist/components/Video.js +2 -2
- package/dist/components/Warning.js +4 -4
- package/dist/css/styles/bundles.css +5 -1
- package/dist/types/components/Avatar/Avatar.interface.d.ts +2 -0
- package/dist/types/components/Badge/Badge.interface.d.ts +2 -0
- package/dist/types/components/Breadcrumbs/Breadcrumbs.interface.d.ts +4 -0
- package/dist/types/components/Cell/Cell.interface.d.ts +2 -0
- package/dist/types/components/Checkbox/Checkbox.interface.d.ts +3 -1
- package/dist/types/components/Checkmark/Checkmark.interface.d.ts +2 -0
- package/dist/types/components/Code/Code.interface.d.ts +2 -0
- package/dist/types/components/CookiesWarning/CookiesWarning.interface.d.ts +2 -0
- package/dist/types/components/Dadata/Dadata.interface.d.ts +2 -0
- package/dist/types/components/DatePeriod/DatePeriod.interface.d.ts +2 -0
- package/dist/types/components/DatePicker/DatePicker.interface.d.ts +2 -0
- package/dist/types/components/Divider/Divider.interface.d.ts +2 -0
- package/dist/types/components/Dot/Dot.interface.d.ts +2 -0
- package/dist/types/components/Dropdown/Dropdown.interface.d.ts +4 -0
- package/dist/types/components/Flex/Flex.interface.d.ts +4 -0
- package/dist/types/components/Grid/Grid.interface.d.ts +3 -0
- package/dist/types/components/HTMLContent/HTMLContent.interface.d.ts +1 -0
- package/dist/types/components/HeroTitle/HeroTitle.interface.d.ts +1 -0
- package/dist/types/components/Image/Image.interface.d.ts +2 -0
- package/dist/types/components/Input/Input.interface.d.ts +2 -1
- package/dist/types/components/InputNumber/InputNumber.interfaces.d.ts +2 -0
- package/dist/types/components/InputPassword/InputPassword.interface.d.ts +2 -0
- package/dist/types/components/Link/Link.interface.d.ts +2 -0
- package/dist/types/components/List/List.interface.d.ts +4 -0
- package/dist/types/components/Loader/Loader.interface.d.ts +3 -0
- package/dist/types/components/Logo/Logo.interface.d.ts +2 -0
- package/dist/types/components/ModalSheetBottom/ModalSheetBottom.interface.d.ts +2 -1
- package/dist/types/components/Notification/Notification.interface.d.ts +3 -0
- package/dist/types/components/Pagination/Pagination.interface.d.ts +2 -0
- package/dist/types/components/Radio/Radio.interface.d.ts +2 -0
- package/dist/types/components/RangeSlider/RangeSlider.interface.d.ts +2 -0
- package/dist/types/components/Response/Response.interface.d.ts +2 -3
- package/dist/types/components/SVGContent/SVGContent.interface.d.ts +2 -0
- package/dist/types/components/ScrollOnDrag/ScrollOnDrag.interface.d.ts +2 -0
- package/dist/types/components/Scrollbar/Scrollbar.interface.d.ts +2 -0
- package/dist/types/components/Search/Search.interface.d.ts +3 -0
- package/dist/types/components/Segmented/Segmented.interface.d.ts +2 -0
- package/dist/types/components/Select/Select.interface.d.ts +3 -1
- package/dist/types/components/Swiper/Swiper.interface.d.ts +2 -0
- package/dist/types/components/Switch/Switch.interface.d.ts +2 -0
- package/dist/types/components/Tab/Tab.interface.d.ts +1 -1
- package/dist/types/components/Textarea/Textarea.interface.d.ts +2 -0
- package/dist/types/components/Video/Video.interface.d.ts +2 -0
- package/dist/types/components/Warning/Warning.appearance.d.ts +58 -58
- package/dist/types/components/Warning/Warning.interface.d.ts +3 -1
- 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 '../
|
|
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 '../
|
|
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 '../
|
|
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,
|
|
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,
|
|
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,
|
|
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}`
|
package/dist/components/Tab.js
CHANGED
|
@@ -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 '../
|
|
9
|
-
import { D as Divider } from '../
|
|
10
|
-
import { L as Link } from '../
|
|
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
|
|
package/dist/components/Tile.js
CHANGED
|
@@ -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 '../
|
|
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 '../
|
|
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,
|
|
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 {
|
|
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, {
|
|
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 };
|
package/dist/components/Title.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { b as Title, d as titleAppearance, c as titleConfig } from '../
|
|
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 '../
|
|
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 '../
|
|
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 '../
|
|
24
|
+
import '../Link_es_Bt-Bhy3t.js';
|
|
25
25
|
import '../Text_es_DaYcLe4H.js';
|
package/dist/components/Video.js
CHANGED
|
@@ -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 '../
|
|
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 '../
|
|
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:
|
|
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 {
|
|
@@ -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 {
|
|
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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -36,7 +36,8 @@ interface InputProps extends InputThemeColor, StyleAttributes {
|
|
|
36
36
|
appearance?: AppearanceKeysDefault;
|
|
37
37
|
autocomplete?: string;
|
|
38
38
|
className?: string;
|
|
39
|
-
dataTestId?:
|
|
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;
|
|
@@ -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;
|
|
@@ -7,7 +7,8 @@ export interface ModalSheetBottomProps extends a {
|
|
|
7
7
|
className?: string;
|
|
8
8
|
closeButton?: ReactNode;
|
|
9
9
|
closeModal: () => void;
|
|
10
|
-
dataTestId
|
|
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;
|