@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
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { jsx as n, jsxs as m } from "react/jsx-runtime";
|
|
2
|
+
import l, { useContext as p } from "react";
|
|
3
|
+
import { Island as W } from "../Island/Island.js";
|
|
4
|
+
import { EIslandType as g } from "../Island/enums.js";
|
|
5
|
+
import "../Island/components/IslandBody.js";
|
|
6
|
+
import "../Island/components/IslandHeader.js";
|
|
7
|
+
import "../Island/components/IslandFooter.js";
|
|
8
|
+
import { IslandWidgetHeader as f } from "./components/IslandWidgetHeader.js";
|
|
9
|
+
import { IslandWidgetBody as x } from "./components/IslandWidgetBody.js";
|
|
10
|
+
import { IslandWidgetFooter as c } from "./components/IslandWidgetFooter.js";
|
|
11
|
+
import { IslandWidgetExtraFooter as E } from "./components/IslandWidgetExtraFooter.js";
|
|
12
|
+
import { EComponentSize as I } from "../../enums/EComponentSize.js";
|
|
13
|
+
import { c as F } from "../../chunks/vendor-D3hUOusX.js";
|
|
14
|
+
import { IslandWidgetContext as h } from "./IslandWidgetContext.js";
|
|
15
|
+
const _ = "islandWidget__84ef8d42", y = "islandWidgetWithExtraFooter__bdba8254", o = {
|
|
16
|
+
islandWidget: _,
|
|
17
|
+
islandWidgetWithExtraFooter: y
|
|
18
|
+
}, u = Object.assign(
|
|
19
|
+
l.forwardRef(
|
|
20
|
+
({ className: i, renderBody: r, renderFooter: t, renderHeader: e, ...d }, a) => {
|
|
21
|
+
const { hasExtraFooter: s } = p(h);
|
|
22
|
+
return /* @__PURE__ */ n(
|
|
23
|
+
"div",
|
|
24
|
+
{
|
|
25
|
+
className: F(o.islandWidget, i, {
|
|
26
|
+
[o.islandWidgetWithExtraFooter]: s
|
|
27
|
+
}),
|
|
28
|
+
"data-tx": "1.7.0",
|
|
29
|
+
...d,
|
|
30
|
+
ref: a,
|
|
31
|
+
children: /* @__PURE__ */ m(W, { type: g.TYPE_1, size: I.MD, children: [
|
|
32
|
+
e({}),
|
|
33
|
+
r({}),
|
|
34
|
+
t ? t({}) : null
|
|
35
|
+
] })
|
|
36
|
+
}
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
),
|
|
40
|
+
{
|
|
41
|
+
Header: f,
|
|
42
|
+
Body: x,
|
|
43
|
+
Footer: c,
|
|
44
|
+
ExtraFooter: E
|
|
45
|
+
}
|
|
46
|
+
);
|
|
47
|
+
u.displayName = "IslandWidget";
|
|
48
|
+
export {
|
|
49
|
+
u as IslandWidget
|
|
50
|
+
};
|
|
51
|
+
//# sourceMappingURL=IslandWidget.js.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { useContext as d, useEffect as i } from "react";
|
|
3
|
+
import { c as n } from "../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
import { ExpandAnimation as x } from "../../ExpandAnimation/ExpandAnimation.js";
|
|
5
|
+
import { IslandWidgetContext as l } from "../IslandWidgetContext.js";
|
|
6
|
+
const m = "islandWidgetExtraFooter__1d07466a", c = {
|
|
7
|
+
islandWidgetExtraFooter: m
|
|
8
|
+
}, E = ({
|
|
9
|
+
children: r,
|
|
10
|
+
className: e,
|
|
11
|
+
open: t = !1,
|
|
12
|
+
...a
|
|
13
|
+
}) => {
|
|
14
|
+
const { setHasExtraFooter: s } = d(l);
|
|
15
|
+
return i(() => {
|
|
16
|
+
s(t);
|
|
17
|
+
}, [t]), /* @__PURE__ */ o("div", { ...a, className: n(e, c.islandWidgetExtraFooter), children: /* @__PURE__ */ o(x, { expanded: t, children: r }) });
|
|
18
|
+
};
|
|
19
|
+
E.displayName = "IslandWidgetExtraFooter";
|
|
20
|
+
export {
|
|
21
|
+
E as IslandWidgetExtraFooter
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=IslandWidgetExtraFooter.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { c as i } from "../../../chunks/vendor-D3hUOusX.js";
|
|
3
|
+
import { s as n } from "../../../chunks/IslandWidgetFooter.module-qNMIN4zr.js";
|
|
4
|
+
import { IslandWidgetFooterContent as d } from "./IslandWidgetFooterContent.js";
|
|
5
|
+
import { IslandWidgetFooterControls as m } from "./IslandWidgetFooterControls.js";
|
|
6
|
+
const o = ({ children: t, className: r, ...s }) => /* @__PURE__ */ e("div", { ...s, className: i(r, n.islandWidgetFooter), children: t });
|
|
7
|
+
o.Content = d;
|
|
8
|
+
o.Controls = m;
|
|
9
|
+
o.displayName = "IslandWidgetFooter";
|
|
10
|
+
export {
|
|
11
|
+
o as IslandWidgetFooter
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=IslandWidgetFooter.js.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { s } from "../../../chunks/IslandWidgetFooter.module-qNMIN4zr.js";
|
|
3
|
+
const n = ({
|
|
4
|
+
children: t,
|
|
5
|
+
...o
|
|
6
|
+
}) => /* @__PURE__ */ e("div", { ...o, className: s.islandWidgetFooterContent, children: t });
|
|
7
|
+
n.displayName = "IslandWidgetFooterContent";
|
|
8
|
+
export {
|
|
9
|
+
n as IslandWidgetFooterContent
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=IslandWidgetFooterContent.js.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { s as r } from "../../../chunks/IslandWidgetFooter.module-qNMIN4zr.js";
|
|
3
|
+
const e = ({
|
|
4
|
+
children: o,
|
|
5
|
+
...s
|
|
6
|
+
}) => /* @__PURE__ */ t("div", { ...s, className: r.islandWidgetFooterControls, children: o });
|
|
7
|
+
e.displayName = "IslandWidgetFooterControls";
|
|
8
|
+
export {
|
|
9
|
+
e as IslandWidgetFooterControls
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=IslandWidgetFooterControls.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
+
import { c as i } from "../../../chunks/vendor-D3hUOusX.js";
|
|
3
|
+
import { s as a } from "../../../chunks/IslandWidgetHeader.module-DUf_HV96.js";
|
|
4
|
+
import { IslandWidgetHeaderContent as o } from "./IslandWidgetHeaderContent.js";
|
|
5
|
+
import { IslandWidgetHeaderDescription as m } from "./IslandWidgetHeaderDescription.js";
|
|
6
|
+
const e = ({ children: t, className: r, ...s }) => /* @__PURE__ */ d("div", { ...s, className: i(r, a.islandWidgetHeader), children: t });
|
|
7
|
+
e.Content = o;
|
|
8
|
+
e.Description = m;
|
|
9
|
+
e.displayName = "IslandWidgetHeader";
|
|
10
|
+
export {
|
|
11
|
+
e as IslandWidgetHeader
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=IslandWidgetHeader.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { c as d } from "../../../chunks/vendor-D3hUOusX.js";
|
|
3
|
+
import { s as o } from "../../../chunks/IslandWidgetHeader.module-DUf_HV96.js";
|
|
4
|
+
const n = ({
|
|
5
|
+
children: e,
|
|
6
|
+
className: t,
|
|
7
|
+
...s
|
|
8
|
+
}) => /* @__PURE__ */ a("div", { ...s, className: d(o.islandWidgetHeaderContent, t), children: e });
|
|
9
|
+
n.displayName = "IslandWidgetHeaderContent";
|
|
10
|
+
export {
|
|
11
|
+
n as IslandWidgetHeaderContent
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=IslandWidgetHeaderContent.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { c as a } from "../../../chunks/vendor-D3hUOusX.js";
|
|
3
|
+
import { s as t } from "../../../chunks/IslandWidgetHeader.module-DUf_HV96.js";
|
|
4
|
+
const d = ({
|
|
5
|
+
children: s,
|
|
6
|
+
className: e,
|
|
7
|
+
...i
|
|
8
|
+
}) => /* @__PURE__ */ r("div", { ...i, className: a(t.islandWidgetHeaderDescription, e), children: s });
|
|
9
|
+
d.displayName = "IslandWidgetHeaderDescription";
|
|
10
|
+
export {
|
|
11
|
+
d as IslandWidgetHeaderDescription
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=IslandWidgetHeaderDescription.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import i, { useState as p } from "react";
|
|
3
|
+
import { c as l } from "../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
import { IslandWidgetContext as n } from "../IslandWidgetContext.js";
|
|
5
|
+
const W = "islandWidgetWrapper__dce27add", c = {
|
|
6
|
+
islandWidgetWrapper: W
|
|
7
|
+
}, m = i.forwardRef(
|
|
8
|
+
({ children: r, className: a, ...t }, s) => {
|
|
9
|
+
const [d, o] = p(!1);
|
|
10
|
+
return /* @__PURE__ */ e(n.Provider, { value: { hasExtraFooter: d, setHasExtraFooter: o }, children: /* @__PURE__ */ e("div", { className: l(c.islandWidgetWrapper, a), ...t, ref: s, children: r }) });
|
|
11
|
+
}
|
|
12
|
+
);
|
|
13
|
+
m.displayName = "IslandWidgetWrapper";
|
|
14
|
+
export {
|
|
15
|
+
m as IslandWidgetWrapper
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=IslandWidgetWrapper.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IslandWidgetHeader as o } from "./IslandWidgetHeader.js";
|
|
2
|
+
import { IslandWidgetHeaderContent as t } from "./IslandWidgetHeaderContent.js";
|
|
3
|
+
import { IslandWidgetHeaderDescription as n } from "./IslandWidgetHeaderDescription.js";
|
|
4
|
+
import { IslandWidgetBody as i } from "./IslandWidgetBody.js";
|
|
5
|
+
import { IslandWidgetFooter as W } from "./IslandWidgetFooter.js";
|
|
6
|
+
import { IslandWidgetWrapper as g } from "./IslandWidgetWrapper.js";
|
|
7
|
+
export {
|
|
8
|
+
i as IslandWidgetBody,
|
|
9
|
+
W as IslandWidgetFooter,
|
|
10
|
+
o as IslandWidgetHeader,
|
|
11
|
+
t as IslandWidgetHeaderContent,
|
|
12
|
+
n as IslandWidgetHeaderDescription,
|
|
13
|
+
g as IslandWidgetWrapper
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { IslandWidget as o } from "./IslandWidget.js";
|
|
2
|
+
import { IslandWidgetHeader as t } from "./components/IslandWidgetHeader.js";
|
|
3
|
+
import { IslandWidgetHeaderContent as n } from "./components/IslandWidgetHeaderContent.js";
|
|
4
|
+
import { IslandWidgetHeaderDescription as i } from "./components/IslandWidgetHeaderDescription.js";
|
|
5
|
+
import { IslandWidgetBody as W } from "./components/IslandWidgetBody.js";
|
|
6
|
+
import { IslandWidgetFooter as g } from "./components/IslandWidgetFooter.js";
|
|
7
|
+
import { IslandWidgetWrapper as m } from "./components/IslandWidgetWrapper.js";
|
|
8
|
+
export {
|
|
9
|
+
o as IslandWidget,
|
|
10
|
+
W as IslandWidgetBody,
|
|
11
|
+
g as IslandWidgetFooter,
|
|
12
|
+
t as IslandWidgetHeader,
|
|
13
|
+
n as IslandWidgetHeaderContent,
|
|
14
|
+
i as IslandWidgetHeaderDescription,
|
|
15
|
+
m as IslandWidgetWrapper
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as B, Fragment as T, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as l, useEffect as p } from "react";
|
|
3
3
|
import { c as V, h as A } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
|
-
import { s as e, L as D } from "../../chunks/LightBoxContent
|
|
4
|
+
import { s as e, L as D } from "../../chunks/LightBoxContent--MHZ9Gkl.js";
|
|
5
5
|
import { LightBoxControls as F } from "./LightBoxControls/LightBoxControls.js";
|
|
6
6
|
import { LightBoxSideOverlay as I } from "./LightBoxSideOverlay/LightBoxSideOverlay.js";
|
|
7
7
|
import { Portal as k } from "../Portal/Portal.js";
|
|
@@ -11,29 +11,30 @@ import { LightBoxViewManager as q } from "./LightBoxViewManager/LightBoxViewMana
|
|
|
11
11
|
import { MobileView as W } from "../MobileView/MobileView.js";
|
|
12
12
|
import { FocusTrapUtils as $ } from "../../utils/focus/FocusTrapUtils.js";
|
|
13
13
|
import { useToken as z } from "../ThemeProvider/useToken.js";
|
|
14
|
+
import "./LightBoxSideOverlay/enums.js";
|
|
14
15
|
const H = {
|
|
15
|
-
"scroll-0": "scroll-
|
|
16
|
-
"scroll-15": "scroll-
|
|
17
|
-
"scroll-16": "scroll-
|
|
18
|
-
"scroll-17": "scroll-
|
|
16
|
+
"scroll-0": "scroll-0__7592a834",
|
|
17
|
+
"scroll-15": "scroll-15__99297a23",
|
|
18
|
+
"scroll-16": "scroll-16__c702f447",
|
|
19
|
+
"scroll-17": "scroll-17__7c345f62"
|
|
19
20
|
}, N = "LightBox-next-mount-node", v = "LightBox-next-view-manager-node", L = [e.bodyOverflowHidden], r = ({
|
|
20
21
|
children: y,
|
|
21
22
|
className: M,
|
|
22
23
|
focusTrapProps: n,
|
|
23
24
|
forwardRef: s,
|
|
24
|
-
mountNode:
|
|
25
|
-
lightBoxViewManagerNodeId:
|
|
25
|
+
mountNode: m,
|
|
26
|
+
lightBoxViewManagerNodeId: d = v,
|
|
26
27
|
isLoading: u,
|
|
27
28
|
isSideOverlayOpened: i,
|
|
28
29
|
isTopOverlayOpened: E,
|
|
29
|
-
...
|
|
30
|
+
...C
|
|
30
31
|
}) => {
|
|
31
|
-
const c = l(null), h = l(null), { scopeClassName:
|
|
32
|
+
const c = l(null), h = l(null), { scopeClassName: b } = z(), S = () => {
|
|
32
33
|
let t = null;
|
|
33
|
-
return
|
|
34
|
+
return m ? t = m : (t = document.querySelector(`#${N}`), t || (t = document.createElement("div"), t.setAttribute("id", N), document.body.appendChild(t))), t;
|
|
34
35
|
}, _ = () => {
|
|
35
36
|
let t = null;
|
|
36
|
-
return
|
|
37
|
+
return d && (t = document.querySelector(`#${d}`)), t || (t = document.createElement("div"), t.setAttribute("id", v), document.body.appendChild(t)), t;
|
|
37
38
|
}, a = l(S()), g = l(_()), x = () => {
|
|
38
39
|
L.forEach((t) => document.documentElement.classList.add(t));
|
|
39
40
|
};
|
|
@@ -46,7 +47,7 @@ const H = {
|
|
|
46
47
|
const w = (t) => {
|
|
47
48
|
h.current = t, s && (s.current = t);
|
|
48
49
|
}, O = V(
|
|
49
|
-
|
|
50
|
+
b,
|
|
50
51
|
e.lightBox,
|
|
51
52
|
{
|
|
52
53
|
[e.isLoading]: !!u,
|
|
@@ -57,7 +58,7 @@ const H = {
|
|
|
57
58
|
);
|
|
58
59
|
if (!a.current)
|
|
59
60
|
return null;
|
|
60
|
-
const f = () => /* @__PURE__ */ B("div", { className: O, ref: w, role: "dialog", "aria-modal": "true", ...
|
|
61
|
+
const f = () => /* @__PURE__ */ B("div", { className: O, ref: w, role: "dialog", "aria-modal": "true", ...C, children: [
|
|
61
62
|
/* @__PURE__ */ o("div", { className: e.lightBoxBackdrop }),
|
|
62
63
|
y,
|
|
63
64
|
/* @__PURE__ */ o("span", { ref: c, className: e.tempElSafariBug })
|
|
@@ -3,7 +3,7 @@ import "react";
|
|
|
3
3
|
import "../WindowResizeListener/WindowResizeListener.js";
|
|
4
4
|
import "../../chunks/vendor-D3hUOusX.js";
|
|
5
5
|
import "../LoaderScreen/LoaderScreen.js";
|
|
6
|
-
import { L as n } from "../../chunks/LightBoxContent
|
|
6
|
+
import { L as n } from "../../chunks/LightBoxContent--MHZ9Gkl.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-C3_q74nl.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-D3hUOusX.js";
|
|
6
|
-
import { s as p } from "../../../chunks/LightBoxControls.module-
|
|
6
|
+
import { s as p } from "../../../chunks/LightBoxControls.module-C3_q74nl.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-C3_q74nl.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-C3_q74nl.js";
|
|
11
11
|
const N = ({
|
|
12
12
|
className: u,
|
|
13
13
|
clickByArrowLeft: x,
|
|
@@ -1,106 +1,103 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { c as
|
|
1
|
+
import { jsx as t, jsxs as O, Fragment as C } from "react/jsx-runtime";
|
|
2
|
+
import { useState as x, useRef as p, useEffect as W } from "react";
|
|
3
|
+
import { c as m, F as X } from "../../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { OverlayBase as Y, EOverlayDirection as R } from "../../Overlay/OverlayBase.js";
|
|
5
5
|
import { OverlayMask as j } from "../../Overlay/OverlayMask.js";
|
|
6
6
|
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
|
-
|
|
10
|
+
import { ELightBoxSideOverlaySize as a } from "./enums.js";
|
|
11
|
+
const q = "lightBoxSideOverlayMask__7672cbca", J = "lightBoxSideOverlayWrapper__85fc026b", K = "overflowXHidden__acafa0a7", Q = "overflowYHidden__336362f4", V = "closing__5df3f8cf", Z = "opened__d8bde90a", $ = "lightBoxSideOverlayContent__76d894a9", P = "opening__cc8e4845", ee = "sizeSM__30c8e366", ie = "sizeMD__ce8a79cd", te = "sizeLG__ccbec09e", oe = "lightBoxSideOverlay__a75524ed", e = {
|
|
11
12
|
lightBoxSideOverlayMask: q,
|
|
12
|
-
lightBoxSideOverlayWrapper:
|
|
13
|
-
overflowXHidden:
|
|
14
|
-
overflowYHidden:
|
|
15
|
-
closing:
|
|
16
|
-
opened:
|
|
17
|
-
lightBoxSideOverlayContent:
|
|
18
|
-
opening:
|
|
19
|
-
sizeSM:
|
|
20
|
-
sizeMD:
|
|
13
|
+
lightBoxSideOverlayWrapper: J,
|
|
14
|
+
overflowXHidden: K,
|
|
15
|
+
overflowYHidden: Q,
|
|
16
|
+
closing: V,
|
|
17
|
+
opened: Z,
|
|
18
|
+
lightBoxSideOverlayContent: $,
|
|
19
|
+
opening: P,
|
|
20
|
+
sizeSM: ee,
|
|
21
|
+
sizeMD: ie,
|
|
21
22
|
sizeLG: te,
|
|
22
23
|
lightBoxSideOverlay: oe
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
const h = ({
|
|
26
|
-
children: t,
|
|
24
|
+
}, y = ({
|
|
25
|
+
children: _,
|
|
27
26
|
className: M,
|
|
28
27
|
focusTrapProps: l,
|
|
29
|
-
isLoading:
|
|
30
|
-
loadingTitle:
|
|
31
|
-
isTopLevelSideOverlayOpened:
|
|
32
|
-
isTopOverlayOpened:
|
|
28
|
+
isLoading: s,
|
|
29
|
+
loadingTitle: u,
|
|
30
|
+
isTopLevelSideOverlayOpened: B,
|
|
31
|
+
isTopOverlayOpened: z,
|
|
33
32
|
onClose: c,
|
|
34
33
|
onOpen: d,
|
|
35
|
-
opened:
|
|
36
|
-
size:
|
|
37
|
-
...
|
|
34
|
+
opened: i,
|
|
35
|
+
size: g = a.MD,
|
|
36
|
+
...D
|
|
38
37
|
}) => {
|
|
39
|
-
const [
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}, [
|
|
43
|
-
const
|
|
44
|
-
const { target:
|
|
45
|
-
|
|
46
|
-
},
|
|
38
|
+
const [o, v] = x(!1), [n, f] = x(!1), h = p(i), S = p(null);
|
|
39
|
+
W(() => {
|
|
40
|
+
h.current && !i ? (f(!1), v(!0)) : !h.current && i && (v(!1), f(!0)), h.current = i;
|
|
41
|
+
}, [i]);
|
|
42
|
+
const k = (r) => {
|
|
43
|
+
const { target: G, currentTarget: N } = r;
|
|
44
|
+
G === N && (o ? (v(!1), c == null || c()) : n && (f(!1), d == null || d()));
|
|
45
|
+
}, H = ({ opened: r }) => /* @__PURE__ */ t(j, { opened: r, className: e.lightBoxSideOverlayMask }), L = () => /* @__PURE__ */ O(
|
|
47
46
|
"div",
|
|
48
47
|
{
|
|
49
|
-
className:
|
|
50
|
-
[e.closing]:
|
|
51
|
-
[e.opening]:
|
|
52
|
-
[e.opened]:
|
|
48
|
+
className: m(e.lightBoxSideOverlayContent, {
|
|
49
|
+
[e.closing]: o,
|
|
50
|
+
[e.opening]: n,
|
|
51
|
+
[e.opened]: i
|
|
53
52
|
}),
|
|
54
|
-
onTransitionEnd:
|
|
55
|
-
ref:
|
|
53
|
+
onTransitionEnd: k,
|
|
54
|
+
ref: S,
|
|
56
55
|
children: [
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
_,
|
|
57
|
+
s && /* @__PURE__ */ t(I, { loadingTitle: u })
|
|
59
58
|
]
|
|
60
59
|
}
|
|
61
60
|
), w = () => {
|
|
62
|
-
},
|
|
63
|
-
[e.closing]:
|
|
64
|
-
[e.opened]:
|
|
65
|
-
[e.overflowXHidden]: !!
|
|
66
|
-
[e.overflowYHidden]: !!
|
|
67
|
-
[e.sizeSM]:
|
|
68
|
-
[e.sizeMD]:
|
|
69
|
-
[e.sizeLG]:
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
] }), N = /* @__PURE__ */ i(
|
|
61
|
+
}, b = m(M, e.lightBoxSideOverlayWrapper, {
|
|
62
|
+
[e.closing]: o,
|
|
63
|
+
[e.opened]: i,
|
|
64
|
+
[e.overflowXHidden]: !!B || !!s,
|
|
65
|
+
[e.overflowYHidden]: !!B || !!s || !!z,
|
|
66
|
+
[e.sizeSM]: g === a.SM,
|
|
67
|
+
[e.sizeMD]: g === a.MD,
|
|
68
|
+
[e.sizeLG]: g === a.LG
|
|
69
|
+
}), E = (r) => /* @__PURE__ */ O(C, { children: [
|
|
70
|
+
H(r),
|
|
71
|
+
L()
|
|
72
|
+
] }), F = /* @__PURE__ */ t(
|
|
75
73
|
"div",
|
|
76
74
|
{
|
|
77
|
-
className:
|
|
78
|
-
[e.closing]:
|
|
79
|
-
[e.opening]:
|
|
75
|
+
className: m(e.lightBoxSideOverlay, {
|
|
76
|
+
[e.closing]: o,
|
|
77
|
+
[e.opening]: n
|
|
80
78
|
}),
|
|
81
|
-
children: /* @__PURE__ */
|
|
79
|
+
children: /* @__PURE__ */ t(Y, { direction: R.RIGHT, opened: i, setOpened: w, children: E })
|
|
82
80
|
}
|
|
83
81
|
);
|
|
84
|
-
return /* @__PURE__ */
|
|
82
|
+
return /* @__PURE__ */ t(
|
|
85
83
|
X,
|
|
86
84
|
{
|
|
87
|
-
active:
|
|
85
|
+
active: i && !n && !o,
|
|
88
86
|
...l,
|
|
89
87
|
focusTrapOptions: {
|
|
90
88
|
clickOutsideDeactivates: !0,
|
|
91
|
-
initialFocus: () => T.getFirstInteractionElementByDataAttr(
|
|
89
|
+
initialFocus: () => T.getFirstInteractionElementByDataAttr(S.current),
|
|
92
90
|
preventScroll: !0,
|
|
93
91
|
...l == null ? void 0 : l.focusTrapOptions
|
|
94
92
|
},
|
|
95
|
-
children: /* @__PURE__ */
|
|
93
|
+
children: /* @__PURE__ */ t("div", { className: b, role: "dialog", "aria-modal": "true", ...D, children: F })
|
|
96
94
|
}
|
|
97
95
|
);
|
|
98
96
|
};
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
97
|
+
y.displayName = "LightBoxSideOverlay";
|
|
98
|
+
y.CloseDesktop = U;
|
|
99
|
+
y.CloseMobile = A;
|
|
102
100
|
export {
|
|
103
|
-
|
|
104
|
-
h as LightBoxSideOverlay
|
|
101
|
+
y as LightBoxSideOverlay
|
|
105
102
|
};
|
|
106
103
|
//# sourceMappingURL=LightBoxSideOverlay.js.map
|
|
@@ -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-D66ESS7b.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-D3hUOusX.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-D66ESS7b.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";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { useState as s, useRef as d, useEffect as l } from "react";
|
|
3
3
|
import { LoaderScreen as p } from "../../LoaderScreen/LoaderScreen.js";
|
|
4
|
-
const n = "
|
|
4
|
+
const n = "lightBoxSideOverlayLoaderWrapper__e72e84ed", c = {
|
|
5
5
|
lightBoxSideOverlayLoaderWrapper: n
|
|
6
6
|
}, f = ({ loadingTitle: a }) => {
|
|
7
7
|
const [t, r] = s(0), e = d(null);
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
import { LightBox as t, lightBoxMountNodeIdDefault as
|
|
1
|
+
import { LightBox as t, lightBoxMountNodeIdDefault as i, lightBoxViewManagerNodeIdDefault as r } from "./LightBox.js";
|
|
2
|
+
import { LightBoxSideOverlay as a } from "./LightBoxSideOverlay/LightBoxSideOverlay.js";
|
|
3
|
+
import { ELightBoxSideOverlaySize as g } from "./LightBoxSideOverlay/enums.js";
|
|
2
4
|
export {
|
|
5
|
+
g as ELightBoxSideOverlaySize,
|
|
3
6
|
t as LightBox,
|
|
4
|
-
a as
|
|
5
|
-
|
|
7
|
+
a as LightBoxSideOverlay,
|
|
8
|
+
i as lightBoxMountNodeIdDefault,
|
|
9
|
+
r as lightBoxViewManagerNodeIdDefault
|
|
6
10
|
};
|
|
7
11
|
//# sourceMappingURL=index.js.map
|