@sberbusiness/triplex-next 1.32.0 → 1.33.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-Bw11lY_2.js +41 -0
- package/chunks/CalendarViewItem-9zvGz6lK.js +101 -0
- package/chunks/Card.module-CHntSBGP.js +18 -0
- package/chunks/CheckboxTreeExtended.module-DZCnZPkk.js +15 -0
- package/chunks/{Chip-Fb7_tfTx.js → Chip-DUgRidoA.js} +18 -18
- package/chunks/Confirm.module-DzA_7mQO.js +15 -0
- package/chunks/{DropdownListItem-CBAmYB__.js → DropdownListItem-DfdRzHWo.js} +13 -13
- package/chunks/DropdownMobile.module-B2_eLIZO.js +23 -0
- package/chunks/Footer.module-CV6e-B3r.js +9 -0
- package/chunks/{FormFieldInput-d6WkPngW.js → FormFieldInput-CxAdhoLS.js} +15 -15
- package/chunks/HeaderLayoutSidebar.module-GsbsfEiJ.js +9 -0
- package/chunks/HeaderTabs.module-fOX5YNsl.js +9 -0
- package/chunks/{HeaderTitle.module-CFdpGGVy.js → HeaderTitle.module-tH470aDn.js} +2 -2
- package/chunks/ImageGalleryExtendedMain.module-BRSQsPqY.js +17 -0
- package/chunks/{ImageGalleryExtendedThumb-BVI6zmzL.js → ImageGalleryExtendedThumb-Cpk1nE0q.js} +9 -9
- package/chunks/IslandAccordion.module-b2tphik7.js +25 -0
- package/chunks/IslandWidgetFooter.module-CKmwyHR4.js +9 -0
- package/chunks/IslandWidgetHeader.module-CZL2t5u0.js +13 -0
- package/chunks/{LightBoxContent-CUHF8ym9.js → LightBoxContent-Dzx47lKv.js} +7 -7
- package/chunks/LightBoxControls.module-RG62wDXb.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-B7Fno0cK.js +9 -0
- package/chunks/{ListItemControlsButton-GwTSx9t3.js → ListItemControlsButton-Dc6wY6Fp.js} +9 -9
- package/chunks/ListItemTail.module-DMJ9K0rM.js +12 -0
- package/chunks/ListMasterFooter.module-C58NLDG2.js +10 -0
- package/chunks/ModalWindow.module-CszS7FwS.js +17 -0
- package/chunks/Notification.module-BNsYZ_Ak.js +20 -0
- package/chunks/Overlay.module-DOk5L_-8.js +18 -0
- package/chunks/Page.module-TORdWU5G.js +11 -0
- package/chunks/SMSField.module-BjG_FEkT.js +16 -0
- package/chunks/SliderExtendedMarks.module-Bt31TtEn.js +15 -0
- package/chunks/{SliderExtendedRail-s3nj0g7A.js → SliderExtendedRail-BYOwvNNf.js} +11 -11
- package/chunks/StatusTracker.module-jqMWmKxs.js +24 -0
- package/chunks/{StepperStepArrowBorder-7nXw_k6S.js → StepperStepArrowBorder-j6OP5KT9.js} +5 -5
- package/chunks/{SuggestFieldMobileDropdownHint-DTd9ZRJc.js → SuggestFieldMobileDropdownHint-C8OEdlFf.js} +4 -4
- package/chunks/TableFooter.module-BrNleOTT.js +14 -0
- package/chunks/TabsExtended.module-BStXryDc.js +16 -0
- package/chunks/TabsLine.module-CR0Zbz9g.js +21 -0
- package/chunks/TooltipDesktop.module-lEItFyAS.js +19 -0
- package/chunks/TreeView.module-SA9BUUel.js +9 -0
- package/chunks/{UploadZoneInput-DH0deFXt.js → UploadZoneInput-B_FFSQm7.js} +6 -6
- package/chunks/{constants-Dsgjokad.js → constants-Dm1nkJLa.js} +11 -11
- package/chunks/{utils-C0vdTK6h.js → utils-C7AeO50S.js} +4 -4
- package/chunks/{utils-CXTWVT_w.js → utils-C88ipzKd.js} +5 -5
- package/chunks/utils-CqED8Odf.js +73 -0
- package/chunks/utils-DIpdLSK7.js +24 -0
- 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 +24 -24
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +5 -5
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +8 -8
- package/components/Badge/Badge.js +6 -6
- package/components/Badge/BadgeDot.js +4 -4
- package/components/Badge/components/BadgeContent.js +14 -14
- package/components/Badge/components/BadgePostfix.js +9 -9
- package/components/Badge/components/BadgePrefix.js +6 -6
- package/components/Body/Body.js +5 -5
- package/components/Button/Button.js +25 -25
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +27 -27
- package/components/Button/ButtonDropdownExtended.js +8 -8
- package/components/Button/ButtonIcon.js +2 -2
- package/components/Calendar/Calendar.js +6 -6
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +4 -4
- 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 +8 -8
- 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 +12 -12
- package/components/Checkbox/Checkbox.js +19 -19
- package/components/Checkbox/CheckboxXGroup.js +13 -13
- 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 +2 -2
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +5 -5
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +6 -6
- 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 +46 -42
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +12 -12
- package/components/Col/Col.js +139 -139
- package/components/CollapsibleTree/CollapsibleTree.js +2 -2
- package/components/CollapsibleTree/components/CollapsibleTreeLeafContent.js +5 -5
- package/components/CollapsibleTree/components/CollapsibleTreeLeafNode.js +2 -2
- package/components/CollapsibleTree/components/CollapsibleTreeNodeHeader.js +13 -13
- package/components/CollapsibleTreeExtended/components/CollapsibleTreeExtendedNode.js +2 -2
- 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 +2 -2
- package/components/DateRange/DateRange.js +10 -10
- 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 +5 -5
- package/components/Dropdown/desktop/DropdownDesktop.js +15 -15
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +13 -13
- package/components/EmptyView/EmptyView.js +13 -13
- 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 +23 -23
- package/components/FormField/components/FormFieldClear.js +8 -8
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +8 -8
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +13 -13
- package/components/FormField/components/FormFieldMaskedInput.js +19 -19
- package/components/FormField/components/FormFieldPostfix.js +5 -5
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +20 -20
- package/components/FormField/components/FormFieldTextarea.js +10 -10
- 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 +3 -3
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +7 -7
- package/components/IconWrapper/IconWrapper.js +11 -11
- 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 +11 -11
- 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 +5 -5
- package/components/Island/components/IslandHeader.js +2 -2
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/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 +7 -7
- package/components/LightBox/LightBox.js +45 -44
- 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 +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +12 -12
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +13 -13
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +10 -10
- package/components/List/List.js +3 -3
- 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 +7 -7
- 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 +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +2 -2
- package/components/List/components/ListSortableItemControls.js +7 -7
- package/components/List/components/ListSortableItemTarget.js +6 -6
- 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 +6 -6
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +8 -8
- package/components/ListMaster/components/SelectionControls.js +6 -6
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +13 -13
- package/components/Loader/LoaderSmall/LoaderSmall.js +6 -6
- package/components/LoaderScreen/LoaderScreen.js +10 -10
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +5 -5
- 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 +7 -7
- package/components/ModalWindow/components/ModalWindowClose.js +5 -5
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +7 -7
- package/components/MonthYearRange/MonthYearRange.js +12 -12
- 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 +4 -4
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +8 -8
- package/components/OrderedList/OrderedListItem.js +6 -6
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +2 -2
- package/components/Page/components/BodyPage.js +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 +6 -6
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +8 -8
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +16 -16
- package/components/Radio/RadioXGroup.js +11 -11
- package/components/Radio/RadioYGroup.js +5 -5
- package/components/Row/Row.js +14 -14
- 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 +4 -4
- package/components/SegmentedControl/SegmentedControlSegment.js +12 -12
- package/components/SelectExtendedField/SelectExtendedField.js +8 -8
- 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 +2 -2
- package/components/Skeleton/Skeleton.js +7 -7
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +17 -17
- 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 +13 -13
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +27 -27
- package/components/SmallInput/SmallInput.js +5 -5
- package/components/Spoiler/Spoiler.js +10 -10
- 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 +4 -4
- package/components/StatusTracker/components/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/Step/Step.js +19 -19
- package/components/Stepper/Stepper.js +33 -32
- package/components/Stepper/StepperExtended.js +11 -11
- 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 +11 -11
- 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 +3 -3
- package/components/Table/ChipPanel.js +4 -4
- package/components/Table/ChipPanelLinks.js +6 -6
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +15 -15
- package/components/Table/NoColumns.js +2 -2
- package/components/Table/PaginationPanel.js +5 -5
- 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 +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +5 -5
- 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 +6 -6
- 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 +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +7 -7
- package/components/Tag/Tag.js +30 -30
- package/components/TagColor/TagColor.js +9 -9
- package/components/TagGroup/TagGroup.js +6 -6
- 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 +7 -7
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +5 -5
- package/components/TopOverlay/TopOverlay.js +46 -46
- 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 +25 -25
- package/components/Typography/CodeText.js +3 -3
- package/components/Typography/Text.js +16 -16
- package/components/Typography/Title.js +18 -18
- package/components/Typography/constants.js +1 -1
- package/components/Typography/enums.js +1 -1
- package/components/UnorderedList/UnorderedList.js +6 -6
- package/components/UnorderedList/UnorderedListItem.js +6 -6
- 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 +33 -39
- 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/AlertProcessSpoiler-p-fWJ9CC.js +0 -41
- package/chunks/CalendarViewItem-y_OwskEF.js +0 -101
- package/chunks/Card.module-DLre-hDg.js +0 -18
- package/chunks/CheckboxTreeExtended.module-BsnFYetJ.js +0 -15
- 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/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
|
@@ -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.33.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-CV6e-B3r.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-CV6e-B3r.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-CV6e-B3r.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
1
|
import { jsx as f } 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__9507107a", W = "sm__547d6110", G = "md__4380ba69", M = "lg__7d82ed86", P = "active__a02bba87", y = "disabled__03c0dbab", U = "error__929cae76", j = "warning__2e9543b1", z = "filled__8bd8580b", e = {
|
|
10
10
|
formField: S,
|
|
11
11
|
sm: W,
|
|
12
12
|
md: G,
|
|
13
13
|
lg: M,
|
|
14
|
-
default: "
|
|
14
|
+
default: "default__9fd0c23b",
|
|
15
15
|
active: P,
|
|
16
16
|
disabled: y,
|
|
17
17
|
error: U,
|
|
@@ -26,49 +26,49 @@ const S = "formField__ca466614", W = "sm__ab9ef21c", G = "md__9ec7e2e7", M = "lg
|
|
|
26
26
|
({
|
|
27
27
|
children: p,
|
|
28
28
|
className: F,
|
|
29
|
-
style:
|
|
30
|
-
size:
|
|
29
|
+
style: b,
|
|
30
|
+
size: s = w.LG,
|
|
31
31
|
status: r = o.DEFAULT,
|
|
32
32
|
active: a = !1,
|
|
33
|
-
...
|
|
34
|
-
},
|
|
35
|
-
const [
|
|
33
|
+
...g
|
|
34
|
+
}, u) => {
|
|
35
|
+
const [n, x] = t(), [c, T] = t(), [i, E] = t(_), [l, N] = t(_), [m, R] = t(!1), [d, A] = t(!1), D = L(
|
|
36
36
|
() => ({
|
|
37
|
-
size:
|
|
37
|
+
size: s,
|
|
38
38
|
status: r,
|
|
39
|
-
targetId:
|
|
40
|
-
labelId:
|
|
39
|
+
targetId: n,
|
|
40
|
+
labelId: c,
|
|
41
41
|
postfixWidth: i,
|
|
42
42
|
prefixWidth: l,
|
|
43
|
-
filled:
|
|
44
|
-
focused:
|
|
45
|
-
active: a ||
|
|
46
|
-
setTargetId:
|
|
43
|
+
filled: m,
|
|
44
|
+
focused: d,
|
|
45
|
+
active: a || d,
|
|
46
|
+
setTargetId: x,
|
|
47
47
|
setLabelId: T,
|
|
48
48
|
setPostfixWidth: E,
|
|
49
49
|
setPrefixWidth: N,
|
|
50
50
|
setFilled: R,
|
|
51
51
|
setFocused: A
|
|
52
52
|
}),
|
|
53
|
-
[
|
|
53
|
+
[s, r, n, c, i, l, m, d, a]
|
|
54
54
|
);
|
|
55
55
|
return /* @__PURE__ */ f(v.Provider, { value: D, children: /* @__PURE__ */ f(
|
|
56
56
|
"div",
|
|
57
57
|
{
|
|
58
58
|
className: h(
|
|
59
59
|
e.formField,
|
|
60
|
-
O[
|
|
60
|
+
O[s],
|
|
61
61
|
B[r],
|
|
62
62
|
{
|
|
63
|
-
[e.filled]:
|
|
64
|
-
[e.active]: a ||
|
|
63
|
+
[e.filled]: m,
|
|
64
|
+
[e.active]: a || d
|
|
65
65
|
},
|
|
66
66
|
F
|
|
67
67
|
),
|
|
68
|
-
"data-tx": "1.
|
|
69
|
-
style: { paddingLeft: l, paddingRight: i, ...
|
|
70
|
-
...
|
|
71
|
-
ref:
|
|
68
|
+
"data-tx": "1.33.0",
|
|
69
|
+
style: { paddingLeft: l, paddingRight: i, ...b },
|
|
70
|
+
...g,
|
|
71
|
+
ref: u,
|
|
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 } from "../../../chunks/vendor-
|
|
4
|
-
import { CrossStrokeSrvIcon16 as
|
|
2
|
+
import c, { useCallback as d } from "react";
|
|
3
|
+
import { c as f } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
4
|
+
import { CrossStrokeSrvIcon16 as i } from "@sberbusiness/icons-next";
|
|
5
5
|
import { ButtonIcon as s } from "../../Button/ButtonIcon.js";
|
|
6
|
-
const p = "
|
|
6
|
+
const p = "formFieldClear__a71cd1b2", C = {
|
|
7
7
|
formFieldClear: p
|
|
8
|
-
}, F =
|
|
8
|
+
}, F = c.forwardRef(
|
|
9
9
|
({ className: a, onMouseDown: r, ...t }, m) => {
|
|
10
|
-
const o =
|
|
10
|
+
const o = d(
|
|
11
11
|
(e) => {
|
|
12
12
|
e.preventDefault(), r == null || r(e);
|
|
13
13
|
},
|
|
@@ -17,10 +17,10 @@ const p = "formFieldClear__1a057f89", C = {
|
|
|
17
17
|
s,
|
|
18
18
|
{
|
|
19
19
|
...t,
|
|
20
|
-
className:
|
|
20
|
+
className: f(C.formFieldClear, a),
|
|
21
21
|
onMouseDown: o,
|
|
22
22
|
ref: m,
|
|
23
|
-
children: /* @__PURE__ */ l(
|
|
23
|
+
children: /* @__PURE__ */ l(i, { paletteIndex: 5 })
|
|
24
24
|
}
|
|
25
25
|
);
|
|
26
26
|
}
|
|
@@ -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__95f3f32e", f = {
|
|
5
5
|
formFieldCounter: s
|
|
6
|
-
},
|
|
6
|
+
}, u = ({ children: o, ...r }) => {
|
|
7
7
|
const { setWithCounter: e } = n(m);
|
|
8
|
-
return i(() => (e(!0), () => e(!1)), []), /* @__PURE__ */ t("div", { className:
|
|
8
|
+
return i(() => (e(!0), () => e(!1)), []), /* @__PURE__ */ t("div", { className: f.formFieldCounter, ...r, children: o });
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
u.displayName = "FormFieldCounter";
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
u as FormFieldCounter
|
|
13
13
|
};
|
|
14
14
|
//# sourceMappingURL=FormFieldCounter.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useState as n } from "react";
|
|
3
|
-
import { c } from "../../../chunks/vendor-
|
|
4
|
-
import { FormFieldDescriptionContext as
|
|
5
|
-
const l = "
|
|
3
|
+
import { c as m } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
4
|
+
import { FormFieldDescriptionContext as c } from "../FormFieldDescriptionContext.js";
|
|
5
|
+
const l = "formFieldDescription__868a9334", p = "withCounter__3e115bb0", i = {
|
|
6
6
|
formFieldDescription: l,
|
|
7
|
-
withCounter:
|
|
8
|
-
},
|
|
7
|
+
withCounter: p
|
|
8
|
+
}, d = ({ children: e, ...r }) => {
|
|
9
9
|
const [o, s] = n(!1);
|
|
10
|
-
return /* @__PURE__ */ t(
|
|
10
|
+
return /* @__PURE__ */ t(c.Provider, { value: { withCounter: o, setWithCounter: s }, children: /* @__PURE__ */ t("div", { className: m(i.formFieldDescription, { [i.withCounter]: o }), ...r, children: e }) });
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
d.displayName = "FormFieldDescription";
|
|
13
13
|
export {
|
|
14
|
-
|
|
14
|
+
d as FormFieldDescription
|
|
15
15
|
};
|
|
16
16
|
//# sourceMappingURL=FormFieldDescription.js.map
|
|
@@ -1,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-CxAdhoLS.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__31e4432a", R = "sm__547d6110", v = "md__4380ba69", z = "lg__7d82ed86", G = "floating__593d3a11", W = "formFieldLabelText__570454d0", j = "disabled__03c0dbab", 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:
|
|
18
|
-
const { targetId:
|
|
17
|
+
({ children: i, id: t, className: d, style: m, floating: r, ...f }, n) => {
|
|
18
|
+
const { targetId: c, 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 = r ?? (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
|
+
d
|
|
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
|
+
...m
|
|
32
32
|
};
|
|
33
33
|
return I(() => {
|
|
34
34
|
o(l);
|
|
35
|
-
}, [l, o]), /* @__PURE__ */
|
|
35
|
+
}, [l, o]), /* @__PURE__ */ a("label", { ...f, id: l, className: x, htmlFor: c, style: T, ref: n, 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-CxAdhoLS.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__5d2d564c", X = "formFieldMaskedInputPlaceholder__5b9f43fd", Y = "formFieldMaskedInput__72125f0c", 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__8bed44f1",
|
|
12
|
+
"size-md": "size-md__4a8930a3",
|
|
13
|
+
"size-lg": "size-lg__36597067",
|
|
14
14
|
formFieldMaskedInput: Y
|
|
15
15
|
}, a = ({
|
|
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] = $(""), 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__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
|
-
c.current = !1, s !== t && (
|
|
46
|
+
c.current = !1, s !== t && (d == null || d(e));
|
|
47
47
|
},
|
|
48
|
-
[s,
|
|
49
|
-
),
|
|
48
|
+
[s, d]
|
|
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)*)/;
|
|
@@ -59,9 +59,9 @@ const Q = "formFieldMaskedInputWrapper__49237050", X = "formFieldMaskedInputPlac
|
|
|
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
|
-
t && e(t), typeof
|
|
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__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
|
}
|
|
@@ -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
5
|
import { TARGET_PADDING_X_DEFAULT as w } from "../consts.js";
|
|
6
|
-
const N = "
|
|
6
|
+
const N = "formFieldPostfix__3219d737", b = {
|
|
7
7
|
formFieldPostfix: N
|
|
8
|
-
}, g =
|
|
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(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(() => {
|
|
@@ -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 a, { useContext as F, 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
5
|
import { TARGET_PADDING_X_DEFAULT as w } from "../consts.js";
|
|
6
|
-
const N = "
|
|
6
|
+
const N = "formFieldPrefix__f4a328d9", b = {
|
|
7
7
|
formFieldPrefix: N
|
|
8
|
-
}, g =
|
|
8
|
+
}, g = a.forwardRef(
|
|
9
9
|
({ children: n, className: c, ...m }, r) => {
|
|
10
|
-
const { setPrefixWidth: t } =
|
|
10
|
+
const { setPrefixWidth: t } = F(_), o = p(), l = R(b.formFieldPrefix, c), d = (e) => {
|
|
11
11
|
o.current = e, typeof r == "function" ? r(e) : r && (r.current = e);
|
|
12
12
|
};
|
|
13
13
|
return P(() => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as f } from "react/jsx-runtime";
|
|
2
2
|
import b, { useContext as S, useMemo as g, useLayoutEffect as h, useCallback as F } from "react";
|
|
3
|
-
import { u as y, c as A } from "../../../chunks/vendor-
|
|
3
|
+
import { u as y, c as A } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
4
4
|
import { FormFieldContext as L } from "../FormFieldContext.js";
|
|
5
|
-
import { EFormFieldStatus as
|
|
5
|
+
import { EFormFieldStatus as r } from "../enums.js";
|
|
6
6
|
import { createSizeToClassNameMap as W } from "../../../utils/classNameMaps.js";
|
|
7
|
-
const z = "
|
|
7
|
+
const z = "formFieldTarget__e0d0853f", M = "sm__547d6110", R = "md__4380ba69", j = "lg__7d82ed86", k = "placeholder__66ad93aa", q = "disabled__03c0dbab", w = "placeholderWrapper__de0cd8d3", B = "active__a02bba87", e = {
|
|
8
8
|
formFieldTarget: z,
|
|
9
9
|
sm: M,
|
|
10
10
|
md: R,
|
|
@@ -14,41 +14,41 @@ const z = "formFieldTarget__a982acec", M = "sm__ab9ef21c", R = "md__9ec7e2e7", 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: n, setFocused:
|
|
19
|
-
[e.disabled]: s ===
|
|
20
|
-
[e.placeholder]: !!p && !
|
|
17
|
+
({ children: o, id: c, className: T, placeholder: p, onFocus: a, onBlur: t, ...u }, D) => {
|
|
18
|
+
const { size: I, status: s, active: v, labelId: x, setFilled: n, setFocused: d, setTargetId: _ } = S(L), i = g(() => c === void 0 ? y("target_") : c, [c]), l = g(() => b.Children.toArray(o).length !== 0, [o]), E = A(e.formFieldTarget, G[I], T, {
|
|
19
|
+
[e.disabled]: s === r.DISABLED,
|
|
20
|
+
[e.placeholder]: !!p && !l && s !== r.DISABLED,
|
|
21
21
|
[e.active]: v
|
|
22
22
|
});
|
|
23
23
|
h(() => {
|
|
24
|
-
|
|
25
|
-
}, [i,
|
|
26
|
-
n(
|
|
27
|
-
}, [
|
|
24
|
+
_(i);
|
|
25
|
+
}, [i, _]), h(() => {
|
|
26
|
+
n(l);
|
|
27
|
+
}, [l, n]);
|
|
28
28
|
const C = F(
|
|
29
29
|
(m) => {
|
|
30
|
-
|
|
30
|
+
d(!0), a == null || a(m);
|
|
31
31
|
},
|
|
32
|
-
[a,
|
|
32
|
+
[a, d]
|
|
33
33
|
), N = F(
|
|
34
34
|
(m) => {
|
|
35
|
-
|
|
35
|
+
d(!1), t == null || t(m);
|
|
36
36
|
},
|
|
37
|
-
[t,
|
|
37
|
+
[t, d]
|
|
38
38
|
);
|
|
39
|
-
return /* @__PURE__ */
|
|
39
|
+
return /* @__PURE__ */ f(
|
|
40
40
|
"div",
|
|
41
41
|
{
|
|
42
42
|
...u,
|
|
43
43
|
id: i,
|
|
44
44
|
className: E,
|
|
45
|
-
tabIndex: s ===
|
|
45
|
+
tabIndex: s === r.DISABLED ? -1 : 0,
|
|
46
46
|
"aria-labelledby": x,
|
|
47
|
-
"aria-disabled": s ===
|
|
47
|
+
"aria-disabled": s === r.DISABLED,
|
|
48
48
|
onBlur: N,
|
|
49
49
|
onFocus: C,
|
|
50
50
|
ref: D,
|
|
51
|
-
children:
|
|
51
|
+
children: l ? o : /* @__PURE__ */ f("span", { className: e.placeholderWrapper, children: p })
|
|
52
52
|
}
|
|
53
53
|
);
|
|
54
54
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx as I } from "react/jsx-runtime";
|
|
2
2
|
import M, { useContext as n, useMemo as C, useCallback as s, useLayoutEffect as u } from "react";
|
|
3
|
-
import { u as D, c as L } from "../../../chunks/vendor-
|
|
3
|
+
import { u as D, c as L } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
4
4
|
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__59d8a235", G = "sm__547d6110", H = "md__4380ba69", J = "lg__7d82ed86", 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: c, className: p, value: a, defaultValue: x, onFocus: r, onBlur: l, onAnimationStart: m, onChange: d, ..._ }, N) => {
|
|
15
|
+
const { size: g, status: h, setFocused: i, setTargetId: F, setFilled: o } = n(W), f = C(() => c === void 0 ? D("textarea_") : c, [c]), y = L(T.formFieldTextarea, K[g], p), t = s(
|
|
16
16
|
(e) => {
|
|
17
17
|
o(q(e));
|
|
18
18
|
},
|
|
@@ -27,14 +27,14 @@ const w = "formFieldTextarea__c28d07ae", G = "sm__ab9ef21c", H = "md__9ec7e2e7",
|
|
|
27
27
|
}, [a, t]);
|
|
28
28
|
const b = s(
|
|
29
29
|
(e) => {
|
|
30
|
-
t(e.currentTarget.value),
|
|
30
|
+
t(e.currentTarget.value), i(!0), r == null || r(e);
|
|
31
31
|
},
|
|
32
|
-
[t,
|
|
32
|
+
[t, i, r]
|
|
33
33
|
), k = s(
|
|
34
34
|
(e) => {
|
|
35
|
-
t(e.currentTarget.value),
|
|
35
|
+
t(e.currentTarget.value), i(!1), l == null || l(e);
|
|
36
36
|
},
|
|
37
|
-
[t,
|
|
37
|
+
[t, i, l]
|
|
38
38
|
), z = s(
|
|
39
39
|
(e) => {
|
|
40
40
|
e.animationName.startsWith("autofill-applied-hook") ? o(!0) : e.animationName.startsWith("autofill-cancelled-hook") && t(e.currentTarget.value), m == null || m(e);
|
|
@@ -42,9 +42,9 @@ const w = "formFieldTextarea__c28d07ae", G = "sm__ab9ef21c", H = "md__9ec7e2e7",
|
|
|
42
42
|
[o, t, m]
|
|
43
43
|
), E = s(
|
|
44
44
|
(e) => {
|
|
45
|
-
t(e.currentTarget.value),
|
|
45
|
+
t(e.currentTarget.value), d == null || d(e);
|
|
46
46
|
},
|
|
47
|
-
[
|
|
47
|
+
[d, t]
|
|
48
48
|
);
|
|
49
49
|
return /* @__PURE__ */ I(
|
|
50
50
|
"textarea",
|
|
@@ -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-CxAdhoLS.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-CxAdhoLS.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";
|
package/components/Gap/Gap.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
import
|
|
4
|
-
const
|
|
5
|
-
size4:
|
|
1
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { c as o } from "../../chunks/vendor-D5cfSbgz.js";
|
|
3
|
+
import t from "react";
|
|
4
|
+
const _ = "size4__27064d01", a = "size8__d9c1ba78", n = "size12__11968ac4", r = "size16__9cc4df35", f = "size24__cb5cb6a8", d = "size32__1c589d53", m = "size64__6c23b1f3", p = "size128__1d4f5f78", l = {
|
|
5
|
+
size4: _,
|
|
6
6
|
size8: a,
|
|
7
7
|
size12: n,
|
|
8
8
|
size16: r,
|
|
9
|
-
size24:
|
|
9
|
+
size24: f,
|
|
10
10
|
size32: d,
|
|
11
|
-
size64:
|
|
12
|
-
size128:
|
|
13
|
-
},
|
|
14
|
-
|
|
11
|
+
size64: m,
|
|
12
|
+
size128: p
|
|
13
|
+
}, b = t.forwardRef(({ className: s, size: e, ...i }, z) => /* @__PURE__ */ c("div", { className: o(l[`size${e}`], s), role: "presentation", ...i, ref: z }));
|
|
14
|
+
b.displayName = "Gap";
|
|
15
15
|
export {
|
|
16
|
-
|
|
16
|
+
b as Gap
|
|
17
17
|
};
|
|
18
18
|
//# sourceMappingURL=Gap.js.map
|