@sberbusiness/triplex-next 0.19.1 → 0.22.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 +90 -23
- package/chunks/{AlertProcessSpoiler-CApu9sgV.js → AlertProcessSpoiler-BsywFBZZ.js} +11 -11
- package/chunks/{CalendarViewItem-CCClPe6W.js → CalendarViewItem-EhHNwDDy.js} +29 -29
- package/chunks/Card.module-Dgcuvaxs.js +17 -0
- package/chunks/CheckboxTreeExtended.module-CjEhZ2aL.js +15 -0
- package/chunks/{Chip-D-F5Ccch.js → Chip-6YRhubRU.js} +14 -14
- package/chunks/Confirm.module-BMm4u38e.js +15 -0
- package/chunks/{DropdownListItem-B89w0ZP6.js → DropdownListItem-C5KVFMFN.js} +19 -19
- package/chunks/DropdownMobile.module-Cxm5Uhf1.js +23 -0
- package/chunks/Footer.module-CTy6Jb7Q.js +9 -0
- package/chunks/FormFieldInput-Dp--anY3.js +79 -0
- package/chunks/HeaderLayoutSidebar.module-DE1rx-T9.js +9 -0
- package/chunks/HeaderTabs.module-CU5av8Im.js +9 -0
- package/chunks/{HeaderTitle.module-F927IkdE.js → HeaderTitle.module-C_Qbl_yg.js} +2 -2
- package/chunks/IslandAccordion.module-DLX2HyLA.js +25 -0
- package/chunks/IslandWidgetFooter.module-CevMa9bc.js +9 -0
- package/chunks/IslandWidgetHeader.module-DTRWPBN8.js +12 -0
- package/chunks/{LightBoxContent-CWI11Mkg.js → LightBoxContent-qf3pAUrN.js} +6 -6
- package/chunks/LightBoxControls.module-Bg_GYyOS.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-Cgag40bQ.js +9 -0
- package/chunks/{ListItemControlsButton-CDm9UcL0.js → ListItemControlsButton-BAYnQi20.js} +9 -9
- package/chunks/ListItemTail.module-Cu07UH0y.js +12 -0
- package/chunks/ListMasterFooter.module-CAY0qwdE.js +10 -0
- package/chunks/ModalWindow.module-CwlDT1jn.js +17 -0
- package/chunks/Notification.module-C93nRGIm.js +20 -0
- package/chunks/Overlay.module-CYkgbbXG.js +18 -0
- package/chunks/Page.module-DZHBTNJd.js +11 -0
- package/chunks/{RightBorderArrow-BUP-gfBp.js → RightBorderArrow-BBut2Is3.js} +11 -11
- package/chunks/SMSField.module-BUVlPOpO.js +16 -0
- package/chunks/SliderExtendedMarks.module-B93JtPsG.js +15 -0
- package/chunks/{SliderExtendedRail-BtDNU2QU.js → SliderExtendedRail-DbmfJHLD.js} +14 -14
- package/chunks/StatusTracker.module-BhVoYRB1.js +24 -0
- package/chunks/SuggestFieldMobileDropdownHint-BZd9-Rmk.js +14 -0
- package/chunks/TableFooter.module-CwKjzhF7.js +14 -0
- package/chunks/TabsExtended.module-NTLSSjNf.js +16 -0
- package/chunks/TabsLine.module-CCjh6UnA.js +21 -0
- package/chunks/TooltipDesktop.module-CDF6HmOX.js +19 -0
- package/chunks/TreeView.module-7cPW-p6b.js +9 -0
- package/chunks/{UploadZoneInput-CCOpTzdI.js → UploadZoneInput-BfYcVOW-.js} +3 -3
- package/chunks/{constants-BY0--v5J.js → constants-BuiH5bGa.js} +9 -9
- package/chunks/utils-BgxjtTHV.js +73 -0
- package/chunks/utils-BnE2k27o.js +28 -0
- package/chunks/{utils-CDZhfAbZ.js → utils-D7L6Tbas.js} +6 -6
- package/chunks/utils-Z5FN_0vH.js +24 -0
- package/chunks/{vendor-DE8Zvm0w.js → vendor---Om3uMV.js} +5345 -5350
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +7 -7
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +8 -8
- package/components/AmountField/AmountField.js +9 -9
- package/components/Avatar/Avatar.js +11 -11
- package/components/Badge/Badge.js +17 -17
- package/components/Badge/BadgeDot.js +7 -7
- package/components/Badge/components/BadgeContent.js +16 -16
- package/components/Badge/components/BadgePostfix.js +5 -5
- package/components/Badge/components/BadgePrefix.js +6 -6
- package/components/Body/Body.js +8 -8
- package/components/Button/Button.js +33 -33
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +94 -81
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +4 -4
- package/components/Calendar/Calendar.js +6 -6
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +3 -3
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +24 -24
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +2 -2
- package/components/Checkbox/Checkbox.js +15 -15
- package/components/Checkbox/CheckboxXGroup.js +15 -15
- package/components/Checkbox/CheckboxYGroup.js +9 -9
- package/components/CheckboxTree/index.js +6 -2
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +18 -10
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +35 -28
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +10 -10
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +24 -23
- package/components/Chip/ChipDropdownArrow.js +6 -6
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +8 -8
- package/components/Chip/ChipSelect/ChipSelect.js +9 -10
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +7 -8
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +17 -18
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +21 -21
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +12 -12
- package/components/Col/Col.js +141 -141
- package/components/CollapsableTree/components/CollapsableTreeNode.js +6 -6
- package/components/Confirm/Confirm.js +2 -2
- package/components/Confirm/components/ConfirmCloseButton.js +2 -2
- package/components/Confirm/components/ConfirmContent.js +2 -2
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/Confirm/index.js +4 -2
- package/components/DateField/DateField.js +5 -5
- package/components/DatePickerExtended/DatePickerExtended.js +3 -3
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +2 -2
- package/components/DateRange/DateRange.js +10 -10
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensCore.js +8 -0
- package/components/DesignTokens/components/Pagination.js +2 -5
- package/components/DesignTokens/components/Tabs.js +0 -18
- package/components/DesignTokens/types/DesignTokensTypes.js +2 -0
- package/components/Divider/Divider.js +18 -18
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +2 -2
- package/components/Dropdown/desktop/DropdownDesktop.js +59 -62
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +3 -3
- package/components/Dropdown/desktop/enums.js +7 -0
- package/components/Dropdown/desktop/index.js +8 -4
- package/components/Dropdown/index.js +24 -25
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileList.js +14 -21
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +8 -8
- package/components/ExpandAnimation/ExpandAnimation.js +12 -12
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +2 -2
- package/components/Footer/components/FooterDescriptionContent.js +2 -2
- package/components/Footer/components/FooterDescriptionControls.js +2 -2
- package/components/FormField/FormField.js +69 -75
- package/components/FormField/FormFieldContext.js +16 -13
- package/components/FormField/components/FormFieldClear.js +25 -23
- package/components/FormField/components/FormFieldCounter.js +1 -1
- package/components/FormField/components/FormFieldDescription.js +8 -8
- package/components/FormField/components/FormFieldInput.js +4 -3
- package/components/FormField/components/FormFieldLabel.js +30 -32
- package/components/FormField/components/FormFieldMaskedInput.js +17 -17
- package/components/FormField/components/FormFieldPostfix.js +5 -5
- package/components/FormField/components/FormFieldPrefix.js +8 -8
- package/components/FormField/components/FormFieldTarget.js +56 -46
- package/components/FormField/components/FormFieldTextarea.js +61 -34
- package/components/FormField/components/index.js +23 -0
- package/components/FormField/components/utils.js +5 -0
- package/components/FormField/index.js +25 -25
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +7 -7
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +9 -9
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +4 -4
- package/components/Island/components/IslandFooter.js +3 -3
- package/components/Island/components/IslandHeader.js +2 -2
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +75 -69
- package/components/IslandWidget/IslandWidget.js +18 -18
- package/components/IslandWidget/components/IslandWidgetBody.js +2 -2
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +8 -8
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +6 -6
- package/components/LightBox/LightBox.js +37 -37
- package/components/LightBox/LightBoxContent.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxClose.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxControls.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxNext.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +22 -22
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +24 -24
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +7 -7
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +7 -7
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +23 -23
- package/components/List/List.js +9 -9
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +7 -7
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +3 -3
- package/components/List/components/ListItemControls.js +5 -5
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +6 -6
- package/components/List/components/ListItemSelectable.js +2 -2
- package/components/List/components/ListItemTable.js +6 -6
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +16 -16
- package/components/List/components/ListSortableItemControls.js +5 -5
- 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 +2 -2
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +6 -6
- package/components/ListMaster/components/SelectionControls.js +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +8 -8
- package/components/Loader/LoaderSmall/LoaderSmall.js +7 -7
- package/components/LoaderScreen/LoaderScreen.js +6 -6
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +9 -9
- package/components/ModalWindow/ModalWindow.js +12 -12
- package/components/ModalWindow/components/ModalWindowBody.js +2 -2
- package/components/ModalWindow/components/ModalWindowClose.js +9 -9
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +3 -3
- package/components/ModalWindow/components/ModalWindowViewManager.js +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +49 -33
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +27 -20
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +5 -5
- package/components/OrderedList/OrderedList.js +6 -6
- package/components/OrderedList/OrderedListItem.js +7 -7
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +2 -2
- package/components/Page/components/BodyPage.js +4 -4
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Page/components/useStickyCornerRadius.js +35 -32
- package/components/Pagination/components/PaginationExtended.js +3 -3
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +24 -16
- package/components/Pagination/components/PaginationPageEllipsis.js +13 -9
- package/components/Pagination/components/PaginationSelect.js +8 -8
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Portal/index.js +5 -0
- package/components/Radio/Radio.js +17 -17
- package/components/Radio/RadioXGroup.js +15 -15
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +7 -7
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +11 -11
- package/components/SMSField/components/SMSFieldRefresh.js +2 -2
- package/components/SMSField/components/SMSFieldSubmit.js +2 -2
- package/components/SMSField/components/SMSFieldTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +12 -12
- package/components/SegmentedControl/SegmentedControlSegment.js +16 -16
- package/components/SelectExtendedField/SelectExtendedField.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +50 -43
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +73 -69
- package/components/SelectField/SelectField.js +54 -36
- package/components/Skeleton/Skeleton.js +9 -9
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +8 -8
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +2 -2
- package/components/SliderExtended/components/SliderExtendedRail.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +9 -9
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +23 -23
- package/components/SmallInput/SmallInput.js +5 -5
- package/components/Spoiler/Spoiler.js +20 -20
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +2 -2
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +2 -2
- package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
- package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
- package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
- package/components/StatusTracker/components/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/Step/Step.js +9 -9
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +2 -2
- package/components/Stepper/StepperExtended.js +5 -5
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +3 -3
- package/components/Suggest/SuggestMobileDropdownContent.js +23 -22
- package/components/Suggest/useSuggest.js +1 -1
- package/components/SuggestField/SuggestField.js +6 -6
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +144 -140
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +61 -56
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +56 -52
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +75 -67
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +11 -11
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +9 -9
- package/components/Table/NoColumns.js +4 -4
- package/components/Table/PaginationPanel.js +5 -5
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +8 -8
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +5 -5
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +2 -2
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +5 -5
- 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 +2 -2
- package/components/Table/TabsLinePanelLinks.js +5 -5
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +21 -21
- package/components/TabsExtended/TabsExtended.js +22 -22
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +37 -18
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +3 -3
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +122 -156
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +7 -7
- package/components/Tag/Tag.js +35 -35
- package/components/TagColor/TagColor.js +20 -18
- package/components/TagGroup/TagGroup.js +7 -7
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +5 -5
- package/components/ThemeProvider/ThemeProvider.js +18 -20
- package/components/ThemeProvider/components/ThemeProviderView.js +29 -27
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +4 -4
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +2 -2
- package/components/Tooltip/index.js +13 -5
- package/components/TopOverlay/TopOverlay.js +25 -25
- package/components/TreeView/TreeView.js +2 -2
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +2 -2
- package/components/Typography/Caption.js +13 -13
- package/components/Typography/Text.js +20 -20
- package/components/Typography/Title.js +15 -15
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +7 -7
- package/components/UnorderedList/UnorderedListItem.js +7 -7
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +583 -566
- package/generated/refTokenTypes.js +1 -1
- package/helpers/less/colors.less +2 -0
- package/index.d.ts +281 -92
- package/index.js +621 -604
- package/package.json +6 -3
- package/styles/triplex-next.css +541 -546
- package/utils/amountUtils.js +1 -1
- package/chunks/Card.module-D48lssVF.js +0 -17
- package/chunks/CheckboxTreeExtended.module-BLtvkZsi.js +0 -14
- package/chunks/Confirm.module-CvrGGvLz.js +0 -15
- package/chunks/DropdownMobile.module-CEbQqs2X.js +0 -23
- package/chunks/Footer.module-WHmnrQeq.js +0 -9
- package/chunks/FormFieldInput-CC-nRhb4.js +0 -60
- package/chunks/HeaderLayoutSidebar.module-Cnl-O6HE.js +0 -9
- package/chunks/HeaderTabs.module-Nz927HlU.js +0 -9
- package/chunks/IslandAccordion.module-CFCDu7K5.js +0 -25
- package/chunks/IslandWidgetFooter.module--vNV-XXe.js +0 -9
- package/chunks/IslandWidgetHeader.module-BhnBnkZk.js +0 -12
- package/chunks/LightBoxControls.module-Kv0-R_GW.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-DGwWDaQC.js +0 -8
- package/chunks/ListItemTail.module-DZ2CIKA4.js +0 -12
- package/chunks/ListMasterFooter.module-DMTXvddx.js +0 -10
- package/chunks/ModalWindow.module-CmKHP-l0.js +0 -17
- package/chunks/Notification.module-CtiA4KeZ.js +0 -20
- package/chunks/Overlay.module-BKGmOe22.js +0 -18
- package/chunks/Page.module-BjtGL1n5.js +0 -11
- package/chunks/SMSField.module-BM5o6WPK.js +0 -16
- package/chunks/SliderExtendedMarks.module-C4eA55N-.js +0 -15
- package/chunks/StatusTracker.module-jKCRT7JR.js +0 -24
- package/chunks/SuggestFieldMobileDropdownHint-B6hhbNqZ.js +0 -14
- package/chunks/TableFooter.module-BIxc-uz_.js +0 -14
- package/chunks/TabsExtended.module-CWXgdzlB.js +0 -16
- package/chunks/TabsLine.module-BQ_DsA4u.js +0 -21
- package/chunks/TooltipDesktop.module-DMqxtrmh.js +0 -19
- package/chunks/TreeView.module-DwpFo7Sm.js +0 -9
- package/chunks/utils-BD4-x_pW.js +0 -24
- package/chunks/utils-CIrM2Shg.js +0 -73
- package/chunks/utils-DN-l5mfA.js +0 -27
- package/components/Dropdown/enums.js +0 -8
|
@@ -2,8 +2,8 @@ import { jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import a from "react";
|
|
3
3
|
import { HeaderTitleContent as s } from "./HeaderTitleContent.js";
|
|
4
4
|
import { HeaderTitleControls as m } from "./HeaderTitleControls.js";
|
|
5
|
-
import { c as l } from "../../../../chunks/vendor
|
|
6
|
-
import { s as n } from "../../../../chunks/HeaderTitle.module-
|
|
5
|
+
import { c as l } from "../../../../chunks/vendor---Om3uMV.js";
|
|
6
|
+
import { s as n } from "../../../../chunks/HeaderTitle.module-C_Qbl_yg.js";
|
|
7
7
|
const d = Object.assign(
|
|
8
8
|
a.forwardRef(function({ children: e, className: r, ...t }, o) {
|
|
9
9
|
return /* @__PURE__ */ i("div", { className: l(n.headerTitle, r), ...t, ref: o, children: e });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { c as l } from "../../../../chunks/vendor
|
|
4
|
-
import { s as e } from "../../../../chunks/HeaderTitle.module-
|
|
3
|
+
import { c as l } from "../../../../chunks/vendor---Om3uMV.js";
|
|
4
|
+
import { s as e } from "../../../../chunks/HeaderTitle.module-C_Qbl_yg.js";
|
|
5
5
|
const m = i.forwardRef(
|
|
6
6
|
({ children: t, className: r, ...o }, a) => /* @__PURE__ */ s(
|
|
7
7
|
"div",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import a from "react";
|
|
3
|
-
import { c as i } from "../../../../chunks/vendor
|
|
4
|
-
import { s as o } from "../../../../chunks/HeaderTitle.module-
|
|
3
|
+
import { c as i } from "../../../../chunks/vendor---Om3uMV.js";
|
|
4
|
+
import { s as o } from "../../../../chunks/HeaderTitle.module-C_Qbl_yg.js";
|
|
5
5
|
const m = a.forwardRef(
|
|
6
6
|
({ children: r, className: e, ...t }, s) => /* @__PURE__ */ l(
|
|
7
7
|
"div",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as h, Fragment as N, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as S, useState as c } from "react";
|
|
3
|
-
import { u as E, c as L, F as R } from "../../chunks/vendor
|
|
3
|
+
import { u as E, c as L, F as R } from "../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { QuestioncircleFilledSrvIcon16 as j } from "@sberbusiness/icons-next";
|
|
5
5
|
import { ButtonIcon as k } from "../Button/ButtonIcon.js";
|
|
6
6
|
import { EButtonIconShape as _ } from "../Button/enums.js";
|
|
@@ -9,7 +9,7 @@ import { TooltipMobileHeader as q } from "../Tooltip/components/mobile/component
|
|
|
9
9
|
import { MobileView as z } from "../MobileView/MobileView.js";
|
|
10
10
|
import { getDataHTMLAttributes as C } from "../../utils/html/DataAttributes.js";
|
|
11
11
|
import { getAriaHTMLAttributes as D } from "../../utils/html/AriaAttributes.js";
|
|
12
|
-
const Q = "
|
|
12
|
+
const Q = "helpBoxButton__be6182fb", V = {
|
|
13
13
|
helpBoxButton: Q
|
|
14
14
|
}, X = ({
|
|
15
15
|
children: x,
|
|
@@ -19,14 +19,14 @@ const Q = "helpBoxButton__4857f784", V = {
|
|
|
19
19
|
isOpen: i,
|
|
20
20
|
onShow: n,
|
|
21
21
|
tooltipSize: I,
|
|
22
|
-
preferPlace:
|
|
22
|
+
preferPlace: b,
|
|
23
23
|
toggle: r,
|
|
24
24
|
tooltipAriaAttributes: m,
|
|
25
25
|
tooltipDataAttributes: p,
|
|
26
|
-
iconProps:
|
|
27
|
-
...
|
|
26
|
+
iconProps: F,
|
|
27
|
+
...v
|
|
28
28
|
}) => {
|
|
29
|
-
const u = S(null), [
|
|
29
|
+
const u = S(null), [O, g] = c(!!i), [d, B] = c(null), [f] = c(E()), a = i ?? O, y = (e) => {
|
|
30
30
|
i === void 0 && g(e), e || B(null), r == null || r(e);
|
|
31
31
|
}, H = (e) => {
|
|
32
32
|
B(e), n == null || n(e);
|
|
@@ -59,7 +59,7 @@ const Q = "helpBoxButton__4857f784", V = {
|
|
|
59
59
|
role: "dialog",
|
|
60
60
|
toggleType: "hover",
|
|
61
61
|
size: I,
|
|
62
|
-
preferPlace:
|
|
62
|
+
preferPlace: b,
|
|
63
63
|
isOpen: a,
|
|
64
64
|
toggle: y,
|
|
65
65
|
onShow: H,
|
|
@@ -74,8 +74,8 @@ const Q = "helpBoxButton__4857f784", V = {
|
|
|
74
74
|
"aria-label": "Подсказка",
|
|
75
75
|
shape: _.CIRCLE,
|
|
76
76
|
ref: u,
|
|
77
|
-
...
|
|
78
|
-
children: /* @__PURE__ */ t(j, { paletteIndex: 5, ...
|
|
77
|
+
...v,
|
|
78
|
+
children: /* @__PURE__ */ t(j, { paletteIndex: 5, ...F })
|
|
79
79
|
}
|
|
80
80
|
) }),
|
|
81
81
|
s && /* @__PURE__ */ t(q, { children: s }),
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { c as d } from "../../chunks/vendor
|
|
3
|
+
import { c as d } from "../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { EIslandType as l } from "./enums.js";
|
|
5
5
|
import { IslandBody as n } from "./components/IslandBody.js";
|
|
6
6
|
import { IslandHeader as f } from "./components/IslandHeader.js";
|
|
7
7
|
import { IslandFooter as c } from "./components/IslandFooter.js";
|
|
8
|
-
import { s as o, m as y } from "../../chunks/utils-
|
|
8
|
+
import { s as o, m as y } from "../../chunks/utils-Z5FN_0vH.js";
|
|
9
9
|
import { EComponentSize as I } from "../../enums/EComponentSize.js";
|
|
10
10
|
import { createSizeToClassNameMap as T } from "../../utils/classNameMaps.js";
|
|
11
11
|
const N = T(o), C = Object.assign(
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import r from "react";
|
|
3
|
-
import { c as t } from "../../../chunks/vendor
|
|
4
|
-
const n = "
|
|
3
|
+
import { c as t } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
|
+
const n = "islandBody__7980b2ab", i = {
|
|
5
5
|
islandBody: n
|
|
6
|
-
},
|
|
6
|
+
}, e = r.forwardRef(({ children: o, ...s }, d) => /* @__PURE__ */ a("div", { className: t(i.islandBody), ref: d, ...s, children: o }));
|
|
7
7
|
export {
|
|
8
|
-
|
|
8
|
+
e as IslandBody
|
|
9
9
|
};
|
|
10
10
|
//# sourceMappingURL=IslandBody.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import { c as a } from "../../../chunks/vendor
|
|
4
|
-
const n = "
|
|
3
|
+
import { c as a } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
|
+
const n = "islandFooter__50049e7c", c = {
|
|
5
5
|
islandFooter: n
|
|
6
|
-
}, m = e.forwardRef(({ children: o, ...r }, s) => /* @__PURE__ */ t("div", { className: a(
|
|
6
|
+
}, m = e.forwardRef(({ children: o, ...r }, s) => /* @__PURE__ */ t("div", { className: a(c.islandFooter), ref: s, ...r, children: o }));
|
|
7
7
|
export {
|
|
8
8
|
m as IslandFooter
|
|
9
9
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import d from "react";
|
|
3
|
-
import { c as o } from "../../../chunks/vendor
|
|
4
|
-
const t = "
|
|
3
|
+
import { c as o } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
|
+
const t = "islandHeader__b0442f04", n = {
|
|
5
5
|
islandHeader: t
|
|
6
6
|
}, m = d.forwardRef(({ children: e, ...r }, a) => /* @__PURE__ */ s("div", { className: o(n.islandHeader), ref: a, ...r, children: e }));
|
|
7
7
|
export {
|
|
@@ -8,15 +8,15 @@ import { EIslandType as l } from "../Island/enums.js";
|
|
|
8
8
|
import "../Island/components/IslandBody.js";
|
|
9
9
|
import "../Island/components/IslandHeader.js";
|
|
10
10
|
import "../Island/components/IslandFooter.js";
|
|
11
|
-
import { c as f } from "../../chunks/vendor
|
|
12
|
-
import { s as I } from "../../chunks/IslandAccordion.module-
|
|
11
|
+
import { c as f } from "../../chunks/vendor---Om3uMV.js";
|
|
12
|
+
import { s as I } from "../../chunks/IslandAccordion.module-DLX2HyLA.js";
|
|
13
13
|
import "./components/IslandAccordionContent.js";
|
|
14
14
|
import "./components/IslandAccordionFooter.js";
|
|
15
15
|
const x = Object.assign(
|
|
16
16
|
n.forwardRef(
|
|
17
17
|
({ className: r, children: m, size: t = d.MD, type: i = l.TYPE_1, ...s }, a) => {
|
|
18
18
|
const c = f(r, I.islandAccordion);
|
|
19
|
-
return /* @__PURE__ */ o(p.Provider, { value: { size: t, type: i }, children: /* @__PURE__ */ o("ul", { ...s, className: c, "data-tx": "0.
|
|
19
|
+
return /* @__PURE__ */ o(p.Provider, { value: { size: t, type: i }, children: /* @__PURE__ */ o("ul", { ...s, className: c, "data-tx": "0.22.0", ref: a, children: m }) });
|
|
20
20
|
}
|
|
21
21
|
),
|
|
22
22
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { s as r } from "../../../chunks/IslandAccordion.module-
|
|
2
|
+
import { s as r } from "../../../chunks/IslandAccordion.module-DLX2HyLA.js";
|
|
3
3
|
import { Island as s } from "../../Island/Island.js";
|
|
4
4
|
import "../../Island/components/IslandBody.js";
|
|
5
5
|
import "../../Island/components/IslandHeader.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import s from "react";
|
|
3
|
-
import { c as a } from "../../../chunks/vendor
|
|
4
|
-
import { s as i } from "../../../chunks/IslandAccordion.module-
|
|
3
|
+
import { c as a } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
|
+
import { s as i } from "../../../chunks/IslandAccordion.module-DLX2HyLA.js";
|
|
5
5
|
import { Island as e } from "../../Island/Island.js";
|
|
6
6
|
import "../../Island/components/IslandBody.js";
|
|
7
7
|
import "../../Island/components/IslandHeader.js";
|
|
@@ -1,99 +1,105 @@
|
|
|
1
|
-
import { jsxs as p, jsx as
|
|
2
|
-
import
|
|
3
|
-
import { CaretdownStrokeSrvIcon24 as
|
|
4
|
-
import { u as
|
|
5
|
-
import { Island as
|
|
6
|
-
import { ExpandAnimation as
|
|
7
|
-
import { IslandAccordionContent as
|
|
8
|
-
import { IslandAccordionFooter as
|
|
9
|
-
import { createSizeToClassNameMap as
|
|
1
|
+
import { jsxs as p, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import Y, { useState as F, useContext as b, useRef as j, useEffect as w } from "react";
|
|
3
|
+
import { CaretdownStrokeSrvIcon24 as D, CrossStrokeSrvIcon24 as Z } from "@sberbusiness/icons-next";
|
|
4
|
+
import { u as B, c as s } from "../../../chunks/vendor---Om3uMV.js";
|
|
5
|
+
import { Island as y } from "../../Island/Island.js";
|
|
6
|
+
import { ExpandAnimation as $ } from "../../ExpandAnimation/ExpandAnimation.js";
|
|
7
|
+
import { IslandAccordionContent as q } from "./IslandAccordionContent.js";
|
|
8
|
+
import { IslandAccordionFooter as G } from "./IslandAccordionFooter.js";
|
|
9
|
+
import { createSizeToClassNameMap as R } from "../../../utils/classNameMaps.js";
|
|
10
10
|
import "../../Button/Button.js";
|
|
11
11
|
import "../../Button/ButtonBase.js";
|
|
12
|
-
import { ButtonIcon as
|
|
12
|
+
import { ButtonIcon as W } from "../../Button/ButtonIcon.js";
|
|
13
13
|
import "../../Button/ButtonDropdown.js";
|
|
14
14
|
import "../../Button/ButtonDropdownExtended.js";
|
|
15
15
|
import { EIslandType as l } from "../../Island/enums.js";
|
|
16
16
|
import "../../Island/components/IslandBody.js";
|
|
17
17
|
import "../../Island/components/IslandHeader.js";
|
|
18
18
|
import "../../Island/components/IslandFooter.js";
|
|
19
|
-
import { Step as
|
|
20
|
-
import { EStepPosition as
|
|
21
|
-
import { IslandAccordionContext as
|
|
19
|
+
import { Step as X } from "../../Step/Step.js";
|
|
20
|
+
import { EStepPosition as J } from "../../Step/enums.js";
|
|
21
|
+
import { IslandAccordionContext as K } from "../IslandAccordionContext.js";
|
|
22
22
|
import { EComponentSize as d } from "../../../enums/EComponentSize.js";
|
|
23
|
-
import { ETitleSize as f, EFontType as
|
|
23
|
+
import { ETitleSize as f, EFontType as N } from "../../Typography/enums.js";
|
|
24
24
|
import "../../Typography/Caption.js";
|
|
25
25
|
import "../../Typography/Text.js";
|
|
26
|
-
import { Title as
|
|
27
|
-
import { s as t } from "../../../chunks/IslandAccordion.module-
|
|
28
|
-
const
|
|
26
|
+
import { Title as Q } from "../../Typography/Title.js";
|
|
27
|
+
import { s as t } from "../../../chunks/IslandAccordion.module-DLX2HyLA.js";
|
|
28
|
+
const U = {
|
|
29
29
|
[l.TYPE_1]: t.type1,
|
|
30
30
|
[l.TYPE_2]: t.type2,
|
|
31
31
|
[l.TYPE_3]: t.type3
|
|
32
|
-
},
|
|
32
|
+
}, V = {
|
|
33
33
|
[d.SM]: f.H3,
|
|
34
|
-
[d.MD]: f.
|
|
34
|
+
[d.MD]: f.H3,
|
|
35
35
|
[d.LG]: f.H2
|
|
36
|
-
}, g =
|
|
37
|
-
|
|
36
|
+
}, g = R(t), tt = Object.assign(
|
|
37
|
+
Y.forwardRef(
|
|
38
38
|
({
|
|
39
|
-
children:
|
|
39
|
+
children: x,
|
|
40
40
|
title: T,
|
|
41
|
-
className:
|
|
41
|
+
className: M,
|
|
42
42
|
opened: i,
|
|
43
|
-
disabled:
|
|
44
|
-
onRemove:
|
|
45
|
-
onToggle:
|
|
43
|
+
disabled: e,
|
|
44
|
+
onRemove: n,
|
|
45
|
+
onToggle: a,
|
|
46
46
|
id: c,
|
|
47
47
|
num: I,
|
|
48
|
-
status:
|
|
49
|
-
stepHint:
|
|
50
|
-
transitionProps:
|
|
51
|
-
...
|
|
52
|
-
},
|
|
53
|
-
const [o,
|
|
54
|
-
|
|
55
|
-
i !== void 0 && o !== i &&
|
|
48
|
+
status: S,
|
|
49
|
+
stepHint: P,
|
|
50
|
+
transitionProps: v,
|
|
51
|
+
...O
|
|
52
|
+
}, k) => {
|
|
53
|
+
const [o, h] = F(i || !1), { size: m, type: E } = b(K), A = j(B()).current, _ = `${A}header`, C = `${A}body`;
|
|
54
|
+
w(() => {
|
|
55
|
+
i !== void 0 && o !== i && h(i);
|
|
56
56
|
}, [i, o]);
|
|
57
|
-
const
|
|
58
|
-
if (
|
|
57
|
+
const z = () => {
|
|
58
|
+
if (e)
|
|
59
59
|
return;
|
|
60
|
-
const
|
|
61
|
-
|
|
62
|
-
},
|
|
63
|
-
|
|
64
|
-
},
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
60
|
+
const u = !o;
|
|
61
|
+
a == null || a(u, c), i === void 0 && h(u);
|
|
62
|
+
}, H = () => {
|
|
63
|
+
e || n == null || n(c);
|
|
64
|
+
}, L = s(
|
|
65
|
+
M,
|
|
66
|
+
t.item,
|
|
67
|
+
g[m],
|
|
68
|
+
U[E],
|
|
69
|
+
{
|
|
70
|
+
[t.disabled]: !!e,
|
|
71
|
+
[t.opened]: o
|
|
72
|
+
}
|
|
73
|
+
);
|
|
74
|
+
return /* @__PURE__ */ p("li", { ...O, className: L, id: c, ref: k, children: [
|
|
75
|
+
/* @__PURE__ */ p(y, { className: t.island, size: m, type: E, children: [
|
|
76
|
+
/* @__PURE__ */ r(y.Header, { children: /* @__PURE__ */ p(
|
|
71
77
|
"button",
|
|
72
78
|
{
|
|
73
|
-
id:
|
|
74
|
-
"aria-controls":
|
|
79
|
+
id: _,
|
|
80
|
+
"aria-controls": C,
|
|
75
81
|
"aria-expanded": o,
|
|
76
82
|
type: "button",
|
|
77
83
|
className: s(t.header, {
|
|
78
84
|
hoverable: !o
|
|
79
85
|
}),
|
|
80
|
-
onClick:
|
|
81
|
-
disabled:
|
|
82
|
-
"data-tx": "0.
|
|
86
|
+
onClick: z,
|
|
87
|
+
disabled: e,
|
|
88
|
+
"data-tx": "0.22.0",
|
|
83
89
|
children: [
|
|
84
|
-
|
|
85
|
-
/* @__PURE__ */
|
|
86
|
-
|
|
90
|
+
S && I && /* @__PURE__ */ r("div", { className: t.step, children: /* @__PURE__ */ r(X, { step: I, status: S, position: J.XFirst, children: e ? void 0 : P }) }),
|
|
91
|
+
/* @__PURE__ */ r(
|
|
92
|
+
Q,
|
|
87
93
|
{
|
|
88
94
|
className: t.title,
|
|
89
|
-
size:
|
|
90
|
-
type:
|
|
95
|
+
size: V[m],
|
|
96
|
+
type: e ? N.DISABLED : N.PRIMARY,
|
|
91
97
|
tag: "div",
|
|
92
98
|
children: T
|
|
93
99
|
}
|
|
94
100
|
),
|
|
95
|
-
/* @__PURE__ */
|
|
96
|
-
|
|
101
|
+
/* @__PURE__ */ r("span", { className: s(t.caretWrapper), children: /* @__PURE__ */ r(
|
|
102
|
+
D,
|
|
97
103
|
{
|
|
98
104
|
className: t.caretIcon,
|
|
99
105
|
"aria-hidden": "true",
|
|
@@ -103,25 +109,25 @@ const V = {
|
|
|
103
109
|
]
|
|
104
110
|
}
|
|
105
111
|
) }),
|
|
106
|
-
/* @__PURE__ */
|
|
107
|
-
|
|
112
|
+
/* @__PURE__ */ r(
|
|
113
|
+
$,
|
|
108
114
|
{
|
|
109
|
-
expanded: o && !
|
|
110
|
-
id:
|
|
115
|
+
expanded: o && !e,
|
|
116
|
+
id: C,
|
|
111
117
|
role: "region",
|
|
112
|
-
"aria-labelledby":
|
|
113
|
-
transitionProps:
|
|
114
|
-
children:
|
|
118
|
+
"aria-labelledby": _,
|
|
119
|
+
transitionProps: v,
|
|
120
|
+
children: x
|
|
115
121
|
}
|
|
116
122
|
)
|
|
117
123
|
] }),
|
|
118
|
-
|
|
124
|
+
n && /* @__PURE__ */ r("div", { className: s(t.remove, "hoverable", { disabled: e }), children: /* @__PURE__ */ r(W, { onClick: H, title: "Удалить", children: /* @__PURE__ */ r(Z, { paletteIndex: 5 }) }) })
|
|
119
125
|
] });
|
|
120
126
|
}
|
|
121
127
|
),
|
|
122
128
|
{
|
|
123
|
-
Content:
|
|
124
|
-
Footer:
|
|
129
|
+
Content: q,
|
|
130
|
+
Footer: G
|
|
125
131
|
}
|
|
126
132
|
);
|
|
127
133
|
tt.displayName = "IslandAccordionItem";
|
|
@@ -9,31 +9,31 @@ import { IslandWidgetHeader as H } from "./components/IslandWidgetHeader.js";
|
|
|
9
9
|
import { IslandWidgetBody as M } from "./components/IslandWidgetBody.js";
|
|
10
10
|
import { IslandWidgetFooter as w } from "./components/IslandWidgetFooter.js";
|
|
11
11
|
import { IslandWidgetExtraFooter as C } from "./components/IslandWidgetExtraFooter.js";
|
|
12
|
-
import { EComponentSize as
|
|
13
|
-
import { c as m } from "../../chunks/vendor
|
|
14
|
-
import { IslandWidgetLayoutContext as
|
|
15
|
-
import { IslandWidgetContext as
|
|
16
|
-
import { ExpandAnimation as
|
|
12
|
+
import { EComponentSize as b } from "../../enums/EComponentSize.js";
|
|
13
|
+
import { c as m } from "../../chunks/vendor---Om3uMV.js";
|
|
14
|
+
import { IslandWidgetLayoutContext as A } from "./IslandWidgetLayoutContext.js";
|
|
15
|
+
import { IslandWidgetContext as S } from "./IslandWidgetContext.js";
|
|
16
|
+
import { ExpandAnimation as O } from "../ExpandAnimation/ExpandAnimation.js";
|
|
17
17
|
import { EScreenWidth as p } from "../../helpers/breakpoints.js";
|
|
18
|
-
import { useMatchMedia as
|
|
19
|
-
const
|
|
20
|
-
islandWidget:
|
|
18
|
+
import { useMatchMedia as j } from "../MediaWidth/useMatchMedia.js";
|
|
19
|
+
const N = "islandWidget__a9e36b8a", k = "islandWidgetWithExtraFooter__b8fa3bfc", z = "islandWidgetHeaderWrapperAdaptive__b65ab99f", o = {
|
|
20
|
+
islandWidget: N,
|
|
21
21
|
islandWidgetWithExtraFooter: k,
|
|
22
22
|
islandWidgetHeaderWrapperAdaptive: z
|
|
23
23
|
}, B = Object.assign(
|
|
24
24
|
F.forwardRef(
|
|
25
|
-
({ className: l, renderBody: c, renderFooter:
|
|
26
|
-
const { hasExtraFooter: x } = _(
|
|
25
|
+
({ className: l, renderBody: c, renderFooter: d, renderHeader: W, disableAdaptiveCollapsing: r = !1, ...f }, g) => {
|
|
26
|
+
const { hasExtraFooter: x } = _(A), [i, h] = v(r), e = j(
|
|
27
27
|
`(max-width: ${p.SM_MAX})`,
|
|
28
28
|
window.innerWidth <= parseInt(p.SM_MAX)
|
|
29
29
|
), E = () => {
|
|
30
30
|
h(!i);
|
|
31
31
|
}, I = e && !r, a = () => /* @__PURE__ */ n(s, { children: [
|
|
32
32
|
c({}),
|
|
33
|
-
|
|
33
|
+
d ? d({}) : null
|
|
34
34
|
] });
|
|
35
35
|
return /* @__PURE__ */ t(
|
|
36
|
-
|
|
36
|
+
S.Provider,
|
|
37
37
|
{
|
|
38
38
|
value: {
|
|
39
39
|
adaptive: e,
|
|
@@ -43,24 +43,24 @@ const b = "islandWidget__29cbbfdf", k = "islandWidgetWithExtraFooter__af545177",
|
|
|
43
43
|
children: /* @__PURE__ */ t(
|
|
44
44
|
"div",
|
|
45
45
|
{
|
|
46
|
-
className: m(
|
|
47
|
-
[
|
|
46
|
+
className: m(o.islandWidget, l, {
|
|
47
|
+
[o.islandWidgetWithExtraFooter]: x
|
|
48
48
|
}),
|
|
49
|
-
"data-tx": "0.
|
|
49
|
+
"data-tx": "0.22.0",
|
|
50
50
|
...f,
|
|
51
51
|
ref: g,
|
|
52
|
-
children: /* @__PURE__ */ n(u, { type: y.TYPE_1, size:
|
|
52
|
+
children: /* @__PURE__ */ n(u, { type: y.TYPE_1, size: b.MD, children: [
|
|
53
53
|
/* @__PURE__ */ t(
|
|
54
54
|
"div",
|
|
55
55
|
{
|
|
56
56
|
className: m({
|
|
57
|
-
[
|
|
57
|
+
[o.islandWidgetHeaderWrapperAdaptive]: e
|
|
58
58
|
}),
|
|
59
59
|
onClick: e ? E : void 0,
|
|
60
60
|
children: W({})
|
|
61
61
|
}
|
|
62
62
|
),
|
|
63
|
-
I ? /* @__PURE__ */ t(
|
|
63
|
+
I ? /* @__PURE__ */ t(O, { expanded: i, children: a() }) : /* @__PURE__ */ t(s, { children: a() })
|
|
64
64
|
] })
|
|
65
65
|
}
|
|
66
66
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { c as t } from "../../../chunks/vendor
|
|
3
|
-
const a = "
|
|
2
|
+
import { c as t } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
|
+
const a = "islandWidgetBody__5795525b", e = {
|
|
4
4
|
islandWidgetBody: a
|
|
5
5
|
}, l = ({ children: d, className: s, ...i }) => /* @__PURE__ */ o("div", { ...i, className: t(e.islandWidgetBody, s), children: d });
|
|
6
6
|
l.displayName = "IslandWidgetBody";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { useContext as
|
|
3
|
-
import { c as n } from "../../../chunks/vendor
|
|
2
|
+
import { useContext as i, useEffect as d } from "react";
|
|
3
|
+
import { c as n } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { ExpandAnimation as x } from "../../ExpandAnimation/ExpandAnimation.js";
|
|
5
5
|
import { IslandWidgetLayoutContext as l } from "../IslandWidgetLayoutContext.js";
|
|
6
|
-
const m = "
|
|
6
|
+
const m = "islandWidgetExtraFooter__bf65714b", c = {
|
|
7
7
|
islandWidgetExtraFooter: m
|
|
8
|
-
},
|
|
8
|
+
}, f = ({
|
|
9
9
|
children: r,
|
|
10
10
|
className: e,
|
|
11
11
|
open: t = !1,
|
|
12
12
|
...a
|
|
13
13
|
}) => {
|
|
14
|
-
const { setHasExtraFooter: s } =
|
|
15
|
-
return
|
|
14
|
+
const { setHasExtraFooter: s } = i(l);
|
|
15
|
+
return d(() => {
|
|
16
16
|
s(t);
|
|
17
17
|
}, [t]), /* @__PURE__ */ o("div", { ...a, className: n(e, c.islandWidgetExtraFooter), children: /* @__PURE__ */ o(x, { expanded: t, children: r }) });
|
|
18
18
|
};
|
|
19
|
-
|
|
19
|
+
f.displayName = "IslandWidgetExtraFooter";
|
|
20
20
|
export {
|
|
21
|
-
|
|
21
|
+
f as IslandWidgetExtraFooter
|
|
22
22
|
};
|
|
23
23
|
//# sourceMappingURL=IslandWidgetExtraFooter.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { c as i } from "../../../chunks/vendor
|
|
3
|
-
import { s as n } from "../../../chunks/IslandWidgetFooter.module
|
|
2
|
+
import { c as i } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
|
+
import { s as n } from "../../../chunks/IslandWidgetFooter.module-CevMa9bc.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,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as m, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as l } from "react";
|
|
3
|
-
import { c as a } from "../../../chunks/vendor
|
|
4
|
-
import { s as e } from "../../../chunks/IslandWidgetHeader.module-
|
|
3
|
+
import { c as a } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
|
+
import { s as e } from "../../../chunks/IslandWidgetHeader.module-DTRWPBN8.js";
|
|
5
5
|
import { IslandWidgetHeaderContent as c } from "./IslandWidgetHeaderContent.js";
|
|
6
6
|
import { IslandWidgetHeaderDescription as f } from "./IslandWidgetHeaderDescription.js";
|
|
7
7
|
import { CaretdownStrokeSrvIcon24 as I } from "@sberbusiness/icons-next";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { c as d } from "../../../chunks/vendor
|
|
3
|
-
import { s as o } from "../../../chunks/IslandWidgetHeader.module-
|
|
2
|
+
import { c as d } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
|
+
import { s as o } from "../../../chunks/IslandWidgetHeader.module-DTRWPBN8.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
|
-
import { c as a } from "../../../chunks/vendor
|
|
3
|
-
import { s as t } from "../../../chunks/IslandWidgetHeader.module-
|
|
2
|
+
import { c as a } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
|
+
import { s as t } from "../../../chunks/IslandWidgetHeader.module-DTRWPBN8.js";
|
|
4
4
|
const d = ({
|
|
5
5
|
children: s,
|
|
6
6
|
className: e,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import i, { useState as p } from "react";
|
|
3
|
-
import { c as l } from "../../../chunks/vendor
|
|
3
|
+
import { c as l } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { IslandWidgetLayoutContext as n } from "../IslandWidgetLayoutContext.js";
|
|
5
|
-
const W = "
|
|
5
|
+
const W = "islandWidgetWrapper__cbfc081e", c = {
|
|
6
6
|
islandWidgetWrapper: W
|
|
7
|
-
},
|
|
7
|
+
}, m = i.forwardRef(
|
|
8
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(c.islandWidgetWrapper, t), ...a, ref: s, children: e }) });
|
|
11
11
|
}
|
|
12
12
|
);
|
|
13
|
-
|
|
13
|
+
m.displayName = "IslandWidgetWrapper";
|
|
14
14
|
export {
|
|
15
|
-
|
|
15
|
+
m as IslandWidgetWrapper
|
|
16
16
|
};
|
|
17
17
|
//# sourceMappingURL=IslandWidgetWrapper.js.map
|