@sberbusiness/triplex-next 1.14.0 → 1.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/{AlertProcessSpoiler-DALLbh4Y.js → AlertProcessSpoiler-BG_kloAp.js} +14 -14
- package/chunks/{CalendarViewItem-DE57LdxF.js → CalendarViewItem-CQQGgtHA.js} +18 -18
- package/chunks/Card.module-D_9Nt5tA.js +17 -0
- package/chunks/CheckboxTreeExtended.module-D7lKoA-a.js +14 -0
- package/chunks/{Chip-CBP_avtm.js → Chip-D_XuO-fG.js} +19 -19
- package/chunks/Confirm.module-BFd_0tH_.js +15 -0
- package/chunks/{DropdownListItem-C6I9gVRb.js → DropdownListItem-DzngoNVf.js} +8 -8
- package/chunks/DropdownMobile.module-Ct6WVB7d.js +23 -0
- package/chunks/Footer.module-Cz5Pu1VT.js +9 -0
- package/chunks/{FormFieldInput-D2lqfg4n.js → FormFieldInput-TbDWEJtn.js} +14 -14
- package/chunks/HeaderLayoutSidebar.module-Bce5gLLP.js +9 -0
- package/chunks/HeaderTabs.module-Bwx0AJwd.js +9 -0
- package/chunks/{HeaderTitle.module-D2Le-Vmd.js → HeaderTitle.module-DVxCsuq0.js} +2 -2
- package/chunks/IslandAccordion.module-oqHSoL0z.js +25 -0
- package/chunks/IslandWidgetFooter.module-Bp7thdVi.js +9 -0
- package/chunks/IslandWidgetHeader.module-B2SJ3aL2.js +12 -0
- package/chunks/{LightBoxContent-Bi0IQWNc.js → LightBoxContent-CY1Sxlp1.js} +10 -10
- package/chunks/LightBoxControls.module-CXoONiYm.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-BeAPadn5.js +8 -0
- package/chunks/{ListItemControlsButton--Ek4l8AX.js → ListItemControlsButton-C55hc-cr.js} +8 -8
- package/chunks/ListItemTail.module-BlucpMEa.js +12 -0
- package/chunks/ListMasterFooter.module-D93cBp3m.js +10 -0
- package/chunks/ModalWindow.module-AO3qbtIE.js +17 -0
- package/chunks/Notification.module-3pjGHWYU.js +21 -0
- package/chunks/Overlay.module-yINooO_5.js +18 -0
- package/chunks/Page.module-fTNmaZZ6.js +11 -0
- package/chunks/{RightBorderArrow-BqzM7D6K.js → RightBorderArrow-D4dScyRx.js} +11 -11
- package/chunks/SMSField.module-D01Witvu.js +16 -0
- package/chunks/SliderExtendedMarks.module-BLyZ9qYi.js +15 -0
- package/chunks/{SliderExtendedRail-BxflNPkW.js → SliderExtendedRail-Bgz2tkUx.js} +8 -8
- package/chunks/StatusTracker.module-DPlTQG3M.js +24 -0
- package/chunks/SuggestFieldMobileDropdownHint-CaLnhNmM.js +14 -0
- package/chunks/TableFooter.module-zC8u9DwX.js +14 -0
- package/chunks/TabsExtended.module-C65aq0XO.js +16 -0
- package/chunks/TabsLine.module-B3O0egAv.js +21 -0
- package/chunks/TooltipDesktop.module-D1K6FcqB.js +19 -0
- package/chunks/TreeView.module-Vpz40gNk.js +9 -0
- package/chunks/UploadZoneInput-DxG_yQtm.js +33 -0
- package/chunks/constants-DAn1uZaw.js +57 -0
- package/chunks/{utils-DPkyEvqV.js → utils-9tQwQbYj.js} +11 -11
- package/chunks/{utils-Cyb1tecG.js → utils-D7Yx6kDI.js} +4 -4
- package/chunks/utils-DV0NGebi.js +24 -0
- package/chunks/utils-HLMbnICl.js +73 -0
- package/chunks/{vendor-DucOfXwy.js → vendor-Dlne6Znf.js} +5 -5
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +4 -4
- package/components/Alert/AlertContext/AlertContext.js +7 -7
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +10 -10
- package/components/AmountField/AmountField.js +27 -27
- package/components/Avatar/Avatar.js +15 -15
- package/components/Badge/Badge.js +30 -0
- package/components/Badge/BadgeDot.js +15 -0
- package/components/Badge/components/BadgeContent.js +35 -0
- package/components/Badge/components/BadgePostfix.js +14 -0
- package/components/Badge/components/BadgePrefix.js +10 -0
- package/components/Badge/index.js +5 -0
- package/components/Badge/types.js +2 -0
- package/components/Body/Body.js +5 -5
- package/components/Button/Button.js +21 -21
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +2 -2
- package/components/Button/ButtonDropdownExtended.js +8 -8
- package/components/Button/ButtonIcon.js +5 -5
- package/components/Calendar/Calendar.js +21 -21
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +16 -16
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +2 -2
- package/components/Checkbox/Checkbox.js +10 -10
- package/components/Checkbox/CheckboxXGroup.js +15 -15
- package/components/Checkbox/CheckboxYGroup.js +2 -2
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +6 -6
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +4 -4
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +6 -6
- package/components/Chip/ChipSelect/ChipSelect.js +2 -2
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +51 -42
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +7 -7
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +18 -18
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +13 -13
- package/components/Col/Col.js +145 -145
- package/components/CollapsableTree/components/CollapsableTreeNode.js +19 -19
- package/components/Confirm/Confirm.js +2 -2
- package/components/Confirm/components/ConfirmCloseButton.js +2 -2
- package/components/Confirm/components/ConfirmContent.js +2 -2
- package/components/Confirm/components/ConfirmContentSubTitle.js +5 -5
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/DateField/DateField.js +1 -1
- package/components/DateField/DateFieldTarget.js +31 -30
- package/components/DatePickerExtended/DatePickerExtended.js +7 -7
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +5 -5
- package/components/DateRange/DateRange.js +10 -10
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensComponents.js +88 -86
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +92 -90
- package/components/DesignTokens/components/Badge.js +9 -0
- package/components/DesignTokens/components/Dropdown.js +3 -3
- package/components/DesignTokens/components/DropdownMobileList.js +2 -2
- package/components/DesignTokens/components/Typography.js +35 -2
- package/components/DesignTokens/components/index.js +150 -147
- package/components/Divider/Divider.js +23 -23
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +9 -9
- package/components/Dropdown/desktop/DropdownDesktop.js +70 -69
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +35 -35
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +3 -3
- package/components/Ellipsis/Ellipsis.js +13 -13
- package/components/ExpandAnimation/ExpandAnimation.js +12 -12
- package/components/ExpandAnimation/index.js +5 -0
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +2 -2
- package/components/Footer/components/FooterDescriptionContent.js +2 -2
- package/components/Footer/components/FooterDescriptionControls.js +2 -2
- package/components/FormField/FormField.js +79 -75
- package/components/FormField/components/FormFieldClear.js +10 -10
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +14 -14
- package/components/FormField/components/FormFieldMaskedInput.js +16 -16
- package/components/FormField/components/FormFieldPostfix.js +8 -8
- package/components/FormField/components/FormFieldPrefix.js +8 -8
- package/components/FormField/components/FormFieldTarget.js +17 -17
- package/components/FormField/components/FormFieldTextarea.js +14 -14
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +9 -9
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +38 -37
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +4 -4
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +89 -74
- package/components/IslandWidget/IslandWidget.js +68 -37
- package/components/IslandWidget/IslandWidgetContext.js +5 -5
- package/components/IslandWidget/IslandWidgetLayoutContext.js +10 -0
- package/components/IslandWidget/components/IslandWidgetBody.js +7 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +3 -3
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +28 -10
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +5 -5
- package/components/LightBox/LightBox.js +14 -15
- package/components/LightBox/LightBoxContent.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxClose.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxControls.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxNext.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +68 -70
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSideOverlay/index.js +0 -2
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +5 -5
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +7 -7
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/LightBox/index.js +0 -2
- package/components/Link/Link.js +23 -23
- package/components/List/List.js +8 -8
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +3 -3
- package/components/List/components/ListItemControls.js +7 -7
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +9 -9
- package/components/List/components/ListItemLoading.js +2 -2
- package/components/List/components/ListItemSelectable.js +11 -11
- package/components/List/components/ListItemTable.js +9 -9
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +6 -6
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +7 -7
- 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 +8 -8
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +6 -6
- package/components/ListMaster/components/SelectionControls.js +9 -9
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +8 -8
- package/components/Loader/LoaderSmall/LoaderSmall.js +8 -8
- package/components/LoaderScreen/LoaderScreen.js +9 -9
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +15 -15
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +3 -3
- package/components/ModalWindow/components/ModalWindowClose.js +4 -4
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +6 -6
- package/components/ModalWindow/components/ModalWindowViewManager.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +9 -9
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +3 -3
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyContent.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NotificationIcon/NotificationIcon.js +2 -2
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +5 -5
- package/components/OrderedList/OrderedListItem.js +8 -8
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +2 -2
- package/components/Page/components/BodyPage.js +7 -7
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/Pagination.js +4 -4
- package/components/Pagination/components/PaginationExtended.js +3 -3
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +2 -2
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +26 -30
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +15 -15
- package/components/Radio/RadioXGroup.js +14 -14
- package/components/Radio/RadioYGroup.js +5 -5
- package/components/Row/Row.js +4 -4
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +3 -3
- package/components/SMSField/components/SMSFieldRefresh.js +2 -2
- package/components/SMSField/components/SMSFieldSubmit.js +2 -2
- package/components/SMSField/components/SMSFieldTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +6 -6
- package/components/SegmentedControl/SegmentedControlSegment.js +11 -11
- package/components/SelectExtendedField/SelectExtendedField.js +6 -6
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +15 -15
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +22 -22
- package/components/SelectField/SelectField.js +11 -11
- package/components/Skeleton/Skeleton.js +5 -5
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +17 -17
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +2 -2
- package/components/SliderExtended/components/SliderExtendedRail.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +7 -7
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +24 -24
- package/components/SmallInput/SmallInput.js +2 -2
- package/components/Spoiler/Spoiler.js +17 -17
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +6 -6
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +8 -8
- package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
- package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
- package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
- package/components/StatusTracker/components/StatusTrackerSum.js +8 -8
- package/components/StatusTracker/components/StatusTrackerTitle.js +8 -8
- package/components/Step/Step.js +10 -10
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +4 -4
- package/components/Stepper/StepperExtended.js +6 -6
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +3 -3
- package/components/Suggest/Suggest.js +52 -88
- package/components/Suggest/SuggestContext.js +4 -7
- package/components/Suggest/SuggestMobileDropdownContent.js +18 -18
- package/components/Suggest/useSuggest.js +64 -0
- package/components/SuggestField/SuggestField.js +44 -47
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +128 -129
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +5 -5
- package/components/SuggestField/index.js +8 -10
- package/components/SuggestField/mobile/SuggestFieldMobile.js +94 -75
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +26 -26
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +4 -4
- package/components/SuggestField/mobile/index.js +4 -6
- package/components/SwipeableArea/SwipeableArea.js +21 -21
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +16 -16
- package/components/Table/NoColumns.js +4 -4
- package/components/Table/PaginationPanel.js +3 -3
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +8 -8
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +3 -3
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +4 -4
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +3 -3
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +2 -2
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +6 -6
- package/components/Table/TabsLinePanelLinks.js +8 -8
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +21 -21
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +9 -9
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +1 -1
- package/components/Tag/Tag.js +12 -12
- package/components/TagColor/TagColor.js +15 -15
- package/components/TagGroup/TagGroup.js +4 -4
- package/components/TextField/TextField.js +1 -1
- package/components/TextField/TextFieldBase.js +23 -28
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +8 -8
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +2 -2
- package/components/TopOverlay/TopOverlay.js +23 -23
- package/components/TreeView/TreeView.js +2 -2
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +2 -2
- package/components/Typography/Caption.js +41 -43
- package/components/Typography/Text.js +49 -51
- package/components/Typography/Title.js +40 -42
- package/components/Typography/constants.js +6 -0
- package/components/Typography/enums.js +9 -8
- package/components/Typography/index.js +15 -16
- package/components/UnorderedList/UnorderedList.js +5 -5
- package/components/UnorderedList/UnorderedListItem.js +12 -12
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +532 -533
- package/index.d.ts +236 -237
- package/index.js +576 -577
- package/package.json +9 -1
- package/styles/triplex-next.css +546 -534
- package/utils/amountUtils.js +1 -1
- package/chunks/Card.module-D18ujhsr.js +0 -17
- package/chunks/CheckboxTreeExtended.module-BGrgoYFp.js +0 -14
- package/chunks/Confirm.module-Y-2NyRFX.js +0 -15
- package/chunks/DropdownMobile.module-ppF6TvoG.js +0 -23
- package/chunks/Footer.module-BlHDTNCR.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-hEx6xNDd.js +0 -9
- package/chunks/HeaderTabs.module-msmMm_BI.js +0 -9
- package/chunks/IslandAccordion.module-DpgAGmIN.js +0 -25
- package/chunks/IslandWidgetFooter.module-DhoYKy6M.js +0 -9
- package/chunks/IslandWidgetHeader.module-BFXzve-T.js +0 -9
- package/chunks/LightBoxControls.module-DTFEWumP.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CLzUeuQG.js +0 -8
- package/chunks/ListItemTail.module-DrFpbbjw.js +0 -12
- package/chunks/ListMasterFooter.module-CMNUIWxu.js +0 -10
- package/chunks/ModalWindow.module-CMT6Qwhi.js +0 -17
- package/chunks/Notification.module-8g0up3Mn.js +0 -21
- package/chunks/Overlay.module-CJZIns4Y.js +0 -18
- package/chunks/Page.module-Cq-KMJ_J.js +0 -11
- package/chunks/SMSField.module-Dpw_velC.js +0 -16
- package/chunks/SliderExtendedMarks.module-Cwy_TAtg.js +0 -15
- package/chunks/StatusTracker.module-BPaAftS3.js +0 -24
- package/chunks/SuggestFieldMobileDropdownHint-CooicUNx.js +0 -15
- package/chunks/TableFooter.module-BXib8bAF.js +0 -14
- package/chunks/TabsExtended.module-41dIJqTz.js +0 -16
- package/chunks/TabsLine.module-DY1bt47O.js +0 -21
- package/chunks/TooltipDesktop.module-BP9en5Mr.js +0 -19
- package/chunks/TreeView.module-ssEB6Mn6.js +0 -9
- package/chunks/UploadZoneInput--oJn7HTT.js +0 -33
- package/chunks/utils-6FIQkvvy.js +0 -36
- package/chunks/utils-B5Py99ZO.js +0 -73
- package/chunks/utils-BX1E8zy3.js +0 -24
- package/components/LightBox/LightBoxSideOverlay/enums.js +0 -5
- package/components/SuggestField/SuggestFieldTarget.js +0 -70
- package/components/SuggestField/SuggestFieldTargetPostfix.js +0 -28
- package/components/SuggestField/mobile/SuggestFieldMobileTarget.js +0 -30
- package/components/Typography/utils.js +0 -6
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { useState as n, useRef as C, useLayoutEffect as L, useCallback as i, useMemo as O } from "react";
|
|
2
|
+
import { u as R } from "../../chunks/vendor-Dlne6Znf.js";
|
|
3
|
+
import { isKey as q } from "../../utils/keyboard.js";
|
|
4
|
+
const D = ({
|
|
5
|
+
value: o,
|
|
6
|
+
onSelect: d,
|
|
7
|
+
onFilter: f,
|
|
8
|
+
onKeyDown: r
|
|
9
|
+
}) => {
|
|
10
|
+
const [e, c] = n((o == null ? void 0 : o.label) || ""), [m, a] = n(), [p, b] = n(!1), [k, A] = n(o), [S] = n(() => `dropdown-list-${R()}`);
|
|
11
|
+
o !== k && (A(o), c((o == null ? void 0 : o.label) || ""));
|
|
12
|
+
const g = C(o);
|
|
13
|
+
L(() => {
|
|
14
|
+
g.current = o;
|
|
15
|
+
});
|
|
16
|
+
const s = i((t) => {
|
|
17
|
+
var P;
|
|
18
|
+
c(t ?? (((P = g.current) == null ? void 0 : P.label) || "")), a(void 0), b(!1);
|
|
19
|
+
}, []), h = i(
|
|
20
|
+
(t) => {
|
|
21
|
+
s(t == null ? void 0 : t.label), d(t);
|
|
22
|
+
},
|
|
23
|
+
[s, d]
|
|
24
|
+
), E = i(
|
|
25
|
+
(t) => {
|
|
26
|
+
c(t), f(t);
|
|
27
|
+
},
|
|
28
|
+
[f]
|
|
29
|
+
), I = i(
|
|
30
|
+
(t) => {
|
|
31
|
+
p && q(t.key, "ESCAPE") && (t.stopPropagation(), s()), r == null || r(t);
|
|
32
|
+
},
|
|
33
|
+
[p, s, r]
|
|
34
|
+
);
|
|
35
|
+
return O(
|
|
36
|
+
() => ({
|
|
37
|
+
inputValue: e,
|
|
38
|
+
activeDescendant: m,
|
|
39
|
+
dropdownOpen: p,
|
|
40
|
+
dropdownListId: S,
|
|
41
|
+
setInputValue: c,
|
|
42
|
+
setDropdownOpen: b,
|
|
43
|
+
setActiveDescendant: a,
|
|
44
|
+
closeDropdown: s,
|
|
45
|
+
onSelect: h,
|
|
46
|
+
onFilter: E,
|
|
47
|
+
onKeyDown: I
|
|
48
|
+
}),
|
|
49
|
+
[
|
|
50
|
+
e,
|
|
51
|
+
m,
|
|
52
|
+
p,
|
|
53
|
+
S,
|
|
54
|
+
s,
|
|
55
|
+
h,
|
|
56
|
+
E,
|
|
57
|
+
I
|
|
58
|
+
]
|
|
59
|
+
);
|
|
60
|
+
};
|
|
61
|
+
export {
|
|
62
|
+
D as useSuggest
|
|
63
|
+
};
|
|
64
|
+
//# sourceMappingURL=useSuggest.js.map
|
|
@@ -1,63 +1,60 @@
|
|
|
1
1
|
import "./desktop/SuggestFieldDesktopDropdown.js";
|
|
2
|
-
import { SuggestFieldDesktop as
|
|
3
|
-
import { SuggestFieldMobile as
|
|
2
|
+
import { SuggestFieldDesktop as S } from "./desktop/SuggestFieldDesktop.js";
|
|
3
|
+
import { SuggestFieldMobile as b } from "./mobile/SuggestFieldMobile.js";
|
|
4
4
|
import "./mobile/SuggestFieldMobileDropdown.js";
|
|
5
|
-
import "../../chunks/SuggestFieldMobileDropdownHint-
|
|
6
|
-
import "
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
|
|
5
|
+
import "../../chunks/SuggestFieldMobileDropdownHint-CaLnhNmM.js";
|
|
6
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
7
|
+
import { MobileView as I } from "../MobileView/MobileView.js";
|
|
8
|
+
import "../FormField/FormField.js";
|
|
9
|
+
import "../FormField/components/FormFieldDescription.js";
|
|
10
|
+
import "../FormField/components/FormFieldCounter.js";
|
|
11
|
+
import "../FormField/components/FormFieldLabel.js";
|
|
12
|
+
import "../FormField/components/FormFieldClear.js";
|
|
13
|
+
import "../FormField/components/FormFieldTarget.js";
|
|
14
|
+
import { F as O } from "../../chunks/FormFieldInput-TbDWEJtn.js";
|
|
15
|
+
import "../FormField/components/FormFieldMaskedInput.js";
|
|
16
|
+
import "../FormField/components/FormFieldPostfix.js";
|
|
17
|
+
import "../FormField/components/FormFieldPrefix.js";
|
|
18
|
+
import "../FormField/components/FormFieldTextarea.js";
|
|
19
|
+
const h = (t) => {
|
|
11
20
|
const {
|
|
12
|
-
status:
|
|
13
|
-
size:
|
|
14
|
-
value:
|
|
15
|
-
label:
|
|
21
|
+
status: i,
|
|
22
|
+
size: r,
|
|
23
|
+
value: p,
|
|
24
|
+
label: e,
|
|
16
25
|
loading: l,
|
|
17
|
-
options:
|
|
18
|
-
placeholder:
|
|
19
|
-
tooltipHint:
|
|
20
|
-
tooltipOpen:
|
|
26
|
+
options: m,
|
|
27
|
+
placeholder: n,
|
|
28
|
+
tooltipHint: s,
|
|
29
|
+
tooltipOpen: a,
|
|
21
30
|
dropdownListLoading: d,
|
|
22
31
|
clearInputOnFocus: u,
|
|
23
|
-
onSelect:
|
|
24
|
-
onFilter:
|
|
25
|
-
onScrollEnd:
|
|
26
|
-
|
|
27
|
-
onTargetInputBlur: F,
|
|
28
|
-
renderTarget: S,
|
|
29
|
-
renderTargetInput: b,
|
|
30
|
-
renderTargetLabel: x,
|
|
31
|
-
renderTargetPostfix: I,
|
|
32
|
-
renderTargetPrefix: w
|
|
32
|
+
onSelect: c,
|
|
33
|
+
onFilter: g,
|
|
34
|
+
onScrollEnd: F,
|
|
35
|
+
inputProps: f
|
|
33
36
|
} = t;
|
|
34
|
-
return /* @__PURE__ */
|
|
35
|
-
|
|
37
|
+
return /* @__PURE__ */ o(I, { fallback: /* @__PURE__ */ o(S, { ...t }), children: /* @__PURE__ */ o(
|
|
38
|
+
b,
|
|
36
39
|
{
|
|
37
|
-
status:
|
|
38
|
-
size:
|
|
39
|
-
value:
|
|
40
|
-
options:
|
|
41
|
-
label:
|
|
42
|
-
placeholder:
|
|
43
|
-
|
|
40
|
+
status: i,
|
|
41
|
+
size: r,
|
|
42
|
+
value: p,
|
|
43
|
+
options: m,
|
|
44
|
+
label: e,
|
|
45
|
+
placeholder: n,
|
|
46
|
+
tooltipHint: a ? s : "",
|
|
44
47
|
loading: l,
|
|
45
48
|
dropdownListLoading: d,
|
|
46
49
|
clearInputOnFocus: u,
|
|
47
|
-
onSelect:
|
|
48
|
-
onFilter:
|
|
49
|
-
onScrollEnd:
|
|
50
|
-
|
|
51
|
-
onTargetInputBlur: F,
|
|
52
|
-
renderTarget: S,
|
|
53
|
-
renderTargetInput: b,
|
|
54
|
-
renderTargetLabel: x,
|
|
55
|
-
renderTargetPrefix: w,
|
|
56
|
-
renderTargetPostfix: I
|
|
50
|
+
onSelect: c,
|
|
51
|
+
onFilter: g,
|
|
52
|
+
onScrollEnd: F,
|
|
53
|
+
inputProps: f
|
|
57
54
|
}
|
|
58
55
|
) });
|
|
59
|
-
},
|
|
56
|
+
}, G = Object.assign(h, { Input: O });
|
|
60
57
|
export {
|
|
61
|
-
|
|
58
|
+
G as SuggestField
|
|
62
59
|
};
|
|
63
60
|
//# sourceMappingURL=SuggestField.js.map
|
|
@@ -1,27 +1,29 @@
|
|
|
1
|
-
import { SuggestFieldDesktopDropdown as
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import { useState as
|
|
4
|
-
import {
|
|
5
|
-
import { Tooltip as
|
|
6
|
-
import { ETooltipSize as
|
|
7
|
-
import {
|
|
1
|
+
import { SuggestFieldDesktopDropdown as dt } from "./SuggestFieldDesktopDropdown.js";
|
|
2
|
+
import { jsxs as w, jsx as n } from "react/jsx-runtime";
|
|
3
|
+
import lt, { useState as u, useRef as b, useCallback as s, useEffect as x } from "react";
|
|
4
|
+
import { EComponentSize as ct } from "../../../enums/EComponentSize.js";
|
|
5
|
+
import { Tooltip as R } from "../../Tooltip/Tooltip.js";
|
|
6
|
+
import { ETooltipSize as pt } from "../../Tooltip/enums.js";
|
|
7
|
+
import { TextFieldBase as at } from "../../TextField/TextFieldBase.js";
|
|
8
8
|
import "../../FormField/FormField.js";
|
|
9
9
|
import "../../FormField/components/FormFieldDescription.js";
|
|
10
10
|
import "../../FormField/components/FormFieldCounter.js";
|
|
11
11
|
import "../../FormField/components/FormFieldLabel.js";
|
|
12
|
-
import "../../FormField/components/FormFieldClear.js";
|
|
12
|
+
import { FormFieldClear as ft } from "../../FormField/components/FormFieldClear.js";
|
|
13
13
|
import "../../FormField/components/FormFieldTarget.js";
|
|
14
|
-
import "../../../chunks/FormFieldInput-
|
|
14
|
+
import { F as gt } from "../../../chunks/FormFieldInput-TbDWEJtn.js";
|
|
15
15
|
import "../../FormField/components/FormFieldMaskedInput.js";
|
|
16
16
|
import "../../FormField/components/FormFieldPostfix.js";
|
|
17
17
|
import "../../FormField/components/FormFieldPrefix.js";
|
|
18
18
|
import "../../FormField/components/FormFieldTextarea.js";
|
|
19
|
-
import { EFormFieldStatus as
|
|
20
|
-
import "../../
|
|
21
|
-
import {
|
|
19
|
+
import { EFormFieldStatus as T } from "../../FormField/enums.js";
|
|
20
|
+
import { LoaderSmall as ht } from "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
21
|
+
import { ELoaderSmallTheme as ut } from "../../Loader/LoaderSmall/enum.js";
|
|
22
|
+
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
23
|
+
import { DropdownListContext as bt } from "../../Dropdown/DropdownListContext.js";
|
|
22
24
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
23
25
|
import "../../Dropdown/desktop/DropdownList.js";
|
|
24
|
-
import "../../../chunks/DropdownListItem-
|
|
26
|
+
import "../../../chunks/DropdownListItem-DzngoNVf.js";
|
|
25
27
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
26
28
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
27
29
|
import "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -31,167 +33,164 @@ import "../../Dropdown/mobile/DropdownMobileInner.js";
|
|
|
31
33
|
import "../../Dropdown/mobile/DropdownMobileInput.js";
|
|
32
34
|
import "../../Dropdown/mobile/DropdownMobileList.js";
|
|
33
35
|
import "../../Dropdown/mobile/DropdownMobileListItem.js";
|
|
34
|
-
import "../../
|
|
35
|
-
import "
|
|
36
|
-
import {
|
|
37
|
-
const
|
|
38
|
-
suggestFieldDesktop: Lt
|
|
39
|
-
}, Et = ({
|
|
40
|
-
className: z,
|
|
36
|
+
import "../../Dropdown/Dropdown.js";
|
|
37
|
+
import { DataTestId as j } from "../../../consts/DataTestId.js";
|
|
38
|
+
import { u as St, A as Ft } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
39
|
+
const ie = ({
|
|
41
40
|
value: e,
|
|
42
|
-
options:
|
|
43
|
-
size:
|
|
41
|
+
options: m,
|
|
42
|
+
size: S = ct.LG,
|
|
44
43
|
status: F,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
loading:
|
|
48
|
-
dropdownListLoading:
|
|
49
|
-
tooltipHint:
|
|
50
|
-
tooltipOpen:
|
|
51
|
-
clearInputOnFocus:
|
|
52
|
-
onSelect:
|
|
44
|
+
placeholder: _,
|
|
45
|
+
"data-test-id": d,
|
|
46
|
+
loading: q,
|
|
47
|
+
dropdownListLoading: z,
|
|
48
|
+
tooltipHint: G,
|
|
49
|
+
tooltipOpen: J,
|
|
50
|
+
clearInputOnFocus: k,
|
|
51
|
+
onSelect: g,
|
|
53
52
|
onFilter: h,
|
|
54
53
|
onScrollEnd: A,
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
renderDropdownListItem: Z,
|
|
65
|
-
"data-test-id": c,
|
|
66
|
-
...T
|
|
54
|
+
onClear: p,
|
|
55
|
+
prefix: K,
|
|
56
|
+
postfix: Q,
|
|
57
|
+
renderInput: y,
|
|
58
|
+
renderDropdown: C,
|
|
59
|
+
renderDropdownList: U,
|
|
60
|
+
renderDropdownListItem: V,
|
|
61
|
+
inputProps: i,
|
|
62
|
+
...W
|
|
67
63
|
}) => {
|
|
68
|
-
const [
|
|
69
|
-
|
|
70
|
-
const
|
|
64
|
+
const [a, l] = u((e == null ? void 0 : e.label) || ""), [H, D] = u(), [f, $] = u(!1), [r, c] = u(!1), M = b(St()), L = b(null), N = b(null), E = b(A);
|
|
65
|
+
E.current = A;
|
|
66
|
+
const X = s(
|
|
71
67
|
(t) => {
|
|
72
|
-
l((t == null ? void 0 : t.label) || ""),
|
|
68
|
+
l((t == null ? void 0 : t.label) || ""), D(void 0), c(!1), g(t);
|
|
73
69
|
},
|
|
74
|
-
[
|
|
75
|
-
),
|
|
70
|
+
[g]
|
|
71
|
+
), Y = s(
|
|
76
72
|
(t) => {
|
|
77
|
-
|
|
73
|
+
var o;
|
|
74
|
+
$(!0), k && a.length !== 0 && l(""), (o = i.onFocus) == null || o.call(i, t);
|
|
78
75
|
},
|
|
79
|
-
[
|
|
80
|
-
),
|
|
76
|
+
[k, a, i]
|
|
77
|
+
), Z = s(
|
|
81
78
|
(t) => {
|
|
82
|
-
|
|
79
|
+
var o;
|
|
80
|
+
D(void 0), $(!1), c(!1), a.length !== 0 ? l((e == null ? void 0 : e.label) || "") : g(void 0), (o = i.onBlur) == null || o.call(i, t);
|
|
83
81
|
},
|
|
84
|
-
[e == null ? void 0 : e.label,
|
|
85
|
-
),
|
|
86
|
-
|
|
87
|
-
}, [
|
|
82
|
+
[e == null ? void 0 : e.label, a, g, i]
|
|
83
|
+
), v = s(() => {
|
|
84
|
+
f && !r && c(!0);
|
|
85
|
+
}, [f, r]), P = s(
|
|
88
86
|
(t) => {
|
|
89
|
-
const
|
|
90
|
-
|
|
87
|
+
const o = t.target.value;
|
|
88
|
+
r === !1 && m.length > 0 && c(!0), l(o), h(o);
|
|
91
89
|
},
|
|
92
|
-
[h]
|
|
93
|
-
),
|
|
94
|
-
i ? (l(""), h("")) : d(void 0);
|
|
95
|
-
}, [i, h, d]), it = s(
|
|
90
|
+
[r, m.length, h]
|
|
91
|
+
), tt = s(
|
|
96
92
|
(t) => {
|
|
97
|
-
|
|
93
|
+
f && (l(""), h("")), p == null || p(t);
|
|
98
94
|
},
|
|
99
|
-
[
|
|
100
|
-
),
|
|
101
|
-
|
|
102
|
-
if (
|
|
95
|
+
[f, h, p]
|
|
96
|
+
), I = s(
|
|
97
|
+
Ft((t) => {
|
|
98
|
+
if (E.current === void 0)
|
|
103
99
|
return;
|
|
104
|
-
const
|
|
105
|
-
if (
|
|
100
|
+
const o = t.target, B = o.parentElement;
|
|
101
|
+
if (B === null)
|
|
106
102
|
return;
|
|
107
|
-
const
|
|
108
|
-
Math.abs(
|
|
103
|
+
const ot = o.scrollHeight, rt = o.scrollTop, it = B.scrollHeight, O = window.getComputedStyle(B), nt = O.getPropertyValue("padding-top"), st = O.getPropertyValue("padding-bottom"), mt = Number.parseInt(st) + Number.parseInt(nt);
|
|
104
|
+
Math.abs(rt + it - mt - ot) <= 1 && E.current();
|
|
109
105
|
}, 100),
|
|
110
106
|
[]
|
|
111
107
|
);
|
|
112
|
-
|
|
108
|
+
x(() => {
|
|
113
109
|
l((e == null ? void 0 : e.label) || "");
|
|
114
|
-
}, [e]),
|
|
115
|
-
|
|
116
|
-
}, [
|
|
117
|
-
if (
|
|
118
|
-
const t =
|
|
119
|
-
return t && t.addEventListener("scroll",
|
|
120
|
-
t && t.removeEventListener("scroll",
|
|
110
|
+
}, [e]), x(() => {
|
|
111
|
+
r && m.length === 0 && c(!1);
|
|
112
|
+
}, [r, m.length]), x(() => {
|
|
113
|
+
if (r) {
|
|
114
|
+
const t = N.current;
|
|
115
|
+
return t && t.addEventListener("scroll", I), () => {
|
|
116
|
+
t && t.removeEventListener("scroll", I);
|
|
121
117
|
};
|
|
122
118
|
}
|
|
123
|
-
}, [
|
|
124
|
-
const
|
|
125
|
-
const t =
|
|
126
|
-
return /* @__PURE__ */
|
|
127
|
-
|
|
119
|
+
}, [r, I]);
|
|
120
|
+
const et = () => {
|
|
121
|
+
const t = y === void 0 ? gt : y, o = C === void 0 ? dt : C;
|
|
122
|
+
return /* @__PURE__ */ w(
|
|
123
|
+
at,
|
|
128
124
|
{
|
|
129
|
-
|
|
125
|
+
"data-test-id": d,
|
|
126
|
+
status: F,
|
|
127
|
+
size: S,
|
|
128
|
+
prefix: K,
|
|
129
|
+
postfix: /* @__PURE__ */ w(lt.Fragment, { children: [
|
|
130
|
+
p !== void 0 && /* @__PURE__ */ n(ft, { onClick: tt }),
|
|
131
|
+
q && /* @__PURE__ */ n(ht, { theme: ut.BRAND, size: S }),
|
|
132
|
+
Q
|
|
133
|
+
] }),
|
|
134
|
+
...W,
|
|
135
|
+
ref: L,
|
|
130
136
|
children: [
|
|
131
|
-
/* @__PURE__ */
|
|
132
|
-
|
|
137
|
+
/* @__PURE__ */ n(
|
|
138
|
+
t,
|
|
133
139
|
{
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
"aria-controls":
|
|
140
|
-
"aria-activedescendant":
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
onFocus:
|
|
144
|
-
onBlur:
|
|
145
|
-
onClick:
|
|
146
|
-
onChange:
|
|
147
|
-
onClear: st,
|
|
148
|
-
renderInput: U,
|
|
149
|
-
renderLabel: V,
|
|
150
|
-
renderPrefix: W,
|
|
151
|
-
renderPostfix: X,
|
|
152
|
-
dataTestId: c
|
|
140
|
+
value: a,
|
|
141
|
+
placeholder: _,
|
|
142
|
+
"data-test-id": d && `${d}${j.Suggest.input}`,
|
|
143
|
+
...i,
|
|
144
|
+
role: "combobox",
|
|
145
|
+
"aria-controls": M.current,
|
|
146
|
+
"aria-activedescendant": H,
|
|
147
|
+
"aria-expanded": r,
|
|
148
|
+
disabled: F === T.DISABLED,
|
|
149
|
+
onFocus: Y,
|
|
150
|
+
onBlur: Z,
|
|
151
|
+
onClick: v,
|
|
152
|
+
onChange: P
|
|
153
153
|
}
|
|
154
154
|
),
|
|
155
|
-
/* @__PURE__ */
|
|
156
|
-
|
|
155
|
+
/* @__PURE__ */ n(bt.Provider, { value: { activeDescendant: H, setActiveDescendant: D }, children: /* @__PURE__ */ n(
|
|
156
|
+
o,
|
|
157
157
|
{
|
|
158
158
|
value: e,
|
|
159
|
-
options:
|
|
160
|
-
size:
|
|
161
|
-
listId:
|
|
162
|
-
opened:
|
|
163
|
-
listLoading:
|
|
164
|
-
listRef:
|
|
165
|
-
onSelect:
|
|
166
|
-
renderList:
|
|
167
|
-
renderListItem:
|
|
168
|
-
setOpened:
|
|
159
|
+
options: m,
|
|
160
|
+
size: S,
|
|
161
|
+
listId: M.current,
|
|
162
|
+
opened: r && m.length > 0,
|
|
163
|
+
listLoading: z,
|
|
164
|
+
listRef: N,
|
|
165
|
+
onSelect: X,
|
|
166
|
+
renderList: U,
|
|
167
|
+
renderListItem: V,
|
|
168
|
+
setOpened: c,
|
|
169
169
|
targetRef: L,
|
|
170
|
-
dataTestId:
|
|
170
|
+
dataTestId: d
|
|
171
171
|
}
|
|
172
|
-
)
|
|
172
|
+
) })
|
|
173
173
|
]
|
|
174
174
|
}
|
|
175
|
-
)
|
|
175
|
+
);
|
|
176
176
|
};
|
|
177
|
-
return /* @__PURE__ */
|
|
178
|
-
|
|
177
|
+
return /* @__PURE__ */ w(
|
|
178
|
+
R,
|
|
179
179
|
{
|
|
180
|
-
size:
|
|
181
|
-
isOpen: !!(
|
|
180
|
+
size: pt.SM,
|
|
181
|
+
isOpen: !!(J && f) && F !== T.DISABLED,
|
|
182
182
|
toggle: () => {
|
|
183
183
|
},
|
|
184
184
|
targetRef: L,
|
|
185
185
|
disableAdaptiveMode: !0,
|
|
186
186
|
children: [
|
|
187
|
-
/* @__PURE__ */
|
|
188
|
-
/* @__PURE__ */
|
|
187
|
+
/* @__PURE__ */ n(R.Body, { "data-test-id": d && `${d}${j.Suggest.tooltip}`, children: G }),
|
|
188
|
+
/* @__PURE__ */ n(R.Target, { children: et() })
|
|
189
189
|
]
|
|
190
190
|
}
|
|
191
191
|
);
|
|
192
192
|
};
|
|
193
|
-
Et.displayName = "SuggestFieldDesktop";
|
|
194
193
|
export {
|
|
195
|
-
|
|
194
|
+
ie as SuggestFieldDesktop
|
|
196
195
|
};
|
|
197
196
|
//# sourceMappingURL=SuggestFieldDesktop.js.map
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import { Dropdown as $ } from "../../Dropdown/Dropdown.js";
|
|
3
2
|
import "../../Dropdown/DropdownListContext.js";
|
|
4
3
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
5
|
-
import { DropdownList as
|
|
6
|
-
import { D as
|
|
4
|
+
import { DropdownList as $ } from "../../Dropdown/desktop/DropdownList.js";
|
|
5
|
+
import { D as h } from "../../../chunks/DropdownListItem-DzngoNVf.js";
|
|
7
6
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
8
7
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
9
8
|
import "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -15,6 +14,7 @@ import "../../Dropdown/mobile/DropdownMobileList.js";
|
|
|
15
14
|
import "../../Dropdown/mobile/DropdownMobileListItem.js";
|
|
16
15
|
import "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
17
16
|
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
17
|
+
import { Dropdown as C } from "../../Dropdown/Dropdown.js";
|
|
18
18
|
import { EVENT_KEY_CODES as L } from "../../../utils/keyboard.js";
|
|
19
19
|
import { DataTestId as d } from "../../../consts/DataTestId.js";
|
|
20
20
|
const _ = [L.ENTER], G = ({
|
|
@@ -33,9 +33,9 @@ const _ = [L.ENTER], G = ({
|
|
|
33
33
|
setOpened: l,
|
|
34
34
|
...w
|
|
35
35
|
}) => {
|
|
36
|
-
const S = n === void 0 ?
|
|
36
|
+
const S = n === void 0 ? $ : n, g = D === void 0 ? h : D;
|
|
37
37
|
return /* @__PURE__ */ m(
|
|
38
|
-
|
|
38
|
+
C,
|
|
39
39
|
{
|
|
40
40
|
size: e,
|
|
41
41
|
targetRef: s,
|
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import { SuggestFieldDesktopDropdown as r } from "./desktop/SuggestFieldDesktopDropdown.js";
|
|
2
2
|
import { SuggestFieldDesktop as g } from "./desktop/SuggestFieldDesktop.js";
|
|
3
|
-
import { SuggestFieldMobile as
|
|
4
|
-
import { SuggestFieldMobileDropdown as
|
|
5
|
-
import { S } from "../../chunks/SuggestFieldMobileDropdownHint-
|
|
6
|
-
import {
|
|
7
|
-
import { SuggestField as x } from "./SuggestField.js";
|
|
3
|
+
import { SuggestFieldMobile as i } from "./mobile/SuggestFieldMobile.js";
|
|
4
|
+
import { SuggestFieldMobileDropdown as l } from "./mobile/SuggestFieldMobileDropdown.js";
|
|
5
|
+
import { S } from "../../chunks/SuggestFieldMobileDropdownHint-CaLnhNmM.js";
|
|
6
|
+
import { SuggestField as m } from "./SuggestField.js";
|
|
8
7
|
export {
|
|
9
|
-
|
|
8
|
+
m as SuggestField,
|
|
10
9
|
g as SuggestFieldDesktop,
|
|
11
10
|
r as SuggestFieldDesktopDropdown,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
S as SuggestFieldMobileDropdownHint
|
|
15
|
-
m as SuggestFieldMobileTarget
|
|
11
|
+
i as SuggestFieldMobile,
|
|
12
|
+
l as SuggestFieldMobileDropdown,
|
|
13
|
+
S as SuggestFieldMobileDropdownHint
|
|
16
14
|
};
|
|
17
15
|
//# sourceMappingURL=index.js.map
|