@sberbusiness/triplex-next 0.14.1 → 0.16.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-BfExIHyf.js +39 -0
- package/chunks/{CalendarViewItem-bjlzO6fA.js → CalendarViewItem-DjDlwsr-.js} +18 -18
- package/chunks/Card.module-BDhkqA-1.js +17 -0
- package/chunks/CheckboxTreeExtended.module-DvYrGq2d.js +14 -0
- package/chunks/{Chip-BjcDj2XE.js → Chip-Is4KDVHc.js} +3 -3
- package/chunks/Confirm.module-DJgmkdgX.js +15 -0
- package/chunks/{DropdownListItem-BByGOD7_.js → DropdownListItem-BdSacGyt.js} +21 -21
- package/chunks/DropdownMobile.module-04Mon9FN.js +23 -0
- package/chunks/Footer.module-B0GfNisY.js +9 -0
- package/chunks/FormFieldInput-DDUEO0k6.js +60 -0
- package/chunks/HeaderLayoutSidebar.module-BvdGzIVf.js +9 -0
- package/chunks/HeaderTabs.module-COsRYfxE.js +9 -0
- package/chunks/{HeaderTitle.module-Aa8Ayziq.js → HeaderTitle.module-LN1Fj13p.js} +2 -2
- package/chunks/IslandAccordion.module-GnMVxP0n.js +25 -0
- package/chunks/IslandWidgetFooter.module-Cvl5d8YC.js +9 -0
- package/chunks/IslandWidgetHeader.module-JkauVtWn.js +12 -0
- package/chunks/{LightBoxContent-B5TEJXI-.js → LightBoxContent-CN7SmRwX.js} +13 -13
- package/chunks/LightBoxControls.module-koLoz_-f.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-D6FP9Ulx.js +8 -0
- package/chunks/{ListItemControlsButton-BQWXaAf7.js → ListItemControlsButton-CgrHz7BO.js} +3 -3
- package/chunks/ListItemTail.module-DNRGTk64.js +12 -0
- package/chunks/ListMasterFooter.module-iy5cZxzC.js +10 -0
- package/chunks/ModalWindow.module-boLwaSVC.js +17 -0
- package/chunks/Notification.module-6l7KFShv.js +21 -0
- package/chunks/Overlay.module-COWWNc0T.js +18 -0
- package/chunks/Page.module-UL2Y8-XU.js +11 -0
- package/chunks/{RightBorderArrow-BjcGiO4Y.js → RightBorderArrow-B47Am4iB.js} +9 -9
- package/chunks/SMSField.module-BGqA-NcR.js +16 -0
- package/chunks/SliderExtendedMarks.module-CrvLHlu0.js +15 -0
- package/chunks/{SliderExtendedRail-DHe0BU85.js → SliderExtendedRail-C_eWUceV.js} +6 -6
- package/chunks/StatusTracker.module-BIpb3AbV.js +24 -0
- package/chunks/SuggestFieldMobileDropdownHint-C_9OyUAk.js +14 -0
- package/chunks/TableFooter.module-DpjOyrUF.js +14 -0
- package/chunks/TabsExtended.module-hRiksHlb.js +16 -0
- package/chunks/TabsLine.module-3hdH-7s8.js +21 -0
- package/chunks/TooltipDesktop.module-BQ_-qhMK.js +19 -0
- package/chunks/TreeView.module-BHzh1VmC.js +9 -0
- package/chunks/UploadZoneInput--8r5kxhe.js +33 -0
- package/chunks/constants-BY1BSJmu.js +57 -0
- package/chunks/{utils-DQttOWML.js → utils-Bg2bllE8.js} +9 -9
- package/chunks/utils-e1nAN4Kk.js +20 -0
- package/chunks/utils-rqbzWAF8.js +24 -0
- package/chunks/utils-zNOBXKDX.js +73 -0
- 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 +10 -10
- 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 +26 -26
- package/components/Avatar/Avatar.js +14 -14
- package/components/Badge/Badge.js +30 -0
- 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/Badge/index.js +5 -0
- package/components/Badge/types.js +2 -0
- package/components/Body/Body.js +5 -5
- package/components/Button/Button.js +36 -36
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +24 -24
- package/components/Button/ButtonDropdownExtended.js +6 -6
- package/components/Button/ButtonIcon.js +10 -10
- package/components/Calendar/Calendar.js +6 -6
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +1 -1
- 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 +16 -16
- package/components/Checkbox/CheckboxXGroup.js +11 -11
- package/components/Checkbox/CheckboxYGroup.js +6 -6
- 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 +6 -6
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +2 -2
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +6 -6
- 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 +7 -7
- 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 +16 -16
- package/components/Col/Col.js +141 -141
- package/components/CollapsableTree/components/CollapsableTreeNode.js +6 -6
- 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/ConfirmContentSubTitle.js +5 -5
- 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 +7 -7
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +8 -8
- package/components/DateRange/DateRange.js +9 -9
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensComponents.js +88 -86
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +92 -90
- package/components/DesignTokens/components/Badge.js +9 -0
- package/components/DesignTokens/components/Dropdown.js +3 -3
- package/components/DesignTokens/components/DropdownMobileList.js +2 -2
- package/components/DesignTokens/components/Typography.js +35 -2
- package/components/DesignTokens/components/index.js +150 -147
- package/components/Divider/Divider.js +21 -21
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +9 -9
- package/components/Dropdown/desktop/DropdownDesktop.js +70 -69
- 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 +35 -35
- 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 +4 -4
- 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 +9 -9
- package/components/ExpandAnimation/ExpandAnimation.js +20 -20
- 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 +79 -75
- package/components/FormField/components/FormFieldClear.js +10 -10
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +9 -9
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +8 -8
- package/components/FormField/components/FormFieldMaskedInput.js +17 -17
- package/components/FormField/components/FormFieldPostfix.js +6 -6
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +5 -5
- package/components/FormField/components/FormFieldTextarea.js +8 -8
- 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 +37 -36
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +5 -5
- package/components/Island/components/IslandFooter.js +5 -5
- 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 +87 -72
- package/components/IslandWidget/IslandWidget.js +68 -37
- package/components/IslandWidget/IslandWidgetContext.js +5 -5
- package/components/IslandWidget/IslandWidgetLayoutContext.js +10 -0
- package/components/IslandWidget/components/IslandWidgetBody.js +7 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +3 -3
- 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 +28 -10
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +5 -5
- package/components/LightBox/LightBox.js +21 -22
- 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 +28 -28
- package/components/List/List.js +6 -6
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +4 -4
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +7 -7
- package/components/List/components/ListItemControls.js +8 -8
- 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 +11 -11
- package/components/List/components/ListItemTable.js +7 -7
- 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 +5 -5
- package/components/List/components/ListSortableItemTarget.js +2 -2
- 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 +2 -2
- 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 +8 -8
- package/components/ListMaster/components/SelectionControls.js +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +5 -5
- package/components/Loader/LoaderSmall/LoaderSmall.js +10 -10
- package/components/LoaderScreen/LoaderScreen.js +10 -10
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +12 -12
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +10 -10
- package/components/ModalWindow/components/ModalWindowClose.js +4 -4
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +10 -10
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +6 -6
- 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 +4 -4
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +3 -3
- package/components/OrderedList/OrderedListItem.js +6 -6
- 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 +13 -13
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/Pagination.js +4 -4
- 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 +2 -2
- package/components/Pagination/components/PaginationSelect.js +26 -30
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +16 -16
- package/components/Radio/RadioXGroup.js +12 -12
- package/components/Radio/RadioYGroup.js +8 -8
- package/components/Row/Row.js +5 -5
- 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 +9 -9
- package/components/SelectExtendedField/SelectExtendedField.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +15 -15
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +12 -12
- package/components/SelectField/SelectField.js +5 -5
- package/components/Skeleton/Skeleton.js +7 -7
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +21 -21
- 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 +8 -8
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +20 -20
- package/components/SmallInput/SmallInput.js +2 -2
- package/components/Spoiler/Spoiler.js +17 -17
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +6 -6
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +8 -8
- 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 +8 -8
- package/components/StatusTracker/components/StatusTrackerTitle.js +8 -8
- package/components/Step/Step.js +10 -10
- 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 +3 -3
- package/components/Suggest/Suggest.js +52 -89
- package/components/Suggest/SuggestContext.js +4 -7
- package/components/Suggest/SuggestMobileDropdownContent.js +9 -9
- package/components/Suggest/useSuggest.js +64 -0
- package/components/SuggestField/SuggestField.js +44 -47
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +132 -133
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +5 -5
- package/components/SuggestField/index.js +8 -10
- package/components/SuggestField/mobile/SuggestFieldMobile.js +94 -75
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +26 -26
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +4 -4
- package/components/SuggestField/mobile/index.js +4 -6
- package/components/SwipeableArea/SwipeableArea.js +17 -17
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +20 -20
- package/components/Table/NoColumns.js +2 -2
- package/components/Table/PaginationPanel.js +5 -5
- 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 +5 -5
- 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 +5 -5
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +2 -2
- 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 +3 -3
- package/components/Table/TabsLinePanelLinks.js +6 -6
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +14 -14
- 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 +19 -19
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +9 -9
- package/components/Tag/Tag.js +18 -18
- package/components/TagColor/TagColor.js +18 -18
- package/components/TagGroup/TagGroup.js +14 -14
- package/components/TextField/TextField.js +1 -1
- package/components/TextField/TextFieldBase.js +25 -30
- 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 +12 -12
- 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 +6 -6
- package/components/TopOverlay/TopOverlay.js +10 -10
- 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 +40 -42
- package/components/Typography/Text.js +44 -46
- package/components/Typography/Title.js +40 -42
- package/components/Typography/constants.js +6 -0
- package/components/Typography/enums.js +9 -8
- package/components/Typography/index.js +15 -16
- package/components/UnorderedList/UnorderedList.js +3 -3
- package/components/UnorderedList/UnorderedListItem.js +12 -12
- 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 +532 -533
- package/index.d.ts +108 -117
- package/index.js +576 -577
- package/package.json +9 -1
- package/styles/triplex-next.css +546 -534
- package/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-w7bEDQkZ.js +0 -39
- package/chunks/Card.module-BLsCGNSy.js +0 -17
- package/chunks/CheckboxTreeExtended.module-CgfwcCEk.js +0 -14
- package/chunks/Confirm.module-CzudnAyq.js +0 -15
- package/chunks/DropdownMobile.module-DOLon8EA.js +0 -23
- package/chunks/Footer.module-BVFglVCT.js +0 -9
- package/chunks/FormFieldInput-CXE2lpa2.js +0 -60
- package/chunks/HeaderLayoutSidebar.module-DKuCSX50.js +0 -9
- package/chunks/HeaderTabs.module-BD-cjJN0.js +0 -9
- package/chunks/IslandAccordion.module-DuBXHdTP.js +0 -25
- package/chunks/IslandWidgetFooter.module-Dv6ikQyO.js +0 -9
- package/chunks/IslandWidgetHeader.module-ChVPLOQn.js +0 -9
- package/chunks/LightBoxControls.module-4BsaXW9O.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-Bx568ER4.js +0 -8
- package/chunks/ListItemTail.module-Dqje1Ta9.js +0 -12
- package/chunks/ListMasterFooter.module-CQ5ySLht.js +0 -10
- package/chunks/ModalWindow.module-BhRZeAo8.js +0 -17
- package/chunks/Notification.module-DwrRfWOt.js +0 -21
- package/chunks/Overlay.module-B6CO6ER3.js +0 -18
- package/chunks/Page.module-DkHondpd.js +0 -11
- package/chunks/SMSField.module-CDTpuKgF.js +0 -16
- package/chunks/SliderExtendedMarks.module--4YyXPzu.js +0 -15
- package/chunks/StatusTracker.module-DkISSFNd.js +0 -24
- package/chunks/SuggestFieldMobileDropdownHint-BM9lOqXe.js +0 -15
- package/chunks/TableFooter.module-zu7cE58N.js +0 -14
- package/chunks/TabsExtended.module-CKJx5gTC.js +0 -16
- package/chunks/TabsLine.module-dWFH4Lb0.js +0 -21
- package/chunks/TooltipDesktop.module-8uJuXz2F.js +0 -19
- package/chunks/TreeView.module-CBWqJQ3g.js +0 -9
- package/chunks/UploadZoneInput-DgPYo5Ct.js +0 -33
- package/chunks/utils-D6gsTR6V.js +0 -73
- package/chunks/utils-DXZkhXsb.js +0 -24
- package/chunks/utils-Ds7Etruz.js +0 -20
- package/chunks/utils-QtOC5s-T.js +0 -36
- package/components/LightBox/LightBoxSideOverlay/enums.js +0 -5
- package/components/SuggestField/SuggestFieldTarget.js +0 -70
- package/components/SuggestField/SuggestFieldTargetPostfix.js +0 -28
- package/components/SuggestField/mobile/SuggestFieldMobileTarget.js +0 -30
- package/components/Typography/utils.js +0 -6
package/components/Tabs/Tabs.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as c, jsxs as y } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as l, useRef as D } from "react";
|
|
3
3
|
import { TabsExtended as s } 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,7 +15,7 @@ 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__4ecf4820", G = "tabButtonDropdown__ac85019a", H = "sm__94fbcb86", L = "md__d9334e69", M = "lg__02bb8eeb", p = {
|
|
19
19
|
tabsContent: k,
|
|
20
20
|
tabButtonDropdown: G,
|
|
21
21
|
sm: H,
|
|
@@ -23,16 +23,16 @@ const k = "tabsContent__3d92da8d", G = "tabButtonDropdown__eb8636db", H = "sm__1
|
|
|
23
23
|
lg: M
|
|
24
24
|
}, so = ({
|
|
25
25
|
buttonDropdownAttributes: C,
|
|
26
|
-
selectedId:
|
|
26
|
+
selectedId: a,
|
|
27
27
|
onSelectTab: h,
|
|
28
|
-
size:
|
|
28
|
+
size: i = K.MD,
|
|
29
29
|
tabs: t,
|
|
30
30
|
...v
|
|
31
31
|
}) => {
|
|
32
|
-
const [w,
|
|
32
|
+
const [w, m] = l(a || 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__ */ c(s.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 =
|
|
35
|
+
return R === n.id ? r = d : F === n.id && (r = u), r;
|
|
36
36
|
};
|
|
37
37
|
return /* @__PURE__ */ c(
|
|
38
38
|
s.Content.TabButton,
|
|
@@ -40,32 +40,32 @@ const k = "tabsContent__3d92da8d", G = "tabButtonDropdown__eb8636db", H = "sm__1
|
|
|
40
40
|
selected: e,
|
|
41
41
|
tabIndex: E,
|
|
42
42
|
ref: O(),
|
|
43
|
-
size:
|
|
43
|
+
size: i,
|
|
44
44
|
showNotificationIcon: n.showNotificationIcon,
|
|
45
45
|
onFocus: () => {
|
|
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 f, T;
|
|
50
|
+
const { key: b } = r;
|
|
51
|
+
_(b, "ARROW_LEFT") ? (N || (m(t[o - 1].id), (f = d.current) == null || f.focus()), r.preventDefault()) : _(b, "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__ */ c(s, { ...v, selectedId:
|
|
57
|
+
return /* @__PURE__ */ c(s, { ...v, selectedId: a, onSelectTab: h, children: /* @__PURE__ */ y(s.Content, { className: p.tabsContent, size: i, children: [
|
|
58
58
|
/* @__PURE__ */ c(s.Content.TabsWrapper, { children: t.map(B) }),
|
|
59
59
|
/* @__PURE__ */ c(s.Content.DropdownWrapper, { children: ({ dropdownItemsIds: n, onSelectTab: o }) => /* @__PURE__ */ c(
|
|
60
60
|
x,
|
|
61
61
|
{
|
|
62
62
|
theme: j.DOTS_SECONDARY,
|
|
63
|
-
size:
|
|
63
|
+
size: i,
|
|
64
64
|
options: S({ dropdownItemsIds: n, onSelectTab: o }),
|
|
65
|
-
selected: t.filter((e) => e.id ===
|
|
65
|
+
selected: t.filter((e) => e.id === a)[0],
|
|
66
66
|
buttonAttributes: {
|
|
67
67
|
...C,
|
|
68
|
-
className: W(p.tabButtonDropdown, p[
|
|
68
|
+
className: W(p.tabButtonDropdown, p[i])
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
) })
|
|
@@ -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-hRiksHlb.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-Bg2bllE8.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-hRiksHlb.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-hRiksHlb.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-hRiksHlb.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-Bg2bllE8.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-hRiksHlb.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-Bg2bllE8.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-3hdH-7s8.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-3hdH-7s8.js";
|
|
8
8
|
const $ = ({
|
|
9
9
|
tabs: l,
|
|
10
10
|
dropdownTargetHtmlAttributes: g,
|
|
@@ -3,12 +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 {
|
|
7
|
-
import {
|
|
8
|
-
import { DropdownListContext as M } from "../../Dropdown/DropdownListContext.js";
|
|
6
|
+
import { u as x, c as C } from "../../../chunks/vendor-DE8Zvm0w.js";
|
|
7
|
+
import { DropdownListContext as E } from "../../Dropdown/DropdownListContext.js";
|
|
9
8
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
10
9
|
import { DropdownList as N } from "../../Dropdown/desktop/DropdownList.js";
|
|
11
|
-
import "../../../chunks/DropdownListItem-
|
|
10
|
+
import "../../../chunks/DropdownListItem-BdSacGyt.js";
|
|
12
11
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
13
12
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
14
13
|
import "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -20,10 +19,11 @@ import "../../Dropdown/mobile/DropdownMobileList.js";
|
|
|
20
19
|
import "../../Dropdown/mobile/DropdownMobileListItem.js";
|
|
21
20
|
import "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
22
21
|
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
23
|
-
import { EComponentSize as
|
|
22
|
+
import { EComponentSize as M } from "../../../enums/EComponentSize.js";
|
|
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-3hdH-7s8.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-3hdH-7s8.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,19 +1,19 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { TabsLineItem as
|
|
3
|
-
const
|
|
4
|
-
tabsLineMobileWrapper:
|
|
5
|
-
tabsLineMobile:
|
|
6
|
-
}, h = ({ onChangeTab:
|
|
2
|
+
import { TabsLineItem as c } from "./TabsLineItem.js";
|
|
3
|
+
const d = "tabsLineMobileWrapper__3d98ab69", p = "tabsLineMobile__2df7a09a", a = {
|
|
4
|
+
tabsLineMobileWrapper: d,
|
|
5
|
+
tabsLineMobile: p
|
|
6
|
+
}, h = ({ onChangeTab: l, selectedId: r, tabs: i }) => {
|
|
7
7
|
if (!i.length)
|
|
8
8
|
return null;
|
|
9
9
|
const o = ({ selected: L, ...e }) => {
|
|
10
|
-
const b = (
|
|
10
|
+
const b = (t) => {
|
|
11
11
|
var s;
|
|
12
|
-
|
|
12
|
+
l(e.id), (s = e.onClick) == null || s.call(e, t);
|
|
13
13
|
};
|
|
14
|
-
return /* @__PURE__ */ n(
|
|
14
|
+
return /* @__PURE__ */ n(c, { selected: r === e.id, ...e, onClick: b }, e.id);
|
|
15
15
|
};
|
|
16
|
-
return /* @__PURE__ */ n("div", { className:
|
|
16
|
+
return /* @__PURE__ */ n("div", { className: a.tabsLineMobileWrapper, children: /* @__PURE__ */ n("div", { className: a.tabsLineMobile, children: i.map(o) }) });
|
|
17
17
|
};
|
|
18
18
|
export {
|
|
19
19
|
h as TabsLineMobile
|
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
|
|
2
|
+
import d, { useCallback as S } from "react";
|
|
3
|
+
import { c as E } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
4
|
+
import { EditStrokeSrvIcon24 as L, EditStrokeSrvIcon20 as N, EditStrokeSrvIcon16 as v, CrossStrokeSrvIcon24 as y, CrossStrokeSrvIcon20 as z, CrossStrokeSrvIcon16 as G } from "@sberbusiness/icons-next";
|
|
5
5
|
import { Text as h } from "../Typography/Text.js";
|
|
6
|
-
import { ETextSize as
|
|
6
|
+
import { ETextSize as f, EFontType as T } from "../Typography/enums.js";
|
|
7
7
|
import { ButtonIcon as _ } from "../Button/ButtonIcon.js";
|
|
8
8
|
import { createSizeToClassNameMap as j } from "../../utils/classNameMaps.js";
|
|
9
9
|
import { EComponentSize as e } from "../../enums/EComponentSize.js";
|
|
10
|
-
const A = "
|
|
10
|
+
const A = "tag__72f244dc", R = "sm__c778025e", w = "md__5efe3ff4", F = "lg__29fe8621", P = "content__52fcdd25", I = {
|
|
11
11
|
tag: A,
|
|
12
12
|
sm: R,
|
|
13
13
|
md: w,
|
|
14
14
|
lg: F,
|
|
15
15
|
content: P
|
|
16
|
-
}, Y = j(
|
|
17
|
-
[e.SM]:
|
|
18
|
-
[e.MD]:
|
|
19
|
-
[e.LG]:
|
|
16
|
+
}, Y = j(I), q = {
|
|
17
|
+
[e.SM]: f.B4,
|
|
18
|
+
[e.MD]: f.B3,
|
|
19
|
+
[e.LG]: f.B2
|
|
20
20
|
}, H = {
|
|
21
21
|
[e.SM]: /* @__PURE__ */ o(v, { paletteIndex: 5 }),
|
|
22
|
-
[e.MD]: /* @__PURE__ */ o(
|
|
23
|
-
[e.LG]: /* @__PURE__ */ o(
|
|
22
|
+
[e.MD]: /* @__PURE__ */ o(N, { paletteIndex: 5 }),
|
|
23
|
+
[e.LG]: /* @__PURE__ */ o(L, { paletteIndex: 5 })
|
|
24
24
|
}, J = {
|
|
25
25
|
[e.SM]: /* @__PURE__ */ o(G, { paletteIndex: 5 }),
|
|
26
26
|
[e.MD]: /* @__PURE__ */ o(z, { paletteIndex: 5 }),
|
|
27
27
|
[e.LG]: /* @__PURE__ */ o(y, { paletteIndex: 5 })
|
|
28
|
-
}, b =
|
|
29
|
-
({ children:
|
|
28
|
+
}, b = d.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(h, { className:
|
|
33
|
-
}, [
|
|
32
|
+
return /* @__PURE__ */ o(h, { className: I.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
|
_,
|
|
@@ -44,7 +44,7 @@ const A = "tag__5a17d28a", R = "sm__6327f732", w = "md__8e1e415a", F = "lg__3988
|
|
|
44
44
|
}
|
|
45
45
|
);
|
|
46
46
|
}, [s, r, n, M, c]), i = S(() => {
|
|
47
|
-
const { onClick: t, ...m } =
|
|
47
|
+
const { onClick: t, ...m } = x || {};
|
|
48
48
|
return /* @__PURE__ */ o(
|
|
49
49
|
_,
|
|
50
50
|
{
|
|
@@ -56,8 +56,8 @@ const A = "tag__5a17d28a", R = "sm__6327f732", w = "md__8e1e415a", F = "lg__3988
|
|
|
56
56
|
children: J[r]
|
|
57
57
|
}
|
|
58
58
|
);
|
|
59
|
-
}, [s, r, n,
|
|
60
|
-
return /* @__PURE__ */ D("span", { className:
|
|
59
|
+
}, [s, r, n, x, a]);
|
|
60
|
+
return /* @__PURE__ */ D("span", { className: E(I.tag, Y[r], g), ...u, ref: C, children: [
|
|
61
61
|
k(),
|
|
62
62
|
c && B(),
|
|
63
63
|
i()
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
import { createSizeToClassNameMap as
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
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__54a55ff1", i = "sm__aa131ed4", d = "md__e7681b8f", g = "lg__5eac8250", p = "success__cc36defa", C = "info__4f7213be", u = "warning__8f2cede5", N = "error__0e2c4578", T = "content__561df4d6", o = {
|
|
7
|
+
tagColor: _,
|
|
8
8
|
sm: i,
|
|
9
|
-
md:
|
|
10
|
-
lg:
|
|
11
|
-
default: "
|
|
9
|
+
md: d,
|
|
10
|
+
lg: g,
|
|
11
|
+
default: "default__8936b977",
|
|
12
12
|
success: p,
|
|
13
13
|
info: C,
|
|
14
|
-
warning:
|
|
15
|
-
error:
|
|
16
|
-
content:
|
|
17
|
-
},
|
|
14
|
+
warning: u,
|
|
15
|
+
error: N,
|
|
16
|
+
content: T
|
|
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 =
|
|
24
|
-
({ children:
|
|
23
|
+
}, F = f.forwardRef(
|
|
24
|
+
({ children: a, className: c, size: e, status: r = s.DEFAULT, ...n }) => /* @__PURE__ */ t(
|
|
25
25
|
"span",
|
|
26
26
|
{
|
|
27
|
-
className:
|
|
28
|
-
...
|
|
29
|
-
children: /* @__PURE__ */
|
|
27
|
+
className: m(o.tagColor, R[e], w[r], c),
|
|
28
|
+
...n,
|
|
29
|
+
children: /* @__PURE__ */ t("span", { className: o.content, children: a })
|
|
30
30
|
}
|
|
31
31
|
)
|
|
32
32
|
);
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { c as p } from "../../chunks/vendor-
|
|
4
|
-
import { createSizeToClassNameMap as
|
|
5
|
-
const
|
|
6
|
-
tagGroup:
|
|
7
|
-
sm:
|
|
8
|
-
md:
|
|
9
|
-
lg:
|
|
10
|
-
},
|
|
11
|
-
({ children: s, className:
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import c from "react";
|
|
3
|
+
import { c as p } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
4
|
+
import { createSizeToClassNameMap as g } from "../../utils/classNameMaps.js";
|
|
5
|
+
const l = "tagGroup__c5dc7dc3", d = "sm__f5fee473", f = "md__4bed1886", _ = "lg__e6073273", o = {
|
|
6
|
+
tagGroup: l,
|
|
7
|
+
sm: d,
|
|
8
|
+
md: f,
|
|
9
|
+
lg: _
|
|
10
|
+
}, i = g(o), N = c.forwardRef(
|
|
11
|
+
({ children: s, className: r, size: t, ...a }, m) => /* @__PURE__ */ e(
|
|
12
12
|
"div",
|
|
13
13
|
{
|
|
14
|
-
className: p(o.tagGroup,
|
|
14
|
+
className: p(o.tagGroup, i[t], r),
|
|
15
15
|
role: "group",
|
|
16
|
-
...
|
|
16
|
+
...a,
|
|
17
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-DDUEO0k6.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";
|
|
@@ -1,33 +1,28 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
description: i,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
})
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
i,
|
|
26
|
-
l ? /* @__PURE__ */ r(c, { children: l }) : null
|
|
27
|
-
] }) : null
|
|
28
|
-
] });
|
|
29
|
-
x.displayName = "TextFieldBase";
|
|
1
|
+
import { jsxs as m, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import f from "react";
|
|
3
|
+
import { FormField as p } from "../FormField/FormField.js";
|
|
4
|
+
import { FormFieldDescription as c } from "../FormField/components/FormFieldDescription.js";
|
|
5
|
+
import { FormFieldLabel as h } from "../FormField/components/FormFieldLabel.js";
|
|
6
|
+
import { FormFieldPostfix as s } from "../FormField/components/FormFieldPostfix.js";
|
|
7
|
+
import { FormFieldPrefix as a } from "../FormField/components/FormFieldPrefix.js";
|
|
8
|
+
import { FormFieldCounter as u } from "../FormField/components/FormFieldCounter.js";
|
|
9
|
+
import { FormGroup as x } from "../FormGroup/FormGroup.js";
|
|
10
|
+
const j = f.forwardRef(
|
|
11
|
+
({ children: F, description: i, label: l, prefix: e, postfix: d, counter: o, ...t }, n) => /* @__PURE__ */ m(x, { children: [
|
|
12
|
+
/* @__PURE__ */ m(p, { ...t, ref: n, children: [
|
|
13
|
+
e ? /* @__PURE__ */ r(a, { children: e }) : null,
|
|
14
|
+
F,
|
|
15
|
+
l ? /* @__PURE__ */ r(h, { children: l }) : null,
|
|
16
|
+
d ? /* @__PURE__ */ r(s, { children: d }) : null
|
|
17
|
+
] }),
|
|
18
|
+
i || o ? /* @__PURE__ */ m(c, { children: [
|
|
19
|
+
i,
|
|
20
|
+
o ? /* @__PURE__ */ r(u, { children: o }) : null
|
|
21
|
+
] }) : null
|
|
22
|
+
] })
|
|
23
|
+
);
|
|
24
|
+
j.displayName = "TextFieldBase";
|
|
30
25
|
export {
|
|
31
|
-
|
|
26
|
+
j as TextFieldBase
|
|
32
27
|
};
|
|
33
28
|
//# sourceMappingURL=TextFieldBase.js.map
|
|
@@ -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-DDUEO0k6.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-BQ_-qhMK.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 }) });
|