@sberbusiness/triplex-next 0.14.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/{AlertProcessSpoiler-Clc5Pcoq.js → AlertProcessSpoiler-DwZ5kXLz.js} +9 -9
- package/chunks/{CalendarViewItem-BXB-l14w.js → CalendarViewItem-C4iZEwoX.js} +26 -26
- package/chunks/Card.module-DnZ_SmT7.js +17 -0
- package/chunks/CheckboxTreeExtended.module-CRE6yTt5.js +14 -0
- package/chunks/{Chip-CY6jm0GS.js → Chip-CQvFfbck.js} +15 -15
- package/chunks/Confirm.module-BrVl-yob.js +15 -0
- package/chunks/{DropdownListItem-BsD2UckS.js → DropdownListItem-CcCakDyr.js} +18 -18
- package/chunks/DropdownMobile.module-af6OVs0G.js +23 -0
- package/chunks/Footer.module-tAG-SN8m.js +9 -0
- package/chunks/FormFieldInput-M-BWeUyG.js +60 -0
- package/chunks/HeaderLayoutSidebar.module-Dx11MAi3.js +9 -0
- package/chunks/HeaderTabs.module-HGiK1PZg.js +9 -0
- package/chunks/{HeaderTitle.module-DcwCxesK.js → HeaderTitle.module-BVJYOrCs.js} +2 -2
- package/chunks/IslandAccordion.module-BRmaipCD.js +25 -0
- package/chunks/IslandWidgetFooter.module-BXn6GbbA.js +9 -0
- package/chunks/IslandWidgetHeader.module-D3zGpkS_.js +12 -0
- package/chunks/{LightBoxContent-3oHJFM6-.js → LightBoxContent-MLggVllJ.js} +10 -10
- package/chunks/LightBoxControls.module-zJ2jYB7p.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-DjqVi-v8.js +8 -0
- package/chunks/{ListItemControlsButton-DQyZxkWl.js → ListItemControlsButton-BShMlm2B.js} +9 -9
- package/chunks/ListItemTail.module-BBVRXBTR.js +12 -0
- package/chunks/ListMasterFooter.module-8-LOEhYM.js +10 -0
- package/chunks/ModalWindow.module-uM-PCOaZ.js +17 -0
- package/chunks/Notification.module-B7fXFvwU.js +21 -0
- package/chunks/Overlay.module-Dtk3whPQ.js +18 -0
- package/chunks/Page.module-CoeirpZV.js +11 -0
- package/chunks/{RightBorderArrow-NMZgNz0e.js → RightBorderArrow-CxMqoJOA.js} +10 -10
- package/chunks/SMSField.module-wdtLV1SH.js +16 -0
- package/chunks/SliderExtendedMarks.module-ll3UD_YO.js +15 -0
- package/chunks/{SliderExtendedRail-w5E8mOCQ.js → SliderExtendedRail-BdLhibqT.js} +7 -7
- package/chunks/StatusTracker.module-DrbWwUtn.js +24 -0
- package/chunks/SuggestFieldMobileDropdownHint-C5OdORCu.js +14 -0
- package/chunks/TableFooter.module-BDsK8o22.js +14 -0
- package/chunks/TabsExtended.module-jfDq5xSa.js +16 -0
- package/chunks/TabsLine.module-BnotsPff.js +21 -0
- package/chunks/TooltipDesktop.module-CAL6IPaE.js +19 -0
- package/chunks/TreeView.module-BYyI_lNS.js +9 -0
- package/chunks/{UploadZoneInput-DxpDQJSy.js → UploadZoneInput-DRVoNz0G.js} +2 -2
- package/chunks/constants-C0-h2pRq.js +57 -0
- package/chunks/utils-Bdg4Vfo1.js +24 -0
- package/chunks/{utils-CXsSOP27.js → utils-DYe-VisL.js} +9 -9
- package/chunks/utils-DykNYdbk.js +73 -0
- package/chunks/utils-qhEFBj7O.js +20 -0
- package/components/Alert/AlertContext/AlertContext.js +12 -12
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +6 -6
- package/components/AmountField/AmountField.js +26 -26
- package/components/Avatar/Avatar.js +16 -16
- package/components/Badge/Badge.js +17 -0
- package/components/Badge/index.js +5 -0
- package/components/Badge/types.js +2 -0
- package/components/Body/Body.js +8 -8
- package/components/Button/Button.js +30 -30
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +11 -11
- package/components/Button/ButtonDropdownExtended.js +7 -7
- package/components/Button/ButtonIcon.js +10 -10
- package/components/Calendar/Calendar.js +2 -2
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +1 -1
- package/components/Calendar/components/CalendarViewItem.js +1 -1
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +10 -10
- package/components/Card/CardStatic.js +2 -2
- package/components/Card/components/CardContent/CardContent.js +1 -1
- package/components/Card/components/CardContent/components/CardContentBody.js +1 -1
- package/components/Card/components/CardContent/components/CardContentFooter.js +1 -1
- package/components/Card/components/CardContent/components/CardContentHeader.js +1 -1
- package/components/Card/components/CardMedia.js +1 -1
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +4 -4
- package/components/Checkbox/Checkbox.js +15 -15
- package/components/Checkbox/CheckboxXGroup.js +13 -13
- package/components/Checkbox/CheckboxYGroup.js +6 -6
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +1 -1
- package/components/Chip/Chip.js +1 -1
- package/components/Chip/ChipClearButton.js +5 -5
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +8 -8
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +6 -6
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +6 -6
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +6 -6
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +15 -15
- package/components/Col/Col.js +134 -134
- package/components/CollapsableTree/components/CollapsableTreeNode.js +15 -15
- package/components/Confirm/Confirm.js +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +1 -1
- package/components/Confirm/components/ConfirmContent.js +1 -1
- package/components/Confirm/components/ConfirmContentSubTitle.js +5 -5
- package/components/Confirm/components/ConfirmContentTitle.js +1 -1
- package/components/Confirm/components/ConfirmControls.js +1 -1
- package/components/DateField/DateField.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +7 -7
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +7 -7
- package/components/DateRange/DateRange.js +11 -11
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/DesignTokensComponents.js +88 -86
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +92 -90
- package/components/DesignTokens/components/Badge.js +9 -0
- package/components/DesignTokens/components/Dropdown.js +3 -3
- package/components/DesignTokens/components/DropdownMobileList.js +2 -2
- package/components/DesignTokens/components/Typography.js +35 -2
- package/components/DesignTokens/components/index.js +150 -147
- package/components/Divider/Divider.js +20 -20
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +1 -1
- package/components/Dropdown/desktop/DropdownDesktop.js +65 -64
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +35 -35
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +4 -4
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +5 -5
- package/components/ExpandAnimation/ExpandAnimation.js +1 -1
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +78 -74
- package/components/FormField/components/FormFieldClear.js +8 -8
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +3 -3
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +12 -12
- package/components/FormField/components/FormFieldMaskedInput.js +28 -28
- package/components/FormField/components/FormFieldPostfix.js +8 -8
- package/components/FormField/components/FormFieldPrefix.js +7 -7
- package/components/FormField/components/FormFieldTarget.js +23 -23
- package/components/FormField/components/FormFieldTextarea.js +14 -14
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +1 -1
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +1 -1
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +1 -1
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +2 -2
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +87 -72
- package/components/IslandWidget/IslandWidget.js +68 -37
- package/components/IslandWidget/IslandWidgetContext.js +5 -5
- package/components/IslandWidget/IslandWidgetLayoutContext.js +10 -0
- package/components/IslandWidget/components/IslandWidgetBody.js +7 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +11 -11
- package/components/IslandWidget/components/IslandWidgetFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +28 -10
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +4 -4
- package/components/LightBox/LightBox.js +5 -5
- package/components/LightBox/LightBoxContent.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxClose.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxControls.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxNext.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +19 -19
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +8 -8
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +7 -7
- package/components/Link/Link.js +23 -23
- package/components/List/List.js +3 -3
- package/components/List/components/ListEmptyState.js +5 -5
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +8 -8
- package/components/List/components/ListItemControls.js +1 -1
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +1 -1
- package/components/List/components/ListItemSelectable.js +3 -3
- package/components/List/components/ListItemTable.js +8 -8
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +4 -4
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +5 -5
- 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 +5 -5
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +7 -7
- package/components/ListMaster/components/SelectionControls.js +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +8 -8
- package/components/Loader/LoaderSmall/LoaderSmall.js +6 -6
- package/components/LoaderScreen/LoaderScreen.js +13 -13
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +12 -12
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +1 -1
- package/components/ModalWindow/components/ModalWindowClose.js +8 -8
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +1 -1
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +6 -6
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyContent.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +1 -1
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +1 -1
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NotificationIcon/NotificationIcon.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +2 -2
- package/components/OrderedList/OrderedListItem.js +10 -10
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayMask.js +1 -1
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +6 -6
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/Pagination.js +4 -4
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +1 -1
- package/components/Pagination/components/PaginationPageEllipsis.js +4 -4
- package/components/Pagination/components/PaginationSelect.js +26 -30
- package/components/Radio/Radio.js +19 -19
- package/components/Radio/RadioXGroup.js +12 -12
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +10 -10
- package/components/SMSField/SMSField.js +2 -2
- package/components/SMSField/components/RefreshIcon.js +1 -1
- package/components/SMSField/components/SMSFieldInput.js +2 -2
- package/components/SMSField/components/SMSFieldRefresh.js +1 -1
- package/components/SMSField/components/SMSFieldSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +4 -4
- package/components/SegmentedControl/SegmentedControlSegment.js +12 -12
- package/components/SelectExtendedField/SelectExtendedField.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +13 -13
- package/components/Skeleton/Skeleton.js +10 -10
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +7 -7
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +1 -1
- package/components/SliderExtended/components/SliderExtendedRail.js +1 -1
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +8 -8
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +21 -21
- package/components/SmallInput/SmallInput.js +4 -4
- package/components/Spoiler/Spoiler.js +7 -7
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +5 -5
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +1 -1
- package/components/StatusTracker/components/StatusTrackerDescription.js +7 -7
- package/components/StatusTracker/components/StatusTrackerFooter.js +1 -1
- package/components/StatusTracker/components/StatusTrackerHeader.js +1 -1
- package/components/StatusTracker/components/StatusTrackerMedia.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatus.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +7 -7
- package/components/StatusTracker/components/StatusTrackerTitle.js +7 -7
- package/components/Step/Step.js +7 -7
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +10 -10
- package/components/Stepper/StepperExtended.js +1 -1
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperWrapper.js +4 -4
- package/components/Suggest/Suggest.js +52 -89
- package/components/Suggest/SuggestContext.js +4 -7
- package/components/Suggest/SuggestMobileDropdownContent.js +20 -20
- package/components/Suggest/useSuggest.js +64 -0
- package/components/SuggestField/SuggestField.js +44 -47
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +132 -133
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +5 -5
- package/components/SuggestField/index.js +8 -10
- package/components/SuggestField/mobile/SuggestFieldMobile.js +94 -75
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +26 -26
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +4 -4
- package/components/SuggestField/mobile/index.js +4 -6
- package/components/SwipeableArea/SwipeableArea.js +2 -2
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +17 -17
- package/components/Table/NoColumns.js +1 -1
- package/components/Table/PaginationPanel.js +2 -2
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +7 -7
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +7 -7
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +5 -5
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +1 -1
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +1 -1
- package/components/Table/TabsLinePanelLinks.js +5 -5
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +16 -16
- package/components/TabsExtended/TabsExtended.js +2 -2
- package/components/TabsExtended/components/TabsExtendedContent.js +1 -1
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTab.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabButton.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +1 -1
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +1 -1
- package/components/TabsLine/components/TabsLineDesktop.js +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +8 -8
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +10 -10
- package/components/Tag/Tag.js +29 -29
- package/components/TagColor/TagColor.js +8 -8
- package/components/TagGroup/TagGroup.js +15 -15
- package/components/TextField/TextField.js +1 -1
- package/components/TextField/TextFieldBase.js +25 -30
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +3 -3
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +1 -1
- package/components/Tooltip/components/mobile/TooltipMobile.js +6 -6
- package/components/TopOverlay/TopOverlay.js +22 -22
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Typography/Caption.js +41 -43
- package/components/Typography/Text.js +44 -46
- package/components/Typography/Title.js +45 -47
- package/components/Typography/constants.js +6 -0
- package/components/Typography/enums.js +9 -8
- package/components/Typography/index.js +15 -16
- package/components/UnorderedList/UnorderedList.js +6 -6
- package/components/UnorderedList/UnorderedListItem.js +10 -10
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +539 -540
- package/index.d.ts +72 -108
- package/index.js +588 -589
- package/package.json +5 -1
- package/styles/triplex-next.css +546 -534
- package/chunks/Card.module-Cu7AW6wF.js +0 -17
- package/chunks/CheckboxTreeExtended.module-C2bEprSb.js +0 -14
- package/chunks/Confirm.module-OZDQwZ76.js +0 -15
- package/chunks/DropdownMobile.module-DyAN0fdk.js +0 -23
- package/chunks/Footer.module-CNLRKuaO.js +0 -9
- package/chunks/FormFieldInput-fdQkON04.js +0 -60
- package/chunks/HeaderLayoutSidebar.module-D6JKqqZC.js +0 -9
- package/chunks/HeaderTabs.module-bgwZzpN5.js +0 -9
- package/chunks/IslandAccordion.module-CkwZRvz0.js +0 -25
- package/chunks/IslandWidgetFooter.module-CRDSENKS.js +0 -9
- package/chunks/IslandWidgetHeader.module-CplPMePk.js +0 -9
- package/chunks/LightBoxControls.module-BiErhmuy.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-B1Ry_HK0.js +0 -8
- package/chunks/ListItemTail.module-BcXdd7Tg.js +0 -12
- package/chunks/ListMasterFooter.module-IIuFg261.js +0 -10
- package/chunks/ModalWindow.module-BxpQ7u7J.js +0 -17
- package/chunks/Notification.module-Dd05nJZX.js +0 -21
- package/chunks/Overlay.module-nyoFWXgt.js +0 -18
- package/chunks/Page.module-COesJT7Q.js +0 -11
- package/chunks/SMSField.module-CyHqtrvG.js +0 -16
- package/chunks/SliderExtendedMarks.module-2LnzmFbF.js +0 -15
- package/chunks/StatusTracker.module-4qTM1xYQ.js +0 -24
- package/chunks/SuggestFieldMobileDropdownHint-Bu9hDMWX.js +0 -15
- package/chunks/TableFooter.module-w1swDJka.js +0 -14
- package/chunks/TabsExtended.module-tx9R1r2s.js +0 -16
- package/chunks/TabsLine.module-DySAqOh5.js +0 -21
- package/chunks/TooltipDesktop.module-CVyAe5HN.js +0 -19
- package/chunks/TreeView.module-4qMoe0gI.js +0 -9
- package/chunks/utils-BqO-7PCm.js +0 -20
- package/chunks/utils-Clzm2Vel.js +0 -73
- package/chunks/utils-Dtu8f6BX.js +0 -24
- package/chunks/utils-H2e9tc3r.js +0 -36
- package/components/SuggestField/SuggestFieldTarget.js +0 -70
- package/components/SuggestField/SuggestFieldTargetPostfix.js +0 -28
- package/components/SuggestField/mobile/SuggestFieldMobileTarget.js +0 -30
- package/components/Typography/utils.js +0 -6
|
@@ -3,7 +3,7 @@ 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-
|
|
6
|
+
import { A as l } from "../../../../chunks/AlertProcessSpoiler-DwZ5kXLz.js";
|
|
7
7
|
import "../../../../chunks/vendor-CalMVkfj.js";
|
|
8
8
|
export {
|
|
9
9
|
l as AlertProcessSpoiler
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsxs as d, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { formatAmount as u } from "../../utils/amountUtils.js";
|
|
3
3
|
import { c as f } from "../../chunks/vendor-CalMVkfj.js";
|
|
4
|
-
const N = "
|
|
4
|
+
const N = "adaptive__6dbab407", _ = {
|
|
5
5
|
adaptive: N
|
|
6
6
|
}, h = 14, v = ({
|
|
7
7
|
className: o,
|
|
8
8
|
value: r,
|
|
9
9
|
fractionLength: s,
|
|
10
10
|
currency: e,
|
|
11
|
-
currencyTitle:
|
|
12
|
-
adaptive:
|
|
11
|
+
currencyTitle: m,
|
|
12
|
+
adaptive: c,
|
|
13
13
|
dataTestId: a,
|
|
14
14
|
...i
|
|
15
15
|
}) => {
|
|
@@ -17,14 +17,14 @@ const N = "adaptive__816cbbcc", _ = {
|
|
|
17
17
|
t[0] == "-" && (t = t.replace("-", "−"));
|
|
18
18
|
const p = () => [
|
|
19
19
|
" ",
|
|
20
|
-
/* @__PURE__ */ n("span", { "data-test-id": a && `${a}__currencyName`, title:
|
|
20
|
+
/* @__PURE__ */ n("span", { "data-test-id": a && `${a}__currencyName`, title: m, children: e }, "currencyName")
|
|
21
21
|
], l = f(
|
|
22
22
|
{
|
|
23
|
-
[_.adaptive]: !!
|
|
23
|
+
[_.adaptive]: !!c && t.length >= h
|
|
24
24
|
},
|
|
25
25
|
o
|
|
26
26
|
);
|
|
27
|
-
return /* @__PURE__ */ d("span", { className: l, ...i, "data-tx": "0.
|
|
27
|
+
return /* @__PURE__ */ d("span", { className: l, ...i, "data-tx": "0.15.0", children: [
|
|
28
28
|
/* @__PURE__ */ n("span", { "data-test-id": a && `${a}__amount`, children: t }),
|
|
29
29
|
e && p()
|
|
30
30
|
] });
|
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
import { jsx as l, jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { TextFieldBase as
|
|
1
|
+
import { jsx as l, jsxs as p } from "react/jsx-runtime";
|
|
2
|
+
import h, { useRef as s, useLayoutEffect as v } from "react";
|
|
3
|
+
import { TextFieldBase as I } from "../TextField/TextFieldBase.js";
|
|
4
4
|
import "../FormField/FormField.js";
|
|
5
5
|
import "../FormField/components/FormFieldDescription.js";
|
|
6
6
|
import "../FormField/components/FormFieldCounter.js";
|
|
7
7
|
import "../FormField/components/FormFieldLabel.js";
|
|
8
|
-
import { FormFieldClear as
|
|
8
|
+
import { FormFieldClear as k } from "../FormField/components/FormFieldClear.js";
|
|
9
9
|
import "../FormField/components/FormFieldTarget.js";
|
|
10
|
-
import { F as w } from "../../chunks/FormFieldInput-
|
|
10
|
+
import { F as w } from "../../chunks/FormFieldInput-M-BWeUyG.js";
|
|
11
11
|
import "../FormField/components/FormFieldMaskedInput.js";
|
|
12
12
|
import "../FormField/components/FormFieldPostfix.js";
|
|
13
13
|
import "../FormField/components/FormFieldPrefix.js";
|
|
14
14
|
import "../FormField/components/FormFieldTextarea.js";
|
|
15
15
|
import { EFormFieldStatus as A } from "../FormField/enums.js";
|
|
16
|
-
import "../Typography/
|
|
17
|
-
import { Text as B } from "../Typography/Text.js";
|
|
16
|
+
import { EFontType as F, ETextSize as B } from "../Typography/enums.js";
|
|
18
17
|
import "../Typography/Caption.js";
|
|
19
|
-
import {
|
|
18
|
+
import { Text as R } from "../Typography/Text.js";
|
|
19
|
+
import "../Typography/Title.js";
|
|
20
20
|
import { AmountBaseInputCore as V } from "./AmountBaseInputCore.js";
|
|
21
21
|
import { setCaretPosition as _ } from "../../utils/inputUtils.js";
|
|
22
22
|
import { createPlaceholder as K, setFallbackCaret as L } from "./utils.js";
|
|
23
|
-
const oe =
|
|
24
|
-
({ inputProps: r, currency: i, postfix:
|
|
25
|
-
const { status: y, "data-test-id": n } =
|
|
26
|
-
e.current === void 0 && (e.current = new V(u, o)),
|
|
23
|
+
const oe = h.forwardRef(
|
|
24
|
+
({ inputProps: r, currency: i, postfix: g, maxIntegerDigits: u = 16, fractionDigits: o = 2, onClear: d, ...f }, a) => {
|
|
25
|
+
const { status: y, "data-test-id": n } = f, S = r.placeholder || K(o), m = s(null), e = s();
|
|
26
|
+
e.current === void 0 && (e.current = new V(u, o)), v(() => {
|
|
27
27
|
e.current && m.current == document.activeElement && _(m.current, Math.max(e.current.caret, 0));
|
|
28
28
|
}, [r.value]);
|
|
29
29
|
const E = () => e.current ? ((r.value != e.current.value || u != e.current.maxIntegerDigits || o != e.current.fractionDigits) && (e.current.maxIntegerDigits = u, e.current.fractionDigits = o, e.current.apply(r.value, r.value.length)), e.current.cache.formattedValue = e.current.formattedValue, e.current.formattedValue) : "", C = (t) => {
|
|
30
30
|
if (!e.current) return;
|
|
31
31
|
const c = t.target.selectionStart ?? t.target.value.length;
|
|
32
32
|
e.current.apply(t.target.value, c), L(t.target, e.current, o), r.onChange(e.current.value);
|
|
33
|
-
},
|
|
33
|
+
}, x = (t) => {
|
|
34
34
|
var c;
|
|
35
35
|
e.current && (e.current.cache.key = t.key, (c = r.onKeyDown) == null || c.call(r, t));
|
|
36
|
-
},
|
|
36
|
+
}, D = (t) => {
|
|
37
37
|
var c;
|
|
38
38
|
e.current && (e.current.cache.key = "", e.current.cache.selectionStart = t.currentTarget.selectionStart, e.current.cache.selectionEnd = t.currentTarget.selectionEnd, e.current.cache.selectionDirection = t.currentTarget.selectionDirection, (c = r.onSelect) == null || c.call(r, t));
|
|
39
|
-
},
|
|
39
|
+
}, T = (t) => {
|
|
40
40
|
m.current = t, typeof a == "function" ? a(t) : a && (a.current = t);
|
|
41
41
|
};
|
|
42
42
|
return /* @__PURE__ */ l(
|
|
43
|
-
|
|
43
|
+
I,
|
|
44
44
|
{
|
|
45
|
-
postfix: /* @__PURE__ */
|
|
46
|
-
|
|
45
|
+
postfix: /* @__PURE__ */ p(h.Fragment, { children: [
|
|
46
|
+
d !== void 0 && /* @__PURE__ */ l(k, { onClick: d }),
|
|
47
47
|
i !== void 0 && /* @__PURE__ */ l(
|
|
48
|
-
|
|
48
|
+
R,
|
|
49
49
|
{
|
|
50
|
-
size:
|
|
51
|
-
type: y !== A.DISABLED ?
|
|
50
|
+
size: B.B2,
|
|
51
|
+
type: y !== A.DISABLED ? F.SECONDARY : F.DISABLED,
|
|
52
52
|
"data-test-id": n && `${n}__unit`,
|
|
53
53
|
children: i
|
|
54
54
|
}
|
|
55
55
|
),
|
|
56
|
-
|
|
56
|
+
g
|
|
57
57
|
] }),
|
|
58
|
-
...
|
|
58
|
+
...f,
|
|
59
59
|
children: /* @__PURE__ */ l(
|
|
60
60
|
w,
|
|
61
61
|
{
|
|
@@ -65,10 +65,10 @@ const oe = s.forwardRef(
|
|
|
65
65
|
autoComplete: "off",
|
|
66
66
|
inputMode: "decimal",
|
|
67
67
|
"data-test-id": n && `${n}__input`,
|
|
68
|
-
onKeyDown:
|
|
69
|
-
onSelect:
|
|
68
|
+
onKeyDown: x,
|
|
69
|
+
onSelect: D,
|
|
70
70
|
onChange: C,
|
|
71
|
-
ref:
|
|
71
|
+
ref: T
|
|
72
72
|
}
|
|
73
73
|
)
|
|
74
74
|
}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { EAvatarSize as
|
|
1
|
+
import { EAvatarSize as s } from "./enums.js";
|
|
2
2
|
import { jsx as r } from "react/jsx-runtime";
|
|
3
3
|
import l from "react";
|
|
4
4
|
import { c } from "../../chunks/vendor-CalMVkfj.js";
|
|
5
|
-
const _ = "
|
|
5
|
+
const _ = "avatar__008db09f", d = "xxs__79c1d77f", f = "xs__11f9d8d6", n = "sm__d314a04f", e = "md__29d14f06", i = "lg__29d8df1a", v = "xl__9aa348af", p = "xxl__31599bae", a = {
|
|
6
6
|
avatar: _,
|
|
7
|
-
xxs:
|
|
8
|
-
xs:
|
|
9
|
-
sm:
|
|
10
|
-
md:
|
|
7
|
+
xxs: d,
|
|
8
|
+
xs: f,
|
|
9
|
+
sm: n,
|
|
10
|
+
md: e,
|
|
11
11
|
lg: i,
|
|
12
12
|
xl: v,
|
|
13
13
|
xxl: p
|
|
14
14
|
}, X = {
|
|
15
|
-
[
|
|
16
|
-
[
|
|
17
|
-
[
|
|
18
|
-
[
|
|
19
|
-
[
|
|
20
|
-
[
|
|
21
|
-
[
|
|
22
|
-
},
|
|
23
|
-
|
|
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
|
+
}, g = l.forwardRef(({ className: x, size: t, ...o }, m) => /* @__PURE__ */ r("div", { className: c(a.avatar, X[t], x), ...o, ref: m }));
|
|
23
|
+
g.displayName = "Avatar";
|
|
24
24
|
export {
|
|
25
|
-
|
|
25
|
+
g as Avatar
|
|
26
26
|
};
|
|
27
27
|
//# sourceMappingURL=Avatar.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import d from "react";
|
|
3
|
+
import { c as r } from "../../chunks/vendor-CalMVkfj.js";
|
|
4
|
+
import { createSizeToClassNameMap as _ } from "../../utils/classNameMaps.js";
|
|
5
|
+
const g = "badge__7be31d4a", l = "sm__aa4db285", n = "md__1c09c135", p = "lg__13e107b6", a = {
|
|
6
|
+
badge: g,
|
|
7
|
+
sm: l,
|
|
8
|
+
md: n,
|
|
9
|
+
lg: p
|
|
10
|
+
}, b = _(a), f = d.forwardRef(
|
|
11
|
+
({ children: s, className: e, size: o, ...m }, t) => /* @__PURE__ */ c("span", { className: r(a.badge, b[o], e), ...m, ref: t, children: s })
|
|
12
|
+
);
|
|
13
|
+
f.displayName = "Badge";
|
|
14
|
+
export {
|
|
15
|
+
f as Badge
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=Badge.js.map
|
package/components/Body/Body.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c } from "../../chunks/vendor-CalMVkfj.js";
|
|
4
|
-
const
|
|
5
|
-
body:
|
|
6
|
-
bodyInner:
|
|
7
|
-
},
|
|
8
|
-
|
|
2
|
+
import t from "react";
|
|
3
|
+
import { c as y } from "../../chunks/vendor-CalMVkfj.js";
|
|
4
|
+
const a = "body__2304b5e2", b = "bodyInner__8dbe3101", d = {
|
|
5
|
+
body: a,
|
|
6
|
+
bodyInner: b
|
|
7
|
+
}, c = t.forwardRef(({ children: e, className: r, ...s }, n) => /* @__PURE__ */ o("div", { className: y(d.body, r), ...s, "data-tx": "0.15.0", ref: n, children: /* @__PURE__ */ o("div", { className: d.bodyInner, children: e }) }));
|
|
8
|
+
c.displayName = "Body";
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
c as Body
|
|
11
11
|
};
|
|
12
12
|
//# sourceMappingURL=Body.js.map
|
|
@@ -5,24 +5,24 @@ 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
|
-
import { EButtonTheme as
|
|
9
|
-
import { EComponentSize as
|
|
10
|
-
const A = "
|
|
8
|
+
import { EButtonTheme as t } from "./enums.js";
|
|
9
|
+
import { EComponentSize as s } from "../../enums/EComponentSize.js";
|
|
10
|
+
const A = "general__67252594", B = "expanded__ec04bd0d", u = {
|
|
11
11
|
general: A,
|
|
12
12
|
expanded: B
|
|
13
|
-
}, D = "
|
|
13
|
+
}, D = "secondary__804fc3a2", T = "expanded__ec04bd0d", b = {
|
|
14
14
|
secondary: D,
|
|
15
15
|
expanded: T
|
|
16
|
-
}, G = "
|
|
16
|
+
}, G = "secondaryLight__63521e4a", I = "expanded__ec04bd0d", x = {
|
|
17
17
|
secondaryLight: G,
|
|
18
18
|
expanded: I
|
|
19
|
-
}, v = "
|
|
19
|
+
}, v = "danger__f0964424", O = "expanded__ec04bd0d", h = {
|
|
20
20
|
danger: v,
|
|
21
21
|
expanded: O
|
|
22
|
-
}, Y = "
|
|
22
|
+
}, Y = "link__a5e2d5d4", $ = "expanded__ec04bd0d", f = {
|
|
23
23
|
link: Y,
|
|
24
24
|
expanded: $
|
|
25
|
-
}, w = "
|
|
25
|
+
}, w = "button__c40a40d2", z = "sm__412f0d48", M = "icon__78a4bbe4", j = "md__83b6a0fb", H = "lg__7fa07563", K = "block__7fecf1ce", U = "content__dde9570f", q = "loading__d2c2a457", F = "loader__60edf6bb", J = "hidden__e1d47530", e = {
|
|
26
26
|
button: w,
|
|
27
27
|
sm: z,
|
|
28
28
|
icon: M,
|
|
@@ -33,49 +33,49 @@ const A = "general__b428aae2", B = "expanded__1b6d2526", b = {
|
|
|
33
33
|
loading: q,
|
|
34
34
|
loader: F,
|
|
35
35
|
hidden: J
|
|
36
|
-
}, P = (
|
|
37
|
-
switch (
|
|
38
|
-
case
|
|
39
|
-
return { [
|
|
40
|
-
case
|
|
36
|
+
}, P = (d, n) => {
|
|
37
|
+
switch (d) {
|
|
38
|
+
case t.GENERAL:
|
|
39
|
+
return { [u.general]: !0, [u.expanded]: n };
|
|
40
|
+
case t.SECONDARY:
|
|
41
41
|
return {
|
|
42
|
-
[
|
|
43
|
-
[
|
|
42
|
+
[b.secondary]: !0,
|
|
43
|
+
[b.expanded]: n
|
|
44
44
|
};
|
|
45
|
-
case
|
|
45
|
+
case t.SECONDARY_LIGHT:
|
|
46
46
|
return {
|
|
47
47
|
[x.secondaryLight]: !0,
|
|
48
48
|
[x.expanded]: n
|
|
49
49
|
};
|
|
50
|
-
case
|
|
50
|
+
case t.DANGER:
|
|
51
51
|
return {
|
|
52
52
|
[h.danger]: !0,
|
|
53
53
|
[h.expanded]: n
|
|
54
54
|
};
|
|
55
|
-
case
|
|
55
|
+
case t.LINK:
|
|
56
56
|
return {
|
|
57
57
|
[f.link]: !0,
|
|
58
58
|
[f.expanded]: n
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
|
-
}, Q = (
|
|
62
|
-
switch (
|
|
63
|
-
case
|
|
61
|
+
}, Q = (d) => {
|
|
62
|
+
switch (d) {
|
|
63
|
+
case s.LG:
|
|
64
64
|
return e.lg;
|
|
65
|
-
case
|
|
65
|
+
case s.MD:
|
|
66
66
|
return e.md;
|
|
67
|
-
case
|
|
67
|
+
case s.SM:
|
|
68
68
|
return e.sm;
|
|
69
69
|
}
|
|
70
|
-
}, V = (
|
|
71
|
-
const o = [
|
|
70
|
+
}, V = (d, n) => {
|
|
71
|
+
const o = [t.SECONDARY, t.SECONDARY_LIGHT].includes(d) ? g.BRAND : g.NEUTRAL;
|
|
72
72
|
return /* @__PURE__ */ y(R, { theme: o, size: n });
|
|
73
|
-
}, W = k.forwardRef((
|
|
74
|
-
const { children: o, className: N, disabled: c, theme: r, size: l =
|
|
73
|
+
}, W = k.forwardRef((d, n) => {
|
|
74
|
+
const { children: o, className: N, disabled: c, theme: r, size: l = s.MD, block: L, loading: a, icon: i, ...S } = d, { "aria-expanded": _ } = d, E = p(
|
|
75
75
|
e.button,
|
|
76
76
|
P(r, !!_),
|
|
77
77
|
Q(l),
|
|
78
|
-
{ [e.block]: !!L, [e.loading]: !!
|
|
78
|
+
{ [e.block]: !!L, [e.loading]: !!a },
|
|
79
79
|
{ [e.icon]: !!i && !o },
|
|
80
80
|
// Классы для иконок, начало.
|
|
81
81
|
"hoverable",
|
|
@@ -86,12 +86,12 @@ const A = "general__b428aae2", B = "expanded__1b6d2526", b = {
|
|
|
86
86
|
// Классы для иконок, конец.
|
|
87
87
|
N
|
|
88
88
|
);
|
|
89
|
-
return /* @__PURE__ */ m(C, { className: E, tabIndex:
|
|
89
|
+
return /* @__PURE__ */ m(C, { className: E, tabIndex: a ? -1 : void 0, disabled: c, ...S, ref: n, children: [
|
|
90
90
|
/* @__PURE__ */ m("span", { className: e.content, children: [
|
|
91
91
|
i,
|
|
92
92
|
o
|
|
93
93
|
] }),
|
|
94
|
-
/* @__PURE__ */ y("div", { className: p(e.loader, !
|
|
94
|
+
/* @__PURE__ */ y("div", { className: p(e.loader, !a && e.hidden), children: V(r, l) })
|
|
95
95
|
] });
|
|
96
96
|
});
|
|
97
97
|
W.displayName = "Button";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import a from "react";
|
|
3
|
-
const e = a.forwardRef((t, o) => /* @__PURE__ */ r("button", { type: "button", ...t, "data-tx": "0.
|
|
3
|
+
const e = a.forwardRef((t, o) => /* @__PURE__ */ r("button", { type: "button", ...t, "data-tx": "0.15.0", ref: o }));
|
|
4
4
|
e.displayName = "ButtonBase";
|
|
5
5
|
export {
|
|
6
6
|
e as ButtonBase
|
|
@@ -5,7 +5,7 @@ import { jsx as t, jsxs as B, Fragment as q } from "react/jsx-runtime";
|
|
|
5
5
|
import F, { useRef as R, useState as V, createElement as x } from "react";
|
|
6
6
|
import { c as w, a as J } from "../../chunks/vendor-CalMVkfj.js";
|
|
7
7
|
import { ButtonDropdownExtended as y } from "./ButtonDropdownExtended.js";
|
|
8
|
-
import { EButtonDotsTheme as u, EButtonTheme as
|
|
8
|
+
import { EButtonDotsTheme as u, EButtonTheme as m } from "./enums.js";
|
|
9
9
|
import { DotshorizontalStrokeSrvIcon32 as Q, DotshorizontalStrokeSrvIcon20 as L, CaretdownStrokeSrvIcon16 as X, CaretdownStrokeSrvIcon20 as Z, CaretdownStrokeSrvIcon24 as $ } from "@sberbusiness/icons-next";
|
|
10
10
|
import { isKey as D } from "../../utils/keyboard.js";
|
|
11
11
|
import { DropdownListContext as oo } from "../Dropdown/DropdownListContext.js";
|
|
@@ -18,7 +18,7 @@ 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
20
|
import { EComponentSize as f } from "../../enums/EComponentSize.js";
|
|
21
|
-
const lo = "
|
|
21
|
+
const lo = "buttonDropdown__651487a2", io = "block__7fecf1ce", mo = "buttonDropdownTarget__4809123e", uo = "caretIcon__a72f29b8", Do = "active__1eee89a1", fo = "buttonDropdownMenuItem__700b7963", n = {
|
|
22
22
|
buttonDropdown: lo,
|
|
23
23
|
block: io,
|
|
24
24
|
buttonDropdownTarget: mo,
|
|
@@ -66,7 +66,7 @@ const lo = "buttonDropdown__62993966", io = "block__9e87407d", mo = "buttonDropd
|
|
|
66
66
|
M,
|
|
67
67
|
{
|
|
68
68
|
className: a,
|
|
69
|
-
theme: b === u.DOTS_SECONDARY ?
|
|
69
|
+
theme: b === u.DOTS_SECONDARY ? m.SECONDARY : m.SECONDARY_LIGHT,
|
|
70
70
|
size: s,
|
|
71
71
|
onKeyDown: A({ opened: o, setOpened: r }),
|
|
72
72
|
onClick: E({ opened: o, setOpened: r }),
|
|
@@ -85,13 +85,13 @@ const lo = "buttonDropdown__62993966", io = "block__9e87407d", mo = "buttonDropd
|
|
|
85
85
|
(D(l, "SPACE") || D(l, "ARROW_UP") || D(l, "ARROW_DOWN")) && a.preventDefault(), !o && (D(l, "ARROW_UP") || D(l, "ARROW_DOWN")) && r(!0);
|
|
86
86
|
}, j = () => {
|
|
87
87
|
switch (b) {
|
|
88
|
-
case
|
|
89
|
-
case
|
|
88
|
+
case m.GENERAL:
|
|
89
|
+
case m.DANGER:
|
|
90
90
|
case u.DOTS_SECONDARY:
|
|
91
91
|
case u.DOTS_SECONDARY_LIGHT:
|
|
92
92
|
return g(s, 7);
|
|
93
|
-
case
|
|
94
|
-
case
|
|
93
|
+
case m.SECONDARY:
|
|
94
|
+
case m.SECONDARY_LIGHT:
|
|
95
95
|
return g(s, 0);
|
|
96
96
|
default:
|
|
97
97
|
return null;
|
|
@@ -123,8 +123,8 @@ const lo = "buttonDropdown__62993966", io = "block__9e87407d", mo = "buttonDropd
|
|
|
123
123
|
key: e.id,
|
|
124
124
|
selected: e.id === (i == null ? void 0 : i.id),
|
|
125
125
|
onSelect: () => {
|
|
126
|
-
var
|
|
127
|
-
(
|
|
126
|
+
var d;
|
|
127
|
+
(d = e.onSelect) == null || d.call(e), r(!1);
|
|
128
128
|
}
|
|
129
129
|
},
|
|
130
130
|
e.label
|
|
@@ -139,8 +139,8 @@ const lo = "buttonDropdown__62993966", io = "block__9e87407d", mo = "buttonDropd
|
|
|
139
139
|
key: e.id,
|
|
140
140
|
selected: e.id === (i == null ? void 0 : i.id),
|
|
141
141
|
onSelect: () => {
|
|
142
|
-
var
|
|
143
|
-
(
|
|
142
|
+
var d;
|
|
143
|
+
(d = e.onSelect) == null || d.call(e), r(!1);
|
|
144
144
|
}
|
|
145
145
|
},
|
|
146
146
|
e.label
|
|
@@ -4,11 +4,11 @@ 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
6
|
import { c as A } from "../../chunks/vendor-CalMVkfj.js";
|
|
7
|
-
const K = "
|
|
7
|
+
const K = "buttonDropdownExtended__455c1d3c", S = "buttonDropdownExtendedBlock__5b111a02", E = {
|
|
8
8
|
buttonDropdownExtended: K,
|
|
9
9
|
buttonDropdownExtendedBlock: S
|
|
10
10
|
}, D = (s) => {
|
|
11
|
-
const { className: v, opened: x, setOpened: c, renderButton:
|
|
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);
|
|
@@ -25,10 +25,10 @@ const K = "buttonDropdownExtended__0cd4d31c", S = "buttonDropdownExtendedBlock__
|
|
|
25
25
|
const n = r.code || r.keyCode;
|
|
26
26
|
e && (w(n, "ESCAPE") || p && w(n, "TAB")) && o(!1);
|
|
27
27
|
}, d = (r) => {
|
|
28
|
-
const n = u.current,
|
|
28
|
+
const n = u.current, a = l.current;
|
|
29
29
|
if (e) {
|
|
30
|
-
const
|
|
31
|
-
|
|
30
|
+
const i = r.target;
|
|
31
|
+
i && !(n != null && n.contains(i)) && !(a != null && a.contains(i)) && o(!1);
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
return document.addEventListener("keydown", t), document.addEventListener("mousedown", d), document.addEventListener("touchstart", d), () => {
|
|
@@ -37,8 +37,8 @@ const K = "buttonDropdownExtended__0cd4d31c", S = "buttonDropdownExtendedBlock__
|
|
|
37
37
|
}, [e, p, l, o, u]);
|
|
38
38
|
const B = A(E.buttonDropdownExtended, v);
|
|
39
39
|
return /* @__PURE__ */ h("div", { className: B, ref: u, ...L, children: [
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
b({ opened: e, setOpened: o }),
|
|
41
|
+
k({
|
|
42
42
|
className: E.buttonDropdownExtendedBlock,
|
|
43
43
|
opened: e,
|
|
44
44
|
setOpened: o
|
|
@@ -2,20 +2,20 @@ import { jsx as l } from "react/jsx-runtime";
|
|
|
2
2
|
import u from "react";
|
|
3
3
|
import { c as m } from "../../chunks/vendor-CalMVkfj.js";
|
|
4
4
|
import { EButtonIconShape as o } from "./enums.js";
|
|
5
|
-
const
|
|
6
|
-
buttonIcon:
|
|
7
|
-
circle:
|
|
8
|
-
squircle:
|
|
5
|
+
const p = "buttonIcon__4132aa05", I = "circle__4ddb113d", b = "squircle__c16f5e80", t = {
|
|
6
|
+
buttonIcon: p,
|
|
7
|
+
circle: I,
|
|
8
|
+
squircle: b
|
|
9
9
|
}, f = {
|
|
10
|
-
[o.SQUIRCLE]:
|
|
11
|
-
[o.CIRCLE]:
|
|
10
|
+
[o.SQUIRCLE]: t.squircle,
|
|
11
|
+
[o.CIRCLE]: t.circle
|
|
12
12
|
}, _ = u.forwardRef(
|
|
13
|
-
({ className:
|
|
14
|
-
const i = m(
|
|
13
|
+
({ className: n, disabled: c, shape: e = o.SQUIRCLE, active: s, ...r }, a) => {
|
|
14
|
+
const i = m(t.buttonIcon, f[e], "hoverable", n, {
|
|
15
15
|
active: !!s,
|
|
16
|
-
disabled: !!
|
|
16
|
+
disabled: !!c
|
|
17
17
|
});
|
|
18
|
-
return /* @__PURE__ */ l("button", { type: "button", className: i, disabled:
|
|
18
|
+
return /* @__PURE__ */ l("button", { type: "button", className: i, disabled: c, ...r, ref: a });
|
|
19
19
|
}
|
|
20
20
|
);
|
|
21
21
|
_.displayName = "ButtonIcon";
|
|
@@ -13,7 +13,7 @@ import { CalendarView as _ } 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__976c3f44", L = "adaptive__bed533fb", 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": "0.
|
|
140
|
+
return /* @__PURE__ */ h("div", { className: b, "data-tx": "0.15.0", children: /* @__PURE__ */ S(
|
|
141
141
|
w.Provider,
|
|
142
142
|
{
|
|
143
143
|
value: {
|
|
@@ -4,11 +4,11 @@ import { CaretleftStrokeSrvIcon24 as B, CaretrightStrokeSrvIcon24 as v } from "@
|
|
|
4
4
|
import { CalendarContext as w } from "../CalendarContext.js";
|
|
5
5
|
import { Button as H } from "../../Button/Button.js";
|
|
6
6
|
import { ButtonIcon as A } from "../../Button/ButtonIcon.js";
|
|
7
|
-
import { EButtonIconShape as
|
|
7
|
+
import { EButtonIconShape as E, EButtonTheme as L } from "../../Button/enums.js";
|
|
8
8
|
import { ECalendarViewMode as e } from "../enums.js";
|
|
9
|
-
import { globalLimitRange as
|
|
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__8416fa1a", j = {
|
|
12
12
|
calendarControls: U
|
|
13
13
|
}, X = ({
|
|
14
14
|
children: m,
|
|
@@ -16,12 +16,12 @@ const U = "calendarControls__35b3eaaa", j = {
|
|
|
16
16
|
nextButtonProps: d = {},
|
|
17
17
|
viewButtonProps: c = {}
|
|
18
18
|
}) => {
|
|
19
|
-
const { viewDate: a, viewMode: n, limitRange: u, periodId: S, onPageChange: h, onViewChange: p } = D(w),
|
|
19
|
+
const { viewDate: a, viewMode: n, limitRange: u, periodId: S, onPageChange: h, onViewChange: p } = D(w), b = () => {
|
|
20
20
|
const { disabled: t, onClick: o, ...r } = typeof i == "function" ? i(n) : i;
|
|
21
21
|
return /* @__PURE__ */ s(
|
|
22
22
|
A,
|
|
23
23
|
{
|
|
24
|
-
shape:
|
|
24
|
+
shape: E.CIRCLE,
|
|
25
25
|
disabled: t || N(),
|
|
26
26
|
onClick: R(o),
|
|
27
27
|
...r,
|
|
@@ -33,7 +33,7 @@ const U = "calendarControls__35b3eaaa", j = {
|
|
|
33
33
|
return /* @__PURE__ */ s(
|
|
34
34
|
A,
|
|
35
35
|
{
|
|
36
|
-
shape:
|
|
36
|
+
shape: E.CIRCLE,
|
|
37
37
|
disabled: t || Y(),
|
|
38
38
|
onClick: x(o),
|
|
39
39
|
...r,
|
|
@@ -56,10 +56,10 @@ const U = "calendarControls__35b3eaaa", j = {
|
|
|
56
56
|
);
|
|
57
57
|
}, N = () => {
|
|
58
58
|
const t = a.clone();
|
|
59
|
-
return n === e.DAYS ? t.startOf("month") : n === e.MONTHS ? t.startOf("year") : n === e.YEARS && t.startOf("year").subtract(5, "years"), t.subtract(1, "day").isBefore(u.dateFrom ||
|
|
59
|
+
return n === e.DAYS ? t.startOf("month") : n === e.MONTHS ? t.startOf("year") : n === e.YEARS && t.startOf("year").subtract(5, "years"), t.subtract(1, "day").isBefore(u.dateFrom || O.dateFrom, "day");
|
|
60
60
|
}, Y = () => {
|
|
61
61
|
const t = a.clone();
|
|
62
|
-
return n === e.DAYS ? t.endOf("month") : n === e.MONTHS ? t.endOf("year") : n === e.YEARS && t.endOf("year").add(6, "years"), t.add(1, "day").isAfter(u.dateTo ||
|
|
62
|
+
return n === e.DAYS ? t.endOf("month") : n === e.MONTHS ? t.endOf("year") : n === e.YEARS && t.endOf("year").add(6, "years"), t.add(1, "day").isAfter(u.dateTo || O.dateTo, "day");
|
|
63
63
|
}, R = (t) => (o) => {
|
|
64
64
|
const r = C(), l = y(), f = a.clone().subtract(l, r);
|
|
65
65
|
h(f, n), t == null || t(o);
|
|
@@ -86,7 +86,7 @@ const U = "calendarControls__35b3eaaa", j = {
|
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
88
|
return /* @__PURE__ */ T("div", { className: j.calendarControls, children: [
|
|
89
|
-
|
|
89
|
+
b(),
|
|
90
90
|
n === e.YEARS ? /* @__PURE__ */ s("span", { id: S, tabIndex: -1, "aria-live": "polite", children: m }) : I(),
|
|
91
91
|
g()
|
|
92
92
|
] });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
const e = "
|
|
2
|
+
const e = "calendarFooter__45f81674", r = {
|
|
3
3
|
calendarFooter: e
|
|
4
4
|
}, t = ({ children: o }) => /* @__PURE__ */ a("div", { className: r.calendarFooter, children: o });
|
|
5
5
|
t.displayName = "CalendarFooter";
|
|
@@ -5,7 +5,7 @@ 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-C4iZEwoX.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";
|
|
@@ -4,7 +4,7 @@ import "react";
|
|
|
4
4
|
import "../enums.js";
|
|
5
5
|
import "../CalendarViewContext.js";
|
|
6
6
|
import "../../../utils/keyboard.js";
|
|
7
|
-
import { C } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { C } from "../../../chunks/CalendarViewItem-C4iZEwoX.js";
|
|
8
8
|
export {
|
|
9
9
|
C as CalendarViewItem
|
|
10
10
|
};
|
|
@@ -4,7 +4,7 @@ import h from "moment";
|
|
|
4
4
|
import { CalendarContext as H } from "../CalendarContext.js";
|
|
5
5
|
import { CalendarViewContext as K } from "../CalendarViewContext.js";
|
|
6
6
|
import { isDateOutOfRange as R } from "../utils.js";
|
|
7
|
-
import { s as B, C as U } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as B, C as U } from "../../../chunks/CalendarViewItem-C4iZEwoX.js";
|
|
8
8
|
import { isKey as l } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarPickType as Y, ECalendarViewMode as u } from "../enums.js";
|
|
10
10
|
const Z = ({ pickedDate: r, monthHtmlAttributes: T = {} }) => {
|