@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
package/components/Tabs/Tabs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as a, jsxs as y } from "react/jsx-runtime";
|
|
2
2
|
import { useState as l, useRef as D } from "react";
|
|
3
|
-
import { TabsExtended as
|
|
3
|
+
import { TabsExtended as s } from "../TabsExtended/TabsExtended.js";
|
|
4
4
|
import "../TabsExtended/components/TabsExtendedContent.js";
|
|
5
5
|
import { c as W } from "../../chunks/vendor-CwhnMZ7o.js";
|
|
6
6
|
import "../TabsExtended/TabsExtendedContext.js";
|
|
@@ -15,62 +15,63 @@ import "../Button/ButtonDropdownExtended.js";
|
|
|
15
15
|
import { EButtonDotsTheme as j } from "../Button/enums.js";
|
|
16
16
|
import { EComponentSize as K } from "../../enums/EComponentSize.js";
|
|
17
17
|
import { isKey as _ } from "../../utils/keyboard.js";
|
|
18
|
-
const k = "
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
18
|
+
const k = "tabsContent__4de9dfbb", G = "tabButtonDropdown__5a1d781d", H = "sm__f73d8a2a", L = "md__952435a6", M = "lg__22afe4e4", p = {
|
|
19
|
+
tabsContent: k,
|
|
20
|
+
tabButtonDropdown: G,
|
|
21
|
+
sm: H,
|
|
22
|
+
md: L,
|
|
23
|
+
lg: M
|
|
24
|
+
}, so = ({
|
|
25
|
+
buttonDropdownAttributes: C,
|
|
26
|
+
selectedId: c,
|
|
27
|
+
onSelectTab: h,
|
|
28
|
+
size: i = K.MD,
|
|
28
29
|
tabs: t,
|
|
29
|
-
...
|
|
30
|
+
...v
|
|
30
31
|
}) => {
|
|
31
|
-
const [
|
|
32
|
-
const E =
|
|
32
|
+
const [w, d] = l(c || t[0].id), [R, A] = l(""), [F, I] = l(""), m = D(null), f = D(null), S = ({ dropdownItemsIds: n, onSelectTab: o }) => t.filter((e) => n.includes(e.id)).map((e) => ({ ...e, onSelect: () => o(e.id) })), B = (n, o) => /* @__PURE__ */ a(s.Content.Tab, { ...n, children: ({ selected: e, isFirstInlineTab: N, isLastInlineTab: g }) => {
|
|
33
|
+
const E = w === n.id ? 0 : -1, O = () => {
|
|
33
34
|
let r;
|
|
34
|
-
return
|
|
35
|
+
return R === n.id ? r = m : F === n.id && (r = f), r;
|
|
35
36
|
};
|
|
36
|
-
return /* @__PURE__ */
|
|
37
|
-
|
|
37
|
+
return /* @__PURE__ */ a(
|
|
38
|
+
s.Content.TabButton,
|
|
38
39
|
{
|
|
39
40
|
selected: e,
|
|
40
41
|
tabIndex: E,
|
|
41
42
|
ref: O(),
|
|
42
|
-
size:
|
|
43
|
+
size: i,
|
|
43
44
|
showNotificationIcon: n.showNotificationIcon,
|
|
44
45
|
onFocus: () => {
|
|
45
|
-
|
|
46
|
+
A(t[o - 1] ? t[o - 1].id : ""), I(t[o + 1] ? t[o + 1].id : "");
|
|
46
47
|
},
|
|
47
48
|
onKeyDown: (r) => {
|
|
48
|
-
var
|
|
49
|
-
const { key:
|
|
50
|
-
_(
|
|
49
|
+
var b, T;
|
|
50
|
+
const { key: u } = r;
|
|
51
|
+
_(u, "ARROW_LEFT") ? (N || (d(t[o - 1].id), (b = m.current) == null || b.focus()), r.preventDefault()) : _(u, "ARROW_RIGHT") && (g || (d(t[o + 1].id), (T = f.current) == null || T.focus()), r.preventDefault());
|
|
51
52
|
},
|
|
52
53
|
children: n.label
|
|
53
54
|
}
|
|
54
55
|
);
|
|
55
56
|
} }, o);
|
|
56
|
-
return /* @__PURE__ */
|
|
57
|
-
/* @__PURE__ */
|
|
58
|
-
/* @__PURE__ */
|
|
57
|
+
return /* @__PURE__ */ a(s, { ...v, selectedId: c, onSelectTab: h, children: /* @__PURE__ */ y(s.Content, { className: p.tabsContent, size: i, children: [
|
|
58
|
+
/* @__PURE__ */ a(s.Content.TabsWrapper, { children: t.map(B) }),
|
|
59
|
+
/* @__PURE__ */ a(s.Content.DropdownWrapper, { children: ({ dropdownItemsIds: n, onSelectTab: o }) => /* @__PURE__ */ a(
|
|
59
60
|
x,
|
|
60
61
|
{
|
|
61
62
|
theme: j.DOTS_SECONDARY,
|
|
62
|
-
size:
|
|
63
|
+
size: i,
|
|
63
64
|
options: S({ dropdownItemsIds: n, onSelectTab: o }),
|
|
64
|
-
selected: t.filter((e) => e.id ===
|
|
65
|
+
selected: t.filter((e) => e.id === c)[0],
|
|
65
66
|
buttonAttributes: {
|
|
66
|
-
...
|
|
67
|
-
className: W(p.tabButtonDropdown, p[
|
|
67
|
+
...C,
|
|
68
|
+
className: W(p.tabButtonDropdown, p[i])
|
|
68
69
|
}
|
|
69
70
|
}
|
|
70
71
|
) })
|
|
71
72
|
] }) });
|
|
72
73
|
};
|
|
73
74
|
export {
|
|
74
|
-
|
|
75
|
+
so as Tabs
|
|
75
76
|
};
|
|
76
77
|
//# sourceMappingURL=Tabs.js.map
|
|
@@ -3,9 +3,9 @@ import { useState as r, useRef as T } from "react";
|
|
|
3
3
|
import { c as b } from "../../chunks/vendor-CwhnMZ7o.js";
|
|
4
4
|
import { TabsExtendedContext as E } from "./TabsExtendedContext.js";
|
|
5
5
|
import { TabsExtendedContent as I } from "./components/TabsExtendedContent.js";
|
|
6
|
-
import { s as u } from "../../chunks/TabsExtended.module-
|
|
6
|
+
import { s as u } from "../../chunks/TabsExtended.module-D_KXJPSZ.js";
|
|
7
7
|
import { ETabsExtendedType as C } from "./enums.js";
|
|
8
|
-
import { t as v } from "../../chunks/utils-
|
|
8
|
+
import { t as v } from "../../chunks/utils-C_xmindK.js";
|
|
9
9
|
import "./components/TabsExtendedDropdownWrapper.js";
|
|
10
10
|
import "./components/TabsExtendedTab.js";
|
|
11
11
|
import "./components/TabsExtendedTabButton.js";
|
|
@@ -5,7 +5,7 @@ import { TabsExtendedTab as d } from "./TabsExtendedTab.js";
|
|
|
5
5
|
import { TabsExtendedTabButton as i } from "./TabsExtendedTabButton.js";
|
|
6
6
|
import { EComponentSize as T } from "../../../enums/EComponentSize.js";
|
|
7
7
|
import { TabsExtendedDropdownWrapper as b } from "./TabsExtendedDropdownWrapper.js";
|
|
8
|
-
import { s as r } from "../../../chunks/TabsExtended.module-
|
|
8
|
+
import { s as r } from "../../../chunks/TabsExtended.module-D_KXJPSZ.js";
|
|
9
9
|
import { createSizeToClassNameMap as f } from "../../../utils/classNameMaps.js";
|
|
10
10
|
import "./TabsExtendedTabContext.js";
|
|
11
11
|
const x = f(r), o = ({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as m } from "react";
|
|
3
|
-
import { s as p } from "../../../chunks/TabsExtended.module-
|
|
3
|
+
import { s as p } from "../../../chunks/TabsExtended.module-D_KXJPSZ.js";
|
|
4
4
|
import { c as a } from "../../../chunks/vendor-CwhnMZ7o.js";
|
|
5
5
|
import { TabsExtendedContext as i } from "../TabsExtendedContext.js";
|
|
6
6
|
const w = ({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import x, { useContext as d } from "react";
|
|
3
|
-
import { s as o } from "../../../chunks/TabsExtended.module-
|
|
3
|
+
import { s as o } from "../../../chunks/TabsExtended.module-D_KXJPSZ.js";
|
|
4
4
|
import { c as I } from "../../../chunks/vendor-CwhnMZ7o.js";
|
|
5
5
|
import { TabsExtendedContext as u } from "../TabsExtendedContext.js";
|
|
6
6
|
import { TabsExtendedTabContext as E } from "./TabsExtendedTabContext.js";
|
|
@@ -2,7 +2,7 @@ import { jsxs as p, jsx as a } from "react/jsx-runtime";
|
|
|
2
2
|
import x, { useContext as b } from "react";
|
|
3
3
|
import { c as f } from "../../../chunks/vendor-CwhnMZ7o.js";
|
|
4
4
|
import { EComponentSize as l } from "../../../enums/EComponentSize.js";
|
|
5
|
-
import { s as t, t as T, a as u } from "../../../chunks/utils-
|
|
5
|
+
import { s as t, t as T, a as u } from "../../../chunks/utils-C_xmindK.js";
|
|
6
6
|
import { TabsExtendedContext as E } from "../TabsExtendedContext.js";
|
|
7
7
|
import { Text as N } from "../../Typography/Text.js";
|
|
8
8
|
import { NotificationIcon as y } from "../../NotificationIcon/NotificationIcon.js";
|
|
@@ -3,7 +3,7 @@ import a, { useContext as A, useState as D, useRef as g, useLayoutEffect as R, i
|
|
|
3
3
|
import { u as F, c as N, p as z } from "../../../chunks/vendor-CwhnMZ7o.js";
|
|
4
4
|
import { TabsExtendedContext as _ } from "../TabsExtendedContext.js";
|
|
5
5
|
import { TabsExtendedTabContext as j } from "./TabsExtendedTabContext.js";
|
|
6
|
-
import { s as l } from "../../../chunks/TabsExtended.module-
|
|
6
|
+
import { s as l } from "../../../chunks/TabsExtended.module-D_KXJPSZ.js";
|
|
7
7
|
const G = ({
|
|
8
8
|
children: s,
|
|
9
9
|
className: C,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./enums.js";
|
|
2
2
|
import "../../enums/EComponentSize.js";
|
|
3
|
-
import { a as s, t as i } from "../../chunks/utils-
|
|
3
|
+
import { a as s, t as i } from "../../chunks/utils-C_xmindK.js";
|
|
4
4
|
import "../Typography/enums.js";
|
|
5
5
|
export {
|
|
6
6
|
s as tabsExtendedSizeToTextSizeMap,
|
|
@@ -3,7 +3,7 @@ import { c as b } from "../../chunks/vendor-CwhnMZ7o.js";
|
|
|
3
3
|
import { MobileView as c } from "../MobileView/MobileView.js";
|
|
4
4
|
import { TabsLineDesktop as d } from "./components/TabsLineDesktop.js";
|
|
5
5
|
import { TabsLineMobile as x } from "./components/TabsLineMobile.js";
|
|
6
|
-
import { s as m } from "../../chunks/TabsLine.module-
|
|
6
|
+
import { s as m } from "../../chunks/TabsLine.module-COfUYGXF.js";
|
|
7
7
|
import "./components/TabsLineDropdown.js";
|
|
8
8
|
import "./components/TabsLineItem.js";
|
|
9
9
|
const v = ({
|
|
@@ -4,7 +4,7 @@ import { TabsLineDropdown as S } from "./TabsLineDropdown.js";
|
|
|
4
4
|
import { TabsLineItem as k } from "./TabsLineItem.js";
|
|
5
5
|
import { isKey as u } from "../../../utils/keyboard.js";
|
|
6
6
|
import { l as L } from "../../../chunks/vendor-CwhnMZ7o.js";
|
|
7
|
-
import { s as J } from "../../../chunks/TabsLine.module-
|
|
7
|
+
import { s as J } from "../../../chunks/TabsLine.module-COfUYGXF.js";
|
|
8
8
|
const $ = ({
|
|
9
9
|
tabs: l,
|
|
10
10
|
dropdownTargetHtmlAttributes: g,
|
|
@@ -8,7 +8,7 @@ import { Dropdown as E } from "../../Dropdown/Dropdown.js";
|
|
|
8
8
|
import { DropdownListContext as M } from "../../Dropdown/DropdownListContext.js";
|
|
9
9
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
10
10
|
import { DropdownList as N } from "../../Dropdown/desktop/DropdownList.js";
|
|
11
|
-
import "../../../chunks/DropdownListItem-
|
|
11
|
+
import "../../../chunks/DropdownListItem-D52nAe3Z.js";
|
|
12
12
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
13
13
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
14
14
|
import "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -23,7 +23,7 @@ import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
|
23
23
|
import { EComponentSize as y } from "../../../enums/EComponentSize.js";
|
|
24
24
|
import { CaretdownStrokeSrvIcon16 as L } from "@sberbusiness/icons-next";
|
|
25
25
|
import { isKey as l } from "../../../utils/keyboard.js";
|
|
26
|
-
import { s as o } from "../../../chunks/TabsLine.module-
|
|
26
|
+
import { s as o } from "../../../chunks/TabsLine.module-COfUYGXF.js";
|
|
27
27
|
import { createSizeToClassNameMap as z } from "../../../utils/classNameMaps.js";
|
|
28
28
|
import { Text as P } from "../../Typography/Text.js";
|
|
29
29
|
import { tabsLineSizeToTextSizeMap as K } from "../utils.js";
|
|
@@ -4,7 +4,7 @@ import { c as y } from "../../../chunks/vendor-CwhnMZ7o.js";
|
|
|
4
4
|
import { EComponentSize as E } from "../../../enums/EComponentSize.js";
|
|
5
5
|
import { createSizeToClassNameMap as S } from "../../../utils/classNameMaps.js";
|
|
6
6
|
import { NotificationIcon as v } from "../../NotificationIcon/NotificationIcon.js";
|
|
7
|
-
import { s as e } from "../../../chunks/TabsLine.module-
|
|
7
|
+
import { s as e } from "../../../chunks/TabsLine.module-COfUYGXF.js";
|
|
8
8
|
import { Text as x } from "../../Typography/Text.js";
|
|
9
9
|
import { tabsLineSizeToTextSizeMap as z } from "../utils.js";
|
|
10
10
|
import { EFontType as c } from "../../Typography/enums.js";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { TabsLineItem as t } from "./TabsLineItem.js";
|
|
3
|
-
const d = "
|
|
3
|
+
const d = "tabsLineMobileWrapper__f3c66287", p = "tabsLineMobile__dd3792e2", l = {
|
|
4
4
|
tabsLineMobileWrapper: d,
|
|
5
5
|
tabsLineMobile: p
|
|
6
|
-
}, h = ({ onChangeTab: r, selectedId:
|
|
6
|
+
}, h = ({ onChangeTab: r, selectedId: o, tabs: i }) => {
|
|
7
7
|
if (!i.length)
|
|
8
8
|
return null;
|
|
9
|
-
const
|
|
9
|
+
const a = ({ selected: L, ...e }) => {
|
|
10
10
|
const b = (c) => {
|
|
11
11
|
var s;
|
|
12
12
|
r(e.id), (s = e.onClick) == null || s.call(e, c);
|
|
13
13
|
};
|
|
14
|
-
return /* @__PURE__ */ n(t, { selected:
|
|
14
|
+
return /* @__PURE__ */ n(t, { selected: o === e.id, ...e, onClick: b }, e.id);
|
|
15
15
|
};
|
|
16
|
-
return /* @__PURE__ */ n("div", { className: l.tabsLineMobileWrapper, children: /* @__PURE__ */ n("div", { className: l.tabsLineMobile, children: i.map(
|
|
16
|
+
return /* @__PURE__ */ n("div", { className: l.tabsLineMobileWrapper, children: /* @__PURE__ */ n("div", { className: l.tabsLineMobile, children: i.map(a) }) });
|
|
17
17
|
};
|
|
18
18
|
export {
|
|
19
19
|
h as TabsLineMobile
|
package/components/Tag/Tag.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { jsx as o, jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
import { EditStrokeSrvIcon24 as
|
|
1
|
+
import { jsx as o, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import D, { useCallback as S } from "react";
|
|
3
|
+
import { c as E } from "../../chunks/vendor-CwhnMZ7o.js";
|
|
4
|
+
import { EditStrokeSrvIcon24 as L, EditStrokeSrvIcon20 as N, EditStrokeSrvIcon16 as v, CrossStrokeSrvIcon24 as y, CrossStrokeSrvIcon20 as z, CrossStrokeSrvIcon16 as G } from "@sberbusiness/icons-next";
|
|
5
5
|
import { Text as h } from "../Typography/Text.js";
|
|
6
6
|
import { ETextSize as f, EFontType as _ } from "../Typography/enums.js";
|
|
7
7
|
import { ButtonIcon as T } from "../Button/ButtonIcon.js";
|
|
8
8
|
import { createSizeToClassNameMap as j } from "../../utils/classNameMaps.js";
|
|
9
|
-
import { EComponentSize as
|
|
10
|
-
const A = "
|
|
9
|
+
import { EComponentSize as r } from "../../enums/EComponentSize.js";
|
|
10
|
+
const A = "tag__a7071a86", R = "sm__f94209bf", w = "md__f56f0530", F = "lg__5821d56d", P = "content__432d1f49", I = {
|
|
11
11
|
tag: A,
|
|
12
12
|
sm: R,
|
|
13
13
|
md: w,
|
|
14
14
|
lg: F,
|
|
15
15
|
content: P
|
|
16
16
|
}, Y = j(I), q = {
|
|
17
|
-
[
|
|
18
|
-
[
|
|
19
|
-
[
|
|
17
|
+
[r.SM]: f.B4,
|
|
18
|
+
[r.MD]: f.B3,
|
|
19
|
+
[r.LG]: f.B2
|
|
20
20
|
}, H = {
|
|
21
|
-
[
|
|
22
|
-
[
|
|
23
|
-
[
|
|
21
|
+
[r.SM]: /* @__PURE__ */ o(v, { paletteIndex: 5 }),
|
|
22
|
+
[r.MD]: /* @__PURE__ */ o(N, { paletteIndex: 5 }),
|
|
23
|
+
[r.LG]: /* @__PURE__ */ o(L, { paletteIndex: 5 })
|
|
24
24
|
}, J = {
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
28
|
-
}, b =
|
|
29
|
-
({ children: l, id: s, className: u, size:
|
|
25
|
+
[r.SM]: /* @__PURE__ */ o(G, { paletteIndex: 5 }),
|
|
26
|
+
[r.MD]: /* @__PURE__ */ o(z, { paletteIndex: 5 }),
|
|
27
|
+
[r.LG]: /* @__PURE__ */ o(y, { paletteIndex: 5 })
|
|
28
|
+
}, b = D.forwardRef(
|
|
29
|
+
({ children: l, id: s, className: u, size: e, disabled: n, onRemove: a, onEdit: c, removeButtonProps: x, editButtonProps: M, ...g }, C) => {
|
|
30
30
|
const k = S(() => {
|
|
31
31
|
const t = n ? _.DISABLED : _.PRIMARY;
|
|
32
|
-
return /* @__PURE__ */ o(h, { className: I.content, type: t, size: q[
|
|
33
|
-
}, [l,
|
|
32
|
+
return /* @__PURE__ */ o(h, { className: I.content, type: t, size: q[e], children: l });
|
|
33
|
+
}, [l, e, n]), B = S(() => {
|
|
34
34
|
const { onClick: t, ...m } = M || {};
|
|
35
35
|
return /* @__PURE__ */ o(
|
|
36
36
|
T,
|
|
@@ -40,10 +40,10 @@ const A = "tag__8f1484ae", R = "sm__abace8f3", w = "md__b5f3f861", F = "lg__f0e5
|
|
|
40
40
|
c == null || c(s), t == null || t(p);
|
|
41
41
|
},
|
|
42
42
|
...m,
|
|
43
|
-
children: H[
|
|
43
|
+
children: H[e]
|
|
44
44
|
}
|
|
45
45
|
);
|
|
46
|
-
}, [s,
|
|
46
|
+
}, [s, e, n, M, c]), d = S(() => {
|
|
47
47
|
const { onClick: t, ...m } = x || {};
|
|
48
48
|
return /* @__PURE__ */ o(
|
|
49
49
|
T,
|
|
@@ -53,14 +53,14 @@ const A = "tag__8f1484ae", R = "sm__abace8f3", w = "md__b5f3f861", F = "lg__f0e5
|
|
|
53
53
|
a == null || a(s), t == null || t(p);
|
|
54
54
|
},
|
|
55
55
|
...m,
|
|
56
|
-
children: J[
|
|
56
|
+
children: J[e]
|
|
57
57
|
}
|
|
58
58
|
);
|
|
59
|
-
}, [s,
|
|
60
|
-
return /* @__PURE__ */
|
|
59
|
+
}, [s, e, n, x, a]);
|
|
60
|
+
return /* @__PURE__ */ i("span", { className: E(I.tag, Y[e], u), ...g, ref: C, children: [
|
|
61
61
|
k(),
|
|
62
62
|
c && B(),
|
|
63
|
-
|
|
63
|
+
d()
|
|
64
64
|
] });
|
|
65
65
|
}
|
|
66
66
|
);
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import _ from "react";
|
|
3
3
|
import { c as l } from "../../chunks/vendor-CwhnMZ7o.js";
|
|
4
4
|
import { createSizeToClassNameMap as m } from "../../utils/classNameMaps.js";
|
|
5
5
|
import { ETagColorStatus as s } from "./enums.js";
|
|
6
|
-
const
|
|
7
|
-
tagColor:
|
|
8
|
-
sm:
|
|
9
|
-
md:
|
|
6
|
+
const f = "tagColor__98e341a4", i = "sm__dd21b0e7", d = "md__861aa9f6", g = "lg__2e50df85", p = "success__93564c78", C = "info__0b084ef2", u = "warning__fcc60d53", N = "error__f196ecc3", T = "content__7b17eb20", o = {
|
|
7
|
+
tagColor: f,
|
|
8
|
+
sm: i,
|
|
9
|
+
md: d,
|
|
10
10
|
lg: g,
|
|
11
|
-
default: "
|
|
11
|
+
default: "default__82b8e5db",
|
|
12
12
|
success: p,
|
|
13
13
|
info: C,
|
|
14
14
|
warning: u,
|
|
15
15
|
error: N,
|
|
16
|
-
content:
|
|
17
|
-
},
|
|
16
|
+
content: T
|
|
17
|
+
}, b = m(o), R = {
|
|
18
18
|
[s.DEFAULT]: o.default,
|
|
19
19
|
[s.SUCCESS]: o.success,
|
|
20
20
|
[s.INFO]: o.info,
|
|
21
21
|
[s.WARNING]: o.warning,
|
|
22
22
|
[s.ERROR]: o.error
|
|
23
23
|
}, F = _.forwardRef(
|
|
24
|
-
({ children:
|
|
24
|
+
({ children: a, className: c, size: e, status: r = s.DEFAULT, ...n }) => /* @__PURE__ */ t(
|
|
25
25
|
"span",
|
|
26
26
|
{
|
|
27
|
-
className: l(o.tagColor,
|
|
28
|
-
...
|
|
29
|
-
children: /* @__PURE__ */
|
|
27
|
+
className: l(o.tagColor, b[e], R[r], c),
|
|
28
|
+
...n,
|
|
29
|
+
children: /* @__PURE__ */ t("span", { className: o.content, children: a })
|
|
30
30
|
}
|
|
31
31
|
)
|
|
32
32
|
);
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { c
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import p from "react";
|
|
3
|
+
import { c } from "../../chunks/vendor-CwhnMZ7o.js";
|
|
4
4
|
import { createSizeToClassNameMap as l } from "../../utils/classNameMaps.js";
|
|
5
|
-
const _ = "
|
|
5
|
+
const _ = "tagGroup__a4ad7372", g = "sm__b276e79f", f = "md__e2e86582", d = "lg__4ba33b1b", o = {
|
|
6
6
|
tagGroup: _,
|
|
7
|
-
sm:
|
|
8
|
-
md:
|
|
7
|
+
sm: g,
|
|
8
|
+
md: f,
|
|
9
9
|
lg: d
|
|
10
|
-
}, i = l(o),
|
|
11
|
-
({ children: s, className:
|
|
10
|
+
}, i = l(o), x = p.forwardRef(
|
|
11
|
+
({ children: s, className: a, size: t, ...r }, m) => /* @__PURE__ */ e(
|
|
12
12
|
"div",
|
|
13
13
|
{
|
|
14
|
-
className:
|
|
14
|
+
className: c(o.tagGroup, i[t], a),
|
|
15
15
|
role: "group",
|
|
16
16
|
...r,
|
|
17
|
-
ref:
|
|
17
|
+
ref: m,
|
|
18
18
|
children: s
|
|
19
19
|
}
|
|
20
20
|
)
|
|
21
21
|
);
|
|
22
22
|
export {
|
|
23
|
-
|
|
23
|
+
x as TagGroup
|
|
24
24
|
};
|
|
25
25
|
//# sourceMappingURL=TagGroup.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { F as r } from "../../chunks/FormFieldInput-
|
|
2
|
+
import { F as r } from "../../chunks/FormFieldInput-GtoWWQRE.js";
|
|
3
3
|
import { TextFieldBase as t } from "./TextFieldBase.js";
|
|
4
4
|
const m = ({ inputProps: i, ...o }) => /* @__PURE__ */ e(t, { ...o, children: /* @__PURE__ */ e(r, { ...i }) });
|
|
5
5
|
m.displayName = "TextField";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { TextFieldBase as i } from "../TextField/TextFieldBase.js";
|
|
3
|
-
import "../FormField/
|
|
3
|
+
import "../FormField/FormField.js";
|
|
4
4
|
import "../FormField/components/FormFieldDescription.js";
|
|
5
5
|
import "../FormField/components/FormFieldCounter.js";
|
|
6
6
|
import "../FormField/components/FormFieldLabel.js";
|
|
7
7
|
import "../FormField/components/FormFieldClear.js";
|
|
8
8
|
import "../FormField/components/FormFieldTarget.js";
|
|
9
|
-
import "../../chunks/FormFieldInput-
|
|
9
|
+
import "../../chunks/FormFieldInput-GtoWWQRE.js";
|
|
10
10
|
import "../FormField/components/FormFieldMaskedInput.js";
|
|
11
11
|
import "../FormField/components/FormFieldPostfix.js";
|
|
12
12
|
import "../FormField/components/FormFieldPrefix.js";
|
|
@@ -4,7 +4,7 @@ import { c as s } from "../../../../chunks/vendor-CwhnMZ7o.js";
|
|
|
4
4
|
import { MobileView as a } from "../../../MobileView/MobileView.js";
|
|
5
5
|
import { Text as l } from "../../../Typography/Text.js";
|
|
6
6
|
import { ELineType as p, ETextSize as c } from "../../../Typography/enums.js";
|
|
7
|
-
import { s as f } from "../../../../chunks/TooltipDesktop.module-
|
|
7
|
+
import { s as f } from "../../../../chunks/TooltipDesktop.module-CG3_T63F.js";
|
|
8
8
|
const d = r.forwardRef(({ className: m, ...i }, t) => {
|
|
9
9
|
const e = s(f.tooltipBody, m);
|
|
10
10
|
return /* @__PURE__ */ o(a, { fallback: /* @__PURE__ */ o("div", { className: e, ...i, ref: t }), children: /* @__PURE__ */ o(l, { className: e, size: c.B3, line: p.NORMAL, tag: "div", ...i, ref: t }) });
|
|
@@ -2,17 +2,17 @@ import { jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import n from "react";
|
|
3
3
|
import { c as s } from "../../../../chunks/vendor-CwhnMZ7o.js";
|
|
4
4
|
import { MobileView as a } from "../../../MobileView/MobileView.js";
|
|
5
|
-
const k = "
|
|
5
|
+
const k = "tooltipLink__0ec24f31", r = "desktop__e2ec9d38", m = "mobile__9518b877", o = {
|
|
6
6
|
tooltipLink: k,
|
|
7
7
|
desktop: r,
|
|
8
|
-
mobile:
|
|
9
|
-
},
|
|
8
|
+
mobile: m
|
|
9
|
+
}, c = n.forwardRef(
|
|
10
10
|
({ children: i, className: e, ...l }, p) => /* @__PURE__ */ t(a, { fallback: /* @__PURE__ */ t(
|
|
11
11
|
"a",
|
|
12
12
|
{
|
|
13
13
|
className: s(o.tooltipLink, o.desktop, e),
|
|
14
14
|
...l,
|
|
15
|
-
"data-tx": "1.
|
|
15
|
+
"data-tx": "1.13.0",
|
|
16
16
|
ref: p,
|
|
17
17
|
children: i
|
|
18
18
|
}
|
|
@@ -21,14 +21,14 @@ const k = "tooltipLink__78c8c3e1", r = "desktop__937d555f", c = "mobile__ffc1390
|
|
|
21
21
|
{
|
|
22
22
|
className: s(o.tooltipLink, o.mobile, e),
|
|
23
23
|
...l,
|
|
24
|
-
"data-tx": "1.
|
|
24
|
+
"data-tx": "1.13.0",
|
|
25
25
|
ref: p,
|
|
26
26
|
children: i
|
|
27
27
|
}
|
|
28
28
|
) })
|
|
29
29
|
);
|
|
30
|
-
|
|
30
|
+
c.displayName = "TooltipLink";
|
|
31
31
|
export {
|
|
32
|
-
|
|
32
|
+
c as TooltipLink
|
|
33
33
|
};
|
|
34
34
|
//# sourceMappingURL=TooltipLink.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useContext as
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { useContext as m } from "react";
|
|
3
3
|
import { CrossStrokeSrvIcon16 as n } from "@sberbusiness/icons-next";
|
|
4
4
|
import { TooltipContext as i } from "../../TootlipContext.js";
|
|
5
|
-
import { ButtonIcon as
|
|
6
|
-
import { s as
|
|
7
|
-
const I = ({ onClick:
|
|
8
|
-
const { setTooltipOpen:
|
|
9
|
-
|
|
5
|
+
import { ButtonIcon as a } from "../../../Button/ButtonIcon.js";
|
|
6
|
+
import { s as l } from "../../../../chunks/TooltipDesktop.module-CG3_T63F.js";
|
|
7
|
+
const I = ({ onClick: o, ...s }) => {
|
|
8
|
+
const { setTooltipOpen: p } = m(i), e = (t) => {
|
|
9
|
+
t.stopPropagation(), p(!1), o == null || o(t);
|
|
10
10
|
};
|
|
11
|
-
return /* @__PURE__ */
|
|
11
|
+
return /* @__PURE__ */ r(a, { className: l.tooltipXButton, onClick: e, ...s, children: /* @__PURE__ */ r(n, { paletteIndex: 6 }) });
|
|
12
12
|
};
|
|
13
13
|
export {
|
|
14
14
|
I as TooltipXButton
|
|
@@ -9,7 +9,7 @@ import { Portal as Y } from "../../../../Portal/Portal.js";
|
|
|
9
9
|
import { ETooltipPreferPlace as u, ETooltipDirection as B, ETooltipAlign as z, ETooltipFlowTypes as I, ETooltipSizeParameter as r, ETooltipTypeName as C, ETooltipEndCoordinates as N, ETooltipStartCoordinates as R, ETooltipAxesType as G, ETooltipSize as U } from "../../../enums.js";
|
|
10
10
|
import { TooltipDesktopTip as V } from "./TooltipDesktopTip.js";
|
|
11
11
|
import { pickZone as j, axes as q, calcRelPos as K, centerOfBoundsFromBounds as Z, calcBounds as L, equalCoords as J } from "../../../utils/Positioning.js";
|
|
12
|
-
import { s as f } from "../../../../../chunks/TooltipDesktop.module-
|
|
12
|
+
import { s as f } from "../../../../../chunks/TooltipDesktop.module-CG3_T63F.js";
|
|
13
13
|
const Q = {
|
|
14
14
|
column: "translateX",
|
|
15
15
|
row: "translateY"
|
|
@@ -2,7 +2,7 @@ import { jsx as a } from "react/jsx-runtime";
|
|
|
2
2
|
import p from "react";
|
|
3
3
|
import { ETooltipDirection as e } from "../../../enums.js";
|
|
4
4
|
import { c } from "../../../../../chunks/vendor-CwhnMZ7o.js";
|
|
5
|
-
import { s as t } from "../../../../../chunks/TooltipDesktop.module-
|
|
5
|
+
import { s as t } from "../../../../../chunks/TooltipDesktop.module-CG3_T63F.js";
|
|
6
6
|
const l = p.forwardRef((r, i) => {
|
|
7
7
|
const { direction: s } = r;
|
|
8
8
|
let o;
|