@sberbusiness/triplex-next 1.6.0 → 1.7.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-BCXIqVd5.js → AlertProcessSpoiler-Ce_8Yuvv.js} +9 -9
- package/chunks/{CalendarViewItem-CHiqUGxF.js → CalendarViewItem-BDMvwpK5.js} +17 -17
- package/chunks/Card.module-BvlTqE5R.js +17 -0
- package/chunks/CheckboxTreeExtended.module-DsOQXTb2.js +11 -0
- package/chunks/{Chip-yWyfl_o2.js → Chip-eRAmMCbK.js} +10 -10
- package/chunks/Confirm.module-BQvs_z36.js +15 -0
- package/chunks/DropdownListItem-DjvVx10v.js +57 -0
- package/chunks/DropdownMobile.module-CEPFt9uH.js +21 -0
- package/chunks/Footer.module-CXnDx0Qq.js +9 -0
- package/chunks/{FormFieldInput-BBhoiftf.js → FormFieldInput-Dc0f4nno.js} +15 -15
- package/chunks/HeaderLayoutSidebar.module-CHV51xUH.js +9 -0
- package/chunks/HeaderTabs.module-T3W10WU8.js +9 -0
- package/chunks/{HeaderTitle.module-CBMLSjn-.js → HeaderTitle.module-B6qQsh69.js} +2 -2
- package/chunks/IslandAccordion.module-DoM2x4VR.js +26 -0
- package/chunks/IslandWidgetFooter.module-qNMIN4zr.js +9 -0
- package/chunks/IslandWidgetHeader.module-DUf_HV96.js +9 -0
- package/chunks/{LightBoxContent-BjsBFl6W.js → LightBoxContent--MHZ9Gkl.js} +14 -14
- package/chunks/LightBoxControls.module-C3_q74nl.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-D66ESS7b.js +8 -0
- package/chunks/{ListItemControlsButton-CueYzEGM.js → ListItemControlsButton-CDyUDFUr.js} +9 -9
- package/chunks/ListItemTail.module-DYbacvAR.js +12 -0
- package/chunks/ListMasterFooter.module-ghOvyA19.js +10 -0
- package/chunks/ModalWindow.module-CvIIBPzJ.js +17 -0
- package/chunks/Notification.module-DrKXO_L0.js +21 -0
- package/chunks/Overlay.module-B4exkEG2.js +18 -0
- package/chunks/Page.module-CvSterCP.js +11 -0
- package/chunks/{RightBorderArrow-rROpeCX0.js → RightBorderArrow-B-QGBlRY.js} +14 -14
- package/chunks/SMSInput.module-DkPfMZWv.js +16 -0
- package/chunks/SliderExtendedMarks.module-DZlxonFv.js +15 -0
- package/chunks/{SliderExtendedRail-BmH-0W3L.js → SliderExtendedRail-VV02EHbt.js} +10 -10
- package/chunks/StatusTracker.module-BzVEt7sh.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-Bh4smUeN.js → SuggestFieldMobileDropdownHint-CW9LKnIb.js} +4 -4
- package/chunks/TableFooter.module-DKNnDtzT.js +14 -0
- package/chunks/TabsExtended.module-BQKnCc6i.js +16 -0
- package/chunks/TabsLine.module-Cr-x0ll4.js +23 -0
- package/chunks/TooltipDesktop.module-D3epe_HW.js +19 -0
- package/chunks/{TooltipMobileCloseButton-BUyQFHWX.js → TooltipMobileCloseButton-BCyljTIq.js} +7 -7
- package/chunks/TreeView.module-BXfRfHL4.js +9 -0
- package/chunks/{UploadZoneInput-CjsECm07.js → UploadZoneInput-DNhfVDyP.js} +2 -2
- package/chunks/{utils-D-KMukhm.js → utils-BY1yN3Hq.js} +5 -5
- package/chunks/utils-BtnGErpx.js +20 -0
- package/chunks/utils-CR8DYAi0.js +73 -0
- package/chunks/utils-D9oDaQiI.js +36 -0
- package/chunks/{utils-vwCIbf0H.js → utils-DQX5JZ_3.js} +7 -7
- package/components/Alert/AlertContext/AlertContext.js +8 -8
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +7 -7
- package/components/AmountField/AmountField.js +2 -2
- package/components/Body/Body.js +8 -25
- package/components/Body/index.js +2 -4
- package/components/Button/Button.js +26 -26
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +13 -13
- package/components/Button/ButtonDropdownExtended.js +4 -4
- package/components/Button/ButtonIcon.js +8 -8
- package/components/Calendar/Calendar.js +5 -5
- package/components/Calendar/components/CalendarControls.js +4 -5
- package/components/Calendar/components/CalendarFooter.js +4 -4
- package/components/Calendar/components/CalendarViewDays.js +1 -1
- package/components/Calendar/components/CalendarViewItem.js +1 -1
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +6 -6
- package/components/Card/CardStatic.js +2 -2
- package/components/Card/components/CardContent/CardContent.js +1 -1
- package/components/Card/components/CardContent/components/CardContentBody.js +1 -1
- package/components/Card/components/CardContent/components/CardContentFooter.js +1 -1
- package/components/Card/components/CardContent/components/CardContentHeader.js +1 -1
- package/components/Card/components/CardMedia.js +1 -1
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +11 -11
- package/components/Checkbox/Checkbox.js +14 -14
- package/components/Checkbox/CheckboxXGroup.js +16 -16
- package/components/Checkbox/CheckboxYGroup.js +3 -3
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +1 -1
- package/components/Chip/Chip.js +1 -1
- package/components/Chip/ChipClearButton.js +6 -6
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +91 -0
- package/components/Chip/ChipDatePicker/components/ChipDatePickerTarget.js +34 -0
- package/components/Chip/ChipDropdownArrow.js +1 -1
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +4 -4
- package/components/Chip/ChipSelect.js +1 -1
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +18 -18
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +11 -11
- package/components/Col/Col.js +140 -140
- package/components/CollapsableTree/components/CollapsableTreeNode.js +11 -11
- package/components/Confirm/Confirm.js +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +1 -1
- package/components/Confirm/components/ConfirmContent.js +1 -1
- package/components/Confirm/components/ConfirmContentTitle.js +1 -1
- package/components/Confirm/components/ConfirmControls.js +1 -1
- package/components/DateField/DateField.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +1 -1
- package/components/DateRange/DateRange.js +14 -14
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/DesignTokensComponents.js +36 -31
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +42 -37
- package/components/DesignTokens/components/IslandWidget.js +14 -0
- package/components/DesignTokens/components/index.js +63 -60
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +8 -8
- package/components/Dropdown/desktop/DropdownDesktop.js +12 -12
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +2 -2
- package/components/Ellipsis/Ellipsis.js +11 -11
- package/components/ExpandAnimation/ExpandAnimation.js +6 -6
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +23 -23
- package/components/FormField/components/FormFieldClear.js +8 -8
- package/components/FormField/components/FormFieldCounter.js +3 -3
- package/components/FormField/components/FormFieldDescription.js +1 -1
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +9 -9
- package/components/FormField/components/FormFieldMaskedInput.js +22 -22
- package/components/FormField/components/FormFieldPostfix.js +4 -4
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +17 -17
- package/components/FormField/components/FormFieldTextarea.js +1 -1
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +1 -1
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +31 -31
- package/components/HelpBox/index.js +5 -0
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +1 -1
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +2 -2
- package/components/IslandWidget/IslandWidget.js +51 -0
- package/components/IslandWidget/IslandWidgetContext.js +10 -0
- package/components/IslandWidget/components/IslandWidgetBody.js +7 -0
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +23 -0
- package/components/IslandWidget/components/IslandWidgetFooter.js +13 -0
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +11 -0
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +11 -0
- package/components/IslandWidget/components/IslandWidgetHeader.js +13 -0
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +13 -0
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +13 -0
- package/components/IslandWidget/components/IslandWidgetWrapper.js +17 -0
- package/components/IslandWidget/components/index.js +15 -0
- package/components/IslandWidget/index.js +17 -0
- package/components/LightBox/LightBox.js +14 -13
- package/components/LightBox/LightBoxContent.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxClose.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxControls.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxNext.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +63 -66
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/enums.js +5 -0
- package/components/LightBox/LightBoxSideOverlay/index.js +7 -0
- package/components/LightBox/index.js +7 -3
- package/components/Link/Link.js +10 -10
- package/components/List/List.js +2 -2
- package/components/List/components/ListEmptyState.js +1 -1
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +6 -6
- package/components/List/components/ListItemControls.js +1 -1
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +3 -3
- package/components/List/components/ListItemSelectable.js +1 -1
- package/components/List/components/ListItemTable.js +6 -6
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +5 -5
- package/components/List/components/ListSortableItemControls.js +1 -1
- package/components/List/components/ListSortableItemTarget.js +4 -4
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +1 -1
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +1 -1
- package/components/ListMaster/components/SelectionControls.js +5 -5
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +11 -11
- package/components/Loader/LoaderSmall/LoaderSmall.js +11 -11
- package/components/LoaderScreen/LoaderScreen.js +1 -1
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +14 -14
- package/components/ModalWindow/ModalWindow.js +37 -36
- package/components/ModalWindow/components/ModalWindowBody.js +10 -10
- package/components/ModalWindow/components/ModalWindowClose.js +4 -4
- package/components/ModalWindow/components/ModalWindowContent.js +15 -9
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +7 -7
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +3 -3
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyContent.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +1 -1
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +1 -1
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +4 -4
- package/components/OrderedList/OrderedListItem.js +8 -8
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayMask.js +1 -1
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +22 -8
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Page/components/enums.js +5 -3
- package/components/Page/index.js +7 -5
- package/components/Pagination/components/PaginationExtended.js +2 -2
- package/components/Pagination/components/PaginationNavigationButton.js +1 -1
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +1 -1
- package/components/Pagination/components/PaginationPageEllipsis.js +1 -1
- package/components/Pagination/components/PaginationSelect.js +6 -6
- package/components/Radio/Radio.js +12 -12
- package/components/Radio/RadioXGroup.js +12 -12
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +9 -9
- package/components/SMSInput/SMSInput.js +2 -2
- package/components/SMSInput/components/RefreshIcon.js +1 -1
- package/components/SMSInput/components/SMSInputInput.js +2 -2
- package/components/SMSInput/components/SMSInputRefresh.js +1 -1
- package/components/SMSInput/components/SMSInputSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +5 -5
- package/components/SegmentedControl/SegmentedControlSegment.js +5 -5
- package/components/SelectExtendedField/SelectExtendedField.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +15 -15
- package/components/Skeleton/Skeleton.js +10 -10
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +1 -1
- package/components/SliderExtended/components/SliderExtendedRail.js +1 -1
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +9 -9
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +19 -19
- package/components/SmallInput/SmallInput.js +4 -4
- package/components/Spoiler/Spoiler.js +13 -13
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +1 -1
- package/components/StatusTracker/components/StatusTrackerDescription.js +1 -1
- package/components/StatusTracker/components/StatusTrackerFooter.js +1 -1
- package/components/StatusTracker/components/StatusTrackerHeader.js +1 -1
- package/components/StatusTracker/components/StatusTrackerMedia.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatus.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +6 -6
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +1 -1
- package/components/Stepper/StepperExtended.js +5 -5
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperWrapper.js +4 -4
- package/components/Suggest/SuggestMobileDropdownContent.js +8 -8
- package/components/SuggestField/SuggestField.js +1 -1
- package/components/SuggestField/SuggestFieldTarget.js +1 -1
- package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +14 -14
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +2 -2
- package/components/Table/FilterPanel.js +6 -6
- package/components/Table/MasterTable.js +2 -2
- package/components/Table/NoColumns.js +5 -5
- package/components/Table/PaginationPanel.js +4 -4
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +7 -7
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +7 -7
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +4 -4
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +5 -5
- package/components/Table/TabsLinePanelLinks.js +1 -1
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +21 -21
- package/components/TabsExtended/TabsExtended.js +2 -2
- package/components/TabsExtended/components/TabsExtendedContent.js +1 -1
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTab.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabButton.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +1 -1
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +1 -1
- package/components/TabsLine/components/TabsLineDesktop.js +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +2 -2
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +9 -9
- package/components/Tag/Tag.js +12 -12
- package/components/TagGroup/TagGroup.js +13 -13
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +7 -7
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +1 -1
- package/components/Tooltip/components/mobile/TooltipMobile.js +1 -1
- package/components/Tooltip/components/mobile/components/TooltipMobileCloseButton.js +1 -1
- package/components/Tooltip/components/mobile/components/TooltipMobileHeader.js +1 -1
- package/components/TopOverlay/TopOverlay.js +22 -22
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Typography/Caption.js +6 -6
- package/components/Typography/Text.js +13 -13
- package/components/Typography/Title.js +17 -17
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +5 -5
- package/components/UnorderedList/UnorderedListItem.js +6 -6
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +559 -528
- package/index.d.ts +266 -21
- package/index.js +410 -363
- package/package.json +9 -1
- package/styles/triplex-next.css +529 -527
- package/utils/index.js +30 -0
- package/chunks/Card.module-CmXEvD5r.js +0 -17
- package/chunks/CheckboxTreeExtended.module-D-2ZUrcy.js +0 -11
- package/chunks/Confirm.module-Ds4ZMYVB.js +0 -15
- package/chunks/DropdownListItem-DgEkMGvB.js +0 -57
- package/chunks/DropdownMobile.module-thvNKX4t.js +0 -21
- package/chunks/Footer.module-DZhiuTzP.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-DaB6pHPF.js +0 -9
- package/chunks/HeaderTabs.module-DK3rR1yV.js +0 -9
- package/chunks/IslandAccordion.module-D9LSijXT.js +0 -26
- package/chunks/LightBoxControls.module-BHw6I5-d.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-VE4NCDr0.js +0 -8
- package/chunks/ListItemTail.module-Bw2cyg-n.js +0 -12
- package/chunks/ListMasterFooter.module-BfD7OQFa.js +0 -10
- package/chunks/ModalWindow.module-Nps-2rvx.js +0 -17
- package/chunks/Notification.module-DZZnmvDX.js +0 -21
- package/chunks/Overlay.module-BGfiVeol.js +0 -18
- package/chunks/Page.module-CV4uy77C.js +0 -12
- package/chunks/SMSInput.module-Br6FTDVD.js +0 -16
- package/chunks/SliderExtendedMarks.module-Bubs2UAN.js +0 -15
- package/chunks/StatusTracker.module-BVzGbfDD.js +0 -24
- package/chunks/TableFooter.module-hx13-EO6.js +0 -14
- package/chunks/TabsExtended.module-CNjCgifz.js +0 -16
- package/chunks/TabsLine.module-_Jn8K0jv.js +0 -23
- package/chunks/TooltipDesktop.module-Cx6fDiek.js +0 -19
- package/chunks/TreeView.module-oeG4_2Ve.js +0 -9
- package/chunks/utils-C1Q-0uVF.js +0 -36
- package/chunks/utils-C8A7RzC0.js +0 -20
- package/chunks/utils-Cb3psf0n.js +0 -73
- package/components/Body/enums.js +0 -5
|
@@ -2,16 +2,16 @@ import { jsxs as N, jsx as m } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as O, useRef as q, useContext as A, useEffect as B, useCallback as D } from "react";
|
|
3
3
|
import { c as F, q as U, s as p } from "../../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { presets as G } from "./FormFieldMaskedInputPresets.js";
|
|
5
|
-
import { s as H, F as J } from "../../../chunks/FormFieldInput-
|
|
5
|
+
import { s as H, F as J } from "../../../chunks/FormFieldInput-Dc0f4nno.js";
|
|
6
6
|
import { FormFieldContext as K } from "../FormFieldContext.js";
|
|
7
|
-
const L = "
|
|
7
|
+
const L = "formFieldMaskedInputWrapper__7a0aed6e", Q = "formFieldMaskedInputPlaceholder__a174863c", X = "formFieldMaskedInput__02926aca", l = {
|
|
8
8
|
formFieldMaskedInputWrapper: L,
|
|
9
9
|
formFieldMaskedInputPlaceholder: Q,
|
|
10
|
-
"size-sm": "size-
|
|
11
|
-
"size-md": "size-
|
|
12
|
-
"size-lg": "size-
|
|
10
|
+
"size-sm": "size-sm__ef195191",
|
|
11
|
+
"size-md": "size-md__61e63eda",
|
|
12
|
+
"size-lg": "size-lg__2b7c9f63",
|
|
13
13
|
formFieldMaskedInput: X
|
|
14
|
-
},
|
|
14
|
+
}, a = ({
|
|
15
15
|
className: I,
|
|
16
16
|
forwardedRef: f,
|
|
17
17
|
disabled: g,
|
|
@@ -23,7 +23,7 @@ const L = "formFieldMaskedInputWrapper__ccdbf74e", Q = "formFieldMaskedInputPlac
|
|
|
23
23
|
value: s,
|
|
24
24
|
..._
|
|
25
25
|
}) => {
|
|
26
|
-
const [V, x] = O(""),
|
|
26
|
+
const [V, x] = O(""), c = q(!1), { valueExist: y, focused: z, size: k } = A(K);
|
|
27
27
|
B(() => {
|
|
28
28
|
x((() => {
|
|
29
29
|
let t = [];
|
|
@@ -43,31 +43,31 @@ const L = "formFieldMaskedInputWrapper__ccdbf74e", Q = "formFieldMaskedInputPlac
|
|
|
43
43
|
const T = D(
|
|
44
44
|
(e) => {
|
|
45
45
|
const { value: t } = e.target;
|
|
46
|
-
|
|
46
|
+
c.current = !1, s !== t && (d == null || d(e));
|
|
47
47
|
},
|
|
48
48
|
[s, d]
|
|
49
|
-
),
|
|
50
|
-
|
|
51
|
-
},
|
|
49
|
+
), E = () => {
|
|
50
|
+
c.current = !0;
|
|
51
|
+
}, W = (e, t) => o === a.presets.masks.phone ? e.length ? P(t.rawValue) : e : o === a.presets.masks.swiftCode ? e.toUpperCase() : e, P = (e) => {
|
|
52
52
|
let t = [];
|
|
53
|
-
if (
|
|
53
|
+
if (c.current) {
|
|
54
54
|
let n = /^[78]((\D*\d)*)/;
|
|
55
|
-
e = e.replace(n, "+7 ($1"), n = /^\d7/, e = e.replace(n, (r) => (t = Array.from("+7 (").map((Y,
|
|
55
|
+
e = e.replace(n, "+7 ($1"), n = /^\d7/, e = e.replace(n, (r) => (t = Array.from("+7 (").map((Y, b) => b), `+7 (${r}`));
|
|
56
56
|
} else (e === "7" || e === "8") && (e = "+7 (");
|
|
57
57
|
return {
|
|
58
58
|
indexesOfPipedChars: t,
|
|
59
59
|
value: p.conformToMask(e, o, { guide: !1, placeholderChar: i }).conformedValue
|
|
60
60
|
};
|
|
61
|
-
},
|
|
61
|
+
}, j = () => o === a.presets.masks.phone ? (s = P(s).value, s) : p.conformToMask(s, o, { guide: !1, placeholderChar: i }).conformedValue, S = (e) => (t) => {
|
|
62
62
|
t && e(t), typeof f == "function" ? f(t) : f && (f.current = t);
|
|
63
|
-
},
|
|
63
|
+
}, $ = () => !y && !z || !s && M ? "" : V;
|
|
64
64
|
return /* @__PURE__ */ N("div", { className: F(l.formFieldMaskedInputWrapper, l[`size-${k}`]), children: [
|
|
65
65
|
/* @__PURE__ */ m(
|
|
66
66
|
"input",
|
|
67
67
|
{
|
|
68
68
|
className: F(H.formFieldInput, l.formFieldMaskedInputPlaceholder, I),
|
|
69
69
|
disabled: g,
|
|
70
|
-
placeholder:
|
|
70
|
+
placeholder: $(),
|
|
71
71
|
readOnly: !0,
|
|
72
72
|
"aria-hidden": "true",
|
|
73
73
|
tabIndex: -1,
|
|
@@ -81,21 +81,21 @@ const L = "formFieldMaskedInputWrapper__ccdbf74e", Q = "formFieldMaskedInputPlac
|
|
|
81
81
|
defaultValue: "",
|
|
82
82
|
disabled: g,
|
|
83
83
|
guide: !1,
|
|
84
|
-
render: (e, t) => /* @__PURE__ */ m(J, { ...t, value: s, placeholder: M || "", ref:
|
|
84
|
+
render: (e, t) => /* @__PURE__ */ m(J, { ...t, value: s, placeholder: M || "", ref: S(e) }),
|
|
85
85
|
mask: o,
|
|
86
86
|
onChange: T,
|
|
87
|
-
onPaste:
|
|
87
|
+
onPaste: E,
|
|
88
88
|
placeholderChar: i,
|
|
89
|
-
value:
|
|
90
|
-
pipe:
|
|
89
|
+
value: j(),
|
|
90
|
+
pipe: W,
|
|
91
91
|
type: "text",
|
|
92
92
|
..._
|
|
93
93
|
}
|
|
94
94
|
)
|
|
95
95
|
] });
|
|
96
96
|
};
|
|
97
|
-
|
|
97
|
+
a.presets = G;
|
|
98
98
|
export {
|
|
99
|
-
|
|
99
|
+
a as FormFieldMaskedInput
|
|
100
100
|
};
|
|
101
101
|
//# sourceMappingURL=FormFieldMaskedInput.js.map
|
|
@@ -2,11 +2,11 @@ import { jsx as d } from "react/jsx-runtime";
|
|
|
2
2
|
import l, { useContext as x, useRef as u, useEffect as a } from "react";
|
|
3
3
|
import { FormFieldContext as F } from "../FormFieldContext.js";
|
|
4
4
|
import { c as p } from "../../../chunks/vendor-D3hUOusX.js";
|
|
5
|
-
const P = "
|
|
5
|
+
const P = "formFieldPostfix__f05a4d90", R = {
|
|
6
6
|
formFieldPostfix: P
|
|
7
7
|
}, _ = l.forwardRef(
|
|
8
|
-
({ children: s, className:
|
|
9
|
-
const
|
|
8
|
+
({ children: s, className: f, ...i }, o) => {
|
|
9
|
+
const r = p(R.formFieldPostfix, f), { postfixWidth: n, setPostfixWidth: c } = x(F), e = u(), m = (t) => {
|
|
10
10
|
e.current = t, typeof o == "function" ? o(t) : o && (o.current = t);
|
|
11
11
|
};
|
|
12
12
|
return a(() => {
|
|
@@ -14,7 +14,7 @@ const P = "formFieldPostfix__50d2379a", R = {
|
|
|
14
14
|
return;
|
|
15
15
|
const { width: t } = e.current.getBoundingClientRect();
|
|
16
16
|
t !== n && c(t);
|
|
17
|
-
}), /* @__PURE__ */ d("span", { className:
|
|
17
|
+
}), /* @__PURE__ */ d("span", { className: r, ref: m, ...i, children: s });
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
_.displayName = "FormFieldPostfix";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import d, { useContext as x, useRef as u, useEffect as F } from "react";
|
|
3
3
|
import { FormFieldContext as a } from "../FormFieldContext.js";
|
|
4
4
|
import { c as p } from "../../../chunks/vendor-D3hUOusX.js";
|
|
5
|
-
const P = "
|
|
5
|
+
const P = "formFieldPrefix__c0112741", R = {
|
|
6
6
|
formFieldPrefix: P
|
|
7
|
-
}, _ =
|
|
7
|
+
}, _ = d.forwardRef(
|
|
8
8
|
({ children: o, className: i, ...f }, r) => {
|
|
9
9
|
const s = p(R.formFieldPrefix, i), { prefixWidth: n, setPrefixWidth: c } = x(a), t = u(), m = (e) => {
|
|
10
10
|
t.current = e, typeof r == "function" ? r(e) : r && (r.current = e);
|
|
@@ -14,7 +14,7 @@ const P = "formFieldPrefix__17de3372", R = {
|
|
|
14
14
|
return;
|
|
15
15
|
const { width: e } = t.current.getBoundingClientRect();
|
|
16
16
|
e !== n && c(e);
|
|
17
|
-
}), /* @__PURE__ */
|
|
17
|
+
}), /* @__PURE__ */ l("span", { className: s, ref: m, ...f, children: o });
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
_.displayName = "FormFieldPrefix";
|
|
@@ -2,25 +2,25 @@ import { jsx as u } from "react/jsx-runtime";
|
|
|
2
2
|
import x, { useContext as E, useRef as T, useEffect as n } from "react";
|
|
3
3
|
import { FormFieldContext as B } from "../FormFieldContext.js";
|
|
4
4
|
import { c as N, a as S } from "../../../chunks/vendor-D3hUOusX.js";
|
|
5
|
-
import { EFormFieldStatus as
|
|
6
|
-
const A = "
|
|
5
|
+
import { EFormFieldStatus as d } from "../enums.js";
|
|
6
|
+
const A = "formFieldTarget__11ee3baa", L = "placeholder__7b6f6fd1", W = "disabled__c491fccc", R = "placeholderWrapper__9cf967a4", e = {
|
|
7
7
|
formFieldTarget: A,
|
|
8
8
|
placeholder: L,
|
|
9
9
|
disabled: W,
|
|
10
|
-
"size-sm": "size-
|
|
11
|
-
"size-md": "size-
|
|
12
|
-
"size-lg": "size-
|
|
10
|
+
"size-sm": "size-sm__ef195191",
|
|
11
|
+
"size-md": "size-md__61e63eda",
|
|
12
|
+
"size-lg": "size-lg__2b7c9f63",
|
|
13
13
|
placeholderWrapper: R
|
|
14
14
|
}, y = x.forwardRef((_, F) => {
|
|
15
|
-
const { className: h, id: r, onBlur: o, onFocus: c, placeholder: m, children: s, ...
|
|
16
|
-
[e.disabled]: a ===
|
|
17
|
-
[e.placeholder]: !!m && !s && a !==
|
|
18
|
-
}),
|
|
15
|
+
const { className: h, id: r, onBlur: o, onFocus: c, placeholder: m, children: s, ...b } = _, { status: a, setFocused: p, setId: l, setValueExist: f, size: g } = E(B), z = N(e.formFieldTarget, h, e[`size-${g}`], {
|
|
16
|
+
[e.disabled]: a === d.DISABLED,
|
|
17
|
+
[e.placeholder]: !!m && !s && a !== d.DISABLED
|
|
18
|
+
}), t = T(r || S("formFieldTarget_"));
|
|
19
19
|
n(() => {
|
|
20
|
-
|
|
21
|
-
}, [
|
|
22
|
-
r && (
|
|
23
|
-
}, [r,
|
|
20
|
+
l(t.current);
|
|
21
|
+
}, [l]), n(() => {
|
|
22
|
+
r && (t.current = r, l(t.current));
|
|
23
|
+
}, [r, l]), n(() => {
|
|
24
24
|
f(!!s);
|
|
25
25
|
}, [f, s]);
|
|
26
26
|
const D = (i) => {
|
|
@@ -31,13 +31,13 @@ const A = "formFieldTarget__e2c2ae74", L = "placeholder__2b9d8565", W = "disable
|
|
|
31
31
|
return /* @__PURE__ */ u(
|
|
32
32
|
"div",
|
|
33
33
|
{
|
|
34
|
-
...
|
|
34
|
+
...b,
|
|
35
35
|
className: z,
|
|
36
|
-
"aria-disabled": a ===
|
|
37
|
-
id:
|
|
36
|
+
"aria-disabled": a === d.DISABLED,
|
|
37
|
+
id: t.current,
|
|
38
38
|
onFocus: I,
|
|
39
39
|
onBlur: D,
|
|
40
|
-
tabIndex: a ===
|
|
40
|
+
tabIndex: a === d.DISABLED ? -1 : 0,
|
|
41
41
|
ref: F,
|
|
42
42
|
children: s || /* @__PURE__ */ u("span", { className: e.placeholderWrapper, children: m })
|
|
43
43
|
}
|
|
@@ -4,7 +4,7 @@ import { FormFieldContext as z } from "../FormFieldContext.js";
|
|
|
4
4
|
import { a as R, c as S } from "../../../chunks/vendor-D3hUOusX.js";
|
|
5
5
|
import { createSizeToClassNameMap as y } from "../../../utils/classNameMaps.js";
|
|
6
6
|
import { EFormFieldStatus as D } from "../enums.js";
|
|
7
|
-
const M = "
|
|
7
|
+
const M = "formFieldTextarea__7e7f1806", b = "sm__c5a41880", j = "md__805545f9", q = "lg__8a29a6ec", l = {
|
|
8
8
|
formFieldTextarea: M,
|
|
9
9
|
sm: b,
|
|
10
10
|
md: j,
|
|
@@ -4,7 +4,7 @@ import { FormFieldCounter as i } from "./components/FormFieldCounter.js";
|
|
|
4
4
|
import { FormFieldLabel as p } from "./components/FormFieldLabel.js";
|
|
5
5
|
import { FormFieldClear as d } from "./components/FormFieldClear.js";
|
|
6
6
|
import { FormFieldTarget as a } from "./components/FormFieldTarget.js";
|
|
7
|
-
import { F as n } from "../../chunks/FormFieldInput-
|
|
7
|
+
import { F as n } from "../../chunks/FormFieldInput-Dc0f4nno.js";
|
|
8
8
|
import { FormFieldMaskedInput as C } from "./components/FormFieldMaskedInput.js";
|
|
9
9
|
import { FormFieldPostfix as I } from "./components/FormFieldPostfix.js";
|
|
10
10
|
import { FormFieldPrefix as S } from "./components/FormFieldPrefix.js";
|
|
@@ -12,7 +12,7 @@ import "./components/HeaderTitle/HeaderTitleContent.js";
|
|
|
12
12
|
import "./components/HeaderTitle/HeaderTitleControls.js";
|
|
13
13
|
const f = Object.assign(
|
|
14
14
|
a.forwardRef(function({ children: r, ...e }, t) {
|
|
15
|
-
return /* @__PURE__ */ o("div", { ...e, "data-tx": "1.
|
|
15
|
+
return /* @__PURE__ */ o("div", { ...e, "data-tx": "1.7.0", ref: t, children: r });
|
|
16
16
|
}),
|
|
17
17
|
{
|
|
18
18
|
LayoutSidebar: p,
|
|
@@ -3,7 +3,7 @@ import d from "react";
|
|
|
3
3
|
import { c as i } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { HeaderLayoutSidebarContent as m } from "./HeaderLayoutSidebarContent.js";
|
|
5
5
|
import { HeaderLayoutSidebarSidebar as s } from "./HeaderLayoutSidebarSidebar.js";
|
|
6
|
-
import { s as f } from "../../../../chunks/HeaderLayoutSidebar.module-
|
|
6
|
+
import { s as f } from "../../../../chunks/HeaderLayoutSidebar.module-CHV51xUH.js";
|
|
7
7
|
const b = Object.assign(
|
|
8
8
|
d.forwardRef(function({ children: e, className: r, ...a }, o) {
|
|
9
9
|
return /* @__PURE__ */ t("div", { className: i(f.headerLayoutSidebar, r), ...a, ref: o, children: e });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import s from "react";
|
|
3
3
|
import { c as d } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
-
import { s as m } from "../../../../chunks/HeaderLayoutSidebar.module-
|
|
4
|
+
import { s as m } from "../../../../chunks/HeaderLayoutSidebar.module-CHV51xUH.js";
|
|
5
5
|
const i = s.forwardRef(
|
|
6
6
|
({ children: e, className: a, ...t }, o) => /* @__PURE__ */ r("div", { className: d(m.headerLayoutSidebarContent, a), ...t, ref: o, children: e })
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
3
|
import { c as t } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
-
import { s } from "../../../../chunks/HeaderLayoutSidebar.module-
|
|
4
|
+
import { s } from "../../../../chunks/HeaderLayoutSidebar.module-CHV51xUH.js";
|
|
5
5
|
const m = i.forwardRef(
|
|
6
6
|
({ children: a, className: r, ...e }, o) => /* @__PURE__ */ d("div", { className: t(s.headerLayoutSidebarSidebar, r), ...e, ref: o, children: a })
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import h from "react";
|
|
3
3
|
import { c as i } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
-
const u = "
|
|
4
|
+
const u = "headerSubheader__b7804874", c = "withoutPaddings__9ee5c758", e = {
|
|
5
5
|
headerSubheader: u,
|
|
6
6
|
withoutPaddings: c
|
|
7
7
|
}, n = h.forwardRef(
|
|
@@ -3,7 +3,7 @@ import t from "react";
|
|
|
3
3
|
import { HeaderTabsContent as m } from "./HeaderTabsContent.js";
|
|
4
4
|
import { HeaderTabsControls as n } from "./HeaderTabsControls.js";
|
|
5
5
|
import { c as d } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
6
|
-
import { s as f } from "../../../../chunks/HeaderTabs.module-
|
|
6
|
+
import { s as f } from "../../../../chunks/HeaderTabs.module-T3W10WU8.js";
|
|
7
7
|
const i = Object.assign(
|
|
8
8
|
t.forwardRef(function({ children: r, className: e, ...a }, o) {
|
|
9
9
|
return /* @__PURE__ */ s("div", { className: d(f.headerTabs, e), ...a, ref: o, children: r });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import s from "react";
|
|
3
3
|
import { c as m } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
-
import { s as n } from "../../../../chunks/HeaderTabs.module-
|
|
4
|
+
import { s as n } from "../../../../chunks/HeaderTabs.module-T3W10WU8.js";
|
|
5
5
|
const d = s.forwardRef(
|
|
6
6
|
({ children: e, className: r, ...t }, a) => /* @__PURE__ */ o("div", { className: m(n.headerTabsContent, r), ...t, ref: a, children: e })
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import t from "react";
|
|
3
3
|
import { c as m } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
-
import { s as l } from "../../../../chunks/HeaderTabs.module-
|
|
4
|
+
import { s as l } from "../../../../chunks/HeaderTabs.module-T3W10WU8.js";
|
|
5
5
|
const d = t.forwardRef(
|
|
6
6
|
({ children: o, className: r, ...s }, a) => /* @__PURE__ */ e("div", { className: m(l.headerTabsControls, r), ...s, ref: a, children: o })
|
|
7
7
|
);
|
|
@@ -3,7 +3,7 @@ import i from "react";
|
|
|
3
3
|
import { HeaderTitleContent as s } from "./HeaderTitleContent.js";
|
|
4
4
|
import { HeaderTitleControls as m } from "./HeaderTitleControls.js";
|
|
5
5
|
import { c as l } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
6
|
-
import { s as n } from "../../../../chunks/HeaderTitle.module-
|
|
6
|
+
import { s as n } from "../../../../chunks/HeaderTitle.module-B6qQsh69.js";
|
|
7
7
|
const d = Object.assign(
|
|
8
8
|
i.forwardRef(function({ children: e, className: t, ...r }, o) {
|
|
9
9
|
return /* @__PURE__ */ a("div", { className: l(n.headerTitle, t), ...r, ref: o, children: e });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import s from "react";
|
|
3
3
|
import { c as i } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
-
import { s as e } from "../../../../chunks/HeaderTitle.module-
|
|
4
|
+
import { s as e } from "../../../../chunks/HeaderTitle.module-B6qQsh69.js";
|
|
5
5
|
const m = s.forwardRef(
|
|
6
6
|
({ children: t, className: r, ...o }, a) => /* @__PURE__ */ l(
|
|
7
7
|
"div",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import a from "react";
|
|
3
3
|
import { c as i } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
-
import { s as o } from "../../../../chunks/HeaderTitle.module-
|
|
4
|
+
import { s as o } from "../../../../chunks/HeaderTitle.module-B6qQsh69.js";
|
|
5
5
|
const m = a.forwardRef(
|
|
6
6
|
({ children: e, className: r, ...t }, l) => /* @__PURE__ */ s(
|
|
7
7
|
"div",
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import { jsxs as h, Fragment as
|
|
1
|
+
import { jsxs as h, Fragment as H, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as M, useState as x, useId as R } from "react";
|
|
3
3
|
import { c as S, h as _ } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
|
-
import {
|
|
4
|
+
import { QuestioncircleFilledSrvIcon16 as L } from "@sberbusiness/icons-next";
|
|
5
5
|
import { ButtonIcon as j } from "../Button/ButtonIcon.js";
|
|
6
6
|
import { EButtonIconShape as k } from "../Button/enums.js";
|
|
7
7
|
import { Tooltip as l } from "../Tooltip/Tooltip.js";
|
|
8
8
|
import { TooltipMobileHeader as z } from "../Tooltip/components/mobile/components/TooltipMobileHeader.js";
|
|
9
9
|
import { MobileView as C } from "../MobileView/MobileView.js";
|
|
10
10
|
import { getDataHTMLAttributes as D } from "../../utils/html/DataAttributes.js";
|
|
11
|
-
import { getAriaHTMLAttributes as
|
|
12
|
-
const
|
|
13
|
-
helpBoxButton:
|
|
14
|
-
helpBoxTooltipBody:
|
|
15
|
-
},
|
|
11
|
+
import { getAriaHTMLAttributes as Q } from "../../utils/html/AriaAttributes.js";
|
|
12
|
+
const V = "helpBoxButton__628a6449", X = "helpBoxTooltipBody__19a807ec", f = {
|
|
13
|
+
helpBoxButton: V,
|
|
14
|
+
helpBoxTooltipBody: X
|
|
15
|
+
}, $ = ({
|
|
16
16
|
children: T,
|
|
17
17
|
className: y,
|
|
18
|
-
focusTrapProps:
|
|
18
|
+
focusTrapProps: t,
|
|
19
19
|
mobileHeaderContent: c,
|
|
20
20
|
isOpen: i,
|
|
21
21
|
onShow: n,
|
|
22
22
|
tooltipSize: I,
|
|
23
|
-
preferPlace:
|
|
23
|
+
preferPlace: v,
|
|
24
24
|
toggle: r,
|
|
25
25
|
tooltipAriaAttributes: s,
|
|
26
26
|
tooltipDataAttributes: p,
|
|
27
|
-
...
|
|
27
|
+
...F
|
|
28
28
|
}) => {
|
|
29
|
-
const d = M(null), [
|
|
30
|
-
i === void 0 &&
|
|
31
|
-
},
|
|
29
|
+
const d = M(null), [O, b] = x(!!i), [m, B] = x(null), u = R(), a = i ?? O, N = (o) => {
|
|
30
|
+
i === void 0 && b(o), o || B(null), r == null || r(o);
|
|
31
|
+
}, g = (o) => {
|
|
32
32
|
B(o), n == null || n(o);
|
|
33
|
-
},
|
|
33
|
+
}, E = (o) => /* @__PURE__ */ e(
|
|
34
34
|
C,
|
|
35
35
|
{
|
|
36
|
-
fallback: /* @__PURE__ */
|
|
36
|
+
fallback: /* @__PURE__ */ e(
|
|
37
37
|
_.FocusTrap,
|
|
38
38
|
{
|
|
39
39
|
active: a,
|
|
40
|
-
...
|
|
40
|
+
...t,
|
|
41
41
|
focusTrapOptions: {
|
|
42
42
|
clickOutsideDeactivates: !0,
|
|
43
43
|
initialFocus: `[id='${u}']`,
|
|
44
44
|
preventScroll: !0,
|
|
45
|
-
...
|
|
45
|
+
...t == null ? void 0 : t.focusTrapOptions
|
|
46
46
|
},
|
|
47
47
|
containerElements: [o]
|
|
48
48
|
}
|
|
@@ -50,7 +50,7 @@ const X = "helpBoxButton__19327057", $ = "helpBoxTooltipBody__acbc96cd", f = {
|
|
|
50
50
|
children: null
|
|
51
51
|
}
|
|
52
52
|
);
|
|
53
|
-
return /* @__PURE__ */ h(
|
|
53
|
+
return /* @__PURE__ */ h(H, { children: [
|
|
54
54
|
/* @__PURE__ */ h(
|
|
55
55
|
l,
|
|
56
56
|
{
|
|
@@ -59,36 +59,36 @@ const X = "helpBoxButton__19327057", $ = "helpBoxTooltipBody__acbc96cd", f = {
|
|
|
59
59
|
role: "dialog",
|
|
60
60
|
toggleType: "hover",
|
|
61
61
|
size: I,
|
|
62
|
-
preferPlace:
|
|
62
|
+
preferPlace: v,
|
|
63
63
|
isOpen: a,
|
|
64
|
-
toggle:
|
|
65
|
-
onShow:
|
|
64
|
+
toggle: N,
|
|
65
|
+
onShow: g,
|
|
66
66
|
targetRef: d,
|
|
67
|
-
...!!s &&
|
|
67
|
+
...!!s && Q(s),
|
|
68
68
|
...!!p && D(p),
|
|
69
69
|
children: [
|
|
70
|
-
/* @__PURE__ */
|
|
70
|
+
/* @__PURE__ */ e(l.Target, { children: /* @__PURE__ */ e(
|
|
71
71
|
j,
|
|
72
72
|
{
|
|
73
73
|
className: S(f.helpBoxButton, y),
|
|
74
74
|
"aria-label": "Подсказка",
|
|
75
75
|
shape: k.CIRCLE,
|
|
76
76
|
ref: d,
|
|
77
|
-
...
|
|
78
|
-
children: /* @__PURE__ */
|
|
77
|
+
...F,
|
|
78
|
+
children: /* @__PURE__ */ e(L, { paletteIndex: 5 })
|
|
79
79
|
}
|
|
80
80
|
) }),
|
|
81
|
-
c && /* @__PURE__ */
|
|
82
|
-
/* @__PURE__ */
|
|
83
|
-
/* @__PURE__ */
|
|
81
|
+
c && /* @__PURE__ */ e(z, { children: c }),
|
|
82
|
+
/* @__PURE__ */ e(l.Body, { className: f.helpBoxTooltipBody, children: T }),
|
|
83
|
+
/* @__PURE__ */ e(l.XButton, { "aria-label": "Закрыть" })
|
|
84
84
|
]
|
|
85
85
|
}
|
|
86
86
|
),
|
|
87
|
-
a && m &&
|
|
87
|
+
a && m && E(m)
|
|
88
88
|
] });
|
|
89
89
|
};
|
|
90
|
-
|
|
90
|
+
$.displayName = "HelpBox";
|
|
91
91
|
export {
|
|
92
|
-
|
|
92
|
+
$ as HelpBox
|
|
93
93
|
};
|
|
94
94
|
//# sourceMappingURL=HelpBox.js.map
|
|
@@ -5,7 +5,7 @@ import { EIslandType as l } from "./enums.js";
|
|
|
5
5
|
import { IslandBody as f } from "./components/IslandBody.js";
|
|
6
6
|
import { IslandHeader as n } from "./components/IslandHeader.js";
|
|
7
7
|
import { IslandFooter as c } from "./components/IslandFooter.js";
|
|
8
|
-
import { s as o, m as y } from "../../chunks/utils-
|
|
8
|
+
import { s as o, m as y } from "../../chunks/utils-DQX5JZ_3.js";
|
|
9
9
|
import { EComponentSize as I } from "../../enums/EComponentSize.js";
|
|
10
10
|
import { createSizeToClassNameMap as T } from "../../utils/classNameMaps.js";
|
|
11
11
|
const N = T(o), C = Object.assign(
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import r from "react";
|
|
3
3
|
import { c as t } from "../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
-
const l = "
|
|
4
|
+
const l = "islandBody__3126dd59", n = {
|
|
5
5
|
islandBody: l
|
|
6
|
-
}, m = r.forwardRef(({ children: o, ...
|
|
6
|
+
}, m = r.forwardRef(({ children: o, ...d }, s) => /* @__PURE__ */ a("div", { className: t(n.islandBody), ref: s, ...d, children: o }));
|
|
7
7
|
export {
|
|
8
8
|
m as IslandBody
|
|
9
9
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
const l = "
|
|
2
|
+
import a from "react";
|
|
3
|
+
import { c as e } from "../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
const l = "islandFooter__5c9a989b", n = {
|
|
5
5
|
islandFooter: l
|
|
6
|
-
}, m =
|
|
6
|
+
}, m = a.forwardRef(({ children: o, ...r }, t) => /* @__PURE__ */ s("div", { className: e(n.islandFooter), ref: t, ...r, children: o }));
|
|
7
7
|
export {
|
|
8
8
|
m as IslandFooter
|
|
9
9
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import d from "react";
|
|
3
3
|
import { c as o } from "../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
-
const t = "
|
|
4
|
+
const t = "islandHeader__c1b925fe", l = {
|
|
5
5
|
islandHeader: t
|
|
6
6
|
}, f = d.forwardRef(({ children: e, ...a }, r) => /* @__PURE__ */ s("div", { className: o(l.islandHeader), ref: r, ...a, children: e }));
|
|
7
7
|
export {
|
|
@@ -9,7 +9,7 @@ import "../Island/components/IslandBody.js";
|
|
|
9
9
|
import "../Island/components/IslandHeader.js";
|
|
10
10
|
import "../Island/components/IslandFooter.js";
|
|
11
11
|
import { c as f } from "../../chunks/vendor-D3hUOusX.js";
|
|
12
|
-
import { s as I } from "../../chunks/IslandAccordion.module-
|
|
12
|
+
import { s as I } from "../../chunks/IslandAccordion.module-DoM2x4VR.js";
|
|
13
13
|
import "./components/IslandAccordionContent.js";
|
|
14
14
|
import "./components/IslandAccordionFooter.js";
|
|
15
15
|
import "./components/IslandAccordionTitle.js";
|
|
@@ -17,7 +17,7 @@ const x = Object.assign(
|
|
|
17
17
|
e.forwardRef(
|
|
18
18
|
({ className: r, children: t, size: m = d.MD, type: i = l.TYPE_1, ...s }, a) => {
|
|
19
19
|
const c = f(r, I.islandAccordion);
|
|
20
|
-
return /* @__PURE__ */ o(p.Provider, { value: { size: m, type: i }, children: /* @__PURE__ */ o("ul", { ...s, className: c, "data-tx": "1.
|
|
20
|
+
return /* @__PURE__ */ o(p.Provider, { value: { size: m, type: i }, children: /* @__PURE__ */ o("ul", { ...s, className: c, "data-tx": "1.7.0", ref: a, children: t }) });
|
|
21
21
|
}
|
|
22
22
|
),
|
|
23
23
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { s as r } from "../../../chunks/IslandAccordion.module-
|
|
2
|
+
import { s as r } from "../../../chunks/IslandAccordion.module-DoM2x4VR.js";
|
|
3
3
|
import { Island as s } from "../../Island/Island.js";
|
|
4
4
|
import "../../Island/components/IslandBody.js";
|
|
5
5
|
import "../../Island/components/IslandHeader.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { c as t } from "../../../chunks/vendor-D3hUOusX.js";
|
|
3
|
-
import { s as m } from "../../../chunks/IslandAccordion.module-
|
|
3
|
+
import { s as m } from "../../../chunks/IslandAccordion.module-DoM2x4VR.js";
|
|
4
4
|
import { Island as i } from "../../Island/Island.js";
|
|
5
5
|
import "../../Island/components/IslandBody.js";
|
|
6
6
|
import "../../Island/components/IslandHeader.js";
|
|
@@ -4,7 +4,7 @@ import { CaretdownStrokeSrvIcon24 as X, CrossStrokeSrvIcon24 as D } from "@sberb
|
|
|
4
4
|
import { a as G, c as d } from "../../../chunks/vendor-D3hUOusX.js";
|
|
5
5
|
import { Island as v } from "../../Island/Island.js";
|
|
6
6
|
import { ExpandAnimation as J } from "../../ExpandAnimation/ExpandAnimation.js";
|
|
7
|
-
import { s as e } from "../../../chunks/IslandAccordion.module-
|
|
7
|
+
import { s as e } from "../../../chunks/IslandAccordion.module-DoM2x4VR.js";
|
|
8
8
|
import { IslandAccordionTitle as K } from "./IslandAccordionTitle.js";
|
|
9
9
|
import { IslandAccordionContent as L } from "./IslandAccordionContent.js";
|
|
10
10
|
import { IslandAccordionFooter as Q } from "./IslandAccordionFooter.js";
|
|
@@ -76,7 +76,7 @@ const ee = {
|
|
|
76
76
|
onFocus: P,
|
|
77
77
|
onBlur: j,
|
|
78
78
|
disabled: a,
|
|
79
|
-
"data-tx": "1.
|
|
79
|
+
"data-tx": "1.7.0",
|
|
80
80
|
children: [
|
|
81
81
|
p && m && /* @__PURE__ */ t("div", { className: e.step, children: /* @__PURE__ */ t(Z, { step: m, status: p, position: R.XFirst, children: a ? void 0 : b }) }),
|
|
82
82
|
/* @__PURE__ */ c("div", { className: e.titleWrapper, children: [
|