@sberbusiness/triplex-next 1.32.0 → 1.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -33
- package/chunks/{AlertProcessSpoiler-p-fWJ9CC.js → AlertProcessSpoiler-DaiPrsW6.js} +11 -11
- package/chunks/{CalendarViewItem-y_OwskEF.js → CalendarViewItem-DBzrBL3f.js} +15 -15
- package/chunks/Card.module-Pe2ogNIk.js +18 -0
- package/chunks/CheckboxTreeExtended.module-D-nuxCw2.js +15 -0
- package/chunks/Chip-l3XTM9L_.js +85 -0
- package/chunks/Confirm.module-BBLLzr0p.js +15 -0
- package/chunks/{DropdownListItem-CBAmYB__.js → DropdownListItem-Db1_Qf-T.js} +9 -9
- package/chunks/DropdownMobile.module-yjUQwtlN.js +23 -0
- package/chunks/Footer.module-CT9KM6mo.js +9 -0
- package/chunks/{FormFieldInput-d6WkPngW.js → FormFieldInput-DFQ9utC5.js} +10 -10
- package/chunks/HeaderLayoutSidebar.module-DyYzCUfm.js +9 -0
- package/chunks/HeaderTabs.module-xtUGHrWk.js +9 -0
- package/chunks/{HeaderTitle.module-CFdpGGVy.js → HeaderTitle.module-XER-L3oZ.js} +2 -2
- package/chunks/ImageGalleryExtendedMain.module-XdOAzDPn.js +17 -0
- package/chunks/ImageGalleryExtendedThumb-DyFhUrYf.js +28 -0
- package/chunks/IslandAccordion.module-CJbyk2md.js +25 -0
- package/chunks/IslandWidgetFooter.module-DmCVzrdZ.js +9 -0
- package/chunks/IslandWidgetHeader.module-DsL-iWLC.js +13 -0
- package/chunks/{LightBoxContent-CUHF8ym9.js → LightBoxContent--zK60qip.js} +10 -10
- package/chunks/LightBoxControls.module-CzFWAOVn.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-DMvLOKDr.js +9 -0
- package/chunks/{ListItemControlsButton-GwTSx9t3.js → ListItemControlsButton-DOzJu8QS.js} +11 -11
- package/chunks/ListItemTail.module-BktNzHQ3.js +12 -0
- package/chunks/ListMasterFooter.module-BupkMzcp.js +10 -0
- package/chunks/ModalWindow.module-BKssph_P.js +17 -0
- package/chunks/Notification.module-BU6Z_ATv.js +20 -0
- package/chunks/Overlay.module-MZsYSnWB.js +18 -0
- package/chunks/Page.module-CS5TUL6b.js +11 -0
- package/chunks/SMSField.module-C73HM5Ag.js +16 -0
- package/chunks/SliderExtendedMarks.module-BONXJjKi.js +15 -0
- package/chunks/{SliderExtendedRail-s3nj0g7A.js → SliderExtendedRail-DmkehIF9.js} +6 -6
- package/chunks/StatusTracker.module-BpNMTLV3.js +24 -0
- package/chunks/{StepperStepArrowBorder-7nXw_k6S.js → StepperStepArrowBorder-D7k-xdb7.js} +6 -6
- package/chunks/{SuggestFieldMobileDropdownHint-DTd9ZRJc.js → SuggestFieldMobileDropdownHint-AG8aD2R1.js} +4 -4
- package/chunks/TableFooter.module-gdlmAJMs.js +14 -0
- package/chunks/TabsExtended.module-CAl-vyry.js +16 -0
- package/chunks/TabsLine.module-DzWGxbiq.js +21 -0
- package/chunks/TooltipDesktop.module-Bfmd95Xq.js +19 -0
- package/chunks/TreeView.module-zhlptASD.js +9 -0
- package/chunks/{UploadZoneInput-DH0deFXt.js → UploadZoneInput-DsuMWKCX.js} +8 -8
- package/chunks/{constants-Dsgjokad.js → constants-BU5P5Suc.js} +10 -10
- package/chunks/{utils-C0vdTK6h.js → utils-B0yofitE.js} +4 -4
- package/chunks/utils-BWmvhfLt.js +73 -0
- package/chunks/utils-DeQzy52G.js +24 -0
- package/chunks/{utils-CXTWVT_w.js → utils-YOUyx-FI.js} +10 -10
- package/chunks/{vendor-82AnkPpo.js → vendor-D5cfSbgz.js} +1114 -1116
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +22 -22
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +3 -3
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +12 -12
- package/components/Badge/Badge.js +6 -6
- package/components/Badge/BadgeDot.js +4 -4
- package/components/Badge/components/BadgeContent.js +16 -16
- package/components/Badge/components/BadgePostfix.js +5 -5
- package/components/Badge/components/BadgePrefix.js +6 -6
- package/components/Body/Body.js +5 -5
- package/components/Button/Button.js +22 -22
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +27 -27
- package/components/Button/ButtonDropdownExtended.js +2 -2
- package/components/Button/ButtonIcon.js +2 -2
- package/components/Calendar/Calendar.js +8 -8
- package/components/Calendar/components/CalendarControls.js +13 -13
- package/components/Calendar/components/CalendarFooter.js +1 -1
- 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 +11 -11
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +2 -2
- package/components/Checkbox/Checkbox.js +19 -19
- package/components/Checkbox/CheckboxXGroup.js +16 -16
- package/components/Checkbox/CheckboxYGroup.js +2 -2
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +5 -5
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +6 -6
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +9 -9
- package/components/Chip/ChipSelect/ChipSelect.js +2 -2
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +15 -15
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +50 -46
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +10 -10
- package/components/Col/Col.js +143 -143
- package/components/CollapsibleTree/CollapsibleTree.js +6 -6
- package/components/CollapsibleTree/components/CollapsibleTreeLeafContent.js +5 -5
- package/components/CollapsibleTree/components/CollapsibleTreeLeafNode.js +5 -5
- package/components/CollapsibleTree/components/CollapsibleTreeNodeHeader.js +11 -11
- package/components/CollapsibleTreeExtended/components/CollapsibleTreeExtendedNode.js +4 -4
- package/components/Confirm/Confirm.js +2 -2
- package/components/Confirm/components/ConfirmCloseButton.js +2 -2
- package/components/Confirm/components/ConfirmContent.js +2 -2
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +7 -7
- package/components/DateRange/DateRange.js +16 -16
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/components/Button.js +1 -1
- package/components/DesignTokens/components/Chip.js +1 -1
- package/components/DesignTokens/components/LightBox.js +10 -4
- package/components/DesignTokens/components/Tabs.js +2 -2
- package/components/Divider/Divider.js +23 -23
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +9 -9
- package/components/Dropdown/desktop/DropdownDesktop.js +9 -9
- 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 +5 -5
- 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 +8 -8
- package/components/EmptyView/EmptyView.js +12 -12
- package/components/ExpandAnimation/ExpandAnimation.js +19 -19
- package/components/FocusTrapExtended/FocusTrapExtended.js +34 -0
- package/components/FocusTrapExtended/index.js +5 -0
- 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 +18 -18
- package/components/FormField/components/FormFieldClear.js +8 -8
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +6 -6
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +12 -12
- package/components/FormField/components/FormFieldMaskedInput.js +26 -26
- package/components/FormField/components/FormFieldPostfix.js +8 -8
- package/components/FormField/components/FormFieldPrefix.js +6 -6
- package/components/FormField/components/FormFieldTarget.js +11 -11
- package/components/FormField/components/FormFieldTextarea.js +20 -20
- package/components/FormField/components/index.js +1 -1
- package/components/FormField/index.js +1 -1
- package/components/Gap/Gap.js +11 -11
- 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 +7 -7
- package/components/IconWrapper/IconWrapper.js +14 -14
- package/components/ImageGallery/ImageGallery.js +5 -4
- package/components/ImageGalleryExtended/ImageGalleryExtended.js +15 -15
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedArrow.js +2 -2
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedDots.js +12 -12
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedMain.js +8 -7
- 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 +3 -3
- package/components/Island/components/IslandFooter.js +4 -4
- 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 +3 -3
- package/components/IslandWidget/IslandWidget.js +19 -19
- package/components/IslandWidget/components/IslandWidgetBody.js +4 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +5 -5
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderControls.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderTitle.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +6 -6
- package/components/LightBox/LightBox.js +49 -48
- 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 +105 -97
- 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 +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +13 -13
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +19 -19
- package/components/List/List.js +9 -8
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +4 -4
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +14 -14
- 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 +6 -6
- package/components/List/components/ListItemSelectable.js +2 -2
- package/components/List/components/ListItemTable.js +6 -6
- package/components/List/components/ListItemTailLeft.js +7 -15
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +2 -2
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +4 -4
- 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 +3 -3
- 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 +6 -6
- package/components/ListMaster/components/SelectionControls.js +6 -6
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +9 -9
- package/components/Loader/LoaderSmall/LoaderSmall.js +8 -8
- package/components/LoaderScreen/LoaderScreen.js +8 -8
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +4 -4
- package/components/MobileView/index.js +3 -1
- package/components/MobileView/useMobileView.js +10 -0
- package/components/ModalWindow/ModalWindow.js +30 -30
- package/components/ModalWindow/components/ModalWindowBody.js +2 -2
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +3 -3
- package/components/ModalWindow/components/ModalWindowViewManager.js +7 -7
- package/components/MonthYearRange/MonthYearRange.js +6 -6
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +13 -13
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +6 -6
- package/components/Notification/Notification.js +36 -37
- package/components/Notification/NotificationGrouped.js +12 -7
- package/components/Notification/components/NotificationBody.js +20 -16
- 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/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +3 -3
- package/components/OrderedList/OrderedListItem.js +3 -3
- package/components/Overlay/Overlay.js +54 -54
- package/components/Overlay/OverlayBase.js +26 -22
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +2 -2
- package/components/Page/components/BodyPage.js +9 -9
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +13 -13
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +7 -7
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +12 -12
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +5 -5
- package/components/Row/Row.js +16 -16
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +3 -3
- package/components/SMSField/components/SMSFieldRefresh.js +2 -2
- package/components/SMSField/components/SMSFieldSubmit.js +2 -2
- package/components/SMSField/components/SMSFieldTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +14 -14
- package/components/SegmentedControl/SegmentedControlSegment.js +10 -10
- package/components/SelectExtendedField/SelectExtendedField.js +16 -16
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +4 -4
- package/components/SelectField/SelectField.js +2 -2
- package/components/Skeleton/Skeleton.js +7 -7
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +2 -2
- package/components/SliderExtended/components/SliderExtendedRail.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +4 -4
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +20 -20
- package/components/SmallInput/SmallInput.js +4 -4
- package/components/Spoiler/Spoiler.js +14 -14
- 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 +9 -9
- package/components/Stepper/Stepper.js +13 -12
- package/components/Stepper/StepperExtended.js +9 -9
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperStepArrowBorder.js +1 -1
- package/components/Stepper/index.js +9 -7
- package/components/Suggest/SuggestMobileDropdownContent.js +18 -18
- package/components/Suggest/useSuggest.js +1 -1
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +3 -3
- 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 +11 -11
- package/components/Table/ChipPanel.js +7 -7
- package/components/Table/ChipPanelLinks.js +2 -2
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +7 -7
- package/components/Table/NoColumns.js +2 -2
- 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 +8 -8
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +10 -10
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +4 -4
- 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 +10 -10
- 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 +7 -7
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +13 -12
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +3 -3
- package/components/TabsLine/components/TabsLineItem.js +38 -38
- package/components/TabsLine/components/TabsLineMobile.js +7 -7
- package/components/Tag/Tag.js +27 -27
- package/components/TagColor/TagColor.js +9 -9
- package/components/TagGroup/TagGroup.js +11 -11
- package/components/TextField/TextField.js +1 -1
- package/components/TextField/TextFieldBase.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +18 -18
- 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 +6 -6
- package/components/TopOverlay/TopOverlay.js +43 -43
- package/components/TreeView/TreeView.js +2 -2
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +2 -2
- package/components/Typography/Caption.js +19 -19
- package/components/Typography/CodeText.js +7 -7
- package/components/Typography/Text.js +25 -25
- package/components/Typography/Title.js +20 -20
- package/components/Typography/constants.js +1 -1
- package/components/Typography/enums.js +1 -1
- package/components/UnorderedList/UnorderedList.js +7 -7
- package/components/UnorderedList/UnorderedListItem.js +3 -3
- 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 +363 -359
- package/index.d.ts +104 -155
- package/index.js +397 -393
- package/package.json +5 -1
- package/styles/triplex-next.css +557 -556
- package/utils/amountUtils.js +1 -1
- package/chunks/Card.module-DLre-hDg.js +0 -18
- package/chunks/CheckboxTreeExtended.module-BsnFYetJ.js +0 -15
- package/chunks/Chip-Fb7_tfTx.js +0 -85
- package/chunks/Confirm.module-ONNAnitW.js +0 -15
- package/chunks/DropdownMobile.module-C99ad0jt.js +0 -23
- package/chunks/Footer.module-fCYYdKPC.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-BUlWJH2L.js +0 -9
- package/chunks/HeaderTabs.module-f0pOEOus.js +0 -9
- package/chunks/ImageGalleryExtendedMain.module-BGe90A85.js +0 -17
- package/chunks/ImageGalleryExtendedThumb-BVI6zmzL.js +0 -28
- package/chunks/IslandAccordion.module-CpsIbUZS.js +0 -25
- package/chunks/IslandWidgetFooter.module-Cv-pFx97.js +0 -9
- package/chunks/IslandWidgetHeader.module-DZ7u5KdZ.js +0 -13
- package/chunks/LightBoxControls.module-BGzxKeYz.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CmhYqDUn.js +0 -9
- package/chunks/ListItemTail.module-_zPCXCQZ.js +0 -12
- package/chunks/ListMasterFooter.module-OOs3HMYn.js +0 -10
- package/chunks/ModalWindow.module-BkI79oza.js +0 -17
- package/chunks/Notification.module-CtpYgvcX.js +0 -20
- package/chunks/Overlay.module-C3WPSJN5.js +0 -18
- package/chunks/Page.module-CkMrRJ3E.js +0 -11
- package/chunks/SMSField.module-Bo60-Oyi.js +0 -16
- package/chunks/SliderExtendedMarks.module-kdIHU6Y0.js +0 -15
- package/chunks/StatusTracker.module-DiLzRUA8.js +0 -24
- package/chunks/TableFooter.module-Bq-wqvaF.js +0 -14
- package/chunks/TabsExtended.module-CsY7VuxQ.js +0 -16
- package/chunks/TabsLine.module-BWx30e5X.js +0 -21
- package/chunks/TooltipDesktop.module-BkTwHXKO.js +0 -19
- package/chunks/TreeView.module-seYxUon6.js +0 -9
- package/chunks/utils-BIYQTFij.js +0 -24
- package/chunks/utils-CXwYWTdr.js +0 -73
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { A as
|
|
4
|
-
const F = "
|
|
2
|
+
import U, { useRef as A } from "react";
|
|
3
|
+
import { A as b, c as j } from "../../chunks/vendor-D5cfSbgz.js";
|
|
4
|
+
const F = "expandAnimation__d47f07e3", I = {
|
|
5
5
|
expandAnimation: F
|
|
6
|
-
}, L = 300, M =
|
|
6
|
+
}, L = 300, M = U.forwardRef(
|
|
7
7
|
({
|
|
8
8
|
children: y,
|
|
9
9
|
className: E,
|
|
10
10
|
expanded: v,
|
|
11
|
-
animationTime:
|
|
11
|
+
animationTime: x = L,
|
|
12
12
|
style: R,
|
|
13
|
-
onStart:
|
|
13
|
+
onStart: l,
|
|
14
14
|
onEnd: h,
|
|
15
15
|
transitionProps: e,
|
|
16
16
|
..._
|
|
17
|
-
},
|
|
17
|
+
}, f) => {
|
|
18
18
|
const m = A({
|
|
19
19
|
entering: { height: void 0, overflow: "hidden" },
|
|
20
20
|
entered: {},
|
|
21
21
|
exiting: { height: 0, overflow: "hidden" },
|
|
22
22
|
exited: { height: 0, overflow: "hidden", visibility: "hidden" },
|
|
23
23
|
unmounted: {}
|
|
24
|
-
}),
|
|
24
|
+
}), d = A(null), w = (c) => {
|
|
25
25
|
var u;
|
|
26
|
-
|
|
26
|
+
d.current && (m.current.entering.height = d.current.scrollHeight), l == null || l(), (u = e == null ? void 0 : e.onEnter) == null || u.call(e, c);
|
|
27
27
|
}, H = (c) => {
|
|
28
28
|
var u;
|
|
29
29
|
h == null || h(), (u = e == null ? void 0 : e.onEntered) == null || u.call(e, c);
|
|
30
30
|
}, T = () => {
|
|
31
31
|
var c;
|
|
32
|
-
|
|
33
|
-
},
|
|
32
|
+
d.current && (d.current.style.height = d.current.scrollHeight + "px", d.current.scrollHeight), l == null || l(), (c = e == null ? void 0 : e.onExit) == null || c.call(e);
|
|
33
|
+
}, D = () => {
|
|
34
34
|
var c;
|
|
35
35
|
h == null || h(), (c = e == null ? void 0 : e.onExited) == null || c.call(e);
|
|
36
|
-
},
|
|
37
|
-
|
|
36
|
+
}, N = (c) => {
|
|
37
|
+
d.current = c, typeof f == "function" ? f(c) : f && (f.current = c);
|
|
38
38
|
};
|
|
39
39
|
return /* @__PURE__ */ g(
|
|
40
|
-
|
|
40
|
+
b,
|
|
41
41
|
{
|
|
42
42
|
in: v,
|
|
43
|
-
timeout:
|
|
44
|
-
nodeRef:
|
|
43
|
+
timeout: x,
|
|
44
|
+
nodeRef: d,
|
|
45
45
|
...e,
|
|
46
46
|
onEnter: w,
|
|
47
47
|
onEntered: H,
|
|
48
48
|
onExit: T,
|
|
49
|
-
onExited:
|
|
49
|
+
onExited: D,
|
|
50
50
|
children: (c) => /* @__PURE__ */ g(
|
|
51
51
|
"div",
|
|
52
52
|
{
|
|
53
53
|
className: j(I.expandAnimation, E),
|
|
54
54
|
style: {
|
|
55
|
-
transitionDuration:
|
|
55
|
+
transitionDuration: x + "ms",
|
|
56
56
|
...m.current[c],
|
|
57
57
|
...R
|
|
58
58
|
},
|
|
59
59
|
..._,
|
|
60
|
-
ref:
|
|
60
|
+
ref: N,
|
|
61
61
|
children: y
|
|
62
62
|
}
|
|
63
63
|
)
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as l } from "react";
|
|
3
|
+
import { j as n } from "../../chunks/vendor-D5cfSbgz.js";
|
|
4
|
+
const d = ({ focusTrapOptions: e, ...i }) => {
|
|
5
|
+
const u = l(!1);
|
|
6
|
+
return /* @__PURE__ */ s(
|
|
7
|
+
n.FocusTrap,
|
|
8
|
+
{
|
|
9
|
+
...i,
|
|
10
|
+
focusTrapOptions: {
|
|
11
|
+
...e,
|
|
12
|
+
clickOutsideDeactivates: (t) => {
|
|
13
|
+
if (typeof (e == null ? void 0 : e.clickOutsideDeactivates) == "function") {
|
|
14
|
+
const r = e.clickOutsideDeactivates(t);
|
|
15
|
+
return r && (u.current = !0), r;
|
|
16
|
+
}
|
|
17
|
+
return u.current = !0, !0;
|
|
18
|
+
},
|
|
19
|
+
setReturnFocus: (t) => {
|
|
20
|
+
const r = u.current;
|
|
21
|
+
if (u.current = !1, typeof (e == null ? void 0 : e.setReturnFocus) == "function") {
|
|
22
|
+
const c = e.setReturnFocus(t);
|
|
23
|
+
return r && c === t ? !1 : c;
|
|
24
|
+
}
|
|
25
|
+
return r ? !1 : t;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
};
|
|
31
|
+
export {
|
|
32
|
+
d as FocusTrapExtended
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=FocusTrapExtended.js.map
|
|
@@ -5,7 +5,7 @@ import "./components/FooterDescriptionControls.js";
|
|
|
5
5
|
import "./components/FooterDescriptionContent.js";
|
|
6
6
|
const p = Object.assign(
|
|
7
7
|
i.forwardRef(function({ children: o, ...t }, r) {
|
|
8
|
-
return /* @__PURE__ */ e("div", { ...t, "data-tx": "1.
|
|
8
|
+
return /* @__PURE__ */ e("div", { ...t, "data-tx": "1.34.0", ref: r, children: o });
|
|
9
9
|
}),
|
|
10
10
|
{
|
|
11
11
|
Description: m
|
|
@@ -2,8 +2,8 @@ import { jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import s from "react";
|
|
3
3
|
import { FooterDescriptionContent as n } from "./FooterDescriptionContent.js";
|
|
4
4
|
import { FooterDescriptionControls as m } from "./FooterDescriptionControls.js";
|
|
5
|
-
import { c as p } from "../../../chunks/vendor-
|
|
6
|
-
import { s as c } from "../../../chunks/Footer.module-
|
|
5
|
+
import { c as p } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
6
|
+
import { s as c } from "../../../chunks/Footer.module-CT9KM6mo.js";
|
|
7
7
|
const f = Object.assign(
|
|
8
8
|
s.forwardRef(function({ children: o, className: t, ...r }, e) {
|
|
9
9
|
return /* @__PURE__ */ i("div", { className: p(c.footerDescription, t), ...r, ref: e, children: o });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { c as m } from "../../../chunks/vendor-
|
|
4
|
-
import { s as n } from "../../../chunks/Footer.module-
|
|
3
|
+
import { c as m } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
4
|
+
import { s as n } from "../../../chunks/Footer.module-CT9KM6mo.js";
|
|
5
5
|
const a = i.forwardRef(
|
|
6
6
|
({ children: o, className: t, ...r }, e) => /* @__PURE__ */ s("div", { className: m(n.footerDescriptionContent, t), ...r, ref: e, children: o })
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { c as m } from "../../../chunks/vendor-
|
|
4
|
-
import { s as a } from "../../../chunks/Footer.module-
|
|
3
|
+
import { c as m } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
4
|
+
import { s as a } from "../../../chunks/Footer.module-CT9KM6mo.js";
|
|
5
5
|
const p = i.forwardRef(
|
|
6
6
|
({ children: o, className: r, ...t }, s) => /* @__PURE__ */ e("div", { className: m(a.footerDescriptionControls, r), ...t, ref: s, children: o })
|
|
7
7
|
);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import I, { useState as t, useMemo as L } from "react";
|
|
3
|
-
import { c as h } from "../../chunks/vendor-
|
|
3
|
+
import { c as h } from "../../chunks/vendor-D5cfSbgz.js";
|
|
4
4
|
import { FormFieldContext as v } from "./FormFieldContext.js";
|
|
5
5
|
import { TARGET_PADDING_X_DEFAULT as _ } from "./consts.js";
|
|
6
6
|
import { EFormFieldStatus as o } from "./enums.js";
|
|
7
7
|
import { EComponentSize as w } from "../../enums/EComponentSize.js";
|
|
8
8
|
import { createSizeToClassNameMap as C } from "../../utils/classNameMaps.js";
|
|
9
|
-
const S = "
|
|
9
|
+
const S = "formField__c96b5160", W = "sm__2079d6a4", G = "md__7fe9c68e", M = "lg__aac0ac1a", P = "active__701240be", y = "disabled__c53733d4", U = "error__4c616467", j = "warning__fd5245fb", z = "filled__821e9e87", e = {
|
|
10
10
|
formField: S,
|
|
11
11
|
sm: W,
|
|
12
12
|
md: G,
|
|
13
13
|
lg: M,
|
|
14
|
-
default: "
|
|
14
|
+
default: "default__0af22212",
|
|
15
15
|
active: P,
|
|
16
16
|
disabled: y,
|
|
17
17
|
error: U,
|
|
@@ -27,22 +27,22 @@ const S = "formField__ca466614", W = "sm__ab9ef21c", G = "md__9ec7e2e7", M = "lg
|
|
|
27
27
|
children: p,
|
|
28
28
|
className: F,
|
|
29
29
|
style: g,
|
|
30
|
-
size:
|
|
31
|
-
status:
|
|
32
|
-
active:
|
|
30
|
+
size: r = w.LG,
|
|
31
|
+
status: a = o.DEFAULT,
|
|
32
|
+
active: d = !1,
|
|
33
33
|
...u
|
|
34
34
|
}, x) => {
|
|
35
|
-
const [m, b] = t(), [
|
|
35
|
+
const [m, b] = t(), [f, T] = t(), [i, E] = t(_), [l, N] = t(_), [c, R] = t(!1), [s, A] = t(!1), D = L(
|
|
36
36
|
() => ({
|
|
37
|
-
size:
|
|
38
|
-
status:
|
|
37
|
+
size: r,
|
|
38
|
+
status: a,
|
|
39
39
|
targetId: m,
|
|
40
|
-
labelId:
|
|
40
|
+
labelId: f,
|
|
41
41
|
postfixWidth: i,
|
|
42
42
|
prefixWidth: l,
|
|
43
43
|
filled: c,
|
|
44
44
|
focused: s,
|
|
45
|
-
active:
|
|
45
|
+
active: d || s,
|
|
46
46
|
setTargetId: b,
|
|
47
47
|
setLabelId: T,
|
|
48
48
|
setPostfixWidth: E,
|
|
@@ -50,22 +50,22 @@ const S = "formField__ca466614", W = "sm__ab9ef21c", G = "md__9ec7e2e7", M = "lg
|
|
|
50
50
|
setFilled: R,
|
|
51
51
|
setFocused: A
|
|
52
52
|
}),
|
|
53
|
-
[
|
|
53
|
+
[r, a, m, f, i, l, c, s, d]
|
|
54
54
|
);
|
|
55
|
-
return /* @__PURE__ */
|
|
55
|
+
return /* @__PURE__ */ n(v.Provider, { value: D, children: /* @__PURE__ */ n(
|
|
56
56
|
"div",
|
|
57
57
|
{
|
|
58
58
|
className: h(
|
|
59
59
|
e.formField,
|
|
60
|
-
O[
|
|
61
|
-
B[
|
|
60
|
+
O[r],
|
|
61
|
+
B[a],
|
|
62
62
|
{
|
|
63
63
|
[e.filled]: c,
|
|
64
|
-
[e.active]:
|
|
64
|
+
[e.active]: d || s
|
|
65
65
|
},
|
|
66
66
|
F
|
|
67
67
|
),
|
|
68
|
-
"data-tx": "1.
|
|
68
|
+
"data-tx": "1.34.0",
|
|
69
69
|
style: { paddingLeft: l, paddingRight: i, ...g },
|
|
70
70
|
...u,
|
|
71
71
|
ref: x,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c } from "../../../chunks/vendor-
|
|
2
|
+
import c, { useCallback as f } from "react";
|
|
3
|
+
import { c as i } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
4
4
|
import { CrossStrokeSrvIcon16 as d } from "@sberbusiness/icons-next";
|
|
5
5
|
import { ButtonIcon as s } from "../../Button/ButtonIcon.js";
|
|
6
|
-
const p = "
|
|
6
|
+
const p = "formFieldClear__5c8e3250", C = {
|
|
7
7
|
formFieldClear: p
|
|
8
|
-
}, F =
|
|
9
|
-
({ className:
|
|
10
|
-
const o =
|
|
8
|
+
}, F = c.forwardRef(
|
|
9
|
+
({ className: t, onMouseDown: r, ...a }, m) => {
|
|
10
|
+
const o = f(
|
|
11
11
|
(e) => {
|
|
12
12
|
e.preventDefault(), r == null || r(e);
|
|
13
13
|
},
|
|
@@ -16,8 +16,8 @@ const p = "formFieldClear__1a057f89", C = {
|
|
|
16
16
|
return /* @__PURE__ */ l(
|
|
17
17
|
s,
|
|
18
18
|
{
|
|
19
|
-
...
|
|
20
|
-
className:
|
|
19
|
+
...a,
|
|
20
|
+
className: i(C.formFieldClear, t),
|
|
21
21
|
onMouseDown: o,
|
|
22
22
|
ref: m,
|
|
23
23
|
children: /* @__PURE__ */ l(d, { paletteIndex: 5 })
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as n, useEffect as i } from "react";
|
|
3
3
|
import { FormFieldDescriptionContext as m } from "../FormFieldDescriptionContext.js";
|
|
4
|
-
const s = "
|
|
4
|
+
const s = "formFieldCounter__806ad52f", u = {
|
|
5
5
|
formFieldCounter: s
|
|
6
|
-
},
|
|
6
|
+
}, f = ({ children: o, ...r }) => {
|
|
7
7
|
const { setWithCounter: e } = n(m);
|
|
8
8
|
return i(() => (e(!0), () => e(!1)), []), /* @__PURE__ */ t("div", { className: u.formFieldCounter, ...r, children: o });
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
f.displayName = "FormFieldCounter";
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
f as FormFieldCounter
|
|
13
13
|
};
|
|
14
14
|
//# sourceMappingURL=FormFieldCounter.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
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-D5cfSbgz.js";
|
|
4
4
|
import { FormFieldDescriptionContext as m } from "../FormFieldDescriptionContext.js";
|
|
5
|
-
const
|
|
6
|
-
formFieldDescription:
|
|
7
|
-
withCounter:
|
|
8
|
-
}, p = ({ children:
|
|
5
|
+
const d = "formFieldDescription__d84f0c5f", l = "withCounter__c0d6c84d", i = {
|
|
6
|
+
formFieldDescription: d,
|
|
7
|
+
withCounter: l
|
|
8
|
+
}, p = ({ children: r, ...e }) => {
|
|
9
9
|
const [o, s] = n(!1);
|
|
10
|
-
return /* @__PURE__ */ t(m.Provider, { value: { withCounter: o, setWithCounter: s }, children: /* @__PURE__ */ t("div", { className: c(i.formFieldDescription, { [i.withCounter]: o }), ...
|
|
10
|
+
return /* @__PURE__ */ t(m.Provider, { value: { withCounter: o, setWithCounter: s }, children: /* @__PURE__ */ t("div", { className: c(i.formFieldDescription, { [i.withCounter]: o }), ...e, children: r }) });
|
|
11
11
|
};
|
|
12
12
|
p.displayName = "FormFieldDescription";
|
|
13
13
|
export {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../../../chunks/vendor-
|
|
3
|
+
import "../../../chunks/vendor-D5cfSbgz.js";
|
|
4
4
|
import "../FormFieldContext.js";
|
|
5
5
|
import "../enums.js";
|
|
6
6
|
import "../../../utils/classNameMaps.js";
|
|
7
7
|
import "./utils.js";
|
|
8
|
-
import { F as d } from "../../../chunks/FormFieldInput-
|
|
8
|
+
import { F as d } from "../../../chunks/FormFieldInput-DFQ9utC5.js";
|
|
9
9
|
export {
|
|
10
10
|
d as FormFieldInput
|
|
11
11
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import A, { useContext as E, useMemo as N, useLayoutEffect as I } from "react";
|
|
3
|
-
import { u as S, c as h } from "../../../chunks/vendor-
|
|
3
|
+
import { u as S, c as h } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
4
4
|
import { FormFieldContext as y } from "../FormFieldContext.js";
|
|
5
5
|
import { createSizeToClassNameMap as D } from "../../../utils/classNameMaps.js";
|
|
6
6
|
import { EFormFieldStatus as C } from "../enums.js";
|
|
7
|
-
import { TARGET_PADDING_X_DEFAULT as
|
|
8
|
-
const M = "
|
|
7
|
+
import { TARGET_PADDING_X_DEFAULT as s } from "../consts.js";
|
|
8
|
+
const M = "formFieldLabel__32ca718a", R = "sm__2079d6a4", v = "md__7fe9c68e", z = "lg__aac0ac1a", G = "floating__51f68d10", W = "formFieldLabelText__fff15d0c", j = "disabled__c53733d4", e = {
|
|
9
9
|
formFieldLabel: M,
|
|
10
10
|
sm: R,
|
|
11
11
|
md: v,
|
|
@@ -14,25 +14,25 @@ const M = "formFieldLabel__bb70cb50", R = "sm__ab9ef21c", v = "md__9ec7e2e7", z
|
|
|
14
14
|
formFieldLabelText: W,
|
|
15
15
|
disabled: j
|
|
16
16
|
}, q = D(e), w = A.forwardRef(
|
|
17
|
-
({ children: i, id: t, className: m, style:
|
|
18
|
-
const { targetId: n, size:
|
|
17
|
+
({ children: i, id: t, className: m, style: d, floating: f, ...r }, c) => {
|
|
18
|
+
const { targetId: n, size: _, status: b, filled: F, active: L, prefixWidth: g, postfixWidth: p, setLabelId: o } = E(y), l = N(() => t === void 0 ? S("label_") : t, [t]), u = f ?? (F || L), x = h(
|
|
19
19
|
e.formFieldLabel,
|
|
20
|
-
q[
|
|
20
|
+
q[_],
|
|
21
21
|
{
|
|
22
22
|
[e.floating]: u,
|
|
23
|
-
[e.disabled]:
|
|
23
|
+
[e.disabled]: b === C.DISABLED
|
|
24
24
|
},
|
|
25
25
|
m
|
|
26
26
|
), T = {
|
|
27
27
|
// Левая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
28
|
-
left: g ||
|
|
28
|
+
left: g || s,
|
|
29
29
|
// Правая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
30
|
-
right: p ||
|
|
31
|
-
...
|
|
30
|
+
right: p || s,
|
|
31
|
+
...d
|
|
32
32
|
};
|
|
33
33
|
return I(() => {
|
|
34
34
|
o(l);
|
|
35
|
-
}, [l, o]), /* @__PURE__ */
|
|
35
|
+
}, [l, o]), /* @__PURE__ */ a("label", { ...r, id: l, className: x, htmlFor: n, style: T, ref: c, children: /* @__PURE__ */ a("span", { className: e.formFieldLabelText, children: i }) });
|
|
36
36
|
}
|
|
37
37
|
);
|
|
38
38
|
w.displayName = "FormFieldLabel";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { jsxs as B, jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { useState as $, useRef as L, useContext as N, useEffect as O, useCallback as U } from "react";
|
|
3
|
-
import { c as F, n as q, o as p } from "../../../chunks/vendor-
|
|
3
|
+
import { c as F, n as q, o as p } from "../../../chunks/vendor-D5cfSbgz.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-DFQ9utC5.js";
|
|
6
6
|
import { FormFieldContext as K } from "../FormFieldContext.js";
|
|
7
7
|
import { EFormFieldStatus as V } from "../enums.js";
|
|
8
|
-
const Q = "
|
|
8
|
+
const Q = "formFieldMaskedInputWrapper__4a62c7f0", X = "formFieldMaskedInputPlaceholder__b0121f15", Y = "formFieldMaskedInput__5c8d62b8", u = {
|
|
9
9
|
formFieldMaskedInputWrapper: Q,
|
|
10
10
|
formFieldMaskedInputPlaceholder: X,
|
|
11
|
-
"size-sm": "size-
|
|
12
|
-
"size-md": "size-
|
|
13
|
-
"size-lg": "size-
|
|
11
|
+
"size-sm": "size-sm__3ce585f9",
|
|
12
|
+
"size-md": "size-md__b1257c59",
|
|
13
|
+
"size-lg": "size-lg__29157d77",
|
|
14
14
|
formFieldMaskedInput: Y
|
|
15
|
-
},
|
|
15
|
+
}, c = ({
|
|
16
16
|
className: I,
|
|
17
|
-
forwardedRef:
|
|
17
|
+
forwardedRef: f,
|
|
18
18
|
mask: o,
|
|
19
|
-
onChange:
|
|
19
|
+
onChange: d,
|
|
20
20
|
placeholder: g,
|
|
21
21
|
placeholderChar: n = "0",
|
|
22
22
|
placeholderMask: l,
|
|
23
23
|
value: s,
|
|
24
24
|
...M
|
|
25
25
|
}) => {
|
|
26
|
-
const [x, y] = $(""),
|
|
26
|
+
const [x, y] = $(""), a = L(!1), { filled: z, focused: b, size: k, status: _ } = N(K);
|
|
27
27
|
O(() => {
|
|
28
28
|
y((() => {
|
|
29
29
|
let t = [];
|
|
@@ -40,17 +40,17 @@ const Q = "formFieldMaskedInputWrapper__49237050", X = "formFieldMaskedInputPlac
|
|
|
40
40
|
return t.join("");
|
|
41
41
|
})());
|
|
42
42
|
}, [s, o, n, l]);
|
|
43
|
-
const
|
|
43
|
+
const E = U(
|
|
44
44
|
(e) => {
|
|
45
45
|
const { value: t } = e.target;
|
|
46
|
-
|
|
46
|
+
a.current = !1, s !== t && (d == null || d(e));
|
|
47
47
|
},
|
|
48
|
-
[s,
|
|
49
|
-
),
|
|
50
|
-
|
|
51
|
-
},
|
|
48
|
+
[s, d]
|
|
49
|
+
), S = () => {
|
|
50
|
+
a.current = !0;
|
|
51
|
+
}, T = (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 = [];
|
|
53
|
-
if (
|
|
53
|
+
if (a.current) {
|
|
54
54
|
let i = /^[78]((\D*\d)*)/;
|
|
55
55
|
e = e.replace(i, "+7 ($1"), i = /^\d7/, e = e.replace(i, (r) => (t = Array.from("+7 (").map((Z, A) => A), `+7 (${r}`));
|
|
56
56
|
} else (e === "7" || e === "8") && (e = "+7 (");
|
|
@@ -58,10 +58,10 @@ const Q = "formFieldMaskedInputWrapper__49237050", X = "formFieldMaskedInputPlac
|
|
|
58
58
|
indexesOfPipedChars: t,
|
|
59
59
|
value: p.conformToMask(e, o, { guide: !1, placeholderChar: n }).conformedValue
|
|
60
60
|
};
|
|
61
|
-
}, D = () => o ===
|
|
62
|
-
t && e(t), typeof
|
|
63
|
-
}, j = () => !z && !
|
|
64
|
-
return /* @__PURE__ */ B("div", { className: F(u.formFieldMaskedInputWrapper, u[`size-${
|
|
61
|
+
}, D = () => o === c.presets.masks.phone ? (s = P(s).value, s) : p.conformToMask(s, o, { guide: !1, placeholderChar: n }).conformedValue, W = (e) => (t) => {
|
|
62
|
+
t && e(t), typeof f == "function" ? f(t) : f && (f.current = t);
|
|
63
|
+
}, j = () => !z && !b || !s && g ? "" : x;
|
|
64
|
+
return /* @__PURE__ */ B("div", { className: F(u.formFieldMaskedInputWrapper, u[`size-${k}`]), children: [
|
|
65
65
|
/* @__PURE__ */ m(
|
|
66
66
|
"input",
|
|
67
67
|
{
|
|
@@ -83,19 +83,19 @@ const Q = "formFieldMaskedInputWrapper__49237050", X = "formFieldMaskedInputPlac
|
|
|
83
83
|
guide: !1,
|
|
84
84
|
render: (e, t) => /* @__PURE__ */ m(J, { ...t, value: s, placeholder: g || "", ref: W(e) }),
|
|
85
85
|
mask: o,
|
|
86
|
-
onChange:
|
|
87
|
-
onPaste:
|
|
86
|
+
onChange: E,
|
|
87
|
+
onPaste: S,
|
|
88
88
|
placeholderChar: n,
|
|
89
89
|
value: D(),
|
|
90
|
-
pipe:
|
|
90
|
+
pipe: T,
|
|
91
91
|
type: "text",
|
|
92
92
|
...M
|
|
93
93
|
}
|
|
94
94
|
)
|
|
95
95
|
] });
|
|
96
96
|
};
|
|
97
|
-
|
|
97
|
+
c.presets = G;
|
|
98
98
|
export {
|
|
99
|
-
|
|
99
|
+
c as FormFieldMaskedInput
|
|
100
100
|
};
|
|
101
101
|
//# sourceMappingURL=FormFieldMaskedInput.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as x } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as R } from "../../../chunks/vendor-
|
|
2
|
+
import F, { useContext as a, useRef as p, useEffect as P } from "react";
|
|
3
|
+
import { c as R } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
4
4
|
import { FormFieldContext as _ } from "../FormFieldContext.js";
|
|
5
|
-
import { TARGET_PADDING_X_DEFAULT as
|
|
6
|
-
const
|
|
7
|
-
formFieldPostfix:
|
|
8
|
-
}, g =
|
|
5
|
+
import { TARGET_PADDING_X_DEFAULT as b } from "../consts.js";
|
|
6
|
+
const w = "formFieldPostfix__0b403c7f", N = {
|
|
7
|
+
formFieldPostfix: w
|
|
8
|
+
}, g = F.forwardRef(
|
|
9
9
|
({ children: n, className: c, ...m }, t) => {
|
|
10
|
-
const { setPostfixWidth: o } =
|
|
10
|
+
const { setPostfixWidth: o } = a(_), s = p(), l = R(N.formFieldPostfix, c), d = (e) => {
|
|
11
11
|
s.current = e, typeof t == "function" ? t(e) : t && (t.current = e);
|
|
12
12
|
};
|
|
13
13
|
return P(() => {
|
|
@@ -19,7 +19,7 @@ const N = "formFieldPostfix__5a09e621", b = {
|
|
|
19
19
|
o((f) => f !== i ? i : f);
|
|
20
20
|
});
|
|
21
21
|
return r.observe(e), () => {
|
|
22
|
-
r.disconnect(), o(
|
|
22
|
+
r.disconnect(), o(b);
|
|
23
23
|
};
|
|
24
24
|
}, [o]), /* @__PURE__ */ x("span", { className: l, ...m, ref: d, children: n });
|
|
25
25
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as x } from "react/jsx-runtime";
|
|
2
2
|
import F, { useContext as a, useRef as p, useEffect as P } from "react";
|
|
3
|
-
import { c as R } from "../../../chunks/vendor-
|
|
3
|
+
import { c as R } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
4
4
|
import { FormFieldContext as _ } from "../FormFieldContext.js";
|
|
5
|
-
import { TARGET_PADDING_X_DEFAULT as
|
|
6
|
-
const
|
|
7
|
-
formFieldPrefix:
|
|
5
|
+
import { TARGET_PADDING_X_DEFAULT as b } from "../consts.js";
|
|
6
|
+
const w = "formFieldPrefix__394d326b", N = {
|
|
7
|
+
formFieldPrefix: w
|
|
8
8
|
}, g = F.forwardRef(
|
|
9
9
|
({ children: n, className: c, ...m }, r) => {
|
|
10
|
-
const { setPrefixWidth: t } = a(_), o = p(), l = R(
|
|
10
|
+
const { setPrefixWidth: t } = a(_), o = p(), l = R(N.formFieldPrefix, c), d = (e) => {
|
|
11
11
|
o.current = e, typeof r == "function" ? r(e) : r && (r.current = e);
|
|
12
12
|
};
|
|
13
13
|
return P(() => {
|
|
@@ -19,7 +19,7 @@ const N = "formFieldPrefix__cc89771f", b = {
|
|
|
19
19
|
t((f) => f !== i ? i : f);
|
|
20
20
|
});
|
|
21
21
|
return s.observe(e), () => {
|
|
22
|
-
s.disconnect(), t(
|
|
22
|
+
s.disconnect(), t(b);
|
|
23
23
|
};
|
|
24
24
|
}, [t]), /* @__PURE__ */ x("span", { className: l, ...m, ref: d, children: n });
|
|
25
25
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { u as y, c as A } from "../../../chunks/vendor-
|
|
1
|
+
import { jsx as f } from "react/jsx-runtime";
|
|
2
|
+
import g, { useContext as S, useMemo as h, useLayoutEffect as b, useCallback as F } from "react";
|
|
3
|
+
import { u as y, c as A } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
4
4
|
import { FormFieldContext as L } from "../FormFieldContext.js";
|
|
5
5
|
import { EFormFieldStatus as d } from "../enums.js";
|
|
6
6
|
import { createSizeToClassNameMap as W } from "../../../utils/classNameMaps.js";
|
|
7
|
-
const z = "
|
|
7
|
+
const z = "formFieldTarget__c2522cd1", M = "sm__2079d6a4", R = "md__7fe9c68e", j = "lg__aac0ac1a", k = "placeholder__67deedf2", q = "disabled__c53733d4", w = "placeholderWrapper__9ce4d936", B = "active__701240be", e = {
|
|
8
8
|
formFieldTarget: z,
|
|
9
9
|
sm: M,
|
|
10
10
|
md: R,
|
|
@@ -13,16 +13,16 @@ const z = "formFieldTarget__a982acec", M = "sm__ab9ef21c", R = "md__9ec7e2e7", j
|
|
|
13
13
|
disabled: q,
|
|
14
14
|
placeholderWrapper: w,
|
|
15
15
|
active: B
|
|
16
|
-
}, G = W(e), H =
|
|
16
|
+
}, G = W(e), H = g.forwardRef(
|
|
17
17
|
({ children: c, id: o, className: T, placeholder: p, onFocus: a, onBlur: t, ...u }, D) => {
|
|
18
|
-
const { size: I, status: s, active: v, labelId: x, setFilled: n, setFocused: l, setTargetId:
|
|
18
|
+
const { size: I, status: s, active: v, labelId: x, setFilled: n, setFocused: l, setTargetId: _ } = S(L), i = h(() => o === void 0 ? y("target_") : o, [o]), r = h(() => g.Children.toArray(c).length !== 0, [c]), E = A(e.formFieldTarget, G[I], T, {
|
|
19
19
|
[e.disabled]: s === d.DISABLED,
|
|
20
20
|
[e.placeholder]: !!p && !r && s !== d.DISABLED,
|
|
21
21
|
[e.active]: v
|
|
22
22
|
});
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}, [i,
|
|
23
|
+
b(() => {
|
|
24
|
+
_(i);
|
|
25
|
+
}, [i, _]), b(() => {
|
|
26
26
|
n(r);
|
|
27
27
|
}, [r, n]);
|
|
28
28
|
const C = F(
|
|
@@ -36,7 +36,7 @@ const z = "formFieldTarget__a982acec", M = "sm__ab9ef21c", R = "md__9ec7e2e7", j
|
|
|
36
36
|
},
|
|
37
37
|
[t, l]
|
|
38
38
|
);
|
|
39
|
-
return /* @__PURE__ */
|
|
39
|
+
return /* @__PURE__ */ f(
|
|
40
40
|
"div",
|
|
41
41
|
{
|
|
42
42
|
...u,
|
|
@@ -48,7 +48,7 @@ const z = "formFieldTarget__a982acec", M = "sm__ab9ef21c", R = "md__9ec7e2e7", j
|
|
|
48
48
|
onBlur: N,
|
|
49
49
|
onFocus: C,
|
|
50
50
|
ref: D,
|
|
51
|
-
children: r ? c : /* @__PURE__ */
|
|
51
|
+
children: r ? c : /* @__PURE__ */ f("span", { className: e.placeholderWrapper, children: p })
|
|
52
52
|
}
|
|
53
53
|
);
|
|
54
54
|
}
|