@sberbusiness/triplex-next 1.8.0 → 1.9.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-D8OxE3FA.js +39 -0
- package/chunks/CalendarViewItem-DXg4wwUA.js +101 -0
- package/chunks/Card.module-CDb8O5wa.js +17 -0
- package/chunks/CheckboxTreeExtended.module-D8lQSOEb.js +11 -0
- package/chunks/{Chip-CCv72AgN.js → Chip-DXegvfGS.js} +9 -9
- package/chunks/Confirm.module-ySc3irOD.js +15 -0
- package/chunks/{DropdownListItem-BcXHt5bk.js → DropdownListItem-ToJzPBLf.js} +18 -18
- package/chunks/DropdownMobile.module-B25s43In.js +23 -0
- package/chunks/Footer.module-CzmEZNfz.js +9 -0
- package/chunks/{FormFieldInput-BnHKlreA.js → FormFieldInput-kWDtKz1V.js} +8 -8
- package/chunks/HeaderLayoutSidebar.module-C6GIAW7a.js +9 -0
- package/chunks/HeaderTabs.module-BP4HQoDS.js +9 -0
- package/chunks/{HeaderTitle.module-0YuV_UNN.js → HeaderTitle.module-DlPGCmxi.js} +2 -2
- package/chunks/IslandAccordion.module-DDPPsI1j.js +25 -0
- package/chunks/IslandWidgetFooter.module-BGcZce5D.js +9 -0
- package/chunks/IslandWidgetHeader.module-BMvYg9LN.js +9 -0
- package/chunks/LightBoxContent-BhFPV40j.js +56 -0
- package/chunks/LightBoxControls.module-B71hMR9E.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-Bzi7uEUG.js +8 -0
- package/chunks/{ListItemControlsButton-BB9ENDS-.js → ListItemControlsButton-BoYzfwDC.js} +9 -9
- package/chunks/ListItemTail.module-D2THwLyb.js +12 -0
- package/chunks/ListMasterFooter.module-CQmunIov.js +10 -0
- package/chunks/ModalWindow.module-BhR9VsYm.js +17 -0
- package/chunks/Notification.module-BHnUAhdM.js +21 -0
- package/chunks/Overlay.module-BHV5h0kp.js +18 -0
- package/chunks/Page.module-DcF12bw0.js +11 -0
- package/chunks/{RightBorderArrow-BsoQkq2D.js → RightBorderArrow-DmvKTu6m.js} +11 -11
- package/chunks/SMSInput.module-qYyAcTFr.js +16 -0
- package/chunks/SliderExtendedMarks.module-CNaKOqZQ.js +15 -0
- package/chunks/{SliderExtendedRail-DCMgHGfh.js → SliderExtendedRail-45DAsx7v.js} +7 -7
- package/chunks/StatusTracker.module-BA-WFHqo.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-BEzPFmOF.js → SuggestFieldMobileDropdownHint-CSddz7zn.js} +4 -4
- package/chunks/TableFooter.module-D6jJ4Btm.js +14 -0
- package/chunks/TabsExtended.module-C87bijNv.js +16 -0
- package/chunks/TabsLine.module-D_ARvYGg.js +21 -0
- package/chunks/TooltipDesktop.module-CehOLtFg.js +19 -0
- package/chunks/{TooltipMobileCloseButton-D5h1S51t.js → TooltipMobileCloseButton-CJByOYY4.js} +7 -7
- package/chunks/TreeView.module-B6tUzJoC.js +9 -0
- package/chunks/{UploadZoneInput-BES4iuW5.js → UploadZoneInput-D8diOBuf.js} +2 -2
- package/chunks/{utils-D2zZhfuB.js → utils--cyZSVhM.js} +7 -7
- package/chunks/utils-3xY20XDV.js +24 -0
- package/chunks/utils-BCJ-APtm.js +20 -0
- package/chunks/{utils-Bg2EU04u.js → utils-BvGDcicX.js} +4 -4
- package/chunks/{utils-DRFlp8Cg.js → utils-tUaA-zN1.js} +11 -11
- package/components/Alert/AlertContext/AlertContext.js +7 -7
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +2 -2
- package/components/AmountField/AmountField.js +11 -11
- package/components/Body/Body.js +6 -6
- package/components/Button/Button.js +28 -28
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +17 -17
- package/components/Button/ButtonDropdownExtended.js +7 -7
- package/components/Button/ButtonIcon.js +5 -5
- package/components/Calendar/Calendar.js +2 -2
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +3 -3
- 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 +21 -21
- package/components/Card/CardStatic.js +2 -2
- package/components/Card/components/CardContent/CardContent.js +1 -1
- package/components/Card/components/CardContent/components/CardContentBody.js +1 -1
- package/components/Card/components/CardContent/components/CardContentFooter.js +1 -1
- package/components/Card/components/CardContent/components/CardContentHeader.js +1 -1
- package/components/Card/components/CardMedia.js +1 -1
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +1 -1
- package/components/Checkbox/Checkbox.js +10 -10
- package/components/Checkbox/CheckboxXGroup.js +11 -11
- package/components/Checkbox/CheckboxYGroup.js +1 -1
- 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 +10 -10
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/components/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +8 -8
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +24 -22
- package/components/Chip/ChipOptions.js +6 -6
- package/components/Chip/ChipSelect/ChipSelect.js +51 -0
- package/components/Chip/ChipSelect/ChipSelectTarget.js +44 -0
- package/components/Chip/ChipSelect/index.js +7 -0
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +69 -57
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +31 -29
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +2 -2
- package/components/Chip/index.js +13 -11
- package/components/ChipGroup/ChipGroup.js +12 -12
- package/components/Col/Col.js +134 -134
- package/components/CollapsableTree/components/CollapsableTreeNode.js +6 -6
- 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 +6 -6
- package/components/DateRange/DateRange.js +9 -9
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/DesignTokensComponents.js +24 -22
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +20 -18
- package/components/DesignTokens/components/Calendar.js +6 -4
- package/components/DesignTokens/components/TabsLine.js +0 -9
- package/components/DesignTokens/components/TagColor.js +26 -0
- package/components/DesignTokens/components/index.js +27 -24
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +4 -4
- 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 +4 -4
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +8 -8
- package/components/ExpandAnimation/ExpandAnimation.js +15 -15
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +22 -22
- package/components/FormField/components/FormFieldClear.js +17 -17
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +6 -6
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +7 -7
- package/components/FormField/components/FormFieldMaskedInput.js +25 -25
- package/components/FormField/components/FormFieldPostfix.js +1 -1
- package/components/FormField/components/FormFieldPrefix.js +1 -1
- package/components/FormField/components/FormFieldTarget.js +24 -24
- 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 +5 -5
- 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 +10 -10
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +1 -1
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +3 -3
- 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 +73 -81
- package/components/IslandWidget/IslandWidget.js +13 -13
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +11 -11
- package/components/IslandWidget/components/IslandWidgetFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +6 -6
- package/components/LightBox/LightBox.js +5 -5
- 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 +10 -10
- 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/Link/Link.js +31 -31
- package/components/List/List.js +7 -7
- 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 +8 -8
- 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 +11 -11
- package/components/List/components/ListItemTable.js +5 -5
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +1 -1
- package/components/List/components/ListSortableItemControls.js +1 -1
- package/components/List/components/ListSortableItemTarget.js +7 -7
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +5 -5
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +12 -12
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +9 -9
- package/components/Loader/LoaderSmall/LoaderSmall.js +9 -9
- 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 +16 -16
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +1 -1
- package/components/ModalWindow/components/ModalWindowClose.js +1 -1
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +6 -6
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- 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/NotificationIcon/NotificationIcon.js +4 -4
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +5 -5
- package/components/OrderedList/OrderedListItem.js +2 -2
- 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 +14 -14
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +6 -6
- 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 +4 -4
- package/components/Pagination/components/PaginationSelect.js +7 -7
- package/components/Radio/Radio.js +10 -10
- package/components/Radio/RadioXGroup.js +7 -7
- package/components/Radio/RadioYGroup.js +7 -7
- package/components/Row/Row.js +5 -5
- 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 +8 -8
- package/components/SegmentedControl/SegmentedControlSegment.js +6 -6
- package/components/SelectExtendedField/SelectExtendedField.js +10 -10
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +9 -9
- package/components/Skeleton/Skeleton.js +6 -6
- 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 +6 -6
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +22 -22
- package/components/SmallInput/SmallInput.js +5 -5
- package/components/Spoiler/Spoiler.js +7 -7
- 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 +9 -9
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +1 -1
- package/components/Stepper/StepperExtended.js +1 -1
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperWrapper.js +4 -4
- package/components/Suggest/SuggestMobileDropdownContent.js +19 -19
- 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 +3 -3
- 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 +2 -2
- package/components/Table/MasterTable.js +17 -17
- package/components/Table/NoColumns.js +5 -5
- package/components/Table/PaginationPanel.js +2 -2
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +5 -5
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +4 -4
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +7 -7
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +5 -5
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +6 -6
- 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 +14 -14
- 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 +79 -55
- package/components/TabsLine/components/TabsLineItem.js +55 -23
- package/components/TabsLine/components/TabsLineMobile.js +9 -9
- package/components/TabsLine/utils.js +11 -0
- package/components/Tag/Tag.js +1 -1
- package/components/TagColor/TagColor.js +36 -0
- package/components/TagColor/enums.js +5 -0
- package/components/TagColor/index.js +5 -0
- package/components/TagColor/types.js +2 -0
- package/components/TagGroup/TagGroup.js +9 -9
- 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 +16 -16
- 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 +12 -12
- 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 +12 -12
- package/components/Typography/Title.js +13 -13
- 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 +512 -510
- package/index.d.ts +29 -3
- package/index.js +545 -543
- package/package.json +5 -1
- package/styles/triplex-next.css +533 -528
- package/chunks/AlertProcessSpoiler-C7qEZRwB.js +0 -39
- package/chunks/CalendarViewItem-CUPkQFFY.js +0 -101
- package/chunks/Card.module-D1ZooBvB.js +0 -17
- package/chunks/CheckboxTreeExtended.module-CjWzaGb4.js +0 -11
- package/chunks/Confirm.module-DCsU0G6f.js +0 -15
- package/chunks/DropdownMobile.module-B-UZ3LiZ.js +0 -23
- package/chunks/Footer.module-lZvJ02_q.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-CWZIkcLe.js +0 -9
- package/chunks/HeaderTabs.module-C-ZA_mn1.js +0 -9
- package/chunks/IslandAccordion.module-h_O6zE1D.js +0 -26
- package/chunks/IslandWidgetFooter.module-Qje3BoKp.js +0 -9
- package/chunks/IslandWidgetHeader.module-CX_EFZUr.js +0 -9
- package/chunks/LightBoxContent-CzLiq8KE.js +0 -56
- package/chunks/LightBoxControls.module-BRiJRrAF.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CCW9Lhhe.js +0 -8
- package/chunks/ListItemTail.module-BNCbqffO.js +0 -12
- package/chunks/ListMasterFooter.module-TZgSWuoA.js +0 -10
- package/chunks/ModalWindow.module-Bf1JWUeo.js +0 -17
- package/chunks/Notification.module-BRB3HPvc.js +0 -21
- package/chunks/Overlay.module-BPWZrFj3.js +0 -18
- package/chunks/Page.module-qLhls7XX.js +0 -11
- package/chunks/SMSInput.module-C87wEVmB.js +0 -16
- package/chunks/SliderExtendedMarks.module-DwPWr28H.js +0 -15
- package/chunks/StatusTracker.module-8ARjpbBi.js +0 -24
- package/chunks/TableFooter.module-DgtjRZYk.js +0 -14
- package/chunks/TabsExtended.module-B0_ktbZ6.js +0 -16
- package/chunks/TabsLine.module-DGic2tTZ.js +0 -21
- package/chunks/TooltipDesktop.module-krYzO0tT.js +0 -19
- package/chunks/TreeView.module-7xjkN1j1.js +0 -9
- package/chunks/utils-CIob06mu.js +0 -20
- package/chunks/utils-TKCSmJUI.js +0 -24
- package/components/Chip/ChipSelect.js +0 -55
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import { jsx as u } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import E, { useContext as T, useRef as b, useEffect as n } from "react";
|
|
3
3
|
import { FormFieldContext as B } from "../FormFieldContext.js";
|
|
4
4
|
import { c as N, a as S } from "../../../chunks/vendor-D3hUOusX.js";
|
|
5
|
-
import { EFormFieldStatus as
|
|
6
|
-
const A = "
|
|
5
|
+
import { EFormFieldStatus as t } from "../enums.js";
|
|
6
|
+
const A = "formFieldTarget__93f21aa9", L = "placeholder__513edcd8", W = "disabled__321ded10", R = "placeholderWrapper__dd4daecf", e = {
|
|
7
7
|
formFieldTarget: A,
|
|
8
8
|
placeholder: L,
|
|
9
9
|
disabled: W,
|
|
10
|
-
"size-sm": "size-
|
|
11
|
-
"size-md": "size-
|
|
12
|
-
"size-lg": "size-
|
|
10
|
+
"size-sm": "size-sm__0342c804",
|
|
11
|
+
"size-md": "size-md__44c0c360",
|
|
12
|
+
"size-lg": "size-lg__0645dd02",
|
|
13
13
|
placeholderWrapper: R
|
|
14
|
-
}, y =
|
|
15
|
-
const { className: h, id: r, onBlur: o, onFocus: c, placeholder: m, children: s, ...
|
|
16
|
-
[e.disabled]: a ===
|
|
17
|
-
[e.placeholder]: !!m && !s && a !==
|
|
18
|
-
}),
|
|
14
|
+
}, y = E.forwardRef((_, F) => {
|
|
15
|
+
const { className: h, id: r, onBlur: o, onFocus: c, placeholder: m, children: s, ...g } = _, { status: a, setFocused: p, setId: d, setValueExist: f, size: z } = T(B), D = N(e.formFieldTarget, h, e[`size-${z}`], {
|
|
16
|
+
[e.disabled]: a === t.DISABLED,
|
|
17
|
+
[e.placeholder]: !!m && !s && a !== t.DISABLED
|
|
18
|
+
}), l = b(r || S("formFieldTarget_"));
|
|
19
19
|
n(() => {
|
|
20
|
-
l
|
|
21
|
-
}, [
|
|
22
|
-
r && (
|
|
23
|
-
}, [r,
|
|
20
|
+
d(l.current);
|
|
21
|
+
}, [d]), n(() => {
|
|
22
|
+
r && (l.current = r, d(l.current));
|
|
23
|
+
}, [r, d]), n(() => {
|
|
24
24
|
f(!!s);
|
|
25
25
|
}, [f, s]);
|
|
26
|
-
const
|
|
26
|
+
const I = (i) => {
|
|
27
27
|
p(!1), o == null || o(i);
|
|
28
|
-
},
|
|
28
|
+
}, x = (i) => {
|
|
29
29
|
p(!0), c == null || c(i);
|
|
30
30
|
};
|
|
31
31
|
return /* @__PURE__ */ u(
|
|
32
32
|
"div",
|
|
33
33
|
{
|
|
34
|
-
...
|
|
35
|
-
className:
|
|
36
|
-
"aria-disabled": a ===
|
|
37
|
-
id:
|
|
38
|
-
onFocus:
|
|
39
|
-
onBlur:
|
|
40
|
-
tabIndex: a ===
|
|
34
|
+
...g,
|
|
35
|
+
className: D,
|
|
36
|
+
"aria-disabled": a === t.DISABLED,
|
|
37
|
+
id: l.current,
|
|
38
|
+
onFocus: x,
|
|
39
|
+
onBlur: I,
|
|
40
|
+
tabIndex: a === t.DISABLED ? -1 : 0,
|
|
41
41
|
ref: F,
|
|
42
42
|
children: s || /* @__PURE__ */ u("span", { className: e.placeholderWrapper, children: m })
|
|
43
43
|
}
|
|
@@ -4,7 +4,7 @@ import { FormFieldContext as z } from "../FormFieldContext.js";
|
|
|
4
4
|
import { a as R, c as S } from "../../../chunks/vendor-D3hUOusX.js";
|
|
5
5
|
import { createSizeToClassNameMap as y } from "../../../utils/classNameMaps.js";
|
|
6
6
|
import { EFormFieldStatus as D } from "../enums.js";
|
|
7
|
-
const M = "
|
|
7
|
+
const M = "formFieldTextarea__93c39873", b = "sm__30a74f13", j = "md__a911a75e", q = "lg__8d22d5ef", l = {
|
|
8
8
|
formFieldTextarea: M,
|
|
9
9
|
sm: b,
|
|
10
10
|
md: j,
|
|
@@ -4,7 +4,7 @@ import { FormFieldCounter as i } from "./components/FormFieldCounter.js";
|
|
|
4
4
|
import { FormFieldLabel as p } from "./components/FormFieldLabel.js";
|
|
5
5
|
import { FormFieldClear as d } from "./components/FormFieldClear.js";
|
|
6
6
|
import { FormFieldTarget as a } from "./components/FormFieldTarget.js";
|
|
7
|
-
import { F as n } from "../../chunks/FormFieldInput-
|
|
7
|
+
import { F as n } from "../../chunks/FormFieldInput-kWDtKz1V.js";
|
|
8
8
|
import { FormFieldMaskedInput as C } from "./components/FormFieldMaskedInput.js";
|
|
9
9
|
import { FormFieldPostfix as I } from "./components/FormFieldPostfix.js";
|
|
10
10
|
import { FormFieldPrefix as S } from "./components/FormFieldPrefix.js";
|
|
@@ -12,7 +12,7 @@ import "./components/HeaderTitle/HeaderTitleContent.js";
|
|
|
12
12
|
import "./components/HeaderTitle/HeaderTitleControls.js";
|
|
13
13
|
const f = Object.assign(
|
|
14
14
|
a.forwardRef(function({ children: r, ...e }, t) {
|
|
15
|
-
return /* @__PURE__ */ o("div", { ...e, "data-tx": "1.
|
|
15
|
+
return /* @__PURE__ */ o("div", { ...e, "data-tx": "1.9.0", ref: t, children: r });
|
|
16
16
|
}),
|
|
17
17
|
{
|
|
18
18
|
LayoutSidebar: p,
|
|
@@ -3,7 +3,7 @@ import d from "react";
|
|
|
3
3
|
import { c as i } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { HeaderLayoutSidebarContent as m } from "./HeaderLayoutSidebarContent.js";
|
|
5
5
|
import { HeaderLayoutSidebarSidebar as s } from "./HeaderLayoutSidebarSidebar.js";
|
|
6
|
-
import { s as f } from "../../../../chunks/HeaderLayoutSidebar.module-
|
|
6
|
+
import { s as f } from "../../../../chunks/HeaderLayoutSidebar.module-C6GIAW7a.js";
|
|
7
7
|
const b = Object.assign(
|
|
8
8
|
d.forwardRef(function({ children: e, className: r, ...a }, o) {
|
|
9
9
|
return /* @__PURE__ */ t("div", { className: i(f.headerLayoutSidebar, r), ...a, ref: o, children: e });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import s from "react";
|
|
3
3
|
import { c as d } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
-
import { s as m } from "../../../../chunks/HeaderLayoutSidebar.module-
|
|
4
|
+
import { s as m } from "../../../../chunks/HeaderLayoutSidebar.module-C6GIAW7a.js";
|
|
5
5
|
const i = s.forwardRef(
|
|
6
6
|
({ children: e, className: a, ...t }, o) => /* @__PURE__ */ r("div", { className: d(m.headerLayoutSidebarContent, a), ...t, ref: o, children: e })
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
3
|
import { c as t } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
-
import { s } from "../../../../chunks/HeaderLayoutSidebar.module-
|
|
4
|
+
import { s } from "../../../../chunks/HeaderLayoutSidebar.module-C6GIAW7a.js";
|
|
5
5
|
const m = i.forwardRef(
|
|
6
6
|
({ children: a, className: r, ...e }, o) => /* @__PURE__ */ d("div", { className: t(s.headerLayoutSidebarSidebar, r), ...e, ref: o, children: a })
|
|
7
7
|
);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import h from "react";
|
|
3
3
|
import { c as i } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
-
const u = "
|
|
4
|
+
const u = "headerSubheader__aafe6146", n = "withoutPaddings__6d0149a0", e = {
|
|
5
5
|
headerSubheader: u,
|
|
6
|
-
withoutPaddings:
|
|
7
|
-
},
|
|
6
|
+
withoutPaddings: n
|
|
7
|
+
}, c = h.forwardRef(
|
|
8
8
|
({ children: a, className: d, withoutPaddings: r, ...t }, o) => /* @__PURE__ */ s(
|
|
9
9
|
"div",
|
|
10
10
|
{
|
|
@@ -15,8 +15,8 @@ const u = "headerSubheader__189ee5c3", c = "withoutPaddings__4178c258", e = {
|
|
|
15
15
|
}
|
|
16
16
|
)
|
|
17
17
|
);
|
|
18
|
-
|
|
18
|
+
c.displayName = "HeaderSubheader";
|
|
19
19
|
export {
|
|
20
|
-
|
|
20
|
+
c as HeaderSubheader
|
|
21
21
|
};
|
|
22
22
|
//# sourceMappingURL=HeaderSubheader.js.map
|
|
@@ -3,7 +3,7 @@ import t from "react";
|
|
|
3
3
|
import { HeaderTabsContent as m } from "./HeaderTabsContent.js";
|
|
4
4
|
import { HeaderTabsControls as n } from "./HeaderTabsControls.js";
|
|
5
5
|
import { c as d } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
6
|
-
import { s as f } from "../../../../chunks/HeaderTabs.module-
|
|
6
|
+
import { s as f } from "../../../../chunks/HeaderTabs.module-BP4HQoDS.js";
|
|
7
7
|
const i = Object.assign(
|
|
8
8
|
t.forwardRef(function({ children: r, className: e, ...a }, o) {
|
|
9
9
|
return /* @__PURE__ */ s("div", { className: d(f.headerTabs, e), ...a, ref: o, children: r });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import s from "react";
|
|
3
3
|
import { c as m } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
-
import { s as n } from "../../../../chunks/HeaderTabs.module-
|
|
4
|
+
import { s as n } from "../../../../chunks/HeaderTabs.module-BP4HQoDS.js";
|
|
5
5
|
const d = s.forwardRef(
|
|
6
6
|
({ children: e, className: r, ...t }, a) => /* @__PURE__ */ o("div", { className: m(n.headerTabsContent, r), ...t, ref: a, children: e })
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import t from "react";
|
|
3
3
|
import { c as m } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
-
import { s as l } from "../../../../chunks/HeaderTabs.module-
|
|
4
|
+
import { s as l } from "../../../../chunks/HeaderTabs.module-BP4HQoDS.js";
|
|
5
5
|
const d = t.forwardRef(
|
|
6
6
|
({ children: o, className: r, ...s }, a) => /* @__PURE__ */ e("div", { className: m(l.headerTabsControls, r), ...s, ref: a, children: o })
|
|
7
7
|
);
|
|
@@ -3,7 +3,7 @@ import i from "react";
|
|
|
3
3
|
import { HeaderTitleContent as s } from "./HeaderTitleContent.js";
|
|
4
4
|
import { HeaderTitleControls as m } from "./HeaderTitleControls.js";
|
|
5
5
|
import { c as l } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
6
|
-
import { s as n } from "../../../../chunks/HeaderTitle.module-
|
|
6
|
+
import { s as n } from "../../../../chunks/HeaderTitle.module-DlPGCmxi.js";
|
|
7
7
|
const d = Object.assign(
|
|
8
8
|
i.forwardRef(function({ children: e, className: t, ...r }, o) {
|
|
9
9
|
return /* @__PURE__ */ a("div", { className: l(n.headerTitle, t), ...r, ref: o, children: e });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import s from "react";
|
|
3
3
|
import { c as i } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
-
import { s as e } from "../../../../chunks/HeaderTitle.module-
|
|
4
|
+
import { s as e } from "../../../../chunks/HeaderTitle.module-DlPGCmxi.js";
|
|
5
5
|
const m = s.forwardRef(
|
|
6
6
|
({ children: t, className: r, ...o }, a) => /* @__PURE__ */ l(
|
|
7
7
|
"div",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import a from "react";
|
|
3
3
|
import { c as i } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
-
import { s as o } from "../../../../chunks/HeaderTitle.module-
|
|
4
|
+
import { s as o } from "../../../../chunks/HeaderTitle.module-DlPGCmxi.js";
|
|
5
5
|
const m = a.forwardRef(
|
|
6
6
|
({ children: e, className: r, ...t }, l) => /* @__PURE__ */ s(
|
|
7
7
|
"div",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as h, Fragment as H, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { useRef as M, useState as
|
|
2
|
+
import { useRef as M, useState as f, useId as R } from "react";
|
|
3
3
|
import { c as S, h as _ } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { QuestioncircleFilledSrvIcon16 as L } from "@sberbusiness/icons-next";
|
|
5
5
|
import { ButtonIcon as j } from "../Button/ButtonIcon.js";
|
|
@@ -9,24 +9,24 @@ import { TooltipMobileHeader as z } from "../Tooltip/components/mobile/component
|
|
|
9
9
|
import { MobileView as C } from "../MobileView/MobileView.js";
|
|
10
10
|
import { getDataHTMLAttributes as D } from "../../utils/html/DataAttributes.js";
|
|
11
11
|
import { getAriaHTMLAttributes as Q } from "../../utils/html/AriaAttributes.js";
|
|
12
|
-
const V = "
|
|
12
|
+
const V = "helpBoxButton__eb772bb6", X = "helpBoxTooltipBody__0f6a1532", x = {
|
|
13
13
|
helpBoxButton: V,
|
|
14
14
|
helpBoxTooltipBody: X
|
|
15
15
|
}, $ = ({
|
|
16
16
|
children: T,
|
|
17
|
-
className:
|
|
17
|
+
className: b,
|
|
18
18
|
focusTrapProps: t,
|
|
19
19
|
mobileHeaderContent: s,
|
|
20
20
|
isOpen: i,
|
|
21
21
|
onShow: n,
|
|
22
|
-
tooltipSize:
|
|
23
|
-
preferPlace:
|
|
22
|
+
tooltipSize: y,
|
|
23
|
+
preferPlace: I,
|
|
24
24
|
toggle: r,
|
|
25
25
|
tooltipAriaAttributes: c,
|
|
26
26
|
tooltipDataAttributes: p,
|
|
27
27
|
...v
|
|
28
28
|
}) => {
|
|
29
|
-
const d = M(null), [F, O] =
|
|
29
|
+
const d = M(null), [F, O] = f(!!i), [m, B] = f(null), u = R(), a = i ?? F, N = (o) => {
|
|
30
30
|
i === void 0 && O(o), o || B(null), r == null || r(o);
|
|
31
31
|
}, g = (o) => {
|
|
32
32
|
B(o), n == null || n(o);
|
|
@@ -58,8 +58,8 @@ const V = "helpBoxButton__8ab2d617", X = "helpBoxTooltipBody__31129ea6", f = {
|
|
|
58
58
|
tabIndex: -1,
|
|
59
59
|
role: "dialog",
|
|
60
60
|
toggleType: "hover",
|
|
61
|
-
size:
|
|
62
|
-
preferPlace:
|
|
61
|
+
size: y,
|
|
62
|
+
preferPlace: I,
|
|
63
63
|
isOpen: a,
|
|
64
64
|
toggle: N,
|
|
65
65
|
onShow: g,
|
|
@@ -70,7 +70,7 @@ const V = "helpBoxButton__8ab2d617", X = "helpBoxTooltipBody__31129ea6", f = {
|
|
|
70
70
|
/* @__PURE__ */ e(l.Target, { children: /* @__PURE__ */ e(
|
|
71
71
|
j,
|
|
72
72
|
{
|
|
73
|
-
className: S(
|
|
73
|
+
className: S(x.helpBoxButton, b),
|
|
74
74
|
"aria-label": "Подсказка",
|
|
75
75
|
shape: k.CIRCLE,
|
|
76
76
|
ref: d,
|
|
@@ -79,7 +79,7 @@ const V = "helpBoxButton__8ab2d617", X = "helpBoxTooltipBody__31129ea6", f = {
|
|
|
79
79
|
}
|
|
80
80
|
) }),
|
|
81
81
|
s && /* @__PURE__ */ e(z, { children: s }),
|
|
82
|
-
/* @__PURE__ */ e(l.Body, { className:
|
|
82
|
+
/* @__PURE__ */ e(l.Body, { className: x.helpBoxTooltipBody, children: T }),
|
|
83
83
|
/* @__PURE__ */ e(l.XButton, { "aria-label": "Закрыть" })
|
|
84
84
|
]
|
|
85
85
|
}
|
|
@@ -5,7 +5,7 @@ import { EIslandType as l } from "./enums.js";
|
|
|
5
5
|
import { IslandBody as f } from "./components/IslandBody.js";
|
|
6
6
|
import { IslandHeader as n } from "./components/IslandHeader.js";
|
|
7
7
|
import { IslandFooter as c } from "./components/IslandFooter.js";
|
|
8
|
-
import { s as o, m as y } from "../../chunks/utils-
|
|
8
|
+
import { s as o, m as y } from "../../chunks/utils-3xY20XDV.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,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import r from "react";
|
|
3
3
|
import { c as t } from "../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
-
const l = "
|
|
4
|
+
const l = "islandBody__77bb257c", n = {
|
|
5
5
|
islandBody: l
|
|
6
6
|
}, m = r.forwardRef(({ children: o, ...s }, d) => /* @__PURE__ */ a("div", { className: t(n.islandBody), ref: d, ...s, children: o }));
|
|
7
7
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import e from "react";
|
|
3
3
|
import { c as a } from "../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
-
const
|
|
5
|
-
islandFooter:
|
|
6
|
-
},
|
|
4
|
+
const l = "islandFooter__44b2f756", n = {
|
|
5
|
+
islandFooter: l
|
|
6
|
+
}, f = e.forwardRef(({ children: o, ...r }, t) => /* @__PURE__ */ s("div", { className: a(n.islandFooter), ref: t, ...r, children: o }));
|
|
7
7
|
export {
|
|
8
|
-
|
|
8
|
+
f as IslandFooter
|
|
9
9
|
};
|
|
10
10
|
//# sourceMappingURL=IslandFooter.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import d from "react";
|
|
3
3
|
import { c as o } from "../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
-
const t = "
|
|
4
|
+
const t = "islandHeader__f4cfbcaa", c = {
|
|
5
5
|
islandHeader: t
|
|
6
|
-
},
|
|
6
|
+
}, i = d.forwardRef(({ children: a, ...e }, r) => /* @__PURE__ */ s("div", { className: o(c.islandHeader), ref: r, ...e, children: a }));
|
|
7
7
|
export {
|
|
8
|
-
|
|
8
|
+
i as IslandHeader
|
|
9
9
|
};
|
|
10
10
|
//# sourceMappingURL=IslandHeader.js.map
|
|
@@ -9,7 +9,7 @@ import "../Island/components/IslandBody.js";
|
|
|
9
9
|
import "../Island/components/IslandHeader.js";
|
|
10
10
|
import "../Island/components/IslandFooter.js";
|
|
11
11
|
import { c as f } from "../../chunks/vendor-D3hUOusX.js";
|
|
12
|
-
import { s as I } from "../../chunks/IslandAccordion.module-
|
|
12
|
+
import { s as I } from "../../chunks/IslandAccordion.module-DDPPsI1j.js";
|
|
13
13
|
import "./components/IslandAccordionContent.js";
|
|
14
14
|
import "./components/IslandAccordionFooter.js";
|
|
15
15
|
import "./components/IslandAccordionTitle.js";
|
|
@@ -17,7 +17,7 @@ const x = Object.assign(
|
|
|
17
17
|
e.forwardRef(
|
|
18
18
|
({ className: r, children: t, size: m = d.MD, type: i = l.TYPE_1, ...s }, a) => {
|
|
19
19
|
const c = f(r, I.islandAccordion);
|
|
20
|
-
return /* @__PURE__ */ o(p.Provider, { value: { size: m, type: i }, children: /* @__PURE__ */ o("ul", { ...s, className: c, "data-tx": "1.
|
|
20
|
+
return /* @__PURE__ */ o(p.Provider, { value: { size: m, type: i }, children: /* @__PURE__ */ o("ul", { ...s, className: c, "data-tx": "1.9.0", ref: a, children: t }) });
|
|
21
21
|
}
|
|
22
22
|
),
|
|
23
23
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { s as r } from "../../../chunks/IslandAccordion.module-
|
|
2
|
+
import { s as r } from "../../../chunks/IslandAccordion.module-DDPPsI1j.js";
|
|
3
3
|
import { Island as s } from "../../Island/Island.js";
|
|
4
4
|
import "../../Island/components/IslandBody.js";
|
|
5
5
|
import "../../Island/components/IslandHeader.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { c as t } from "../../../chunks/vendor-D3hUOusX.js";
|
|
3
|
-
import { s as m } from "../../../chunks/IslandAccordion.module-
|
|
3
|
+
import { s as m } from "../../../chunks/IslandAccordion.module-DDPPsI1j.js";
|
|
4
4
|
import { Island as i } from "../../Island/Island.js";
|
|
5
5
|
import "../../Island/components/IslandBody.js";
|
|
6
6
|
import "../../Island/components/IslandHeader.js";
|
|
@@ -1,98 +1,90 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { CaretdownStrokeSrvIcon24 as
|
|
4
|
-
import { a as
|
|
5
|
-
import { Island as
|
|
6
|
-
import { ExpandAnimation as
|
|
7
|
-
import { s as
|
|
8
|
-
import { IslandAccordionTitle as
|
|
9
|
-
import { IslandAccordionContent as
|
|
10
|
-
import { IslandAccordionFooter as
|
|
11
|
-
import { createSizeToClassNameMap as
|
|
1
|
+
import { jsx as r, jsxs as c } from "react/jsx-runtime";
|
|
2
|
+
import j, { useState as w, useContext as z, useRef as F, useEffect as M } from "react";
|
|
3
|
+
import { CaretdownStrokeSrvIcon24 as Y, CrossStrokeSrvIcon24 as H } from "@sberbusiness/icons-next";
|
|
4
|
+
import { a as W, c as x } from "../../../chunks/vendor-D3hUOusX.js";
|
|
5
|
+
import { Island as y } from "../../Island/Island.js";
|
|
6
|
+
import { ExpandAnimation as $ } from "../../ExpandAnimation/ExpandAnimation.js";
|
|
7
|
+
import { s as t } from "../../../chunks/IslandAccordion.module-DDPPsI1j.js";
|
|
8
|
+
import { IslandAccordionTitle as q } from "./IslandAccordionTitle.js";
|
|
9
|
+
import { IslandAccordionContent as B } from "./IslandAccordionContent.js";
|
|
10
|
+
import { IslandAccordionFooter as X } from "./IslandAccordionFooter.js";
|
|
11
|
+
import { createSizeToClassNameMap as D } from "../../../utils/classNameMaps.js";
|
|
12
12
|
import "../../Button/Button.js";
|
|
13
13
|
import "../../Button/ButtonBase.js";
|
|
14
|
-
import { ButtonIcon as
|
|
14
|
+
import { ButtonIcon as G } from "../../Button/ButtonIcon.js";
|
|
15
15
|
import "../../Button/ButtonDropdown.js";
|
|
16
16
|
import "../../Button/ButtonDropdownExtended.js";
|
|
17
|
-
import { EIslandType as
|
|
17
|
+
import { EIslandType as m } from "../../Island/enums.js";
|
|
18
18
|
import "../../Island/components/IslandBody.js";
|
|
19
19
|
import "../../Island/components/IslandHeader.js";
|
|
20
20
|
import "../../Island/components/IslandFooter.js";
|
|
21
|
-
import { Step as
|
|
22
|
-
import { EStepPosition as
|
|
23
|
-
import { IslandAccordionContext as
|
|
24
|
-
const
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
28
|
-
},
|
|
29
|
-
|
|
21
|
+
import { Step as J } from "../../Step/Step.js";
|
|
22
|
+
import { EStepPosition as K } from "../../Step/enums.js";
|
|
23
|
+
import { IslandAccordionContext as L } from "../IslandAccordionContext.js";
|
|
24
|
+
const Q = {
|
|
25
|
+
[m.TYPE_1]: t.type1,
|
|
26
|
+
[m.TYPE_2]: t.type2,
|
|
27
|
+
[m.TYPE_3]: t.type3
|
|
28
|
+
}, U = D(t), V = Object.assign(
|
|
29
|
+
j.forwardRef(
|
|
30
30
|
({
|
|
31
|
-
children:
|
|
32
|
-
title:
|
|
33
|
-
className:
|
|
31
|
+
children: S,
|
|
32
|
+
title: v,
|
|
33
|
+
className: A,
|
|
34
34
|
opened: o,
|
|
35
35
|
disabled: a,
|
|
36
|
-
onRemove:
|
|
37
|
-
onToggle:
|
|
36
|
+
onRemove: i,
|
|
37
|
+
onToggle: s,
|
|
38
38
|
id: n,
|
|
39
|
-
num:
|
|
40
|
-
status:
|
|
41
|
-
stepHint:
|
|
42
|
-
transitionProps:
|
|
39
|
+
num: p,
|
|
40
|
+
status: d,
|
|
41
|
+
stepHint: E,
|
|
42
|
+
transitionProps: k,
|
|
43
43
|
...T
|
|
44
44
|
}, _) => {
|
|
45
|
-
const [
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
q(() => {
|
|
51
|
-
o !== void 0 && r !== o && f(o);
|
|
52
|
-
}, [o, r]);
|
|
53
|
-
const w = () => {
|
|
45
|
+
const [e, l] = w(o || !1), { size: f, type: I } = z(L), h = F(W()).current, u = `${h}header`, C = `${h}body`;
|
|
46
|
+
M(() => {
|
|
47
|
+
o !== void 0 && e !== o && l(o);
|
|
48
|
+
}, [o, e]);
|
|
49
|
+
const b = () => {
|
|
54
50
|
if (a)
|
|
55
51
|
return;
|
|
56
|
-
const
|
|
57
|
-
|
|
58
|
-
},
|
|
59
|
-
a ||
|
|
60
|
-
},
|
|
61
|
-
[
|
|
62
|
-
[
|
|
63
|
-
}), M = d(e.island, {
|
|
64
|
-
[e.focused]: O
|
|
52
|
+
const N = !e;
|
|
53
|
+
s == null || s(N, n), o === void 0 && l(N);
|
|
54
|
+
}, O = () => {
|
|
55
|
+
a || i == null || i(n);
|
|
56
|
+
}, P = x(A, t.item, U[f], Q[I], {
|
|
57
|
+
[t.disabled]: !!a,
|
|
58
|
+
[t.opened]: e
|
|
65
59
|
});
|
|
66
|
-
return /* @__PURE__ */
|
|
67
|
-
/* @__PURE__ */
|
|
60
|
+
return /* @__PURE__ */ r("li", { ...T, className: P, id: n, ref: _, children: /* @__PURE__ */ c(y, { className: t.island, size: f, type: I, children: [
|
|
61
|
+
/* @__PURE__ */ r(y.Header, { children: /* @__PURE__ */ c(
|
|
68
62
|
"button",
|
|
69
63
|
{
|
|
70
|
-
id:
|
|
71
|
-
"aria-controls":
|
|
72
|
-
"aria-expanded":
|
|
64
|
+
id: u,
|
|
65
|
+
"aria-controls": C,
|
|
66
|
+
"aria-expanded": e,
|
|
73
67
|
type: "button",
|
|
74
|
-
className:
|
|
75
|
-
onClick:
|
|
76
|
-
onFocus: P,
|
|
77
|
-
onBlur: j,
|
|
68
|
+
className: t.header,
|
|
69
|
+
onClick: b,
|
|
78
70
|
disabled: a,
|
|
79
|
-
"data-tx": "1.
|
|
71
|
+
"data-tx": "1.9.0",
|
|
80
72
|
children: [
|
|
81
|
-
|
|
82
|
-
/* @__PURE__ */ c("div", { className:
|
|
73
|
+
d && p && /* @__PURE__ */ r("div", { className: t.step, children: /* @__PURE__ */ r(J, { step: p, status: d, position: K.XFirst, children: a ? void 0 : E }) }),
|
|
74
|
+
/* @__PURE__ */ c("div", { className: t.titleWrapper, children: [
|
|
83
75
|
" ",
|
|
84
|
-
|
|
76
|
+
v
|
|
85
77
|
] }),
|
|
86
|
-
/* @__PURE__ */
|
|
78
|
+
/* @__PURE__ */ r(
|
|
87
79
|
"span",
|
|
88
80
|
{
|
|
89
|
-
className:
|
|
90
|
-
active:
|
|
81
|
+
className: x(t.caretWrapper, "hoverable", {
|
|
82
|
+
active: e
|
|
91
83
|
}),
|
|
92
|
-
children: /* @__PURE__ */
|
|
93
|
-
|
|
84
|
+
children: /* @__PURE__ */ r(
|
|
85
|
+
Y,
|
|
94
86
|
{
|
|
95
|
-
className:
|
|
87
|
+
className: t.caretIcon,
|
|
96
88
|
"aria-hidden": "true",
|
|
97
89
|
paletteIndex: 5
|
|
98
90
|
}
|
|
@@ -102,29 +94,29 @@ const ee = {
|
|
|
102
94
|
]
|
|
103
95
|
}
|
|
104
96
|
) }),
|
|
105
|
-
|
|
106
|
-
/* @__PURE__ */
|
|
107
|
-
|
|
97
|
+
i && /* @__PURE__ */ r("div", { className: t.remove, children: /* @__PURE__ */ r(G, { onClick: O, title: "Удалить", children: /* @__PURE__ */ r(H, { paletteIndex: 5 }) }) }),
|
|
98
|
+
/* @__PURE__ */ r(
|
|
99
|
+
$,
|
|
108
100
|
{
|
|
109
|
-
expanded:
|
|
110
|
-
id:
|
|
101
|
+
expanded: e && !a,
|
|
102
|
+
id: C,
|
|
111
103
|
role: "region",
|
|
112
|
-
"aria-labelledby":
|
|
113
|
-
transitionProps:
|
|
114
|
-
children:
|
|
104
|
+
"aria-labelledby": u,
|
|
105
|
+
transitionProps: k,
|
|
106
|
+
children: S
|
|
115
107
|
}
|
|
116
108
|
)
|
|
117
109
|
] }) });
|
|
118
110
|
}
|
|
119
111
|
),
|
|
120
112
|
{
|
|
121
|
-
Title:
|
|
122
|
-
Content:
|
|
123
|
-
Footer:
|
|
113
|
+
Title: q,
|
|
114
|
+
Content: B,
|
|
115
|
+
Footer: X
|
|
124
116
|
}
|
|
125
117
|
);
|
|
126
|
-
|
|
118
|
+
V.displayName = "IslandAccordionItem";
|
|
127
119
|
export {
|
|
128
|
-
|
|
120
|
+
V as IslandAccordionItem
|
|
129
121
|
};
|
|
130
122
|
//# sourceMappingURL=IslandAccordionItem.js.map
|