@sberbusiness/triplex-next 1.4.0 → 1.6.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-BQv9QI6L.js → AlertProcessSpoiler-BCXIqVd5.js} +6 -6
- package/chunks/CalendarViewItem-CHiqUGxF.js +101 -0
- package/chunks/Card.module-CmXEvD5r.js +17 -0
- package/chunks/CheckboxTreeExtended.module-D-2ZUrcy.js +11 -0
- package/chunks/{Chip-G6cGXuGj.js → Chip-yWyfl_o2.js} +11 -11
- package/chunks/Confirm.module-Ds4ZMYVB.js +15 -0
- package/chunks/{DropdownListItem-D2hzyBGc.js → DropdownListItem-DgEkMGvB.js} +19 -19
- package/chunks/DropdownMobile.module-thvNKX4t.js +21 -0
- package/chunks/Footer.module-DZhiuTzP.js +9 -0
- package/chunks/{FormFieldInput-CO7yZP0Q.js → FormFieldInput-BBhoiftf.js} +10 -10
- package/chunks/HeaderLayoutSidebar.module-DaB6pHPF.js +9 -0
- package/chunks/HeaderTabs.module-DK3rR1yV.js +9 -0
- package/chunks/{HeaderTitle.module-BHyH17ZI.js → HeaderTitle.module-CBMLSjn-.js} +2 -2
- package/chunks/IslandAccordion.module-D9LSijXT.js +26 -0
- package/chunks/{LightBoxContent-DmoszkOx.js → LightBoxContent-BjsBFl6W.js} +12 -12
- package/chunks/LightBoxControls.module-BHw6I5-d.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-VE4NCDr0.js +8 -0
- package/chunks/{ListItemControlsButton-BoEiexyr.js → ListItemControlsButton-CueYzEGM.js} +10 -10
- package/chunks/ListItemTail.module-Bw2cyg-n.js +12 -0
- package/chunks/ListMasterFooter.module-BfD7OQFa.js +10 -0
- package/chunks/ModalWindow.module-Nps-2rvx.js +17 -0
- package/chunks/Notification.module-DZZnmvDX.js +21 -0
- package/chunks/Overlay.module-BGfiVeol.js +18 -0
- package/chunks/Page.module-CV4uy77C.js +12 -0
- package/chunks/{RightBorderArrow-BHW7rkmN.js → RightBorderArrow-rROpeCX0.js} +8 -8
- package/chunks/SMSInput.module-Br6FTDVD.js +16 -0
- package/chunks/SliderExtendedMarks.module-Bubs2UAN.js +15 -0
- package/chunks/SliderExtendedRail-BmH-0W3L.js +40 -0
- package/chunks/StatusTracker.module-BVzGbfDD.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-CMKMF0PQ.js → SuggestFieldMobileDropdownHint-Bh4smUeN.js} +2 -2
- package/chunks/TableFooter.module-hx13-EO6.js +14 -0
- package/chunks/TabsExtended.module-CNjCgifz.js +16 -0
- package/chunks/TabsLine.module-_Jn8K0jv.js +23 -0
- package/chunks/TooltipDesktop.module-Cx6fDiek.js +19 -0
- package/chunks/TooltipMobileCloseButton-BUyQFHWX.js +20 -0
- package/chunks/TreeView.module-oeG4_2Ve.js +9 -0
- package/chunks/{UploadZoneInput-pdhICY56.js → UploadZoneInput-CjsECm07.js} +3 -3
- package/chunks/{utils-C8a4iCV0.js → utils-C1Q-0uVF.js} +6 -6
- package/chunks/utils-C8A7RzC0.js +20 -0
- package/chunks/utils-Cb3psf0n.js +73 -0
- package/chunks/{utils-C9-tOm2Z.js → utils-D-KMukhm.js} +8 -8
- package/chunks/utils-vwCIbf0H.js +24 -0
- package/chunks/vendor-D3hUOusX.js +14839 -0
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +10 -10
- 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 +3 -3
- package/components/AmountField/AmountField.js +11 -11
- package/components/Body/Body.js +13 -13
- package/components/Body/index.js +4 -2
- package/components/Button/Button.js +22 -22
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +2 -2
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +12 -12
- package/components/Calendar/Calendar.js +188 -0
- package/components/Calendar/CalendarContext.js +22 -0
- package/components/Calendar/CalendarViewContext.js +8 -0
- package/components/Calendar/components/CalendarControls.js +98 -0
- package/components/Calendar/components/CalendarFooter.js +9 -0
- package/components/Calendar/components/CalendarFooterButton.js +31 -0
- package/components/Calendar/components/CalendarView.js +30 -0
- package/components/Calendar/components/CalendarViewDays.js +100 -0
- package/components/Calendar/components/CalendarViewItem.js +11 -0
- package/components/Calendar/components/CalendarViewMonths.js +64 -0
- package/components/Calendar/components/CalendarViewYears.js +64 -0
- package/components/Calendar/enums.js +7 -0
- package/components/Calendar/index.js +9 -0
- package/components/Calendar/types.js +2 -0
- package/components/Calendar/utils.js +38 -0
- package/components/Card/CardAction.js +14 -14
- 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 +12 -12
- package/components/Checkbox/Checkbox.js +16 -16
- package/components/Checkbox/CheckboxXGroup.js +13 -13
- package/components/Checkbox/CheckboxYGroup.js +4 -4
- package/components/CheckboxTree/index.js +5 -0
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +8 -7
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +4 -3
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +22 -21
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +21 -24
- package/components/CheckboxTreeExtended/index.js +5 -0
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +7 -7
- package/components/Chip/ChipDropdownArrow.js +4 -4
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +46 -0
- package/components/Chip/ChipOptions.js +9 -9
- package/components/Chip/ChipSelect.js +2 -2
- package/components/Chip/ChipSort.js +55 -0
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +21 -21
- package/components/Chip/index.js +13 -9
- package/components/ChipGroup/ChipGroup.js +13 -13
- package/components/Col/Col.js +137 -137
- package/components/CollapsableTree/components/CollapsableTreeNode.js +2 -2
- package/components/Confirm/Confirm.js +41 -0
- package/components/Confirm/components/ConfirmClose.js +13 -0
- package/components/Confirm/components/ConfirmCloseButton.js +27 -0
- package/components/Confirm/components/ConfirmContent.js +13 -0
- package/components/Confirm/components/ConfirmContentSubTitle.js +15 -0
- package/components/Confirm/components/ConfirmContentTitle.js +16 -0
- package/components/Confirm/components/ConfirmControls.js +9 -0
- package/components/Confirm/enums.js +5 -0
- package/components/Confirm/index.js +5 -0
- package/components/DateField/DateField.js +135 -0
- package/components/DateField/DateFieldContext.js +12 -0
- package/components/DateField/DateFieldTarget.js +60 -0
- package/components/DateField/constants.js +5 -0
- package/components/DateField/index.js +5 -0
- package/components/DateField/types.js +2 -0
- package/components/DateField/utils.js +23 -0
- package/components/DatePickerExtended/DatePickerExtended.js +136 -0
- package/components/DatePickerExtended/DatePickerExtendedContext.js +11 -0
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +63 -0
- package/components/DateRange/DateRange.js +73 -0
- package/components/DateRange/enums.js +5 -0
- package/components/DesignTokens/DesignTokenUtils.js +7 -7
- package/components/DesignTokens/DesignTokensComponents.js +94 -70
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +89 -65
- package/components/DesignTokens/DesignTokensCore.js +1 -1
- package/components/DesignTokens/components/Calendar.js +107 -0
- package/components/DesignTokens/components/Divider.js +4 -4
- package/components/DesignTokens/components/Island.js +4 -4
- package/components/DesignTokens/components/IslandAccordion.js +15 -4
- package/components/DesignTokens/components/ModalWindow.js +11 -0
- package/components/DesignTokens/components/MultiselectField.js +9 -0
- package/components/DesignTokens/components/Slider.js +59 -0
- package/components/DesignTokens/components/SmallInput.js +15 -0
- package/components/DesignTokens/components/TopOverlay.js +9 -0
- package/components/DesignTokens/components/UploadZone.js +1 -1
- package/components/DesignTokens/components/index.js +144 -126
- package/components/Divider/Divider.js +21 -21
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +64 -0
- package/components/DocumentNumberEdit/index.js +5 -0
- package/components/Dropdown/desktop/DropdownDesktop.js +16 -16
- 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 +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 +11 -0
- package/components/Ellipsis/Ellipsis.js +13 -13
- package/components/ExpandAnimation/ExpandAnimation.js +24 -24
- 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 +13 -17
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +5 -5
- package/components/FormField/components/FormFieldMaskedInput.js +24 -28
- package/components/FormField/components/FormFieldPostfix.js +8 -8
- package/components/FormField/components/FormFieldPrefix.js +8 -8
- package/components/FormField/components/FormFieldTarget.js +37 -36
- package/components/FormField/components/FormFieldTextarea.js +11 -11
- 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 +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 +6 -6
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +5 -5
- package/components/Island/components/IslandFooter.js +4 -4
- 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 +81 -73
- package/components/LightBox/LightBox.js +29 -29
- 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 +9 -9
- 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/LightBoxViewManager/LightBoxViewManager.js +3 -3
- package/components/Link/Link.js +17 -17
- 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 +7 -7
- package/components/List/components/ListItemControls.js +2 -2
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +7 -7
- package/components/List/components/ListItemSelectable.js +7 -7
- package/components/List/components/ListItemTable.js +4 -4
- 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 +6 -6
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +2 -2
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +6 -6
- package/components/ListMaster/components/SelectionControls.js +6 -6
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +13 -13
- package/components/Loader/LoaderSmall/LoaderSmall.js +8 -8
- package/components/LoaderScreen/LoaderScreen.js +2 -2
- 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 +98 -0
- package/components/ModalWindow/components/ModalWindowBody.js +21 -0
- package/components/ModalWindow/components/ModalWindowClose.js +29 -0
- package/components/ModalWindow/components/ModalWindowContent.js +13 -0
- package/components/ModalWindow/components/ModalWindowFooter.js +10 -0
- package/components/ModalWindow/components/ModalWindowHeader.js +13 -0
- package/components/ModalWindow/components/ModalWindowViewManager.js +45 -0
- package/components/ModalWindow/index.js +17 -0
- package/components/MonthYearField/MonthYearField.js +66 -0
- package/components/MonthYearField/MonthYearFieldContext.js +9 -0
- package/components/MonthYearField/MonthYearFieldTarget.js +59 -0
- package/components/MonthYearField/constants.js +5 -0
- package/components/MonthYearField/index.js +5 -0
- package/components/MonthYearField/types.js +2 -0
- package/components/MonthYearField/utils.js +22 -0
- package/components/MultiselectField/MultiselectField.js +22 -0
- package/components/MultiselectField/MultiselectFieldContext.js +10 -0
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +65 -0
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +23 -0
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +13 -0
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +13 -0
- package/components/MultiselectField/components/index.js +11 -0
- package/components/MultiselectField/index.js +5 -0
- 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/Notification/index.js +7 -0
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +5 -5
- package/components/OrderedList/OrderedListItem.js +10 -10
- 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 +2 -2
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Page/components/useStickyCornerRadius.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +5 -5
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +9 -8
- package/components/Pagination/components/PaginationPageEllipsis.js +3 -3
- package/components/Pagination/components/PaginationSelect.js +6 -6
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +6 -6
- package/components/Radio/RadioXGroup.js +11 -11
- package/components/Radio/RadioYGroup.js +8 -8
- package/components/Row/Row.js +6 -6
- package/components/SMSInput/SMSInput.js +3 -3
- package/components/SMSInput/components/RefreshIcon.js +2 -2
- package/components/SMSInput/components/SMSInputInput.js +3 -3
- package/components/SMSInput/components/SMSInputRefresh.js +2 -2
- package/components/SMSInput/components/SMSInputSubmit.js +2 -2
- package/components/SMSInput/components/SMSInputTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +6 -6
- package/components/SegmentedControl/SegmentedControlSegment.js +7 -7
- package/components/SelectExtendedField/SelectExtendedField.js +60 -54
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +81 -67
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +8 -8
- package/components/Slider/Slider.js +20 -0
- package/components/Slider/index.js +5 -0
- package/components/SliderExtended/SliderExtended.js +102 -0
- package/components/SliderExtended/SliderExtendedContext.js +30 -0
- package/components/SliderExtended/SliderExtendedUtils.js +32 -0
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +158 -0
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDotActions.js +12 -0
- package/components/SliderExtended/components/SliderExtendedDot/useSliderExtendedDotTabIndex.js +21 -0
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +48 -0
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarkActions.js +27 -0
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +9 -0
- package/components/SliderExtended/components/SliderExtendedMoveHandler.js +25 -0
- package/components/SliderExtended/components/SliderExtendedRail.js +10 -0
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +39 -0
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +147 -0
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrackActions.js +36 -0
- package/components/SliderExtended/index.js +5 -0
- package/components/SliderRange/SliderRange.js +63 -0
- package/components/SliderRange/index.js +5 -0
- package/components/SmallInput/SmallInput.js +11 -0
- package/components/SmallInput/index.js +5 -0
- package/components/Spoiler/Spoiler.js +15 -15
- package/components/StatusTracker/StatusTracker.js +13 -13
- 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/StatusTracker/enums.js +1 -1
- package/components/StatusTracker/index.js +3 -0
- package/components/Step/Step.js +10 -10
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +56 -56
- 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 +10 -10
- 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 +25 -25
- 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 +20 -20
- package/components/Table/FilterPanel.js +7 -7
- package/components/Table/MasterTable.js +3 -3
- package/components/Table/NoColumns.js +4 -4
- package/components/Table/PaginationPanel.js +3 -3
- package/components/Table/TableBasic/TableBasic.js +20 -20
- 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 +31 -34
- package/components/Table/TableBasicSettings/TableBasicSettings.js +29 -31
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +8 -8
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +4 -4
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +5 -5
- package/components/Table/TableFooter/TableFooter.js +14 -11
- 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 +22 -10
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +15 -15
- 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 +7 -7
- 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 +3 -3
- package/components/TabsLine/components/TabsLineItem.js +13 -12
- package/components/TabsLine/components/TabsLineMobile.js +8 -8
- package/components/Tag/Tag.js +20 -20
- 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 +4 -4
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +19 -19
- 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 +28 -32
- package/components/Tooltip/components/mobile/components/TooltipMobileCloseButton.js +6 -11
- package/components/Tooltip/components/mobile/components/TooltipMobileHeader.js +4 -4
- package/components/TopOverlay/TopOverlay.js +85 -0
- package/components/TopOverlay/index.js +5 -0
- package/components/TreeView/TreeView.js +9 -8
- package/components/TreeView/components/TreeViewGroup.js +3 -2
- package/components/TreeView/components/TreeViewNode.js +12 -11
- package/components/Typography/Caption.js +14 -14
- package/components/Typography/Text.js +29 -29
- package/components/Typography/Title.js +12 -12
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +6 -6
- package/components/UnorderedList/UnorderedListItem.js +7 -7
- 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 +515 -421
- package/consts/DateConst.js +14 -0
- package/helpers/less/z-indexes.less +6 -1
- package/index.d.ts +1344 -56
- package/index.js +518 -424
- package/package.json +62 -1
- package/styles/triplex-next.css +527 -472
- package/types/DateTypes.js +2 -0
- package/utils/amountUtils.js +1 -1
- package/chunks/Card.module-kTbr6OQy.js +0 -17
- package/chunks/DropdownMobile.module-Fa_t6vz1.js +0 -21
- package/chunks/Footer.module-B3uFxh54.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-CGCy_cim.js +0 -9
- package/chunks/HeaderTabs.module-DMuNfILv.js +0 -9
- package/chunks/IslandAccordion.module-7xAwgJVI.js +0 -22
- package/chunks/LightBoxControls.module-42gn-co3.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-B_oIB3rc.js +0 -8
- package/chunks/ListItemTail.module-BB5TJPEc.js +0 -12
- package/chunks/ListMasterFooter.module-DxZ_nXDV.js +0 -10
- package/chunks/Notification.module-C-HCMpAz.js +0 -21
- package/chunks/Overlay.module-q-oPhooa.js +0 -18
- package/chunks/Page.module-DjGbJ-Uw.js +0 -12
- package/chunks/SMSInput.module-Ci4GRnk_.js +0 -16
- package/chunks/StatusTracker.module-zTyojoH4.js +0 -24
- package/chunks/TableFooter.module-DrRycaTr.js +0 -13
- package/chunks/TabsExtended.module-Be8qpZYz.js +0 -16
- package/chunks/TabsLine.module-DKAp48Sx.js +0 -23
- package/chunks/TooltipDesktop.module-D72ObNia.js +0 -19
- package/chunks/utils-B7AjUpy-.js +0 -20
- package/chunks/utils-C-1ATq_g.js +0 -24
- package/chunks/utils-DwX2_kEA.js +0 -72
- package/chunks/vendor-Ba_pyhza.js +0 -12036
- package/components/LightBox/LightBoxTopOverlay/LightBoxTopOverlay.js +0 -86
package/components/Card/utils.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { jsxs as p, jsx as b } from "react/jsx-runtime";
|
|
2
|
-
import C, { useState as w, useRef as D, useCallback as L, useEffect as
|
|
3
|
-
import { l as M, c as S } from "../../chunks/vendor-
|
|
4
|
-
import { scrollSmoothHorizontally as
|
|
5
|
-
const R = "
|
|
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-D3hUOusX.js";
|
|
4
|
+
import { scrollSmoothHorizontally as a } from "../../utils/scroll.js";
|
|
5
|
+
const R = "carouselExtended__605faa23", k = {
|
|
6
6
|
carouselExtended: R
|
|
7
7
|
}, y = C.forwardRef(
|
|
8
|
-
({ children: l, buttonPrev:
|
|
8
|
+
({ children: l, buttonPrev: c, buttonNext: i, stepPrev: u, stepNext: f, ...h }, s) => {
|
|
9
9
|
const [o, m] = w({ hidden: !0, nextDisabled: !1, prevDisabled: !0 }), r = D(null), t = L(() => {
|
|
10
|
-
const e = r.current,
|
|
10
|
+
const e = r.current, n = {
|
|
11
11
|
hidden: e.scrollWidth == e.clientWidth,
|
|
12
12
|
nextDisabled: Math.round(e.scrollLeft) + e.offsetWidth >= e.scrollWidth,
|
|
13
13
|
prevDisabled: Math.round(e.scrollLeft) <= 0
|
|
14
14
|
};
|
|
15
|
-
M.isEqual(
|
|
15
|
+
M.isEqual(n, o) == !1 && m(n);
|
|
16
16
|
}, [o]);
|
|
17
|
-
|
|
17
|
+
d(() => (window.addEventListener("resize", t), document.addEventListener("scroll", t), () => {
|
|
18
18
|
window.removeEventListener("resize", t), document.removeEventListener("scroll", t);
|
|
19
|
-
}), [t]),
|
|
19
|
+
}), [t]), d(() => {
|
|
20
20
|
t();
|
|
21
21
|
}, [l, t]);
|
|
22
22
|
const x = () => {
|
|
23
|
-
|
|
23
|
+
a(r.current, Math.floor(-u));
|
|
24
24
|
}, v = () => {
|
|
25
|
-
|
|
25
|
+
a(r.current, Math.ceil(f));
|
|
26
26
|
}, E = (e) => {
|
|
27
27
|
r.current = e, typeof s == "function" ? s(e) : s && (s.current = e);
|
|
28
28
|
};
|
|
29
29
|
return /* @__PURE__ */ p("div", { ...h, children: [
|
|
30
|
-
|
|
30
|
+
c({
|
|
31
31
|
disabled: o.prevDisabled,
|
|
32
32
|
hidden: o.hidden,
|
|
33
33
|
onClick: x
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsxs as I, jsx as
|
|
1
|
+
import { jsxs as I, jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import N from "react";
|
|
3
3
|
import { CheckboxbulkStrokeSrvIcon24 as z, CheckboxtickStrokeSrvIcon24 as C } from "@sberbusiness/icons-next";
|
|
4
4
|
import "../Typography/Title.js";
|
|
@@ -7,8 +7,8 @@ import "../Typography/Caption.js";
|
|
|
7
7
|
import { ETextSize as l } from "../Typography/enums.js";
|
|
8
8
|
import { EComponentSize as t } from "../../enums/EComponentSize.js";
|
|
9
9
|
import { createSizeToClassNameMap as u } from "../../utils/classNameMaps.js";
|
|
10
|
-
import { c as r } from "../../chunks/vendor-
|
|
11
|
-
const y = "
|
|
10
|
+
import { c as r } from "../../chunks/vendor-D3hUOusX.js";
|
|
11
|
+
const y = "label__41f259dd", T = "md__c990c0f0", M = "nonempty__4c40f7ed", g = "lg__138a5376", j = "disabled__809f9350", v = "checkbox__b4e13950", B = "checkboxIcon__b0e10d49", D = "checkmarkIcon__65ff4c49", e = {
|
|
12
12
|
label: y,
|
|
13
13
|
md: T,
|
|
14
14
|
nonempty: M,
|
|
@@ -20,29 +20,29 @@ const y = "label__a7f16d39", T = "md__8c013058", M = "nonempty__c5c13c4e", g = "
|
|
|
20
20
|
}, E = {
|
|
21
21
|
[t.LG]: l.B2,
|
|
22
22
|
[t.MD]: l.B3
|
|
23
|
-
},
|
|
23
|
+
}, i = u(e), L = N.forwardRef((k, b) => {
|
|
24
24
|
const {
|
|
25
25
|
children: s,
|
|
26
|
-
className:
|
|
26
|
+
className: d,
|
|
27
27
|
disabled: n,
|
|
28
|
-
bulk:
|
|
28
|
+
bulk: p,
|
|
29
29
|
labelAttributes: o,
|
|
30
30
|
size: a = t.MD,
|
|
31
31
|
...x
|
|
32
|
-
} =
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
{ [
|
|
32
|
+
} = k, h = r(e.checkbox, d, i[a]), _ = r(
|
|
33
|
+
e.label,
|
|
34
|
+
i[a],
|
|
35
|
+
{ [e.disabled]: !!n, [e.nonempty]: !!s },
|
|
36
36
|
o == null ? void 0 : o.className
|
|
37
37
|
), f = () => {
|
|
38
|
-
const m =
|
|
39
|
-
return
|
|
38
|
+
const m = e.checkmarkIcon;
|
|
39
|
+
return p ? /* @__PURE__ */ c(z, { className: m, paletteIndex: 7 }) : /* @__PURE__ */ c(C, { className: m, paletteIndex: 7 });
|
|
40
40
|
};
|
|
41
|
-
return /* @__PURE__ */ I("label", { ...o, className: _, "data-tx": "1.
|
|
42
|
-
/* @__PURE__ */
|
|
43
|
-
/* @__PURE__ */
|
|
41
|
+
return /* @__PURE__ */ I("label", { ...o, className: _, "data-tx": "1.6.0", children: [
|
|
42
|
+
/* @__PURE__ */ c("input", { type: "checkbox", className: h, disabled: n, ...x, ref: b }),
|
|
43
|
+
/* @__PURE__ */ c("span", { className: e.checkboxIcon }),
|
|
44
44
|
f(),
|
|
45
|
-
s && /* @__PURE__ */
|
|
45
|
+
s && /* @__PURE__ */ c(S, { size: E[a], children: s })
|
|
46
46
|
] });
|
|
47
47
|
});
|
|
48
48
|
L.displayName = "Checkbox";
|
|
@@ -1,17 +1,17 @@
|
|
|
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-
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { c as i } from "../../chunks/vendor-D3hUOusX.js";
|
|
3
|
+
const r = "checkboxXGroup__86bfacaf", _ = "label__41f259dd", n = {
|
|
4
|
+
checkboxXGroup: r,
|
|
5
|
+
"indent-12": "indent-12__44f47daa",
|
|
6
|
+
label: _,
|
|
7
|
+
"indent-16": "indent-16__f85814cd",
|
|
8
|
+
"indent-20": "indent-20__88baf7ca",
|
|
9
|
+
"indent-24": "indent-24__3a3dc9bf",
|
|
10
|
+
"indent-28": "indent-28__1e2f8ccf",
|
|
11
|
+
"indent-32": "indent-32__1e4d362b"
|
|
12
12
|
}, l = (e) => {
|
|
13
|
-
const { children: c, className: t, indent:
|
|
14
|
-
return /* @__PURE__ */
|
|
13
|
+
const { children: c, className: t, indent: o = 12, ...d } = e, s = i(n.checkboxXGroup, n[`indent-${o}`], t);
|
|
14
|
+
return /* @__PURE__ */ a("div", { className: s, role: "group", ...d, children: c });
|
|
15
15
|
};
|
|
16
16
|
l.displayName = "CheckboxXGroup";
|
|
17
17
|
export {
|
|
@@ -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-D3hUOusX.js";
|
|
3
|
+
const a = "checkboxYGroup__13b201ea", 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, ...e } = o, r = t(x.checkboxYGroup, s);
|
|
7
|
+
return /* @__PURE__ */ p("div", { className: r, role: "group", ...e, children: c });
|
|
8
8
|
};
|
|
9
9
|
l.displayName = "CheckboxYGroup";
|
|
10
10
|
export {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { jsx as x } from "react/jsx-runtime";
|
|
2
|
-
import { CollapsableTree as
|
|
3
|
-
import { CheckboxTreeExtendedCheckbox as
|
|
4
|
-
import { CheckboxTreeExtendedNode as
|
|
5
|
-
import { c
|
|
6
|
-
|
|
2
|
+
import { CollapsableTree as m } from "../CollapsableTree/CollapsableTree.js";
|
|
3
|
+
import { CheckboxTreeExtendedCheckbox as t } from "./components/CheckboxTreeExtendedCheckbox.js";
|
|
4
|
+
import { CheckboxTreeExtendedNode as d } from "./components/CheckboxTreeExtendedNode.js";
|
|
5
|
+
import { c } from "../../chunks/vendor-D3hUOusX.js";
|
|
6
|
+
import { s } from "../../chunks/CheckboxTreeExtended.module-D-2ZUrcy.js";
|
|
7
|
+
const e = ({ className: o, ...r }) => /* @__PURE__ */ x(m, { className: c(s.checkboxTreeExtended, o), ...r });
|
|
7
8
|
e.displayName = "CheckboxTreeExtended";
|
|
8
|
-
e.Checkbox =
|
|
9
|
-
e.Node =
|
|
9
|
+
e.Checkbox = t;
|
|
10
|
+
e.Node = d;
|
|
10
11
|
export {
|
|
11
12
|
e as CheckboxTreeExtended
|
|
12
13
|
};
|
|
@@ -5,7 +5,8 @@ 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
|
-
|
|
8
|
+
import { s as f } from "../../../chunks/CheckboxTreeExtended.module-D-2ZUrcy.js";
|
|
9
|
+
class x extends h.Component {
|
|
9
10
|
constructor() {
|
|
10
11
|
super(...arguments);
|
|
11
12
|
n(this, "arrowNode");
|
|
@@ -35,7 +36,7 @@ class N extends h.Component {
|
|
|
35
36
|
return /* @__PURE__ */ p(
|
|
36
37
|
"span",
|
|
37
38
|
{
|
|
38
|
-
className:
|
|
39
|
+
className: f.caretIconWrapper,
|
|
39
40
|
onClick: this.handleClick,
|
|
40
41
|
onKeyUp: this.handleKeyUp,
|
|
41
42
|
ref: this.setArrowNode,
|
|
@@ -47,6 +48,6 @@ class N extends h.Component {
|
|
|
47
48
|
}
|
|
48
49
|
}
|
|
49
50
|
export {
|
|
50
|
-
|
|
51
|
+
x as CheckboxTreeExtendedArrow
|
|
51
52
|
};
|
|
52
53
|
//# sourceMappingURL=CheckboxTreeExtendedArrow.js.map
|
|
@@ -1,39 +1,40 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { jsx as
|
|
5
|
-
import
|
|
6
|
-
import { Checkbox as
|
|
7
|
-
import { c as
|
|
8
|
-
|
|
1
|
+
var n = Object.defineProperty;
|
|
2
|
+
var x = (c, o, e) => o in c ? n(c, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[o] = e;
|
|
3
|
+
var s = (c, o, e) => x(c, typeof o != "symbol" ? o + "" : o, e);
|
|
4
|
+
import { jsx as b } from "react/jsx-runtime";
|
|
5
|
+
import d from "react";
|
|
6
|
+
import { Checkbox as m } from "../../Checkbox/Checkbox.js";
|
|
7
|
+
import { c as p } from "../../../chunks/vendor-D3hUOusX.js";
|
|
8
|
+
import { s as a } from "../../../chunks/CheckboxTreeExtended.module-D-2ZUrcy.js";
|
|
9
|
+
class v extends d.Component {
|
|
9
10
|
constructor() {
|
|
10
11
|
super(...arguments);
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
s(this, "checkboxNode");
|
|
13
|
+
s(this, "handleFocus", (e) => {
|
|
13
14
|
});
|
|
14
|
-
|
|
15
|
+
s(this, "setCheckboxNode", (e) => {
|
|
15
16
|
this.checkboxNode = e;
|
|
16
17
|
});
|
|
17
18
|
}
|
|
18
19
|
componentDidUpdate(e) {
|
|
19
|
-
var
|
|
20
|
-
const { active:
|
|
21
|
-
|
|
20
|
+
var t, i;
|
|
21
|
+
const { active: r } = this.props, { active: h } = e;
|
|
22
|
+
r && !h && ((t = document.activeElement) != null && t.contains(this.checkboxNode) || (i = this.checkboxNode) == null || i.focus());
|
|
22
23
|
}
|
|
23
24
|
render() {
|
|
24
|
-
const { active: e, className:
|
|
25
|
-
return /* @__PURE__ */
|
|
26
|
-
|
|
25
|
+
const { active: e, className: r, opened: h, ...t } = this.props;
|
|
26
|
+
return /* @__PURE__ */ b(
|
|
27
|
+
m,
|
|
27
28
|
{
|
|
28
|
-
className:
|
|
29
|
+
className: p(a.checkboxTreeCheckbox, r),
|
|
29
30
|
ref: this.setCheckboxNode,
|
|
30
|
-
labelAttributes: { className:
|
|
31
|
-
...
|
|
31
|
+
labelAttributes: { className: a.checkboxTreeCheckboxLabel, onFocus: this.handleFocus },
|
|
32
|
+
...t
|
|
32
33
|
}
|
|
33
34
|
);
|
|
34
35
|
}
|
|
35
36
|
}
|
|
36
37
|
export {
|
|
37
|
-
|
|
38
|
+
v as CheckboxTreeExtendedCheckbox
|
|
38
39
|
};
|
|
39
40
|
//# sourceMappingURL=CheckboxTreeExtendedCheckbox.js.map
|
|
@@ -1,42 +1,39 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { jsx as
|
|
5
|
-
import
|
|
6
|
-
import { CollapsableTree as
|
|
7
|
-
import { isStaticCheckboxTreeExtended as
|
|
8
|
-
import { c as
|
|
1
|
+
var c = Object.defineProperty;
|
|
2
|
+
var i = (o, r, e) => r in o ? c(o, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[r] = e;
|
|
3
|
+
var d = (o, r, e) => i(o, typeof r != "symbol" ? r + "" : r, e);
|
|
4
|
+
import { jsx as p, jsxs as l } from "react/jsx-runtime";
|
|
5
|
+
import h from "react";
|
|
6
|
+
import { CollapsableTree as m } from "../../CollapsableTree/CollapsableTree.js";
|
|
7
|
+
import { isStaticCheckboxTreeExtended as x } from "../isStaticCheckboxTreeExtended.js";
|
|
8
|
+
import { c as u } from "../../../chunks/vendor-D3hUOusX.js";
|
|
9
9
|
import "./CheckboxTreeExtendedArrow.js";
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
checkboxTreeExtendedNodeHeader: T
|
|
13
|
-
};
|
|
14
|
-
class C extends p.Component {
|
|
10
|
+
import { s as n } from "../../../chunks/CheckboxTreeExtended.module-D-2ZUrcy.js";
|
|
11
|
+
class D extends h.Component {
|
|
15
12
|
constructor() {
|
|
16
13
|
super(...arguments);
|
|
17
|
-
|
|
14
|
+
d(this, "handleHeaderMouseDown", (e) => {
|
|
18
15
|
e.target === e.currentTarget && e.preventDefault();
|
|
19
16
|
});
|
|
20
|
-
|
|
21
|
-
const { checkbox: t, children:
|
|
22
|
-
return /* @__PURE__ */
|
|
17
|
+
d(this, "renderHeader", ({ activeNode: e, opened: s, toggle: a }) => {
|
|
18
|
+
const { checkbox: t, children: f } = this.props;
|
|
19
|
+
return /* @__PURE__ */ l(
|
|
23
20
|
"div",
|
|
24
21
|
{
|
|
25
|
-
className:
|
|
22
|
+
className: u(n.checkboxTreeExtendedNodeHeader, { opened: s }),
|
|
26
23
|
onMouseDown: this.handleHeaderMouseDown,
|
|
27
24
|
children: [
|
|
28
|
-
!
|
|
25
|
+
!x,
|
|
29
26
|
t({ active: e, opened: !0 })
|
|
30
27
|
]
|
|
31
28
|
}
|
|
32
29
|
);
|
|
33
30
|
});
|
|
34
|
-
|
|
31
|
+
d(this, "renderBody", () => this.props.children);
|
|
35
32
|
}
|
|
36
33
|
render() {
|
|
37
|
-
const { children: e, checkbox:
|
|
38
|
-
return /* @__PURE__ */
|
|
39
|
-
|
|
34
|
+
const { children: e, checkbox: s, opened: a, ...t } = this.props;
|
|
35
|
+
return /* @__PURE__ */ p(
|
|
36
|
+
m.Node,
|
|
40
37
|
{
|
|
41
38
|
className: n.checkboxTreeExtendedNode,
|
|
42
39
|
opened: !0,
|
|
@@ -48,6 +45,6 @@ class C extends p.Component {
|
|
|
48
45
|
}
|
|
49
46
|
}
|
|
50
47
|
export {
|
|
51
|
-
|
|
48
|
+
D as CheckboxTreeExtendedNode
|
|
52
49
|
};
|
|
53
50
|
//# sourceMappingURL=CheckboxTreeExtendedNode.js.map
|
package/components/Chip/Chip.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../../chunks/vendor-
|
|
4
|
-
import { C as e } from "../../chunks/Chip-
|
|
3
|
+
import "../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
import { C as e } from "../../chunks/Chip-yWyfl_o2.js";
|
|
5
5
|
import "../../enums/EComponentSize.js";
|
|
6
6
|
import "../../utils/classNameMaps.js";
|
|
7
7
|
import "../../utils/keyboard.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import a from "react";
|
|
3
|
-
import { c as p } from "../../chunks/vendor-
|
|
3
|
+
import { c as p } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { CrossStrokeSrvIcon24 as c, 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__ad06a87d", d = {
|
|
8
8
|
chipClearButton: C
|
|
9
|
-
},
|
|
9
|
+
}, f = {
|
|
10
10
|
[t.SM]: /* @__PURE__ */ o(l, { paletteIndex: 6 }),
|
|
11
11
|
[t.MD]: /* @__PURE__ */ o(i, { paletteIndex: 6 }),
|
|
12
12
|
[t.LG]: /* @__PURE__ */ o(c, { paletteIndex: 6 })
|
|
13
|
-
},
|
|
14
|
-
({ className: r, size: e = t.MD, ...n }, s) => /* @__PURE__ */ o(m, { className: p(
|
|
13
|
+
}, u = a.forwardRef(
|
|
14
|
+
({ className: r, size: e = t.MD, ...n }, s) => /* @__PURE__ */ o(m, { className: p(d.chipClearButton, r), ...n, ref: s, children: f[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 t } from "react/jsx-runtime";
|
|
2
2
|
import { CaretdownStrokeSrvIcon20 as p } from "@sberbusiness/icons-next";
|
|
3
|
-
import { c as
|
|
4
|
-
const
|
|
5
|
-
chipDropdownArrow:
|
|
3
|
+
import { c as d } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
const e = "chipDropdownArrow__16d003be", n = "rotated__d42f6596", o = {
|
|
5
|
+
chipDropdownArrow: e,
|
|
6
6
|
rotated: n
|
|
7
7
|
}, w = ({ 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
|
);
|
|
@@ -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-yWyfl_o2.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 {
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import u from "react";
|
|
3
|
+
import { MultiselectField as w } from "../MultiselectField/MultiselectField.js";
|
|
4
|
+
import { s as x, C as y } from "../../chunks/Chip-yWyfl_o2.js";
|
|
5
|
+
import { ChipClearButton as D } from "./ChipClearButton.js";
|
|
6
|
+
import { ChipDropdownArrow as K } from "./ChipDropdownArrow.js";
|
|
7
|
+
import { isKey as m } from "../../utils/keyboard.js";
|
|
8
|
+
import { c as g } from "../../chunks/vendor-D3hUOusX.js";
|
|
9
|
+
const k = u.forwardRef(
|
|
10
|
+
({ children: n, className: s, clearSelected: p, disabled: c, label: i, displayedValue: f, selected: t, size: e, ...C }, d) => {
|
|
11
|
+
const h = (o) => {
|
|
12
|
+
o.stopPropagation(), p();
|
|
13
|
+
};
|
|
14
|
+
return /* @__PURE__ */ r(
|
|
15
|
+
w,
|
|
16
|
+
{
|
|
17
|
+
size: e,
|
|
18
|
+
renderTarget: ({ opened: o, setOpened: a }) => /* @__PURE__ */ r(
|
|
19
|
+
y,
|
|
20
|
+
{
|
|
21
|
+
"aria-expanded": o,
|
|
22
|
+
disabled: c,
|
|
23
|
+
size: e,
|
|
24
|
+
onClick: () => a(!o),
|
|
25
|
+
onKeyDown: (l) => {
|
|
26
|
+
(m(l.code, "ENTER") || m(l.code, "SPACE")) && a(!o);
|
|
27
|
+
},
|
|
28
|
+
postfix: t ? /* @__PURE__ */ r(D, { onClick: h }) : /* @__PURE__ */ r(K, { rotated: o }),
|
|
29
|
+
ref: d,
|
|
30
|
+
role: "listbox",
|
|
31
|
+
selected: !!t,
|
|
32
|
+
children: t ? f ?? i : i
|
|
33
|
+
}
|
|
34
|
+
),
|
|
35
|
+
className: g(x.chipGroupItem, s),
|
|
36
|
+
...C,
|
|
37
|
+
children: n
|
|
38
|
+
}
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
);
|
|
42
|
+
k.displayName = "ChipMultiselect";
|
|
43
|
+
export {
|
|
44
|
+
k as ChipMultiselect
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=ChipMultiselect.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import { C } from "../../chunks/Chip-
|
|
2
|
+
import r from "react";
|
|
3
|
+
import { OptionsStrokeSrvIcon24 as i } from "@sberbusiness/icons-next";
|
|
4
|
+
import { C } from "../../chunks/Chip-yWyfl_o2.js";
|
|
5
5
|
import { ChipClearButton as f } from "./ChipClearButton.js";
|
|
6
|
-
const
|
|
7
|
-
chipOptionsContent:
|
|
8
|
-
}, l =
|
|
9
|
-
({ children: o, clearSelected: e, selected: n, ...p },
|
|
6
|
+
const c = "chipOptionsContent__a4daf59c", m = {
|
|
7
|
+
chipOptionsContent: c
|
|
8
|
+
}, l = r.forwardRef(
|
|
9
|
+
({ children: o, clearSelected: e, selected: n, ...p }, a) => /* @__PURE__ */ t(
|
|
10
10
|
C,
|
|
11
11
|
{
|
|
12
12
|
prefix: n ? /* @__PURE__ */ t(i, { paletteIndex: 6 }) : /* @__PURE__ */ t(i, { paletteIndex: 5 }),
|
|
@@ -15,8 +15,8 @@ const m = "chipOptionsContent__4d305314", c = {
|
|
|
15
15
|
}, size: p.size }) : /* @__PURE__ */ t("span", {}),
|
|
16
16
|
selected: n,
|
|
17
17
|
...p,
|
|
18
|
-
ref:
|
|
19
|
-
children: typeof o < "u" ? /* @__PURE__ */ t("span", { className:
|
|
18
|
+
ref: a,
|
|
19
|
+
children: typeof o < "u" ? /* @__PURE__ */ t("span", { className: m.chipOptionsContent, children: o }) : o
|
|
20
20
|
}
|
|
21
21
|
)
|
|
22
22
|
);
|
|
@@ -4,10 +4,10 @@ import { SelectExtendedField as D } from "../SelectExtendedField/SelectExtendedF
|
|
|
4
4
|
import "../SelectExtendedField/components/SelectExtendedFieldDropdown.js";
|
|
5
5
|
import "../SelectExtendedField/components/SelectExtendedFieldTarget.js";
|
|
6
6
|
import { ChipClearButton as S } from "./ChipClearButton.js";
|
|
7
|
-
import { s as b, C as k } from "../../chunks/Chip-
|
|
7
|
+
import { s as b, C as k } from "../../chunks/Chip-yWyfl_o2.js";
|
|
8
8
|
import { ChipDropdownArrow as u } from "./ChipDropdownArrow.js";
|
|
9
9
|
import { SelectExtendedFieldDropdownDefault as B } from "../SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js";
|
|
10
|
-
import { c as g } from "../../chunks/vendor-
|
|
10
|
+
import { c as g } from "../../chunks/vendor-D3hUOusX.js";
|
|
11
11
|
const y = w.forwardRef(
|
|
12
12
|
({ className: p, clearSelected: m, disabled: d, size: e, label: i, displayedValue: l, onChange: n, options: c, value: r, ...a }, s) => {
|
|
13
13
|
const f = (o) => {
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import b from "react";
|
|
3
|
+
import { l as u, c as l } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
import { ChipIcon as C } from "./ChipIcon.js";
|
|
5
|
+
import { SortStrokeSrvIcon24 as a } from "@sberbusiness/icons-next";
|
|
6
|
+
import { SelectExtendedField as E } from "../SelectExtendedField/SelectExtendedField.js";
|
|
7
|
+
import "../SelectExtendedField/components/SelectExtendedFieldDropdown.js";
|
|
8
|
+
import "../SelectExtendedField/components/SelectExtendedFieldTarget.js";
|
|
9
|
+
import { SelectExtendedFieldDropdownDefault as w } from "../SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js";
|
|
10
|
+
import { s as D } from "../../chunks/Chip-yWyfl_o2.js";
|
|
11
|
+
const N = b.forwardRef(
|
|
12
|
+
({ className: m, defaultValue: d, disabled: p, label: s, onChange: c, options: n, value: r, size: t, ...f }, x) => {
|
|
13
|
+
const i = !!r && !u.isEqual(d, r), h = ({ opened: e, setOpened: I }) => /* @__PURE__ */ o(
|
|
14
|
+
C,
|
|
15
|
+
{
|
|
16
|
+
className: l("hoverable", {
|
|
17
|
+
active: !!e
|
|
18
|
+
}),
|
|
19
|
+
ref: x,
|
|
20
|
+
disabled: p,
|
|
21
|
+
selected: i,
|
|
22
|
+
onClick: () => I(!0),
|
|
23
|
+
size: t,
|
|
24
|
+
role: "combobox",
|
|
25
|
+
"aria-expanded": e,
|
|
26
|
+
children: i ? /* @__PURE__ */ o(a, { paletteIndex: 6 }) : /* @__PURE__ */ o(a, { paletteIndex: 5 })
|
|
27
|
+
}
|
|
28
|
+
), S = (e) => /* @__PURE__ */ o(
|
|
29
|
+
w,
|
|
30
|
+
{
|
|
31
|
+
...e,
|
|
32
|
+
size: t,
|
|
33
|
+
mobileTitle: s,
|
|
34
|
+
onChange: c,
|
|
35
|
+
options: n,
|
|
36
|
+
value: r,
|
|
37
|
+
fixedWidth: !1
|
|
38
|
+
}
|
|
39
|
+
);
|
|
40
|
+
return /* @__PURE__ */ o(
|
|
41
|
+
E,
|
|
42
|
+
{
|
|
43
|
+
className: l(D.chipGroupItem, m),
|
|
44
|
+
renderTarget: h,
|
|
45
|
+
...f,
|
|
46
|
+
children: S
|
|
47
|
+
}
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
);
|
|
51
|
+
N.displayName = "ChipSort";
|
|
52
|
+
export {
|
|
53
|
+
N as ChipSort
|
|
54
|
+
};
|
|
55
|
+
//# sourceMappingURL=ChipSort.js.map
|
|
@@ -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-D3hUOusX.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-yWyfl_o2.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);
|
|
@@ -6,7 +6,7 @@ import { Dropdown as O } from "../../Dropdown/Dropdown.js";
|
|
|
6
6
|
import "../../Dropdown/DropdownListContext.js";
|
|
7
7
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
8
8
|
import { DropdownList as _ } from "../../Dropdown/desktop/DropdownList.js";
|
|
9
|
-
import { D as x } from "../../../chunks/DropdownListItem-
|
|
9
|
+
import { D as x } from "../../../chunks/DropdownListItem-DgEkMGvB.js";
|
|
10
10
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
11
11
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
12
12
|
import "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -2,7 +2,7 @@ import { jsx as f } from "react/jsx-runtime";
|
|
|
2
2
|
import x, { useCallback as a } from "react";
|
|
3
3
|
import { useSuggestContext as T } from "../../Suggest/SuggestContext.js";
|
|
4
4
|
import "../../Suggest/Suggest.js";
|
|
5
|
-
import { C as B } from "../../../chunks/Chip-
|
|
5
|
+
import { C as B } from "../../../chunks/Chip-yWyfl_o2.js";
|
|
6
6
|
import { ChipClearButton as E } from "../ChipClearButton.js";
|
|
7
7
|
import { ChipDropdownArrow as P } from "../ChipDropdownArrow.js";
|
|
8
8
|
import { isKey as e } from "../../../utils/keyboard.js";
|