@sberbusiness/triplex-next 1.45.0 → 1.47.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-54gQMEAr.js → AlertProcessSpoiler-Bws9nhT_.js} +17 -17
- package/chunks/{AlertProcessSpoiler-54gQMEAr.js.map → AlertProcessSpoiler-Bws9nhT_.js.map} +1 -1
- package/chunks/{CalendarViewItem-cQjxsIMh.js → CalendarViewItem-Bikp6svb.js} +21 -21
- package/chunks/{CalendarViewItem-cQjxsIMh.js.map → CalendarViewItem-Bikp6svb.js.map} +1 -1
- package/chunks/Card.module-BX03G_qX.js +32 -0
- package/chunks/Card.module-BX03G_qX.js.map +1 -0
- package/chunks/Carousel.module-Doem7_zb.js +30 -0
- package/chunks/Carousel.module-Doem7_zb.js.map +1 -0
- package/chunks/CheckboxTreeExtended.module-Bn7_t4on.js +24 -0
- package/chunks/CheckboxTreeExtended.module-Bn7_t4on.js.map +1 -0
- package/chunks/{Chip-CWaqKk62.js → Chip-DNn2jKWv.js} +17 -17
- package/chunks/{Chip-CWaqKk62.js.map → Chip-DNn2jKWv.js.map} +1 -1
- package/chunks/Confirm.module-Cu7K98Sg.js +24 -0
- package/chunks/Confirm.module-Cu7K98Sg.js.map +1 -0
- package/chunks/{DropdownListItem-kMroiHoh.js → DropdownListItem-B9cIx_8A.js} +11 -11
- package/chunks/{DropdownListItem-kMroiHoh.js.map → DropdownListItem-B9cIx_8A.js.map} +1 -1
- package/chunks/DropdownMobile.module-DnkRPsic.js +40 -0
- package/chunks/DropdownMobile.module-DnkRPsic.js.map +1 -0
- package/chunks/Footer.module-_S9ZcA7b.js +12 -0
- package/chunks/Footer.module-_S9ZcA7b.js.map +1 -0
- package/chunks/{HeaderLayoutSidebar.module-k_1rIXs0.js → HeaderLayoutSidebar.module-CNgPkokh.js} +4 -4
- package/chunks/HeaderLayoutSidebar.module-CNgPkokh.js.map +1 -0
- package/chunks/HeaderTabs.module-2XAHGidd.js +12 -0
- package/chunks/HeaderTabs.module-2XAHGidd.js.map +1 -0
- package/chunks/{HeaderTitle.module-BbIcVzwx.js → HeaderTitle.module-CFABp2sW.js} +4 -4
- package/chunks/HeaderTitle.module-CFABp2sW.js.map +1 -0
- package/chunks/ImageGalleryExtendedMain.module-DfFkrw4n.js +28 -0
- package/chunks/ImageGalleryExtendedMain.module-DfFkrw4n.js.map +1 -0
- package/chunks/{ImageGalleryExtendedThumb-DlJrbeiX.js → ImageGalleryExtendedThumb-Bm2vFDwB.js} +6 -6
- package/chunks/{ImageGalleryExtendedThumb-DlJrbeiX.js.map → ImageGalleryExtendedThumb-Bm2vFDwB.js.map} +1 -1
- package/chunks/IslandAccordion.module-CARpAvhk.js +44 -0
- package/chunks/IslandAccordion.module-CARpAvhk.js.map +1 -0
- package/chunks/IslandWidgetFooter.module-E0IBRK6A.js +18 -0
- package/chunks/IslandWidgetFooter.module-E0IBRK6A.js.map +1 -0
- package/chunks/IslandWidgetHeader.module-DgysHiDv.js +28 -0
- package/chunks/IslandWidgetHeader.module-DgysHiDv.js.map +1 -0
- package/chunks/{LightBoxContent-DDevHCAQ.js → LightBoxContent-b3ATzdz4.js} +17 -17
- package/chunks/{LightBoxContent-DDevHCAQ.js.map → LightBoxContent-b3ATzdz4.js.map} +1 -1
- package/chunks/LightBoxControls.module-CFiw2WEe.js +26 -0
- package/chunks/LightBoxControls.module-CFiw2WEe.js.map +1 -0
- package/chunks/{LightBoxSideOverlayClose.module-B_RmH_Zj.js → LightBoxSideOverlayClose.module-rUoDHQx6.js} +4 -4
- package/chunks/LightBoxSideOverlayClose.module-rUoDHQx6.js.map +1 -0
- package/chunks/{ListItemControlsButton-BGHyQIXE.js → ListItemControlsButton-DATlwch8.js} +10 -10
- package/chunks/{ListItemControlsButton-BGHyQIXE.js.map → ListItemControlsButton-DATlwch8.js.map} +1 -1
- package/chunks/ListItemTail.module-DEbIYD0x.js +18 -0
- package/chunks/ListItemTail.module-DEbIYD0x.js.map +1 -0
- package/chunks/ListMasterFooter.module-Dw_g_Hqv.js +14 -0
- package/chunks/ListMasterFooter.module-Dw_g_Hqv.js.map +1 -0
- package/chunks/ModalWindow.module-BIeL2Dm9.js +28 -0
- package/chunks/ModalWindow.module-BIeL2Dm9.js.map +1 -0
- package/chunks/Notification.module-CAVClo9k.js +34 -0
- package/chunks/Notification.module-CAVClo9k.js.map +1 -0
- package/chunks/Overlay.module-dRFf4RgK.js +30 -0
- package/chunks/Overlay.module-dRFf4RgK.js.map +1 -0
- package/chunks/Page.module-Bq4qHw4a.js +17 -0
- package/chunks/Page.module-Bq4qHw4a.js.map +1 -0
- package/chunks/SMSField.module-BFaDeCmy.js +30 -0
- package/chunks/SMSField.module-BFaDeCmy.js.map +1 -0
- package/chunks/SliderExtendedMarks.module-I5oq_ntW.js +24 -0
- package/chunks/SliderExtendedMarks.module-I5oq_ntW.js.map +1 -0
- package/chunks/{SliderExtendedRail-VEYm3CWM.js → SliderExtendedRail-CQjM0BDm.js} +7 -7
- package/chunks/SliderExtendedRail-CQjM0BDm.js.map +1 -0
- package/chunks/StatusTracker.module-CLL7XYcX.js +44 -0
- package/chunks/StatusTracker.module-CLL7XYcX.js.map +1 -0
- package/chunks/{StepperStepArrowBorder-B8OziF77.js → StepperStepArrowBorder-DDMmOSKy.js} +16 -16
- package/chunks/{StepperStepArrowBorder-B8OziF77.js.map → StepperStepArrowBorder-DDMmOSKy.js.map} +1 -1
- package/chunks/{SuggestFieldMobileDropdownHint-CEHlClB5.js → SuggestFieldMobileDropdownHint-BESIIDZs.js} +3 -3
- package/chunks/{SuggestFieldMobileDropdownHint-CEHlClB5.js.map → SuggestFieldMobileDropdownHint-BESIIDZs.js.map} +1 -1
- package/chunks/TableFooter.module-DyFW1z3j.js +22 -0
- package/chunks/TableFooter.module-DyFW1z3j.js.map +1 -0
- package/chunks/TabsExtended.module-DPptPKmZ.js +26 -0
- package/chunks/TabsExtended.module-DPptPKmZ.js.map +1 -0
- package/chunks/TabsLine.module-BOD6aGpU.js +36 -0
- package/chunks/TabsLine.module-BOD6aGpU.js.map +1 -0
- package/chunks/TooltipDesktop.module-_lk-8WZV.js +32 -0
- package/chunks/TooltipDesktop.module-_lk-8WZV.js.map +1 -0
- package/chunks/TreeView.module-mCVJ7u_z.js +12 -0
- package/chunks/TreeView.module-mCVJ7u_z.js.map +1 -0
- package/chunks/{UploadZoneInput-DW4bcKms.js → UploadZoneInput-1DuaS4IR.js} +6 -6
- package/chunks/{UploadZoneInput-DW4bcKms.js.map → UploadZoneInput-1DuaS4IR.js.map} +1 -1
- package/chunks/{constants-C-g_SxPw.js → constants-DUgeKsf9.js} +27 -27
- package/chunks/{constants-C-g_SxPw.js.map → constants-DUgeKsf9.js.map} +1 -1
- package/chunks/{utils-vSmFPvz4.js → utils-CvDoNsRH.js} +10 -10
- package/chunks/{utils-vSmFPvz4.js.map → utils-CvDoNsRH.js.map} +1 -1
- package/chunks/{utils-oLO5Fak1.js → utils-DhEse9-I.js} +6 -6
- package/chunks/{utils-oLO5Fak1.js.map → utils-DhEse9-I.js.map} +1 -1
- package/chunks/{utils-CRgskx0c.js → utils-c0Fgm-SD.js} +27 -27
- package/chunks/{utils-CRgskx0c.js.map → utils-c0Fgm-SD.js.map} +1 -1
- package/chunks/{utils-DogucNlz.js → utils-tt7vKg1E.js} +11 -11
- package/chunks/{utils-DogucNlz.js.map → utils-tt7vKg1E.js.map} +1 -1
- package/chunks/{vendor-D4wvHis9.js → vendor-CUIykw0y.js} +10 -5517
- package/chunks/vendor-CUIykw0y.js.map +1 -0
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +8 -8
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +3 -3
- package/components/AmountField/AmountBaseInputCore.js +2 -2
- package/components/AmountField/AmountBaseInputCore.js.map +1 -1
- package/components/AmountField/AmountBaseInputFormatter.js +7 -10
- package/components/AmountField/AmountBaseInputFormatter.js.map +1 -1
- package/components/AmountField/AmountBaseInputParser.js +9 -13
- package/components/AmountField/AmountBaseInputParser.js.map +1 -1
- package/components/AmountField/AmountField.js +38 -55
- package/components/AmountField/AmountField.js.map +1 -1
- package/components/AmountField/utils.js +12 -2
- package/components/AmountField/utils.js.map +1 -1
- package/components/Avatar/Avatar.js +14 -14
- package/components/Avatar/Avatar.js.map +1 -1
- package/components/Avatar/enums.js.map +1 -1
- package/components/Badge/Badge.js +5 -5
- package/components/Badge/BadgeDot.js +5 -5
- package/components/Badge/components/BadgeContent.js +7 -7
- package/components/Badge/components/BadgePostfix.js +2 -2
- package/components/Badge/components/BadgePrefix.js +2 -2
- package/components/Body/Body.js +4 -4
- package/components/Button/Button.js +21 -21
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +9 -9
- package/components/Button/ButtonDropdownExtended.js +3 -3
- package/components/Button/ButtonIcon.js +4 -4
- package/components/Calendar/Calendar.js +5 -5
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +2 -2
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +24 -10
- package/components/Card/CardAction.js.map +1 -1
- package/components/Card/CardStatic.js +26 -26
- package/components/Card/CardStatic.js.map +1 -1
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/CardContent.js.map +1 -1
- 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/Carousel/Carousel.js +2 -2
- package/components/Carousel/CarouselButton.js +2 -2
- package/components/Carousel/CarouselIndicators.js +65 -30
- package/components/Carousel/CarouselIndicators.js.map +1 -1
- package/components/Carousel/CarouselItem.js +2 -2
- package/components/Carousel/CarouselTrack.js +2 -2
- package/components/Carousel/CarouselViewport.js +2 -2
- package/components/CarouselExtended/CarouselExtended.js +2 -2
- package/components/Checkbox/Checkbox.js +11 -11
- package/components/Checkbox/CheckboxXGroup.js +9 -9
- package/components/Checkbox/CheckboxYGroup.js +2 -2
- package/components/CheckboxTree/CheckboxTree.js +34 -35
- package/components/CheckboxTree/CheckboxTree.js.map +1 -1
- package/components/CheckboxTree/utils.js +18 -11
- package/components/CheckboxTree/utils.js.map +1 -1
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +22 -9
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js.map +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +2 -2
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +3 -3
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMonthYearPicker/ChipMonthYearPicker.js +70 -0
- package/components/Chip/ChipMonthYearPicker/ChipMonthYearPicker.js.map +1 -0
- package/components/Chip/ChipMonthYearPicker/ChipMonthYearPickerTarget.js +72 -0
- package/components/Chip/ChipMonthYearPicker/ChipMonthYearPickerTarget.js.map +1 -0
- package/components/Chip/ChipMonthYearPicker/index.js +7 -0
- package/components/Chip/ChipMonthYearPicker/index.js.map +1 -0
- package/components/Chip/ChipMultiselect.js +15 -12
- package/components/Chip/ChipMultiselect.js.map +1 -1
- package/components/Chip/ChipOptions.js +29 -7
- package/components/Chip/ChipOptions.js.map +1 -1
- package/components/Chip/ChipSelect/ChipSelect.js +2 -2
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +13 -6
- package/components/Chip/ChipSort.js.map +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +24 -12
- package/components/Chip/ChipSuggest/ChipSuggest.js.map +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +12 -12
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js.map +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +3 -9
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js.map +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +4 -3
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js.map +1 -1
- package/components/Chip/index.js +5 -1
- package/components/Chip/index.js.map +1 -1
- package/components/ChipGroup/ChipGroup.js +8 -8
- package/components/Col/Col.js +133 -133
- package/components/CollapsibleTree/CollapsibleTree.js +2 -2
- package/components/CollapsibleTree/components/CollapsibleTreeLeafContent.js +2 -2
- package/components/CollapsibleTree/components/CollapsibleTreeLeafNode.js +2 -2
- package/components/CollapsibleTree/components/CollapsibleTreeNodeHeader.js +5 -5
- package/components/CollapsibleTreeExtended/CollapsibleTreeExtended.js +7 -2
- package/components/CollapsibleTreeExtended/CollapsibleTreeExtended.js.map +1 -1
- package/components/CollapsibleTreeExtended/components/CollapsibleTreeExtendedNode.js +2 -2
- package/components/Confirm/Confirm.js +22 -19
- package/components/Confirm/Confirm.js.map +1 -1
- package/components/Confirm/components/ConfirmClose.js +21 -7
- package/components/Confirm/components/ConfirmClose.js.map +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +4 -4
- package/components/Confirm/components/ConfirmCloseButton.js.map +1 -1
- package/components/Confirm/components/ConfirmContent.js +10 -5
- package/components/Confirm/components/ConfirmContent.js.map +1 -1
- package/components/Confirm/components/ConfirmContentSubTitle.js +4 -5
- package/components/Confirm/components/ConfirmContentSubTitle.js.map +1 -1
- package/components/Confirm/components/ConfirmContentTitle.js +6 -8
- package/components/Confirm/components/ConfirmContentTitle.js.map +1 -1
- package/components/Confirm/components/ConfirmControls.js +6 -3
- package/components/Confirm/components/ConfirmControls.js.map +1 -1
- package/components/Confirm/enums.js.map +1 -1
- package/components/DateField/DateField.js +43 -43
- package/components/DateField/DateField.js.map +1 -1
- package/components/DateField/DateFieldContext.js.map +1 -1
- package/components/DateField/DateFieldTarget.js +6 -5
- package/components/DateField/DateFieldTarget.js.map +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtended.js.map +1 -1
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +2 -2
- package/components/DateRange/DateRange.js +69 -82
- package/components/DateRange/DateRange.js.map +1 -1
- package/components/DateRange/types.js +2 -0
- package/components/DateRange/types.js.map +1 -0
- package/components/DateRange/utils.js +8 -0
- package/components/DateRange/utils.js.map +1 -0
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/components/Step.js +1 -1
- package/components/DesignTokens/components/Step.js.map +1 -1
- package/components/Divider/Divider.js +18 -18
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +4 -4
- package/components/Dropdown/desktop/DropdownDesktop.js +7 -7
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +2 -2
- package/components/Ellipsis/Ellipsis.js +4 -4
- package/components/EmptyView/EmptyView.js +5 -5
- package/components/ExpandAnimation/ExpandAnimation.js +2 -2
- package/components/FocusTrapExtended/FocusTrapExtended.js +1 -1
- 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 +12 -12
- package/components/FormField/FormFieldContext.js.map +1 -1
- package/components/FormField/components/FormFieldClear.js +2 -2
- package/components/FormField/components/FormFieldCounter.js +2 -2
- package/components/FormField/components/FormFieldDescription.js +3 -3
- package/components/FormField/components/FormFieldInput.js +6 -5
- package/components/FormField/components/FormFieldInput.js.map +1 -1
- package/components/FormField/components/FormFieldLabel.js +21 -9
- package/components/FormField/components/FormFieldLabel.js.map +1 -1
- package/components/FormField/components/FormFieldMaskedInput.js +29 -35
- package/components/FormField/components/FormFieldMaskedInput.js.map +1 -1
- package/components/FormField/components/FormFieldPostfix.js +2 -2
- package/components/FormField/components/FormFieldPrefix.js +2 -2
- package/components/FormField/components/FormFieldTarget.js +10 -13
- package/components/FormField/components/FormFieldTarget.js.map +1 -1
- package/components/FormField/components/FormFieldTextarea.js +6 -5
- package/components/FormField/components/FormFieldTextarea.js.map +1 -1
- package/components/FormField/components/useFormFieldAffixWidth.js +1 -1
- package/components/FormField/components/useFormFieldAffixWidth.js.map +1 -1
- package/components/FormField/components/utils.js +1 -9
- package/components/FormField/components/utils.js.map +1 -1
- package/components/Gap/Gap.js +9 -9
- 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 +3 -3
- 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 +53 -45
- package/components/HelpBox/HelpBox.js.map +1 -1
- package/components/IconWrapper/IconWrapper.js +3 -3
- package/components/ImageGallery/ImageGallery.js +1 -1
- package/components/ImageGalleryExtended/ImageGalleryExtended.js +3 -3
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedArrow.js +2 -2
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedDots.js +4 -4
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedMain.js +2 -2
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedSlide.js +2 -2
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedSwipeTrack.js +2 -2
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedThumb.js +2 -2
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedThumbnails.js +2 -2
- package/components/ImageGalleryExtended/components/index.js +1 -1
- package/components/ImageGalleryExtended/index.js +1 -1
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +2 -2
- package/components/Island/components/IslandFooter.js +2 -2
- package/components/Island/components/IslandHeader.js +2 -2
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/IslandAccordion.js.map +1 -1
- package/components/IslandAccordion/IslandAccordionContext.js.map +1 -1
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionContent.js.map +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionFooter.js.map +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +17 -20
- package/components/IslandAccordion/components/IslandAccordionItem.js.map +1 -1
- package/components/IslandWidget/IslandWidget.js +18 -15
- package/components/IslandWidget/IslandWidget.js.map +1 -1
- package/components/IslandWidget/IslandWidgetContext.js.map +1 -1
- package/components/IslandWidget/IslandWidgetLayoutContext.js +3 -1
- package/components/IslandWidget/IslandWidgetLayoutContext.js.map +1 -1
- package/components/IslandWidget/components/IslandWidgetBody.js +5 -5
- package/components/IslandWidget/components/IslandWidgetBody.js.map +1 -1
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +10 -6
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js.map +1 -1
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooter.js.map +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +4 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js.map +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +4 -2
- package/components/IslandWidget/components/IslandWidgetFooterControls.js.map +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +12 -7
- package/components/IslandWidget/components/IslandWidgetHeader.js.map +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -3
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js.map +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderControls.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderControls.js.map +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js.map +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderTitle.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderTitle.js.map +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +15 -5
- package/components/IslandWidget/components/IslandWidgetWrapper.js.map +1 -1
- package/components/LightBox/LightBox.js +6 -6
- package/components/LightBox/LightBoxContent.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxArrow.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 +13 -13
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +4 -4
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +4 -4
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +6 -6
- package/components/List/List.js +4 -4
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListActionItem.js +2 -2
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +5 -5
- package/components/List/components/ListItemControls.js +2 -2
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +3 -3
- package/components/List/components/ListItemControlsButtonDropdown.js.map +1 -1
- package/components/List/components/ListItemLoading.js +2 -2
- package/components/List/components/ListItemSelectable.js +7 -7
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +4 -4
- package/components/List/components/ListSortableItem.js.map +1 -1
- package/components/List/components/ListSortableItemControls.js +2 -2
- package/components/List/components/ListSortableItemTarget.js +5 -5
- package/components/List/components/ListTableItem.js +4 -4
- package/components/List/index.js +1 -1
- package/components/List/utils.js +1 -9
- package/components/List/utils.js.map +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +2 -2
- 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 +3 -3
- package/components/ListMaster/components/SelectionControls.js +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +9 -9
- package/components/Loader/LoaderSmall/LoaderSmall.js +11 -11
- package/components/LoaderScreen/LoaderScreen.js +6 -6
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +8 -8
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +2 -2
- package/components/ModalWindow/components/ModalWindowClose.js +1 -1
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +2 -2
- package/components/MonthYearField/MonthYearFieldTarget.js +5 -5
- package/components/MonthYearRange/MonthYearRange.js +4 -4
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +6 -6
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +2 -2
- 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/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/OrderedList/OrderedList.js +3 -3
- package/components/OrderedList/OrderedListItem.js +3 -3
- 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 +8 -8
- package/components/Page/components/FooterPage.js +7 -14
- package/components/Page/components/FooterPage.js.map +1 -1
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +3 -3
- package/components/Pagination/components/PaginationNavigationButton.js +2 -2
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +3 -3
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +3 -3
- package/components/Pagination/utils.js +1 -1
- package/components/Radio/Radio.js +10 -10
- package/components/Radio/RadioXGroup.js +9 -9
- package/components/Radio/RadioYGroup.js +2 -2
- package/components/Row/Row.js +5 -5
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +2 -2
- package/components/SMSField/components/SMSFieldRefresh.js +2 -2
- package/components/SMSField/components/SMSFieldSubmit.js +2 -2
- package/components/SMSField/components/SMSFieldTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +10 -10
- package/components/SegmentedControl/SegmentedControlSegment.js +4 -4
- package/components/SelectExtendedField/SelectExtendedField.js +2 -2
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +8 -8
- package/components/SelectField/SelectField.js +2 -2
- package/components/Skeleton/Skeleton.js +6 -6
- package/components/Slider/Slider.js +10 -14
- package/components/Slider/Slider.js.map +1 -1
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +7 -7
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js.map +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMoveHandler.js +1 -1
- package/components/SliderExtended/components/SliderExtendedRail.js +3 -3
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +6 -6
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js.map +1 -1
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +8 -8
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js.map +1 -1
- package/components/SliderRange/SliderRange.js +12 -19
- package/components/SliderRange/SliderRange.js.map +1 -1
- package/components/SmallInput/SmallInput.js +2 -2
- package/components/Spoiler/Spoiler.js +11 -11
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +2 -2
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +2 -2
- package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
- package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
- package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatusGroup.js +2 -2
- package/components/StatusTracker/components/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/Step/Step.js +11 -11
- package/components/Stepper/Stepper.js +9 -9
- package/components/Stepper/StepperExtended.js +2 -2
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperStepArrowBorder.js +1 -1
- package/components/Suggest/SuggestMobileDropdownContent.js +3 -3
- package/components/Suggest/useSuggest.js +1 -1
- package/components/SuggestField/SuggestField.js +1 -1
- 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 +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +9 -9
- package/components/Table/ChipPanel.js +2 -2
- package/components/Table/ChipPanelLinks.js +2 -2
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +3 -3
- package/components/Table/NoColumns.js +3 -3
- package/components/Table/PaginationPanel.js +3 -3
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +3 -3
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +3 -3
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +2 -2
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +9 -9
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +20 -17
- package/components/TabsLine/TabsLine.js.map +1 -1
- package/components/TabsLine/components/TabsLineDesktop.js +85 -98
- package/components/TabsLine/components/TabsLineDesktop.js.map +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +122 -86
- package/components/TabsLine/components/TabsLineDropdown.js.map +1 -1
- package/components/TabsLine/components/TabsLineItem.js +43 -27
- package/components/TabsLine/components/TabsLineItem.js.map +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +20 -15
- package/components/TabsLine/components/TabsLineMobile.js.map +1 -1
- package/components/TabsLine/utils.js +8 -0
- package/components/TabsLine/utils.js.map +1 -1
- package/components/Tag/Tag.js +6 -6
- package/components/TagColor/TagColor.js +11 -11
- package/components/TagGroup/TagGroup.js +5 -5
- package/components/TextareaField/TextareaField.js +5 -1
- package/components/TextareaField/TextareaField.js.map +1 -1
- package/components/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +5 -5
- 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 +5 -5
- package/components/TopOverlay/TopOverlay.js +7 -7
- package/components/TreeView/TreeView.js +13 -8
- package/components/TreeView/TreeView.js.map +1 -1
- package/components/TreeView/components/TreeViewGroup.js +2 -2
- package/components/TreeView/components/TreeViewNode.js +2 -2
- package/components/Triggers/TriggerClickOnKeyDownEvent.js +2 -5
- package/components/Triggers/TriggerClickOnKeyDownEvent.js.map +1 -1
- package/components/Typography/Caption.js +8 -8
- package/components/Typography/CodeText.js +3 -3
- package/components/Typography/Text.js +10 -10
- package/components/Typography/Title.js +10 -10
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedListExtended/UnorderedListExtended.js +3 -3
- package/components/UnorderedListExtended/UnorderedListExtendedItem.js +3 -3
- package/components/UnorderedListExtended/UnorderedListExtendedItemMarker.js +4 -4
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/UploadZone/index.js +1 -1
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +10 -6
- package/components/index.js.map +1 -1
- package/{components/SliderExtended/utils.js → helpers/setForwardedRef.js} +2 -2
- package/helpers/setForwardedRef.js.map +1 -0
- package/index.d.ts +426 -204
- package/index.js +10 -6
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/triplex-next.css +3044 -3046
- package/utils/amountUtils.js +1 -1
- package/chunks/Card.module-CNOChUdZ.js +0 -32
- package/chunks/Card.module-CNOChUdZ.js.map +0 -1
- package/chunks/Carousel.module-BpVAzSjh.js +0 -34
- package/chunks/Carousel.module-BpVAzSjh.js.map +0 -1
- package/chunks/CheckboxTreeExtended.module-BqOLLHuh.js +0 -24
- package/chunks/CheckboxTreeExtended.module-BqOLLHuh.js.map +0 -1
- package/chunks/Confirm.module-Dw5sV0a8.js +0 -24
- package/chunks/Confirm.module-Dw5sV0a8.js.map +0 -1
- package/chunks/DropdownMobile.module-ljfYoQZP.js +0 -40
- package/chunks/DropdownMobile.module-ljfYoQZP.js.map +0 -1
- package/chunks/Footer.module-DgSEqR3M.js +0 -12
- package/chunks/Footer.module-DgSEqR3M.js.map +0 -1
- package/chunks/HeaderLayoutSidebar.module-k_1rIXs0.js.map +0 -1
- package/chunks/HeaderTabs.module-Dm__bdlz.js +0 -12
- package/chunks/HeaderTabs.module-Dm__bdlz.js.map +0 -1
- package/chunks/HeaderTitle.module-BbIcVzwx.js.map +0 -1
- package/chunks/ImageGalleryExtendedMain.module--816bwiO.js +0 -28
- package/chunks/ImageGalleryExtendedMain.module--816bwiO.js.map +0 -1
- package/chunks/IslandAccordion.module-4rzQ8p9D.js +0 -44
- package/chunks/IslandAccordion.module-4rzQ8p9D.js.map +0 -1
- package/chunks/IslandWidgetFooter.module-Dxb05X44.js +0 -18
- package/chunks/IslandWidgetFooter.module-Dxb05X44.js.map +0 -1
- package/chunks/IslandWidgetHeader.module-K8SbMdcg.js +0 -28
- package/chunks/IslandWidgetHeader.module-K8SbMdcg.js.map +0 -1
- package/chunks/LightBoxControls.module-DsLaGx4X.js +0 -26
- package/chunks/LightBoxControls.module-DsLaGx4X.js.map +0 -1
- package/chunks/LightBoxSideOverlayClose.module-B_RmH_Zj.js.map +0 -1
- package/chunks/ListItemTail.module-CwDNx9W5.js +0 -18
- package/chunks/ListItemTail.module-CwDNx9W5.js.map +0 -1
- package/chunks/ListMasterFooter.module-D7b9ZUqR.js +0 -14
- package/chunks/ListMasterFooter.module-D7b9ZUqR.js.map +0 -1
- package/chunks/ModalWindow.module-urBVReGQ.js +0 -28
- package/chunks/ModalWindow.module-urBVReGQ.js.map +0 -1
- package/chunks/Notification.module-BgjNhU2P.js +0 -34
- package/chunks/Notification.module-BgjNhU2P.js.map +0 -1
- package/chunks/Overlay.module-DlzZBVdp.js +0 -30
- package/chunks/Overlay.module-DlzZBVdp.js.map +0 -1
- package/chunks/Page.module-CEeCuq1n.js +0 -15
- package/chunks/Page.module-CEeCuq1n.js.map +0 -1
- package/chunks/SMSField.module-CGuPONeF.js +0 -30
- package/chunks/SMSField.module-CGuPONeF.js.map +0 -1
- package/chunks/SliderExtendedMarks.module-SGdABaf_.js +0 -24
- package/chunks/SliderExtendedMarks.module-SGdABaf_.js.map +0 -1
- package/chunks/SliderExtendedRail-VEYm3CWM.js.map +0 -1
- package/chunks/StatusTracker.module-oLJmSAgs.js +0 -44
- package/chunks/StatusTracker.module-oLJmSAgs.js.map +0 -1
- package/chunks/TableFooter.module-DOL7cRaV.js +0 -22
- package/chunks/TableFooter.module-DOL7cRaV.js.map +0 -1
- package/chunks/TabsExtended.module-DveIh7_v.js +0 -26
- package/chunks/TabsExtended.module-DveIh7_v.js.map +0 -1
- package/chunks/TabsLine.module-CFuF3nRE.js +0 -36
- package/chunks/TabsLine.module-CFuF3nRE.js.map +0 -1
- package/chunks/TooltipDesktop.module-Bay9M-y1.js +0 -32
- package/chunks/TooltipDesktop.module-Bay9M-y1.js.map +0 -1
- package/chunks/TreeView.module-B1mjvRWg.js +0 -12
- package/chunks/TreeView.module-B1mjvRWg.js.map +0 -1
- package/chunks/vendor-D4wvHis9.js.map +0 -1
- package/components/SliderExtended/utils.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateRange.js","sources":["../../../src/components/DateRange/DateRange.tsx"],"sourcesContent":["import React from \"react\";\nimport
|
|
1
|
+
{"version":3,"file":"DateRange.js","sources":["../../../src/components/DateRange/DateRange.tsx"],"sourcesContent":["import React from \"react\";\nimport { RangeStrokeSrvIcon16, CaretleftStrokeSrvIcon20, CaretrightStrokeSrvIcon20 } from \"@sberbusiness/icons-next\";\nimport clsx from \"clsx\";\nimport { EDateRangeShiftUnit } from \"./enums\";\nimport { TDateRangeValue } from \"./types\";\nimport { shiftDateRange } from \"./utils\";\nimport styles from \"./styles/DateRange.module.less\";\n\n/** Свойства функции рендеринга кнопки сдвига диапазона дат. */\nexport interface IDateRangeButtonProvideProps {\n /** Иконка направления сдвига. */\n children: React.ReactNode;\n /** Класс кнопки сдвига. */\n className: string;\n /** Обработчик клика, сдвигающий диапазон дат. */\n onClick: () => void;\n /** Кнопка недоступна — диапазон дат заполнен не полностью. */\n disabled: boolean;\n}\n\n/** Свойства функции рендеринга поля выбора даты. */\nexport interface IDateRangePickerProvideProps {\n /** Дата в формате YYYYMMDD, пустая строка — дата не выбрана. */\n value: string;\n /** Обработчик изменения даты. Принимает дату в формате YYYYMMDD. */\n onChange: (value: string) => void;\n}\n\n/** Свойства компонента DateRange. */\nexport interface IDateRangeProps extends Omit<React.HTMLAttributes<HTMLDivElement>, \"defaultValue\" | \"onChange\"> {\n /** Диапазон дат. */\n value: TDateRangeValue;\n /** Функция, вызывающаяся при изменении диапазона дат. */\n onChange: (value: TDateRangeValue) => void;\n /** Численная величина сдвига диапазона дат. По умолчанию 1. */\n shiftAmount?: number;\n /** Единица измерения сдвига диапазона дат. По умолчанию EDateRangeShiftUnit.MONTH. */\n shiftUnit?: EDateRangeShiftUnit;\n /** Управление отображением/скрытием кнопок сдвига диапазона дат. По умолчанию false. */\n hideNavigation?: boolean;\n /** Функция рендеринга поля выбора даты \"от\". */\n renderPickerFrom: (props: IDateRangePickerProvideProps) => React.ReactNode;\n /** Функция рендеринга поля выбора даты \"до\". */\n renderPickerTo: (props: IDateRangePickerProvideProps) => React.ReactNode;\n /** Функция рендеринга кнопки сдвига диапазона дат \"назад\". */\n renderButtonBack: (props: IDateRangeButtonProvideProps) => React.ReactNode;\n /** Функция рендеринга кнопки сдвига диапазона дат \"вперёд\". */\n renderButtonForward: (props: IDateRangeButtonProvideProps) => React.ReactNode;\n}\n\n/**\n * Выбор диапазона дат. Рендерит два поля выбора даты и кнопки сдвига диапазона,\n * которые передаются через render-props. Следит за тем, чтобы дата \"от\" не была\n * больше даты \"до\", и сдвигает обе границы диапазона сразу.\n */\nexport const DateRange = React.forwardRef<HTMLDivElement, IDateRangeProps>(\n (\n {\n children,\n className,\n value,\n onChange,\n shiftAmount = 1,\n shiftUnit = EDateRangeShiftUnit.MONTH,\n hideNavigation,\n renderPickerFrom,\n renderPickerTo,\n renderButtonForward,\n renderButtonBack,\n ...rest\n },\n ref,\n ) => {\n const [start, end] = value;\n const classNames = clsx(styles.dateRange, className);\n /** Сдвиг возможен только при обеих заполненных границах диапазона. */\n const shiftDisabled = !(start && end);\n\n /** Обработчик изменения значения в поле выбора даты \"от\". Сбрасывает дату \"до\", если она оказалась меньше. */\n const handleChangePickerFrom = (date: string) => {\n if (!date || !end || date <= end) {\n onChange([date, end]);\n } else {\n onChange([date, \"\"]);\n }\n };\n\n /** Обработчик изменения значения в поле выбора даты \"до\". Сбрасывает дату \"от\", если она оказалась больше. */\n const handleChangePickerTo = (date: string) => {\n if (!date || !start || date >= start) {\n onChange([start, date]);\n } else {\n onChange([\"\", date]);\n }\n };\n\n /** Смещает обе границы диапазона на amount единиц. Неполный диапазон не сдвигается. */\n const shiftRange = (amount: number) => {\n if (shiftDisabled) {\n return;\n }\n\n onChange(shiftDateRange(value, amount, shiftUnit));\n };\n\n return (\n <div className={classNames} {...rest} ref={ref}>\n {!hideNavigation &&\n renderButtonBack({\n children: <CaretleftStrokeSrvIcon20 paletteIndex={5} />,\n className: clsx(styles.dateRangeButton, { disabled: shiftDisabled }),\n disabled: shiftDisabled,\n onClick: () => shiftRange(-shiftAmount),\n })}\n {renderPickerFrom({\n onChange: handleChangePickerFrom,\n value: start,\n })}\n <RangeStrokeSrvIcon16 className={styles.separator} paletteIndex={5} />\n {renderPickerTo({\n onChange: handleChangePickerTo,\n value: end,\n })}\n {!hideNavigation &&\n renderButtonForward({\n children: <CaretrightStrokeSrvIcon20 paletteIndex={5} />,\n className: clsx(styles.dateRangeButton, { disabled: shiftDisabled }),\n disabled: shiftDisabled,\n onClick: () => shiftRange(shiftAmount),\n })}\n </div>\n );\n },\n);\n\nDateRange.displayName = \"DateRange\";\n"],"names":["React"],"mappings":";;;;;;;;;;;;;;AAuDO,MAAM,YAAYA,eAAM;AAAA,EAC3B,CACI;AAAA,IACI;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,cAAc;AAAA,IACd,YAAY,oBAAoB;AAAA,IAChC;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,GAAG;AAAA,EAAA,GAEP,QACC;AACD,UAAM,CAAC,OAAO,GAAG,IAAI;AACrB,UAAM,aAAa,KAAK,OAAO,WAAW,SAAS;AAEnD,UAAM,gBAAgB,EAAE,SAAS;AAGjC,UAAM,yBAAyB,CAAC,SAAiB;AAC7C,UAAI,CAAC,QAAQ,CAAC,OAAO,QAAQ,KAAK;AAC9B,iBAAS,CAAC,MAAM,GAAG,CAAC;AAAA,MACxB,OAAO;AACH,iBAAS,CAAC,MAAM,EAAE,CAAC;AAAA,MACvB;AAAA,IACJ;AAGA,UAAM,uBAAuB,CAAC,SAAiB;AAC3C,UAAI,CAAC,QAAQ,CAAC,SAAS,QAAQ,OAAO;AAClC,iBAAS,CAAC,OAAO,IAAI,CAAC;AAAA,MAC1B,OAAO;AACH,iBAAS,CAAC,IAAI,IAAI,CAAC;AAAA,MACvB;AAAA,IACJ;AAGA,UAAM,aAAa,CAAC,WAAmB;AACnC,UAAI,eAAe;AACf;AAAA,MACJ;AAEA,eAAS,eAAe,OAAO,QAAQ,SAAS,CAAC;AAAA,IACrD;AAEA,gCACK,OAAA,EAAI,WAAW,YAAa,GAAG,MAAM,KACjC,UAAA;AAAA,MAAA,CAAC,kBACE,iBAAiB;AAAA,QACb,UAAU,oBAAC,0BAAA,EAAyB,cAAc,EAAA,CAAG;AAAA,QACrD,WAAW,KAAK,OAAO,iBAAiB,EAAE,UAAU,eAAe;AAAA,QACnE,UAAU;AAAA,QACV,SAAS,MAAM,WAAW,CAAC,WAAW;AAAA,MAAA,CACzC;AAAA,MACJ,iBAAiB;AAAA,QACd,UAAU;AAAA,QACV,OAAO;AAAA,MAAA,CACV;AAAA,0BACA,sBAAA,EAAqB,WAAW,OAAO,WAAW,cAAc,GAAG;AAAA,MACnE,eAAe;AAAA,QACZ,UAAU;AAAA,QACV,OAAO;AAAA,MAAA,CACV;AAAA,MACA,CAAC,kBACE,oBAAoB;AAAA,QAChB,UAAU,oBAAC,2BAAA,EAA0B,cAAc,EAAA,CAAG;AAAA,QACtD,WAAW,KAAK,OAAO,iBAAiB,EAAE,UAAU,eAAe;AAAA,QACnE,UAAU;AAAA,QACV,SAAS,MAAM,WAAW,WAAW;AAAA,MAAA,CACxC;AAAA,IAAA,GACT;AAAA,EAER;AACJ;AAEA,UAAU,cAAc;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import moment from "moment";
|
|
2
|
+
import { dateFormatYYYYMMDD } from "../../consts/DateConst.js";
|
|
3
|
+
const shiftDate = (date, amount, unit) => moment(date, dateFormatYYYYMMDD).add(amount, unit).format(dateFormatYYYYMMDD);
|
|
4
|
+
const shiftDateRange = ([start, end], amount, unit) => [shiftDate(start, amount, unit), shiftDate(end, amount, unit)];
|
|
5
|
+
export {
|
|
6
|
+
shiftDateRange
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sources":["../../../src/components/DateRange/utils.ts"],"sourcesContent":["import moment from \"moment\";\nimport { dateFormatYYYYMMDD } from \"../../consts/DateConst\";\nimport { EDateRangeShiftUnit } from \"./enums\";\nimport { TDateRangeValue } from \"./types\";\n\n/** Сдвигает дату в формате YYYYMMDD на указанную величину. */\nconst shiftDate = (date: string, amount: number, unit: EDateRangeShiftUnit): string =>\n moment(date, dateFormatYYYYMMDD).add(amount, unit).format(dateFormatYYYYMMDD);\n\n/**\n * Сдвигает обе границы диапазона дат на указанную величину.\n * Положительная величина сдвигает диапазон вперёд, отрицательная — назад.\n * Обе даты ожидаются непустыми, в формате YYYYMMDD.\n */\nexport const shiftDateRange = (\n [start, end]: TDateRangeValue,\n amount: number,\n unit: EDateRangeShiftUnit,\n): TDateRangeValue => [shiftDate(start, amount, unit), shiftDate(end, amount, unit)];\n"],"names":[],"mappings":";;AAMA,MAAM,YAAY,CAAC,MAAc,QAAgB,SAC7C,OAAO,MAAM,kBAAkB,EAAE,IAAI,QAAQ,IAAI,EAAE,OAAO,kBAAkB;AAOzE,MAAM,iBAAiB,CAC1B,CAAC,OAAO,GAAG,GACX,QACA,SACkB,CAAC,UAAU,OAAO,QAAQ,IAAI,GAAG,UAAU,KAAK,QAAQ,IAAI,CAAC;"}
|
|
@@ -3,7 +3,7 @@ import { DesignTokensCore } from "./DesignTokensCore.js";
|
|
|
3
3
|
import { DesignTokensCoreThemeDark } from "./DesignTokensCoreThemeDark.js";
|
|
4
4
|
import { DesignTokensComponents } from "./DesignTokensComponents.js";
|
|
5
5
|
import { DesignTokensComponentsThemeDark } from "./DesignTokensComponentsThemeDark.js";
|
|
6
|
-
import {
|
|
6
|
+
import { l as defaultsDeep } from "../../chunks/vendor-CUIykw0y.js";
|
|
7
7
|
const resolveTokenValue = (tokenValue, tokens, visitedRefs) => {
|
|
8
8
|
if (tokenValue.value !== void 0) {
|
|
9
9
|
return tokenValue.value;
|
|
@@ -31,7 +31,7 @@ const DesignTokenUtils = {
|
|
|
31
31
|
getCSSVariableByTokenGroup: (tokenGroup, tokens) => {
|
|
32
32
|
const tokenGroupTitle = Object.keys(tokenGroup)[0];
|
|
33
33
|
const tokenPrefix = "triplex-next";
|
|
34
|
-
let tokenVersion = "1.
|
|
34
|
+
let tokenVersion = "1.47.0";
|
|
35
35
|
tokenVersion = tokenVersion.replace(/\./g, "-");
|
|
36
36
|
return Object.keys(tokenGroup[tokenGroupTitle]).map(
|
|
37
37
|
(tokenTitle) => `--${tokenPrefix}-${tokenGroupTitle}-${tokenTitle}-${tokenVersion}: ${DesignTokenUtils.getTokenValue(
|
|
@@ -25,7 +25,7 @@ const Step_Tokens = {
|
|
|
25
25
|
// var(--triplex-next-Step-Color_Error)
|
|
26
26
|
Color_Warning: [{ ref: "ColorNeutralAlpha.0" }, { ref: "ColorNeutralAlpha.0" }],
|
|
27
27
|
// var(--triplex-next-Step-Color_Warning)
|
|
28
|
-
Background_Active: [{ ref: "ColorBrand.
|
|
28
|
+
Background_Active: [{ ref: "ColorBrand.95" }, { ref: "ColorBrand.20" }],
|
|
29
29
|
// var(--triplex-next-Step-Background_Active)
|
|
30
30
|
Background_Default: [{ ref: "ColorDarkNeutralAlpha.100" }, { ref: "ColorNeutralAlpha.90" }],
|
|
31
31
|
// var(--triplex-next-Step-Background_Default)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Step.js","sources":["../../../../src/components/DesignTokens/components/Step.ts"],"sourcesContent":["import { TDesignTokenValue, TDesignTokenValues } from \"../types/DesignTokenTypes\";\n\n// Название токенов компонента Step.\nexport const designTokensComponentsStepKeys = [\n \"Color_Active\",\n \"Color_Default\",\n \"Color_Disabled\",\n \"Color_Done\",\n \"Color_Error\",\n \"Color_Warning\",\n\n \"Background_Active\",\n \"Background_Default\",\n \"Background_Disabled\",\n \"Background_Done\",\n \"Background_Error\",\n \"Background_Warning\",\n] as const;\n// Тип, содержащий названия токенов компонента Step.\nexport type TDesignTokensComponentsStepKeys = (typeof designTokensComponentsStepKeys)[number];\n// Тип, содержащий названия токенов компонента Step и их значения.\nexport type TDesignTokensComponentsStepValue = Record<TDesignTokensComponentsStepKeys, TDesignTokenValue>;\n// Тип, содержащий названия токенов компонента Step и их значения в светлой и темной теме.\nexport type TDesignTokensComponentsStepValues = Record<TDesignTokensComponentsStepKeys, TDesignTokenValues>;\n// Тип локальных токенов компонента Step.\nexport type TDesignTokensComponentsStep = { Step: TDesignTokensComponentsStepValue };\n\n// Токены компонента Step в светлой и темной темах.\nexport const Step_Tokens: TDesignTokensComponentsStepValues = {\n Color_Active: [{ ref: \"ColorBrand.40\" }, { ref: \"ColorBrand.100\" }], // var(--triplex-next-Step-Color_Active)\n Color_Default: [{ ref: \"ColorDarkNeutralAlpha.40\" }, { ref: \"ColorNeutralAlpha.30\" }], // var(--triplex-next-Step-Color_Default)\n Color_Disabled: [{ ref: \"ColorNeutral.100\" }, { ref: \"ColorNeutralAlpha.80\" }], // var(--triplex-next-Step-Color_Disabled)\n Color_Done: [{ ref: \"ColorNeutral.100\" }, { ref: \"ColorNeutral.100\" }], // var(--triplex-next-Step-Color_Done)\n Color_Error: [{ ref: \"ColorNeutralAlpha.0\" }, { ref: \"ColorNeutralAlpha.0\" }], // var(--triplex-next-Step-Color_Error)\n Color_Warning: [{ ref: \"ColorNeutralAlpha.0\" }, { ref: \"ColorNeutralAlpha.0\" }], // var(--triplex-next-Step-Color_Warning)\n\n Background_Active: [{ ref: \"ColorBrand.
|
|
1
|
+
{"version":3,"file":"Step.js","sources":["../../../../src/components/DesignTokens/components/Step.ts"],"sourcesContent":["import { TDesignTokenValue, TDesignTokenValues } from \"../types/DesignTokenTypes\";\n\n// Название токенов компонента Step.\nexport const designTokensComponentsStepKeys = [\n \"Color_Active\",\n \"Color_Default\",\n \"Color_Disabled\",\n \"Color_Done\",\n \"Color_Error\",\n \"Color_Warning\",\n\n \"Background_Active\",\n \"Background_Default\",\n \"Background_Disabled\",\n \"Background_Done\",\n \"Background_Error\",\n \"Background_Warning\",\n] as const;\n// Тип, содержащий названия токенов компонента Step.\nexport type TDesignTokensComponentsStepKeys = (typeof designTokensComponentsStepKeys)[number];\n// Тип, содержащий названия токенов компонента Step и их значения.\nexport type TDesignTokensComponentsStepValue = Record<TDesignTokensComponentsStepKeys, TDesignTokenValue>;\n// Тип, содержащий названия токенов компонента Step и их значения в светлой и темной теме.\nexport type TDesignTokensComponentsStepValues = Record<TDesignTokensComponentsStepKeys, TDesignTokenValues>;\n// Тип локальных токенов компонента Step.\nexport type TDesignTokensComponentsStep = { Step: TDesignTokensComponentsStepValue };\n\n// Токены компонента Step в светлой и темной темах.\nexport const Step_Tokens: TDesignTokensComponentsStepValues = {\n Color_Active: [{ ref: \"ColorBrand.40\" }, { ref: \"ColorBrand.100\" }], // var(--triplex-next-Step-Color_Active)\n Color_Default: [{ ref: \"ColorDarkNeutralAlpha.40\" }, { ref: \"ColorNeutralAlpha.30\" }], // var(--triplex-next-Step-Color_Default)\n Color_Disabled: [{ ref: \"ColorNeutral.100\" }, { ref: \"ColorNeutralAlpha.80\" }], // var(--triplex-next-Step-Color_Disabled)\n Color_Done: [{ ref: \"ColorNeutral.100\" }, { ref: \"ColorNeutral.100\" }], // var(--triplex-next-Step-Color_Done)\n Color_Error: [{ ref: \"ColorNeutralAlpha.0\" }, { ref: \"ColorNeutralAlpha.0\" }], // var(--triplex-next-Step-Color_Error)\n Color_Warning: [{ ref: \"ColorNeutralAlpha.0\" }, { ref: \"ColorNeutralAlpha.0\" }], // var(--triplex-next-Step-Color_Warning)\n\n Background_Active: [{ ref: \"ColorBrand.95\" }, { ref: \"ColorBrand.20\" }], // var(--triplex-next-Step-Background_Active)\n Background_Default: [{ ref: \"ColorDarkNeutralAlpha.100\" }, { ref: \"ColorNeutralAlpha.90\" }], // var(--triplex-next-Step-Background_Default)\n Background_Disabled: [{ ref: \"ColorDarkNeutralAlpha.90\" }, { ref: \"ColorNeutralAlpha.90\" }], // var(--triplex-next-Step-Background_Disabled)\n Background_Done: [{ ref: \"ColorBrand.40\" }, { ref: \"ColorBrand.60\" }], // var(--triplex-next-Step-Background_Done)\n Background_Error: [{ ref: \"ColorError.40\" }, { ref: \"ColorError.60\" }], // var(--triplex-next-Step-Background_Error)\n Background_Warning: [{ ref: \"ColorWarning.40\" }, { ref: \"ColorWarning.60\" }], // var(--triplex-next-Step-Background_Warning)\n};\n"],"names":[],"mappings":"AAGO,MAAM,iCAAiC;AAAA,EAC1C;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAEA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACJ;AAWO,MAAM,cAAiD;AAAA,EAC1D,cAAc,CAAC,EAAE,KAAK,mBAAmB,EAAE,KAAK,kBAAkB;AAAA;AAAA,EAClE,eAAe,CAAC,EAAE,KAAK,8BAA8B,EAAE,KAAK,wBAAwB;AAAA;AAAA,EACpF,gBAAgB,CAAC,EAAE,KAAK,sBAAsB,EAAE,KAAK,wBAAwB;AAAA;AAAA,EAC7E,YAAY,CAAC,EAAE,KAAK,sBAAsB,EAAE,KAAK,oBAAoB;AAAA;AAAA,EACrE,aAAa,CAAC,EAAE,KAAK,yBAAyB,EAAE,KAAK,uBAAuB;AAAA;AAAA,EAC5E,eAAe,CAAC,EAAE,KAAK,yBAAyB,EAAE,KAAK,uBAAuB;AAAA;AAAA,EAE9E,mBAAmB,CAAC,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB;AAAA;AAAA,EACtE,oBAAoB,CAAC,EAAE,KAAK,+BAA+B,EAAE,KAAK,wBAAwB;AAAA;AAAA,EAC1F,qBAAqB,CAAC,EAAE,KAAK,8BAA8B,EAAE,KAAK,wBAAwB;AAAA;AAAA,EAC1F,iBAAiB,CAAC,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB;AAAA;AAAA,EACpE,kBAAkB,CAAC,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB;AAAA;AAAA,EACrE,oBAAoB,CAAC,EAAE,KAAK,qBAAqB,EAAE,KAAK,kBAAA,CAAmB;AAAA;AAC/E;"}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { c as clsx } from "../../chunks/vendor-
|
|
3
|
-
const divider = "
|
|
2
|
+
import { c as clsx } from "../../chunks/vendor-CUIykw0y.js";
|
|
3
|
+
const divider = "divider__88a1734a";
|
|
4
4
|
const styles = {
|
|
5
5
|
divider,
|
|
6
|
-
"marginTopSize-4": "marginTopSize-
|
|
7
|
-
"marginBottomSize-4": "marginBottomSize-
|
|
8
|
-
"marginTopSize-8": "marginTopSize-
|
|
9
|
-
"marginBottomSize-8": "marginBottomSize-
|
|
10
|
-
"marginTopSize-12": "marginTopSize-
|
|
11
|
-
"marginBottomSize-12": "marginBottomSize-
|
|
12
|
-
"marginTopSize-16": "marginTopSize-
|
|
13
|
-
"marginBottomSize-16": "marginBottomSize-
|
|
14
|
-
"marginTopSize-20": "marginTopSize-
|
|
15
|
-
"marginBottomSize-20": "marginBottomSize-
|
|
16
|
-
"marginTopSize-24": "marginTopSize-
|
|
17
|
-
"marginBottomSize-24": "marginBottomSize-
|
|
18
|
-
"marginTopSize-28": "marginTopSize-
|
|
19
|
-
"marginBottomSize-28": "marginBottomSize-
|
|
20
|
-
"marginTopSize-32": "marginTopSize-
|
|
21
|
-
"marginBottomSize-32": "marginBottomSize-
|
|
6
|
+
"marginTopSize-4": "marginTopSize-4__4d2e8c0f",
|
|
7
|
+
"marginBottomSize-4": "marginBottomSize-4__51333e09",
|
|
8
|
+
"marginTopSize-8": "marginTopSize-8__73678998",
|
|
9
|
+
"marginBottomSize-8": "marginBottomSize-8__b2f35a33",
|
|
10
|
+
"marginTopSize-12": "marginTopSize-12__1e8e36e1",
|
|
11
|
+
"marginBottomSize-12": "marginBottomSize-12__c76fcb96",
|
|
12
|
+
"marginTopSize-16": "marginTopSize-16__17ab328d",
|
|
13
|
+
"marginBottomSize-16": "marginBottomSize-16__de2b6bba",
|
|
14
|
+
"marginTopSize-20": "marginTopSize-20__3e8eb780",
|
|
15
|
+
"marginBottomSize-20": "marginBottomSize-20__01d4c359",
|
|
16
|
+
"marginTopSize-24": "marginTopSize-24__9a96446d",
|
|
17
|
+
"marginBottomSize-24": "marginBottomSize-24__9dd1db78",
|
|
18
|
+
"marginTopSize-28": "marginTopSize-28__7f780ec8",
|
|
19
|
+
"marginBottomSize-28": "marginBottomSize-28__e7778c40",
|
|
20
|
+
"marginTopSize-32": "marginTopSize-32__2305a701",
|
|
21
|
+
"marginBottomSize-32": "marginBottomSize-32__152d454a"
|
|
22
22
|
};
|
|
23
23
|
const Divider = (props) => {
|
|
24
24
|
const { className, marginTopSize, marginBottomSize, ...htmlDivAttributes } = props;
|
|
@@ -6,11 +6,11 @@ import { EFontType, ETextSize } from "../Typography/enums.js";
|
|
|
6
6
|
import { getCaretPosition, setCaretPosition } from "../../utils/inputUtils.js";
|
|
7
7
|
import { StringUtils } from "../../utils/stringUtils.js";
|
|
8
8
|
import { isKey } from "../../utils/keyboard.js";
|
|
9
|
-
import { c as clsx } from "../../chunks/vendor-
|
|
9
|
+
import { c as clsx } from "../../chunks/vendor-CUIykw0y.js";
|
|
10
10
|
import { Link } from "../Link/Link.js";
|
|
11
|
-
const documentNumberEdit = "
|
|
12
|
-
const label = "
|
|
13
|
-
const inputEditWrapper = "
|
|
11
|
+
const documentNumberEdit = "documentNumberEdit__543e965b";
|
|
12
|
+
const label = "label__bd42735f";
|
|
13
|
+
const inputEditWrapper = "inputEditWrapper__a346249c";
|
|
14
14
|
const styles = {
|
|
15
15
|
documentNumberEdit,
|
|
16
16
|
label,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default, { useState, useRef, useCallback, useEffect } from "react";
|
|
3
|
-
import { c as clsx } from "../../../chunks/vendor-
|
|
3
|
+
import { c as clsx } from "../../../chunks/vendor-CUIykw0y.js";
|
|
4
4
|
import { EDropdownDirection, EDropdownAlignment, EDropdownWidth } from "./enums.js";
|
|
5
5
|
import { EComponentSize } from "../../../enums/EComponentSize.js";
|
|
6
6
|
import { createSizeToClassNameMap } from "../../../utils/classNameMaps.js";
|
|
7
7
|
import { useToken } from "../../ThemeProvider/useToken.js";
|
|
8
8
|
import { isKey } from "../../../utils/keyboard.js";
|
|
9
|
-
const dropdownDesktop = "
|
|
10
|
-
const sm = "
|
|
11
|
-
const md = "
|
|
12
|
-
const lg = "
|
|
13
|
-
const dropdownDesktopOverflowHidden = "
|
|
9
|
+
const dropdownDesktop = "dropdownDesktop__8034a3fc";
|
|
10
|
+
const sm = "sm__16258d5d";
|
|
11
|
+
const md = "md__7b97a099";
|
|
12
|
+
const lg = "lg__bb097f90";
|
|
13
|
+
const dropdownDesktopOverflowHidden = "dropdownDesktopOverflowHidden__61224147";
|
|
14
14
|
const styles = {
|
|
15
15
|
dropdownDesktop,
|
|
16
16
|
sm,
|
|
@@ -164,7 +164,7 @@ const DropdownDesktop = React__default.forwardRef((props, ref) => {
|
|
|
164
164
|
className: classNames,
|
|
165
165
|
style: { ...styleState, ...styleProp },
|
|
166
166
|
...rest,
|
|
167
|
-
"data-tx": "1.
|
|
167
|
+
"data-tx": "1.47.0",
|
|
168
168
|
ref: setRef,
|
|
169
169
|
children
|
|
170
170
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default, { useContext, useRef, useState, useEffect } from "react";
|
|
3
|
-
import { c as clsx } from "../../../chunks/vendor-
|
|
4
|
-
import { s as styles, D as DropdownListItem } from "../../../chunks/DropdownListItem-
|
|
3
|
+
import { c as clsx } from "../../../chunks/vendor-CUIykw0y.js";
|
|
4
|
+
import { s as styles, D as DropdownListItem } from "../../../chunks/DropdownListItem-B9cIx_8A.js";
|
|
5
5
|
import { EVENT_KEY_CODES } from "../../../utils/keyboard.js";
|
|
6
6
|
import { DropdownListContext } from "../DropdownListContext.js";
|
|
7
7
|
import { LoaderSmall } from "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../../../chunks/vendor-
|
|
3
|
+
import "../../../chunks/vendor-CUIykw0y.js";
|
|
4
4
|
import "../../../enums/EComponentSize.js";
|
|
5
5
|
import "../../../utils/keyboard.js";
|
|
6
6
|
import "../../Badge/Badge.js";
|
|
7
|
-
import { D } from "../../../chunks/DropdownListItem-
|
|
7
|
+
import { D } from "../../../chunks/DropdownListItem-B9cIx_8A.js";
|
|
8
8
|
export {
|
|
9
9
|
D as DropdownListItem
|
|
10
10
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DropdownDesktop } from "./DropdownDesktop.js";
|
|
2
2
|
import { DropdownList } from "./DropdownList.js";
|
|
3
|
-
import { D } from "../../../chunks/DropdownListItem-
|
|
3
|
+
import { D } from "../../../chunks/DropdownListItem-B9cIx_8A.js";
|
|
4
4
|
import { EDropdownAlignment, EDropdownDirection, EDropdownWidth } from "./enums.js";
|
|
5
5
|
export {
|
|
6
6
|
DropdownDesktop,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DropdownListContext } from "./DropdownListContext.js";
|
|
2
2
|
import { DropdownDesktop } from "./desktop/DropdownDesktop.js";
|
|
3
3
|
import { DropdownList } from "./desktop/DropdownList.js";
|
|
4
|
-
import { D } from "../../chunks/DropdownListItem-
|
|
4
|
+
import { D } from "../../chunks/DropdownListItem-B9cIx_8A.js";
|
|
5
5
|
import { EDropdownAlignment, EDropdownDirection, EDropdownWidth } from "./desktop/enums.js";
|
|
6
6
|
import { DropdownMobile } from "./mobile/DropdownMobile.js";
|
|
7
7
|
import { DropdownMobileBody } from "./mobile/DropdownMobileBody.js";
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import React__default, { useEffect } from "react";
|
|
3
3
|
import { OverlayBase, EOverlayDirection } from "../../Overlay/OverlayBase.js";
|
|
4
4
|
import { DropdownMobileInner } from "./DropdownMobileInner.js";
|
|
5
|
-
import { s as styles } from "../../../chunks/DropdownMobile.module-
|
|
5
|
+
import { s as styles } from "../../../chunks/DropdownMobile.module-DnkRPsic.js";
|
|
6
6
|
const dropdownMobileBodyOverflowClassName = styles.dropdownMobileBodyOverflow;
|
|
7
7
|
const DropdownMobile = React__default.forwardRef(
|
|
8
8
|
({ children, opened, setOpened, ...htmlAttributes }, ref) => {
|
|
@@ -20,7 +20,7 @@ const DropdownMobile = React__default.forwardRef(
|
|
|
20
20
|
...props,
|
|
21
21
|
...htmlAttributes,
|
|
22
22
|
ref,
|
|
23
|
-
"data-tx": "1.
|
|
23
|
+
"data-tx": "1.47.0",
|
|
24
24
|
children
|
|
25
25
|
}
|
|
26
26
|
) });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { c as clsx } from "../../../chunks/vendor-
|
|
4
|
-
import { s as styles } from "../../../chunks/DropdownMobile.module-
|
|
3
|
+
import { c as clsx } from "../../../chunks/vendor-CUIykw0y.js";
|
|
4
|
+
import { s as styles } from "../../../chunks/DropdownMobile.module-DnkRPsic.js";
|
|
5
5
|
const DropdownMobileBody = React__default.forwardRef(
|
|
6
6
|
({ children, className, ...htmlAttributes }, ref) => /* @__PURE__ */ jsx("div", { className: clsx(styles.dropdownMobileContent, className), ref, ...htmlAttributes, children })
|
|
7
7
|
);
|
|
@@ -2,8 +2,8 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import React__default from "react";
|
|
3
3
|
import { ButtonIcon } from "../../Button/ButtonIcon.js";
|
|
4
4
|
import { CrossStrokeSrvIcon16 } from "@sberbusiness/icons-next";
|
|
5
|
-
import { c as clsx } from "../../../chunks/vendor-
|
|
6
|
-
import { s as styles } from "../../../chunks/DropdownMobile.module-
|
|
5
|
+
import { c as clsx } from "../../../chunks/vendor-CUIykw0y.js";
|
|
6
|
+
import { s as styles } from "../../../chunks/DropdownMobile.module-DnkRPsic.js";
|
|
7
7
|
const DropdownMobileClose = React__default.forwardRef(
|
|
8
8
|
({ className, ...buttonIconProps }, ref) => /* @__PURE__ */ jsx(ButtonIcon, { className: clsx(styles.dropdownMobileClose, className), ref, ...buttonIconProps, children: /* @__PURE__ */ jsx(CrossStrokeSrvIcon16, { paletteIndex: 5 }) })
|
|
9
9
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { c as clsx } from "../../../chunks/vendor-
|
|
4
|
-
import { s as styles } from "../../../chunks/DropdownMobile.module-
|
|
3
|
+
import { c as clsx } from "../../../chunks/vendor-CUIykw0y.js";
|
|
4
|
+
import { s as styles } from "../../../chunks/DropdownMobile.module-DnkRPsic.js";
|
|
5
5
|
const DropdownMobileFooter = React__default.forwardRef(
|
|
6
6
|
({ children, className, ...htmlAttributes }, ref) => /* @__PURE__ */ jsx("div", { className: clsx(styles.dropdownMobileFooter, className), ref, ...htmlAttributes, children })
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { c as clsx } from "../../../chunks/vendor-
|
|
4
|
-
import { s as styles } from "../../../chunks/DropdownMobile.module-
|
|
3
|
+
import { c as clsx } from "../../../chunks/vendor-CUIykw0y.js";
|
|
4
|
+
import { s as styles } from "../../../chunks/DropdownMobile.module-DnkRPsic.js";
|
|
5
5
|
const DropdownMobileHeader = React__default.forwardRef(
|
|
6
6
|
({ children, className, controlButtons, ...htmlAttributes }, ref) => /* @__PURE__ */ jsxs("div", { className: clsx(styles.dropdownMobileHeader, className), ref, ...htmlAttributes, children: [
|
|
7
7
|
/* @__PURE__ */ jsx("div", { className: styles.dropdownMobileHeaderContent, children }),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default, { useState, useEffect } from "react";
|
|
3
|
-
import { c as clsx } from "../../../chunks/vendor-
|
|
3
|
+
import { c as clsx } from "../../../chunks/vendor-CUIykw0y.js";
|
|
4
4
|
import { useToken } from "../../ThemeProvider/useToken.js";
|
|
5
|
-
import { s as styles } from "../../../chunks/DropdownMobile.module-
|
|
5
|
+
import { s as styles } from "../../../chunks/DropdownMobile.module-DnkRPsic.js";
|
|
6
6
|
const DropdownMobileInner = React__default.forwardRef(
|
|
7
7
|
({
|
|
8
8
|
children,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { c as clsx } from "../../../chunks/vendor-
|
|
4
|
-
const dropdownMobileInput = "
|
|
3
|
+
import { c as clsx } from "../../../chunks/vendor-CUIykw0y.js";
|
|
4
|
+
const dropdownMobileInput = "dropdownMobileInput__eaa4647a";
|
|
5
5
|
const styles = {
|
|
6
6
|
dropdownMobileInput
|
|
7
7
|
};
|
|
@@ -5,8 +5,8 @@ import { ELoaderSmallTheme } from "../../Loader/LoaderSmall/enum.js";
|
|
|
5
5
|
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
6
6
|
import { EComponentSize } from "../../../enums/EComponentSize.js";
|
|
7
7
|
import { DropdownMobileListItem } from "./DropdownMobileListItem.js";
|
|
8
|
-
import { s as styles } from "../../../chunks/DropdownMobile.module-
|
|
9
|
-
import { u as uniqueId } from "../../../chunks/vendor-
|
|
8
|
+
import { s as styles } from "../../../chunks/DropdownMobile.module-DnkRPsic.js";
|
|
9
|
+
import { u as uniqueId } from "../../../chunks/vendor-CUIykw0y.js";
|
|
10
10
|
const DropdownMobileList = React__default.forwardRef(
|
|
11
11
|
({ children, className, loading, ...htmlAttributes }, ref) => {
|
|
12
12
|
const [loaderId] = useState(() => uniqueId());
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { c as clsx } from "../../../chunks/vendor-
|
|
3
|
+
import { c as clsx } from "../../../chunks/vendor-CUIykw0y.js";
|
|
4
4
|
import { Text } from "../../Typography/Text.js";
|
|
5
5
|
import { ETextSize } from "../../Typography/enums.js";
|
|
6
6
|
import { Badge } from "../../Badge/Badge.js";
|
|
7
7
|
import { EComponentSize } from "../../../enums/EComponentSize.js";
|
|
8
|
-
import { s as styles } from "../../../chunks/DropdownMobile.module-
|
|
8
|
+
import { s as styles } from "../../../chunks/DropdownMobile.module-DnkRPsic.js";
|
|
9
9
|
const DropdownMobileListItem = React__default.forwardRef(
|
|
10
10
|
({ children, className, id, onClick, onSelect, selected, showNotificationIcon, ...htmlAttributes }, ref) => {
|
|
11
11
|
const handleClick = (event) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { c as clsx } from "../../../chunks/vendor-
|
|
2
|
+
import { c as clsx } from "../../../chunks/vendor-CUIykw0y.js";
|
|
3
3
|
import { LoaderSmall } from "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
4
4
|
import { ELoaderSmallTheme } from "../../Loader/LoaderSmall/enum.js";
|
|
5
5
|
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
6
6
|
import { EComponentSize } from "../../../enums/EComponentSize.js";
|
|
7
|
-
import { s as styles } from "../../../chunks/DropdownMobile.module-
|
|
7
|
+
import { s as styles } from "../../../chunks/DropdownMobile.module-DnkRPsic.js";
|
|
8
8
|
const DropdownMobileLoader = ({ className, ...restProps }) => /* @__PURE__ */ jsx(
|
|
9
9
|
LoaderSmall,
|
|
10
10
|
{
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { c as clsx } from "../../../chunks/vendor-
|
|
3
|
+
import { c as clsx } from "../../../chunks/vendor-CUIykw0y.js";
|
|
4
4
|
import { FormFieldMaskedInput } from "../../FormField/components/FormFieldMaskedInput.js";
|
|
5
|
-
const dropdownMobileMaskedInput = "
|
|
5
|
+
const dropdownMobileMaskedInput = "dropdownMobileMaskedInput__4bfa9d76";
|
|
6
6
|
const styles = {
|
|
7
7
|
dropdownMobileMaskedInput
|
|
8
8
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { c as clsx } from "../../chunks/vendor-
|
|
4
|
-
const ellipsisLineClamp = "
|
|
5
|
-
const oneLine = "
|
|
3
|
+
import { c as clsx } from "../../chunks/vendor-CUIykw0y.js";
|
|
4
|
+
const ellipsisLineClamp = "ellipsisLineClamp__b3dd98ab";
|
|
5
|
+
const oneLine = "oneLine__75272a1f";
|
|
6
6
|
const styles = {
|
|
7
7
|
ellipsisLineClamp,
|
|
8
8
|
oneLine
|
|
@@ -16,7 +16,7 @@ const Ellipsis = React__default.forwardRef(
|
|
|
16
16
|
className: classNames,
|
|
17
17
|
style: { "--ellipsis-line-clamp": maxLines },
|
|
18
18
|
...rest,
|
|
19
|
-
"data-tx": "1.
|
|
19
|
+
"data-tx": "1.47.0",
|
|
20
20
|
ref,
|
|
21
21
|
children
|
|
22
22
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { EEmptyViewSize } from "./enums.js";
|
|
2
2
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
3
3
|
import React__default from "react";
|
|
4
|
-
import { c as clsx } from "../../chunks/vendor-
|
|
4
|
+
import { c as clsx } from "../../chunks/vendor-CUIykw0y.js";
|
|
5
5
|
import { Title } from "../Typography/Title.js";
|
|
6
6
|
import { ETextSize, EFontWeightTitle, ETitleSize, EFontType, EFontWeightText } from "../Typography/enums.js";
|
|
7
7
|
import { Text } from "../Typography/Text.js";
|
|
8
8
|
import { Gap } from "../Gap/Gap.js";
|
|
9
|
-
const emptyView = "
|
|
10
|
-
const container = "
|
|
11
|
-
const icon = "
|
|
12
|
-
const textBlock = "
|
|
9
|
+
const emptyView = "emptyView__bac52f91";
|
|
10
|
+
const container = "container__72502f9f";
|
|
11
|
+
const icon = "icon__b884f9ac";
|
|
12
|
+
const textBlock = "textBlock__d7b698cc";
|
|
13
13
|
const styles = {
|
|
14
14
|
emptyView,
|
|
15
15
|
container,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import {
|
|
4
|
-
const expandAnimation = "
|
|
3
|
+
import { z as Transition, c as clsx } from "../../chunks/vendor-CUIykw0y.js";
|
|
4
|
+
const expandAnimation = "expandAnimation__0e3b0d36";
|
|
5
5
|
const styles = {
|
|
6
6
|
expandAnimation
|
|
7
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useRef } from "react";
|
|
3
|
-
import { j as focusTrapReactExports } from "../../chunks/vendor-
|
|
3
|
+
import { j as focusTrapReactExports } from "../../chunks/vendor-CUIykw0y.js";
|
|
4
4
|
const FocusTrapExtended = ({
|
|
5
5
|
paused: externalPaused,
|
|
6
6
|
focusTrapOptions,
|
|
@@ -5,7 +5,7 @@ import "./components/FooterDescriptionControls.js";
|
|
|
5
5
|
import "./components/FooterDescriptionContent.js";
|
|
6
6
|
const Footer = Object.assign(
|
|
7
7
|
React__default.forwardRef(function Footer2({ children, ...rest }, ref) {
|
|
8
|
-
return /* @__PURE__ */ jsx("div", { ...rest, "data-tx": "1.
|
|
8
|
+
return /* @__PURE__ */ jsx("div", { ...rest, "data-tx": "1.47.0", ref, children });
|
|
9
9
|
}),
|
|
10
10
|
{
|
|
11
11
|
Description: FooterDescription
|
|
@@ -2,8 +2,8 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import React__default from "react";
|
|
3
3
|
import { FooterDescriptionContent } from "./FooterDescriptionContent.js";
|
|
4
4
|
import { FooterDescriptionControls } from "./FooterDescriptionControls.js";
|
|
5
|
-
import { c as clsx } from "../../../chunks/vendor-
|
|
6
|
-
import { s as styles } from "../../../chunks/Footer.module-
|
|
5
|
+
import { c as clsx } from "../../../chunks/vendor-CUIykw0y.js";
|
|
6
|
+
import { s as styles } from "../../../chunks/Footer.module-_S9ZcA7b.js";
|
|
7
7
|
const FooterDescription = Object.assign(
|
|
8
8
|
React__default.forwardRef(function FooterDescription2({ children, className, ...rest }, ref) {
|
|
9
9
|
return /* @__PURE__ */ jsx("div", { className: clsx(styles.footerDescription, className), ...rest, ref, children });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { c as clsx } from "../../../chunks/vendor-
|
|
4
|
-
import { s as styles } from "../../../chunks/Footer.module-
|
|
3
|
+
import { c as clsx } from "../../../chunks/vendor-CUIykw0y.js";
|
|
4
|
+
import { s as styles } from "../../../chunks/Footer.module-_S9ZcA7b.js";
|
|
5
5
|
const FooterDescriptionContent = React__default.forwardRef(
|
|
6
6
|
({ children, className, ...rest }, ref) => /* @__PURE__ */ jsx("div", { className: clsx(styles.footerDescriptionContent, className), ...rest, ref, children })
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { c as clsx } from "../../../chunks/vendor-
|
|
4
|
-
import { s as styles } from "../../../chunks/Footer.module-
|
|
3
|
+
import { c as clsx } from "../../../chunks/vendor-CUIykw0y.js";
|
|
4
|
+
import { s as styles } from "../../../chunks/Footer.module-_S9ZcA7b.js";
|
|
5
5
|
const FooterDescriptionControls = React__default.forwardRef(
|
|
6
6
|
({ children, className, ...rest }, ref) => /* @__PURE__ */ jsx("div", { className: clsx(styles.footerDescriptionControls, className), ...rest, ref, children })
|
|
7
7
|
);
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default, { useState, useMemo } from "react";
|
|
3
|
-
import { c as clsx } from "../../chunks/vendor-
|
|
3
|
+
import { c as clsx } from "../../chunks/vendor-CUIykw0y.js";
|
|
4
4
|
import { FormFieldContext } from "./FormFieldContext.js";
|
|
5
5
|
import { TARGET_PADDING_X_DEFAULT } from "./consts.js";
|
|
6
6
|
import { EFormFieldStatus } from "./enums.js";
|
|
7
7
|
import { EComponentSize } from "../../enums/EComponentSize.js";
|
|
8
8
|
import { createSizeToClassNameMap } from "../../utils/classNameMaps.js";
|
|
9
|
-
const formField = "
|
|
10
|
-
const sm = "
|
|
11
|
-
const md = "
|
|
12
|
-
const lg = "
|
|
13
|
-
const active = "
|
|
14
|
-
const disabled = "
|
|
15
|
-
const error = "
|
|
16
|
-
const warning = "
|
|
17
|
-
const filled = "
|
|
9
|
+
const formField = "formField__b1412565";
|
|
10
|
+
const sm = "sm__ed5d7a26";
|
|
11
|
+
const md = "md__cfe15086";
|
|
12
|
+
const lg = "lg__961e2e6d";
|
|
13
|
+
const active = "active__368ac277";
|
|
14
|
+
const disabled = "disabled__f8e0d3d6";
|
|
15
|
+
const error = "error__eb92581c";
|
|
16
|
+
const warning = "warning__51a38679";
|
|
17
|
+
const filled = "filled__7b607ff6";
|
|
18
18
|
const styles = {
|
|
19
19
|
formField,
|
|
20
20
|
sm,
|
|
21
21
|
md,
|
|
22
22
|
lg,
|
|
23
|
-
"default": "
|
|
23
|
+
"default": "default__52479ef3",
|
|
24
24
|
active,
|
|
25
25
|
disabled,
|
|
26
26
|
error,
|
|
@@ -84,7 +84,7 @@ const FormField = React__default.forwardRef(
|
|
|
84
84
|
},
|
|
85
85
|
className
|
|
86
86
|
),
|
|
87
|
-
"data-tx": "1.
|
|
87
|
+
"data-tx": "1.47.0",
|
|
88
88
|
style: { paddingLeft: prefixWidth, paddingRight: postfixWidth, ...style },
|
|
89
89
|
...htmlDivAttributes,
|
|
90
90
|
ref,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormFieldContext.js","sources":["../../../src/components/FormField/FormFieldContext.ts"],"sourcesContent":["import React from \"react\";\nimport { EComponentSize } from \"../../enums/EComponentSize\";\nimport { EFormFieldStatus } from \"./enums\";\n\n/** Значение контекста поля ввода. Провайдер — компонент FormField. */\nexport interface IFormFieldContext {\n /** Размер поля. */\n size: EComponentSize;\n /** Статус поля. */\n status: EFormFieldStatus;\n /** Идентификатор
|
|
1
|
+
{"version":3,"file":"FormFieldContext.js","sources":["../../../src/components/FormField/FormFieldContext.ts"],"sourcesContent":["import React from \"react\";\nimport { EComponentSize } from \"../../enums/EComponentSize\";\nimport { EFormFieldStatus } from \"./enums\";\n\n/** Значение контекста поля ввода. Провайдер — компонент FormField. */\nexport interface IFormFieldContext {\n /** Размер поля. */\n size: EComponentSize;\n /** Статус поля. */\n status: EFormFieldStatus;\n /** Идентификатор labelable-элемента ввода. */\n targetId: string | undefined;\n /** Идентификатор лейбла. */\n labelId: string | undefined;\n /** Ширина элемента FormFieldPrefix. */\n prefixWidth: number;\n /** Ширина элемента FormFieldPostfix. */\n postfixWidth: number;\n /** Поле заполнено. */\n filled: boolean;\n /** Поле в фокусе. */\n focused: boolean;\n /** Поле активно. */\n active: boolean;\n /** Установка значения targetId. */\n setTargetId: React.Dispatch<React.SetStateAction<string | undefined>>;\n /** Установка значения labelId. */\n setLabelId: React.Dispatch<React.SetStateAction<string | undefined>>;\n /** Установка значения postfixWidth. */\n setPostfixWidth: React.Dispatch<React.SetStateAction<number>>;\n /** Установка значения prefixWidth. */\n setPrefixWidth: React.Dispatch<React.SetStateAction<number>>;\n /** Установка значения filled. */\n setFilled: React.Dispatch<React.SetStateAction<boolean>>;\n /** Установка значения focused. */\n setFocused: React.Dispatch<React.SetStateAction<boolean>>;\n}\n\n/**\n * Значение контекста по умолчанию — используется субкомпонентами, отрендеренными вне FormField.\n * Сеттеры в этом случае являются no-op.\n */\nexport const initialFormFieldContext: IFormFieldContext = {\n size: EComponentSize.LG,\n status: EFormFieldStatus.DEFAULT,\n targetId: undefined,\n labelId: undefined,\n postfixWidth: 0,\n prefixWidth: 0,\n // Временный фикс для DropdownMobileHeader\n filled: true,\n focused: false,\n active: false,\n setTargetId: () => {},\n setLabelId: () => {},\n setPostfixWidth: () => {},\n setPrefixWidth: () => {},\n setFilled: () => {},\n setFocused: () => {},\n};\n\n/**\n * Контекст поля ввода.\n */\nexport const FormFieldContext = React.createContext<IFormFieldContext>(initialFormFieldContext);\n"],"names":["React"],"mappings":";;;AA0CO,MAAM,0BAA6C;AAAA,EACtD,MAAM,eAAe;AAAA,EACrB,QAAQ,iBAAiB;AAAA,EACzB,UAAU;AAAA,EACV,SAAS;AAAA,EACT,cAAc;AAAA,EACd,aAAa;AAAA;AAAA,EAEb,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,aAAa,MAAM;AAAA,EAAC;AAAA,EACpB,YAAY,MAAM;AAAA,EAAC;AAAA,EACnB,iBAAiB,MAAM;AAAA,EAAC;AAAA,EACxB,gBAAgB,MAAM;AAAA,EAAC;AAAA,EACvB,WAAW,MAAM;AAAA,EAAC;AAAA,EAClB,YAAY,MAAM;AAAA,EAAC;AACvB;AAKO,MAAM,mBAAmBA,eAAM,cAAiC,uBAAuB;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default, { useCallback } from "react";
|
|
3
|
-
import { c as clsx } from "../../../chunks/vendor-
|
|
3
|
+
import { c as clsx } from "../../../chunks/vendor-CUIykw0y.js";
|
|
4
4
|
import { CrossStrokeSrvIcon16 } from "@sberbusiness/icons-next";
|
|
5
5
|
import { ButtonIcon } from "../../Button/ButtonIcon.js";
|
|
6
|
-
const formFieldClear = "
|
|
6
|
+
const formFieldClear = "formFieldClear__95a95887";
|
|
7
7
|
const styles = {
|
|
8
8
|
formFieldClear
|
|
9
9
|
};
|