@sberbusiness/triplex-next 0.30.0 → 0.32.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-DW0BhZ40.js +41 -0
- package/chunks/CalendarViewItem-DnsWMQ6f.js +101 -0
- package/chunks/Card.module-CXz8VlRt.js +18 -0
- package/chunks/CheckboxTreeExtended.module-eCBHjGXW.js +15 -0
- package/chunks/Chip-C4673wYg.js +85 -0
- package/chunks/Confirm.module-DXe0cS1V.js +15 -0
- package/chunks/DropdownListItem-Bp1g9j21.js +65 -0
- package/chunks/DropdownMobile.module-B-gfhyrz.js +23 -0
- package/chunks/Footer.module-CHW5czGs.js +9 -0
- package/chunks/{FormFieldInput-DM8lK78a.js → FormFieldInput-DZ9wvF_L.js} +9 -9
- package/chunks/HeaderLayoutSidebar.module-ChykZk2C.js +9 -0
- package/chunks/HeaderTabs.module-CXzQ8YYa.js +9 -0
- package/chunks/{HeaderTitle.module-wm7lWk21.js → HeaderTitle.module-Bjd_PeFL.js} +2 -2
- package/chunks/ImageGalleryExtendedMain.module-DtrGKrbn.js +17 -0
- package/chunks/ImageGalleryExtendedThumb-A47Rfe5O.js +28 -0
- package/chunks/IslandAccordion.module-Cez7gPQx.js +25 -0
- package/chunks/IslandWidgetFooter.module-DJ6DLnlZ.js +9 -0
- package/chunks/IslandWidgetHeader.module-Cax47StS.js +13 -0
- package/chunks/{LightBoxContent-C-Q4JvDf.js → LightBoxContent-9n7KZhyO.js} +7 -7
- package/chunks/LightBoxControls.module-CqE7tSjd.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-76jyTCms.js +9 -0
- package/chunks/{ListItemControlsButton-B52gadtt.js → ListItemControlsButton-CvLzuMWL.js} +11 -11
- package/chunks/ListItemTail.module-Cj1qtzG7.js +12 -0
- package/chunks/ListMasterFooter.module-BFddN0Fo.js +10 -0
- package/chunks/ModalWindow.module-DRSCJT-j.js +17 -0
- package/chunks/Notification.module-XEc1_4xz.js +20 -0
- package/chunks/Overlay.module-CG_bCws2.js +18 -0
- package/chunks/Page.module-w5MrLoeL.js +11 -0
- package/chunks/SMSField.module-CKYqfE0O.js +16 -0
- package/chunks/SliderExtendedMarks.module-BrV0KqUb.js +15 -0
- package/chunks/{SliderExtendedRail-EN9dWr8g.js → SliderExtendedRail-BAv_g4xj.js} +11 -11
- package/chunks/StatusTracker.module-Bxjr2F_-.js +24 -0
- package/chunks/{StepperStepArrowBorder-B2mxgMOK.js → StepperStepArrowBorder-zBMxIbHq.js} +6 -6
- package/chunks/{SuggestFieldMobileDropdownHint-8plGk4NO.js → SuggestFieldMobileDropdownHint-DoCjNfsA.js} +4 -4
- package/chunks/TableFooter.module-nSntoxBZ.js +14 -0
- package/chunks/TabsExtended.module-BAblULYn.js +16 -0
- package/chunks/TabsLine.module-BB5LVegW.js +21 -0
- package/chunks/TooltipDesktop.module-DNiN5lh5.js +19 -0
- package/chunks/TreeView.module-C8K0ykxB.js +9 -0
- package/chunks/{UploadZoneInput-B-gVlolB.js → UploadZoneInput-CZ0-33sV.js} +8 -8
- package/chunks/{constants-CgVlsuXP.js → constants-8_Umj6ax.js} +10 -10
- package/chunks/utils-BT5PPv2k.js +24 -0
- package/chunks/utils-CP79T5VE.js +73 -0
- package/chunks/{utils-B3jUITHO.js → utils-De8Skuhh.js} +5 -5
- package/chunks/{utils-BygtCSQo.js → utils-gmsD_32w.js} +5 -5
- package/components/Alert/AlertContext/AlertContext.js +31 -31
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +4 -4
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +9 -9
- package/components/Badge/Badge.js +7 -7
- package/components/Badge/BadgeDot.js +11 -11
- package/components/Badge/components/BadgeContent.js +7 -7
- package/components/Badge/components/BadgePostfix.js +4 -4
- package/components/Badge/components/BadgePrefix.js +1 -1
- package/components/Body/Body.js +8 -8
- package/components/Button/Button.js +26 -26
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +73 -72
- package/components/Button/ButtonDropdownExtended.js +4 -4
- package/components/Button/ButtonIcon.js +13 -13
- package/components/Calendar/Calendar.js +2 -2
- 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 +8 -8
- 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/CarouselExtended/CarouselExtended.js +1 -1
- package/components/Checkbox/Checkbox.js +9 -9
- package/components/Checkbox/CheckboxXGroup.js +14 -14
- package/components/Checkbox/CheckboxYGroup.js +7 -7
- 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 +3 -2
- package/components/Chip/ChipClearButton.js +6 -6
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +37 -36
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +11 -11
- package/components/Chip/ChipDropdownArrow.js +4 -4
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +22 -21
- package/components/Chip/ChipOptions.js +5 -5
- package/components/Chip/ChipSelect/ChipSelect.js +40 -27
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +23 -22
- package/components/Chip/ChipSuggest/ChipSuggest.js +14 -14
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +2 -2
- package/components/Chip/enums.js +5 -0
- package/components/Chip/index.js +28 -26
- package/components/ChipGroup/ChipGroup.js +12 -12
- package/components/Col/Col.js +173 -158
- package/components/CollapsibleTree/CollapsibleTree.js +5 -5
- package/components/CollapsibleTree/components/CollapsibleTreeLeafContent.js +4 -4
- package/components/CollapsibleTree/components/CollapsibleTreeLeafNode.js +1 -1
- package/components/CollapsibleTree/components/CollapsibleTreeNodeHeader.js +13 -13
- package/components/CollapsibleTreeExtended/components/CollapsibleTreeExtendedNode.js +10 -10
- 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/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +6 -6
- package/components/DateRange/DateRange.js +14 -14
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/DesignTokensComponents.js +69 -64
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +57 -52
- package/components/DesignTokens/components/Chip.js +12 -6
- package/components/DesignTokens/components/ImageGallery.js +47 -0
- package/components/DesignTokens/components/LightBox.js +1 -1
- package/components/DesignTokens/components/TopOverlay.js +1 -1
- package/components/DesignTokens/components/index.js +116 -113
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +6 -6
- package/components/Dropdown/desktop/DropdownDesktop.js +22 -22
- 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 +4 -4
- 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 +4 -4
- package/components/Ellipsis/Ellipsis.js +5 -5
- package/components/EmptyView/EmptyView.js +7 -7
- package/components/ExpandAnimation/ExpandAnimation.js +9 -9
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +20 -20
- package/components/FormField/components/FormFieldClear.js +7 -7
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +5 -5
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +4 -4
- package/components/FormField/components/FormFieldMaskedInput.js +17 -17
- package/components/FormField/components/FormFieldPostfix.js +3 -3
- package/components/FormField/components/FormFieldPrefix.js +1 -1
- package/components/FormField/components/FormFieldTarget.js +12 -12
- package/components/FormField/components/FormFieldTextarea.js +9 -9
- package/components/FormField/components/index.js +1 -1
- package/components/FormField/index.js +1 -1
- package/components/Gap/Gap.js +15 -5
- 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 +5 -5
- 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 +16 -16
- package/components/IconWrapper/IconWrapper.js +8 -8
- package/components/ImageGallery/ImageGallery.js +74 -0
- package/components/ImageGallery/index.js +5 -0
- package/components/ImageGallery/types.js +2 -0
- package/components/ImageGalleryExtended/ImageGalleryExtended.js +72 -0
- package/components/ImageGalleryExtended/ImageGalleryExtendedContext.js +16 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedArrow.js +31 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedDots.js +35 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedMain.js +31 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedNav.js +19 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedSlide.js +20 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedSwipeTrack.js +89 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedThumb.js +8 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedThumbnails.js +40 -0
- package/components/ImageGalleryExtended/components/index.js +15 -0
- package/components/ImageGalleryExtended/enums.js +5 -0
- package/components/ImageGalleryExtended/index.js +21 -0
- package/components/ImageGalleryExtended/types.js +2 -0
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +3 -3
- package/components/Island/components/IslandHeader.js +2 -2
- 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 +22 -22
- package/components/IslandWidget/components/IslandWidgetBody.js +3 -3
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +11 -11
- package/components/IslandWidget/components/IslandWidgetFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +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 +5 -5
- package/components/LightBox/LightBox.js +65 -75
- package/components/LightBox/LightBoxContent.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 +39 -39
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +18 -18
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +12 -12
- package/components/Link/Link.js +23 -23
- package/components/List/List.js +4 -4
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +13 -13
- package/components/List/components/ListItemControls.js +4 -4
- 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/ListItemTable.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 +5 -5
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +10 -10
- 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 +5 -5
- 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 +5 -5
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +10 -10
- package/components/Loader/LoaderSmall/LoaderSmall.js +7 -7
- package/components/LoaderScreen/LoaderScreen.js +9 -9
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +30 -34
- package/components/ModalWindow/ModalWindow.js +9 -9
- package/components/ModalWindow/components/ModalWindowBody.js +7 -7
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- 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/MonthYearRange/MonthYearRange.js +13 -13
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +10 -10
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +5 -5
- 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/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +6 -6
- package/components/OrderedList/OrderedListItem.js +5 -5
- package/components/Overlay/Overlay.js +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 +11 -11
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +2 -2
- package/components/Pagination/components/PaginationNavigationButton.js +1 -1
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +8 -8
- package/components/Pagination/components/PaginationPageEllipsis.js +5 -5
- package/components/Pagination/components/PaginationSelect.js +15 -15
- package/components/Radio/Radio.js +16 -16
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +4 -4
- package/components/Row/Row.js +25 -10
- package/components/Row/RowContext.js +9 -0
- package/components/SMSField/SMSField.js +2 -2
- package/components/SMSField/components/RefreshIcon.js +1 -1
- package/components/SMSField/components/SMSFieldInput.js +2 -2
- package/components/SMSField/components/SMSFieldRefresh.js +1 -1
- package/components/SMSField/components/SMSFieldSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +11 -11
- package/components/SegmentedControl/SegmentedControlSegment.js +14 -14
- package/components/SelectExtendedField/SelectExtendedField.js +10 -10
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +31 -30
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +7 -7
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +7 -7
- 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 +3 -3
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +15 -15
- package/components/SmallInput/SmallInput.js +4 -4
- package/components/Spoiler/Spoiler.js +18 -18
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +8 -6
- 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 +13 -0
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +12 -12
- package/components/Stepper/Stepper.js +32 -32
- package/components/Stepper/StepperExtended.js +7 -7
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperStepArrowBorder.js +1 -1
- package/components/Suggest/SuggestMobileDropdownContent.js +7 -7
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +2 -2
- 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 +77 -81
- package/components/Table/ChipPanel.js +12 -0
- package/components/Table/ChipPanelLinks.js +22 -0
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +19 -19
- package/components/Table/NoColumns.js +3 -3
- package/components/Table/PaginationPanel.js +2 -2
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +20 -20
- package/components/Table/TableBasicSettings/TableBasicSettings.js +7 -7
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +3 -3
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +5 -5
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +4 -4
- 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/index.js +7 -7
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +41 -36
- 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 +8 -8
- package/components/Tag/Tag.js +19 -19
- package/components/TagColor/TagColor.js +10 -10
- package/components/TagGroup/TagGroup.js +7 -7
- package/components/TextField/TextField.js +1 -1
- package/components/TextField/TextFieldBase.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +3 -3
- 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 +5 -5
- package/components/TopOverlay/TopOverlay.js +40 -40
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Typography/Caption.js +23 -23
- package/components/Typography/CodeText.js +7 -7
- package/components/Typography/Text.js +23 -23
- package/components/Typography/Title.js +17 -17
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +5 -5
- package/components/UnorderedList/UnorderedListItem.js +2 -2
- 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 +644 -622
- package/index.d.ts +325 -34
- package/index.js +676 -654
- package/package.json +9 -1
- package/styles/triplex-next.css +556 -541
- package/chunks/AlertProcessSpoiler-u6M_UUD9.js +0 -41
- package/chunks/CalendarViewItem-0qx9TN09.js +0 -101
- package/chunks/Card.module-Dk_x12aX.js +0 -18
- package/chunks/CheckboxTreeExtended.module-BYEXhagY.js +0 -15
- package/chunks/Chip-CgSrMLOj.js +0 -77
- package/chunks/Confirm.module-D-Z-baL7.js +0 -15
- package/chunks/DropdownListItem-DsKl9Gi-.js +0 -65
- package/chunks/DropdownMobile.module-DBKmP6tH.js +0 -23
- package/chunks/Footer.module-D19luc11.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-BEWjTVQC.js +0 -9
- package/chunks/HeaderTabs.module-B3OUkcWC.js +0 -9
- package/chunks/IslandAccordion.module-CkjSe196.js +0 -25
- package/chunks/IslandWidgetFooter.module-DkGCGVtt.js +0 -9
- package/chunks/IslandWidgetHeader.module-D_0Z5Wkx.js +0 -13
- package/chunks/LightBoxControls.module-D6dJVyd1.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-Pvh5SxlA.js +0 -9
- package/chunks/ListItemTail.module-96x050E6.js +0 -12
- package/chunks/ListMasterFooter.module-QCC2uvr7.js +0 -10
- package/chunks/ModalWindow.module-D3XZrRCV.js +0 -17
- package/chunks/Notification.module-MWvLXIRM.js +0 -20
- package/chunks/Overlay.module-nAMUorJ1.js +0 -18
- package/chunks/Page.module-BDTFNqSr.js +0 -11
- package/chunks/SMSField.module-Dt8sZq_D.js +0 -16
- package/chunks/SliderExtendedMarks.module-BIprSBVE.js +0 -15
- package/chunks/StatusTracker.module-GZp9BaaE.js +0 -24
- package/chunks/TableFooter.module-C1wbovyw.js +0 -14
- package/chunks/TabsExtended.module-DATvYZNn.js +0 -16
- package/chunks/TabsLine.module-O3-2VgYL.js +0 -21
- package/chunks/TooltipDesktop.module-COHJz2TY.js +0 -19
- package/chunks/TreeView.module-Cxj4qOdA.js +0 -9
- package/chunks/utils-Dwhaig77.js +0 -24
- package/chunks/utils-mJogbZdW.js +0 -73
- package/components/Table/TabsLinePanel.js +0 -12
- package/components/Table/TabsLinePanelLinks.js +0 -26
|
@@ -1,60 +1,61 @@
|
|
|
1
|
-
import { Button as
|
|
1
|
+
import { Button as M } from "./Button.js";
|
|
2
2
|
import "./ButtonBase.js";
|
|
3
3
|
import "./ButtonIcon.js";
|
|
4
|
-
import { jsx as t, jsxs as x, Fragment as
|
|
5
|
-
import
|
|
6
|
-
import { c as
|
|
7
|
-
import { DotshorizontalStrokeSrvIcon32 as J, DotshorizontalStrokeSrvIcon20 as
|
|
8
|
-
import { ButtonDropdownExtended as
|
|
4
|
+
import { jsx as t, jsxs as x, Fragment as U } from "react/jsx-runtime";
|
|
5
|
+
import Z, { useRef as I, useState as q, createElement as B } from "react";
|
|
6
|
+
import { c as w, u as F } from "../../chunks/vendor-z35N2Tap.js";
|
|
7
|
+
import { DotshorizontalStrokeSrvIcon32 as V, DotshorizontalStrokeSrvIcon24 as J, DotshorizontalStrokeSrvIcon20 as Q, CaretdownStrokeSrvIcon24 as X, CaretdownStrokeSrvIcon20 as $, CaretdownStrokeSrvIcon16 as oo } from "@sberbusiness/icons-next";
|
|
8
|
+
import { ButtonDropdownExtended as y } from "./ButtonDropdownExtended.js";
|
|
9
9
|
import { EButtonDotsTheme as N, EButtonTheme as d } from "./enums.js";
|
|
10
10
|
import { isKey as D } from "../../utils/keyboard.js";
|
|
11
|
-
import { DropdownListContext as
|
|
11
|
+
import { DropdownListContext as to } from "../Dropdown/DropdownListContext.js";
|
|
12
12
|
import "../Dropdown/desktop/DropdownDesktop.js";
|
|
13
|
-
import { DropdownList as
|
|
14
|
-
import "../../chunks/DropdownListItem-
|
|
15
|
-
import { EDropdownAlignment as
|
|
13
|
+
import { DropdownList as g } from "../Dropdown/desktop/DropdownList.js";
|
|
14
|
+
import "../../chunks/DropdownListItem-Bp1g9j21.js";
|
|
15
|
+
import { EDropdownAlignment as ro, EDropdownWidth as eo } from "../Dropdown/desktop/enums.js";
|
|
16
16
|
import "../Dropdown/mobile/DropdownMobile.js";
|
|
17
|
-
import { DropdownMobileBody as
|
|
18
|
-
import { DropdownMobileClose as
|
|
17
|
+
import { DropdownMobileBody as no } from "../Dropdown/mobile/DropdownMobileBody.js";
|
|
18
|
+
import { DropdownMobileClose as co } from "../Dropdown/mobile/DropdownMobileClose.js";
|
|
19
19
|
import "../Dropdown/mobile/DropdownMobileFooter.js";
|
|
20
|
-
import { DropdownMobileHeader as
|
|
20
|
+
import { DropdownMobileHeader as ao } from "../Dropdown/mobile/DropdownMobileHeader.js";
|
|
21
21
|
import "../Dropdown/mobile/DropdownMobileInner.js";
|
|
22
22
|
import "../Dropdown/mobile/DropdownMobileInput.js";
|
|
23
|
-
import { DropdownMobileList as
|
|
24
|
-
import { DropdownMobileListItem as
|
|
23
|
+
import { DropdownMobileList as so } from "../Dropdown/mobile/DropdownMobileList.js";
|
|
24
|
+
import { DropdownMobileListItem as io } from "../Dropdown/mobile/DropdownMobileListItem.js";
|
|
25
25
|
import "../Loader/LoaderSmall/LoaderSmall.js";
|
|
26
26
|
import "../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
27
27
|
import { EComponentSize as l } from "../../enums/EComponentSize.js";
|
|
28
28
|
import "../Dropdown/Dropdown.js";
|
|
29
|
-
import { ETextSize as
|
|
29
|
+
import { ETextSize as mo } from "../Typography/enums.js";
|
|
30
30
|
import "../Typography/Caption.js";
|
|
31
31
|
import "../Typography/CodeText.js";
|
|
32
|
-
import { Text as
|
|
32
|
+
import { Text as lo } from "../Typography/Text.js";
|
|
33
33
|
import "../Typography/Title.js";
|
|
34
|
-
const
|
|
35
|
-
buttonDropdown:
|
|
36
|
-
block:
|
|
37
|
-
buttonDropdownTarget:
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
[l.
|
|
44
|
-
[l.
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
[l.
|
|
48
|
-
[l.
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
34
|
+
const uo = "buttonDropdown__06150080", po = "block__60465faa", Do = "buttonDropdownTarget__e4ce6dbd", fo = "dots__335e0098", wo = "caretIcon__5de30d14", bo = "active__369fec55", So = "buttonDropdownMenuItem__13b61fb8", n = {
|
|
35
|
+
buttonDropdown: uo,
|
|
36
|
+
block: po,
|
|
37
|
+
buttonDropdownTarget: Do,
|
|
38
|
+
dots: fo,
|
|
39
|
+
caretIcon: wo,
|
|
40
|
+
active: bo,
|
|
41
|
+
buttonDropdownMenuItem: So
|
|
42
|
+
}, _o = {
|
|
43
|
+
[l.SM]: /* @__PURE__ */ t(Q, { paletteIndex: 0 }),
|
|
44
|
+
[l.MD]: /* @__PURE__ */ t(J, { paletteIndex: 0 }),
|
|
45
|
+
[l.LG]: /* @__PURE__ */ t(V, { paletteIndex: 0 })
|
|
46
|
+
}, L = {
|
|
47
|
+
[l.SM]: (a) => /* @__PURE__ */ t(oo, { paletteIndex: a, className: n.caretIcon }),
|
|
48
|
+
[l.MD]: (a) => /* @__PURE__ */ t($, { paletteIndex: a, className: n.caretIcon }),
|
|
49
|
+
[l.LG]: (a) => /* @__PURE__ */ t(X, { paletteIndex: a, className: n.caretIcon })
|
|
50
|
+
}, Io = Z.forwardRef(
|
|
51
|
+
(a, f) => {
|
|
52
|
+
const { buttonAttributes: R, children: h, className: G, theme: u, size: s, options: E, selected: m, block: b, disabled: T, ...z } = a, C = I(null), A = I(null), P = w(n.buttonDropdown, { [n.block]: !!b }, G), [S, W] = q(), _ = I(F()), Y = ({ opened: o, setOpened: e }) => {
|
|
53
|
+
const c = w(n.buttonDropdownTarget, {
|
|
53
54
|
[n.block]: !!b,
|
|
54
55
|
[n.active]: o
|
|
55
56
|
});
|
|
56
57
|
return /* @__PURE__ */ x(
|
|
57
|
-
|
|
58
|
+
M,
|
|
58
59
|
{
|
|
59
60
|
className: c,
|
|
60
61
|
theme: u,
|
|
@@ -64,22 +65,22 @@ const lo = "buttonDropdown__8560dc24", uo = "block__236c78ae", po = "buttonDropd
|
|
|
64
65
|
disabled: T,
|
|
65
66
|
"aria-haspopup": "menu",
|
|
66
67
|
"aria-expanded": o,
|
|
67
|
-
"aria-controls":
|
|
68
|
+
"aria-controls": _.current,
|
|
68
69
|
"aria-activedescendant": S,
|
|
69
70
|
...R,
|
|
70
|
-
ref:
|
|
71
|
+
ref: v,
|
|
71
72
|
children: [
|
|
72
73
|
h,
|
|
73
|
-
|
|
74
|
+
K()
|
|
74
75
|
]
|
|
75
76
|
}
|
|
76
77
|
);
|
|
77
|
-
},
|
|
78
|
-
const c =
|
|
78
|
+
}, H = ({ opened: o, setOpened: e }) => {
|
|
79
|
+
const c = w(n.buttonDropdownTarget, n.dots, {
|
|
79
80
|
[n.block]: !!b
|
|
80
81
|
});
|
|
81
82
|
return /* @__PURE__ */ t(
|
|
82
|
-
|
|
83
|
+
M,
|
|
83
84
|
{
|
|
84
85
|
className: c,
|
|
85
86
|
theme: u === N.DOTS_SECONDARY ? d.SECONDARY : d.SECONDARY_LIGHT,
|
|
@@ -89,51 +90,51 @@ const lo = "buttonDropdown__8560dc24", uo = "block__236c78ae", po = "buttonDropd
|
|
|
89
90
|
disabled: T,
|
|
90
91
|
"aria-haspopup": "menu",
|
|
91
92
|
"aria-expanded": o,
|
|
92
|
-
"aria-controls":
|
|
93
|
+
"aria-controls": _.current,
|
|
93
94
|
"aria-activedescendant": S,
|
|
94
95
|
...R,
|
|
95
|
-
ref:
|
|
96
|
-
icon:
|
|
96
|
+
ref: v,
|
|
97
|
+
icon: _o[s]
|
|
97
98
|
}
|
|
98
99
|
);
|
|
99
100
|
}, k = ({ opened: o, setOpened: e }) => () => e(!o), O = ({ opened: o, setOpened: e }) => (c) => {
|
|
100
101
|
const { key: i } = c;
|
|
101
102
|
(D(i, "SPACE") || D(i, "ARROW_UP") || D(i, "ARROW_DOWN")) && c.preventDefault(), !o && (D(i, "ARROW_UP") || D(i, "ARROW_DOWN")) && e(!0);
|
|
102
|
-
},
|
|
103
|
+
}, K = () => {
|
|
103
104
|
switch (u) {
|
|
104
105
|
case d.GENERAL:
|
|
105
106
|
case d.DANGER:
|
|
106
|
-
return
|
|
107
|
+
return L[s](7);
|
|
107
108
|
case d.SECONDARY:
|
|
108
109
|
case d.SECONDARY_LIGHT:
|
|
109
|
-
return
|
|
110
|
+
return L[s](0);
|
|
110
111
|
default:
|
|
111
112
|
return null;
|
|
112
113
|
}
|
|
113
|
-
},
|
|
114
|
-
const i =
|
|
115
|
-
return /* @__PURE__ */ t(
|
|
116
|
-
|
|
114
|
+
}, j = ({ opened: o, setOpened: e, className: c }) => {
|
|
115
|
+
const i = w(n.buttonDropdownMenu, c);
|
|
116
|
+
return /* @__PURE__ */ t(to.Provider, { value: { activeDescendant: S, setActiveDescendant: W }, children: /* @__PURE__ */ t(
|
|
117
|
+
y.Dropdown,
|
|
117
118
|
{
|
|
118
119
|
className: i,
|
|
119
120
|
size: s,
|
|
120
|
-
width:
|
|
121
|
-
alignment:
|
|
121
|
+
width: eo.MIN_TARGET,
|
|
122
|
+
alignment: ro.RIGHT,
|
|
122
123
|
opened: o,
|
|
123
124
|
setOpened: e,
|
|
124
125
|
targetRef: C,
|
|
125
126
|
ref: A,
|
|
126
127
|
mobileViewProps: {
|
|
127
|
-
children: /* @__PURE__ */ x(
|
|
128
|
+
children: /* @__PURE__ */ x(U, { children: [
|
|
128
129
|
/* @__PURE__ */ t(
|
|
129
|
-
|
|
130
|
+
ao,
|
|
130
131
|
{
|
|
131
|
-
controlButtons: /* @__PURE__ */ t(
|
|
132
|
-
children: /* @__PURE__ */ t(
|
|
132
|
+
controlButtons: /* @__PURE__ */ t(co, { onClick: () => e(!1) }),
|
|
133
|
+
children: /* @__PURE__ */ t(lo, { tag: "div", size: mo.B3, children: h })
|
|
133
134
|
}
|
|
134
135
|
),
|
|
135
|
-
/* @__PURE__ */ t(
|
|
136
|
-
|
|
136
|
+
/* @__PURE__ */ t(no, { children: /* @__PURE__ */ t(so, { children: E.map((r) => /* @__PURE__ */ B(
|
|
137
|
+
io,
|
|
137
138
|
{
|
|
138
139
|
...r,
|
|
139
140
|
key: r.id,
|
|
@@ -147,8 +148,8 @@ const lo = "buttonDropdown__8560dc24", uo = "block__236c78ae", po = "buttonDropd
|
|
|
147
148
|
)) }) })
|
|
148
149
|
] })
|
|
149
150
|
},
|
|
150
|
-
children: /* @__PURE__ */ t(
|
|
151
|
-
|
|
151
|
+
children: /* @__PURE__ */ t(g, { dropdownOpened: o, id: _.current, size: s, children: E.map((r) => /* @__PURE__ */ B(
|
|
152
|
+
g.Item,
|
|
152
153
|
{
|
|
153
154
|
...r,
|
|
154
155
|
className: n.buttonDropdownMenuItem,
|
|
@@ -163,24 +164,24 @@ const lo = "buttonDropdown__8560dc24", uo = "block__236c78ae", po = "buttonDropd
|
|
|
163
164
|
)) })
|
|
164
165
|
}
|
|
165
166
|
) });
|
|
166
|
-
},
|
|
167
|
-
C.current = o, typeof
|
|
167
|
+
}, v = (o) => {
|
|
168
|
+
C.current = o, typeof f == "function" ? f(o) : f && (f.current = o);
|
|
168
169
|
};
|
|
169
170
|
return /* @__PURE__ */ t(
|
|
170
|
-
|
|
171
|
+
y,
|
|
171
172
|
{
|
|
172
|
-
className:
|
|
173
|
-
renderButton: u === N.DOTS_SECONDARY || u === N.DOTS_SECONDARY_LIGHT ?
|
|
174
|
-
renderDropdown:
|
|
173
|
+
className: P,
|
|
174
|
+
renderButton: u === N.DOTS_SECONDARY || u === N.DOTS_SECONDARY_LIGHT ? H : Y,
|
|
175
|
+
renderDropdown: j,
|
|
175
176
|
dropdownRef: A,
|
|
176
177
|
closeOnTab: !0,
|
|
177
|
-
...
|
|
178
|
+
...z
|
|
178
179
|
}
|
|
179
180
|
);
|
|
180
181
|
}
|
|
181
182
|
);
|
|
182
|
-
|
|
183
|
+
Io.displayName = "ButtonDropdown";
|
|
183
184
|
export {
|
|
184
|
-
|
|
185
|
+
Io as ButtonDropdown
|
|
185
186
|
};
|
|
186
187
|
//# sourceMappingURL=ButtonDropdown.js.map
|
|
@@ -4,11 +4,11 @@ import { Dropdown as _ } from "../Dropdown/Dropdown.js";
|
|
|
4
4
|
import { isKey as w } from "../../utils/keyboard.js";
|
|
5
5
|
import { DropdownList as g } from "../Dropdown/desktop/DropdownList.js";
|
|
6
6
|
import { c as A } from "../../chunks/vendor-z35N2Tap.js";
|
|
7
|
-
const K = "
|
|
7
|
+
const K = "buttonDropdownExtended__37bdc7a3", S = "buttonDropdownExtendedBlock__51d1d52b", E = {
|
|
8
8
|
buttonDropdownExtended: K,
|
|
9
9
|
buttonDropdownExtendedBlock: S
|
|
10
10
|
}, D = (s) => {
|
|
11
|
-
const { className:
|
|
11
|
+
const { className: b, opened: v, setOpened: c, renderButton: x, renderDropdown: k, dropdownRef: l, closeOnTab: p, ...L } = s, u = f(null), m = f(s.opened !== void 0), [O, y] = C((s.opened === void 0, !1)), e = m.current ? !!v : O, o = N(
|
|
12
12
|
(t) => {
|
|
13
13
|
if (m.current) {
|
|
14
14
|
c && c(t);
|
|
@@ -35,9 +35,9 @@ const K = "buttonDropdownExtended__94adb935", S = "buttonDropdownExtendedBlock__
|
|
|
35
35
|
document.removeEventListener("keydown", t), document.removeEventListener("mousedown", d), document.removeEventListener("touchstart", d);
|
|
36
36
|
};
|
|
37
37
|
}, [e, p, l, o, u]);
|
|
38
|
-
const B = A(E.buttonDropdownExtended,
|
|
38
|
+
const B = A(E.buttonDropdownExtended, b);
|
|
39
39
|
return /* @__PURE__ */ h("div", { className: B, ref: u, ...L, children: [
|
|
40
|
-
|
|
40
|
+
x({ opened: e, setOpened: o }),
|
|
41
41
|
k({
|
|
42
42
|
className: E.buttonDropdownExtendedBlock,
|
|
43
43
|
opened: e,
|
|
@@ -3,21 +3,21 @@ import m from "react";
|
|
|
3
3
|
import { c as p } from "../../chunks/vendor-z35N2Tap.js";
|
|
4
4
|
import { EButtonIconShape as t } from "./enums.js";
|
|
5
5
|
import { IconWrapper as a } from "../IconWrapper/IconWrapper.js";
|
|
6
|
-
const
|
|
7
|
-
buttonIcon:
|
|
8
|
-
circle:
|
|
9
|
-
squircle:
|
|
10
|
-
},
|
|
11
|
-
[t.SQUIRCLE]:
|
|
12
|
-
[t.CIRCLE]:
|
|
13
|
-
},
|
|
14
|
-
({ className: r, disabled:
|
|
15
|
-
const l = p(
|
|
16
|
-
return /* @__PURE__ */ n(a, { displayContents: !0, disabled:
|
|
6
|
+
const f = "buttonIcon__cc923f29", I = "circle__e2b57c6f", _ = "squircle__ff5459ec", c = {
|
|
7
|
+
buttonIcon: f,
|
|
8
|
+
circle: I,
|
|
9
|
+
squircle: _
|
|
10
|
+
}, b = {
|
|
11
|
+
[t.SQUIRCLE]: c.squircle,
|
|
12
|
+
[t.CIRCLE]: c.circle
|
|
13
|
+
}, C = m.forwardRef(
|
|
14
|
+
({ className: r, disabled: o, shape: e = t.SQUIRCLE, active: s, ...i }, u) => {
|
|
15
|
+
const l = p(c.buttonIcon, b[e], r);
|
|
16
|
+
return /* @__PURE__ */ n(a, { displayContents: !0, disabled: o, active: s, children: /* @__PURE__ */ n("button", { type: "button", className: l, disabled: o, ...i, ref: u }) });
|
|
17
17
|
}
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
C.displayName = "ButtonIcon";
|
|
20
20
|
export {
|
|
21
|
-
|
|
21
|
+
C as ButtonIcon
|
|
22
22
|
};
|
|
23
23
|
//# sourceMappingURL=ButtonIcon.js.map
|
|
@@ -14,7 +14,7 @@ import { CalendarView as z } from "./components/CalendarView.js";
|
|
|
14
14
|
import { CalendarFooter as N } from "./components/CalendarFooter.js";
|
|
15
15
|
import { CalendarFooterButton as S } from "./components/CalendarFooterButton.js";
|
|
16
16
|
import { parsePickedDate as D, formatDate as w, getHeader as j } from "./utils.js";
|
|
17
|
-
const q = "
|
|
17
|
+
const q = "calendar__52560ddc", L = "extraBottom__81f9bb33", U = "adaptive__8a18aff0", C = {
|
|
18
18
|
calendar: q,
|
|
19
19
|
extraBottom: L,
|
|
20
20
|
adaptive: U
|
|
@@ -143,7 +143,7 @@ class k extends H.PureComponent {
|
|
|
143
143
|
C.calendar,
|
|
144
144
|
this.props.adaptiveMode ? C.adaptive : (P !== l.DAYS || g) && C.extraBottom
|
|
145
145
|
), x = D(this.props.pickedDate, t);
|
|
146
|
-
return /* @__PURE__ */ f("div", { className: b, "data-tx": "0.
|
|
146
|
+
return /* @__PURE__ */ f("div", { className: b, "data-tx": "0.32.0", children: /* @__PURE__ */ T(
|
|
147
147
|
B.Provider,
|
|
148
148
|
{
|
|
149
149
|
value: {
|
|
@@ -8,7 +8,7 @@ import { EButtonIconShape as E, EButtonTheme as L } from "../../Button/enums.js"
|
|
|
8
8
|
import { ECalendarViewMode as e } from "../enums.js";
|
|
9
9
|
import { globalLimitRange as O } from "../../../consts/DateConst.js";
|
|
10
10
|
import { EComponentSize as V } from "../../../enums/EComponentSize.js";
|
|
11
|
-
const U = "
|
|
11
|
+
const U = "calendarControls__230a7a94", j = {
|
|
12
12
|
calendarControls: U
|
|
13
13
|
}, X = ({
|
|
14
14
|
children: m,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
const e = "
|
|
2
|
+
const e = "calendarFooter__d2cdf84d", r = {
|
|
3
3
|
calendarFooter: e
|
|
4
4
|
}, t = ({ children: o }) => /* @__PURE__ */ a("div", { className: r.calendarFooter, children: o });
|
|
5
5
|
t.displayName = "CalendarFooter";
|
|
@@ -5,7 +5,7 @@ import { c as q } from "../../../chunks/vendor-z35N2Tap.js";
|
|
|
5
5
|
import { isDateOutOfRange as g, isDayDisabled as z } from "../utils.js";
|
|
6
6
|
import { WEEKDAYS_SET as J } from "../../../consts/DateConst.js";
|
|
7
7
|
import { CalendarViewContext as Q } from "../CalendarViewContext.js";
|
|
8
|
-
import { s as y, C as X } from "../../../chunks/CalendarViewItem-
|
|
8
|
+
import { s as y, C as X } from "../../../chunks/CalendarViewItem-DnsWMQ6f.js";
|
|
9
9
|
import { isKey as d } from "../../../utils/keyboard.js";
|
|
10
10
|
import { ECalendarDateMarkType as Z, ECalendarViewMode as E } from "../enums.js";
|
|
11
11
|
import { CalendarContext as ee } from "../CalendarContext.js";
|
|
@@ -4,7 +4,7 @@ import "../../../chunks/vendor-z35N2Tap.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-DnsWMQ6f.js";
|
|
8
8
|
export {
|
|
9
9
|
C as CalendarViewItem
|
|
10
10
|
};
|
|
@@ -4,7 +4,7 @@ import h from "moment";
|
|
|
4
4
|
import { CalendarContext as G } from "../CalendarContext.js";
|
|
5
5
|
import { CalendarViewContext as K } from "../CalendarViewContext.js";
|
|
6
6
|
import { isDateOutOfRange as S } from "../utils.js";
|
|
7
|
-
import { s as B, C as U } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as B, C as U } from "../../../chunks/CalendarViewItem-DnsWMQ6f.js";
|
|
8
8
|
import { isKey as i } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarPickType as Y, ECalendarViewMode as u } from "../enums.js";
|
|
10
10
|
const Z = ({ pickedDate: r, monthHtmlAttributes: T = {} }) => {
|
|
@@ -4,7 +4,7 @@ import w from "moment";
|
|
|
4
4
|
import { CalendarContext as N } from "../CalendarContext.js";
|
|
5
5
|
import { CalendarViewContext as G } from "../CalendarViewContext.js";
|
|
6
6
|
import { isDateOutOfRange as O } from "../utils.js";
|
|
7
|
-
import { s as K, C as H } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as K, C as H } from "../../../chunks/CalendarViewItem-DnsWMQ6f.js";
|
|
8
8
|
import { isKey as i } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarViewMode as y } from "../enums.js";
|
|
10
10
|
const Q = ({ pickedDate: s, yearHtmlAttributes: S = {} }) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var o = (c, i, e) =>
|
|
1
|
+
var y = Object.defineProperty;
|
|
2
|
+
var b = (c, i, e) => i in c ? y(c, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[i] = e;
|
|
3
|
+
var o = (c, i, e) => b(c, typeof i != "symbol" ? i + "" : i, e);
|
|
4
4
|
import { jsx as R } from "react/jsx-runtime";
|
|
5
5
|
import u from "react";
|
|
6
6
|
import { CardContent as T } from "./components/CardContent/CardContent.js";
|
|
@@ -10,8 +10,8 @@ import { EFocusSource as r } from "../../enums/EFocusSource.js";
|
|
|
10
10
|
import { mapCardRoundingSizeToCssClass as K, mapCardThemeToCssClass as _ } from "./utils.js";
|
|
11
11
|
import { isKey as p } from "../../utils/keyboard.js";
|
|
12
12
|
import { c as k } from "../../chunks/vendor-z35N2Tap.js";
|
|
13
|
-
import { c as B } from "../../chunks/Card.module-
|
|
14
|
-
const O = "
|
|
13
|
+
import { c as B } from "../../chunks/Card.module-CXz8VlRt.js";
|
|
14
|
+
const O = "action__fe5af98a", F = "selected__3e01c9e3", V = "focusVisible__3b8ac939", a = {
|
|
15
15
|
action: O,
|
|
16
16
|
selected: F,
|
|
17
17
|
focusVisible: V
|
|
@@ -72,7 +72,7 @@ class l extends u.Component {
|
|
|
72
72
|
toggle: U,
|
|
73
73
|
theme: S = x.GENERAL,
|
|
74
74
|
...C
|
|
75
|
-
} = this.props, { isControlled: E, isSelected: g, focusSource: D } = this.state,
|
|
75
|
+
} = this.props, { isControlled: E, isSelected: g, focusSource: D } = this.state, N = k(
|
|
76
76
|
B.card,
|
|
77
77
|
a.action,
|
|
78
78
|
_[S],
|
|
@@ -86,7 +86,7 @@ class l extends u.Component {
|
|
|
86
86
|
return /* @__PURE__ */ R(
|
|
87
87
|
"div",
|
|
88
88
|
{
|
|
89
|
-
className:
|
|
89
|
+
className: N,
|
|
90
90
|
tabIndex: 0,
|
|
91
91
|
onClick: this.handleClick,
|
|
92
92
|
onMouseDown: this.handleMouseDown,
|
|
@@ -96,7 +96,7 @@ class l extends u.Component {
|
|
|
96
96
|
role: "button",
|
|
97
97
|
...C,
|
|
98
98
|
ref: this.ref,
|
|
99
|
-
"data-tx": "0.
|
|
99
|
+
"data-tx": "0.32.0",
|
|
100
100
|
children: e
|
|
101
101
|
}
|
|
102
102
|
);
|
|
@@ -3,7 +3,7 @@ import { CardContent as s } from "./components/CardContent/CardContent.js";
|
|
|
3
3
|
import { CardMedia as e } from "./components/CardMedia.js";
|
|
4
4
|
import { mapCardRoundingSizeToCssClass as C, mapCardThemeToCssClass as p } from "./utils.js";
|
|
5
5
|
import { c } from "../../chunks/vendor-z35N2Tap.js";
|
|
6
|
-
import { c as n } from "../../chunks/Card.module-
|
|
6
|
+
import { c as n } from "../../chunks/Card.module-CXz8VlRt.js";
|
|
7
7
|
import { ECardRoundingSize as f, ECardTheme as l } from "./enums.js";
|
|
8
8
|
const a = ({
|
|
9
9
|
children: r,
|
|
@@ -21,7 +21,7 @@ const a = ({
|
|
|
21
21
|
o
|
|
22
22
|
),
|
|
23
23
|
...d,
|
|
24
|
-
"data-tx": "0.
|
|
24
|
+
"data-tx": "0.32.0",
|
|
25
25
|
children: r
|
|
26
26
|
}
|
|
27
27
|
);
|
|
@@ -4,7 +4,7 @@ import { CardContentHeader as i } from "./components/CardContentHeader.js";
|
|
|
4
4
|
import { CardContentFooter as s } from "./components/CardContentFooter.js";
|
|
5
5
|
import { ECardContentPaddingSize as t } from "../../enums.js";
|
|
6
6
|
import { c as p } from "../../../../chunks/vendor-z35N2Tap.js";
|
|
7
|
-
import { c as r } from "../../../../chunks/Card.module-
|
|
7
|
+
import { c as r } from "../../../../chunks/Card.module-CXz8VlRt.js";
|
|
8
8
|
const c = {
|
|
9
9
|
[t.MD]: r.paddingMD,
|
|
10
10
|
[t.SM]: r.paddingSM
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { c as d } from "../../../../../chunks/vendor-z35N2Tap.js";
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-CXz8VlRt.js";
|
|
4
4
|
const m = ({ children: o, className: t, ...r }) => /* @__PURE__ */ a("div", { className: d(s.cardContentBody, t), ...r, children: o });
|
|
5
5
|
m.displayName = "CardContentBody";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { c as e } from "../../../../../chunks/vendor-z35N2Tap.js";
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-CXz8VlRt.js";
|
|
4
4
|
const m = ({ children: o, className: t, ...r }) => /* @__PURE__ */ a("div", { className: e(s.cardContentFooter, t), ...r, children: o });
|
|
5
5
|
m.displayName = "CardContentFooter";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { c as o } from "../../../../../chunks/vendor-z35N2Tap.js";
|
|
3
|
-
import { c as d } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as d } from "../../../../../chunks/Card.module-CXz8VlRt.js";
|
|
4
4
|
const s = ({ children: r, className: a, ...e }) => /* @__PURE__ */ t("div", { className: o(d.cardContentHeader, a), ...e, children: r });
|
|
5
5
|
s.displayName = "CardContentHeader";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import { c as e } from "../../../chunks/vendor-z35N2Tap.js";
|
|
3
|
-
import { c as m } from "../../../chunks/Card.module-
|
|
3
|
+
import { c as m } from "../../../chunks/Card.module-CXz8VlRt.js";
|
|
4
4
|
const o = ({ children: a, className: r, ...s }) => {
|
|
5
5
|
const c = e(m.cardMedia, r);
|
|
6
6
|
return /* @__PURE__ */ d("div", { className: c, ...s, children: a });
|
package/components/Card/utils.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as p, jsx as b } from "react/jsx-runtime";
|
|
|
2
2
|
import C, { useState as w, useRef as D, useCallback as L, useEffect as d } from "react";
|
|
3
3
|
import { l as M, c as S } from "../../chunks/vendor-z35N2Tap.js";
|
|
4
4
|
import { scrollSmoothHorizontally as c } from "../../utils/scroll.js";
|
|
5
|
-
const R = "
|
|
5
|
+
const R = "carouselExtended__8570444a", k = {
|
|
6
6
|
carouselExtended: R
|
|
7
7
|
}, y = C.forwardRef(
|
|
8
8
|
({ children: l, buttonPrev: a, buttonNext: i, stepPrev: u, stepNext: f, ...h }, s) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
1
|
+
import { jsxs as N, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import S from "react";
|
|
3
3
|
import { c as l } from "../../chunks/vendor-z35N2Tap.js";
|
|
4
|
-
import { CheckboxbulkStrokeSrvIcon24 as
|
|
4
|
+
import { CheckboxbulkStrokeSrvIcon24 as f, CheckboxtickStrokeSrvIcon24 as C } from "@sberbusiness/icons-next";
|
|
5
5
|
import { ETextSize as n } from "../Typography/enums.js";
|
|
6
6
|
import "../Typography/Caption.js";
|
|
7
7
|
import "../Typography/CodeText.js";
|
|
@@ -9,7 +9,7 @@ import { Text as y } from "../Typography/Text.js";
|
|
|
9
9
|
import "../Typography/Title.js";
|
|
10
10
|
import { EComponentSize as s } from "../../enums/EComponentSize.js";
|
|
11
11
|
import { createSizeToClassNameMap as E } from "../../utils/classNameMaps.js";
|
|
12
|
-
const M = "
|
|
12
|
+
const M = "label__c254e106", T = "sm__ca1d55d7", u = "nonempty__0b26d400", z = "md__941c922a", g = "lg__793bde73", A = "disabled__15f9db1d", v = "checkbox__16a23958", B = "checkboxIcon__fd53eccb", L = "checkmarkIcon__9471ae93", c = {
|
|
13
13
|
label: M,
|
|
14
14
|
sm: T,
|
|
15
15
|
nonempty: u,
|
|
@@ -23,7 +23,7 @@ const M = "label__e75f16d9", T = "sm__e6a1fcc1", u = "nonempty__b1ad3988", z = "
|
|
|
23
23
|
[s.LG]: n.B2,
|
|
24
24
|
[s.MD]: n.B3,
|
|
25
25
|
[s.SM]: n.B4
|
|
26
|
-
}, b = E(c), j =
|
|
26
|
+
}, b = E(c), j = S.forwardRef((d, i) => {
|
|
27
27
|
const {
|
|
28
28
|
children: t,
|
|
29
29
|
className: k,
|
|
@@ -38,14 +38,14 @@ const M = "label__e75f16d9", T = "sm__e6a1fcc1", u = "nonempty__b1ad3988", z = "
|
|
|
38
38
|
{ [c.disabled]: !!m, [c.nonempty]: !!t },
|
|
39
39
|
k,
|
|
40
40
|
o == null ? void 0 : o.className
|
|
41
|
-
),
|
|
41
|
+
), I = () => {
|
|
42
42
|
const r = c.checkmarkIcon;
|
|
43
|
-
return _ ? /* @__PURE__ */ e(
|
|
43
|
+
return _ ? /* @__PURE__ */ e(f, { className: r, paletteIndex: 7 }) : /* @__PURE__ */ e(C, { className: r, paletteIndex: 7 });
|
|
44
44
|
};
|
|
45
|
-
return /* @__PURE__ */
|
|
45
|
+
return /* @__PURE__ */ N("label", { ...o, className: h, "data-tx": "0.32.0", children: [
|
|
46
46
|
/* @__PURE__ */ e("input", { type: "checkbox", className: x, disabled: m, ...p, ref: i }),
|
|
47
47
|
/* @__PURE__ */ e("span", { className: c.checkboxIcon }),
|
|
48
|
-
|
|
48
|
+
I(),
|
|
49
49
|
t && /* @__PURE__ */ e(y, { size: Z[a], tag: "div", children: t })
|
|
50
50
|
] });
|
|
51
51
|
});
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import a from "react";
|
|
3
3
|
import { c as _ } from "../../chunks/vendor-z35N2Tap.js";
|
|
4
|
-
const
|
|
5
|
-
checkboxXGroup:
|
|
6
|
-
"indent-12": "indent-
|
|
7
|
-
label:
|
|
8
|
-
"indent-16": "indent-
|
|
9
|
-
"indent-20": "indent-
|
|
10
|
-
"indent-24": "indent-
|
|
11
|
-
"indent-28": "indent-
|
|
12
|
-
"indent-32": "indent-
|
|
13
|
-
},
|
|
14
|
-
const { children:
|
|
15
|
-
return /* @__PURE__ */ s("div", { className: i, ...r, role: "group", ref:
|
|
4
|
+
const l = "checkboxXGroup__cf4e10d8", b = "label__c254e106", e = {
|
|
5
|
+
checkboxXGroup: l,
|
|
6
|
+
"indent-12": "indent-12__a33c5f3e",
|
|
7
|
+
label: b,
|
|
8
|
+
"indent-16": "indent-16__885ddb5e",
|
|
9
|
+
"indent-20": "indent-20__7e04408f",
|
|
10
|
+
"indent-24": "indent-24__427bfcec",
|
|
11
|
+
"indent-28": "indent-28__053b88a3",
|
|
12
|
+
"indent-32": "indent-32__802e558a"
|
|
13
|
+
}, p = a.forwardRef((n, c) => {
|
|
14
|
+
const { children: o, className: t, indent: d = 12, ...r } = n, i = _(e.checkboxXGroup, e[`indent-${d}`], t);
|
|
15
|
+
return /* @__PURE__ */ s("div", { className: i, ...r, role: "group", ref: c, children: o });
|
|
16
16
|
});
|
|
17
|
-
|
|
17
|
+
p.displayName = "CheckboxXGroup";
|
|
18
18
|
export {
|
|
19
|
-
|
|
19
|
+
p as CheckboxXGroup
|
|
20
20
|
};
|
|
21
21
|
//# sourceMappingURL=CheckboxXGroup.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import a from "react";
|
|
3
3
|
import { c as m } from "../../chunks/vendor-z35N2Tap.js";
|
|
4
|
-
const
|
|
5
|
-
checkboxYGroup:
|
|
6
|
-
},
|
|
7
|
-
const { children: r, className:
|
|
8
|
-
return /* @__PURE__ */ p("div", { className: t, ...
|
|
4
|
+
const b = "checkboxYGroup__2bb9b4ef", x = {
|
|
5
|
+
checkboxYGroup: b
|
|
6
|
+
}, l = a.forwardRef((o, c) => {
|
|
7
|
+
const { children: r, className: e, ...s } = o, t = m(x.checkboxYGroup, e);
|
|
8
|
+
return /* @__PURE__ */ p("div", { className: t, ...s, role: "group", ref: c, children: r });
|
|
9
9
|
});
|
|
10
|
-
|
|
10
|
+
l.displayName = "CheckboxYGroup";
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
l as CheckboxYGroup
|
|
13
13
|
};
|
|
14
14
|
//# sourceMappingURL=CheckboxYGroup.js.map
|