@sberbusiness/triplex-next 0.32.0 → 0.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +35 -32
- package/chunks/{AlertProcessSpoiler-DW0BhZ40.js → AlertProcessSpoiler-BXa1yThy.js} +10 -10
- package/chunks/{CalendarViewItem-DnsWMQ6f.js → CalendarViewItem-CcneNgUN.js} +23 -23
- package/chunks/Card.module-B95wvDgf.js +18 -0
- package/chunks/CheckboxTreeExtended.module-DieUohY2.js +15 -0
- package/chunks/Chip-CwUtKklT.js +85 -0
- package/chunks/Confirm.module-DAri1spU.js +15 -0
- package/chunks/{DropdownListItem-Bp1g9j21.js → DropdownListItem-Cspd56Yl.js} +18 -18
- package/chunks/DropdownMobile.module-DrD6ibvE.js +23 -0
- package/chunks/Footer.module-DcYb0T1i.js +9 -0
- package/chunks/{FormFieldInput-DZ9wvF_L.js → FormFieldInput-D3Ncfs2O.js} +11 -11
- package/chunks/HeaderLayoutSidebar.module-C3C0sKOR.js +9 -0
- package/chunks/HeaderTabs.module-BkwLC92-.js +9 -0
- package/chunks/{HeaderTitle.module-Bjd_PeFL.js → HeaderTitle.module-CgvvJQ0i.js} +2 -2
- package/chunks/ImageGalleryExtendedMain.module-DsxpDSCZ.js +17 -0
- package/chunks/{ImageGalleryExtendedThumb-A47Rfe5O.js → ImageGalleryExtendedThumb-Dwh72nwh.js} +8 -8
- package/chunks/IslandAccordion.module-DaY9vVJp.js +25 -0
- package/chunks/IslandWidgetFooter.module-CEfWuouj.js +9 -0
- package/chunks/IslandWidgetHeader.module-CxuzaM--.js +13 -0
- package/chunks/{LightBoxContent-9n7KZhyO.js → LightBoxContent-CJtTSiys.js} +6 -6
- package/chunks/LightBoxControls.module-DWLPCWBc.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-oYZl6d26.js +9 -0
- package/chunks/{ListItemControlsButton-CvLzuMWL.js → ListItemControlsButton-BwKD73pC.js} +11 -11
- package/chunks/ListItemTail.module-Bj8zic0V.js +12 -0
- package/chunks/ListMasterFooter.module-BFDBK4_z.js +10 -0
- package/chunks/ModalWindow.module-CpZnXDzI.js +17 -0
- package/chunks/Notification.module-CgMv6vKH.js +20 -0
- package/chunks/Overlay.module-CW1lqxQV.js +18 -0
- package/chunks/Page.module-B9JECpGI.js +11 -0
- package/chunks/SMSField.module-VqYW2mTS.js +16 -0
- package/chunks/SliderExtendedMarks.module-DadrWVGM.js +15 -0
- package/chunks/{SliderExtendedRail-BAv_g4xj.js → SliderExtendedRail-BDQN7rWF.js} +9 -9
- package/chunks/StatusTracker.module-DWmAmjm2.js +24 -0
- package/chunks/{StepperStepArrowBorder-zBMxIbHq.js → StepperStepArrowBorder-BMResef_.js} +10 -10
- package/chunks/{SuggestFieldMobileDropdownHint-DoCjNfsA.js → SuggestFieldMobileDropdownHint-9Q2UeJdi.js} +2 -2
- package/chunks/TableFooter.module-Dftom-s2.js +14 -0
- package/chunks/TabsExtended.module-DR0KZ8sI.js +16 -0
- package/chunks/TabsLine.module-D8wvke8p.js +21 -0
- package/chunks/TooltipDesktop.module-Chw47OdI.js +19 -0
- package/chunks/TreeView.module-DlD_4rrF.js +9 -0
- package/chunks/{UploadZoneInput-CZ0-33sV.js → UploadZoneInput-DyTdTOhb.js} +2 -2
- package/chunks/{constants-8_Umj6ax.js → constants-CEkl1AbB.js} +14 -14
- package/chunks/{utils-gmsD_32w.js → utils-B1xQI_Pq.js} +5 -5
- package/chunks/utils-B8AZrFu8.js +28 -0
- package/chunks/utils-BHumxyiH.js +73 -0
- package/chunks/utils-C0t0OqOb.js +24 -0
- package/components/Alert/AlertContext/AlertContext.js +10 -10
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +2 -2
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +7 -7
- package/components/Badge/Badge.js +9 -9
- package/components/Badge/BadgeDot.js +4 -4
- package/components/Badge/components/BadgeContent.js +11 -11
- package/components/Badge/components/BadgePostfix.js +4 -4
- package/components/Badge/components/BadgePrefix.js +4 -4
- 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 +15 -15
- package/components/Button/ButtonDropdownExtended.js +7 -7
- package/components/Button/ButtonIcon.js +13 -13
- package/components/Calendar/Calendar.js +2 -2
- package/components/Calendar/components/CalendarControls.js +1 -1
- 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 +7 -7
- 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 +11 -11
- package/components/Checkbox/CheckboxXGroup.js +14 -14
- package/components/Checkbox/CheckboxYGroup.js +3 -3
- 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 +5 -5
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +6 -6
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +2 -2
- 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 +48 -44
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +9 -9
- package/components/Col/Col.js +144 -144
- package/components/CollapsibleTree/CollapsibleTree.js +1 -1
- package/components/CollapsibleTree/components/CollapsibleTreeLeafContent.js +5 -5
- package/components/CollapsibleTree/components/CollapsibleTreeLeafNode.js +1 -1
- package/components/CollapsibleTree/components/CollapsibleTreeNodeHeader.js +5 -5
- package/components/CollapsibleTreeExtended/components/CollapsibleTreeExtendedNode.js +11 -11
- package/components/Confirm/Confirm.js +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +1 -1
- package/components/Confirm/components/ConfirmContent.js +1 -1
- package/components/Confirm/components/ConfirmContentTitle.js +1 -1
- package/components/Confirm/components/ConfirmControls.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +4 -4
- package/components/DateRange/DateRange.js +13 -13
- 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 +21 -21
- 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 +13 -13
- package/components/ExpandAnimation/ExpandAnimation.js +7 -7
- 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 +11 -11
- package/components/FormField/components/FormFieldClear.js +6 -6
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +10 -10
- package/components/FormField/components/FormFieldMaskedInput.js +18 -18
- package/components/FormField/components/FormFieldPostfix.js +3 -3
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +7 -7
- package/components/FormField/components/FormFieldTextarea.js +25 -25
- package/components/FormField/components/index.js +1 -1
- package/components/FormField/index.js +1 -1
- package/components/Gap/Gap.js +8 -8
- 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 +8 -8
- package/components/IconWrapper/IconWrapper.js +5 -5
- package/components/ImageGallery/ImageGallery.js +10 -9
- package/components/ImageGalleryExtended/ImageGalleryExtended.js +2 -2
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedArrow.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedDots.js +9 -9
- 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 +3 -3
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +11 -11
- 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 +6 -6
- package/components/LightBox/LightBox.js +49 -48
- 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 +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +18 -18
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +10 -10
- package/components/Link/Link.js +19 -19
- package/components/List/List.js +9 -8
- package/components/List/components/ListEmptyState.js +5 -5
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +11 -11
- package/components/List/components/ListItemControls.js +4 -4
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +8 -8
- package/components/List/components/ListItemSelectable.js +6 -6
- package/components/List/components/ListItemTable.js +5 -5
- package/components/List/components/ListItemTailLeft.js +6 -14
- 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 +10 -10
- 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 +7 -7
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +5 -5
- package/components/Loader/LoaderSmall/LoaderSmall.js +9 -9
- package/components/LoaderScreen/LoaderScreen.js +11 -11
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +8 -8
- 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 +1 -1
- package/components/ModalWindow/components/ModalWindowClose.js +3 -3
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +1 -1
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MonthYearRange/MonthYearRange.js +13 -13
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +11 -11
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +3 -3
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- package/components/Notification/Notification.js +35 -36
- package/components/Notification/NotificationGrouped.js +14 -9
- package/components/Notification/components/NotificationBody.js +20 -16
- 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 +5 -5
- package/components/OrderedList/OrderedListItem.js +5 -5
- package/components/Overlay/Overlay.js +54 -54
- package/components/Overlay/OverlayBase.js +26 -22
- 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 +11 -11
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +8 -8
- package/components/Pagination/components/PaginationPageEllipsis.js +1 -1
- package/components/Pagination/components/PaginationSelect.js +4 -4
- package/components/Radio/Radio.js +18 -18
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +4 -4
- package/components/Row/Row.js +13 -13
- 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 +11 -11
- package/components/SegmentedControl/SegmentedControlSegment.js +11 -11
- package/components/SelectExtendedField/SelectExtendedField.js +7 -7
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +25 -25
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +6 -6
- 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 +1 -1
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +27 -27
- package/components/SmallInput/SmallInput.js +4 -4
- package/components/Spoiler/Spoiler.js +22 -22
- 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 +13 -13
- package/components/Stepper/Stepper.js +8 -7
- package/components/Stepper/StepperExtended.js +5 -5
- 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 +2 -2
- 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 +16 -16
- package/components/Table/ChipPanel.js +9 -9
- package/components/Table/ChipPanelLinks.js +4 -4
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +19 -19
- 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 +11 -11
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +4 -4
- 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 +11 -11
- 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 +37 -37
- package/components/TabsLine/components/TabsLineMobile.js +3 -3
- package/components/Tag/Tag.js +20 -20
- package/components/TagColor/TagColor.js +12 -12
- package/components/TagGroup/TagGroup.js +7 -7
- 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 +11 -11
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +1 -1
- package/components/Tooltip/components/mobile/TooltipMobile.js +9 -9
- package/components/TopOverlay/TopOverlay.js +51 -51
- 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 +12 -12
- package/components/Typography/CodeText.js +6 -6
- package/components/Typography/Text.js +28 -28
- package/components/Typography/Title.js +29 -29
- package/components/Typography/constants.js +1 -1
- package/components/Typography/enums.js +1 -1
- package/components/UnorderedList/UnorderedList.js +9 -9
- 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 +104 -155
- package/index.js +397 -393
- package/package.json +5 -1
- package/styles/triplex-next.css +557 -556
- 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
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import r from "react";
|
|
3
|
-
import { c as
|
|
4
|
-
const
|
|
5
|
-
dropdownMobileInput:
|
|
3
|
+
import { c as e } from "../../../chunks/vendor-z35N2Tap.js";
|
|
4
|
+
const d = "dropdownMobileInput__3eeb18c3", i = {
|
|
5
|
+
dropdownMobileInput: d
|
|
6
6
|
}, s = r.forwardRef(
|
|
7
|
-
({ className: o, ...p }, n) => /* @__PURE__ */ t("input", { className:
|
|
7
|
+
({ className: o, ...p }, n) => /* @__PURE__ */ t("input", { className: e(i.dropdownMobileInput, o), ...p, ref: n })
|
|
8
8
|
);
|
|
9
9
|
s.displayName = "DropdownMobileInput";
|
|
10
10
|
export {
|
|
@@ -6,7 +6,7 @@ import { ELoaderSmallTheme as b } from "../../Loader/LoaderSmall/enum.js";
|
|
|
6
6
|
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
7
7
|
import { EComponentSize as w } from "../../../enums/EComponentSize.js";
|
|
8
8
|
import { DropdownMobileListItem as M } from "./DropdownMobileListItem.js";
|
|
9
|
-
import { s as r } from "../../../chunks/DropdownMobile.module-
|
|
9
|
+
import { s as r } from "../../../chunks/DropdownMobile.module-DrD6ibvE.js";
|
|
10
10
|
const u = p.forwardRef(
|
|
11
11
|
({ children: e, className: i, loading: t, ...m }, s) => {
|
|
12
12
|
const [d] = n(() => c()), a = () => /* @__PURE__ */ o(M, { id: d, className: r.dropdownMobileListLoader, children: /* @__PURE__ */ o(L, { theme: b.BRAND, size: w.MD }) });
|
|
@@ -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-DrD6ibvE.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-DrD6ibvE.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__8caf8ae8", r = {
|
|
5
5
|
dropdownMobileMaskedInput: t
|
|
6
|
-
}, n = ({ className: e, ...s }) => /* @__PURE__ */
|
|
6
|
+
}, n = ({ className: e, ...s }) => /* @__PURE__ */ p(o, { className: d(r.dropdownMobileMaskedInput, e), ...s });
|
|
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__794edba5", r = "oneLine__42c87b55", 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.34.0",
|
|
17
17
|
ref: o,
|
|
18
|
-
children:
|
|
18
|
+
children: i
|
|
19
19
|
}
|
|
20
20
|
);
|
|
21
21
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { EEmptyViewSize as i } from "./enums.js";
|
|
2
|
-
import { jsxs as s, jsx as e, Fragment as
|
|
3
|
-
import
|
|
2
|
+
import { jsxs as s, jsx as e, Fragment as N } from "react/jsx-runtime";
|
|
3
|
+
import f 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__c6ba2a5b", D = "container__62e38134", g = "icon__0a9b6d78", I = "textBlock__a71d2d6b", t = {
|
|
10
10
|
emptyView: B,
|
|
11
11
|
container: D,
|
|
12
12
|
icon: g,
|
|
@@ -23,15 +23,15 @@ const B = "emptyView__8d10ac5a", D = "container__bf5aea85", g = "icon__f46562aa"
|
|
|
23
23
|
}, z = {
|
|
24
24
|
[i.SM]: 16,
|
|
25
25
|
[i.MD]: 24
|
|
26
|
-
}, k =
|
|
27
|
-
({ className:
|
|
26
|
+
}, k = f.forwardRef(
|
|
27
|
+
({ className: w, size: o, icon: a, title: c, description: r, caption: m, buttons: E, ...y }, x) => {
|
|
28
28
|
const l = !!(r || m);
|
|
29
29
|
return /* @__PURE__ */ s(
|
|
30
30
|
"div",
|
|
31
31
|
{
|
|
32
|
-
className: A(t.emptyView, V[o], { [t.hasTitle]: !!c },
|
|
33
|
-
ref:
|
|
34
|
-
...
|
|
32
|
+
className: A(t.emptyView, V[o], { [t.hasTitle]: !!c }, w),
|
|
33
|
+
ref: x,
|
|
34
|
+
...y,
|
|
35
35
|
children: [
|
|
36
36
|
/* @__PURE__ */ s("div", { className: t.container, children: [
|
|
37
37
|
a && /* @__PURE__ */ e("div", { className: t.icon, children: a }),
|
|
@@ -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(N, { 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__2dbaf9e6", F = {
|
|
5
5
|
expandAnimation: z
|
|
6
6
|
}, I = 300, L = N.forwardRef(
|
|
7
7
|
({
|
|
@@ -10,7 +10,7 @@ const z = "expandAnimation__9b22944f", F = {
|
|
|
10
10
|
expanded: v,
|
|
11
11
|
animationTime: f = I,
|
|
12
12
|
style: R,
|
|
13
|
-
onStart:
|
|
13
|
+
onStart: l,
|
|
14
14
|
onEnd: h,
|
|
15
15
|
transitionProps: e,
|
|
16
16
|
...w
|
|
@@ -21,27 +21,27 @@ const z = "expandAnimation__9b22944f", F = {
|
|
|
21
21
|
exiting: { height: 0, overflow: "hidden" },
|
|
22
22
|
exited: { height: 0, overflow: "hidden", visibility: "hidden" },
|
|
23
23
|
unmounted: {}
|
|
24
|
-
}),
|
|
24
|
+
}), d = y(null), H = (c) => {
|
|
25
25
|
var u;
|
|
26
|
-
|
|
26
|
+
d.current && (m.current.entering.height = d.current.scrollHeight), l == null || l(), (u = e == null ? void 0 : e.onEnter) == null || u.call(e, c);
|
|
27
27
|
}, T = (c) => {
|
|
28
28
|
var u;
|
|
29
29
|
h == null || h(), (u = e == null ? void 0 : e.onEntered) == null || u.call(e, c);
|
|
30
30
|
}, _ = () => {
|
|
31
31
|
var c;
|
|
32
|
-
|
|
32
|
+
d.current && (d.current.style.height = d.current.scrollHeight + "px", d.current.scrollHeight), l == null || l(), (c = e == null ? void 0 : e.onExit) == null || c.call(e);
|
|
33
33
|
}, b = () => {
|
|
34
34
|
var c;
|
|
35
35
|
h == null || h(), (c = e == null ? void 0 : e.onExited) == null || c.call(e);
|
|
36
36
|
}, D = (c) => {
|
|
37
|
-
|
|
37
|
+
d.current = c, typeof x == "function" ? x(c) : x && (x.current = c);
|
|
38
38
|
};
|
|
39
39
|
return /* @__PURE__ */ g(
|
|
40
40
|
U,
|
|
41
41
|
{
|
|
42
42
|
in: v,
|
|
43
43
|
timeout: f,
|
|
44
|
-
nodeRef:
|
|
44
|
+
nodeRef: d,
|
|
45
45
|
...e,
|
|
46
46
|
onEnter: H,
|
|
47
47
|
onEntered: T,
|
|
@@ -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.34.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-DcYb0T1i.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-DcYb0T1i.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-DcYb0T1i.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__f470e793", W = "sm__f4d3088f", G = "md__fcdae70d", M = "lg__1d2a27b8", P = "active__11bf17ab", y = "disabled__45c3fdbc", U = "error__6903af3f", j = "warning__6696982a", z = "filled__f09c2661", e = {
|
|
10
10
|
formField: S,
|
|
11
11
|
sm: W,
|
|
12
12
|
md: G,
|
|
13
13
|
lg: M,
|
|
14
|
-
default: "
|
|
14
|
+
default: "default__58649be4",
|
|
15
15
|
active: P,
|
|
16
16
|
disabled: y,
|
|
17
17
|
error: U,
|
|
@@ -32,15 +32,15 @@ const S = "formField__94ffe16d", W = "sm__cd879807", G = "md__86f475a9", M = "lg
|
|
|
32
32
|
active: a = !1,
|
|
33
33
|
...b
|
|
34
34
|
}, u) => {
|
|
35
|
-
const [
|
|
35
|
+
const [m, x] = t(), [c, T] = t(), [i, E] = t(_), [l, N] = t(_), [f, R] = t(!1), [s, A] = t(!1), D = L(
|
|
36
36
|
() => ({
|
|
37
37
|
size: d,
|
|
38
38
|
status: r,
|
|
39
|
-
targetId:
|
|
40
|
-
labelId:
|
|
39
|
+
targetId: m,
|
|
40
|
+
labelId: c,
|
|
41
41
|
postfixWidth: i,
|
|
42
42
|
prefixWidth: l,
|
|
43
|
-
filled:
|
|
43
|
+
filled: f,
|
|
44
44
|
focused: s,
|
|
45
45
|
active: a || s,
|
|
46
46
|
setTargetId: x,
|
|
@@ -50,9 +50,9 @@ const S = "formField__94ffe16d", W = "sm__cd879807", G = "md__86f475a9", M = "lg
|
|
|
50
50
|
setFilled: R,
|
|
51
51
|
setFocused: A
|
|
52
52
|
}),
|
|
53
|
-
[d, r,
|
|
53
|
+
[d, r, m, c, i, l, f, s, a]
|
|
54
54
|
);
|
|
55
|
-
return /* @__PURE__ */
|
|
55
|
+
return /* @__PURE__ */ n(v.Provider, { value: D, children: /* @__PURE__ */ n(
|
|
56
56
|
"div",
|
|
57
57
|
{
|
|
58
58
|
className: h(
|
|
@@ -60,12 +60,12 @@ const S = "formField__94ffe16d", W = "sm__cd879807", G = "md__86f475a9", M = "lg
|
|
|
60
60
|
O[d],
|
|
61
61
|
B[r],
|
|
62
62
|
{
|
|
63
|
-
[e.filled]:
|
|
63
|
+
[e.filled]: f,
|
|
64
64
|
[e.active]: a || s
|
|
65
65
|
},
|
|
66
66
|
F
|
|
67
67
|
),
|
|
68
|
-
"data-tx": "0.
|
|
68
|
+
"data-tx": "0.34.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
|
|
3
|
-
import { c as
|
|
2
|
+
import c, { useCallback as f } from "react";
|
|
3
|
+
import { c as i } 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__c788f6ac", 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 = f(
|
|
11
11
|
(e) => {
|
|
12
12
|
e.preventDefault(), r == null || r(e);
|
|
13
13
|
},
|
|
@@ -17,7 +17,7 @@ const p = "formFieldClear__45549a58", C = {
|
|
|
17
17
|
d,
|
|
18
18
|
{
|
|
19
19
|
...t,
|
|
20
|
-
className:
|
|
20
|
+
className: i(C.formFieldClear, a),
|
|
21
21
|
onMouseDown: o,
|
|
22
22
|
ref: m,
|
|
23
23
|
children: /* @__PURE__ */ l(s, { paletteIndex: 5 })
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as n, useEffect as i } from "react";
|
|
3
3
|
import { FormFieldDescriptionContext as m } from "../FormFieldDescriptionContext.js";
|
|
4
|
-
const s = "
|
|
4
|
+
const s = "formFieldCounter__8347c74c", u = {
|
|
5
5
|
formFieldCounter: s
|
|
6
|
-
},
|
|
6
|
+
}, l = ({ children: o, ...r }) => {
|
|
7
7
|
const { setWithCounter: e } = n(m);
|
|
8
8
|
return i(() => (e(!0), () => e(!1)), []), /* @__PURE__ */ t("div", { className: u.formFieldCounter, ...r, children: o });
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
l.displayName = "FormFieldCounter";
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
l as FormFieldCounter
|
|
13
13
|
};
|
|
14
14
|
//# sourceMappingURL=FormFieldCounter.js.map
|
|
@@ -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__db2c150b", p = "withCounter__839e3346", i = {
|
|
6
6
|
formFieldDescription: l,
|
|
7
7
|
withCounter: p
|
|
8
8
|
}, d = ({ children: e, ...r }) => {
|
|
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 }), ...r, children: e }) });
|
|
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-D3Ncfs2O.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__70205aad", R = "sm__f4d3088f", v = "md__fcdae70d", z = "lg__1d2a27b8", G = "floating__a3787d4f", W = "formFieldLabelText__5cd9f5ea", j = "disabled__45c3fdbc", 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: n, size: _, status: b, filled: F, active: L, prefixWidth: g, postfixWidth: p, setLabelId: o } = E(y), l = N(() => t === void 0 ? S("label_") : t, [t]), x =
|
|
17
|
+
({ children: i, id: t, className: d, style: m, floating: f, ...r }, c) => {
|
|
18
|
+
const { targetId: n, size: _, status: b, filled: F, active: L, prefixWidth: g, postfixWidth: p, setLabelId: o } = E(y), l = N(() => t === void 0 ? S("label_") : t, [t]), x = f ?? (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", { ...r, id: l, className: u, htmlFor: n, style: T, ref: c, children: /* @__PURE__ */ a("span", { className: e.formFieldLabelText, children: i }) });
|
|
36
36
|
}
|
|
37
37
|
);
|
|
38
38
|
w.displayName = "FormFieldLabel";
|
|
@@ -2,44 +2,44 @@ 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-D3Ncfs2O.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__7f43621e", X = "formFieldMaskedInputPlaceholder__d6a24260", Y = "formFieldMaskedInput__eb5a99ac", l = {
|
|
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__0869e5a9",
|
|
12
|
+
"size-md": "size-md__fc5f8dff",
|
|
13
|
+
"size-lg": "size-lg__9b78ffa0",
|
|
14
14
|
formFieldMaskedInput: Y
|
|
15
15
|
}, a = ({
|
|
16
16
|
className: I,
|
|
17
|
-
forwardedRef:
|
|
17
|
+
forwardedRef: u,
|
|
18
18
|
mask: o,
|
|
19
19
|
onChange: d,
|
|
20
20
|
placeholder: g,
|
|
21
21
|
placeholderChar: n = "0",
|
|
22
|
-
placeholderMask:
|
|
22
|
+
placeholderMask: f,
|
|
23
23
|
value: s,
|
|
24
24
|
...M
|
|
25
25
|
}) => {
|
|
26
|
-
const [x,
|
|
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 = [];
|
|
30
30
|
if (s) {
|
|
31
31
|
const { conformedValue: i } = p.conformToMask(s.toString(), o, { guide: !0, placeholderChar: n });
|
|
32
32
|
for (let r = 0; r < o.length; r++)
|
|
33
|
-
typeof o[r] == "string" ? t[r] = i[r] : i[r] === n && !s.toString()[r] ? t[r] = (
|
|
34
|
-
} else if (
|
|
35
|
-
t =
|
|
33
|
+
typeof o[r] == "string" ? t[r] = i[r] : i[r] === n && !s.toString()[r] ? t[r] = (f == null ? void 0 : f[r]) || n : t[r] = i[r];
|
|
34
|
+
} else if (f)
|
|
35
|
+
t = f.split("");
|
|
36
36
|
else {
|
|
37
37
|
const { conformedValue: i } = p.conformToMask("", o, { guide: !0, placeholderChar: n });
|
|
38
38
|
t = i.split("");
|
|
39
39
|
}
|
|
40
40
|
return t.join("");
|
|
41
41
|
})());
|
|
42
|
-
}, [s, o, n,
|
|
42
|
+
}, [s, o, n, f]);
|
|
43
43
|
const E = U(
|
|
44
44
|
(e) => {
|
|
45
45
|
const { value: t } = e.target;
|
|
@@ -59,13 +59,13 @@ const Q = "formFieldMaskedInputWrapper__05caf8a1", 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
|
|
63
|
-
}, j = () => !
|
|
64
|
-
return /* @__PURE__ */ B("div", { className: F(
|
|
62
|
+
t && e(t), typeof u == "function" ? u(t) : u && (u.current = t);
|
|
63
|
+
}, j = () => !z && !k || !s && g ? "" : x;
|
|
64
|
+
return /* @__PURE__ */ B("div", { className: F(l.formFieldMaskedInputWrapper, l[`size-${b}`]), children: [
|
|
65
65
|
/* @__PURE__ */ m(
|
|
66
66
|
"input",
|
|
67
67
|
{
|
|
68
|
-
className: F(H.formFieldInput,
|
|
68
|
+
className: F(H.formFieldInput, l.formFieldMaskedInputPlaceholder, I),
|
|
69
69
|
disabled: _ === V.DISABLED,
|
|
70
70
|
placeholder: j(),
|
|
71
71
|
readOnly: !0,
|
|
@@ -77,7 +77,7 @@ const Q = "formFieldMaskedInputWrapper__05caf8a1", X = "formFieldMaskedInputPlac
|
|
|
77
77
|
/* @__PURE__ */ m(
|
|
78
78
|
q,
|
|
79
79
|
{
|
|
80
|
-
className: F(
|
|
80
|
+
className: F(l.formFieldMaskedInput, { [l.error]: !!M.error }, I),
|
|
81
81
|
defaultValue: "",
|
|
82
82
|
disabled: _ === V.DISABLED,
|
|
83
83
|
guide: !1,
|
|
@@ -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__7fe7a7e4", 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__9391b5ce", 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
|
}
|