@sberbusiness/triplex-next 0.10.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/chunks/AlertProcessSpoiler-SFMiAq2e.js +39 -0
- package/chunks/{CalendarViewItem-CNP7C3l_.js → CalendarViewItem-B7_R_3t_.js} +19 -19
- package/chunks/Card.module-B8eF0PyT.js +17 -0
- package/chunks/CheckboxTreeExtended.module-BL2GvhSW.js +11 -0
- package/chunks/{Chip-DaFItkIp.js → Chip-BiNNkTCM.js} +14 -14
- package/chunks/Confirm.module-DtGkChdz.js +15 -0
- package/chunks/{DropdownListItem-lbLsbKwC.js → DropdownListItem-BxEqWaJ8.js} +19 -19
- package/chunks/DropdownMobile.module-hCX_8o3O.js +23 -0
- package/chunks/Footer.module-CmBv6U70.js +9 -0
- package/chunks/{FormFieldInput-BoG8X8Sc.js → FormFieldInput-B4hNuHJx.js} +9 -9
- package/chunks/HeaderLayoutSidebar.module-72lLZguP.js +9 -0
- package/chunks/HeaderTabs.module-Cg4Skmf_.js +9 -0
- package/chunks/{HeaderTitle.module-r9kVKK-W.js → HeaderTitle.module-DlNyNird.js} +2 -2
- package/chunks/IslandAccordion.module-CASKTyF5.js +25 -0
- package/chunks/IslandWidgetFooter.module-BOmbhSZq.js +9 -0
- package/chunks/IslandWidgetHeader.module-Bb1VehSy.js +9 -0
- package/chunks/{LightBoxContent-3M4bOnUh.js → LightBoxContent-DBZCrC3l.js} +11 -11
- package/chunks/LightBoxControls.module-Bd3m7ZxT.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-BOo9E8eM.js +8 -0
- package/chunks/{ListItemControlsButton-rF_5JaM-.js → ListItemControlsButton-B7xM1V5l.js} +10 -10
- package/chunks/ListItemTail.module-Cc6Q6gR8.js +12 -0
- package/chunks/ListMasterFooter.module-CPTvVSEg.js +10 -0
- package/chunks/ModalWindow.module-Cjfs_3lX.js +17 -0
- package/chunks/Notification.module-DRNzc662.js +21 -0
- package/chunks/Overlay.module-CyE4VM64.js +18 -0
- package/chunks/Page.module-CiiwZIG0.js +11 -0
- package/chunks/{RightBorderArrow-C1vPwzXO.js → RightBorderArrow-qUNK7k_Z.js} +12 -12
- package/chunks/SMSField.module-Df8IlNx3.js +16 -0
- package/chunks/SliderExtendedMarks.module-C3yroPQo.js +15 -0
- package/chunks/{SliderExtendedRail-Bw4p-kLW.js → SliderExtendedRail-fxB35VnJ.js} +10 -10
- package/chunks/StatusTracker.module-C3dx5TPW.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-Ciw5Nm9X.js → SuggestFieldMobileDropdownHint-BRLUCupu.js} +2 -2
- package/chunks/TableFooter.module-CJATQpk2.js +14 -0
- package/chunks/TabsExtended.module-mbk25DHy.js +16 -0
- package/chunks/TabsLine.module-eLr2Qyu1.js +21 -0
- package/chunks/TooltipDesktop.module-D4l2yNW-.js +19 -0
- package/chunks/TreeView.module-BZTj2oze.js +9 -0
- package/chunks/UploadZoneInput-ZvLsxymO.js +35 -0
- package/chunks/utils-CkEbPHhV.js +73 -0
- package/chunks/{utils-CxR_OPBn.js → utils-D3BbfI4I.js} +8 -8
- package/chunks/{utils-Ql50x949.js → utils-Kc2jGbAd.js} +8 -8
- package/chunks/utils-bltVmJ1Y.js +24 -0
- package/chunks/{utils-DTmo2xHF.js → utils-pT3qplA1.js} +5 -5
- package/chunks/{vendor-BlJo2ILB.js → vendor-BARd5eYq.js} +5008 -5131
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +10 -10
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +3 -3
- package/components/AmountField/AmountField.js +48 -40
- package/components/Body/Body.js +5 -5
- package/components/Button/Button.js +24 -24
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +13 -13
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +7 -7
- package/components/Calendar/Calendar.js +3 -3
- package/components/Calendar/CalendarContext.js +1 -1
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +4 -4
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +2 -2
- package/components/Calendar/components/CalendarViewYears.js +2 -2
- package/components/Calendar/utils.js +1 -1
- package/components/Card/CardAction.js +7 -7
- 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 +9 -9
- package/components/Checkbox/CheckboxXGroup.js +12 -12
- package/components/Checkbox/CheckboxYGroup.js +7 -7
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +5 -5
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +2 -2
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +8 -8
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +6 -6
- package/components/Chip/ChipSelect/ChipSelect.js +2 -2
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +2 -2
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +13 -13
- package/components/Col/Col.js +141 -141
- package/components/CollapsableTree/components/CollapsableTreeNode.js +2 -2
- 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/DateField/DateField.js +2 -2
- package/components/DateField/utils.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +10 -10
- package/components/DateRange/DateRange.js +10 -10
- package/components/DateRange/index.js +7 -0
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensComponents.js +90 -95
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +92 -97
- package/components/DesignTokens/components/Step.js +1 -1
- package/components/DesignTokens/components/index.js +153 -156
- package/components/Divider/Divider.js +18 -18
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +2 -2
- package/components/Dropdown/desktop/DropdownDesktop.js +13 -13
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- 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 +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 +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +2 -2
- package/components/Ellipsis/Ellipsis.js +9 -9
- package/components/ExpandAnimation/ExpandAnimation.js +20 -20
- 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 +21 -21
- package/components/FormField/components/FormFieldClear.js +10 -10
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +7 -7
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +10 -10
- package/components/FormField/components/FormFieldMaskedInput.js +17 -17
- package/components/FormField/components/FormFieldPostfix.js +6 -6
- package/components/FormField/components/FormFieldPrefix.js +4 -4
- package/components/FormField/components/FormFieldTarget.js +17 -17
- package/components/FormField/components/FormFieldTextarea.js +9 -9
- package/components/FormField/index.js +1 -1
- 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 +5 -5
- 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 +13 -13
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +5 -5
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +6 -7
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +92 -98
- package/components/IslandAccordion/components/index.js +1 -3
- package/components/IslandAccordion/index.js +3 -5
- package/components/IslandWidget/IslandWidget.js +10 -10
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +11 -11
- 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 +7 -7
- package/components/LightBox/LightBox.js +19 -19
- 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 +25 -25
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +4 -4
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +5 -5
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +20 -20
- package/components/List/List.js +8 -8
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +5 -5
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +10 -10
- package/components/List/components/ListItemControls.js +2 -2
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +5 -5
- package/components/List/components/ListItemSelectable.js +11 -11
- package/components/List/components/ListItemTable.js +2 -2
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +2 -2
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +8 -8
- 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 +6 -6
- 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 +7 -7
- package/components/ListMaster/components/SelectionControls.js +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +10 -10
- package/components/Loader/LoaderSmall/LoaderSmall.js +11 -11
- package/components/LoaderScreen/LoaderScreen.js +11 -11
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +16 -16
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +3 -3
- package/components/ModalWindow/components/ModalWindowClose.js +5 -5
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +2 -2
- package/components/MonthYearField/utils.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +5 -5
- 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/NotificationBodyContent.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/NotificationIcon/NotificationIcon.js +4 -4
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +3 -3
- package/components/OrderedList/OrderedListItem.js +11 -11
- 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 +9 -9
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +7 -7
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +2 -2
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +32 -24
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +13 -13
- package/components/Radio/RadioXGroup.js +10 -10
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +6 -6
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +3 -3
- 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 +8 -8
- package/components/SegmentedControl/SegmentedControlSegment.js +13 -13
- package/components/SelectExtendedField/SelectExtendedField.js +2 -2
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +12 -12
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +10 -10
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +16 -16
- 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 +2 -2
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +25 -25
- package/components/SmallInput/SmallInput.js +5 -5
- package/components/Spoiler/Spoiler.js +13 -13
- 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 +10 -10
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +11 -11
- package/components/Stepper/StepperExtended.js +2 -2
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +3 -3
- package/components/Suggest/Suggest.js +1 -1
- package/components/Suggest/SuggestMobileDropdownContent.js +7 -7
- package/components/SuggestField/SuggestField.js +1 -1
- package/components/SuggestField/SuggestFieldTarget.js +1 -1
- package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +14 -14
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +2 -2
- 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 +15 -15
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +16 -16
- 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 +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +8 -8
- 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 +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 +3 -3
- package/components/Table/TabsLinePanelLinks.js +6 -6
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +12 -12
- package/components/TabsExtended/TabsExtended.js +3 -3
- 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 +2 -2
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +3 -3
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +10 -10
- package/components/Tag/Tag.js +23 -23
- package/components/TagColor/TagColor.js +12 -12
- package/components/TagGroup/TagGroup.js +9 -9
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +8 -8
- 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 +7 -7
- package/components/TopOverlay/TopOverlay.js +23 -23
- 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 +28 -28
- package/components/Typography/Text.js +25 -25
- package/components/Typography/Title.js +18 -18
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +3 -3
- package/components/UnorderedList/UnorderedListItem.js +3 -3
- package/components/UploadZone/UploadZone.js +110 -98
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +209 -207
- package/consts/DateConst.js +1 -1
- package/index.d.ts +73 -55
- package/index.js +269 -267
- package/package.json +5 -1
- package/styles/triplex-next.css +533 -535
- package/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-BthiLiMe.js +0 -39
- package/chunks/Card.module-BxAU0ct3.js +0 -17
- package/chunks/CheckboxTreeExtended.module-8H0Dgq8c.js +0 -11
- package/chunks/Confirm.module-BaXVkVHJ.js +0 -15
- package/chunks/DropdownMobile.module-kHpY8q0l.js +0 -23
- package/chunks/Footer.module-BZTAlpWH.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-Bbxhh0aE.js +0 -9
- package/chunks/HeaderTabs.module-Bo3HPBP_.js +0 -9
- package/chunks/IslandAccordion.module-r5TKHc-1.js +0 -25
- package/chunks/IslandWidgetFooter.module-DANV-WDZ.js +0 -9
- package/chunks/IslandWidgetHeader.module-D9N9d8U0.js +0 -9
- package/chunks/LightBoxControls.module-C1sKSbiw.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-H2K8IoVH.js +0 -8
- package/chunks/ListItemTail.module-rBxpoSGQ.js +0 -12
- package/chunks/ListMasterFooter.module-CjjTF28N.js +0 -10
- package/chunks/ModalWindow.module-BJWhs2p-.js +0 -17
- package/chunks/Notification.module-CoXNIHHx.js +0 -21
- package/chunks/Overlay.module-DqeHrg4k.js +0 -18
- package/chunks/Page.module-JyadpNMJ.js +0 -11
- package/chunks/SMSField.module-BR0BSWtJ.js +0 -16
- package/chunks/SliderExtendedMarks.module-DyfiF83O.js +0 -15
- package/chunks/StatusTracker.module-BzdhWkFm.js +0 -24
- package/chunks/TableFooter.module-BRn2cKAx.js +0 -14
- package/chunks/TabsExtended.module-DW52Fxa9.js +0 -16
- package/chunks/TabsLine.module-Do3KfZpp.js +0 -21
- package/chunks/TooltipDesktop.module-B10Gb93w.js +0 -19
- package/chunks/TreeView.module-oFkxX2oe.js +0 -9
- package/chunks/UploadZoneInput-CQ9bTi-y.js +0 -33
- package/chunks/utils-BHK9pmFJ.js +0 -73
- package/chunks/utils-DbKLiLdh.js +0 -24
- package/components/DesignTokens/components/AmountField.js +0 -11
- package/components/IslandAccordion/components/IslandAccordionTitle.js +0 -21
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as E } from "react/jsx-runtime";
|
|
2
|
+
import I, { useContext as b, useRef as g, useEffect as c } from "react";
|
|
3
3
|
import { FormFieldContext as h } from "../FormFieldContext.js";
|
|
4
|
-
import { a as z, c as R } from "../../../chunks/vendor-
|
|
4
|
+
import { a as z, c as R } from "../../../chunks/vendor-BARd5eYq.js";
|
|
5
5
|
import { createSizeToClassNameMap as S } from "../../../utils/classNameMaps.js";
|
|
6
6
|
import { EFormFieldStatus as y } from "../enums.js";
|
|
7
|
-
const D = "
|
|
7
|
+
const D = "formFieldTextarea__0f32c9a5", M = "sm__24dd80b9", j = "md__2ace59a8", q = "lg__afb4cda7", l = {
|
|
8
8
|
formFieldTextarea: D,
|
|
9
9
|
sm: M,
|
|
10
10
|
md: j,
|
|
11
11
|
lg: q
|
|
12
|
-
}, w = S(l), A =
|
|
12
|
+
}, w = S(l), A = I.forwardRef(
|
|
13
13
|
({ className: f, id: e, onBlur: a, onFocus: r, placeholder: n, value: o, ...x }, p) => {
|
|
14
|
-
const { size: F, status: u, focused: T, setFocused: d, setId: t, setValueExist: i } =
|
|
14
|
+
const { size: F, status: u, focused: T, setFocused: d, setId: t, setValueExist: i } = b(h), s = g(e === void 0 ? z() : ""), _ = R(l.formFieldTextarea, w[F], f);
|
|
15
15
|
c(() => {
|
|
16
16
|
t(s.current);
|
|
17
17
|
}, [t]), c(() => {
|
|
@@ -21,17 +21,17 @@ const D = "formFieldTextarea__34869c3f", M = "sm__bacd116b", j = "md__b5929af6",
|
|
|
21
21
|
}, [i, o]);
|
|
22
22
|
const N = (m) => {
|
|
23
23
|
d(!1), a == null || a(m);
|
|
24
|
-
},
|
|
24
|
+
}, C = (m) => {
|
|
25
25
|
d(!0), r == null || r(m);
|
|
26
26
|
};
|
|
27
|
-
return /* @__PURE__ */
|
|
27
|
+
return /* @__PURE__ */ E(
|
|
28
28
|
"textarea",
|
|
29
29
|
{
|
|
30
30
|
...x,
|
|
31
31
|
id: s.current,
|
|
32
32
|
className: _,
|
|
33
33
|
disabled: u === y.DISABLED,
|
|
34
|
-
onFocus:
|
|
34
|
+
onFocus: C,
|
|
35
35
|
onBlur: N,
|
|
36
36
|
placeholder: T ? n : void 0,
|
|
37
37
|
value: o,
|
|
@@ -4,7 +4,7 @@ import { FormFieldCounter as i } from "./components/FormFieldCounter.js";
|
|
|
4
4
|
import { FormFieldLabel as x } from "./components/FormFieldLabel.js";
|
|
5
5
|
import { FormFieldClear as l } 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-B4hNuHJx.js";
|
|
8
8
|
import { FormFieldMaskedInput as C } from "./components/FormFieldMaskedInput.js";
|
|
9
9
|
import { FormFieldPostfix as P } from "./components/FormFieldPostfix.js";
|
|
10
10
|
import { FormFieldPrefix as b } 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 }, o) {
|
|
15
|
-
return /* @__PURE__ */ t("div", { ...e, "data-tx": "0.
|
|
15
|
+
return /* @__PURE__ */ t("div", { ...e, "data-tx": "0.12.0", ref: o, children: r });
|
|
16
16
|
}),
|
|
17
17
|
{
|
|
18
18
|
LayoutSidebar: p,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as t } 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-BARd5eYq.js";
|
|
4
4
|
import { HeaderLayoutSidebarContent as m } from "./HeaderLayoutSidebarContent.js";
|
|
5
5
|
import { HeaderLayoutSidebarSidebar as s } from "./HeaderLayoutSidebarSidebar.js";
|
|
6
|
-
import { s as b } from "../../../../chunks/HeaderLayoutSidebar.module-
|
|
6
|
+
import { s as b } from "../../../../chunks/HeaderLayoutSidebar.module-72lLZguP.js";
|
|
7
7
|
const f = Object.assign(
|
|
8
8
|
i.forwardRef(function({ children: r, className: e, ...a }, o) {
|
|
9
9
|
return /* @__PURE__ */ t("div", { className: d(b.headerLayoutSidebar, e), ...a, ref: o, children: r });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import s from "react";
|
|
3
|
-
import { c as m } from "../../../../chunks/vendor-
|
|
4
|
-
import { s as d } from "../../../../chunks/HeaderLayoutSidebar.module-
|
|
3
|
+
import { c as m } from "../../../../chunks/vendor-BARd5eYq.js";
|
|
4
|
+
import { s as d } from "../../../../chunks/HeaderLayoutSidebar.module-72lLZguP.js";
|
|
5
5
|
const i = s.forwardRef(
|
|
6
6
|
({ children: e, className: a, ...o }, r) => /* @__PURE__ */ t("div", { className: m(d.headerLayoutSidebarContent, a), ...o, ref: r, 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
|
-
import { c as s } from "../../../../chunks/vendor-
|
|
4
|
-
import { s as t } from "../../../../chunks/HeaderLayoutSidebar.module-
|
|
3
|
+
import { c as s } from "../../../../chunks/vendor-BARd5eYq.js";
|
|
4
|
+
import { s as t } from "../../../../chunks/HeaderLayoutSidebar.module-72lLZguP.js";
|
|
5
5
|
const m = i.forwardRef(
|
|
6
6
|
({ children: a, className: r, ...e }, o) => /* @__PURE__ */ d("div", { className: s(t.headerLayoutSidebarSidebar, r), ...e, ref: o, children: a })
|
|
7
7
|
);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import h from "react";
|
|
3
|
-
import { c as i } from "../../../../chunks/vendor-
|
|
4
|
-
const u = "
|
|
3
|
+
import { c as i } from "../../../../chunks/vendor-BARd5eYq.js";
|
|
4
|
+
const u = "headerSubheader__6267f069", n = "withoutPaddings__46997173", e = {
|
|
5
5
|
headerSubheader: u,
|
|
6
6
|
withoutPaddings: n
|
|
7
7
|
}, c = h.forwardRef(
|
|
8
|
-
({ children:
|
|
8
|
+
({ children: a, className: d, withoutPaddings: r, ...o }, t) => /* @__PURE__ */ s(
|
|
9
9
|
"div",
|
|
10
10
|
{
|
|
11
|
-
className: i(e.headerSubheader, { [e.withoutPaddings]: !!r },
|
|
11
|
+
className: i(e.headerSubheader, { [e.withoutPaddings]: !!r }, d),
|
|
12
12
|
...o,
|
|
13
13
|
ref: t,
|
|
14
|
-
children:
|
|
14
|
+
children: a
|
|
15
15
|
}
|
|
16
16
|
)
|
|
17
17
|
);
|
|
@@ -2,8 +2,8 @@ import { jsx as s } from "react/jsx-runtime";
|
|
|
2
2
|
import t from "react";
|
|
3
3
|
import { HeaderTabsContent as m } from "./HeaderTabsContent.js";
|
|
4
4
|
import { HeaderTabsControls as n } from "./HeaderTabsControls.js";
|
|
5
|
-
import { c as i } from "../../../../chunks/vendor-
|
|
6
|
-
import { s as d } from "../../../../chunks/HeaderTabs.module-
|
|
5
|
+
import { c as i } from "../../../../chunks/vendor-BARd5eYq.js";
|
|
6
|
+
import { s as d } from "../../../../chunks/HeaderTabs.module-Cg4Skmf_.js";
|
|
7
7
|
const f = Object.assign(
|
|
8
8
|
t.forwardRef(function({ children: r, className: e, ...o }, a) {
|
|
9
9
|
return /* @__PURE__ */ s("div", { className: i(d.headerTabs, e), ...o, ref: a, children: r });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import s from "react";
|
|
3
|
-
import { c as m } from "../../../../chunks/vendor-
|
|
4
|
-
import { s as n } from "../../../../chunks/HeaderTabs.module-
|
|
3
|
+
import { c as m } from "../../../../chunks/vendor-BARd5eYq.js";
|
|
4
|
+
import { s as n } from "../../../../chunks/HeaderTabs.module-Cg4Skmf_.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
|
-
import { c as m } from "../../../../chunks/vendor-
|
|
4
|
-
import { s as l } from "../../../../chunks/HeaderTabs.module-
|
|
3
|
+
import { c as m } from "../../../../chunks/vendor-BARd5eYq.js";
|
|
4
|
+
import { s as l } from "../../../../chunks/HeaderTabs.module-Cg4Skmf_.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
|
);
|
|
@@ -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-BARd5eYq.js";
|
|
6
|
+
import { s as n } from "../../../../chunks/HeaderTitle.module-DlNyNird.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-BARd5eYq.js";
|
|
4
|
+
import { s as e } from "../../../../chunks/HeaderTitle.module-DlNyNird.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-BARd5eYq.js";
|
|
4
|
+
import { s as o } from "../../../../chunks/HeaderTitle.module-DlNyNird.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 M, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { useRef as S, useState as
|
|
3
|
-
import { a as _, c as E, F as L } from "../../chunks/vendor-
|
|
2
|
+
import { useRef as S, useState as s } from "react";
|
|
3
|
+
import { a as _, c as E, F as L } from "../../chunks/vendor-BARd5eYq.js";
|
|
4
4
|
import { QuestioncircleFilledSrvIcon16 as R } from "@sberbusiness/icons-next";
|
|
5
5
|
import { ButtonIcon as j } from "../Button/ButtonIcon.js";
|
|
6
6
|
import { EButtonIconShape as k } from "../Button/enums.js";
|
|
@@ -9,25 +9,25 @@ 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__a82f74ef", V = "helpBoxTooltipBody__ddb72e54", x = {
|
|
13
13
|
helpBoxButton: Q,
|
|
14
14
|
helpBoxTooltipBody: V
|
|
15
15
|
}, X = ({
|
|
16
16
|
children: T,
|
|
17
17
|
className: y,
|
|
18
18
|
focusTrapProps: t,
|
|
19
|
-
mobileHeaderContent:
|
|
19
|
+
mobileHeaderContent: c,
|
|
20
20
|
isOpen: i,
|
|
21
21
|
onShow: n,
|
|
22
22
|
tooltipSize: I,
|
|
23
23
|
preferPlace: F,
|
|
24
|
-
toggle:
|
|
24
|
+
toggle: r,
|
|
25
25
|
tooltipAriaAttributes: p,
|
|
26
26
|
tooltipDataAttributes: d,
|
|
27
|
-
...
|
|
27
|
+
...b
|
|
28
28
|
}) => {
|
|
29
|
-
const m = S(null), [
|
|
30
|
-
i === void 0 &&
|
|
29
|
+
const m = S(null), [v, O] = s(!!i), [B, u] = s(null), [f] = s(_()), a = i ?? v, N = (o) => {
|
|
30
|
+
i === void 0 && O(o), o || u(null), r == null || r(o);
|
|
31
31
|
}, g = (o) => {
|
|
32
32
|
u(o), n == null || n(o);
|
|
33
33
|
}, H = (o) => /* @__PURE__ */ e(
|
|
@@ -36,7 +36,7 @@ const Q = "helpBoxButton__1faf78ac", V = "helpBoxTooltipBody__fec78cf4", x = {
|
|
|
36
36
|
fallback: /* @__PURE__ */ e(
|
|
37
37
|
L,
|
|
38
38
|
{
|
|
39
|
-
active:
|
|
39
|
+
active: a,
|
|
40
40
|
...t,
|
|
41
41
|
focusTrapOptions: {
|
|
42
42
|
clickOutsideDeactivates: !0,
|
|
@@ -60,7 +60,7 @@ const Q = "helpBoxButton__1faf78ac", V = "helpBoxTooltipBody__fec78cf4", x = {
|
|
|
60
60
|
toggleType: "hover",
|
|
61
61
|
size: I,
|
|
62
62
|
preferPlace: F,
|
|
63
|
-
isOpen:
|
|
63
|
+
isOpen: a,
|
|
64
64
|
toggle: N,
|
|
65
65
|
onShow: g,
|
|
66
66
|
targetRef: m,
|
|
@@ -74,17 +74,17 @@ const Q = "helpBoxButton__1faf78ac", V = "helpBoxTooltipBody__fec78cf4", x = {
|
|
|
74
74
|
"aria-label": "Подсказка",
|
|
75
75
|
shape: k.CIRCLE,
|
|
76
76
|
ref: m,
|
|
77
|
-
...
|
|
77
|
+
...b,
|
|
78
78
|
children: /* @__PURE__ */ e(R, { paletteIndex: 5 })
|
|
79
79
|
}
|
|
80
80
|
) }),
|
|
81
|
-
|
|
81
|
+
c && /* @__PURE__ */ e(q, { children: c }),
|
|
82
82
|
/* @__PURE__ */ e(l.Body, { className: x.helpBoxTooltipBody, children: T }),
|
|
83
83
|
/* @__PURE__ */ e(l.XButton, { "aria-label": "Закрыть" })
|
|
84
84
|
]
|
|
85
85
|
}
|
|
86
86
|
),
|
|
87
|
-
|
|
87
|
+
a && B && H(B)
|
|
88
88
|
] });
|
|
89
89
|
};
|
|
90
90
|
X.displayName = "HelpBox";
|
|
@@ -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-BARd5eYq.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-bltVmJ1Y.js";
|
|
9
9
|
import { EComponentSize as I } from "../../enums/EComponentSize.js";
|
|
10
10
|
import { createSizeToClassNameMap as T } from "../../utils/classNameMaps.js";
|
|
11
11
|
const N = T(o), C = Object.assign(
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { c as t } from "../../../chunks/vendor-
|
|
4
|
-
const n = "
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import r from "react";
|
|
3
|
+
import { c as t } from "../../../chunks/vendor-BARd5eYq.js";
|
|
4
|
+
const n = "islandBody__f190a5d1", i = {
|
|
5
5
|
islandBody: n
|
|
6
|
-
}, e =
|
|
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
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
const
|
|
5
|
-
islandFooter:
|
|
6
|
-
}, m =
|
|
2
|
+
import a from "react";
|
|
3
|
+
import { c as e } from "../../../chunks/vendor-BARd5eYq.js";
|
|
4
|
+
const d = "islandFooter__aadd7c01", n = {
|
|
5
|
+
islandFooter: d
|
|
6
|
+
}, m = a.forwardRef(({ children: o, ...r }, s) => /* @__PURE__ */ t("div", { className: e(n.islandFooter), ref: s, ...r, children: o }));
|
|
7
7
|
export {
|
|
8
8
|
m as IslandFooter
|
|
9
9
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
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-BARd5eYq.js";
|
|
4
|
+
const t = "islandHeader__2c4d18cf", c = {
|
|
5
5
|
islandHeader: t
|
|
6
|
-
}, m = d.forwardRef(({ children: e, ...r }, a) => /* @__PURE__ */ s("div", { className: o(
|
|
6
|
+
}, m = d.forwardRef(({ children: e, ...r }, a) => /* @__PURE__ */ s("div", { className: o(c.islandHeader), ref: a, ...r, children: e }));
|
|
7
7
|
export {
|
|
8
8
|
m as IslandHeader
|
|
9
9
|
};
|
|
@@ -1,27 +1,26 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import n from "react";
|
|
3
|
-
import { IslandAccordionItem as
|
|
4
|
-
import { IslandAccordionContext as
|
|
3
|
+
import { IslandAccordionItem as e } from "./components/IslandAccordionItem.js";
|
|
4
|
+
import { IslandAccordionContext as p } from "./IslandAccordionContext.js";
|
|
5
5
|
import { EComponentSize as d } from "../../enums/EComponentSize.js";
|
|
6
6
|
import "../Island/Island.js";
|
|
7
7
|
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-BARd5eYq.js";
|
|
12
|
+
import { s as I } from "../../chunks/IslandAccordion.module-CASKTyF5.js";
|
|
13
13
|
import "./components/IslandAccordionContent.js";
|
|
14
14
|
import "./components/IslandAccordionFooter.js";
|
|
15
|
-
import "./components/IslandAccordionTitle.js";
|
|
16
15
|
const x = Object.assign(
|
|
17
16
|
n.forwardRef(
|
|
18
17
|
({ className: r, children: m, size: t = d.MD, type: i = l.TYPE_1, ...s }, a) => {
|
|
19
18
|
const c = f(r, I.islandAccordion);
|
|
20
|
-
return /* @__PURE__ */ o(
|
|
19
|
+
return /* @__PURE__ */ o(p.Provider, { value: { size: t, type: i }, children: /* @__PURE__ */ o("ul", { ...s, className: c, "data-tx": "0.12.0", ref: a, children: m }) });
|
|
21
20
|
}
|
|
22
21
|
),
|
|
23
22
|
{
|
|
24
|
-
Item:
|
|
23
|
+
Item: e
|
|
25
24
|
}
|
|
26
25
|
);
|
|
27
26
|
x.displayName = "IslandAccordion";
|
|
@@ -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-CASKTyF5.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-BARd5eYq.js";
|
|
4
|
+
import { s as i } from "../../../chunks/IslandAccordion.module-CASKTyF5.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,122 +1,116 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { jsxs as i, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import z, { useState as F, useContext as M, useRef as T, useEffect as Y } from "react";
|
|
3
3
|
import { CaretdownStrokeSrvIcon24 as _, CrossStrokeSrvIcon24 as H } from "@sberbusiness/icons-next";
|
|
4
|
-
import { a as W, c as
|
|
4
|
+
import { a as W, c as n } from "../../../chunks/vendor-BARd5eYq.js";
|
|
5
5
|
import { Island as y } from "../../Island/Island.js";
|
|
6
6
|
import { ExpandAnimation as $ } from "../../ExpandAnimation/ExpandAnimation.js";
|
|
7
|
-
import { s as t } from "../../../chunks/IslandAccordion.module-
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { createSizeToClassNameMap as D } from "../../../utils/classNameMaps.js";
|
|
7
|
+
import { s as t } from "../../../chunks/IslandAccordion.module-CASKTyF5.js";
|
|
8
|
+
import { IslandAccordionContent as q } from "./IslandAccordionContent.js";
|
|
9
|
+
import { IslandAccordionFooter as B } from "./IslandAccordionFooter.js";
|
|
10
|
+
import { createSizeToClassNameMap as X } from "../../../utils/classNameMaps.js";
|
|
12
11
|
import "../../Button/Button.js";
|
|
13
12
|
import "../../Button/ButtonBase.js";
|
|
14
|
-
import { ButtonIcon as
|
|
13
|
+
import { ButtonIcon as D } from "../../Button/ButtonIcon.js";
|
|
15
14
|
import "../../Button/ButtonDropdown.js";
|
|
16
15
|
import "../../Button/ButtonDropdownExtended.js";
|
|
17
|
-
import { EIslandType as
|
|
16
|
+
import { EIslandType as p } from "../../Island/enums.js";
|
|
18
17
|
import "../../Island/components/IslandBody.js";
|
|
19
18
|
import "../../Island/components/IslandHeader.js";
|
|
20
19
|
import "../../Island/components/IslandFooter.js";
|
|
21
|
-
import { Step as
|
|
22
|
-
import { EStepPosition as
|
|
23
|
-
import { IslandAccordionContext as
|
|
24
|
-
const
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
28
|
-
},
|
|
29
|
-
|
|
20
|
+
import { Step as G } from "../../Step/Step.js";
|
|
21
|
+
import { EStepPosition as J } from "../../Step/enums.js";
|
|
22
|
+
import { IslandAccordionContext as K } from "../IslandAccordionContext.js";
|
|
23
|
+
const L = {
|
|
24
|
+
[p.TYPE_1]: t.type1,
|
|
25
|
+
[p.TYPE_2]: t.type2,
|
|
26
|
+
[p.TYPE_3]: t.type3
|
|
27
|
+
}, Q = X(t), U = Object.assign(
|
|
28
|
+
z.forwardRef(
|
|
30
29
|
({
|
|
31
30
|
children: S,
|
|
32
31
|
title: v,
|
|
33
|
-
className:
|
|
34
|
-
opened:
|
|
35
|
-
disabled:
|
|
36
|
-
onRemove:
|
|
37
|
-
onToggle:
|
|
38
|
-
id:
|
|
39
|
-
num:
|
|
40
|
-
status:
|
|
41
|
-
stepHint:
|
|
42
|
-
transitionProps:
|
|
43
|
-
...
|
|
44
|
-
},
|
|
45
|
-
const [
|
|
32
|
+
className: E,
|
|
33
|
+
opened: a,
|
|
34
|
+
disabled: e,
|
|
35
|
+
onRemove: s,
|
|
36
|
+
onToggle: c,
|
|
37
|
+
id: m,
|
|
38
|
+
num: d,
|
|
39
|
+
status: l,
|
|
40
|
+
stepHint: k,
|
|
41
|
+
transitionProps: A,
|
|
42
|
+
...b
|
|
43
|
+
}, O) => {
|
|
44
|
+
const [o, f] = F(a || !1), { size: I, type: h } = M(K), C = T(W()).current, N = `${C}header`, u = `${C}body`;
|
|
46
45
|
Y(() => {
|
|
47
|
-
|
|
48
|
-
}, [
|
|
49
|
-
const
|
|
50
|
-
if (
|
|
46
|
+
a !== void 0 && o !== a && f(a);
|
|
47
|
+
}, [a, o]);
|
|
48
|
+
const P = () => {
|
|
49
|
+
if (e)
|
|
51
50
|
return;
|
|
52
|
-
const
|
|
53
|
-
|
|
54
|
-
},
|
|
55
|
-
|
|
56
|
-
},
|
|
57
|
-
[t.disabled]: !!
|
|
58
|
-
[t.opened]:
|
|
51
|
+
const x = !o;
|
|
52
|
+
c == null || c(x, m), a === void 0 && f(x);
|
|
53
|
+
}, j = () => {
|
|
54
|
+
e || s == null || s(m);
|
|
55
|
+
}, w = n(E, t.item, Q[I], L[h], {
|
|
56
|
+
[t.disabled]: !!e,
|
|
57
|
+
[t.opened]: o
|
|
59
58
|
});
|
|
60
|
-
return /* @__PURE__ */
|
|
61
|
-
/* @__PURE__ */
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
children: S
|
|
107
|
-
}
|
|
108
|
-
)
|
|
109
|
-
] }) });
|
|
59
|
+
return /* @__PURE__ */ i("li", { ...b, className: w, id: m, ref: O, children: [
|
|
60
|
+
/* @__PURE__ */ i(y, { className: t.island, size: I, type: h, children: [
|
|
61
|
+
/* @__PURE__ */ r(y.Header, { children: /* @__PURE__ */ i(
|
|
62
|
+
"button",
|
|
63
|
+
{
|
|
64
|
+
id: N,
|
|
65
|
+
"aria-controls": u,
|
|
66
|
+
"aria-expanded": o,
|
|
67
|
+
type: "button",
|
|
68
|
+
className: n(t.header, {
|
|
69
|
+
hoverable: !o
|
|
70
|
+
}),
|
|
71
|
+
onClick: P,
|
|
72
|
+
disabled: e,
|
|
73
|
+
"data-tx": "0.12.0",
|
|
74
|
+
children: [
|
|
75
|
+
l && d && /* @__PURE__ */ r("div", { className: t.step, children: /* @__PURE__ */ r(G, { step: d, status: l, position: J.XFirst, children: e ? void 0 : k }) }),
|
|
76
|
+
/* @__PURE__ */ i("div", { className: t.titleWrapper, children: [
|
|
77
|
+
" ",
|
|
78
|
+
v
|
|
79
|
+
] }),
|
|
80
|
+
/* @__PURE__ */ r("span", { className: n(t.caretWrapper), children: /* @__PURE__ */ r(
|
|
81
|
+
_,
|
|
82
|
+
{
|
|
83
|
+
className: t.caretIcon,
|
|
84
|
+
"aria-hidden": "true",
|
|
85
|
+
paletteIndex: 5
|
|
86
|
+
}
|
|
87
|
+
) })
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
) }),
|
|
91
|
+
/* @__PURE__ */ r(
|
|
92
|
+
$,
|
|
93
|
+
{
|
|
94
|
+
expanded: o && !e,
|
|
95
|
+
id: u,
|
|
96
|
+
role: "region",
|
|
97
|
+
"aria-labelledby": N,
|
|
98
|
+
transitionProps: A,
|
|
99
|
+
children: S
|
|
100
|
+
}
|
|
101
|
+
)
|
|
102
|
+
] }),
|
|
103
|
+
s && /* @__PURE__ */ r("div", { className: n(t.remove, "hoverable", { disabled: e }), children: /* @__PURE__ */ r(D, { onClick: j, title: "Удалить", children: /* @__PURE__ */ r(H, { paletteIndex: 5 }) }) })
|
|
104
|
+
] });
|
|
110
105
|
}
|
|
111
106
|
),
|
|
112
107
|
{
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
Footer: X
|
|
108
|
+
Content: q,
|
|
109
|
+
Footer: B
|
|
116
110
|
}
|
|
117
111
|
);
|
|
118
|
-
|
|
112
|
+
U.displayName = "IslandAccordionItem";
|
|
119
113
|
export {
|
|
120
|
-
|
|
114
|
+
U as IslandAccordionItem
|
|
121
115
|
};
|
|
122
116
|
//# sourceMappingURL=IslandAccordionItem.js.map
|