@sberbusiness/triplex-next 0.24.0 → 0.26.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 +0 -1
- package/chunks/AlertProcessSpoiler-BjHTZKgZ.js +41 -0
- package/chunks/{CalendarViewItem-DuqIjj7K.js → CalendarViewItem-BdyVWg8a.js} +11 -11
- package/chunks/Card.module-gPkzcCGo.js +17 -0
- package/chunks/CheckboxTreeExtended.module-BqmTzdxy.js +15 -0
- package/chunks/Chip-CuoqjaG4.js +77 -0
- package/chunks/Confirm.module-bXfHpEZY.js +15 -0
- package/chunks/{DropdownListItem-D_38hBVf.js → DropdownListItem-CRdOVwlq.js} +15 -15
- package/chunks/DropdownMobile.module-H5txYrQf.js +23 -0
- package/chunks/Footer.module-Dhevv5cy.js +9 -0
- package/chunks/{FormFieldInput-CP3P-T8_.js → FormFieldInput-CyAOOwnJ.js} +14 -14
- package/chunks/HeaderLayoutSidebar.module-CqLx3F7A.js +9 -0
- package/chunks/HeaderTabs.module-BQHI-7dx.js +9 -0
- package/chunks/{HeaderTitle.module-CoThbDwW.js → HeaderTitle.module-BDZQCHuH.js} +2 -2
- package/chunks/IslandAccordion.module-ElAylnXP.js +25 -0
- package/chunks/IslandWidgetFooter.module-km-5hDpn.js +9 -0
- package/chunks/IslandWidgetHeader.module-DZJujJ9z.js +12 -0
- package/chunks/LightBoxContent-Bp6XRgdB.js +63 -0
- package/chunks/LightBoxControls.module-Dp8lh2Rg.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-DDGxczL0.js +9 -0
- package/chunks/ListItemControlsButton-PANaJdYf.js +59 -0
- package/chunks/ListItemTail.module-BKP1QEpv.js +12 -0
- package/chunks/ListMasterFooter.module-D1BeGub8.js +10 -0
- package/chunks/ModalWindow.module-PJk-BOT5.js +17 -0
- package/chunks/Notification.module-7THtDpDh.js +20 -0
- package/chunks/Overlay.module-B0Fayqn2.js +18 -0
- package/chunks/Page.module-oxsZ2i2v.js +11 -0
- package/chunks/SMSField.module-DQoHDr5D.js +16 -0
- package/chunks/SliderExtendedMarks.module-CEOeXrfd.js +15 -0
- package/chunks/SliderExtendedRail-B33WytbG.js +40 -0
- package/chunks/StatusTracker.module-CwUmaWht.js +24 -0
- package/chunks/StepperStepArrowBorder-9OXwuqOn.js +101 -0
- package/chunks/SuggestFieldMobileDropdownHint-dcZDUPZa.js +15 -0
- package/chunks/TableFooter.module-DaFBiojx.js +14 -0
- package/chunks/TabsExtended.module-D4GCJESe.js +16 -0
- package/chunks/TabsLine.module-BEA3Lssg.js +21 -0
- package/chunks/TooltipDesktop.module-hff_h0-q.js +19 -0
- package/chunks/TreeView.module-C-XaQJbB.js +9 -0
- package/chunks/{UploadZoneInput-DmnrQ-pa.js → UploadZoneInput-BsJhqlie.js} +2 -2
- package/chunks/{constants-BECBzrfZ.js → constants-KINy2OSZ.js} +10 -10
- package/chunks/utils-BVhTB5hC.js +73 -0
- package/chunks/{utils-BlzKyU4p.js → utils-CWqa2skI.js} +6 -6
- package/chunks/utils-DFHOghtD.js +28 -0
- package/chunks/utils-TZKbWcP7.js +24 -0
- package/components/Alert/AlertContext/AlertContext.js +20 -20
- package/components/Alert/AlertProcess/AlertProcess.js +41 -34
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Alert/AlertProcess/enums.js +5 -0
- package/components/Alert/AlertTypeUtils.js +2 -2
- package/components/Alert/index.js +7 -5
- package/components/Amount/Amount.js +2 -2
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +6 -6
- package/components/Badge/Badge.js +10 -10
- package/components/Badge/BadgeDot.js +9 -9
- package/components/Badge/components/BadgeContent.js +16 -16
- package/components/Badge/components/BadgePostfix.js +6 -6
- package/components/Badge/components/BadgePrefix.js +6 -6
- package/components/Body/Body.js +6 -6
- package/components/Button/Button.js +63 -86
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +66 -65
- package/components/Button/ButtonDropdownExtended.js +4 -4
- package/components/Button/ButtonIcon.js +17 -19
- package/components/Calendar/Calendar.js +2 -2
- package/components/Calendar/components/CalendarControls.js +5 -5
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +1 -1
- package/components/Calendar/components/CalendarViewItem.js +1 -1
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +6 -6
- package/components/Card/CardStatic.js +2 -2
- package/components/Card/components/CardContent/CardContent.js +1 -1
- package/components/Card/components/CardContent/components/CardContentBody.js +1 -1
- package/components/Card/components/CardContent/components/CardContentFooter.js +1 -1
- package/components/Card/components/CardContent/components/CardContentHeader.js +1 -1
- package/components/Card/components/CardMedia.js +1 -1
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +1 -1
- package/components/Checkbox/Checkbox.js +34 -33
- package/components/Checkbox/CheckboxXGroup.js +18 -17
- package/components/Checkbox/CheckboxYGroup.js +10 -9
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +1 -1
- package/components/Chip/Chip.js +3 -2
- package/components/Chip/ChipClearButton.js +5 -5
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +4 -4
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +6 -6
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +38 -43
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +21 -21
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +23 -22
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +76 -66
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +15 -15
- package/components/Col/Col.js +134 -134
- package/components/CollapsableTree/components/CollapsableTreeNode.js +1 -1
- package/components/Confirm/Confirm.js +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +1 -1
- package/components/Confirm/components/ConfirmContent.js +1 -1
- package/components/Confirm/components/ConfirmContentTitle.js +1 -1
- package/components/Confirm/components/ConfirmControls.js +1 -1
- package/components/DateField/DateField.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +7 -7
- package/components/DateRange/DateRange.js +14 -14
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/components/AlertProcess.js +1 -1
- package/components/DesignTokens/components/Stepper.js +11 -20
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +1 -1
- package/components/Dropdown/desktop/DropdownDesktop.js +8 -8
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +8 -8
- package/components/EmptyView/EmptyView.js +78 -0
- package/components/EmptyView/enums.js +5 -0
- package/components/EmptyView/index.js +7 -0
- package/components/EmptyView/types.js +2 -0
- package/components/ExpandAnimation/ExpandAnimation.js +7 -7
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +18 -18
- package/components/FormField/components/FormFieldClear.js +8 -8
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +5 -5
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +8 -8
- package/components/FormField/components/FormFieldMaskedInput.js +13 -13
- package/components/FormField/components/FormFieldPostfix.js +1 -1
- package/components/FormField/components/FormFieldPrefix.js +7 -7
- package/components/FormField/components/FormFieldTarget.js +15 -15
- package/components/FormField/components/FormFieldTextarea.js +19 -19
- package/components/FormField/components/index.js +1 -1
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +1 -1
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +5 -5
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +92 -88
- package/components/IconWrapper/IconWrapper.js +27 -0
- package/components/IconWrapper/index.js +5 -0
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +2 -2
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +28 -28
- package/components/IslandWidget/IslandWidget.js +24 -24
- package/components/IslandWidget/components/IslandWidgetBody.js +1 -1
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +3 -3
- package/components/LightBox/LightBox.js +43 -40
- package/components/LightBox/LightBoxContent.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxClose.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxControls.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxNext.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +19 -19
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +13 -13
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +5 -5
- package/components/LightBox/enums.js +5 -0
- package/components/LightBox/index.js +4 -2
- package/components/Link/Link.js +41 -40
- package/components/List/List.js +4 -4
- package/components/List/components/ListEmptyState.js +1 -1
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +5 -5
- package/components/List/components/ListItemControls.js +5 -5
- package/components/List/components/ListItemControlsButton.js +3 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +29 -30
- package/components/List/components/ListItemLoading.js +6 -6
- package/components/List/components/ListItemSelectable.js +10 -10
- package/components/List/components/ListItemTable.js +7 -7
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +8 -8
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +12 -12
- 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 +5 -5
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +6 -6
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +9 -9
- package/components/Loader/LoaderSmall/LoaderSmall.js +9 -9
- package/components/LoaderScreen/LoaderScreen.js +1 -1
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +15 -15
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +1 -1
- package/components/ModalWindow/components/ModalWindowClose.js +3 -3
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MonthYearField/MonthYearFieldTarget.js +12 -11
- package/components/MonthYearRange/MonthYearRange.js +76 -0
- package/components/MonthYearRange/enums.js +5 -0
- package/components/MonthYearRange/index.js +7 -0
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +10 -10
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +6 -6
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +1 -1
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +1 -1
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +19 -14
- package/components/OrderedList/OrderedListItem.js +2 -2
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayMask.js +1 -1
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +8 -8
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +8 -8
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +5 -5
- package/components/Pagination/components/PaginationPageEllipsis.js +5 -5
- package/components/Pagination/components/PaginationSelect.js +5 -5
- package/components/Radio/Radio.js +15 -15
- package/components/Radio/RadioXGroup.js +10 -10
- package/components/Radio/RadioYGroup.js +6 -6
- package/components/Row/Row.js +10 -10
- package/components/SMSField/SMSField.js +2 -2
- package/components/SMSField/components/RefreshIcon.js +1 -1
- package/components/SMSField/components/SMSFieldInput.js +2 -2
- package/components/SMSField/components/SMSFieldRefresh.js +1 -1
- package/components/SMSField/components/SMSFieldSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +16 -16
- package/components/SegmentedControl/SegmentedControlSegment.js +36 -41
- package/components/SelectExtendedField/SelectExtendedField.js +15 -15
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +92 -92
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +11 -11
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +16 -16
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +1 -1
- package/components/SliderExtended/components/SliderExtendedRail.js +1 -1
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +4 -4
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +29 -29
- package/components/SmallInput/SmallInput.js +1 -1
- package/components/Spoiler/Spoiler.js +16 -16
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +1 -1
- package/components/StatusTracker/components/StatusTrackerDescription.js +1 -1
- package/components/StatusTracker/components/StatusTrackerFooter.js +1 -1
- package/components/StatusTracker/components/StatusTrackerHeader.js +1 -1
- package/components/StatusTracker/components/StatusTrackerMedia.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatus.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +12 -12
- package/components/Stepper/Stepper.js +104 -89
- package/components/Stepper/StepperExtended.js +23 -21
- package/components/Stepper/StepperExtendedContext.js +6 -6
- package/components/Stepper/StepperStep.js +61 -64
- package/components/Stepper/StepperStepArrowBorder.js +7 -0
- package/components/Stepper/enums.js +3 -4
- package/components/Stepper/index.js +4 -5
- package/components/Stepper/types.js +2 -0
- package/components/Suggest/SuggestMobileDropdownContent.js +5 -5
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +63 -63
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +10 -10
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +6 -6
- package/components/Table/NoColumns.js +1 -1
- package/components/Table/PaginationPanel.js +2 -2
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +5 -5
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +9 -9
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +6 -6
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +5 -5
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +1 -1
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +5 -5
- package/components/Table/TabsLinePanelLinks.js +5 -5
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +19 -19
- package/components/TabsExtended/TabsExtended.js +2 -2
- package/components/TabsExtended/components/TabsExtendedContent.js +1 -1
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTab.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabButton.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +1 -1
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +1 -1
- package/components/TabsLine/components/TabsLineDesktop.js +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +17 -17
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +10 -10
- package/components/Tag/Tag.js +19 -19
- package/components/TagColor/TagColor.js +16 -16
- package/components/TagColor/index.js +4 -2
- package/components/TagGroup/TagGroup.js +10 -10
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +15 -15
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +1 -1
- package/components/Tooltip/components/mobile/TooltipMobile.js +6 -6
- package/components/TopOverlay/TopOverlay.js +15 -15
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Typography/Caption.js +2 -2
- package/components/Typography/CodeText.js +6 -6
- package/components/Typography/Text.js +30 -30
- package/components/Typography/Title.js +15 -15
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +7 -7
- package/components/UnorderedList/UnorderedListItem.js +2 -2
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +596 -581
- package/index.d.ts +136 -36
- package/index.js +642 -627
- package/package.json +14 -2
- package/styles/triplex-next.css +538 -541
- package/chunks/AlertProcessSpoiler-BofkfSM8.js +0 -39
- package/chunks/Card.module-Cok9cKxI.js +0 -17
- package/chunks/CheckboxTreeExtended.module-D_OBlNho.js +0 -15
- package/chunks/Chip-CFtA5mp4.js +0 -104
- package/chunks/Confirm.module-BgCUAiCk.js +0 -15
- package/chunks/DropdownMobile.module-Bccjckjq.js +0 -23
- package/chunks/Footer.module-CkVvrPtL.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-Ci8iAZs7.js +0 -9
- package/chunks/HeaderTabs.module-2vtcjdH_.js +0 -9
- package/chunks/IslandAccordion.module-DLanAkfo.js +0 -25
- package/chunks/IslandWidgetFooter.module-kdzBJDuu.js +0 -9
- package/chunks/IslandWidgetHeader.module-BAcC1EB8.js +0 -12
- package/chunks/LightBoxContent-hyVn3q-T.js +0 -56
- package/chunks/LightBoxControls.module-CTUWde8O.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CnOh-RZn.js +0 -9
- package/chunks/ListItemControlsButton-BFfMrFr7.js +0 -51
- package/chunks/ListItemTail.module-BOV7kcBg.js +0 -12
- package/chunks/ListMasterFooter.module-DT_P8Iub.js +0 -10
- package/chunks/ModalWindow.module-DZdMA7rm.js +0 -17
- package/chunks/Notification.module-CJl-qcj8.js +0 -20
- package/chunks/Overlay.module-Buw8PcSy.js +0 -18
- package/chunks/Page.module-DIObxp8c.js +0 -11
- package/chunks/RightBorderArrow-TcR9E_47.js +0 -146
- package/chunks/SMSField.module-B170OigL.js +0 -16
- package/chunks/SliderExtendedMarks.module-SBpITDrZ.js +0 -15
- package/chunks/SliderExtendedRail-DawwH3OZ.js +0 -40
- package/chunks/StatusTracker.module-BT9AMEAv.js +0 -24
- package/chunks/SuggestFieldMobileDropdownHint-_Gn-OMhG.js +0 -15
- package/chunks/TableFooter.module-DaFHVJUx.js +0 -14
- package/chunks/TabsExtended.module-vg1pJlhg.js +0 -16
- package/chunks/TabsLine.module-h8aBK1Tw.js +0 -21
- package/chunks/TooltipDesktop.module-oXI2FLzE.js +0 -19
- package/chunks/TreeView.module-C6t2uuwa.js +0 -9
- package/chunks/utils-BI5x-xfE.js +0 -24
- package/chunks/utils-C9aEOF3O.js +0 -73
- package/chunks/utils-WHBUmZgw.js +0 -28
- package/components/Stepper/RightBorderArrow.js +0 -7
- package/components/Stepper/StepperWrapper.js +0 -12
|
@@ -1,88 +1,85 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useContext as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import { jsxs as R, jsx as d } from "react/jsx-runtime";
|
|
2
|
+
import { useContext as U, useState as V, useRef as k } from "react";
|
|
3
|
+
import { c as q } from "../../chunks/vendor---Om3uMV.js";
|
|
4
|
+
import { StepperStepIcon as v } from "./StepperStepIcon.js";
|
|
5
|
+
import { createSizeToClassNameMap as F } from "../../utils/classNameMaps.js";
|
|
6
|
+
import { isKey as g } from "../../utils/keyboard.js";
|
|
7
|
+
import { StepperExtendedContext as H } from "./StepperExtendedContext.js";
|
|
8
|
+
import { EFocusSource as o } from "../../enums/EFocusSource.js";
|
|
9
|
+
import { EStepperStepType as y } from "./enums.js";
|
|
10
|
+
import { s as t, S as J } from "../../chunks/StepperStepArrowBorder-9OXwuqOn.js";
|
|
11
|
+
import { IconWrapper as L } from "../IconWrapper/IconWrapper.js";
|
|
12
|
+
const Q = F(t), X = ({
|
|
13
|
+
children: N,
|
|
14
|
+
className: A,
|
|
15
|
+
id: s,
|
|
16
|
+
isInActiveStep: x,
|
|
15
17
|
onFocus: m,
|
|
16
|
-
onBlur:
|
|
17
|
-
onKeyDown:
|
|
18
|
-
onMouseDown:
|
|
19
|
-
onClick:
|
|
18
|
+
onBlur: n,
|
|
19
|
+
onKeyDown: a,
|
|
20
|
+
onMouseDown: i,
|
|
21
|
+
onClick: f,
|
|
20
22
|
disabled: r,
|
|
21
|
-
icon:
|
|
22
|
-
forwardedRef:
|
|
23
|
-
type:
|
|
24
|
-
...
|
|
23
|
+
icon: h,
|
|
24
|
+
forwardedRef: c,
|
|
25
|
+
type: C,
|
|
26
|
+
...T
|
|
25
27
|
}) => {
|
|
26
|
-
const { selectedId:
|
|
28
|
+
const { selectedId: z, size: I, onSelectStep: S } = U(H), [l, u] = V(o.NONE), p = k(null), E = s === z, j = q(
|
|
27
29
|
t.stepperStep,
|
|
30
|
+
Q[I],
|
|
28
31
|
{
|
|
29
|
-
[t.active]:
|
|
30
|
-
[t.inactive]:
|
|
31
|
-
[t.completed]: !
|
|
32
|
+
[t.active]: E,
|
|
33
|
+
[t.inactive]: x,
|
|
34
|
+
[t.completed]: !E && !x,
|
|
32
35
|
[t.disabled]: !!r,
|
|
33
|
-
[t.nonempty]: !!
|
|
34
|
-
[t.error]: !r &&
|
|
35
|
-
[t.warning]: !r &&
|
|
36
|
-
[t.focusVisible]:
|
|
37
|
-
[t.sm]: n === h.SM,
|
|
38
|
-
[t.md]: n === h.MD,
|
|
39
|
-
[t.lg]: n === h.LG
|
|
36
|
+
[t.nonempty]: !!N,
|
|
37
|
+
[t.error]: !r && C === y.ERROR,
|
|
38
|
+
[t.warning]: !r && C === y.WARNING,
|
|
39
|
+
[t.focusVisible]: l === o.KEYBOARD
|
|
40
40
|
},
|
|
41
|
-
|
|
42
|
-
),
|
|
43
|
-
!
|
|
41
|
+
A
|
|
42
|
+
), W = (e) => {
|
|
43
|
+
!l && p.current === e.target && u(o.KEYBOARD), m == null || m(e);
|
|
44
|
+
}, Y = (e) => {
|
|
45
|
+
p.current !== document.activeElement && p.current === e.target && u(o.NONE), n == null || n(e);
|
|
44
46
|
}, B = (e) => {
|
|
45
|
-
|
|
47
|
+
const O = e.code || e.keyCode;
|
|
48
|
+
g(O, "ENTER") ? r || S(s) : g(O, "SPACE") && (e.preventDefault(), r || S(s)), a == null || a(e);
|
|
49
|
+
}, G = (e) => {
|
|
50
|
+
l || u(o.MOUSE), i == null || i(e);
|
|
46
51
|
}, K = (e) => {
|
|
47
|
-
|
|
48
|
-
A(d, "ENTER") ? r || S(c) : A(d, "SPACE") && (e.preventDefault(), r || S(c)), i == null || i(e);
|
|
49
|
-
}, L = (e) => {
|
|
50
|
-
u || E(s.MOUSE), f == null || f(e);
|
|
52
|
+
r || S(s), f == null || f(e);
|
|
51
53
|
}, M = (e) => {
|
|
52
|
-
|
|
53
|
-
}, P = (
|
|
54
|
-
|
|
55
|
-
}, U = () => {
|
|
56
|
-
const e = C(t.icon, "hoverable", { disabled: !!r });
|
|
57
|
-
return /* @__PURE__ */ y("span", { className: e, children: g });
|
|
58
|
-
};
|
|
59
|
-
return /* @__PURE__ */ I(
|
|
54
|
+
p.current = e, typeof c == "function" ? c(e) : c && (c.current = e);
|
|
55
|
+
}, P = () => /* @__PURE__ */ d(L, { className: t.icon, disabled: !!r, children: h });
|
|
56
|
+
return /* @__PURE__ */ R(
|
|
60
57
|
"li",
|
|
61
58
|
{
|
|
62
|
-
className:
|
|
63
|
-
onFocus:
|
|
64
|
-
onBlur:
|
|
65
|
-
onKeyDown:
|
|
66
|
-
onMouseDown:
|
|
67
|
-
onClick:
|
|
59
|
+
className: j,
|
|
60
|
+
onFocus: W,
|
|
61
|
+
onBlur: Y,
|
|
62
|
+
onKeyDown: B,
|
|
63
|
+
onMouseDown: G,
|
|
64
|
+
onClick: K,
|
|
68
65
|
tabIndex: r ? -1 : 0,
|
|
69
66
|
"aria-disabled": r,
|
|
70
|
-
"aria-current":
|
|
67
|
+
"aria-current": E || void 0,
|
|
71
68
|
role: "button",
|
|
72
|
-
...
|
|
73
|
-
ref:
|
|
69
|
+
...T,
|
|
70
|
+
ref: M,
|
|
74
71
|
children: [
|
|
75
|
-
/* @__PURE__ */
|
|
76
|
-
|
|
77
|
-
|
|
72
|
+
/* @__PURE__ */ R("div", { className: t.content, "data-tx": "0.26.0", children: [
|
|
73
|
+
h && P(),
|
|
74
|
+
N
|
|
78
75
|
] }),
|
|
79
|
-
/* @__PURE__ */
|
|
76
|
+
/* @__PURE__ */ d(J, { size: I })
|
|
80
77
|
]
|
|
81
78
|
}
|
|
82
79
|
);
|
|
83
80
|
};
|
|
84
|
-
|
|
81
|
+
X.Icon = v;
|
|
85
82
|
export {
|
|
86
|
-
|
|
83
|
+
X as StepperStep
|
|
87
84
|
};
|
|
88
85
|
//# sourceMappingURL=StepperStep.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
var R = /* @__PURE__ */ ((r) => (r.
|
|
1
|
+
var R = /* @__PURE__ */ ((r) => (r.NEUTRAL = "neutral", r.ERROR = "error", r.WARNING = "warning", r))(R || {}), a = /* @__PURE__ */ ((r) => (r.FILLED = "filled", r.SUCCESS = "success", r.ERROR = "error", r.WARNING = "warning", r.WAIT = "wait", r))(a || {});
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
a as EStepperStepType
|
|
3
|
+
a as EStepperStepIconType,
|
|
4
|
+
R as EStepperStepType
|
|
6
5
|
};
|
|
7
6
|
//# sourceMappingURL=enums.js.map
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { Stepper as r } from "./Stepper.js";
|
|
2
|
-
import { StepperExtended as
|
|
3
|
-
import {
|
|
2
|
+
import { StepperExtended as o } from "./StepperExtended.js";
|
|
3
|
+
import { EStepperStepIconType as x, EStepperStepType as f } from "./enums.js";
|
|
4
4
|
export {
|
|
5
|
-
x as
|
|
6
|
-
E as EStepperStepIconType,
|
|
5
|
+
x as EStepperStepIconType,
|
|
7
6
|
f as EStepperStepType,
|
|
8
7
|
r as Stepper,
|
|
9
|
-
|
|
8
|
+
o as StepperExtended
|
|
10
9
|
};
|
|
11
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -4,7 +4,7 @@ import { useSuggestContext as I } from "./SuggestContext.js";
|
|
|
4
4
|
import "../Dropdown/DropdownListContext.js";
|
|
5
5
|
import "../Dropdown/desktop/DropdownDesktop.js";
|
|
6
6
|
import "../Dropdown/desktop/DropdownList.js";
|
|
7
|
-
import "../../chunks/DropdownListItem-
|
|
7
|
+
import "../../chunks/DropdownListItem-CRdOVwlq.js";
|
|
8
8
|
import "../Dropdown/mobile/DropdownMobile.js";
|
|
9
9
|
import { DropdownMobileBody as B } from "../Dropdown/mobile/DropdownMobileBody.js";
|
|
10
10
|
import { DropdownMobileClose as F } from "../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -21,7 +21,7 @@ import "../Typography/Caption.js";
|
|
|
21
21
|
import "../Typography/CodeText.js";
|
|
22
22
|
import { Text as j } from "../Typography/Text.js";
|
|
23
23
|
import "../Typography/Title.js";
|
|
24
|
-
const k = "
|
|
24
|
+
const k = "suggestDropdownMobileBody__33b26dc6", z = "suggestDropdownMobileNoOptionsText__ac49a70c", g = {
|
|
25
25
|
suggestDropdownMobileBody: k,
|
|
26
26
|
suggestDropdownMobileNoOptionsText: z
|
|
27
27
|
}, A = () => {
|
|
@@ -33,12 +33,12 @@ const k = "suggestDropdownMobileBody__f9617e8f", z = "suggestDropdownMobileNoOpt
|
|
|
33
33
|
noOptionsText: u,
|
|
34
34
|
loading: w,
|
|
35
35
|
clearInputOnFocus: p,
|
|
36
|
-
dropdownListLoading:
|
|
36
|
+
dropdownListLoading: b,
|
|
37
37
|
onSelect: h,
|
|
38
38
|
onFilter: t,
|
|
39
39
|
onScrollEnd: l,
|
|
40
40
|
closeDropdown: d
|
|
41
|
-
} = I(),
|
|
41
|
+
} = I(), f = S(null), D = n(
|
|
42
42
|
(o) => {
|
|
43
43
|
if (l === void 0)
|
|
44
44
|
return;
|
|
@@ -83,7 +83,7 @@ const k = "suggestDropdownMobileBody__f9617e8f", z = "suggestDropdownMobileNoOpt
|
|
|
83
83
|
tag: "div",
|
|
84
84
|
children: u
|
|
85
85
|
}
|
|
86
|
-
) : /* @__PURE__ */ e(R, { loading:
|
|
86
|
+
) : /* @__PURE__ */ e(R, { loading: b, ref: f, children: s.map((o) => /* @__PURE__ */ e(
|
|
87
87
|
_,
|
|
88
88
|
{
|
|
89
89
|
id: o.id,
|
|
@@ -2,13 +2,13 @@ import "./desktop/SuggestFieldDesktopDropdown.js";
|
|
|
2
2
|
import { SuggestFieldDesktop as S } from "./desktop/SuggestFieldDesktop.js";
|
|
3
3
|
import { SuggestFieldMobile as b } from "./mobile/SuggestFieldMobile.js";
|
|
4
4
|
import "./mobile/SuggestFieldMobileDropdown.js";
|
|
5
|
-
import "../../chunks/SuggestFieldMobileDropdownHint-
|
|
5
|
+
import "../../chunks/SuggestFieldMobileDropdownHint-dcZDUPZa.js";
|
|
6
6
|
import { jsx as o } from "react/jsx-runtime";
|
|
7
7
|
import { MobileView as I } from "../MobileView/MobileView.js";
|
|
8
8
|
import "../FormField/components/FormFieldClear.js";
|
|
9
9
|
import "../FormField/components/FormFieldCounter.js";
|
|
10
10
|
import "../FormField/components/FormFieldDescription.js";
|
|
11
|
-
import { F as O } from "../../chunks/FormFieldInput-
|
|
11
|
+
import { F as O } from "../../chunks/FormFieldInput-CyAOOwnJ.js";
|
|
12
12
|
import "../FormField/components/FormFieldLabel.js";
|
|
13
13
|
import "../FormField/components/FormFieldMaskedInput.js";
|
|
14
14
|
import "../FormField/components/FormFieldPostfix.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { SuggestFieldDesktopDropdown as ro } from "./SuggestFieldDesktopDropdown.js";
|
|
2
|
-
import { jsxs as B, jsx as
|
|
3
|
-
import fo, { useState as
|
|
2
|
+
import { jsxs as B, jsx as s } from "react/jsx-runtime";
|
|
3
|
+
import fo, { useState as n, useRef as x, useLayoutEffect as so, useCallback as r, useEffect as no } from "react";
|
|
4
4
|
import { EComponentSize as co } from "../../../enums/EComponentSize.js";
|
|
5
5
|
import { Tooltip as E } from "../../Tooltip/Tooltip.js";
|
|
6
|
-
import { ETooltipSize as
|
|
7
|
-
import { TextFieldBase as
|
|
6
|
+
import { ETooltipSize as go } from "../../Tooltip/enums.js";
|
|
7
|
+
import { TextFieldBase as lo } from "../../TextField/TextFieldBase.js";
|
|
8
8
|
import { EFormFieldStatus as q } from "../../FormField/enums.js";
|
|
9
|
-
import { FormFieldClear as
|
|
9
|
+
import { FormFieldClear as ao } from "../../FormField/components/FormFieldClear.js";
|
|
10
10
|
import "../../FormField/components/FormFieldCounter.js";
|
|
11
11
|
import "../../FormField/components/FormFieldDescription.js";
|
|
12
|
-
import { F as ho } from "../../../chunks/FormFieldInput-
|
|
12
|
+
import { F as ho } from "../../../chunks/FormFieldInput-CyAOOwnJ.js";
|
|
13
13
|
import "../../FormField/components/FormFieldLabel.js";
|
|
14
14
|
import "../../FormField/components/FormFieldMaskedInput.js";
|
|
15
15
|
import "../../FormField/components/FormFieldPostfix.js";
|
|
@@ -23,7 +23,7 @@ import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
|
23
23
|
import { DropdownListContext as po } from "../../Dropdown/DropdownListContext.js";
|
|
24
24
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
25
25
|
import "../../Dropdown/desktop/DropdownList.js";
|
|
26
|
-
import "../../../chunks/DropdownListItem-
|
|
26
|
+
import "../../../chunks/DropdownListItem-CRdOVwlq.js";
|
|
27
27
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
28
28
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
29
29
|
import "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -35,114 +35,114 @@ import "../../Dropdown/mobile/DropdownMobileList.js";
|
|
|
35
35
|
import "../../Dropdown/mobile/DropdownMobileListItem.js";
|
|
36
36
|
import "../../Dropdown/Dropdown.js";
|
|
37
37
|
import { DataTestId as z } from "../../../consts/DataTestId.js";
|
|
38
|
-
import { u as
|
|
39
|
-
import { isKey as
|
|
40
|
-
const
|
|
41
|
-
value:
|
|
42
|
-
options:
|
|
38
|
+
import { u as Fo } from "../../../chunks/vendor---Om3uMV.js";
|
|
39
|
+
import { isKey as Lo } from "../../../utils/keyboard.js";
|
|
40
|
+
const rt = ({
|
|
41
|
+
value: e,
|
|
42
|
+
options: h,
|
|
43
43
|
size: F = co.LG,
|
|
44
44
|
status: L,
|
|
45
45
|
placeholder: G,
|
|
46
|
-
"data-test-id":
|
|
46
|
+
"data-test-id": c,
|
|
47
47
|
tooltipHint: N,
|
|
48
48
|
loading: T,
|
|
49
49
|
tooltipOpen: H,
|
|
50
50
|
dropdownListLoading: J,
|
|
51
51
|
clearInputOnFocus: R,
|
|
52
|
-
onFilter:
|
|
53
|
-
onClear:
|
|
54
|
-
onSelect:
|
|
55
|
-
onScrollEnd:
|
|
52
|
+
onFilter: g,
|
|
53
|
+
onClear: D,
|
|
54
|
+
onSelect: l,
|
|
55
|
+
onScrollEnd: w,
|
|
56
56
|
prefix: Q,
|
|
57
57
|
postfix: U,
|
|
58
58
|
renderInput: O,
|
|
59
59
|
renderDropdown: k,
|
|
60
60
|
renderDropdownList: W,
|
|
61
61
|
renderDropdownListItem: X,
|
|
62
|
-
inputProps:
|
|
62
|
+
inputProps: t,
|
|
63
63
|
...Y
|
|
64
64
|
}) => {
|
|
65
|
-
const [
|
|
66
|
-
(
|
|
67
|
-
const y = x(null), _ = x(
|
|
65
|
+
const [d, a] = n((e == null ? void 0 : e.label) || ""), [I, M] = n(!1), [f, p] = n(!1), [C, S] = n(!1), [K] = n(() => Fo()), [$, b] = n(), [A, Z] = n(e);
|
|
66
|
+
(e == null ? void 0 : e.id) !== (A == null ? void 0 : A.id) && (Z(e), a((e == null ? void 0 : e.label) || ""));
|
|
67
|
+
const y = x(null), _ = x(w);
|
|
68
68
|
so(() => {
|
|
69
|
-
_.current =
|
|
70
|
-
}, [
|
|
69
|
+
_.current = w;
|
|
70
|
+
}, [w]);
|
|
71
71
|
const V = r(
|
|
72
72
|
(o) => {
|
|
73
73
|
var i;
|
|
74
|
-
M(!0), R &&
|
|
74
|
+
M(!0), R && d.length !== 0 && (a(""), g("")), (i = t.onFocus) == null || i.call(t, o);
|
|
75
75
|
},
|
|
76
|
-
[R,
|
|
76
|
+
[R, d, g, t]
|
|
77
77
|
), m = r((o) => {
|
|
78
|
-
|
|
78
|
+
S(o), b(void 0), p(!1);
|
|
79
79
|
}, []), u = r(
|
|
80
80
|
(o) => {
|
|
81
81
|
var i;
|
|
82
|
-
M(!1), m(!1),
|
|
82
|
+
M(!1), m(!1), d.length !== 0 ? a((e == null ? void 0 : e.label) || "") : e !== void 0 && l(void 0), (i = t.onBlur) == null || i.call(t, o);
|
|
83
83
|
},
|
|
84
|
-
[m,
|
|
84
|
+
[m, d, e, l, t]
|
|
85
85
|
), v = r(
|
|
86
86
|
(o) => {
|
|
87
87
|
var i;
|
|
88
|
-
|
|
88
|
+
Lo(o.key, "ESCAPE") && f && (o.stopPropagation(), m(!0)), (i = t.onKeyDown) == null || i.call(t, o);
|
|
89
89
|
},
|
|
90
|
-
[
|
|
90
|
+
[f, m, t]
|
|
91
91
|
), P = r(
|
|
92
92
|
(o) => {
|
|
93
93
|
var i;
|
|
94
|
-
|
|
94
|
+
f || (S(!1), p(!0)), (i = t.onMouseDown) == null || i.call(t, o);
|
|
95
95
|
},
|
|
96
|
-
[
|
|
96
|
+
[f, t]
|
|
97
97
|
), oo = r(
|
|
98
98
|
(o) => {
|
|
99
99
|
var i;
|
|
100
|
-
|
|
100
|
+
S(!1), b(void 0), a(o.target.value), g(o.target.value), (i = t.onChange) == null || i.call(t, o);
|
|
101
101
|
},
|
|
102
|
-
[
|
|
103
|
-
),
|
|
102
|
+
[g, t]
|
|
103
|
+
), to = r(
|
|
104
104
|
(o) => {
|
|
105
|
-
|
|
105
|
+
e !== void 0 && l(void 0), d.length !== 0 && (g(""), a("")), D == null || D(o);
|
|
106
106
|
},
|
|
107
|
-
[
|
|
108
|
-
),
|
|
107
|
+
[e, l, d.length, g, D]
|
|
108
|
+
), eo = r(
|
|
109
109
|
(o) => {
|
|
110
|
-
o ?
|
|
110
|
+
o ? p(o) : m(!1);
|
|
111
111
|
},
|
|
112
112
|
[m]
|
|
113
113
|
), io = r(
|
|
114
114
|
(o) => {
|
|
115
|
-
m(!0),
|
|
115
|
+
m(!0), a((o == null ? void 0 : o.label) || ""), l(o);
|
|
116
116
|
},
|
|
117
|
-
[m,
|
|
117
|
+
[m, l]
|
|
118
118
|
);
|
|
119
119
|
no(() => {
|
|
120
|
-
|
|
121
|
-
}, [
|
|
120
|
+
I && (f ? h.length === 0 && m(!1) : h.length !== 0 && !C && p(!0));
|
|
121
|
+
}, [I, f, h.length, m, C]);
|
|
122
122
|
const mo = () => {
|
|
123
|
-
const o = O === void 0 ? ho : O, i = k === void 0 ? ro : k, j =
|
|
123
|
+
const o = O === void 0 ? ho : O, i = k === void 0 ? ro : k, j = f && h.length !== 0;
|
|
124
124
|
return /* @__PURE__ */ B(
|
|
125
|
-
|
|
125
|
+
lo,
|
|
126
126
|
{
|
|
127
|
-
"data-test-id":
|
|
127
|
+
"data-test-id": c,
|
|
128
128
|
status: L,
|
|
129
129
|
size: F,
|
|
130
130
|
prefix: Q,
|
|
131
131
|
postfix: /* @__PURE__ */ B(fo.Fragment, { children: [
|
|
132
|
-
|
|
133
|
-
T && /* @__PURE__ */
|
|
132
|
+
D !== void 0 && /* @__PURE__ */ s(ao, { onClick: to }),
|
|
133
|
+
T && /* @__PURE__ */ s(Do, { theme: wo.BRAND, size: F }),
|
|
134
134
|
U
|
|
135
135
|
] }),
|
|
136
136
|
...Y,
|
|
137
137
|
ref: y,
|
|
138
138
|
children: [
|
|
139
|
-
/* @__PURE__ */
|
|
139
|
+
/* @__PURE__ */ s(
|
|
140
140
|
o,
|
|
141
141
|
{
|
|
142
|
-
value:
|
|
142
|
+
value: d,
|
|
143
143
|
placeholder: G,
|
|
144
|
-
"data-test-id":
|
|
145
|
-
...
|
|
144
|
+
"data-test-id": c && `${c}${z.Suggest.input}`,
|
|
145
|
+
...t,
|
|
146
146
|
role: "combobox",
|
|
147
147
|
"aria-autocomplete": "list",
|
|
148
148
|
"aria-controls": K,
|
|
@@ -156,20 +156,20 @@ const re = ({
|
|
|
156
156
|
onChange: oo
|
|
157
157
|
}
|
|
158
158
|
),
|
|
159
|
-
/* @__PURE__ */
|
|
159
|
+
/* @__PURE__ */ s(po.Provider, { value: { activeDescendant: $, setActiveDescendant: b }, children: /* @__PURE__ */ s(
|
|
160
160
|
i,
|
|
161
161
|
{
|
|
162
|
-
value:
|
|
163
|
-
options:
|
|
162
|
+
value: e,
|
|
163
|
+
options: h,
|
|
164
164
|
size: F,
|
|
165
|
-
dataTestId:
|
|
165
|
+
dataTestId: c,
|
|
166
166
|
listId: K,
|
|
167
167
|
opened: j,
|
|
168
168
|
listLoading: J,
|
|
169
169
|
targetRef: y,
|
|
170
|
-
setOpened:
|
|
170
|
+
setOpened: eo,
|
|
171
171
|
onSelect: io,
|
|
172
|
-
onScrollEnd:
|
|
172
|
+
onScrollEnd: w,
|
|
173
173
|
renderList: W,
|
|
174
174
|
renderListItem: X
|
|
175
175
|
}
|
|
@@ -181,20 +181,20 @@ const re = ({
|
|
|
181
181
|
return /* @__PURE__ */ B(
|
|
182
182
|
E,
|
|
183
183
|
{
|
|
184
|
-
size:
|
|
185
|
-
isOpen: !!(H &&
|
|
184
|
+
size: go.SM,
|
|
185
|
+
isOpen: !!(H && I) && L !== q.DISABLED,
|
|
186
186
|
toggle: () => {
|
|
187
187
|
},
|
|
188
188
|
targetRef: y,
|
|
189
189
|
disableAdaptiveMode: !0,
|
|
190
190
|
children: [
|
|
191
|
-
/* @__PURE__ */
|
|
192
|
-
/* @__PURE__ */
|
|
191
|
+
/* @__PURE__ */ s(E.Body, { "data-test-id": c && `${c}${z.Suggest.tooltip}`, children: N }),
|
|
192
|
+
/* @__PURE__ */ s(E.Target, { children: mo() })
|
|
193
193
|
]
|
|
194
194
|
}
|
|
195
195
|
);
|
|
196
196
|
};
|
|
197
197
|
export {
|
|
198
|
-
|
|
198
|
+
rt as SuggestFieldDesktop
|
|
199
199
|
};
|
|
200
200
|
//# sourceMappingURL=SuggestFieldDesktop.js.map
|
|
@@ -4,7 +4,7 @@ import { Portal as _ } from "../../Portal/Portal.js";
|
|
|
4
4
|
import "../../Dropdown/DropdownListContext.js";
|
|
5
5
|
import { DropdownDesktop as b } from "../../Dropdown/desktop/DropdownDesktop.js";
|
|
6
6
|
import { DropdownList as L } from "../../Dropdown/desktop/DropdownList.js";
|
|
7
|
-
import { D as O } from "../../../chunks/DropdownListItem-
|
|
7
|
+
import { D as O } from "../../../chunks/DropdownListItem-CRdOVwlq.js";
|
|
8
8
|
import { EDropdownWidth as u } from "../../Dropdown/desktop/enums.js";
|
|
9
9
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
10
10
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
@@ -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-dcZDUPZa.js";
|
|
6
6
|
import { SuggestField as m } from "./SuggestField.js";
|
|
7
7
|
export {
|
|
8
8
|
m as SuggestField,
|
|
@@ -7,7 +7,7 @@ import { DataTestId as A } from "../../../consts/DataTestId.js";
|
|
|
7
7
|
import { FormFieldClear as G } from "../../FormField/components/FormFieldClear.js";
|
|
8
8
|
import "../../FormField/components/FormFieldCounter.js";
|
|
9
9
|
import "../../FormField/components/FormFieldDescription.js";
|
|
10
|
-
import { F as N } from "../../../chunks/FormFieldInput-
|
|
10
|
+
import { F as N } from "../../../chunks/FormFieldInput-CyAOOwnJ.js";
|
|
11
11
|
import "../../FormField/components/FormFieldLabel.js";
|
|
12
12
|
import "../../FormField/components/FormFieldMaskedInput.js";
|
|
13
13
|
import "../../FormField/components/FormFieldPostfix.js";
|
|
@@ -18,7 +18,7 @@ import "../../FormField/FormField.js";
|
|
|
18
18
|
import { LoaderSmall as T } from "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
19
19
|
import { ELoaderSmallTheme as V } from "../../Loader/LoaderSmall/enum.js";
|
|
20
20
|
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
21
|
-
import "../../../chunks/SuggestFieldMobileDropdownHint-
|
|
21
|
+
import "../../../chunks/SuggestFieldMobileDropdownHint-dcZDUPZa.js";
|
|
22
22
|
const po = ({
|
|
23
23
|
value: r,
|
|
24
24
|
options: b,
|
|
@@ -3,7 +3,7 @@ import z, { useState as D, 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-CRdOVwlq.js";
|
|
7
7
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
8
8
|
import { DropdownMobileBody as A } from "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
9
9
|
import { DropdownMobileClose as G } from "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -15,7 +15,7 @@ import { DropdownMobileList as L } from "../../Dropdown/mobile/DropdownMobileLis
|
|
|
15
15
|
import { DropdownMobileListItem as Q } from "../../Dropdown/mobile/DropdownMobileListItem.js";
|
|
16
16
|
import { DropdownMobileLoader as U } from "../../Dropdown/mobile/DropdownMobileLoader.js";
|
|
17
17
|
import { Dropdown as W } from "../../Dropdown/Dropdown.js";
|
|
18
|
-
import { s as X, S as Y } from "../../../chunks/SuggestFieldMobileDropdownHint-
|
|
18
|
+
import { s as X, S as Y } from "../../../chunks/SuggestFieldMobileDropdownHint-dcZDUPZa.js";
|
|
19
19
|
const Z = ({
|
|
20
20
|
value: o,
|
|
21
21
|
options: M,
|
|
@@ -4,7 +4,7 @@ import "../../Typography/Caption.js";
|
|
|
4
4
|
import "../../Typography/CodeText.js";
|
|
5
5
|
import "../../Typography/Text.js";
|
|
6
6
|
import "../../Typography/Title.js";
|
|
7
|
-
import { S as g } from "../../../chunks/SuggestFieldMobileDropdownHint-
|
|
7
|
+
import { S as g } from "../../../chunks/SuggestFieldMobileDropdownHint-dcZDUPZa.js";
|
|
8
8
|
export {
|
|
9
9
|
g as SuggestFieldMobileDropdownHint
|
|
10
10
|
};
|
|
@@ -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-dcZDUPZa.js";
|
|
4
4
|
export {
|
|
5
5
|
r as SuggestFieldMobile,
|
|
6
6
|
t as SuggestFieldMobileDropdown,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsxs as j, jsx as
|
|
2
|
-
import z, { useState as
|
|
1
|
+
import { jsxs as j, jsx as w } from "react/jsx-runtime";
|
|
2
|
+
import z, { useState as A, useRef as u, useEffect as M, useImperativeHandle as W } from "react";
|
|
3
3
|
import { c as g } from "../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
const H = "
|
|
4
|
+
const H = "swipeableArea__786e91bb", V = "content__db81750a", $ = "disableScroll__e5399478", k = "disablePointerEvents__c15cdbd5", q = "swipeAnimationFinish__f67e2896", G = "leftContent__63d9ebdb", J = "rightContent__89d2c700", s = {
|
|
5
5
|
swipeableArea: H,
|
|
6
6
|
content: V,
|
|
7
7
|
disableScroll: $,
|
|
@@ -11,7 +11,7 @@ const H = "swipeableArea__efa66e47", V = "content__88008cb4", $ = "disableScroll
|
|
|
11
11
|
rightContent: J
|
|
12
12
|
}, p = 24, _ = 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] = A(!1), [l, d] = A(), [o, e] = A(0), i = u(null), r = u(null), n = u(0), h = u(N), b = u(null), X = () => {
|
|
15
15
|
a(!0);
|
|
16
16
|
const t = n.current - o;
|
|
17
17
|
n.current === 0 ? t > 0 ? e(
|
|
@@ -56,7 +56,7 @@ const H = "swipeableArea__efa66e47", V = "content__88008cb4", $ = "disableScroll
|
|
|
56
56
|
}, D = () => a(!1), P = () => r.current ? Math.abs(o) / r.current.getBoundingClientRect().width : 1, Y = () => i.current ? Math.abs(o) / i.current.getBoundingClientRect().width : 1;
|
|
57
57
|
M(() => {
|
|
58
58
|
const t = (c) => {
|
|
59
|
-
c.touches.length == 1 &&
|
|
59
|
+
c.touches.length == 1 && b.current && !b.current.contains(c.target) && (a(!0), e(0), d(void 0));
|
|
60
60
|
};
|
|
61
61
|
return document.addEventListener("touchstart", t), () => document.removeEventListener("touchstart", t);
|
|
62
62
|
}, []);
|
|
@@ -86,10 +86,10 @@ const H = "swipeableArea__efa66e47", V = "content__88008cb4", $ = "disableScroll
|
|
|
86
86
|
{
|
|
87
87
|
className: g(s.swipeableArea, I),
|
|
88
88
|
...y,
|
|
89
|
-
"data-tx": "0.
|
|
90
|
-
ref:
|
|
89
|
+
"data-tx": "0.26.0",
|
|
90
|
+
ref: b,
|
|
91
91
|
children: [
|
|
92
|
-
typeof m < "u" ? /* @__PURE__ */
|
|
92
|
+
typeof m < "u" ? /* @__PURE__ */ w(
|
|
93
93
|
"div",
|
|
94
94
|
{
|
|
95
95
|
className: g(s.leftContent, {
|
|
@@ -100,7 +100,7 @@ const H = "swipeableArea__efa66e47", V = "content__88008cb4", $ = "disableScroll
|
|
|
100
100
|
children: m
|
|
101
101
|
}
|
|
102
102
|
) : null,
|
|
103
|
-
typeof C < "u" ? /* @__PURE__ */
|
|
103
|
+
typeof C < "u" ? /* @__PURE__ */ w(
|
|
104
104
|
"div",
|
|
105
105
|
{
|
|
106
106
|
className: g(s.rightContent, {
|
|
@@ -111,7 +111,7 @@ const H = "swipeableArea__efa66e47", V = "content__88008cb4", $ = "disableScroll
|
|
|
111
111
|
children: C
|
|
112
112
|
}
|
|
113
113
|
) : null,
|
|
114
|
-
/* @__PURE__ */
|
|
114
|
+
/* @__PURE__ */ w(
|
|
115
115
|
"div",
|
|
116
116
|
{
|
|
117
117
|
className: g(s.content, {
|