@sberbusiness/triplex-next 1.8.0 → 1.10.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-C7qEZRwB.js → AlertProcessSpoiler-C4HDxCMJ.js} +10 -10
- package/chunks/{CalendarViewItem-CUPkQFFY.js → CalendarViewItem-Y3UQ6liF.js} +11 -11
- package/chunks/Card.module-t9A1wsgP.js +17 -0
- package/chunks/CheckboxTreeExtended.module-BMfgVvwS.js +11 -0
- package/chunks/{Chip-CCv72AgN.js → Chip-21qt-Ukl.js} +12 -12
- package/chunks/Confirm.module-CrTyGEYv.js +15 -0
- package/chunks/{DropdownListItem-BcXHt5bk.js → DropdownListItem-DXBppGoi.js} +18 -18
- package/chunks/DropdownMobile.module-CdquuBgl.js +23 -0
- package/chunks/Footer.module-9PrdQ3S7.js +9 -0
- package/chunks/FormFieldInput-hUwbIuBd.js +62 -0
- package/chunks/HeaderLayoutSidebar.module-QjkaZFtn.js +9 -0
- package/chunks/HeaderTabs.module-a_JyDpFt.js +9 -0
- package/chunks/{HeaderTitle.module-0YuV_UNN.js → HeaderTitle.module-B_2yQmEh.js} +2 -2
- package/chunks/IslandAccordion.module-BCHg71CD.js +25 -0
- package/chunks/IslandWidgetFooter.module-DV2tNWtj.js +9 -0
- package/chunks/IslandWidgetHeader.module-kAuK5xmR.js +9 -0
- package/chunks/LightBoxContent-DDRusGqo.js +56 -0
- package/chunks/LightBoxControls.module-CHrL_gpj.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-CVxmzGmO.js +8 -0
- package/chunks/{ListItemControlsButton-BB9ENDS-.js → ListItemControlsButton-3APG17-A.js} +9 -9
- package/chunks/ListItemTail.module-BW9qp-XX.js +12 -0
- package/chunks/ListMasterFooter.module-B3kLf2M1.js +10 -0
- package/chunks/ModalWindow.module-BFTuZtt7.js +17 -0
- package/chunks/Notification.module-DU0GLki1.js +21 -0
- package/chunks/Overlay.module-CQY18PV-.js +18 -0
- package/chunks/Page.module-BO9rnNjD.js +11 -0
- package/chunks/{RightBorderArrow-BsoQkq2D.js → RightBorderArrow-Bo5_O5lj.js} +6 -6
- package/chunks/SMSField.module-ibOZLVgV.js +16 -0
- package/chunks/SliderExtendedMarks.module-BBaU_j-p.js +15 -0
- package/chunks/{SliderExtendedRail-DCMgHGfh.js → SliderExtendedRail-C7TQHv-j.js} +9 -9
- package/chunks/StatusTracker.module-C66hhTIO.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-BEzPFmOF.js → SuggestFieldMobileDropdownHint-BJiMEG2_.js} +2 -2
- package/chunks/TableFooter.module-cSix4Lyk.js +14 -0
- package/chunks/TabsExtended.module-D7fs9FsL.js +16 -0
- package/chunks/TabsLine.module-CEQyfehM.js +21 -0
- package/chunks/TooltipDesktop.module-DD9WosV6.js +19 -0
- package/chunks/TreeView.module-Dxrir5YQ.js +9 -0
- package/chunks/{UploadZoneInput-BES4iuW5.js → UploadZoneInput-C2_0grVp.js} +8 -8
- package/chunks/utils-BhoCc4rI.js +36 -0
- package/chunks/{utils-DRFlp8Cg.js → utils-BsOip28-.js} +13 -13
- package/chunks/utils-D8Gj0oC8.js +20 -0
- package/chunks/utils-HEAUA6LV.js +24 -0
- package/chunks/{utils-D2zZhfuB.js → utils-mlGAF1hQ.js} +8 -8
- package/chunks/{vendor-D3hUOusX.js → vendor-ClY57Zzq.js} +1220 -1220
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +12 -12
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +8 -8
- package/components/AmountField/AmountField.js +59 -62
- package/components/Body/Body.js +8 -8
- package/components/Button/Button.js +32 -32
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +30 -30
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +7 -7
- package/components/Calendar/Calendar.js +3 -3
- package/components/Calendar/CalendarContext.js +1 -1
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +3 -3
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +2 -2
- package/components/Calendar/components/CalendarViewYears.js +2 -2
- package/components/Calendar/utils.js +1 -1
- package/components/Card/CardAction.js +18 -18
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +7 -7
- package/components/CarouselExtended/index.js +5 -0
- package/components/Checkbox/Checkbox.js +35 -33
- package/components/Checkbox/CheckboxXGroup.js +16 -16
- package/components/Checkbox/CheckboxYGroup.js +4 -4
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +10 -10
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +3 -3
- package/components/Chip/ChipDatePicker/{components/ChipDatePickerTarget.js → ChipDatePickerTarget.js} +5 -5
- package/components/Chip/ChipDatePicker/index.js +7 -0
- package/components/Chip/ChipDropdownArrow.js +8 -8
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +25 -23
- package/components/Chip/ChipOptions.js +6 -6
- package/components/Chip/ChipSelect/ChipSelect.js +51 -0
- package/components/Chip/ChipSelect/ChipSelectTarget.js +44 -0
- package/components/Chip/ChipSelect/index.js +7 -0
- package/components/Chip/ChipSort.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +69 -57
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +31 -29
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +2 -2
- package/components/Chip/index.js +26 -20
- package/components/ChipGroup/ChipGroup.js +14 -14
- package/components/Col/Col.js +131 -131
- package/components/CollapsableTree/components/CollapsableTreeNode.js +14 -14
- package/components/Confirm/Confirm.js +2 -2
- package/components/Confirm/components/ConfirmCloseButton.js +2 -2
- package/components/Confirm/components/ConfirmContent.js +2 -2
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/DateField/DateField.js +2 -2
- package/components/DateField/utils.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +5 -5
- package/components/DateRange/DateRange.js +26 -26
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensComponents.js +101 -94
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +102 -95
- package/components/DesignTokens/components/AmountField.js +11 -0
- package/components/DesignTokens/components/Calendar.js +6 -4
- package/components/DesignTokens/components/FormField.js +2 -2
- package/components/DesignTokens/components/{SMSInput.js → SMSField.js} +9 -9
- package/components/DesignTokens/components/TabsLine.js +0 -9
- package/components/DesignTokens/components/TagColor.js +26 -0
- package/components/DesignTokens/components/index.js +156 -150
- package/components/Divider/Divider.js +18 -18
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +2 -2
- package/components/Dropdown/desktop/DropdownDesktop.js +11 -11
- 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 +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +4 -4
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +2 -2
- package/components/Ellipsis/Ellipsis.js +9 -9
- package/components/ExpandAnimation/ExpandAnimation.js +19 -19
- 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 +25 -25
- package/components/FormField/components/FormFieldClear.js +16 -16
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +6 -6
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +11 -11
- package/components/FormField/components/FormFieldMaskedInput.js +47 -47
- package/components/FormField/components/FormFieldPostfix.js +10 -10
- package/components/FormField/components/FormFieldPrefix.js +10 -10
- package/components/FormField/components/FormFieldTarget.js +5 -5
- package/components/FormField/components/FormFieldTextarea.js +14 -14
- package/components/FormField/enums.js +2 -3
- package/components/FormField/index.js +13 -14
- 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 +2 -2
- 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 +11 -11
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +2 -2
- 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 +73 -81
- package/components/IslandWidget/IslandWidget.js +3 -3
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +6 -6
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +8 -8
- package/components/LightBox/LightBox.js +57 -51
- package/components/LightBox/LightBoxContent.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxClose.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxControls.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxNext.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +23 -23
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +15 -0
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +15 -0
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +32 -32
- package/components/List/List.js +6 -6
- 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 +11 -11
- package/components/List/components/ListItemControls.js +6 -6
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +3 -3
- package/components/List/components/ListItemSelectable.js +5 -5
- 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 +5 -5
- 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 +7 -7
- 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 +11 -11
- package/components/ListMaster/components/SelectionControls.js +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +13 -13
- package/components/Loader/LoaderSmall/LoaderSmall.js +13 -13
- 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 +13 -13
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +2 -2
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +3 -3
- package/components/ModalWindow/components/ModalWindowViewManager.js +2 -2
- package/components/MonthYearField/utils.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +8 -8
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +6 -6
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyContent.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NotificationIcon/NotificationIcon.js +5 -5
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +6 -6
- package/components/OrderedList/OrderedListItem.js +7 -7
- 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 +9 -9
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +6 -6
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +2 -2
- package/components/Pagination/components/PaginationPageEllipsis.js +4 -4
- package/components/Pagination/components/PaginationSelect.js +8 -8
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +22 -20
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +7 -7
- package/components/Row/Row.js +7 -7
- package/components/SMSField/SMSField.js +41 -0
- package/components/{SMSInput/SMSInputContext.js → SMSField/SMSFieldContext.js} +3 -3
- package/components/{SMSInput → SMSField}/components/RefreshIcon.js +4 -4
- package/components/SMSField/components/SMSFieldInput.js +63 -0
- package/components/SMSField/components/SMSFieldRefresh.js +39 -0
- package/components/SMSField/components/SMSFieldSubmit.js +43 -0
- package/components/SMSField/components/SMSFieldTooltip.js +38 -0
- package/components/SMSField/index.js +5 -0
- package/components/SegmentedControl/SegmentedControl.js +6 -6
- package/components/SegmentedControl/SegmentedControlSegment.js +15 -15
- package/components/SelectExtendedField/SelectExtendedField.js +15 -15
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +4 -4
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +14 -14
- 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 +20 -20
- package/components/SmallInput/SmallInput.js +6 -6
- package/components/Spoiler/Spoiler.js +18 -18
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +2 -2
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +2 -2
- package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
- package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
- package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
- package/components/StatusTracker/components/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/Step/Step.js +9 -9
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +2 -2
- package/components/Stepper/StepperExtended.js +4 -4
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +5 -5
- package/components/Suggest/SuggestMobileDropdownContent.js +11 -11
- package/components/SuggestField/SuggestField.js +1 -1
- package/components/SuggestField/SuggestFieldTarget.js +1 -1
- package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +14 -14
- 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 +13 -13
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +16 -16
- package/components/Table/NoColumns.js +6 -6
- package/components/Table/PaginationPanel.js +5 -5
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +5 -5
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +2 -2
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +2 -2
- package/components/Table/TabsLinePanelLinks.js +2 -2
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +18 -18
- 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 +79 -55
- package/components/TabsLine/components/TabsLineItem.js +55 -23
- package/components/TabsLine/components/TabsLineMobile.js +12 -12
- package/components/TabsLine/utils.js +11 -0
- package/components/Tag/Tag.js +35 -35
- package/components/TagColor/TagColor.js +36 -0
- package/components/TagColor/enums.js +5 -0
- package/components/TagColor/index.js +5 -0
- package/components/TagColor/types.js +2 -0
- package/components/TagGroup/TagGroup.js +11 -11
- package/components/TextField/TextField.js +1 -1
- 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 +16 -16
- 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 +27 -23
- package/components/Tooltip/components/mobile/components/TooltipMobileCloseButton.js +11 -6
- package/components/Tooltip/components/mobile/components/TooltipMobileHeader.js +5 -5
- package/components/TopOverlay/TopOverlay.js +6 -6
- 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 +17 -17
- package/components/Typography/Text.js +23 -23
- package/components/Typography/Title.js +14 -14
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +6 -6
- package/components/UnorderedList/UnorderedListItem.js +11 -11
- 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 +560 -550
- package/consts/DateConst.js +1 -1
- package/consts/index.js +14 -0
- package/index.d.ts +186 -79
- package/index.js +579 -561
- package/package.json +12 -4
- package/styles/triplex-next.css +535 -528
- package/utils/amountUtils.js +1 -1
- package/chunks/Card.module-D1ZooBvB.js +0 -17
- package/chunks/CheckboxTreeExtended.module-CjWzaGb4.js +0 -11
- package/chunks/Confirm.module-DCsU0G6f.js +0 -15
- package/chunks/DropdownMobile.module-B-UZ3LiZ.js +0 -23
- package/chunks/Footer.module-lZvJ02_q.js +0 -9
- package/chunks/FormFieldInput-BnHKlreA.js +0 -62
- package/chunks/HeaderLayoutSidebar.module-CWZIkcLe.js +0 -9
- package/chunks/HeaderTabs.module-C-ZA_mn1.js +0 -9
- package/chunks/IslandAccordion.module-h_O6zE1D.js +0 -26
- package/chunks/IslandWidgetFooter.module-Qje3BoKp.js +0 -9
- package/chunks/IslandWidgetHeader.module-CX_EFZUr.js +0 -9
- package/chunks/LightBoxContent-CzLiq8KE.js +0 -56
- package/chunks/LightBoxControls.module-BRiJRrAF.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CCW9Lhhe.js +0 -8
- package/chunks/ListItemTail.module-BNCbqffO.js +0 -12
- package/chunks/ListMasterFooter.module-TZgSWuoA.js +0 -10
- package/chunks/ModalWindow.module-Bf1JWUeo.js +0 -17
- package/chunks/Notification.module-BRB3HPvc.js +0 -21
- package/chunks/Overlay.module-BPWZrFj3.js +0 -18
- package/chunks/Page.module-qLhls7XX.js +0 -11
- package/chunks/SMSInput.module-C87wEVmB.js +0 -16
- package/chunks/SliderExtendedMarks.module-DwPWr28H.js +0 -15
- package/chunks/StatusTracker.module-8ARjpbBi.js +0 -24
- package/chunks/TableFooter.module-DgtjRZYk.js +0 -14
- package/chunks/TabsExtended.module-B0_ktbZ6.js +0 -16
- package/chunks/TabsLine.module-DGic2tTZ.js +0 -21
- package/chunks/TooltipDesktop.module-krYzO0tT.js +0 -19
- package/chunks/TooltipMobileCloseButton-D5h1S51t.js +0 -20
- package/chunks/TreeView.module-7xjkN1j1.js +0 -9
- package/chunks/utils-Bg2EU04u.js +0 -36
- package/chunks/utils-CIob06mu.js +0 -20
- package/chunks/utils-TKCSmJUI.js +0 -24
- package/components/Chip/ChipSelect.js +0 -55
- package/components/SMSInput/SMSInput.js +0 -41
- package/components/SMSInput/components/SMSInputInput.js +0 -63
- package/components/SMSInput/components/SMSInputRefresh.js +0 -39
- package/components/SMSInput/components/SMSInputSubmit.js +0 -43
- package/components/SMSInput/components/SMSInputTooltip.js +0 -38
- package/components/SMSInput/index.js +0 -5
- /package/components/{SMSInput → SMSField}/components/SubmitIcon.js +0 -0
- /package/components/{SMSInput → SMSField}/types.js +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c } from "../../chunks/vendor-
|
|
4
|
-
import { CrossStrokeSrvIcon24 as
|
|
2
|
+
import c from "react";
|
|
3
|
+
import { c as p } from "../../chunks/vendor-ClY57Zzq.js";
|
|
4
|
+
import { CrossStrokeSrvIcon24 as a, CrossStrokeSrvIcon20 as i, CrossStrokeSrvIcon16 as l } from "@sberbusiness/icons-next";
|
|
5
5
|
import { EComponentSize as t } from "../../enums/EComponentSize.js";
|
|
6
6
|
import { ButtonIcon as m } from "../Button/ButtonIcon.js";
|
|
7
|
-
const C = "
|
|
7
|
+
const C = "chipClearButton__6fc6d74d", f = {
|
|
8
8
|
chipClearButton: C
|
|
9
|
-
},
|
|
9
|
+
}, d = {
|
|
10
10
|
[t.SM]: /* @__PURE__ */ o(l, { paletteIndex: 6 }),
|
|
11
11
|
[t.MD]: /* @__PURE__ */ o(i, { paletteIndex: 6 }),
|
|
12
|
-
[t.LG]: /* @__PURE__ */ o(
|
|
13
|
-
},
|
|
14
|
-
({ className: r, size: e = t.MD, ...n }, s) => /* @__PURE__ */ o(m, { className:
|
|
12
|
+
[t.LG]: /* @__PURE__ */ o(a, { paletteIndex: 6 })
|
|
13
|
+
}, u = c.forwardRef(
|
|
14
|
+
({ className: r, size: e = t.MD, ...n }, s) => /* @__PURE__ */ o(m, { className: p(f.chipClearButton, r), ...n, ref: s, children: d[e] })
|
|
15
15
|
);
|
|
16
|
-
|
|
16
|
+
u.displayName = "ChipClearButton";
|
|
17
17
|
export {
|
|
18
|
-
|
|
18
|
+
u as ChipClearButton
|
|
19
19
|
};
|
|
20
20
|
//# sourceMappingURL=ChipClearButton.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import N, { useState as O, useRef as h, useEffect as _ } from "react";
|
|
3
|
-
import { k } from "../../../chunks/vendor-
|
|
3
|
+
import { k } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
4
4
|
import { dateFormatYYYYMMDD as j, globalLimitRange as z } from "../../../consts/DateConst.js";
|
|
5
5
|
import { DateFieldUtils as u } from "../../DateField/utils.js";
|
|
6
6
|
import { DatePickerExtended as B } from "../../DatePickerExtended/DatePickerExtended.js";
|
|
7
|
-
import { ChipDatePickerTarget as G } from "./
|
|
7
|
+
import { ChipDatePickerTarget as G } from "./ChipDatePickerTarget.js";
|
|
8
8
|
import { inputDateFormat as D } from "../../DateField/constants.js";
|
|
9
9
|
import { DropdownMobileMaskedInput as C } from "../../Dropdown/mobile/DropdownMobileMaskedInput.js";
|
|
10
|
-
import { s as H } from "../../../chunks/Chip-
|
|
10
|
+
import { s as H } from "../../../chunks/Chip-21qt-Ukl.js";
|
|
11
11
|
const L = N.forwardRef((S, V) => {
|
|
12
12
|
const {
|
|
13
13
|
value: o,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import x, { useContext as D } from "react";
|
|
3
|
-
import { C as k } from "
|
|
4
|
-
import { ChipDropdownArrow as w } from "
|
|
5
|
-
import { ChipClearButton as P } from "
|
|
6
|
-
import { DatePickerExtendedContext as g } from "
|
|
7
|
-
import { isKey as p } from "
|
|
3
|
+
import { C as k } from "../../../chunks/Chip-21qt-Ukl.js";
|
|
4
|
+
import { ChipDropdownArrow as w } from "../ChipDropdownArrow.js";
|
|
5
|
+
import { ChipClearButton as P } from "../ChipClearButton.js";
|
|
6
|
+
import { DatePickerExtendedContext as g } from "../../DatePickerExtended/DatePickerExtendedContext.js";
|
|
7
|
+
import { isKey as p } from "../../../utils/keyboard.js";
|
|
8
8
|
const E = x.forwardRef((d, s) => {
|
|
9
9
|
const { children: c, selected: i, onKeyDown: e, onClick: t, onClear: f, ...l } = d, { dropdownOpen: r, setDropdownOpen: a } = D(g), m = (o) => {
|
|
10
10
|
(p(o.code, "ENTER") || p(o.code, "SPACE")) && (o.preventDefault(), a(!r), e == null || e(o));
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { CaretdownStrokeSrvIcon20 as p } from "@sberbusiness/icons-next";
|
|
3
|
-
import { c } from "../../chunks/vendor-
|
|
4
|
-
const
|
|
5
|
-
chipDropdownArrow:
|
|
6
|
-
rotated:
|
|
7
|
-
},
|
|
3
|
+
import { c as d } from "../../chunks/vendor-ClY57Zzq.js";
|
|
4
|
+
const e = "chipDropdownArrow__4ba0f4ae", a = "rotated__3b23d430", o = {
|
|
5
|
+
chipDropdownArrow: e,
|
|
6
|
+
rotated: a
|
|
7
|
+
}, n = ({ rotated: r }) => /* @__PURE__ */ t(
|
|
8
8
|
p,
|
|
9
9
|
{
|
|
10
|
-
className:
|
|
10
|
+
className: d(o.chipDropdownArrow, { [o.rotated]: r }),
|
|
11
11
|
paletteIndex: 5
|
|
12
12
|
}
|
|
13
13
|
);
|
|
14
|
-
|
|
14
|
+
n.displayName = "ChipDropdownArrow";
|
|
15
15
|
export {
|
|
16
|
-
|
|
16
|
+
n as ChipDropdownArrow
|
|
17
17
|
};
|
|
18
18
|
//# sourceMappingURL=ChipDropdownArrow.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import f from "react";
|
|
3
|
-
import { C as t } from "../../chunks/Chip-
|
|
3
|
+
import { C as t } from "../../chunks/Chip-21qt-Ukl.js";
|
|
4
4
|
const a = f.forwardRef(({ children: p, ...r }, i) => /* @__PURE__ */ o(t, { ...r, prefix: p, postfix: /* @__PURE__ */ o("span", {}), ref: i }));
|
|
5
5
|
a.displayName = "ChipIcon";
|
|
6
6
|
export {
|
|
@@ -1,46 +1,48 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { MultiselectField as
|
|
4
|
-
import { s as x, C as
|
|
5
|
-
import { ChipClearButton as
|
|
2
|
+
import w from "react";
|
|
3
|
+
import { MultiselectField as y } from "../MultiselectField/MultiselectField.js";
|
|
4
|
+
import { s as x, C as D } from "../../chunks/Chip-21qt-Ukl.js";
|
|
5
|
+
import { ChipClearButton as E } from "./ChipClearButton.js";
|
|
6
6
|
import { ChipDropdownArrow as K } from "./ChipDropdownArrow.js";
|
|
7
|
-
import { isKey as
|
|
8
|
-
import { c as g } from "../../chunks/vendor-
|
|
9
|
-
const
|
|
10
|
-
({ children:
|
|
7
|
+
import { isKey as t } from "../../utils/keyboard.js";
|
|
8
|
+
import { c as g } from "../../chunks/vendor-ClY57Zzq.js";
|
|
9
|
+
const B = w.forwardRef(
|
|
10
|
+
({ children: s, className: c, clearSelected: p, disabled: m, label: a, displayedValue: d, selected: i, size: e, ...f }, C) => {
|
|
11
11
|
const h = (o) => {
|
|
12
|
+
(t(o.code, "ENTER") || t(o.code, "SPACE")) && o.stopPropagation();
|
|
13
|
+
}, u = (o) => {
|
|
12
14
|
o.stopPropagation(), p();
|
|
13
15
|
};
|
|
14
16
|
return /* @__PURE__ */ r(
|
|
15
|
-
|
|
17
|
+
y,
|
|
16
18
|
{
|
|
17
19
|
size: e,
|
|
18
|
-
renderTarget: ({ opened: o, setOpened:
|
|
19
|
-
|
|
20
|
+
renderTarget: ({ opened: o, setOpened: n }) => /* @__PURE__ */ r(
|
|
21
|
+
D,
|
|
20
22
|
{
|
|
21
23
|
"aria-expanded": o,
|
|
22
|
-
disabled:
|
|
24
|
+
disabled: m,
|
|
23
25
|
size: e,
|
|
24
|
-
onClick: () =>
|
|
26
|
+
onClick: () => n(!o),
|
|
25
27
|
onKeyDown: (l) => {
|
|
26
|
-
(
|
|
28
|
+
(t(l.code, "ENTER") || t(l.code, "SPACE")) && n(!o);
|
|
27
29
|
},
|
|
28
|
-
postfix:
|
|
29
|
-
ref:
|
|
30
|
+
postfix: i ? /* @__PURE__ */ r(E, { onKeyDown: h, onClick: u }) : /* @__PURE__ */ r(K, { rotated: o }),
|
|
31
|
+
ref: C,
|
|
30
32
|
role: "listbox",
|
|
31
|
-
selected: !!
|
|
32
|
-
children:
|
|
33
|
+
selected: !!i,
|
|
34
|
+
children: i ? d ?? a : a
|
|
33
35
|
}
|
|
34
36
|
),
|
|
35
|
-
className: g(x.chipGroupItem,
|
|
36
|
-
...
|
|
37
|
-
children:
|
|
37
|
+
className: g(x.chipGroupItem, c),
|
|
38
|
+
...f,
|
|
39
|
+
children: s
|
|
38
40
|
}
|
|
39
41
|
);
|
|
40
42
|
}
|
|
41
43
|
);
|
|
42
|
-
|
|
44
|
+
B.displayName = "ChipMultiselect";
|
|
43
45
|
export {
|
|
44
|
-
|
|
46
|
+
B as ChipMultiselect
|
|
45
47
|
};
|
|
46
48
|
//# sourceMappingURL=ChipMultiselect.js.map
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import r from "react";
|
|
3
3
|
import { OptionsStrokeSrvIcon24 as i } from "@sberbusiness/icons-next";
|
|
4
|
-
import { C } from "../../chunks/Chip-
|
|
5
|
-
import { ChipClearButton as
|
|
6
|
-
const
|
|
7
|
-
chipOptionsContent:
|
|
4
|
+
import { C } from "../../chunks/Chip-21qt-Ukl.js";
|
|
5
|
+
import { ChipClearButton as f } from "./ChipClearButton.js";
|
|
6
|
+
const m = "chipOptionsContent__8e77bfa1", c = {
|
|
7
|
+
chipOptionsContent: m
|
|
8
8
|
}, l = r.forwardRef(
|
|
9
9
|
({ children: o, clearSelected: e, selected: n, ...p }, s) => /* @__PURE__ */ t(
|
|
10
10
|
C,
|
|
11
11
|
{
|
|
12
12
|
prefix: n ? /* @__PURE__ */ t(i, { paletteIndex: 6 }) : /* @__PURE__ */ t(i, { paletteIndex: 5 }),
|
|
13
|
-
postfix: n ? /* @__PURE__ */ t(
|
|
13
|
+
postfix: n ? /* @__PURE__ */ t(f, { onClick: (a) => {
|
|
14
14
|
a.stopPropagation(), e();
|
|
15
15
|
}, size: p.size }) : /* @__PURE__ */ t("span", {}),
|
|
16
16
|
selected: n,
|
|
17
17
|
...p,
|
|
18
18
|
ref: s,
|
|
19
|
-
children: typeof o < "u" ? /* @__PURE__ */ t("span", { className:
|
|
19
|
+
children: typeof o < "u" ? /* @__PURE__ */ t("span", { className: c.chipOptionsContent, children: o }) : o
|
|
20
20
|
}
|
|
21
21
|
)
|
|
22
22
|
);
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import S from "react";
|
|
3
|
+
import { SelectExtendedField as C } from "../../SelectExtendedField/SelectExtendedField.js";
|
|
4
|
+
import "../../SelectExtendedField/components/SelectExtendedFieldDropdown.js";
|
|
5
|
+
import "../../SelectExtendedField/components/SelectExtendedFieldTarget.js";
|
|
6
|
+
import { SelectExtendedFieldDropdownDefault as w } from "../../SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js";
|
|
7
|
+
import { ChipSelectTarget as D } from "./ChipSelectTarget.js";
|
|
8
|
+
import { s as T } from "../../../chunks/Chip-21qt-Ukl.js";
|
|
9
|
+
import { c as g } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
10
|
+
const u = S.forwardRef(
|
|
11
|
+
({ className: d, clearSelected: m, disabled: c, size: o, label: i, displayedValue: l, onChange: p, options: s, value: e, ...n }, f) => {
|
|
12
|
+
const a = (r) => /* @__PURE__ */ t(
|
|
13
|
+
w,
|
|
14
|
+
{
|
|
15
|
+
...r,
|
|
16
|
+
mobileTitle: i,
|
|
17
|
+
size: o,
|
|
18
|
+
onChange: p,
|
|
19
|
+
options: s,
|
|
20
|
+
value: e,
|
|
21
|
+
fixedWidth: !1
|
|
22
|
+
}
|
|
23
|
+
), h = ({ opened: r, setOpened: x }) => /* @__PURE__ */ t(
|
|
24
|
+
D,
|
|
25
|
+
{
|
|
26
|
+
selected: e !== void 0,
|
|
27
|
+
disabled: c,
|
|
28
|
+
onClear: m,
|
|
29
|
+
size: o,
|
|
30
|
+
opened: r,
|
|
31
|
+
setOpened: x,
|
|
32
|
+
children: e ? l ?? e.label : i
|
|
33
|
+
}
|
|
34
|
+
);
|
|
35
|
+
return /* @__PURE__ */ t(
|
|
36
|
+
C,
|
|
37
|
+
{
|
|
38
|
+
className: g(T.chipGroupItem, d),
|
|
39
|
+
renderTarget: h,
|
|
40
|
+
...n,
|
|
41
|
+
ref: f,
|
|
42
|
+
children: a
|
|
43
|
+
}
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
);
|
|
47
|
+
u.displayName = "ChipSelect";
|
|
48
|
+
export {
|
|
49
|
+
u as ChipSelect
|
|
50
|
+
};
|
|
51
|
+
//# sourceMappingURL=ChipSelect.js.map
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import T, { useCallback as t } from "react";
|
|
3
|
+
import { C as g } from "../../../chunks/Chip-21qt-Ukl.js";
|
|
4
|
+
import { ChipDropdownArrow as x } from "../ChipDropdownArrow.js";
|
|
5
|
+
import { ChipClearButton as y } from "../ChipClearButton.js";
|
|
6
|
+
import { isKey as a } from "../../../utils/keyboard.js";
|
|
7
|
+
const D = T.forwardRef((f, C) => {
|
|
8
|
+
const { children: m, selected: l, onKeyDown: i, onClick: n, onClear: s, opened: e, setOpened: r, ...h } = f, u = t(
|
|
9
|
+
(o) => {
|
|
10
|
+
!e && (a(o.code, "ENTER") || a(o.code, "SPACE")) ? (o.preventDefault(), r(!0)) : e && a(o.code, "TAB") && r(!1), i == null || i(o);
|
|
11
|
+
},
|
|
12
|
+
[e, r, i]
|
|
13
|
+
), w = t(
|
|
14
|
+
(o) => {
|
|
15
|
+
r(!e), n == null || n(o);
|
|
16
|
+
},
|
|
17
|
+
[e, r, n]
|
|
18
|
+
), c = t((o) => {
|
|
19
|
+
(a(o.code, "ENTER") || a(o.code, "SPACE")) && o.stopPropagation();
|
|
20
|
+
}, []), d = t(
|
|
21
|
+
(o) => {
|
|
22
|
+
o.stopPropagation(), s();
|
|
23
|
+
},
|
|
24
|
+
[s]
|
|
25
|
+
), E = t(() => l ? /* @__PURE__ */ p(y, { onClick: d, onKeyDown: c }) : /* @__PURE__ */ p(x, { rotated: e }), [l, e, d, c]);
|
|
26
|
+
return /* @__PURE__ */ p(
|
|
27
|
+
g,
|
|
28
|
+
{
|
|
29
|
+
postfix: E(),
|
|
30
|
+
selected: l,
|
|
31
|
+
"aria-expanded": e,
|
|
32
|
+
onKeyDown: u,
|
|
33
|
+
onClick: w,
|
|
34
|
+
...h,
|
|
35
|
+
ref: C,
|
|
36
|
+
children: m
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
});
|
|
40
|
+
D.displayName = "ChipSelectTarget";
|
|
41
|
+
export {
|
|
42
|
+
D as ChipSelectTarget
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=ChipSelectTarget.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import b from "react";
|
|
3
|
-
import { l as u, c as l } from "../../chunks/vendor-
|
|
3
|
+
import { l as u, c as l } from "../../chunks/vendor-ClY57Zzq.js";
|
|
4
4
|
import { ChipIcon as C } from "./ChipIcon.js";
|
|
5
5
|
import { SortStrokeSrvIcon24 as a } from "@sberbusiness/icons-next";
|
|
6
6
|
import { SelectExtendedField as E } from "../SelectExtendedField/SelectExtendedField.js";
|
|
7
7
|
import "../SelectExtendedField/components/SelectExtendedFieldDropdown.js";
|
|
8
8
|
import "../SelectExtendedField/components/SelectExtendedFieldTarget.js";
|
|
9
9
|
import { SelectExtendedFieldDropdownDefault as w } from "../SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js";
|
|
10
|
-
import { s as D } from "../../chunks/Chip-
|
|
10
|
+
import { s as D } from "../../chunks/Chip-21qt-Ukl.js";
|
|
11
11
|
const N = b.forwardRef(
|
|
12
12
|
({ className: m, defaultValue: d, disabled: p, label: s, onChange: c, options: n, value: r, size: t, ...f }, x) => {
|
|
13
13
|
const i = !!r && !u.isEqual(d, r), h = ({ opened: e, setOpened: I }) => /* @__PURE__ */ o(
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ChipSuggestTarget as h } from "./ChipSuggestTarget.js";
|
|
2
2
|
import { jsxs as R, jsx as m } from "react/jsx-runtime";
|
|
3
3
|
import d, { useRef as p } from "react";
|
|
4
|
-
import { c as x } from "../../../chunks/vendor-
|
|
4
|
+
import { c as x } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
5
5
|
import "../../Suggest/SuggestContext.js";
|
|
6
6
|
import { Suggest as S } from "../../Suggest/Suggest.js";
|
|
7
7
|
import { ChipSuggestDropdown as C } from "./ChipSuggestDropdown.js";
|
|
8
|
-
import { s as j } from "../../../chunks/Chip-
|
|
8
|
+
import { s as j } from "../../../chunks/Chip-21qt-Ukl.js";
|
|
9
9
|
const w = ({ className: u, displayedValue: c, label: r, prefix: y, targetProps: g, dropdownProps: l, ...o }, t) => {
|
|
10
10
|
const { value: s, size: f } = o, i = p(null), n = p(null), a = (e) => {
|
|
11
11
|
i.current = e, typeof t == "function" ? t(e) : t && (t.current = e);
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { jsx as e, jsxs as C } from "react/jsx-runtime";
|
|
2
|
+
import E, { useCallback as O } from "react";
|
|
3
|
+
import { h as S } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
4
|
+
import { EVENT_KEY_CODES as L } from "../../../utils/keyboard.js";
|
|
5
|
+
import { useSuggestContext as k } from "../../Suggest/SuggestContext.js";
|
|
6
|
+
import { Dropdown as x } from "../../Dropdown/Dropdown.js";
|
|
6
7
|
import "../../Dropdown/DropdownListContext.js";
|
|
7
8
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
8
|
-
import { DropdownList as
|
|
9
|
-
import { D as
|
|
9
|
+
import { DropdownList as R } from "../../Dropdown/desktop/DropdownList.js";
|
|
10
|
+
import { D as _ } from "../../../chunks/DropdownListItem-DXBppGoi.js";
|
|
10
11
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
11
12
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
12
13
|
import "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -18,68 +19,79 @@ import "../../Dropdown/mobile/DropdownMobileList.js";
|
|
|
18
19
|
import "../../Dropdown/mobile/DropdownMobileListItem.js";
|
|
19
20
|
import "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
20
21
|
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
21
|
-
import { ChipSuggestDesktopDropdownField as
|
|
22
|
-
import { SuggestMobileDropdownContent as
|
|
23
|
-
const
|
|
22
|
+
import { ChipSuggestDesktopDropdownField as b } from "./desktop/ChipSuggestDesktopDropdownField.js";
|
|
23
|
+
import { SuggestMobileDropdownContent as y } from "../../Suggest/SuggestMobileDropdownContent.js";
|
|
24
|
+
const F = [L.ENTER], v = ({ children: l, size: i, targetRef: c, focusTrapProps: t, ...D }, r) => {
|
|
24
25
|
const {
|
|
25
|
-
value:
|
|
26
|
-
options:
|
|
27
|
-
dropdownListId:
|
|
28
|
-
dropdownOpen:
|
|
29
|
-
dropdownListLoading:
|
|
30
|
-
dropdownRef:
|
|
31
|
-
closeDropdown:
|
|
32
|
-
onSelect:
|
|
26
|
+
value: n,
|
|
27
|
+
options: d,
|
|
28
|
+
dropdownListId: w,
|
|
29
|
+
dropdownOpen: p,
|
|
30
|
+
dropdownListLoading: f,
|
|
31
|
+
dropdownRef: a,
|
|
32
|
+
closeDropdown: s,
|
|
33
|
+
onSelect: u,
|
|
33
34
|
setDropdownOpen: m
|
|
34
|
-
} =
|
|
35
|
-
|
|
36
|
-
},
|
|
35
|
+
} = k(), g = (o) => {
|
|
36
|
+
a.current = o, typeof r == "function" ? r(o) : r && (r.current = o);
|
|
37
|
+
}, h = O(
|
|
37
38
|
(o) => {
|
|
38
|
-
o ? m(!0) :
|
|
39
|
+
o ? m(!0) : s();
|
|
39
40
|
},
|
|
40
|
-
[m,
|
|
41
|
+
[m, s]
|
|
41
42
|
);
|
|
42
|
-
return /* @__PURE__ */
|
|
43
|
-
|
|
43
|
+
return /* @__PURE__ */ e(
|
|
44
|
+
x,
|
|
44
45
|
{
|
|
45
|
-
size:
|
|
46
|
-
targetRef:
|
|
47
|
-
opened:
|
|
46
|
+
size: i,
|
|
47
|
+
targetRef: c,
|
|
48
|
+
opened: p,
|
|
48
49
|
fixedWidth: !1,
|
|
49
|
-
setOpened:
|
|
50
|
+
setOpened: h,
|
|
50
51
|
mobileViewProps: {
|
|
51
|
-
children: /* @__PURE__ */
|
|
52
|
+
children: /* @__PURE__ */ e(y, {})
|
|
52
53
|
},
|
|
53
|
-
...
|
|
54
|
-
ref:
|
|
55
|
-
children:
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
{
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
54
|
+
...D,
|
|
55
|
+
ref: g,
|
|
56
|
+
children: /* @__PURE__ */ e(
|
|
57
|
+
S.FocusTrap,
|
|
58
|
+
{
|
|
59
|
+
...t,
|
|
60
|
+
focusTrapOptions: {
|
|
61
|
+
clickOutsideDeactivates: !0,
|
|
62
|
+
returnFocusOnDeactivate: !0,
|
|
63
|
+
...t == null ? void 0 : t.focusTrapOptions
|
|
64
|
+
},
|
|
65
|
+
children: /* @__PURE__ */ C("div", { role: "presentation", children: [
|
|
66
|
+
/* @__PURE__ */ e(b, { children: l }),
|
|
67
|
+
/* @__PURE__ */ e(
|
|
68
|
+
R,
|
|
67
69
|
{
|
|
68
|
-
id:
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
70
|
+
id: w,
|
|
71
|
+
size: i,
|
|
72
|
+
dropdownOpened: p,
|
|
73
|
+
loading: f,
|
|
74
|
+
style: d.length === 0 ? { display: "none" } : void 0,
|
|
75
|
+
children: d.map((o) => /* @__PURE__ */ e(
|
|
76
|
+
_,
|
|
77
|
+
{
|
|
78
|
+
id: o.id,
|
|
79
|
+
keyCodesForSelection: F,
|
|
80
|
+
selected: o.id === (n == null ? void 0 : n.id),
|
|
81
|
+
onSelect: () => u(o),
|
|
82
|
+
children: o.content || o.label
|
|
83
|
+
},
|
|
84
|
+
o.id
|
|
85
|
+
))
|
|
86
|
+
}
|
|
87
|
+
)
|
|
88
|
+
] })
|
|
89
|
+
}
|
|
90
|
+
)
|
|
79
91
|
}
|
|
80
92
|
);
|
|
81
|
-
},
|
|
93
|
+
}, to = E.forwardRef(v);
|
|
82
94
|
export {
|
|
83
|
-
|
|
95
|
+
to as ChipSuggestDropdown
|
|
84
96
|
};
|
|
85
97
|
//# sourceMappingURL=ChipSuggestDropdown.js.map
|
|
@@ -1,42 +1,44 @@
|
|
|
1
1
|
import { jsx as f } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { useSuggestContext as
|
|
2
|
+
import E, { useCallback as r } from "react";
|
|
3
|
+
import { useSuggestContext as P } from "../../Suggest/SuggestContext.js";
|
|
4
4
|
import "../../Suggest/Suggest.js";
|
|
5
|
-
import { C as
|
|
6
|
-
import { ChipClearButton as
|
|
7
|
-
import { ChipDropdownArrow as
|
|
8
|
-
import { isKey as
|
|
9
|
-
const
|
|
10
|
-
const { value:
|
|
11
|
-
(
|
|
12
|
-
|
|
5
|
+
import { C as T } from "../../../chunks/Chip-21qt-Ukl.js";
|
|
6
|
+
import { ChipClearButton as c } from "../ChipClearButton.js";
|
|
7
|
+
import { ChipDropdownArrow as w } from "../ChipDropdownArrow.js";
|
|
8
|
+
import { isKey as n } from "../../../utils/keyboard.js";
|
|
9
|
+
const B = ({ onKeyDown: p, onClick: s, clearSelected: i, ...u }, C) => {
|
|
10
|
+
const { value: d, dropdownOpen: t, setDropdownOpen: a } = P(), g = r(
|
|
11
|
+
(o) => {
|
|
12
|
+
a(!t), s == null || s(o);
|
|
13
13
|
},
|
|
14
|
-
[
|
|
15
|
-
),
|
|
16
|
-
(
|
|
17
|
-
(
|
|
14
|
+
[t, a, s]
|
|
15
|
+
), h = r(
|
|
16
|
+
(o) => {
|
|
17
|
+
(n(o.code, "ENTER") || n(o.code, "SPACE")) && (a(!t), p == null || p(o));
|
|
18
18
|
},
|
|
19
|
-
[
|
|
20
|
-
),
|
|
21
|
-
(
|
|
22
|
-
|
|
19
|
+
[t, a, p]
|
|
20
|
+
), m = r((o) => {
|
|
21
|
+
(n(o.code, "ENTER") || n(o.code, "SPACE")) && o.stopPropagation();
|
|
22
|
+
}, []), e = r(
|
|
23
|
+
(o) => {
|
|
24
|
+
o.stopPropagation(), i == null || i();
|
|
23
25
|
},
|
|
24
|
-
[
|
|
25
|
-
),
|
|
26
|
+
[i]
|
|
27
|
+
), x = r(() => d === void 0 ? /* @__PURE__ */ f(w, { rotated: t }) : /* @__PURE__ */ f(c, { onClick: e, onKeyDown: m }), [d, t, e, m]);
|
|
26
28
|
return /* @__PURE__ */ f(
|
|
27
|
-
|
|
29
|
+
T,
|
|
28
30
|
{
|
|
29
|
-
selected:
|
|
30
|
-
"aria-expanded":
|
|
31
|
-
postfix:
|
|
32
|
-
onKeyDown:
|
|
31
|
+
selected: d !== void 0,
|
|
32
|
+
"aria-expanded": t,
|
|
33
|
+
postfix: x(),
|
|
34
|
+
onKeyDown: h,
|
|
33
35
|
onClick: g,
|
|
34
|
-
...
|
|
35
|
-
ref:
|
|
36
|
+
...u,
|
|
37
|
+
ref: C
|
|
36
38
|
}
|
|
37
39
|
);
|
|
38
|
-
},
|
|
40
|
+
}, D = E.forwardRef(B);
|
|
39
41
|
export {
|
|
40
|
-
|
|
42
|
+
D as ChipSuggestTarget
|
|
41
43
|
};
|
|
42
44
|
//# sourceMappingURL=ChipSuggestTarget.js.map
|
|
@@ -7,7 +7,7 @@ import "../../../FormField/components/FormFieldCounter.js";
|
|
|
7
7
|
import { FormFieldLabel as D } from "../../../FormField/components/FormFieldLabel.js";
|
|
8
8
|
import { FormFieldClear as L } from "../../../FormField/components/FormFieldClear.js";
|
|
9
9
|
import "../../../FormField/components/FormFieldTarget.js";
|
|
10
|
-
import { F as M } from "../../../../chunks/FormFieldInput-
|
|
10
|
+
import { F as M } from "../../../../chunks/FormFieldInput-hUwbIuBd.js";
|
|
11
11
|
import "../../../FormField/components/FormFieldMaskedInput.js";
|
|
12
12
|
import { FormFieldPostfix as O } from "../../../FormField/components/FormFieldPostfix.js";
|
|
13
13
|
import "../../../FormField/components/FormFieldPrefix.js";
|
|
@@ -18,7 +18,7 @@ import { ETooltipSize as R } from "../../../Tooltip/enums.js";
|
|
|
18
18
|
import { LoaderSmall as W } from "../../../Loader/LoaderSmall/LoaderSmall.js";
|
|
19
19
|
import { ELoaderSmallTheme as b } from "../../../Loader/LoaderSmall/enum.js";
|
|
20
20
|
import "../../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
21
|
-
const E = "
|
|
21
|
+
const E = "chipSuggestInputWrapper__2d6c8e15", j = {
|
|
22
22
|
chipSuggestInputWrapper: E
|
|
23
23
|
}, oe = ({ children: m }) => {
|
|
24
24
|
const {
|