@sberbusiness/triplex-next 1.19.1 → 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-CJysh-L6.js → AlertProcessSpoiler-io5SjBK8.js} +9 -9
- 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-Cp4nSSv9.js → Chip-CtmEt4Cp.js} +20 -20
- package/chunks/Confirm.module-Bi0IoVgW.js +15 -0
- package/chunks/{DropdownListItem-Czxj-82d.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-bJWT64K6.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-Dwdsxv-p.js +56 -0
- package/chunks/LightBoxControls.module-C0ehN4OK.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-DQQjxPZ4.js +9 -0
- package/chunks/{ListItemControlsButton-CLWIOf-c.js → ListItemControlsButton-CXrdUtOj.js} +8 -8
- 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-CDLZGJBa.js → RightBorderArrow-BStHeZkJ.js} +12 -12
- package/chunks/SMSField.module-DBEf-aa7.js +16 -0
- package/chunks/SliderExtendedMarks.module-QVPE-s18.js +15 -0
- package/chunks/SliderExtendedRail-1zC_WMFD.js +40 -0
- package/chunks/StatusTracker.module-_Hh_EXXG.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-B1qT-8-p.js → SuggestFieldMobileDropdownHint-DP7pX8_2.js} +2 -2
- 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-CXhNQ2dO.js → UploadZoneInput--cEsI9GG.js} +8 -8
- package/chunks/{constants-sbJX8JQ4.js → constants-Dag2NxzH.js} +15 -15
- package/chunks/utils-C81PwsD3.js +24 -0
- package/chunks/utils-DKXtpqrd.js +73 -0
- package/chunks/{utils-OFOU7B72.js → utils-mDzXEbG8.js} +6 -6
- package/chunks/{utils-BIaaXA7W.js → utils-wIML3CoI.js} +6 -6
- package/chunks/{vendor-Dlne6Znf.js → vendor-CuCj7SgU.js} +7116 -6977
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +6 -6
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +8 -8
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +16 -16
- package/components/Badge/Badge.js +8 -8
- package/components/Badge/BadgeDot.js +10 -10
- package/components/Badge/components/BadgeContent.js +14 -14
- package/components/Badge/components/BadgePostfix.js +5 -5
- package/components/Badge/components/BadgePrefix.js +6 -6
- package/components/Body/Body.js +6 -6
- package/components/Button/Button.js +19 -19
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +12 -12
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +9 -9
- package/components/Calendar/Calendar.js +3 -3
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +19 -19
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +12 -12
- package/components/Checkbox/Checkbox.js +14 -14
- package/components/Checkbox/CheckboxXGroup.js +16 -16
- package/components/Checkbox/CheckboxYGroup.js +2 -2
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +18 -10
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +35 -28
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +2 -2
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +25 -24
- package/components/Chip/ChipDropdownArrow.js +5 -5
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +6 -6
- 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 +10 -10
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +8 -8
- package/components/Col/Col.js +141 -141
- package/components/CollapsableTree/components/CollapsableTreeNode.js +16 -16
- 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 +7 -7
- package/components/DateRange/DateRange.js +11 -11
- 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 +6 -6
- package/components/Dropdown/desktop/DropdownDesktop.js +3 -3
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +3 -3
- 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 +14 -21
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +3 -3
- package/components/Ellipsis/Ellipsis.js +9 -9
- package/components/ExpandAnimation/ExpandAnimation.js +17 -17
- 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 +69 -67
- package/components/FormField/FormFieldContext.js +4 -3
- package/components/FormField/components/FormFieldClear.js +5 -5
- package/components/FormField/components/FormFieldCounter.js +3 -3
- package/components/FormField/components/FormFieldDescription.js +6 -6
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +22 -22
- package/components/FormField/components/FormFieldMaskedInput.js +20 -20
- package/components/FormField/components/FormFieldPostfix.js +10 -10
- package/components/FormField/components/FormFieldPrefix.js +6 -6
- package/components/FormField/components/FormFieldTarget.js +34 -32
- package/components/FormField/components/FormFieldTextarea.js +12 -12
- 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 +7 -7
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +8 -8
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +4 -4
- 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 +75 -69
- package/components/IslandWidget/IslandWidget.js +14 -14
- package/components/IslandWidget/components/IslandWidgetBody.js +4 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +8 -8
- 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 +8 -8
- package/components/LightBox/LightBox.js +36 -36
- 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 +26 -26
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +24 -24
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +3 -3
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +7 -7
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +7 -7
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +3 -3
- package/components/Link/Link.js +21 -21
- package/components/List/List.js +3 -3
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +3 -3
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +7 -7
- package/components/List/components/ListItemControls.js +6 -6
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +4 -4
- package/components/List/components/ListItemSelectable.js +2 -2
- package/components/List/components/ListItemTable.js +9 -9
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +5 -5
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +6 -6
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +2 -2
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +2 -2
- package/components/ListMaster/components/SelectionControls.js +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +5 -5
- package/components/Loader/LoaderSmall/LoaderSmall.js +12 -12
- package/components/LoaderScreen/LoaderScreen.js +9 -9
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +14 -14
- package/components/ModalWindow/ModalWindow.js +14 -14
- package/components/ModalWindow/components/ModalWindowBody.js +5 -5
- package/components/ModalWindow/components/ModalWindowClose.js +7 -7
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +3 -3
- package/components/ModalWindow/components/ModalWindowViewManager.js +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +7 -7
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +4 -4
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +2 -2
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +3 -3
- 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 +9 -9
- 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 +6 -6
- package/components/Pagination/utils/paginationUtils.js +5 -5
- package/components/Portal/index.js +5 -0
- package/components/Radio/Radio.js +18 -18
- package/components/Radio/RadioXGroup.js +11 -11
- package/components/Radio/RadioYGroup.js +4 -4
- package/components/Row/Row.js +6 -6
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +3 -3
- package/components/SMSField/components/SMSFieldRefresh.js +2 -2
- package/components/SMSField/components/SMSFieldSubmit.js +2 -2
- package/components/SMSField/components/SMSFieldTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +8 -8
- package/components/SegmentedControl/SegmentedControlSegment.js +9 -9
- package/components/SelectExtendedField/SelectExtendedField.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +72 -68
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +8 -8
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +2 -2
- 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 +11 -11
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +35 -35
- package/components/SmallInput/SmallInput.js +6 -6
- package/components/Spoiler/Spoiler.js +11 -11
- 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 +15 -15
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +7 -7
- package/components/Stepper/StepperExtended.js +2 -2
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +3 -3
- package/components/Suggest/SuggestMobileDropdownContent.js +18 -17
- package/components/Suggest/useSuggest.js +1 -1
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +141 -137
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +59 -55
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +53 -49
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +75 -67
- 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 +6 -6
- package/components/Table/MasterTable.js +3 -3
- package/components/Table/NoColumns.js +4 -4
- 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 +8 -8
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +7 -7
- 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 +2 -2
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +6 -6
- package/components/Table/TabsLinePanelLinks.js +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 +120 -156
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +7 -7
- package/components/Tag/Tag.js +36 -36
- package/components/TagColor/TagColor.js +21 -19
- package/components/TagGroup/TagGroup.js +12 -12
- 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 +10 -10
- 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 +2 -2
- package/components/Tooltip/index.js +13 -5
- package/components/TopOverlay/TopOverlay.js +31 -31
- 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 +29 -29
- package/components/Typography/Text.js +10 -10
- package/components/Typography/Title.js +18 -18
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +7 -7
- package/components/UnorderedList/UnorderedListItem.js +11 -11
- 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 +231 -68
- 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-Dxr-IKuh.js +0 -101
- package/chunks/Card.module-DMUHU1y_.js +0 -17
- package/chunks/CheckboxTreeExtended.module-wyBivaJR.js +0 -14
- package/chunks/Confirm.module-BMe3cCgA.js +0 -15
- package/chunks/DropdownMobile.module-ChlziR7V.js +0 -23
- package/chunks/Footer.module-DdBlWFOs.js +0 -9
- package/chunks/FormFieldInput-Bb0syEep.js +0 -60
- package/chunks/HeaderLayoutSidebar.module-tndsgX78.js +0 -9
- package/chunks/HeaderTabs.module-T7IKL1xp.js +0 -9
- package/chunks/IslandAccordion.module-CLQD0a3_.js +0 -25
- package/chunks/IslandWidgetFooter.module-CPs8lx4X.js +0 -9
- package/chunks/IslandWidgetHeader.module-EYRdEBM6.js +0 -12
- package/chunks/LightBoxContent-6jOQAiJe.js +0 -56
- package/chunks/LightBoxControls.module-OIHtatwH.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-BB5P2oIx.js +0 -8
- package/chunks/ListItemTail.module-D9_VecUp.js +0 -12
- package/chunks/ListMasterFooter.module-Tad6_QUF.js +0 -10
- package/chunks/ModalWindow.module-CtWGFobP.js +0 -17
- package/chunks/Notification.module-1ONl_AQl.js +0 -20
- package/chunks/Overlay.module-BzUI6PNY.js +0 -18
- package/chunks/Page.module-BIAYhn48.js +0 -11
- package/chunks/SMSField.module-CshFlMUU.js +0 -16
- package/chunks/SliderExtendedMarks.module-BPt30iMn.js +0 -15
- package/chunks/SliderExtendedRail-Dc_iZlxS.js +0 -40
- package/chunks/StatusTracker.module-CTVX8mSd.js +0 -24
- package/chunks/TableFooter.module-CcIh2kO5.js +0 -14
- package/chunks/TabsExtended.module-DtrXq1jE.js +0 -16
- package/chunks/TabsLine.module-D5PBUMxf.js +0 -21
- package/chunks/TooltipDesktop.module-B2iSBrr1.js +0 -19
- package/chunks/TreeView.module-DEJX2JUM.js +0 -9
- package/chunks/utils-DHbotYsG.js +0 -73
- package/chunks/utils-DjwTklmD.js +0 -24
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var c = Object.defineProperty;
|
|
2
2
|
var d = (t, e, i) => e in t ? c(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i;
|
|
3
3
|
var s = (t, e, i) => d(t, typeof e != "symbol" ? e + "" : e, i);
|
|
4
|
-
import { i as l } from "../../chunks/vendor-
|
|
4
|
+
import { i as l } from "../../chunks/vendor-CuCj7SgU.js";
|
|
5
5
|
class u {
|
|
6
6
|
constructor() {
|
|
7
7
|
// Массив дочерних нод.
|
|
@@ -4,7 +4,7 @@ var o = (a, s, e) => l(a, typeof s != "symbol" ? s + "" : s, e);
|
|
|
4
4
|
import { jsxs as O, Fragment as h, jsx as m } from "react/jsx-runtime";
|
|
5
5
|
import g from "react";
|
|
6
6
|
import { ExpandAnimation as u } from "../../ExpandAnimation/ExpandAnimation.js";
|
|
7
|
-
import { u as f, c as B } from "../../../chunks/vendor-
|
|
7
|
+
import { u as f, c as B } from "../../../chunks/vendor-CuCj7SgU.js";
|
|
8
8
|
class E extends g.Component {
|
|
9
9
|
constructor(e) {
|
|
10
10
|
super(e);
|
|
@@ -4,9 +4,9 @@ import { EAlertType as e } from "../EAlertType.js";
|
|
|
4
4
|
import { alertTypeToClassNameMap as m } from "../AlertTypeUtils.js";
|
|
5
5
|
import { Text as y } from "../../Typography/Text.js";
|
|
6
6
|
import { EFontType as r, ETextSize as I } from "../../Typography/enums.js";
|
|
7
|
-
import { SystemStrokeStsIcon16 as
|
|
8
|
-
import { c as N } from "../../../chunks/vendor-
|
|
9
|
-
const _ = "
|
|
7
|
+
import { SystemStrokeStsIcon16 as S, ErrorStrokeStsIcon16 as f, WarningStrokeStsIcon16 as i, InfoStrokeStsIcon16 as R } from "@sberbusiness/icons-next";
|
|
8
|
+
import { c as N } from "../../../chunks/vendor-CuCj7SgU.js";
|
|
9
|
+
const _ = "alertContext__39244dc5", d = "alertContextText__12f63d18", E = "alertTypeError__0c713d1a", C = "alertTypeInfo__c59624b0", u = "alertTypeWarning__846b4ea4", A = "alertTypeSystem__1bb9921c", n = {
|
|
10
10
|
alertContext: _,
|
|
11
11
|
alertContextText: d,
|
|
12
12
|
alertTypeError: E,
|
|
@@ -20,9 +20,9 @@ const _ = "alertContext__868ac50d", d = "alertContextText__6efc8c73", E = "alert
|
|
|
20
20
|
case e.WARNING:
|
|
21
21
|
return /* @__PURE__ */ t(i, { paletteIndex: 2 });
|
|
22
22
|
case e.ERROR:
|
|
23
|
-
return /* @__PURE__ */ t(
|
|
23
|
+
return /* @__PURE__ */ t(f, { paletteIndex: 1 });
|
|
24
24
|
case e.SYSTEM:
|
|
25
|
-
return /* @__PURE__ */ t(
|
|
25
|
+
return /* @__PURE__ */ t(S, { paletteIndex: 4 });
|
|
26
26
|
}
|
|
27
27
|
}, W = {
|
|
28
28
|
[e.INFO]: r.INFO,
|
|
@@ -36,7 +36,7 @@ const _ = "alertContext__868ac50d", d = "alertContextText__6efc8c73", E = "alert
|
|
|
36
36
|
role: "alert",
|
|
37
37
|
className: N(n.alertContext, m[a](n), l),
|
|
38
38
|
...p,
|
|
39
|
-
"data-tx": "1.
|
|
39
|
+
"data-tx": "1.21.0",
|
|
40
40
|
ref: c,
|
|
41
41
|
children: [
|
|
42
42
|
s || O(a),
|
|
@@ -3,10 +3,10 @@ import P, { useState as n } from "react";
|
|
|
3
3
|
import { EAlertType as t } from "../EAlertType.js";
|
|
4
4
|
import { alertTypeToClassNameMap as k } from "../AlertTypeUtils.js";
|
|
5
5
|
import { ButtonIcon as v } from "../../Button/ButtonIcon.js";
|
|
6
|
-
import { s as r, A as i } from "../../../chunks/AlertProcessSpoiler-
|
|
6
|
+
import { s as r, A as i } from "../../../chunks/AlertProcessSpoiler-io5SjBK8.js";
|
|
7
7
|
import { AlertProcessContext as R } from "./AlertProcessContext.js";
|
|
8
8
|
import { CrossStrokeSrvIcon16 as E, DefaulticonStrokePrdIcon20 as T, SystemStrokeStsIcon20 as y, ErrorStrokeStsIcon20 as j, WarningStrokeStsIcon20 as w, InfoStrokeStsIcon20 as B } from "@sberbusiness/icons-next";
|
|
9
|
-
import { c as C } from "../../../chunks/vendor-
|
|
9
|
+
import { c as C } from "../../../chunks/vendor-CuCj7SgU.js";
|
|
10
10
|
const O = (o) => {
|
|
11
11
|
switch (o) {
|
|
12
12
|
case t.INFO:
|
|
@@ -38,7 +38,7 @@ const O = (o) => {
|
|
|
38
38
|
d
|
|
39
39
|
),
|
|
40
40
|
...f,
|
|
41
|
-
"data-tx": "1.
|
|
41
|
+
"data-tx": "1.21.0",
|
|
42
42
|
ref: u,
|
|
43
43
|
children: [
|
|
44
44
|
/* @__PURE__ */ e("div", { className: r.themeIcon, children: l || O(a) }),
|
|
@@ -3,8 +3,8 @@ import "react";
|
|
|
3
3
|
import "@sberbusiness/icons-next";
|
|
4
4
|
import "../../../Button/ButtonIcon.js";
|
|
5
5
|
import "../AlertProcessContext.js";
|
|
6
|
-
import { A as l } from "../../../../chunks/AlertProcessSpoiler-
|
|
7
|
-
import "../../../../chunks/vendor-
|
|
6
|
+
import { A as l } from "../../../../chunks/AlertProcessSpoiler-io5SjBK8.js";
|
|
7
|
+
import "../../../../chunks/vendor-CuCj7SgU.js";
|
|
8
8
|
export {
|
|
9
9
|
l as AlertProcessSpoiler
|
|
10
10
|
};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { jsxs as d, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { formatAmount as u } from "../../utils/amountUtils.js";
|
|
3
|
-
import { c as f } from "../../chunks/vendor-
|
|
4
|
-
const N = "
|
|
3
|
+
import { c as f } from "../../chunks/vendor-CuCj7SgU.js";
|
|
4
|
+
const N = "adaptive__5d1335e0", _ = {
|
|
5
5
|
adaptive: N
|
|
6
6
|
}, h = 14, v = ({
|
|
7
7
|
className: o,
|
|
8
8
|
value: r,
|
|
9
9
|
fractionLength: s,
|
|
10
|
-
currency:
|
|
10
|
+
currency: a,
|
|
11
11
|
currencyTitle: m,
|
|
12
12
|
adaptive: c,
|
|
13
|
-
dataTestId:
|
|
13
|
+
dataTestId: e,
|
|
14
14
|
...i
|
|
15
15
|
}) => {
|
|
16
16
|
let t = u(r, s);
|
|
17
17
|
t[0] == "-" && (t = t.replace("-", "−"));
|
|
18
18
|
const p = () => [
|
|
19
19
|
" ",
|
|
20
|
-
/* @__PURE__ */ n("span", { "data-test-id":
|
|
20
|
+
/* @__PURE__ */ n("span", { "data-test-id": e && `${e}__currencyName`, title: m, children: a }, "currencyName")
|
|
21
21
|
], l = f(
|
|
22
22
|
{
|
|
23
23
|
[_.adaptive]: !!c && t.length >= h
|
|
24
24
|
},
|
|
25
25
|
o
|
|
26
26
|
);
|
|
27
|
-
return /* @__PURE__ */ d("span", { className: l, ...i, "data-tx": "1.
|
|
28
|
-
/* @__PURE__ */ n("span", { "data-test-id":
|
|
29
|
-
|
|
27
|
+
return /* @__PURE__ */ d("span", { className: l, ...i, "data-tx": "1.21.0", children: [
|
|
28
|
+
/* @__PURE__ */ n("span", { "data-test-id": e && `${e}__amount`, children: t }),
|
|
29
|
+
a && p()
|
|
30
30
|
] });
|
|
31
31
|
};
|
|
32
32
|
v.displayName = "Amount";
|
|
@@ -7,7 +7,7 @@ import "../FormField/components/FormFieldCounter.js";
|
|
|
7
7
|
import "../FormField/components/FormFieldLabel.js";
|
|
8
8
|
import { FormFieldClear as _ } from "../FormField/components/FormFieldClear.js";
|
|
9
9
|
import "../FormField/components/FormFieldTarget.js";
|
|
10
|
-
import { F as k } from "../../chunks/FormFieldInput-
|
|
10
|
+
import { F as k } from "../../chunks/FormFieldInput-BXZLkCG-.js";
|
|
11
11
|
import "../FormField/components/FormFieldMaskedInput.js";
|
|
12
12
|
import "../FormField/components/FormFieldPostfix.js";
|
|
13
13
|
import "../FormField/components/FormFieldPrefix.js";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { EAvatarSize as
|
|
1
|
+
import { EAvatarSize as s } from "./enums.js";
|
|
2
2
|
import { jsx as m } from "react/jsx-runtime";
|
|
3
3
|
import l from "react";
|
|
4
|
-
import { c as r } from "../../chunks/vendor-
|
|
5
|
-
const _ = "
|
|
4
|
+
import { c as r } from "../../chunks/vendor-CuCj7SgU.js";
|
|
5
|
+
const _ = "avatar__542bc621", e = "xxs__11083ae2", n = "xs__6055ad5f", f = "sm__acb9c6eb", d = "md__beea1f10", i = "lg__44b514a6", v = "xl__ce41095b", b = "xxl__f765be04", a = {
|
|
6
6
|
avatar: _,
|
|
7
7
|
xxs: e,
|
|
8
|
-
xs:
|
|
8
|
+
xs: n,
|
|
9
9
|
sm: f,
|
|
10
|
-
md:
|
|
11
|
-
lg:
|
|
12
|
-
xl:
|
|
13
|
-
xxl:
|
|
10
|
+
md: d,
|
|
11
|
+
lg: i,
|
|
12
|
+
xl: v,
|
|
13
|
+
xxl: b
|
|
14
14
|
}, p = {
|
|
15
|
-
[
|
|
16
|
-
[
|
|
17
|
-
[
|
|
18
|
-
[
|
|
19
|
-
[
|
|
20
|
-
[
|
|
21
|
-
[
|
|
22
|
-
}, X = l.forwardRef(({ className: x, size: t, ...o }, c) => /* @__PURE__ */ m("div", { className: r(
|
|
15
|
+
[s.XXS]: a.xxs,
|
|
16
|
+
[s.XS]: a.xs,
|
|
17
|
+
[s.SM]: a.sm,
|
|
18
|
+
[s.MD]: a.md,
|
|
19
|
+
[s.LG]: a.lg,
|
|
20
|
+
[s.XL]: a.xl,
|
|
21
|
+
[s.XXL]: a.xxl
|
|
22
|
+
}, X = l.forwardRef(({ className: x, size: t, ...o }, c) => /* @__PURE__ */ m("div", { className: r(a.avatar, p[t], x), ...o, ref: c }));
|
|
23
23
|
X.displayName = "Avatar";
|
|
24
24
|
export {
|
|
25
25
|
X as Avatar
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { jsxs as l, jsx as
|
|
1
|
+
import { jsxs as l, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import c from "react";
|
|
3
|
-
import { c as g } from "../../chunks/vendor-
|
|
3
|
+
import { c as g } from "../../chunks/vendor-CuCj7SgU.js";
|
|
4
4
|
import { createSizeToClassNameMap as _ } from "../../utils/classNameMaps.js";
|
|
5
5
|
import { BadgeDot as i } from "./BadgeDot.js";
|
|
6
6
|
import { BadgeContent as f } from "./components/BadgeContent.js";
|
|
7
7
|
import { BadgePrefix as p } from "./components/BadgePrefix.js";
|
|
8
8
|
import { BadgePostfix as B } from "./components/BadgePostfix.js";
|
|
9
|
-
const b = "
|
|
9
|
+
const b = "badge__d67c6c50", P = "sm__959ed347", u = "md__8aef02e9", N = "lg__d3ec0f60", m = {
|
|
10
10
|
badge: b,
|
|
11
11
|
sm: P,
|
|
12
12
|
md: u,
|
|
13
13
|
lg: N
|
|
14
|
-
}, S = _(
|
|
14
|
+
}, S = _(m), h = Object.assign(
|
|
15
15
|
c.forwardRef(
|
|
16
|
-
({ children: t, className: s, size:
|
|
17
|
-
o ? /* @__PURE__ */
|
|
18
|
-
t ? /* @__PURE__ */
|
|
19
|
-
|
|
16
|
+
({ children: t, className: s, size: d, prefix: o, postfix: e, ...n }, r) => /* @__PURE__ */ l("span", { className: g(m.badge, S[d], s), ...n, ref: r, children: [
|
|
17
|
+
o ? /* @__PURE__ */ a(p, { children: o }) : null,
|
|
18
|
+
t ? /* @__PURE__ */ a(f, { size: d, noPaddingLeft: !!o, noPaddingRight: !!e, children: t }) : null,
|
|
19
|
+
e ? /* @__PURE__ */ a(B, { children: e }) : null
|
|
20
20
|
] })
|
|
21
21
|
),
|
|
22
22
|
{
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as _ } from "../../chunks/vendor-
|
|
4
|
-
import { createSizeToClassNameMap as
|
|
5
|
-
const r = "
|
|
2
|
+
import d from "react";
|
|
3
|
+
import { c as _ } from "../../chunks/vendor-CuCj7SgU.js";
|
|
4
|
+
import { createSizeToClassNameMap as c } from "../../utils/classNameMaps.js";
|
|
5
|
+
const r = "badgeDot__5351dfa3", f = "sm__959ed347", g = "md__8aef02e9", l = "lg__d3ec0f60", o = {
|
|
6
6
|
badgeDot: r,
|
|
7
|
-
sm:
|
|
8
|
-
md:
|
|
9
|
-
lg:
|
|
10
|
-
},
|
|
11
|
-
|
|
7
|
+
sm: f,
|
|
8
|
+
md: g,
|
|
9
|
+
lg: l
|
|
10
|
+
}, n = c(o), p = d.forwardRef(({ className: t, size: a, ...e }, s) => /* @__PURE__ */ m("span", { className: _(o.badgeDot, n[a], t), ...e, ref: s }));
|
|
11
|
+
p.displayName = "BadgeDot";
|
|
12
12
|
export {
|
|
13
|
-
|
|
13
|
+
p as BadgeDot
|
|
14
14
|
};
|
|
15
15
|
//# sourceMappingURL=BadgeDot.js.map
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
|
-
import { c } from "../../../chunks/vendor-
|
|
3
|
-
import { createSizeToClassNameMap as
|
|
4
|
-
const _ = "
|
|
2
|
+
import { c as i } from "../../../chunks/vendor-CuCj7SgU.js";
|
|
3
|
+
import { createSizeToClassNameMap as c } from "../../../utils/classNameMaps.js";
|
|
4
|
+
const _ = "badgeContent__902414bc", m = "sm__959ed347", f = "md__8aef02e9", P = "lg__d3ec0f60", l = "noPaddingLeft__46f63cba", r = "noPaddingRight__d4adbf49", n = {
|
|
5
5
|
badgeContent: _,
|
|
6
6
|
sm: m,
|
|
7
7
|
md: f,
|
|
8
8
|
lg: P,
|
|
9
|
-
noPaddingLeft:
|
|
10
|
-
noPaddingRight:
|
|
11
|
-
},
|
|
9
|
+
noPaddingLeft: l,
|
|
10
|
+
noPaddingRight: r
|
|
11
|
+
}, C = c(n), b = ({
|
|
12
12
|
children: t,
|
|
13
13
|
size: o,
|
|
14
14
|
noPaddingLeft: d,
|
|
15
|
-
noPaddingRight:
|
|
16
|
-
className:
|
|
15
|
+
noPaddingRight: e,
|
|
16
|
+
className: a,
|
|
17
17
|
...s
|
|
18
18
|
}) => /* @__PURE__ */ g(
|
|
19
19
|
"span",
|
|
20
20
|
{
|
|
21
|
-
className:
|
|
21
|
+
className: i(
|
|
22
22
|
n.badgeContent,
|
|
23
|
-
|
|
24
|
-
{ [n.noPaddingLeft]: d, [n.noPaddingRight]:
|
|
25
|
-
|
|
23
|
+
C[o],
|
|
24
|
+
{ [n.noPaddingLeft]: d, [n.noPaddingRight]: e },
|
|
25
|
+
a
|
|
26
26
|
),
|
|
27
27
|
...s,
|
|
28
28
|
children: t
|
|
29
29
|
}
|
|
30
30
|
);
|
|
31
|
-
|
|
31
|
+
b.displayName = "BadgeContent";
|
|
32
32
|
export {
|
|
33
|
-
|
|
33
|
+
b as BadgeContent
|
|
34
34
|
};
|
|
35
35
|
//# sourceMappingURL=BadgeContent.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as e } from "../../../chunks/vendor-
|
|
3
|
-
const i = "
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { c as e } from "../../../chunks/vendor-CuCj7SgU.js";
|
|
3
|
+
const i = "badgePostfix__068be51b", x = {
|
|
4
4
|
badgePostfix: i
|
|
5
5
|
}, f = ({
|
|
6
6
|
children: s,
|
|
7
7
|
className: o,
|
|
8
|
-
...
|
|
9
|
-
}) => /* @__PURE__ */
|
|
8
|
+
...t
|
|
9
|
+
}) => /* @__PURE__ */ a("span", { className: e(x.badgePostfix, o), ...t, children: s });
|
|
10
10
|
f.displayName = "BadgePostfix";
|
|
11
11
|
export {
|
|
12
12
|
f as BadgePostfix
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { c as
|
|
3
|
-
const
|
|
4
|
-
badgePrefix:
|
|
5
|
-
},
|
|
6
|
-
|
|
2
|
+
import { c as f } from "../../../chunks/vendor-CuCj7SgU.js";
|
|
3
|
+
const i = "badgePrefix__61e65ef0", x = {
|
|
4
|
+
badgePrefix: i
|
|
5
|
+
}, o = ({ children: e, className: a, ...s }) => /* @__PURE__ */ r("span", { className: f(x.badgePrefix, a), ...s, children: e });
|
|
6
|
+
o.displayName = "BadgePrefix";
|
|
7
7
|
export {
|
|
8
|
-
|
|
8
|
+
o as BadgePrefix
|
|
9
9
|
};
|
|
10
10
|
//# sourceMappingURL=BadgePrefix.js.map
|
package/components/Body/Body.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
const
|
|
5
|
-
body:
|
|
6
|
-
bodyInner:
|
|
7
|
-
}, m =
|
|
2
|
+
import t from "react";
|
|
3
|
+
import { c as a } from "../../chunks/vendor-CuCj7SgU.js";
|
|
4
|
+
const c = "body__4ce97122", y = "bodyInner__d5c20d2f", d = {
|
|
5
|
+
body: c,
|
|
6
|
+
bodyInner: y
|
|
7
|
+
}, m = t.forwardRef(({ children: e, className: r, ...s }, n) => /* @__PURE__ */ o("div", { className: a(d.body, r), ...s, "data-tx": "1.21.0", ref: n, children: /* @__PURE__ */ o("div", { className: d.bodyInner, children: e }) }));
|
|
8
8
|
m.displayName = "Body";
|
|
9
9
|
export {
|
|
10
10
|
m as Body
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { jsxs as m, jsx as
|
|
1
|
+
import { jsxs as m, jsx as y } from "react/jsx-runtime";
|
|
2
2
|
import k from "react";
|
|
3
|
-
import { c as p } from "../../chunks/vendor-
|
|
3
|
+
import { c as p } from "../../chunks/vendor-CuCj7SgU.js";
|
|
4
4
|
import { LoaderSmall as R } from "../Loader/LoaderSmall/LoaderSmall.js";
|
|
5
5
|
import { ELoaderSmallTheme as g } from "../Loader/LoaderSmall/enum.js";
|
|
6
6
|
import "../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
7
7
|
import { ButtonBase as C } from "./ButtonBase.js";
|
|
8
8
|
import { EButtonTheme as o } from "./enums.js";
|
|
9
9
|
import { EComponentSize as a } from "../../enums/EComponentSize.js";
|
|
10
|
-
const A = "
|
|
10
|
+
const A = "general__208fea75", B = "expanded__94e2c860", u = {
|
|
11
11
|
general: A,
|
|
12
12
|
expanded: B
|
|
13
|
-
}, D = "
|
|
13
|
+
}, D = "secondary__a3bc9244", T = "expanded__94e2c860", x = {
|
|
14
14
|
secondary: D,
|
|
15
15
|
expanded: T
|
|
16
|
-
}, G = "
|
|
16
|
+
}, G = "secondaryLight__7f33bdb5", I = "expanded__94e2c860", h = {
|
|
17
17
|
secondaryLight: G,
|
|
18
18
|
expanded: I
|
|
19
|
-
}, v = "
|
|
19
|
+
}, v = "danger__29e8f79a", O = "expanded__94e2c860", b = {
|
|
20
20
|
danger: v,
|
|
21
21
|
expanded: O
|
|
22
|
-
}, Y = "
|
|
22
|
+
}, Y = "link__0ad73dee", $ = "expanded__94e2c860", f = {
|
|
23
23
|
link: Y,
|
|
24
24
|
expanded: $
|
|
25
|
-
}, w = "
|
|
25
|
+
}, w = "button__718ea080", z = "sm__8c5104d6", M = "icon__27b9c578", j = "md__d2c5d8ca", H = "lg__0ede1311", K = "block__6279d3af", U = "content__fc00e72c", q = "loading__45e9a6b4", F = "loader__bd43f345", J = "hidden__5af1ac40", e = {
|
|
26
26
|
button: w,
|
|
27
27
|
sm: z,
|
|
28
28
|
icon: M,
|
|
@@ -54,8 +54,8 @@ const A = "general__246be0ae", B = "expanded__e10c5e84", u = {
|
|
|
54
54
|
};
|
|
55
55
|
case o.LINK:
|
|
56
56
|
return {
|
|
57
|
-
[
|
|
58
|
-
[
|
|
57
|
+
[f.link]: !0,
|
|
58
|
+
[f.expanded]: n
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
}, Q = (t) => {
|
|
@@ -68,30 +68,30 @@ const A = "general__246be0ae", B = "expanded__e10c5e84", u = {
|
|
|
68
68
|
return e.sm;
|
|
69
69
|
}
|
|
70
70
|
}, V = (t, n) => {
|
|
71
|
-
const
|
|
72
|
-
return /* @__PURE__ */
|
|
71
|
+
const d = [o.SECONDARY, o.SECONDARY_LIGHT].includes(t) ? g.BRAND : g.NEUTRAL;
|
|
72
|
+
return /* @__PURE__ */ y(R, { theme: d, size: n });
|
|
73
73
|
}, W = k.forwardRef((t, n) => {
|
|
74
|
-
const { children:
|
|
74
|
+
const { children: d, className: N, disabled: c, theme: r, size: l = a.MD, block: L, loading: s, icon: i, ...S } = t, { "aria-expanded": _ } = t, E = p(
|
|
75
75
|
e.button,
|
|
76
76
|
P(r, !!_),
|
|
77
77
|
Q(l),
|
|
78
|
-
{ [e.block]: !!L, [e.loading]: !!
|
|
79
|
-
{ [e.icon]: !!i && !
|
|
78
|
+
{ [e.block]: !!L, [e.loading]: !!s },
|
|
79
|
+
{ [e.icon]: !!i && !d },
|
|
80
80
|
// Классы для иконок, начало.
|
|
81
81
|
"hoverable",
|
|
82
82
|
{
|
|
83
83
|
active: !!_,
|
|
84
|
-
disabled: !!
|
|
84
|
+
disabled: !!c
|
|
85
85
|
},
|
|
86
86
|
// Классы для иконок, конец.
|
|
87
87
|
N
|
|
88
88
|
);
|
|
89
|
-
return /* @__PURE__ */ m(C, { className: E, tabIndex:
|
|
89
|
+
return /* @__PURE__ */ m(C, { className: E, tabIndex: s ? -1 : void 0, disabled: c, ...S, ref: n, children: [
|
|
90
90
|
/* @__PURE__ */ m("span", { className: e.content, children: [
|
|
91
91
|
i,
|
|
92
|
-
|
|
92
|
+
d
|
|
93
93
|
] }),
|
|
94
|
-
/* @__PURE__ */
|
|
94
|
+
/* @__PURE__ */ y("div", { className: p(e.loader, !s && e.hidden), children: V(r, l) })
|
|
95
95
|
] });
|
|
96
96
|
});
|
|
97
97
|
W.displayName = "Button";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import e from "react";
|
|
3
|
-
const r = e.forwardRef((t, o) => /* @__PURE__ */ a("button", { type: "button", ...t, "data-tx": "1.
|
|
3
|
+
const r = e.forwardRef((t, o) => /* @__PURE__ */ a("button", { type: "button", ...t, "data-tx": "1.21.0", ref: o }));
|
|
4
4
|
r.displayName = "ButtonBase";
|
|
5
5
|
export {
|
|
6
6
|
r as ButtonBase
|
|
@@ -3,7 +3,7 @@ import "./ButtonBase.js";
|
|
|
3
3
|
import "./ButtonIcon.js";
|
|
4
4
|
import { jsx as t, jsxs as B, Fragment as q } from "react/jsx-runtime";
|
|
5
5
|
import F, { useRef as I, useState as V, createElement as x } from "react";
|
|
6
|
-
import { c as w, u as J } from "../../chunks/vendor-
|
|
6
|
+
import { c as w, u as J } from "../../chunks/vendor-CuCj7SgU.js";
|
|
7
7
|
import { ButtonDropdownExtended as y } from "./ButtonDropdownExtended.js";
|
|
8
8
|
import { EButtonDotsTheme as u, EButtonTheme as d } from "./enums.js";
|
|
9
9
|
import { DotshorizontalStrokeSrvIcon32 as Q, DotshorizontalStrokeSrvIcon20 as L, CaretdownStrokeSrvIcon16 as X, CaretdownStrokeSrvIcon20 as Z, CaretdownStrokeSrvIcon24 as $ } from "@sberbusiness/icons-next";
|
|
@@ -17,21 +17,21 @@ import { DropdownMobileClose as co } from "../Dropdown/mobile/DropdownMobileClos
|
|
|
17
17
|
import { Text as ao } from "../Typography/Text.js";
|
|
18
18
|
import { ETextSize as so } from "../Typography/enums.js";
|
|
19
19
|
import { DropdownList as Y } from "../Dropdown/desktop/DropdownList.js";
|
|
20
|
-
import { EComponentSize as
|
|
21
|
-
const lo = "
|
|
20
|
+
import { EComponentSize as f } from "../../enums/EComponentSize.js";
|
|
21
|
+
const lo = "buttonDropdown__25691be9", io = "block__6279d3af", mo = "buttonDropdownTarget__4a9e3819", uo = "caretIcon__2970ea24", Do = "active__6263f5c5", fo = "buttonDropdownMenuItem__76c810d0", n = {
|
|
22
22
|
buttonDropdown: lo,
|
|
23
23
|
block: io,
|
|
24
24
|
buttonDropdownTarget: mo,
|
|
25
25
|
caretIcon: uo,
|
|
26
26
|
active: Do,
|
|
27
|
-
buttonDropdownMenuItem:
|
|
28
|
-
},
|
|
29
|
-
[
|
|
30
|
-
[
|
|
31
|
-
[
|
|
32
|
-
}, g = (
|
|
33
|
-
(
|
|
34
|
-
const { buttonAttributes: R, children: h, className: z, theme: b, size: s, options: C, selected: i, block: S, disabled: T, ...G } =
|
|
27
|
+
buttonDropdownMenuItem: fo
|
|
28
|
+
}, po = {
|
|
29
|
+
[f.SM]: /* @__PURE__ */ t(L, { paletteIndex: 0 }),
|
|
30
|
+
[f.MD]: /* @__PURE__ */ t(L, { paletteIndex: 0 }),
|
|
31
|
+
[f.LG]: /* @__PURE__ */ t(Q, { paletteIndex: 0 })
|
|
32
|
+
}, g = (p, c) => p === f.SM ? /* @__PURE__ */ t(X, { paletteIndex: c, className: n.caretIcon }) : p === f.MD ? /* @__PURE__ */ t(Z, { paletteIndex: c, className: n.caretIcon }) : /* @__PURE__ */ t($, { paletteIndex: c, className: n.caretIcon }), bo = F.forwardRef(
|
|
33
|
+
(p, c) => {
|
|
34
|
+
const { buttonAttributes: R, children: h, className: z, theme: b, size: s, options: C, selected: i, block: S, disabled: T, ...G } = p, k = I(null), v = I(null), W = w(n.buttonDropdown, { [n.block]: !!S }, z), [N, H] = V(), _ = I(J()), P = ({ opened: o, setOpened: r }) => {
|
|
35
35
|
const a = w(n.buttonDropdownTarget, "hoverable", {
|
|
36
36
|
[n.active]: o,
|
|
37
37
|
[n.block]: !!S
|
|
@@ -77,7 +77,7 @@ const lo = "buttonDropdown__0432a99e", io = "block__471eadc1", mo = "buttonDropd
|
|
|
77
77
|
"aria-activedescendant": N,
|
|
78
78
|
...R,
|
|
79
79
|
ref: O,
|
|
80
|
-
icon:
|
|
80
|
+
icon: po[s]
|
|
81
81
|
}
|
|
82
82
|
);
|
|
83
83
|
}, E = ({ opened: o, setOpened: r }) => () => r(!o), A = ({ opened: o, setOpened: r }) => (a) => {
|
|
@@ -3,12 +3,12 @@ import { useRef as f, useState as C, useCallback as N, useEffect as R } from "re
|
|
|
3
3
|
import { Dropdown as _ } from "../Dropdown/Dropdown.js";
|
|
4
4
|
import { isKey as w } from "../../utils/keyboard.js";
|
|
5
5
|
import { DropdownList as g } from "../Dropdown/desktop/DropdownList.js";
|
|
6
|
-
import { c as A } from "../../chunks/vendor-
|
|
7
|
-
const K = "
|
|
6
|
+
import { c as A } from "../../chunks/vendor-CuCj7SgU.js";
|
|
7
|
+
const K = "buttonDropdownExtended__f4ba3f48", S = "buttonDropdownExtendedBlock__6a55a8d3", E = {
|
|
8
8
|
buttonDropdownExtended: K,
|
|
9
9
|
buttonDropdownExtendedBlock: S
|
|
10
10
|
}, D = (s) => {
|
|
11
|
-
const { className:
|
|
11
|
+
const { className: v, opened: x, setOpened: c, renderButton: b, renderDropdown: k, dropdownRef: l, closeOnTab: p, ...L } = s, u = f(null), m = f(s.opened !== void 0), [O, y] = C((s.opened === void 0, !1)), e = m.current ? !!x : O, o = N(
|
|
12
12
|
(t) => {
|
|
13
13
|
if (m.current) {
|
|
14
14
|
c && c(t);
|
|
@@ -35,9 +35,9 @@ const K = "buttonDropdownExtended__9d2b747b", S = "buttonDropdownExtendedBlock__
|
|
|
35
35
|
document.removeEventListener("keydown", t), document.removeEventListener("mousedown", d), document.removeEventListener("touchstart", d);
|
|
36
36
|
};
|
|
37
37
|
}, [e, p, l, o, u]);
|
|
38
|
-
const B = A(E.buttonDropdownExtended,
|
|
38
|
+
const B = A(E.buttonDropdownExtended, v);
|
|
39
39
|
return /* @__PURE__ */ h("div", { className: B, ref: u, ...L, children: [
|
|
40
|
-
|
|
40
|
+
b({ opened: e, setOpened: o }),
|
|
41
41
|
k({
|
|
42
42
|
className: E.buttonDropdownExtendedBlock,
|
|
43
43
|
opened: e,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import u from "react";
|
|
3
|
-
import { c as m } from "../../chunks/vendor-
|
|
4
|
-
import { EButtonIconShape as
|
|
5
|
-
const p = "
|
|
3
|
+
import { c as m } from "../../chunks/vendor-CuCj7SgU.js";
|
|
4
|
+
import { EButtonIconShape as o } from "./enums.js";
|
|
5
|
+
const p = "buttonIcon__903738d5", I = "circle__7f132175", b = "squircle__b42c1e43", t = {
|
|
6
6
|
buttonIcon: p,
|
|
7
7
|
circle: I,
|
|
8
8
|
squircle: b
|
|
9
9
|
}, f = {
|
|
10
|
-
[
|
|
11
|
-
[
|
|
10
|
+
[o.SQUIRCLE]: t.squircle,
|
|
11
|
+
[o.CIRCLE]: t.circle
|
|
12
12
|
}, _ = u.forwardRef(
|
|
13
|
-
({ className: e, disabled:
|
|
14
|
-
const l = m(
|
|
13
|
+
({ className: e, disabled: c, shape: n = o.SQUIRCLE, active: s, ...r }, a) => {
|
|
14
|
+
const l = m(t.buttonIcon, f[n], "hoverable", e, {
|
|
15
15
|
active: !!s,
|
|
16
|
-
disabled: !!
|
|
16
|
+
disabled: !!c
|
|
17
17
|
});
|
|
18
|
-
return /* @__PURE__ */ i("button", { type: "button", className: l, disabled:
|
|
18
|
+
return /* @__PURE__ */ i("button", { type: "button", className: l, disabled: c, ...r, ref: a });
|
|
19
19
|
}
|
|
20
20
|
);
|
|
21
21
|
_.displayName = "ButtonIcon";
|
|
@@ -2,7 +2,7 @@ var M = Object.defineProperty;
|
|
|
2
2
|
var H = (m, d, t) => d in m ? M(m, d, { enumerable: !0, configurable: !0, writable: !0, value: t }) : m[d] = t;
|
|
3
3
|
var p = (m, d, t) => H(m, typeof d != "symbol" ? d + "" : d, t);
|
|
4
4
|
import { jsx as h, jsxs as S } from "react/jsx-runtime";
|
|
5
|
-
import { u as I, c as R } from "../../chunks/vendor-
|
|
5
|
+
import { u as I, c as R } from "../../chunks/vendor-CuCj7SgU.js";
|
|
6
6
|
import V from "react";
|
|
7
7
|
import D from "moment";
|
|
8
8
|
import { globalLimitRange as _, dateFormatYYYYMMDD as O } from "../../consts/DateConst.js";
|
|
@@ -13,7 +13,7 @@ import { CalendarView as N } from "./components/CalendarView.js";
|
|
|
13
13
|
import { CalendarFooter as E } from "./components/CalendarFooter.js";
|
|
14
14
|
import { CalendarFooterButton as v } from "./components/CalendarFooterButton.js";
|
|
15
15
|
import { parsePickedDate as f, formatDate as P, getHeader as j } from "./utils.js";
|
|
16
|
-
const q = "
|
|
16
|
+
const q = "calendar__7b7f0d00", L = "adaptive__3fca7f0a", g = {
|
|
17
17
|
calendar: q,
|
|
18
18
|
adaptive: L
|
|
19
19
|
};
|
|
@@ -137,7 +137,7 @@ class k extends V.PureComponent {
|
|
|
137
137
|
} = this.props, { viewMode: A, viewDate: B, header: Y } = this.state, b = R(g.calendar, {
|
|
138
138
|
[g.adaptive]: !!this.props.adaptiveMode
|
|
139
139
|
}), F = f(this.props.pickedDate, t);
|
|
140
|
-
return /* @__PURE__ */ h("div", { className: b, "data-tx": "1.
|
|
140
|
+
return /* @__PURE__ */ h("div", { className: b, "data-tx": "1.21.0", children: /* @__PURE__ */ S(
|
|
141
141
|
w.Provider,
|
|
142
142
|
{
|
|
143
143
|
value: {
|
|
@@ -8,7 +8,7 @@ import { EButtonIconShape as E, EButtonTheme as L } from "../../Button/enums.js"
|
|
|
8
8
|
import { ECalendarViewMode as e } from "../enums.js";
|
|
9
9
|
import { globalLimitRange as O } from "../../../consts/DateConst.js";
|
|
10
10
|
import { EComponentSize as V } from "../../../enums/EComponentSize.js";
|
|
11
|
-
const U = "
|
|
11
|
+
const U = "calendarControls__948f6508", j = {
|
|
12
12
|
calendarControls: U
|
|
13
13
|
}, X = ({
|
|
14
14
|
children: m,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
const e = "
|
|
2
|
+
const e = "calendarFooter__52b88120", r = {
|
|
3
3
|
calendarFooter: e
|
|
4
4
|
}, t = ({ children: o }) => /* @__PURE__ */ a("div", { className: r.calendarFooter, children: o });
|
|
5
5
|
t.displayName = "CalendarFooter";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as U, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { c as H } from "../../../chunks/vendor-
|
|
2
|
+
import { c as H } from "../../../chunks/vendor-CuCj7SgU.js";
|
|
3
3
|
import { useContext as k, useCallback as O, useState as L, useEffect as q } from "react";
|
|
4
4
|
import c from "moment";
|
|
5
5
|
import { isDateOutOfRange as g, isDayDisabled as z } from "../utils.js";
|
|
6
6
|
import { WEEKDAYS_SET as J } from "../../../consts/DateConst.js";
|
|
7
7
|
import { CalendarViewContext as Q } from "../CalendarViewContext.js";
|
|
8
|
-
import { s as y, C as X } from "../../../chunks/CalendarViewItem-
|
|
8
|
+
import { s as y, C as X } from "../../../chunks/CalendarViewItem-CW39vnxU.js";
|
|
9
9
|
import { isKey as d } from "../../../utils/keyboard.js";
|
|
10
10
|
import { ECalendarDateMarkType as Z, ECalendarViewMode as E } from "../enums.js";
|
|
11
11
|
import { CalendarContext as ee } from "../CalendarContext.js";
|