@sberbusiness/triplex-next 1.43.0 → 1.44.0
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/chunks/{AlertProcessSpoiler-Dw-s37ux.js → AlertProcessSpoiler-BKFq5HKa.js} +16 -16
- package/chunks/{AlertProcessSpoiler-Dw-s37ux.js.map → AlertProcessSpoiler-BKFq5HKa.js.map} +1 -1
- package/chunks/{CalendarViewItem-DdKK7cTU.js → CalendarViewItem-IqO8CpCn.js} +20 -20
- package/chunks/{CalendarViewItem-DdKK7cTU.js.map → CalendarViewItem-IqO8CpCn.js.map} +1 -1
- package/chunks/Card.module-DvHL4Oak.js +32 -0
- package/chunks/Card.module-DvHL4Oak.js.map +1 -0
- package/chunks/Carousel.module-B1uqtX8a.js +34 -0
- package/chunks/Carousel.module-B1uqtX8a.js.map +1 -0
- package/chunks/CheckboxTreeExtended.module-nKSCkiBt.js +24 -0
- package/chunks/CheckboxTreeExtended.module-nKSCkiBt.js.map +1 -0
- package/chunks/{Chip-DMOFGadD.js → Chip-BpCsNJTt.js} +16 -16
- package/chunks/{Chip-DMOFGadD.js.map → Chip-BpCsNJTt.js.map} +1 -1
- package/chunks/Confirm.module-BhW4bMM_.js +24 -0
- package/chunks/Confirm.module-BhW4bMM_.js.map +1 -0
- package/chunks/{DropdownListItem-hLJFQ_q0.js → DropdownListItem-DOjFvzKN.js} +10 -10
- package/chunks/{DropdownListItem-hLJFQ_q0.js.map → DropdownListItem-DOjFvzKN.js.map} +1 -1
- package/chunks/DropdownMobile.module-DZDL8Gw8.js +40 -0
- package/chunks/DropdownMobile.module-DZDL8Gw8.js.map +1 -0
- package/chunks/Footer.module-DUG9712L.js +12 -0
- package/chunks/Footer.module-DUG9712L.js.map +1 -0
- package/chunks/{HeaderLayoutSidebar.module-Du7oNhcA.js → HeaderLayoutSidebar.module-IW43j7gL.js} +4 -4
- package/chunks/HeaderLayoutSidebar.module-IW43j7gL.js.map +1 -0
- package/chunks/HeaderTabs.module-DfEbH7Kd.js +12 -0
- package/chunks/HeaderTabs.module-DfEbH7Kd.js.map +1 -0
- package/chunks/{HeaderTitle.module-BpjoBzW6.js → HeaderTitle.module-G4qS0aG1.js} +4 -4
- package/chunks/HeaderTitle.module-G4qS0aG1.js.map +1 -0
- package/chunks/ImageGalleryExtendedMain.module-Bj1ndZgo.js +28 -0
- package/chunks/ImageGalleryExtendedMain.module-Bj1ndZgo.js.map +1 -0
- package/chunks/{ImageGalleryExtendedThumb-2kNnHEuL.js → ImageGalleryExtendedThumb-ZBgC8mAZ.js} +5 -5
- package/chunks/{ImageGalleryExtendedThumb-2kNnHEuL.js.map → ImageGalleryExtendedThumb-ZBgC8mAZ.js.map} +1 -1
- package/chunks/IslandAccordion.module-BFj1LZrN.js +44 -0
- package/chunks/IslandAccordion.module-BFj1LZrN.js.map +1 -0
- package/chunks/IslandWidgetFooter.module-DVKw7F37.js +18 -0
- package/chunks/IslandWidgetFooter.module-DVKw7F37.js.map +1 -0
- package/chunks/IslandWidgetHeader.module-DHAKalQf.js +28 -0
- package/chunks/IslandWidgetHeader.module-DHAKalQf.js.map +1 -0
- package/chunks/{LightBoxContent-D9EyEoR0.js → LightBoxContent-DmLo1lK3.js} +21 -17
- package/chunks/{LightBoxContent-D9EyEoR0.js.map → LightBoxContent-DmLo1lK3.js.map} +1 -1
- package/chunks/LightBoxControls.module-BfIgufzK.js +26 -0
- package/chunks/LightBoxControls.module-BfIgufzK.js.map +1 -0
- package/chunks/{LightBoxSideOverlayClose.module-B0uNmLho.js → LightBoxSideOverlayClose.module-Dznuf6b3.js} +4 -4
- package/chunks/LightBoxSideOverlayClose.module-Dznuf6b3.js.map +1 -0
- package/chunks/{ListItemControlsButton-CgcAyPtd.js → ListItemControlsButton-BFkW7b6S.js} +9 -9
- package/chunks/{ListItemControlsButton-CgcAyPtd.js.map → ListItemControlsButton-BFkW7b6S.js.map} +1 -1
- package/chunks/ListItemTail.module-DjYk6epy.js +18 -0
- package/chunks/ListItemTail.module-DjYk6epy.js.map +1 -0
- package/chunks/ListMasterFooter.module-B5viguka.js +14 -0
- package/chunks/ListMasterFooter.module-B5viguka.js.map +1 -0
- package/chunks/ModalWindow.module-C0p5ZVLh.js +28 -0
- package/chunks/ModalWindow.module-C0p5ZVLh.js.map +1 -0
- package/chunks/Notification.module-DuwX9b1Z.js +34 -0
- package/chunks/Notification.module-DuwX9b1Z.js.map +1 -0
- package/chunks/Overlay.module-Cuh6SDnR.js +30 -0
- package/chunks/Overlay.module-Cuh6SDnR.js.map +1 -0
- package/chunks/Page.module-Bso9TRUt.js +15 -0
- package/chunks/Page.module-Bso9TRUt.js.map +1 -0
- package/chunks/SMSField.module-DHnJVbUI.js +26 -0
- package/chunks/SMSField.module-DHnJVbUI.js.map +1 -0
- package/chunks/SliderExtendedMarks.module-CuyZnXA3.js +24 -0
- package/chunks/SliderExtendedMarks.module-CuyZnXA3.js.map +1 -0
- package/chunks/{SliderExtendedRail-BrLpOwFy.js → SliderExtendedRail-CBpr9S0R.js} +5 -5
- package/chunks/{SliderExtendedRail-BrLpOwFy.js.map → SliderExtendedRail-CBpr9S0R.js.map} +1 -1
- package/chunks/StatusTracker.module-CXFyhzFa.js +44 -0
- package/chunks/StatusTracker.module-CXFyhzFa.js.map +1 -0
- package/chunks/{StepperStepArrowBorder-Cp0G1HTs.js → StepperStepArrowBorder-0FWauWM_.js} +16 -16
- package/chunks/{StepperStepArrowBorder-Cp0G1HTs.js.map → StepperStepArrowBorder-0FWauWM_.js.map} +1 -1
- package/chunks/{SuggestFieldMobileDropdownHint-BLnAqUOu.js → SuggestFieldMobileDropdownHint-BfrLhHXK.js} +3 -3
- package/chunks/{SuggestFieldMobileDropdownHint-BLnAqUOu.js.map → SuggestFieldMobileDropdownHint-BfrLhHXK.js.map} +1 -1
- package/chunks/TableFooter.module-DRlxkZoa.js +22 -0
- package/chunks/TableFooter.module-DRlxkZoa.js.map +1 -0
- package/chunks/TabsExtended.module-DJH-YNzW.js +26 -0
- package/chunks/TabsExtended.module-DJH-YNzW.js.map +1 -0
- package/chunks/TabsLine.module-_HQwnwAW.js +36 -0
- package/chunks/TabsLine.module-_HQwnwAW.js.map +1 -0
- package/chunks/TooltipDesktop.module-B54hNcxs.js +32 -0
- package/chunks/TooltipDesktop.module-B54hNcxs.js.map +1 -0
- package/chunks/TreeView.module-CmItPF1_.js +12 -0
- package/chunks/TreeView.module-CmItPF1_.js.map +1 -0
- package/chunks/{UploadZoneInput-BU3nt7wc.js → UploadZoneInput-CBw00-1a.js} +5 -5
- package/chunks/{UploadZoneInput-BU3nt7wc.js.map → UploadZoneInput-CBw00-1a.js.map} +1 -1
- package/chunks/{constants-BxSYvMoV.js → constants-zAYZ7mgb.js} +27 -27
- package/chunks/{constants-BxSYvMoV.js.map → constants-zAYZ7mgb.js.map} +1 -1
- package/chunks/{utils-B25Ic6iq.js → utils-BL5AUOKS.js} +28 -28
- package/chunks/{utils-B25Ic6iq.js.map → utils-BL5AUOKS.js.map} +1 -1
- package/chunks/{utils-DjmAjzcV.js → utils-C8wwfWT9.js} +12 -10
- package/chunks/{utils-DjmAjzcV.js.map → utils-C8wwfWT9.js.map} +1 -1
- package/chunks/{utils-Cc9JBJpf.js → utils-CTCsYynd.js} +11 -11
- package/chunks/{utils-Cc9JBJpf.js.map → utils-CTCsYynd.js.map} +1 -1
- package/chunks/{utils-CLqTYw8x.js → utils-W5dHMPw5.js} +6 -6
- package/chunks/{utils-CLqTYw8x.js.map → utils-W5dHMPw5.js.map} +1 -1
- package/components/Alert/AlertContext/AlertContext.js +7 -7
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +2 -2
- package/components/Avatar/Avatar.js +13 -13
- package/components/Badge/Badge.js +4 -4
- package/components/Badge/BadgeDot.js +4 -4
- package/components/Badge/components/BadgeContent.js +6 -6
- package/components/Badge/components/BadgePostfix.js +1 -1
- package/components/Badge/components/BadgePrefix.js +1 -1
- package/components/Body/Body.js +3 -3
- package/components/Button/Button.js +20 -20
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +8 -8
- package/components/Button/ButtonDropdownExtended.js +2 -2
- package/components/Button/ButtonIcon.js +3 -3
- package/components/Calendar/Calendar.js +4 -4
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +1 -1
- package/components/Calendar/components/CalendarViewItem.js +1 -1
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +5 -5
- package/components/Card/CardStatic.js +2 -2
- package/components/Card/components/CardContent/CardContent.js +1 -1
- package/components/Card/components/CardContent/components/CardContentBody.js +1 -1
- package/components/Card/components/CardContent/components/CardContentFooter.js +1 -1
- package/components/Card/components/CardContent/components/CardContentHeader.js +1 -1
- package/components/Card/components/CardMedia.js +1 -1
- package/components/Card/utils.js +1 -1
- package/components/Carousel/Carousel.js +1 -1
- package/components/Carousel/CarouselButton.js +5 -5
- package/components/Carousel/CarouselButton.js.map +1 -1
- package/components/Carousel/CarouselIndicators.js +24 -7
- package/components/Carousel/CarouselIndicators.js.map +1 -1
- package/components/Carousel/CarouselItem.js +1 -1
- package/components/Carousel/CarouselTrack.js +1 -1
- package/components/Carousel/CarouselViewport.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +1 -1
- package/components/Checkbox/Checkbox.js +10 -10
- package/components/Checkbox/CheckboxXGroup.js +8 -8
- package/components/Checkbox/CheckboxYGroup.js +1 -1
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +1 -1
- package/components/Chip/Chip.js +1 -1
- package/components/Chip/ChipClearButton.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +2 -2
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +2 -2
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +1 -1
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +7 -7
- package/components/Col/Col.js +132 -132
- package/components/CollapsibleTree/CollapsibleTree.js +1 -1
- package/components/CollapsibleTree/components/CollapsibleTreeLeafContent.js +1 -1
- package/components/CollapsibleTree/components/CollapsibleTreeLeafNode.js +1 -1
- package/components/CollapsibleTree/components/CollapsibleTreeNodeHeader.js +4 -4
- package/components/CollapsibleTreeExtended/components/CollapsibleTreeExtendedNode.js +1 -1
- package/components/Confirm/Confirm.js +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +1 -1
- package/components/Confirm/components/ConfirmContent.js +1 -1
- package/components/Confirm/components/ConfirmContentTitle.js +1 -1
- package/components/Confirm/components/ConfirmControls.js +1 -1
- package/components/DateField/DateFieldTarget.js +4 -4
- package/components/DatePickerExtended/DatePickerExtended.js +28 -23
- package/components/DatePickerExtended/DatePickerExtended.js.map +1 -1
- package/components/DatePickerExtended/DatePickerExtendedContext.js.map +1 -1
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +12 -5
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js.map +1 -1
- package/components/DatePickerExtended/index.js +3 -1
- package/components/DatePickerExtended/index.js.map +1 -1
- package/components/DateRange/DateRange.js +3 -3
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/components/Button.js +1 -1
- package/components/DesignTokens/components/Button.js.map +1 -1
- package/components/DesignTokens/components/Skeleton.js +18 -12
- package/components/DesignTokens/components/Skeleton.js.map +1 -1
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +3 -3
- package/components/Dropdown/desktop/DropdownDesktop.js +6 -6
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +1 -1
- package/components/Ellipsis/Ellipsis.js +3 -3
- package/components/EmptyView/EmptyView.js +4 -4
- package/components/ExpandAnimation/ExpandAnimation.js +15 -10
- package/components/ExpandAnimation/ExpandAnimation.js.map +1 -1
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/Footer.js.map +1 -1
- package/components/Footer/components/FooterDescription.js +1 -1
- package/components/Footer/components/FooterDescription.js.map +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionContent.js.map +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +11 -11
- package/components/FormField/components/FormFieldClear.js +1 -1
- package/components/FormField/components/FormFieldCounter.js +1 -1
- package/components/FormField/components/FormFieldDescription.js +2 -2
- package/components/FormField/components/FormFieldInput.js +4 -4
- package/components/FormField/components/FormFieldLabel.js +7 -7
- package/components/FormField/components/FormFieldMaskedInput.js +6 -6
- package/components/FormField/components/FormFieldPostfix.js +1 -1
- package/components/FormField/components/FormFieldPrefix.js +1 -1
- package/components/FormField/components/FormFieldTarget.js +8 -8
- package/components/FormField/components/FormFieldTextarea.js +4 -4
- package/components/Gap/Gap.js +8 -8
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +1 -1
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +1 -1
- package/components/IconWrapper/IconWrapper.js +2 -2
- package/components/ImageGallery/ImageGallery.js +1 -1
- package/components/ImageGalleryExtended/ImageGalleryExtended.js +2 -2
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedArrow.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedDots.js +3 -3
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedMain.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedSlide.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedSwipeTrack.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedThumb.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedThumbnails.js +1 -1
- package/components/ImageGalleryExtended/components/index.js +1 -1
- package/components/ImageGalleryExtended/index.js +1 -1
- package/components/Island/Island.js +9 -2
- package/components/Island/Island.js.map +1 -1
- package/components/Island/components/IslandBody.js +1 -1
- package/components/Island/components/IslandFooter.js +1 -1
- package/components/Island/components/IslandHeader.js +1 -1
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +2 -2
- package/components/IslandWidget/IslandWidget.js +8 -18
- package/components/IslandWidget/IslandWidget.js.map +1 -1
- package/components/IslandWidget/IslandWidgetContext.js +3 -1
- package/components/IslandWidget/IslandWidgetContext.js.map +1 -1
- package/components/IslandWidget/components/IslandWidgetBody.js +14 -3
- package/components/IslandWidget/components/IslandWidgetBody.js.map +1 -1
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooter.js +14 -2
- package/components/IslandWidget/components/IslandWidgetFooter.js.map +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +7 -4
- package/components/IslandWidget/components/IslandWidgetHeader.js.map +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderTitle.js +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +1 -1
- package/components/LightBox/LightBox.js +6 -5
- package/components/LightBox/LightBox.js.map +1 -1
- package/components/LightBox/LightBoxContent.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxArrow.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxClose.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxControls.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxNext.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +12 -12
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +3 -3
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +3 -3
- package/components/Link/Link.js +5 -5
- package/components/List/List.js +3 -3
- package/components/List/components/ListActionItem.js +1 -1
- package/components/List/components/ListEmptyState.js +1 -1
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +4 -4
- package/components/List/components/ListItemControls.js +1 -1
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +1 -1
- package/components/List/components/ListItemSelectable.js +6 -6
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +2 -2
- package/components/List/components/ListSortableItemControls.js +1 -1
- package/components/List/components/ListSortableItemTarget.js +4 -4
- package/components/List/components/ListTableItem.js +3 -3
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +1 -1
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +2 -2
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +8 -8
- package/components/Loader/LoaderSmall/LoaderSmall.js +10 -10
- package/components/LoaderScreen/LoaderScreen.js +5 -5
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +7 -7
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +1 -1
- package/components/ModalWindow/components/ModalWindowClose.js +1 -1
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +1 -1
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MonthYearField/MonthYearFieldTarget.js +4 -4
- package/components/MonthYearRange/MonthYearRange.js +3 -3
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +1 -1
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +1 -1
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +1 -1
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/OrderedList/OrderedList.js +2 -2
- package/components/OrderedList/OrderedListItem.js +2 -2
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayBase.js +4 -0
- package/components/Overlay/OverlayBase.js.map +1 -1
- package/components/Overlay/OverlayMask.js +1 -1
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +36 -9
- package/components/Page/components/BodyPage.js.map +1 -1
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Page/components/enums.js +1 -0
- package/components/Page/components/enums.js.map +1 -1
- package/components/Pagination/Pagination.js +1 -1
- package/components/Pagination/Pagination.js.map +1 -1
- package/components/Pagination/components/PaginationExtended.js +2 -2
- package/components/Pagination/components/PaginationNavigation.js +4 -3
- package/components/Pagination/components/PaginationNavigation.js.map +1 -1
- package/components/Pagination/components/PaginationNavigationButton.js +2 -2
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +2 -2
- package/components/Pagination/components/PaginationPageEllipsis.js +1 -1
- package/components/Pagination/components/PaginationSelect.js +2 -2
- package/components/Radio/Radio.js +9 -9
- package/components/Radio/RadioXGroup.js +8 -8
- package/components/Radio/RadioYGroup.js +1 -1
- package/components/Row/Row.js +4 -4
- package/components/SMSField/SMSField.js +2 -2
- package/components/SMSField/components/RefreshIcon.js +1 -1
- package/components/SMSField/components/SMSFieldInput.js +1 -1
- package/components/SMSField/components/SMSFieldRefresh.js +1 -1
- package/components/SMSField/components/SMSFieldSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +9 -9
- package/components/SegmentedControl/SegmentedControlSegment.js +3 -3
- package/components/SelectExtendedField/SelectExtendedField.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +7 -7
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +19 -11
- package/components/Skeleton/Skeleton.js.map +1 -1
- package/components/Skeleton/enums.js +3 -2
- package/components/Skeleton/enums.js.map +1 -1
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +5 -5
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +1 -1
- package/components/SliderExtended/components/SliderExtendedRail.js +1 -1
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +4 -4
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +6 -6
- package/components/SmallInput/SmallInput.js +1 -1
- package/components/Spoiler/Spoiler.js +10 -10
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +1 -1
- package/components/StatusTracker/components/StatusTrackerDescription.js +1 -1
- package/components/StatusTracker/components/StatusTrackerFooter.js +1 -1
- package/components/StatusTracker/components/StatusTrackerHeader.js +1 -1
- package/components/StatusTracker/components/StatusTrackerMedia.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatus.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatusGroup.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +10 -10
- package/components/Stepper/Stepper.js +8 -8
- package/components/Stepper/StepperExtended.js +1 -1
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperStepArrowBorder.js +1 -1
- package/components/Suggest/SuggestMobileDropdownContent.js +3 -3
- package/components/SuggestField/SuggestField.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +8 -8
- package/components/Table/ChipPanel.js +1 -1
- package/components/Table/ChipPanelLinks.js +1 -1
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +2 -2
- package/components/Table/NoColumns.js +2 -2
- package/components/Table/PaginationPanel.js +2 -2
- package/components/Table/TableBasic/TableBasic.js +58 -58
- package/components/Table/TableBasic/TableBasic.js.map +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -3
- package/components/Table/TableBasic/components/TableBasicBody.js.map +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +48 -65
- package/components/Table/TableBasic/components/TableBasicHeader.js.map +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +24 -27
- package/components/Table/TableBasic/components/TableBasicRow.js.map +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +1 -1
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +25 -9
- package/components/Tabs/Tabs.js.map +1 -1
- package/components/TabsExtended/TabsExtended.js +2 -2
- package/components/TabsExtended/components/TabsExtendedContent.js +1 -1
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTab.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabButton.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +1 -1
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +1 -1
- package/components/TabsLine/components/TabsLineDesktop.js +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +2 -2
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +2 -2
- package/components/Tag/Tag.js +50 -55
- package/components/Tag/Tag.js.map +1 -1
- package/components/TagColor/TagColor.js +10 -10
- package/components/TagGroup/TagGroup.js +4 -4
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +4 -4
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +1 -1
- package/components/Tooltip/components/mobile/TooltipMobile.js +4 -4
- package/components/TopOverlay/TopOverlay.js +106 -97
- package/components/TopOverlay/TopOverlay.js.map +1 -1
- package/components/TopOverlay/utils.js +8 -0
- package/components/TopOverlay/utils.js.map +1 -0
- package/components/TreeView/TreeView.js +41 -16
- package/components/TreeView/TreeView.js.map +1 -1
- package/components/TreeView/TreeViewAbstractNodeUtils.js +30 -34
- package/components/TreeView/TreeViewAbstractNodeUtils.js.map +1 -1
- package/components/TreeView/TreeViewContext.js +0 -2
- package/components/TreeView/TreeViewContext.js.map +1 -1
- package/components/TreeView/components/TreeViewGroup.js +10 -2
- package/components/TreeView/components/TreeViewGroup.js.map +1 -1
- package/components/TreeView/components/TreeViewNode.js +8 -10
- package/components/TreeView/components/TreeViewNode.js.map +1 -1
- package/components/Typography/Caption.js +7 -7
- package/components/Typography/CodeText.js +2 -2
- package/components/Typography/Text.js +9 -9
- package/components/Typography/Title.js +9 -9
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedListExtended/UnorderedListExtended.js +2 -2
- package/components/UnorderedListExtended/UnorderedListExtendedItem.js +2 -2
- package/components/UnorderedListExtended/UnorderedListExtendedItemMarker.js +3 -3
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/UploadZone/index.js +1 -1
- package/components/index.js +8 -24
- package/components/index.js.map +1 -1
- package/index.d.ts +168 -94
- package/index.js +8 -6
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/triplex-next.css +6294 -6160
- package/chunks/Card.module-CJKLM6En.js +0 -32
- package/chunks/Card.module-CJKLM6En.js.map +0 -1
- package/chunks/Carousel.module-g5TYfNRR.js +0 -30
- package/chunks/Carousel.module-g5TYfNRR.js.map +0 -1
- package/chunks/CheckboxTreeExtended.module-3Qs071eq.js +0 -24
- package/chunks/CheckboxTreeExtended.module-3Qs071eq.js.map +0 -1
- package/chunks/Confirm.module-fkOpZSTz.js +0 -24
- package/chunks/Confirm.module-fkOpZSTz.js.map +0 -1
- package/chunks/DropdownMobile.module-Ddqns0Cv.js +0 -40
- package/chunks/DropdownMobile.module-Ddqns0Cv.js.map +0 -1
- package/chunks/Footer.module-Drrxy-6W.js +0 -12
- package/chunks/Footer.module-Drrxy-6W.js.map +0 -1
- package/chunks/HeaderLayoutSidebar.module-Du7oNhcA.js.map +0 -1
- package/chunks/HeaderTabs.module-DuLER5cV.js +0 -12
- package/chunks/HeaderTabs.module-DuLER5cV.js.map +0 -1
- package/chunks/HeaderTitle.module-BpjoBzW6.js.map +0 -1
- package/chunks/ImageGalleryExtendedMain.module-DdtxKZVk.js +0 -28
- package/chunks/ImageGalleryExtendedMain.module-DdtxKZVk.js.map +0 -1
- package/chunks/IslandAccordion.module-BSKYPAWV.js +0 -44
- package/chunks/IslandAccordion.module-BSKYPAWV.js.map +0 -1
- package/chunks/IslandWidgetFooter.module-Iynlil69.js +0 -12
- package/chunks/IslandWidgetFooter.module-Iynlil69.js.map +0 -1
- package/chunks/IslandWidgetHeader.module-DhLpsPi3.js +0 -20
- package/chunks/IslandWidgetHeader.module-DhLpsPi3.js.map +0 -1
- package/chunks/LightBoxControls.module-DrWaO0Tw.js +0 -26
- package/chunks/LightBoxControls.module-DrWaO0Tw.js.map +0 -1
- package/chunks/LightBoxSideOverlayClose.module-B0uNmLho.js.map +0 -1
- package/chunks/ListItemTail.module-BJTp-HUl.js +0 -18
- package/chunks/ListItemTail.module-BJTp-HUl.js.map +0 -1
- package/chunks/ListMasterFooter.module-CPTuou5-.js +0 -14
- package/chunks/ListMasterFooter.module-CPTuou5-.js.map +0 -1
- package/chunks/ModalWindow.module-ClLy376h.js +0 -28
- package/chunks/ModalWindow.module-ClLy376h.js.map +0 -1
- package/chunks/Notification.module-DAhgj_4u.js +0 -34
- package/chunks/Notification.module-DAhgj_4u.js.map +0 -1
- package/chunks/Overlay.module-DstpCyQx.js +0 -30
- package/chunks/Overlay.module-DstpCyQx.js.map +0 -1
- package/chunks/Page.module-BlMfM_F-.js +0 -15
- package/chunks/Page.module-BlMfM_F-.js.map +0 -1
- package/chunks/SMSField.module-e3cgZTSU.js +0 -26
- package/chunks/SMSField.module-e3cgZTSU.js.map +0 -1
- package/chunks/SliderExtendedMarks.module-DpSsY-cL.js +0 -24
- package/chunks/SliderExtendedMarks.module-DpSsY-cL.js.map +0 -1
- package/chunks/StatusTracker.module-D4AWWtIs.js +0 -44
- package/chunks/StatusTracker.module-D4AWWtIs.js.map +0 -1
- package/chunks/TableFooter.module-BNzWbmoH.js +0 -22
- package/chunks/TableFooter.module-BNzWbmoH.js.map +0 -1
- package/chunks/TabsExtended.module-X9j6lOjE.js +0 -26
- package/chunks/TabsExtended.module-X9j6lOjE.js.map +0 -1
- package/chunks/TabsLine.module-ChL37SLq.js +0 -36
- package/chunks/TabsLine.module-ChL37SLq.js.map +0 -1
- package/chunks/TooltipDesktop.module-CnBq_TZS.js +0 -32
- package/chunks/TooltipDesktop.module-CnBq_TZS.js.map +0 -1
- package/chunks/TreeView.module-C5KrbQR8.js +0 -12
- package/chunks/TreeView.module-C5KrbQR8.js.map +0 -1
|
@@ -4,7 +4,7 @@ import "@sberbusiness/icons-next";
|
|
|
4
4
|
import "../../../../chunks/vendor-D4wvHis9.js";
|
|
5
5
|
import "../../../Button/ButtonIcon.js";
|
|
6
6
|
import "../AlertProcessContext.js";
|
|
7
|
-
import { A } from "../../../../chunks/AlertProcessSpoiler-
|
|
7
|
+
import { A } from "../../../../chunks/AlertProcessSpoiler-BKFq5HKa.js";
|
|
8
8
|
export {
|
|
9
9
|
A as AlertProcessSpoiler
|
|
10
10
|
};
|
|
@@ -2,7 +2,7 @@ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
|
2
2
|
import React__default from "react";
|
|
3
3
|
import { c as clsx } from "../../chunks/vendor-D4wvHis9.js";
|
|
4
4
|
import { formatAmount } from "../../utils/amountUtils.js";
|
|
5
|
-
const adaptive = "
|
|
5
|
+
const adaptive = "adaptive__4b7854f2";
|
|
6
6
|
const styles = {
|
|
7
7
|
adaptive
|
|
8
8
|
};
|
|
@@ -20,7 +20,7 @@ const Amount = React__default.forwardRef(
|
|
|
20
20
|
},
|
|
21
21
|
className
|
|
22
22
|
);
|
|
23
|
-
return /* @__PURE__ */ jsxs("span", { className: classNames, ...restProps, ref, "data-tx": "1.
|
|
23
|
+
return /* @__PURE__ */ jsxs("span", { className: classNames, ...restProps, ref, "data-tx": "1.44.0", children: [
|
|
24
24
|
/* @__PURE__ */ jsx("span", { "data-test-id": dataTestId && `${dataTestId}__amount`, children: formattedAmount }),
|
|
25
25
|
currency && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
26
26
|
NON_BREAKING_SPACE,
|
|
@@ -2,19 +2,19 @@ import { EAvatarSize } from "./enums.js";
|
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import React__default from "react";
|
|
4
4
|
import { c as clsx } from "../../chunks/vendor-D4wvHis9.js";
|
|
5
|
-
const avatar = "
|
|
6
|
-
const borderRadius6 = "
|
|
7
|
-
const borderRadius8 = "
|
|
8
|
-
const borderRadius10 = "
|
|
9
|
-
const borderRadius12 = "
|
|
10
|
-
const borderRadius16 = "
|
|
11
|
-
const xxs = "
|
|
12
|
-
const xs = "
|
|
13
|
-
const sm = "
|
|
14
|
-
const md = "
|
|
15
|
-
const lg = "
|
|
16
|
-
const xl = "
|
|
17
|
-
const xxl = "
|
|
5
|
+
const avatar = "avatar__e7fc7e53";
|
|
6
|
+
const borderRadius6 = "borderRadius6__49651047";
|
|
7
|
+
const borderRadius8 = "borderRadius8__5b36cb56";
|
|
8
|
+
const borderRadius10 = "borderRadius10__05b2c8ae";
|
|
9
|
+
const borderRadius12 = "borderRadius12__1ab94146";
|
|
10
|
+
const borderRadius16 = "borderRadius16__f5e5d920";
|
|
11
|
+
const xxs = "xxs__83af4a9b";
|
|
12
|
+
const xs = "xs__408c61d6";
|
|
13
|
+
const sm = "sm__259db1f5";
|
|
14
|
+
const md = "md__61b8b91d";
|
|
15
|
+
const lg = "lg__de37ca6f";
|
|
16
|
+
const xl = "xl__d69f59b5";
|
|
17
|
+
const xxl = "xxl__98867846";
|
|
18
18
|
const styles = {
|
|
19
19
|
avatar,
|
|
20
20
|
borderRadius6,
|
|
@@ -6,10 +6,10 @@ import { BadgeDot } from "./BadgeDot.js";
|
|
|
6
6
|
import { BadgeContent } from "./components/BadgeContent.js";
|
|
7
7
|
import { BadgePrefix } from "./components/BadgePrefix.js";
|
|
8
8
|
import { BadgePostfix } from "./components/BadgePostfix.js";
|
|
9
|
-
const badge = "
|
|
10
|
-
const sm = "
|
|
11
|
-
const md = "
|
|
12
|
-
const lg = "
|
|
9
|
+
const badge = "badge__ea3d0e7f";
|
|
10
|
+
const sm = "sm__4f673bba";
|
|
11
|
+
const md = "md__5f912294";
|
|
12
|
+
const lg = "lg__40eb51c0";
|
|
13
13
|
const styles = {
|
|
14
14
|
badge,
|
|
15
15
|
sm,
|
|
@@ -2,10 +2,10 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import React__default from "react";
|
|
3
3
|
import { c as clsx } from "../../chunks/vendor-D4wvHis9.js";
|
|
4
4
|
import { createSizeToClassNameMap } from "../../utils/classNameMaps.js";
|
|
5
|
-
const badgeDot = "
|
|
6
|
-
const sm = "
|
|
7
|
-
const md = "
|
|
8
|
-
const lg = "
|
|
5
|
+
const badgeDot = "badgeDot__b7ec82af";
|
|
6
|
+
const sm = "sm__4f673bba";
|
|
7
|
+
const md = "md__5f912294";
|
|
8
|
+
const lg = "lg__40eb51c0";
|
|
9
9
|
const styles = {
|
|
10
10
|
badgeDot,
|
|
11
11
|
sm,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { c as clsx } from "../../../chunks/vendor-D4wvHis9.js";
|
|
3
3
|
import { createSizeToClassNameMap } from "../../../utils/classNameMaps.js";
|
|
4
|
-
const badgeContent = "
|
|
5
|
-
const sm = "
|
|
6
|
-
const md = "
|
|
7
|
-
const lg = "
|
|
8
|
-
const noPaddingLeft = "
|
|
9
|
-
const noPaddingRight = "
|
|
4
|
+
const badgeContent = "badgeContent__e48b1960";
|
|
5
|
+
const sm = "sm__4f673bba";
|
|
6
|
+
const md = "md__5f912294";
|
|
7
|
+
const lg = "lg__40eb51c0";
|
|
8
|
+
const noPaddingLeft = "noPaddingLeft__abee44c3";
|
|
9
|
+
const noPaddingRight = "noPaddingRight__e0d0d72b";
|
|
10
10
|
const styles = {
|
|
11
11
|
badgeContent,
|
|
12
12
|
sm,
|
package/components/Body/Body.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default from "react";
|
|
3
3
|
import { c as clsx } from "../../chunks/vendor-D4wvHis9.js";
|
|
4
|
-
const body = "
|
|
5
|
-
const bodyInner = "
|
|
4
|
+
const body = "body__1007c0bc";
|
|
5
|
+
const bodyInner = "bodyInner__b3f53ad5";
|
|
6
6
|
const styles = {
|
|
7
7
|
body,
|
|
8
8
|
bodyInner
|
|
9
9
|
};
|
|
10
|
-
const Body = React__default.forwardRef(({ children, className, ...rest }, ref) => /* @__PURE__ */ jsx("div", { className: clsx(styles.body, className), ...rest, "data-tx": "1.
|
|
10
|
+
const Body = React__default.forwardRef(({ children, className, ...rest }, ref) => /* @__PURE__ */ jsx("div", { className: clsx(styles.body, className), ...rest, "data-tx": "1.44.0", ref, children: /* @__PURE__ */ jsx("div", { className: styles.bodyInner, children }) }));
|
|
11
11
|
Body.displayName = "Body";
|
|
12
12
|
export {
|
|
13
13
|
Body
|
|
@@ -9,46 +9,46 @@ import { EButtonTheme } from "./enums.js";
|
|
|
9
9
|
import { EComponentSize } from "../../enums/EComponentSize.js";
|
|
10
10
|
import { IconWrapper } from "../IconWrapper/IconWrapper.js";
|
|
11
11
|
import { createSizeToClassNameMap } from "../../utils/classNameMaps.js";
|
|
12
|
-
const general = "
|
|
13
|
-
const expanded$4 = "
|
|
12
|
+
const general = "general__9b8b5c66";
|
|
13
|
+
const expanded$4 = "expanded__511d9538";
|
|
14
14
|
const generalStyles = {
|
|
15
15
|
general,
|
|
16
16
|
expanded: expanded$4
|
|
17
17
|
};
|
|
18
|
-
const secondary = "
|
|
19
|
-
const expanded$3 = "
|
|
18
|
+
const secondary = "secondary__1e859460";
|
|
19
|
+
const expanded$3 = "expanded__511d9538";
|
|
20
20
|
const secondaryStyles = {
|
|
21
21
|
secondary,
|
|
22
22
|
expanded: expanded$3
|
|
23
23
|
};
|
|
24
|
-
const secondaryLight = "
|
|
25
|
-
const expanded$2 = "
|
|
24
|
+
const secondaryLight = "secondaryLight__db14a74b";
|
|
25
|
+
const expanded$2 = "expanded__511d9538";
|
|
26
26
|
const secondaryLightStyles = {
|
|
27
27
|
secondaryLight,
|
|
28
28
|
expanded: expanded$2
|
|
29
29
|
};
|
|
30
|
-
const danger = "
|
|
31
|
-
const expanded$1 = "
|
|
30
|
+
const danger = "danger__e0e19aaa";
|
|
31
|
+
const expanded$1 = "expanded__511d9538";
|
|
32
32
|
const dangerStyles = {
|
|
33
33
|
danger,
|
|
34
34
|
expanded: expanded$1
|
|
35
35
|
};
|
|
36
|
-
const link = "
|
|
37
|
-
const expanded = "
|
|
36
|
+
const link = "link__8f208150";
|
|
37
|
+
const expanded = "expanded__511d9538";
|
|
38
38
|
const linkStyles = {
|
|
39
39
|
link,
|
|
40
40
|
expanded
|
|
41
41
|
};
|
|
42
|
-
const button = "
|
|
43
|
-
const sm = "
|
|
44
|
-
const icon = "
|
|
45
|
-
const md = "
|
|
46
|
-
const lg = "
|
|
47
|
-
const block = "
|
|
48
|
-
const content = "
|
|
49
|
-
const loading = "
|
|
50
|
-
const loader = "
|
|
51
|
-
const hidden = "
|
|
42
|
+
const button = "button__346ded96";
|
|
43
|
+
const sm = "sm__2677eeb1";
|
|
44
|
+
const icon = "icon__aa5c40ff";
|
|
45
|
+
const md = "md__00724582";
|
|
46
|
+
const lg = "lg__da86f767";
|
|
47
|
+
const block = "block__b63b89f2";
|
|
48
|
+
const content = "content__d73a02c0";
|
|
49
|
+
const loading = "loading__2409f2f4";
|
|
50
|
+
const loader = "loader__4d8b65e9";
|
|
51
|
+
const hidden = "hidden__071c3e5b";
|
|
52
52
|
const styles = {
|
|
53
53
|
button,
|
|
54
54
|
sm,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default from "react";
|
|
3
3
|
const ButtonBase = React__default.forwardRef((props, ref) => {
|
|
4
|
-
return /* @__PURE__ */ jsx("button", { type: "button", ...props, "data-tx": "1.
|
|
4
|
+
return /* @__PURE__ */ jsx("button", { type: "button", ...props, "data-tx": "1.44.0", ref });
|
|
5
5
|
});
|
|
6
6
|
ButtonBase.displayName = "ButtonBase";
|
|
7
7
|
export {
|
|
@@ -10,7 +10,7 @@ import { isKey } from "../../utils/keyboard.js";
|
|
|
10
10
|
import { DropdownListContext } from "../Dropdown/DropdownListContext.js";
|
|
11
11
|
import "../Dropdown/desktop/DropdownDesktop.js";
|
|
12
12
|
import { DropdownList } from "../Dropdown/desktop/DropdownList.js";
|
|
13
|
-
import "../../chunks/DropdownListItem-
|
|
13
|
+
import "../../chunks/DropdownListItem-DOjFvzKN.js";
|
|
14
14
|
import { EDropdownAlignment, EDropdownWidth } from "../Dropdown/desktop/enums.js";
|
|
15
15
|
import "../Dropdown/mobile/DropdownMobile.js";
|
|
16
16
|
import { DropdownMobileBody } from "../Dropdown/mobile/DropdownMobileBody.js";
|
|
@@ -30,13 +30,13 @@ import "../Typography/Caption.js";
|
|
|
30
30
|
import "../Typography/CodeText.js";
|
|
31
31
|
import { Text } from "../Typography/Text.js";
|
|
32
32
|
import "../Typography/Title.js";
|
|
33
|
-
const buttonDropdown = "
|
|
34
|
-
const block = "
|
|
35
|
-
const buttonDropdownTarget = "
|
|
36
|
-
const dots = "
|
|
37
|
-
const caretIcon = "
|
|
38
|
-
const active = "
|
|
39
|
-
const buttonDropdownMenuItem = "
|
|
33
|
+
const buttonDropdown = "buttonDropdown__7225c33b";
|
|
34
|
+
const block = "block__b63b89f2";
|
|
35
|
+
const buttonDropdownTarget = "buttonDropdownTarget__beeeae1f";
|
|
36
|
+
const dots = "dots__4884c97f";
|
|
37
|
+
const caretIcon = "caretIcon__e11f6c51";
|
|
38
|
+
const active = "active__28f38fb5";
|
|
39
|
+
const buttonDropdownMenuItem = "buttonDropdownMenuItem__7856141c";
|
|
40
40
|
const styles = {
|
|
41
41
|
buttonDropdown,
|
|
42
42
|
block,
|
|
@@ -4,8 +4,8 @@ import { Dropdown } from "../Dropdown/Dropdown.js";
|
|
|
4
4
|
import { isKey } from "../../utils/keyboard.js";
|
|
5
5
|
import { DropdownList } from "../Dropdown/desktop/DropdownList.js";
|
|
6
6
|
import { c as clsx } from "../../chunks/vendor-D4wvHis9.js";
|
|
7
|
-
const buttonDropdownExtended = "
|
|
8
|
-
const buttonDropdownExtendedBlock = "
|
|
7
|
+
const buttonDropdownExtended = "buttonDropdownExtended__c9a73e52";
|
|
8
|
+
const buttonDropdownExtendedBlock = "buttonDropdownExtendedBlock__392d8418";
|
|
9
9
|
const styles = {
|
|
10
10
|
buttonDropdownExtended,
|
|
11
11
|
buttonDropdownExtendedBlock
|
|
@@ -3,9 +3,9 @@ import React__default from "react";
|
|
|
3
3
|
import { c as clsx } from "../../chunks/vendor-D4wvHis9.js";
|
|
4
4
|
import { EButtonIconShape } from "./enums.js";
|
|
5
5
|
import { IconWrapper } from "../IconWrapper/IconWrapper.js";
|
|
6
|
-
const buttonIcon = "
|
|
7
|
-
const circle = "
|
|
8
|
-
const squircle = "
|
|
6
|
+
const buttonIcon = "buttonIcon__03a412ee";
|
|
7
|
+
const circle = "circle__4d2bc622";
|
|
8
|
+
const squircle = "squircle__9b49b46e";
|
|
9
9
|
const styles = {
|
|
10
10
|
buttonIcon,
|
|
11
11
|
circle,
|
|
@@ -14,9 +14,9 @@ import { CalendarView } from "./components/CalendarView.js";
|
|
|
14
14
|
import { CalendarFooter } from "./components/CalendarFooter.js";
|
|
15
15
|
import { CalendarFooterButton } from "./components/CalendarFooterButton.js";
|
|
16
16
|
import { parsePickedDate, formatDate } from "./utils.js";
|
|
17
|
-
const calendar = "
|
|
18
|
-
const extraBottom = "
|
|
19
|
-
const adaptive = "
|
|
17
|
+
const calendar = "calendar__f40e731c";
|
|
18
|
+
const extraBottom = "extraBottom__4e5e8d37";
|
|
19
|
+
const adaptive = "adaptive__21bad2c3";
|
|
20
20
|
const styles = {
|
|
21
21
|
calendar,
|
|
22
22
|
extraBottom,
|
|
@@ -179,7 +179,7 @@ class Calendar extends React__default.PureComponent {
|
|
|
179
179
|
this.props.adaptiveMode ? styles.adaptive : (viewMode !== ECalendarViewMode.DAYS || todayButtonProps) && styles.extraBottom
|
|
180
180
|
);
|
|
181
181
|
const pickedDate = parsePickedDate(this.props.pickedDate, format);
|
|
182
|
-
return /* @__PURE__ */ jsx("div", { className: classNames, "data-tx": "1.
|
|
182
|
+
return /* @__PURE__ */ jsx("div", { className: classNames, "data-tx": "1.44.0", children: /* @__PURE__ */ jsxs(
|
|
183
183
|
CalendarContext.Provider,
|
|
184
184
|
{
|
|
185
185
|
value: {
|
|
@@ -9,7 +9,7 @@ import { EButtonIconShape, EButtonTheme } from "../../Button/enums.js";
|
|
|
9
9
|
import { ECalendarViewMode } from "../enums.js";
|
|
10
10
|
import { globalLimitRange } from "../../../consts/DateConst.js";
|
|
11
11
|
import { EComponentSize } from "../../../enums/EComponentSize.js";
|
|
12
|
-
const calendarControls = "
|
|
12
|
+
const calendarControls = "calendarControls__cdd8eaa4";
|
|
13
13
|
const styles = {
|
|
14
14
|
calendarControls
|
|
15
15
|
};
|
|
@@ -5,7 +5,7 @@ import { c as clsx } from "../../../chunks/vendor-D4wvHis9.js";
|
|
|
5
5
|
import { isDateOutOfRange, isDayDisabled, getFirstEnabledDate, getNavigationShift, shiftDate } from "../utils.js";
|
|
6
6
|
import { WEEKDAYS_SET, WEEKS_SET } from "../../../consts/DateConst.js";
|
|
7
7
|
import { CalendarViewContext } from "../CalendarViewContext.js";
|
|
8
|
-
import { s as styles, C as CalendarViewItem } from "../../../chunks/CalendarViewItem-
|
|
8
|
+
import { s as styles, C as CalendarViewItem } from "../../../chunks/CalendarViewItem-IqO8CpCn.js";
|
|
9
9
|
import { ECalendarDateMarkType, ECalendarViewMode } from "../enums.js";
|
|
10
10
|
import { CalendarContext } from "../CalendarContext.js";
|
|
11
11
|
const NAVIGATION_STEPS = {
|
|
@@ -4,7 +4,7 @@ import "../../../chunks/vendor-D4wvHis9.js";
|
|
|
4
4
|
import "../enums.js";
|
|
5
5
|
import "../CalendarViewContext.js";
|
|
6
6
|
import "../../../utils/keyboard.js";
|
|
7
|
-
import { C } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { C } from "../../../chunks/CalendarViewItem-IqO8CpCn.js";
|
|
8
8
|
export {
|
|
9
9
|
C as CalendarViewItem
|
|
10
10
|
};
|
|
@@ -4,7 +4,7 @@ import moment from "moment";
|
|
|
4
4
|
import { CalendarContext } from "../CalendarContext.js";
|
|
5
5
|
import { CalendarViewContext } from "../CalendarViewContext.js";
|
|
6
6
|
import { isDateOutOfRange, getFirstEnabledDate, VIEW_GRID_ROWS, VIEW_GRID_COLUMNS, getNavigationShift, shiftDate, getShiftedDateInRange } from "../utils.js";
|
|
7
|
-
import { s as styles, C as CalendarViewItem } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as styles, C as CalendarViewItem } from "../../../chunks/CalendarViewItem-IqO8CpCn.js";
|
|
8
8
|
import { ECalendarPickType, ECalendarViewMode } from "../enums.js";
|
|
9
9
|
const NAVIGATION_STEPS = {
|
|
10
10
|
horizontal: { amount: 1, unit: "month" },
|
|
@@ -3,7 +3,7 @@ import { useContext, useCallback, useState, useEffect } from "react";
|
|
|
3
3
|
import { CalendarContext } from "../CalendarContext.js";
|
|
4
4
|
import { CalendarViewContext } from "../CalendarViewContext.js";
|
|
5
5
|
import { isDateOutOfRange, getFirstEnabledDate, VIEW_GRID_ROWS, VIEW_GRID_COLUMNS, getNavigationShift, shiftDate, getShiftedDateInRange } from "../utils.js";
|
|
6
|
-
import { s as styles, C as CalendarViewItem } from "../../../chunks/CalendarViewItem-
|
|
6
|
+
import { s as styles, C as CalendarViewItem } from "../../../chunks/CalendarViewItem-IqO8CpCn.js";
|
|
7
7
|
import { ECalendarViewMode } from "../enums.js";
|
|
8
8
|
const YEARS_BEFORE_VIEW_DATE = 5;
|
|
9
9
|
const YEARS_AFTER_VIEW_DATE = 6;
|
|
@@ -10,10 +10,10 @@ import { EFocusSource } from "../../enums/EFocusSource.js";
|
|
|
10
10
|
import { mapCardRoundingSizeToCssClass, mapCardThemeToCssClass } from "./utils.js";
|
|
11
11
|
import { isKey } from "../../utils/keyboard.js";
|
|
12
12
|
import { c as clsx } from "../../chunks/vendor-D4wvHis9.js";
|
|
13
|
-
import { c as cardStyles } from "../../chunks/Card.module-
|
|
14
|
-
const action = "
|
|
15
|
-
const selected = "
|
|
16
|
-
const focusVisible = "
|
|
13
|
+
import { c as cardStyles } from "../../chunks/Card.module-DvHL4Oak.js";
|
|
14
|
+
const action = "action__7cdd54f4";
|
|
15
|
+
const selected = "selected__2348e850";
|
|
16
|
+
const focusVisible = "focusVisible__196098b6";
|
|
17
17
|
const actionStyles = {
|
|
18
18
|
action,
|
|
19
19
|
selected,
|
|
@@ -128,7 +128,7 @@ class CardAction extends React__default.Component {
|
|
|
128
128
|
role: "button",
|
|
129
129
|
...attributes,
|
|
130
130
|
ref: this.ref,
|
|
131
|
-
"data-tx": "1.
|
|
131
|
+
"data-tx": "1.44.0",
|
|
132
132
|
children
|
|
133
133
|
}
|
|
134
134
|
);
|
|
@@ -3,7 +3,7 @@ import { CardContent } from "./components/CardContent/CardContent.js";
|
|
|
3
3
|
import { CardMedia } from "./components/CardMedia.js";
|
|
4
4
|
import { mapCardRoundingSizeToCssClass, mapCardThemeToCssClass } from "./utils.js";
|
|
5
5
|
import { c as clsx } from "../../chunks/vendor-D4wvHis9.js";
|
|
6
|
-
import { c as cardStyles } from "../../chunks/Card.module-
|
|
6
|
+
import { c as cardStyles } from "../../chunks/Card.module-DvHL4Oak.js";
|
|
7
7
|
import { ECardRoundingSize, ECardTheme } from "./enums.js";
|
|
8
8
|
const CardStatic = ({
|
|
9
9
|
children,
|
|
@@ -21,7 +21,7 @@ const CardStatic = ({
|
|
|
21
21
|
className
|
|
22
22
|
),
|
|
23
23
|
...rest,
|
|
24
|
-
"data-tx": "1.
|
|
24
|
+
"data-tx": "1.44.0",
|
|
25
25
|
children
|
|
26
26
|
}
|
|
27
27
|
);
|
|
@@ -4,7 +4,7 @@ import { CardContentHeader } from "./components/CardContentHeader.js";
|
|
|
4
4
|
import { CardContentFooter } from "./components/CardContentFooter.js";
|
|
5
5
|
import { ECardContentPaddingSize } from "../../enums.js";
|
|
6
6
|
import { c as clsx } from "../../../../chunks/vendor-D4wvHis9.js";
|
|
7
|
-
import { c as cardStyles } from "../../../../chunks/Card.module-
|
|
7
|
+
import { c as cardStyles } from "../../../../chunks/Card.module-DvHL4Oak.js";
|
|
8
8
|
const mapCardContentPaddingSizeToCssClass = {
|
|
9
9
|
[ECardContentPaddingSize.MD]: cardStyles.paddingMD,
|
|
10
10
|
[ECardContentPaddingSize.SM]: cardStyles.paddingSM
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { c as clsx } from "../../../../../chunks/vendor-D4wvHis9.js";
|
|
3
|
-
import { c as cardStyles } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as cardStyles } from "../../../../../chunks/Card.module-DvHL4Oak.js";
|
|
4
4
|
const CardContentBody = ({ children, className, ...rest }) => /* @__PURE__ */ jsx("div", { className: clsx(cardStyles.cardContentBody, className), ...rest, children });
|
|
5
5
|
CardContentBody.displayName = "CardContentBody";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { c as clsx } from "../../../../../chunks/vendor-D4wvHis9.js";
|
|
3
|
-
import { c as cardStyles } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as cardStyles } from "../../../../../chunks/Card.module-DvHL4Oak.js";
|
|
4
4
|
const CardContentFooter = ({ children, className, ...rest }) => /* @__PURE__ */ jsx("div", { className: clsx(cardStyles.cardContentFooter, className), ...rest, children });
|
|
5
5
|
CardContentFooter.displayName = "CardContentFooter";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { c as clsx } from "../../../../../chunks/vendor-D4wvHis9.js";
|
|
3
|
-
import { c as cardStyles } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as cardStyles } from "../../../../../chunks/Card.module-DvHL4Oak.js";
|
|
4
4
|
const CardContentHeader = ({ children, className, ...rest }) => /* @__PURE__ */ jsx("div", { className: clsx(cardStyles.cardContentHeader, className), ...rest, children });
|
|
5
5
|
CardContentHeader.displayName = "CardContentHeader";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { c as clsx } from "../../../chunks/vendor-D4wvHis9.js";
|
|
3
|
-
import { c as cardStyles } from "../../../chunks/Card.module-
|
|
3
|
+
import { c as cardStyles } from "../../../chunks/Card.module-DvHL4Oak.js";
|
|
4
4
|
const CardMedia = ({ children, className, ...attributes }) => {
|
|
5
5
|
const classNames = clsx(cardStyles.cardMedia, className);
|
|
6
6
|
return /* @__PURE__ */ jsx("div", { className: classNames, ...attributes, children });
|
package/components/Card/utils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ECardRoundingSize, ECardTheme } from "./enums.js";
|
|
2
|
-
import { c as cardStyles } from "../../chunks/Card.module-
|
|
2
|
+
import { c as cardStyles } from "../../chunks/Card.module-DvHL4Oak.js";
|
|
3
3
|
const mapCardRoundingSizeToCssClass = {
|
|
4
4
|
[ECardRoundingSize.LG]: cardStyles.roundingLG,
|
|
5
5
|
[ECardRoundingSize.MD]: cardStyles.roundingMD,
|
|
@@ -4,7 +4,7 @@ import { c as clsx } from "../../chunks/vendor-D4wvHis9.js";
|
|
|
4
4
|
import { CarouselContext } from "./CarouselContext.js";
|
|
5
5
|
import { ECarouselOrientation, ECarouselScrollMode } from "./enums.js";
|
|
6
6
|
import { resolveViewportPadding, useLatestRef } from "./utils.js";
|
|
7
|
-
import { s as styles } from "../../chunks/Carousel.module-
|
|
7
|
+
import { s as styles } from "../../chunks/Carousel.module-B1uqtX8a.js";
|
|
8
8
|
import { CarouselViewport } from "./CarouselViewport.js";
|
|
9
9
|
import { CarouselTrack } from "./CarouselTrack.js";
|
|
10
10
|
import { CarouselItem } from "./CarouselItem.js";
|
|
@@ -6,14 +6,14 @@ import { useMatchMedia } from "../MediaWidth/useMatchMedia.js";
|
|
|
6
6
|
import { ButtonIcon } from "../Button/ButtonIcon.js";
|
|
7
7
|
import { CaretupStrokeSrvIcon20, CaretleftStrokeSrvIcon20, CaretdownStrokeSrvIcon20, CaretrightStrokeSrvIcon20 } from "@sberbusiness/icons-next";
|
|
8
8
|
import { ECarouselOrientation } from "./enums.js";
|
|
9
|
-
import { s as styles } from "../../chunks/Carousel.module-
|
|
9
|
+
import { s as styles } from "../../chunks/Carousel.module-B1uqtX8a.js";
|
|
10
10
|
const ORIENTATION_TO_PREV_ICON_MAP = {
|
|
11
11
|
[ECarouselOrientation.HORIZONTAL]: /* @__PURE__ */ jsx(CaretleftStrokeSrvIcon20, { paletteIndex: 7 }),
|
|
12
12
|
[ECarouselOrientation.VERTICAL]: /* @__PURE__ */ jsx(CaretupStrokeSrvIcon20, { paletteIndex: 7 })
|
|
13
13
|
};
|
|
14
14
|
const CarouselPrevButton = React__default.forwardRef(
|
|
15
15
|
({ children, className, onClick, ...restProps }, ref) => {
|
|
16
|
-
const { atStart, prevSlide
|
|
16
|
+
const { orientation, atStart, prevSlide } = useContext(CarouselContext);
|
|
17
17
|
const touchDevice = useMatchMedia("(pointer: coarse)");
|
|
18
18
|
const handleClick = useCallback(
|
|
19
19
|
(event) => {
|
|
@@ -33,7 +33,7 @@ const CarouselPrevButton = React__default.forwardRef(
|
|
|
33
33
|
"aria-disabled": atStart,
|
|
34
34
|
onClick: handleClick,
|
|
35
35
|
ref,
|
|
36
|
-
children: children || ORIENTATION_TO_PREV_ICON_MAP[
|
|
36
|
+
children: children || ORIENTATION_TO_PREV_ICON_MAP[orientation]
|
|
37
37
|
}
|
|
38
38
|
);
|
|
39
39
|
}
|
|
@@ -45,7 +45,7 @@ const ORIENTATION_TO_NEXT_ICON_MAP = {
|
|
|
45
45
|
};
|
|
46
46
|
const CarouselNextButton = React__default.forwardRef(
|
|
47
47
|
({ children, className, onClick, ...restProps }, ref) => {
|
|
48
|
-
const { atEnd, nextSlide
|
|
48
|
+
const { orientation, atEnd, nextSlide } = useContext(CarouselContext);
|
|
49
49
|
const touchDevice = useMatchMedia("(pointer: coarse)");
|
|
50
50
|
const handleClick = useCallback(
|
|
51
51
|
(event) => {
|
|
@@ -65,7 +65,7 @@ const CarouselNextButton = React__default.forwardRef(
|
|
|
65
65
|
"aria-disabled": atEnd,
|
|
66
66
|
onClick: handleClick,
|
|
67
67
|
ref,
|
|
68
|
-
children: children || ORIENTATION_TO_NEXT_ICON_MAP[
|
|
68
|
+
children: children || ORIENTATION_TO_NEXT_ICON_MAP[orientation]
|
|
69
69
|
}
|
|
70
70
|
);
|
|
71
71
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselButton.js","sources":["../../../src/components/Carousel/CarouselButton.tsx"],"sourcesContent":["import React, { useContext, useCallback } from \"react\";\nimport clsx from \"clsx\";\nimport { CarouselContext } from \"./CarouselContext\";\nimport { useMatchMedia } from \"../MediaWidth/useMatchMedia\";\nimport { ButtonIcon, IButtonIconProps } from \"../Button/ButtonIcon\";\nimport {\n CaretleftStrokeSrvIcon20,\n CaretupStrokeSrvIcon20,\n CaretrightStrokeSrvIcon20,\n CaretdownStrokeSrvIcon20,\n} from \"@sberbusiness/icons-next\";\nimport { ECarouselOrientation } from \"./enums\";\nimport styles from \"./styles/Carousel.module.less\";\n\nconst ORIENTATION_TO_PREV_ICON_MAP: Record<ECarouselOrientation, React.ReactElement> = {\n [ECarouselOrientation.HORIZONTAL]: <CaretleftStrokeSrvIcon20 paletteIndex={7} />,\n [ECarouselOrientation.VERTICAL]: <CaretupStrokeSrvIcon20 paletteIndex={7} />,\n};\n\nexport const CarouselPrevButton = React.forwardRef<HTMLButtonElement, IButtonIconProps>(\n ({ children, className, onClick, ...restProps }, ref) => {\n const { atStart, prevSlide
|
|
1
|
+
{"version":3,"file":"CarouselButton.js","sources":["../../../src/components/Carousel/CarouselButton.tsx"],"sourcesContent":["import React, { useContext, useCallback } from \"react\";\nimport clsx from \"clsx\";\nimport { CarouselContext } from \"./CarouselContext\";\nimport { useMatchMedia } from \"../MediaWidth/useMatchMedia\";\nimport { ButtonIcon, IButtonIconProps } from \"../Button/ButtonIcon\";\nimport {\n CaretleftStrokeSrvIcon20,\n CaretupStrokeSrvIcon20,\n CaretrightStrokeSrvIcon20,\n CaretdownStrokeSrvIcon20,\n} from \"@sberbusiness/icons-next\";\nimport { ECarouselOrientation } from \"./enums\";\nimport styles from \"./styles/Carousel.module.less\";\n\nconst ORIENTATION_TO_PREV_ICON_MAP: Record<ECarouselOrientation, React.ReactElement> = {\n [ECarouselOrientation.HORIZONTAL]: <CaretleftStrokeSrvIcon20 paletteIndex={7} />,\n [ECarouselOrientation.VERTICAL]: <CaretupStrokeSrvIcon20 paletteIndex={7} />,\n};\n\nexport const CarouselPrevButton = React.forwardRef<HTMLButtonElement, IButtonIconProps>(\n ({ children, className, onClick, ...restProps }, ref) => {\n const { orientation, atStart, prevSlide } = useContext(CarouselContext);\n const touchDevice = useMatchMedia(\"(pointer: coarse)\");\n\n const handleClick = useCallback<React.MouseEventHandler<HTMLButtonElement>>(\n (event) => {\n if (!atStart) prevSlide();\n onClick?.(event);\n },\n [atStart, prevSlide, onClick],\n );\n\n if (touchDevice) {\n return null;\n }\n\n return (\n <ButtonIcon\n {...restProps}\n className={clsx(styles.navButton, styles.prev, className)}\n aria-disabled={atStart}\n onClick={handleClick}\n ref={ref}\n >\n {children || ORIENTATION_TO_PREV_ICON_MAP[orientation]}\n </ButtonIcon>\n );\n },\n);\n\nCarouselPrevButton.displayName = \"Carousel.PrevButton\";\n\nconst ORIENTATION_TO_NEXT_ICON_MAP: Record<ECarouselOrientation, React.ReactElement> = {\n [ECarouselOrientation.HORIZONTAL]: <CaretrightStrokeSrvIcon20 paletteIndex={7} />,\n [ECarouselOrientation.VERTICAL]: <CaretdownStrokeSrvIcon20 paletteIndex={7} />,\n};\n\nexport const CarouselNextButton = React.forwardRef<HTMLButtonElement, IButtonIconProps>(\n ({ children, className, onClick, ...restProps }, ref) => {\n const { orientation, atEnd, nextSlide } = useContext(CarouselContext);\n const touchDevice = useMatchMedia(\"(pointer: coarse)\");\n\n const handleClick = useCallback<React.MouseEventHandler<HTMLButtonElement>>(\n (event) => {\n if (!atEnd) nextSlide();\n onClick?.(event);\n },\n [atEnd, nextSlide, onClick],\n );\n\n if (touchDevice) {\n return null;\n }\n\n return (\n <ButtonIcon\n {...restProps}\n className={clsx(styles.navButton, styles.next, className)}\n aria-disabled={atEnd}\n onClick={handleClick}\n ref={ref}\n >\n {children || ORIENTATION_TO_NEXT_ICON_MAP[orientation]}\n </ButtonIcon>\n );\n },\n);\n\nCarouselNextButton.displayName = \"Carousel.NextButton\";\n"],"names":["React"],"mappings":";;;;;;;;;AAcA,MAAM,+BAAiF;AAAA,EACnF,CAAC,qBAAqB,UAAU,GAAG,oBAAC,0BAAA,EAAyB,cAAc,GAAG;AAAA,EAC9E,CAAC,qBAAqB,QAAQ,GAAG,oBAAC,wBAAA,EAAuB,cAAc,EAAA,CAAG;AAC9E;AAEO,MAAM,qBAAqBA,eAAM;AAAA,EACpC,CAAC,EAAE,UAAU,WAAW,SAAS,GAAG,UAAA,GAAa,QAAQ;AACrD,UAAM,EAAE,aAAa,SAAS,UAAA,IAAc,WAAW,eAAe;AACtE,UAAM,cAAc,cAAc,mBAAmB;AAErD,UAAM,cAAc;AAAA,MAChB,CAAC,UAAU;AACP,YAAI,CAAC,QAAS,WAAA;AACd,2CAAU;AAAA,MACd;AAAA,MACA,CAAC,SAAS,WAAW,OAAO;AAAA,IAAA;AAGhC,QAAI,aAAa;AACb,aAAO;AAAA,IACX;AAEA,WACI;AAAA,MAAC;AAAA,MAAA;AAAA,QACI,GAAG;AAAA,QACJ,WAAW,KAAK,OAAO,WAAW,OAAO,MAAM,SAAS;AAAA,QACxD,iBAAe;AAAA,QACf,SAAS;AAAA,QACT;AAAA,QAEC,UAAA,YAAY,6BAA6B,WAAW;AAAA,MAAA;AAAA,IAAA;AAAA,EAGjE;AACJ;AAEA,mBAAmB,cAAc;AAEjC,MAAM,+BAAiF;AAAA,EACnF,CAAC,qBAAqB,UAAU,GAAG,oBAAC,2BAAA,EAA0B,cAAc,GAAG;AAAA,EAC/E,CAAC,qBAAqB,QAAQ,GAAG,oBAAC,0BAAA,EAAyB,cAAc,EAAA,CAAG;AAChF;AAEO,MAAM,qBAAqBA,eAAM;AAAA,EACpC,CAAC,EAAE,UAAU,WAAW,SAAS,GAAG,UAAA,GAAa,QAAQ;AACrD,UAAM,EAAE,aAAa,OAAO,UAAA,IAAc,WAAW,eAAe;AACpE,UAAM,cAAc,cAAc,mBAAmB;AAErD,UAAM,cAAc;AAAA,MAChB,CAAC,UAAU;AACP,YAAI,CAAC,MAAO,WAAA;AACZ,2CAAU;AAAA,MACd;AAAA,MACA,CAAC,OAAO,WAAW,OAAO;AAAA,IAAA;AAG9B,QAAI,aAAa;AACb,aAAO;AAAA,IACX;AAEA,WACI;AAAA,MAAC;AAAA,MAAA;AAAA,QACI,GAAG;AAAA,QACJ,WAAW,KAAK,OAAO,WAAW,OAAO,MAAM,SAAS;AAAA,QACxD,iBAAe;AAAA,QACf,SAAS;AAAA,QACT;AAAA,QAEC,UAAA,YAAY,6BAA6B,WAAW;AAAA,MAAA;AAAA,IAAA;AAAA,EAGjE;AACJ;AAEA,mBAAmB,cAAc;"}
|