@sberbusiness/triplex-next 1.12.0 → 1.13.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 +4 -4
- package/chunks/{AlertProcessSpoiler-2ISgLMAv.js → AlertProcessSpoiler-CKP4h8-E.js} +10 -10
- package/chunks/CalendarViewItem-h3bxNCuW.js +101 -0
- package/chunks/Card.module-bJptPqpj.js +17 -0
- package/chunks/CheckboxTreeExtended.module-bphUNnbQ.js +14 -0
- package/chunks/{Chip-DAuhowke.js → Chip-DaZ9JtW-.js} +16 -16
- package/chunks/Confirm.module-BF4VDMnq.js +15 -0
- package/chunks/{DropdownListItem-Dd97YDii.js → DropdownListItem-D52nAe3Z.js} +12 -12
- package/chunks/DropdownMobile.module-ClkvaJLd.js +23 -0
- package/chunks/Footer.module-QvomhMbc.js +9 -0
- package/chunks/{FormFieldInput-CkbWg1jd.js → FormFieldInput-GtoWWQRE.js} +15 -15
- package/chunks/HeaderLayoutSidebar.module-OCqAbr7a.js +9 -0
- package/chunks/HeaderTabs.module-jYlPSHw3.js +9 -0
- package/chunks/{HeaderTitle.module-B5-wunmu.js → HeaderTitle.module-Bvdyra1H.js} +2 -2
- package/chunks/IslandAccordion.module-Z_pjfKJd.js +25 -0
- package/chunks/IslandWidgetFooter.module-ChRxDXcv.js +9 -0
- package/chunks/IslandWidgetHeader.module-RRcKD0BV.js +9 -0
- package/chunks/{LightBoxContent-CkXwpIcr.js → LightBoxContent-BXDZ6C5k.js} +15 -15
- package/chunks/LightBoxControls.module-BkOqYjOz.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-CeFQNtqn.js +8 -0
- package/chunks/{ListItemControlsButton-CzGamwTx.js → ListItemControlsButton-BHqWsm74.js} +14 -14
- package/chunks/ListItemTail.module-CunfwMYT.js +12 -0
- package/chunks/ListMasterFooter.module-Dtv2xqml.js +10 -0
- package/chunks/ModalWindow.module-BHX3St6k.js +17 -0
- package/chunks/Notification.module-C4_TLm8a.js +21 -0
- package/chunks/Overlay.module-B6Jld0v6.js +18 -0
- package/chunks/Page.module-2EjEIDnt.js +11 -0
- package/chunks/{RightBorderArrow-DCUUrij3.js → RightBorderArrow-BomPWl1J.js} +16 -16
- package/chunks/SMSField.module-BKVjFcIn.js +16 -0
- package/chunks/SliderExtendedMarks.module-BGXnGEBx.js +15 -0
- package/chunks/{SliderExtendedRail-BGydR8-k.js → SliderExtendedRail-D96vBE1q.js} +11 -11
- package/chunks/StatusTracker.module-BKem67MH.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-B1y2_WeW.js → SuggestFieldMobileDropdownHint-CmJLz6qx.js} +2 -2
- package/chunks/TableFooter.module-BAduw_pb.js +14 -0
- package/chunks/TabsExtended.module-D_KXJPSZ.js +16 -0
- package/chunks/TabsLine.module-COfUYGXF.js +21 -0
- package/chunks/TooltipDesktop.module-CG3_T63F.js +19 -0
- package/chunks/TreeView.module-CtJTgfbr.js +9 -0
- package/chunks/UploadZoneInput-scXVyf90.js +33 -0
- package/chunks/{utils-x7NpEaSu.js → utils-B-KTHE01.js} +5 -5
- package/chunks/{utils-BxluXyQN.js → utils-C_xmindK.js} +8 -8
- package/chunks/{utils-7DZsULe6.js → utils-CkGPjHGm.js} +6 -6
- package/chunks/utils-esDpM0b2.js +24 -0
- package/chunks/utils-yLrEzIHN.js +36 -0
- package/components/Alert/AlertContext/AlertContext.js +10 -10
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +7 -7
- package/components/AmountField/AmountField.js +7 -7
- package/components/Avatar/Avatar.js +27 -0
- package/components/Avatar/enums.js +5 -0
- package/components/Avatar/index.js +7 -0
- package/components/Avatar/types.js +2 -0
- package/components/Body/Body.js +8 -8
- package/components/Button/Button.js +23 -23
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +38 -38
- package/components/Button/ButtonDropdownExtended.js +4 -4
- package/components/Button/ButtonIcon.js +6 -6
- package/components/Calendar/Calendar.js +2 -2
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +3 -3
- package/components/Calendar/components/CalendarViewDays.js +1 -1
- package/components/Calendar/components/CalendarViewItem.js +1 -1
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +15 -15
- package/components/Card/CardStatic.js +2 -2
- package/components/Card/components/CardContent/CardContent.js +1 -1
- package/components/Card/components/CardContent/components/CardContentBody.js +1 -1
- package/components/Card/components/CardContent/components/CardContentFooter.js +1 -1
- package/components/Card/components/CardContent/components/CardContentHeader.js +1 -1
- package/components/Card/components/CardMedia.js +1 -1
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +1 -1
- package/components/Checkbox/Checkbox.js +14 -14
- package/components/Checkbox/CheckboxXGroup.js +11 -11
- package/components/Checkbox/CheckboxYGroup.js +3 -3
- package/components/CheckboxTree/CheckboxTree.js +14 -13
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +11 -9
- package/components/CheckboxTreeExtended/CheckboxTreeExtendedContext.js +12 -0
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +34 -37
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +38 -45
- package/components/Chip/Chip.js +1 -1
- package/components/Chip/ChipClearButton.js +5 -5
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +4 -4
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +2 -2
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +2 -2
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +11 -11
- package/components/Col/Col.js +136 -136
- package/components/CollapsableTree/components/CollapsableTreeNode.js +6 -6
- package/components/Confirm/Confirm.js +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +1 -1
- package/components/Confirm/components/ConfirmContent.js +1 -1
- package/components/Confirm/components/ConfirmContentTitle.js +1 -1
- package/components/Confirm/components/ConfirmControls.js +1 -1
- package/components/DateField/DateField.js +2 -2
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +1 -1
- package/components/DateRange/DateRange.js +17 -17
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/DesignTokensComponents.js +106 -104
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +104 -102
- package/components/DesignTokens/components/Avatar.js +9 -0
- package/components/DesignTokens/components/LightBox.js +1 -1
- package/components/DesignTokens/components/index.js +156 -153
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +4 -4
- package/components/Dropdown/desktop/DropdownDesktop.js +14 -14
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +11 -11
- package/components/ExpandAnimation/ExpandAnimation.js +1 -1
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +52 -46
- package/components/FormField/components/FormFieldClear.js +6 -6
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +9 -9
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +8 -8
- package/components/FormField/components/FormFieldMaskedInput.js +14 -14
- package/components/FormField/components/FormFieldPostfix.js +1 -1
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +6 -6
- package/components/FormField/components/FormFieldTextarea.js +11 -11
- package/components/FormField/index.js +16 -15
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +1 -1
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +43 -44
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +2 -2
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +2 -2
- package/components/IslandWidget/IslandWidget.js +6 -6
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +10 -10
- package/components/IslandWidget/components/IslandWidgetFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +3 -3
- package/components/LightBox/LightBox.js +20 -20
- package/components/LightBox/LightBoxContent.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxClose.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxControls.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxNext.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +13 -11
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +14 -12
- package/components/Link/Link.js +19 -19
- package/components/List/List.js +2 -2
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +9 -9
- package/components/List/components/ListItemControls.js +1 -1
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +1 -1
- package/components/List/components/ListItemSelectable.js +7 -7
- package/components/List/components/ListItemTable.js +1 -1
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +6 -6
- package/components/List/components/ListSortableItemControls.js +1 -1
- 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 +1 -1
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +7 -7
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +12 -12
- package/components/Loader/LoaderSmall/LoaderSmall.js +5 -5
- package/components/LoaderScreen/LoaderScreen.js +8 -8
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +12 -12
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +2 -2
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +20 -15
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +5 -5
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyContent.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +1 -1
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +1 -1
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NotificationIcon/NotificationIcon.js +4 -4
- package/components/NumberField/NumberFieldInput.js +2 -2
- package/components/OrderedList/OrderedList.js +6 -6
- package/components/OrderedList/OrderedListItem.js +6 -6
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayMask.js +1 -1
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +5 -5
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +4 -4
- package/components/Pagination/components/PaginationPageEllipsis.js +1 -1
- package/components/Pagination/components/PaginationSelect.js +8 -8
- package/components/Radio/Radio.js +12 -12
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +3 -3
- package/components/Row/Row.js +7 -7
- package/components/SMSField/SMSField.js +2 -2
- package/components/SMSField/components/RefreshIcon.js +1 -1
- package/components/SMSField/components/SMSFieldInput.js +2 -2
- package/components/SMSField/components/SMSFieldRefresh.js +1 -1
- package/components/SMSField/components/SMSFieldSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +3 -3
- package/components/SegmentedControl/SegmentedControlSegment.js +8 -8
- package/components/SelectExtendedField/SelectExtendedField.js +10 -10
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +90 -82
- package/components/Skeleton/Skeleton.js +9 -9
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +20 -20
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +1 -1
- package/components/SliderExtended/components/SliderExtendedRail.js +1 -1
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +6 -6
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +32 -32
- package/components/SmallInput/SmallInput.js +3 -3
- package/components/Spoiler/Spoiler.js +17 -17
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +1 -1
- package/components/StatusTracker/components/StatusTrackerDescription.js +1 -1
- package/components/StatusTracker/components/StatusTrackerFooter.js +1 -1
- package/components/StatusTracker/components/StatusTrackerHeader.js +1 -1
- package/components/StatusTracker/components/StatusTrackerMedia.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatus.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +6 -6
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +8 -8
- package/components/Stepper/StepperExtended.js +4 -4
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperWrapper.js +2 -2
- package/components/Suggest/SuggestMobileDropdownContent.js +12 -12
- package/components/SuggestField/SuggestField.js +1 -1
- package/components/SuggestField/SuggestFieldTarget.js +1 -1
- package/components/SuggestField/SuggestFieldTargetPostfix.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +16 -16
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +1 -1
- 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 +12 -12
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +2 -2
- package/components/Table/NoColumns.js +1 -1
- package/components/Table/PaginationPanel.js +2 -2
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +7 -7
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +5 -5
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +5 -5
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +4 -4
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +6 -6
- package/components/Table/TabsLinePanelLinks.js +1 -1
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +32 -31
- package/components/TabsExtended/TabsExtended.js +2 -2
- package/components/TabsExtended/components/TabsExtendedContent.js +1 -1
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTab.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabButton.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +1 -1
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +1 -1
- package/components/TabsLine/components/TabsLineDesktop.js +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +2 -2
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +5 -5
- package/components/Tag/Tag.js +25 -25
- package/components/TagColor/TagColor.js +12 -12
- package/components/TagGroup/TagGroup.js +11 -11
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +2 -2
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +7 -7
- package/components/Tooltip/components/common/TooltipXButton.js +8 -8
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +1 -1
- package/components/Tooltip/components/mobile/TooltipMobile.js +33 -32
- package/components/TopOverlay/TopOverlay.js +24 -24
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Typography/Caption.js +13 -13
- package/components/Typography/Text.js +16 -16
- package/components/Typography/Title.js +16 -16
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +6 -6
- package/components/UnorderedList/UnorderedListItem.js +6 -6
- package/components/UploadZone/UploadZone.js +68 -90
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +554 -549
- package/index.d.ts +59 -23
- package/index.js +598 -593
- package/package.json +6 -2
- package/styles/triplex-next.css +534 -533
- package/chunks/CalendarViewItem-DM6giHDZ.js +0 -101
- package/chunks/Card.module-B3p3ckTi.js +0 -17
- package/chunks/CheckboxTreeExtended.module-C9E_PNKd.js +0 -11
- package/chunks/Confirm.module-C8vukyYR.js +0 -15
- package/chunks/DropdownMobile.module-CCITYoi5.js +0 -23
- package/chunks/Footer.module-CvMg6tX7.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-Dsxv0xGF.js +0 -9
- package/chunks/HeaderTabs.module-BByuDFWD.js +0 -9
- package/chunks/IslandAccordion.module-xj0cP0m9.js +0 -25
- package/chunks/IslandWidgetFooter.module-bDnVNRPn.js +0 -9
- package/chunks/IslandWidgetHeader.module-BW5vlxfL.js +0 -9
- package/chunks/LightBoxControls.module-CzUVzNt3.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-DLin9oqm.js +0 -8
- package/chunks/ListItemTail.module-nXIzaumG.js +0 -12
- package/chunks/ListMasterFooter.module-DSwVh_Ga.js +0 -10
- package/chunks/ModalWindow.module-Cve8WlGX.js +0 -17
- package/chunks/Notification.module-CPxgLCeP.js +0 -21
- package/chunks/Overlay.module-CUGc7krZ.js +0 -18
- package/chunks/Page.module-F4pO41fd.js +0 -11
- package/chunks/SMSField.module-DsbfVxJI.js +0 -16
- package/chunks/SliderExtendedMarks.module-gx4fpmmQ.js +0 -15
- package/chunks/StatusTracker.module-BfU9IGap.js +0 -24
- package/chunks/TableFooter.module-B85spOme.js +0 -14
- package/chunks/TabsExtended.module-D5Cengc4.js +0 -16
- package/chunks/TabsLine.module-BIWiErhn.js +0 -21
- package/chunks/TooltipDesktop.module-BHooJ0zu.js +0 -19
- package/chunks/TreeView.module-BlFF2oGU.js +0 -9
- package/chunks/UploadZoneInput-BERiqnOn.js +0 -35
- package/chunks/utils-BSFj4o72.js +0 -24
- package/chunks/utils-Bn_7-Ayu.js +0 -36
|
@@ -8,10 +8,10 @@ import { CardMedia as _ } from "./components/CardMedia.js";
|
|
|
8
8
|
import { ECardRoundingSize as M, ECardTheme as w } from "./enums.js";
|
|
9
9
|
import { EFocusSource as r } from "../../enums/EFocusSource.js";
|
|
10
10
|
import { mapCardRoundingSizeToCssClass as x, mapCardThemeToCssClass as K } from "./utils.js";
|
|
11
|
-
import { isKey as
|
|
11
|
+
import { isKey as p } from "../../utils/keyboard.js";
|
|
12
12
|
import { c as k } from "../../chunks/vendor-CwhnMZ7o.js";
|
|
13
|
-
import { c as B } from "../../chunks/Card.module-
|
|
14
|
-
const O = "
|
|
13
|
+
import { c as B } from "../../chunks/Card.module-bJptPqpj.js";
|
|
14
|
+
const O = "action__bd0f576e", F = "selected__d0447795", V = "focusVisible__56d62e52", a = {
|
|
15
15
|
action: O,
|
|
16
16
|
selected: F,
|
|
17
17
|
focusVisible: V
|
|
@@ -35,19 +35,19 @@ class l extends u.Component {
|
|
|
35
35
|
});
|
|
36
36
|
o(this, "handleKeyDown", (e) => {
|
|
37
37
|
const { onKeyDown: s } = this.props;
|
|
38
|
-
s == null || s(e),
|
|
38
|
+
s == null || s(e), p(e.keyCode, "SPACE") ? (e.preventDefault(), this.handleToggle()) : p(e.keyCode, "ENTER") && this.handleToggle();
|
|
39
39
|
});
|
|
40
40
|
o(this, "handleFocus", (e) => {
|
|
41
|
-
const { onFocus: s } = this.props, { focusSource: t } = this.state, { current:
|
|
42
|
-
s == null || s(e), !t &&
|
|
41
|
+
const { onFocus: s } = this.props, { focusSource: t } = this.state, { current: n } = this.ref;
|
|
42
|
+
s == null || s(e), !t && n === e.target && this.setState({ focusSource: r.KEYBOARD });
|
|
43
43
|
});
|
|
44
44
|
o(this, "handleBlur", (e) => {
|
|
45
45
|
const { onBlur: s } = this.props, { current: t } = this.ref;
|
|
46
46
|
s == null || s(e), t !== document.activeElement && t === e.target && this.setState({ focusSource: r.NONE });
|
|
47
47
|
});
|
|
48
48
|
o(this, "handleToggle", () => {
|
|
49
|
-
const { toggle: e, selected: s, onToggle: t } = this.props, { isControlled:
|
|
50
|
-
|
|
49
|
+
const { toggle: e, selected: s, onToggle: t } = this.props, { isControlled: n, isSelected: d } = this.state;
|
|
50
|
+
n ? e == null || e(!s) : this.setState(
|
|
51
51
|
(h) => ({ isSelected: !h.isSelected }),
|
|
52
52
|
() => t == null ? void 0 : t(!d)
|
|
53
53
|
);
|
|
@@ -62,11 +62,11 @@ class l extends u.Component {
|
|
|
62
62
|
children: e,
|
|
63
63
|
className: s,
|
|
64
64
|
onClick: t,
|
|
65
|
-
onMouseDown:
|
|
65
|
+
onMouseDown: n,
|
|
66
66
|
onKeyDown: d,
|
|
67
67
|
onFocus: h,
|
|
68
68
|
onBlur: z,
|
|
69
|
-
roundingSize:
|
|
69
|
+
roundingSize: f = M.MD,
|
|
70
70
|
onToggle: A,
|
|
71
71
|
selected: m,
|
|
72
72
|
toggle: U,
|
|
@@ -74,12 +74,12 @@ class l extends u.Component {
|
|
|
74
74
|
...C
|
|
75
75
|
} = this.props, { isControlled: E, isSelected: g, focusSource: D } = this.state, N = k(
|
|
76
76
|
B.card,
|
|
77
|
-
|
|
77
|
+
a.action,
|
|
78
78
|
K[S],
|
|
79
|
-
x[
|
|
79
|
+
x[f],
|
|
80
80
|
{
|
|
81
|
-
[
|
|
82
|
-
[
|
|
81
|
+
[a.focusVisible]: D === r.KEYBOARD,
|
|
82
|
+
[a.selected]: E ? !!m : g
|
|
83
83
|
},
|
|
84
84
|
s
|
|
85
85
|
);
|
|
@@ -96,7 +96,7 @@ class l extends u.Component {
|
|
|
96
96
|
role: "button",
|
|
97
97
|
...C,
|
|
98
98
|
ref: this.ref,
|
|
99
|
-
"data-tx": "1.
|
|
99
|
+
"data-tx": "1.13.0",
|
|
100
100
|
children: e
|
|
101
101
|
}
|
|
102
102
|
);
|
|
@@ -3,7 +3,7 @@ import { CardContent as s } from "./components/CardContent/CardContent.js";
|
|
|
3
3
|
import { CardMedia as e } from "./components/CardMedia.js";
|
|
4
4
|
import { mapCardRoundingSizeToCssClass as C, mapCardThemeToCssClass as p } from "./utils.js";
|
|
5
5
|
import { c } from "../../chunks/vendor-CwhnMZ7o.js";
|
|
6
|
-
import { c as n } from "../../chunks/Card.module-
|
|
6
|
+
import { c as n } from "../../chunks/Card.module-bJptPqpj.js";
|
|
7
7
|
import { ECardRoundingSize as f, ECardTheme as l } from "./enums.js";
|
|
8
8
|
const a = ({
|
|
9
9
|
children: r,
|
|
@@ -21,7 +21,7 @@ const a = ({
|
|
|
21
21
|
o
|
|
22
22
|
),
|
|
23
23
|
...d,
|
|
24
|
-
"data-tx": "1.
|
|
24
|
+
"data-tx": "1.13.0",
|
|
25
25
|
children: r
|
|
26
26
|
}
|
|
27
27
|
);
|
|
@@ -4,7 +4,7 @@ import { CardContentHeader as i } from "./components/CardContentHeader.js";
|
|
|
4
4
|
import { CardContentFooter as s } from "./components/CardContentFooter.js";
|
|
5
5
|
import { ECardContentPaddingSize as t } from "../../enums.js";
|
|
6
6
|
import { c as p } from "../../../../chunks/vendor-CwhnMZ7o.js";
|
|
7
|
-
import { c as r } from "../../../../chunks/Card.module-
|
|
7
|
+
import { c as r } from "../../../../chunks/Card.module-bJptPqpj.js";
|
|
8
8
|
const c = {
|
|
9
9
|
[t.MD]: r.paddingMD,
|
|
10
10
|
[t.SM]: r.paddingSM
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { c as d } from "../../../../../chunks/vendor-CwhnMZ7o.js";
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-bJptPqpj.js";
|
|
4
4
|
const m = ({ children: o, className: t, ...r }) => /* @__PURE__ */ a("div", { className: d(s.cardContentBody, t), ...r, children: o });
|
|
5
5
|
m.displayName = "CardContentBody";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { c as e } from "../../../../../chunks/vendor-CwhnMZ7o.js";
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-bJptPqpj.js";
|
|
4
4
|
const m = ({ children: o, className: t, ...r }) => /* @__PURE__ */ a("div", { className: e(s.cardContentFooter, t), ...r, children: o });
|
|
5
5
|
m.displayName = "CardContentFooter";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { c as o } from "../../../../../chunks/vendor-CwhnMZ7o.js";
|
|
3
|
-
import { c as d } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as d } from "../../../../../chunks/Card.module-bJptPqpj.js";
|
|
4
4
|
const s = ({ children: r, className: a, ...e }) => /* @__PURE__ */ t("div", { className: o(d.cardContentHeader, a), ...e, children: r });
|
|
5
5
|
s.displayName = "CardContentHeader";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import { c as e } from "../../../chunks/vendor-CwhnMZ7o.js";
|
|
3
|
-
import { c as m } from "../../../chunks/Card.module-
|
|
3
|
+
import { c as m } from "../../../chunks/Card.module-bJptPqpj.js";
|
|
4
4
|
const o = ({ children: a, className: r, ...s }) => {
|
|
5
5
|
const c = e(m.cardMedia, r);
|
|
6
6
|
return /* @__PURE__ */ d("div", { className: c, ...s, children: a });
|
package/components/Card/utils.js
CHANGED
|
@@ -2,7 +2,7 @@ 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
3
|
import { l as M, c as S } from "../../chunks/vendor-CwhnMZ7o.js";
|
|
4
4
|
import { scrollSmoothHorizontally as c } from "../../utils/scroll.js";
|
|
5
|
-
const R = "
|
|
5
|
+
const R = "carouselExtended__61646f42", k = {
|
|
6
6
|
carouselExtended: R
|
|
7
7
|
}, y = C.forwardRef(
|
|
8
8
|
({ children: l, buttonPrev: a, buttonNext: i, stepPrev: u, stepNext: f, ...h }, s) => {
|
|
@@ -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 S, CheckboxtickStrokeSrvIcon24 as z } from "@sberbusiness/icons-next";
|
|
4
4
|
import "../Typography/Title.js";
|
|
@@ -8,7 +8,7 @@ import { ETextSize as n } from "../Typography/enums.js";
|
|
|
8
8
|
import { EComponentSize as s } from "../../enums/EComponentSize.js";
|
|
9
9
|
import { createSizeToClassNameMap as u } from "../../utils/classNameMaps.js";
|
|
10
10
|
import { c as r } from "../../chunks/vendor-CwhnMZ7o.js";
|
|
11
|
-
const y = "
|
|
11
|
+
const y = "label__4293bb4d", M = "sm__0987498f", T = "nonempty__8ff28030", g = "md__b62b95ac", B = "lg__4f189b7d", j = "disabled__76f63ea5", v = "checkbox__ce7a3ae3", D = "checkboxIcon__5964909e", E = "checkmarkIcon__d66eed42", e = {
|
|
12
12
|
label: y,
|
|
13
13
|
sm: M,
|
|
14
14
|
nonempty: T,
|
|
@@ -22,29 +22,29 @@ const y = "label__74f8b288", M = "sm__434f3095", T = "nonempty__fe5c0ccc", g = "
|
|
|
22
22
|
[s.LG]: n.B2,
|
|
23
23
|
[s.MD]: n.B3,
|
|
24
24
|
[s.SM]: n.B4
|
|
25
|
-
}, b = u(
|
|
25
|
+
}, b = u(e), R = N.forwardRef((i, k) => {
|
|
26
26
|
const {
|
|
27
27
|
children: a,
|
|
28
|
-
className:
|
|
28
|
+
className: d,
|
|
29
29
|
disabled: m,
|
|
30
|
-
bulk:
|
|
30
|
+
bulk: p,
|
|
31
31
|
labelAttributes: o,
|
|
32
32
|
size: t = s.MD,
|
|
33
33
|
...x
|
|
34
|
-
} = i, h = r(
|
|
35
|
-
|
|
34
|
+
} = i, h = r(e.checkbox, d, b[t]), _ = r(
|
|
35
|
+
e.label,
|
|
36
36
|
b[t],
|
|
37
|
-
{ [
|
|
37
|
+
{ [e.disabled]: !!m, [e.nonempty]: !!a },
|
|
38
38
|
o == null ? void 0 : o.className
|
|
39
39
|
), f = () => {
|
|
40
|
-
const l =
|
|
41
|
-
return
|
|
40
|
+
const l = e.checkmarkIcon;
|
|
41
|
+
return p ? /* @__PURE__ */ c(S, { className: l, paletteIndex: 7 }) : /* @__PURE__ */ c(z, { className: l, paletteIndex: 7 });
|
|
42
42
|
};
|
|
43
|
-
return /* @__PURE__ */ I("label", { ...o, className: _, "data-tx": "1.
|
|
44
|
-
/* @__PURE__ */
|
|
45
|
-
/* @__PURE__ */
|
|
43
|
+
return /* @__PURE__ */ I("label", { ...o, className: _, "data-tx": "1.13.0", children: [
|
|
44
|
+
/* @__PURE__ */ c("input", { type: "checkbox", className: h, disabled: m, ...x, ref: k }),
|
|
45
|
+
/* @__PURE__ */ c("span", { className: e.checkboxIcon }),
|
|
46
46
|
f(),
|
|
47
|
-
a && /* @__PURE__ */
|
|
47
|
+
a && /* @__PURE__ */ c(C, { size: L[t], children: a })
|
|
48
48
|
] });
|
|
49
49
|
});
|
|
50
50
|
R.displayName = "Checkbox";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { c as r } from "../../chunks/vendor-CwhnMZ7o.js";
|
|
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-
|
|
3
|
+
const a = "checkboxXGroup__e47fdd12", _ = "label__4293bb4d", e = {
|
|
4
|
+
checkboxXGroup: a,
|
|
5
|
+
"indent-12": "indent-12__f19fb013",
|
|
6
|
+
label: _,
|
|
7
|
+
"indent-16": "indent-16__276dd473",
|
|
8
|
+
"indent-20": "indent-20__05f4adfd",
|
|
9
|
+
"indent-24": "indent-24__8d606778",
|
|
10
|
+
"indent-28": "indent-28__abac0eb0",
|
|
11
|
+
"indent-32": "indent-32__de78715a"
|
|
12
12
|
}, b = (n) => {
|
|
13
|
-
const { children:
|
|
14
|
-
return /* @__PURE__ */ i("div", { className: s, role: "group", ...
|
|
13
|
+
const { children: d, className: t, indent: o = 12, ...c } = n, s = r(e.checkboxXGroup, e[`indent-${o}`], t);
|
|
14
|
+
return /* @__PURE__ */ i("div", { className: s, role: "group", ...c, children: d });
|
|
15
15
|
};
|
|
16
16
|
b.displayName = "CheckboxXGroup";
|
|
17
17
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import { c as t } from "../../chunks/vendor-CwhnMZ7o.js";
|
|
3
|
-
const a = "
|
|
3
|
+
const a = "checkboxYGroup__68922ec5", 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,19 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { CheckboxTreeExtended as t } from "../CheckboxTreeExtended/CheckboxTreeExtended.js";
|
|
3
|
-
import { checkChildrenCheckboxes as f, traverseCheckboxes as g, checkParentCheckboxes as
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
import { checkChildrenCheckboxes as f, traverseCheckboxes as g, checkParentCheckboxes as C } from "./utils.js";
|
|
4
|
+
import { EComponentSize as T } from "../../enums/EComponentSize.js";
|
|
5
|
+
const h = ({ checkboxes: e, onChange: o, size: u = T.MD }) => {
|
|
6
|
+
const N = (d) => (r) => {
|
|
6
7
|
const { checked: i } = r.target;
|
|
7
|
-
d.checked = d.bulk ? !0 : i, f(d), g(e,
|
|
8
|
-
},
|
|
8
|
+
d.checked = d.bulk ? !0 : i, f(d), g(e, C), o([...e]);
|
|
9
|
+
}, m = (d, r, i) => /* @__PURE__ */ l(
|
|
9
10
|
t.Node,
|
|
10
11
|
{
|
|
11
12
|
id: d.id,
|
|
12
|
-
checkbox: (
|
|
13
|
+
checkbox: (n) => /* @__PURE__ */ l(
|
|
13
14
|
t.Checkbox,
|
|
14
15
|
{
|
|
15
|
-
...
|
|
16
|
-
onChange:
|
|
16
|
+
...n,
|
|
17
|
+
onChange: N(d),
|
|
17
18
|
bulk: d.bulk,
|
|
18
19
|
checked: d.checked,
|
|
19
20
|
children: d.label
|
|
@@ -22,15 +23,15 @@ const h = ({ checkboxes: e, onChange: N }) => {
|
|
|
22
23
|
prevNodeId: r == null ? void 0 : r.id,
|
|
23
24
|
nextNodeId: i == null ? void 0 : i.id,
|
|
24
25
|
children: d.children && d.children.map(
|
|
25
|
-
(
|
|
26
|
-
var
|
|
27
|
-
return
|
|
26
|
+
(n, a) => {
|
|
27
|
+
var p, s;
|
|
28
|
+
return m(n, (p = d.children) == null ? void 0 : p[a - 1], (s = d.children) == null ? void 0 : s[a + 1]);
|
|
28
29
|
}
|
|
29
30
|
)
|
|
30
31
|
},
|
|
31
32
|
d.id
|
|
32
33
|
);
|
|
33
|
-
return /* @__PURE__ */
|
|
34
|
+
return /* @__PURE__ */ l(t, { size: u, children: e.map((d, r) => m(d, e[r - 1], e[r + 1])) });
|
|
34
35
|
};
|
|
35
36
|
h.displayName = "CheckboxTree";
|
|
36
37
|
export {
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { CollapsableTree as
|
|
3
|
-
import { CheckboxTreeExtendedCheckbox as
|
|
4
|
-
import { CheckboxTreeExtendedNode as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { CollapsableTree as x } from "../CollapsableTree/CollapsableTree.js";
|
|
3
|
+
import { CheckboxTreeExtendedCheckbox as d } from "./components/CheckboxTreeExtendedCheckbox.js";
|
|
4
|
+
import { CheckboxTreeExtendedNode as c } from "./components/CheckboxTreeExtendedNode.js";
|
|
5
|
+
import { CheckboxTreeExtendedContext as i } from "./CheckboxTreeExtendedContext.js";
|
|
6
|
+
import { c as p } from "../../chunks/vendor-CwhnMZ7o.js";
|
|
7
|
+
import { EComponentSize as s } from "../../enums/EComponentSize.js";
|
|
8
|
+
import { s as n } from "../../chunks/CheckboxTreeExtended.module-bphUNnbQ.js";
|
|
9
|
+
const e = ({ className: r, size: t = s.MD, ...m }) => /* @__PURE__ */ o(i.Provider, { value: { size: t }, children: /* @__PURE__ */ o(x, { className: p(n.checkboxTreeExtended, r), ...m }) });
|
|
8
10
|
e.displayName = "CheckboxTreeExtended";
|
|
9
|
-
e.Checkbox =
|
|
10
|
-
e.Node =
|
|
11
|
+
e.Checkbox = d;
|
|
12
|
+
e.Node = c;
|
|
11
13
|
export {
|
|
12
14
|
e as CheckboxTreeExtended
|
|
13
15
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import e from "react";
|
|
2
|
+
import { EComponentSize as t } from "../../enums/EComponentSize.js";
|
|
3
|
+
const o = {
|
|
4
|
+
size: t.MD
|
|
5
|
+
}, x = e.createContext(
|
|
6
|
+
o
|
|
7
|
+
);
|
|
8
|
+
export {
|
|
9
|
+
x as CheckboxTreeExtendedContext,
|
|
10
|
+
o as initialCheckboxTreeExtendedContext
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=CheckboxTreeExtendedContext.js.map
|
|
@@ -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-bphUNnbQ.js";
|
|
9
9
|
class x extends h.Component {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments);
|
|
@@ -1,40 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
m,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as h, useContext as u, useEffect as d } from "react";
|
|
3
|
+
import { Checkbox as f } from "../../Checkbox/Checkbox.js";
|
|
4
|
+
import { c as i } from "../../../chunks/vendor-CwhnMZ7o.js";
|
|
5
|
+
import { s as t } from "../../../chunks/CheckboxTreeExtended.module-bphUNnbQ.js";
|
|
6
|
+
import { CheckboxTreeExtendedContext as k } from "../CheckboxTreeExtendedContext.js";
|
|
7
|
+
const l = ({
|
|
8
|
+
active: r,
|
|
9
|
+
className: s,
|
|
10
|
+
opened: C,
|
|
11
|
+
...n
|
|
12
|
+
}) => {
|
|
13
|
+
const o = h(null), { size: x } = u(k);
|
|
14
|
+
d(() => {
|
|
15
|
+
var e, c;
|
|
16
|
+
(e = document.activeElement) != null && e.contains(o.current) || (c = o.current) == null || c.focus();
|
|
17
|
+
}, [r]);
|
|
18
|
+
const m = (e) => {
|
|
19
|
+
}, b = (e) => {
|
|
20
|
+
o.current = e;
|
|
21
|
+
};
|
|
22
|
+
return /* @__PURE__ */ a(
|
|
23
|
+
f,
|
|
24
|
+
{
|
|
25
|
+
className: i(t.checkboxTreeCheckbox, s),
|
|
26
|
+
ref: b,
|
|
27
|
+
labelAttributes: { className: t.checkboxTreeCheckboxLabel, onFocus: m },
|
|
28
|
+
size: x,
|
|
29
|
+
...n
|
|
30
|
+
}
|
|
31
|
+
);
|
|
32
|
+
};
|
|
33
|
+
l.displayName = "CheckboxTreeExtendedCheckbox";
|
|
37
34
|
export {
|
|
38
|
-
|
|
35
|
+
l as CheckboxTreeExtendedCheckbox
|
|
39
36
|
};
|
|
40
37
|
//# sourceMappingURL=CheckboxTreeExtendedCheckbox.js.map
|
|
@@ -1,50 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import {
|
|
5
|
-
import h from "react";
|
|
6
|
-
import { CollapsableTree as m } from "../../CollapsableTree/CollapsableTree.js";
|
|
7
|
-
import { isStaticCheckboxTreeExtended as x } from "../isStaticCheckboxTreeExtended.js";
|
|
1
|
+
import { jsx as p, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import { useContext as x } from "react";
|
|
3
|
+
import { CollapsableTree as l } from "../../CollapsableTree/CollapsableTree.js";
|
|
4
|
+
import { isStaticCheckboxTreeExtended as f } from "../isStaticCheckboxTreeExtended.js";
|
|
8
5
|
import { c as u } from "../../../chunks/vendor-CwhnMZ7o.js";
|
|
9
6
|
import "./CheckboxTreeExtendedArrow.js";
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
7
|
+
import { createSizeToClassNameMap as T } from "../../../utils/classNameMaps.js";
|
|
8
|
+
import { s as o } from "../../../chunks/CheckboxTreeExtended.module-bphUNnbQ.js";
|
|
9
|
+
import { CheckboxTreeExtendedContext as C } from "../CheckboxTreeExtendedContext.js";
|
|
10
|
+
const N = T(o), y = ({
|
|
11
|
+
children: r,
|
|
12
|
+
checkbox: t,
|
|
13
|
+
opened: h,
|
|
14
|
+
...s
|
|
15
|
+
}) => {
|
|
16
|
+
const { size: d } = x(C), n = (e) => {
|
|
17
|
+
e.target === e.currentTarget && e.preventDefault();
|
|
18
|
+
}, a = ({ activeNode: e, opened: m, toggle: b }) => /* @__PURE__ */ i(
|
|
19
|
+
"div",
|
|
20
|
+
{
|
|
21
|
+
className: u(o.checkboxTreeExtendedNodeHeader, N[d], { opened: m }),
|
|
22
|
+
onMouseDown: n,
|
|
23
|
+
children: [
|
|
24
|
+
!f,
|
|
25
|
+
t({ active: e, opened: !0 })
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
), c = () => r;
|
|
29
|
+
return /* @__PURE__ */ p(
|
|
30
|
+
l.Node,
|
|
31
|
+
{
|
|
32
|
+
className: o.checkboxTreeExtendedNode,
|
|
33
|
+
opened: !0,
|
|
34
|
+
renderHeader: a,
|
|
35
|
+
renderBody: c,
|
|
36
|
+
...s
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
};
|
|
47
40
|
export {
|
|
48
|
-
|
|
41
|
+
y as CheckboxTreeExtendedNode
|
|
49
42
|
};
|
|
50
43
|
//# 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
3
|
import "../../chunks/vendor-CwhnMZ7o.js";
|
|
4
|
-
import { C as e } from "../../chunks/Chip-
|
|
4
|
+
import { C as e } from "../../chunks/Chip-DaZ9JtW-.js";
|
|
5
5
|
import "../../enums/EComponentSize.js";
|
|
6
6
|
import "../../utils/classNameMaps.js";
|
|
7
7
|
import "../../utils/keyboard.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import a from "react";
|
|
3
|
-
import { c
|
|
4
|
-
import { CrossStrokeSrvIcon24 as
|
|
3
|
+
import { c } from "../../chunks/vendor-CwhnMZ7o.js";
|
|
4
|
+
import { CrossStrokeSrvIcon24 as p, 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__490ba3c6", f = {
|
|
8
8
|
chipClearButton: C
|
|
9
9
|
}, u = {
|
|
10
10
|
[t.SM]: /* @__PURE__ */ o(l, { paletteIndex: 6 }),
|
|
11
11
|
[t.MD]: /* @__PURE__ */ o(i, { paletteIndex: 6 }),
|
|
12
|
-
[t.LG]: /* @__PURE__ */ o(
|
|
12
|
+
[t.LG]: /* @__PURE__ */ o(p, { paletteIndex: 6 })
|
|
13
13
|
}, I = a.forwardRef(
|
|
14
|
-
({ className: r, size: e = t.MD, ...n }, s) => /* @__PURE__ */ o(m, { className:
|
|
14
|
+
({ className: r, size: e = t.MD, ...n }, s) => /* @__PURE__ */ o(m, { className: c(f.chipClearButton, r), ...n, ref: s, children: u[e] })
|
|
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-DaZ9JtW-.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 x, { useContext as D } from "react";
|
|
3
|
-
import { C as k } from "../../../chunks/Chip-
|
|
3
|
+
import { C as k } from "../../../chunks/Chip-DaZ9JtW-.js";
|
|
4
4
|
import { ChipDropdownArrow as w } from "../ChipDropdownArrow.js";
|
|
5
5
|
import { ChipClearButton as P } from "../ChipClearButton.js";
|
|
6
6
|
import { DatePickerExtendedContext as g } from "../../DatePickerExtended/DatePickerExtendedContext.js";
|
|
@@ -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
|
|
4
|
-
const
|
|
5
|
-
chipDropdownArrow:
|
|
3
|
+
import { c } from "../../chunks/vendor-CwhnMZ7o.js";
|
|
4
|
+
const d = "chipDropdownArrow__5600cf09", e = "rotated__c892d64f", o = {
|
|
5
|
+
chipDropdownArrow: d,
|
|
6
6
|
rotated: e
|
|
7
7
|
}, n = ({ rotated: r }) => /* @__PURE__ */ t(
|
|
8
8
|
p,
|
|
9
9
|
{
|
|
10
|
-
className:
|
|
10
|
+
className: c(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-DaZ9JtW-.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,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r } 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-DaZ9JtW-.js";
|
|
5
5
|
import { ChipClearButton as E } from "./ChipClearButton.js";
|
|
6
6
|
import { ChipDropdownArrow as K } from "./ChipDropdownArrow.js";
|
|
7
7
|
import { isKey as t } from "../../utils/keyboard.js";
|