@sberbusiness/triplex-next 1.22.0 → 1.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -1
- package/assets/fonts/SBSansTextMono-Regular.woff2 +0 -0
- package/chunks/AlertProcessSpoiler-80EWxnlw.js +39 -0
- package/chunks/{CalendarViewItem-UwoR2Xwr.js → CalendarViewItem-DcrCLRoo.js} +22 -22
- package/chunks/Card.module-CUXrlJIK.js +17 -0
- package/chunks/CheckboxTreeExtended.module-Ie0bCwhb.js +15 -0
- package/chunks/Chip-DxpL0kHg.js +104 -0
- package/chunks/Confirm.module-Cr5VrxP0.js +15 -0
- package/chunks/{DropdownListItem-Dl8gN2ar.js → DropdownListItem-D_36RD5A.js} +12 -12
- package/chunks/DropdownMobile.module-C3vVcwH8.js +23 -0
- package/chunks/Footer.module-SSgVxTxk.js +9 -0
- package/chunks/{FormFieldInput--W9kjf4s.js → FormFieldInput-C7aO7-c1.js} +17 -17
- package/chunks/HeaderLayoutSidebar.module-D8g1wOUn.js +9 -0
- package/chunks/HeaderTabs.module-BvkH88vz.js +9 -0
- package/chunks/{HeaderTitle.module-DUqjpN6C.js → HeaderTitle.module-zCyPp1EB.js} +2 -2
- package/chunks/IslandAccordion.module-C00y6r96.js +25 -0
- package/chunks/IslandWidgetFooter.module-DrJEO_uY.js +9 -0
- package/chunks/IslandWidgetHeader.module-Dn_9gy4B.js +12 -0
- package/chunks/LightBoxContent-JnifyJVA.js +56 -0
- package/chunks/LightBoxControls.module-sVFD1v0Y.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-D-_ry0KX.js +9 -0
- package/chunks/ListItemControlsButton-BZ5uutQX.js +51 -0
- package/chunks/ListItemTail.module-Dx6BEkhi.js +12 -0
- package/chunks/ListMasterFooter.module-wZeGRX3y.js +10 -0
- package/chunks/ModalWindow.module-Cn_qF5og.js +17 -0
- package/chunks/Notification.module-ytSUjaU2.js +20 -0
- package/chunks/Overlay.module-0Rx__Ctf.js +18 -0
- package/chunks/Page.module-BWR-liu5.js +11 -0
- package/chunks/{RightBorderArrow-C390Za7P.js → RightBorderArrow-eMlmbMOj.js} +10 -10
- package/chunks/SMSField.module-CjgotURM.js +16 -0
- package/chunks/SliderExtendedMarks.module-BEldseQH.js +15 -0
- package/chunks/{SliderExtendedRail-Dld8UNeR.js → SliderExtendedRail-DjkasbSz.js} +13 -13
- package/chunks/StatusTracker.module-DSJGmASX.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-Cf_uwjFP.js → SuggestFieldMobileDropdownHint-BFJfXl0C.js} +3 -2
- package/chunks/TableFooter.module-BE2n5_2S.js +14 -0
- package/chunks/TabsExtended.module-BVEU3Ags.js +16 -0
- package/chunks/TabsLine.module-QKvdCYgI.js +21 -0
- package/chunks/TooltipDesktop.module-LbV07iSe.js +19 -0
- package/chunks/TreeView.module-KRwuysl3.js +9 -0
- package/chunks/{UploadZoneInput-CQYsDdG_.js → UploadZoneInput-PFc1lc82.js} +8 -8
- package/chunks/{constants-Crak3JEf.js → constants-L3AUxJxB.js} +12 -12
- package/chunks/{utils-Dq2VA3Zd.js → utils-BLU83HAp.js} +6 -6
- package/chunks/utils-BdtV3MzH.js +28 -0
- package/chunks/utils-CjaG-bCZ.js +24 -0
- package/chunks/utils-DaknoeiF.js +73 -0
- package/chunks/{vendor-BiObpx9E.js → vendor-DudMBGKr.js} +4964 -4966
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +13 -13
- 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 +4 -3
- package/components/Avatar/Avatar.js +17 -17
- package/components/Badge/Badge.js +9 -9
- package/components/Badge/BadgeDot.js +5 -5
- package/components/Badge/components/BadgeContent.js +12 -12
- package/components/Badge/components/BadgePostfix.js +9 -9
- package/components/Badge/components/BadgePrefix.js +2 -2
- package/components/Body/Body.js +7 -7
- package/components/Button/Button.js +19 -19
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +71 -71
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +12 -12
- package/components/Calendar/Calendar.js +18 -18
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +8 -8
- 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 +7 -6
- 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 +15 -15
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +4 -3
- package/components/Chip/ChipClearButton.js +5 -5
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +5 -5
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +9 -9
- package/components/Chip/ChipSelect/ChipSelect.js +2 -2
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +22 -21
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +11 -11
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +9 -9
- package/components/Col/Col.js +131 -131
- package/components/CollapsableTree/components/CollapsableTreeNode.js +6 -6
- 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 +4 -3
- 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/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +10 -10
- package/components/DateRange/DateRange.js +10 -10
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/components/ListItem.js +4 -4
- package/components/DesignTokens/components/ListMaster.js +8 -8
- package/components/Divider/Divider.js +18 -18
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +7 -7
- package/components/Dropdown/desktop/DropdownDesktop.js +72 -65
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/enums.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 +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 +8 -8
- 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 +22 -22
- package/components/FormField/components/FormFieldClear.js +6 -6
- package/components/FormField/components/FormFieldCounter.js +1 -1
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +8 -8
- package/components/FormField/components/FormFieldMaskedInput.js +18 -18
- package/components/FormField/components/FormFieldPostfix.js +2 -2
- package/components/FormField/components/FormFieldPrefix.js +8 -8
- package/components/FormField/components/FormFieldTarget.js +12 -12
- package/components/FormField/components/FormFieldTextarea.js +10 -10
- package/components/FormField/components/index.js +1 -1
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +6 -6
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +8 -8
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +8 -6
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +4 -3
- package/components/IslandWidget/IslandWidget.js +15 -15
- package/components/IslandWidget/components/IslandWidgetBody.js +4 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +2 -2
- 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 +7 -7
- package/components/LightBox/LightBox.js +6 -6
- 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 +21 -21
- 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 +40 -14
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +40 -14
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +17 -17
- package/components/List/List.js +8 -8
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +3 -3
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +3 -3
- 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 +13 -11
- package/components/List/components/ListItemSelectable.js +8 -8
- package/components/List/components/ListItemTable.js +16 -14
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +7 -15
- package/components/List/components/ListSortableItem.js +5 -5
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +10 -10
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +6 -10
- 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 +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +5 -5
- package/components/Loader/LoaderSmall/LoaderSmall.js +6 -6
- package/components/LoaderScreen/LoaderScreen.js +12 -12
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +18 -17
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +5 -5
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +33 -46
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +12 -12
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +2 -2
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +8 -8
- package/components/OrderedList/OrderedListItem.js +10 -9
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +2 -2
- package/components/Page/components/BodyPage.js +10 -10
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +1 -1
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +9 -8
- package/components/Pagination/components/PaginationPageEllipsis.js +8 -7
- package/components/Pagination/components/PaginationSelect.js +14 -13
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +17 -16
- package/components/Radio/RadioXGroup.js +12 -12
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +10 -10
- 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 +8 -8
- package/components/SegmentedControl/SegmentedControlSegment.js +13 -13
- package/components/SelectExtendedField/SelectExtendedField.js +50 -41
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +4 -3
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +37 -37
- package/components/SelectField/SelectField.js +2 -2
- package/components/Skeleton/Skeleton.js +10 -10
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +27 -27
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +2 -2
- package/components/SliderExtended/components/SliderExtendedRail.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +8 -8
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +23 -23
- package/components/SmallInput/SmallInput.js +6 -6
- package/components/Spoiler/Spoiler.js +19 -19
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +5 -4
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +5 -4
- 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 +11 -10
- package/components/StatusTracker/components/StatusTrackerTitle.js +9 -8
- package/components/Step/Step.js +12 -11
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +7 -7
- package/components/Stepper/StepperExtended.js +6 -6
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +7 -7
- package/components/Suggest/SuggestMobileDropdownContent.js +23 -21
- package/components/Suggest/useSuggest.js +1 -1
- package/components/SuggestField/SuggestField.js +13 -12
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +11 -11
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +31 -30
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +40 -38
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +51 -49
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +3 -2
- 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 +3 -3
- package/components/Table/NoColumns.js +5 -5
- package/components/Table/PaginationPanel.js +3 -3
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +4 -4
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +6 -6
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +5 -5
- 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 +3 -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 +6 -5
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +8 -8
- package/components/Tag/Tag.js +22 -22
- package/components/TagColor/TagColor.js +15 -15
- package/components/TagGroup/TagGroup.js +10 -10
- 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 +4 -4
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +12 -12
- package/components/TopOverlay/TopOverlay.js +15 -15
- 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 +28 -28
- package/components/Typography/CodeText.js +36 -0
- package/components/Typography/Text.js +25 -25
- package/components/Typography/Title.js +17 -17
- package/components/Typography/constants.js +1 -1
- package/components/Typography/index.js +12 -10
- package/components/UnorderedList/UnorderedList.js +6 -6
- package/components/UnorderedList/UnorderedListItem.js +7 -6
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +17 -15
- package/index.d.ts +39 -16
- package/index.js +61 -59
- package/package.json +2 -2
- package/styles/triplex-next.css +541 -541
- package/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-Cbhbwi6f.js +0 -39
- package/chunks/Card.module-CPD2xDmu.js +0 -17
- package/chunks/CheckboxTreeExtended.module-F91Rxq8x.js +0 -15
- package/chunks/Chip-Bxr2kLyU.js +0 -90
- package/chunks/Confirm.module-CmYpxyDp.js +0 -15
- package/chunks/DropdownMobile.module-l5rlPxNK.js +0 -23
- package/chunks/Footer.module-CjY-6G8t.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-fr4_lzKQ.js +0 -9
- package/chunks/HeaderTabs.module-Clz5KbqR.js +0 -9
- package/chunks/IslandAccordion.module-CPVWJz-Z.js +0 -25
- package/chunks/IslandWidgetFooter.module-BRjR7Nva.js +0 -9
- package/chunks/IslandWidgetHeader.module-CQVHkydc.js +0 -12
- package/chunks/LightBoxContent-CBpCA29-.js +0 -56
- package/chunks/LightBoxControls.module-6rLkTPqp.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-1PauvUbz.js +0 -9
- package/chunks/ListItemControlsButton-BZSR-ESi.js +0 -43
- package/chunks/ListItemTail.module-TZkbhx39.js +0 -12
- package/chunks/ListMasterFooter.module-BJocFxEb.js +0 -10
- package/chunks/ModalWindow.module-CACqfnx4.js +0 -17
- package/chunks/Notification.module-ByKcbqB9.js +0 -20
- package/chunks/Overlay.module-fYkVPgjL.js +0 -18
- package/chunks/Page.module-Bhn0Pz59.js +0 -11
- package/chunks/SMSField.module-KA-eacXJ.js +0 -16
- package/chunks/SliderExtendedMarks.module-Dy1FdmU-.js +0 -15
- package/chunks/StatusTracker.module-B8xoFRr0.js +0 -24
- package/chunks/TableFooter.module-b8TKJFW8.js +0 -14
- package/chunks/TabsExtended.module-k8oKnmv6.js +0 -16
- package/chunks/TabsLine.module-BLpqn-ZP.js +0 -21
- package/chunks/TooltipDesktop.module-DgogF0cV.js +0 -19
- package/chunks/TreeView.module-lJCCAWQb.js +0 -9
- package/chunks/utils-CS30w_en.js +0 -73
- package/chunks/utils-R-JQhhgt.js +0 -24
- package/chunks/utils-Z8JNo8tP.js +0 -28
package/components/Card/utils.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as p, jsx as b } from "react/jsx-runtime";
|
|
2
2
|
import C, { useState as w, useRef as D, useCallback as L, useEffect as d } from "react";
|
|
3
|
-
import { l as M, c as S } from "../../chunks/vendor-
|
|
3
|
+
import { l as M, c as S } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
4
|
import { scrollSmoothHorizontally as c } from "../../utils/scroll.js";
|
|
5
|
-
const R = "
|
|
5
|
+
const R = "carouselExtended__e4007f5a", k = {
|
|
6
6
|
carouselExtended: R
|
|
7
7
|
}, y = C.forwardRef(
|
|
8
8
|
({ children: l, buttonPrev: a, buttonNext: i, stepPrev: u, stepNext: f, ...h }, s) => {
|
|
@@ -3,12 +3,13 @@ import N from "react";
|
|
|
3
3
|
import { CheckboxbulkStrokeSrvIcon24 as S, CheckboxtickStrokeSrvIcon24 as z } from "@sberbusiness/icons-next";
|
|
4
4
|
import { ETextSize as n } from "../Typography/enums.js";
|
|
5
5
|
import "../Typography/Caption.js";
|
|
6
|
+
import "../Typography/CodeText.js";
|
|
6
7
|
import { Text as C } from "../Typography/Text.js";
|
|
7
8
|
import "../Typography/Title.js";
|
|
8
9
|
import { EComponentSize as s } from "../../enums/EComponentSize.js";
|
|
9
10
|
import { createSizeToClassNameMap as u } from "../../utils/classNameMaps.js";
|
|
10
|
-
import { c as
|
|
11
|
-
const y = "
|
|
11
|
+
import { c as l } from "../../chunks/vendor-DudMBGKr.js";
|
|
12
|
+
const y = "label__79e83956", M = "sm__9351779e", T = "nonempty__32a30a54", g = "md__20e21d0b", v = "lg__7870f288", B = "disabled__19811db8", j = "checkbox__cb9ab012", D = "checkboxIcon__2bfd5111", E = "checkmarkIcon__8050f4dc", e = {
|
|
12
13
|
label: y,
|
|
13
14
|
sm: M,
|
|
14
15
|
nonempty: T,
|
|
@@ -31,16 +32,16 @@ const y = "label__c2049da3", M = "sm__ba56a8af", T = "nonempty__940ffeb2", g = "
|
|
|
31
32
|
labelAttributes: o,
|
|
32
33
|
size: t = s.MD,
|
|
33
34
|
...x
|
|
34
|
-
} = b, h =
|
|
35
|
+
} = b, h = l(e.checkbox, d, i[t]), _ = l(
|
|
35
36
|
e.label,
|
|
36
37
|
i[t],
|
|
37
38
|
{ [e.disabled]: !!m, [e.nonempty]: !!a },
|
|
38
39
|
o == null ? void 0 : o.className
|
|
39
40
|
), f = () => {
|
|
40
|
-
const
|
|
41
|
-
return p ? /* @__PURE__ */ c(S, { className:
|
|
41
|
+
const r = e.checkmarkIcon;
|
|
42
|
+
return p ? /* @__PURE__ */ c(S, { className: r, paletteIndex: 7 }) : /* @__PURE__ */ c(z, { className: r, paletteIndex: 7 });
|
|
42
43
|
};
|
|
43
|
-
return /* @__PURE__ */ I("label", { ...o, className: _, "data-tx": "1.
|
|
44
|
+
return /* @__PURE__ */ I("label", { ...o, className: _, "data-tx": "1.24.0", children: [
|
|
44
45
|
/* @__PURE__ */ c("input", { type: "checkbox", className: h, disabled: m, ...x, ref: k }),
|
|
45
46
|
/* @__PURE__ */ c("span", { className: e.checkboxIcon }),
|
|
46
47
|
f(),
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
const
|
|
4
|
-
checkboxXGroup:
|
|
5
|
-
"indent-12": "indent-
|
|
6
|
-
label:
|
|
7
|
-
"indent-16": "indent-
|
|
8
|
-
"indent-20": "indent-
|
|
9
|
-
"indent-24": "indent-
|
|
10
|
-
"indent-28": "indent-
|
|
11
|
-
"indent-32": "indent-
|
|
12
|
-
},
|
|
13
|
-
const { children:
|
|
14
|
-
return /* @__PURE__ */
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { c as r } from "../../chunks/vendor-DudMBGKr.js";
|
|
3
|
+
const _ = "checkboxXGroup__5a1749b8", a = "label__79e83956", e = {
|
|
4
|
+
checkboxXGroup: _,
|
|
5
|
+
"indent-12": "indent-12__b40c9dd2",
|
|
6
|
+
label: a,
|
|
7
|
+
"indent-16": "indent-16__a135c9f4",
|
|
8
|
+
"indent-20": "indent-20__18efd806",
|
|
9
|
+
"indent-24": "indent-24__73a6d285",
|
|
10
|
+
"indent-28": "indent-28__91c52137",
|
|
11
|
+
"indent-32": "indent-32__1f7dd5e7"
|
|
12
|
+
}, l = (n) => {
|
|
13
|
+
const { children: t, className: c, indent: o = 12, ...d } = n, s = r(e.checkboxXGroup, e[`indent-${o}`], c);
|
|
14
|
+
return /* @__PURE__ */ i("div", { className: s, role: "group", ...d, children: t });
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
l.displayName = "CheckboxXGroup";
|
|
17
17
|
export {
|
|
18
|
-
|
|
18
|
+
l as CheckboxXGroup
|
|
19
19
|
};
|
|
20
20
|
//# sourceMappingURL=CheckboxXGroup.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import { c as t } from "../../chunks/vendor-
|
|
3
|
-
const a = "
|
|
2
|
+
import { c as t } from "../../chunks/vendor-DudMBGKr.js";
|
|
3
|
+
const a = "checkboxYGroup__305ab00c", x = {
|
|
4
4
|
checkboxYGroup: a
|
|
5
5
|
}, l = (o) => {
|
|
6
|
-
const { children: c, className: s, ...
|
|
7
|
-
return /* @__PURE__ */ p("div", { className:
|
|
6
|
+
const { children: c, className: s, ...r } = o, e = t(x.checkboxYGroup, s);
|
|
7
|
+
return /* @__PURE__ */ p("div", { className: e, role: "group", ...r, children: c });
|
|
8
8
|
};
|
|
9
9
|
l.displayName = "CheckboxYGroup";
|
|
10
10
|
export {
|
|
@@ -3,11 +3,11 @@ import { CollapsableTree as n } from "../CollapsableTree/CollapsableTree.js";
|
|
|
3
3
|
import { CheckboxTreeExtendedCheckbox as c } from "./components/CheckboxTreeExtendedCheckbox.js";
|
|
4
4
|
import { CheckboxTreeExtendedNode as p } from "./components/CheckboxTreeExtendedNode.js";
|
|
5
5
|
import { CheckboxTreeExtendedContext as s } from "./CheckboxTreeExtendedContext.js";
|
|
6
|
-
import { c as a } from "../../chunks/vendor-
|
|
6
|
+
import { c as a } from "../../chunks/vendor-DudMBGKr.js";
|
|
7
7
|
import { EComponentSize as r } from "../../enums/EComponentSize.js";
|
|
8
8
|
import { EScreenWidth as t } from "../../helpers/breakpoints.js";
|
|
9
9
|
import { useMatchMedia as h } from "../MediaWidth/useMatchMedia.js";
|
|
10
|
-
import { s as f } from "../../chunks/CheckboxTreeExtended.module-
|
|
10
|
+
import { s as f } from "../../chunks/CheckboxTreeExtended.module-Ie0bCwhb.js";
|
|
11
11
|
const e = ({ className: m, size: d = r.MD, ...i }) => {
|
|
12
12
|
const x = h(
|
|
13
13
|
`(max-width: ${t.SM_MAX})`,
|
|
@@ -5,7 +5,7 @@ import { jsx as p } from "react/jsx-runtime";
|
|
|
5
5
|
import { CaretdownStrokeSrvIcon16 as l } from "@sberbusiness/icons-next";
|
|
6
6
|
import { EVENT_KEY_CODES as d } from "../../../utils/keyboard.js";
|
|
7
7
|
import h from "react";
|
|
8
|
-
import { s as f } from "../../../chunks/CheckboxTreeExtended.module-
|
|
8
|
+
import { s as f } from "../../../chunks/CheckboxTreeExtended.module-Ie0bCwhb.js";
|
|
9
9
|
class x extends h.Component {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import { useRef as N, useContext as
|
|
3
|
-
import { Checkbox as
|
|
4
|
-
import { c as
|
|
5
|
-
import { s as
|
|
2
|
+
import { useRef as N, useContext as E, useEffect as T } from "react";
|
|
3
|
+
import { Checkbox as a } from "../../Checkbox/Checkbox.js";
|
|
4
|
+
import { c as x } from "../../../chunks/vendor-DudMBGKr.js";
|
|
5
|
+
import { s as m } from "../../../chunks/CheckboxTreeExtended.module-Ie0bCwhb.js";
|
|
6
6
|
import { CheckboxTreeExtendedContext as F } from "../CheckboxTreeExtendedContext.js";
|
|
7
7
|
const L = ({
|
|
8
|
-
active:
|
|
8
|
+
active: s,
|
|
9
9
|
className: r,
|
|
10
10
|
opened: y,
|
|
11
11
|
labelAttributes: o,
|
|
12
|
-
...
|
|
12
|
+
...f
|
|
13
13
|
}) => {
|
|
14
|
-
const n = N(null), { size:
|
|
15
|
-
|
|
14
|
+
const n = N(null), { size: h } = E(F), d = x(m.checkboxTreeCheckboxLabel, o == null ? void 0 : o.className);
|
|
15
|
+
T(() => {
|
|
16
16
|
var c, e;
|
|
17
|
-
(c = document.activeElement) != null && c.contains(n.current) || (e = n.current) == null || e.focus();
|
|
18
|
-
}, [
|
|
17
|
+
s && ((c = document.activeElement) != null && c.contains(n.current) || (e = n.current) == null || e.focus());
|
|
18
|
+
}, [s]);
|
|
19
19
|
const k = (c) => {
|
|
20
20
|
var e;
|
|
21
21
|
(e = o == null ? void 0 : o.onFocus) == null || e.call(o, c);
|
|
@@ -23,17 +23,17 @@ const L = ({
|
|
|
23
23
|
n.current = c;
|
|
24
24
|
};
|
|
25
25
|
return /* @__PURE__ */ p(
|
|
26
|
-
|
|
26
|
+
a,
|
|
27
27
|
{
|
|
28
|
-
className:
|
|
28
|
+
className: x(m.checkboxTreeCheckbox, r),
|
|
29
29
|
ref: C,
|
|
30
30
|
labelAttributes: {
|
|
31
31
|
...o,
|
|
32
|
-
className:
|
|
32
|
+
className: d,
|
|
33
33
|
onFocus: k
|
|
34
34
|
},
|
|
35
|
-
size:
|
|
36
|
-
...
|
|
35
|
+
size: h,
|
|
36
|
+
...f
|
|
37
37
|
}
|
|
38
38
|
);
|
|
39
39
|
};
|
|
@@ -2,10 +2,10 @@ import { jsx as p, jsxs as i } from "react/jsx-runtime";
|
|
|
2
2
|
import { useContext as x } from "react";
|
|
3
3
|
import { CollapsableTree as l } from "../../CollapsableTree/CollapsableTree.js";
|
|
4
4
|
import { isStaticCheckboxTreeExtended as f } from "../isStaticCheckboxTreeExtended.js";
|
|
5
|
-
import { c as u } from "../../../chunks/vendor-
|
|
5
|
+
import { c as u } from "../../../chunks/vendor-DudMBGKr.js";
|
|
6
6
|
import "./CheckboxTreeExtendedArrow.js";
|
|
7
7
|
import { createSizeToClassNameMap as T } from "../../../utils/classNameMaps.js";
|
|
8
|
-
import { s as o } from "../../../chunks/CheckboxTreeExtended.module-
|
|
8
|
+
import { s as o } from "../../../chunks/CheckboxTreeExtended.module-Ie0bCwhb.js";
|
|
9
9
|
import { CheckboxTreeExtendedContext as C } from "../CheckboxTreeExtendedContext.js";
|
|
10
10
|
const N = T(o), y = ({
|
|
11
11
|
children: r,
|
package/components/Chip/Chip.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../../chunks/vendor-
|
|
4
|
-
import { C as
|
|
3
|
+
import "../../chunks/vendor-DudMBGKr.js";
|
|
4
|
+
import { C as f } from "../../chunks/Chip-DxpL0kHg.js";
|
|
5
5
|
import "../../enums/EComponentSize.js";
|
|
6
6
|
import "../../utils/classNameMaps.js";
|
|
7
7
|
import "../../utils/keyboard.js";
|
|
8
|
+
import "../Badge/Badge.js";
|
|
8
9
|
export {
|
|
9
|
-
|
|
10
|
+
f as Chip
|
|
10
11
|
};
|
|
11
12
|
//# sourceMappingURL=Chip.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
2
|
+
import s from "react";
|
|
3
|
+
import { c as a } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
4
|
import { CrossStrokeSrvIcon24 as c, CrossStrokeSrvIcon20 as i, CrossStrokeSrvIcon16 as l } from "@sberbusiness/icons-next";
|
|
5
5
|
import { EComponentSize as o } from "../../enums/EComponentSize.js";
|
|
6
6
|
import { ButtonIcon as m } from "../Button/ButtonIcon.js";
|
|
7
|
-
const C = "
|
|
7
|
+
const C = "chipClearButton__6e50dee3", S = {
|
|
8
8
|
chipClearButton: C
|
|
9
9
|
}, f = {
|
|
10
10
|
[o.SM]: /* @__PURE__ */ t(l, { paletteIndex: 6 }),
|
|
11
11
|
[o.MD]: /* @__PURE__ */ t(i, { paletteIndex: 6 }),
|
|
12
12
|
[o.LG]: /* @__PURE__ */ t(c, { paletteIndex: 6 })
|
|
13
|
-
}, I =
|
|
14
|
-
({ className:
|
|
13
|
+
}, I = s.forwardRef(
|
|
14
|
+
({ className: e, size: r = o.MD, ...n }, p) => /* @__PURE__ */ t(m, { className: a(S.chipClearButton, e), ...n, ref: p, children: f[r] })
|
|
15
15
|
);
|
|
16
16
|
I.displayName = "ChipClearButton";
|
|
17
17
|
export {
|
|
@@ -7,7 +7,7 @@ import { DatePickerExtended as B } from "../../DatePickerExtended/DatePickerExte
|
|
|
7
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-DxpL0kHg.js";
|
|
11
11
|
const L = N.forwardRef((S, V) => {
|
|
12
12
|
const {
|
|
13
13
|
value: o,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import D, { useContext as k } from "react";
|
|
3
|
-
import { C as w } from "../../../chunks/Chip-
|
|
3
|
+
import { C as w } from "../../../chunks/Chip-DxpL0kHg.js";
|
|
4
4
|
import { ChipDropdownArrow as P } from "../ChipDropdownArrow.js";
|
|
5
5
|
import { ChipClearButton as g } from "../ChipClearButton.js";
|
|
6
6
|
import { DatePickerExtendedContext as E } from "../../DatePickerExtended/DatePickerExtendedContext.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { CaretdownStrokeSrvIcon24 as p, CaretdownStrokeSrvIcon20 as d, CaretdownStrokeSrvIcon16 as
|
|
3
|
-
import { c } from "../../chunks/vendor-
|
|
2
|
+
import { CaretdownStrokeSrvIcon24 as p, CaretdownStrokeSrvIcon20 as d, CaretdownStrokeSrvIcon16 as c } from "@sberbusiness/icons-next";
|
|
3
|
+
import { c as a } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
4
|
import { EComponentSize as r } from "../../enums/EComponentSize.js";
|
|
5
|
-
const w = "
|
|
5
|
+
const w = "chipDropdownArrow__6b5c66f7", s = "rotated__93d0ac35", t = {
|
|
6
6
|
chipDropdownArrow: w,
|
|
7
7
|
rotated: s
|
|
8
8
|
}, i = {
|
|
9
|
-
[r.SM]: /* @__PURE__ */ o(
|
|
9
|
+
[r.SM]: /* @__PURE__ */ o(c, { paletteIndex: 5 }),
|
|
10
10
|
[r.MD]: /* @__PURE__ */ o(d, { paletteIndex: 5 }),
|
|
11
11
|
[r.LG]: /* @__PURE__ */ o(p, { paletteIndex: 5 })
|
|
12
|
-
}, m = ({ rotated: e, size: n = r.MD }) => /* @__PURE__ */ o("span", { className:
|
|
12
|
+
}, m = ({ rotated: e, size: n = r.MD }) => /* @__PURE__ */ o("span", { className: a(t.chipDropdownArrow, { [t.rotated]: e }), children: i[n] });
|
|
13
13
|
m.displayName = "ChipDropdownArrow";
|
|
14
14
|
export {
|
|
15
15
|
m as ChipDropdownArrow
|
|
@@ -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-DxpL0kHg.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,11 +1,11 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import w from "react";
|
|
3
3
|
import { MultiselectField as y } from "../MultiselectField/MultiselectField.js";
|
|
4
|
-
import { s as x, C as D } from "../../chunks/Chip-
|
|
4
|
+
import { s as x, C as D } from "../../chunks/Chip-DxpL0kHg.js";
|
|
5
5
|
import { ChipClearButton as E } from "./ChipClearButton.js";
|
|
6
6
|
import { ChipDropdownArrow as K } from "./ChipDropdownArrow.js";
|
|
7
7
|
import { isKey as i } from "../../utils/keyboard.js";
|
|
8
|
-
import { c as g } from "../../chunks/vendor-
|
|
8
|
+
import { c as g } from "../../chunks/vendor-DudMBGKr.js";
|
|
9
9
|
const B = w.forwardRef(
|
|
10
10
|
({ children: c, className: p, clearSelected: m, disabled: s, label: e, displayedValue: d, selected: a, size: r, ...f }, C) => {
|
|
11
11
|
const h = (o) => {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
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:
|
|
8
|
-
}, l =
|
|
4
|
+
import { C } from "../../chunks/Chip-DxpL0kHg.js";
|
|
5
|
+
import { ChipClearButton as f } from "./ChipClearButton.js";
|
|
6
|
+
const m = "chipOptionsContent__4bd4a89d", c = {
|
|
7
|
+
chipOptionsContent: m
|
|
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(
|
|
14
|
-
|
|
13
|
+
postfix: n ? /* @__PURE__ */ t(f, { onClick: (a) => {
|
|
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
|
);
|
|
@@ -5,8 +5,8 @@ import "../../SelectExtendedField/components/SelectExtendedFieldDropdown.js";
|
|
|
5
5
|
import "../../SelectExtendedField/components/SelectExtendedFieldTarget.js";
|
|
6
6
|
import { SelectExtendedFieldDropdownDefault as w } from "../../SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js";
|
|
7
7
|
import { ChipSelectTarget as D } from "./ChipSelectTarget.js";
|
|
8
|
-
import { s as T } from "../../../chunks/Chip-
|
|
9
|
-
import { c as g } from "../../../chunks/vendor-
|
|
8
|
+
import { s as T } from "../../../chunks/Chip-DxpL0kHg.js";
|
|
9
|
+
import { c as g } from "../../../chunks/vendor-DudMBGKr.js";
|
|
10
10
|
const u = S.forwardRef(
|
|
11
11
|
({ className: m, clearSelected: c, disabled: d, size: o, label: i, displayedValue: p, onChange: l, options: n, value: e, ...s }, f) => {
|
|
12
12
|
const a = (r) => /* @__PURE__ */ t(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import g, { useCallback as t } from "react";
|
|
3
|
-
import { C as x } from "../../../chunks/Chip-
|
|
3
|
+
import { C as x } from "../../../chunks/Chip-DxpL0kHg.js";
|
|
4
4
|
import { ChipDropdownArrow as y } from "../ChipDropdownArrow.js";
|
|
5
5
|
import { ChipClearButton as D } from "../ChipClearButton.js";
|
|
6
6
|
import { isKey as a } from "../../../utils/keyboard.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import y, { useRef as C } from "react";
|
|
3
|
-
import { u as b, l as N, c as l } from "../../chunks/vendor-
|
|
3
|
+
import { u as b, l as N, c as l } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
4
|
import { ChipIcon as R } from "./ChipIcon.js";
|
|
5
5
|
import { SortStrokeSrvIcon24 as s } from "@sberbusiness/icons-next";
|
|
6
6
|
import { SelectExtendedField as K } from "../SelectExtendedField/SelectExtendedField.js";
|
|
7
7
|
import "../SelectExtendedField/components/SelectExtendedFieldDropdown.js";
|
|
8
8
|
import "../SelectExtendedField/components/SelectExtendedFieldTarget.js";
|
|
9
9
|
import { SelectExtendedFieldDropdownDefault as T } from "../SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js";
|
|
10
|
-
import { s as k } from "../../chunks/Chip-
|
|
10
|
+
import { s as k } from "../../chunks/Chip-DxpL0kHg.js";
|
|
11
11
|
import { isKey as m } from "../../utils/keyboard.js";
|
|
12
12
|
const q = y.forwardRef(
|
|
13
13
|
({ className: d, defaultValue: p, disabled: f, label: u, onChange: x, options: h, value: e, size: i, ...I }, S) => {
|
|
@@ -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-DudMBGKr.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-DxpL0kHg.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,12 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { g as S } from "../../../chunks/vendor-
|
|
1
|
+
import { jsx as t, jsxs as C } from "react/jsx-runtime";
|
|
2
|
+
import E, { useCallback as O } from "react";
|
|
3
|
+
import { g as S } from "../../../chunks/vendor-DudMBGKr.js";
|
|
4
4
|
import { EVENT_KEY_CODES as L } from "../../../utils/keyboard.js";
|
|
5
5
|
import { useSuggestContext as k } from "../../Suggest/SuggestContext.js";
|
|
6
6
|
import "../../Dropdown/DropdownListContext.js";
|
|
7
7
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
8
8
|
import { DropdownList as R } from "../../Dropdown/desktop/DropdownList.js";
|
|
9
|
-
import { D as _ } from "../../../chunks/DropdownListItem-
|
|
9
|
+
import { D as _ } from "../../../chunks/DropdownListItem-D_36RD5A.js";
|
|
10
10
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
11
11
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
12
12
|
import "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -21,11 +21,11 @@ import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
|
21
21
|
import { Dropdown as x } from "../../Dropdown/Dropdown.js";
|
|
22
22
|
import { ChipSuggestDesktopDropdownField as b } from "./desktop/ChipSuggestDesktopDropdownField.js";
|
|
23
23
|
import { SuggestMobileDropdownContent as y } from "../../Suggest/SuggestMobileDropdownContent.js";
|
|
24
|
-
const F = [L.ENTER],
|
|
24
|
+
const F = [L.ENTER], I = ({ children: c, size: i, targetRef: l, focusTrapProps: e, ...w }, r) => {
|
|
25
25
|
const {
|
|
26
26
|
value: n,
|
|
27
27
|
options: d,
|
|
28
|
-
dropdownListId:
|
|
28
|
+
dropdownListId: D,
|
|
29
29
|
dropdownOpen: p,
|
|
30
30
|
dropdownListLoading: a,
|
|
31
31
|
dropdownRef: f,
|
|
@@ -34,49 +34,50 @@ const F = [L.ENTER], v = ({ children: c, size: i, targetRef: l, focusTrapProps:
|
|
|
34
34
|
setDropdownOpen: m
|
|
35
35
|
} = k(), g = (o) => {
|
|
36
36
|
f.current = o, typeof r == "function" ? r(o) : r && (r.current = o);
|
|
37
|
-
},
|
|
37
|
+
}, h = O(
|
|
38
38
|
(o) => {
|
|
39
39
|
o ? m(!0) : s();
|
|
40
40
|
},
|
|
41
41
|
[m, s]
|
|
42
42
|
);
|
|
43
|
-
return /* @__PURE__ */
|
|
43
|
+
return /* @__PURE__ */ t(
|
|
44
44
|
x,
|
|
45
45
|
{
|
|
46
46
|
size: i,
|
|
47
47
|
targetRef: l,
|
|
48
48
|
opened: p,
|
|
49
|
-
setOpened:
|
|
49
|
+
setOpened: h,
|
|
50
50
|
mobileViewProps: {
|
|
51
|
-
children: /* @__PURE__ */
|
|
51
|
+
children: /* @__PURE__ */ t(y, {})
|
|
52
52
|
},
|
|
53
|
-
...
|
|
53
|
+
...w,
|
|
54
54
|
ref: g,
|
|
55
|
-
children: /* @__PURE__ */
|
|
55
|
+
children: /* @__PURE__ */ t(
|
|
56
56
|
S.FocusTrap,
|
|
57
57
|
{
|
|
58
|
-
...
|
|
58
|
+
...e,
|
|
59
59
|
focusTrapOptions: {
|
|
60
60
|
clickOutsideDeactivates: !0,
|
|
61
61
|
returnFocusOnDeactivate: !0,
|
|
62
|
-
...
|
|
62
|
+
...e == null ? void 0 : e.focusTrapOptions
|
|
63
63
|
},
|
|
64
|
-
children: /* @__PURE__ */
|
|
65
|
-
/* @__PURE__ */
|
|
66
|
-
/* @__PURE__ */
|
|
64
|
+
children: /* @__PURE__ */ C("div", { role: "presentation", children: [
|
|
65
|
+
/* @__PURE__ */ t(b, { children: c }),
|
|
66
|
+
/* @__PURE__ */ t(
|
|
67
67
|
R,
|
|
68
68
|
{
|
|
69
|
-
id:
|
|
69
|
+
id: D,
|
|
70
70
|
size: i,
|
|
71
71
|
dropdownOpened: p,
|
|
72
72
|
loading: a,
|
|
73
73
|
style: d.length === 0 ? { display: "none" } : void 0,
|
|
74
|
-
children: d.map((o) => /* @__PURE__ */
|
|
74
|
+
children: d.map((o) => /* @__PURE__ */ t(
|
|
75
75
|
_,
|
|
76
76
|
{
|
|
77
77
|
id: o.id,
|
|
78
78
|
keyCodesForSelection: F,
|
|
79
79
|
selected: o.id === (n == null ? void 0 : n.id),
|
|
80
|
+
showNotificationIcon: o.showNotificationIcon,
|
|
80
81
|
onSelect: () => u(o),
|
|
81
82
|
children: o.content || o.label
|
|
82
83
|
},
|
|
@@ -89,8 +90,8 @@ const F = [L.ENTER], v = ({ children: c, size: i, targetRef: l, focusTrapProps:
|
|
|
89
90
|
)
|
|
90
91
|
}
|
|
91
92
|
);
|
|
92
|
-
},
|
|
93
|
+
}, eo = E.forwardRef(I);
|
|
93
94
|
export {
|
|
94
|
-
|
|
95
|
+
eo as ChipSuggestDropdown
|
|
95
96
|
};
|
|
96
97
|
//# sourceMappingURL=ChipSuggestDropdown.js.map
|
|
@@ -2,7 +2,7 @@ import { jsx as f } from "react/jsx-runtime";
|
|
|
2
2
|
import E, { useCallback as r } from "react";
|
|
3
3
|
import { useSuggestContext as P } from "../../Suggest/SuggestContext.js";
|
|
4
4
|
import "../../Suggest/Suggest.js";
|
|
5
|
-
import { C as T } from "../../../chunks/Chip-
|
|
5
|
+
import { C as T } from "../../../chunks/Chip-DxpL0kHg.js";
|
|
6
6
|
import { ChipClearButton as c } from "../ChipClearButton.js";
|
|
7
7
|
import { ChipDropdownArrow as w } from "../ChipDropdownArrow.js";
|
|
8
8
|
import { isKey as n } from "../../../utils/keyboard.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as i, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { useState as
|
|
3
|
-
import { useSuggestContext as
|
|
2
|
+
import { useState as v, useRef as z, useCallback as o } from "react";
|
|
3
|
+
import { useSuggestContext as T } from "../../../Suggest/SuggestContext.js";
|
|
4
4
|
import { FormFieldClear as k } from "../../../FormField/components/FormFieldClear.js";
|
|
5
5
|
import "../../../FormField/components/FormFieldCounter.js";
|
|
6
6
|
import "../../../FormField/components/FormFieldDescription.js";
|
|
7
|
-
import { F as B } from "../../../../chunks/FormFieldInput
|
|
7
|
+
import { F as B } from "../../../../chunks/FormFieldInput-C7aO7-c1.js";
|
|
8
8
|
import { FormFieldLabel as D } from "../../../FormField/components/FormFieldLabel.js";
|
|
9
9
|
import "../../../FormField/components/FormFieldMaskedInput.js";
|
|
10
10
|
import { FormFieldPostfix as L } from "../../../FormField/components/FormFieldPostfix.js";
|
|
@@ -18,7 +18,7 @@ import { ETooltipSize as O } from "../../../Tooltip/enums.js";
|
|
|
18
18
|
import { LoaderSmall as R } from "../../../Loader/LoaderSmall/LoaderSmall.js";
|
|
19
19
|
import { ELoaderSmallTheme as W } from "../../../Loader/LoaderSmall/enum.js";
|
|
20
20
|
import "../../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
21
|
-
const E = "
|
|
21
|
+
const E = "chipSuggestInputWrapper__06fbb4c6", j = {
|
|
22
22
|
chipSuggestInputWrapper: E
|
|
23
23
|
}, oe = ({ children: m }) => {
|
|
24
24
|
const {
|
|
@@ -26,14 +26,14 @@ const E = "chipSuggestInputWrapper__113bc3a1", j = {
|
|
|
26
26
|
placeholder: u,
|
|
27
27
|
noOptionsText: c,
|
|
28
28
|
dropdownListId: d,
|
|
29
|
-
activeDescendant:
|
|
30
|
-
loading:
|
|
29
|
+
activeDescendant: f,
|
|
30
|
+
loading: g,
|
|
31
31
|
tooltipOpen: h,
|
|
32
32
|
clearInputOnFocus: p,
|
|
33
33
|
onFilter: e
|
|
34
|
-
} =
|
|
35
|
-
(
|
|
36
|
-
e(
|
|
34
|
+
} = T(), [F, l] = v(!1), s = z(null), S = o(() => e(""), [e]), I = o(
|
|
35
|
+
(b) => {
|
|
36
|
+
e(b.target.value);
|
|
37
37
|
},
|
|
38
38
|
[e]
|
|
39
39
|
), C = o(() => {
|
|
@@ -58,7 +58,7 @@ const E = "chipSuggestInputWrapper__113bc3a1", j = {
|
|
|
58
58
|
value: r,
|
|
59
59
|
placeholder: u,
|
|
60
60
|
"aria-controls": d,
|
|
61
|
-
"aria-activedescendant":
|
|
61
|
+
"aria-activedescendant": f,
|
|
62
62
|
autoFocus: !0,
|
|
63
63
|
onFocus: C,
|
|
64
64
|
onBlur: x,
|
|
@@ -71,7 +71,7 @@ const E = "chipSuggestInputWrapper__113bc3a1", j = {
|
|
|
71
71
|
),
|
|
72
72
|
/* @__PURE__ */ i(L, { children: [
|
|
73
73
|
/* @__PURE__ */ t(k, { onClick: S }),
|
|
74
|
-
|
|
74
|
+
g && /* @__PURE__ */ t(R, { theme: W.BRAND, size: a.SM })
|
|
75
75
|
] })
|
|
76
76
|
] });
|
|
77
77
|
};
|
package/components/Chip/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as e } from "../../chunks/Chip-
|
|
1
|
+
import { C as e } from "../../chunks/Chip-DxpL0kHg.js";
|
|
2
2
|
import { ChipDatePicker as t } from "./ChipDatePicker/ChipDatePicker.js";
|
|
3
3
|
import { ChipDatePickerTarget as C } from "./ChipDatePicker/ChipDatePickerTarget.js";
|
|
4
4
|
import { ChipClearButton as h } from "./ChipClearButton.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import p from "react";
|
|
3
|
-
import { c as r } from "../../chunks/vendor-
|
|
4
|
-
import { EComponentSize as
|
|
3
|
+
import { c as r } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
|
+
import { EComponentSize as c } from "../../enums/EComponentSize.js";
|
|
5
5
|
import { createSizeToClassNameMap as l } from "../../utils/classNameMaps.js";
|
|
6
|
-
const _ = "
|
|
6
|
+
const _ = "chipGroup__abd0724a", d = "oneLine__a3190f80", u = "multiLine__c4fad849", f = "lg__1db52a11", L = "md__80542c54", h = "sm__2ad88f9c", o = {
|
|
7
7
|
chipGroup: _,
|
|
8
|
-
oneLine:
|
|
8
|
+
oneLine: d,
|
|
9
9
|
multiLine: u,
|
|
10
|
-
lg:
|
|
10
|
+
lg: f,
|
|
11
11
|
md: L,
|
|
12
12
|
sm: h
|
|
13
13
|
}, G = l(o), C = p.forwardRef(
|
|
14
|
-
({ children: i, className: t, oneLine: e, size: m =
|
|
14
|
+
({ children: i, className: t, oneLine: e, size: m = c.MD, ...s }, a) => /* @__PURE__ */ n(
|
|
15
15
|
"div",
|
|
16
16
|
{
|
|
17
17
|
className: r(o.chipGroup, G[m], t, {
|
|
@@ -19,8 +19,8 @@ const _ = "chipGroup__343b81fe", f = "oneLine__be12e3cb", u = "multiLine__1ef4f3
|
|
|
19
19
|
[o.oneLine]: !!e
|
|
20
20
|
}),
|
|
21
21
|
...s,
|
|
22
|
-
ref:
|
|
23
|
-
"data-tx": "1.
|
|
22
|
+
ref: a,
|
|
23
|
+
"data-tx": "1.24.0",
|
|
24
24
|
children: i
|
|
25
25
|
}
|
|
26
26
|
)
|