@sberbusiness/triplex-next 0.19.1 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +61 -23
- package/chunks/{AlertProcessSpoiler-CApu9sgV.js → AlertProcessSpoiler-DxZ8QVn2.js} +11 -11
- package/chunks/{CalendarViewItem-CCClPe6W.js → CalendarViewItem-D879SDC1.js} +23 -23
- package/chunks/Card.module--O3Bx82B.js +17 -0
- package/chunks/CheckboxTreeExtended.module-Cw3yb-cF.js +15 -0
- package/chunks/{Chip-D-F5Ccch.js → Chip-M9mPbBOt.js} +9 -9
- package/chunks/Confirm.module-DtBiR4Fo.js +15 -0
- package/chunks/{DropdownListItem-B89w0ZP6.js → DropdownListItem-BdLTF7q1.js} +20 -20
- package/chunks/DropdownMobile.module-PpB3KA4H.js +23 -0
- package/chunks/Footer.module-Z4RIi8JP.js +9 -0
- package/chunks/FormFieldInput-C75omt8Y.js +60 -0
- package/chunks/HeaderLayoutSidebar.module-BJZj3qz4.js +9 -0
- package/chunks/HeaderTabs.module-ykRWLBUI.js +9 -0
- package/chunks/{HeaderTitle.module-F927IkdE.js → HeaderTitle.module-Cg-I_NJG.js} +2 -2
- package/chunks/IslandAccordion.module-DE-xutGt.js +25 -0
- package/chunks/IslandWidgetFooter.module-DpnJPgi0.js +9 -0
- package/chunks/IslandWidgetHeader.module-lf-NGWlm.js +12 -0
- package/chunks/LightBoxContent-BLPx_Tsf.js +56 -0
- package/chunks/LightBoxControls.module-Cbi_wgHX.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-Dbzm6FYI.js +9 -0
- package/chunks/{ListItemControlsButton-CDm9UcL0.js → ListItemControlsButton-0bXNCLYU.js} +9 -9
- package/chunks/ListItemTail.module-DFYWneN6.js +12 -0
- package/chunks/ListMasterFooter.module-CoXWM3Nq.js +10 -0
- package/chunks/ModalWindow.module-DqMffIcE.js +17 -0
- package/chunks/Notification.module-CPSD8BYw.js +20 -0
- package/chunks/Overlay.module-B5Hl3baB.js +18 -0
- package/chunks/Page.module-BbrHHqMK.js +11 -0
- package/chunks/{RightBorderArrow-BUP-gfBp.js → RightBorderArrow-1OX8NAL9.js} +11 -11
- package/chunks/SMSField.module-CPSjUBD-.js +16 -0
- package/chunks/SliderExtendedMarks.module-QNSG8UcN.js +15 -0
- package/chunks/SliderExtendedRail-C_1LnK7I.js +40 -0
- package/chunks/StatusTracker.module-KkpUE8KY.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-B6hhbNqZ.js → SuggestFieldMobileDropdownHint-DNKfDfM3.js} +4 -4
- package/chunks/TableFooter.module-OEvn0oaX.js +14 -0
- package/chunks/TabsExtended.module-B3Ti-48x.js +16 -0
- package/chunks/TabsLine.module-BgCBcRYT.js +21 -0
- package/chunks/TooltipDesktop.module-CC_4-ATz.js +19 -0
- package/chunks/TreeView.module-CmGHGs81.js +9 -0
- package/chunks/{UploadZoneInput-CCOpTzdI.js → UploadZoneInput-CIib3dEF.js} +3 -3
- package/chunks/{constants-BY0--v5J.js → constants-BamiEgAW.js} +7 -7
- package/chunks/{utils-CDZhfAbZ.js → utils-Bt-cuXIX.js} +6 -6
- package/chunks/utils-C5IWf42V.js +24 -0
- package/chunks/{utils-DN-l5mfA.js → utils-d7-rkiPs.js} +6 -6
- package/chunks/utils-hbQGLR7K.js +73 -0
- package/chunks/{vendor-DE8Zvm0w.js → vendor-DaOifQgP.js} +5330 -5331
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +17 -17
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +8 -8
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +12 -12
- package/components/Badge/Badge.js +15 -15
- package/components/Badge/BadgeDot.js +5 -5
- package/components/Badge/components/BadgeContent.js +15 -15
- package/components/Badge/components/BadgePostfix.js +9 -9
- package/components/Badge/components/BadgePrefix.js +2 -2
- package/components/Body/Body.js +4 -4
- package/components/Button/Button.js +26 -26
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +13 -13
- package/components/Button/ButtonDropdownExtended.js +8 -8
- package/components/Button/ButtonIcon.js +13 -13
- 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 +2 -2
- package/components/Checkbox/Checkbox.js +6 -6
- package/components/Checkbox/CheckboxXGroup.js +11 -11
- package/components/Checkbox/CheckboxYGroup.js +9 -9
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +18 -10
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +35 -28
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +7 -7
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +24 -23
- package/components/Chip/ChipDropdownArrow.js +6 -6
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +2 -2
- package/components/Chip/ChipSelect/ChipSelect.js +2 -2
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +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 +135 -135
- package/components/CollapsableTree/components/CollapsableTreeNode.js +2 -2
- package/components/Confirm/Confirm.js +2 -2
- package/components/Confirm/components/ConfirmCloseButton.js +2 -2
- package/components/Confirm/components/ConfirmContent.js +2 -2
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/Confirm/index.js +4 -2
- package/components/DateField/DateField.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +8 -8
- package/components/DateRange/DateRange.js +19 -19
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensCore.js +8 -0
- package/components/DesignTokens/components/Pagination.js +2 -5
- package/components/DesignTokens/types/DesignTokensTypes.js +2 -0
- package/components/Divider/Divider.js +21 -21
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +2 -2
- package/components/Dropdown/desktop/DropdownDesktop.js +19 -19
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +3 -3
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +4 -4
- package/components/Dropdown/mobile/DropdownMobileList.js +14 -21
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +2 -2
- package/components/Ellipsis/Ellipsis.js +6 -6
- package/components/ExpandAnimation/ExpandAnimation.js +23 -23
- 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 +61 -59
- package/components/FormField/FormFieldContext.js +4 -3
- package/components/FormField/components/FormFieldClear.js +2 -2
- package/components/FormField/components/FormFieldCounter.js +3 -3
- package/components/FormField/components/FormFieldDescription.js +5 -5
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +19 -19
- package/components/FormField/components/FormFieldMaskedInput.js +9 -9
- package/components/FormField/components/FormFieldPostfix.js +9 -9
- package/components/FormField/components/FormFieldPrefix.js +8 -8
- package/components/FormField/components/FormFieldTarget.js +31 -29
- package/components/FormField/components/FormFieldTextarea.js +9 -9
- 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 +10 -10
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +7 -7
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +2 -2
- package/components/Island/components/IslandFooter.js +3 -3
- 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 +75 -69
- package/components/IslandWidget/IslandWidget.js +18 -18
- package/components/IslandWidget/components/IslandWidgetBody.js +2 -2
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +8 -8
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +6 -6
- package/components/LightBox/LightBox.js +22 -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 +22 -22
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +24 -24
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- 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/Link/Link.js +30 -30
- package/components/List/List.js +9 -9
- 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 +3 -3
- package/components/List/components/ListItemControls.js +2 -2
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +6 -6
- package/components/List/components/ListItemSelectable.js +15 -15
- package/components/List/components/ListItemTable.js +6 -6
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +10 -10
- 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 +6 -6
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +2 -2
- package/components/ListMaster/components/SelectionControls.js +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +13 -13
- package/components/Loader/LoaderSmall/LoaderSmall.js +9 -9
- package/components/LoaderScreen/LoaderScreen.js +12 -12
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +7 -7
- package/components/ModalWindow/ModalWindow.js +12 -12
- package/components/ModalWindow/components/ModalWindowBody.js +5 -5
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +3 -3
- package/components/ModalWindow/components/ModalWindowViewManager.js +5 -5
- 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 +4 -4
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +6 -6
- 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 +10 -10
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +1 -1
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +24 -16
- package/components/Pagination/components/PaginationPageEllipsis.js +13 -9
- package/components/Pagination/components/PaginationSelect.js +9 -9
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Portal/index.js +5 -0
- package/components/Radio/Radio.js +12 -12
- package/components/Radio/RadioXGroup.js +11 -11
- 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 +11 -11
- package/components/SegmentedControl/SegmentedControlSegment.js +12 -12
- package/components/SelectExtendedField/SelectExtendedField.js +2 -2
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +71 -67
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +8 -8
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +27 -27
- 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 +9 -9
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +29 -29
- package/components/SmallInput/SmallInput.js +7 -7
- package/components/Spoiler/Spoiler.js +18 -18
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +2 -2
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +2 -2
- package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
- package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
- package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
- package/components/StatusTracker/components/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/Step/Step.js +11 -11
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +2 -2
- package/components/Stepper/StepperExtended.js +5 -5
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +3 -3
- package/components/Suggest/SuggestMobileDropdownContent.js +20 -19
- package/components/Suggest/useSuggest.js +1 -1
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +141 -137
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +59 -55
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +53 -49
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +75 -67
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +15 -15
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +13 -13
- package/components/Table/NoColumns.js +4 -4
- 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 +2 -2
- 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 +2 -2
- package/components/Table/TabsLinePanelLinks.js +8 -8
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +19 -19
- 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 +120 -156
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +5 -5
- package/components/Tag/Tag.js +33 -33
- package/components/TagColor/TagColor.js +21 -19
- package/components/TagGroup/TagGroup.js +8 -8
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +4 -4
- package/components/ThemeProvider/components/ThemeProviderView.js +3 -3
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +4 -4
- 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/Tooltip/index.js +13 -5
- package/components/TopOverlay/TopOverlay.js +36 -36
- 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 +15 -15
- package/components/Typography/Text.js +23 -23
- package/components/Typography/Title.js +16 -16
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +3 -3
- package/components/UnorderedList/UnorderedListItem.js +6 -6
- 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 +574 -560
- package/generated/refTokenTypes.js +1 -1
- package/helpers/less/colors.less +2 -0
- package/index.d.ts +231 -68
- package/index.js +618 -604
- package/package.json +5 -1
- package/styles/triplex-next.css +547 -546
- package/utils/amountUtils.js +1 -1
- package/chunks/Card.module-D48lssVF.js +0 -17
- package/chunks/CheckboxTreeExtended.module-BLtvkZsi.js +0 -14
- package/chunks/Confirm.module-CvrGGvLz.js +0 -15
- package/chunks/DropdownMobile.module-CEbQqs2X.js +0 -23
- package/chunks/Footer.module-WHmnrQeq.js +0 -9
- package/chunks/FormFieldInput-CC-nRhb4.js +0 -60
- package/chunks/HeaderLayoutSidebar.module-Cnl-O6HE.js +0 -9
- package/chunks/HeaderTabs.module-Nz927HlU.js +0 -9
- package/chunks/IslandAccordion.module-CFCDu7K5.js +0 -25
- package/chunks/IslandWidgetFooter.module--vNV-XXe.js +0 -9
- package/chunks/IslandWidgetHeader.module-BhnBnkZk.js +0 -12
- package/chunks/LightBoxContent-CWI11Mkg.js +0 -56
- package/chunks/LightBoxControls.module-Kv0-R_GW.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-DGwWDaQC.js +0 -8
- package/chunks/ListItemTail.module-DZ2CIKA4.js +0 -12
- package/chunks/ListMasterFooter.module-DMTXvddx.js +0 -10
- package/chunks/ModalWindow.module-CmKHP-l0.js +0 -17
- package/chunks/Notification.module-CtiA4KeZ.js +0 -20
- package/chunks/Overlay.module-BKGmOe22.js +0 -18
- package/chunks/Page.module-BjtGL1n5.js +0 -11
- package/chunks/SMSField.module-BM5o6WPK.js +0 -16
- package/chunks/SliderExtendedMarks.module-C4eA55N-.js +0 -15
- package/chunks/SliderExtendedRail-BtDNU2QU.js +0 -40
- package/chunks/StatusTracker.module-jKCRT7JR.js +0 -24
- package/chunks/TableFooter.module-BIxc-uz_.js +0 -14
- package/chunks/TabsExtended.module-CWXgdzlB.js +0 -16
- package/chunks/TabsLine.module-BQ_DsA4u.js +0 -21
- package/chunks/TooltipDesktop.module-DMqxtrmh.js +0 -19
- package/chunks/TreeView.module-DwpFo7Sm.js +0 -9
- package/chunks/utils-BD4-x_pW.js +0 -24
- package/chunks/utils-CIrM2Shg.js +0 -73
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { useCallback as h } from "react";
|
|
3
|
+
import { Portal as u } from "../../Portal/Portal.js";
|
|
2
4
|
import "../../Dropdown/DropdownListContext.js";
|
|
3
|
-
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
4
|
-
import { DropdownList as
|
|
5
|
-
import { D as
|
|
5
|
+
import { DropdownDesktop as x } from "../../Dropdown/desktop/DropdownDesktop.js";
|
|
6
|
+
import { DropdownList as L } from "../../Dropdown/desktop/DropdownList.js";
|
|
7
|
+
import { D as O } from "../../../chunks/DropdownListItem-BdLTF7q1.js";
|
|
6
8
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
7
9
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
8
10
|
import "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -14,63 +16,65 @@ import "../../Dropdown/mobile/DropdownMobileList.js";
|
|
|
14
16
|
import "../../Dropdown/mobile/DropdownMobileListItem.js";
|
|
15
17
|
import "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
16
18
|
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
17
|
-
import
|
|
18
|
-
import { EVENT_KEY_CODES as
|
|
19
|
-
import { DataTestId as
|
|
20
|
-
const
|
|
21
|
-
size:
|
|
22
|
-
value:
|
|
23
|
-
options:
|
|
24
|
-
targetRef:
|
|
25
|
-
listId:
|
|
26
|
-
dataTestId:
|
|
27
|
-
opened:
|
|
28
|
-
listLoading:
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
...
|
|
19
|
+
import "../../Dropdown/Dropdown.js";
|
|
20
|
+
import { EVENT_KEY_CODES as T } from "../../../utils/keyboard.js";
|
|
21
|
+
import { DataTestId as c } from "../../../consts/DataTestId.js";
|
|
22
|
+
const y = [T.ENTER], z = ({
|
|
23
|
+
size: l,
|
|
24
|
+
value: m,
|
|
25
|
+
options: d,
|
|
26
|
+
targetRef: D,
|
|
27
|
+
listId: E,
|
|
28
|
+
dataTestId: t,
|
|
29
|
+
opened: s,
|
|
30
|
+
listLoading: e,
|
|
31
|
+
onMouseDown: o,
|
|
32
|
+
onSelect: g,
|
|
33
|
+
onScrollEnd: p,
|
|
34
|
+
renderList: f,
|
|
35
|
+
renderListItem: n,
|
|
36
|
+
...S
|
|
35
37
|
}) => {
|
|
36
|
-
const
|
|
37
|
-
|
|
38
|
-
|
|
38
|
+
const a = f === void 0 ? L : f, w = n === void 0 ? O : n, C = h(
|
|
39
|
+
(r) => {
|
|
40
|
+
r.preventDefault(), o == null || o(r);
|
|
41
|
+
},
|
|
42
|
+
[o]
|
|
43
|
+
), $ = h(
|
|
44
|
+
(r) => {
|
|
45
|
+
if (p === void 0 || e)
|
|
46
|
+
return;
|
|
47
|
+
const { scrollHeight: k, scrollTop: _, clientHeight: b } = r.currentTarget;
|
|
48
|
+
k - _ - b < 1 && p();
|
|
49
|
+
},
|
|
50
|
+
[p, e]
|
|
51
|
+
);
|
|
52
|
+
return /* @__PURE__ */ i(u, { container: document.body, children: /* @__PURE__ */ i(
|
|
53
|
+
x,
|
|
39
54
|
{
|
|
40
|
-
size:
|
|
41
|
-
targetRef:
|
|
42
|
-
"data-test-id":
|
|
43
|
-
opened:
|
|
55
|
+
size: l,
|
|
56
|
+
targetRef: D,
|
|
57
|
+
"data-test-id": t && `${t}${c.Suggest.dropdown}`,
|
|
58
|
+
opened: s,
|
|
59
|
+
...S,
|
|
44
60
|
fixedWidth: !0,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
S,
|
|
61
|
+
onMouseDown: C,
|
|
62
|
+
children: /* @__PURE__ */ i(a, { id: E, size: l, dropdownOpened: s, loading: e, onScroll: $, children: d == null ? void 0 : d.map((r) => /* @__PURE__ */ i(
|
|
63
|
+
w,
|
|
49
64
|
{
|
|
50
|
-
id:
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
children:
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
keyCodesForSelection: _,
|
|
60
|
-
"data-test-id": r && `${r}${d.Suggest.dropdown}${d.Dropdown.listItem}`,
|
|
61
|
-
selected: o.id === (t == null ? void 0 : t.id),
|
|
62
|
-
onMouseDown: (u) => u.preventDefault(),
|
|
63
|
-
onSelect: () => f(o),
|
|
64
|
-
children: o.content || o.label
|
|
65
|
-
},
|
|
66
|
-
o.id
|
|
67
|
-
))
|
|
68
|
-
}
|
|
69
|
-
)
|
|
65
|
+
id: r.id,
|
|
66
|
+
keyCodesForSelection: y,
|
|
67
|
+
"data-test-id": t && `${t}${c.Suggest.dropdown}${c.Dropdown.listItem}`,
|
|
68
|
+
selected: r.id === (m == null ? void 0 : m.id),
|
|
69
|
+
onSelect: () => g(r),
|
|
70
|
+
children: r.content || r.label
|
|
71
|
+
},
|
|
72
|
+
r.id
|
|
73
|
+
)) })
|
|
70
74
|
}
|
|
71
|
-
);
|
|
75
|
+
) });
|
|
72
76
|
};
|
|
73
77
|
export {
|
|
74
|
-
|
|
78
|
+
z as SuggestFieldDesktopDropdown
|
|
75
79
|
};
|
|
76
80
|
//# sourceMappingURL=SuggestFieldDesktopDropdown.js.map
|
|
@@ -2,7 +2,7 @@ import { SuggestFieldDesktopDropdown as r } from "./desktop/SuggestFieldDesktopD
|
|
|
2
2
|
import { SuggestFieldDesktop as g } from "./desktop/SuggestFieldDesktop.js";
|
|
3
3
|
import { SuggestFieldMobile as i } from "./mobile/SuggestFieldMobile.js";
|
|
4
4
|
import { SuggestFieldMobileDropdown as l } from "./mobile/SuggestFieldMobileDropdown.js";
|
|
5
|
-
import { S } from "../../chunks/SuggestFieldMobileDropdownHint-
|
|
5
|
+
import { S } from "../../chunks/SuggestFieldMobileDropdownHint-DNKfDfM3.js";
|
|
6
6
|
import { SuggestField as m } from "./SuggestField.js";
|
|
7
7
|
export {
|
|
8
8
|
m as SuggestField,
|
|
@@ -1,89 +1,93 @@
|
|
|
1
1
|
import { jsxs as u, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { EComponentSize as
|
|
4
|
-
import { SuggestFieldMobileDropdown as
|
|
5
|
-
import { TextFieldBase as
|
|
6
|
-
import { DataTestId as
|
|
2
|
+
import R, { useState as j, useRef as F, useEffect as v, useCallback as B } from "react";
|
|
3
|
+
import { EComponentSize as I } from "../../../enums/EComponentSize.js";
|
|
4
|
+
import { SuggestFieldMobileDropdown as M } from "./SuggestFieldMobileDropdown.js";
|
|
5
|
+
import { TextFieldBase as $ } from "../../TextField/TextFieldBase.js";
|
|
6
|
+
import { DataTestId as y } from "../../../consts/DataTestId.js";
|
|
7
7
|
import "../../FormField/FormField.js";
|
|
8
8
|
import "../../FormField/components/FormFieldDescription.js";
|
|
9
9
|
import "../../FormField/components/FormFieldCounter.js";
|
|
10
10
|
import "../../FormField/components/FormFieldLabel.js";
|
|
11
|
-
import { FormFieldClear as
|
|
11
|
+
import { FormFieldClear as A } from "../../FormField/components/FormFieldClear.js";
|
|
12
12
|
import "../../FormField/components/FormFieldTarget.js";
|
|
13
|
-
import { F as
|
|
13
|
+
import { F as G } from "../../../chunks/FormFieldInput-C75omt8Y.js";
|
|
14
14
|
import "../../FormField/components/FormFieldMaskedInput.js";
|
|
15
15
|
import "../../FormField/components/FormFieldPostfix.js";
|
|
16
16
|
import "../../FormField/components/FormFieldPrefix.js";
|
|
17
17
|
import "../../FormField/components/FormFieldTextarea.js";
|
|
18
|
-
import { LoaderSmall as
|
|
19
|
-
import { ELoaderSmallTheme as
|
|
18
|
+
import { LoaderSmall as N } from "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
19
|
+
import { ELoaderSmallTheme as T } from "../../Loader/LoaderSmall/enum.js";
|
|
20
20
|
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
21
|
-
import "../../../chunks/SuggestFieldMobileDropdownHint-
|
|
22
|
-
const
|
|
21
|
+
import "../../../chunks/SuggestFieldMobileDropdownHint-DNKfDfM3.js";
|
|
22
|
+
const lo = ({
|
|
23
23
|
value: r,
|
|
24
|
-
options:
|
|
25
|
-
size: n =
|
|
26
|
-
placeholder:
|
|
24
|
+
options: b,
|
|
25
|
+
size: n = I.LG,
|
|
26
|
+
placeholder: l,
|
|
27
27
|
"data-test-id": m,
|
|
28
|
-
postfix:
|
|
29
|
-
tooltipHint:
|
|
30
|
-
loading:
|
|
28
|
+
postfix: x,
|
|
29
|
+
tooltipHint: S,
|
|
30
|
+
loading: p,
|
|
31
31
|
dropdownListLoading: g,
|
|
32
32
|
clearInputOnFocus: w,
|
|
33
33
|
onFilter: D,
|
|
34
34
|
onSelect: O,
|
|
35
|
-
onClear:
|
|
35
|
+
onClear: a,
|
|
36
36
|
onScrollEnd: h,
|
|
37
|
-
renderInput:
|
|
38
|
-
inputProps:
|
|
39
|
-
...
|
|
37
|
+
renderInput: c,
|
|
38
|
+
inputProps: o,
|
|
39
|
+
...k
|
|
40
40
|
}) => {
|
|
41
|
-
const [
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}, [
|
|
45
|
-
const
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
41
|
+
const [e, s] = j(!1), i = F(null), d = F(!1), C = c === void 0 ? G : c;
|
|
42
|
+
v(() => {
|
|
43
|
+
d.current && !e && i.current && i.current.scrollIntoView({ block: "center" }), d.current = e;
|
|
44
|
+
}, [e]);
|
|
45
|
+
const E = B(
|
|
46
|
+
(L) => {
|
|
47
|
+
var f;
|
|
48
|
+
s(!0), (f = o.onFocus) == null || f.call(o, L);
|
|
49
|
+
},
|
|
50
|
+
[o]
|
|
51
|
+
);
|
|
49
52
|
return /* @__PURE__ */ u(
|
|
50
|
-
|
|
53
|
+
$,
|
|
51
54
|
{
|
|
52
55
|
"data-test-id": m,
|
|
53
56
|
size: n,
|
|
54
|
-
postfix: /* @__PURE__ */ u(
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
57
|
+
postfix: /* @__PURE__ */ u(R.Fragment, { children: [
|
|
58
|
+
a !== void 0 && /* @__PURE__ */ t(A, { onClick: a }),
|
|
59
|
+
p && /* @__PURE__ */ t(N, { theme: T.BRAND, size: n }),
|
|
60
|
+
x
|
|
58
61
|
] }),
|
|
59
|
-
...
|
|
62
|
+
...k,
|
|
60
63
|
ref: i,
|
|
61
64
|
children: [
|
|
62
65
|
/* @__PURE__ */ t(
|
|
63
|
-
|
|
66
|
+
C,
|
|
64
67
|
{
|
|
65
68
|
value: r ? r.label : "",
|
|
66
|
-
placeholder:
|
|
69
|
+
placeholder: l,
|
|
67
70
|
role: "combobox",
|
|
68
|
-
"aria-
|
|
69
|
-
"
|
|
70
|
-
|
|
71
|
+
"aria-autocomplete": "list",
|
|
72
|
+
"aria-expanded": e,
|
|
73
|
+
"data-test-id": m && `${m}${y.Suggest.input}`,
|
|
74
|
+
...o,
|
|
71
75
|
readOnly: !0,
|
|
72
|
-
onFocus:
|
|
76
|
+
onFocus: E
|
|
73
77
|
}
|
|
74
78
|
),
|
|
75
79
|
/* @__PURE__ */ t(
|
|
76
|
-
|
|
80
|
+
M,
|
|
77
81
|
{
|
|
78
82
|
value: r,
|
|
79
|
-
options:
|
|
80
|
-
placeholder:
|
|
81
|
-
tooltipHint:
|
|
82
|
-
opened:
|
|
83
|
-
loading:
|
|
83
|
+
options: b,
|
|
84
|
+
placeholder: l,
|
|
85
|
+
tooltipHint: S,
|
|
86
|
+
opened: e,
|
|
87
|
+
loading: p,
|
|
84
88
|
dropdownListLoading: g,
|
|
85
89
|
clearInputOnFocus: w,
|
|
86
|
-
setOpened:
|
|
90
|
+
setOpened: s,
|
|
87
91
|
onFilter: D,
|
|
88
92
|
onSelect: O,
|
|
89
93
|
onScrollEnd: h
|
|
@@ -94,6 +98,6 @@ const no = ({
|
|
|
94
98
|
);
|
|
95
99
|
};
|
|
96
100
|
export {
|
|
97
|
-
|
|
101
|
+
lo as SuggestFieldMobile
|
|
98
102
|
};
|
|
99
103
|
//# sourceMappingURL=SuggestFieldMobile.js.map
|
|
@@ -1,100 +1,108 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as t, jsxs as w, Fragment as D } from "react/jsx-runtime";
|
|
2
|
+
import q, { useState as M, useRef as p, useCallback as i } from "react";
|
|
3
3
|
import "../../Dropdown/DropdownListContext.js";
|
|
4
4
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
5
5
|
import "../../Dropdown/desktop/DropdownList.js";
|
|
6
|
-
import "../../../chunks/DropdownListItem-
|
|
6
|
+
import "../../../chunks/DropdownListItem-BdLTF7q1.js";
|
|
7
7
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
8
|
-
import { DropdownMobileBody as
|
|
9
|
-
import { DropdownMobileClose as
|
|
8
|
+
import { DropdownMobileBody as z } from "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
9
|
+
import { DropdownMobileClose as A } from "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
10
10
|
import "../../Dropdown/mobile/DropdownMobileFooter.js";
|
|
11
|
-
import { DropdownMobileHeader as
|
|
11
|
+
import { DropdownMobileHeader as G } from "../../Dropdown/mobile/DropdownMobileHeader.js";
|
|
12
12
|
import "../../Dropdown/mobile/DropdownMobileInner.js";
|
|
13
|
-
import { DropdownMobileInput as
|
|
14
|
-
import { DropdownMobileList as
|
|
15
|
-
import { DropdownMobileListItem as
|
|
16
|
-
import { DropdownMobileLoader as
|
|
17
|
-
import { Dropdown as
|
|
18
|
-
import { s as
|
|
19
|
-
const
|
|
13
|
+
import { DropdownMobileInput as J } from "../../Dropdown/mobile/DropdownMobileInput.js";
|
|
14
|
+
import { DropdownMobileList as K } from "../../Dropdown/mobile/DropdownMobileList.js";
|
|
15
|
+
import { DropdownMobileListItem as L } from "../../Dropdown/mobile/DropdownMobileListItem.js";
|
|
16
|
+
import { DropdownMobileLoader as Q } from "../../Dropdown/mobile/DropdownMobileLoader.js";
|
|
17
|
+
import { Dropdown as U } from "../../Dropdown/Dropdown.js";
|
|
18
|
+
import { s as W, S as X } from "../../../chunks/SuggestFieldMobileDropdownHint-DNKfDfM3.js";
|
|
19
|
+
const Y = ({
|
|
20
20
|
value: o,
|
|
21
|
-
options:
|
|
22
|
-
placeholder:
|
|
23
|
-
tooltipHint:
|
|
24
|
-
opened:
|
|
25
|
-
loading:
|
|
26
|
-
dropdownListLoading:
|
|
27
|
-
clearInputOnFocus:
|
|
28
|
-
setOpened:
|
|
29
|
-
onSelect:
|
|
30
|
-
onFilter:
|
|
31
|
-
onScrollEnd:
|
|
32
|
-
},
|
|
33
|
-
const [
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
},
|
|
45
|
-
if (
|
|
21
|
+
options: C,
|
|
22
|
+
placeholder: F,
|
|
23
|
+
tooltipHint: h,
|
|
24
|
+
opened: R,
|
|
25
|
+
loading: a,
|
|
26
|
+
dropdownListLoading: n,
|
|
27
|
+
clearInputOnFocus: b,
|
|
28
|
+
setOpened: e,
|
|
29
|
+
onSelect: l,
|
|
30
|
+
onFilter: g,
|
|
31
|
+
onScrollEnd: c
|
|
32
|
+
}, B) => {
|
|
33
|
+
const [d, s] = M((o == null ? void 0 : o.label) || ""), [m, S] = M(o);
|
|
34
|
+
(o == null ? void 0 : o.id) !== (m == null ? void 0 : m.id) && (S(o), s((o == null ? void 0 : o.label) || ""));
|
|
35
|
+
const f = p(!1), y = p(null), I = p(null), k = i(() => {
|
|
36
|
+
s(b ? "" : (o == null ? void 0 : o.label) || "");
|
|
37
|
+
}, [b, o == null ? void 0 : o.label]), x = i(
|
|
38
|
+
(r) => {
|
|
39
|
+
s(r.target.value), g(r.target.value);
|
|
40
|
+
},
|
|
41
|
+
[g]
|
|
42
|
+
), H = i(() => {
|
|
43
|
+
e(!1);
|
|
44
|
+
}, [e]), V = i(() => {
|
|
45
|
+
if (f.current) {
|
|
46
|
+
f.current = !1;
|
|
46
47
|
return;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
|
|
48
|
+
}
|
|
49
|
+
d.length === 0 && o !== void 0 && l(void 0);
|
|
50
|
+
}, [d.length, l, o]), j = i(
|
|
51
|
+
(r) => {
|
|
52
|
+
if (c === void 0 || n)
|
|
53
|
+
return;
|
|
54
|
+
const { scrollHeight: P, scrollTop: T, clientHeight: N } = r.currentTarget;
|
|
55
|
+
P - T - N < 1 && c();
|
|
56
|
+
},
|
|
57
|
+
[c, n]
|
|
58
|
+
);
|
|
59
|
+
return /* @__PURE__ */ t(
|
|
60
|
+
U,
|
|
52
61
|
{
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
targetRef: u,
|
|
58
|
-
ref: M,
|
|
62
|
+
opened: R,
|
|
63
|
+
setOpened: e,
|
|
64
|
+
targetRef: I,
|
|
65
|
+
onClose: V,
|
|
59
66
|
mobileViewProps: {
|
|
60
|
-
children: /* @__PURE__ */
|
|
61
|
-
/* @__PURE__ */
|
|
62
|
-
|
|
67
|
+
children: /* @__PURE__ */ w(D, { children: [
|
|
68
|
+
/* @__PURE__ */ t(
|
|
69
|
+
G,
|
|
63
70
|
{
|
|
64
|
-
controlButtons: /* @__PURE__ */
|
|
65
|
-
|
|
66
|
-
/* @__PURE__ */
|
|
71
|
+
controlButtons: /* @__PURE__ */ w(D, { children: [
|
|
72
|
+
a && /* @__PURE__ */ t(Q, {}),
|
|
73
|
+
/* @__PURE__ */ t(A, { onClick: H })
|
|
67
74
|
] }),
|
|
68
|
-
children: /* @__PURE__ */
|
|
69
|
-
|
|
75
|
+
children: /* @__PURE__ */ t(
|
|
76
|
+
J,
|
|
70
77
|
{
|
|
71
|
-
value:
|
|
72
|
-
placeholder:
|
|
78
|
+
value: d,
|
|
79
|
+
placeholder: F,
|
|
73
80
|
autoFocus: !0,
|
|
74
|
-
onFocus:
|
|
75
|
-
onChange:
|
|
81
|
+
onFocus: k,
|
|
82
|
+
onChange: x
|
|
76
83
|
}
|
|
77
84
|
)
|
|
78
85
|
}
|
|
79
86
|
),
|
|
80
|
-
/* @__PURE__ */
|
|
81
|
-
|
|
87
|
+
/* @__PURE__ */ t(z, { className: W.suggestFieldMobileBody, onScroll: j, children: h ? /* @__PURE__ */ t(X, { children: h }) : /* @__PURE__ */ t(K, { loading: n, ref: y, children: C.map((r) => /* @__PURE__ */ t(
|
|
88
|
+
L,
|
|
82
89
|
{
|
|
83
90
|
id: r.id,
|
|
84
91
|
selected: r.id === (o == null ? void 0 : o.id),
|
|
85
92
|
onSelect: () => {
|
|
86
|
-
|
|
93
|
+
f.current = !0, l(r), e(!1);
|
|
87
94
|
},
|
|
88
95
|
children: r.content || r.label
|
|
89
96
|
},
|
|
90
97
|
r.id
|
|
91
98
|
)) }) })
|
|
92
99
|
] })
|
|
93
|
-
}
|
|
100
|
+
},
|
|
101
|
+
ref: B
|
|
94
102
|
}
|
|
95
103
|
);
|
|
96
|
-
},
|
|
104
|
+
}, po = q.forwardRef(Y);
|
|
97
105
|
export {
|
|
98
|
-
|
|
106
|
+
po as SuggestFieldMobileDropdown
|
|
99
107
|
};
|
|
100
108
|
//# sourceMappingURL=SuggestFieldMobileDropdown.js.map
|
|
@@ -3,7 +3,7 @@ import "../../Typography/enums.js";
|
|
|
3
3
|
import "../../Typography/Caption.js";
|
|
4
4
|
import "../../Typography/Text.js";
|
|
5
5
|
import "../../Typography/Title.js";
|
|
6
|
-
import { S as d } from "../../../chunks/SuggestFieldMobileDropdownHint-
|
|
6
|
+
import { S as d } from "../../../chunks/SuggestFieldMobileDropdownHint-DNKfDfM3.js";
|
|
7
7
|
export {
|
|
8
8
|
d as SuggestFieldMobileDropdownHint
|
|
9
9
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SuggestFieldMobile as r } from "./SuggestFieldMobile.js";
|
|
2
2
|
import { SuggestFieldMobileDropdown as t } from "./SuggestFieldMobileDropdown.js";
|
|
3
|
-
import { S as l } from "../../../chunks/SuggestFieldMobileDropdownHint-
|
|
3
|
+
import { S as l } from "../../../chunks/SuggestFieldMobileDropdownHint-DNKfDfM3.js";
|
|
4
4
|
export {
|
|
5
5
|
r as SuggestFieldMobile,
|
|
6
6
|
t as SuggestFieldMobileDropdown,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as j, jsx as A } from "react/jsx-runtime";
|
|
2
|
-
import z, { useState as
|
|
3
|
-
import { c as g } from "../../chunks/vendor-
|
|
4
|
-
const H = "
|
|
2
|
+
import z, { useState as _, useRef as u, useEffect as M, useImperativeHandle as W } from "react";
|
|
3
|
+
import { c as g } from "../../chunks/vendor-DaOifQgP.js";
|
|
4
|
+
const H = "swipeableArea__79b3f025", V = "content__10370d1e", $ = "disableScroll__c031ae2f", k = "disablePointerEvents__65743ac0", q = "swipeAnimationFinish__f3792f72", G = "leftContent__815b6d98", J = "rightContent__16480a16", s = {
|
|
5
5
|
swipeableArea: H,
|
|
6
6
|
content: V,
|
|
7
7
|
disableScroll: $,
|
|
@@ -9,9 +9,9 @@ const H = "swipeableArea__e9faba7b", V = "content__a0aeaf1e", $ = "disableScroll
|
|
|
9
9
|
swipeAnimationFinish: q,
|
|
10
10
|
leftContent: G,
|
|
11
11
|
rightContent: J
|
|
12
|
-
}, p = 24,
|
|
12
|
+
}, p = 24, E = s.swipeAnimationFinish, K = s.disableScroll, Q = s.disablePointerEvents, N = { clientX: 0, clientY: 0 }, U = z.forwardRef(
|
|
13
13
|
({ children: L, className: I, leftSwipeableArea: m, rightSwipeableArea: C, ...y }, B) => {
|
|
14
|
-
const [S, a] =
|
|
14
|
+
const [S, a] = _(!1), [l, d] = _(), [o, e] = _(0), i = u(null), r = u(null), n = u(0), h = u(N), w = u(null), X = () => {
|
|
15
15
|
a(!0);
|
|
16
16
|
const t = n.current - o;
|
|
17
17
|
n.current === 0 ? t > 0 ? e(
|
|
@@ -23,14 +23,14 @@ const H = "swipeableArea__e9faba7b", V = "content__a0aeaf1e", $ = "disableScroll
|
|
|
23
23
|
) : n.current < 0 && t < 0 && e(
|
|
24
24
|
Math.abs(t) > p ? 0 : -r.current.getBoundingClientRect().width
|
|
25
25
|
);
|
|
26
|
-
},
|
|
27
|
-
h.current = N, d(void 0), document.removeEventListener("touchend",
|
|
26
|
+
}, R = () => {
|
|
27
|
+
h.current = N, d(void 0), document.removeEventListener("touchend", R);
|
|
28
28
|
};
|
|
29
29
|
M(() => {
|
|
30
30
|
!l && o !== n.current && X();
|
|
31
31
|
}, [l]);
|
|
32
32
|
const x = (t) => {
|
|
33
|
-
h.current = { clientX: t.touches[0].clientX, clientY: t.touches[0].clientY }, n.current = o, document.addEventListener("touchend",
|
|
33
|
+
h.current = { clientX: t.touches[0].clientX, clientY: t.touches[0].clientY }, n.current = o, document.addEventListener("touchend", R);
|
|
34
34
|
}, O = (t) => {
|
|
35
35
|
if (t.touches.length != 1)
|
|
36
36
|
return;
|
|
@@ -60,7 +60,7 @@ const H = "swipeableArea__e9faba7b", V = "content__a0aeaf1e", $ = "disableScroll
|
|
|
60
60
|
};
|
|
61
61
|
return document.addEventListener("touchstart", t), () => document.removeEventListener("touchstart", t);
|
|
62
62
|
}, []);
|
|
63
|
-
const
|
|
63
|
+
const b = () => {
|
|
64
64
|
i.current && (a(!0), e(i.current.getBoundingClientRect().width));
|
|
65
65
|
}, T = () => {
|
|
66
66
|
r.current && (a(!0), e(-r.current.getBoundingClientRect().width));
|
|
@@ -77,23 +77,23 @@ const H = "swipeableArea__e9faba7b", V = "content__a0aeaf1e", $ = "disableScroll
|
|
|
77
77
|
T();
|
|
78
78
|
},
|
|
79
79
|
swipeRight: () => {
|
|
80
|
-
|
|
80
|
+
b();
|
|
81
81
|
}
|
|
82
82
|
}),
|
|
83
|
-
[v, T,
|
|
83
|
+
[v, T, b]
|
|
84
84
|
), /* @__PURE__ */ j(
|
|
85
85
|
"div",
|
|
86
86
|
{
|
|
87
87
|
className: g(s.swipeableArea, I),
|
|
88
88
|
...y,
|
|
89
|
-
"data-tx": "0.
|
|
89
|
+
"data-tx": "0.21.0",
|
|
90
90
|
ref: w,
|
|
91
91
|
children: [
|
|
92
92
|
typeof m < "u" ? /* @__PURE__ */ A(
|
|
93
93
|
"div",
|
|
94
94
|
{
|
|
95
95
|
className: g(s.leftContent, {
|
|
96
|
-
[
|
|
96
|
+
[E]: S
|
|
97
97
|
}),
|
|
98
98
|
ref: i,
|
|
99
99
|
style: { opacity: Y() },
|
|
@@ -104,7 +104,7 @@ const H = "swipeableArea__e9faba7b", V = "content__a0aeaf1e", $ = "disableScroll
|
|
|
104
104
|
"div",
|
|
105
105
|
{
|
|
106
106
|
className: g(s.rightContent, {
|
|
107
|
-
[
|
|
107
|
+
[E]: S
|
|
108
108
|
}),
|
|
109
109
|
ref: r,
|
|
110
110
|
style: { opacity: P() },
|
|
@@ -117,7 +117,7 @@ const H = "swipeableArea__e9faba7b", V = "content__a0aeaf1e", $ = "disableScroll
|
|
|
117
117
|
className: g(s.content, {
|
|
118
118
|
[Q]: o !== 0,
|
|
119
119
|
[K]: l === "horizontal",
|
|
120
|
-
[
|
|
120
|
+
[E]: S
|
|
121
121
|
}),
|
|
122
122
|
onTouchStart: x,
|
|
123
123
|
onTouchMove: O,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { c as r } from "../../chunks/vendor-
|
|
3
|
-
const s = "
|
|
2
|
+
import { c as r } from "../../chunks/vendor-DaOifQgP.js";
|
|
3
|
+
const s = "filterPanel__66189eb3", i = {
|
|
4
4
|
filterPanel: s
|
|
5
5
|
}, n = ({ children: e, className: l, ...t }) => /* @__PURE__ */ a(
|
|
6
6
|
"div",
|
|
7
7
|
{
|
|
8
8
|
className: r(i.filterPanel, l),
|
|
9
9
|
...t,
|
|
10
|
-
"data-tx": "0.
|
|
10
|
+
"data-tx": "0.21.0",
|
|
11
11
|
children: e
|
|
12
12
|
}
|
|
13
13
|
);
|