@sberbusiness/triplex-next 0.10.0 → 0.11.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/README.md +6 -0
- package/chunks/{AlertProcessSpoiler-BthiLiMe.js → AlertProcessSpoiler-NTQfGBrX.js} +10 -10
- package/chunks/{CalendarViewItem-CNP7C3l_.js → CalendarViewItem-2IOAiJCi.js} +8 -8
- package/chunks/Card.module-CTH4ur-u.js +17 -0
- package/chunks/CheckboxTreeExtended.module-DKqKzsOD.js +11 -0
- package/chunks/{Chip-DaFItkIp.js → Chip-BtHrgIed.js} +6 -6
- package/chunks/Confirm.module-DSBC6Yw1.js +15 -0
- package/chunks/{DropdownListItem-lbLsbKwC.js → DropdownListItem-CiE3zUVn.js} +14 -14
- package/chunks/DropdownMobile.module-wrANtbau.js +23 -0
- package/chunks/Footer.module-Dcht4j1M.js +9 -0
- package/chunks/{FormFieldInput-BoG8X8Sc.js → FormFieldInput-DO7mZKjJ.js} +12 -12
- package/chunks/HeaderLayoutSidebar.module-Bk1s4R6K.js +9 -0
- package/chunks/HeaderTabs.module-DQtcQlY-.js +9 -0
- package/chunks/{HeaderTitle.module-r9kVKK-W.js → HeaderTitle.module-Db-ProSl.js} +2 -2
- package/chunks/IslandAccordion.module-Bzf6LSEv.js +25 -0
- package/chunks/IslandWidgetFooter.module-BAka54Z0.js +9 -0
- package/chunks/IslandWidgetHeader.module-D0IG5uT2.js +9 -0
- package/chunks/{LightBoxContent-3M4bOnUh.js → LightBoxContent-CdWfZopQ.js} +6 -6
- package/chunks/LightBoxControls.module-B_wOBHqj.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-LYfcE0NM.js +8 -0
- package/chunks/{ListItemControlsButton-rF_5JaM-.js → ListItemControlsButton-ABcLen-s.js} +9 -9
- package/chunks/ListItemTail.module-BrfPnk8y.js +12 -0
- package/chunks/ListMasterFooter.module-BMZXwZ7J.js +10 -0
- package/chunks/ModalWindow.module-h07HG756.js +17 -0
- package/chunks/Notification.module-D0gwzw2G.js +21 -0
- package/chunks/Overlay.module-bxX7Sw1v.js +18 -0
- package/chunks/Page.module-QEvU_pYT.js +11 -0
- package/chunks/{RightBorderArrow-C1vPwzXO.js → RightBorderArrow-CO-Xom11.js} +7 -7
- package/chunks/SMSField.module-BXwYRXqL.js +16 -0
- package/chunks/SliderExtendedMarks.module-B7ILUATa.js +15 -0
- package/chunks/{SliderExtendedRail-Bw4p-kLW.js → SliderExtendedRail-BXD0TPpN.js} +9 -9
- package/chunks/StatusTracker.module-B9ddfVz8.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-Ciw5Nm9X.js → SuggestFieldMobileDropdownHint-CN-2l1Nh.js} +2 -2
- package/chunks/TableFooter.module-BJXoCeSm.js +14 -0
- package/chunks/TabsExtended.module-Bz6DCd7L.js +16 -0
- package/chunks/TabsLine.module-CGVMZUpJ.js +21 -0
- package/chunks/TooltipDesktop.module-Czj3LOl5.js +19 -0
- package/chunks/TreeView.module-BNdrvQFP.js +9 -0
- package/chunks/UploadZoneInput-D41J-S68.js +35 -0
- package/chunks/utils-B705lf16.js +24 -0
- package/chunks/utils-CEIGazsY.js +73 -0
- package/chunks/utils-CG0eQjCw.js +20 -0
- package/chunks/{utils-Ql50x949.js → utils-DK364Pn0.js} +4 -4
- package/chunks/{utils-CxR_OPBn.js → utils-JjvCkK44.js} +8 -8
- package/components/Alert/AlertContext/AlertContext.js +11 -11
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +2 -2
- package/components/AmountField/AmountField.js +6 -6
- package/components/Body/Body.js +7 -7
- package/components/Button/Button.js +21 -21
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +12 -12
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +10 -10
- package/components/Calendar/Calendar.js +5 -5
- package/components/Calendar/components/CalendarControls.js +1 -1
- 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 +3 -3
- package/components/Card/CardStatic.js +2 -2
- package/components/Card/components/CardContent/CardContent.js +1 -1
- package/components/Card/components/CardContent/components/CardContentBody.js +1 -1
- package/components/Card/components/CardContent/components/CardContentFooter.js +1 -1
- package/components/Card/components/CardContent/components/CardContentHeader.js +1 -1
- package/components/Card/components/CardMedia.js +1 -1
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +1 -1
- package/components/Checkbox/Checkbox.js +7 -7
- package/components/Checkbox/CheckboxXGroup.js +11 -11
- package/components/Checkbox/CheckboxYGroup.js +6 -6
- 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 +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +6 -6
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +2 -2
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +18 -18
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +15 -15
- package/components/Col/Col.js +134 -134
- package/components/CollapsableTree/components/CollapsableTreeNode.js +5 -5
- 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 +4 -4
- package/components/DateRange/DateRange.js +5 -5
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/components/Step.js +1 -1
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +1 -1
- package/components/Dropdown/desktop/DropdownDesktop.js +5 -5
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +4 -4
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +8 -8
- package/components/ExpandAnimation/ExpandAnimation.js +15 -15
- 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 +25 -25
- package/components/FormField/components/FormFieldClear.js +6 -6
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +8 -8
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +14 -14
- package/components/FormField/components/FormFieldMaskedInput.js +10 -10
- package/components/FormField/components/FormFieldPostfix.js +7 -7
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +4 -4
- 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 +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 +7 -7
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +7 -7
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +5 -5
- package/components/Island/components/IslandFooter.js +1 -1
- package/components/Island/components/IslandHeader.js +1 -1
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +5 -6
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +92 -98
- package/components/IslandAccordion/components/index.js +1 -3
- package/components/IslandAccordion/index.js +3 -5
- package/components/IslandWidget/IslandWidget.js +11 -11
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +6 -6
- package/components/LightBox/LightBox.js +18 -18
- 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 +11 -11
- 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/LightBoxSidebars/LightBoxLeftSidebar.js +4 -4
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +1 -1
- package/components/Link/Link.js +17 -17
- package/components/List/List.js +4 -4
- package/components/List/components/ListEmptyState.js +4 -4
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +5 -5
- 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 +1 -1
- package/components/List/components/ListItemSelectable.js +9 -9
- package/components/List/components/ListItemTable.js +1 -1
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +4 -4
- package/components/List/components/ListSortableItemControls.js +1 -1
- package/components/List/components/ListSortableItemTarget.js +3 -3
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +5 -5
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +5 -5
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +1 -1
- package/components/Loader/LoaderSmall/LoaderSmall.js +12 -12
- package/components/LoaderScreen/LoaderScreen.js +10 -10
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +15 -15
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +1 -1
- package/components/ModalWindow/components/ModalWindowClose.js +1 -1
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +1 -1
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +4 -4
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +1 -1
- 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/NotificationIcon/NotificationIcon.js +4 -4
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +6 -6
- package/components/OrderedList/OrderedListItem.js +7 -7
- 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 +7 -7
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +5 -5
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- 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 +4 -4
- package/components/Radio/Radio.js +16 -16
- package/components/Radio/RadioXGroup.js +7 -7
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +5 -5
- package/components/SMSField/SMSField.js +2 -2
- package/components/SMSField/components/RefreshIcon.js +1 -1
- package/components/SMSField/components/SMSFieldInput.js +2 -2
- package/components/SMSField/components/SMSFieldRefresh.js +1 -1
- package/components/SMSField/components/SMSFieldSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +8 -8
- package/components/SegmentedControl/SegmentedControlSegment.js +13 -13
- package/components/SelectExtendedField/SelectExtendedField.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +10 -10
- package/components/Skeleton/Skeleton.js +11 -11
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +16 -16
- 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 +1 -1
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +25 -25
- package/components/SmallInput/SmallInput.js +3 -3
- package/components/Spoiler/Spoiler.js +18 -18
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +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 +5 -5
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +1 -1
- package/components/Stepper/StepperExtended.js +3 -3
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperWrapper.js +2 -2
- package/components/Suggest/SuggestMobileDropdownContent.js +13 -13
- 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 +5 -5
- package/components/Table/MasterTable.js +15 -15
- package/components/Table/NoColumns.js +3 -3
- package/components/Table/PaginationPanel.js +2 -2
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +5 -5
- 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 +1 -1
- package/components/Table/TabsLinePanelLinks.js +5 -5
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +4 -4
- 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 +4 -4
- package/components/Tag/Tag.js +16 -16
- package/components/TagColor/TagColor.js +15 -15
- package/components/TagGroup/TagGroup.js +6 -6
- 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 +6 -6
- package/components/TopOverlay/TopOverlay.js +21 -21
- 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 +16 -16
- package/components/Typography/Text.js +25 -25
- package/components/Typography/Title.js +8 -8
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +2 -2
- package/components/UnorderedList/UnorderedListItem.js +6 -6
- package/components/UploadZone/UploadZone.js +110 -98
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +172 -174
- package/index.d.ts +3 -39
- package/index.js +216 -218
- package/package.json +1 -1
- package/styles/triplex-next.css +535 -535
- package/chunks/Card.module-BxAU0ct3.js +0 -17
- package/chunks/CheckboxTreeExtended.module-8H0Dgq8c.js +0 -11
- package/chunks/Confirm.module-BaXVkVHJ.js +0 -15
- package/chunks/DropdownMobile.module-kHpY8q0l.js +0 -23
- package/chunks/Footer.module-BZTAlpWH.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-Bbxhh0aE.js +0 -9
- package/chunks/HeaderTabs.module-Bo3HPBP_.js +0 -9
- package/chunks/IslandAccordion.module-r5TKHc-1.js +0 -25
- package/chunks/IslandWidgetFooter.module-DANV-WDZ.js +0 -9
- package/chunks/IslandWidgetHeader.module-D9N9d8U0.js +0 -9
- package/chunks/LightBoxControls.module-C1sKSbiw.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-H2K8IoVH.js +0 -8
- package/chunks/ListItemTail.module-rBxpoSGQ.js +0 -12
- package/chunks/ListMasterFooter.module-CjjTF28N.js +0 -10
- package/chunks/ModalWindow.module-BJWhs2p-.js +0 -17
- package/chunks/Notification.module-CoXNIHHx.js +0 -21
- package/chunks/Overlay.module-DqeHrg4k.js +0 -18
- package/chunks/Page.module-JyadpNMJ.js +0 -11
- package/chunks/SMSField.module-BR0BSWtJ.js +0 -16
- package/chunks/SliderExtendedMarks.module-DyfiF83O.js +0 -15
- package/chunks/StatusTracker.module-BzdhWkFm.js +0 -24
- package/chunks/TableFooter.module-BRn2cKAx.js +0 -14
- package/chunks/TabsExtended.module-DW52Fxa9.js +0 -16
- package/chunks/TabsLine.module-Do3KfZpp.js +0 -21
- package/chunks/TooltipDesktop.module-B10Gb93w.js +0 -19
- package/chunks/TreeView.module-oFkxX2oe.js +0 -9
- package/chunks/UploadZoneInput-CQ9bTi-y.js +0 -33
- package/chunks/utils-BHK9pmFJ.js +0 -73
- package/chunks/utils-DTmo2xHF.js +0 -20
- package/chunks/utils-DbKLiLdh.js +0 -24
- package/components/IslandAccordion/components/IslandAccordionTitle.js +0 -21
|
@@ -1,122 +1,116 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { jsxs as i, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import z, { useState as F, useContext as M, useRef as T, useEffect as Y } from "react";
|
|
3
3
|
import { CaretdownStrokeSrvIcon24 as _, CrossStrokeSrvIcon24 as H } from "@sberbusiness/icons-next";
|
|
4
|
-
import { a as W, c as
|
|
4
|
+
import { a as W, c as n } from "../../../chunks/vendor-BlJo2ILB.js";
|
|
5
5
|
import { Island as y } from "../../Island/Island.js";
|
|
6
6
|
import { ExpandAnimation as $ } from "../../ExpandAnimation/ExpandAnimation.js";
|
|
7
|
-
import { s as t } from "../../../chunks/IslandAccordion.module-
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { createSizeToClassNameMap as D } from "../../../utils/classNameMaps.js";
|
|
7
|
+
import { s as t } from "../../../chunks/IslandAccordion.module-Bzf6LSEv.js";
|
|
8
|
+
import { IslandAccordionContent as q } from "./IslandAccordionContent.js";
|
|
9
|
+
import { IslandAccordionFooter as B } from "./IslandAccordionFooter.js";
|
|
10
|
+
import { createSizeToClassNameMap as X } from "../../../utils/classNameMaps.js";
|
|
12
11
|
import "../../Button/Button.js";
|
|
13
12
|
import "../../Button/ButtonBase.js";
|
|
14
|
-
import { ButtonIcon as
|
|
13
|
+
import { ButtonIcon as D } from "../../Button/ButtonIcon.js";
|
|
15
14
|
import "../../Button/ButtonDropdown.js";
|
|
16
15
|
import "../../Button/ButtonDropdownExtended.js";
|
|
17
|
-
import { EIslandType as
|
|
16
|
+
import { EIslandType as p } from "../../Island/enums.js";
|
|
18
17
|
import "../../Island/components/IslandBody.js";
|
|
19
18
|
import "../../Island/components/IslandHeader.js";
|
|
20
19
|
import "../../Island/components/IslandFooter.js";
|
|
21
|
-
import { Step as
|
|
22
|
-
import { EStepPosition as
|
|
23
|
-
import { IslandAccordionContext as
|
|
24
|
-
const
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
28
|
-
},
|
|
29
|
-
|
|
20
|
+
import { Step as G } from "../../Step/Step.js";
|
|
21
|
+
import { EStepPosition as J } from "../../Step/enums.js";
|
|
22
|
+
import { IslandAccordionContext as K } from "../IslandAccordionContext.js";
|
|
23
|
+
const L = {
|
|
24
|
+
[p.TYPE_1]: t.type1,
|
|
25
|
+
[p.TYPE_2]: t.type2,
|
|
26
|
+
[p.TYPE_3]: t.type3
|
|
27
|
+
}, Q = X(t), U = Object.assign(
|
|
28
|
+
z.forwardRef(
|
|
30
29
|
({
|
|
31
30
|
children: S,
|
|
32
31
|
title: v,
|
|
33
|
-
className:
|
|
34
|
-
opened:
|
|
35
|
-
disabled:
|
|
36
|
-
onRemove:
|
|
37
|
-
onToggle:
|
|
38
|
-
id:
|
|
39
|
-
num:
|
|
40
|
-
status:
|
|
41
|
-
stepHint:
|
|
42
|
-
transitionProps:
|
|
43
|
-
...
|
|
44
|
-
},
|
|
45
|
-
const [
|
|
32
|
+
className: E,
|
|
33
|
+
opened: a,
|
|
34
|
+
disabled: e,
|
|
35
|
+
onRemove: s,
|
|
36
|
+
onToggle: c,
|
|
37
|
+
id: m,
|
|
38
|
+
num: d,
|
|
39
|
+
status: l,
|
|
40
|
+
stepHint: k,
|
|
41
|
+
transitionProps: A,
|
|
42
|
+
...b
|
|
43
|
+
}, O) => {
|
|
44
|
+
const [o, f] = F(a || !1), { size: I, type: h } = M(K), C = T(W()).current, N = `${C}header`, u = `${C}body`;
|
|
46
45
|
Y(() => {
|
|
47
|
-
|
|
48
|
-
}, [
|
|
49
|
-
const
|
|
50
|
-
if (
|
|
46
|
+
a !== void 0 && o !== a && f(a);
|
|
47
|
+
}, [a, o]);
|
|
48
|
+
const P = () => {
|
|
49
|
+
if (e)
|
|
51
50
|
return;
|
|
52
|
-
const
|
|
53
|
-
|
|
54
|
-
},
|
|
55
|
-
|
|
56
|
-
},
|
|
57
|
-
[t.disabled]: !!
|
|
58
|
-
[t.opened]:
|
|
51
|
+
const x = !o;
|
|
52
|
+
c == null || c(x, m), a === void 0 && f(x);
|
|
53
|
+
}, j = () => {
|
|
54
|
+
e || s == null || s(m);
|
|
55
|
+
}, w = n(E, t.item, Q[I], L[h], {
|
|
56
|
+
[t.disabled]: !!e,
|
|
57
|
+
[t.opened]: o
|
|
59
58
|
});
|
|
60
|
-
return /* @__PURE__ */
|
|
61
|
-
/* @__PURE__ */
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
children: S
|
|
107
|
-
}
|
|
108
|
-
)
|
|
109
|
-
] }) });
|
|
59
|
+
return /* @__PURE__ */ i("li", { ...b, className: w, id: m, ref: O, children: [
|
|
60
|
+
/* @__PURE__ */ i(y, { className: t.island, size: I, type: h, children: [
|
|
61
|
+
/* @__PURE__ */ r(y.Header, { children: /* @__PURE__ */ i(
|
|
62
|
+
"button",
|
|
63
|
+
{
|
|
64
|
+
id: N,
|
|
65
|
+
"aria-controls": u,
|
|
66
|
+
"aria-expanded": o,
|
|
67
|
+
type: "button",
|
|
68
|
+
className: n(t.header, {
|
|
69
|
+
hoverable: !o
|
|
70
|
+
}),
|
|
71
|
+
onClick: P,
|
|
72
|
+
disabled: e,
|
|
73
|
+
"data-tx": "0.11.0",
|
|
74
|
+
children: [
|
|
75
|
+
l && d && /* @__PURE__ */ r("div", { className: t.step, children: /* @__PURE__ */ r(G, { step: d, status: l, position: J.XFirst, children: e ? void 0 : k }) }),
|
|
76
|
+
/* @__PURE__ */ i("div", { className: t.titleWrapper, children: [
|
|
77
|
+
" ",
|
|
78
|
+
v
|
|
79
|
+
] }),
|
|
80
|
+
/* @__PURE__ */ r("span", { className: n(t.caretWrapper), children: /* @__PURE__ */ r(
|
|
81
|
+
_,
|
|
82
|
+
{
|
|
83
|
+
className: t.caretIcon,
|
|
84
|
+
"aria-hidden": "true",
|
|
85
|
+
paletteIndex: 5
|
|
86
|
+
}
|
|
87
|
+
) })
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
) }),
|
|
91
|
+
/* @__PURE__ */ r(
|
|
92
|
+
$,
|
|
93
|
+
{
|
|
94
|
+
expanded: o && !e,
|
|
95
|
+
id: u,
|
|
96
|
+
role: "region",
|
|
97
|
+
"aria-labelledby": N,
|
|
98
|
+
transitionProps: A,
|
|
99
|
+
children: S
|
|
100
|
+
}
|
|
101
|
+
)
|
|
102
|
+
] }),
|
|
103
|
+
s && /* @__PURE__ */ r("div", { className: n(t.remove, "hoverable", { disabled: e }), children: /* @__PURE__ */ r(D, { onClick: j, title: "Удалить", children: /* @__PURE__ */ r(H, { paletteIndex: 5 }) }) })
|
|
104
|
+
] });
|
|
110
105
|
}
|
|
111
106
|
),
|
|
112
107
|
{
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
Footer: X
|
|
108
|
+
Content: q,
|
|
109
|
+
Footer: B
|
|
116
110
|
}
|
|
117
111
|
);
|
|
118
|
-
|
|
112
|
+
U.displayName = "IslandAccordionItem";
|
|
119
113
|
export {
|
|
120
|
-
|
|
114
|
+
U as IslandAccordionItem
|
|
121
115
|
};
|
|
122
116
|
//# sourceMappingURL=IslandAccordionItem.js.map
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { IslandAccordionItem as n } from "./IslandAccordionItem.js";
|
|
2
2
|
import { IslandAccordionContent as c } from "./IslandAccordionContent.js";
|
|
3
3
|
import { IslandAccordionFooter as e } from "./IslandAccordionFooter.js";
|
|
4
|
-
import { IslandAccordionTitle as l } from "./IslandAccordionTitle.js";
|
|
5
4
|
export {
|
|
6
5
|
c as IslandAccordionContent,
|
|
7
6
|
e as IslandAccordionFooter,
|
|
8
|
-
n as IslandAccordionItem
|
|
9
|
-
l as IslandAccordionTitle
|
|
7
|
+
n as IslandAccordionItem
|
|
10
8
|
};
|
|
11
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { IslandAccordion as n } from "./IslandAccordion.js";
|
|
2
2
|
import { IslandAccordionItem as d } from "./components/IslandAccordionItem.js";
|
|
3
3
|
import { IslandAccordionContent as e } from "./components/IslandAccordionContent.js";
|
|
4
|
-
import { IslandAccordionFooter as
|
|
5
|
-
import { IslandAccordionTitle as I } from "./components/IslandAccordionTitle.js";
|
|
4
|
+
import { IslandAccordionFooter as I } from "./components/IslandAccordionFooter.js";
|
|
6
5
|
export {
|
|
7
6
|
n as IslandAccordion,
|
|
8
7
|
e as IslandAccordionContent,
|
|
9
|
-
|
|
10
|
-
d as IslandAccordionItem
|
|
11
|
-
I as IslandAccordionTitle
|
|
8
|
+
I as IslandAccordionFooter,
|
|
9
|
+
d as IslandAccordionItem
|
|
12
10
|
};
|
|
13
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -5,19 +5,19 @@ import { EIslandType as g } from "../Island/enums.js";
|
|
|
5
5
|
import "../Island/components/IslandBody.js";
|
|
6
6
|
import "../Island/components/IslandHeader.js";
|
|
7
7
|
import "../Island/components/IslandFooter.js";
|
|
8
|
-
import { IslandWidgetHeader as
|
|
9
|
-
import { IslandWidgetBody as
|
|
8
|
+
import { IslandWidgetHeader as x } from "./components/IslandWidgetHeader.js";
|
|
9
|
+
import { IslandWidgetBody as c } from "./components/IslandWidgetBody.js";
|
|
10
10
|
import { IslandWidgetFooter as f } from "./components/IslandWidgetFooter.js";
|
|
11
11
|
import { IslandWidgetExtraFooter as E } from "./components/IslandWidgetExtraFooter.js";
|
|
12
12
|
import { EComponentSize as I } from "../../enums/EComponentSize.js";
|
|
13
13
|
import { c as F } from "../../chunks/vendor-BlJo2ILB.js";
|
|
14
14
|
import { IslandWidgetContext as h } from "./IslandWidgetContext.js";
|
|
15
|
-
const y = "
|
|
15
|
+
const y = "islandWidget__161be3d9", _ = "islandWidgetWithExtraFooter__d6ece8e9", o = {
|
|
16
16
|
islandWidget: y,
|
|
17
17
|
islandWidgetWithExtraFooter: _
|
|
18
|
-
},
|
|
18
|
+
}, j = Object.assign(
|
|
19
19
|
l.forwardRef(
|
|
20
|
-
({ className: i, renderBody:
|
|
20
|
+
({ className: i, renderBody: e, renderFooter: t, renderHeader: r, ...d }, a) => {
|
|
21
21
|
const { hasExtraFooter: s } = p(h);
|
|
22
22
|
return /* @__PURE__ */ n(
|
|
23
23
|
"div",
|
|
@@ -25,12 +25,12 @@ const y = "islandWidget__bc47d4a5", _ = "islandWidgetWithExtraFooter__3c1e2a5b",
|
|
|
25
25
|
className: F(o.islandWidget, i, {
|
|
26
26
|
[o.islandWidgetWithExtraFooter]: s
|
|
27
27
|
}),
|
|
28
|
-
"data-tx": "0.
|
|
28
|
+
"data-tx": "0.11.0",
|
|
29
29
|
...d,
|
|
30
30
|
ref: a,
|
|
31
31
|
children: /* @__PURE__ */ m(W, { type: g.TYPE_1, size: I.MD, children: [
|
|
32
|
-
e({}),
|
|
33
32
|
r({}),
|
|
33
|
+
e({}),
|
|
34
34
|
t ? t({}) : null
|
|
35
35
|
] })
|
|
36
36
|
}
|
|
@@ -38,14 +38,14 @@ const y = "islandWidget__bc47d4a5", _ = "islandWidgetWithExtraFooter__3c1e2a5b",
|
|
|
38
38
|
}
|
|
39
39
|
),
|
|
40
40
|
{
|
|
41
|
-
Header:
|
|
42
|
-
Body:
|
|
41
|
+
Header: x,
|
|
42
|
+
Body: c,
|
|
43
43
|
Footer: f,
|
|
44
44
|
ExtraFooter: E
|
|
45
45
|
}
|
|
46
46
|
);
|
|
47
|
-
|
|
47
|
+
j.displayName = "IslandWidget";
|
|
48
48
|
export {
|
|
49
|
-
|
|
49
|
+
j as IslandWidget
|
|
50
50
|
};
|
|
51
51
|
//# sourceMappingURL=IslandWidget.js.map
|
|
@@ -3,7 +3,7 @@ import { useContext as i, useEffect as d } from "react";
|
|
|
3
3
|
import { c as n } from "../../../chunks/vendor-BlJo2ILB.js";
|
|
4
4
|
import { ExpandAnimation as x } from "../../ExpandAnimation/ExpandAnimation.js";
|
|
5
5
|
import { IslandWidgetContext as l } from "../IslandWidgetContext.js";
|
|
6
|
-
const m = "
|
|
6
|
+
const m = "islandWidgetExtraFooter__863e784a", c = {
|
|
7
7
|
islandWidgetExtraFooter: m
|
|
8
8
|
}, E = ({
|
|
9
9
|
children: e,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { c as i } from "../../../chunks/vendor-BlJo2ILB.js";
|
|
3
|
-
import { s as n } from "../../../chunks/IslandWidgetFooter.module-
|
|
3
|
+
import { s as n } from "../../../chunks/IslandWidgetFooter.module-BAka54Z0.js";
|
|
4
4
|
import { IslandWidgetFooterContent as d } from "./IslandWidgetFooterContent.js";
|
|
5
5
|
import { IslandWidgetFooterControls as m } from "./IslandWidgetFooterControls.js";
|
|
6
6
|
const o = ({ children: t, className: r, ...s }) => /* @__PURE__ */ e("div", { ...s, className: i(r, n.islandWidgetFooter), children: t });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import { c as i } from "../../../chunks/vendor-BlJo2ILB.js";
|
|
3
|
-
import { s as a } from "../../../chunks/IslandWidgetHeader.module-
|
|
3
|
+
import { s as a } from "../../../chunks/IslandWidgetHeader.module-D0IG5uT2.js";
|
|
4
4
|
import { IslandWidgetHeaderContent as o } from "./IslandWidgetHeaderContent.js";
|
|
5
5
|
import { IslandWidgetHeaderDescription as m } from "./IslandWidgetHeaderDescription.js";
|
|
6
6
|
const e = ({ children: t, className: r, ...s }) => /* @__PURE__ */ d("div", { ...s, className: i(r, a.islandWidgetHeader), children: t });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { c as d } from "../../../chunks/vendor-BlJo2ILB.js";
|
|
3
|
-
import { s as o } from "../../../chunks/IslandWidgetHeader.module-
|
|
3
|
+
import { s as o } from "../../../chunks/IslandWidgetHeader.module-D0IG5uT2.js";
|
|
4
4
|
const n = ({
|
|
5
5
|
children: e,
|
|
6
6
|
className: t,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { c as a } from "../../../chunks/vendor-BlJo2ILB.js";
|
|
3
|
-
import { s as t } from "../../../chunks/IslandWidgetHeader.module-
|
|
3
|
+
import { s as t } from "../../../chunks/IslandWidgetHeader.module-D0IG5uT2.js";
|
|
4
4
|
const d = ({
|
|
5
5
|
children: s,
|
|
6
6
|
className: e,
|
|
@@ -2,16 +2,16 @@ import { jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import i, { useState as p } from "react";
|
|
3
3
|
import { c as l } from "../../../chunks/vendor-BlJo2ILB.js";
|
|
4
4
|
import { IslandWidgetContext as n } from "../IslandWidgetContext.js";
|
|
5
|
-
const W = "
|
|
5
|
+
const W = "islandWidgetWrapper__798978b7", m = {
|
|
6
6
|
islandWidgetWrapper: W
|
|
7
|
-
},
|
|
8
|
-
({ children: e, className:
|
|
7
|
+
}, c = i.forwardRef(
|
|
8
|
+
({ children: e, className: t, ...a }, s) => {
|
|
9
9
|
const [o, d] = p(!1);
|
|
10
|
-
return /* @__PURE__ */ r(n.Provider, { value: { hasExtraFooter: o, setHasExtraFooter: d }, children: /* @__PURE__ */ r("div", { className: l(
|
|
10
|
+
return /* @__PURE__ */ r(n.Provider, { value: { hasExtraFooter: o, setHasExtraFooter: d }, children: /* @__PURE__ */ r("div", { className: l(m.islandWidgetWrapper, t), ...a, ref: s, children: e }) });
|
|
11
11
|
}
|
|
12
12
|
);
|
|
13
|
-
|
|
13
|
+
c.displayName = "IslandWidgetWrapper";
|
|
14
14
|
export {
|
|
15
|
-
|
|
15
|
+
c as IslandWidgetWrapper
|
|
16
16
|
};
|
|
17
17
|
//# sourceMappingURL=IslandWidgetWrapper.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useRef as n, useEffect as
|
|
1
|
+
import { jsxs as B, Fragment as F, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as n, useEffect as f } from "react";
|
|
3
3
|
import { c as V, F as A } from "../../chunks/vendor-BlJo2ILB.js";
|
|
4
|
-
import { L as D, s as e } from "../../chunks/LightBoxContent-
|
|
4
|
+
import { L as D, s as e } from "../../chunks/LightBoxContent-CdWfZopQ.js";
|
|
5
5
|
import { LightBoxControls as I } from "./LightBoxControls/LightBoxControls.js";
|
|
6
6
|
import { LightBoxSideOverlay as R } from "./LightBoxSideOverlay/LightBoxSideOverlay.js";
|
|
7
7
|
import { Portal as k } from "../Portal/Portal.js";
|
|
@@ -15,15 +15,15 @@ import { LightBoxLeftSidebar as H } from "./LightBoxSidebars/LightBoxLeftSidebar
|
|
|
15
15
|
import { LightBoxRightSidebar as U } from "./LightBoxSidebars/LightBoxRightSidebar.js";
|
|
16
16
|
import "./LightBoxSideOverlay/enums.js";
|
|
17
17
|
const Z = {
|
|
18
|
-
"scroll-0": "scroll-
|
|
19
|
-
"scroll-15": "scroll-
|
|
20
|
-
"scroll-16": "scroll-
|
|
21
|
-
"scroll-17": "scroll-
|
|
18
|
+
"scroll-0": "scroll-0__adeea371",
|
|
19
|
+
"scroll-15": "scroll-15__b22b272e",
|
|
20
|
+
"scroll-16": "scroll-16__02a64451",
|
|
21
|
+
"scroll-17": "scroll-17__3327b6d5"
|
|
22
22
|
}, p = "LightBox-next-mount-node", L = "LightBox-next-view-manager-node", b = [e.bodyOverflowHidden], N = ({
|
|
23
23
|
children: v,
|
|
24
24
|
className: M,
|
|
25
25
|
focusTrapProps: r,
|
|
26
|
-
forwardRef:
|
|
26
|
+
forwardRef: c,
|
|
27
27
|
mountNode: s,
|
|
28
28
|
lightBoxViewManagerNodeId: m = L,
|
|
29
29
|
isLoading: d,
|
|
@@ -37,17 +37,17 @@ const Z = {
|
|
|
37
37
|
}, _ = () => {
|
|
38
38
|
let t = null;
|
|
39
39
|
return m && (t = document.querySelector(`#${m}`)), t || (t = document.createElement("div"), t.setAttribute("id", L), document.body.appendChild(t)), t;
|
|
40
|
-
},
|
|
40
|
+
}, a = n(E()), g = n(_()), h = () => {
|
|
41
41
|
b.forEach((t) => document.documentElement.classList.add(t));
|
|
42
42
|
};
|
|
43
|
-
|
|
43
|
+
f(() => (T(Z), h(), setTimeout(h, 100), () => b.forEach((t) => document.documentElement.classList.remove(t))), []), f(() => {
|
|
44
44
|
if (!i && l.current) {
|
|
45
45
|
const t = Math.round(Math.random() * 100);
|
|
46
46
|
l.current.style.zIndex = t.toString();
|
|
47
47
|
}
|
|
48
48
|
}, [i]);
|
|
49
49
|
const w = (t) => {
|
|
50
|
-
u.current = t,
|
|
50
|
+
u.current = t, c && (c.current = t);
|
|
51
51
|
}, O = V(
|
|
52
52
|
C,
|
|
53
53
|
e.lightBox,
|
|
@@ -58,15 +58,15 @@ const Z = {
|
|
|
58
58
|
},
|
|
59
59
|
M
|
|
60
60
|
);
|
|
61
|
-
if (!
|
|
61
|
+
if (!a.current)
|
|
62
62
|
return null;
|
|
63
|
-
const
|
|
63
|
+
const x = () => /* @__PURE__ */ B("div", { className: O, ref: w, role: "dialog", "aria-modal": "true", ...S, children: [
|
|
64
64
|
/* @__PURE__ */ o("div", { className: e.lightBoxBackdrop }),
|
|
65
65
|
v,
|
|
66
66
|
/* @__PURE__ */ o("span", { ref: l, className: e.tempElSafariBug })
|
|
67
67
|
] });
|
|
68
|
-
return /* @__PURE__ */
|
|
69
|
-
/* @__PURE__ */ o(k, { container:
|
|
68
|
+
return /* @__PURE__ */ B(F, { children: [
|
|
69
|
+
/* @__PURE__ */ o(k, { container: a.current, children: /* @__PURE__ */ o(
|
|
70
70
|
W,
|
|
71
71
|
{
|
|
72
72
|
fallback: /* @__PURE__ */ o(
|
|
@@ -80,17 +80,17 @@ const Z = {
|
|
|
80
80
|
preventScroll: !0,
|
|
81
81
|
...r == null ? void 0 : r.focusTrapOptions
|
|
82
82
|
},
|
|
83
|
-
children:
|
|
83
|
+
children: x()
|
|
84
84
|
}
|
|
85
85
|
),
|
|
86
|
-
children:
|
|
86
|
+
children: x()
|
|
87
87
|
}
|
|
88
88
|
) }),
|
|
89
89
|
g.current && /* @__PURE__ */ o(
|
|
90
90
|
q,
|
|
91
91
|
{
|
|
92
92
|
lightBoxViewManagerNode: g.current,
|
|
93
|
-
lightBoxMountNode:
|
|
93
|
+
lightBoxMountNode: a.current
|
|
94
94
|
}
|
|
95
95
|
)
|
|
96
96
|
] });
|
|
@@ -3,7 +3,7 @@ import "react";
|
|
|
3
3
|
import "../../chunks/vendor-BlJo2ILB.js";
|
|
4
4
|
import "../WindowResizeListener/WindowResizeListener.js";
|
|
5
5
|
import "../LoaderScreen/LoaderScreen.js";
|
|
6
|
-
import { L as n } from "../../chunks/LightBoxContent-
|
|
6
|
+
import { L as n } from "../../chunks/LightBoxContent-CdWfZopQ.js";
|
|
7
7
|
export {
|
|
8
8
|
n as LightBoxContent
|
|
9
9
|
};
|
|
@@ -7,7 +7,7 @@ import { EVENT_KEY_CODES as g } from "../../../utils/keyboard.js";
|
|
|
7
7
|
import { EButtonTheme as i } from "../../Button/enums.js";
|
|
8
8
|
import { Button as l } from "../../Button/Button.js";
|
|
9
9
|
import { EComponentSize as a } from "../../../enums/EComponentSize.js";
|
|
10
|
-
import { s as o } from "../../../chunks/LightBoxControls.module-
|
|
10
|
+
import { s as o } from "../../../chunks/LightBoxControls.module-B_wOBHqj.js";
|
|
11
11
|
const N = ({
|
|
12
12
|
className: c,
|
|
13
13
|
onClick: t,
|
|
@@ -3,7 +3,7 @@ import { LightBoxClose as m } from "./LightBoxClose.js";
|
|
|
3
3
|
import { LightBoxNext as l } from "./LightBoxNext.js";
|
|
4
4
|
import { LightBoxPrev as x } from "./LightBoxPrev.js";
|
|
5
5
|
import { c as e } from "../../../chunks/vendor-BlJo2ILB.js";
|
|
6
|
-
import { s as p } from "../../../chunks/LightBoxControls.module-
|
|
6
|
+
import { s as p } from "../../../chunks/LightBoxControls.module-B_wOBHqj.js";
|
|
7
7
|
const o = ({ children: t, className: r, ...s }) => /* @__PURE__ */ i("div", { className: e(r, p.lightBoxControls), ...s, "data-lightbox-component": "controls", children: t });
|
|
8
8
|
o.displayName = "LightBoxControls";
|
|
9
9
|
o.Close = m;
|
|
@@ -7,7 +7,7 @@ import { EVENT_KEY_CODES as R } from "../../../utils/keyboard.js";
|
|
|
7
7
|
import { Button as c } from "../../Button/Button.js";
|
|
8
8
|
import { EButtonTheme as s } from "../../Button/enums.js";
|
|
9
9
|
import { EComponentSize as f } from "../../../enums/EComponentSize.js";
|
|
10
|
-
import { s as o } from "../../../chunks/LightBoxControls.module-
|
|
10
|
+
import { s as o } from "../../../chunks/LightBoxControls.module-B_wOBHqj.js";
|
|
11
11
|
const v = ({
|
|
12
12
|
className: g,
|
|
13
13
|
clickByArrowRight: u,
|
|
@@ -7,7 +7,7 @@ import { TriggerClickOnKeyDownEvent as C } from "../../Triggers/TriggerClickOnKe
|
|
|
7
7
|
import { EVENT_KEY_CODES as I } from "../../../utils/keyboard.js";
|
|
8
8
|
import { Button as s } from "../../Button/Button.js";
|
|
9
9
|
import { EComponentSize as v } from "../../../enums/EComponentSize.js";
|
|
10
|
-
import { s as o } from "../../../chunks/LightBoxControls.module-
|
|
10
|
+
import { s as o } from "../../../chunks/LightBoxControls.module-B_wOBHqj.js";
|
|
11
11
|
const N = ({
|
|
12
12
|
className: u,
|
|
13
13
|
clickByArrowLeft: x,
|
|
@@ -7,8 +7,8 @@ import { LightBoxSideOverlayLoader as I } from "./LightBoxSideOverlayLoader.js";
|
|
|
7
7
|
import { FocusTrapUtils as T } from "../../../utils/focus/FocusTrapUtils.js";
|
|
8
8
|
import { LightBoxSideOverlayCloseMobile as A } from "./LightBoxSideOverlayCloseMobile.js";
|
|
9
9
|
import { LightBoxSideOverlayCloseDesktop as U } from "./LightBoxSideOverlayCloseDesktop.js";
|
|
10
|
-
import { ELightBoxSideOverlaySize as
|
|
11
|
-
const q = "
|
|
10
|
+
import { ELightBoxSideOverlaySize as a } from "./enums.js";
|
|
11
|
+
const q = "lightBoxSideOverlayMask__a749762f", J = "lightBoxSideOverlayWrapper__edfce4ee", K = "overflowXHidden__8622a443", Q = "overflowYHidden__0ab06b09", V = "closing__526d7c5d", Z = "opened__508a9578", $ = "lightBoxSideOverlayContent__ae5126b5", P = "opening__61871559", ee = "sizeSM__25afca31", ie = "sizeMD__84d6fa82", te = "sizeLG__bc33ff9f", oe = "lightBoxSideOverlay__58d1fc99", e = {
|
|
12
12
|
lightBoxSideOverlayMask: q,
|
|
13
13
|
lightBoxSideOverlayWrapper: J,
|
|
14
14
|
overflowXHidden: K,
|
|
@@ -32,22 +32,22 @@ const q = "lightBoxSideOverlayMask__e9423a36", J = "lightBoxSideOverlayWrapper__
|
|
|
32
32
|
onClose: c,
|
|
33
33
|
onOpen: d,
|
|
34
34
|
opened: i,
|
|
35
|
-
size: g =
|
|
35
|
+
size: g = a.MD,
|
|
36
36
|
...D
|
|
37
37
|
}) => {
|
|
38
|
-
const [o, v] = x(!1), [
|
|
38
|
+
const [o, v] = x(!1), [n, f] = x(!1), h = p(i), S = p(null);
|
|
39
39
|
W(() => {
|
|
40
40
|
h.current && !i ? (f(!1), v(!0)) : !h.current && i && (v(!1), f(!0)), h.current = i;
|
|
41
41
|
}, [i]);
|
|
42
42
|
const k = (r) => {
|
|
43
43
|
const { target: G, currentTarget: N } = r;
|
|
44
|
-
G === N && (o ? (v(!1), c == null || c()) :
|
|
44
|
+
G === N && (o ? (v(!1), c == null || c()) : n && (f(!1), d == null || d()));
|
|
45
45
|
}, H = ({ opened: r }) => /* @__PURE__ */ t(j, { opened: r, className: e.lightBoxSideOverlayMask }), L = () => /* @__PURE__ */ O(
|
|
46
46
|
"div",
|
|
47
47
|
{
|
|
48
48
|
className: m(e.lightBoxSideOverlayContent, {
|
|
49
49
|
[e.closing]: o,
|
|
50
|
-
[e.opening]:
|
|
50
|
+
[e.opening]: n,
|
|
51
51
|
[e.opened]: i
|
|
52
52
|
}),
|
|
53
53
|
onTransitionEnd: k,
|
|
@@ -63,9 +63,9 @@ const q = "lightBoxSideOverlayMask__e9423a36", J = "lightBoxSideOverlayWrapper__
|
|
|
63
63
|
[e.opened]: i,
|
|
64
64
|
[e.overflowXHidden]: !!B || !!s,
|
|
65
65
|
[e.overflowYHidden]: !!B || !!s || !!z,
|
|
66
|
-
[e.sizeSM]: g ===
|
|
67
|
-
[e.sizeMD]: g ===
|
|
68
|
-
[e.sizeLG]: g ===
|
|
66
|
+
[e.sizeSM]: g === a.SM,
|
|
67
|
+
[e.sizeMD]: g === a.MD,
|
|
68
|
+
[e.sizeLG]: g === a.LG
|
|
69
69
|
}), E = (r) => /* @__PURE__ */ O(C, { children: [
|
|
70
70
|
H(r),
|
|
71
71
|
L()
|
|
@@ -74,7 +74,7 @@ const q = "lightBoxSideOverlayMask__e9423a36", J = "lightBoxSideOverlayWrapper__
|
|
|
74
74
|
{
|
|
75
75
|
className: m(e.lightBoxSideOverlay, {
|
|
76
76
|
[e.closing]: o,
|
|
77
|
-
[e.opening]:
|
|
77
|
+
[e.opening]: n
|
|
78
78
|
}),
|
|
79
79
|
children: /* @__PURE__ */ t(Y, { direction: R.RIGHT, opened: i, setOpened: w, children: E })
|
|
80
80
|
}
|
|
@@ -82,7 +82,7 @@ const q = "lightBoxSideOverlayMask__e9423a36", J = "lightBoxSideOverlayWrapper__
|
|
|
82
82
|
return /* @__PURE__ */ t(
|
|
83
83
|
X,
|
|
84
84
|
{
|
|
85
|
-
active: i && !
|
|
85
|
+
active: i && !n && !o,
|
|
86
86
|
...l,
|
|
87
87
|
focusTrapOptions: {
|
|
88
88
|
clickOutsideDeactivates: !0,
|
|
@@ -7,7 +7,7 @@ import { CrossStrokeSrvIcon32 as f } from "@sberbusiness/icons-next";
|
|
|
7
7
|
import { EButtonTheme as a } from "../../Button/enums.js";
|
|
8
8
|
import { EComponentSize as c } from "../../../enums/EComponentSize.js";
|
|
9
9
|
import { Button as d } from "../../Button/Button.js";
|
|
10
|
-
import { s as u } from "../../../chunks/LightBoxSideOverlayClose.module-
|
|
10
|
+
import { s as u } from "../../../chunks/LightBoxSideOverlayClose.module-LYfcE0NM.js";
|
|
11
11
|
const C = ({
|
|
12
12
|
className: r,
|
|
13
13
|
clickByEsc: m,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { c as r } from "../../../chunks/vendor-BlJo2ILB.js";
|
|
3
3
|
import { CrossStrokeSrvIcon20 as i } from "@sberbusiness/icons-next";
|
|
4
|
-
import { s as m } from "../../../chunks/LightBoxSideOverlayClose.module-
|
|
4
|
+
import { s as m } from "../../../chunks/LightBoxSideOverlayClose.module-LYfcE0NM.js";
|
|
5
5
|
import { EButtonTheme as l } from "../../Button/enums.js";
|
|
6
6
|
import { EComponentSize as s } from "../../../enums/EComponentSize.js";
|
|
7
7
|
import { Button as a } from "../../Button/Button.js";
|