@sberbusiness/triplex-next 1.13.0 → 1.15.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-BHAU8N38.js +39 -0
- package/chunks/{CalendarViewItem-h3bxNCuW.js → CalendarViewItem-B0gKGk70.js} +25 -25
- package/chunks/Card.module-eeYi3ItS.js +17 -0
- package/chunks/CheckboxTreeExtended.module-CIXQDBeU.js +14 -0
- package/chunks/{Chip-DaZ9JtW-.js → Chip-L-EcpRzH.js} +17 -17
- package/chunks/Confirm.module-BgO9xuES.js +15 -0
- package/chunks/{DropdownListItem-D52nAe3Z.js → DropdownListItem-khM2CJWN.js} +13 -13
- package/chunks/DropdownMobile.module-Bya5zssZ.js +23 -0
- package/chunks/Footer.module-Bxx6jElq.js +9 -0
- package/chunks/FormFieldInput-D2EXurFF.js +60 -0
- package/chunks/HeaderLayoutSidebar.module-C5m0I2xF.js +9 -0
- package/chunks/HeaderTabs.module-C3-8xyq-.js +9 -0
- package/chunks/{HeaderTitle.module-Bvdyra1H.js → HeaderTitle.module-Dmmc04q6.js} +2 -2
- package/chunks/IslandAccordion.module-Cqv_yxiK.js +25 -0
- package/chunks/IslandWidgetFooter.module-PaNLvdB0.js +9 -0
- package/chunks/IslandWidgetHeader.module-D_ZngNjX.js +12 -0
- package/chunks/{LightBoxContent-BXDZ6C5k.js → LightBoxContent-CjX1eN8g.js} +12 -12
- package/chunks/LightBoxControls.module-D7BQsPK3.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-DiEMyDDt.js +8 -0
- package/chunks/{ListItemControlsButton-BHqWsm74.js → ListItemControlsButton-OLK_OaQU.js} +11 -11
- package/chunks/ListItemTail.module-DxIG-P_H.js +12 -0
- package/chunks/ListMasterFooter.module-DPZnWvfb.js +10 -0
- package/chunks/ModalWindow.module-D4shxCeu.js +17 -0
- package/chunks/Notification.module-B29_MBTz.js +21 -0
- package/chunks/Overlay.module-BJJ7PDLJ.js +18 -0
- package/chunks/Page.module-CzfG8baM.js +11 -0
- package/chunks/{RightBorderArrow-BomPWl1J.js → RightBorderArrow-DbiOM5xn.js} +12 -12
- package/chunks/SMSField.module-BDZwT1N-.js +16 -0
- package/chunks/SliderExtendedMarks.module-Bhhqk5er.js +15 -0
- package/chunks/{SliderExtendedRail-D96vBE1q.js → SliderExtendedRail-CVnVXjG6.js} +10 -10
- package/chunks/StatusTracker.module-CWpv3e3x.js +24 -0
- package/chunks/SuggestFieldMobileDropdownHint-DWutbDoW.js +14 -0
- package/chunks/TableFooter.module-NX6NNBfH.js +14 -0
- package/chunks/TabsExtended.module-Bga_JXqh.js +16 -0
- package/chunks/TabsLine.module-BMBZODMz.js +21 -0
- package/chunks/TooltipDesktop.module-tqRh40wY.js +19 -0
- package/chunks/TreeView.module-Bkn2k1RS.js +9 -0
- package/chunks/{UploadZoneInput-scXVyf90.js → UploadZoneInput-BceBvb-b.js} +3 -3
- package/chunks/constants-BUeoiUro.js +57 -0
- package/chunks/utils-DKorGAMQ.js +73 -0
- package/chunks/utils-NV5e2Mzn.js +20 -0
- package/chunks/utils-Sxh3Du0J.js +24 -0
- package/chunks/{utils-C_xmindK.js → utils-tf6Rfsu7.js} +5 -5
- package/chunks/vendor-DucOfXwy.js +12269 -0
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- 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 +27 -27
- package/components/Avatar/Avatar.js +13 -13
- package/components/Badge/Badge.js +17 -0
- package/components/Badge/index.js +5 -0
- package/components/Badge/types.js +2 -0
- package/components/Body/Body.js +7 -7
- package/components/Button/Button.js +33 -33
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +21 -21
- package/components/Button/ButtonDropdownExtended.js +2 -2
- package/components/Button/ButtonIcon.js +8 -8
- package/components/Calendar/Calendar.js +37 -36
- package/components/Calendar/CalendarContext.js +4 -4
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +14 -13
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +26 -26
- package/components/Calendar/components/CalendarViewYears.js +16 -16
- package/components/Calendar/utils.js +6 -6
- package/components/Card/CardAction.js +4 -4
- 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 +7 -7
- package/components/Checkbox/Checkbox.js +16 -16
- package/components/Checkbox/CheckboxXGroup.js +12 -12
- 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 +10 -10
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +9 -9
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +5 -5
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +8 -8
- 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 +7 -7
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +21 -21
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +14 -14
- package/components/Col/Col.js +146 -146
- 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/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 +11 -11
- package/components/DateField/utils.js +3 -3
- package/components/DatePickerExtended/DatePickerExtended.js +7 -7
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +5 -5
- package/components/DateRange/DateRange.js +27 -26
- package/components/DesignTokens/DesignTokenUtils.js +7 -7
- 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 +24 -24
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +9 -9
- package/components/Dropdown/desktop/DropdownDesktop.js +70 -69
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +35 -35
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +2 -2
- package/components/Ellipsis/Ellipsis.js +11 -11
- package/components/ExpandAnimation/ExpandAnimation.js +12 -12
- 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 +78 -74
- package/components/FormField/components/FormFieldClear.js +17 -17
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +8 -8
- package/components/FormField/components/FormFieldMaskedInput.js +19 -19
- package/components/FormField/components/FormFieldPostfix.js +10 -10
- package/components/FormField/components/FormFieldPrefix.js +9 -9
- package/components/FormField/components/FormFieldTarget.js +5 -5
- package/components/FormField/components/FormFieldTextarea.js +33 -36
- 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 +6 -6
- 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 +8 -8
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +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 +89 -74
- package/components/IslandWidget/IslandWidget.js +68 -37
- package/components/IslandWidget/IslandWidgetContext.js +5 -5
- package/components/IslandWidget/IslandWidgetLayoutContext.js +10 -0
- package/components/IslandWidget/components/IslandWidgetBody.js +7 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +12 -12
- 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 +7 -7
- package/components/LightBox/LightBox.js +19 -19
- 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 +23 -23
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +7 -7
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +4 -4
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +24 -24
- package/components/List/List.js +5 -5
- 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 +11 -11
- package/components/List/components/ListItemControls.js +5 -5
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +4 -4
- package/components/List/components/ListItemSelectable.js +2 -2
- package/components/List/components/ListItemTable.js +2 -2
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +11 -11
- package/components/List/components/ListSortableItemControls.js +2 -2
- package/components/List/components/ListSortableItemTarget.js +10 -10
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +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 +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +10 -10
- package/components/Loader/LoaderSmall/LoaderSmall.js +8 -8
- package/components/LoaderScreen/LoaderScreen.js +9 -9
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +17 -17
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +10 -10
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +2 -2
- package/components/MonthYearField/utils.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +2 -2
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyContent.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NotificationIcon/NotificationIcon.js +2 -2
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +6 -6
- package/components/OrderedList/OrderedListItem.js +8 -8
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +2 -2
- package/components/Page/components/BodyPage.js +12 -12
- 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 +1 -1
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +2 -2
- package/components/Pagination/components/PaginationPageEllipsis.js +5 -5
- package/components/Pagination/components/PaginationSelect.js +26 -30
- package/components/Pagination/utils/paginationUtils.js +5 -5
- package/components/Radio/Radio.js +16 -16
- package/components/Radio/RadioXGroup.js +12 -12
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +6 -6
- 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 +6 -6
- package/components/SelectExtendedField/SelectExtendedField.js +12 -12
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +4 -4
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +7 -7
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +19 -19
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +2 -2
- package/components/SliderExtended/components/SliderExtendedRail.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +7 -7
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +19 -19
- package/components/SmallInput/SmallInput.js +2 -2
- package/components/Spoiler/Spoiler.js +16 -16
- 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 +17 -17
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +4 -4
- package/components/Stepper/StepperExtended.js +4 -4
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +5 -5
- package/components/Suggest/Suggest.js +52 -88
- package/components/Suggest/SuggestContext.js +4 -7
- package/components/Suggest/SuggestMobileDropdownContent.js +19 -19
- package/components/Suggest/useSuggest.js +64 -0
- package/components/SuggestField/SuggestField.js +44 -47
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +129 -130
- 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 +8 -8
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +3 -3
- package/components/Table/NoColumns.js +4 -4
- package/components/Table/PaginationPanel.js +3 -3
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +8 -8
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +6 -6
- 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 +6 -6
- package/components/Table/TabsLinePanelLinks.js +2 -2
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +13 -13
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +9 -9
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +10 -10
- package/components/Tag/Tag.js +22 -22
- package/components/TagColor/TagColor.js +6 -6
- package/components/TagGroup/TagGroup.js +9 -9
- package/components/TextField/TextField.js +1 -1
- package/components/TextField/TextFieldBase.js +23 -28
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +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/TopOverlay/TopOverlay.js +13 -13
- 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 +50 -52
- package/components/Typography/Title.js +41 -43
- 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 +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 +539 -540
- package/consts/DateConst.js +6 -6
- package/index.d.ts +200 -228
- package/index.js +588 -589
- package/package.json +6 -2
- package/styles/triplex-next.css +546 -534
- package/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-CKP4h8-E.js +0 -39
- package/chunks/Card.module-bJptPqpj.js +0 -17
- package/chunks/CheckboxTreeExtended.module-bphUNnbQ.js +0 -14
- package/chunks/Confirm.module-BF4VDMnq.js +0 -15
- package/chunks/DropdownMobile.module-ClkvaJLd.js +0 -23
- package/chunks/Footer.module-QvomhMbc.js +0 -9
- package/chunks/FormFieldInput-GtoWWQRE.js +0 -62
- package/chunks/HeaderLayoutSidebar.module-OCqAbr7a.js +0 -9
- package/chunks/HeaderTabs.module-jYlPSHw3.js +0 -9
- package/chunks/IslandAccordion.module-Z_pjfKJd.js +0 -25
- package/chunks/IslandWidgetFooter.module-ChRxDXcv.js +0 -9
- package/chunks/IslandWidgetHeader.module-RRcKD0BV.js +0 -9
- package/chunks/LightBoxControls.module-BkOqYjOz.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CeFQNtqn.js +0 -8
- package/chunks/ListItemTail.module-CunfwMYT.js +0 -12
- package/chunks/ListMasterFooter.module-Dtv2xqml.js +0 -10
- package/chunks/ModalWindow.module-BHX3St6k.js +0 -17
- package/chunks/Notification.module-C4_TLm8a.js +0 -21
- package/chunks/Overlay.module-B6Jld0v6.js +0 -18
- package/chunks/Page.module-2EjEIDnt.js +0 -11
- package/chunks/SMSField.module-BKVjFcIn.js +0 -16
- package/chunks/SliderExtendedMarks.module-BGXnGEBx.js +0 -15
- package/chunks/StatusTracker.module-BKem67MH.js +0 -24
- package/chunks/SuggestFieldMobileDropdownHint-CmJLz6qx.js +0 -15
- package/chunks/TableFooter.module-BAduw_pb.js +0 -14
- package/chunks/TabsExtended.module-D_KXJPSZ.js +0 -16
- package/chunks/TabsLine.module-COfUYGXF.js +0 -21
- package/chunks/TooltipDesktop.module-CG3_T63F.js +0 -19
- package/chunks/TreeView.module-CtJTgfbr.js +0 -9
- package/chunks/utils-B-KTHE01.js +0 -20
- package/chunks/utils-CkGPjHGm.js +0 -73
- package/chunks/utils-esDpM0b2.js +0 -24
- package/chunks/utils-yLrEzIHN.js +0 -36
- package/chunks/vendor-CwhnMZ7o.js +0 -14856
- 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
package/components/Step/Step.js
CHANGED
|
@@ -3,18 +3,18 @@ import { useRef as u } from "react";
|
|
|
3
3
|
import { EStepStatus as o, EStepPosition as e } from "./enums.js";
|
|
4
4
|
import { ETooltipAlign as n, ETooltipSize as _ } from "../Tooltip/enums.js";
|
|
5
5
|
import { Tooltip as a } from "../Tooltip/Tooltip.js";
|
|
6
|
-
import "../Typography/
|
|
7
|
-
import { Text as S } from "../Typography/Text.js";
|
|
6
|
+
import { EFontWeightText as S, ETextSize as D } from "../Typography/enums.js";
|
|
8
7
|
import "../Typography/Caption.js";
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
8
|
+
import { Text as N } from "../Typography/Text.js";
|
|
9
|
+
import "../Typography/Title.js";
|
|
10
|
+
import { c as b } from "../../chunks/vendor-DucOfXwy.js";
|
|
11
|
+
const A = "step__e904e3fa", R = "done__19b5ee03", x = "warning__b56e5ff1", h = "active__6d4992be", v = "error__f8e2b8f4", w = "disabled__e40955f2", t = {
|
|
12
|
+
step: A,
|
|
13
|
+
default: "default__87af543a",
|
|
14
|
+
done: R,
|
|
15
|
+
warning: x,
|
|
16
|
+
active: h,
|
|
17
|
+
error: v,
|
|
18
18
|
disabled: w
|
|
19
19
|
}, L = {
|
|
20
20
|
[o.DEFAULT]: t.default,
|
|
@@ -30,16 +30,16 @@ const R = "step__1f6636c1", x = "done__65940b61", h = "warning__e2929f87", v = "
|
|
|
30
30
|
}, G = (r, s) => s === 0 ? e.XFirst : s + 1 === r ? e.XLast : e.Default, z = ({
|
|
31
31
|
children: r,
|
|
32
32
|
className: s,
|
|
33
|
-
step:
|
|
34
|
-
status:
|
|
35
|
-
position:
|
|
33
|
+
step: c,
|
|
34
|
+
status: f,
|
|
35
|
+
position: d = e.Default,
|
|
36
36
|
...m
|
|
37
37
|
}) => {
|
|
38
|
-
const l = u(null), T = y[
|
|
38
|
+
const l = u(null), T = y[d], E = b(t.step, L[f], s), p = () => /* @__PURE__ */ i("div", { ref: l, className: E, ...m, children: /* @__PURE__ */ i(N, { size: D.B1, weight: S.SEMIBOLD, children: c }) });
|
|
39
39
|
return r ? /* @__PURE__ */ g(a, { size: _.SM, toggleType: "hover", alignTip: T, targetRef: l, children: [
|
|
40
|
-
/* @__PURE__ */ i(a.Target, { children:
|
|
40
|
+
/* @__PURE__ */ i(a.Target, { children: p() }),
|
|
41
41
|
/* @__PURE__ */ i(a.Body, { children: r })
|
|
42
|
-
] }) :
|
|
42
|
+
] }) : p();
|
|
43
43
|
};
|
|
44
44
|
z.displayName = "Step";
|
|
45
45
|
export {
|
|
@@ -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-DucOfXwy.js";
|
|
12
12
|
import { EStepperSize as a } from "./enums.js";
|
|
13
|
-
const K = "
|
|
13
|
+
const K = "stepper__c98c71a5", O = "sm__67f6a179", Q = "md__3c5b9ce7", T = "lg__dafc3de6", U = "stepperCarousel__828c5988", V = "buttonPrev__d1fc9497", Y = "buttonNext__2520fe5b", n = {
|
|
14
14
|
stepper: K,
|
|
15
15
|
sm: O,
|
|
16
16
|
md: Q,
|
|
@@ -65,8 +65,8 @@ const K = "stepper__9265842a", O = "sm__f7a8f079", Q = "md__efdc097a", 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(), d = r + j / 2, g = f + D / 2;
|
|
69
|
+
window.matchMedia(`(max-width: ${J.SM_MAX})`).matches ? y(e, g - d) : d > g ? k(e, t, f - r - 32, f) : d < g && L(e, t, N - o + 32, N);
|
|
70
70
|
};
|
|
71
71
|
return C(() => {
|
|
72
72
|
if (l) {
|
|
@@ -3,9 +3,9 @@ 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
|
|
8
|
-
stepperExtended:
|
|
6
|
+
import { c as E } from "../../chunks/vendor-DucOfXwy.js";
|
|
7
|
+
const h = "stepperExtended__32cdc355", u = {
|
|
8
|
+
stepperExtended: h
|
|
9
9
|
}, t = ({
|
|
10
10
|
children: r,
|
|
11
11
|
className: p,
|
|
@@ -15,7 +15,7 @@ const b = "stepperExtended__2dab3c9c", h = {
|
|
|
15
15
|
forwardedRef: n,
|
|
16
16
|
...c
|
|
17
17
|
}) => {
|
|
18
|
-
const m = E(
|
|
18
|
+
const m = E(u.stepperExtended, p), l = (S) => s(S);
|
|
19
19
|
return /* @__PURE__ */ e(i.Provider, { value: { onSelectStep: l, selectedId: d, size: o }, children: /* @__PURE__ */ e("ol", { className: m, role: "tablist", ...c, ref: n, children: r }) });
|
|
20
20
|
};
|
|
21
21
|
t.Step = f;
|
|
@@ -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-DucOfXwy.js";
|
|
8
|
+
import { s as t, R as F } from "../../chunks/RightBorderArrow-DbiOM5xn.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": "1.
|
|
75
|
+
/* @__PURE__ */ I("div", { className: t.content, "data-tx": "1.15.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
|
|
4
|
-
stepperWrapper:
|
|
2
|
+
import { c as a } from "../../chunks/vendor-DucOfXwy.js";
|
|
3
|
+
const o = "stepperWrapper__1d722a7f", c = {
|
|
4
|
+
stepperWrapper: o
|
|
5
5
|
}, W = ({ children: p, className: r, ...e }) => {
|
|
6
|
-
const s = a(
|
|
7
|
-
return /* @__PURE__ */ t("div", { className: s, ...e, "data-tx": "1.
|
|
6
|
+
const s = a(c.stepperWrapper, r);
|
|
7
|
+
return /* @__PURE__ */ t("div", { className: s, ...e, "data-tx": "1.15.0", children: p });
|
|
8
8
|
};
|
|
9
9
|
export {
|
|
10
10
|
W as StepperWrapper
|
|
@@ -1,99 +1,63 @@
|
|
|
1
|
-
import { SuggestContext as
|
|
2
|
-
import { jsx as
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
u.current = M, x(() => {
|
|
31
|
-
u.current((n == null ? void 0 : n.label) || "");
|
|
32
|
-
}, [n]);
|
|
33
|
-
const b = r(
|
|
34
|
-
(t = (n == null ? void 0 : n.label) || "") => {
|
|
35
|
-
u.current(t), B(void 0), a(!1);
|
|
36
|
-
},
|
|
37
|
-
[n]
|
|
38
|
-
);
|
|
39
|
-
c.current = b, x(() => {
|
|
40
|
-
const t = (h) => {
|
|
41
|
-
var w, E;
|
|
42
|
-
!((w = p.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 a, useEffect as C, useCallback as F } from "react";
|
|
4
|
+
import { useSuggest as _ } from "./useSuggest.js";
|
|
5
|
+
const b = (t, e) => {
|
|
6
|
+
const {
|
|
7
|
+
children: f,
|
|
8
|
+
value: g,
|
|
9
|
+
options: m,
|
|
10
|
+
size: j,
|
|
11
|
+
placeholder: w,
|
|
12
|
+
noOptionsText: v,
|
|
13
|
+
loading: R,
|
|
14
|
+
dropdownListLoading: S,
|
|
15
|
+
tooltipOpen: D,
|
|
16
|
+
clearInputOnFocus: O,
|
|
17
|
+
onKeyDown: k,
|
|
18
|
+
onSelect: z,
|
|
19
|
+
onFilter: B,
|
|
20
|
+
onScrollEnd: h,
|
|
21
|
+
...x
|
|
22
|
+
} = t, r = _(t), { dropdownOpen: s, closeDropdown: u, onKeyDown: y } = r, n = a(null), c = a(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();
|
|
43
30
|
};
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
const q = r(
|
|
50
|
-
(t) => {
|
|
51
|
-
o === !0 && T(t.code, "ESCAPE") && c.current(), e == null || e(t);
|
|
52
|
-
},
|
|
53
|
-
[o, e]
|
|
54
|
-
), G = r(
|
|
55
|
-
(t) => {
|
|
56
|
-
c.current((t == null ? void 0 : t.label) || ""), g(t);
|
|
57
|
-
},
|
|
58
|
-
[g]
|
|
59
|
-
), H = r(
|
|
60
|
-
(t) => {
|
|
61
|
-
f(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);
|
|
62
36
|
},
|
|
63
|
-
[
|
|
37
|
+
[e]
|
|
64
38
|
);
|
|
65
|
-
return /* @__PURE__ */
|
|
66
|
-
|
|
67
|
-
}, children: /* @__PURE__ */ l(
|
|
68
|
-
J.Provider,
|
|
39
|
+
return /* @__PURE__ */ p("div", { ...x, onKeyDown: y, ref: E, children: /* @__PURE__ */ p(
|
|
40
|
+
K.Provider,
|
|
69
41
|
{
|
|
70
42
|
value: {
|
|
71
|
-
value:
|
|
72
|
-
options:
|
|
73
|
-
placeholder:
|
|
74
|
-
noOptionsText:
|
|
75
|
-
loading:
|
|
76
|
-
dropdownListLoading:
|
|
77
|
-
tooltipOpen:
|
|
78
|
-
clearInputOnFocus:
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
setInputValue: f,
|
|
84
|
-
activeDescendant: z,
|
|
85
|
-
dropdownOpen: o,
|
|
86
|
-
setDropdownOpen: a,
|
|
87
|
-
closeDropdown: b,
|
|
88
|
-
dropdownListId: F,
|
|
89
|
-
suggestRef: p,
|
|
90
|
-
dropdownRef: S
|
|
43
|
+
value: g,
|
|
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
|
|
91
55
|
},
|
|
92
|
-
children:
|
|
56
|
+
children: f
|
|
93
57
|
}
|
|
94
58
|
) });
|
|
95
|
-
},
|
|
59
|
+
}, A = P.forwardRef(b);
|
|
96
60
|
export {
|
|
97
|
-
|
|
61
|
+
A as Suggest
|
|
98
62
|
};
|
|
99
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 r() {
|
|
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-khM2CJWN.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__339c0900", z = "suggestDropdownMobileNoOptionsText__199bf384", g = {
|
|
24
24
|
suggestDropdownMobileBody: k,
|
|
25
25
|
suggestDropdownMobileNoOptionsText: z
|
|
26
26
|
}, po = () => {
|
|
@@ -31,13 +31,13 @@ const k = "suggestDropdownMobileBody__08ca2005", z = "suggestDropdownMobileNoOpt
|
|
|
31
31
|
placeholder: u,
|
|
32
32
|
noOptionsText: a,
|
|
33
33
|
loading: b,
|
|
34
|
-
clearInputOnFocus:
|
|
34
|
+
clearInputOnFocus: p,
|
|
35
35
|
dropdownListLoading: w,
|
|
36
|
-
onSelect:
|
|
36
|
+
onSelect: f,
|
|
37
37
|
onFilter: t,
|
|
38
38
|
onScrollEnd: l,
|
|
39
|
-
closeDropdown:
|
|
40
|
-
} = F(),
|
|
39
|
+
closeDropdown: d
|
|
40
|
+
} = F(), h = B(null), D = r(
|
|
41
41
|
(o) => {
|
|
42
42
|
if (l === void 0)
|
|
43
43
|
return;
|
|
@@ -45,14 +45,14 @@ const k = "suggestDropdownMobileBody__08ca2005", z = "suggestDropdownMobileNoOpt
|
|
|
45
45
|
C - S === y && l();
|
|
46
46
|
},
|
|
47
47
|
[l]
|
|
48
|
-
), M = r(() =>
|
|
48
|
+
), M = r(() => d(), [d]), x = r(
|
|
49
49
|
(o) => {
|
|
50
50
|
t(o.target.value);
|
|
51
51
|
},
|
|
52
52
|
[t]
|
|
53
53
|
), T = r(() => {
|
|
54
|
-
i.length !== 0 &&
|
|
55
|
-
}, [i.length,
|
|
54
|
+
i.length !== 0 && p === !0 && t("");
|
|
55
|
+
}, [i.length, p, t]);
|
|
56
56
|
return /* @__PURE__ */ c(m, { children: [
|
|
57
57
|
/* @__PURE__ */ e(
|
|
58
58
|
O,
|
|
@@ -73,22 +73,22 @@ const k = "suggestDropdownMobileBody__08ca2005", z = "suggestDropdownMobileNoOpt
|
|
|
73
73
|
)
|
|
74
74
|
}
|
|
75
75
|
),
|
|
76
|
-
/* @__PURE__ */ e(I, { className: g.suggestDropdownMobileBody, onScroll:
|
|
77
|
-
|
|
76
|
+
/* @__PURE__ */ e(I, { className: g.suggestDropdownMobileBody, onScroll: D, children: s.length === 0 ? /* @__PURE__ */ e(
|
|
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
|
}
|
|
85
|
-
) : /* @__PURE__ */ e(R, { loading: w, ref:
|
|
85
|
+
) : /* @__PURE__ */ e(R, { loading: w, ref: h, children: s.map((o) => /* @__PURE__ */ e(
|
|
86
86
|
_,
|
|
87
87
|
{
|
|
88
88
|
id: o.id,
|
|
89
89
|
selected: o.id === (n == null ? void 0 : n.id),
|
|
90
90
|
onSelect: () => {
|
|
91
|
-
|
|
91
|
+
f(o);
|
|
92
92
|
},
|
|
93
93
|
children: o.content || o.label
|
|
94
94
|
},
|
|
@@ -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 { a as R } from "../../chunks/vendor-DucOfXwy.js";
|
|
3
|
+
import { isKey as q } from "../../utils/keyboard.js";
|
|
4
|
+
const F = ({
|
|
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
|
+
F 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-DWutbDoW.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-D2EXurFF.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
|