@itcase/ui 1.9.31 → 1.9.34
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_DzjEQKXj.js} +49 -21
- package/dist/{SelectContainer_es_CcYDHcBP.js → SelectContainer_es_BlhjV0hm.js} +49 -21
- 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 +4 -4
- 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 +4 -4
- 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 +56 -29
- package/dist/types/components/Avatar/Avatar.appearance.d.ts +1120 -0
- package/dist/types/components/Avatar/Avatar.interface.d.ts +2 -0
- package/dist/types/components/Badge/Badge.appearance.d.ts +680 -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/Button/Button.appearance.d.ts +2000 -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.appearance.d.ts +560 -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/Label/Label.appearance.d.ts +1560 -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.appearance.d.ts +320 -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/MenuItem/MenuItem.appearance.d.ts +1680 -0
- package/dist/types/components/Modal/Modal.appearance.d.ts +1160 -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 +4 -2
- package/dist/types/components/Select/SelectMultiValue.d.ts +4 -0
- package/dist/types/components/Select/SelectOverflowBadge.d.ts +7 -0
- package/dist/types/components/Select/appearance/selectDefault.d.ts +2 -2
- package/dist/types/components/Select/appearance/selectError.d.ts +2 -2
- package/dist/types/components/Select/appearance/selectRequire.d.ts +2 -2
- package/dist/types/components/Select/appearance/selectSize.d.ts +6 -0
- package/dist/types/components/Select/appearance/selectSuccess.d.ts +2 -2
- 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/Text/Text.appearance.d.ts +520 -0
- package/dist/types/components/Textarea/Textarea.interface.d.ts +2 -0
- package/dist/types/components/Tile/Tile.appearance.d.ts +40 -0
- package/dist/types/components/Title/Title.appearance.d.ts +1600 -0
- package/dist/types/components/Video/Video.interface.d.ts +2 -0
- package/dist/types/components/Warning/Warning.appearance.d.ts +938 -58
- package/dist/types/components/Warning/Warning.interface.d.ts +3 -1
- package/package.json +10 -10
|
@@ -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';
|
|
@@ -217,7 +217,7 @@ function Tab(props) {
|
|
|
217
217
|
const { justifyContentClass, alignClass, labelTextAlign, labelTextColor, labelTextColorActive, labelTextColorActiveHover, labelTextColorHover, labelTextSize, labelTextStyle, labelTextWeight, labelTextWrap, badgeAppearance, badgeAppearanceSize, badgeShape, badgeSize, badgeTextColor, badgeTextSize, dividerFill, dividerFillActive, dividerFillActiveHover, dividerFillDisabled, dividerFillHover, dividerSize, icon, iconFill, iconFillIcon, iconFillSize, iconShape, iconSize, iconSrc, linkFill, shapeClass, shapeStrengthClass, sizeClass, widthClass, } = propsGenerator;
|
|
218
218
|
// @ts-expect-error
|
|
219
219
|
const { styles: tab } = useStyles(props);
|
|
220
|
-
return (jsx("div", { className: clsx('tab', className, rootClasses, isActive && 'tab_state_active', isDisabled && 'tab_state_disabled', sizeClass && `tab_size_${sizeClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, widthClass && `width_${widthClass}`, justifyContentClass && `tab_justify-content_${justifyContentClass}`, isSkeleton && `tab_skeleton`, onClick && 'cursor_type_pointer'), "data-testid": dataTestId && `${dataTestId}Tab`, "data-tour": dataTour, style: tab, onClick: onClick, onMouseEnter: onMouseEnter, children: jsxs(Link, { className: clsx('tab__link', !isDisabled && 'cursor_type_pointer'), fill: linkFill, href: link || href, rel: rel, target: target, children: [before, children || (jsxs(React.Fragment, { children: [jsxs("div", { className: clsx('tab__wrapper', alignClass && `align_${alignClass}`), children: [label && (jsx(Text, { className: "tab__label", size: labelTextSize, textAlign: labelTextAlign, textColor: labelTextColor, textColorActive: labelTextColorActive, textColorHover: labelTextColorHover, textColorHoverActive: labelTextColorActiveHover, textStyle: labelTextStyle, textWeight: labelTextWeight, textWrap: labelTextWrap, isActive: isActive, isDisabled: isDisabled, children: label })), Boolean(badgeValue) && (jsx(Badge, { appearance: `${badgeAppearance} ${badgeAppearanceSize}`, size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue })), (icon || iconSrc) && (jsx(Icon, { className:
|
|
220
|
+
return (jsx("div", { className: clsx('tab', className, rootClasses, isActive && 'tab_state_active', isDisabled && 'tab_state_disabled', sizeClass && `tab_size_${sizeClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, widthClass && `width_${widthClass}`, justifyContentClass && `tab_justify-content_${justifyContentClass}`, isSkeleton && `tab_skeleton`, onClick && 'cursor_type_pointer'), "data-testid": dataTestId && `${dataTestId}Tab`, "data-tour": dataTour, style: tab, onClick: onClick, onMouseEnter: onMouseEnter, children: jsxs(Link, { className: clsx('tab__link', !isDisabled && 'cursor_type_pointer'), fill: linkFill, href: link || href, rel: rel, target: target, children: [before, children || (jsxs(React.Fragment, { children: [jsxs("div", { className: clsx('tab__wrapper', alignClass && `align_${alignClass}`), children: [label && (jsx(Text, { className: "tab__label", size: labelTextSize, textAlign: labelTextAlign, textColor: labelTextColor, textColorActive: labelTextColorActive, textColorHover: labelTextColorHover, textColorHoverActive: labelTextColorActiveHover, textStyle: labelTextStyle, textWeight: labelTextWeight, textWrap: labelTextWrap, isActive: isActive, isDisabled: isDisabled, children: label })), Boolean(badgeValue) && (jsx(Badge, { appearance: `${badgeAppearance} ${badgeAppearanceSize}`, size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue })), (icon || iconSrc) && (jsx(Icon, { className: "tab__icon_after", fill: iconFill, fillSize: iconFillSize, iconFill: iconFillIcon, iconSize: iconSize, imageSrc: iconSrc, shape: iconShape, SvgImage: icon }))] }), jsx(Divider, { className: "tab__divider", width: "fill", direction: "horizontal", size: dividerSize, fill: dividerFill, fillActive: dividerFillActive, fillActiveHover: dividerFillActiveHover, fillDisabled: dividerFillDisabled, fillHover: dividerFillHover, zIndex: "1", isActive: isActive, isDisabled: isDisabled })] })), after] }) }));
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
function TabGroup(props) {
|
|
@@ -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,11 +38275,11 @@ textarea.fill {
|
|
|
38275
38275
|
}
|
|
38276
38276
|
.print {
|
|
38277
38277
|
height: auto;
|
|
38278
|
-
overflow: hidden;
|
|
38278
|
+
overflow: hidden !important;
|
|
38279
38279
|
display: block;
|
|
38280
|
-
&[style*='
|
|
38281
|
-
&[style*='height: 100vh;'] {
|
|
38280
|
+
&[style*='100vh'] {
|
|
38282
38281
|
height: auto !important;
|
|
38282
|
+
overflow: hidden !important;
|
|
38283
38283
|
}
|
|
38284
38284
|
}
|
|
38285
38285
|
}
|
|
@@ -60121,8 +60121,8 @@ div.avatar-stack {
|
|
|
60121
60121
|
}
|
|
60122
60122
|
.react-datepicker--time-only .react-datepicker__time,
|
|
60123
60123
|
.react-datepicker--time-only .react-datepicker__time-box {
|
|
60124
|
-
border-bottom-left-radius: 0.
|
|
60125
|
-
border-bottom-right-radius: 0.
|
|
60124
|
+
border-bottom-left-radius: 0.3em;
|
|
60125
|
+
border-bottom-right-radius: 0.3em;
|
|
60126
60126
|
}
|
|
60127
60127
|
.react-datepicker-popper {
|
|
60128
60128
|
z-index: 1;
|
|
@@ -60139,6 +60139,14 @@ div.avatar-stack {
|
|
|
60139
60139
|
fill: #fff;
|
|
60140
60140
|
color: #fff;
|
|
60141
60141
|
}
|
|
60142
|
+
.react-datepicker-popper--header-middle[data-placement^=bottom] .react-datepicker__triangle, .react-datepicker-popper--header-bottom[data-placement^=bottom] .react-datepicker__triangle {
|
|
60143
|
+
fill: #fff;
|
|
60144
|
+
color: #fff;
|
|
60145
|
+
}
|
|
60146
|
+
.react-datepicker-popper--header-bottom[data-placement^=top] .react-datepicker__triangle {
|
|
60147
|
+
fill: #f0f0f0;
|
|
60148
|
+
color: #f0f0f0;
|
|
60149
|
+
}
|
|
60142
60150
|
.react-datepicker__header {
|
|
60143
60151
|
text-align: center;
|
|
60144
60152
|
background-color: #f0f0f0;
|
|
@@ -60155,9 +60163,25 @@ div.avatar-stack {
|
|
|
60155
60163
|
.react-datepicker__header--time:not(.react-datepicker__header--time--only) {
|
|
60156
60164
|
border-top-left-radius: 0;
|
|
60157
60165
|
}
|
|
60158
|
-
.react-datepicker__header:not(.react-datepicker__header--has-time-select) {
|
|
60166
|
+
.react-datepicker__header:not(.react-datepicker__header--has-time-select, .react-datepicker__header--middle, .react-datepicker__header--bottom) {
|
|
60159
60167
|
border-top-right-radius: 0.3rem;
|
|
60160
60168
|
}
|
|
60169
|
+
.react-datepicker__header--middle {
|
|
60170
|
+
border-top: 1px solid #aeaeae;
|
|
60171
|
+
border-radius: 0;
|
|
60172
|
+
margin-top: 4px;
|
|
60173
|
+
}
|
|
60174
|
+
.react-datepicker__header--bottom {
|
|
60175
|
+
border-bottom: none;
|
|
60176
|
+
border-top: 1px solid #aeaeae;
|
|
60177
|
+
border-radius: 0 0 0.3rem 0.3rem;
|
|
60178
|
+
}
|
|
60179
|
+
.react-datepicker__header-wrapper {
|
|
60180
|
+
position: relative;
|
|
60181
|
+
}
|
|
60182
|
+
.react-datepicker__header-wrapper .react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button) {
|
|
60183
|
+
right: 2px;
|
|
60184
|
+
}
|
|
60161
60185
|
.react-datepicker__year-dropdown-container--select,
|
|
60162
60186
|
.react-datepicker__month-dropdown-container--select,
|
|
60163
60187
|
.react-datepicker__month-year-dropdown-container--select,
|
|
@@ -60250,7 +60274,7 @@ h2.react-datepicker__current-month {
|
|
|
60250
60274
|
float: left;
|
|
60251
60275
|
}
|
|
60252
60276
|
.react-datepicker__year {
|
|
60253
|
-
margin: 0.
|
|
60277
|
+
margin: 0.4em;
|
|
60254
60278
|
text-align: center;
|
|
60255
60279
|
}
|
|
60256
60280
|
.react-datepicker__year-wrapper {
|
|
@@ -60260,17 +60284,17 @@ h2.react-datepicker__current-month {
|
|
|
60260
60284
|
}
|
|
60261
60285
|
.react-datepicker__year .react-datepicker__year-text {
|
|
60262
60286
|
display: inline-block;
|
|
60263
|
-
width:
|
|
60287
|
+
width: 4em;
|
|
60264
60288
|
margin: 2px;
|
|
60265
60289
|
}
|
|
60266
60290
|
.react-datepicker__month {
|
|
60267
|
-
margin: 0.
|
|
60291
|
+
margin: 0.4em;
|
|
60268
60292
|
text-align: center;
|
|
60269
60293
|
}
|
|
60270
60294
|
.react-datepicker__month .react-datepicker__month-text,
|
|
60271
60295
|
.react-datepicker__month .react-datepicker__quarter-text {
|
|
60272
60296
|
display: inline-block;
|
|
60273
|
-
width:
|
|
60297
|
+
width: 4em;
|
|
60274
60298
|
margin: 2px;
|
|
60275
60299
|
}
|
|
60276
60300
|
.react-datepicker__input-time-container {
|
|
@@ -60313,7 +60337,7 @@ h2.react-datepicker__current-month {
|
|
|
60313
60337
|
.react-datepicker__time-container--with-today-button {
|
|
60314
60338
|
display: inline;
|
|
60315
60339
|
border: 1px solid #aeaeae;
|
|
60316
|
-
border-radius: 0.
|
|
60340
|
+
border-radius: 0.3em;
|
|
60317
60341
|
position: absolute;
|
|
60318
60342
|
right: -87px;
|
|
60319
60343
|
top: 0;
|
|
@@ -60321,19 +60345,19 @@ h2.react-datepicker__current-month {
|
|
|
60321
60345
|
.react-datepicker__time-container .react-datepicker__time {
|
|
60322
60346
|
position: relative;
|
|
60323
60347
|
background: white;
|
|
60324
|
-
border-bottom-right-radius: 0.
|
|
60348
|
+
border-bottom-right-radius: 0.3em;
|
|
60325
60349
|
}
|
|
60326
60350
|
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box {
|
|
60327
60351
|
width: 85px;
|
|
60328
60352
|
overflow-x: hidden;
|
|
60329
60353
|
margin: 0 auto;
|
|
60330
60354
|
text-align: center;
|
|
60331
|
-
border-bottom-right-radius: 0.
|
|
60355
|
+
border-bottom-right-radius: 0.3em;
|
|
60332
60356
|
}
|
|
60333
60357
|
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list {
|
|
60334
60358
|
list-style: none;
|
|
60335
60359
|
margin: 0;
|
|
60336
|
-
height: calc(195px + 1.
|
|
60360
|
+
height: calc(195px + 1.7em / 2);
|
|
60337
60361
|
overflow-y: scroll;
|
|
60338
60362
|
padding-right: 0;
|
|
60339
60363
|
padding-left: 0;
|
|
@@ -60367,10 +60391,10 @@ h2.react-datepicker__current-month {
|
|
|
60367
60391
|
.react-datepicker__week-number {
|
|
60368
60392
|
color: #ccc;
|
|
60369
60393
|
display: inline-block;
|
|
60370
|
-
width: 1.
|
|
60371
|
-
line-height: 1.
|
|
60394
|
+
width: 1.7em;
|
|
60395
|
+
line-height: 1.7em;
|
|
60372
60396
|
text-align: center;
|
|
60373
|
-
margin: 0.
|
|
60397
|
+
margin: 0.166em;
|
|
60374
60398
|
}
|
|
60375
60399
|
.react-datepicker__week-number.react-datepicker__week-number--clickable {
|
|
60376
60400
|
cursor: pointer;
|
|
@@ -60400,10 +60424,10 @@ h2.react-datepicker__current-month {
|
|
|
60400
60424
|
.react-datepicker__time-name {
|
|
60401
60425
|
color: #000;
|
|
60402
60426
|
display: inline-block;
|
|
60403
|
-
width: 1.
|
|
60404
|
-
line-height: 1.
|
|
60427
|
+
width: 1.7em;
|
|
60428
|
+
line-height: 1.7em;
|
|
60405
60429
|
text-align: center;
|
|
60406
|
-
margin: 0.
|
|
60430
|
+
margin: 0.166em;
|
|
60407
60431
|
}
|
|
60408
60432
|
.react-datepicker__day-name--disabled,
|
|
60409
60433
|
.react-datepicker__day--disabled,
|
|
@@ -60619,7 +60643,7 @@ h2.react-datepicker__current-month {
|
|
|
60619
60643
|
}
|
|
60620
60644
|
.react-datepicker__input-container .react-datepicker__calendar-icon {
|
|
60621
60645
|
position: absolute;
|
|
60622
|
-
padding: 0.
|
|
60646
|
+
padding: 0.5em;
|
|
60623
60647
|
box-sizing: content-box;
|
|
60624
60648
|
}
|
|
60625
60649
|
.react-datepicker__view-calendar-icon input {
|
|
@@ -60781,15 +60805,15 @@ h2.react-datepicker__current-month {
|
|
|
60781
60805
|
.react-datepicker__portal .react-datepicker__day-name,
|
|
60782
60806
|
.react-datepicker__portal .react-datepicker__day,
|
|
60783
60807
|
.react-datepicker__portal .react-datepicker__time-name {
|
|
60784
|
-
width:
|
|
60785
|
-
line-height:
|
|
60808
|
+
width: 3em;
|
|
60809
|
+
line-height: 3em;
|
|
60786
60810
|
}
|
|
60787
60811
|
@media (max-width: 400px), (max-height: 550px) {
|
|
60788
60812
|
.react-datepicker__portal .react-datepicker__day-name,
|
|
60789
60813
|
.react-datepicker__portal .react-datepicker__day,
|
|
60790
60814
|
.react-datepicker__portal .react-datepicker__time-name {
|
|
60791
|
-
width:
|
|
60792
|
-
line-height:
|
|
60815
|
+
width: 2em;
|
|
60816
|
+
line-height: 2em;
|
|
60793
60817
|
}
|
|
60794
60818
|
}
|
|
60795
60819
|
.react-datepicker__portal .react-datepicker__current-month,
|
|
@@ -60797,10 +60821,10 @@ h2.react-datepicker__current-month {
|
|
|
60797
60821
|
font-size: 1.44rem;
|
|
60798
60822
|
}
|
|
60799
60823
|
.react-datepicker__children-container {
|
|
60800
|
-
width: 13.
|
|
60801
|
-
margin: 0.
|
|
60802
|
-
padding-right: 0.
|
|
60803
|
-
padding-left: 0.
|
|
60824
|
+
width: 13.8em;
|
|
60825
|
+
margin: 0.4em;
|
|
60826
|
+
padding-right: 0.2em;
|
|
60827
|
+
padding-left: 0.2em;
|
|
60804
60828
|
height: auto;
|
|
60805
60829
|
}
|
|
60806
60830
|
.react-datepicker__aria-live {
|
|
@@ -60819,6 +60843,9 @@ h2.react-datepicker__current-month {
|
|
|
60819
60843
|
height: 1em;
|
|
60820
60844
|
vertical-align: -0.125em;
|
|
60821
60845
|
}
|
|
60846
|
+
.react-datepicker-popper-offset {
|
|
60847
|
+
margin-top: -0.7em;
|
|
60848
|
+
}
|
|
60822
60849
|
.react-datepicker {
|
|
60823
60850
|
font-size: inherit;
|
|
60824
60851
|
background: var(--date-picker-fill);
|