@sberbusiness/triplex-next 0.15.0 → 0.17.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-DnMeoMRa.js +39 -0
- package/chunks/{CalendarViewItem-C4iZEwoX.js → CalendarViewItem-DJCvUxM5.js} +12 -12
- package/chunks/Card.module-CMUnMJ_k.js +17 -0
- package/chunks/CheckboxTreeExtended.module-CggPosrf.js +14 -0
- package/chunks/{Chip-CQvFfbck.js → Chip-NCNX4aqk.js} +14 -14
- package/chunks/Confirm.module-BYcKID70.js +15 -0
- package/chunks/{DropdownListItem-CcCakDyr.js → DropdownListItem-BuR89hPJ.js} +19 -19
- package/chunks/DropdownMobile.module-D1kNUx6-.js +23 -0
- package/chunks/Footer.module-cBu_SV2P.js +9 -0
- package/chunks/FormFieldInput-EYc8oHbI.js +60 -0
- package/chunks/HeaderLayoutSidebar.module-QC9-L6FM.js +9 -0
- package/chunks/HeaderTabs.module-Bg8pE2hc.js +9 -0
- package/chunks/{HeaderTitle.module-BVJYOrCs.js → HeaderTitle.module-BEtGrxIR.js} +2 -2
- package/chunks/IslandAccordion.module-vTFelMzP.js +25 -0
- package/chunks/IslandWidgetFooter.module-CM5h0W7b.js +9 -0
- package/chunks/IslandWidgetHeader.module-C5Me9IIL.js +12 -0
- package/chunks/{LightBoxContent-MLggVllJ.js → LightBoxContent-tmFMe3Jq.js} +14 -14
- package/chunks/LightBoxControls.module-p6sqZFX7.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-BqbeiAEG.js +8 -0
- package/chunks/{ListItemControlsButton-BShMlm2B.js → ListItemControlsButton-CDYgneeE.js} +10 -10
- package/chunks/ListItemTail.module-BpGKcI6W.js +12 -0
- package/chunks/ListMasterFooter.module-B7YGTi33.js +10 -0
- package/chunks/ModalWindow.module-ZH4YBn7A.js +17 -0
- package/chunks/Notification.module-_VFcjKv9.js +21 -0
- package/chunks/Overlay.module-DJfkOjXa.js +18 -0
- package/chunks/Page.module-hM20h-I6.js +11 -0
- package/chunks/{RightBorderArrow-CxMqoJOA.js → RightBorderArrow-_zjTHek_.js} +4 -4
- package/chunks/SMSField.module-CY9R7ACZ.js +16 -0
- package/chunks/SliderExtendedMarks.module-CcgK2mu-.js +15 -0
- package/chunks/SliderExtendedRail-aR4aPOcb.js +40 -0
- package/chunks/StatusTracker.module-s_qiteNu.js +24 -0
- package/chunks/SuggestFieldMobileDropdownHint-BLvUyupa.js +14 -0
- package/chunks/TableFooter.module-XxoB1ydg.js +14 -0
- package/chunks/TabsExtended.module-Ce6tDS2A.js +16 -0
- package/chunks/TabsLine.module-YxNiuXB5.js +21 -0
- package/chunks/TooltipDesktop.module-CyeERXWq.js +19 -0
- package/chunks/TreeView.module-DV2mpAEi.js +9 -0
- package/chunks/{UploadZoneInput-DRVoNz0G.js → UploadZoneInput-BuIUwilQ.js} +5 -5
- package/chunks/{constants-C0-h2pRq.js → constants-BG01GOrx.js} +2 -2
- package/chunks/{utils-DYe-VisL.js → utils-C3Drcn94.js} +10 -10
- package/chunks/utils-DT0zStlo.js +73 -0
- package/chunks/utils-DYuqi1kC.js +24 -0
- package/chunks/{utils-qhEFBj7O.js → utils-uktTSRz4.js} +4 -4
- package/chunks/{vendor-CalMVkfj.js → vendor-DE8Zvm0w.js} +5 -5
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +4 -4
- package/components/Alert/AlertContext/AlertContext.js +13 -13
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +3 -3
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +18 -18
- package/components/Badge/Badge.js +26 -13
- package/components/Badge/BadgeDot.js +15 -0
- package/components/Badge/components/BadgeContent.js +35 -0
- package/components/Badge/components/BadgePostfix.js +14 -0
- package/components/Badge/components/BadgePrefix.js +10 -0
- package/components/Body/Body.js +6 -6
- package/components/Button/Button.js +25 -25
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +12 -12
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +4 -4
- package/components/Calendar/Calendar.js +6 -6
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +4 -4
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- 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 +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +5 -5
- package/components/Checkbox/Checkbox.js +14 -14
- package/components/Checkbox/CheckboxXGroup.js +13 -13
- package/components/Checkbox/CheckboxYGroup.js +4 -4
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +5 -5
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +7 -7
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +5 -5
- package/components/Chip/ChipSelect/ChipSelect.js +2 -2
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +51 -42
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +18 -18
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +12 -12
- package/components/Col/Col.js +141 -141
- package/components/CollapsableTree/components/CollapsableTreeNode.js +19 -19
- package/components/Confirm/Confirm.js +2 -2
- package/components/Confirm/components/ConfirmCloseButton.js +2 -2
- package/components/Confirm/components/ConfirmContent.js +2 -2
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/DateField/DateField.js +1 -1
- package/components/DateField/DateFieldTarget.js +29 -28
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +2 -2
- package/components/DateRange/DateRange.js +5 -5
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/Divider/Divider.js +18 -18
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +9 -9
- package/components/Dropdown/desktop/DropdownDesktop.js +12 -12
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- 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 +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +5 -5
- package/components/ExpandAnimation/ExpandAnimation.js +13 -13
- package/components/ExpandAnimation/index.js +5 -0
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +2 -2
- package/components/Footer/components/FooterDescriptionContent.js +2 -2
- package/components/Footer/components/FooterDescriptionControls.js +2 -2
- package/components/FormField/FormField.js +16 -16
- package/components/FormField/components/FormFieldClear.js +9 -9
- package/components/FormField/components/FormFieldCounter.js +3 -3
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +14 -14
- package/components/FormField/components/FormFieldMaskedInput.js +28 -28
- package/components/FormField/components/FormFieldPostfix.js +4 -4
- package/components/FormField/components/FormFieldPrefix.js +6 -6
- package/components/FormField/components/FormFieldTarget.js +18 -18
- package/components/FormField/components/FormFieldTextarea.js +16 -16
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +4 -4
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +39 -38
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +5 -5
- package/components/Island/components/IslandFooter.js +2 -2
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +8 -8
- package/components/IslandWidget/IslandWidget.js +7 -7
- package/components/IslandWidget/components/IslandWidgetBody.js +4 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +8 -8
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +7 -7
- package/components/LightBox/LightBox.js +20 -21
- package/components/LightBox/LightBoxContent.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxClose.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxControls.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxNext.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +70 -72
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/index.js +0 -2
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +5 -5
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/LightBox/index.js +0 -2
- package/components/Link/Link.js +17 -17
- package/components/List/List.js +9 -9
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +7 -7
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +10 -10
- package/components/List/components/ListItemControls.js +6 -6
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +3 -3
- package/components/List/components/ListItemSelectable.js +2 -2
- package/components/List/components/ListItemTable.js +9 -9
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +2 -2
- package/components/List/components/ListSortableItemControls.js +2 -2
- package/components/List/components/ListSortableItemTarget.js +7 -7
- 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 +7 -7
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +2 -2
- package/components/ListMaster/components/SelectionControls.js +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +10 -10
- package/components/Loader/LoaderSmall/LoaderSmall.js +11 -11
- package/components/LoaderScreen/LoaderScreen.js +7 -7
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +11 -11
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +5 -5
- package/components/ModalWindow/components/ModalWindowClose.js +4 -4
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +3 -3
- package/components/ModalWindow/components/ModalWindowViewManager.js +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +6 -6
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyContent.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- 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/NotificationIcon/NotificationIcon.js +2 -2
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +6 -6
- package/components/OrderedList/OrderedListItem.js +11 -11
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +2 -2
- package/components/Page/components/BodyPage.js +11 -11
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +2 -2
- package/components/Pagination/components/PaginationPageEllipsis.js +5 -5
- package/components/Pagination/components/PaginationSelect.js +15 -15
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +11 -11
- package/components/Radio/RadioXGroup.js +12 -12
- package/components/Radio/RadioYGroup.js +7 -7
- package/components/Row/Row.js +10 -10
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +3 -3
- package/components/SMSField/components/SMSFieldRefresh.js +2 -2
- package/components/SMSField/components/SMSFieldSubmit.js +2 -2
- package/components/SMSField/components/SMSFieldTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +5 -5
- package/components/SegmentedControl/SegmentedControlSegment.js +6 -6
- package/components/SelectExtendedField/SelectExtendedField.js +9 -9
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +15 -15
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +14 -14
- package/components/SelectField/SelectField.js +5 -5
- package/components/Skeleton/Skeleton.js +9 -9
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +2 -2
- package/components/SliderExtended/components/SliderExtendedRail.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +9 -9
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +22 -22
- package/components/SmallInput/SmallInput.js +5 -5
- package/components/Spoiler/Spoiler.js +7 -7
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +2 -2
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +2 -2
- package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
- package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
- package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
- package/components/StatusTracker/components/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/Step/Step.js +8 -8
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +9 -9
- package/components/Stepper/StepperExtended.js +2 -2
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +5 -5
- package/components/Suggest/SuggestMobileDropdownContent.js +14 -14
- package/components/Suggest/useSuggest.js +3 -3
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +12 -12
- 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 +3 -3
- package/components/Table/FilterPanel.js +6 -6
- package/components/Table/MasterTable.js +18 -18
- package/components/Table/NoColumns.js +2 -2
- package/components/Table/PaginationPanel.js +3 -3
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +6 -6
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +5 -5
- package/components/Table/TableFooter/TableFooter.js +2 -2
- 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/TabsLinePanel.js +6 -6
- package/components/Table/TabsLinePanelLinks.js +2 -2
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +16 -16
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +14 -14
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +3 -3
- package/components/Tag/Tag.js +28 -28
- package/components/TagColor/TagColor.js +11 -11
- package/components/TagGroup/TagGroup.js +11 -11
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +4 -4
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +13 -13
- package/components/TopOverlay/TopOverlay.js +23 -23
- package/components/TreeView/TreeView.js +2 -2
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +2 -2
- package/components/Typography/Caption.js +19 -19
- package/components/Typography/Text.js +25 -25
- package/components/Typography/Title.js +26 -26
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +8 -8
- package/components/UnorderedList/UnorderedListItem.js +7 -7
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +162 -162
- package/index.d.ts +40 -13
- package/index.js +161 -161
- package/package.json +5 -1
- package/styles/triplex-next.css +546 -546
- package/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-DwZ5kXLz.js +0 -39
- package/chunks/Card.module-DnZ_SmT7.js +0 -17
- package/chunks/CheckboxTreeExtended.module-CRE6yTt5.js +0 -14
- package/chunks/Confirm.module-BrVl-yob.js +0 -15
- package/chunks/DropdownMobile.module-af6OVs0G.js +0 -23
- package/chunks/Footer.module-tAG-SN8m.js +0 -9
- package/chunks/FormFieldInput-M-BWeUyG.js +0 -60
- package/chunks/HeaderLayoutSidebar.module-Dx11MAi3.js +0 -9
- package/chunks/HeaderTabs.module-HGiK1PZg.js +0 -9
- package/chunks/IslandAccordion.module-BRmaipCD.js +0 -25
- package/chunks/IslandWidgetFooter.module-BXn6GbbA.js +0 -9
- package/chunks/IslandWidgetHeader.module-D3zGpkS_.js +0 -12
- package/chunks/LightBoxControls.module-zJ2jYB7p.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-DjqVi-v8.js +0 -8
- package/chunks/ListItemTail.module-BBVRXBTR.js +0 -12
- package/chunks/ListMasterFooter.module-8-LOEhYM.js +0 -10
- package/chunks/ModalWindow.module-uM-PCOaZ.js +0 -17
- package/chunks/Notification.module-B7fXFvwU.js +0 -21
- package/chunks/Overlay.module-Dtk3whPQ.js +0 -18
- package/chunks/Page.module-CoeirpZV.js +0 -11
- package/chunks/SMSField.module-wdtLV1SH.js +0 -16
- package/chunks/SliderExtendedMarks.module-ll3UD_YO.js +0 -15
- package/chunks/SliderExtendedRail-BdLhibqT.js +0 -40
- package/chunks/StatusTracker.module-DrbWwUtn.js +0 -24
- package/chunks/SuggestFieldMobileDropdownHint-C5OdORCu.js +0 -14
- package/chunks/TableFooter.module-BDsK8o22.js +0 -14
- package/chunks/TabsExtended.module-jfDq5xSa.js +0 -16
- package/chunks/TabsLine.module-BnotsPff.js +0 -21
- package/chunks/TooltipDesktop.module-CAL6IPaE.js +0 -19
- package/chunks/TreeView.module-BYyI_lNS.js +0 -9
- package/chunks/utils-Bdg4Vfo1.js +0 -24
- package/chunks/utils-DykNYdbk.js +0 -73
- package/components/LightBox/LightBoxSideOverlay/enums.js +0 -5
package/components/Tabs/Tabs.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as s, jsxs as y } from "react/jsx-runtime";
|
|
2
2
|
import { useState as l, useRef as D } from "react";
|
|
3
|
-
import { TabsExtended as
|
|
3
|
+
import { TabsExtended as a } from "../TabsExtended/TabsExtended.js";
|
|
4
4
|
import "../TabsExtended/components/TabsExtendedContent.js";
|
|
5
|
-
import { c as W } from "../../chunks/vendor-
|
|
5
|
+
import { c as W } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
6
6
|
import "../TabsExtended/TabsExtendedContext.js";
|
|
7
7
|
import "../TabsExtended/components/TabsExtendedTab.js";
|
|
8
8
|
import "../TabsExtended/components/TabsExtendedTabButton.js";
|
|
@@ -15,13 +15,13 @@ import "../Button/ButtonDropdownExtended.js";
|
|
|
15
15
|
import { EButtonDotsTheme as j } from "../Button/enums.js";
|
|
16
16
|
import { EComponentSize as K } from "../../enums/EComponentSize.js";
|
|
17
17
|
import { isKey as _ } from "../../utils/keyboard.js";
|
|
18
|
-
const k = "
|
|
18
|
+
const k = "tabsContent__0aea9667", G = "tabButtonDropdown__97a93bf8", H = "sm__8f28d9b5", L = "md__1dc95608", M = "lg__6b455b2a", p = {
|
|
19
19
|
tabsContent: k,
|
|
20
20
|
tabButtonDropdown: G,
|
|
21
21
|
sm: H,
|
|
22
22
|
md: L,
|
|
23
23
|
lg: M
|
|
24
|
-
},
|
|
24
|
+
}, ao = ({
|
|
25
25
|
buttonDropdownAttributes: C,
|
|
26
26
|
selectedId: i,
|
|
27
27
|
onSelectTab: h,
|
|
@@ -29,13 +29,13 @@ const k = "tabsContent__5a295da9", G = "tabButtonDropdown__f4b963ae", H = "sm__d
|
|
|
29
29
|
tabs: t,
|
|
30
30
|
...v
|
|
31
31
|
}) => {
|
|
32
|
-
const [w, m] = l(i || t[0].id), [R, A] = l(""), [F, I] = l(""), d = D(null),
|
|
32
|
+
const [w, m] = l(i || t[0].id), [R, A] = l(""), [F, I] = l(""), d = D(null), u = D(null), S = ({ dropdownItemsIds: n, onSelectTab: o }) => t.filter((e) => n.includes(e.id)).map((e) => ({ ...e, onSelect: () => o(e.id) })), B = (n, o) => /* @__PURE__ */ s(a.Content.Tab, { ...n, children: ({ selected: e, isFirstInlineTab: N, isLastInlineTab: g }) => {
|
|
33
33
|
const E = w === n.id ? 0 : -1, O = () => {
|
|
34
34
|
let r;
|
|
35
|
-
return R === n.id ? r = d : F === n.id && (r =
|
|
35
|
+
return R === n.id ? r = d : F === n.id && (r = u), r;
|
|
36
36
|
};
|
|
37
|
-
return /* @__PURE__ */
|
|
38
|
-
|
|
37
|
+
return /* @__PURE__ */ s(
|
|
38
|
+
a.Content.TabButton,
|
|
39
39
|
{
|
|
40
40
|
selected: e,
|
|
41
41
|
tabIndex: E,
|
|
@@ -46,17 +46,17 @@ const k = "tabsContent__5a295da9", G = "tabButtonDropdown__f4b963ae", H = "sm__d
|
|
|
46
46
|
A(t[o - 1] ? t[o - 1].id : ""), I(t[o + 1] ? t[o + 1].id : "");
|
|
47
47
|
},
|
|
48
48
|
onKeyDown: (r) => {
|
|
49
|
-
var
|
|
50
|
-
const { key:
|
|
51
|
-
_(
|
|
49
|
+
var b, T;
|
|
50
|
+
const { key: f } = r;
|
|
51
|
+
_(f, "ARROW_LEFT") ? (N || (m(t[o - 1].id), (b = d.current) == null || b.focus()), r.preventDefault()) : _(f, "ARROW_RIGHT") && (g || (m(t[o + 1].id), (T = u.current) == null || T.focus()), r.preventDefault());
|
|
52
52
|
},
|
|
53
53
|
children: n.label
|
|
54
54
|
}
|
|
55
55
|
);
|
|
56
56
|
} }, o);
|
|
57
|
-
return /* @__PURE__ */ a
|
|
58
|
-
/* @__PURE__ */ a
|
|
59
|
-
/* @__PURE__ */ a
|
|
57
|
+
return /* @__PURE__ */ s(a, { ...v, selectedId: i, onSelectTab: h, children: /* @__PURE__ */ y(a.Content, { className: p.tabsContent, size: c, children: [
|
|
58
|
+
/* @__PURE__ */ s(a.Content.TabsWrapper, { children: t.map(B) }),
|
|
59
|
+
/* @__PURE__ */ s(a.Content.DropdownWrapper, { children: ({ dropdownItemsIds: n, onSelectTab: o }) => /* @__PURE__ */ s(
|
|
60
60
|
x,
|
|
61
61
|
{
|
|
62
62
|
theme: j.DOTS_SECONDARY,
|
|
@@ -72,6 +72,6 @@ const k = "tabsContent__5a295da9", G = "tabButtonDropdown__f4b963ae", H = "sm__d
|
|
|
72
72
|
] }) });
|
|
73
73
|
};
|
|
74
74
|
export {
|
|
75
|
-
|
|
75
|
+
ao as Tabs
|
|
76
76
|
};
|
|
77
77
|
//# sourceMappingURL=Tabs.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { useState as r, useRef as T } from "react";
|
|
3
|
-
import { c as b } from "../../chunks/vendor-
|
|
3
|
+
import { c as b } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
4
4
|
import { TabsExtendedContext as E } from "./TabsExtendedContext.js";
|
|
5
5
|
import { TabsExtendedContent as I } from "./components/TabsExtendedContent.js";
|
|
6
|
-
import { s as u } from "../../chunks/TabsExtended.module-
|
|
6
|
+
import { s as u } from "../../chunks/TabsExtended.module-Ce6tDS2A.js";
|
|
7
7
|
import { ETabsExtendedType as C } from "./enums.js";
|
|
8
|
-
import { t as v } from "../../chunks/utils-
|
|
8
|
+
import { t as v } from "../../chunks/utils-C3Drcn94.js";
|
|
9
9
|
import "./components/TabsExtendedDropdownWrapper.js";
|
|
10
10
|
import "./components/TabsExtendedTab.js";
|
|
11
11
|
import "./components/TabsExtendedTabButton.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { c as m } from "../../../chunks/vendor-
|
|
2
|
+
import { c as m } from "../../../chunks/vendor-DE8Zvm0w.js";
|
|
3
3
|
import { TabsExtendedTabsWrapper as n } from "./TabsExtendedTabsWrapper.js";
|
|
4
4
|
import { TabsExtendedTab as d } from "./TabsExtendedTab.js";
|
|
5
5
|
import { TabsExtendedTabButton as i } from "./TabsExtendedTabButton.js";
|
|
6
6
|
import { EComponentSize as T } from "../../../enums/EComponentSize.js";
|
|
7
7
|
import { TabsExtendedDropdownWrapper as b } from "./TabsExtendedDropdownWrapper.js";
|
|
8
|
-
import { s as r } from "../../../chunks/TabsExtended.module-
|
|
8
|
+
import { s as r } from "../../../chunks/TabsExtended.module-Ce6tDS2A.js";
|
|
9
9
|
import { createSizeToClassNameMap as f } from "../../../utils/classNameMaps.js";
|
|
10
10
|
import "./TabsExtendedTabContext.js";
|
|
11
11
|
const x = f(r), o = ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as m } from "react";
|
|
3
|
-
import { s as p } from "../../../chunks/TabsExtended.module-
|
|
4
|
-
import { c as a } from "../../../chunks/vendor-
|
|
3
|
+
import { s as p } from "../../../chunks/TabsExtended.module-Ce6tDS2A.js";
|
|
4
|
+
import { c as a } from "../../../chunks/vendor-DE8Zvm0w.js";
|
|
5
5
|
import { TabsExtendedContext as i } from "../TabsExtendedContext.js";
|
|
6
6
|
const w = ({
|
|
7
7
|
children: e,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as x } from "react/jsx-runtime";
|
|
2
2
|
import f, { useContext as o } from "react";
|
|
3
|
-
import { s as r } from "../../../chunks/TabsExtended.module-
|
|
4
|
-
import { c as I } from "../../../chunks/vendor-
|
|
3
|
+
import { s as r } from "../../../chunks/TabsExtended.module-Ce6tDS2A.js";
|
|
4
|
+
import { c as I } from "../../../chunks/vendor-DE8Zvm0w.js";
|
|
5
5
|
import { TabsExtendedContext as u } from "../TabsExtendedContext.js";
|
|
6
6
|
import { TabsExtendedTabContext as E } from "./TabsExtendedTabContext.js";
|
|
7
7
|
const h = f.forwardRef(
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as p, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import x, { useContext as b } from "react";
|
|
3
|
-
import { c as f } from "../../../chunks/vendor-
|
|
3
|
+
import { c as f } from "../../../chunks/vendor-DE8Zvm0w.js";
|
|
4
4
|
import { EComponentSize as T } from "../../../enums/EComponentSize.js";
|
|
5
|
-
import { s as t, t as l, a as u } from "../../../chunks/utils-
|
|
5
|
+
import { s as t, t as l, a as u } from "../../../chunks/utils-C3Drcn94.js";
|
|
6
6
|
import { TabsExtendedContext as E } from "../TabsExtendedContext.js";
|
|
7
7
|
import { Text as N } from "../../Typography/Text.js";
|
|
8
8
|
import { NotificationIcon as y } from "../../NotificationIcon/NotificationIcon.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as k, Fragment as y, jsx as f } from "react/jsx-runtime";
|
|
2
2
|
import a, { useContext as A, useState as D, useRef as g, useLayoutEffect as R, isValidElement as B } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { a as F, c as N, p as z } from "../../../chunks/vendor-DE8Zvm0w.js";
|
|
4
4
|
import { TabsExtendedContext as j } from "../TabsExtendedContext.js";
|
|
5
5
|
import { TabsExtendedTabContext as P } from "./TabsExtendedTabContext.js";
|
|
6
|
-
import { s as l } from "../../../chunks/TabsExtended.module-
|
|
6
|
+
import { s as l } from "../../../chunks/TabsExtended.module-Ce6tDS2A.js";
|
|
7
7
|
const G = ({
|
|
8
8
|
children: s,
|
|
9
9
|
className: C,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./enums.js";
|
|
2
2
|
import "../../enums/EComponentSize.js";
|
|
3
|
-
import { a as s, t as i } from "../../chunks/utils-
|
|
3
|
+
import { a as s, t as i } from "../../chunks/utils-C3Drcn94.js";
|
|
4
4
|
import "../Typography/enums.js";
|
|
5
5
|
export {
|
|
6
6
|
s as tabsExtendedSizeToTextSizeMap,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { c as b } from "../../chunks/vendor-
|
|
2
|
+
import { c as b } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
3
3
|
import { MobileView as c } from "../MobileView/MobileView.js";
|
|
4
4
|
import { TabsLineDesktop as d } from "./components/TabsLineDesktop.js";
|
|
5
5
|
import { TabsLineMobile as x } from "./components/TabsLineMobile.js";
|
|
6
|
-
import { s as m } from "../../chunks/TabsLine.module-
|
|
6
|
+
import { s as m } from "../../chunks/TabsLine.module-YxNiuXB5.js";
|
|
7
7
|
import "./components/TabsLineDropdown.js";
|
|
8
8
|
import "./components/TabsLineItem.js";
|
|
9
9
|
const v = ({
|
|
@@ -3,8 +3,8 @@ import { useState as D, useRef as T, useEffect as N } from "react";
|
|
|
3
3
|
import { TabsLineDropdown as S } from "./TabsLineDropdown.js";
|
|
4
4
|
import { TabsLineItem as k } from "./TabsLineItem.js";
|
|
5
5
|
import { isKey as u } from "../../../utils/keyboard.js";
|
|
6
|
-
import { l as L } from "../../../chunks/vendor-
|
|
7
|
-
import { s as J } from "../../../chunks/TabsLine.module-
|
|
6
|
+
import { l as L } from "../../../chunks/vendor-DE8Zvm0w.js";
|
|
7
|
+
import { s as J } from "../../../chunks/TabsLine.module-YxNiuXB5.js";
|
|
8
8
|
const $ = ({
|
|
9
9
|
tabs: l,
|
|
10
10
|
dropdownTargetHtmlAttributes: g,
|
|
@@ -3,11 +3,11 @@ var k = (p, r, e) => r in p ? A(p, r, { enumerable: !0, configurable: !0, writab
|
|
|
3
3
|
var t = (p, r, e) => k(p, typeof r != "symbol" ? r + "" : r, e);
|
|
4
4
|
import { jsxs as g, jsx as d } from "react/jsx-runtime";
|
|
5
5
|
import v, { createElement as O } from "react";
|
|
6
|
-
import {
|
|
6
|
+
import { u as x, c as C } from "../../../chunks/vendor-DE8Zvm0w.js";
|
|
7
7
|
import { DropdownListContext as E } from "../../Dropdown/DropdownListContext.js";
|
|
8
8
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
9
9
|
import { DropdownList as N } from "../../Dropdown/desktop/DropdownList.js";
|
|
10
|
-
import "../../../chunks/DropdownListItem-
|
|
10
|
+
import "../../../chunks/DropdownListItem-BuR89hPJ.js";
|
|
11
11
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
12
12
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
13
13
|
import "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -23,7 +23,7 @@ import { EComponentSize as M } from "../../../enums/EComponentSize.js";
|
|
|
23
23
|
import { Dropdown as y } from "../../Dropdown/Dropdown.js";
|
|
24
24
|
import { CaretdownStrokeSrvIcon16 as L } from "@sberbusiness/icons-next";
|
|
25
25
|
import { isKey as l } from "../../../utils/keyboard.js";
|
|
26
|
-
import { s as o } from "../../../chunks/TabsLine.module-
|
|
26
|
+
import { s as o } from "../../../chunks/TabsLine.module-YxNiuXB5.js";
|
|
27
27
|
import { createSizeToClassNameMap as z } from "../../../utils/classNameMaps.js";
|
|
28
28
|
import { Text as P } from "../../Typography/Text.js";
|
|
29
29
|
import { tabsLineSizeToTextSizeMap as K } from "../utils.js";
|
|
@@ -47,9 +47,9 @@ class De extends v.PureComponent {
|
|
|
47
47
|
});
|
|
48
48
|
/** Рендер кнопки, раскрывающей список. */
|
|
49
49
|
t(this, "renderTarget", () => {
|
|
50
|
-
const { active: e, label: s, targetHtmlAttributes:
|
|
50
|
+
const { active: e, label: s, targetHtmlAttributes: i, size: a = M.MD } = this.props, { activeDescendant: n, opened: h, focused: R, hovered: S } = this.state, m = C(o.tab, W[a], o.dropdownTarget, {
|
|
51
51
|
[o.active]: e
|
|
52
|
-
}), f = C(o.dropdownTargetCaret, { [o.opened]: h }), { onFocus: u, onBlur: w, onMouseEnter: D, onMouseLeave: T, ...b } =
|
|
52
|
+
}), f = C(o.dropdownTargetCaret, { [o.opened]: h }), { onFocus: u, onBlur: w, onMouseEnter: D, onMouseLeave: T, ...b } = i || {};
|
|
53
53
|
return /* @__PURE__ */ d(
|
|
54
54
|
"button",
|
|
55
55
|
{
|
|
@@ -79,7 +79,7 @@ class De extends v.PureComponent {
|
|
|
79
79
|
/* @__PURE__ */ d(
|
|
80
80
|
P,
|
|
81
81
|
{
|
|
82
|
-
size: K[
|
|
82
|
+
size: K[a],
|
|
83
83
|
type: e || R || S ? I.PRIMARY : I.SECONDARY,
|
|
84
84
|
children: s
|
|
85
85
|
}
|
|
@@ -91,20 +91,20 @@ class De extends v.PureComponent {
|
|
|
91
91
|
});
|
|
92
92
|
/** Рендер дропдаун списка. */
|
|
93
93
|
t(this, "renderDropdown", () => {
|
|
94
|
-
const { selected: e, tabs: s } = this.props, { activeDescendant:
|
|
94
|
+
const { selected: e, tabs: s } = this.props, { activeDescendant: i, opened: a } = this.state;
|
|
95
95
|
return /* @__PURE__ */ d(
|
|
96
96
|
y,
|
|
97
97
|
{
|
|
98
98
|
className: o.dropdown,
|
|
99
|
-
opened:
|
|
99
|
+
opened: a,
|
|
100
100
|
setOpened: this.setOpenedDropdown,
|
|
101
101
|
targetRef: this.targetRef,
|
|
102
102
|
ref: this.dropdownRef,
|
|
103
103
|
children: /* @__PURE__ */ d(
|
|
104
104
|
E.Provider,
|
|
105
105
|
{
|
|
106
|
-
value: { activeDescendant:
|
|
107
|
-
children: /* @__PURE__ */ d(N, { dropdownOpened:
|
|
106
|
+
value: { activeDescendant: i, setActiveDescendant: this.setActiveDescendant },
|
|
107
|
+
children: /* @__PURE__ */ d(N, { dropdownOpened: a, id: this.instanceId, children: s.map((n) => {
|
|
108
108
|
const { id: h, label: R, showNotificationIcon: S, ...m } = n, f = C(o.dropdownItem);
|
|
109
109
|
return /* @__PURE__ */ O(
|
|
110
110
|
N.Item,
|
|
@@ -138,8 +138,8 @@ class De extends v.PureComponent {
|
|
|
138
138
|
});
|
|
139
139
|
/** Обработчик клика по табу. */
|
|
140
140
|
t(this, "handleClickTab", (e) => {
|
|
141
|
-
const { onClickTab: s } = this.props, { opened:
|
|
142
|
-
s(e), this.setState({ opened: !
|
|
141
|
+
const { onClickTab: s } = this.props, { opened: i } = this.state;
|
|
142
|
+
s(e), this.setState({ opened: !i });
|
|
143
143
|
});
|
|
144
144
|
/** Обработчик нажатия клавиш по кнопке, раскрывающей список. */
|
|
145
145
|
t(this, "handleTargetKeyDown", (e) => {
|
|
@@ -148,9 +148,9 @@ class De extends v.PureComponent {
|
|
|
148
148
|
});
|
|
149
149
|
/** Обработчик клика вне дропдауна. */
|
|
150
150
|
t(this, "handleClickOutside", (e) => {
|
|
151
|
-
var
|
|
151
|
+
var i, a;
|
|
152
152
|
const { opened: s } = this.state;
|
|
153
|
-
s && !((
|
|
153
|
+
s && !((i = this.targetRef.current) != null && i.contains(e.target)) && !((a = this.dropdownRef.current) != null && a.contains(e.target)) && this.setState({ opened: !1 });
|
|
154
154
|
});
|
|
155
155
|
this.targetRef = v.createRef(), this.dropdownRef = v.createRef();
|
|
156
156
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import N, { useState as c, createElement as h } from "react";
|
|
3
|
-
import { c as y } from "../../../chunks/vendor-
|
|
3
|
+
import { c as y } from "../../../chunks/vendor-DE8Zvm0w.js";
|
|
4
4
|
import { EComponentSize as E } from "../../../enums/EComponentSize.js";
|
|
5
5
|
import { createSizeToClassNameMap as S } from "../../../utils/classNameMaps.js";
|
|
6
6
|
import { NotificationIcon as v } from "../../NotificationIcon/NotificationIcon.js";
|
|
7
|
-
import { s as e } from "../../../chunks/TabsLine.module-
|
|
7
|
+
import { s as e } from "../../../chunks/TabsLine.module-YxNiuXB5.js";
|
|
8
8
|
import { Text as x } from "../../Typography/Text.js";
|
|
9
9
|
import { tabsLineSizeToTextSizeMap as z } from "../utils.js";
|
|
10
10
|
import { EFontType as f } from "../../Typography/enums.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { TabsLineItem as t } from "./TabsLineItem.js";
|
|
3
|
-
const
|
|
4
|
-
tabsLineMobileWrapper:
|
|
5
|
-
tabsLineMobile:
|
|
3
|
+
const d = "tabsLineMobileWrapper__5166114d", p = "tabsLineMobile__e9cec02b", l = {
|
|
4
|
+
tabsLineMobileWrapper: d,
|
|
5
|
+
tabsLineMobile: p
|
|
6
6
|
}, u = ({ onChangeTab: r, selectedId: o, tabs: i }) => {
|
|
7
7
|
if (!i.length)
|
|
8
8
|
return null;
|
package/components/Tag/Tag.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import { jsx as o, jsxs as D } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
import { EditStrokeSrvIcon24 as
|
|
5
|
-
import { Text as
|
|
2
|
+
import E, { useCallback as S } from "react";
|
|
3
|
+
import { c as L } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
4
|
+
import { EditStrokeSrvIcon24 as N, EditStrokeSrvIcon20 as v, EditStrokeSrvIcon16 as y, CrossStrokeSrvIcon24 as z, CrossStrokeSrvIcon20 as G, CrossStrokeSrvIcon16 as h } from "@sberbusiness/icons-next";
|
|
5
|
+
import { Text as j } from "../Typography/Text.js";
|
|
6
6
|
import { ETextSize as I, EFontType as T } from "../Typography/enums.js";
|
|
7
7
|
import { ButtonIcon as _ } from "../Button/ButtonIcon.js";
|
|
8
|
-
import { createSizeToClassNameMap as
|
|
9
|
-
import { EComponentSize as
|
|
10
|
-
const
|
|
11
|
-
tag:
|
|
12
|
-
sm:
|
|
8
|
+
import { createSizeToClassNameMap as A } from "../../utils/classNameMaps.js";
|
|
9
|
+
import { EComponentSize as e } from "../../enums/EComponentSize.js";
|
|
10
|
+
const R = "tag__159ea68f", d = "sm__a8ae2467", w = "md__fcb159e0", F = "lg__ba178f8c", P = "content__586f5a4f", f = {
|
|
11
|
+
tag: R,
|
|
12
|
+
sm: d,
|
|
13
13
|
md: w,
|
|
14
14
|
lg: F,
|
|
15
15
|
content: P
|
|
16
|
-
}, Y =
|
|
17
|
-
[
|
|
18
|
-
[
|
|
19
|
-
[
|
|
16
|
+
}, Y = A(f), q = {
|
|
17
|
+
[e.SM]: I.B4,
|
|
18
|
+
[e.MD]: I.B3,
|
|
19
|
+
[e.LG]: I.B2
|
|
20
20
|
}, H = {
|
|
21
|
-
[
|
|
22
|
-
[
|
|
23
|
-
[
|
|
21
|
+
[e.SM]: /* @__PURE__ */ o(y, { paletteIndex: 5 }),
|
|
22
|
+
[e.MD]: /* @__PURE__ */ o(v, { paletteIndex: 5 }),
|
|
23
|
+
[e.LG]: /* @__PURE__ */ o(N, { paletteIndex: 5 })
|
|
24
24
|
}, J = {
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
28
|
-
}, b =
|
|
29
|
-
({ children: l, id: s, className: g, size:
|
|
25
|
+
[e.SM]: /* @__PURE__ */ o(h, { paletteIndex: 5 }),
|
|
26
|
+
[e.MD]: /* @__PURE__ */ o(G, { paletteIndex: 5 }),
|
|
27
|
+
[e.LG]: /* @__PURE__ */ o(z, { paletteIndex: 5 })
|
|
28
|
+
}, b = E.forwardRef(
|
|
29
|
+
({ children: l, id: s, className: g, size: r, disabled: n, onRemove: a, onEdit: c, removeButtonProps: x, editButtonProps: M, ...u }, C) => {
|
|
30
30
|
const k = S(() => {
|
|
31
31
|
const t = n ? T.DISABLED : T.PRIMARY;
|
|
32
|
-
return /* @__PURE__ */ o(
|
|
33
|
-
}, [l,
|
|
32
|
+
return /* @__PURE__ */ o(j, { className: f.content, type: t, size: q[r], children: l });
|
|
33
|
+
}, [l, r, n]), B = S(() => {
|
|
34
34
|
const { onClick: t, ...m } = M || {};
|
|
35
35
|
return /* @__PURE__ */ o(
|
|
36
36
|
_,
|
|
@@ -40,10 +40,10 @@ const A = "tag__d472fa6a", R = "sm__bc091d91", w = "md__d9fc1419", F = "lg__a2c1
|
|
|
40
40
|
c == null || c(s), t == null || t(p);
|
|
41
41
|
},
|
|
42
42
|
...m,
|
|
43
|
-
children: H[
|
|
43
|
+
children: H[r]
|
|
44
44
|
}
|
|
45
45
|
);
|
|
46
|
-
}, [s,
|
|
46
|
+
}, [s, r, n, M, c]), i = S(() => {
|
|
47
47
|
const { onClick: t, ...m } = x || {};
|
|
48
48
|
return /* @__PURE__ */ o(
|
|
49
49
|
_,
|
|
@@ -53,11 +53,11 @@ const A = "tag__d472fa6a", R = "sm__bc091d91", w = "md__d9fc1419", F = "lg__a2c1
|
|
|
53
53
|
a == null || a(s), t == null || t(p);
|
|
54
54
|
},
|
|
55
55
|
...m,
|
|
56
|
-
children: J[
|
|
56
|
+
children: J[r]
|
|
57
57
|
}
|
|
58
58
|
);
|
|
59
|
-
}, [s,
|
|
60
|
-
return /* @__PURE__ */ D("span", { className:
|
|
59
|
+
}, [s, r, n, x, a]);
|
|
60
|
+
return /* @__PURE__ */ D("span", { className: L(f.tag, Y[r], g), ...u, ref: C, children: [
|
|
61
61
|
k(),
|
|
62
62
|
c && B(),
|
|
63
63
|
i()
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
import { createSizeToClassNameMap as
|
|
2
|
+
import f from "react";
|
|
3
|
+
import { c as m } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
4
|
+
import { createSizeToClassNameMap as l } from "../../utils/classNameMaps.js";
|
|
5
5
|
import { ETagColorStatus as s } from "./enums.js";
|
|
6
|
-
const
|
|
7
|
-
tagColor:
|
|
6
|
+
const _ = "tagColor__f60d879a", i = "sm__5cadcb50", d = "md__59029ef0", g = "lg__f05321f6", p = "success__23c4bd17", C = "info__f3192fb0", u = "warning__7e5eac31", N = "error__25cdf54c", T = "content__11e48a87", o = {
|
|
7
|
+
tagColor: _,
|
|
8
8
|
sm: i,
|
|
9
|
-
md:
|
|
10
|
-
lg:
|
|
11
|
-
default: "
|
|
9
|
+
md: d,
|
|
10
|
+
lg: g,
|
|
11
|
+
default: "default__e7725da5",
|
|
12
12
|
success: p,
|
|
13
13
|
info: C,
|
|
14
14
|
warning: u,
|
|
15
15
|
error: N,
|
|
16
16
|
content: T
|
|
17
|
-
},
|
|
17
|
+
}, R = l(o), w = {
|
|
18
18
|
[s.DEFAULT]: o.default,
|
|
19
19
|
[s.SUCCESS]: o.success,
|
|
20
20
|
[s.INFO]: o.info,
|
|
21
21
|
[s.WARNING]: o.warning,
|
|
22
22
|
[s.ERROR]: o.error
|
|
23
|
-
}, F =
|
|
23
|
+
}, F = f.forwardRef(
|
|
24
24
|
({ children: a, className: c, size: r, status: n = s.DEFAULT, ...e }) => /* @__PURE__ */ t(
|
|
25
25
|
"span",
|
|
26
26
|
{
|
|
27
|
-
className:
|
|
27
|
+
className: m(o.tagColor, R[r], w[n], c),
|
|
28
28
|
...e,
|
|
29
29
|
children: /* @__PURE__ */ t("span", { className: o.content, children: a })
|
|
30
30
|
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import c from "react";
|
|
3
|
-
import { c as p } from "../../chunks/vendor-
|
|
4
|
-
import { createSizeToClassNameMap as
|
|
5
|
-
const
|
|
6
|
-
tagGroup:
|
|
7
|
-
sm:
|
|
3
|
+
import { c as p } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
4
|
+
import { createSizeToClassNameMap as f } from "../../utils/classNameMaps.js";
|
|
5
|
+
const g = "tagGroup__f31045ea", l = "sm__a035f78c", _ = "md__fa36bd0e", d = "lg__6ffdaec5", o = {
|
|
6
|
+
tagGroup: g,
|
|
7
|
+
sm: l,
|
|
8
8
|
md: _,
|
|
9
|
-
lg:
|
|
10
|
-
}, i =
|
|
11
|
-
({ children: s, className: a, size: r, ...t },
|
|
9
|
+
lg: d
|
|
10
|
+
}, i = f(o), N = c.forwardRef(
|
|
11
|
+
({ children: s, className: a, size: r, ...t }, m) => /* @__PURE__ */ e(
|
|
12
12
|
"div",
|
|
13
13
|
{
|
|
14
14
|
className: p(o.tagGroup, i[r], a),
|
|
15
15
|
role: "group",
|
|
16
16
|
...t,
|
|
17
|
-
ref:
|
|
17
|
+
ref: m,
|
|
18
18
|
children: s
|
|
19
19
|
}
|
|
20
20
|
)
|
|
21
21
|
);
|
|
22
22
|
export {
|
|
23
|
-
|
|
23
|
+
N as TagGroup
|
|
24
24
|
};
|
|
25
25
|
//# sourceMappingURL=TagGroup.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { F as r } from "../../chunks/FormFieldInput-
|
|
2
|
+
import { F as r } from "../../chunks/FormFieldInput-EYc8oHbI.js";
|
|
3
3
|
import { TextFieldBase as t } from "./TextFieldBase.js";
|
|
4
4
|
const m = ({ inputProps: i, ...o }) => /* @__PURE__ */ e(t, { ...o, children: /* @__PURE__ */ e(r, { ...i }) });
|
|
5
5
|
m.displayName = "TextField";
|
|
@@ -6,7 +6,7 @@ import "../FormField/components/FormFieldCounter.js";
|
|
|
6
6
|
import "../FormField/components/FormFieldLabel.js";
|
|
7
7
|
import "../FormField/components/FormFieldClear.js";
|
|
8
8
|
import "../FormField/components/FormFieldTarget.js";
|
|
9
|
-
import "../../chunks/FormFieldInput-
|
|
9
|
+
import "../../chunks/FormFieldInput-EYc8oHbI.js";
|
|
10
10
|
import "../FormField/components/FormFieldMaskedInput.js";
|
|
11
11
|
import "../FormField/components/FormFieldPostfix.js";
|
|
12
12
|
import "../FormField/components/FormFieldPrefix.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { useState as c, useEffect as i } from "react";
|
|
3
|
-
import { q as x, s as d, w as f } from "../../chunks/vendor-
|
|
3
|
+
import { q as x, s as d, w as f } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
4
4
|
import { DesignTokenUtils as S } from "../DesignTokens/DesignTokenUtils.js";
|
|
5
5
|
import { ThemeProviderView as h } from "./components/ThemeProviderView.js";
|
|
6
6
|
import { ETriplexNextTheme as u } from "./ETriplexNextTheme.js";
|
|
@@ -6,7 +6,7 @@ import { DesignTokensCore as D } from "../../DesignTokens/DesignTokensCore.js";
|
|
|
6
6
|
import { DesignTokensCoreThemeDark as d } from "../../DesignTokens/DesignTokensCoreThemeDark.js";
|
|
7
7
|
import { DesignTokensComponents as v } from "../../DesignTokens/DesignTokensComponents.js";
|
|
8
8
|
import { DesignTokensComponentsThemeDark as x } from "../../DesignTokens/DesignTokensComponentsThemeDark.js";
|
|
9
|
-
import { j as g } from "../../../chunks/vendor-
|
|
9
|
+
import { j as g } from "../../../chunks/vendor-DE8Zvm0w.js";
|
|
10
10
|
const H = ({
|
|
11
11
|
children: s,
|
|
12
12
|
scopeClassName: r,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import { c as s } from "../../../../chunks/vendor-
|
|
3
|
+
import { c as s } from "../../../../chunks/vendor-DE8Zvm0w.js";
|
|
4
4
|
import { MobileView as a } from "../../../MobileView/MobileView.js";
|
|
5
5
|
import { Text as l } from "../../../Typography/Text.js";
|
|
6
6
|
import { ELineType as p, ETextSize as c } from "../../../Typography/enums.js";
|
|
7
|
-
import { s as f } from "../../../../chunks/TooltipDesktop.module-
|
|
7
|
+
import { s as f } from "../../../../chunks/TooltipDesktop.module-CyeERXWq.js";
|
|
8
8
|
const d = e.forwardRef(({ className: r, ...i }, t) => {
|
|
9
9
|
const m = s(f.tooltipBody, r);
|
|
10
10
|
return /* @__PURE__ */ o(a, { fallback: /* @__PURE__ */ o("div", { className: m, ...i, ref: t }), children: /* @__PURE__ */ o(l, { className: m, size: c.B3, line: p.NORMAL, tag: "div", ...i, ref: t }) });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import n from "react";
|
|
3
|
-
import { c as l } from "../../../../chunks/vendor-
|
|
3
|
+
import { c as l } from "../../../../chunks/vendor-DE8Zvm0w.js";
|
|
4
4
|
import { MobileView as a } from "../../../MobileView/MobileView.js";
|
|
5
|
-
const k = "
|
|
5
|
+
const k = "tooltipLink__84b2f16d", r = "desktop__d7a3c87b", m = "mobile__aee13862", o = {
|
|
6
6
|
tooltipLink: k,
|
|
7
7
|
desktop: r,
|
|
8
8
|
mobile: m
|
|
@@ -12,7 +12,7 @@ const k = "tooltipLink__b2a985b7", r = "desktop__1b261b31", m = "mobile__4640311
|
|
|
12
12
|
{
|
|
13
13
|
className: l(o.tooltipLink, o.desktop, e),
|
|
14
14
|
...p,
|
|
15
|
-
"data-tx": "0.
|
|
15
|
+
"data-tx": "0.17.0",
|
|
16
16
|
ref: s,
|
|
17
17
|
children: i
|
|
18
18
|
}
|
|
@@ -21,7 +21,7 @@ const k = "tooltipLink__b2a985b7", r = "desktop__1b261b31", m = "mobile__4640311
|
|
|
21
21
|
{
|
|
22
22
|
className: l(o.tooltipLink, o.mobile, e),
|
|
23
23
|
...p,
|
|
24
|
-
"data-tx": "0.
|
|
24
|
+
"data-tx": "0.17.0",
|
|
25
25
|
ref: s,
|
|
26
26
|
children: i
|
|
27
27
|
}
|
|
@@ -3,7 +3,7 @@ import { useContext as m } from "react";
|
|
|
3
3
|
import { CrossStrokeSrvIcon16 as n } from "@sberbusiness/icons-next";
|
|
4
4
|
import { TooltipContext as i } from "../../TootlipContext.js";
|
|
5
5
|
import { ButtonIcon as a } from "../../../Button/ButtonIcon.js";
|
|
6
|
-
import { s as l } from "../../../../chunks/TooltipDesktop.module-
|
|
6
|
+
import { s as l } from "../../../../chunks/TooltipDesktop.module-CyeERXWq.js";
|
|
7
7
|
const I = ({ onClick: o, ...s }) => {
|
|
8
8
|
const { setTooltipOpen: p } = m(i), e = (t) => {
|
|
9
9
|
t.stopPropagation(), p(!1), o == null || o(t);
|
|
@@ -3,13 +3,13 @@ var _ = (p, a, i) => a in p ? H(p, a, { enumerable: !0, configurable: !0, writab
|
|
|
3
3
|
var t = (p, a, i) => _(p, typeof a != "symbol" ? a + "" : a, i);
|
|
4
4
|
import { jsxs as S, Fragment as P, jsx as x } from "react/jsx-runtime";
|
|
5
5
|
import O from "react";
|
|
6
|
-
import { i as M, c as $ } from "../../../../../chunks/vendor-
|
|
6
|
+
import { i as M, c as $ } from "../../../../../chunks/vendor-DE8Zvm0w.js";
|
|
7
7
|
import { TooltipContext as X } from "../../../TootlipContext.js";
|
|
8
8
|
import { Portal as Y } from "../../../../Portal/Portal.js";
|
|
9
9
|
import { ETooltipPreferPlace as u, ETooltipDirection as B, ETooltipAlign as z, ETooltipFlowTypes as I, ETooltipSizeParameter as r, ETooltipTypeName as C, ETooltipEndCoordinates as N, ETooltipStartCoordinates as R, ETooltipAxesType as G, ETooltipSize as U } from "../../../enums.js";
|
|
10
10
|
import { TooltipDesktopTip as V } from "./TooltipDesktopTip.js";
|
|
11
11
|
import { pickZone as j, axes as q, calcRelPos as K, centerOfBoundsFromBounds as Z, calcBounds as L, equalCoords as J } from "../../../utils/Positioning.js";
|
|
12
|
-
import { s as f } from "../../../../../chunks/TooltipDesktop.module-
|
|
12
|
+
import { s as f } from "../../../../../chunks/TooltipDesktop.module-CyeERXWq.js";
|
|
13
13
|
const Q = {
|
|
14
14
|
column: "translateX",
|
|
15
15
|
row: "translateY"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import a from "react";
|
|
3
3
|
import { ETooltipDirection as e } from "../../../enums.js";
|
|
4
|
-
import { c } from "../../../../../chunks/vendor-
|
|
5
|
-
import { s as t } from "../../../../../chunks/TooltipDesktop.module-
|
|
4
|
+
import { c } from "../../../../../chunks/vendor-DE8Zvm0w.js";
|
|
5
|
+
import { s as t } from "../../../../../chunks/TooltipDesktop.module-CyeERXWq.js";
|
|
6
6
|
const m = a.forwardRef((r, i) => {
|
|
7
7
|
const { direction: s } = r;
|
|
8
8
|
let o;
|