@sberbusiness/triplex-next 1.20.0 → 1.21.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 +60 -22
- package/chunks/{AlertProcessSpoiler-CT4kuQU5.js → AlertProcessSpoiler-io5SjBK8.js} +12 -12
- package/chunks/CalendarViewItem-CW39vnxU.js +101 -0
- package/chunks/Card.module-wkZoieJo.js +17 -0
- package/chunks/CheckboxTreeExtended.module-yaZgGm0h.js +15 -0
- package/chunks/{Chip-Df2PJxv_.js → Chip-CtmEt4Cp.js} +17 -17
- package/chunks/Confirm.module-Bi0IoVgW.js +15 -0
- package/chunks/{DropdownListItem-JDPG7EtK.js → DropdownListItem-gGRZUigY.js} +14 -14
- package/chunks/DropdownMobile.module-D1Tda3VC.js +23 -0
- package/chunks/Footer.module-dEM87TWq.js +9 -0
- package/chunks/FormFieldInput-BXZLkCG-.js +60 -0
- package/chunks/HeaderLayoutSidebar.module-CPuC-nCL.js +9 -0
- package/chunks/HeaderTabs.module-lGf7L-VN.js +9 -0
- package/chunks/{HeaderTitle.module-Cz5VxXST.js → HeaderTitle.module-G-lXVibC.js} +2 -2
- package/chunks/IslandAccordion.module-CmJ_07-4.js +25 -0
- package/chunks/IslandWidgetFooter.module-PAcTvDvE.js +9 -0
- package/chunks/IslandWidgetHeader.module-CCpvQ7cl.js +12 -0
- package/chunks/{LightBoxContent-DcdEm4um.js → LightBoxContent-Dwdsxv-p.js} +12 -12
- package/chunks/LightBoxControls.module-C0ehN4OK.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-DQQjxPZ4.js +9 -0
- package/chunks/{ListItemControlsButton-CWkrMtu6.js → ListItemControlsButton-CXrdUtOj.js} +10 -10
- package/chunks/ListItemTail.module-t77bOXMm.js +12 -0
- package/chunks/ListMasterFooter.module-S-2GdDuq.js +10 -0
- package/chunks/ModalWindow.module-BNDWxL9E.js +17 -0
- package/chunks/Notification.module-BukggXdi.js +20 -0
- package/chunks/Overlay.module-DNkYF6tu.js +18 -0
- package/chunks/Page.module-Bz9n-Dho.js +11 -0
- package/chunks/{RightBorderArrow-CD9RfiqH.js → RightBorderArrow-BStHeZkJ.js} +9 -9
- package/chunks/SMSField.module-DBEf-aa7.js +16 -0
- package/chunks/SliderExtendedMarks.module-QVPE-s18.js +15 -0
- package/chunks/{SliderExtendedRail-Alw2vXQr.js → SliderExtendedRail-1zC_WMFD.js} +15 -15
- package/chunks/StatusTracker.module-_Hh_EXXG.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-BfOcMGUs.js → SuggestFieldMobileDropdownHint-DP7pX8_2.js} +4 -4
- package/chunks/TableFooter.module-nim97iDm.js +14 -0
- package/chunks/TabsExtended.module-33reL6bh.js +16 -0
- package/chunks/TabsLine.module-BS4pWC4f.js +21 -0
- package/chunks/TooltipDesktop.module-CU1qQ4fM.js +19 -0
- package/chunks/TreeView.module-7JefvvHQ.js +9 -0
- package/chunks/{UploadZoneInput-DWEQ023-.js → UploadZoneInput--cEsI9GG.js} +8 -8
- package/chunks/{constants-mUMWgzNs.js → constants-Dag2NxzH.js} +9 -9
- package/chunks/utils-C81PwsD3.js +24 -0
- package/chunks/utils-DKXtpqrd.js +73 -0
- package/chunks/{utils-B269a8Xy.js → utils-mDzXEbG8.js} +6 -6
- package/chunks/{utils-C64rf2gI.js → utils-wIML3CoI.js} +11 -11
- package/chunks/{vendor-BIl4KTrD.js → vendor-CuCj7SgU.js} +7115 -6975
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +10 -10
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +3 -3
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +12 -12
- package/components/Badge/Badge.js +8 -8
- package/components/Badge/BadgeDot.js +8 -8
- package/components/Badge/components/BadgeContent.js +7 -7
- package/components/Badge/components/BadgePostfix.js +9 -9
- package/components/Badge/components/BadgePrefix.js +2 -2
- package/components/Body/Body.js +8 -8
- package/components/Button/Button.js +26 -26
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +2 -2
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +12 -12
- package/components/Calendar/Calendar.js +6 -6
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +4 -4
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +11 -11
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +7 -7
- package/components/Checkbox/Checkbox.js +13 -13
- package/components/Checkbox/CheckboxXGroup.js +16 -16
- package/components/Checkbox/CheckboxYGroup.js +7 -7
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +18 -10
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +7 -7
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +25 -24
- package/components/Chip/ChipDropdownArrow.js +2 -2
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +9 -9
- package/components/Chip/ChipSelect/ChipSelect.js +2 -2
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +21 -21
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +12 -12
- package/components/Col/Col.js +135 -135
- package/components/CollapsableTree/components/CollapsableTreeNode.js +12 -12
- package/components/Confirm/Confirm.js +2 -2
- package/components/Confirm/components/ConfirmCloseButton.js +2 -2
- package/components/Confirm/components/ConfirmContent.js +2 -2
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/Confirm/index.js +4 -2
- package/components/DateField/DateField.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +8 -8
- package/components/DateRange/DateRange.js +9 -9
- package/components/DesignTokens/DesignTokenUtils.js +7 -7
- package/components/DesignTokens/DesignTokensCore.js +8 -0
- package/components/DesignTokens/components/Pagination.js +2 -5
- package/components/DesignTokens/types/DesignTokensTypes.js +2 -0
- package/components/Divider/Divider.js +18 -18
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +7 -7
- package/components/Dropdown/desktop/DropdownDesktop.js +8 -8
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +13 -13
- package/components/ExpandAnimation/ExpandAnimation.js +13 -13
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +2 -2
- package/components/Footer/components/FooterDescriptionContent.js +2 -2
- package/components/Footer/components/FooterDescriptionControls.js +2 -2
- package/components/FormField/FormField.js +65 -63
- package/components/FormField/FormFieldContext.js +4 -3
- package/components/FormField/components/FormFieldClear.js +8 -8
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +18 -18
- package/components/FormField/components/FormFieldMaskedInput.js +9 -9
- package/components/FormField/components/FormFieldPostfix.js +8 -8
- package/components/FormField/components/FormFieldPrefix.js +9 -9
- package/components/FormField/components/FormFieldTarget.js +35 -33
- package/components/FormField/components/FormFieldTextarea.js +11 -11
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +4 -4
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +9 -9
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +6 -6
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +3 -3
- package/components/IslandWidget/IslandWidget.js +14 -14
- package/components/IslandWidget/components/IslandWidgetBody.js +4 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +5 -5
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +9 -9
- package/components/LightBox/LightBox.js +40 -40
- package/components/LightBox/LightBoxContent.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxClose.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxControls.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxNext.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +17 -17
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +4 -4
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +4 -4
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +3 -3
- package/components/Link/Link.js +20 -20
- package/components/List/List.js +6 -6
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +3 -3
- package/components/List/components/ListItemControls.js +2 -2
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +2 -2
- package/components/List/components/ListItemSelectable.js +9 -9
- package/components/List/components/ListItemTable.js +4 -4
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +11 -11
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +10 -10
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +6 -6
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +8 -8
- package/components/ListMaster/components/SelectionControls.js +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +10 -10
- package/components/Loader/LoaderSmall/LoaderSmall.js +13 -13
- package/components/LoaderScreen/LoaderScreen.js +10 -10
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +16 -16
- package/components/ModalWindow/ModalWindow.js +14 -14
- package/components/ModalWindow/components/ModalWindowBody.js +2 -2
- package/components/ModalWindow/components/ModalWindowClose.js +10 -10
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +7 -7
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +7 -7
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +6 -6
- package/components/OrderedList/OrderedListItem.js +6 -6
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +2 -2
- package/components/Page/components/BodyPage.js +5 -5
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +7 -7
- package/components/Pagination/components/PaginationNavigationButton.js +6 -6
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +24 -16
- package/components/Pagination/components/PaginationPageEllipsis.js +13 -9
- package/components/Pagination/components/PaginationSelect.js +9 -9
- package/components/Pagination/utils/paginationUtils.js +5 -5
- package/components/Portal/index.js +5 -0
- package/components/Radio/Radio.js +15 -15
- package/components/Radio/RadioXGroup.js +11 -11
- package/components/Radio/RadioYGroup.js +2 -2
- package/components/Row/Row.js +7 -7
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +3 -3
- package/components/SMSField/components/SMSFieldRefresh.js +2 -2
- package/components/SMSField/components/SMSFieldSubmit.js +2 -2
- package/components/SMSField/components/SMSFieldTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +14 -14
- package/components/SegmentedControl/SegmentedControlSegment.js +15 -15
- package/components/SelectExtendedField/SelectExtendedField.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +74 -70
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +5 -5
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +27 -27
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +2 -2
- package/components/SliderExtended/components/SliderExtendedRail.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +6 -6
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +24 -24
- package/components/SmallInput/SmallInput.js +4 -4
- package/components/Spoiler/Spoiler.js +20 -20
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +2 -2
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +2 -2
- package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
- package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
- package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
- package/components/StatusTracker/components/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/Step/Step.js +10 -10
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +19 -19
- package/components/Stepper/StepperExtended.js +10 -10
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +3 -3
- package/components/Suggest/SuggestMobileDropdownContent.js +6 -6
- package/components/Suggest/useSuggest.js +1 -1
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +3 -3
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +23 -23
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +7 -7
- package/components/Table/NoColumns.js +5 -5
- package/components/Table/PaginationPanel.js +5 -5
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +4 -4
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +5 -5
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +2 -2
- package/components/Table/TabsLinePanelLinks.js +2 -2
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +20 -20
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +7 -7
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +3 -3
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +7 -7
- package/components/Tag/Tag.js +27 -27
- package/components/TagColor/TagColor.js +20 -18
- package/components/TagGroup/TagGroup.js +11 -11
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +3 -3
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +8 -8
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +12 -12
- package/components/Tooltip/index.js +13 -5
- package/components/TopOverlay/TopOverlay.js +16 -16
- package/components/TreeView/TreeView.js +2 -2
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +2 -2
- package/components/Typography/Caption.js +20 -20
- package/components/Typography/Text.js +19 -19
- package/components/Typography/Title.js +17 -17
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +6 -6
- package/components/UnorderedList/UnorderedListItem.js +3 -3
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +574 -560
- package/generated/refTokenTypes.js +1 -1
- package/helpers/less/colors.less +2 -0
- package/index.d.ts +220 -14
- package/index.js +618 -604
- package/package.json +5 -1
- package/styles/triplex-next.css +547 -546
- package/utils/amountUtils.js +1 -1
- package/chunks/CalendarViewItem-B22G4WdJ.js +0 -101
- package/chunks/Card.module-CYQS3e5D.js +0 -17
- package/chunks/CheckboxTreeExtended.module-Bm15tlJo.js +0 -14
- package/chunks/Confirm.module-B2BrmONy.js +0 -15
- package/chunks/DropdownMobile.module-BEV1I-ay.js +0 -23
- package/chunks/Footer.module-Bd88HiEv.js +0 -9
- package/chunks/FormFieldInput-C4pLJsXx.js +0 -60
- package/chunks/HeaderLayoutSidebar.module-CqfeCJ-B.js +0 -9
- package/chunks/HeaderTabs.module-CWX7b7Dh.js +0 -9
- package/chunks/IslandAccordion.module-CDvdz98b.js +0 -25
- package/chunks/IslandWidgetFooter.module-e4tVz5in.js +0 -9
- package/chunks/IslandWidgetHeader.module-Ch-s_cQT.js +0 -12
- package/chunks/LightBoxControls.module-uaiuwR-r.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CMuFmWFe.js +0 -9
- package/chunks/ListItemTail.module-7mfIAr0W.js +0 -12
- package/chunks/ListMasterFooter.module-P4_LpH8K.js +0 -10
- package/chunks/ModalWindow.module-D-5u9tYs.js +0 -17
- package/chunks/Notification.module-C0ZCimeJ.js +0 -20
- package/chunks/Overlay.module-DllxTgO6.js +0 -18
- package/chunks/Page.module-D8eZ3riP.js +0 -11
- package/chunks/SMSField.module-Ct20kGRY.js +0 -16
- package/chunks/SliderExtendedMarks.module-AiKoZWUL.js +0 -15
- package/chunks/StatusTracker.module-BS9GBa45.js +0 -24
- package/chunks/TableFooter.module-DYutPrdO.js +0 -14
- package/chunks/TabsExtended.module-uL61NvZ4.js +0 -16
- package/chunks/TabsLine.module-ByA3hnWg.js +0 -21
- package/chunks/TooltipDesktop.module-CWKvU1wk.js +0 -19
- package/chunks/TreeView.module-Co4Cu58-.js +0 -9
- package/chunks/utils-C8q6y8Et.js +0 -73
- package/chunks/utils-rInBvmh_.js +0 -24
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsxs as k, Fragment as y, jsx as f } from "react/jsx-runtime";
|
|
2
2
|
import a, { useContext as A, useState as D, useRef as g, useLayoutEffect as R, isValidElement as B } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { TabsExtendedContext as
|
|
5
|
-
import { TabsExtendedTabContext as
|
|
6
|
-
import { s as l } from "../../../chunks/TabsExtended.module-
|
|
3
|
+
import { h as F, c as N, j } from "../../../chunks/vendor-CuCj7SgU.js";
|
|
4
|
+
import { TabsExtendedContext as z } from "../TabsExtendedContext.js";
|
|
5
|
+
import { TabsExtendedTabContext as _ } from "./TabsExtendedTabContext.js";
|
|
6
|
+
import { s as l } from "../../../chunks/TabsExtended.module-33reL6bh.js";
|
|
7
7
|
const G = ({
|
|
8
8
|
children: s,
|
|
9
9
|
className: C,
|
|
10
10
|
...w
|
|
11
11
|
}) => {
|
|
12
|
-
const { setDropdownItemsIds: m, setInlineItemsIds: x, dropdownRef: p } = A(
|
|
12
|
+
const { setDropdownItemsIds: m, setInlineItemsIds: x, dropdownRef: p } = A(z), [c, I] = D(0), r = g(null), h = g(a.Children.count(s)), d = () => {
|
|
13
13
|
if (r.current) {
|
|
14
14
|
const { children: t } = r.current;
|
|
15
15
|
let { right: e } = r.current.getBoundingClientRect();
|
|
@@ -35,7 +35,7 @@ const G = ({
|
|
|
35
35
|
const T = (t) => a.Children.map(t, (e) => {
|
|
36
36
|
if (!B(e))
|
|
37
37
|
return e;
|
|
38
|
-
const i =
|
|
38
|
+
const i = j(e.props, (u, n) => !n.startsWith("data-"));
|
|
39
39
|
return a.createElement(e.type, i);
|
|
40
40
|
}), { ref: W } = F({
|
|
41
41
|
handleWidth: !0,
|
|
@@ -51,7 +51,7 @@ const G = ({
|
|
|
51
51
|
ref: (t) => {
|
|
52
52
|
r.current !== t && (r.current = t), W(t);
|
|
53
53
|
},
|
|
54
|
-
children: /* @__PURE__ */ f(
|
|
54
|
+
children: /* @__PURE__ */ f(_.Provider, { value: { isFakeTab: !0 }, children: T(s) })
|
|
55
55
|
}
|
|
56
56
|
),
|
|
57
57
|
/* @__PURE__ */ f(
|
|
@@ -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-wIML3CoI.js";
|
|
4
4
|
import "../Typography/enums.js";
|
|
5
5
|
export {
|
|
6
6
|
s as tabsExtendedSizeToTextSizeMap,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { c as b } from "../../chunks/vendor-
|
|
2
|
+
import { c as b } from "../../chunks/vendor-CuCj7SgU.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-BS4pWC4f.js";
|
|
7
7
|
import "./components/TabsLineDropdown.js";
|
|
8
8
|
import "./components/TabsLineItem.js";
|
|
9
9
|
const v = ({
|
|
@@ -3,8 +3,8 @@ import { useState as D, useRef as T, useEffect as N } from "react";
|
|
|
3
3
|
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
|
-
import { l as L } from "../../../chunks/vendor-
|
|
7
|
-
import { s as J } from "../../../chunks/TabsLine.module-
|
|
6
|
+
import { l as L } from "../../../chunks/vendor-CuCj7SgU.js";
|
|
7
|
+
import { s as J } from "../../../chunks/TabsLine.module-BS4pWC4f.js";
|
|
8
8
|
const $ = ({
|
|
9
9
|
tabs: l,
|
|
10
10
|
dropdownTargetHtmlAttributes: g,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as S, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { useState as d, useRef as h, useEffect as W, createElement as j } from "react";
|
|
3
|
-
import { u as H, c as w } from "../../../chunks/vendor-
|
|
3
|
+
import { u as H, c as w } from "../../../chunks/vendor-CuCj7SgU.js";
|
|
4
4
|
import { DropdownListContext as Y } from "../../Dropdown/DropdownListContext.js";
|
|
5
5
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
6
6
|
import { DropdownList as b } from "../../Dropdown/desktop/DropdownList.js";
|
|
7
|
-
import "../../../chunks/DropdownListItem-
|
|
7
|
+
import "../../../chunks/DropdownListItem-gGRZUigY.js";
|
|
8
8
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
9
9
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
10
10
|
import "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -20,7 +20,7 @@ import { EComponentSize as q } from "../../../enums/EComponentSize.js";
|
|
|
20
20
|
import { Dropdown as U } from "../../Dropdown/Dropdown.js";
|
|
21
21
|
import { CaretdownStrokeSrvIcon16 as Z } from "@sberbusiness/icons-next";
|
|
22
22
|
import { isKey as m } from "../../../utils/keyboard.js";
|
|
23
|
-
import { s as t } from "../../../chunks/TabsLine.module-
|
|
23
|
+
import { s as t } from "../../../chunks/TabsLine.module-BS4pWC4f.js";
|
|
24
24
|
import { createSizeToClassNameMap as G } from "../../../utils/classNameMaps.js";
|
|
25
25
|
import { EFontType as v } from "../../Typography/enums.js";
|
|
26
26
|
import "../../Typography/Caption.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import y, { useState as f, createElement as z } from "react";
|
|
3
|
-
import { c as E } from "../../../chunks/vendor-
|
|
3
|
+
import { c as E } from "../../../chunks/vendor-CuCj7SgU.js";
|
|
4
4
|
import { createSizeToClassNameMap as N } from "../../../utils/classNameMaps.js";
|
|
5
5
|
import { Badge as S } from "../../Badge/Badge.js";
|
|
6
6
|
import { EComponentSize as p } from "../../../enums/EComponentSize.js";
|
|
7
7
|
import { Text as v } from "../../Typography/Text.js";
|
|
8
8
|
import { tabsLineSizeToTextSizeMap as x } from "../utils.js";
|
|
9
9
|
import { EFontType as l } from "../../Typography/enums.js";
|
|
10
|
-
import { s as e } from "../../../chunks/TabsLine.module-
|
|
10
|
+
import { s as e } from "../../../chunks/TabsLine.module-BS4pWC4f.js";
|
|
11
11
|
const L = N(e), R = y.forwardRef(
|
|
12
12
|
({
|
|
13
13
|
id: c,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { TabsLineItem as c } from "./TabsLineItem.js";
|
|
3
|
-
const d = "
|
|
3
|
+
const d = "tabsLineMobileWrapper__54a3b420", p = "tabsLineMobile__b7d69f20", l = {
|
|
4
4
|
tabsLineMobileWrapper: d,
|
|
5
5
|
tabsLineMobile: p
|
|
6
|
-
},
|
|
6
|
+
}, h = ({ onChangeTab: r, selectedId: o, tabs: i }) => {
|
|
7
7
|
if (!i.length)
|
|
8
8
|
return null;
|
|
9
|
-
const
|
|
10
|
-
const
|
|
9
|
+
const a = ({ selected: L, ...e }) => {
|
|
10
|
+
const b = (t) => {
|
|
11
11
|
var s;
|
|
12
12
|
r(e.id), (s = e.onClick) == null || s.call(e, t);
|
|
13
13
|
};
|
|
14
|
-
return /* @__PURE__ */ n(c, { selected:
|
|
14
|
+
return /* @__PURE__ */ n(c, { 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
|
|
20
20
|
};
|
|
21
21
|
//# sourceMappingURL=TabsLineMobile.js.map
|
package/components/Tag/Tag.js
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
import { EditStrokeSrvIcon24 as
|
|
1
|
+
import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import D, { useCallback as S } from "react";
|
|
3
|
+
import { c as E } from "../../chunks/vendor-CuCj7SgU.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 I, 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 o } from "../../enums/EComponentSize.js";
|
|
10
|
+
const A = "tag__7ec3e2c1", R = "sm__1db18bce", w = "md__7a7d12de", F = "lg__df5826db", P = "content__98f418ed", l = {
|
|
11
11
|
tag: A,
|
|
12
12
|
sm: R,
|
|
13
13
|
md: w,
|
|
14
14
|
lg: F,
|
|
15
15
|
content: P
|
|
16
16
|
}, Y = j(l), q = {
|
|
17
|
-
[
|
|
18
|
-
[
|
|
19
|
-
[
|
|
17
|
+
[o.SM]: I.B4,
|
|
18
|
+
[o.MD]: I.B3,
|
|
19
|
+
[o.LG]: I.B2
|
|
20
20
|
}, H = {
|
|
21
|
-
[
|
|
22
|
-
[
|
|
23
|
-
[
|
|
21
|
+
[o.SM]: /* @__PURE__ */ e(v, { paletteIndex: 5 }),
|
|
22
|
+
[o.MD]: /* @__PURE__ */ e(N, { paletteIndex: 5 }),
|
|
23
|
+
[o.LG]: /* @__PURE__ */ e(L, { paletteIndex: 5 })
|
|
24
24
|
}, J = {
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
28
|
-
}, b =
|
|
29
|
-
({ children: f, id: s, className: u, size: r, disabled: n, onRemove: a, onEdit: c, removeButtonProps: x, editButtonProps: M, ...
|
|
30
|
-
const
|
|
25
|
+
[o.SM]: /* @__PURE__ */ e(G, { paletteIndex: 5 }),
|
|
26
|
+
[o.MD]: /* @__PURE__ */ e(z, { paletteIndex: 5 }),
|
|
27
|
+
[o.LG]: /* @__PURE__ */ e(y, { paletteIndex: 5 })
|
|
28
|
+
}, b = D.forwardRef(
|
|
29
|
+
({ children: f, id: s, className: u, size: r, disabled: n, onRemove: a, onEdit: c, removeButtonProps: x, editButtonProps: M, ...d }, g) => {
|
|
30
|
+
const C = S(() => {
|
|
31
31
|
const t = n ? _.DISABLED : _.PRIMARY;
|
|
32
|
-
return /* @__PURE__ */
|
|
33
|
-
}, [f, r, n]),
|
|
32
|
+
return /* @__PURE__ */ e(h, { className: l.content, type: t, size: q[r], children: f });
|
|
33
|
+
}, [f, r, n]), k = S(() => {
|
|
34
34
|
const { onClick: t, ...m } = M || {};
|
|
35
|
-
return /* @__PURE__ */
|
|
35
|
+
return /* @__PURE__ */ e(
|
|
36
36
|
T,
|
|
37
37
|
{
|
|
38
38
|
disabled: n,
|
|
@@ -43,9 +43,9 @@ const A = "tag__5e7ac1b6", R = "sm__a95a122f", w = "md__11706a3f", F = "lg__13e2
|
|
|
43
43
|
children: H[r]
|
|
44
44
|
}
|
|
45
45
|
);
|
|
46
|
-
}, [s, r, n, M, c]),
|
|
46
|
+
}, [s, r, n, M, c]), B = S(() => {
|
|
47
47
|
const { onClick: t, ...m } = x || {};
|
|
48
|
-
return /* @__PURE__ */
|
|
48
|
+
return /* @__PURE__ */ e(
|
|
49
49
|
T,
|
|
50
50
|
{
|
|
51
51
|
disabled: n,
|
|
@@ -57,10 +57,10 @@ const A = "tag__5e7ac1b6", R = "sm__a95a122f", w = "md__11706a3f", F = "lg__13e2
|
|
|
57
57
|
}
|
|
58
58
|
);
|
|
59
59
|
}, [s, r, n, x, a]);
|
|
60
|
-
return /* @__PURE__ */
|
|
61
|
-
|
|
62
|
-
c &&
|
|
63
|
-
|
|
60
|
+
return /* @__PURE__ */ i("span", { className: E(l.tag, Y[r], u), ...d, ref: g, children: [
|
|
61
|
+
C(),
|
|
62
|
+
c && k(),
|
|
63
|
+
B()
|
|
64
64
|
] });
|
|
65
65
|
}
|
|
66
66
|
);
|
|
@@ -1,36 +1,38 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as l } from "../../chunks/vendor-
|
|
2
|
+
import f from "react";
|
|
3
|
+
import { c as l } from "../../chunks/vendor-CuCj7SgU.js";
|
|
4
4
|
import { createSizeToClassNameMap as m } from "../../utils/classNameMaps.js";
|
|
5
5
|
import { ETagColorStatus as s } from "./enums.js";
|
|
6
|
-
const
|
|
7
|
-
tagColor:
|
|
6
|
+
const d = "tagColor__7324fdff", i = "sm__e3a1d3af", g = "md__8cd31c79", C = "lg__dde845bf", S = "success__e0e10891", p = "info__ac204b6f", A = "warning__68205679", T = "error__aadf53fe", u = "content__f8123ef7", o = {
|
|
7
|
+
tagColor: d,
|
|
8
8
|
sm: i,
|
|
9
|
-
md:
|
|
10
|
-
lg:
|
|
11
|
-
default: "
|
|
12
|
-
success:
|
|
13
|
-
info:
|
|
14
|
-
warning:
|
|
15
|
-
error:
|
|
16
|
-
content:
|
|
17
|
-
},
|
|
9
|
+
md: g,
|
|
10
|
+
lg: C,
|
|
11
|
+
default: "default__9f095102",
|
|
12
|
+
success: S,
|
|
13
|
+
info: p,
|
|
14
|
+
warning: A,
|
|
15
|
+
error: T,
|
|
16
|
+
content: u
|
|
17
|
+
}, N = m(o), E = {
|
|
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
|
-
},
|
|
24
|
-
({ children:
|
|
23
|
+
}, R = f.forwardRef(
|
|
24
|
+
({ children: r, className: a, size: n, status: c = s.DEFAULT, ...e }, _) => /* @__PURE__ */ t(
|
|
25
25
|
"span",
|
|
26
26
|
{
|
|
27
|
-
className: l(o.tagColor,
|
|
27
|
+
className: l(o.tagColor, N[n], E[c], a),
|
|
28
28
|
...e,
|
|
29
|
-
|
|
29
|
+
ref: _,
|
|
30
|
+
children: /* @__PURE__ */ t("span", { className: o.content, children: r })
|
|
30
31
|
}
|
|
31
32
|
)
|
|
32
33
|
);
|
|
34
|
+
R.displayName = "TagColor";
|
|
33
35
|
export {
|
|
34
|
-
|
|
36
|
+
R as TagColor
|
|
35
37
|
};
|
|
36
38
|
//# sourceMappingURL=TagColor.js.map
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
import { createSizeToClassNameMap as
|
|
5
|
-
const l = "
|
|
2
|
+
import d from "react";
|
|
3
|
+
import { c as e } from "../../chunks/vendor-CuCj7SgU.js";
|
|
4
|
+
import { createSizeToClassNameMap as p } from "../../utils/classNameMaps.js";
|
|
5
|
+
const l = "tagGroup__6bd8bdcd", _ = "sm__68d015d2", g = "md__46112d4b", f = "lg__7616a70d", o = {
|
|
6
6
|
tagGroup: l,
|
|
7
7
|
sm: _,
|
|
8
|
-
md:
|
|
9
|
-
lg:
|
|
10
|
-
}, i =
|
|
11
|
-
({ children: s, className: t, size:
|
|
8
|
+
md: g,
|
|
9
|
+
lg: f
|
|
10
|
+
}, i = p(o), x = d.forwardRef(
|
|
11
|
+
({ children: s, className: t, size: a, ...r }, m) => /* @__PURE__ */ c(
|
|
12
12
|
"div",
|
|
13
13
|
{
|
|
14
|
-
className:
|
|
14
|
+
className: e(o.tagGroup, i[a], t),
|
|
15
15
|
role: "group",
|
|
16
|
-
...
|
|
16
|
+
...r,
|
|
17
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-BXZLkCG-.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";
|
|
@@ -6,7 +6,7 @@ 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-BXZLkCG-.js";
|
|
10
10
|
import "../FormField/components/FormFieldMaskedInput.js";
|
|
11
11
|
import "../FormField/components/FormFieldPostfix.js";
|
|
12
12
|
import "../FormField/components/FormFieldPrefix.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { useState as x, useEffect as i } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { x as c, y as d, z as f } from "../../chunks/vendor-CuCj7SgU.js";
|
|
4
4
|
import { DesignTokenUtils as S } from "../DesignTokens/DesignTokenUtils.js";
|
|
5
5
|
import { ThemeProviderView as h } from "./components/ThemeProviderView.js";
|
|
6
6
|
import { ETriplexNextTheme as u } from "./ETriplexNextTheme.js";
|
|
7
|
-
const m = (t) => `${t}${Date.now()}${Math.floor(Math.random() * 1e6)}`,
|
|
7
|
+
const m = (t) => `${t}${Date.now()}${Math.floor(Math.random() * 1e6)}`, w = ({
|
|
8
8
|
children: t,
|
|
9
9
|
scopeClassName: o,
|
|
10
10
|
scopeRef: n,
|
|
@@ -23,6 +23,6 @@ const m = (t) => `${t}${Date.now()}${Math.floor(Math.random() * 1e6)}`, g = ({
|
|
|
23
23
|
}, [e, r, s]), i(() => () => f(`triplex-next-dynamic-tokens-${e}`), [e]), /* @__PURE__ */ l(h, { scopeClassName: e, scopeRef: n, theme: r, tokens: s, children: t });
|
|
24
24
|
};
|
|
25
25
|
export {
|
|
26
|
-
|
|
26
|
+
w as ThemeProvider
|
|
27
27
|
};
|
|
28
28
|
//# sourceMappingURL=ThemeProvider.js.map
|
|
@@ -6,7 +6,7 @@ import { DesignTokensCore as D } from "../../DesignTokens/DesignTokensCore.js";
|
|
|
6
6
|
import { DesignTokensCoreThemeDark as d } from "../../DesignTokens/DesignTokensCoreThemeDark.js";
|
|
7
7
|
import { DesignTokensComponents as v } from "../../DesignTokens/DesignTokensComponents.js";
|
|
8
8
|
import { DesignTokensComponentsThemeDark as x } from "../../DesignTokens/DesignTokensComponentsThemeDark.js";
|
|
9
|
-
import {
|
|
9
|
+
import { m as g } from "../../../chunks/vendor-CuCj7SgU.js";
|
|
10
10
|
const I = ({
|
|
11
11
|
children: s,
|
|
12
12
|
scopeClassName: r,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import r from "react";
|
|
3
|
-
import { c as s } from "../../../../chunks/vendor-
|
|
3
|
+
import { c as s } from "../../../../chunks/vendor-CuCj7SgU.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-CU1qQ4fM.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 }) });
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import n from "react";
|
|
3
|
-
import { c as s } from "../../../../chunks/vendor-
|
|
3
|
+
import { c as s } from "../../../../chunks/vendor-CuCj7SgU.js";
|
|
4
4
|
import { MobileView as a } from "../../../MobileView/MobileView.js";
|
|
5
|
-
const k = "
|
|
5
|
+
const k = "tooltipLink__6bd2527f", r = "desktop__014670af", m = "mobile__c1b715c8", 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.21.0",
|
|
16
16
|
ref: p,
|
|
17
17
|
children: i
|
|
18
18
|
}
|
|
@@ -21,14 +21,14 @@ const k = "tooltipLink__f11bb509", r = "desktop__6bc3a1c5", c = "mobile__e549f4c
|
|
|
21
21
|
{
|
|
22
22
|
className: s(o.tooltipLink, o.mobile, e),
|
|
23
23
|
...l,
|
|
24
|
-
"data-tx": "1.
|
|
24
|
+
"data-tx": "1.21.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
|
|
@@ -3,7 +3,7 @@ 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
5
|
import { ButtonIcon as a } from "../../../Button/ButtonIcon.js";
|
|
6
|
-
import { s as l } from "../../../../chunks/TooltipDesktop.module-
|
|
6
|
+
import { s as l } from "../../../../chunks/TooltipDesktop.module-CU1qQ4fM.js";
|
|
7
7
|
const I = ({ onClick: o, ...s }) => {
|
|
8
8
|
const { setTooltipOpen: p } = m(i), e = (t) => {
|
|
9
9
|
t.stopPropagation(), p(!1), o == null || o(t);
|
|
@@ -3,13 +3,13 @@ var H = (p, a, i) => a in p ? _(p, a, { enumerable: !0, configurable: !0, writab
|
|
|
3
3
|
var t = (p, a, i) => H(p, typeof a != "symbol" ? a + "" : a, i);
|
|
4
4
|
import { jsxs as S, Fragment as P, jsx as x } from "react/jsx-runtime";
|
|
5
5
|
import O from "react";
|
|
6
|
-
import { i as M, c as $ } from "../../../../../chunks/vendor-
|
|
6
|
+
import { i as M, c as $ } from "../../../../../chunks/vendor-CuCj7SgU.js";
|
|
7
7
|
import { TooltipContext as X } from "../../../TootlipContext.js";
|
|
8
8
|
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-CU1qQ4fM.js";
|
|
13
13
|
const Q = {
|
|
14
14
|
column: "translateX",
|
|
15
15
|
row: "translateY"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import p from "react";
|
|
3
3
|
import { ETooltipDirection as e } from "../../../enums.js";
|
|
4
|
-
import { c } from "../../../../../chunks/vendor-
|
|
5
|
-
import { s as t } from "../../../../../chunks/TooltipDesktop.module-
|
|
4
|
+
import { c } from "../../../../../chunks/vendor-CuCj7SgU.js";
|
|
5
|
+
import { s as t } from "../../../../../chunks/TooltipDesktop.module-CU1qQ4fM.js";
|
|
6
6
|
const l = p.forwardRef((r, i) => {
|
|
7
7
|
const { direction: s } = r;
|
|
8
8
|
let o;
|
|
@@ -5,8 +5,8 @@ import { Portal as B } from "../../../Portal/Portal.js";
|
|
|
5
5
|
import { DropdownMobile as _ } from "../../../Dropdown/mobile/DropdownMobile.js";
|
|
6
6
|
import { DropdownMobileBody as x } from "../../../Dropdown/mobile/DropdownMobileBody.js";
|
|
7
7
|
import { TooltipMobileCloseButton as h } from "./components/TooltipMobileCloseButton.js";
|
|
8
|
-
import { c as y } from "../../../../chunks/vendor-
|
|
9
|
-
const N = "
|
|
8
|
+
import { c as y } from "../../../../chunks/vendor-CuCj7SgU.js";
|
|
9
|
+
const N = "tooltipMobile__3e51d8e1", T = "tooltipMobileContent__d9882f1c", g = "headerless__8ce51773", H = "closeButton__27fad423", o = {
|
|
10
10
|
tooltipMobile: N,
|
|
11
11
|
tooltipMobileContent: T,
|
|
12
12
|
headerless: g,
|
|
@@ -21,31 +21,31 @@ const N = "tooltipMobile__3fbbb9ea", T = "tooltipMobileContent__45aef218", g = "
|
|
|
21
21
|
onShow: l,
|
|
22
22
|
...d
|
|
23
23
|
}) => {
|
|
24
|
-
const { elements:
|
|
24
|
+
const { elements: e, setTooltipOpen: p } = f(C), i = u(null), a = y(o.tooltipMobile, { [o.headerless]: e.mobileHeader === null }, c);
|
|
25
25
|
M(() => {
|
|
26
26
|
t && (l == null || l(i.current));
|
|
27
27
|
}, [t]);
|
|
28
28
|
const m = () => {
|
|
29
29
|
var s;
|
|
30
|
-
return /* @__PURE__ */ n("div", { className:
|
|
30
|
+
return /* @__PURE__ */ n("div", { className: o.closeButton, children: /* @__PURE__ */ n(h, { ...(s = e.closeButton) == null ? void 0 : s.props }) });
|
|
31
31
|
};
|
|
32
32
|
return /* @__PURE__ */ r(b, { children: [
|
|
33
|
-
|
|
33
|
+
e.target,
|
|
34
34
|
/* @__PURE__ */ n(B, { container: document.body, children: /* @__PURE__ */ r(
|
|
35
35
|
_,
|
|
36
36
|
{
|
|
37
|
-
className:
|
|
37
|
+
className: a,
|
|
38
38
|
tabIndex: -1,
|
|
39
39
|
opened: t,
|
|
40
|
-
setOpened:
|
|
40
|
+
setOpened: p,
|
|
41
41
|
...d,
|
|
42
42
|
ref: i,
|
|
43
43
|
children: [
|
|
44
|
-
|
|
45
|
-
/* @__PURE__ */ r(x, { className:
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
44
|
+
e.mobileHeader,
|
|
45
|
+
/* @__PURE__ */ r(x, { className: o.tooltipMobileContent, children: [
|
|
46
|
+
e.body,
|
|
47
|
+
e.link,
|
|
48
|
+
e.mobileHeader === null && m()
|
|
49
49
|
] })
|
|
50
50
|
]
|
|
51
51
|
}
|
|
@@ -1,8 +1,16 @@
|
|
|
1
|
-
import { Tooltip as
|
|
2
|
-
import { ETooltipPreferPlace as
|
|
1
|
+
import { Tooltip as i } from "./Tooltip.js";
|
|
2
|
+
import { ETooltipAlign as p, ETooltipAxesType as l, ETooltipDirection as T, ETooltipEndCoordinates as r, ETooltipFlowTypes as E, ETooltipPreferPlace as a, ETooltipSize as n, ETooltipSizeParameter as m, ETooltipStartCoordinates as s, ETooltipTypeName as d } from "./enums.js";
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
p as ETooltipAlign,
|
|
5
|
+
l as ETooltipAxesType,
|
|
6
|
+
T as ETooltipDirection,
|
|
7
|
+
r as ETooltipEndCoordinates,
|
|
8
|
+
E as ETooltipFlowTypes,
|
|
9
|
+
a as ETooltipPreferPlace,
|
|
10
|
+
n as ETooltipSize,
|
|
11
|
+
m as ETooltipSizeParameter,
|
|
12
|
+
s as ETooltipStartCoordinates,
|
|
13
|
+
d as ETooltipTypeName,
|
|
14
|
+
i as Tooltip
|
|
7
15
|
};
|
|
8
16
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { jsx as o, jsxs as
|
|
2
|
-
import { useState as y, useRef as g, useEffect as
|
|
1
|
+
import { jsx as o, jsxs as C, Fragment as I } from "react/jsx-runtime";
|
|
2
|
+
import { useState as y, useRef as g, useEffect as B } from "react";
|
|
3
3
|
import { EOverlayDirection as R } from "../Overlay/OverlayBase.js";
|
|
4
4
|
import { Overlay as O } from "../Overlay/Overlay.js";
|
|
5
|
-
import { c as S, F as j } from "../../chunks/vendor-
|
|
6
|
-
const
|
|
7
|
-
topOverlayMask:
|
|
8
|
-
topOverlayWrapper:
|
|
5
|
+
import { c as S, F as j } from "../../chunks/vendor-CuCj7SgU.js";
|
|
6
|
+
const E = "topOverlayMask__09ba16ed", w = "topOverlayWrapper__6245998e", A = "closing__aa974d68", D = "opened__b7630805", V = "topOverlayPanel__89223c7a", $ = "topOverlay__0fdbd0bf", t = {
|
|
7
|
+
topOverlayMask: E,
|
|
8
|
+
topOverlayWrapper: w,
|
|
9
9
|
closing: A,
|
|
10
|
-
opened:
|
|
11
|
-
topOverlayPanel:
|
|
12
|
-
topOverlay:
|
|
10
|
+
opened: D,
|
|
11
|
+
topOverlayPanel: V,
|
|
12
|
+
topOverlay: $
|
|
13
13
|
}, K = ({
|
|
14
14
|
children: _,
|
|
15
15
|
focusTrapProps: a,
|
|
@@ -18,7 +18,7 @@ const D = "topOverlayMask__19323e4b", E = "topOverlayWrapper__55f3121a", A = "cl
|
|
|
18
18
|
onOpen: n,
|
|
19
19
|
...h
|
|
20
20
|
}) => {
|
|
21
|
-
const [W,
|
|
21
|
+
const [W, d] = y(!1), [x, u] = y(!1), [f, c] = y(0), p = g(e), s = g(null), m = () => {
|
|
22
22
|
if (s.current) {
|
|
23
23
|
const r = getComputedStyle(s.current).getPropertyValue("--lightBox-screen-top") || "0", i = s.current.getBoundingClientRect();
|
|
24
24
|
i.top < 0 ? c(
|
|
@@ -31,12 +31,12 @@ const D = "topOverlayMask__19323e4b", E = "topOverlayWrapper__55f3121a", A = "cl
|
|
|
31
31
|
}, k = () => {
|
|
32
32
|
m(), u(!0), n == null || n();
|
|
33
33
|
};
|
|
34
|
-
|
|
35
|
-
p.current && !e ?
|
|
34
|
+
B(() => {
|
|
35
|
+
p.current && !e ? d(!0) : !p.current && e && m(), p.current = e;
|
|
36
36
|
}, [e]);
|
|
37
37
|
const M = () => {
|
|
38
|
-
|
|
39
|
-
}, T = () => u(!1), b = (r) => /* @__PURE__ */ I
|
|
38
|
+
d(!1), c(0), l == null || l();
|
|
39
|
+
}, T = () => u(!1), b = (r) => /* @__PURE__ */ C(I, { children: [
|
|
40
40
|
/* @__PURE__ */ o(O.Mask, { opened: r.opened, className: t.topOverlayMask }),
|
|
41
41
|
/* @__PURE__ */ o(O.Panel, { className: t.topOverlayPanel, ...r, children: _ })
|
|
42
42
|
] }), F = () => {
|
|
@@ -63,7 +63,7 @@ const D = "topOverlayMask__19323e4b", E = "topOverlayWrapper__55f3121a", A = "cl
|
|
|
63
63
|
active: x,
|
|
64
64
|
...a,
|
|
65
65
|
focusTrapOptions: {
|
|
66
|
-
|
|
66
|
+
allowOutsideClick: !0,
|
|
67
67
|
preventScroll: !0,
|
|
68
68
|
...a == null ? void 0 : a.focusTrapOptions
|
|
69
69
|
},
|
|
@@ -72,7 +72,7 @@ const D = "topOverlayMask__19323e4b", E = "topOverlayWrapper__55f3121a", A = "cl
|
|
|
72
72
|
{
|
|
73
73
|
className: N,
|
|
74
74
|
ref: s,
|
|
75
|
-
style:
|
|
75
|
+
style: f ? { top: `${f}px` } : void 0,
|
|
76
76
|
children: P
|
|
77
77
|
}
|
|
78
78
|
)
|