@sberbusiness/triplex-next 1.5.0 → 1.6.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-M7W9D-p3.js → AlertProcessSpoiler-BCXIqVd5.js} +3 -3
- package/chunks/CalendarViewItem-CHiqUGxF.js +101 -0
- package/chunks/Card.module-CmXEvD5r.js +17 -0
- package/chunks/CheckboxTreeExtended.module-D-2ZUrcy.js +11 -0
- package/chunks/{Chip-DpSJGyYK.js → Chip-yWyfl_o2.js} +9 -9
- package/chunks/Confirm.module-Ds4ZMYVB.js +15 -0
- package/chunks/DropdownListItem-DgEkMGvB.js +57 -0
- package/chunks/DropdownMobile.module-thvNKX4t.js +21 -0
- package/chunks/Footer.module-DZhiuTzP.js +9 -0
- package/chunks/{FormFieldInput-BSxKZxcq.js → FormFieldInput-BBhoiftf.js} +15 -15
- package/chunks/HeaderLayoutSidebar.module-DaB6pHPF.js +9 -0
- package/chunks/HeaderTabs.module-DK3rR1yV.js +9 -0
- package/chunks/{HeaderTitle.module-CEMLCR13.js → HeaderTitle.module-CBMLSjn-.js} +2 -2
- package/chunks/IslandAccordion.module-D9LSijXT.js +26 -0
- package/chunks/{LightBoxContent-DTTxRVLQ.js → LightBoxContent-BjsBFl6W.js} +15 -15
- package/chunks/LightBoxControls.module-BHw6I5-d.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-VE4NCDr0.js +8 -0
- package/chunks/{ListItemControlsButton-AbCEipFe.js → ListItemControlsButton-CueYzEGM.js} +11 -11
- package/chunks/ListItemTail.module-Bw2cyg-n.js +12 -0
- package/chunks/ListMasterFooter.module-BfD7OQFa.js +10 -0
- package/chunks/ModalWindow.module-Nps-2rvx.js +17 -0
- package/chunks/Notification.module-DZZnmvDX.js +21 -0
- package/chunks/Overlay.module-BGfiVeol.js +18 -0
- package/chunks/Page.module-CV4uy77C.js +12 -0
- package/chunks/{RightBorderArrow-Co_RT8lZ.js → RightBorderArrow-rROpeCX0.js} +14 -14
- package/chunks/SMSInput.module-Br6FTDVD.js +16 -0
- package/chunks/SliderExtendedMarks.module-Bubs2UAN.js +15 -0
- package/chunks/SliderExtendedRail-BmH-0W3L.js +40 -0
- package/chunks/StatusTracker.module-BVzGbfDD.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-nZwpz9Eo.js → SuggestFieldMobileDropdownHint-Bh4smUeN.js} +2 -2
- package/chunks/TableFooter.module-hx13-EO6.js +14 -0
- package/chunks/TabsExtended.module-CNjCgifz.js +16 -0
- package/chunks/TabsLine.module-_Jn8K0jv.js +23 -0
- package/chunks/TooltipDesktop.module-Cx6fDiek.js +19 -0
- package/chunks/{TooltipMobileCloseButton-DTtQoE3B.js → TooltipMobileCloseButton-BUyQFHWX.js} +4 -4
- package/chunks/TreeView.module-oeG4_2Ve.js +9 -0
- package/chunks/{UploadZoneInput-C2-_7DoS.js → UploadZoneInput-CjsECm07.js} +3 -3
- package/chunks/utils-C1Q-0uVF.js +36 -0
- package/chunks/{utils-CFlJg-k1.js → utils-C8A7RzC0.js} +5 -5
- package/chunks/utils-Cb3psf0n.js +73 -0
- package/chunks/{utils-Dhi5F6Da.js → utils-D-KMukhm.js} +4 -4
- package/chunks/utils-vwCIbf0H.js +24 -0
- package/chunks/{vendor-9KVE23Ri.js → vendor-D3hUOusX.js} +4403 -4403
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +10 -10
- package/components/Alert/AlertContext/AlertContext.js +16 -16
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +8 -8
- package/components/AmountField/AmountField.js +11 -11
- package/components/Body/Body.js +13 -13
- package/components/Body/index.js +4 -2
- package/components/Button/Button.js +26 -26
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +54 -54
- package/components/Button/ButtonDropdownExtended.js +6 -6
- package/components/Button/ButtonIcon.js +14 -14
- package/components/Calendar/Calendar.js +131 -126
- package/components/Calendar/CalendarContext.js +1 -1
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarFooterButton.js +31 -0
- package/components/Calendar/components/CalendarViewDays.js +67 -76
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +9 -9
- package/components/Calendar/components/CalendarViewYears.js +10 -10
- package/components/Calendar/utils.js +5 -5
- package/components/Card/CardAction.js +4 -4
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +7 -7
- package/components/Checkbox/Checkbox.js +17 -17
- package/components/Checkbox/CheckboxXGroup.js +11 -11
- package/components/Checkbox/CheckboxYGroup.js +4 -4
- package/components/CheckboxTree/index.js +5 -0
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +8 -7
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +4 -3
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +22 -21
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +21 -24
- package/components/CheckboxTreeExtended/index.js +5 -0
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +4 -4
- package/components/Chip/ChipDropdownArrow.js +2 -2
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +46 -0
- package/components/Chip/ChipOptions.js +4 -4
- package/components/Chip/ChipSelect.js +2 -2
- package/components/Chip/ChipSort.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +6 -6
- package/components/Chip/index.js +11 -9
- package/components/ChipGroup/ChipGroup.js +5 -5
- package/components/Col/Col.js +137 -137
- package/components/CollapsableTree/components/CollapsableTreeNode.js +6 -6
- package/components/Confirm/Confirm.js +41 -0
- package/components/Confirm/components/ConfirmClose.js +13 -0
- package/components/Confirm/components/ConfirmCloseButton.js +27 -0
- package/components/Confirm/components/ConfirmContent.js +13 -0
- package/components/Confirm/components/ConfirmContentSubTitle.js +15 -0
- package/components/Confirm/components/ConfirmContentTitle.js +16 -0
- package/components/Confirm/components/ConfirmControls.js +9 -0
- package/components/Confirm/enums.js +5 -0
- package/components/Confirm/index.js +5 -0
- package/components/DateField/DateField.js +8 -8
- package/components/DateField/utils.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +13 -13
- package/components/DateRange/DateRange.js +73 -0
- package/components/DateRange/enums.js +5 -0
- package/components/DesignTokens/DesignTokenUtils.js +7 -7
- package/components/DesignTokens/DesignTokensComponents.js +71 -54
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +64 -47
- package/components/DesignTokens/components/Calendar.js +0 -2
- package/components/DesignTokens/components/Island.js +4 -4
- package/components/DesignTokens/components/IslandAccordion.js +15 -4
- package/components/DesignTokens/components/MultiselectField.js +9 -0
- package/components/DesignTokens/components/Slider.js +59 -0
- package/components/DesignTokens/components/SmallInput.js +15 -0
- package/components/DesignTokens/components/TopOverlay.js +9 -0
- package/components/DesignTokens/components/UploadZone.js +1 -1
- package/components/DesignTokens/components/index.js +95 -83
- package/components/Divider/Divider.js +18 -18
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +64 -0
- package/components/DocumentNumberEdit/index.js +5 -0
- package/components/Dropdown/desktop/DropdownDesktop.js +17 -17
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +9 -9
- package/components/ExpandAnimation/ExpandAnimation.js +14 -14
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +2 -2
- package/components/Footer/components/FooterDescriptionContent.js +2 -2
- package/components/Footer/components/FooterDescriptionControls.js +2 -2
- package/components/FormField/FormField.js +21 -21
- package/components/FormField/components/FormFieldClear.js +6 -6
- package/components/FormField/components/FormFieldCounter.js +3 -3
- package/components/FormField/components/FormFieldDescription.js +6 -6
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +10 -10
- package/components/FormField/components/FormFieldMaskedInput.js +10 -10
- package/components/FormField/components/FormFieldPostfix.js +10 -10
- package/components/FormField/components/FormFieldPrefix.js +6 -6
- package/components/FormField/components/FormFieldTarget.js +38 -37
- package/components/FormField/components/FormFieldTextarea.js +16 -16
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +6 -6
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +13 -13
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +4 -4
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +4 -4
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +81 -73
- package/components/LightBox/LightBox.js +24 -24
- package/components/LightBox/LightBoxContent.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxClose.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxControls.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxNext.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +9 -9
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +3 -3
- package/components/Link/Link.js +22 -22
- package/components/List/List.js +5 -5
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +3 -3
- package/components/List/components/ListItemControls.js +6 -6
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +4 -4
- package/components/List/components/ListItemSelectable.js +5 -5
- package/components/List/components/ListItemTable.js +6 -6
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +6 -6
- package/components/List/components/ListSortableItemControls.js +8 -8
- 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 +5 -5
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +8 -8
- package/components/ListMaster/components/SelectionControls.js +6 -6
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +5 -5
- package/components/Loader/LoaderSmall/LoaderSmall.js +5 -5
- package/components/LoaderScreen/LoaderScreen.js +13 -13
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +7 -7
- package/components/ModalWindow/ModalWindow.js +6 -6
- package/components/ModalWindow/components/ModalWindowBody.js +14 -182
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +6 -6
- package/components/MonthYearField/utils.js +1 -1
- package/components/MultiselectField/MultiselectField.js +22 -0
- package/components/MultiselectField/MultiselectFieldContext.js +10 -0
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +65 -0
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +23 -0
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +13 -0
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +13 -0
- package/components/MultiselectField/components/index.js +11 -0
- package/components/MultiselectField/index.js +5 -0
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyContent.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/Notification/index.js +7 -0
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +3 -3
- package/components/OrderedList/OrderedListItem.js +6 -6
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +2 -2
- package/components/Page/components/BodyPage.js +2 -2
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +5 -4
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +10 -10
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +10 -10
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +5 -5
- package/components/Row/Row.js +5 -5
- package/components/SMSInput/SMSInput.js +3 -3
- package/components/SMSInput/components/RefreshIcon.js +2 -2
- package/components/SMSInput/components/SMSInputInput.js +3 -3
- package/components/SMSInput/components/SMSInputRefresh.js +2 -2
- package/components/SMSInput/components/SMSInputSubmit.js +2 -2
- package/components/SMSInput/components/SMSInputTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +5 -5
- package/components/SegmentedControl/SegmentedControlSegment.js +9 -9
- package/components/SelectExtendedField/SelectExtendedField.js +60 -54
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +83 -69
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +9 -9
- package/components/Slider/Slider.js +20 -0
- package/components/Slider/index.js +5 -0
- package/components/SliderExtended/SliderExtended.js +102 -0
- package/components/SliderExtended/SliderExtendedContext.js +30 -0
- package/components/SliderExtended/SliderExtendedUtils.js +32 -0
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +158 -0
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDotActions.js +12 -0
- package/components/SliderExtended/components/SliderExtendedDot/useSliderExtendedDotTabIndex.js +21 -0
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +48 -0
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarkActions.js +27 -0
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +9 -0
- package/components/SliderExtended/components/SliderExtendedMoveHandler.js +25 -0
- package/components/SliderExtended/components/SliderExtendedRail.js +10 -0
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +39 -0
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +147 -0
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrackActions.js +36 -0
- package/components/SliderExtended/index.js +5 -0
- package/components/SliderRange/SliderRange.js +63 -0
- package/components/SliderRange/index.js +5 -0
- package/components/SmallInput/SmallInput.js +11 -0
- package/components/SmallInput/index.js +5 -0
- package/components/Spoiler/Spoiler.js +5 -5
- package/components/StatusTracker/StatusTracker.js +13 -13
- package/components/StatusTracker/components/StatusTrackerAlert.js +2 -2
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +2 -2
- package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
- package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
- package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
- package/components/StatusTracker/components/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/StatusTracker/enums.js +1 -1
- package/components/StatusTracker/index.js +3 -0
- package/components/Step/Step.js +7 -7
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +4 -4
- package/components/Stepper/StepperExtended.js +6 -6
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +7 -7
- package/components/Suggest/SuggestMobileDropdownContent.js +6 -6
- package/components/SuggestField/SuggestField.js +1 -1
- package/components/SuggestField/SuggestFieldTarget.js +1 -1
- package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +14 -14
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +3 -3
- package/components/Table/FilterPanel.js +7 -7
- package/components/Table/MasterTable.js +7 -7
- package/components/Table/NoColumns.js +8 -8
- package/components/Table/PaginationPanel.js +5 -5
- package/components/Table/TableBasic/TableBasic.js +20 -20
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +31 -34
- package/components/Table/TableBasicSettings/TableBasicSettings.js +27 -29
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +4 -4
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +6 -6
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +5 -5
- package/components/Table/TableFooter/TableFooter.js +14 -11
- 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 +6 -6
- package/components/Table/TabsLinePanelLinks.js +22 -10
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +14 -14
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +7 -7
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +3 -3
- package/components/TabsLine/components/TabsLineItem.js +13 -12
- package/components/TabsLine/components/TabsLineMobile.js +10 -10
- package/components/Tag/Tag.js +7 -7
- package/components/TagGroup/TagGroup.js +13 -13
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ThemeProvider/components/ThemeProviderView.js +3 -3
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +7 -7
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +2 -2
- package/components/Tooltip/components/mobile/components/TooltipMobileCloseButton.js +1 -1
- package/components/Tooltip/components/mobile/components/TooltipMobileHeader.js +1 -1
- package/components/TopOverlay/TopOverlay.js +85 -0
- package/components/TopOverlay/index.js +5 -0
- package/components/TreeView/TreeView.js +9 -8
- package/components/TreeView/components/TreeViewGroup.js +3 -2
- package/components/TreeView/components/TreeViewNode.js +12 -11
- package/components/Typography/Caption.js +8 -8
- package/components/Typography/Text.js +17 -17
- package/components/Typography/Title.js +13 -13
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +3 -3
- package/components/UnorderedList/UnorderedListItem.js +7 -7
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +499 -415
- package/consts/DateConst.js +1 -1
- package/helpers/less/z-indexes.less +6 -1
- package/index.d.ts +1149 -141
- package/index.js +506 -422
- package/package.json +45 -1
- package/styles/triplex-next.css +527 -501
- package/utils/amountUtils.js +1 -1
- package/chunks/CalendarViewItem-Cs4qo2T0.js +0 -105
- package/chunks/Card.module-lZl8x0iL.js +0 -17
- package/chunks/DropdownListItem-SqymKZn5.js +0 -57
- package/chunks/DropdownMobile.module-C_Jtpfxj.js +0 -21
- package/chunks/Footer.module-3tcvZGt3.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-DqrwTmWo.js +0 -9
- package/chunks/HeaderTabs.module-DegB0R8X.js +0 -9
- package/chunks/IslandAccordion.module-DFvQwhSg.js +0 -22
- package/chunks/LightBoxControls.module-Dn4GtUtF.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-BUvFYJwr.js +0 -8
- package/chunks/ListItemTail.module-CZYSMJRz.js +0 -12
- package/chunks/ListMasterFooter.module-Bw6BVPVj.js +0 -10
- package/chunks/ModalWindow.module-DGcF8-xJ.js +0 -17
- package/chunks/Notification.module-Cj_Pd4DQ.js +0 -21
- package/chunks/Overlay.module-BqJXvoeX.js +0 -18
- package/chunks/Page.module-DUQ6i8Ez.js +0 -12
- package/chunks/SMSInput.module-D1TiDw_A.js +0 -16
- package/chunks/StatusTracker.module-DetC6Udk.js +0 -24
- package/chunks/TableFooter.module-BF4P3QCw.js +0 -13
- package/chunks/TabsExtended.module-BciQYRi4.js +0 -16
- package/chunks/TabsLine.module-Cx0n_AdV.js +0 -23
- package/chunks/TooltipDesktop.module-DK06gaHe.js +0 -19
- package/chunks/utils-CXhKCNyM.js +0 -72
- package/chunks/utils-CoHHiBA8.js +0 -24
- package/chunks/utils-D9w2Kvyk.js +0 -36
- package/components/Calendar/CalendarRange.js +0 -28
- package/components/Calendar/components/CalendarTodayButton.js +0 -31
- package/components/LightBox/LightBoxTopOverlay/LightBoxTopOverlay.js +0 -86
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as p } from "../../../chunks/vendor-
|
|
2
|
+
import c, { useContext as F } from "react";
|
|
3
|
+
import { c as p } from "../../../chunks/vendor-D3hUOusX.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__8f6668b5", v = "hidden__70313ef0", t = {
|
|
9
9
|
formFieldClear: _,
|
|
10
10
|
hidden: v
|
|
11
|
-
}, I =
|
|
11
|
+
}, I = c.forwardRef(
|
|
12
12
|
({ className: l, onMouseDown: e, ...d }, m) => {
|
|
13
|
-
const { status: s, focused: a, hovered: i, valueExist: f } = F(C),
|
|
13
|
+
const { status: s, focused: a, hovered: i, valueExist: f } = F(C), n = p(
|
|
14
14
|
t.formFieldClear,
|
|
15
15
|
"hoverable",
|
|
16
16
|
{
|
|
@@ -18,7 +18,7 @@ const _ = "formFieldClear__f91e6791", v = "hidden__f9efc227", t = {
|
|
|
18
18
|
},
|
|
19
19
|
l
|
|
20
20
|
);
|
|
21
|
-
return /* @__PURE__ */ o(x, { className:
|
|
21
|
+
return /* @__PURE__ */ o(x, { className: n, onMouseDown: (r) => {
|
|
22
22
|
r.preventDefault(), e == null || e(r);
|
|
23
23
|
}, ...d, ref: m, children: /* @__PURE__ */ o(h, { paletteIndex: 5 }) });
|
|
24
24
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
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__8a5bfe4a", u = {
|
|
5
5
|
formFieldCounter: s
|
|
6
|
-
}, f = ({ children:
|
|
6
|
+
}, f = ({ children: e, ...o }) => {
|
|
7
7
|
const { setWithCounter: t } = i(n);
|
|
8
8
|
return m(() => {
|
|
9
9
|
t(!0);
|
|
10
|
-
}, []), /* @__PURE__ */ r("div", { className: u.formFieldCounter, ...
|
|
10
|
+
}, []), /* @__PURE__ */ r("div", { className: u.formFieldCounter, ...o, children: e });
|
|
11
11
|
};
|
|
12
12
|
f.displayName = "FormFieldCounter";
|
|
13
13
|
export {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useState as n } from "react";
|
|
3
|
-
import { c } from "../../../chunks/vendor-
|
|
3
|
+
import { c } from "../../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { FormFieldDescriptionContext as m } from "../FormFieldDescriptionContext.js";
|
|
5
|
-
const l = "
|
|
5
|
+
const l = "formFieldDescription__04c30e8b", p = "withCounter__ab72fda8", i = {
|
|
6
6
|
formFieldDescription: l,
|
|
7
7
|
withCounter: p
|
|
8
|
-
},
|
|
8
|
+
}, d = ({ children: e, ...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(i.formFieldDescription, { [i.withCounter]: o }), ...r, children: e }) });
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
d.displayName = "FormFieldDescription";
|
|
13
13
|
export {
|
|
14
|
-
|
|
14
|
+
d as FormFieldDescription
|
|
15
15
|
};
|
|
16
16
|
//# sourceMappingURL=FormFieldDescription.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../FormFieldContext.js";
|
|
4
|
-
import "../../../chunks/vendor-
|
|
5
|
-
import { F as a } from "../../../chunks/FormFieldInput-
|
|
4
|
+
import "../../../chunks/vendor-D3hUOusX.js";
|
|
5
|
+
import { F as a } from "../../../chunks/FormFieldInput-BBhoiftf.js";
|
|
6
6
|
import "../enums.js";
|
|
7
7
|
import "../../../utils/classNameMaps.js";
|
|
8
8
|
export {
|
|
@@ -2,26 +2,26 @@ 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
4
|
import { TARGET_PADDING_X_DEFAULT as m } from "../consts.js";
|
|
5
|
-
import { o as D, c as N } from "../../../chunks/vendor-
|
|
5
|
+
import { o as D, c as N } from "../../../chunks/vendor-D3hUOusX.js";
|
|
6
6
|
import { EFormFieldStatus as y } from "../enums.js";
|
|
7
|
-
const A = "
|
|
7
|
+
const A = "formFieldLabel__8c7d557e", R = "floating__5f3fd3a4", S = "formFieldLabelText__c1999037", C = "disabled__a453a005", s = {
|
|
8
8
|
formFieldLabel: A,
|
|
9
|
-
"size-sm": "size-
|
|
10
|
-
"size-md": "size-
|
|
11
|
-
"size-lg": "size-
|
|
9
|
+
"size-sm": "size-sm__a05087c7",
|
|
10
|
+
"size-md": "size-md__534a484a",
|
|
11
|
+
"size-lg": "size-lg__01deb97d",
|
|
12
12
|
floating: R,
|
|
13
13
|
formFieldLabelText: S,
|
|
14
14
|
disabled: C
|
|
15
15
|
}, G = p.forwardRef(
|
|
16
|
-
({ children: f, className: r, style:
|
|
17
|
-
const { status:
|
|
16
|
+
({ children: f, className: r, style: c, floating: e, ...n }, F) => {
|
|
17
|
+
const { status: _, focused: t, id: b, 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);
|
|
20
20
|
}, [t, a, e, l]);
|
|
21
21
|
const u = N(
|
|
22
22
|
s.formFieldLabel,
|
|
23
23
|
{
|
|
24
|
-
[s.disabled]:
|
|
24
|
+
[s.disabled]: _ === y.DISABLED,
|
|
25
25
|
[s.floating]: l,
|
|
26
26
|
[s[`size-${i}`]]: i
|
|
27
27
|
},
|
|
@@ -31,9 +31,9 @@ const A = "formFieldLabel__e47737a6", R = "floating__3154b5a5", S = "formFieldLa
|
|
|
31
31
|
left: L || m,
|
|
32
32
|
// Правая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
33
33
|
right: x || m,
|
|
34
|
-
...
|
|
34
|
+
...c
|
|
35
35
|
};
|
|
36
|
-
return /* @__PURE__ */ d("label", { className: u, ref:
|
|
36
|
+
return /* @__PURE__ */ d("label", { className: u, ref: F, htmlFor: b, ...n, style: z, children: /* @__PURE__ */ d("span", { className: s.formFieldLabelText, children: f }) });
|
|
37
37
|
}
|
|
38
38
|
);
|
|
39
39
|
G.displayName = "FormFieldLabel";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsxs as N, jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { useState as O, useRef as q, useContext as A, useEffect as B, useCallback as D } from "react";
|
|
3
|
-
import { c as F, q as U, s as p } from "../../../chunks/vendor-
|
|
3
|
+
import { c as F, q as U, s as p } from "../../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { presets as G } from "./FormFieldMaskedInputPresets.js";
|
|
5
|
-
import { s as H, F as J } from "../../../chunks/FormFieldInput-
|
|
5
|
+
import { s as H, F as J } from "../../../chunks/FormFieldInput-BBhoiftf.js";
|
|
6
6
|
import { FormFieldContext as K } from "../FormFieldContext.js";
|
|
7
|
-
const L = "
|
|
7
|
+
const L = "formFieldMaskedInputWrapper__ccdbf74e", Q = "formFieldMaskedInputPlaceholder__a0993816", X = "formFieldMaskedInput__f11e71b1", l = {
|
|
8
8
|
formFieldMaskedInputWrapper: L,
|
|
9
9
|
formFieldMaskedInputPlaceholder: Q,
|
|
10
|
-
"size-sm": "size-
|
|
11
|
-
"size-md": "size-
|
|
12
|
-
"size-lg": "size-
|
|
10
|
+
"size-sm": "size-sm__a05087c7",
|
|
11
|
+
"size-md": "size-md__534a484a",
|
|
12
|
+
"size-lg": "size-lg__01deb97d",
|
|
13
13
|
formFieldMaskedInput: X
|
|
14
14
|
}, c = ({
|
|
15
15
|
className: I,
|
|
@@ -40,13 +40,13 @@ const L = "formFieldMaskedInputWrapper__33b07a20", Q = "formFieldMaskedInputPlac
|
|
|
40
40
|
return t.join("");
|
|
41
41
|
})());
|
|
42
42
|
}, [s, o, i, u]);
|
|
43
|
-
const
|
|
43
|
+
const T = D(
|
|
44
44
|
(e) => {
|
|
45
45
|
const { value: t } = e.target;
|
|
46
46
|
a.current = !1, s !== t && (d == null || d(e));
|
|
47
47
|
},
|
|
48
48
|
[s, d]
|
|
49
|
-
),
|
|
49
|
+
), b = () => {
|
|
50
50
|
a.current = !0;
|
|
51
51
|
}, E = (e, t) => o === c.presets.masks.phone ? e.length ? P(t.rawValue) : e : o === c.presets.masks.swiftCode ? e.toUpperCase() : e, P = (e) => {
|
|
52
52
|
let t = [];
|
|
@@ -83,8 +83,8 @@ const L = "formFieldMaskedInputWrapper__33b07a20", Q = "formFieldMaskedInputPlac
|
|
|
83
83
|
guide: !1,
|
|
84
84
|
render: (e, t) => /* @__PURE__ */ m(J, { ...t, value: s, placeholder: M || "", ref: j(e) }),
|
|
85
85
|
mask: o,
|
|
86
|
-
onChange:
|
|
87
|
-
onPaste:
|
|
86
|
+
onChange: T,
|
|
87
|
+
onPaste: b,
|
|
88
88
|
placeholderChar: i,
|
|
89
89
|
value: W(),
|
|
90
90
|
pipe: E,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { FormFieldContext as
|
|
4
|
-
import { c as p } from "../../../chunks/vendor-
|
|
5
|
-
const P = "
|
|
1
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
+
import l, { useContext as x, useRef as u, useEffect as a } from "react";
|
|
3
|
+
import { FormFieldContext as F } from "../FormFieldContext.js";
|
|
4
|
+
import { c as p } from "../../../chunks/vendor-D3hUOusX.js";
|
|
5
|
+
const P = "formFieldPostfix__50d2379a", R = {
|
|
6
6
|
formFieldPostfix: P
|
|
7
|
-
}, _ =
|
|
8
|
-
({ children: s, className:
|
|
9
|
-
const
|
|
7
|
+
}, _ = l.forwardRef(
|
|
8
|
+
({ children: s, className: i, ...r }, o) => {
|
|
9
|
+
const f = p(R.formFieldPostfix, i), { postfixWidth: n, setPostfixWidth: c } = x(F), e = u(), m = (t) => {
|
|
10
10
|
e.current = t, typeof o == "function" ? o(t) : o && (o.current = t);
|
|
11
11
|
};
|
|
12
|
-
return
|
|
12
|
+
return a(() => {
|
|
13
13
|
if (!e.current)
|
|
14
14
|
return;
|
|
15
15
|
const { width: t } = e.current.getBoundingClientRect();
|
|
16
16
|
t !== n && c(t);
|
|
17
|
-
}), /* @__PURE__ */
|
|
17
|
+
}), /* @__PURE__ */ d("span", { className: f, ref: m, ...r, children: s });
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
_.displayName = "FormFieldPostfix";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
+
import l, { useContext as x, useRef as u, useEffect as F } from "react";
|
|
3
3
|
import { FormFieldContext as a } from "../FormFieldContext.js";
|
|
4
|
-
import { c as p } from "../../../chunks/vendor-
|
|
5
|
-
const P = "
|
|
4
|
+
import { c as p } from "../../../chunks/vendor-D3hUOusX.js";
|
|
5
|
+
const P = "formFieldPrefix__17de3372", R = {
|
|
6
6
|
formFieldPrefix: P
|
|
7
|
-
}, _ =
|
|
7
|
+
}, _ = l.forwardRef(
|
|
8
8
|
({ children: o, className: i, ...f }, r) => {
|
|
9
9
|
const s = p(R.formFieldPrefix, i), { prefixWidth: n, setPrefixWidth: c } = x(a), t = u(), m = (e) => {
|
|
10
10
|
t.current = e, typeof r == "function" ? r(e) : r && (r.current = e);
|
|
@@ -14,7 +14,7 @@ const P = "formFieldPrefix__56941cb8", R = {
|
|
|
14
14
|
return;
|
|
15
15
|
const { width: e } = t.current.getBoundingClientRect();
|
|
16
16
|
e !== n && c(e);
|
|
17
|
-
}), /* @__PURE__ */
|
|
17
|
+
}), /* @__PURE__ */ d("span", { className: s, ref: m, ...f, children: o });
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
_.displayName = "FormFieldPrefix";
|
|
@@ -1,44 +1,45 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import x, { useContext as E, useRef as T, useEffect as
|
|
1
|
+
import { jsx as u } from "react/jsx-runtime";
|
|
2
|
+
import x, { useContext as E, useRef as T, useEffect as n } from "react";
|
|
3
3
|
import { FormFieldContext as B } from "../FormFieldContext.js";
|
|
4
|
-
import { c as
|
|
5
|
-
import { EFormFieldStatus as
|
|
6
|
-
const L = "
|
|
7
|
-
formFieldTarget:
|
|
8
|
-
placeholder:
|
|
9
|
-
disabled:
|
|
10
|
-
"size-sm": "size-
|
|
11
|
-
"size-md": "size-
|
|
12
|
-
"size-lg": "size-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
[
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
4
|
+
import { c as N, a as S } from "../../../chunks/vendor-D3hUOusX.js";
|
|
5
|
+
import { EFormFieldStatus as t } from "../enums.js";
|
|
6
|
+
const A = "formFieldTarget__e2c2ae74", L = "placeholder__2b9d8565", W = "disabled__a453a005", R = "placeholderWrapper__3addf8f4", e = {
|
|
7
|
+
formFieldTarget: A,
|
|
8
|
+
placeholder: L,
|
|
9
|
+
disabled: W,
|
|
10
|
+
"size-sm": "size-sm__a05087c7",
|
|
11
|
+
"size-md": "size-md__534a484a",
|
|
12
|
+
"size-lg": "size-lg__01deb97d",
|
|
13
|
+
placeholderWrapper: R
|
|
14
|
+
}, y = x.forwardRef((_, F) => {
|
|
15
|
+
const { className: h, id: r, onBlur: o, onFocus: c, placeholder: m, children: s, ...g } = _, { status: a, setFocused: p, setId: d, setValueExist: f, size: b } = E(B), z = N(e.formFieldTarget, h, e[`size-${b}`], {
|
|
16
|
+
[e.disabled]: a === t.DISABLED,
|
|
17
|
+
[e.placeholder]: !!m && !s && a !== t.DISABLED
|
|
18
|
+
}), l = T(r || S("formFieldTarget_"));
|
|
19
|
+
n(() => {
|
|
20
|
+
d(l.current);
|
|
21
|
+
}, [d]), n(() => {
|
|
22
|
+
r && (l.current = r, d(l.current));
|
|
23
|
+
}, [r, d]), n(() => {
|
|
24
|
+
f(!!s);
|
|
25
|
+
}, [f, s]);
|
|
26
|
+
const D = (i) => {
|
|
27
|
+
p(!1), o == null || o(i);
|
|
28
|
+
}, I = (i) => {
|
|
29
|
+
p(!0), c == null || c(i);
|
|
29
30
|
};
|
|
30
|
-
return /* @__PURE__ */
|
|
31
|
+
return /* @__PURE__ */ u(
|
|
31
32
|
"div",
|
|
32
33
|
{
|
|
33
|
-
...
|
|
34
|
-
className:
|
|
35
|
-
"aria-disabled":
|
|
36
|
-
id:
|
|
37
|
-
onFocus:
|
|
38
|
-
onBlur:
|
|
39
|
-
tabIndex:
|
|
40
|
-
ref:
|
|
41
|
-
children: s ||
|
|
34
|
+
...g,
|
|
35
|
+
className: z,
|
|
36
|
+
"aria-disabled": a === t.DISABLED,
|
|
37
|
+
id: l.current,
|
|
38
|
+
onFocus: I,
|
|
39
|
+
onBlur: D,
|
|
40
|
+
tabIndex: a === t.DISABLED ? -1 : 0,
|
|
41
|
+
ref: F,
|
|
42
|
+
children: s || /* @__PURE__ */ u("span", { className: e.placeholderWrapper, children: m })
|
|
42
43
|
}
|
|
43
44
|
);
|
|
44
45
|
});
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { jsx as E } from "react/jsx-runtime";
|
|
2
|
-
import I, { useContext as
|
|
3
|
-
import { FormFieldContext as
|
|
4
|
-
import { a as
|
|
5
|
-
import { createSizeToClassNameMap as
|
|
6
|
-
import { EFormFieldStatus as
|
|
7
|
-
const
|
|
8
|
-
formFieldTextarea:
|
|
9
|
-
sm:
|
|
2
|
+
import I, { useContext as g, useRef as h, useEffect as c } from "react";
|
|
3
|
+
import { FormFieldContext as z } from "../FormFieldContext.js";
|
|
4
|
+
import { a as R, c as S } from "../../../chunks/vendor-D3hUOusX.js";
|
|
5
|
+
import { createSizeToClassNameMap as y } from "../../../utils/classNameMaps.js";
|
|
6
|
+
import { EFormFieldStatus as D } from "../enums.js";
|
|
7
|
+
const M = "formFieldTextarea__1ea0f108", b = "sm__ae3e17c6", j = "md__3ee668f8", q = "lg__45373710", l = {
|
|
8
|
+
formFieldTextarea: M,
|
|
9
|
+
sm: b,
|
|
10
10
|
md: j,
|
|
11
11
|
lg: q
|
|
12
|
-
}, w =
|
|
12
|
+
}, w = y(l), A = I.forwardRef(
|
|
13
13
|
({ className: f, id: e, onBlur: a, onFocus: r, placeholder: n, value: o, ...x }, p) => {
|
|
14
|
-
const { size: u, status: F, focused: _, setFocused:
|
|
15
|
-
|
|
14
|
+
const { size: u, status: F, focused: _, setFocused: d, setId: t, setValueExist: i } = g(z), s = h(e === void 0 ? R() : ""), T = S(l.formFieldTextarea, w[u], f);
|
|
15
|
+
c(() => {
|
|
16
16
|
t(s.current);
|
|
17
|
-
}, [t]),
|
|
17
|
+
}, [t]), c(() => {
|
|
18
18
|
e && (s.current = e, t(s.current));
|
|
19
|
-
}, [e, t]),
|
|
19
|
+
}, [e, t]), c(() => {
|
|
20
20
|
i(!!o);
|
|
21
21
|
}, [i, o]);
|
|
22
22
|
const N = (m) => {
|
|
23
|
-
|
|
23
|
+
d(!1), a == null || a(m);
|
|
24
24
|
}, C = (m) => {
|
|
25
|
-
|
|
25
|
+
d(!0), r == null || r(m);
|
|
26
26
|
};
|
|
27
27
|
return /* @__PURE__ */ E(
|
|
28
28
|
"textarea",
|
|
@@ -30,7 +30,7 @@ const D = "formFieldTextarea__7bd41c9c", M = "sm__72b40d84", j = "md__ad0d6702",
|
|
|
30
30
|
...x,
|
|
31
31
|
id: s.current,
|
|
32
32
|
className: T,
|
|
33
|
-
disabled: F ===
|
|
33
|
+
disabled: F === D.DISABLED,
|
|
34
34
|
onFocus: C,
|
|
35
35
|
onBlur: N,
|
|
36
36
|
placeholder: _ ? n : void 0,
|
|
@@ -4,7 +4,7 @@ import { FormFieldCounter as i } from "./components/FormFieldCounter.js";
|
|
|
4
4
|
import { FormFieldLabel as p } from "./components/FormFieldLabel.js";
|
|
5
5
|
import { FormFieldClear as d } from "./components/FormFieldClear.js";
|
|
6
6
|
import { FormFieldTarget as a } from "./components/FormFieldTarget.js";
|
|
7
|
-
import { F as n } from "../../chunks/FormFieldInput-
|
|
7
|
+
import { F as n } from "../../chunks/FormFieldInput-BBhoiftf.js";
|
|
8
8
|
import { FormFieldMaskedInput as C } from "./components/FormFieldMaskedInput.js";
|
|
9
9
|
import { FormFieldPostfix as I } from "./components/FormFieldPostfix.js";
|
|
10
10
|
import { FormFieldPrefix as S } from "./components/FormFieldPrefix.js";
|
|
@@ -12,7 +12,7 @@ import "./components/HeaderTitle/HeaderTitleContent.js";
|
|
|
12
12
|
import "./components/HeaderTitle/HeaderTitleControls.js";
|
|
13
13
|
const f = Object.assign(
|
|
14
14
|
a.forwardRef(function({ children: r, ...e }, t) {
|
|
15
|
-
return /* @__PURE__ */ o("div", { ...e, "data-tx": "1.
|
|
15
|
+
return /* @__PURE__ */ o("div", { ...e, "data-tx": "1.6.0", ref: t, children: r });
|
|
16
16
|
}),
|
|
17
17
|
{
|
|
18
18
|
LayoutSidebar: p,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import d from "react";
|
|
3
|
-
import { c as i } from "../../../../chunks/vendor-
|
|
3
|
+
import { c as i } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { HeaderLayoutSidebarContent as m } from "./HeaderLayoutSidebarContent.js";
|
|
5
5
|
import { HeaderLayoutSidebarSidebar as s } from "./HeaderLayoutSidebarSidebar.js";
|
|
6
|
-
import { s as f } from "../../../../chunks/HeaderLayoutSidebar.module-
|
|
6
|
+
import { s as f } from "../../../../chunks/HeaderLayoutSidebar.module-DaB6pHPF.js";
|
|
7
7
|
const b = Object.assign(
|
|
8
8
|
d.forwardRef(function({ children: e, className: r, ...a }, o) {
|
|
9
9
|
return /* @__PURE__ */ t("div", { className: i(f.headerLayoutSidebar, r), ...a, ref: o, children: e });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import s from "react";
|
|
3
|
-
import { c as d } from "../../../../chunks/vendor-
|
|
4
|
-
import { s as m } from "../../../../chunks/HeaderLayoutSidebar.module-
|
|
3
|
+
import { c as d } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
import { s as m } from "../../../../chunks/HeaderLayoutSidebar.module-DaB6pHPF.js";
|
|
5
5
|
const i = s.forwardRef(
|
|
6
6
|
({ children: e, className: a, ...t }, o) => /* @__PURE__ */ r("div", { className: d(m.headerLayoutSidebarContent, a), ...t, ref: o, children: e })
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { c as t } from "../../../../chunks/vendor-
|
|
4
|
-
import { s } from "../../../../chunks/HeaderLayoutSidebar.module-
|
|
3
|
+
import { c as t } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
import { s } from "../../../../chunks/HeaderLayoutSidebar.module-DaB6pHPF.js";
|
|
5
5
|
const m = i.forwardRef(
|
|
6
6
|
({ children: a, className: r, ...e }, o) => /* @__PURE__ */ d("div", { className: t(s.headerLayoutSidebarSidebar, r), ...e, ref: o, children: a })
|
|
7
7
|
);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import h from "react";
|
|
3
|
-
import { c as i } from "../../../../chunks/vendor-
|
|
4
|
-
const u = "
|
|
3
|
+
import { c as i } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
const u = "headerSubheader__8ca99d7f", c = "withoutPaddings__f4865268", e = {
|
|
5
5
|
headerSubheader: u,
|
|
6
|
-
withoutPaddings:
|
|
7
|
-
},
|
|
6
|
+
withoutPaddings: c
|
|
7
|
+
}, n = h.forwardRef(
|
|
8
8
|
({ children: a, className: d, withoutPaddings: r, ...t }, o) => /* @__PURE__ */ s(
|
|
9
9
|
"div",
|
|
10
10
|
{
|
|
@@ -15,8 +15,8 @@ const u = "headerSubheader__9d1073a2", n = "withoutPaddings__798593f8", e = {
|
|
|
15
15
|
}
|
|
16
16
|
)
|
|
17
17
|
);
|
|
18
|
-
|
|
18
|
+
n.displayName = "HeaderSubheader";
|
|
19
19
|
export {
|
|
20
|
-
|
|
20
|
+
n as HeaderSubheader
|
|
21
21
|
};
|
|
22
22
|
//# sourceMappingURL=HeaderSubheader.js.map
|
|
@@ -2,8 +2,8 @@ import { jsx as s } from "react/jsx-runtime";
|
|
|
2
2
|
import t from "react";
|
|
3
3
|
import { HeaderTabsContent as m } from "./HeaderTabsContent.js";
|
|
4
4
|
import { HeaderTabsControls as n } from "./HeaderTabsControls.js";
|
|
5
|
-
import { c as d } from "../../../../chunks/vendor-
|
|
6
|
-
import { s as f } from "../../../../chunks/HeaderTabs.module-
|
|
5
|
+
import { c as d } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
6
|
+
import { s as f } from "../../../../chunks/HeaderTabs.module-DK3rR1yV.js";
|
|
7
7
|
const i = Object.assign(
|
|
8
8
|
t.forwardRef(function({ children: r, className: e, ...a }, o) {
|
|
9
9
|
return /* @__PURE__ */ s("div", { className: d(f.headerTabs, e), ...a, ref: o, children: r });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import s from "react";
|
|
3
|
-
import { c as m } from "../../../../chunks/vendor-
|
|
4
|
-
import { s as n } from "../../../../chunks/HeaderTabs.module-
|
|
3
|
+
import { c as m } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
import { s as n } from "../../../../chunks/HeaderTabs.module-DK3rR1yV.js";
|
|
5
5
|
const d = s.forwardRef(
|
|
6
6
|
({ children: e, className: r, ...t }, a) => /* @__PURE__ */ o("div", { className: m(n.headerTabsContent, r), ...t, ref: a, children: e })
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import t from "react";
|
|
3
|
-
import { c as m } from "../../../../chunks/vendor-
|
|
4
|
-
import { s as l } from "../../../../chunks/HeaderTabs.module-
|
|
3
|
+
import { c as m } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
import { s as l } from "../../../../chunks/HeaderTabs.module-DK3rR1yV.js";
|
|
5
5
|
const d = t.forwardRef(
|
|
6
6
|
({ children: o, className: r, ...s }, a) => /* @__PURE__ */ e("div", { className: m(l.headerTabsControls, r), ...s, ref: a, children: o })
|
|
7
7
|
);
|
|
@@ -2,8 +2,8 @@ import { jsx as a } from "react/jsx-runtime";
|
|
|
2
2
|
import i from "react";
|
|
3
3
|
import { HeaderTitleContent as s } from "./HeaderTitleContent.js";
|
|
4
4
|
import { HeaderTitleControls as m } from "./HeaderTitleControls.js";
|
|
5
|
-
import { c as l } from "../../../../chunks/vendor-
|
|
6
|
-
import { s as n } from "../../../../chunks/HeaderTitle.module-
|
|
5
|
+
import { c as l } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
6
|
+
import { s as n } from "../../../../chunks/HeaderTitle.module-CBMLSjn-.js";
|
|
7
7
|
const d = Object.assign(
|
|
8
8
|
i.forwardRef(function({ children: e, className: t, ...r }, o) {
|
|
9
9
|
return /* @__PURE__ */ a("div", { className: l(n.headerTitle, t), ...r, ref: o, children: e });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import s from "react";
|
|
3
|
-
import { c as i } from "../../../../chunks/vendor-
|
|
4
|
-
import { s as e } from "../../../../chunks/HeaderTitle.module-
|
|
3
|
+
import { c as i } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
import { s as e } from "../../../../chunks/HeaderTitle.module-CBMLSjn-.js";
|
|
5
5
|
const m = s.forwardRef(
|
|
6
6
|
({ children: t, className: r, ...o }, a) => /* @__PURE__ */ l(
|
|
7
7
|
"div",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import a from "react";
|
|
3
|
-
import { c as i } from "../../../../chunks/vendor-
|
|
4
|
-
import { s as o } from "../../../../chunks/HeaderTitle.module-
|
|
3
|
+
import { c as i } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
import { s as o } from "../../../../chunks/HeaderTitle.module-CBMLSjn-.js";
|
|
5
5
|
const m = a.forwardRef(
|
|
6
6
|
({ children: e, className: r, ...t }, l) => /* @__PURE__ */ s(
|
|
7
7
|
"div",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useRef as M, useState as
|
|
3
|
-
import { c as S,
|
|
1
|
+
import { jsxs as h, Fragment as E, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as M, useState as x, useId as R } from "react";
|
|
3
|
+
import { c as S, h as _ } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { HintFilledSrvIcon16 as L } from "@sberbusiness/icons-next";
|
|
5
5
|
import { ButtonIcon as j } from "../Button/ButtonIcon.js";
|
|
6
6
|
import { EButtonIconShape as k } from "../Button/enums.js";
|
|
@@ -9,24 +9,24 @@ import { TooltipMobileHeader as z } from "../Tooltip/components/mobile/component
|
|
|
9
9
|
import { MobileView as C } from "../MobileView/MobileView.js";
|
|
10
10
|
import { getDataHTMLAttributes as D } from "../../utils/html/DataAttributes.js";
|
|
11
11
|
import { getAriaHTMLAttributes as V } from "../../utils/html/AriaAttributes.js";
|
|
12
|
-
const X = "
|
|
12
|
+
const X = "helpBoxButton__19327057", $ = "helpBoxTooltipBody__acbc96cd", f = {
|
|
13
13
|
helpBoxButton: X,
|
|
14
14
|
helpBoxTooltipBody: $
|
|
15
15
|
}, q = ({
|
|
16
16
|
children: T,
|
|
17
17
|
className: y,
|
|
18
18
|
focusTrapProps: e,
|
|
19
|
-
mobileHeaderContent:
|
|
19
|
+
mobileHeaderContent: c,
|
|
20
20
|
isOpen: i,
|
|
21
21
|
onShow: n,
|
|
22
22
|
tooltipSize: I,
|
|
23
23
|
preferPlace: b,
|
|
24
24
|
toggle: r,
|
|
25
|
-
tooltipAriaAttributes:
|
|
25
|
+
tooltipAriaAttributes: s,
|
|
26
26
|
tooltipDataAttributes: p,
|
|
27
27
|
...v
|
|
28
28
|
}) => {
|
|
29
|
-
const d = M(null), [F, O] =
|
|
29
|
+
const d = M(null), [F, O] = x(!!i), [m, B] = x(null), u = R(), a = i ?? F, H = (o) => {
|
|
30
30
|
i === void 0 && O(o), o || B(null), r == null || r(o);
|
|
31
31
|
}, N = (o) => {
|
|
32
32
|
B(o), n == null || n(o);
|
|
@@ -50,8 +50,8 @@ const X = "helpBoxButton__8d37b9f9", $ = "helpBoxTooltipBody__745b7ec3", x = {
|
|
|
50
50
|
children: null
|
|
51
51
|
}
|
|
52
52
|
);
|
|
53
|
-
return /* @__PURE__ */
|
|
54
|
-
/* @__PURE__ */
|
|
53
|
+
return /* @__PURE__ */ h(E, { children: [
|
|
54
|
+
/* @__PURE__ */ h(
|
|
55
55
|
l,
|
|
56
56
|
{
|
|
57
57
|
id: u,
|
|
@@ -64,13 +64,13 @@ const X = "helpBoxButton__8d37b9f9", $ = "helpBoxTooltipBody__745b7ec3", x = {
|
|
|
64
64
|
toggle: H,
|
|
65
65
|
onShow: N,
|
|
66
66
|
targetRef: d,
|
|
67
|
-
...!!
|
|
67
|
+
...!!s && V(s),
|
|
68
68
|
...!!p && D(p),
|
|
69
69
|
children: [
|
|
70
70
|
/* @__PURE__ */ t(l.Target, { children: /* @__PURE__ */ t(
|
|
71
71
|
j,
|
|
72
72
|
{
|
|
73
|
-
className: S(
|
|
73
|
+
className: S(f.helpBoxButton, y),
|
|
74
74
|
"aria-label": "Подсказка",
|
|
75
75
|
shape: k.CIRCLE,
|
|
76
76
|
ref: d,
|
|
@@ -78,8 +78,8 @@ const X = "helpBoxButton__8d37b9f9", $ = "helpBoxTooltipBody__745b7ec3", x = {
|
|
|
78
78
|
children: /* @__PURE__ */ t(L, { paletteIndex: 5 })
|
|
79
79
|
}
|
|
80
80
|
) }),
|
|
81
|
-
|
|
82
|
-
/* @__PURE__ */ t(l.Body, { className:
|
|
81
|
+
c && /* @__PURE__ */ t(z, { children: c }),
|
|
82
|
+
/* @__PURE__ */ t(l.Body, { className: f.helpBoxTooltipBody, children: T }),
|
|
83
83
|
/* @__PURE__ */ t(l.XButton, { "aria-label": "Закрыть" })
|
|
84
84
|
]
|
|
85
85
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { c as d } from "../../chunks/vendor-
|
|
3
|
+
import { c as d } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { EIslandType as l } from "./enums.js";
|
|
5
5
|
import { IslandBody as f } from "./components/IslandBody.js";
|
|
6
6
|
import { IslandHeader as n } from "./components/IslandHeader.js";
|
|
7
7
|
import { IslandFooter as c } from "./components/IslandFooter.js";
|
|
8
|
-
import { s as o, m as y } from "../../chunks/utils-
|
|
8
|
+
import { s as o, m as y } from "../../chunks/utils-vwCIbf0H.js";
|
|
9
9
|
import { EComponentSize as I } from "../../enums/EComponentSize.js";
|
|
10
10
|
import { createSizeToClassNameMap as T } from "../../utils/classNameMaps.js";
|
|
11
11
|
const N = T(o), C = Object.assign(
|