@sberbusiness/triplex-next 1.14.0 → 1.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/{AlertProcessSpoiler-DALLbh4Y.js → AlertProcessSpoiler-BG_kloAp.js} +14 -14
- package/chunks/{CalendarViewItem-DE57LdxF.js → CalendarViewItem-CQQGgtHA.js} +18 -18
- package/chunks/Card.module-D_9Nt5tA.js +17 -0
- package/chunks/CheckboxTreeExtended.module-D7lKoA-a.js +14 -0
- package/chunks/{Chip-CBP_avtm.js → Chip-D_XuO-fG.js} +19 -19
- package/chunks/Confirm.module-BFd_0tH_.js +15 -0
- package/chunks/{DropdownListItem-C6I9gVRb.js → DropdownListItem-DzngoNVf.js} +8 -8
- package/chunks/DropdownMobile.module-Ct6WVB7d.js +23 -0
- package/chunks/Footer.module-Cz5Pu1VT.js +9 -0
- package/chunks/{FormFieldInput-D2lqfg4n.js → FormFieldInput-TbDWEJtn.js} +14 -14
- package/chunks/HeaderLayoutSidebar.module-Bce5gLLP.js +9 -0
- package/chunks/HeaderTabs.module-Bwx0AJwd.js +9 -0
- package/chunks/{HeaderTitle.module-D2Le-Vmd.js → HeaderTitle.module-DVxCsuq0.js} +2 -2
- package/chunks/IslandAccordion.module-oqHSoL0z.js +25 -0
- package/chunks/IslandWidgetFooter.module-Bp7thdVi.js +9 -0
- package/chunks/IslandWidgetHeader.module-B2SJ3aL2.js +12 -0
- package/chunks/{LightBoxContent-Bi0IQWNc.js → LightBoxContent-CY1Sxlp1.js} +10 -10
- package/chunks/LightBoxControls.module-CXoONiYm.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-BeAPadn5.js +8 -0
- package/chunks/{ListItemControlsButton--Ek4l8AX.js → ListItemControlsButton-C55hc-cr.js} +8 -8
- package/chunks/ListItemTail.module-BlucpMEa.js +12 -0
- package/chunks/ListMasterFooter.module-D93cBp3m.js +10 -0
- package/chunks/ModalWindow.module-AO3qbtIE.js +17 -0
- package/chunks/Notification.module-3pjGHWYU.js +21 -0
- package/chunks/Overlay.module-yINooO_5.js +18 -0
- package/chunks/Page.module-fTNmaZZ6.js +11 -0
- package/chunks/{RightBorderArrow-BqzM7D6K.js → RightBorderArrow-D4dScyRx.js} +11 -11
- package/chunks/SMSField.module-D01Witvu.js +16 -0
- package/chunks/SliderExtendedMarks.module-BLyZ9qYi.js +15 -0
- package/chunks/{SliderExtendedRail-BxflNPkW.js → SliderExtendedRail-Bgz2tkUx.js} +8 -8
- package/chunks/StatusTracker.module-DPlTQG3M.js +24 -0
- package/chunks/SuggestFieldMobileDropdownHint-CaLnhNmM.js +14 -0
- package/chunks/TableFooter.module-zC8u9DwX.js +14 -0
- package/chunks/TabsExtended.module-C65aq0XO.js +16 -0
- package/chunks/TabsLine.module-B3O0egAv.js +21 -0
- package/chunks/TooltipDesktop.module-D1K6FcqB.js +19 -0
- package/chunks/TreeView.module-Vpz40gNk.js +9 -0
- package/chunks/UploadZoneInput-DxG_yQtm.js +33 -0
- package/chunks/constants-DAn1uZaw.js +57 -0
- package/chunks/{utils-DPkyEvqV.js → utils-9tQwQbYj.js} +11 -11
- package/chunks/{utils-Cyb1tecG.js → utils-D7Yx6kDI.js} +4 -4
- package/chunks/utils-DV0NGebi.js +24 -0
- package/chunks/utils-HLMbnICl.js +73 -0
- package/chunks/{vendor-DucOfXwy.js → vendor-Dlne6Znf.js} +5 -5
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +4 -4
- package/components/Alert/AlertContext/AlertContext.js +7 -7
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +10 -10
- package/components/AmountField/AmountField.js +27 -27
- package/components/Avatar/Avatar.js +15 -15
- package/components/Badge/Badge.js +30 -0
- package/components/Badge/BadgeDot.js +15 -0
- package/components/Badge/components/BadgeContent.js +35 -0
- package/components/Badge/components/BadgePostfix.js +14 -0
- package/components/Badge/components/BadgePrefix.js +10 -0
- package/components/Badge/index.js +5 -0
- package/components/Badge/types.js +2 -0
- package/components/Body/Body.js +5 -5
- package/components/Button/Button.js +21 -21
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +2 -2
- package/components/Button/ButtonDropdownExtended.js +8 -8
- package/components/Button/ButtonIcon.js +5 -5
- package/components/Calendar/Calendar.js +21 -21
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +16 -16
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +2 -2
- package/components/Checkbox/Checkbox.js +10 -10
- package/components/Checkbox/CheckboxXGroup.js +15 -15
- package/components/Checkbox/CheckboxYGroup.js +2 -2
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +6 -6
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +4 -4
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +6 -6
- package/components/Chip/ChipSelect/ChipSelect.js +2 -2
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +51 -42
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +7 -7
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +18 -18
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +13 -13
- package/components/Col/Col.js +145 -145
- package/components/CollapsableTree/components/CollapsableTreeNode.js +19 -19
- package/components/Confirm/Confirm.js +2 -2
- package/components/Confirm/components/ConfirmCloseButton.js +2 -2
- package/components/Confirm/components/ConfirmContent.js +2 -2
- package/components/Confirm/components/ConfirmContentSubTitle.js +5 -5
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/DateField/DateField.js +1 -1
- package/components/DateField/DateFieldTarget.js +31 -30
- package/components/DatePickerExtended/DatePickerExtended.js +7 -7
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +5 -5
- package/components/DateRange/DateRange.js +10 -10
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensComponents.js +88 -86
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +92 -90
- package/components/DesignTokens/components/Badge.js +9 -0
- package/components/DesignTokens/components/Dropdown.js +3 -3
- package/components/DesignTokens/components/DropdownMobileList.js +2 -2
- package/components/DesignTokens/components/Typography.js +35 -2
- package/components/DesignTokens/components/index.js +150 -147
- package/components/Divider/Divider.js +23 -23
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +9 -9
- package/components/Dropdown/desktop/DropdownDesktop.js +70 -69
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +35 -35
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +3 -3
- package/components/Ellipsis/Ellipsis.js +13 -13
- package/components/ExpandAnimation/ExpandAnimation.js +12 -12
- package/components/ExpandAnimation/index.js +5 -0
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +2 -2
- package/components/Footer/components/FooterDescriptionContent.js +2 -2
- package/components/Footer/components/FooterDescriptionControls.js +2 -2
- package/components/FormField/FormField.js +79 -75
- package/components/FormField/components/FormFieldClear.js +10 -10
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +14 -14
- package/components/FormField/components/FormFieldMaskedInput.js +16 -16
- package/components/FormField/components/FormFieldPostfix.js +8 -8
- package/components/FormField/components/FormFieldPrefix.js +8 -8
- package/components/FormField/components/FormFieldTarget.js +17 -17
- package/components/FormField/components/FormFieldTextarea.js +14 -14
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +9 -9
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +38 -37
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +4 -4
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +89 -74
- package/components/IslandWidget/IslandWidget.js +68 -37
- package/components/IslandWidget/IslandWidgetContext.js +5 -5
- package/components/IslandWidget/IslandWidgetLayoutContext.js +10 -0
- package/components/IslandWidget/components/IslandWidgetBody.js +7 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +3 -3
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +28 -10
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +5 -5
- package/components/LightBox/LightBox.js +14 -15
- package/components/LightBox/LightBoxContent.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxClose.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxControls.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxNext.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +68 -70
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSideOverlay/index.js +0 -2
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +5 -5
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +7 -7
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/LightBox/index.js +0 -2
- package/components/Link/Link.js +23 -23
- package/components/List/List.js +8 -8
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +3 -3
- package/components/List/components/ListItemControls.js +7 -7
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +9 -9
- package/components/List/components/ListItemLoading.js +2 -2
- package/components/List/components/ListItemSelectable.js +11 -11
- package/components/List/components/ListItemTable.js +9 -9
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +6 -6
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +7 -7
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +8 -8
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +6 -6
- package/components/ListMaster/components/SelectionControls.js +9 -9
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +8 -8
- package/components/Loader/LoaderSmall/LoaderSmall.js +8 -8
- package/components/LoaderScreen/LoaderScreen.js +9 -9
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +15 -15
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +3 -3
- package/components/ModalWindow/components/ModalWindowClose.js +4 -4
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +6 -6
- package/components/ModalWindow/components/ModalWindowViewManager.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +9 -9
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +3 -3
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyContent.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NotificationIcon/NotificationIcon.js +2 -2
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +5 -5
- package/components/OrderedList/OrderedListItem.js +8 -8
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +2 -2
- package/components/Page/components/BodyPage.js +7 -7
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/Pagination.js +4 -4
- package/components/Pagination/components/PaginationExtended.js +3 -3
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +2 -2
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +26 -30
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +15 -15
- package/components/Radio/RadioXGroup.js +14 -14
- package/components/Radio/RadioYGroup.js +5 -5
- package/components/Row/Row.js +4 -4
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +3 -3
- package/components/SMSField/components/SMSFieldRefresh.js +2 -2
- package/components/SMSField/components/SMSFieldSubmit.js +2 -2
- package/components/SMSField/components/SMSFieldTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +6 -6
- package/components/SegmentedControl/SegmentedControlSegment.js +11 -11
- package/components/SelectExtendedField/SelectExtendedField.js +6 -6
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +15 -15
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +22 -22
- package/components/SelectField/SelectField.js +11 -11
- package/components/Skeleton/Skeleton.js +5 -5
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +17 -17
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +2 -2
- package/components/SliderExtended/components/SliderExtendedRail.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +7 -7
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +24 -24
- package/components/SmallInput/SmallInput.js +2 -2
- package/components/Spoiler/Spoiler.js +17 -17
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +6 -6
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +8 -8
- package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
- package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
- package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
- package/components/StatusTracker/components/StatusTrackerSum.js +8 -8
- package/components/StatusTracker/components/StatusTrackerTitle.js +8 -8
- package/components/Step/Step.js +10 -10
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +4 -4
- package/components/Stepper/StepperExtended.js +6 -6
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +3 -3
- package/components/Suggest/Suggest.js +52 -88
- package/components/Suggest/SuggestContext.js +4 -7
- package/components/Suggest/SuggestMobileDropdownContent.js +18 -18
- package/components/Suggest/useSuggest.js +64 -0
- package/components/SuggestField/SuggestField.js +44 -47
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +128 -129
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +5 -5
- package/components/SuggestField/index.js +8 -10
- package/components/SuggestField/mobile/SuggestFieldMobile.js +94 -75
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +26 -26
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +4 -4
- package/components/SuggestField/mobile/index.js +4 -6
- package/components/SwipeableArea/SwipeableArea.js +21 -21
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +16 -16
- package/components/Table/NoColumns.js +4 -4
- package/components/Table/PaginationPanel.js +3 -3
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +8 -8
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +3 -3
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +4 -4
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +3 -3
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +2 -2
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +6 -6
- package/components/Table/TabsLinePanelLinks.js +8 -8
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +21 -21
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +9 -9
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +1 -1
- package/components/Tag/Tag.js +12 -12
- package/components/TagColor/TagColor.js +15 -15
- package/components/TagGroup/TagGroup.js +4 -4
- package/components/TextField/TextField.js +1 -1
- package/components/TextField/TextFieldBase.js +23 -28
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +8 -8
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +2 -2
- package/components/TopOverlay/TopOverlay.js +23 -23
- package/components/TreeView/TreeView.js +2 -2
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +2 -2
- package/components/Typography/Caption.js +41 -43
- package/components/Typography/Text.js +49 -51
- package/components/Typography/Title.js +40 -42
- package/components/Typography/constants.js +6 -0
- package/components/Typography/enums.js +9 -8
- package/components/Typography/index.js +15 -16
- package/components/UnorderedList/UnorderedList.js +5 -5
- package/components/UnorderedList/UnorderedListItem.js +12 -12
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +532 -533
- package/index.d.ts +236 -237
- package/index.js +576 -577
- package/package.json +9 -1
- package/styles/triplex-next.css +546 -534
- package/utils/amountUtils.js +1 -1
- package/chunks/Card.module-D18ujhsr.js +0 -17
- package/chunks/CheckboxTreeExtended.module-BGrgoYFp.js +0 -14
- package/chunks/Confirm.module-Y-2NyRFX.js +0 -15
- package/chunks/DropdownMobile.module-ppF6TvoG.js +0 -23
- package/chunks/Footer.module-BlHDTNCR.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-hEx6xNDd.js +0 -9
- package/chunks/HeaderTabs.module-msmMm_BI.js +0 -9
- package/chunks/IslandAccordion.module-DpgAGmIN.js +0 -25
- package/chunks/IslandWidgetFooter.module-DhoYKy6M.js +0 -9
- package/chunks/IslandWidgetHeader.module-BFXzve-T.js +0 -9
- package/chunks/LightBoxControls.module-DTFEWumP.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CLzUeuQG.js +0 -8
- package/chunks/ListItemTail.module-DrFpbbjw.js +0 -12
- package/chunks/ListMasterFooter.module-CMNUIWxu.js +0 -10
- package/chunks/ModalWindow.module-CMT6Qwhi.js +0 -17
- package/chunks/Notification.module-8g0up3Mn.js +0 -21
- package/chunks/Overlay.module-CJZIns4Y.js +0 -18
- package/chunks/Page.module-Cq-KMJ_J.js +0 -11
- package/chunks/SMSField.module-Dpw_velC.js +0 -16
- package/chunks/SliderExtendedMarks.module-Cwy_TAtg.js +0 -15
- package/chunks/StatusTracker.module-BPaAftS3.js +0 -24
- package/chunks/SuggestFieldMobileDropdownHint-CooicUNx.js +0 -15
- package/chunks/TableFooter.module-BXib8bAF.js +0 -14
- package/chunks/TabsExtended.module-41dIJqTz.js +0 -16
- package/chunks/TabsLine.module-DY1bt47O.js +0 -21
- package/chunks/TooltipDesktop.module-BP9en5Mr.js +0 -19
- package/chunks/TreeView.module-ssEB6Mn6.js +0 -9
- package/chunks/UploadZoneInput--oJn7HTT.js +0 -33
- package/chunks/utils-6FIQkvvy.js +0 -36
- package/chunks/utils-B5Py99ZO.js +0 -73
- package/chunks/utils-BX1E8zy3.js +0 -24
- package/components/LightBox/LightBoxSideOverlay/enums.js +0 -5
- package/components/SuggestField/SuggestFieldTarget.js +0 -70
- package/components/SuggestField/SuggestFieldTargetPostfix.js +0 -28
- package/components/SuggestField/mobile/SuggestFieldMobileTarget.js +0 -30
- package/components/Typography/utils.js +0 -6
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { c as m } from "../../../chunks/vendor-
|
|
2
|
+
import { c as m } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
3
3
|
import "../../Alert/AlertContext/AlertContext.js";
|
|
4
4
|
import { AlertProcess as i } from "../../Alert/AlertProcess/AlertProcess.js";
|
|
5
5
|
import "../../Alert/AlertTypeUtils.js";
|
|
6
|
-
import { s as p } from "../../../chunks/StatusTracker.module-
|
|
7
|
-
import "../../Typography/
|
|
8
|
-
import { Text as c } from "../../Typography/Text.js";
|
|
6
|
+
import { s as p } from "../../../chunks/StatusTracker.module-DPlTQG3M.js";
|
|
7
|
+
import { ETextSize as c, EFontType as a } from "../../Typography/enums.js";
|
|
9
8
|
import "../../Typography/Caption.js";
|
|
10
|
-
import {
|
|
9
|
+
import { Text as l } from "../../Typography/Text.js";
|
|
10
|
+
import "../../Typography/Title.js";
|
|
11
11
|
const z = (t) => {
|
|
12
12
|
const { children: o, className: e, ...s } = t;
|
|
13
|
-
return /* @__PURE__ */ r(i, { className: m(p.statusTrackerAlert, e), ...s, children: /* @__PURE__ */ r(
|
|
13
|
+
return /* @__PURE__ */ r(i, { className: m(p.statusTrackerAlert, e), ...s, children: /* @__PURE__ */ r(l, { type: a.PRIMARY, size: c.B3, children: o }) });
|
|
14
14
|
};
|
|
15
15
|
export {
|
|
16
16
|
z as StatusTrackerAlert
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import { c as m } from "../../../chunks/vendor-
|
|
3
|
+
import { c as m } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
4
4
|
import { StatusTrackerStatus as c } from "./StatusTrackerStatus.js";
|
|
5
5
|
import { StatusTrackerAlert as i } from "./StatusTrackerAlert.js";
|
|
6
|
-
import { s as u } from "../../../chunks/StatusTracker.module-
|
|
6
|
+
import { s as u } from "../../../chunks/StatusTracker.module-DPlTQG3M.js";
|
|
7
7
|
const f = Object.assign(
|
|
8
8
|
e.forwardRef(function({ children: t, className: r, ...a }, s) {
|
|
9
9
|
return /* @__PURE__ */ o("div", { className: m(u.statusTrackerChild, r), ...a, ref: s, children: t });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import { c as a } from "../../../chunks/vendor-
|
|
3
|
-
import { s as c } from "../../../chunks/StatusTracker.module-
|
|
2
|
+
import { c as a } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
3
|
+
import { s as c } from "../../../chunks/StatusTracker.module-DPlTQG3M.js";
|
|
4
4
|
import { Button as e } from "../../Button/Button.js";
|
|
5
5
|
import "../../Button/ButtonBase.js";
|
|
6
6
|
import "../../Button/ButtonIcon.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { c as i } from "../../../chunks/vendor-
|
|
3
|
-
import "../../Typography/
|
|
4
|
-
import { Text as m } from "../../Typography/Text.js";
|
|
2
|
+
import { c as i } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
3
|
+
import { ETextSize as m, EFontType as p } from "../../Typography/enums.js";
|
|
5
4
|
import "../../Typography/Caption.js";
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
5
|
+
import { Text as c } from "../../Typography/Text.js";
|
|
6
|
+
import "../../Typography/Title.js";
|
|
7
|
+
import { s as a } from "../../../chunks/StatusTracker.module-DPlTQG3M.js";
|
|
8
8
|
const D = (r) => {
|
|
9
9
|
const { children: t, className: s, ...o } = r;
|
|
10
10
|
return /* @__PURE__ */ e(
|
|
11
|
-
|
|
11
|
+
c,
|
|
12
12
|
{
|
|
13
|
-
type:
|
|
14
|
-
size:
|
|
13
|
+
type: p.SECONDARY,
|
|
14
|
+
size: m.B3,
|
|
15
15
|
className: i(a.statusTrackerDescription, s),
|
|
16
16
|
...o,
|
|
17
17
|
children: t
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import c from "react";
|
|
3
|
-
import { c as i } from "../../../chunks/vendor-
|
|
4
|
-
import { s as r } from "../../../chunks/StatusTracker.module-
|
|
3
|
+
import { c as i } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
+
import { s as r } from "../../../chunks/StatusTracker.module-DPlTQG3M.js";
|
|
5
5
|
import { StatusTrackerDescription as m } from "./StatusTrackerDescription.js";
|
|
6
6
|
import { StatusTrackerButton as p } from "./StatusTrackerButton.js";
|
|
7
7
|
const u = Object.assign(
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import o from "react";
|
|
3
|
-
import { c as i } from "../../../chunks/vendor-
|
|
3
|
+
import { c as i } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
4
4
|
import { StatusTrackerDescription as m } from "./StatusTrackerDescription.js";
|
|
5
5
|
import { StatusTrackerTitle as c } from "./StatusTrackerTitle.js";
|
|
6
6
|
import { StatusTrackerSum as u } from "./StatusTrackerSum.js";
|
|
7
|
-
import { s as f } from "../../../chunks/StatusTracker.module-
|
|
7
|
+
import { s as f } from "../../../chunks/StatusTracker.module-DPlTQG3M.js";
|
|
8
8
|
const p = Object.assign(
|
|
9
9
|
o.forwardRef(function({ children: r, className: t, ...a }, e) {
|
|
10
10
|
return /* @__PURE__ */ s("div", { className: i(f.statusTrackerChild, t), ...a, ref: e, children: r });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { c } from "../../../chunks/vendor-
|
|
3
|
-
import { s as o } from "../../../chunks/StatusTracker.module-
|
|
2
|
+
import { c } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
3
|
+
import { s as o } from "../../../chunks/StatusTracker.module-DPlTQG3M.js";
|
|
4
4
|
const d = (s) => {
|
|
5
5
|
const { children: r, className: t, ...a } = s;
|
|
6
6
|
return /* @__PURE__ */ e("div", { className: c(o.statusTrackerChild, t), ...a, children: r });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { c as e } from "../../../chunks/vendor-
|
|
3
|
-
import { s as m } from "../../../chunks/StatusTracker.module-
|
|
2
|
+
import { c as e } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
3
|
+
import { s as m } from "../../../chunks/StatusTracker.module-DPlTQG3M.js";
|
|
4
4
|
import { MarkerStatus as c } from "../../MarkerStatus/MarkerStatus.js";
|
|
5
5
|
const f = (s) => {
|
|
6
6
|
const { children: t, className: r, ...a } = s;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { c as e } from "../../../chunks/vendor-
|
|
3
|
-
import {
|
|
4
|
-
import "../../Typography/Text.js";
|
|
2
|
+
import { c as e } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
3
|
+
import { ETitleSize as i, EFontWeightTitle as a } from "../../Typography/enums.js";
|
|
5
4
|
import "../../Typography/Caption.js";
|
|
6
|
-
import
|
|
5
|
+
import "../../Typography/Text.js";
|
|
6
|
+
import { Title as p } from "../../Typography/Title.js";
|
|
7
7
|
import { Amount as c } from "../../Amount/Amount.js";
|
|
8
|
-
import { s as l } from "../../../chunks/StatusTracker.module-
|
|
8
|
+
import { s as l } from "../../../chunks/StatusTracker.module-DPlTQG3M.js";
|
|
9
9
|
const g = (r) => {
|
|
10
10
|
const { className: o, amountProps: m, ...s } = r;
|
|
11
11
|
return /* @__PURE__ */ t(
|
|
12
|
-
|
|
12
|
+
p,
|
|
13
13
|
{
|
|
14
|
-
weight:
|
|
15
|
-
size:
|
|
14
|
+
weight: a.SEMIBOLD,
|
|
15
|
+
size: i.H1,
|
|
16
16
|
className: e(l.statusTrackerSum, o),
|
|
17
17
|
...s,
|
|
18
18
|
children: /* @__PURE__ */ t(c, { ...m })
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { c as o } from "../../../chunks/vendor-
|
|
3
|
-
import {
|
|
4
|
-
import "../../Typography/Text.js";
|
|
2
|
+
import { c as o } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
3
|
+
import { ETitleSize as m, EFontWeightTitle as a } from "../../Typography/enums.js";
|
|
5
4
|
import "../../Typography/Caption.js";
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
5
|
+
import "../../Typography/Text.js";
|
|
6
|
+
import { Title as l } from "../../Typography/Title.js";
|
|
7
|
+
import { s as c } from "../../../chunks/StatusTracker.module-DPlTQG3M.js";
|
|
8
8
|
const g = (t) => {
|
|
9
9
|
const { children: r, className: e, ...s } = t;
|
|
10
10
|
return /* @__PURE__ */ i(
|
|
11
|
-
|
|
11
|
+
l,
|
|
12
12
|
{
|
|
13
|
-
weight:
|
|
14
|
-
size:
|
|
13
|
+
weight: a.BOLD,
|
|
14
|
+
size: m.H3,
|
|
15
15
|
className: o(c.statusTrackerTitle, e),
|
|
16
16
|
...s,
|
|
17
17
|
children: r
|
package/components/Step/Step.js
CHANGED
|
@@ -3,14 +3,14 @@ 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 b } from "../Typography/enums.js";
|
|
8
7
|
import "../Typography/Caption.js";
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
|
|
8
|
+
import { Text as D } from "../Typography/Text.js";
|
|
9
|
+
import "../Typography/Title.js";
|
|
10
|
+
import { c as N } from "../../chunks/vendor-Dlne6Znf.js";
|
|
11
|
+
const A = "step__4ea71bbd", R = "done__1eddc6d7", x = "warning__b006f3e4", h = "active__45189637", v = "error__3eba19b1", w = "disabled__9971787b", t = {
|
|
12
12
|
step: A,
|
|
13
|
-
default: "
|
|
13
|
+
default: "default__0142fa4d",
|
|
14
14
|
done: R,
|
|
15
15
|
warning: x,
|
|
16
16
|
active: h,
|
|
@@ -30,16 +30,16 @@ const A = "step__26dedab4", R = "done__7f9b2063", x = "warning__493ac581", h = "
|
|
|
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:
|
|
33
|
+
step: c,
|
|
34
34
|
status: d,
|
|
35
35
|
position: m = e.Default,
|
|
36
36
|
...f
|
|
37
37
|
}) => {
|
|
38
|
-
const l = u(null), T = y[m], E =
|
|
38
|
+
const l = u(null), T = y[m], E = N(t.step, L[d], s), p = () => /* @__PURE__ */ i("div", { ref: l, className: E, ...f, children: /* @__PURE__ */ i(D, { size: b.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-Dlne6Znf.js";
|
|
12
12
|
import { EStepperSize as a } from "./enums.js";
|
|
13
|
-
const K = "
|
|
13
|
+
const K = "stepper__ec6ab59a", O = "sm__6c3eb891", Q = "md__b3898623", T = "lg__15e04969", U = "stepperCarousel__de059a20", V = "buttonPrev__61fcdbc1", Y = "buttonNext__144783cf", n = {
|
|
14
14
|
stepper: K,
|
|
15
15
|
sm: O,
|
|
16
16
|
md: Q,
|
|
@@ -65,8 +65,8 @@ const K = "stepper__2ba1d6ff", O = "sm__72ce2a07", Q = "md__1db43a5f", T = "lg__
|
|
|
65
65
|
}, y = (e, t) => {
|
|
66
66
|
t && S(e, t);
|
|
67
67
|
}, A = (e, t) => {
|
|
68
|
-
const { left: r, right: o, width: j } = e.getBoundingClientRect(), { left: f, right: N, width: D } = t.getBoundingClientRect(),
|
|
69
|
-
window.matchMedia(`(max-width: ${J.SM_MAX})`).matches ? y(e,
|
|
68
|
+
const { left: r, right: o, width: j } = e.getBoundingClientRect(), { left: f, right: N, width: D } = t.getBoundingClientRect(), g = r + j / 2, d = f + D / 2;
|
|
69
|
+
window.matchMedia(`(max-width: ${J.SM_MAX})`).matches ? y(e, d - g) : g > d ? k(e, t, f - r - 32, f) : g < d && L(e, t, N - o + 32, N);
|
|
70
70
|
};
|
|
71
71
|
return C(() => {
|
|
72
72
|
if (l) {
|
|
@@ -3,8 +3,8 @@ import { EStepperSize as a } from "./enums.js";
|
|
|
3
3
|
import { StepperExtendedContext as i } from "./StepperExtendedContext.js";
|
|
4
4
|
import { StepperWrapper as x } from "./StepperWrapper.js";
|
|
5
5
|
import { StepperStep as f } from "./StepperStep.js";
|
|
6
|
-
import { c as E } from "../../chunks/vendor-
|
|
7
|
-
const b = "
|
|
6
|
+
import { c as E } from "../../chunks/vendor-Dlne6Znf.js";
|
|
7
|
+
const b = "stepperExtended__93d97b7e", h = {
|
|
8
8
|
stepperExtended: b
|
|
9
9
|
}, t = ({
|
|
10
10
|
children: r,
|
|
@@ -12,11 +12,11 @@ const b = "stepperExtended__6cc0c4ba", h = {
|
|
|
12
12
|
size: o = a.SM,
|
|
13
13
|
onSelectStep: s,
|
|
14
14
|
selectedStepId: d,
|
|
15
|
-
forwardedRef:
|
|
16
|
-
...
|
|
15
|
+
forwardedRef: n,
|
|
16
|
+
...m
|
|
17
17
|
}) => {
|
|
18
|
-
const
|
|
19
|
-
return /* @__PURE__ */ e(i.Provider, { value: { onSelectStep: l, selectedId: d, size: o }, children: /* @__PURE__ */ e("ol", { className:
|
|
18
|
+
const c = E(h.stepperExtended, p), l = (S) => s(S);
|
|
19
|
+
return /* @__PURE__ */ e(i.Provider, { value: { onSelectStep: l, selectedId: d, size: o }, children: /* @__PURE__ */ e("ol", { className: c, role: "tablist", ...m, ref: n, children: r }) });
|
|
20
20
|
};
|
|
21
21
|
t.Step = f;
|
|
22
22
|
t.Wrapper = x;
|
|
@@ -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-Dlne6Znf.js";
|
|
8
|
+
import { s as t, R as F } from "../../chunks/RightBorderArrow-D4dScyRx.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.16.0", children: [
|
|
76
76
|
g && U(),
|
|
77
77
|
x
|
|
78
78
|
] }),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { c as a } from "../../chunks/vendor-
|
|
3
|
-
const o = "
|
|
2
|
+
import { c as a } from "../../chunks/vendor-Dlne6Znf.js";
|
|
3
|
+
const o = "stepperWrapper__d64db8f3", c = {
|
|
4
4
|
stepperWrapper: o
|
|
5
5
|
}, W = ({ children: p, className: r, ...e }) => {
|
|
6
6
|
const s = a(c.stepperWrapper, r);
|
|
7
|
-
return /* @__PURE__ */ t("div", { className: s, ...e, "data-tx": "1.
|
|
7
|
+
return /* @__PURE__ */ t("div", { className: s, ...e, "data-tx": "1.16.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-DzngoNVf.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__23b3363c", z = "suggestDropdownMobileNoOptionsText__8942ef93", g = {
|
|
24
24
|
suggestDropdownMobileBody: k,
|
|
25
25
|
suggestDropdownMobileNoOptionsText: z
|
|
26
26
|
}, po = () => {
|
|
@@ -31,12 +31,12 @@ const k = "suggestDropdownMobileBody__7f68bf89", z = "suggestDropdownMobileNoOpt
|
|
|
31
31
|
placeholder: u,
|
|
32
32
|
noOptionsText: a,
|
|
33
33
|
loading: b,
|
|
34
|
-
clearInputOnFocus:
|
|
35
|
-
dropdownListLoading:
|
|
36
|
-
onSelect:
|
|
34
|
+
clearInputOnFocus: p,
|
|
35
|
+
dropdownListLoading: w,
|
|
36
|
+
onSelect: f,
|
|
37
37
|
onFilter: t,
|
|
38
38
|
onScrollEnd: l,
|
|
39
|
-
closeDropdown:
|
|
39
|
+
closeDropdown: d
|
|
40
40
|
} = F(), h = B(null), D = r(
|
|
41
41
|
(o) => {
|
|
42
42
|
if (l === void 0)
|
|
@@ -45,14 +45,14 @@ const k = "suggestDropdownMobileBody__7f68bf89", 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,
|
|
@@ -74,21 +74,21 @@ const k = "suggestDropdownMobileBody__7f68bf89", z = "suggestDropdownMobileNoOpt
|
|
|
74
74
|
}
|
|
75
75
|
),
|
|
76
76
|
/* @__PURE__ */ e(I, { className: g.suggestDropdownMobileBody, onScroll: D, children: s.length === 0 ? /* @__PURE__ */ e(
|
|
77
|
-
|
|
77
|
+
j,
|
|
78
78
|
{
|
|
79
79
|
className: g.suggestDropdownMobileNoOptionsText,
|
|
80
|
-
type:
|
|
81
|
-
size:
|
|
80
|
+
type: H.PRIMARY,
|
|
81
|
+
size: E.B2,
|
|
82
82
|
tag: "div",
|
|
83
83
|
children: a
|
|
84
84
|
}
|
|
85
|
-
) : /* @__PURE__ */ e(R, { loading:
|
|
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
|
},
|