@sberbusiness/triplex-next 0.32.0 → 0.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 +35 -32
- package/chunks/AlertProcessSpoiler-D5Z3QhxI.js +41 -0
- package/chunks/{CalendarViewItem-DnsWMQ6f.js → CalendarViewItem-jaPGc7g9.js} +19 -19
- package/chunks/Card.module-BT82F3Ky.js +18 -0
- package/chunks/CheckboxTreeExtended.module-dWJEHy4I.js +15 -0
- package/chunks/Chip-DEoNciDr.js +85 -0
- package/chunks/Confirm.module-Bek5Y_d5.js +15 -0
- package/chunks/{DropdownListItem-Bp1g9j21.js → DropdownListItem-9uM7fY6X.js} +19 -19
- package/chunks/DropdownMobile.module-Dn9sFUCq.js +23 -0
- package/chunks/Footer.module-cwVzdGju.js +9 -0
- package/chunks/{FormFieldInput-DZ9wvF_L.js → FormFieldInput-CLHhO8Kh.js} +21 -21
- package/chunks/HeaderLayoutSidebar.module-By0WroW0.js +9 -0
- package/chunks/HeaderTabs.module-nNfmab3J.js +9 -0
- package/chunks/{HeaderTitle.module-Bjd_PeFL.js → HeaderTitle.module-D4SZQJKQ.js} +2 -2
- package/chunks/ImageGalleryExtendedMain.module-BV4sYkkw.js +17 -0
- package/chunks/{ImageGalleryExtendedThumb-A47Rfe5O.js → ImageGalleryExtendedThumb-DVMRe0a9.js} +8 -8
- package/chunks/IslandAccordion.module-DZaeBDfB.js +25 -0
- package/chunks/IslandWidgetFooter.module-gs1vcAcR.js +9 -0
- package/chunks/IslandWidgetHeader.module-DCfKgbBN.js +13 -0
- package/chunks/{LightBoxContent-9n7KZhyO.js → LightBoxContent-CJPhUyR3.js} +8 -8
- package/chunks/LightBoxControls.module-Dw9yTb8h.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-PasYNDqH.js +9 -0
- package/chunks/{ListItemControlsButton-CvLzuMWL.js → ListItemControlsButton-BsJp3m-o.js} +11 -11
- package/chunks/ListItemTail.module-C_0Ilv6P.js +12 -0
- package/chunks/ListMasterFooter.module-BtdNBL90.js +10 -0
- package/chunks/ModalWindow.module-BL1rtFYz.js +17 -0
- package/chunks/Notification.module-DGitAi0W.js +20 -0
- package/chunks/Overlay.module-C4CvBteS.js +18 -0
- package/chunks/Page.module-C0z8yMeg.js +11 -0
- package/chunks/SMSField.module-BcNuX5lS.js +16 -0
- package/chunks/SliderExtendedMarks.module-C_x_7ws7.js +15 -0
- package/chunks/{SliderExtendedRail-BAv_g4xj.js → SliderExtendedRail-SYhKGslJ.js} +12 -12
- package/chunks/StatusTracker.module-DkbOCTwb.js +24 -0
- package/chunks/{StepperStepArrowBorder-zBMxIbHq.js → StepperStepArrowBorder-B59UgJt-.js} +6 -6
- package/chunks/{SuggestFieldMobileDropdownHint-DoCjNfsA.js → SuggestFieldMobileDropdownHint-GTMw7Nng.js} +2 -2
- package/chunks/TableFooter.module-CGgvFs4s.js +14 -0
- package/chunks/TabsExtended.module-D6URUq4g.js +16 -0
- package/chunks/TabsLine.module-DZEuIiZO.js +21 -0
- package/chunks/TooltipDesktop.module-DK_Fl-Dq.js +19 -0
- package/chunks/TreeView.module-Bq5-RYgn.js +9 -0
- package/chunks/{UploadZoneInput-CZ0-33sV.js → UploadZoneInput-NoKos3kX.js} +4 -4
- package/chunks/{constants-8_Umj6ax.js → constants-DXTFMfA_.js} +9 -9
- package/chunks/{utils-gmsD_32w.js → utils-C2i3hSWR.js} +4 -4
- package/chunks/utils-D55sjebM.js +73 -0
- package/chunks/utils-DDzMRlrV.js +28 -0
- package/chunks/utils-DVaJTyM2.js +24 -0
- package/components/Alert/AlertContext/AlertContext.js +12 -12
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +4 -4
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +26 -26
- package/components/Badge/Badge.js +15 -15
- package/components/Badge/BadgeDot.js +6 -6
- package/components/Badge/components/BadgeContent.js +5 -5
- package/components/Badge/components/BadgePostfix.js +4 -4
- package/components/Badge/components/BadgePrefix.js +1 -1
- package/components/Body/Body.js +5 -5
- package/components/Button/Button.js +27 -27
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +2 -2
- package/components/Button/ButtonDropdownExtended.js +1 -1
- package/components/Button/ButtonIcon.js +13 -13
- package/components/Calendar/Calendar.js +2 -2
- 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 +8 -8
- 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 +8 -8
- package/components/Checkbox/CheckboxXGroup.js +14 -14
- package/components/Checkbox/CheckboxYGroup.js +4 -4
- 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 +1 -1
- package/components/Chip/ChipClearButton.js +8 -8
- 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 +1 -1
- package/components/Chip/ChipOptions.js +10 -10
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- 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 +10 -10
- package/components/Col/Col.js +143 -143
- package/components/CollapsibleTree/CollapsibleTree.js +7 -7
- package/components/CollapsibleTree/components/CollapsibleTreeLeafContent.js +1 -1
- package/components/CollapsibleTree/components/CollapsibleTreeLeafNode.js +5 -5
- package/components/CollapsibleTree/components/CollapsibleTreeNodeHeader.js +5 -5
- package/components/CollapsibleTreeExtended/components/CollapsibleTreeExtendedNode.js +4 -4
- 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 +7 -7
- package/components/DateRange/DateRange.js +5 -5
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- 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 +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +6 -6
- package/components/Dropdown/desktop/DropdownDesktop.js +18 -18
- 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 +4 -4
- 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 +4 -4
- package/components/Ellipsis/Ellipsis.js +5 -5
- package/components/EmptyView/EmptyView.js +7 -7
- package/components/ExpandAnimation/ExpandAnimation.js +1 -1
- 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 +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +17 -17
- package/components/FormField/components/FormFieldClear.js +4 -4
- package/components/FormField/components/FormFieldCounter.js +1 -1
- package/components/FormField/components/FormFieldDescription.js +5 -5
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +10 -10
- package/components/FormField/components/FormFieldMaskedInput.js +8 -8
- package/components/FormField/components/FormFieldPostfix.js +3 -3
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +18 -18
- package/components/FormField/components/FormFieldTextarea.js +11 -11
- 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 +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 +6 -6
- 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 +4 -4
- package/components/IconWrapper/IconWrapper.js +11 -11
- package/components/ImageGallery/ImageGallery.js +10 -9
- package/components/ImageGalleryExtended/ImageGalleryExtended.js +6 -6
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedArrow.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedDots.js +12 -12
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedMain.js +9 -8
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedSlide.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedSwipeTrack.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedThumb.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedThumbnails.js +1 -1
- package/components/ImageGalleryExtended/components/index.js +1 -1
- package/components/ImageGalleryExtended/index.js +1 -1
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +4 -4
- 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 +21 -21
- package/components/IslandWidget/components/IslandWidgetBody.js +1 -1
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +7 -7
- 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 +3 -3
- package/components/LightBox/LightBox.js +51 -50
- 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 +105 -97
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +3 -3
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +13 -13
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +16 -16
- package/components/Link/Link.js +11 -11
- package/components/List/List.js +7 -7
- package/components/List/components/ListEmptyState.js +1 -1
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +13 -13
- package/components/List/components/ListItemControls.js +5 -5
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +7 -7
- package/components/List/components/ListItemSelectable.js +12 -12
- package/components/List/components/ListItemTable.js +5 -5
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +5 -5
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +8 -8
- 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 +1 -1
- 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 +5 -5
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +10 -10
- package/components/Loader/LoaderSmall/LoaderSmall.js +4 -4
- package/components/LoaderScreen/LoaderScreen.js +6 -6
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +18 -18
- package/components/MobileView/index.js +3 -1
- package/components/MobileView/useMobileView.js +10 -0
- package/components/ModalWindow/ModalWindow.js +33 -33
- 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 +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +3 -3
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +3 -3
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +3 -3
- 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 +2 -2
- package/components/OrderedList/OrderedListItem.js +2 -2
- 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 +6 -6
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +8 -8
- package/components/Pagination/components/PaginationNavigationButton.js +7 -7
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +8 -8
- package/components/Pagination/components/PaginationPageEllipsis.js +5 -5
- package/components/Pagination/components/PaginationSelect.js +8 -8
- package/components/Radio/Radio.js +10 -10
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +4 -4
- package/components/Row/Row.js +14 -14
- 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 +2 -2
- package/components/SegmentedControl/SegmentedControlSegment.js +18 -18
- package/components/SelectExtendedField/SelectExtendedField.js +12 -12
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +14 -14
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +12 -12
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +16 -16
- 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 +4 -4
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +29 -29
- package/components/SmallInput/SmallInput.js +4 -4
- package/components/Spoiler/Spoiler.js +12 -12
- 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/StatusTrackerStatusGroup.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +12 -12
- package/components/Stepper/Stepper.js +31 -30
- package/components/Stepper/StepperExtended.js +1 -1
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperStepArrowBorder.js +1 -1
- package/components/Stepper/index.js +9 -7
- package/components/Suggest/SuggestMobileDropdownContent.js +12 -12
- 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 +15 -15
- package/components/Table/ChipPanel.js +1 -1
- package/components/Table/ChipPanelLinks.js +1 -1
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +9 -9
- package/components/Table/NoColumns.js +3 -3
- 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 +5 -5
- 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 +5 -5
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +4 -4
- 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/utils.js +1 -1
- package/components/Tabs/Tabs.js +6 -6
- 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 +12 -11
- 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 +5 -5
- package/components/Tag/Tag.js +13 -13
- package/components/TagColor/TagColor.js +12 -12
- package/components/TagGroup/TagGroup.js +4 -4
- 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 +10 -10
- 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 +1 -1
- package/components/TopOverlay/TopOverlay.js +44 -44
- 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 +24 -24
- package/components/Typography/CodeText.js +12 -12
- package/components/Typography/Text.js +21 -21
- package/components/Typography/Title.js +28 -28
- package/components/Typography/constants.js +1 -1
- package/components/Typography/enums.js +1 -1
- package/components/UnorderedList/UnorderedList.js +5 -5
- 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 +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/chunks/AlertProcessSpoiler-DW0BhZ40.js +0 -41
- package/chunks/Card.module-CXz8VlRt.js +0 -18
- package/chunks/CheckboxTreeExtended.module-eCBHjGXW.js +0 -15
- package/chunks/Chip-C4673wYg.js +0 -85
- package/chunks/Confirm.module-DXe0cS1V.js +0 -15
- package/chunks/DropdownMobile.module-B-gfhyrz.js +0 -23
- package/chunks/Footer.module-CHW5czGs.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-ChykZk2C.js +0 -9
- package/chunks/HeaderTabs.module-CXzQ8YYa.js +0 -9
- package/chunks/ImageGalleryExtendedMain.module-DtrGKrbn.js +0 -17
- package/chunks/IslandAccordion.module-Cez7gPQx.js +0 -25
- package/chunks/IslandWidgetFooter.module-DJ6DLnlZ.js +0 -9
- package/chunks/IslandWidgetHeader.module-Cax47StS.js +0 -13
- package/chunks/LightBoxControls.module-CqE7tSjd.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-76jyTCms.js +0 -9
- package/chunks/ListItemTail.module-Cj1qtzG7.js +0 -12
- package/chunks/ListMasterFooter.module-BFddN0Fo.js +0 -10
- package/chunks/ModalWindow.module-DRSCJT-j.js +0 -17
- package/chunks/Notification.module-XEc1_4xz.js +0 -20
- package/chunks/Overlay.module-CG_bCws2.js +0 -18
- package/chunks/Page.module-w5MrLoeL.js +0 -11
- package/chunks/SMSField.module-CKYqfE0O.js +0 -16
- package/chunks/SliderExtendedMarks.module-BrV0KqUb.js +0 -15
- package/chunks/StatusTracker.module-Bxjr2F_-.js +0 -24
- package/chunks/TableFooter.module-nSntoxBZ.js +0 -14
- package/chunks/TabsExtended.module-BAblULYn.js +0 -16
- package/chunks/TabsLine.module-BB5LVegW.js +0 -21
- package/chunks/TooltipDesktop.module-DNiN5lh5.js +0 -19
- package/chunks/TreeView.module-C8K0ykxB.js +0 -9
- package/chunks/utils-BT5PPv2k.js +0 -24
- package/chunks/utils-CP79T5VE.js +0 -73
- package/chunks/utils-De8Skuhh.js +0 -28
|
@@ -5,7 +5,7 @@ import { Text as z } from "../../Typography/Text.js";
|
|
|
5
5
|
import { ETextSize as B } from "../../Typography/enums.js";
|
|
6
6
|
import { Badge as D } from "../../Badge/Badge.js";
|
|
7
7
|
import { EComponentSize as I } from "../../../enums/EComponentSize.js";
|
|
8
|
-
import { s as r } from "../../../chunks/DropdownMobile.module-
|
|
8
|
+
import { s as r } from "../../../chunks/DropdownMobile.module-Dn9sFUCq.js";
|
|
9
9
|
const M = x.forwardRef(
|
|
10
10
|
({ children: o, className: s, id: b, onClick: t, onSelect: i, selected: m, showNotificationIcon: e, ...a }, p) => {
|
|
11
11
|
const f = (d) => {
|
|
@@ -4,7 +4,7 @@ import { LoaderSmall as t } from "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
|
4
4
|
import { ELoaderSmallTheme as i } from "../../Loader/LoaderSmall/enum.js";
|
|
5
5
|
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
6
6
|
import { EComponentSize as p } from "../../../enums/EComponentSize.js";
|
|
7
|
-
import { s } from "../../../chunks/DropdownMobile.module-
|
|
7
|
+
import { s } from "../../../chunks/DropdownMobile.module-Dn9sFUCq.js";
|
|
8
8
|
const S = ({ className: o, ...r }) => /* @__PURE__ */ m(
|
|
9
9
|
t,
|
|
10
10
|
{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { c as d } from "../../../chunks/vendor-z35N2Tap.js";
|
|
3
3
|
import { FormFieldMaskedInput as o } from "../../FormField/components/FormFieldMaskedInput.js";
|
|
4
|
-
const t = "
|
|
4
|
+
const t = "dropdownMobileMaskedInput__b1686643", r = {
|
|
5
5
|
dropdownMobileMaskedInput: t
|
|
6
|
-
}, n = ({ className:
|
|
6
|
+
}, n = ({ className: s, ...e }) => /* @__PURE__ */ p(o, { className: d(r.dropdownMobileMaskedInput, s), ...e });
|
|
7
7
|
n.presets = o.presets;
|
|
8
8
|
export {
|
|
9
9
|
n as DropdownMobileMaskedInput
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import t from "react";
|
|
3
3
|
import { c as m } from "../../chunks/vendor-z35N2Tap.js";
|
|
4
|
-
const c = "
|
|
4
|
+
const c = "ellipsisLineClamp__d133a3b2", r = "oneLine__3e8d6191", e = {
|
|
5
5
|
ellipsisLineClamp: c,
|
|
6
6
|
oneLine: r
|
|
7
7
|
}, L = t.forwardRef(
|
|
8
|
-
({ children:
|
|
9
|
-
const p = m(
|
|
8
|
+
({ children: i, maxLines: s, className: l, ...n }, o) => {
|
|
9
|
+
const p = m(e.ellipsisLineClamp, { [e.oneLine]: s === 1 }, l);
|
|
10
10
|
return /* @__PURE__ */ a(
|
|
11
11
|
"div",
|
|
12
12
|
{
|
|
13
13
|
className: p,
|
|
14
14
|
style: { "--ellipsis-line-clamp": s },
|
|
15
15
|
...n,
|
|
16
|
-
"data-tx": "0.
|
|
16
|
+
"data-tx": "0.33.0",
|
|
17
17
|
ref: o,
|
|
18
|
-
children:
|
|
18
|
+
children: i
|
|
19
19
|
}
|
|
20
20
|
);
|
|
21
21
|
}
|
|
@@ -3,10 +3,10 @@ import { jsxs as s, jsx as e, Fragment as x } from "react/jsx-runtime";
|
|
|
3
3
|
import N from "react";
|
|
4
4
|
import { c as A } from "../../chunks/vendor-z35N2Tap.js";
|
|
5
5
|
import { Title as R } from "../Typography/Title.js";
|
|
6
|
-
import { EFontWeightTitle as h, ETitleSize as p, ETextSize as M, EFontType as
|
|
6
|
+
import { EFontWeightTitle as h, ETitleSize as p, ETextSize as M, EFontType as d, EFontWeightText as S } from "../Typography/enums.js";
|
|
7
7
|
import { Text as _ } from "../Typography/Text.js";
|
|
8
8
|
import { Gap as n } from "../Gap/Gap.js";
|
|
9
|
-
const B = "
|
|
9
|
+
const B = "emptyView__ec114f0d", D = "container__0b1f6feb", g = "icon__74575a8a", I = "textBlock__e704d91b", t = {
|
|
10
10
|
emptyView: B,
|
|
11
11
|
container: D,
|
|
12
12
|
icon: g,
|
|
@@ -24,7 +24,7 @@ const B = "emptyView__8d10ac5a", D = "container__bf5aea85", g = "icon__f46562aa"
|
|
|
24
24
|
[i.SM]: 16,
|
|
25
25
|
[i.MD]: 24
|
|
26
26
|
}, k = N.forwardRef(
|
|
27
|
-
({ className: f, size: o, icon: a, title: c, description: r, caption: m, buttons:
|
|
27
|
+
({ className: f, size: o, icon: a, title: c, description: r, caption: m, buttons: E, ...w }, y) => {
|
|
28
28
|
const l = !!(r || m);
|
|
29
29
|
return /* @__PURE__ */ s(
|
|
30
30
|
"div",
|
|
@@ -45,7 +45,7 @@ const B = "emptyView__8d10ac5a", D = "container__bf5aea85", g = "icon__f46562aa"
|
|
|
45
45
|
{
|
|
46
46
|
size: T[o],
|
|
47
47
|
weight: S.REGULAR,
|
|
48
|
-
type: c ?
|
|
48
|
+
type: c ? d.SECONDARY : d.PRIMARY,
|
|
49
49
|
children: r
|
|
50
50
|
}
|
|
51
51
|
),
|
|
@@ -55,16 +55,16 @@ const B = "emptyView__8d10ac5a", D = "container__bf5aea85", g = "icon__f46562aa"
|
|
|
55
55
|
{
|
|
56
56
|
size: T[o],
|
|
57
57
|
weight: S.REGULAR,
|
|
58
|
-
type:
|
|
58
|
+
type: d.SECONDARY,
|
|
59
59
|
children: m
|
|
60
60
|
}
|
|
61
61
|
)
|
|
62
62
|
] })
|
|
63
63
|
] })
|
|
64
64
|
] }),
|
|
65
|
-
|
|
65
|
+
E && /* @__PURE__ */ s(x, { children: [
|
|
66
66
|
/* @__PURE__ */ e(n, { size: z[o] }),
|
|
67
|
-
/* @__PURE__ */ e("div", { className: t.buttons, children:
|
|
67
|
+
/* @__PURE__ */ e("div", { className: t.buttons, children: E })
|
|
68
68
|
] })
|
|
69
69
|
]
|
|
70
70
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
2
|
import N, { useRef as y } from "react";
|
|
3
3
|
import { z as U, c as j } from "../../chunks/vendor-z35N2Tap.js";
|
|
4
|
-
const z = "
|
|
4
|
+
const z = "expandAnimation__098b8168", F = {
|
|
5
5
|
expandAnimation: z
|
|
6
6
|
}, I = 300, L = N.forwardRef(
|
|
7
7
|
({
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as n } from "react";
|
|
3
|
+
import { F as s } from "../../chunks/vendor-z35N2Tap.js";
|
|
4
|
+
const F = ({ focusTrapOptions: e, ...i }) => {
|
|
5
|
+
const u = n(!1);
|
|
6
|
+
return /* @__PURE__ */ l(
|
|
7
|
+
s,
|
|
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
|
+
F 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
|
e.forwardRef(function({ children: o, ...r }, t) {
|
|
8
|
-
return /* @__PURE__ */ i("div", { ...r, "data-tx": "0.
|
|
8
|
+
return /* @__PURE__ */ i("div", { ...r, "data-tx": "0.33.0", ref: t, 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-z35N2Tap.js";
|
|
6
|
-
import { s as c } from "../../../chunks/Footer.module-
|
|
6
|
+
import { s as c } from "../../../chunks/Footer.module-cwVzdGju.js";
|
|
7
7
|
const f = Object.assign(
|
|
8
8
|
s.forwardRef(function({ children: o, className: r, ...t }, e) {
|
|
9
9
|
return /* @__PURE__ */ i("div", { className: p(c.footerDescription, r), ...t, 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-z35N2Tap.js";
|
|
4
|
-
import { s as n } from "../../../chunks/Footer.module-
|
|
4
|
+
import { s as n } from "../../../chunks/Footer.module-cwVzdGju.js";
|
|
5
5
|
const p = 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-z35N2Tap.js";
|
|
4
|
-
import { s as p } from "../../../chunks/Footer.module-
|
|
4
|
+
import { s as p } from "../../../chunks/Footer.module-cwVzdGju.js";
|
|
5
5
|
const a = i.forwardRef(
|
|
6
6
|
({ children: o, className: r, ...s }, t) => /* @__PURE__ */ e("div", { className: m(p.footerDescriptionControls, r), ...s, ref: t, 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-z35N2Tap.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__2108a251", W = "sm__adbff320", G = "md__1362e114", M = "lg__8c555fdd", P = "active__a6dceb30", y = "disabled__4024fd08", U = "error__19c8584a", j = "warning__f4c2ed1d", z = "filled__c7b8e11e", e = {
|
|
10
10
|
formField: S,
|
|
11
11
|
sm: W,
|
|
12
12
|
md: G,
|
|
13
13
|
lg: M,
|
|
14
|
-
default: "
|
|
14
|
+
default: "default__0becb556",
|
|
15
15
|
active: P,
|
|
16
16
|
disabled: y,
|
|
17
17
|
error: U,
|
|
@@ -27,22 +27,22 @@ const S = "formField__94ffe16d", W = "sm__cd879807", G = "md__86f475a9", M = "lg
|
|
|
27
27
|
children: p,
|
|
28
28
|
className: F,
|
|
29
29
|
style: g,
|
|
30
|
-
size:
|
|
30
|
+
size: s = w.LG,
|
|
31
31
|
status: r = o.DEFAULT,
|
|
32
32
|
active: a = !1,
|
|
33
33
|
...b
|
|
34
34
|
}, u) => {
|
|
35
|
-
const [
|
|
35
|
+
const [m, x] = t(), [f, T] = t(), [i, E] = t(_), [l, N] = t(_), [c, 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: m,
|
|
40
|
+
labelId: f,
|
|
41
41
|
postfixWidth: i,
|
|
42
42
|
prefixWidth: l,
|
|
43
|
-
filled:
|
|
44
|
-
focused:
|
|
45
|
-
active: a ||
|
|
43
|
+
filled: c,
|
|
44
|
+
focused: d,
|
|
45
|
+
active: a || d,
|
|
46
46
|
setTargetId: x,
|
|
47
47
|
setLabelId: T,
|
|
48
48
|
setPostfixWidth: E,
|
|
@@ -50,22 +50,22 @@ const S = "formField__94ffe16d", W = "sm__cd879807", G = "md__86f475a9", M = "lg
|
|
|
50
50
|
setFilled: R,
|
|
51
51
|
setFocused: A
|
|
52
52
|
}),
|
|
53
|
-
[
|
|
53
|
+
[s, r, m, f, i, l, c, d, 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[s],
|
|
61
61
|
B[r],
|
|
62
62
|
{
|
|
63
|
-
[e.filled]:
|
|
64
|
-
[e.active]: a ||
|
|
63
|
+
[e.filled]: c,
|
|
64
|
+
[e.active]: a || d
|
|
65
65
|
},
|
|
66
66
|
F
|
|
67
67
|
),
|
|
68
|
-
"data-tx": "0.
|
|
68
|
+
"data-tx": "0.33.0",
|
|
69
69
|
style: { paddingLeft: l, paddingRight: i, ...g },
|
|
70
70
|
...b,
|
|
71
71
|
ref: u,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import c, { useCallback as i } from "react";
|
|
3
3
|
import { c as f } from "../../../chunks/vendor-z35N2Tap.js";
|
|
4
4
|
import { CrossStrokeSrvIcon16 as s } from "@sberbusiness/icons-next";
|
|
5
5
|
import { ButtonIcon as d } from "../../Button/ButtonIcon.js";
|
|
6
|
-
const p = "
|
|
6
|
+
const p = "formFieldClear__a3e197cb", 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 = i(
|
|
11
11
|
(e) => {
|
|
12
12
|
e.preventDefault(), r == null || r(e);
|
|
13
13
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
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__4399dfe2", u = {
|
|
5
5
|
formFieldCounter: s
|
|
6
6
|
}, f = ({ children: o, ...r }) => {
|
|
7
7
|
const { setWithCounter: e } = n(m);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useState as n } from "react";
|
|
3
|
-
import { c
|
|
4
|
-
import { FormFieldDescriptionContext as
|
|
5
|
-
const l = "
|
|
3
|
+
import { c } from "../../../chunks/vendor-z35N2Tap.js";
|
|
4
|
+
import { FormFieldDescriptionContext as m } from "../FormFieldDescriptionContext.js";
|
|
5
|
+
const l = "formFieldDescription__9d727924", p = "withCounter__5c543a05", 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(
|
|
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-CLHhO8Kh.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
3
|
import { u as S, c as h } from "../../../chunks/vendor-z35N2Tap.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__6223122a", R = "sm__adbff320", v = "md__1362e114", z = "lg__8c555fdd", G = "floating__57d060ae", W = "formFieldLabelText__7ada2d39", j = "disabled__4024fd08", e = {
|
|
9
9
|
formFieldLabel: M,
|
|
10
10
|
sm: R,
|
|
11
11
|
md: v,
|
|
@@ -14,25 +14,25 @@ const M = "formFieldLabel__20be502c", R = "sm__cd879807", v = "md__86f475a9", 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]), x = r ?? (F || L), u = h(
|
|
19
19
|
e.formFieldLabel,
|
|
20
20
|
q[_],
|
|
21
21
|
{
|
|
22
22
|
[e.floating]: x,
|
|
23
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: u, htmlFor: c, style: T, ref: n, children: /* @__PURE__ */ a("span", { className: e.formFieldLabelText, children: i }) });
|
|
36
36
|
}
|
|
37
37
|
);
|
|
38
38
|
w.displayName = "FormFieldLabel";
|
|
@@ -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, m as q, n as p } from "../../../chunks/vendor-z35N2Tap.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-CLHhO8Kh.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__4c8bfd73", X = "formFieldMaskedInputPlaceholder__e48ffa63", Y = "formFieldMaskedInput__caa3000c", 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__061b2fd9",
|
|
12
|
+
"size-md": "size-md__967ea380",
|
|
13
|
+
"size-lg": "size-lg__b7775011",
|
|
14
14
|
formFieldMaskedInput: Y
|
|
15
15
|
}, a = ({
|
|
16
16
|
className: I,
|
|
@@ -23,9 +23,9 @@ const Q = "formFieldMaskedInputWrapper__05caf8a1", X = "formFieldMaskedInputPlac
|
|
|
23
23
|
value: s,
|
|
24
24
|
...M
|
|
25
25
|
}) => {
|
|
26
|
-
const [x,
|
|
26
|
+
const [x, y] = $(""), c = L(!1), { filled: z, focused: b, size: k, status: _ } = N(K);
|
|
27
27
|
O(() => {
|
|
28
|
-
|
|
28
|
+
y((() => {
|
|
29
29
|
let t = [];
|
|
30
30
|
if (s) {
|
|
31
31
|
const { conformedValue: i } = p.conformToMask(s.toString(), o, { guide: !0, placeholderChar: n });
|
|
@@ -60,7 +60,7 @@ const Q = "formFieldMaskedInputWrapper__05caf8a1", X = "formFieldMaskedInputPlac
|
|
|
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
|
-
}, j = () => !
|
|
63
|
+
}, j = () => !z && !b || !s && g ? "" : x;
|
|
64
64
|
return /* @__PURE__ */ B("div", { className: F(u.formFieldMaskedInputWrapper, u[`size-${k}`]), children: [
|
|
65
65
|
/* @__PURE__ */ m(
|
|
66
66
|
"input",
|
|
@@ -3,11 +3,11 @@ import F, { useContext as a, useRef as p, useEffect as P } from "react";
|
|
|
3
3
|
import { c as R } from "../../../chunks/vendor-z35N2Tap.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__263f1412", b = {
|
|
7
7
|
formFieldPostfix: N
|
|
8
8
|
}, g = F.forwardRef(
|
|
9
9
|
({ children: n, className: c, ...m }, t) => {
|
|
10
|
-
const { setPostfixWidth: o } = a(_), s = p(),
|
|
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(() => {
|
|
@@ -21,7 +21,7 @@ const N = "formFieldPostfix__d963d28e", b = {
|
|
|
21
21
|
return r.observe(e), () => {
|
|
22
22
|
r.disconnect(), o(w);
|
|
23
23
|
};
|
|
24
|
-
}, [o]), /* @__PURE__ */ u("span", { className:
|
|
24
|
+
}, [o]), /* @__PURE__ */ u("span", { className: l, ...m, ref: d, children: n });
|
|
25
25
|
}
|
|
26
26
|
);
|
|
27
27
|
g.displayName = "FormFieldPostfix";
|
|
@@ -2,12 +2,12 @@ import { jsx as u } from "react/jsx-runtime";
|
|
|
2
2
|
import F, { useContext as a, useRef as p, useEffect as P } from "react";
|
|
3
3
|
import { c as R } from "../../../chunks/vendor-z35N2Tap.js";
|
|
4
4
|
import { FormFieldContext as _ } from "../FormFieldContext.js";
|
|
5
|
-
import { TARGET_PADDING_X_DEFAULT as
|
|
6
|
-
const
|
|
7
|
-
formFieldPrefix:
|
|
5
|
+
import { TARGET_PADDING_X_DEFAULT as b } from "../consts.js";
|
|
6
|
+
const w = "formFieldPrefix__2dab2148", N = {
|
|
7
|
+
formFieldPrefix: w
|
|
8
8
|
}, g = F.forwardRef(
|
|
9
9
|
({ children: n, className: c, ...m }, r) => {
|
|
10
|
-
const { setPrefixWidth: t } = a(_), o = p(), l = R(
|
|
10
|
+
const { setPrefixWidth: t } = a(_), o = p(), l = R(N.formFieldPrefix, c), d = (e) => {
|
|
11
11
|
o.current = e, typeof r == "function" ? r(e) : r && (r.current = e);
|
|
12
12
|
};
|
|
13
13
|
return P(() => {
|
|
@@ -19,7 +19,7 @@ const N = "formFieldPrefix__96da0376", b = {
|
|
|
19
19
|
t((f) => f !== i ? i : f);
|
|
20
20
|
});
|
|
21
21
|
return s.observe(e), () => {
|
|
22
|
-
s.disconnect(), t(
|
|
22
|
+
s.disconnect(), t(b);
|
|
23
23
|
};
|
|
24
24
|
}, [t]), /* @__PURE__ */ u("span", { className: l, ...m, ref: d, children: n });
|
|
25
25
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as _ } from "react/jsx-runtime";
|
|
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-z35N2Tap.js";
|
|
4
4
|
import { FormFieldContext as L } from "../FormFieldContext.js";
|
|
5
|
-
import { EFormFieldStatus as
|
|
5
|
+
import { EFormFieldStatus as l } from "../enums.js";
|
|
6
6
|
import { createSizeToClassNameMap as W } from "../../../utils/classNameMaps.js";
|
|
7
|
-
const z = "
|
|
7
|
+
const z = "formFieldTarget__0e3daa0d", M = "sm__adbff320", R = "md__1362e114", j = "lg__8c555fdd", k = "placeholder__95c3d3fb", q = "disabled__4024fd08", w = "placeholderWrapper__c7318270", B = "active__a6dceb30", e = {
|
|
8
8
|
formFieldTarget: z,
|
|
9
9
|
sm: M,
|
|
10
10
|
md: R,
|
|
@@ -13,42 +13,42 @@ const z = "formFieldTarget__fb3ecb20", M = "sm__cd879807", R = "md__86f475a9", j
|
|
|
13
13
|
disabled: q,
|
|
14
14
|
placeholderWrapper: w,
|
|
15
15
|
active: B
|
|
16
|
-
}, G = W(e), H =
|
|
16
|
+
}, G = W(e), H = b.forwardRef(
|
|
17
17
|
({ children: o, id: c, className: T, placeholder: p, onFocus: a, onBlur: t, ...D }, I) => {
|
|
18
|
-
const { size: u, status: s, active: v, labelId: x, setFilled: f, setFocused:
|
|
19
|
-
[e.disabled]: s ===
|
|
20
|
-
[e.placeholder]: !!p && !
|
|
18
|
+
const { size: u, status: s, active: v, labelId: x, setFilled: f, setFocused: d, setTargetId: n } = S(L), i = g(() => c === void 0 ? y("target_") : c, [c]), r = g(() => b.Children.toArray(o).length !== 0, [o]), E = A(e.formFieldTarget, G[u], T, {
|
|
19
|
+
[e.disabled]: s === l.DISABLED,
|
|
20
|
+
[e.placeholder]: !!p && !r && s !== l.DISABLED,
|
|
21
21
|
[e.active]: v
|
|
22
22
|
});
|
|
23
23
|
h(() => {
|
|
24
24
|
n(i);
|
|
25
25
|
}, [i, n]), h(() => {
|
|
26
|
-
f(
|
|
27
|
-
}, [
|
|
26
|
+
f(r);
|
|
27
|
+
}, [r, f]);
|
|
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__ */ _(
|
|
40
40
|
"div",
|
|
41
41
|
{
|
|
42
42
|
...D,
|
|
43
43
|
id: i,
|
|
44
44
|
className: E,
|
|
45
|
-
tabIndex: s ===
|
|
45
|
+
tabIndex: s === l.DISABLED ? -1 : 0,
|
|
46
46
|
"aria-labelledby": x,
|
|
47
|
-
"aria-disabled": s ===
|
|
47
|
+
"aria-disabled": s === l.DISABLED,
|
|
48
48
|
onBlur: N,
|
|
49
49
|
onFocus: C,
|
|
50
50
|
ref: I,
|
|
51
|
-
children:
|
|
51
|
+
children: r ? o : /* @__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__52c0ec32", G = "sm__adbff320", H = "md__1362e114", J = "lg__8c555fdd", u = {
|
|
9
9
|
formFieldTextarea: w,
|
|
10
10
|
sm: G,
|
|
11
11
|
md: H,
|
|
12
12
|
lg: J
|
|
13
13
|
}, K = R(u), O = M.forwardRef(
|
|
14
|
-
({ id:
|
|
15
|
-
const { size:
|
|
14
|
+
({ id: d, className: p, value: s, defaultValue: F, onFocus: r, onBlur: l, onAnimationStart: m, onChange: i, ..._ }, N) => {
|
|
15
|
+
const { size: g, status: h, setFocused: o, setTargetId: T, setFilled: c } = n(W), f = C(() => d === void 0 ? D("textarea_") : d, [d]), y = L(u.formFieldTextarea, K[g], p), t = a(
|
|
16
16
|
(e) => {
|
|
17
|
-
|
|
17
|
+
c(q(e));
|
|
18
18
|
},
|
|
19
|
-
[
|
|
19
|
+
[c]
|
|
20
20
|
);
|
|
21
21
|
x(() => {
|
|
22
22
|
T(f);
|
|
@@ -25,7 +25,7 @@ const w = "formFieldTextarea__b08a00b7", G = "sm__cd879807", H = "md__86f475a9",
|
|
|
25
25
|
}, []), x(() => {
|
|
26
26
|
s !== void 0 && t(s);
|
|
27
27
|
}, [s, t]);
|
|
28
|
-
const
|
|
28
|
+
const b = a(
|
|
29
29
|
(e) => {
|
|
30
30
|
t(e.currentTarget.value), o(!0), r == null || r(e);
|
|
31
31
|
},
|
|
@@ -37,9 +37,9 @@ const w = "formFieldTextarea__b08a00b7", G = "sm__cd879807", H = "md__86f475a9",
|
|
|
37
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__b08a00b7", G = "sm__cd879807", H = "md__86f475a9",
|
|
|
51
51
|
{
|
|
52
52
|
..._,
|
|
53
53
|
id: f,
|
|
54
|
-
className:
|
|
54
|
+
className: y,
|
|
55
55
|
value: s,
|
|
56
56
|
defaultValue: F,
|
|
57
|
-
disabled:
|
|
58
|
-
onFocus:
|
|
57
|
+
disabled: h === j.DISABLED,
|
|
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-CLHhO8Kh.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";
|