@sberbusiness/triplex-next 0.14.1 → 0.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-BfExIHyf.js +39 -0
- package/chunks/{CalendarViewItem-bjlzO6fA.js → CalendarViewItem-DjDlwsr-.js} +18 -18
- package/chunks/Card.module-BDhkqA-1.js +17 -0
- package/chunks/CheckboxTreeExtended.module-DvYrGq2d.js +14 -0
- package/chunks/{Chip-BjcDj2XE.js → Chip-Is4KDVHc.js} +3 -3
- package/chunks/Confirm.module-DJgmkdgX.js +15 -0
- package/chunks/{DropdownListItem-BByGOD7_.js → DropdownListItem-BdSacGyt.js} +21 -21
- package/chunks/DropdownMobile.module-04Mon9FN.js +23 -0
- package/chunks/Footer.module-B0GfNisY.js +9 -0
- package/chunks/FormFieldInput-DDUEO0k6.js +60 -0
- package/chunks/HeaderLayoutSidebar.module-BvdGzIVf.js +9 -0
- package/chunks/HeaderTabs.module-COsRYfxE.js +9 -0
- package/chunks/{HeaderTitle.module-Aa8Ayziq.js → HeaderTitle.module-LN1Fj13p.js} +2 -2
- package/chunks/IslandAccordion.module-GnMVxP0n.js +25 -0
- package/chunks/IslandWidgetFooter.module-Cvl5d8YC.js +9 -0
- package/chunks/IslandWidgetHeader.module-JkauVtWn.js +12 -0
- package/chunks/{LightBoxContent-B5TEJXI-.js → LightBoxContent-CN7SmRwX.js} +13 -13
- package/chunks/LightBoxControls.module-koLoz_-f.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-D6FP9Ulx.js +8 -0
- package/chunks/{ListItemControlsButton-BQWXaAf7.js → ListItemControlsButton-CgrHz7BO.js} +3 -3
- package/chunks/ListItemTail.module-DNRGTk64.js +12 -0
- package/chunks/ListMasterFooter.module-iy5cZxzC.js +10 -0
- package/chunks/ModalWindow.module-boLwaSVC.js +17 -0
- package/chunks/Notification.module-6l7KFShv.js +21 -0
- package/chunks/Overlay.module-COWWNc0T.js +18 -0
- package/chunks/Page.module-UL2Y8-XU.js +11 -0
- package/chunks/{RightBorderArrow-BjcGiO4Y.js → RightBorderArrow-B47Am4iB.js} +9 -9
- package/chunks/SMSField.module-BGqA-NcR.js +16 -0
- package/chunks/SliderExtendedMarks.module-CrvLHlu0.js +15 -0
- package/chunks/{SliderExtendedRail-DHe0BU85.js → SliderExtendedRail-C_eWUceV.js} +6 -6
- package/chunks/StatusTracker.module-BIpb3AbV.js +24 -0
- package/chunks/SuggestFieldMobileDropdownHint-C_9OyUAk.js +14 -0
- package/chunks/TableFooter.module-DpjOyrUF.js +14 -0
- package/chunks/TabsExtended.module-hRiksHlb.js +16 -0
- package/chunks/TabsLine.module-3hdH-7s8.js +21 -0
- package/chunks/TooltipDesktop.module-BQ_-qhMK.js +19 -0
- package/chunks/TreeView.module-BHzh1VmC.js +9 -0
- package/chunks/UploadZoneInput--8r5kxhe.js +33 -0
- package/chunks/constants-BY1BSJmu.js +57 -0
- package/chunks/{utils-DQttOWML.js → utils-Bg2bllE8.js} +9 -9
- package/chunks/utils-e1nAN4Kk.js +20 -0
- package/chunks/utils-rqbzWAF8.js +24 -0
- package/chunks/utils-zNOBXKDX.js +73 -0
- package/chunks/{vendor-CalMVkfj.js → vendor-DE8Zvm0w.js} +5 -5
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +4 -4
- package/components/Alert/AlertContext/AlertContext.js +10 -10
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +3 -3
- package/components/AmountField/AmountField.js +26 -26
- package/components/Avatar/Avatar.js +14 -14
- 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 +36 -36
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +24 -24
- package/components/Button/ButtonDropdownExtended.js +6 -6
- package/components/Button/ButtonIcon.js +10 -10
- package/components/Calendar/Calendar.js +6 -6
- package/components/Calendar/components/CalendarControls.js +1 -1
- 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 +12 -12
- 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 +5 -5
- package/components/Checkbox/Checkbox.js +16 -16
- package/components/Checkbox/CheckboxXGroup.js +11 -11
- package/components/Checkbox/CheckboxYGroup.js +6 -6
- 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 +2 -2
- 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 +16 -16
- package/components/Col/Col.js +141 -141
- package/components/CollapsableTree/components/CollapsableTreeNode.js +6 -6
- 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 +29 -28
- package/components/DatePickerExtended/DatePickerExtended.js +7 -7
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +8 -8
- package/components/DateRange/DateRange.js +9 -9
- 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 +21 -21
- 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 +4 -4
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +9 -9
- package/components/ExpandAnimation/ExpandAnimation.js +20 -20
- 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 +5 -5
- package/components/FormField/components/FormFieldDescription.js +9 -9
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +8 -8
- package/components/FormField/components/FormFieldMaskedInput.js +17 -17
- package/components/FormField/components/FormFieldPostfix.js +6 -6
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +5 -5
- package/components/FormField/components/FormFieldTextarea.js +8 -8
- 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 +4 -4
- 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 +37 -36
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +5 -5
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +3 -3
- 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 +87 -72
- 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 +21 -22
- 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 +70 -72
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/index.js +0 -2
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +5 -5
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/LightBox/index.js +0 -2
- package/components/Link/Link.js +28 -28
- package/components/List/List.js +6 -6
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +4 -4
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +7 -7
- package/components/List/components/ListItemControls.js +8 -8
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +3 -3
- package/components/List/components/ListItemSelectable.js +11 -11
- package/components/List/components/ListItemTable.js +7 -7
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +2 -2
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +2 -2
- 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 +2 -2
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +8 -8
- package/components/ListMaster/components/SelectionControls.js +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +5 -5
- package/components/Loader/LoaderSmall/LoaderSmall.js +10 -10
- package/components/LoaderScreen/LoaderScreen.js +10 -10
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +12 -12
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +10 -10
- package/components/ModalWindow/components/ModalWindowClose.js +4 -4
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +10 -10
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +6 -6
- 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 +4 -4
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +3 -3
- package/components/OrderedList/OrderedListItem.js +6 -6
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +2 -2
- package/components/Page/components/BodyPage.js +13 -13
- 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 +6 -6
- 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 +16 -16
- package/components/Radio/RadioXGroup.js +12 -12
- package/components/Radio/RadioYGroup.js +8 -8
- package/components/Row/Row.js +5 -5
- 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 +5 -5
- package/components/SegmentedControl/SegmentedControlSegment.js +9 -9
- package/components/SelectExtendedField/SelectExtendedField.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +15 -15
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +12 -12
- package/components/SelectField/SelectField.js +5 -5
- package/components/Skeleton/Skeleton.js +7 -7
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +21 -21
- 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 +8 -8
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +20 -20
- 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 +9 -9
- package/components/Stepper/StepperExtended.js +2 -2
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +3 -3
- package/components/Suggest/Suggest.js +52 -89
- package/components/Suggest/SuggestContext.js +4 -7
- package/components/Suggest/SuggestMobileDropdownContent.js +9 -9
- package/components/Suggest/useSuggest.js +64 -0
- package/components/SuggestField/SuggestField.js +44 -47
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +132 -133
- 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 +17 -17
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +20 -20
- package/components/Table/NoColumns.js +2 -2
- package/components/Table/PaginationPanel.js +5 -5
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +5 -5
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +6 -6
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +5 -5
- 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 +3 -3
- package/components/Table/TabsLinePanelLinks.js +6 -6
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +14 -14
- 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 +19 -19
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +9 -9
- package/components/Tag/Tag.js +18 -18
- package/components/TagColor/TagColor.js +18 -18
- package/components/TagGroup/TagGroup.js +14 -14
- package/components/TextField/TextField.js +1 -1
- package/components/TextField/TextFieldBase.js +25 -30
- 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 +12 -12
- 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 +6 -6
- package/components/TopOverlay/TopOverlay.js +10 -10
- 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 +40 -42
- package/components/Typography/Text.js +44 -46
- 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 +3 -3
- 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 +108 -117
- 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/AlertProcessSpoiler-w7bEDQkZ.js +0 -39
- package/chunks/Card.module-BLsCGNSy.js +0 -17
- package/chunks/CheckboxTreeExtended.module-CgfwcCEk.js +0 -14
- package/chunks/Confirm.module-CzudnAyq.js +0 -15
- package/chunks/DropdownMobile.module-DOLon8EA.js +0 -23
- package/chunks/Footer.module-BVFglVCT.js +0 -9
- package/chunks/FormFieldInput-CXE2lpa2.js +0 -60
- package/chunks/HeaderLayoutSidebar.module-DKuCSX50.js +0 -9
- package/chunks/HeaderTabs.module-BD-cjJN0.js +0 -9
- package/chunks/IslandAccordion.module-DuBXHdTP.js +0 -25
- package/chunks/IslandWidgetFooter.module-Dv6ikQyO.js +0 -9
- package/chunks/IslandWidgetHeader.module-ChVPLOQn.js +0 -9
- package/chunks/LightBoxControls.module-4BsaXW9O.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-Bx568ER4.js +0 -8
- package/chunks/ListItemTail.module-Dqje1Ta9.js +0 -12
- package/chunks/ListMasterFooter.module-CQ5ySLht.js +0 -10
- package/chunks/ModalWindow.module-BhRZeAo8.js +0 -17
- package/chunks/Notification.module-DwrRfWOt.js +0 -21
- package/chunks/Overlay.module-B6CO6ER3.js +0 -18
- package/chunks/Page.module-DkHondpd.js +0 -11
- package/chunks/SMSField.module-CDTpuKgF.js +0 -16
- package/chunks/SliderExtendedMarks.module--4YyXPzu.js +0 -15
- package/chunks/StatusTracker.module-DkISSFNd.js +0 -24
- package/chunks/SuggestFieldMobileDropdownHint-BM9lOqXe.js +0 -15
- package/chunks/TableFooter.module-zu7cE58N.js +0 -14
- package/chunks/TabsExtended.module-CKJx5gTC.js +0 -16
- package/chunks/TabsLine.module-dWFH4Lb0.js +0 -21
- package/chunks/TooltipDesktop.module-8uJuXz2F.js +0 -19
- package/chunks/TreeView.module-CBWqJQ3g.js +0 -9
- package/chunks/UploadZoneInput-DgPYo5Ct.js +0 -33
- package/chunks/utils-D6gsTR6V.js +0 -73
- package/chunks/utils-DXZkhXsb.js +0 -24
- package/chunks/utils-Ds7Etruz.js +0 -20
- package/chunks/utils-QtOC5s-T.js +0 -36
- 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
|
@@ -8,9 +8,9 @@ import { ButtonIcon as R } from "../Button/ButtonIcon.js";
|
|
|
8
8
|
import { CaretrightStrokeSrvIcon24 as q, CaretleftStrokeSrvIcon24 as F } from "@sberbusiness/icons-next";
|
|
9
9
|
import { EScreenWidth as J } from "../../helpers/breakpoints.js";
|
|
10
10
|
import { scrollSmoothHorizontally as S } from "../../utils/scroll.js";
|
|
11
|
-
import { c as i } from "../../chunks/vendor-
|
|
11
|
+
import { c as i } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
12
12
|
import { EStepperSize as a } from "./enums.js";
|
|
13
|
-
const K = "
|
|
13
|
+
const K = "stepper__684eeff0", O = "sm__c3d0cad5", Q = "md__bb23b389", T = "lg__5c74762b", U = "stepperCarousel__55fa6f6c", V = "buttonPrev__71f5ea51", Y = "buttonNext__148e2fb9", n = {
|
|
14
14
|
stepper: K,
|
|
15
15
|
sm: O,
|
|
16
16
|
md: Q,
|
|
@@ -29,12 +29,12 @@ const K = "stepper__aafca827", O = "sm__8b39e94d", Q = "md__cb8ceb66", T = "lg__
|
|
|
29
29
|
}
|
|
30
30
|
}, P = ({
|
|
31
31
|
className: m,
|
|
32
|
-
steps:
|
|
32
|
+
steps: h,
|
|
33
33
|
size: c = a.SM,
|
|
34
34
|
selectedStepId: l,
|
|
35
35
|
...E
|
|
36
36
|
}) => {
|
|
37
|
-
const [
|
|
37
|
+
const [b, w] = G({ stepNext: 0, stepPrev: 0 }), u = v(null), x = v({}), B = i(n.stepper, p(c), m), M = h.findIndex((e) => e.id === l), I = ({ hidden: e, ...t }) => e ? null : /* @__PURE__ */ s(
|
|
38
38
|
R,
|
|
39
39
|
{
|
|
40
40
|
className: i(n.buttonPrev, p(c)),
|
|
@@ -65,8 +65,8 @@ const K = "stepper__aafca827", O = "sm__8b39e94d", Q = "md__cb8ceb66", T = "lg__
|
|
|
65
65
|
}, y = (e, t) => {
|
|
66
66
|
t && S(e, t);
|
|
67
67
|
}, A = (e, t) => {
|
|
68
|
-
const { left: r, right: o, width: j } = e.getBoundingClientRect(), { left: f, right: N, width: D } = t.getBoundingClientRect(),
|
|
69
|
-
window.matchMedia(`(max-width: ${J.SM_MAX})`).matches ? y(e,
|
|
68
|
+
const { left: r, right: o, width: j } = e.getBoundingClientRect(), { left: f, right: N, width: D } = t.getBoundingClientRect(), g = r + j / 2, d = f + D / 2;
|
|
69
|
+
window.matchMedia(`(max-width: ${J.SM_MAX})`).matches ? y(e, d - g) : g > d ? k(e, t, f - r - 32, f) : g < d && L(e, t, N - o + 32, N);
|
|
70
70
|
};
|
|
71
71
|
return C(() => {
|
|
72
72
|
if (l) {
|
|
@@ -79,10 +79,10 @@ const K = "stepper__aafca827", O = "sm__8b39e94d", Q = "md__cb8ceb66", T = "lg__
|
|
|
79
79
|
className: i(n.stepperCarousel, p(c)),
|
|
80
80
|
buttonPrev: I,
|
|
81
81
|
buttonNext: W,
|
|
82
|
-
stepPrev:
|
|
83
|
-
stepNext:
|
|
82
|
+
stepPrev: b.stepPrev,
|
|
83
|
+
stepNext: b.stepNext,
|
|
84
84
|
ref: u,
|
|
85
|
-
children: /* @__PURE__ */ s(_, { className: B, selectedStepId: l, size: c, ...E, children:
|
|
85
|
+
children: /* @__PURE__ */ s(_, { className: B, selectedStepId: l, size: c, ...E, children: h.map(({ label: e, ...t }, r) => /* @__PURE__ */ s(
|
|
86
86
|
_.Step,
|
|
87
87
|
{
|
|
88
88
|
forwardedRef: (o) => x.current[t.id] = o,
|
|
@@ -3,8 +3,8 @@ import { EStepperSize as a } from "./enums.js";
|
|
|
3
3
|
import { StepperExtendedContext as i } from "./StepperExtendedContext.js";
|
|
4
4
|
import { StepperWrapper as x } from "./StepperWrapper.js";
|
|
5
5
|
import { StepperStep as f } from "./StepperStep.js";
|
|
6
|
-
import { c as E } from "../../chunks/vendor-
|
|
7
|
-
const h = "
|
|
6
|
+
import { c as E } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
7
|
+
const h = "stepperExtended__8e8a5e69", u = {
|
|
8
8
|
stepperExtended: h
|
|
9
9
|
}, t = ({
|
|
10
10
|
children: r,
|
|
@@ -4,8 +4,8 @@ import { StepperStepIcon as q } from "./StepperStepIcon.js";
|
|
|
4
4
|
import { isKey as A } from "../../utils/keyboard.js";
|
|
5
5
|
import { StepperExtendedContext as D } from "./StepperExtendedContext.js";
|
|
6
6
|
import { EFocusSource as s } from "../../enums/EFocusSource.js";
|
|
7
|
-
import { c as C } from "../../chunks/vendor-
|
|
8
|
-
import { s as t, R as F } from "../../chunks/RightBorderArrow-
|
|
7
|
+
import { c as C } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
8
|
+
import { s as t, R as F } from "../../chunks/RightBorderArrow-B47Am4iB.js";
|
|
9
9
|
import { EStepperSize as h, EStepperStepType as j } from "./enums.js";
|
|
10
10
|
const H = ({
|
|
11
11
|
children: x,
|
|
@@ -72,7 +72,7 @@ const H = ({
|
|
|
72
72
|
...G,
|
|
73
73
|
ref: P,
|
|
74
74
|
children: [
|
|
75
|
-
/* @__PURE__ */ I("div", { className: t.content, "data-tx": "0.
|
|
75
|
+
/* @__PURE__ */ I("div", { className: t.content, "data-tx": "0.16.0", children: [
|
|
76
76
|
g && U(),
|
|
77
77
|
x
|
|
78
78
|
] }),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { c as a } from "../../chunks/vendor-
|
|
3
|
-
const o = "
|
|
2
|
+
import { c as a } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
3
|
+
const o = "stepperWrapper__27df1878", c = {
|
|
4
4
|
stepperWrapper: o
|
|
5
5
|
}, W = ({ children: p, className: r, ...e }) => {
|
|
6
6
|
const s = a(c.stepperWrapper, r);
|
|
7
|
-
return /* @__PURE__ */ t("div", { className: s, ...e, "data-tx": "0.
|
|
7
|
+
return /* @__PURE__ */ t("div", { className: s, ...e, "data-tx": "0.16.0", children: p });
|
|
8
8
|
};
|
|
9
9
|
export {
|
|
10
10
|
W as StepperWrapper
|
|
@@ -1,100 +1,63 @@
|
|
|
1
|
-
import { SuggestContext as
|
|
2
|
-
import { jsx as
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
},
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
(
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
);
|
|
31
|
-
m.current = M, C(() => {
|
|
32
|
-
m.current((n == null ? void 0 : n.label) || "");
|
|
33
|
-
}, [n]);
|
|
34
|
-
const b = r(
|
|
35
|
-
(t = (n == null ? void 0 : n.label) || "") => {
|
|
36
|
-
m.current(t), B(void 0), a(!1);
|
|
37
|
-
},
|
|
38
|
-
[n]
|
|
39
|
-
);
|
|
40
|
-
c.current = b, C(() => {
|
|
41
|
-
const t = (h) => {
|
|
42
|
-
var w, E;
|
|
43
|
-
!((w = u.current) != null && w.contains(h.target)) && !((E = S.current) != null && E.contains(h.target)) && c.current();
|
|
1
|
+
import { SuggestContext as K } from "./SuggestContext.js";
|
|
2
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
3
|
+
import P, { useRef as g, useEffect as C, useCallback as F } from "react";
|
|
4
|
+
import { useSuggest as b } from "./useSuggest.js";
|
|
5
|
+
const j = (t, e) => {
|
|
6
|
+
const {
|
|
7
|
+
children: a,
|
|
8
|
+
value: f,
|
|
9
|
+
options: m,
|
|
10
|
+
size: k,
|
|
11
|
+
placeholder: w,
|
|
12
|
+
noOptionsText: v,
|
|
13
|
+
loading: R,
|
|
14
|
+
dropdownListLoading: S,
|
|
15
|
+
tooltipOpen: D,
|
|
16
|
+
clearInputOnFocus: O,
|
|
17
|
+
onKeyDown: z,
|
|
18
|
+
onSelect: B,
|
|
19
|
+
onFilter: I,
|
|
20
|
+
onScrollEnd: h,
|
|
21
|
+
...x
|
|
22
|
+
} = t, r = b(t), { dropdownOpen: s, closeDropdown: u, onKeyDown: y } = r, n = g(null), c = g(null);
|
|
23
|
+
C(() => {
|
|
24
|
+
if (!s)
|
|
25
|
+
return;
|
|
26
|
+
const o = (L) => {
|
|
27
|
+
var i, l;
|
|
28
|
+
const d = L.target;
|
|
29
|
+
!((i = n.current) != null && i.contains(d)) && !((l = c.current) != null && l.contains(d)) && u();
|
|
44
30
|
};
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
const G = r(
|
|
51
|
-
(t) => {
|
|
52
|
-
o === !0 && T(t.code, "ESCAPE") && c.current(), s == null || s(t);
|
|
53
|
-
},
|
|
54
|
-
[o, s]
|
|
55
|
-
), H = r(
|
|
56
|
-
(t) => {
|
|
57
|
-
c.current((t == null ? void 0 : t.label) || ""), g(t);
|
|
58
|
-
},
|
|
59
|
-
[g]
|
|
60
|
-
), J = r(
|
|
61
|
-
(t) => {
|
|
62
|
-
p(t), R(t);
|
|
31
|
+
return document.addEventListener("mousedown", o), () => document.removeEventListener("mousedown", o);
|
|
32
|
+
}, [s, u]);
|
|
33
|
+
const E = F(
|
|
34
|
+
(o) => {
|
|
35
|
+
n.current = o, typeof e == "function" ? e(o) : e && (e.current = o);
|
|
63
36
|
},
|
|
64
|
-
[
|
|
37
|
+
[e]
|
|
65
38
|
);
|
|
66
|
-
return /* @__PURE__ */
|
|
67
|
-
|
|
68
|
-
}, children: /* @__PURE__ */ x(
|
|
69
|
-
N.Provider,
|
|
39
|
+
return /* @__PURE__ */ p("div", { ...x, onKeyDown: y, ref: E, children: /* @__PURE__ */ p(
|
|
40
|
+
K.Provider,
|
|
70
41
|
{
|
|
71
42
|
value: {
|
|
72
|
-
value:
|
|
73
|
-
options:
|
|
74
|
-
placeholder:
|
|
75
|
-
noOptionsText:
|
|
76
|
-
loading:
|
|
77
|
-
dropdownListLoading:
|
|
78
|
-
tooltipOpen:
|
|
79
|
-
clearInputOnFocus:
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
setInputValue: p,
|
|
85
|
-
activeDescendant: z,
|
|
86
|
-
dropdownOpen: o,
|
|
87
|
-
setDropdownOpen: a,
|
|
88
|
-
closeDropdown: b,
|
|
89
|
-
dropdownListId: F,
|
|
90
|
-
suggestRef: u,
|
|
91
|
-
dropdownRef: S
|
|
43
|
+
value: f,
|
|
44
|
+
options: m,
|
|
45
|
+
placeholder: w,
|
|
46
|
+
noOptionsText: v,
|
|
47
|
+
loading: R,
|
|
48
|
+
dropdownListLoading: S,
|
|
49
|
+
tooltipOpen: D,
|
|
50
|
+
clearInputOnFocus: O,
|
|
51
|
+
onScrollEnd: h,
|
|
52
|
+
suggestRef: n,
|
|
53
|
+
dropdownRef: c,
|
|
54
|
+
...r
|
|
92
55
|
},
|
|
93
|
-
children:
|
|
56
|
+
children: a
|
|
94
57
|
}
|
|
95
58
|
) });
|
|
96
|
-
},
|
|
59
|
+
}, G = P.forwardRef(j);
|
|
97
60
|
export {
|
|
98
|
-
|
|
61
|
+
G as Suggest
|
|
99
62
|
};
|
|
100
63
|
//# sourceMappingURL=Suggest.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import e, { useContext as t } from "react";
|
|
2
|
-
const
|
|
2
|
+
const o = e.createContext({
|
|
3
3
|
value: void 0,
|
|
4
4
|
options: [],
|
|
5
5
|
inputValue: "",
|
|
@@ -18,12 +18,9 @@ const n = e.createContext({
|
|
|
18
18
|
dropdownListId: "",
|
|
19
19
|
suggestRef: { current: null },
|
|
20
20
|
dropdownRef: { current: null }
|
|
21
|
-
});
|
|
22
|
-
function u() {
|
|
23
|
-
return t(n);
|
|
24
|
-
}
|
|
21
|
+
}), s = () => t(o);
|
|
25
22
|
export {
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
o as SuggestContext,
|
|
24
|
+
s as useSuggestContext
|
|
28
25
|
};
|
|
29
26
|
//# sourceMappingURL=SuggestContext.js.map
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { jsxs as c, Fragment as m, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as B, useCallback as r } from "react";
|
|
3
3
|
import { useSuggestContext as F } from "./SuggestContext.js";
|
|
4
|
-
import "../Dropdown/Dropdown.js";
|
|
5
4
|
import "../Dropdown/DropdownListContext.js";
|
|
6
5
|
import "../Dropdown/desktop/DropdownDesktop.js";
|
|
7
6
|
import "../Dropdown/desktop/DropdownList.js";
|
|
8
|
-
import "../../chunks/DropdownListItem-
|
|
7
|
+
import "../../chunks/DropdownListItem-BdSacGyt.js";
|
|
9
8
|
import "../Dropdown/mobile/DropdownMobile.js";
|
|
10
9
|
import { DropdownMobileBody as I } from "../Dropdown/mobile/DropdownMobileBody.js";
|
|
11
10
|
import { DropdownMobileClose as N } from "../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -16,11 +15,12 @@ import { DropdownMobileInput as L } from "../Dropdown/mobile/DropdownMobileInput
|
|
|
16
15
|
import { DropdownMobileList as R } from "../Dropdown/mobile/DropdownMobileList.js";
|
|
17
16
|
import { DropdownMobileListItem as _ } from "../Dropdown/mobile/DropdownMobileListItem.js";
|
|
18
17
|
import { DropdownMobileLoader as v } from "../Dropdown/mobile/DropdownMobileLoader.js";
|
|
19
|
-
import "../
|
|
20
|
-
import {
|
|
18
|
+
import "../Dropdown/Dropdown.js";
|
|
19
|
+
import { ETextSize as E, EFontType as H } from "../Typography/enums.js";
|
|
21
20
|
import "../Typography/Caption.js";
|
|
22
|
-
import {
|
|
23
|
-
|
|
21
|
+
import { Text as j } from "../Typography/Text.js";
|
|
22
|
+
import "../Typography/Title.js";
|
|
23
|
+
const k = "suggestDropdownMobileBody__b44ecb52", z = "suggestDropdownMobileNoOptionsText__f85e6a8b", g = {
|
|
24
24
|
suggestDropdownMobileBody: k,
|
|
25
25
|
suggestDropdownMobileNoOptionsText: z
|
|
26
26
|
}, po = () => {
|
|
@@ -74,11 +74,11 @@ const k = "suggestDropdownMobileBody__156bf637", z = "suggestDropdownMobileNoOpt
|
|
|
74
74
|
}
|
|
75
75
|
),
|
|
76
76
|
/* @__PURE__ */ e(I, { className: g.suggestDropdownMobileBody, onScroll: D, children: s.length === 0 ? /* @__PURE__ */ e(
|
|
77
|
-
|
|
77
|
+
j,
|
|
78
78
|
{
|
|
79
79
|
className: g.suggestDropdownMobileNoOptionsText,
|
|
80
|
-
type:
|
|
81
|
-
size:
|
|
80
|
+
type: H.PRIMARY,
|
|
81
|
+
size: E.B2,
|
|
82
82
|
tag: "div",
|
|
83
83
|
children: a
|
|
84
84
|
}
|
|
@@ -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-DE8Zvm0w.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-C_9OyUAk.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-DDUEO0k6.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
|