@sberbusiness/triplex-next 1.17.0 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/{AlertProcessSpoiler-t7fDdqO9.js → AlertProcessSpoiler-LkdaQ_Di.js} +10 -10
- package/chunks/{CalendarViewItem-C2DNB4Jw.js → CalendarViewItem-pHtA4Vlx.js} +27 -27
- package/chunks/Card.module-BcSOlt-v.js +17 -0
- package/chunks/CheckboxTreeExtended.module-DiHCUVg2.js +14 -0
- package/chunks/{Chip-Cf-GM0CV.js → Chip-CO3WBvtA.js} +18 -18
- package/chunks/Confirm.module-Dhpj4ZKo.js +15 -0
- package/chunks/{DropdownListItem-Cy40lpF7.js → DropdownListItem-BQHOMeuh.js} +2 -2
- package/chunks/DropdownMobile.module-xbdFMKNS.js +23 -0
- package/chunks/Footer.module-C1SNucJG.js +9 -0
- package/chunks/{FormFieldInput-AMteABRz.js → FormFieldInput-BHKqXXmM.js} +7 -7
- package/chunks/HeaderLayoutSidebar.module-DwvmK73d.js +9 -0
- package/chunks/HeaderTabs.module-MEcJFqAB.js +9 -0
- package/chunks/{HeaderTitle.module-CWH4Qtxu.js → HeaderTitle.module-DejeYBva.js} +2 -2
- package/chunks/IslandAccordion.module-BxCqLPl3.js +25 -0
- package/chunks/IslandWidgetFooter.module-D1LPR8QN.js +9 -0
- package/chunks/IslandWidgetHeader.module-BM15zmJI.js +12 -0
- package/chunks/{LightBoxContent-OGbq-MPG.js → LightBoxContent-CAboXCdn.js} +5 -5
- package/chunks/LightBoxControls.module-DGtd3hzE.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-C1IxLp8t.js +8 -0
- package/chunks/{ListItemControlsButton-D5VCVobZ.js → ListItemControlsButton-rljKBmYs.js} +12 -12
- package/chunks/ListItemTail.module-DeeZQGZM.js +12 -0
- package/chunks/ListMasterFooter.module-Deinj_Hn.js +10 -0
- package/chunks/ModalWindow.module-B0rsZ6qC.js +17 -0
- package/chunks/Notification.module-nKn4mJRI.js +21 -0
- package/chunks/Overlay.module-DK5sjXuJ.js +18 -0
- package/chunks/Page.module-CUe-R8bM.js +11 -0
- package/chunks/{RightBorderArrow-Cg9t6wps.js → RightBorderArrow-VyofIz59.js} +10 -10
- package/chunks/SMSField.module-GiwLpUxs.js +16 -0
- package/chunks/SliderExtendedMarks.module-n3OIn4Fh.js +15 -0
- package/chunks/{SliderExtendedRail-C3YHkDdA.js → SliderExtendedRail-DgwS0MGB.js} +6 -6
- package/chunks/StatusTracker.module-BMReqWPL.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-DFpzFnw4.js → SuggestFieldMobileDropdownHint-BLejFeyH.js} +4 -4
- package/chunks/TableFooter.module-DFzmhqFH.js +14 -0
- package/chunks/TabsExtended.module-Dn0Lp5NZ.js +16 -0
- package/chunks/TabsLine.module-BXYAgYql.js +21 -0
- package/chunks/TooltipDesktop.module-Dabcv06X.js +19 -0
- package/chunks/TreeView.module-Bv5q9M8W.js +9 -0
- package/chunks/{UploadZoneInput-y4jP_J3Z.js → UploadZoneInput-CVEVGrOi.js} +4 -4
- package/chunks/{constants-BVwJOKSH.js → constants-RnOklYSN.js} +12 -12
- package/chunks/utils-BecQ3s95.js +24 -0
- package/chunks/utils-CgBTTmNc.js +73 -0
- package/chunks/utils-IR7tW0dD.js +20 -0
- package/chunks/{utils-C2wI3ypW.js → utils-mnZTG3vL.js} +9 -9
- package/components/Alert/AlertContext/AlertContext.js +14 -14
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +2 -2
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +8 -8
- package/components/Badge/Badge.js +11 -11
- package/components/Badge/BadgeDot.js +5 -5
- package/components/Badge/components/BadgeContent.js +14 -14
- package/components/Badge/components/BadgePostfix.js +4 -4
- package/components/Badge/components/BadgePrefix.js +4 -4
- package/components/Body/Body.js +5 -5
- package/components/Button/Button.js +27 -27
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +1 -1
- package/components/Button/ButtonDropdownExtended.js +8 -8
- package/components/Button/ButtonIcon.js +4 -4
- package/components/Calendar/Calendar.js +17 -17
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +4 -4
- package/components/Calendar/components/CalendarViewDays.js +1 -1
- package/components/Calendar/components/CalendarViewItem.js +1 -1
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +13 -13
- 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 +6 -6
- package/components/Checkbox/Checkbox.js +2 -2
- package/components/Checkbox/CheckboxXGroup.js +9 -9
- package/components/Checkbox/CheckboxYGroup.js +6 -6
- 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 +5 -5
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- 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 +1 -1
- package/components/Chip/ChipOptions.js +6 -6
- 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 +10 -10
- package/components/Col/Col.js +134 -134
- package/components/CollapsableTree/components/CollapsableTreeNode.js +5 -5
- 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 +10 -10
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/Divider/Divider.js +20 -20
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +4 -4
- package/components/Dropdown/desktop/DropdownDesktop.js +18 -18
- 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 +5 -5
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +8 -8
- package/components/ExpandAnimation/ExpandAnimation.js +9 -9
- 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 +9 -9
- package/components/FormField/components/FormFieldClear.js +9 -9
- 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 +31 -30
- package/components/FormField/components/FormFieldMaskedInput.js +19 -19
- package/components/FormField/components/FormFieldPostfix.js +8 -8
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +19 -19
- package/components/FormField/components/FormFieldTextarea.js +7 -7
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +1 -1
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +5 -5
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +7 -7
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +2 -2
- package/components/IslandWidget/IslandWidget.js +12 -12
- package/components/IslandWidget/components/IslandWidgetBody.js +1 -1
- 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 +7 -7
- package/components/LightBox/LightBox.js +10 -10
- 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 +8 -8
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +7 -7
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +7 -7
- package/components/Link/Link.js +15 -15
- package/components/List/List.js +7 -7
- package/components/List/components/ListEmptyState.js +3 -3
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +5 -5
- package/components/List/components/ListItemControls.js +6 -6
- 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 +1 -1
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +5 -5
- package/components/List/components/ListSortableItemControls.js +1 -1
- package/components/List/components/ListSortableItemTarget.js +9 -9
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +1 -1
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +7 -7
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +8 -8
- package/components/Loader/LoaderSmall/LoaderSmall.js +13 -13
- package/components/LoaderScreen/LoaderScreen.js +12 -12
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +11 -11
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +4 -4
- package/components/ModalWindow/components/ModalWindowClose.js +1 -1
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +1 -1
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +3 -3
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +6 -6
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyContent.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +1 -1
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +1 -1
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NotificationIcon/NotificationIcon.js +4 -4
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +2 -2
- package/components/OrderedList/OrderedListItem.js +11 -11
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayMask.js +13 -11
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Overlay/index.js +12 -0
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +7 -7
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +7 -7
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +4 -4
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +13 -13
- package/components/Radio/Radio.js +11 -11
- package/components/Radio/RadioXGroup.js +12 -12
- package/components/Radio/RadioYGroup.js +7 -7
- package/components/Row/Row.js +6 -6
- 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 +10 -10
- package/components/SegmentedControl/SegmentedControlSegment.js +14 -14
- package/components/SelectExtendedField/SelectExtendedField.js +4 -4
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +15 -15
- package/components/Skeleton/Skeleton.js +9 -9
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +7 -7
- 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 +4 -4
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +19 -19
- package/components/SmallInput/SmallInput.js +5 -5
- package/components/Spoiler/Spoiler.js +16 -16
- 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 +5 -5
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +10 -10
- package/components/Stepper/StepperExtended.js +3 -3
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperWrapper.js +5 -5
- package/components/Suggest/SuggestMobileDropdownContent.js +10 -10
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +2 -2
- 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 +14 -14
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +15 -15
- package/components/Table/NoColumns.js +4 -4
- 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 +8 -8
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +9 -9
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- 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 +2 -2
- package/components/Table/TabsLinePanelLinks.js +5 -5
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +17 -17
- 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 +5 -5
- package/components/Tag/Tag.js +23 -23
- package/components/TagColor/TagColor.js +16 -16
- package/components/TagGroup/TagGroup.js +12 -12
- 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 +10 -10
- 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 +5 -5
- package/components/TopOverlay/TopOverlay.js +7 -7
- 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 +22 -22
- package/components/Typography/Title.js +11 -11
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +8 -8
- package/components/UnorderedList/UnorderedListItem.js +6 -6
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +155 -146
- package/helpers/less/colors.less +110 -0
- package/index.d.ts +34 -4
- package/index.js +139 -130
- package/package.json +5 -1
- package/styles/triplex-next.css +546 -546
- package/chunks/Card.module-CoTlxJ6e.js +0 -17
- package/chunks/CheckboxTreeExtended.module-bZi9dSDw.js +0 -14
- package/chunks/Confirm.module-BI8PM4Hz.js +0 -15
- package/chunks/DropdownMobile.module-CiteH_xj.js +0 -23
- package/chunks/Footer.module-DnotaF0A.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-Bd_GF8rz.js +0 -9
- package/chunks/HeaderTabs.module-Cfl_jvQ5.js +0 -9
- package/chunks/IslandAccordion.module-C-ODuVTy.js +0 -25
- package/chunks/IslandWidgetFooter.module-BKWOZe3U.js +0 -9
- package/chunks/IslandWidgetHeader.module-iR-r9VBx.js +0 -12
- package/chunks/LightBoxControls.module-yMjZxWFf.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-DIr7bB-Q.js +0 -8
- package/chunks/ListItemTail.module-psSZKLRd.js +0 -12
- package/chunks/ListMasterFooter.module-B-sVcLFb.js +0 -10
- package/chunks/ModalWindow.module-kWUQDYW7.js +0 -17
- package/chunks/Notification.module-CglusCHB.js +0 -21
- package/chunks/Overlay.module-DrUdkKMZ.js +0 -18
- package/chunks/Page.module-BqOHwRFw.js +0 -11
- package/chunks/SMSField.module-Bu6Qam45.js +0 -16
- package/chunks/SliderExtendedMarks.module-BtIySKC1.js +0 -15
- package/chunks/StatusTracker.module-C6hh8Ogq.js +0 -24
- package/chunks/TableFooter.module-CD1rdwIS.js +0 -14
- package/chunks/TabsExtended.module-dt080T3c.js +0 -16
- package/chunks/TabsLine.module-BxpgcF_Y.js +0 -21
- package/chunks/TooltipDesktop.module-Dg73ZVxN.js +0 -19
- package/chunks/TreeView.module-IDSIrNif.js +0 -9
- package/chunks/utils-CnUVPndw.js +0 -20
- package/chunks/utils-DTJIF2M7.js +0 -24
- package/chunks/utils-DfZbK225.js +0 -73
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { jsx as U } from "react/jsx-runtime";
|
|
2
|
-
import B, { useState as G, useRef as
|
|
2
|
+
import B, { useState as G, useRef as L, useCallback as s, useEffect as y } from "react";
|
|
3
3
|
import { c as F } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
4
4
|
import { EDropdownAlignment as w, EDropdownDirection as E } from "../enums.js";
|
|
5
5
|
import { EComponentSize as I } from "../../../enums/EComponentSize.js";
|
|
6
6
|
import { createSizeToClassNameMap as j } from "../../../utils/classNameMaps.js";
|
|
7
7
|
import { useToken as K } from "../../ThemeProvider/useToken.js";
|
|
8
8
|
import { isKey as i } from "../../../utils/keyboard.js";
|
|
9
|
-
const V = "
|
|
9
|
+
const V = "dropdownDesktop__57092c32", q = "sm__9fc13483", J = "md__929760cb", Q = "lg__90bb8446", X = "dropdownDesktopOverflowHidden__f3bfd2e0", O = {
|
|
10
10
|
dropdownDesktop: V,
|
|
11
11
|
sm: q,
|
|
12
12
|
md: J,
|
|
13
13
|
lg: Q,
|
|
14
14
|
dropdownDesktopOverflowHidden: X
|
|
15
|
-
}, Y = j(O),
|
|
15
|
+
}, Y = j(O), A = O.dropdownDesktopOverflowHidden, Z = B.forwardRef((C, m) => {
|
|
16
16
|
const {
|
|
17
17
|
alignment: p = w.AUTO,
|
|
18
18
|
children: _,
|
|
19
19
|
fixedWidth: u,
|
|
20
20
|
className: N,
|
|
21
21
|
direction: a = E.AUTO,
|
|
22
|
-
opened:
|
|
22
|
+
opened: f,
|
|
23
23
|
setOpened: $,
|
|
24
24
|
style: P,
|
|
25
25
|
targetRef: k,
|
|
26
26
|
size: W = I.MD,
|
|
27
27
|
...R
|
|
28
|
-
} = C, { scopeClassName: S } = K(), [z, T] = G({ opacity: 0 }), d =
|
|
28
|
+
} = C, { scopeClassName: S } = K(), [z, T] = G({ opacity: 0 }), d = L(null), h = L({ height: 0, width: 0 }), x = F(O.dropdownDesktop, Y[W], S, N), D = s(
|
|
29
29
|
(e) => {
|
|
30
30
|
var t;
|
|
31
31
|
(t = d.current) != null && t.contains(e.target) || e.preventDefault();
|
|
@@ -42,13 +42,13 @@ const V = "dropdownDesktop__5adc3d7e", q = "sm__3af8ae9e", J = "md__64ee3160", Q
|
|
|
42
42
|
e ? (document.addEventListener("wheel", D, { passive: !1 }), document.addEventListener("keydown", g)) : (document.removeEventListener("wheel", D), document.removeEventListener("keydown", g));
|
|
43
43
|
},
|
|
44
44
|
[D, g]
|
|
45
|
-
),
|
|
45
|
+
), b = s(
|
|
46
46
|
(e, t, o) => {
|
|
47
47
|
const n = u ? o.width : Math.max(o.width, t.width);
|
|
48
48
|
p === w.AUTO ? o.right - n > 0 ? e.left = o.right - n : o.left + n < document.documentElement.clientWidth ? e.left = o.left : e.left = o.right - n : p === w.RIGHT ? e.left = o.right - n : p === w.LEFT && (e.left = o.left);
|
|
49
49
|
},
|
|
50
50
|
[p, u]
|
|
51
|
-
),
|
|
51
|
+
), H = s(
|
|
52
52
|
(e, t, o) => {
|
|
53
53
|
a === E.AUTO ? o.bottom + 4 + t.height < document.documentElement.clientHeight ? e.top = o.bottom + 4 : o.top - 4 - t.height > 0 ? e.bottom = document.documentElement.clientHeight - o.top + 4 : e.top = o.bottom + 4 : a === E.BOTTOM ? e.top = o.bottom + 4 : a === E.TOP && (e.bottom = document.documentElement.clientHeight - o.top + 4);
|
|
54
54
|
},
|
|
@@ -56,13 +56,13 @@ const V = "dropdownDesktop__5adc3d7e", q = "sm__3af8ae9e", J = "md__64ee3160", Q
|
|
|
56
56
|
), r = s(() => {
|
|
57
57
|
const { current: e } = d, { current: t } = k;
|
|
58
58
|
if (e && t) {
|
|
59
|
-
const o = e.getBoundingClientRect(), n = t.getBoundingClientRect(),
|
|
60
|
-
u ?
|
|
59
|
+
const o = e.getBoundingClientRect(), n = t.getBoundingClientRect(), c = {};
|
|
60
|
+
u ? c.width = n.width : c.minWidth = n.width, H(c, o, n), b(c, o, n), h.current = { height: o.height, width: o.width }, T(c);
|
|
61
61
|
}
|
|
62
|
-
}, [k, u,
|
|
62
|
+
}, [k, u, H, b]);
|
|
63
63
|
y(() => {
|
|
64
|
-
|
|
65
|
-
}, [
|
|
64
|
+
f ? r() : (h.current = { height: 0, width: 0 }, T({ opacity: 0 }));
|
|
65
|
+
}, [f, r]), y(() => {
|
|
66
66
|
if (d.current) {
|
|
67
67
|
const { width: e, height: t } = d.current.getBoundingClientRect();
|
|
68
68
|
(e != h.current.width || t != h.current.height) && r();
|
|
@@ -72,21 +72,21 @@ const V = "dropdownDesktop__5adc3d7e", q = "sm__3af8ae9e", J = "md__64ee3160", Q
|
|
|
72
72
|
setTimeout(r);
|
|
73
73
|
}, [r]);
|
|
74
74
|
y(() => {
|
|
75
|
-
if (
|
|
76
|
-
return document.addEventListener("scroll", l, !0), window.addEventListener("resize", l), v(!0), document.body.classList.add(
|
|
77
|
-
document.removeEventListener("scroll", l, !0), window.removeEventListener("resize", l), v(!1), document.body.classList.remove(
|
|
75
|
+
if (f)
|
|
76
|
+
return document.addEventListener("scroll", l, !0), window.addEventListener("resize", l), v(!0), document.body.classList.add(A), l(), () => {
|
|
77
|
+
document.removeEventListener("scroll", l, !0), window.removeEventListener("resize", l), v(!1), document.body.classList.remove(A);
|
|
78
78
|
};
|
|
79
|
-
}, [
|
|
79
|
+
}, [f, l, v]);
|
|
80
80
|
const M = (e) => {
|
|
81
81
|
d.current = e, typeof m == "function" ? m(e) : m && (m.current = e);
|
|
82
82
|
};
|
|
83
|
-
return
|
|
83
|
+
return f ? /* @__PURE__ */ U(
|
|
84
84
|
"div",
|
|
85
85
|
{
|
|
86
86
|
className: x,
|
|
87
87
|
style: { ...z, ...P },
|
|
88
88
|
...R,
|
|
89
|
-
"data-tx": "1.
|
|
89
|
+
"data-tx": "1.18.0",
|
|
90
90
|
ref: M,
|
|
91
91
|
children: _
|
|
92
92
|
}
|
|
@@ -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-Dlne6Znf.js";
|
|
4
|
-
import { s as C, D as x } from "../../../chunks/DropdownListItem-
|
|
4
|
+
import { s as C, D as x } from "../../../chunks/DropdownListItem-BQHOMeuh.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-Dlne6Znf.js";
|
|
5
5
|
import "../../NotificationIcon/NotificationIcon.js";
|
|
6
|
-
import { D as s } from "../../../chunks/DropdownListItem-
|
|
6
|
+
import { D as s } from "../../../chunks/DropdownListItem-BQHOMeuh.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-BQHOMeuh.js";
|
|
4
4
|
export {
|
|
5
5
|
p as DropdownDesktop,
|
|
6
6
|
e as DropdownList,
|
|
@@ -2,7 +2,7 @@ import { EDropdownAlignment as e, EDropdownDirection as p, EDropdownListSize as
|
|
|
2
2
|
import { DropdownListContext as D } from "./DropdownListContext.js";
|
|
3
3
|
import { DropdownDesktop as m } from "./desktop/DropdownDesktop.js";
|
|
4
4
|
import { DropdownList as x } from "./desktop/DropdownList.js";
|
|
5
|
-
import { D as l } from "../../chunks/DropdownListItem-
|
|
5
|
+
import { D as l } from "../../chunks/DropdownListItem-BQHOMeuh.js";
|
|
6
6
|
import { DropdownMobile as M } from "./mobile/DropdownMobile.js";
|
|
7
7
|
import { DropdownMobileBody as L } from "./mobile/DropdownMobileBody.js";
|
|
8
8
|
import { DropdownMobileClose as I } 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-xbdFMKNS.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.18.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-Dlne6Znf.js";
|
|
4
|
-
import { s as a } from "../../../chunks/DropdownMobile.module-
|
|
4
|
+
import { s as a } from "../../../chunks/DropdownMobile.module-xbdFMKNS.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-Dlne6Znf.js";
|
|
6
|
-
import { s as i } from "../../../chunks/DropdownMobile.module-
|
|
6
|
+
import { s as i } from "../../../chunks/DropdownMobile.module-xbdFMKNS.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-Dlne6Znf.js";
|
|
4
|
-
import { s as i } from "../../../chunks/DropdownMobile.module-
|
|
4
|
+
import { s as i } from "../../../chunks/DropdownMobile.module-xbdFMKNS.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-Dlne6Znf.js";
|
|
4
|
-
import { s as o } from "../../../chunks/DropdownMobile.module-
|
|
4
|
+
import { s as o } from "../../../chunks/DropdownMobile.module-xbdFMKNS.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-Dlne6Znf.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-xbdFMKNS.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
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
const e = "
|
|
2
|
+
import d from "react";
|
|
3
|
+
import { c as r } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
+
const e = "dropdownMobileInput__05cd8d84", i = {
|
|
5
5
|
dropdownMobileInput: e
|
|
6
|
-
}, l =
|
|
7
|
-
({ className: o, ...p }, t) => /* @__PURE__ */ n("input", { className:
|
|
6
|
+
}, l = d.forwardRef(
|
|
7
|
+
({ className: o, ...p }, t) => /* @__PURE__ */ n("input", { className: r(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-xbdFMKNS.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-Dlne6Znf.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-xbdFMKNS.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-xbdFMKNS.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 d } from "react/jsx-runtime";
|
|
2
|
+
import { c as p } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
3
3
|
import { FormFieldMaskedInput as o } from "../../FormField/components/FormFieldMaskedInput.js";
|
|
4
|
-
const t = "
|
|
4
|
+
const t = "dropdownMobileMaskedInput__320d2b26", r = {
|
|
5
5
|
dropdownMobileMaskedInput: t
|
|
6
|
-
}, n = ({ className:
|
|
6
|
+
}, n = ({ className: s, ...e }) => /* @__PURE__ */ d(o, { className: p(r.dropdownMobileMaskedInput, s), ...e });
|
|
7
7
|
n.presets = o.presets;
|
|
8
8
|
export {
|
|
9
9
|
n as DropdownMobileMaskedInput
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import t from "react";
|
|
3
|
-
import { c } from "../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
-
const
|
|
5
|
-
ellipsisLineClamp:
|
|
3
|
+
import { c as m } from "../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
+
const c = "ellipsisLineClamp__ba0d8f9f", r = "oneLine__1e2a16f9", e = {
|
|
5
|
+
ellipsisLineClamp: c,
|
|
6
6
|
oneLine: r
|
|
7
7
|
}, f = t.forwardRef(
|
|
8
|
-
({ children: i, maxLines: s, className: l, ...
|
|
9
|
-
const o =
|
|
8
|
+
({ children: i, maxLines: s, className: l, ...a }, n) => {
|
|
9
|
+
const o = m(e.ellipsisLineClamp, { [e.oneLine]: s === 1 }, l);
|
|
10
10
|
return /* @__PURE__ */ p(
|
|
11
11
|
"div",
|
|
12
12
|
{
|
|
13
13
|
className: o,
|
|
14
14
|
style: { "--ellipsis-line-clamp": s },
|
|
15
|
-
...
|
|
16
|
-
"data-tx": "1.
|
|
17
|
-
ref:
|
|
15
|
+
...a,
|
|
16
|
+
"data-tx": "1.18.0",
|
|
17
|
+
ref: n,
|
|
18
18
|
children: i
|
|
19
19
|
}
|
|
20
20
|
);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { E as
|
|
4
|
-
const F = "
|
|
2
|
+
import U, { useRef as E } from "react";
|
|
3
|
+
import { E as b, c as j } from "../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
+
const F = "expandAnimation__c744ae82", I = {
|
|
5
5
|
expandAnimation: F
|
|
6
|
-
}, L = 300, M =
|
|
6
|
+
}, L = 300, M = U.forwardRef(
|
|
7
7
|
({
|
|
8
8
|
children: y,
|
|
9
9
|
className: A,
|
|
@@ -30,14 +30,14 @@ const F = "expandAnimation__aaeb7765", 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
|
+
}, D = () => {
|
|
34
34
|
var c;
|
|
35
35
|
h == null || h(), (c = e == null ? void 0 : e.onExited) == null || c.call(e);
|
|
36
|
-
},
|
|
36
|
+
}, N = (c) => {
|
|
37
37
|
l.current = c, typeof x == "function" ? x(c) : x && (x.current = c);
|
|
38
38
|
};
|
|
39
39
|
return /* @__PURE__ */ g(
|
|
40
|
-
|
|
40
|
+
b,
|
|
41
41
|
{
|
|
42
42
|
in: v,
|
|
43
43
|
timeout: f,
|
|
@@ -46,7 +46,7 @@ const F = "expandAnimation__aaeb7765", I = {
|
|
|
46
46
|
onEnter: w,
|
|
47
47
|
onEntered: H,
|
|
48
48
|
onExit: T,
|
|
49
|
-
onExited:
|
|
49
|
+
onExited: D,
|
|
50
50
|
children: (c) => /* @__PURE__ */ g(
|
|
51
51
|
"div",
|
|
52
52
|
{
|
|
@@ -57,7 +57,7 @@ const F = "expandAnimation__aaeb7765", I = {
|
|
|
57
57
|
...R
|
|
58
58
|
},
|
|
59
59
|
..._,
|
|
60
|
-
ref:
|
|
60
|
+
ref: N,
|
|
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.18.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-Dlne6Znf.js";
|
|
6
|
-
import { s as c } from "../../../chunks/Footer.module-
|
|
6
|
+
import { s as c } from "../../../chunks/Footer.module-C1SNucJG.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-Dlne6Znf.js";
|
|
4
|
-
import { s as n } from "../../../chunks/Footer.module-
|
|
4
|
+
import { s as n } from "../../../chunks/Footer.module-C1SNucJG.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-Dlne6Znf.js";
|
|
4
|
-
import { s as a } from "../../../chunks/Footer.module-
|
|
4
|
+
import { s as a } from "../../../chunks/Footer.module-C1SNucJG.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
|
);
|
|
@@ -6,9 +6,9 @@ import { TARGET_PADDING_X_DEFAULT as _ } from "./consts.js";
|
|
|
6
6
|
import { EFormFieldStatus as s } from "./enums.js";
|
|
7
7
|
import { EComponentSize as G } from "../../enums/EComponentSize.js";
|
|
8
8
|
import { createSizeToClassNameMap as I } from "../../utils/classNameMaps.js";
|
|
9
|
-
const L = "
|
|
9
|
+
const L = "formField__b84aea1e", P = "disabled__7b028312", y = "active__4ed47f85", U = "error__19fd6037", z = "warning__3fc4ecbb", j = "sm__838474ca", B = "md__b92938ef", H = "lg__d038e915", e = {
|
|
10
10
|
formField: L,
|
|
11
|
-
default: "
|
|
11
|
+
default: "default__53d1bcf0",
|
|
12
12
|
disabled: P,
|
|
13
13
|
active: y,
|
|
14
14
|
error: U,
|
|
@@ -32,10 +32,10 @@ const L = "formField__eeb249da", P = "disabled__f0d34e29", y = "active__bbf7633c
|
|
|
32
32
|
size: i = G.LG,
|
|
33
33
|
...b
|
|
34
34
|
}, g) => {
|
|
35
|
-
const [l, h] = t(!1), [u,
|
|
36
|
-
|
|
35
|
+
const [l, h] = t(!1), [u, c] = t(!1), [v, E] = t(""), [m, N] = t(_), [f, R] = t(_), [T, A] = t(!1), D = (a) => {
|
|
36
|
+
c(!0), o == null || o(a);
|
|
37
37
|
}, w = (a) => {
|
|
38
|
-
|
|
38
|
+
c(!1), r == null || r(a);
|
|
39
39
|
};
|
|
40
40
|
return /* @__PURE__ */ n(
|
|
41
41
|
W.Provider,
|
|
@@ -45,8 +45,8 @@ const L = "formField__eeb249da", P = "disabled__f0d34e29", y = "active__bbf7633c
|
|
|
45
45
|
focused: l,
|
|
46
46
|
hovered: u,
|
|
47
47
|
id: v,
|
|
48
|
-
postfixWidth:
|
|
49
|
-
prefixWidth:
|
|
48
|
+
postfixWidth: m,
|
|
49
|
+
prefixWidth: f,
|
|
50
50
|
setFocused: h,
|
|
51
51
|
setId: E,
|
|
52
52
|
setPostfixWidth: N,
|
|
@@ -69,8 +69,8 @@ const L = "formField__eeb249da", P = "disabled__f0d34e29", y = "active__bbf7633c
|
|
|
69
69
|
),
|
|
70
70
|
onMouseEnter: D,
|
|
71
71
|
onMouseLeave: w,
|
|
72
|
-
"data-tx": "1.
|
|
73
|
-
style: { paddingLeft:
|
|
72
|
+
"data-tx": "1.18.0",
|
|
73
|
+
style: { paddingLeft: f, paddingRight: m, ...x },
|
|
74
74
|
...b,
|
|
75
75
|
ref: g,
|
|
76
76
|
children: p
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import n, { useContext as F } from "react";
|
|
3
3
|
import { c as p } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
4
4
|
import { CrossStrokeSrvIcon16 as h } from "@sberbusiness/icons-next";
|
|
5
5
|
import { FormFieldContext as C } from "../FormFieldContext.js";
|
|
6
6
|
import { EFormFieldStatus as u } from "../enums.js";
|
|
7
7
|
import { ButtonIcon as x } from "../../Button/ButtonIcon.js";
|
|
8
|
-
const _ = "
|
|
8
|
+
const _ = "formFieldClear__f262c1a4", v = "hidden__848ec8d9", t = {
|
|
9
9
|
formFieldClear: _,
|
|
10
10
|
hidden: v
|
|
11
|
-
}, I =
|
|
12
|
-
({ className:
|
|
13
|
-
const { status: m, focused: s, hovered: i, valueExist:
|
|
11
|
+
}, I = n.forwardRef(
|
|
12
|
+
({ className: l, onMouseDown: e, ...d }, a) => {
|
|
13
|
+
const { status: m, focused: s, hovered: i, valueExist: c } = F(C), f = p(
|
|
14
14
|
t.formFieldClear,
|
|
15
15
|
"hoverable",
|
|
16
16
|
{
|
|
17
|
-
[t.hidden]: !
|
|
17
|
+
[t.hidden]: !c || m === u.DISABLED || !(s || i)
|
|
18
18
|
},
|
|
19
|
-
|
|
19
|
+
l
|
|
20
20
|
);
|
|
21
|
-
return /* @__PURE__ */ o(x, { className:
|
|
21
|
+
return /* @__PURE__ */ o(x, { className: f, onMouseDown: (r) => {
|
|
22
22
|
r.preventDefault(), e == null || e(r);
|
|
23
|
-
}, ...
|
|
23
|
+
}, ...d, ref: a, children: /* @__PURE__ */ o(h, { paletteIndex: 5 }) });
|
|
24
24
|
}
|
|
25
25
|
);
|
|
26
26
|
I.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__40809288", u = {
|
|
5
5
|
formFieldCounter: s
|
|
6
|
-
},
|
|
6
|
+
}, l = ({ 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
|
+
l.displayName = "FormFieldCounter";
|
|
13
13
|
export {
|
|
14
|
-
|
|
14
|
+
l as FormFieldCounter
|
|
15
15
|
};
|
|
16
16
|
//# sourceMappingURL=FormFieldCounter.js.map
|
|
@@ -2,12 +2,12 @@ import { jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as n } from "react";
|
|
3
3
|
import { c } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
4
4
|
import { FormFieldDescriptionContext as m } from "../FormFieldDescriptionContext.js";
|
|
5
|
-
const l = "
|
|
5
|
+
const l = "formFieldDescription__be43dac0", p = "withCounter__c45ea34b", e = {
|
|
6
6
|
formFieldDescription: l,
|
|
7
7
|
withCounter: p
|
|
8
|
-
}, d = ({ children:
|
|
8
|
+
}, d = ({ children: i, ...r }) => {
|
|
9
9
|
const [o, s] = n(!1);
|
|
10
|
-
return /* @__PURE__ */ t(m.Provider, { value: { withCounter: o, setWithCounter: s }, children: /* @__PURE__ */ t("div", { className: c(
|
|
10
|
+
return /* @__PURE__ */ t(m.Provider, { value: { withCounter: o, setWithCounter: s }, children: /* @__PURE__ */ t("div", { className: c(e.formFieldDescription, { [e.withCounter]: o }), ...r, children: i }) });
|
|
11
11
|
};
|
|
12
12
|
d.displayName = "FormFieldDescription";
|
|
13
13
|
export {
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import "../FormFieldContext.js";
|
|
4
4
|
import "../../../chunks/vendor-Dlne6Znf.js";
|
|
5
|
-
import { F as a } from "../../../chunks/FormFieldInput-
|
|
5
|
+
import { F as a } from "../../../chunks/FormFieldInput-BHKqXXmM.js";
|
|
6
6
|
import "../enums.js";
|
|
7
7
|
import "../../../utils/classNameMaps.js";
|
|
8
8
|
export {
|
|
@@ -1,43 +1,44 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import T, { useContext as E, useState as g, useEffect as A } from "react";
|
|
3
|
+
import { n as N, c as S } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
3
4
|
import { FormFieldContext as h } from "../FormFieldContext.js";
|
|
4
|
-
import {
|
|
5
|
-
import { n as D, c as N } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
5
|
+
import { createSizeToClassNameMap as D } from "../../../utils/classNameMaps.js";
|
|
6
6
|
import { EFormFieldStatus as y } from "../enums.js";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
E(
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
7
|
+
import { TARGET_PADDING_X_DEFAULT as m } from "../consts.js";
|
|
8
|
+
const C = "formFieldLabel__711a9660", I = "sm__838474ca", M = "md__b92938ef", R = "lg__d038e915", z = "floating__40b7f0a0", G = "formFieldLabelText__4c0f5c4b", U = "disabled__7b028312", s = {
|
|
9
|
+
formFieldLabel: C,
|
|
10
|
+
sm: I,
|
|
11
|
+
md: M,
|
|
12
|
+
lg: R,
|
|
13
|
+
floating: z,
|
|
14
|
+
formFieldLabelText: G,
|
|
15
|
+
disabled: U
|
|
16
|
+
}, W = D(s), j = T.forwardRef(
|
|
17
|
+
({ children: d, className: f, style: r, floating: e, ...c }, n) => {
|
|
18
|
+
const { status: _, focused: l, id: b, prefixWidth: F, postfixWidth: L, size: x, valueExist: o } = E(h), [t, a] = g(!1);
|
|
19
|
+
A(() => {
|
|
20
|
+
!N(e) && e !== t ? a(e) : e !== t && a(l || o);
|
|
21
|
+
}, [l, o, e, t]);
|
|
22
|
+
const p = S(
|
|
22
23
|
s.formFieldLabel,
|
|
24
|
+
W[x],
|
|
23
25
|
{
|
|
24
|
-
[s.disabled]:
|
|
25
|
-
[s.floating]:
|
|
26
|
-
[s[`size-${i}`]]: i
|
|
26
|
+
[s.disabled]: _ === y.DISABLED,
|
|
27
|
+
[s.floating]: t
|
|
27
28
|
},
|
|
28
|
-
|
|
29
|
-
),
|
|
29
|
+
f
|
|
30
|
+
), u = {
|
|
30
31
|
// Левая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
31
|
-
left:
|
|
32
|
+
left: F || m,
|
|
32
33
|
// Правая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
33
|
-
right:
|
|
34
|
-
...
|
|
34
|
+
right: L || m,
|
|
35
|
+
...r
|
|
35
36
|
};
|
|
36
|
-
return /* @__PURE__ */
|
|
37
|
+
return /* @__PURE__ */ i("label", { className: p, ref: n, htmlFor: b, ...c, style: u, children: /* @__PURE__ */ i("span", { className: s.formFieldLabelText, children: d }) });
|
|
37
38
|
}
|
|
38
39
|
);
|
|
39
|
-
|
|
40
|
+
j.displayName = "FormFieldLabel";
|
|
40
41
|
export {
|
|
41
|
-
|
|
42
|
+
j as FormFieldLabel
|
|
42
43
|
};
|
|
43
44
|
//# sourceMappingURL=FormFieldLabel.js.map
|