@sberbusiness/triplex-next 1.30.0 → 1.31.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-B-2x6lW0.js +41 -0
- package/chunks/{CalendarViewItem-DZix7Wi3.js → CalendarViewItem-o4k7U5Dm.js} +23 -23
- package/chunks/Card.module-_9W_bDbW.js +18 -0
- package/chunks/CheckboxTreeExtended.module-BW6Er6eg.js +15 -0
- package/chunks/Chip-CoKB4iXT.js +85 -0
- package/chunks/Confirm.module-B7EimS-c.js +15 -0
- package/chunks/DropdownListItem-Dy7ejFWN.js +65 -0
- package/chunks/DropdownMobile.module-CEUckjjY.js +23 -0
- package/chunks/Footer.module-Btaepr_L.js +9 -0
- package/chunks/{FormFieldInput-Du3nMTry.js → FormFieldInput-CkVtqncH.js} +28 -28
- package/chunks/HeaderLayoutSidebar.module-Uq7eUhaq.js +9 -0
- package/chunks/HeaderTabs.module-CiK3DS7c.js +9 -0
- package/chunks/{HeaderTitle.module-mufXm8bf.js → HeaderTitle.module-ChThbaCy.js} +2 -2
- package/chunks/ImageGalleryExtendedMain.module-KwgIPfp-.js +17 -0
- package/chunks/ImageGalleryExtendedThumb-D9p93wFz.js +28 -0
- package/chunks/IslandAccordion.module-BxoLhMzZ.js +25 -0
- package/chunks/IslandWidgetFooter.module-CxO5dSVu.js +9 -0
- package/chunks/IslandWidgetHeader.module-BZIonIbn.js +13 -0
- package/chunks/{LightBoxContent-oXmUc0O4.js → LightBoxContent-Cr4psg0Z.js} +5 -5
- package/chunks/LightBoxControls.module-BT6tQ7Ue.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-dV9DEtmo.js +9 -0
- package/chunks/{ListItemControlsButton-Cn_qKgVF.js → ListItemControlsButton-Bv8aFUBc.js} +6 -6
- package/chunks/ListItemTail.module-Bp7M4QdS.js +12 -0
- package/chunks/ListMasterFooter.module-DMGAGzUD.js +10 -0
- package/chunks/ModalWindow.module-CcEb5ZBL.js +17 -0
- package/chunks/Notification.module-DmHe2Kv2.js +20 -0
- package/chunks/Overlay.module-f4p8iBuk.js +18 -0
- package/chunks/Page.module-B1W0CUyk.js +11 -0
- package/chunks/SMSField.module-cmbHRm31.js +16 -0
- package/chunks/SliderExtendedMarks.module-DptabtoD.js +15 -0
- package/chunks/{SliderExtendedRail-Cr47EmrH.js → SliderExtendedRail-D4NXHvvH.js} +12 -12
- package/chunks/StatusTracker.module-BBm6PrHb.js +24 -0
- package/chunks/{StepperStepArrowBorder-C6up4LVv.js → StepperStepArrowBorder-6bgUfxhh.js} +4 -4
- package/chunks/{SuggestFieldMobileDropdownHint-BZyaIt1i.js → SuggestFieldMobileDropdownHint-BYUd-DOC.js} +4 -4
- package/chunks/TableFooter.module-D-gNDmws.js +14 -0
- package/chunks/TabsExtended.module-IBQrFWHl.js +16 -0
- package/chunks/TabsLine.module-CM-pL6UU.js +21 -0
- package/chunks/TooltipDesktop.module-CXZIjsAn.js +19 -0
- package/chunks/TreeView.module-Co2-lRZN.js +9 -0
- package/chunks/{UploadZoneInput-BbaamBLA.js → UploadZoneInput-CUVjN3Kj.js} +5 -5
- package/chunks/{constants-DG4U-QtS.js → constants-Ci0_oXbs.js} +6 -6
- package/chunks/{utils-DgpN6CSa.js → utils-B2FzgoVa.js} +7 -7
- package/chunks/{utils-BTk2T8x6.js → utils-BFyvyQPY.js} +6 -6
- package/chunks/utils-DEqGmway.js +73 -0
- package/chunks/utils-fAec4Z-1.js +24 -0
- package/components/Alert/AlertContext/AlertContext.js +16 -16
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +6 -6
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +26 -26
- package/components/Badge/Badge.js +5 -5
- package/components/Badge/BadgeDot.js +9 -9
- package/components/Badge/components/BadgeContent.js +9 -9
- package/components/Badge/components/BadgePostfix.js +5 -5
- package/components/Badge/components/BadgePrefix.js +4 -4
- package/components/Body/Body.js +8 -8
- package/components/Button/Button.js +27 -27
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +26 -26
- package/components/Button/ButtonDropdownExtended.js +1 -1
- package/components/Button/ButtonIcon.js +6 -6
- package/components/Calendar/Calendar.js +5 -5
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +3 -3
- package/components/Calendar/components/CalendarViewDays.js +1 -1
- package/components/Calendar/components/CalendarViewItem.js +1 -1
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +6 -6
- package/components/Card/CardStatic.js +2 -2
- package/components/Card/components/CardContent/CardContent.js +1 -1
- package/components/Card/components/CardContent/components/CardContentBody.js +1 -1
- package/components/Card/components/CardContent/components/CardContentFooter.js +1 -1
- package/components/Card/components/CardContent/components/CardContentHeader.js +1 -1
- package/components/Card/components/CardMedia.js +1 -1
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +1 -1
- package/components/Checkbox/Checkbox.js +14 -14
- package/components/Checkbox/CheckboxXGroup.js +13 -13
- package/components/Checkbox/CheckboxYGroup.js +1 -1
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +1 -1
- package/components/Chip/Chip.js +3 -2
- package/components/Chip/ChipClearButton.js +6 -6
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +37 -36
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +15 -15
- package/components/Chip/ChipDropdownArrow.js +1 -1
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +22 -21
- package/components/Chip/ChipOptions.js +6 -6
- package/components/Chip/ChipSelect/ChipSelect.js +40 -27
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +23 -22
- package/components/Chip/ChipSuggest/ChipSuggest.js +14 -14
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +6 -6
- package/components/Chip/enums.js +5 -0
- package/components/Chip/index.js +28 -26
- package/components/ChipGroup/ChipGroup.js +11 -11
- package/components/Col/Col.js +177 -162
- package/components/CollapsibleTree/CollapsibleTree.js +6 -6
- package/components/CollapsibleTree/components/CollapsibleTreeLeafContent.js +5 -5
- package/components/CollapsibleTree/components/CollapsibleTreeLeafNode.js +1 -1
- package/components/CollapsibleTree/components/CollapsibleTreeNodeHeader.js +12 -12
- package/components/CollapsibleTreeExtended/components/CollapsibleTreeExtendedNode.js +3 -3
- package/components/Confirm/Confirm.js +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +1 -1
- package/components/Confirm/components/ConfirmContent.js +1 -1
- package/components/Confirm/components/ConfirmContentTitle.js +1 -1
- package/components/Confirm/components/ConfirmControls.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +4 -4
- package/components/DateRange/DateRange.js +16 -16
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/DesignTokensComponents.js +69 -64
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +57 -52
- package/components/DesignTokens/components/Chip.js +12 -6
- package/components/DesignTokens/components/ImageGallery.js +47 -0
- package/components/DesignTokens/components/LightBox.js +1 -1
- package/components/DesignTokens/components/TopOverlay.js +1 -1
- package/components/DesignTokens/components/index.js +116 -113
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +8 -8
- package/components/Dropdown/desktop/DropdownDesktop.js +12 -12
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +5 -5
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +1 -1
- package/components/Ellipsis/Ellipsis.js +5 -5
- package/components/EmptyView/EmptyView.js +1 -1
- package/components/ExpandAnimation/ExpandAnimation.js +15 -15
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +24 -24
- package/components/FormField/components/FormFieldClear.js +6 -6
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +3 -3
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +4 -4
- package/components/FormField/components/FormFieldMaskedInput.js +15 -15
- package/components/FormField/components/FormFieldPostfix.js +7 -7
- package/components/FormField/components/FormFieldPrefix.js +1 -1
- package/components/FormField/components/FormFieldTarget.js +19 -19
- package/components/FormField/components/FormFieldTextarea.js +14 -14
- package/components/FormField/components/index.js +1 -1
- package/components/FormField/index.js +1 -1
- package/components/Gap/Gap.js +15 -5
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +1 -1
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +5 -5
- package/components/IconWrapper/IconWrapper.js +3 -3
- package/components/ImageGallery/ImageGallery.js +74 -0
- package/components/ImageGallery/index.js +5 -0
- package/components/ImageGallery/types.js +2 -0
- package/components/ImageGalleryExtended/ImageGalleryExtended.js +72 -0
- package/components/ImageGalleryExtended/ImageGalleryExtendedContext.js +16 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedArrow.js +31 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedDots.js +35 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedMain.js +31 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedNav.js +19 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedSlide.js +20 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedSwipeTrack.js +89 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedThumb.js +8 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedThumbnails.js +40 -0
- package/components/ImageGalleryExtended/components/index.js +15 -0
- package/components/ImageGalleryExtended/enums.js +5 -0
- package/components/ImageGalleryExtended/index.js +21 -0
- package/components/ImageGalleryExtended/types.js +2 -0
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +4 -4
- package/components/Island/components/IslandFooter.js +3 -3
- package/components/Island/components/IslandHeader.js +2 -2
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +2 -2
- package/components/IslandWidget/IslandWidget.js +14 -14
- package/components/IslandWidget/components/IslandWidgetBody.js +3 -3
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +4 -4
- package/components/IslandWidget/components/IslandWidgetFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderTitle.js +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +4 -4
- package/components/LightBox/LightBox.js +30 -30
- package/components/LightBox/LightBoxContent.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxClose.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxControls.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxNext.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +36 -36
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +5 -5
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +7 -7
- package/components/Link/Link.js +9 -9
- package/components/List/List.js +3 -3
- package/components/List/components/ListEmptyState.js +1 -1
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +10 -10
- package/components/List/components/ListItemControls.js +7 -7
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +8 -8
- package/components/List/components/ListItemSelectable.js +13 -13
- package/components/List/components/ListItemTable.js +8 -8
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +4 -4
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +5 -5
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +5 -5
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +7 -7
- package/components/ListMaster/components/SelectionControls.js +5 -5
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +4 -4
- package/components/Loader/LoaderSmall/LoaderSmall.js +6 -6
- package/components/LoaderScreen/LoaderScreen.js +13 -13
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +12 -12
- package/components/ModalWindow/ModalWindow.js +17 -17
- package/components/ModalWindow/components/ModalWindowBody.js +4 -4
- package/components/ModalWindow/components/ModalWindowClose.js +5 -5
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MonthYearRange/MonthYearRange.js +14 -14
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +7 -7
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +6 -6
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +1 -1
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +1 -1
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +4 -4
- package/components/OrderedList/OrderedListItem.js +5 -5
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayMask.js +1 -1
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +1 -1
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +1 -1
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +10 -10
- package/components/Pagination/components/PaginationPageEllipsis.js +1 -1
- package/components/Pagination/components/PaginationSelect.js +1 -1
- package/components/Radio/Radio.js +11 -11
- package/components/Radio/RadioXGroup.js +14 -14
- package/components/Radio/RadioYGroup.js +8 -8
- package/components/Row/Row.js +25 -10
- package/components/Row/RowContext.js +9 -0
- package/components/SMSField/SMSField.js +2 -2
- package/components/SMSField/components/RefreshIcon.js +1 -1
- package/components/SMSField/components/SMSFieldInput.js +2 -2
- package/components/SMSField/components/SMSFieldRefresh.js +1 -1
- package/components/SMSField/components/SMSFieldSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +5 -5
- package/components/SegmentedControl/SegmentedControlSegment.js +1 -1
- package/components/SelectExtendedField/SelectExtendedField.js +11 -11
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +10 -10
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +11 -11
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +15 -15
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +1 -1
- package/components/SliderExtended/components/SliderExtendedRail.js +1 -1
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +5 -5
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +28 -28
- package/components/SmallInput/SmallInput.js +1 -1
- package/components/Spoiler/Spoiler.js +10 -10
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +1 -1
- package/components/StatusTracker/components/StatusTrackerDescription.js +1 -1
- package/components/StatusTracker/components/StatusTrackerFooter.js +1 -1
- package/components/StatusTracker/components/StatusTrackerHeader.js +1 -1
- package/components/StatusTracker/components/StatusTrackerMedia.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatus.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +15 -15
- package/components/Stepper/Stepper.js +9 -9
- package/components/Stepper/StepperExtended.js +1 -1
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperStepArrowBorder.js +1 -1
- package/components/Suggest/SuggestMobileDropdownContent.js +7 -7
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +77 -81
- package/components/Table/ChipPanel.js +12 -0
- package/components/Table/ChipPanelLinks.js +22 -0
- package/components/Table/FilterPanel.js +5 -5
- package/components/Table/MasterTable.js +25 -25
- package/components/Table/NoColumns.js +5 -5
- package/components/Table/PaginationPanel.js +2 -2
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +7 -7
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +4 -4
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +1 -1
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/index.js +7 -7
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +13 -13
- package/components/TabsExtended/TabsExtended.js +2 -2
- package/components/TabsExtended/components/TabsExtendedContent.js +1 -1
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTab.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabButton.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +1 -1
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +1 -1
- package/components/TabsLine/components/TabsLineDesktop.js +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +2 -2
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +1 -1
- package/components/Tag/Tag.js +12 -12
- package/components/TagColor/TagColor.js +12 -12
- 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/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +16 -16
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +1 -1
- package/components/Tooltip/components/mobile/TooltipMobile.js +9 -9
- package/components/TopOverlay/TopOverlay.js +38 -38
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Typography/Caption.js +28 -28
- package/components/Typography/CodeText.js +7 -7
- package/components/Typography/Text.js +16 -16
- package/components/Typography/Title.js +21 -21
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +6 -6
- package/components/UnorderedList/UnorderedListItem.js +2 -2
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/UploadZone/index.js +1 -1
- package/components/index.js +644 -622
- package/index.d.ts +316 -31
- package/index.js +676 -654
- package/package.json +9 -1
- package/styles/triplex-next.css +556 -541
- package/chunks/AlertProcessSpoiler-BIiexkiG.js +0 -41
- package/chunks/Card.module-C57O8DQ9.js +0 -18
- package/chunks/CheckboxTreeExtended.module-D_Xqk2Z0.js +0 -15
- package/chunks/Chip-D73o-tIk.js +0 -77
- package/chunks/Confirm.module-CUcXlA0E.js +0 -15
- package/chunks/DropdownListItem-PhDNj_sI.js +0 -65
- package/chunks/DropdownMobile.module-DL87iBcj.js +0 -23
- package/chunks/Footer.module-DZzX_hiB.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-BOcwOhH9.js +0 -9
- package/chunks/HeaderTabs.module-D5xnWADy.js +0 -9
- package/chunks/IslandAccordion.module-cWQkjySQ.js +0 -25
- package/chunks/IslandWidgetFooter.module-K-i_a4VV.js +0 -9
- package/chunks/IslandWidgetHeader.module-BU39_xm_.js +0 -13
- package/chunks/LightBoxControls.module-BOBUS8MF.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-BLxHQH7u.js +0 -9
- package/chunks/ListItemTail.module-D7OEUQSH.js +0 -12
- package/chunks/ListMasterFooter.module-B2oYxI3b.js +0 -10
- package/chunks/ModalWindow.module-B7YcXJ55.js +0 -17
- package/chunks/Notification.module-OkzyDWlc.js +0 -20
- package/chunks/Overlay.module-CBlckNkR.js +0 -18
- package/chunks/Page.module-BkDd7q7x.js +0 -11
- package/chunks/SMSField.module-BBRpa0-4.js +0 -16
- package/chunks/SliderExtendedMarks.module-DOunMVrv.js +0 -15
- package/chunks/StatusTracker.module-B6VeAoHW.js +0 -24
- package/chunks/TableFooter.module-Exx3Pc8E.js +0 -14
- package/chunks/TabsExtended.module-D8onFEnM.js +0 -16
- package/chunks/TabsLine.module-BvYF3ue-.js +0 -21
- package/chunks/TooltipDesktop.module-DD0ESKwE.js +0 -19
- package/chunks/TreeView.module-ClEsZNDe.js +0 -9
- package/chunks/utils-2vVjLvvg.js +0 -24
- package/chunks/utils-Bk10DX0W.js +0 -73
- package/components/Table/TabsLinePanel.js +0 -12
- package/components/Table/TabsLinePanelLinks.js +0 -26
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import t from "react";
|
|
3
3
|
import { c as m } from "../../chunks/vendor-82AnkPpo.js";
|
|
4
|
-
const c = "
|
|
4
|
+
const c = "ellipsisLineClamp__58d85a8e", r = "oneLine__28d7455f", e = {
|
|
5
5
|
ellipsisLineClamp: c,
|
|
6
6
|
oneLine: r
|
|
7
|
-
},
|
|
7
|
+
}, d = t.forwardRef(
|
|
8
8
|
({ children: i, maxLines: s, className: l, ...n }, a) => {
|
|
9
9
|
const o = m(e.ellipsisLineClamp, { [e.oneLine]: s === 1 }, l);
|
|
10
10
|
return /* @__PURE__ */ p(
|
|
@@ -13,15 +13,15 @@ const c = "ellipsisLineClamp__3ebb4626", r = "oneLine__fa724028", e = {
|
|
|
13
13
|
className: o,
|
|
14
14
|
style: { "--ellipsis-line-clamp": s },
|
|
15
15
|
...n,
|
|
16
|
-
"data-tx": "1.
|
|
16
|
+
"data-tx": "1.31.0",
|
|
17
17
|
ref: a,
|
|
18
18
|
children: i
|
|
19
19
|
}
|
|
20
20
|
);
|
|
21
21
|
}
|
|
22
22
|
);
|
|
23
|
-
|
|
23
|
+
d.displayName = "Ellipsis";
|
|
24
24
|
export {
|
|
25
|
-
|
|
25
|
+
d as Ellipsis
|
|
26
26
|
};
|
|
27
27
|
//# sourceMappingURL=Ellipsis.js.map
|
|
@@ -6,7 +6,7 @@ import { Title as R } from "../Typography/Title.js";
|
|
|
6
6
|
import { EFontWeightTitle as h, ETitleSize as p, ETextSize as _, EFontType as d, EFontWeightText as M } from "../Typography/enums.js";
|
|
7
7
|
import { Text as S } from "../Typography/Text.js";
|
|
8
8
|
import { Gap as n } from "../Gap/Gap.js";
|
|
9
|
-
const B = "
|
|
9
|
+
const B = "emptyView__ea7dc304", D = "container__4dfee40e", g = "icon__466ac395", I = "textBlock__c8ec7aac", t = {
|
|
10
10
|
emptyView: B,
|
|
11
11
|
container: D,
|
|
12
12
|
icon: g,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { A as
|
|
4
|
-
const F = "
|
|
2
|
+
import N, { useRef as A } from "react";
|
|
3
|
+
import { A as U, c as j } from "../../chunks/vendor-82AnkPpo.js";
|
|
4
|
+
const F = "expandAnimation__a9ccabdd", I = {
|
|
5
5
|
expandAnimation: F
|
|
6
|
-
}, L = 300, M =
|
|
6
|
+
}, L = 300, M = N.forwardRef(
|
|
7
7
|
({
|
|
8
8
|
children: y,
|
|
9
9
|
className: E,
|
|
10
10
|
expanded: v,
|
|
11
11
|
animationTime: f = L,
|
|
12
12
|
style: R,
|
|
13
|
-
onStart:
|
|
13
|
+
onStart: l,
|
|
14
14
|
onEnd: h,
|
|
15
15
|
transitionProps: e,
|
|
16
16
|
..._
|
|
@@ -21,32 +21,32 @@ const F = "expandAnimation__0a8aa90c", I = {
|
|
|
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
|
+
}, b = () => {
|
|
34
34
|
var c;
|
|
35
35
|
h == null || h(), (c = e == null ? void 0 : e.onExited) == null || c.call(e);
|
|
36
|
-
},
|
|
37
|
-
|
|
36
|
+
}, D = (c) => {
|
|
37
|
+
d.current = c, typeof x == "function" ? x(c) : x && (x.current = c);
|
|
38
38
|
};
|
|
39
39
|
return /* @__PURE__ */ g(
|
|
40
|
-
|
|
40
|
+
U,
|
|
41
41
|
{
|
|
42
42
|
in: v,
|
|
43
43
|
timeout: f,
|
|
44
|
-
nodeRef:
|
|
44
|
+
nodeRef: d,
|
|
45
45
|
...e,
|
|
46
46
|
onEnter: w,
|
|
47
47
|
onEntered: H,
|
|
48
48
|
onExit: T,
|
|
49
|
-
onExited:
|
|
49
|
+
onExited: b,
|
|
50
50
|
children: (c) => /* @__PURE__ */ g(
|
|
51
51
|
"div",
|
|
52
52
|
{
|
|
@@ -57,7 +57,7 @@ const F = "expandAnimation__0a8aa90c", I = {
|
|
|
57
57
|
...R
|
|
58
58
|
},
|
|
59
59
|
..._,
|
|
60
|
-
ref:
|
|
60
|
+
ref: D,
|
|
61
61
|
children: y
|
|
62
62
|
}
|
|
63
63
|
)
|
|
@@ -5,7 +5,7 @@ import "./components/FooterDescriptionControls.js";
|
|
|
5
5
|
import "./components/FooterDescriptionContent.js";
|
|
6
6
|
const p = Object.assign(
|
|
7
7
|
i.forwardRef(function({ children: o, ...t }, r) {
|
|
8
|
-
return /* @__PURE__ */ e("div", { ...t, "data-tx": "1.
|
|
8
|
+
return /* @__PURE__ */ e("div", { ...t, "data-tx": "1.31.0", ref: r, children: o });
|
|
9
9
|
}),
|
|
10
10
|
{
|
|
11
11
|
Description: m
|
|
@@ -3,7 +3,7 @@ import s from "react";
|
|
|
3
3
|
import { FooterDescriptionContent as n } from "./FooterDescriptionContent.js";
|
|
4
4
|
import { FooterDescriptionControls as m } from "./FooterDescriptionControls.js";
|
|
5
5
|
import { c as p } from "../../../chunks/vendor-82AnkPpo.js";
|
|
6
|
-
import { s as c } from "../../../chunks/Footer.module-
|
|
6
|
+
import { s as c } from "../../../chunks/Footer.module-Btaepr_L.js";
|
|
7
7
|
const f = Object.assign(
|
|
8
8
|
s.forwardRef(function({ children: o, className: t, ...r }, e) {
|
|
9
9
|
return /* @__PURE__ */ i("div", { className: p(c.footerDescription, t), ...r, ref: e, children: o });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
3
|
import { c as m } from "../../../chunks/vendor-82AnkPpo.js";
|
|
4
|
-
import { s as n } from "../../../chunks/Footer.module-
|
|
4
|
+
import { s as n } from "../../../chunks/Footer.module-Btaepr_L.js";
|
|
5
5
|
const a = i.forwardRef(
|
|
6
6
|
({ children: o, className: t, ...r }, e) => /* @__PURE__ */ s("div", { className: m(n.footerDescriptionContent, t), ...r, ref: e, children: o })
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
3
|
import { c as m } from "../../../chunks/vendor-82AnkPpo.js";
|
|
4
|
-
import { s as a } from "../../../chunks/Footer.module-
|
|
4
|
+
import { s as a } from "../../../chunks/Footer.module-Btaepr_L.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,4 +1,4 @@
|
|
|
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
3
|
import { c as h } from "../../chunks/vendor-82AnkPpo.js";
|
|
4
4
|
import { FormFieldContext as v } from "./FormFieldContext.js";
|
|
@@ -6,12 +6,12 @@ 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__cd21f888", W = "sm__412c3420", G = "md__e47ef4a8", M = "lg__2c18f187", P = "active__f64e12a9", y = "disabled__ebcde378", U = "error__3fe4542a", j = "warning__466b4ed8", z = "filled__d2c8f209", e = {
|
|
10
10
|
formField: S,
|
|
11
11
|
sm: W,
|
|
12
12
|
md: G,
|
|
13
13
|
lg: M,
|
|
14
|
-
default: "
|
|
14
|
+
default: "default__2bdf1376",
|
|
15
15
|
active: P,
|
|
16
16
|
disabled: y,
|
|
17
17
|
error: U,
|
|
@@ -26,49 +26,49 @@ const S = "formField__25c8cd50", W = "sm__f1c7d6be", G = "md__14d41478", M = "lg
|
|
|
26
26
|
({
|
|
27
27
|
children: p,
|
|
28
28
|
className: F,
|
|
29
|
-
style:
|
|
30
|
-
size:
|
|
29
|
+
style: g,
|
|
30
|
+
size: d = w.LG,
|
|
31
31
|
status: r = o.DEFAULT,
|
|
32
32
|
active: a = !1,
|
|
33
|
-
...
|
|
34
|
-
},
|
|
35
|
-
const [
|
|
33
|
+
...u
|
|
34
|
+
}, x) => {
|
|
35
|
+
const [c, b] = t(), [m, T] = t(), [i, E] = t(_), [l, N] = t(_), [f, R] = t(!1), [s, A] = t(!1), D = L(
|
|
36
36
|
() => ({
|
|
37
|
-
size:
|
|
37
|
+
size: d,
|
|
38
38
|
status: r,
|
|
39
|
-
targetId:
|
|
40
|
-
labelId:
|
|
39
|
+
targetId: c,
|
|
40
|
+
labelId: m,
|
|
41
41
|
postfixWidth: i,
|
|
42
42
|
prefixWidth: l,
|
|
43
|
-
filled:
|
|
44
|
-
focused:
|
|
45
|
-
active: a ||
|
|
46
|
-
setTargetId:
|
|
43
|
+
filled: f,
|
|
44
|
+
focused: s,
|
|
45
|
+
active: a || s,
|
|
46
|
+
setTargetId: b,
|
|
47
47
|
setLabelId: T,
|
|
48
48
|
setPostfixWidth: E,
|
|
49
49
|
setPrefixWidth: N,
|
|
50
50
|
setFilled: R,
|
|
51
51
|
setFocused: A
|
|
52
52
|
}),
|
|
53
|
-
[
|
|
53
|
+
[d, r, c, m, i, l, f, s, a]
|
|
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[
|
|
60
|
+
O[d],
|
|
61
61
|
B[r],
|
|
62
62
|
{
|
|
63
|
-
[e.filled]:
|
|
64
|
-
[e.active]: a ||
|
|
63
|
+
[e.filled]: f,
|
|
64
|
+
[e.active]: a || s
|
|
65
65
|
},
|
|
66
66
|
F
|
|
67
67
|
),
|
|
68
|
-
"data-tx": "1.
|
|
69
|
-
style: { paddingLeft: l, paddingRight: i, ...
|
|
70
|
-
...
|
|
71
|
-
ref:
|
|
68
|
+
"data-tx": "1.31.0",
|
|
69
|
+
style: { paddingLeft: l, paddingRight: i, ...g },
|
|
70
|
+
...u,
|
|
71
|
+
ref: x,
|
|
72
72
|
children: p
|
|
73
73
|
}
|
|
74
74
|
) });
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c
|
|
2
|
+
import f, { useCallback as i } from "react";
|
|
3
|
+
import { c } from "../../../chunks/vendor-82AnkPpo.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__6017934f", C = {
|
|
7
7
|
formFieldClear: p
|
|
8
|
-
}, F =
|
|
8
|
+
}, F = f.forwardRef(
|
|
9
9
|
({ className: t, onMouseDown: r, ...a }, m) => {
|
|
10
|
-
const o =
|
|
10
|
+
const o = i(
|
|
11
11
|
(e) => {
|
|
12
12
|
e.preventDefault(), r == null || r(e);
|
|
13
13
|
},
|
|
@@ -17,7 +17,7 @@ const p = "formFieldClear__eb7cc032", C = {
|
|
|
17
17
|
s,
|
|
18
18
|
{
|
|
19
19
|
...a,
|
|
20
|
-
className:
|
|
20
|
+
className: c(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__915d0642", u = {
|
|
5
5
|
formFieldCounter: s
|
|
6
|
-
},
|
|
6
|
+
}, l = ({ 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
|
+
l.displayName = "FormFieldCounter";
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
l as FormFieldCounter
|
|
13
13
|
};
|
|
14
14
|
//# sourceMappingURL=FormFieldCounter.js.map
|
|
@@ -2,12 +2,12 @@ import { jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as n } from "react";
|
|
3
3
|
import { c } from "../../../chunks/vendor-82AnkPpo.js";
|
|
4
4
|
import { FormFieldDescriptionContext as m } from "../FormFieldDescriptionContext.js";
|
|
5
|
-
const l = "
|
|
5
|
+
const l = "formFieldDescription__9b529730", p = "withCounter__9d9ac776", i = {
|
|
6
6
|
formFieldDescription: l,
|
|
7
7
|
withCounter: p
|
|
8
|
-
}, d = ({ children:
|
|
8
|
+
}, d = ({ 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(
|
|
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
|
d.displayName = "FormFieldDescription";
|
|
13
13
|
export {
|
|
@@ -5,7 +5,7 @@ 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-CkVtqncH.js";
|
|
9
9
|
export {
|
|
10
10
|
d as FormFieldInput
|
|
11
11
|
};
|
|
@@ -5,7 +5,7 @@ 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
7
|
import { TARGET_PADDING_X_DEFAULT as a } from "../consts.js";
|
|
8
|
-
const M = "
|
|
8
|
+
const M = "formFieldLabel__37aa84dc", R = "sm__412c3420", v = "md__e47ef4a8", z = "lg__2c18f187", G = "floating__fcb9815e", W = "formFieldLabelText__657ff791", j = "disabled__ebcde378", e = {
|
|
9
9
|
formFieldLabel: M,
|
|
10
10
|
sm: R,
|
|
11
11
|
md: v,
|
|
@@ -14,7 +14,7 @@ const M = "formFieldLabel__d08ff3d7", R = "sm__f1c7d6be", v = "md__14d41478", z
|
|
|
14
14
|
formFieldLabelText: W,
|
|
15
15
|
disabled: j
|
|
16
16
|
}, q = D(e), w = A.forwardRef(
|
|
17
|
-
({ children: i, id: t, className:
|
|
17
|
+
({ children: i, id: t, className: m, style: d, floating: f, ...r }, c) => {
|
|
18
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
20
|
q[_],
|
|
@@ -22,13 +22,13 @@ const M = "formFieldLabel__d08ff3d7", R = "sm__f1c7d6be", v = "md__14d41478", z
|
|
|
22
22
|
[e.floating]: u,
|
|
23
23
|
[e.disabled]: b === C.DISABLED
|
|
24
24
|
},
|
|
25
|
-
|
|
25
|
+
m
|
|
26
26
|
), T = {
|
|
27
27
|
// Левая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
28
28
|
left: g || a,
|
|
29
29
|
// Правая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
30
30
|
right: p || a,
|
|
31
|
-
...
|
|
31
|
+
...d
|
|
32
32
|
};
|
|
33
33
|
return I(() => {
|
|
34
34
|
o(l);
|
|
@@ -2,15 +2,15 @@ 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
3
|
import { c as F, n as q, o as p } from "../../../chunks/vendor-82AnkPpo.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-CkVtqncH.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__bac14915", X = "formFieldMaskedInputPlaceholder__3ac863e0", Y = "formFieldMaskedInput__e61e29f2", 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__31922428",
|
|
12
|
+
"size-md": "size-md__215dfa6b",
|
|
13
|
+
"size-lg": "size-lg__54f91058",
|
|
14
14
|
formFieldMaskedInput: Y
|
|
15
15
|
}, a = ({
|
|
16
16
|
className: I,
|
|
@@ -23,7 +23,7 @@ const Q = "formFieldMaskedInputWrapper__9c30a36c", X = "formFieldMaskedInputPlac
|
|
|
23
23
|
value: s,
|
|
24
24
|
...M
|
|
25
25
|
}) => {
|
|
26
|
-
const [x, y] = $(""), c = L(!1), { filled: z, focused: k, size:
|
|
26
|
+
const [x, y] = $(""), c = L(!1), { filled: z, focused: k, size: b, status: _ } = N(K);
|
|
27
27
|
O(() => {
|
|
28
28
|
y((() => {
|
|
29
29
|
let t = [];
|
|
@@ -40,15 +40,15 @@ const Q = "formFieldMaskedInputWrapper__9c30a36c", 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
|
c.current = !1, s !== t && (d == null || d(e));
|
|
47
47
|
},
|
|
48
48
|
[s, d]
|
|
49
|
-
),
|
|
49
|
+
), S = () => {
|
|
50
50
|
c.current = !0;
|
|
51
|
-
},
|
|
51
|
+
}, T = (e, t) => o === a.presets.masks.phone ? e.length ? P(t.rawValue) : e : o === a.presets.masks.swiftCode ? e.toUpperCase() : e, P = (e) => {
|
|
52
52
|
let t = [];
|
|
53
53
|
if (c.current) {
|
|
54
54
|
let i = /^[78]((\D*\d)*)/;
|
|
@@ -58,10 +58,10 @@ const Q = "formFieldMaskedInputWrapper__9c30a36c", X = "formFieldMaskedInputPlac
|
|
|
58
58
|
indexesOfPipedChars: t,
|
|
59
59
|
value: p.conformToMask(e, o, { guide: !1, placeholderChar: n }).conformedValue
|
|
60
60
|
};
|
|
61
|
-
},
|
|
61
|
+
}, D = () => o === a.presets.masks.phone ? (s = P(s).value, s) : p.conformToMask(s, o, { guide: !1, placeholderChar: n }).conformedValue, W = (e) => (t) => {
|
|
62
62
|
t && e(t), typeof f == "function" ? f(t) : f && (f.current = t);
|
|
63
63
|
}, j = () => !z && !k || !s && g ? "" : x;
|
|
64
|
-
return /* @__PURE__ */ B("div", { className: F(u.formFieldMaskedInputWrapper, u[`size-${
|
|
64
|
+
return /* @__PURE__ */ B("div", { className: F(u.formFieldMaskedInputWrapper, u[`size-${b}`]), children: [
|
|
65
65
|
/* @__PURE__ */ m(
|
|
66
66
|
"input",
|
|
67
67
|
{
|
|
@@ -83,11 +83,11 @@ const Q = "formFieldMaskedInputWrapper__9c30a36c", 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
|
-
value:
|
|
90
|
-
pipe:
|
|
89
|
+
value: D(),
|
|
90
|
+
pipe: T,
|
|
91
91
|
type: "text",
|
|
92
92
|
...M
|
|
93
93
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as x } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import a, { useContext as F, useRef as p, useEffect as P } from "react";
|
|
3
3
|
import { c as R } from "../../../chunks/vendor-82AnkPpo.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 w } from "../consts.js";
|
|
6
|
+
const N = "formFieldPostfix__ce22e4a0", b = {
|
|
7
|
+
formFieldPostfix: N
|
|
8
|
+
}, g = a.forwardRef(
|
|
9
9
|
({ children: n, className: c, ...m }, t) => {
|
|
10
|
-
const { setPostfixWidth: o } =
|
|
10
|
+
const { setPostfixWidth: o } = F(_), s = p(), l = R(b.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 w = "formFieldPostfix__0ec5b110", N = {
|
|
|
19
19
|
o((f) => f !== i ? i : f);
|
|
20
20
|
});
|
|
21
21
|
return r.observe(e), () => {
|
|
22
|
-
r.disconnect(), o(
|
|
22
|
+
r.disconnect(), o(w);
|
|
23
23
|
};
|
|
24
24
|
}, [o]), /* @__PURE__ */ x("span", { className: l, ...m, ref: d, children: n });
|
|
25
25
|
}
|
|
@@ -3,7 +3,7 @@ import F, { useContext as a, useRef as p, useEffect as P } from "react";
|
|
|
3
3
|
import { c as R } from "../../../chunks/vendor-82AnkPpo.js";
|
|
4
4
|
import { FormFieldContext as _ } from "../FormFieldContext.js";
|
|
5
5
|
import { TARGET_PADDING_X_DEFAULT as b } from "../consts.js";
|
|
6
|
-
const w = "
|
|
6
|
+
const w = "formFieldPrefix__e9886cb6", N = {
|
|
7
7
|
formFieldPrefix: w
|
|
8
8
|
}, g = F.forwardRef(
|
|
9
9
|
({ children: n, className: c, ...m }, r) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as _ } from "react/jsx-runtime";
|
|
2
2
|
import b, { useContext as S, useMemo as g, useLayoutEffect as h, useCallback as F } from "react";
|
|
3
3
|
import { u as y, c as A } from "../../../chunks/vendor-82AnkPpo.js";
|
|
4
4
|
import { FormFieldContext as L } from "../FormFieldContext.js";
|
|
5
|
-
import { EFormFieldStatus as
|
|
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__730a33f2", M = "sm__412c3420", R = "md__e47ef4a8", j = "lg__2c18f187", k = "placeholder__eac7bc66", q = "disabled__ebcde378", w = "placeholderWrapper__8cc7312a", B = "active__f64e12a9", e = {
|
|
8
8
|
formFieldTarget: z,
|
|
9
9
|
sm: M,
|
|
10
10
|
md: R,
|
|
@@ -14,41 +14,41 @@ const z = "formFieldTarget__ab67d4c8", M = "sm__f1c7d6be", R = "md__14d41478", j
|
|
|
14
14
|
placeholderWrapper: w,
|
|
15
15
|
active: B
|
|
16
16
|
}, G = W(e), H = b.forwardRef(
|
|
17
|
-
({ children:
|
|
18
|
-
const { size: I, status: s, active: v, labelId: x, setFilled:
|
|
19
|
-
[e.disabled]: s ===
|
|
20
|
-
[e.placeholder]: !!p && !
|
|
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: f, setFocused: l, setTargetId: n } = S(L), i = g(() => o === void 0 ? y("target_") : o, [o]), r = g(() => b.Children.toArray(c).length !== 0, [c]), E = A(e.formFieldTarget, G[I], T, {
|
|
19
|
+
[e.disabled]: s === d.DISABLED,
|
|
20
|
+
[e.placeholder]: !!p && !r && s !== d.DISABLED,
|
|
21
21
|
[e.active]: v
|
|
22
22
|
});
|
|
23
23
|
h(() => {
|
|
24
|
-
|
|
25
|
-
}, [i,
|
|
26
|
-
|
|
27
|
-
}, [
|
|
24
|
+
n(i);
|
|
25
|
+
}, [i, n]), h(() => {
|
|
26
|
+
f(r);
|
|
27
|
+
}, [r, f]);
|
|
28
28
|
const C = F(
|
|
29
29
|
(m) => {
|
|
30
|
-
|
|
30
|
+
l(!0), a == null || a(m);
|
|
31
31
|
},
|
|
32
|
-
[a,
|
|
32
|
+
[a, l]
|
|
33
33
|
), N = F(
|
|
34
34
|
(m) => {
|
|
35
|
-
|
|
35
|
+
l(!1), t == null || t(m);
|
|
36
36
|
},
|
|
37
|
-
[t,
|
|
37
|
+
[t, l]
|
|
38
38
|
);
|
|
39
|
-
return /* @__PURE__ */
|
|
39
|
+
return /* @__PURE__ */ _(
|
|
40
40
|
"div",
|
|
41
41
|
{
|
|
42
42
|
...u,
|
|
43
43
|
id: i,
|
|
44
44
|
className: E,
|
|
45
|
-
tabIndex: s ===
|
|
45
|
+
tabIndex: s === d.DISABLED ? -1 : 0,
|
|
46
46
|
"aria-labelledby": x,
|
|
47
|
-
"aria-disabled": s ===
|
|
47
|
+
"aria-disabled": s === d.DISABLED,
|
|
48
48
|
onBlur: N,
|
|
49
49
|
onFocus: C,
|
|
50
50
|
ref: D,
|
|
51
|
-
children:
|
|
51
|
+
children: r ? c : /* @__PURE__ */ _("span", { className: e.placeholderWrapper, children: p })
|
|
52
52
|
}
|
|
53
53
|
);
|
|
54
54
|
}
|
|
@@ -5,18 +5,18 @@ import { createSizeToClassNameMap as R } from "../../../utils/classNameMaps.js";
|
|
|
5
5
|
import { FormFieldContext as W } from "../FormFieldContext.js";
|
|
6
6
|
import { EFormFieldStatus as j } from "../enums.js";
|
|
7
7
|
import { isFilled as q } from "./utils.js";
|
|
8
|
-
const w = "
|
|
8
|
+
const w = "formFieldTextarea__58d617b5", G = "sm__412c3420", H = "md__e47ef4a8", J = "lg__2c18f187", T = {
|
|
9
9
|
formFieldTextarea: w,
|
|
10
10
|
sm: G,
|
|
11
11
|
md: H,
|
|
12
12
|
lg: J
|
|
13
13
|
}, K = R(T), O = M.forwardRef(
|
|
14
|
-
({ id:
|
|
15
|
-
const { size: g, status: h, setFocused:
|
|
14
|
+
({ id: d, className: p, value: s, defaultValue: x, onFocus: r, onBlur: l, onAnimationStart: m, onChange: i, ..._ }, N) => {
|
|
15
|
+
const { size: g, status: h, setFocused: o, setTargetId: F, setFilled: c } = n(W), f = C(() => d === void 0 ? D("textarea_") : d, [d]), y = L(T.formFieldTextarea, K[g], p), t = a(
|
|
16
16
|
(e) => {
|
|
17
|
-
|
|
17
|
+
c(q(e));
|
|
18
18
|
},
|
|
19
|
-
[
|
|
19
|
+
[c]
|
|
20
20
|
);
|
|
21
21
|
u(() => {
|
|
22
22
|
F(f);
|
|
@@ -25,21 +25,21 @@ const w = "formFieldTextarea__0ef11e20", G = "sm__f1c7d6be", H = "md__14d41478",
|
|
|
25
25
|
}, []), u(() => {
|
|
26
26
|
s !== void 0 && t(s);
|
|
27
27
|
}, [s, t]);
|
|
28
|
-
const
|
|
28
|
+
const b = a(
|
|
29
29
|
(e) => {
|
|
30
|
-
t(e.currentTarget.value),
|
|
30
|
+
t(e.currentTarget.value), o(!0), r == null || r(e);
|
|
31
31
|
},
|
|
32
|
-
[t,
|
|
32
|
+
[t, o, r]
|
|
33
33
|
), k = a(
|
|
34
34
|
(e) => {
|
|
35
|
-
t(e.currentTarget.value),
|
|
35
|
+
t(e.currentTarget.value), o(!1), l == null || l(e);
|
|
36
36
|
},
|
|
37
|
-
[t,
|
|
37
|
+
[t, o, l]
|
|
38
38
|
), z = a(
|
|
39
39
|
(e) => {
|
|
40
|
-
e.animationName.startsWith("autofill-applied-hook") ?
|
|
40
|
+
e.animationName.startsWith("autofill-applied-hook") ? c(!0) : e.animationName.startsWith("autofill-cancelled-hook") && t(e.currentTarget.value), m == null || m(e);
|
|
41
41
|
},
|
|
42
|
-
[
|
|
42
|
+
[c, t, m]
|
|
43
43
|
), E = a(
|
|
44
44
|
(e) => {
|
|
45
45
|
t(e.currentTarget.value), i == null || i(e);
|
|
@@ -51,11 +51,11 @@ const w = "formFieldTextarea__0ef11e20", G = "sm__f1c7d6be", H = "md__14d41478",
|
|
|
51
51
|
{
|
|
52
52
|
..._,
|
|
53
53
|
id: f,
|
|
54
|
-
className:
|
|
54
|
+
className: y,
|
|
55
55
|
value: s,
|
|
56
56
|
defaultValue: x,
|
|
57
57
|
disabled: h === j.DISABLED,
|
|
58
|
-
onFocus:
|
|
58
|
+
onFocus: b,
|
|
59
59
|
onBlur: k,
|
|
60
60
|
onAnimationStart: z,
|
|
61
61
|
onChange: E,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FormFieldClear as e } from "./FormFieldClear.js";
|
|
2
2
|
import { FormFieldCounter as m } from "./FormFieldCounter.js";
|
|
3
3
|
import { FormFieldDescription as i } from "./FormFieldDescription.js";
|
|
4
|
-
import { F as x } from "../../../chunks/FormFieldInput-
|
|
4
|
+
import { F as x } from "../../../chunks/FormFieldInput-CkVtqncH.js";
|
|
5
5
|
import { FormFieldLabel as l } from "./FormFieldLabel.js";
|
|
6
6
|
import { FormFieldMaskedInput as a } from "./FormFieldMaskedInput.js";
|
|
7
7
|
import { FormFieldPostfix as s } from "./FormFieldPostfix.js";
|
|
@@ -2,7 +2,7 @@ import { EFormFieldStatus as e } from "./enums.js";
|
|
|
2
2
|
import { FormFieldClear as F } from "./components/FormFieldClear.js";
|
|
3
3
|
import { FormFieldCounter as i } from "./components/FormFieldCounter.js";
|
|
4
4
|
import { FormFieldDescription as l } from "./components/FormFieldDescription.js";
|
|
5
|
-
import { F as f } from "../../chunks/FormFieldInput-
|
|
5
|
+
import { F as f } from "../../chunks/FormFieldInput-CkVtqncH.js";
|
|
6
6
|
import { FormFieldLabel as a } from "./components/FormFieldLabel.js";
|
|
7
7
|
import { FormFieldMaskedInput as u } from "./components/FormFieldMaskedInput.js";
|
|
8
8
|
import { FormFieldPostfix as C } from "./components/FormFieldPostfix.js";
|