@sberbusiness/triplex-next 1.10.0 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/chunks/{AlertProcessSpoiler-C4HDxCMJ.js → AlertProcessSpoiler-BGQ1uQrz.js} +2 -2
- package/chunks/{CalendarViewItem-Y3UQ6liF.js → CalendarViewItem-GZv99LrE.js} +10 -10
- package/chunks/Card.module-Bb-0eR7p.js +17 -0
- package/chunks/CheckboxTreeExtended.module-LACc235T.js +11 -0
- package/chunks/{Chip-21qt-Ukl.js → Chip-L25luM9A.js} +16 -16
- package/chunks/Confirm.module-B2F1vU1t.js +15 -0
- package/chunks/{DropdownListItem-DXBppGoi.js → DropdownListItem-QBxfm941.js} +17 -17
- package/chunks/DropdownMobile.module-zHrNkkL5.js +23 -0
- package/chunks/Footer.module-CTz6ITIP.js +9 -0
- package/chunks/{FormFieldInput-hUwbIuBd.js → FormFieldInput-ZCQQZs7b.js} +19 -19
- package/chunks/HeaderLayoutSidebar.module-CQPDDGSa.js +9 -0
- package/chunks/HeaderTabs.module-Fe8TyS0Y.js +9 -0
- package/chunks/{HeaderTitle.module-B_2yQmEh.js → HeaderTitle.module-C7KQyTXH.js} +2 -2
- package/chunks/IslandAccordion.module-B1DwUTEO.js +25 -0
- package/chunks/IslandWidgetFooter.module-DNunPtYA.js +9 -0
- package/chunks/IslandWidgetHeader.module-CVe7qw8f.js +9 -0
- package/chunks/{LightBoxContent-DDRusGqo.js → LightBoxContent-D0toheNV.js} +14 -14
- package/chunks/LightBoxControls.module-DUY3tLKy.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-C-9e4C_Y.js +8 -0
- package/chunks/{ListItemControlsButton-3APG17-A.js → ListItemControlsButton-B0Qs0eEN.js} +5 -5
- package/chunks/ListItemTail.module-uDs8u3yU.js +12 -0
- package/chunks/ListMasterFooter.module-uJGRVDCh.js +10 -0
- package/chunks/ModalWindow.module-BxFKBpp4.js +17 -0
- package/chunks/Notification.module-HwYJsw5w.js +21 -0
- package/chunks/Overlay.module-BdT_EdJd.js +18 -0
- package/chunks/Page.module-CQz9ZvqA.js +11 -0
- package/chunks/{RightBorderArrow-Bo5_O5lj.js → RightBorderArrow-B3TaRXow.js} +14 -14
- package/chunks/SMSField.module-B2vNyUh9.js +16 -0
- package/chunks/SliderExtendedMarks.module-D9G5rkyR.js +15 -0
- package/chunks/{SliderExtendedRail-C7TQHv-j.js → SliderExtendedRail-DP6nRRY0.js} +10 -10
- package/chunks/StatusTracker.module-BM1Mr7Lr.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-BJiMEG2_.js → SuggestFieldMobileDropdownHint-C04_aHFB.js} +4 -4
- package/chunks/TableFooter.module-DNpkWevf.js +14 -0
- package/chunks/TabsExtended.module-BvIRknmY.js +16 -0
- package/chunks/TabsLine.module-BN-kBFLj.js +21 -0
- package/chunks/TooltipDesktop.module-itrszAnq.js +19 -0
- package/chunks/TreeView.module-CDWFlOAV.js +9 -0
- package/chunks/UploadZoneInput-BYGZcWC8.js +35 -0
- package/chunks/utils-BWjaO0EE.js +73 -0
- package/chunks/utils-BsNeWWRx.js +20 -0
- package/chunks/{utils-mlGAF1hQ.js → utils-CDPE3P4X.js} +8 -8
- package/chunks/utils-DKyrkqb2.js +36 -0
- package/chunks/{utils-HEAUA6LV.js → utils-P0A0WEsB.js} +7 -7
- package/components/Alert/AlertContext/AlertContext.js +15 -15
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +9 -9
- package/components/AmountField/AmountField.js +8 -8
- package/components/Body/Body.js +6 -6
- package/components/Button/Button.js +32 -32
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +14 -14
- package/components/Button/ButtonDropdownExtended.js +7 -7
- package/components/Button/ButtonIcon.js +7 -7
- package/components/Calendar/Calendar.js +5 -5
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +1 -1
- 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 +19 -19
- package/components/Card/CardStatic.js +2 -2
- package/components/Card/components/CardContent/CardContent.js +1 -1
- package/components/Card/components/CardContent/components/CardContentBody.js +1 -1
- package/components/Card/components/CardContent/components/CardContentFooter.js +1 -1
- package/components/Card/components/CardContent/components/CardContentHeader.js +1 -1
- package/components/Card/components/CardMedia.js +1 -1
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +11 -11
- package/components/Checkbox/Checkbox.js +7 -7
- 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/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +5 -5
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +9 -9
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +2 -2
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +13 -13
- package/components/Col/Col.js +140 -140
- package/components/CollapsableTree/components/CollapsableTreeNode.js +15 -15
- package/components/Confirm/Confirm.js +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +1 -1
- package/components/Confirm/components/ConfirmContent.js +1 -1
- package/components/Confirm/components/ConfirmContentTitle.js +1 -1
- package/components/Confirm/components/ConfirmControls.js +1 -1
- package/components/DateField/DateField.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +1 -1
- package/components/DateRange/DateRange.js +9 -9
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/components/Step.js +1 -1
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +1 -1
- package/components/Dropdown/desktop/DropdownDesktop.js +14 -14
- 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 +12 -12
- package/components/ExpandAnimation/ExpandAnimation.js +14 -14
- 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 +10 -10
- package/components/FormField/components/FormFieldClear.js +7 -7
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +3 -3
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +11 -11
- package/components/FormField/components/FormFieldMaskedInput.js +15 -15
- package/components/FormField/components/FormFieldPostfix.js +7 -7
- package/components/FormField/components/FormFieldPrefix.js +9 -9
- package/components/FormField/components/FormFieldTarget.js +8 -8
- package/components/FormField/components/FormFieldTextarea.js +10 -10
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +1 -1
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +11 -11
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +1 -1
- package/components/Island/components/IslandFooter.js +1 -1
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +93 -99
- package/components/IslandAccordion/components/index.js +1 -3
- package/components/IslandAccordion/index.js +3 -5
- package/components/IslandWidget/IslandWidget.js +2 -2
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +4 -4
- 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 +4 -4
- package/components/LightBox/LightBox.js +11 -11
- 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 +18 -18
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +3 -3
- package/components/Link/Link.js +17 -17
- 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 +12 -12
- package/components/List/components/ListItemControls.js +1 -1
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +2 -2
- package/components/List/components/ListItemSelectable.js +4 -4
- package/components/List/components/ListItemTable.js +6 -6
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +5 -5
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +5 -5
- 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 +7 -7
- 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 +10 -10
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +5 -5
- package/components/Loader/LoaderSmall/LoaderSmall.js +6 -6
- package/components/LoaderScreen/LoaderScreen.js +5 -5
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +7 -7
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +2 -2
- package/components/ModalWindow/components/ModalWindowClose.js +4 -4
- 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 +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +3 -3
- 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 +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +4 -4
- package/components/OrderedList/OrderedListItem.js +6 -6
- 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 +1 -1
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +2 -2
- package/components/Pagination/components/PaginationNavigationButton.js +6 -6
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +5 -5
- package/components/Pagination/components/PaginationPageEllipsis.js +1 -1
- package/components/Pagination/components/PaginationSelect.js +9 -9
- package/components/Radio/Radio.js +16 -16
- package/components/Radio/RadioXGroup.js +12 -12
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +10 -10
- package/components/SMSField/SMSField.js +2 -2
- package/components/SMSField/components/RefreshIcon.js +1 -1
- package/components/SMSField/components/SMSFieldInput.js +2 -2
- package/components/SMSField/components/SMSFieldRefresh.js +1 -1
- package/components/SMSField/components/SMSFieldSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +12 -12
- package/components/SegmentedControl/SegmentedControlSegment.js +17 -17
- package/components/SelectExtendedField/SelectExtendedField.js +7 -7
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +18 -18
- package/components/Skeleton/Skeleton.js +12 -12
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +16 -16
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +1 -1
- package/components/SliderExtended/components/SliderExtendedRail.js +1 -1
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +6 -6
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +27 -27
- package/components/SmallInput/SmallInput.js +5 -5
- package/components/Spoiler/Spoiler.js +23 -23
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +1 -1
- package/components/StatusTracker/components/StatusTrackerDescription.js +1 -1
- package/components/StatusTracker/components/StatusTrackerFooter.js +1 -1
- package/components/StatusTracker/components/StatusTrackerHeader.js +1 -1
- package/components/StatusTracker/components/StatusTrackerMedia.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatus.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +6 -6
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +6 -6
- package/components/Stepper/StepperExtended.js +4 -4
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperWrapper.js +4 -4
- package/components/Suggest/SuggestMobileDropdownContent.js +10 -10
- package/components/SuggestField/SuggestField.js +1 -1
- package/components/SuggestField/SuggestFieldTarget.js +1 -1
- package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +14 -14
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +12 -12
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +2 -2
- package/components/Table/NoColumns.js +1 -1
- 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 +7 -7
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +7 -7
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +3 -3
- 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 +1 -1
- 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 +9 -9
- package/components/TabsExtended/TabsExtended.js +2 -2
- package/components/TabsExtended/components/TabsExtendedContent.js +1 -1
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTab.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabButton.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +1 -1
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +1 -1
- package/components/TabsLine/components/TabsLineDesktop.js +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +2 -2
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +9 -9
- package/components/Tag/Tag.js +33 -33
- package/components/TagColor/TagColor.js +12 -12
- package/components/TagGroup/TagGroup.js +1 -1
- 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 +17 -17
- 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 +8 -8
- package/components/TopOverlay/TopOverlay.js +18 -18
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Typography/Caption.js +16 -16
- package/components/Typography/Text.js +23 -23
- package/components/Typography/Title.js +19 -19
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +4 -4
- package/components/UnorderedList/UnorderedListItem.js +9 -9
- package/components/UploadZone/UploadZone.js +109 -97
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +172 -174
- package/index.d.ts +3 -39
- package/index.js +216 -218
- package/package.json +1 -1
- package/styles/triplex-next.css +535 -535
- package/chunks/Card.module-t9A1wsgP.js +0 -17
- package/chunks/CheckboxTreeExtended.module-BMfgVvwS.js +0 -11
- package/chunks/Confirm.module-CrTyGEYv.js +0 -15
- package/chunks/DropdownMobile.module-CdquuBgl.js +0 -23
- package/chunks/Footer.module-9PrdQ3S7.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-QjkaZFtn.js +0 -9
- package/chunks/HeaderTabs.module-a_JyDpFt.js +0 -9
- package/chunks/IslandAccordion.module-BCHg71CD.js +0 -25
- package/chunks/IslandWidgetFooter.module-DV2tNWtj.js +0 -9
- package/chunks/IslandWidgetHeader.module-kAuK5xmR.js +0 -9
- package/chunks/LightBoxControls.module-CHrL_gpj.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CVxmzGmO.js +0 -8
- package/chunks/ListItemTail.module-BW9qp-XX.js +0 -12
- package/chunks/ListMasterFooter.module-B3kLf2M1.js +0 -10
- package/chunks/ModalWindow.module-BFTuZtt7.js +0 -17
- package/chunks/Notification.module-DU0GLki1.js +0 -21
- package/chunks/Overlay.module-CQY18PV-.js +0 -18
- package/chunks/Page.module-BO9rnNjD.js +0 -11
- package/chunks/SMSField.module-ibOZLVgV.js +0 -16
- package/chunks/SliderExtendedMarks.module-BBaU_j-p.js +0 -15
- package/chunks/StatusTracker.module-C66hhTIO.js +0 -24
- package/chunks/TableFooter.module-cSix4Lyk.js +0 -14
- package/chunks/TabsExtended.module-D7fs9FsL.js +0 -16
- package/chunks/TabsLine.module-CEQyfehM.js +0 -21
- package/chunks/TooltipDesktop.module-DD9WosV6.js +0 -19
- package/chunks/TreeView.module-Dxrir5YQ.js +0 -9
- package/chunks/UploadZoneInput-C2_0grVp.js +0 -33
- package/chunks/utils-BhoCc4rI.js +0 -36
- package/chunks/utils-BsOip28-.js +0 -73
- package/chunks/utils-D8Gj0oC8.js +0 -20
- package/components/IslandAccordion/components/IslandAccordionTitle.js +0 -21
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as B } from "react/jsx-runtime";
|
|
2
|
-
import G, { useState as M, useRef as
|
|
2
|
+
import G, { useState as M, useRef as A, useCallback as i, useEffect as y } from "react";
|
|
3
3
|
import { c as F } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
4
4
|
import { EDropdownAlignment as a, EDropdownDirection as D } from "../enums.js";
|
|
5
5
|
import { isKey as d } from "../../../utils/keyboard.js";
|
|
6
6
|
import { useToken as I } from "../../ThemeProvider/useToken.js";
|
|
7
7
|
import { EComponentSize as j } from "../../../enums/EComponentSize.js";
|
|
8
|
-
const K = "
|
|
8
|
+
const K = "dropdownDesktop__f4649e92", V = "dropdownDesktopOverflowHidden__0decb88c", O = {
|
|
9
9
|
dropdownDesktop: K,
|
|
10
|
-
"dropdownDesktop-sm": "dropdownDesktop-
|
|
11
|
-
"dropdownDesktop-md": "dropdownDesktop-
|
|
12
|
-
"dropdownDesktop-lg": "dropdownDesktop-
|
|
10
|
+
"dropdownDesktop-sm": "dropdownDesktop-sm__51273a84",
|
|
11
|
+
"dropdownDesktop-md": "dropdownDesktop-md__12f6721f",
|
|
12
|
+
"dropdownDesktop-lg": "dropdownDesktop-lg__9f620271",
|
|
13
13
|
dropdownDesktopOverflowHidden: V
|
|
14
|
-
},
|
|
14
|
+
}, b = O.dropdownDesktopOverflowHidden, $ = G.forwardRef((P, p) => {
|
|
15
15
|
const {
|
|
16
16
|
alignment: m = a.AUTO,
|
|
17
17
|
children: g,
|
|
@@ -24,7 +24,7 @@ const K = "dropdownDesktop__b501b636", V = "dropdownDesktopOverflowHidden__9beec
|
|
|
24
24
|
targetRef: _,
|
|
25
25
|
size: W = j.MD,
|
|
26
26
|
...R
|
|
27
|
-
} = P, { scopeClassName: S } = I(), [x, H] = M({ opacity: 0 }), s =
|
|
27
|
+
} = P, { scopeClassName: S } = I(), [x, H] = M({ opacity: 0 }), s = A(null), h = A({ height: 0, width: 0 }), U = F(O.dropdownDesktop, S, C, O[`dropdownDesktop-${W}`]), k = i(
|
|
28
28
|
(e) => {
|
|
29
29
|
var o;
|
|
30
30
|
(o = s.current) != null && o.contains(e.target) || e.preventDefault();
|
|
@@ -41,13 +41,13 @@ const K = "dropdownDesktop__b501b636", V = "dropdownDesktopOverflowHidden__9beec
|
|
|
41
41
|
e ? (document.addEventListener("wheel", k, { passive: !1 }), document.addEventListener("keydown", E)) : (document.removeEventListener("wheel", k), document.removeEventListener("keydown", E));
|
|
42
42
|
},
|
|
43
43
|
[k, E]
|
|
44
|
-
),
|
|
44
|
+
), L = i(
|
|
45
45
|
(e, o, t) => {
|
|
46
46
|
const n = u ? t.width : Math.max(t.width, o.width);
|
|
47
47
|
m === a.AUTO ? t.right - n > 0 ? e.left = t.right - n : t.left + n < document.documentElement.clientWidth ? e.left = t.left : e.left = t.right - n : m === a.RIGHT ? e.left = t.right - n : m === a.LEFT && (e.left = t.left);
|
|
48
48
|
},
|
|
49
49
|
[m, u]
|
|
50
|
-
),
|
|
50
|
+
), T = i(
|
|
51
51
|
(e, o, t) => {
|
|
52
52
|
w === D.AUTO ? t.bottom + 4 + o.height < document.documentElement.clientHeight ? e.top = t.bottom + 4 : t.top - 4 - o.height > 0 ? e.bottom = document.documentElement.clientHeight - t.top + 4 : e.top = t.bottom + 4 : w === D.BOTTOM ? e.top = t.bottom + 4 : w === D.TOP && (e.bottom = document.documentElement.clientHeight - t.top + 4);
|
|
53
53
|
},
|
|
@@ -56,9 +56,9 @@ const K = "dropdownDesktop__b501b636", V = "dropdownDesktopOverflowHidden__9beec
|
|
|
56
56
|
const { current: e } = s, { current: o } = _;
|
|
57
57
|
if (e && o) {
|
|
58
58
|
const t = e.getBoundingClientRect(), n = o.getBoundingClientRect(), c = {};
|
|
59
|
-
u ? c.width = n.width : c.minWidth = n.width,
|
|
59
|
+
u ? c.width = n.width : c.minWidth = n.width, T(c, t, n), L(c, t, n), h.current = { height: t.height, width: t.width }, H(c);
|
|
60
60
|
}
|
|
61
|
-
}, [_, u,
|
|
61
|
+
}, [_, u, T, L]);
|
|
62
62
|
y(() => {
|
|
63
63
|
f ? r() : (h.current = { height: 0, width: 0 }, H({ opacity: 0 }));
|
|
64
64
|
}, [f, r]), y(() => {
|
|
@@ -72,8 +72,8 @@ const K = "dropdownDesktop__b501b636", V = "dropdownDesktopOverflowHidden__9beec
|
|
|
72
72
|
}, [r]);
|
|
73
73
|
y(() => {
|
|
74
74
|
if (f)
|
|
75
|
-
return document.addEventListener("scroll", l, !0), window.addEventListener("resize", l), v(!0), document.body.classList.add(
|
|
76
|
-
document.removeEventListener("scroll", l, !0), window.removeEventListener("resize", l), v(!1), document.body.classList.remove(
|
|
75
|
+
return document.addEventListener("scroll", l, !0), window.addEventListener("resize", l), v(!0), document.body.classList.add(b), l(), () => {
|
|
76
|
+
document.removeEventListener("scroll", l, !0), window.removeEventListener("resize", l), v(!1), document.body.classList.remove(b);
|
|
77
77
|
};
|
|
78
78
|
}, [f, l, v]);
|
|
79
79
|
const z = (e) => {
|
|
@@ -85,7 +85,7 @@ const K = "dropdownDesktop__b501b636", V = "dropdownDesktopOverflowHidden__9beec
|
|
|
85
85
|
className: U,
|
|
86
86
|
style: { ...x, ...N },
|
|
87
87
|
...R,
|
|
88
|
-
"data-tx": "1.
|
|
88
|
+
"data-tx": "1.11.0",
|
|
89
89
|
ref: z,
|
|
90
90
|
children: g
|
|
91
91
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as _, jsx as h } from "react/jsx-runtime";
|
|
2
2
|
import l, { useContext as y, useRef as B, useState as b, useEffect as f } from "react";
|
|
3
3
|
import { c as z } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
4
|
-
import { s as C, D as x } from "../../../chunks/DropdownListItem-
|
|
4
|
+
import { s as C, D as x } from "../../../chunks/DropdownListItem-QBxfm941.js";
|
|
5
5
|
import { EVENT_KEY_CODES as w } from "../../../utils/keyboard.js";
|
|
6
6
|
import { DropdownListContext as V } from "../DropdownListContext.js";
|
|
7
7
|
import { LoaderSmall as W } from "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
@@ -3,7 +3,7 @@ import "react";
|
|
|
3
3
|
import "../../../utils/keyboard.js";
|
|
4
4
|
import "../../../chunks/vendor-ClY57Zzq.js";
|
|
5
5
|
import "../../NotificationIcon/NotificationIcon.js";
|
|
6
|
-
import { D as s } from "../../../chunks/DropdownListItem-
|
|
6
|
+
import { D as s } from "../../../chunks/DropdownListItem-QBxfm941.js";
|
|
7
7
|
export {
|
|
8
8
|
s as DropdownListItem
|
|
9
9
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DropdownDesktop as p } from "./DropdownDesktop.js";
|
|
2
2
|
import { DropdownList as e } from "./DropdownList.js";
|
|
3
|
-
import { D as m } from "../../../chunks/DropdownListItem-
|
|
3
|
+
import { D as m } from "../../../chunks/DropdownListItem-QBxfm941.js";
|
|
4
4
|
export {
|
|
5
5
|
p as DropdownDesktop,
|
|
6
6
|
e as DropdownList,
|
|
@@ -2,7 +2,7 @@ import { Dropdown as e } from "./Dropdown.js";
|
|
|
2
2
|
import { DropdownListContext as t } from "./DropdownListContext.js";
|
|
3
3
|
import { DropdownDesktop as d } from "./desktop/DropdownDesktop.js";
|
|
4
4
|
import { DropdownList as i } from "./desktop/DropdownList.js";
|
|
5
|
-
import { D as w } from "../../chunks/DropdownListItem-
|
|
5
|
+
import { D as w } from "../../chunks/DropdownListItem-QBxfm941.js";
|
|
6
6
|
import { DropdownMobile as f } from "./mobile/DropdownMobile.js";
|
|
7
7
|
import { DropdownMobileBody as b } from "./mobile/DropdownMobileBody.js";
|
|
8
8
|
import { DropdownMobileClose as s } from "./mobile/DropdownMobileClose.js";
|
|
@@ -2,7 +2,7 @@ import { jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import a, { useEffect as m } from "react";
|
|
3
3
|
import { OverlayBase as n, EOverlayDirection as c } from "../../Overlay/OverlayBase.js";
|
|
4
4
|
import { DropdownMobileInner as f } from "./DropdownMobileInner.js";
|
|
5
|
-
import { s as p } from "../../../chunks/DropdownMobile.module-
|
|
5
|
+
import { s as p } from "../../../chunks/DropdownMobile.module-zHrNkkL5.js";
|
|
6
6
|
const r = p.dropdownMobileBodyOverflow, y = a.forwardRef(
|
|
7
7
|
({ children: t, opened: o, setOpened: s, ...d }, i) => (m(() => (o ? document.body.classList.add(r) : document.body.classList.remove(r), () => document.body.classList.remove(r)), [o]), /* @__PURE__ */ e(n, { setOpened: s, opened: o, direction: c.BOTTOM, children: (l) => /* @__PURE__ */ e(
|
|
8
8
|
f,
|
|
@@ -10,7 +10,7 @@ const r = p.dropdownMobileBodyOverflow, y = a.forwardRef(
|
|
|
10
10
|
...l,
|
|
11
11
|
...d,
|
|
12
12
|
ref: i,
|
|
13
|
-
"data-tx": "1.
|
|
13
|
+
"data-tx": "1.11.0",
|
|
14
14
|
children: t
|
|
15
15
|
}
|
|
16
16
|
) }))
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import d from "react";
|
|
3
3
|
import { c as m } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
4
|
-
import { s as a } from "../../../chunks/DropdownMobile.module-
|
|
4
|
+
import { s as a } from "../../../chunks/DropdownMobile.module-zHrNkkL5.js";
|
|
5
5
|
const i = d.forwardRef(
|
|
6
6
|
({ children: o, className: r, ...e }, s) => /* @__PURE__ */ t("div", { className: m(a.dropdownMobileContent, r), ref: s, ...e, children: o })
|
|
7
7
|
);
|
|
@@ -3,7 +3,7 @@ import t from "react";
|
|
|
3
3
|
import { ButtonIcon as m } from "../../Button/ButtonIcon.js";
|
|
4
4
|
import { CrossStrokeSrvIcon16 as l } from "@sberbusiness/icons-next";
|
|
5
5
|
import { c as p } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
6
|
-
import { s as i } from "../../../chunks/DropdownMobile.module-
|
|
6
|
+
import { s as i } from "../../../chunks/DropdownMobile.module-zHrNkkL5.js";
|
|
7
7
|
const a = t.forwardRef(
|
|
8
8
|
({ className: r, ...e }, s) => /* @__PURE__ */ o(m, { className: p(i.dropdownMobileClose, r), ref: s, ...e, children: /* @__PURE__ */ o(l, { paletteIndex: 5 }) })
|
|
9
9
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import m from "react";
|
|
3
3
|
import { c as a } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
4
|
-
import { s as i } from "../../../chunks/DropdownMobile.module-
|
|
4
|
+
import { s as i } from "../../../chunks/DropdownMobile.module-zHrNkkL5.js";
|
|
5
5
|
const p = m.forwardRef(
|
|
6
6
|
({ children: o, className: r, ...e }, t) => /* @__PURE__ */ s("div", { className: a(i.dropdownMobileFooter, r), ref: t, ...e, children: o })
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import t from "react";
|
|
3
3
|
import { c as m } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
4
|
-
import { s as o } from "../../../chunks/DropdownMobile.module-
|
|
4
|
+
import { s as o } from "../../../chunks/DropdownMobile.module-zHrNkkL5.js";
|
|
5
5
|
const n = t.forwardRef(
|
|
6
6
|
({ children: r, className: d, controlButtons: s, ...a }, i) => /* @__PURE__ */ l("div", { className: m(o.dropdownMobileHeader, d), ref: i, ...a, children: [
|
|
7
7
|
/* @__PURE__ */ e("div", { className: o.dropdownMobileHeaderContent, children: r }),
|
|
@@ -2,7 +2,7 @@ import { jsxs as j, jsx as c } from "react/jsx-runtime";
|
|
|
2
2
|
import y, { useState as l, useEffect as d } from "react";
|
|
3
3
|
import { c as n } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
4
4
|
import { useToken as B } from "../../ThemeProvider/useToken.js";
|
|
5
|
-
import { s as e } from "../../../chunks/DropdownMobile.module-
|
|
5
|
+
import { s as e } from "../../../chunks/DropdownMobile.module-zHrNkkL5.js";
|
|
6
6
|
const C = y.forwardRef(
|
|
7
7
|
({
|
|
8
8
|
children: f,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import r from "react";
|
|
3
|
-
import { c as
|
|
4
|
-
const
|
|
5
|
-
dropdownMobileInput:
|
|
3
|
+
import { c as d } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
4
|
+
const e = "dropdownMobileInput__148cd7a8", i = {
|
|
5
|
+
dropdownMobileInput: e
|
|
6
6
|
}, l = r.forwardRef(
|
|
7
|
-
({ className: o, ...p }, t) => /* @__PURE__ */ n("input", { className:
|
|
7
|
+
({ className: o, ...p }, t) => /* @__PURE__ */ n("input", { className: d(i.dropdownMobileInput, o), ...p, ref: t })
|
|
8
8
|
);
|
|
9
9
|
l.displayName = "DropdownMobileInput";
|
|
10
10
|
export {
|
|
@@ -6,7 +6,7 @@ import { LoaderSmall as f } from "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
|
6
6
|
import { ELoaderSmallTheme as c } from "../../Loader/LoaderSmall/enum.js";
|
|
7
7
|
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
8
8
|
import { EComponentSize as L } from "../../../enums/EComponentSize.js";
|
|
9
|
-
import { s as r } from "../../../chunks/DropdownMobile.module-
|
|
9
|
+
import { s as r } from "../../../chunks/DropdownMobile.module-zHrNkkL5.js";
|
|
10
10
|
const b = a.forwardRef(
|
|
11
11
|
({ children: e, className: i, loading: m, ...t }, s) => {
|
|
12
12
|
const d = () => /* @__PURE__ */ o(n, { id: "dropdown-mobile-list-loader-item", children: /* @__PURE__ */ o(
|
|
@@ -3,7 +3,7 @@ import x from "react";
|
|
|
3
3
|
import { c } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
4
4
|
import { Text as I } from "../../Typography/Text.js";
|
|
5
5
|
import { ETextSize as w } from "../../Typography/enums.js";
|
|
6
|
-
import { s as r } from "../../../chunks/DropdownMobile.module-
|
|
6
|
+
import { s as r } from "../../../chunks/DropdownMobile.module-zHrNkkL5.js";
|
|
7
7
|
import { NotificationIcon as N } from "../../NotificationIcon/NotificationIcon.js";
|
|
8
8
|
const b = x.forwardRef(
|
|
9
9
|
({ children: o, className: m, id: y, onClick: t, onSelect: i, selected: s, showNotificationIcon: a, ...e }, p) => {
|
|
@@ -4,7 +4,7 @@ import { LoaderSmall as t } from "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
|
4
4
|
import { ELoaderSmallTheme as i } from "../../Loader/LoaderSmall/enum.js";
|
|
5
5
|
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
6
6
|
import { EComponentSize as p } from "../../../enums/EComponentSize.js";
|
|
7
|
-
import { s } from "../../../chunks/DropdownMobile.module-
|
|
7
|
+
import { s } from "../../../chunks/DropdownMobile.module-zHrNkkL5.js";
|
|
8
8
|
const S = ({ className: o, ...r }) => /* @__PURE__ */ m(
|
|
9
9
|
t,
|
|
10
10
|
{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { c as d } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
3
3
|
import { FormFieldMaskedInput as o } from "../../FormField/components/FormFieldMaskedInput.js";
|
|
4
|
-
const t = "
|
|
4
|
+
const t = "dropdownMobileMaskedInput__7cf4f94b", r = {
|
|
5
5
|
dropdownMobileMaskedInput: t
|
|
6
|
-
}, n = ({ className:
|
|
6
|
+
}, n = ({ className: s, ...e }) => /* @__PURE__ */ p(o, { className: d(r.dropdownMobileMaskedInput, s), ...e });
|
|
7
7
|
n.presets = o.presets;
|
|
8
8
|
export {
|
|
9
9
|
n as DropdownMobileMaskedInput
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import t from "react";
|
|
3
|
-
import { c
|
|
4
|
-
const
|
|
5
|
-
ellipsisLineClamp:
|
|
3
|
+
import { c } from "../../chunks/vendor-ClY57Zzq.js";
|
|
4
|
+
const m = "ellipsisLineClamp__12e1c7cb", r = "oneLine__7e42cdce", s = {
|
|
5
|
+
ellipsisLineClamp: m,
|
|
6
6
|
oneLine: r
|
|
7
7
|
}, L = t.forwardRef(
|
|
8
|
-
({ children: i, maxLines:
|
|
9
|
-
const
|
|
10
|
-
return /* @__PURE__ */
|
|
8
|
+
({ children: i, maxLines: e, className: l, ...n }, o) => {
|
|
9
|
+
const p = c(s.ellipsisLineClamp, { [s.oneLine]: e === 1 }, l);
|
|
10
|
+
return /* @__PURE__ */ a(
|
|
11
11
|
"div",
|
|
12
12
|
{
|
|
13
|
-
className:
|
|
14
|
-
style: { "--ellipsis-line-clamp":
|
|
15
|
-
...
|
|
16
|
-
"data-tx": "1.
|
|
17
|
-
ref:
|
|
13
|
+
className: p,
|
|
14
|
+
style: { "--ellipsis-line-clamp": e },
|
|
15
|
+
...n,
|
|
16
|
+
"data-tx": "1.11.0",
|
|
17
|
+
ref: o,
|
|
18
18
|
children: i
|
|
19
19
|
}
|
|
20
20
|
);
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { E as
|
|
4
|
-
const F = "
|
|
2
|
+
import N, { useRef as E } from "react";
|
|
3
|
+
import { E as U, c as j } from "../../chunks/vendor-ClY57Zzq.js";
|
|
4
|
+
const F = "expandAnimation__15b2c31f", I = {
|
|
5
5
|
expandAnimation: F
|
|
6
|
-
}, L = 300, M =
|
|
6
|
+
}, L = 300, M = N.forwardRef(
|
|
7
7
|
({
|
|
8
8
|
children: y,
|
|
9
9
|
className: A,
|
|
10
10
|
expanded: v,
|
|
11
|
-
animationTime:
|
|
11
|
+
animationTime: x = L,
|
|
12
12
|
style: R,
|
|
13
13
|
onStart: d,
|
|
14
14
|
onEnd: h,
|
|
15
15
|
transitionProps: e,
|
|
16
16
|
..._
|
|
17
|
-
},
|
|
17
|
+
}, f) => {
|
|
18
18
|
const m = E({
|
|
19
19
|
entering: { height: void 0, overflow: "hidden" },
|
|
20
20
|
entered: {},
|
|
@@ -30,34 +30,34 @@ const F = "expandAnimation__e20538cc", I = {
|
|
|
30
30
|
}, T = () => {
|
|
31
31
|
var c;
|
|
32
32
|
l.current && (l.current.style.height = l.current.scrollHeight + "px", l.current.scrollHeight), d == null || d(), (c = e == null ? void 0 : e.onExit) == null || c.call(e);
|
|
33
|
-
},
|
|
33
|
+
}, b = () => {
|
|
34
34
|
var c;
|
|
35
35
|
h == null || h(), (c = e == null ? void 0 : e.onExited) == null || c.call(e);
|
|
36
|
-
},
|
|
37
|
-
l.current = c, typeof
|
|
36
|
+
}, D = (c) => {
|
|
37
|
+
l.current = c, typeof f == "function" ? f(c) : f && (f.current = c);
|
|
38
38
|
};
|
|
39
39
|
return /* @__PURE__ */ g(
|
|
40
|
-
|
|
40
|
+
U,
|
|
41
41
|
{
|
|
42
42
|
in: v,
|
|
43
|
-
timeout:
|
|
43
|
+
timeout: x,
|
|
44
44
|
nodeRef: l,
|
|
45
45
|
...e,
|
|
46
46
|
onEnter: w,
|
|
47
47
|
onEntered: H,
|
|
48
48
|
onExit: T,
|
|
49
|
-
onExited:
|
|
49
|
+
onExited: b,
|
|
50
50
|
children: (c) => /* @__PURE__ */ g(
|
|
51
51
|
"div",
|
|
52
52
|
{
|
|
53
53
|
className: j(I.expandAnimation, A),
|
|
54
54
|
style: {
|
|
55
|
-
transitionDuration:
|
|
55
|
+
transitionDuration: x + "ms",
|
|
56
56
|
...m.current[c],
|
|
57
57
|
...R
|
|
58
58
|
},
|
|
59
59
|
..._,
|
|
60
|
-
ref:
|
|
60
|
+
ref: D,
|
|
61
61
|
children: y
|
|
62
62
|
}
|
|
63
63
|
)
|
|
@@ -5,7 +5,7 @@ import "./components/FooterDescriptionControls.js";
|
|
|
5
5
|
import "./components/FooterDescriptionContent.js";
|
|
6
6
|
const p = Object.assign(
|
|
7
7
|
i.forwardRef(function({ children: o, ...t }, r) {
|
|
8
|
-
return /* @__PURE__ */ e("div", { ...t, "data-tx": "1.
|
|
8
|
+
return /* @__PURE__ */ e("div", { ...t, "data-tx": "1.11.0", ref: r, children: o });
|
|
9
9
|
}),
|
|
10
10
|
{
|
|
11
11
|
Description: m
|
|
@@ -3,7 +3,7 @@ import s from "react";
|
|
|
3
3
|
import { FooterDescriptionContent as n } from "./FooterDescriptionContent.js";
|
|
4
4
|
import { FooterDescriptionControls as m } from "./FooterDescriptionControls.js";
|
|
5
5
|
import { c as p } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
6
|
-
import { s as c } from "../../../chunks/Footer.module-
|
|
6
|
+
import { s as c } from "../../../chunks/Footer.module-CTz6ITIP.js";
|
|
7
7
|
const f = Object.assign(
|
|
8
8
|
s.forwardRef(function({ children: o, className: t, ...r }, e) {
|
|
9
9
|
return /* @__PURE__ */ i("div", { className: p(c.footerDescription, t), ...r, ref: e, children: o });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
3
|
import { c as m } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
4
|
-
import { s as n } from "../../../chunks/Footer.module-
|
|
4
|
+
import { s as n } from "../../../chunks/Footer.module-CTz6ITIP.js";
|
|
5
5
|
const a = i.forwardRef(
|
|
6
6
|
({ children: o, className: t, ...r }, e) => /* @__PURE__ */ s("div", { className: m(n.footerDescriptionContent, t), ...r, ref: e, children: o })
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
3
|
import { c as m } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
4
|
-
import { s as a } from "../../../chunks/Footer.module-
|
|
4
|
+
import { s as a } from "../../../chunks/Footer.module-CTz6ITIP.js";
|
|
5
5
|
const p = i.forwardRef(
|
|
6
6
|
({ children: o, className: r, ...t }, s) => /* @__PURE__ */ e("div", { className: m(a.footerDescriptionControls, r), ...t, ref: s, children: o })
|
|
7
7
|
);
|
|
@@ -5,29 +5,29 @@ import { FormFieldContext as I } from "./FormFieldContext.js";
|
|
|
5
5
|
import { TARGET_PADDING_X_DEFAULT as _ } from "./consts.js";
|
|
6
6
|
import { EFormFieldStatus as r } from "./enums.js";
|
|
7
7
|
import { EComponentSize as N } from "../../enums/EComponentSize.js";
|
|
8
|
-
const P = "
|
|
8
|
+
const P = "formField__cb0c8096", S = "disabled__bb9b3cf4", T = "active__1a4e23ff", L = "error__dc8f882e", u = "warning__6299ea24", i = {
|
|
9
9
|
formField: P,
|
|
10
10
|
disabled: S,
|
|
11
11
|
active: T,
|
|
12
12
|
error: L,
|
|
13
13
|
warning: u,
|
|
14
|
-
"size-sm": "size-
|
|
15
|
-
"size-md": "size-
|
|
16
|
-
"size-lg": "size-
|
|
14
|
+
"size-sm": "size-sm__51c775b5",
|
|
15
|
+
"size-md": "size-md__5a3f3de4",
|
|
16
|
+
"size-lg": "size-lg__287ddc7a"
|
|
17
17
|
}, V = ({
|
|
18
18
|
children: p,
|
|
19
19
|
className: F,
|
|
20
20
|
status: t = r.DEFAULT,
|
|
21
21
|
onMouseEnter: s,
|
|
22
|
-
onMouseLeave:
|
|
22
|
+
onMouseLeave: d,
|
|
23
23
|
style: x,
|
|
24
24
|
size: c = N.LG,
|
|
25
25
|
...b
|
|
26
26
|
}) => {
|
|
27
|
-
const [a, g] = e(!1), [h, l] = e(!1), [v, z] = e(""), [m, E] = e(_), [f, A] = e(_), [D, R] = e(!1), W = (
|
|
28
|
-
l(!0), s == null || s(
|
|
29
|
-
}, w = (
|
|
30
|
-
l(!1),
|
|
27
|
+
const [a, g] = e(!1), [h, l] = e(!1), [v, z] = e(""), [m, E] = e(_), [f, A] = e(_), [D, R] = e(!1), W = (o) => {
|
|
28
|
+
l(!0), s == null || s(o);
|
|
29
|
+
}, w = (o) => {
|
|
30
|
+
l(!1), d == null || d(o);
|
|
31
31
|
};
|
|
32
32
|
return /* @__PURE__ */ n(
|
|
33
33
|
I.Provider,
|
|
@@ -63,7 +63,7 @@ const P = "formField__56345500", S = "disabled__47510fe4", T = "active__9366a2b4
|
|
|
63
63
|
),
|
|
64
64
|
onMouseEnter: W,
|
|
65
65
|
onMouseLeave: w,
|
|
66
|
-
"data-tx": "1.
|
|
66
|
+
"data-tx": "1.11.0",
|
|
67
67
|
style: { paddingLeft: f, paddingRight: m, ...x },
|
|
68
68
|
...b,
|
|
69
69
|
children: p
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import f, { useContext as n } from "react";
|
|
3
3
|
import { c } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
4
4
|
import { CrossStrokeSrvIcon16 as F } from "@sberbusiness/icons-next";
|
|
5
5
|
import { FormFieldContext as p } from "../FormFieldContext.js";
|
|
6
6
|
import { EFormFieldStatus as C } from "../enums.js";
|
|
7
7
|
import { ButtonIcon as h } from "../../Button/ButtonIcon.js";
|
|
8
|
-
const u = "
|
|
8
|
+
const u = "formFieldClear__5f061f95", x = "hidden__03b6c851", t = {
|
|
9
9
|
formFieldClear: u,
|
|
10
10
|
hidden: x
|
|
11
|
-
}, _ =
|
|
12
|
-
({ className: l, onMouseDown: e, ...
|
|
13
|
-
const { status:
|
|
11
|
+
}, _ = f.forwardRef(
|
|
12
|
+
({ className: l, onMouseDown: e, ...m }, a) => {
|
|
13
|
+
const { status: s, valueExist: d } = n(p), i = c(
|
|
14
14
|
t.formFieldClear,
|
|
15
15
|
"hoverable",
|
|
16
16
|
{
|
|
17
|
-
[t.hidden]: !
|
|
17
|
+
[t.hidden]: !d || s === C.DISABLED
|
|
18
18
|
},
|
|
19
19
|
l
|
|
20
20
|
);
|
|
21
21
|
return /* @__PURE__ */ o(h, { className: i, onMouseDown: (r) => {
|
|
22
22
|
r.preventDefault(), e == null || e(r);
|
|
23
|
-
}, ...
|
|
23
|
+
}, ...m, ref: a, children: /* @__PURE__ */ o(F, { paletteIndex: 5 }) });
|
|
24
24
|
}
|
|
25
25
|
);
|
|
26
26
|
_.displayName = "FormFieldClear";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as i, useEffect as m } from "react";
|
|
3
3
|
import { FormFieldDescriptionContext as n } from "../FormFieldDescriptionContext.js";
|
|
4
|
-
const s = "
|
|
4
|
+
const s = "formFieldCounter__2a195ccc", u = {
|
|
5
5
|
formFieldCounter: s
|
|
6
|
-
},
|
|
6
|
+
}, c = ({ children: o, ...e }) => {
|
|
7
7
|
const { setWithCounter: t } = i(n);
|
|
8
8
|
return m(() => {
|
|
9
9
|
t(!0);
|
|
10
10
|
}, []), /* @__PURE__ */ r("div", { className: u.formFieldCounter, ...e, children: o });
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
c.displayName = "FormFieldCounter";
|
|
13
13
|
export {
|
|
14
|
-
|
|
14
|
+
c as FormFieldCounter
|
|
15
15
|
};
|
|
16
16
|
//# sourceMappingURL=FormFieldCounter.js.map
|
|
@@ -2,9 +2,9 @@ import { jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as n } from "react";
|
|
3
3
|
import { c } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
4
4
|
import { FormFieldDescriptionContext as m } from "../FormFieldDescriptionContext.js";
|
|
5
|
-
const
|
|
6
|
-
formFieldDescription:
|
|
7
|
-
withCounter:
|
|
5
|
+
const d = "formFieldDescription__5adfd3ba", l = "withCounter__45cc4ad1", i = {
|
|
6
|
+
formFieldDescription: d,
|
|
7
|
+
withCounter: l
|
|
8
8
|
}, p = ({ children: r, ...e }) => {
|
|
9
9
|
const [o, s] = n(!1);
|
|
10
10
|
return /* @__PURE__ */ t(m.Provider, { value: { withCounter: o, setWithCounter: s }, children: /* @__PURE__ */ t("div", { className: c(i.formFieldDescription, { [i.withCounter]: o }), ...e, children: r }) });
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import "../FormFieldContext.js";
|
|
4
4
|
import "../../../chunks/vendor-ClY57Zzq.js";
|
|
5
|
-
import { F as a } from "../../../chunks/FormFieldInput-
|
|
5
|
+
import { F as a } from "../../../chunks/FormFieldInput-ZCQQZs7b.js";
|
|
6
6
|
import "../enums.js";
|
|
7
7
|
import "../../../utils/classNameMaps.js";
|
|
8
8
|
export {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import p, { useContext as T, useState as g, useEffect as E } from "react";
|
|
3
3
|
import { FormFieldContext as h } from "../FormFieldContext.js";
|
|
4
|
-
import { TARGET_PADDING_X_DEFAULT as
|
|
4
|
+
import { TARGET_PADDING_X_DEFAULT as m } from "../consts.js";
|
|
5
5
|
import { o as D, c as N } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
6
6
|
import { EFormFieldStatus as y } from "../enums.js";
|
|
7
|
-
const A = "
|
|
7
|
+
const A = "formFieldLabel__8d4ae002", R = "floating__b152f723", S = "formFieldLabelText__0072b375", C = "disabled__bb9b3cf4", s = {
|
|
8
8
|
formFieldLabel: A,
|
|
9
|
-
"size-sm": "size-
|
|
10
|
-
"size-md": "size-
|
|
11
|
-
"size-lg": "size-
|
|
9
|
+
"size-sm": "size-sm__51c775b5",
|
|
10
|
+
"size-md": "size-md__5a3f3de4",
|
|
11
|
+
"size-lg": "size-lg__287ddc7a",
|
|
12
12
|
floating: R,
|
|
13
13
|
formFieldLabelText: S,
|
|
14
14
|
disabled: C
|
|
15
15
|
}, G = p.forwardRef(
|
|
16
|
-
({ children:
|
|
16
|
+
({ children: f, className: r, style: b, floating: e, ...c }, n) => {
|
|
17
17
|
const { status: F, focused: t, id: _, prefixWidth: L, postfixWidth: x, size: i, valueExist: a } = T(h), [l, o] = g(!1);
|
|
18
18
|
E(() => {
|
|
19
19
|
!D(e) && e !== l ? o(e) : e !== l && o(t || a);
|
|
@@ -28,12 +28,12 @@ const A = "formFieldLabel__522a1a75", R = "floating__9f2b45d4", S = "formFieldLa
|
|
|
28
28
|
r
|
|
29
29
|
), z = {
|
|
30
30
|
// Левая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
31
|
-
left: L ||
|
|
31
|
+
left: L || m,
|
|
32
32
|
// Правая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
33
|
-
right: x ||
|
|
34
|
-
...
|
|
33
|
+
right: x || m,
|
|
34
|
+
...b
|
|
35
35
|
};
|
|
36
|
-
return /* @__PURE__ */
|
|
36
|
+
return /* @__PURE__ */ d("label", { className: u, ref: n, htmlFor: _, ...c, style: z, children: /* @__PURE__ */ d("span", { className: s.formFieldLabelText, children: f }) });
|
|
37
37
|
}
|
|
38
38
|
);
|
|
39
39
|
G.displayName = "FormFieldLabel";
|