@sberbusiness/triplex-next 0.33.0 → 0.34.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-BXa1yThy.js +41 -0
- package/chunks/{CalendarViewItem-jaPGc7g9.js → CalendarViewItem-CcneNgUN.js} +16 -16
- package/chunks/Card.module-B95wvDgf.js +18 -0
- package/chunks/CheckboxTreeExtended.module-DieUohY2.js +15 -0
- package/chunks/Chip-CwUtKklT.js +85 -0
- package/chunks/Confirm.module-DAri1spU.js +15 -0
- package/chunks/{DropdownListItem-9uM7fY6X.js → DropdownListItem-Cspd56Yl.js} +16 -16
- package/chunks/DropdownMobile.module-DrD6ibvE.js +23 -0
- package/chunks/Footer.module-DcYb0T1i.js +9 -0
- package/chunks/{FormFieldInput-CLHhO8Kh.js → FormFieldInput-D3Ncfs2O.js} +14 -14
- package/chunks/HeaderLayoutSidebar.module-C3C0sKOR.js +9 -0
- package/chunks/HeaderTabs.module-BkwLC92-.js +9 -0
- package/chunks/{HeaderTitle.module-D4SZQJKQ.js → HeaderTitle.module-CgvvJQ0i.js} +2 -2
- package/chunks/ImageGalleryExtendedMain.module-DsxpDSCZ.js +17 -0
- package/chunks/{ImageGalleryExtendedThumb-DVMRe0a9.js → ImageGalleryExtendedThumb-Dwh72nwh.js} +2 -2
- package/chunks/IslandAccordion.module-DaY9vVJp.js +25 -0
- package/chunks/IslandWidgetFooter.module-CEfWuouj.js +9 -0
- package/chunks/IslandWidgetHeader.module-CxuzaM--.js +13 -0
- package/chunks/{LightBoxContent-CJPhUyR3.js → LightBoxContent-CJtTSiys.js} +5 -5
- package/chunks/LightBoxControls.module-DWLPCWBc.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-oYZl6d26.js +9 -0
- package/chunks/{ListItemControlsButton-BsJp3m-o.js → ListItemControlsButton-BwKD73pC.js} +11 -11
- package/chunks/ListItemTail.module-Bj8zic0V.js +12 -0
- package/chunks/ListMasterFooter.module-BFDBK4_z.js +10 -0
- package/chunks/ModalWindow.module-CpZnXDzI.js +17 -0
- package/chunks/Notification.module-CgMv6vKH.js +20 -0
- package/chunks/Overlay.module-CW1lqxQV.js +18 -0
- package/chunks/Page.module-B9JECpGI.js +11 -0
- package/chunks/SMSField.module-VqYW2mTS.js +16 -0
- package/chunks/SliderExtendedMarks.module-DadrWVGM.js +15 -0
- package/chunks/{SliderExtendedRail-SYhKGslJ.js → SliderExtendedRail-BDQN7rWF.js} +5 -5
- package/chunks/StatusTracker.module-DWmAmjm2.js +24 -0
- package/chunks/{StepperStepArrowBorder-B59UgJt-.js → StepperStepArrowBorder-BMResef_.js} +12 -12
- package/chunks/{SuggestFieldMobileDropdownHint-GTMw7Nng.js → SuggestFieldMobileDropdownHint-9Q2UeJdi.js} +2 -2
- package/chunks/TableFooter.module-Dftom-s2.js +14 -0
- package/chunks/TabsExtended.module-DR0KZ8sI.js +16 -0
- package/chunks/TabsLine.module-D8wvke8p.js +21 -0
- package/chunks/TooltipDesktop.module-Chw47OdI.js +19 -0
- package/chunks/TreeView.module-DlD_4rrF.js +9 -0
- package/chunks/{UploadZoneInput-NoKos3kX.js → UploadZoneInput-DyTdTOhb.js} +4 -4
- package/chunks/{constants-DXTFMfA_.js → constants-CEkl1AbB.js} +16 -16
- package/chunks/{utils-C2i3hSWR.js → utils-B1xQI_Pq.js} +6 -6
- package/chunks/utils-B8AZrFu8.js +28 -0
- package/chunks/utils-BHumxyiH.js +73 -0
- package/chunks/utils-C0t0OqOb.js +24 -0
- package/components/Alert/AlertContext/AlertContext.js +13 -13
- 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 +21 -21
- package/components/Badge/Badge.js +9 -9
- package/components/Badge/BadgeDot.js +5 -5
- package/components/Badge/components/BadgeContent.js +8 -8
- package/components/Badge/components/BadgePostfix.js +1 -1
- package/components/Badge/components/BadgePrefix.js +4 -4
- package/components/Body/Body.js +6 -6
- package/components/Button/Button.js +27 -27
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +15 -15
- package/components/Button/ButtonDropdownExtended.js +7 -7
- package/components/Button/ButtonIcon.js +6 -6
- package/components/Calendar/Calendar.js +2 -2
- package/components/Calendar/components/CalendarControls.js +9 -9
- 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 +12 -12
- 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 +16 -16
- package/components/Checkbox/CheckboxXGroup.js +13 -13
- package/components/Checkbox/CheckboxYGroup.js +3 -3
- 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 +6 -6
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +5 -5
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +10 -10
- 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 +19 -19
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +14 -14
- package/components/Col/Col.js +140 -140
- package/components/CollapsibleTree/CollapsibleTree.js +7 -7
- package/components/CollapsibleTree/components/CollapsibleTreeLeafContent.js +5 -5
- package/components/CollapsibleTree/components/CollapsibleTreeLeafNode.js +5 -5
- package/components/CollapsibleTree/components/CollapsibleTreeNodeHeader.js +1 -1
- 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 +9 -9
- package/components/DateRange/DateRange.js +11 -11
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +1 -1
- package/components/Dropdown/desktop/DropdownDesktop.js +11 -11
- 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 +2 -2
- package/components/Ellipsis/Ellipsis.js +2 -2
- package/components/EmptyView/EmptyView.js +9 -9
- package/components/ExpandAnimation/ExpandAnimation.js +7 -7
- 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 +14 -14
- package/components/FormField/components/FormFieldClear.js +5 -5
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +3 -3
- 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 +1 -1
- package/components/FormField/components/FormFieldPrefix.js +1 -1
- package/components/FormField/components/FormFieldTarget.js +14 -14
- package/components/FormField/components/FormFieldTextarea.js +22 -22
- package/components/FormField/components/index.js +1 -1
- package/components/FormField/index.js +1 -1
- package/components/Gap/Gap.js +13 -13
- 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 +4 -4
- 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 +7 -7
- package/components/IconWrapper/IconWrapper.js +9 -9
- package/components/ImageGallery/ImageGallery.js +1 -1
- package/components/ImageGalleryExtended/ImageGalleryExtended.js +6 -6
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedArrow.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedDots.js +8 -8
- 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 +1 -1
- package/components/Island/components/IslandBody.js +4 -4
- package/components/Island/components/IslandFooter.js +5 -5
- 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 +19 -19
- package/components/IslandWidget/components/IslandWidgetBody.js +3 -3
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +7 -7
- 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 +6 -6
- package/components/LightBox/LightBox.js +22 -22
- 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 +24 -24
- 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 +10 -10
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +13 -13
- package/components/Link/Link.js +15 -15
- package/components/List/List.js +10 -9
- package/components/List/components/ListEmptyState.js +5 -5
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +10 -10
- package/components/List/components/ListItemControls.js +5 -5
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +8 -8
- package/components/List/components/ListItemSelectable.js +10 -10
- package/components/List/components/ListItemTable.js +1 -1
- package/components/List/components/ListItemTailLeft.js +6 -14
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +1 -1
- package/components/List/components/ListSortableItemControls.js +1 -1
- package/components/List/components/ListSortableItemTarget.js +8 -8
- 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 +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 +12 -12
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +18 -18
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +4 -4
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- 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 +12 -12
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- package/components/Notification/Notification.js +35 -36
- package/components/Notification/NotificationGrouped.js +14 -9
- package/components/Notification/components/NotificationBody.js +20 -16
- 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 +5 -5
- package/components/OrderedList/OrderedListItem.js +5 -5
- package/components/Overlay/Overlay.js +54 -54
- package/components/Overlay/OverlayBase.js +26 -22
- 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 +15 -15
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +5 -5
- package/components/Pagination/components/PaginationNavigationButton.js +7 -7
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +1 -1
- package/components/Pagination/components/PaginationPageEllipsis.js +5 -5
- package/components/Pagination/components/PaginationSelect.js +5 -5
- package/components/Radio/Radio.js +17 -17
- package/components/Radio/RadioXGroup.js +7 -7
- package/components/Radio/RadioYGroup.js +6 -6
- package/components/Row/Row.js +18 -18
- 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 +16 -16
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +15 -15
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +10 -10
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +1 -1
- 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 +7 -7
- package/components/SmallInput/SmallInput.js +1 -1
- package/components/Spoiler/Spoiler.js +17 -17
- 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 +8 -8
- package/components/Stepper/Stepper.js +27 -27
- package/components/Stepper/StepperExtended.js +5 -5
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperStepArrowBorder.js +1 -1
- package/components/Suggest/SuggestMobileDropdownContent.js +12 -12
- 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 +21 -21
- package/components/Table/ChipPanel.js +9 -9
- package/components/Table/ChipPanelLinks.js +4 -4
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +16 -16
- package/components/Table/NoColumns.js +1 -1
- 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 +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +9 -9
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +4 -4
- 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 +4 -4
- 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/utils.js +1 -1
- package/components/Tabs/Tabs.js +13 -13
- 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 +37 -37
- package/components/TabsLine/components/TabsLineMobile.js +7 -7
- package/components/Tag/Tag.js +28 -28
- package/components/TagColor/TagColor.js +13 -13
- package/components/TagGroup/TagGroup.js +5 -5
- 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 +6 -6
- 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 +9 -9
- package/components/TopOverlay/TopOverlay.js +20 -20
- 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 +29 -29
- package/components/Typography/CodeText.js +8 -8
- package/components/Typography/Text.js +17 -17
- package/components/Typography/Title.js +12 -12
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +7 -7
- 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 +7 -7
- package/index.d.ts +71 -116
- package/index.js +7 -7
- package/package.json +1 -1
- package/styles/triplex-next.css +557 -557
- package/chunks/AlertProcessSpoiler-D5Z3QhxI.js +0 -41
- package/chunks/Card.module-BT82F3Ky.js +0 -18
- package/chunks/CheckboxTreeExtended.module-dWJEHy4I.js +0 -15
- package/chunks/Chip-DEoNciDr.js +0 -85
- package/chunks/Confirm.module-Bek5Y_d5.js +0 -15
- package/chunks/DropdownMobile.module-Dn9sFUCq.js +0 -23
- package/chunks/Footer.module-cwVzdGju.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-By0WroW0.js +0 -9
- package/chunks/HeaderTabs.module-nNfmab3J.js +0 -9
- package/chunks/ImageGalleryExtendedMain.module-BV4sYkkw.js +0 -17
- package/chunks/IslandAccordion.module-DZaeBDfB.js +0 -25
- package/chunks/IslandWidgetFooter.module-gs1vcAcR.js +0 -9
- package/chunks/IslandWidgetHeader.module-DCfKgbBN.js +0 -13
- package/chunks/LightBoxControls.module-Dw9yTb8h.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-PasYNDqH.js +0 -9
- package/chunks/ListItemTail.module-C_0Ilv6P.js +0 -12
- package/chunks/ListMasterFooter.module-BtdNBL90.js +0 -10
- package/chunks/ModalWindow.module-BL1rtFYz.js +0 -17
- package/chunks/Notification.module-DGitAi0W.js +0 -20
- package/chunks/Overlay.module-C4CvBteS.js +0 -18
- package/chunks/Page.module-C0z8yMeg.js +0 -11
- package/chunks/SMSField.module-BcNuX5lS.js +0 -16
- package/chunks/SliderExtendedMarks.module-C_x_7ws7.js +0 -15
- package/chunks/StatusTracker.module-DkbOCTwb.js +0 -24
- package/chunks/TableFooter.module-CGgvFs4s.js +0 -14
- package/chunks/TabsExtended.module-D6URUq4g.js +0 -16
- package/chunks/TabsLine.module-DZEuIiZO.js +0 -21
- package/chunks/TooltipDesktop.module-DK_Fl-Dq.js +0 -19
- package/chunks/TreeView.module-Bq5-RYgn.js +0 -9
- package/chunks/utils-D55sjebM.js +0 -73
- package/chunks/utils-DDzMRlrV.js +0 -28
- package/chunks/utils-DVaJTyM2.js +0 -24
|
@@ -4,25 +4,25 @@ import { EAlertType as e } from "../EAlertType.js";
|
|
|
4
4
|
import { ALERT_TYPE_TO_CLASS_NAME_MAP as m } from "../AlertTypeUtils.js";
|
|
5
5
|
import { Text as y } from "../../Typography/Text.js";
|
|
6
6
|
import { EFontType as r, ETextSize as S } from "../../Typography/enums.js";
|
|
7
|
-
import { SystemStrokeStsIcon16 as
|
|
7
|
+
import { SystemStrokeStsIcon16 as I, ErrorStrokeStsIcon16 as i, WarningStrokeStsIcon16 as _, InfoStrokeStsIcon16 as f } from "@sberbusiness/icons-next";
|
|
8
8
|
import { c as E } from "../../../chunks/vendor-z35N2Tap.js";
|
|
9
|
-
const R = "
|
|
9
|
+
const R = "alertContext__de3b35d3", d = "alertContextText__7ecd50aa", N = "alertTypeError__74c6095d", C = "alertTypeInfo__d503cbb0", A = "alertTypeWarning__1f1558ec", O = "alertTypeSystem__1760c28a", n = {
|
|
10
10
|
alertContext: R,
|
|
11
|
-
alertContextText:
|
|
12
|
-
alertTypeError:
|
|
11
|
+
alertContextText: d,
|
|
12
|
+
alertTypeError: N,
|
|
13
13
|
alertTypeInfo: C,
|
|
14
14
|
alertTypeWarning: A,
|
|
15
15
|
alertTypeSystem: O
|
|
16
16
|
}, W = (o) => {
|
|
17
17
|
switch (o) {
|
|
18
18
|
case e.INFO:
|
|
19
|
-
return /* @__PURE__ */ t(
|
|
19
|
+
return /* @__PURE__ */ t(f, { paletteIndex: 3 });
|
|
20
20
|
case e.WARNING:
|
|
21
|
-
return /* @__PURE__ */ t(
|
|
21
|
+
return /* @__PURE__ */ t(_, { paletteIndex: 2 });
|
|
22
22
|
case e.ERROR:
|
|
23
|
-
return /* @__PURE__ */ t(
|
|
23
|
+
return /* @__PURE__ */ t(i, { paletteIndex: 1 });
|
|
24
24
|
case e.SYSTEM:
|
|
25
|
-
return /* @__PURE__ */ t(
|
|
25
|
+
return /* @__PURE__ */ t(I, { paletteIndex: 4 });
|
|
26
26
|
}
|
|
27
27
|
}, u = {
|
|
28
28
|
[e.INFO]: r.INFO,
|
|
@@ -30,17 +30,17 @@ const R = "alertContext__fc0c38db", N = "alertContextText__5c6f6fa9", d = "alert
|
|
|
30
30
|
[e.ERROR]: r.ERROR,
|
|
31
31
|
[e.SYSTEM]: r.SECONDARY
|
|
32
32
|
}, F = x.forwardRef(
|
|
33
|
-
({ children: o, className: l, type:
|
|
33
|
+
({ children: o, className: l, type: a, renderIcon: s, ...c }, p) => /* @__PURE__ */ T(
|
|
34
34
|
"span",
|
|
35
35
|
{
|
|
36
36
|
role: "alert",
|
|
37
|
-
className: E(
|
|
37
|
+
className: E(n.alertContext, m[a](n), l),
|
|
38
38
|
...c,
|
|
39
|
-
"data-tx": "0.
|
|
39
|
+
"data-tx": "0.34.0",
|
|
40
40
|
ref: p,
|
|
41
41
|
children: [
|
|
42
|
-
s || W(
|
|
43
|
-
/* @__PURE__ */ t(y, { size: S.B4, type: u[
|
|
42
|
+
s || W(a),
|
|
43
|
+
/* @__PURE__ */ t(y, { size: S.B4, type: u[a], className: n.alertContextText, children: o })
|
|
44
44
|
]
|
|
45
45
|
}
|
|
46
46
|
)
|
|
@@ -3,7 +3,7 @@ import u, { useState as n } from "react";
|
|
|
3
3
|
import { EAlertType as r } from "../EAlertType.js";
|
|
4
4
|
import { ALERT_TYPE_TO_CLASS_NAME_MAP as N } from "../AlertTypeUtils.js";
|
|
5
5
|
import { ButtonIcon as T } from "../../Button/ButtonIcon.js";
|
|
6
|
-
import { s as t, A as i } from "../../../chunks/AlertProcessSpoiler-
|
|
6
|
+
import { s as t, A as i } from "../../../chunks/AlertProcessSpoiler-BXa1yThy.js";
|
|
7
7
|
import { AlertProcessContext as h } from "./AlertProcessContext.js";
|
|
8
8
|
import { EAlertProcessBorderRadius as s } from "./enums.js";
|
|
9
9
|
import { DefaulticonStrokePrdIcon20 as k, SystemStrokeStsIcon20 as M, ErrorStrokeStsIcon20 as O, WarningStrokeStsIcon20 as v, InfoStrokeStsIcon20 as D, CrossStrokeSrvIcon16 as B } from "@sberbusiness/icons-next";
|
|
@@ -45,7 +45,7 @@ const L = {
|
|
|
45
45
|
d
|
|
46
46
|
),
|
|
47
47
|
...f,
|
|
48
|
-
"data-tx": "0.
|
|
48
|
+
"data-tx": "0.34.0",
|
|
49
49
|
ref: I,
|
|
50
50
|
children: [
|
|
51
51
|
/* @__PURE__ */ e("div", { className: t.themeIcon, children: c || L[l] }),
|
|
@@ -3,7 +3,7 @@ import "react";
|
|
|
3
3
|
import "@sberbusiness/icons-next";
|
|
4
4
|
import "../../../Button/ButtonIcon.js";
|
|
5
5
|
import "../AlertProcessContext.js";
|
|
6
|
-
import { A as l } from "../../../../chunks/AlertProcessSpoiler-
|
|
6
|
+
import { A as l } from "../../../../chunks/AlertProcessSpoiler-BXa1yThy.js";
|
|
7
7
|
import "../../../../chunks/vendor-z35N2Tap.js";
|
|
8
8
|
export {
|
|
9
9
|
l as AlertProcessSpoiler
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as l, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { formatAmount as u } from "../../utils/amountUtils.js";
|
|
3
3
|
import { c as f } from "../../chunks/vendor-z35N2Tap.js";
|
|
4
|
-
const N = "
|
|
4
|
+
const N = "adaptive__ab13cadd", _ = {
|
|
5
5
|
adaptive: N
|
|
6
6
|
}, h = 14, v = ({
|
|
7
7
|
className: o,
|
|
@@ -18,13 +18,13 @@ const N = "adaptive__5d1f3cea", _ = {
|
|
|
18
18
|
const p = () => [
|
|
19
19
|
" ",
|
|
20
20
|
/* @__PURE__ */ n("span", { "data-test-id": a && `${a}__currencyName`, title: m, children: e }, "currencyName")
|
|
21
|
-
],
|
|
21
|
+
], d = f(
|
|
22
22
|
{
|
|
23
23
|
[_.adaptive]: !!c && t.length >= h
|
|
24
24
|
},
|
|
25
25
|
o
|
|
26
26
|
);
|
|
27
|
-
return /* @__PURE__ */
|
|
27
|
+
return /* @__PURE__ */ l("span", { className: d, ...i, "data-tx": "0.34.0", children: [
|
|
28
28
|
/* @__PURE__ */ n("span", { "data-test-id": a && `${a}__amount`, children: t }),
|
|
29
29
|
e && p()
|
|
30
30
|
] });
|
|
@@ -5,7 +5,7 @@ import { EFormFieldStatus as k } from "../FormField/enums.js";
|
|
|
5
5
|
import { FormFieldClear as w } from "../FormField/components/FormFieldClear.js";
|
|
6
6
|
import "../FormField/components/FormFieldCounter.js";
|
|
7
7
|
import "../FormField/components/FormFieldDescription.js";
|
|
8
|
-
import { F as A } from "../../chunks/FormFieldInput-
|
|
8
|
+
import { F as A } from "../../chunks/FormFieldInput-D3Ncfs2O.js";
|
|
9
9
|
import "../FormField/components/FormFieldLabel.js";
|
|
10
10
|
import "../FormField/components/FormFieldMaskedInput.js";
|
|
11
11
|
import "../FormField/components/FormFieldPostfix.js";
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import { EAvatarSize as
|
|
1
|
+
import { EAvatarSize as s } from "./enums.js";
|
|
2
2
|
import { jsx as t } from "react/jsx-runtime";
|
|
3
3
|
import c from "react";
|
|
4
4
|
import { c as i } from "../../chunks/vendor-z35N2Tap.js";
|
|
5
|
-
const x = "
|
|
5
|
+
const x = "avatar__4b2b965a", b = "borderRadius6__074d42c8", R = "borderRadius8__0848c4ad", u = "borderRadius10__40a5869b", m = "borderRadius12__76bf058f", n = "borderRadius16__0f2c9aae", l = "xxs__340dbd10", f = "xs__f66ed470", A = "sm__f27835c8", S = "md__44dc3756", v = "lg__d83efe72", p = "xl__4cc3d3a0", M = "xxl__198e3218", r = {
|
|
6
6
|
avatar: x,
|
|
7
|
-
borderRadius6:
|
|
8
|
-
borderRadius8:
|
|
7
|
+
borderRadius6: b,
|
|
8
|
+
borderRadius8: R,
|
|
9
9
|
borderRadius10: u,
|
|
10
10
|
borderRadius12: m,
|
|
11
11
|
borderRadius16: n,
|
|
12
|
-
xxs:
|
|
13
|
-
xs:
|
|
12
|
+
xxs: l,
|
|
13
|
+
xs: f,
|
|
14
14
|
sm: A,
|
|
15
15
|
md: S,
|
|
16
16
|
lg: v,
|
|
17
17
|
xl: p,
|
|
18
18
|
xxl: M
|
|
19
19
|
}, X = {
|
|
20
|
-
[
|
|
21
|
-
[
|
|
22
|
-
[
|
|
23
|
-
[
|
|
24
|
-
[
|
|
25
|
-
[
|
|
26
|
-
[
|
|
20
|
+
[s.XXS]: r.xxs,
|
|
21
|
+
[s.XS]: r.xs,
|
|
22
|
+
[s.SM]: r.sm,
|
|
23
|
+
[s.MD]: r.md,
|
|
24
|
+
[s.LG]: r.lg,
|
|
25
|
+
[s.XL]: r.xl,
|
|
26
|
+
[s.XXL]: r.xxl
|
|
27
27
|
}, E = {
|
|
28
|
-
6:
|
|
29
|
-
8:
|
|
30
|
-
10:
|
|
31
|
-
12:
|
|
32
|
-
16:
|
|
28
|
+
6: r.borderRadius6,
|
|
29
|
+
8: r.borderRadius8,
|
|
30
|
+
10: r.borderRadius10,
|
|
31
|
+
12: r.borderRadius12,
|
|
32
|
+
16: r.borderRadius16
|
|
33
33
|
}, L = c.forwardRef(
|
|
34
|
-
({ className:
|
|
34
|
+
({ className: d, size: a, borderRadius: o, ..._ }, e) => /* @__PURE__ */ t(
|
|
35
35
|
"div",
|
|
36
36
|
{
|
|
37
37
|
className: i(
|
|
38
|
-
|
|
38
|
+
r.avatar,
|
|
39
39
|
X[a],
|
|
40
40
|
E[o],
|
|
41
|
-
|
|
41
|
+
d
|
|
42
42
|
),
|
|
43
43
|
..._,
|
|
44
44
|
ref: e
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
1
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import c from "react";
|
|
3
3
|
import { c as g } from "../../chunks/vendor-z35N2Tap.js";
|
|
4
4
|
import { createSizeToClassNameMap as i } from "../../utils/classNameMaps.js";
|
|
5
|
-
import { BadgeDot as
|
|
6
|
-
import { BadgeContent as
|
|
5
|
+
import { BadgeDot as _ } from "./BadgeDot.js";
|
|
6
|
+
import { BadgeContent as f } from "./components/BadgeContent.js";
|
|
7
7
|
import { BadgePrefix as b } from "./components/BadgePrefix.js";
|
|
8
8
|
import { BadgePostfix as p } from "./components/BadgePostfix.js";
|
|
9
|
-
const B = "
|
|
9
|
+
const B = "badge__1ee94abe", P = "sm__bd72edf1", N = "md__c1a856ae", S = "lg__acb0f837", d = {
|
|
10
10
|
badge: B,
|
|
11
11
|
sm: P,
|
|
12
12
|
md: N,
|
|
13
13
|
lg: S
|
|
14
14
|
}, h = i(d), j = Object.assign(
|
|
15
|
-
|
|
16
|
-
({ children: m, className: s, size: t, prefix: o, postfix: a, ...n }, r) => /* @__PURE__ */
|
|
15
|
+
c.forwardRef(
|
|
16
|
+
({ children: m, className: s, size: t, prefix: o, postfix: a, ...n }, r) => /* @__PURE__ */ l("span", { className: g(d.badge, h[t], s), ...n, ref: r, children: [
|
|
17
17
|
o ? /* @__PURE__ */ e(b, { children: o }) : null,
|
|
18
|
-
m ? /* @__PURE__ */ e(
|
|
18
|
+
m ? /* @__PURE__ */ e(f, { size: t, noPaddingLeft: !!o, noPaddingRight: !!a, children: m }) : null,
|
|
19
19
|
a ? /* @__PURE__ */ e(p, { children: a }) : null
|
|
20
20
|
] })
|
|
21
21
|
),
|
|
22
22
|
{
|
|
23
|
-
Dot:
|
|
23
|
+
Dot: _
|
|
24
24
|
}
|
|
25
25
|
);
|
|
26
26
|
j.displayName = "Badge";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import c from "react";
|
|
3
3
|
import { c as d } from "../../chunks/vendor-z35N2Tap.js";
|
|
4
4
|
import { createSizeToClassNameMap as r } from "../../utils/classNameMaps.js";
|
|
5
|
-
const _ = "
|
|
5
|
+
const _ = "badgeDot__28a6a4b1", g = "sm__bd72edf1", f = "md__c1a856ae", l = "lg__acb0f837", o = {
|
|
6
6
|
badgeDot: _,
|
|
7
|
-
sm:
|
|
8
|
-
md:
|
|
7
|
+
sm: g,
|
|
8
|
+
md: f,
|
|
9
9
|
lg: l
|
|
10
|
-
}, n = r(o), p =
|
|
10
|
+
}, n = r(o), p = c.forwardRef(({ className: a, size: s, ...t }, e) => /* @__PURE__ */ m("span", { className: d(o.badgeDot, n[s], a), ...t, ref: e }));
|
|
11
11
|
p.displayName = "BadgeDot";
|
|
12
12
|
export {
|
|
13
13
|
p as BadgeDot
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
2
|
import { c } from "../../../chunks/vendor-z35N2Tap.js";
|
|
3
3
|
import { createSizeToClassNameMap as i } from "../../../utils/classNameMaps.js";
|
|
4
|
-
const _ = "
|
|
4
|
+
const _ = "badgeContent__cb86b41d", m = "sm__bd72edf1", f = "md__c1a856ae", b = "lg__acb0f837", P = "noPaddingLeft__780ec7c2", l = "noPaddingRight__5bd09ff6", n = {
|
|
5
5
|
badgeContent: _,
|
|
6
6
|
sm: m,
|
|
7
7
|
md: f,
|
|
8
|
-
lg:
|
|
9
|
-
noPaddingLeft:
|
|
10
|
-
noPaddingRight:
|
|
11
|
-
},
|
|
8
|
+
lg: b,
|
|
9
|
+
noPaddingLeft: P,
|
|
10
|
+
noPaddingRight: l
|
|
11
|
+
}, r = i(n), C = ({
|
|
12
12
|
children: t,
|
|
13
13
|
size: o,
|
|
14
14
|
noPaddingLeft: d,
|
|
@@ -20,7 +20,7 @@ const _ = "badgeContent__0e934174", m = "sm__19d8761f", f = "md__ac4d2bc8", P =
|
|
|
20
20
|
{
|
|
21
21
|
className: c(
|
|
22
22
|
n.badgeContent,
|
|
23
|
-
|
|
23
|
+
r[o],
|
|
24
24
|
{ [n.noPaddingLeft]: d, [n.noPaddingRight]: a },
|
|
25
25
|
e
|
|
26
26
|
),
|
|
@@ -28,8 +28,8 @@ const _ = "badgeContent__0e934174", m = "sm__19d8761f", f = "md__ac4d2bc8", P =
|
|
|
28
28
|
children: t
|
|
29
29
|
}
|
|
30
30
|
);
|
|
31
|
-
|
|
31
|
+
C.displayName = "BadgeContent";
|
|
32
32
|
export {
|
|
33
|
-
|
|
33
|
+
C as BadgeContent
|
|
34
34
|
};
|
|
35
35
|
//# sourceMappingURL=BadgeContent.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { c as
|
|
3
|
-
const
|
|
4
|
-
badgePrefix:
|
|
5
|
-
}, o = ({ children: e, className: a, ...s }) => /* @__PURE__ */ r("span", { className: f
|
|
2
|
+
import { c as i } from "../../../chunks/vendor-z35N2Tap.js";
|
|
3
|
+
const x = "badgePrefix__607ce8a7", f = {
|
|
4
|
+
badgePrefix: x
|
|
5
|
+
}, o = ({ children: e, className: a, ...s }) => /* @__PURE__ */ r("span", { className: i(f.badgePrefix, a), ...s, children: e });
|
|
6
6
|
o.displayName = "BadgePrefix";
|
|
7
7
|
export {
|
|
8
8
|
o as BadgePrefix
|
package/components/Body/Body.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import a from "react";
|
|
3
3
|
import { c as t } from "../../chunks/vendor-z35N2Tap.js";
|
|
4
|
-
const y = "
|
|
4
|
+
const y = "body__b7ab06ef", b = "bodyInner__b75d4138", d = {
|
|
5
5
|
body: y,
|
|
6
|
-
bodyInner:
|
|
7
|
-
},
|
|
8
|
-
|
|
6
|
+
bodyInner: b
|
|
7
|
+
}, c = a.forwardRef(({ children: r, className: s, ...e }, n) => /* @__PURE__ */ o("div", { className: t(d.body, s), ...e, "data-tx": "0.34.0", ref: n, children: /* @__PURE__ */ o("div", { className: d.bodyInner, children: r }) }));
|
|
8
|
+
c.displayName = "Body";
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
c as Body
|
|
11
11
|
};
|
|
12
12
|
//# sourceMappingURL=Body.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsxs as i, jsx as
|
|
1
|
+
import { jsxs as i, jsx as f } from "react/jsx-runtime";
|
|
2
2
|
import y from "react";
|
|
3
3
|
import { c as m } from "../../chunks/vendor-z35N2Tap.js";
|
|
4
4
|
import { LoaderSmall as R } from "../Loader/LoaderSmall/LoaderSmall.js";
|
|
@@ -9,22 +9,22 @@ import { EButtonTheme as e } from "./enums.js";
|
|
|
9
9
|
import { EComponentSize as D } from "../../enums/EComponentSize.js";
|
|
10
10
|
import { IconWrapper as u } from "../IconWrapper/IconWrapper.js";
|
|
11
11
|
import { createSizeToClassNameMap as C } from "../../utils/classNameMaps.js";
|
|
12
|
-
const k = "
|
|
12
|
+
const k = "general__e5fe4ebc", M = "expanded__6f69f6b0", x = {
|
|
13
13
|
general: k,
|
|
14
14
|
expanded: M
|
|
15
|
-
}, I = "
|
|
15
|
+
}, I = "secondary__91eab10f", O = "expanded__6f69f6b0", E = {
|
|
16
16
|
secondary: I,
|
|
17
17
|
expanded: O
|
|
18
|
-
}, G = "
|
|
18
|
+
}, G = "secondaryLight__6c5f8134", B = "expanded__6f69f6b0", N = {
|
|
19
19
|
secondaryLight: G,
|
|
20
20
|
expanded: B
|
|
21
|
-
}, Y = "
|
|
21
|
+
}, Y = "danger__f1f2eade", H = "expanded__6f69f6b0", g = {
|
|
22
22
|
danger: Y,
|
|
23
23
|
expanded: H
|
|
24
|
-
}, P = "
|
|
24
|
+
}, P = "link__a11728e5", $ = "expanded__6f69f6b0", b = {
|
|
25
25
|
link: P,
|
|
26
26
|
expanded: $
|
|
27
|
-
}, v = "
|
|
27
|
+
}, v = "button__4e1f0b27", z = "sm__ed3d70ef", j = "icon__8982aa01", K = "md__68c8938a", w = "lg__10ebad45", U = "block__ea1908af", W = "content__f9e8218b", X = "loading__37f107d9", Z = "loader__b8f09683", q = "hidden__a66a8c9a", n = {
|
|
28
28
|
button: v,
|
|
29
29
|
sm: z,
|
|
30
30
|
icon: j,
|
|
@@ -36,39 +36,39 @@ const k = "general__82209319", M = "expanded__96099822", E = {
|
|
|
36
36
|
loader: Z,
|
|
37
37
|
hidden: q
|
|
38
38
|
}, F = {
|
|
39
|
-
[e.GENERAL]:
|
|
40
|
-
[e.SECONDARY]:
|
|
41
|
-
[e.SECONDARY_LIGHT]:
|
|
42
|
-
[e.DANGER]:
|
|
43
|
-
[e.LINK]:
|
|
39
|
+
[e.GENERAL]: x.general,
|
|
40
|
+
[e.SECONDARY]: E.secondary,
|
|
41
|
+
[e.SECONDARY_LIGHT]: N.secondaryLight,
|
|
42
|
+
[e.DANGER]: g.danger,
|
|
43
|
+
[e.LINK]: b.link
|
|
44
44
|
}, J = {
|
|
45
|
-
[e.GENERAL]:
|
|
46
|
-
[e.SECONDARY]:
|
|
47
|
-
[e.SECONDARY_LIGHT]:
|
|
48
|
-
[e.DANGER]:
|
|
49
|
-
[e.LINK]:
|
|
50
|
-
}, Q = C(n), V = (o,
|
|
45
|
+
[e.GENERAL]: x.expanded,
|
|
46
|
+
[e.SECONDARY]: E.expanded,
|
|
47
|
+
[e.SECONDARY_LIGHT]: N.expanded,
|
|
48
|
+
[e.DANGER]: g.expanded,
|
|
49
|
+
[e.LINK]: b.expanded
|
|
50
|
+
}, Q = C(n), V = (o, a) => {
|
|
51
51
|
const d = [e.SECONDARY, e.SECONDARY_LIGHT].includes(o) ? p.BRAND : p.NEUTRAL;
|
|
52
|
-
return /* @__PURE__ */
|
|
53
|
-
}, ee = y.forwardRef((o,
|
|
54
|
-
const { children: d, className:
|
|
52
|
+
return /* @__PURE__ */ f(R, { theme: d, size: a });
|
|
53
|
+
}, ee = y.forwardRef((o, a) => {
|
|
54
|
+
const { children: d, className: A, disabled: s, theme: t, size: r = D.MD, block: S, loading: c, icon: _, ...L } = o, { "aria-expanded": l } = o, h = m(
|
|
55
55
|
n.button,
|
|
56
|
-
F[
|
|
56
|
+
F[t],
|
|
57
57
|
Q[r],
|
|
58
58
|
{
|
|
59
|
-
[n.block]: !!
|
|
59
|
+
[n.block]: !!S,
|
|
60
60
|
[n.loading]: !!c,
|
|
61
61
|
[n.icon]: !!_ && !d,
|
|
62
|
-
[J[
|
|
62
|
+
[J[t]]: !!l
|
|
63
63
|
},
|
|
64
|
-
|
|
64
|
+
A
|
|
65
65
|
);
|
|
66
|
-
return /* @__PURE__ */ i(T, { className: h, tabIndex: c ? -1 : void 0, disabled: s, ...L, ref:
|
|
66
|
+
return /* @__PURE__ */ i(T, { className: h, tabIndex: c ? -1 : void 0, disabled: s, ...L, ref: a, children: [
|
|
67
67
|
/* @__PURE__ */ i(u, { className: n.content, disabled: s, active: !!l, children: [
|
|
68
68
|
_,
|
|
69
69
|
d
|
|
70
70
|
] }),
|
|
71
|
-
/* @__PURE__ */
|
|
71
|
+
/* @__PURE__ */ f("div", { className: m(n.loader, !c && n.hidden), children: V(t, r) })
|
|
72
72
|
] });
|
|
73
73
|
});
|
|
74
74
|
ee.displayName = "Button";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import a from "react";
|
|
3
|
-
const e = a.forwardRef((t, o) => /* @__PURE__ */ r("button", { type: "button", ...t, "data-tx": "0.
|
|
3
|
+
const e = a.forwardRef((t, o) => /* @__PURE__ */ r("button", { type: "button", ...t, "data-tx": "0.34.0", ref: o }));
|
|
4
4
|
e.displayName = "ButtonBase";
|
|
5
5
|
export {
|
|
6
6
|
e as ButtonBase
|
|
@@ -6,12 +6,12 @@ import Z, { useRef as I, useState as q, createElement as B } from "react";
|
|
|
6
6
|
import { c as w, u as F } from "../../chunks/vendor-z35N2Tap.js";
|
|
7
7
|
import { DotshorizontalStrokeSrvIcon32 as V, DotshorizontalStrokeSrvIcon24 as J, DotshorizontalStrokeSrvIcon20 as Q, CaretdownStrokeSrvIcon24 as X, CaretdownStrokeSrvIcon20 as $, CaretdownStrokeSrvIcon16 as oo } from "@sberbusiness/icons-next";
|
|
8
8
|
import { ButtonDropdownExtended as y } from "./ButtonDropdownExtended.js";
|
|
9
|
-
import { EButtonDotsTheme as N, EButtonTheme as
|
|
9
|
+
import { EButtonDotsTheme as N, EButtonTheme as l } from "./enums.js";
|
|
10
10
|
import { isKey as D } from "../../utils/keyboard.js";
|
|
11
11
|
import { DropdownListContext as to } from "../Dropdown/DropdownListContext.js";
|
|
12
12
|
import "../Dropdown/desktop/DropdownDesktop.js";
|
|
13
13
|
import { DropdownList as g } from "../Dropdown/desktop/DropdownList.js";
|
|
14
|
-
import "../../chunks/DropdownListItem-
|
|
14
|
+
import "../../chunks/DropdownListItem-Cspd56Yl.js";
|
|
15
15
|
import { EDropdownAlignment as ro, EDropdownWidth as eo } from "../Dropdown/desktop/enums.js";
|
|
16
16
|
import "../Dropdown/mobile/DropdownMobile.js";
|
|
17
17
|
import { DropdownMobileBody as no } from "../Dropdown/mobile/DropdownMobileBody.js";
|
|
@@ -24,14 +24,14 @@ import { DropdownMobileList as so } from "../Dropdown/mobile/DropdownMobileList.
|
|
|
24
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
|
-
import { EComponentSize as
|
|
27
|
+
import { EComponentSize as d } from "../../enums/EComponentSize.js";
|
|
28
28
|
import "../Dropdown/Dropdown.js";
|
|
29
29
|
import { ETextSize as mo } from "../Typography/enums.js";
|
|
30
30
|
import "../Typography/Caption.js";
|
|
31
31
|
import "../Typography/CodeText.js";
|
|
32
32
|
import { Text as lo } from "../Typography/Text.js";
|
|
33
33
|
import "../Typography/Title.js";
|
|
34
|
-
const uo = "
|
|
34
|
+
const uo = "buttonDropdown__aeb42477", po = "block__ea1908af", Do = "buttonDropdownTarget__845e74e7", fo = "dots__c211fe45", wo = "caretIcon__af7a5565", bo = "active__bc72284e", So = "buttonDropdownMenuItem__39551161", n = {
|
|
35
35
|
buttonDropdown: uo,
|
|
36
36
|
block: po,
|
|
37
37
|
buttonDropdownTarget: Do,
|
|
@@ -40,13 +40,13 @@ const uo = "buttonDropdown__98215e35", po = "block__0672f9ec", Do = "buttonDropd
|
|
|
40
40
|
active: bo,
|
|
41
41
|
buttonDropdownMenuItem: So
|
|
42
42
|
}, _o = {
|
|
43
|
-
[
|
|
44
|
-
[
|
|
45
|
-
[
|
|
43
|
+
[d.SM]: /* @__PURE__ */ t(Q, { paletteIndex: 0 }),
|
|
44
|
+
[d.MD]: /* @__PURE__ */ t(J, { paletteIndex: 0 }),
|
|
45
|
+
[d.LG]: /* @__PURE__ */ t(V, { paletteIndex: 0 })
|
|
46
46
|
}, L = {
|
|
47
|
-
[
|
|
48
|
-
[
|
|
49
|
-
[
|
|
47
|
+
[d.SM]: (a) => /* @__PURE__ */ t(oo, { paletteIndex: a, className: n.caretIcon }),
|
|
48
|
+
[d.MD]: (a) => /* @__PURE__ */ t($, { paletteIndex: a, className: n.caretIcon }),
|
|
49
|
+
[d.LG]: (a) => /* @__PURE__ */ t(X, { paletteIndex: a, className: n.caretIcon })
|
|
50
50
|
}, Io = Z.forwardRef(
|
|
51
51
|
(a, f) => {
|
|
52
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 }) => {
|
|
@@ -83,7 +83,7 @@ const uo = "buttonDropdown__98215e35", po = "block__0672f9ec", Do = "buttonDropd
|
|
|
83
83
|
M,
|
|
84
84
|
{
|
|
85
85
|
className: c,
|
|
86
|
-
theme: u === N.DOTS_SECONDARY ?
|
|
86
|
+
theme: u === N.DOTS_SECONDARY ? l.SECONDARY : l.SECONDARY_LIGHT,
|
|
87
87
|
size: s,
|
|
88
88
|
onKeyDown: O({ opened: o, setOpened: e }),
|
|
89
89
|
onClick: k({ opened: o, setOpened: e }),
|
|
@@ -102,11 +102,11 @@ const uo = "buttonDropdown__98215e35", po = "block__0672f9ec", Do = "buttonDropd
|
|
|
102
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);
|
|
103
103
|
}, K = () => {
|
|
104
104
|
switch (u) {
|
|
105
|
-
case
|
|
106
|
-
case
|
|
105
|
+
case l.GENERAL:
|
|
106
|
+
case l.DANGER:
|
|
107
107
|
return L[s](7);
|
|
108
|
-
case
|
|
109
|
-
case
|
|
108
|
+
case l.SECONDARY:
|
|
109
|
+
case l.SECONDARY_LIGHT:
|
|
110
110
|
return L[s](0);
|
|
111
111
|
default:
|
|
112
112
|
return null;
|
|
@@ -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__1c6e7f94", S = "buttonDropdownExtendedBlock__b1cf304e", E = {
|
|
8
8
|
buttonDropdownExtended: K,
|
|
9
9
|
buttonDropdownExtendedBlock: S
|
|
10
10
|
}, D = (s) => {
|
|
11
|
-
const { className:
|
|
11
|
+
const { className: v, opened: x, setOpened: c, renderButton: b, 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 ? !!x : O, o = N(
|
|
12
12
|
(t) => {
|
|
13
13
|
if (m.current) {
|
|
14
14
|
c && c(t);
|
|
@@ -25,19 +25,19 @@ const K = "buttonDropdownExtended__93af55cb", S = "buttonDropdownExtendedBlock__
|
|
|
25
25
|
const n = r.code || r.keyCode;
|
|
26
26
|
e && (w(n, "ESCAPE") || p && w(n, "TAB")) && o(!1);
|
|
27
27
|
}, d = (r) => {
|
|
28
|
-
const n = u.current,
|
|
28
|
+
const n = u.current, i = l.current;
|
|
29
29
|
if (e) {
|
|
30
|
-
const
|
|
31
|
-
|
|
30
|
+
const a = r.target;
|
|
31
|
+
a && !(n != null && n.contains(a)) && !(i != null && i.contains(a)) && o(!1);
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
return document.addEventListener("keydown", t), document.addEventListener("mousedown", d), document.addEventListener("touchstart", d), () => {
|
|
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, v);
|
|
39
39
|
return /* @__PURE__ */ h("div", { className: B, ref: u, ...L, children: [
|
|
40
|
-
|
|
40
|
+
b({ opened: e, setOpened: o }),
|
|
41
41
|
k({
|
|
42
42
|
className: E.buttonDropdownExtendedBlock,
|
|
43
43
|
opened: e,
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import l from "react";
|
|
3
3
|
import { c as m } from "../../chunks/vendor-z35N2Tap.js";
|
|
4
4
|
import { EButtonIconShape as t } from "./enums.js";
|
|
5
5
|
import { IconWrapper as p } from "../IconWrapper/IconWrapper.js";
|
|
6
|
-
const I = "
|
|
6
|
+
const I = "buttonIcon__acef853f", _ = "circle__56ad6334", f = "squircle__87baa7d3", o = {
|
|
7
7
|
buttonIcon: I,
|
|
8
8
|
circle: _,
|
|
9
9
|
squircle: f
|
|
10
10
|
}, b = {
|
|
11
11
|
[t.SQUIRCLE]: o.squircle,
|
|
12
12
|
[t.CIRCLE]: o.circle
|
|
13
|
-
}, C =
|
|
14
|
-
({ className: r, disabled: c, shape: s = t.SQUIRCLE, active: e, ...
|
|
15
|
-
const
|
|
16
|
-
return /* @__PURE__ */ n(p, { displayContents: !0, disabled: c, active: e, children: /* @__PURE__ */ n("button", { type: "button", className:
|
|
13
|
+
}, C = l.forwardRef(
|
|
14
|
+
({ className: r, disabled: c, shape: s = t.SQUIRCLE, active: e, ...a }, i) => {
|
|
15
|
+
const u = m(o.buttonIcon, b[s], r);
|
|
16
|
+
return /* @__PURE__ */ n(p, { displayContents: !0, disabled: c, active: e, children: /* @__PURE__ */ n("button", { type: "button", className: u, disabled: c, ...a, ref: i }) });
|
|
17
17
|
}
|
|
18
18
|
);
|
|
19
19
|
C.displayName = "ButtonIcon";
|
|
@@ -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__0162d0ca", L = "extraBottom__cf96ca84", U = "adaptive__0af324d0", 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.34.0", children: /* @__PURE__ */ T(
|
|
147
147
|
B.Provider,
|
|
148
148
|
{
|
|
149
149
|
value: {
|