@sberbusiness/triplex-next 1.6.0 → 1.7.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-BCXIqVd5.js → AlertProcessSpoiler-Ce_8Yuvv.js} +9 -9
- package/chunks/{CalendarViewItem-CHiqUGxF.js → CalendarViewItem-BDMvwpK5.js} +17 -17
- package/chunks/Card.module-BvlTqE5R.js +17 -0
- package/chunks/CheckboxTreeExtended.module-DsOQXTb2.js +11 -0
- package/chunks/{Chip-yWyfl_o2.js → Chip-eRAmMCbK.js} +10 -10
- package/chunks/Confirm.module-BQvs_z36.js +15 -0
- package/chunks/DropdownListItem-DjvVx10v.js +57 -0
- package/chunks/DropdownMobile.module-CEPFt9uH.js +21 -0
- package/chunks/Footer.module-CXnDx0Qq.js +9 -0
- package/chunks/{FormFieldInput-BBhoiftf.js → FormFieldInput-Dc0f4nno.js} +15 -15
- package/chunks/HeaderLayoutSidebar.module-CHV51xUH.js +9 -0
- package/chunks/HeaderTabs.module-T3W10WU8.js +9 -0
- package/chunks/{HeaderTitle.module-CBMLSjn-.js → HeaderTitle.module-B6qQsh69.js} +2 -2
- package/chunks/IslandAccordion.module-DoM2x4VR.js +26 -0
- package/chunks/IslandWidgetFooter.module-qNMIN4zr.js +9 -0
- package/chunks/IslandWidgetHeader.module-DUf_HV96.js +9 -0
- package/chunks/{LightBoxContent-BjsBFl6W.js → LightBoxContent--MHZ9Gkl.js} +14 -14
- package/chunks/LightBoxControls.module-C3_q74nl.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-D66ESS7b.js +8 -0
- package/chunks/{ListItemControlsButton-CueYzEGM.js → ListItemControlsButton-CDyUDFUr.js} +9 -9
- package/chunks/ListItemTail.module-DYbacvAR.js +12 -0
- package/chunks/ListMasterFooter.module-ghOvyA19.js +10 -0
- package/chunks/ModalWindow.module-CvIIBPzJ.js +17 -0
- package/chunks/Notification.module-DrKXO_L0.js +21 -0
- package/chunks/Overlay.module-B4exkEG2.js +18 -0
- package/chunks/Page.module-CvSterCP.js +11 -0
- package/chunks/{RightBorderArrow-rROpeCX0.js → RightBorderArrow-B-QGBlRY.js} +14 -14
- package/chunks/SMSInput.module-DkPfMZWv.js +16 -0
- package/chunks/SliderExtendedMarks.module-DZlxonFv.js +15 -0
- package/chunks/{SliderExtendedRail-BmH-0W3L.js → SliderExtendedRail-VV02EHbt.js} +10 -10
- package/chunks/StatusTracker.module-BzVEt7sh.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-Bh4smUeN.js → SuggestFieldMobileDropdownHint-CW9LKnIb.js} +4 -4
- package/chunks/TableFooter.module-DKNnDtzT.js +14 -0
- package/chunks/TabsExtended.module-BQKnCc6i.js +16 -0
- package/chunks/TabsLine.module-Cr-x0ll4.js +23 -0
- package/chunks/TooltipDesktop.module-D3epe_HW.js +19 -0
- package/chunks/{TooltipMobileCloseButton-BUyQFHWX.js → TooltipMobileCloseButton-BCyljTIq.js} +7 -7
- package/chunks/TreeView.module-BXfRfHL4.js +9 -0
- package/chunks/{UploadZoneInput-CjsECm07.js → UploadZoneInput-DNhfVDyP.js} +2 -2
- package/chunks/{utils-D-KMukhm.js → utils-BY1yN3Hq.js} +5 -5
- package/chunks/utils-BtnGErpx.js +20 -0
- package/chunks/utils-CR8DYAi0.js +73 -0
- package/chunks/utils-D9oDaQiI.js +36 -0
- package/chunks/{utils-vwCIbf0H.js → utils-DQX5JZ_3.js} +7 -7
- package/components/Alert/AlertContext/AlertContext.js +8 -8
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +7 -7
- package/components/AmountField/AmountField.js +2 -2
- package/components/Body/Body.js +8 -25
- package/components/Body/index.js +2 -4
- package/components/Button/Button.js +26 -26
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +13 -13
- package/components/Button/ButtonDropdownExtended.js +4 -4
- package/components/Button/ButtonIcon.js +8 -8
- package/components/Calendar/Calendar.js +5 -5
- package/components/Calendar/components/CalendarControls.js +4 -5
- package/components/Calendar/components/CalendarFooter.js +4 -4
- 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 +6 -6
- 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 +11 -11
- package/components/Checkbox/Checkbox.js +14 -14
- package/components/Checkbox/CheckboxXGroup.js +16 -16
- package/components/Checkbox/CheckboxYGroup.js +3 -3
- 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 +6 -6
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +91 -0
- package/components/Chip/ChipDatePicker/components/ChipDatePickerTarget.js +34 -0
- package/components/Chip/ChipDropdownArrow.js +1 -1
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +4 -4
- package/components/Chip/ChipSelect.js +1 -1
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +18 -18
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +11 -11
- package/components/Col/Col.js +140 -140
- package/components/CollapsableTree/components/CollapsableTreeNode.js +11 -11
- package/components/Confirm/Confirm.js +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +1 -1
- package/components/Confirm/components/ConfirmContent.js +1 -1
- package/components/Confirm/components/ConfirmContentTitle.js +1 -1
- package/components/Confirm/components/ConfirmControls.js +1 -1
- package/components/DateField/DateField.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +1 -1
- package/components/DateRange/DateRange.js +14 -14
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/DesignTokensComponents.js +36 -31
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +42 -37
- package/components/DesignTokens/components/IslandWidget.js +14 -0
- package/components/DesignTokens/components/index.js +63 -60
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +8 -8
- package/components/Dropdown/desktop/DropdownDesktop.js +12 -12
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +2 -2
- package/components/Ellipsis/Ellipsis.js +11 -11
- package/components/ExpandAnimation/ExpandAnimation.js +6 -6
- 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 +23 -23
- package/components/FormField/components/FormFieldClear.js +8 -8
- package/components/FormField/components/FormFieldCounter.js +3 -3
- package/components/FormField/components/FormFieldDescription.js +1 -1
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +9 -9
- package/components/FormField/components/FormFieldMaskedInput.js +22 -22
- package/components/FormField/components/FormFieldPostfix.js +4 -4
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +17 -17
- package/components/FormField/components/FormFieldTextarea.js +1 -1
- 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 +31 -31
- package/components/HelpBox/index.js +5 -0
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +1 -1
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +2 -2
- package/components/IslandWidget/IslandWidget.js +51 -0
- package/components/IslandWidget/IslandWidgetContext.js +10 -0
- package/components/IslandWidget/components/IslandWidgetBody.js +7 -0
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +23 -0
- package/components/IslandWidget/components/IslandWidgetFooter.js +13 -0
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +11 -0
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +11 -0
- package/components/IslandWidget/components/IslandWidgetHeader.js +13 -0
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +13 -0
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +13 -0
- package/components/IslandWidget/components/IslandWidgetWrapper.js +17 -0
- package/components/IslandWidget/components/index.js +15 -0
- package/components/IslandWidget/index.js +17 -0
- package/components/LightBox/LightBox.js +14 -13
- 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 +63 -66
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/enums.js +5 -0
- package/components/LightBox/LightBoxSideOverlay/index.js +7 -0
- package/components/LightBox/index.js +7 -3
- package/components/Link/Link.js +10 -10
- package/components/List/List.js +2 -2
- package/components/List/components/ListEmptyState.js +1 -1
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +6 -6
- 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 +3 -3
- package/components/List/components/ListItemSelectable.js +1 -1
- package/components/List/components/ListItemTable.js +6 -6
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +5 -5
- package/components/List/components/ListSortableItemControls.js +1 -1
- package/components/List/components/ListSortableItemTarget.js +4 -4
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +1 -1
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +1 -1
- package/components/ListMaster/components/SelectionControls.js +5 -5
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +11 -11
- package/components/Loader/LoaderSmall/LoaderSmall.js +11 -11
- package/components/LoaderScreen/LoaderScreen.js +1 -1
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +14 -14
- package/components/ModalWindow/ModalWindow.js +37 -36
- package/components/ModalWindow/components/ModalWindowBody.js +10 -10
- package/components/ModalWindow/components/ModalWindowClose.js +4 -4
- package/components/ModalWindow/components/ModalWindowContent.js +15 -9
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +7 -7
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +3 -3
- 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/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +4 -4
- package/components/OrderedList/OrderedListItem.js +8 -8
- 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 +22 -8
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Page/components/enums.js +5 -3
- package/components/Page/index.js +7 -5
- package/components/Pagination/components/PaginationExtended.js +2 -2
- package/components/Pagination/components/PaginationNavigationButton.js +1 -1
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +1 -1
- package/components/Pagination/components/PaginationPageEllipsis.js +1 -1
- package/components/Pagination/components/PaginationSelect.js +6 -6
- package/components/Radio/Radio.js +12 -12
- package/components/Radio/RadioXGroup.js +12 -12
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +9 -9
- package/components/SMSInput/SMSInput.js +2 -2
- package/components/SMSInput/components/RefreshIcon.js +1 -1
- package/components/SMSInput/components/SMSInputInput.js +2 -2
- package/components/SMSInput/components/SMSInputRefresh.js +1 -1
- package/components/SMSInput/components/SMSInputSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +5 -5
- package/components/SegmentedControl/SegmentedControlSegment.js +5 -5
- package/components/SelectExtendedField/SelectExtendedField.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +15 -15
- package/components/Skeleton/Skeleton.js +10 -10
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +1 -1
- 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 +9 -9
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +19 -19
- package/components/SmallInput/SmallInput.js +4 -4
- package/components/Spoiler/Spoiler.js +13 -13
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +1 -1
- package/components/StatusTracker/components/StatusTrackerDescription.js +1 -1
- package/components/StatusTracker/components/StatusTrackerFooter.js +1 -1
- package/components/StatusTracker/components/StatusTrackerHeader.js +1 -1
- package/components/StatusTracker/components/StatusTrackerMedia.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatus.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +6 -6
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +1 -1
- package/components/Stepper/StepperExtended.js +5 -5
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperWrapper.js +4 -4
- package/components/Suggest/SuggestMobileDropdownContent.js +8 -8
- package/components/SuggestField/SuggestField.js +1 -1
- package/components/SuggestField/SuggestFieldTarget.js +1 -1
- package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +14 -14
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +2 -2
- package/components/Table/FilterPanel.js +6 -6
- package/components/Table/MasterTable.js +2 -2
- package/components/Table/NoColumns.js +5 -5
- package/components/Table/PaginationPanel.js +4 -4
- 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 +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +4 -4
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +5 -5
- package/components/Table/TabsLinePanelLinks.js +1 -1
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +21 -21
- package/components/TabsExtended/TabsExtended.js +2 -2
- package/components/TabsExtended/components/TabsExtendedContent.js +1 -1
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTab.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabButton.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +1 -1
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +1 -1
- package/components/TabsLine/components/TabsLineDesktop.js +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +2 -2
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +9 -9
- package/components/Tag/Tag.js +12 -12
- package/components/TagGroup/TagGroup.js +13 -13
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +7 -7
- package/components/Tooltip/components/common/TooltipXButton.js +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 +1 -1
- package/components/Tooltip/components/mobile/components/TooltipMobileCloseButton.js +1 -1
- package/components/Tooltip/components/mobile/components/TooltipMobileHeader.js +1 -1
- 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 +6 -6
- package/components/Typography/Text.js +13 -13
- package/components/Typography/Title.js +17 -17
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +5 -5
- package/components/UnorderedList/UnorderedListItem.js +6 -6
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +559 -528
- package/index.d.ts +266 -21
- package/index.js +410 -363
- package/package.json +9 -1
- package/styles/triplex-next.css +529 -527
- package/utils/index.js +30 -0
- package/chunks/Card.module-CmXEvD5r.js +0 -17
- package/chunks/CheckboxTreeExtended.module-D-2ZUrcy.js +0 -11
- package/chunks/Confirm.module-Ds4ZMYVB.js +0 -15
- package/chunks/DropdownListItem-DgEkMGvB.js +0 -57
- package/chunks/DropdownMobile.module-thvNKX4t.js +0 -21
- package/chunks/Footer.module-DZhiuTzP.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-DaB6pHPF.js +0 -9
- package/chunks/HeaderTabs.module-DK3rR1yV.js +0 -9
- package/chunks/IslandAccordion.module-D9LSijXT.js +0 -26
- package/chunks/LightBoxControls.module-BHw6I5-d.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-VE4NCDr0.js +0 -8
- package/chunks/ListItemTail.module-Bw2cyg-n.js +0 -12
- package/chunks/ListMasterFooter.module-BfD7OQFa.js +0 -10
- package/chunks/ModalWindow.module-Nps-2rvx.js +0 -17
- package/chunks/Notification.module-DZZnmvDX.js +0 -21
- package/chunks/Overlay.module-BGfiVeol.js +0 -18
- package/chunks/Page.module-CV4uy77C.js +0 -12
- package/chunks/SMSInput.module-Br6FTDVD.js +0 -16
- package/chunks/SliderExtendedMarks.module-Bubs2UAN.js +0 -15
- package/chunks/StatusTracker.module-BVzGbfDD.js +0 -24
- package/chunks/TableFooter.module-hx13-EO6.js +0 -14
- package/chunks/TabsExtended.module-CNjCgifz.js +0 -16
- package/chunks/TabsLine.module-_Jn8K0jv.js +0 -23
- package/chunks/TooltipDesktop.module-Cx6fDiek.js +0 -19
- package/chunks/TreeView.module-oeG4_2Ve.js +0 -9
- package/chunks/utils-C1Q-0uVF.js +0 -36
- package/chunks/utils-C8A7RzC0.js +0 -20
- package/chunks/utils-Cb3psf0n.js +0 -73
- package/components/Body/enums.js +0 -5
|
@@ -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
3
|
import { c as f } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
|
-
const N = "
|
|
4
|
+
const N = "adaptive__1527bec2", _ = {
|
|
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.7.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";
|
|
@@ -6,11 +6,11 @@ import { FormFieldDescription as T } from "../FormField/components/FormFieldDesc
|
|
|
6
6
|
import { FormFieldLabel as V } from "../FormField/components/FormFieldLabel.js";
|
|
7
7
|
import { FormFieldPostfix as D } from "../FormField/components/FormFieldPostfix.js";
|
|
8
8
|
import { FormFieldClear as K } from "../FormField/components/FormFieldClear.js";
|
|
9
|
-
import { F as j } from "../../chunks/FormFieldInput-
|
|
9
|
+
import { F as j } from "../../chunks/FormFieldInput-Dc0f4nno.js";
|
|
10
10
|
import { AmountBaseInputCore as A } from "./AmountBaseInputCore.js";
|
|
11
11
|
import { setCaretPosition as L } from "../../utils/inputUtils.js";
|
|
12
12
|
import { createPlaceholder as M, setFallbackCaret as g } from "./utils.js";
|
|
13
|
-
const $ = "
|
|
13
|
+
const $ = "currency__29c068a1", b = {
|
|
14
14
|
currency: $
|
|
15
15
|
}, Z = R.forwardRef(
|
|
16
16
|
({
|
package/components/Body/Body.js
CHANGED
|
@@ -1,29 +1,12 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
verticalMargin16: M
|
|
10
|
-
}, v = {
|
|
11
|
-
[r.LARGE]: a.verticalMargin24,
|
|
12
|
-
[r.SMALL]: a.verticalMargin16
|
|
13
|
-
}, g = d.forwardRef(
|
|
14
|
-
({ children: i, className: e, verticalMargin: t = r.LARGE, ...n }, c) => /* @__PURE__ */ o(
|
|
15
|
-
"div",
|
|
16
|
-
{
|
|
17
|
-
className: s(a.body, e, v[t]),
|
|
18
|
-
...n,
|
|
19
|
-
"data-tx": "1.6.0",
|
|
20
|
-
ref: c,
|
|
21
|
-
children: /* @__PURE__ */ o("div", { className: a.bodyInner, children: i })
|
|
22
|
-
}
|
|
23
|
-
)
|
|
24
|
-
);
|
|
25
|
-
g.displayName = "Body";
|
|
2
|
+
import t from "react";
|
|
3
|
+
import { c as a } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
const y = "body__f52f6de5", c = "bodyInner__c26344ff", d = {
|
|
5
|
+
body: y,
|
|
6
|
+
bodyInner: c
|
|
7
|
+
}, f = t.forwardRef(({ children: e, className: r, ...s }, n) => /* @__PURE__ */ o("div", { className: a(d.body, r), ...s, "data-tx": "1.7.0", ref: n, children: /* @__PURE__ */ o("div", { className: d.bodyInner, children: e }) }));
|
|
8
|
+
f.displayName = "Body";
|
|
26
9
|
export {
|
|
27
|
-
|
|
10
|
+
f as Body
|
|
28
11
|
};
|
|
29
12
|
//# sourceMappingURL=Body.js.map
|
package/components/Body/index.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { jsxs as m, jsx as
|
|
1
|
+
import { jsxs as m, jsx as f } from "react/jsx-runtime";
|
|
2
2
|
import k from "react";
|
|
3
3
|
import { c as p } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { LoaderSmall as R } from "../Loader/LoaderSmall/LoaderSmall.js";
|
|
5
|
-
import { ELoaderSmallTheme as
|
|
5
|
+
import { ELoaderSmallTheme as b } 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__14126cca", B = "expanded__b4ecc60a", g = {
|
|
11
11
|
general: A,
|
|
12
12
|
expanded: B
|
|
13
|
-
}, D = "
|
|
13
|
+
}, D = "secondary__41a87dcf", T = "expanded__b4ecc60a", u = {
|
|
14
14
|
secondary: D,
|
|
15
15
|
expanded: T
|
|
16
|
-
}, G = "
|
|
16
|
+
}, G = "secondaryLight__c2babadb", I = "expanded__b4ecc60a", x = {
|
|
17
17
|
secondaryLight: G,
|
|
18
18
|
expanded: I
|
|
19
|
-
}, v = "
|
|
19
|
+
}, v = "danger__7d4b98a7", O = "expanded__b4ecc60a", h = {
|
|
20
20
|
danger: v,
|
|
21
21
|
expanded: O
|
|
22
|
-
}, Y = "
|
|
22
|
+
}, Y = "link__1a702809", $ = "expanded__b4ecc60a", y = {
|
|
23
23
|
link: Y,
|
|
24
24
|
expanded: $
|
|
25
|
-
}, w = "
|
|
25
|
+
}, w = "button__477383a0", z = "sm__81bcb335", M = "icon__6d2047ae", j = "md__8b3fdeb9", H = "lg__4c1d5c1e", K = "block__efdc8eec", U = "content__2b628142", q = "loading__d74e4b38", F = "loader__a392fd73", J = "hidden__6c058559", e = {
|
|
26
26
|
button: w,
|
|
27
27
|
sm: z,
|
|
28
28
|
icon: M,
|
|
@@ -36,26 +36,26 @@ const A = "general__5ab07b93", B = "expanded__cdb0cfa4", u = {
|
|
|
36
36
|
}, P = (t, n) => {
|
|
37
37
|
switch (t) {
|
|
38
38
|
case o.GENERAL:
|
|
39
|
-
return { [
|
|
39
|
+
return { [g.general]: !0, [g.expanded]: n };
|
|
40
40
|
case o.SECONDARY:
|
|
41
41
|
return {
|
|
42
|
-
[
|
|
43
|
-
[
|
|
42
|
+
[u.secondary]: !0,
|
|
43
|
+
[u.expanded]: n
|
|
44
44
|
};
|
|
45
45
|
case o.SECONDARY_LIGHT:
|
|
46
46
|
return {
|
|
47
|
-
[
|
|
48
|
-
[
|
|
47
|
+
[x.secondaryLight]: !0,
|
|
48
|
+
[x.expanded]: n
|
|
49
49
|
};
|
|
50
50
|
case o.DANGER:
|
|
51
51
|
return {
|
|
52
|
-
[
|
|
53
|
-
[
|
|
52
|
+
[h.danger]: !0,
|
|
53
|
+
[h.expanded]: n
|
|
54
54
|
};
|
|
55
55
|
case o.LINK:
|
|
56
56
|
return {
|
|
57
|
-
[
|
|
58
|
-
[
|
|
57
|
+
[y.link]: !0,
|
|
58
|
+
[y.expanded]: n
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
}, Q = (t) => {
|
|
@@ -68,30 +68,30 @@ const A = "general__5ab07b93", B = "expanded__cdb0cfa4", u = {
|
|
|
68
68
|
return e.sm;
|
|
69
69
|
}
|
|
70
70
|
}, V = (t, n) => {
|
|
71
|
-
const
|
|
72
|
-
return /* @__PURE__ */
|
|
71
|
+
const c = [o.SECONDARY, o.SECONDARY_LIGHT].includes(t) ? b.BRAND : b.NEUTRAL;
|
|
72
|
+
return /* @__PURE__ */ f(R, { theme: c, size: n });
|
|
73
73
|
}, W = k.forwardRef((t, n) => {
|
|
74
|
-
const { children:
|
|
74
|
+
const { children: c, className: N, disabled: s, theme: r, size: l = a.MD, block: L, loading: d, 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]: !!d },
|
|
79
|
+
{ [e.icon]: !!i && !c },
|
|
80
80
|
// Классы для иконок, начало.
|
|
81
81
|
"hoverable",
|
|
82
82
|
{
|
|
83
83
|
active: !!_,
|
|
84
|
-
disabled: !!
|
|
84
|
+
disabled: !!s
|
|
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: d ? -1 : void 0, disabled: s, ...S, ref: n, children: [
|
|
90
90
|
/* @__PURE__ */ m("span", { className: e.content, children: [
|
|
91
91
|
i,
|
|
92
|
-
|
|
92
|
+
c
|
|
93
93
|
] }),
|
|
94
|
-
/* @__PURE__ */
|
|
94
|
+
/* @__PURE__ */ f("div", { className: p(e.loader, !d && 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.7.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 o, jsxs as N, Fragment as q } from "react/jsx-runtime";
|
|
5
5
|
import F, { useRef as _, useState as V, createElement as M } from "react";
|
|
6
|
-
import { c as
|
|
6
|
+
import { c as b, a as J } from "../../chunks/vendor-D3hUOusX.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 B, CaretdownStrokeSrvIcon24 as X, CaretdownStrokeSrvIcon20 as Z, CaretdownStrokeSrvIcon16 as $ } from "@sberbusiness/icons-next";
|
|
@@ -18,7 +18,7 @@ import { Text as ce } from "../Typography/Text.js";
|
|
|
18
18
|
import { ETextSize as se } from "../Typography/enums.js";
|
|
19
19
|
import { DropdownList as L } from "../Dropdown/desktop/DropdownList.js";
|
|
20
20
|
import { EComponentSize as i } from "../../enums/EComponentSize.js";
|
|
21
|
-
const le = "
|
|
21
|
+
const le = "buttonDropdown__5b400bf9", de = "block__efdc8eec", ie = "buttonDropdownTarget__e81824c9", me = "caretIcon__0016250e", ue = "active__2f4077df", De = "buttonDropdownMenuItem__490d9717", n = {
|
|
22
22
|
buttonDropdown: le,
|
|
23
23
|
block: de,
|
|
24
24
|
buttonDropdownTarget: ie,
|
|
@@ -33,10 +33,10 @@ const le = "buttonDropdown__9db845e8", de = "block__3e80987e", ie = "buttonDropd
|
|
|
33
33
|
[i.SM]: /* @__PURE__ */ o($, { paletteIndex: 7, className: n.caretIcon }),
|
|
34
34
|
[i.MD]: /* @__PURE__ */ o(Z, { paletteIndex: 7, className: n.caretIcon }),
|
|
35
35
|
[i.LG]: /* @__PURE__ */ o(X, { paletteIndex: 7, className: n.caretIcon })
|
|
36
|
-
},
|
|
36
|
+
}, fe = F.forwardRef(
|
|
37
37
|
(g, p) => {
|
|
38
|
-
const { buttonAttributes: R, children: h, className: z, theme:
|
|
39
|
-
const a =
|
|
38
|
+
const { buttonAttributes: R, children: h, className: z, theme: f, size: c, options: C, selected: l, block: w, disabled: T, ...G } = g, k = _(null), v = _(null), W = b(n.buttonDropdown, { [n.block]: !!w }, z), [S, H] = V(), I = _(J()), P = ({ opened: e, setOpened: r }) => {
|
|
39
|
+
const a = b(n.buttonDropdownTarget, "hoverable", {
|
|
40
40
|
[n.active]: e,
|
|
41
41
|
[n.block]: !!w
|
|
42
42
|
});
|
|
@@ -44,7 +44,7 @@ const le = "buttonDropdown__9db845e8", de = "block__3e80987e", ie = "buttonDropd
|
|
|
44
44
|
x,
|
|
45
45
|
{
|
|
46
46
|
className: a,
|
|
47
|
-
theme:
|
|
47
|
+
theme: f,
|
|
48
48
|
size: c,
|
|
49
49
|
onKeyDown: A({ opened: e, setOpened: r }),
|
|
50
50
|
onClick: E({ opened: e, setOpened: r }),
|
|
@@ -62,7 +62,7 @@ const le = "buttonDropdown__9db845e8", de = "block__3e80987e", ie = "buttonDropd
|
|
|
62
62
|
}
|
|
63
63
|
);
|
|
64
64
|
}, K = ({ opened: e, setOpened: r }) => {
|
|
65
|
-
const a =
|
|
65
|
+
const a = b(n.buttonDropdownTarget, "hoverable", {
|
|
66
66
|
[n.active]: e,
|
|
67
67
|
[n.block]: !!w
|
|
68
68
|
});
|
|
@@ -70,7 +70,7 @@ const le = "buttonDropdown__9db845e8", de = "block__3e80987e", ie = "buttonDropd
|
|
|
70
70
|
x,
|
|
71
71
|
{
|
|
72
72
|
className: a,
|
|
73
|
-
theme:
|
|
73
|
+
theme: f === u.DOTS_SECONDARY ? d.SECONDARY : d.SECONDARY_LIGHT,
|
|
74
74
|
size: c,
|
|
75
75
|
onKeyDown: A({ opened: e, setOpened: r }),
|
|
76
76
|
onClick: E({ opened: e, setOpened: r }),
|
|
@@ -88,7 +88,7 @@ const le = "buttonDropdown__9db845e8", de = "block__3e80987e", ie = "buttonDropd
|
|
|
88
88
|
const { key: s } = a;
|
|
89
89
|
(D(s, "SPACE") || D(s, "ARROW_UP") || D(s, "ARROW_DOWN")) && a.preventDefault(), !e && (D(s, "ARROW_UP") || D(s, "ARROW_DOWN")) && r(!0);
|
|
90
90
|
}, j = () => {
|
|
91
|
-
switch (
|
|
91
|
+
switch (f) {
|
|
92
92
|
case d.GENERAL:
|
|
93
93
|
case d.DANGER:
|
|
94
94
|
case u.DOTS_SECONDARY:
|
|
@@ -101,7 +101,7 @@ const le = "buttonDropdown__9db845e8", de = "block__3e80987e", ie = "buttonDropd
|
|
|
101
101
|
return null;
|
|
102
102
|
}
|
|
103
103
|
}, U = ({ opened: e, setOpened: r, className: a }) => {
|
|
104
|
-
const s =
|
|
104
|
+
const s = b(n.buttonDropdownMenu, a);
|
|
105
105
|
return /* @__PURE__ */ o(ee.Provider, { value: { activeDescendant: S, setActiveDescendant: H }, children: /* @__PURE__ */ o(
|
|
106
106
|
y.Dropdown,
|
|
107
107
|
{
|
|
@@ -156,7 +156,7 @@ const le = "buttonDropdown__9db845e8", de = "block__3e80987e", ie = "buttonDropd
|
|
|
156
156
|
{
|
|
157
157
|
className: W,
|
|
158
158
|
renderButton: [u.DOTS_SECONDARY, u.DOTS_SECONDARY_LIGHT].includes(
|
|
159
|
-
|
|
159
|
+
f
|
|
160
160
|
) ? K : P,
|
|
161
161
|
renderDropdown: U,
|
|
162
162
|
dropdownRef: v,
|
|
@@ -166,8 +166,8 @@ const le = "buttonDropdown__9db845e8", de = "block__3e80987e", ie = "buttonDropd
|
|
|
166
166
|
);
|
|
167
167
|
}
|
|
168
168
|
);
|
|
169
|
-
|
|
169
|
+
fe.displayName = "ButtonDropdown";
|
|
170
170
|
export {
|
|
171
|
-
|
|
171
|
+
fe as ButtonDropdown
|
|
172
172
|
};
|
|
173
173
|
//# sourceMappingURL=ButtonDropdown.js.map
|
|
@@ -4,7 +4,7 @@ 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-D3hUOusX.js";
|
|
7
|
-
const K = "
|
|
7
|
+
const K = "buttonDropdownExtended__446e3239", S = "buttonDropdownExtendedBlock__9e889048", E = {
|
|
8
8
|
buttonDropdownExtended: K,
|
|
9
9
|
buttonDropdownExtendedBlock: S
|
|
10
10
|
}, D = (s) => {
|
|
@@ -25,10 +25,10 @@ const K = "buttonDropdownExtended__eeda4753", 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, i = l.current;
|
|
29
29
|
if (e) {
|
|
30
|
-
const
|
|
31
|
-
|
|
30
|
+
const a = r.target;
|
|
31
|
+
a && !(n != null && n.contains(a)) && !(i != null && i.contains(a)) && o(!1);
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
return document.addEventListener("keydown", t), document.addEventListener("mousedown", d), document.addEventListener("touchstart", d), () => {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import u from "react";
|
|
3
|
-
import { c as
|
|
3
|
+
import { c as m } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { EButtonIconShape as o } from "./enums.js";
|
|
5
|
-
const
|
|
6
|
-
buttonIcon:
|
|
5
|
+
const f = "buttonIcon__2ef3ea1c", p = "circle__0c4f0a45", I = "squircle__f1a9b2e0", t = {
|
|
6
|
+
buttonIcon: f,
|
|
7
7
|
circle: p,
|
|
8
8
|
squircle: I
|
|
9
|
-
},
|
|
9
|
+
}, b = {
|
|
10
10
|
[o.SQUIRCLE]: t.squircle,
|
|
11
11
|
[o.CIRCLE]: t.circle
|
|
12
|
-
},
|
|
12
|
+
}, _ = u.forwardRef(
|
|
13
13
|
({ className: e, disabled: c, shape: n = o.SQUIRCLE, active: s, ...r }, a) => {
|
|
14
|
-
const l =
|
|
14
|
+
const l = m(t.buttonIcon, b[n], "hoverable", e, {
|
|
15
15
|
active: !!s,
|
|
16
16
|
disabled: !!c
|
|
17
17
|
});
|
|
18
18
|
return /* @__PURE__ */ i("button", { type: "button", className: l, disabled: c, ...r, ref: a });
|
|
19
19
|
}
|
|
20
20
|
);
|
|
21
|
-
|
|
21
|
+
_.displayName = "ButtonIcon";
|
|
22
22
|
export {
|
|
23
|
-
|
|
23
|
+
_ as ButtonIcon
|
|
24
24
|
};
|
|
25
25
|
//# sourceMappingURL=ButtonIcon.js.map
|
|
@@ -12,7 +12,7 @@ import { CalendarView as N } from "./components/CalendarView.js";
|
|
|
12
12
|
import { CalendarFooter as E } from "./components/CalendarFooter.js";
|
|
13
13
|
import { CalendarFooterButton as v } from "./components/CalendarFooterButton.js";
|
|
14
14
|
import { parsePickedDate as f, formatDate as P, getHeader as j } from "./utils.js";
|
|
15
|
-
const q = "
|
|
15
|
+
const q = "calendar__331ead25", L = "adaptive__03632f7a", w = {
|
|
16
16
|
calendar: q,
|
|
17
17
|
adaptive: L
|
|
18
18
|
};
|
|
@@ -133,10 +133,10 @@ class g extends V.PureComponent {
|
|
|
133
133
|
nextButtonProps: u,
|
|
134
134
|
viewButtonProps: C,
|
|
135
135
|
todayButtonProps: T
|
|
136
|
-
} = this.props, { viewMode: A, viewDate: B, header: Y } = this.state,
|
|
136
|
+
} = this.props, { viewMode: A, viewDate: B, header: Y } = this.state, F = R(w.calendar, {
|
|
137
137
|
[w.adaptive]: !!this.props.adaptiveMode
|
|
138
|
-
}),
|
|
139
|
-
return /* @__PURE__ */ h("div", { className:
|
|
138
|
+
}), b = f(this.props.pickedDate, t);
|
|
139
|
+
return /* @__PURE__ */ h("div", { className: F, "data-tx": "1.7.0", children: /* @__PURE__ */ S(
|
|
140
140
|
k.Provider,
|
|
141
141
|
{
|
|
142
142
|
value: {
|
|
@@ -165,7 +165,7 @@ class g extends V.PureComponent {
|
|
|
165
165
|
/* @__PURE__ */ h(
|
|
166
166
|
N,
|
|
167
167
|
{
|
|
168
|
-
pickedDate:
|
|
168
|
+
pickedDate: b,
|
|
169
169
|
dayHtmlAttributes: e,
|
|
170
170
|
monthHtmlAttributes: s,
|
|
171
171
|
yearHtmlAttributes: i
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { jsxs as T, jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as D } from "react";
|
|
3
|
-
import B from "@sberbusiness/icons-next
|
|
4
|
-
import v from "@sberbusiness/icons-next/CaretrightStrokeSrvIcon24";
|
|
3
|
+
import { CaretleftStrokeSrvIcon24 as B, CaretrightStrokeSrvIcon24 as v } from "@sberbusiness/icons-next";
|
|
5
4
|
import { CalendarContext as w } from "../CalendarContext.js";
|
|
6
5
|
import { Button as H } from "../../Button/Button.js";
|
|
7
6
|
import { ButtonIcon as A } from "../../Button/ButtonIcon.js";
|
|
@@ -9,9 +8,9 @@ import { EButtonIconShape as E, EButtonTheme as L } from "../../Button/enums.js"
|
|
|
9
8
|
import { ECalendarViewMode as e } from "../enums.js";
|
|
10
9
|
import { globalLimitRange as O } from "../../../consts/DateConst.js";
|
|
11
10
|
import { EComponentSize as V } from "../../../enums/EComponentSize.js";
|
|
12
|
-
const U = "
|
|
11
|
+
const U = "calendarControls__af99d750", j = {
|
|
13
12
|
calendarControls: U
|
|
14
|
-
},
|
|
13
|
+
}, X = ({
|
|
15
14
|
children: m,
|
|
16
15
|
prevButtonProps: i = {},
|
|
17
16
|
nextButtonProps: d = {},
|
|
@@ -93,6 +92,6 @@ const U = "calendarControls__2dd297a3", j = {
|
|
|
93
92
|
] });
|
|
94
93
|
};
|
|
95
94
|
export {
|
|
96
|
-
|
|
95
|
+
X as CalendarControls
|
|
97
96
|
};
|
|
98
97
|
//# sourceMappingURL=CalendarControls.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
const
|
|
3
|
-
calendarFooter:
|
|
4
|
-
}, t = ({ children: o }) => /* @__PURE__ */
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
const e = "calendarFooter__99bbbc74", r = {
|
|
3
|
+
calendarFooter: e
|
|
4
|
+
}, t = ({ children: o }) => /* @__PURE__ */ a("div", { className: r.calendarFooter, children: o });
|
|
5
5
|
t.displayName = "CalendarFooter";
|
|
6
6
|
export {
|
|
7
7
|
t as CalendarFooter
|
|
@@ -4,7 +4,7 @@ import { useContext as R, useCallback as O, useState as L, useEffect as q } from
|
|
|
4
4
|
import { isDateOutOfRange as g, isDayDisabled as z } from "../utils.js";
|
|
5
5
|
import { WEEKDAYS_SET as J } from "../../../consts/DateConst.js";
|
|
6
6
|
import { CalendarViewContext as Q } from "../CalendarViewContext.js";
|
|
7
|
-
import { s as y, C as X } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as y, C as X } from "../../../chunks/CalendarViewItem-BDMvwpK5.js";
|
|
8
8
|
import { isKey as d } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarDateMarkType as Z, ECalendarViewMode as E } from "../enums.js";
|
|
10
10
|
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-BDMvwpK5.js";
|
|
8
8
|
export {
|
|
9
9
|
C as CalendarViewItem
|
|
10
10
|
};
|
|
@@ -4,7 +4,7 @@ import { k as h } from "../../../chunks/vendor-D3hUOusX.js";
|
|
|
4
4
|
import { CalendarContext as G } from "../CalendarContext.js";
|
|
5
5
|
import { CalendarViewContext as H } from "../CalendarViewContext.js";
|
|
6
6
|
import { isDateOutOfRange as R } from "../utils.js";
|
|
7
|
-
import { s as K, C as B } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as K, C as B } from "../../../chunks/CalendarViewItem-BDMvwpK5.js";
|
|
8
8
|
import { isKey as l } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarPickType as U, ECalendarViewMode as u } from "../enums.js";
|
|
10
10
|
const Z = ({ pickedDate: r, monthHtmlAttributes: T = {} }) => {
|
|
@@ -4,7 +4,7 @@ import { k as w } from "../../../chunks/vendor-D3hUOusX.js";
|
|
|
4
4
|
import { CalendarContext as N } from "../CalendarContext.js";
|
|
5
5
|
import { CalendarViewContext as G } from "../CalendarViewContext.js";
|
|
6
6
|
import { isDateOutOfRange as O } from "../utils.js";
|
|
7
|
-
import { s as K, C as H } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as K, C as H } from "../../../chunks/CalendarViewItem-BDMvwpK5.js";
|
|
8
8
|
import { isKey as i } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarViewMode as y } from "../enums.js";
|
|
10
10
|
const J = ({ pickedDate: s, yearHtmlAttributes: S = {} }) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var o = (c, i, e) =>
|
|
1
|
+
var y = Object.defineProperty;
|
|
2
|
+
var b = (c, i, e) => i in c ? y(c, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[i] = e;
|
|
3
|
+
var o = (c, i, e) => b(c, typeof i != "symbol" ? i + "" : i, e);
|
|
4
4
|
import { jsx as R } from "react/jsx-runtime";
|
|
5
5
|
import u from "react";
|
|
6
6
|
import { CardContent as T } from "./components/CardContent/CardContent.js";
|
|
@@ -10,8 +10,8 @@ import { EFocusSource as r } from "../../enums/EFocusSource.js";
|
|
|
10
10
|
import { mapCardRoundingSizeToCssClass as x, mapCardThemeToCssClass as K } from "./utils.js";
|
|
11
11
|
import { isKey as p } from "../../utils/keyboard.js";
|
|
12
12
|
import { c as k } from "../../chunks/vendor-D3hUOusX.js";
|
|
13
|
-
import { c as B } from "../../chunks/Card.module-
|
|
14
|
-
const O = "
|
|
13
|
+
import { c as B } from "../../chunks/Card.module-BvlTqE5R.js";
|
|
14
|
+
const O = "action__401129da", F = "selected__4ca016d1", V = "focusVisible__b0ccedd8", a = {
|
|
15
15
|
action: O,
|
|
16
16
|
selected: F,
|
|
17
17
|
focusVisible: V
|
|
@@ -96,7 +96,7 @@ class l extends u.Component {
|
|
|
96
96
|
role: "button",
|
|
97
97
|
...C,
|
|
98
98
|
ref: this.ref,
|
|
99
|
-
"data-tx": "1.
|
|
99
|
+
"data-tx": "1.7.0",
|
|
100
100
|
children: e
|
|
101
101
|
}
|
|
102
102
|
);
|
|
@@ -3,7 +3,7 @@ import { CardContent as s } from "./components/CardContent/CardContent.js";
|
|
|
3
3
|
import { CardMedia as e } from "./components/CardMedia.js";
|
|
4
4
|
import { mapCardRoundingSizeToCssClass as C, mapCardThemeToCssClass as p } from "./utils.js";
|
|
5
5
|
import { c } from "../../chunks/vendor-D3hUOusX.js";
|
|
6
|
-
import { c as n } from "../../chunks/Card.module-
|
|
6
|
+
import { c as n } from "../../chunks/Card.module-BvlTqE5R.js";
|
|
7
7
|
import { ECardRoundingSize as f, ECardTheme as l } from "./enums.js";
|
|
8
8
|
const a = ({
|
|
9
9
|
children: r,
|
|
@@ -21,7 +21,7 @@ const a = ({
|
|
|
21
21
|
o
|
|
22
22
|
),
|
|
23
23
|
...d,
|
|
24
|
-
"data-tx": "1.
|
|
24
|
+
"data-tx": "1.7.0",
|
|
25
25
|
children: r
|
|
26
26
|
}
|
|
27
27
|
);
|
|
@@ -4,7 +4,7 @@ import { CardContentHeader as i } from "./components/CardContentHeader.js";
|
|
|
4
4
|
import { CardContentFooter as s } from "./components/CardContentFooter.js";
|
|
5
5
|
import { ECardContentPaddingSize as t } from "../../enums.js";
|
|
6
6
|
import { c as p } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
7
|
-
import { c as r } from "../../../../chunks/Card.module-
|
|
7
|
+
import { c as r } from "../../../../chunks/Card.module-BvlTqE5R.js";
|
|
8
8
|
const c = {
|
|
9
9
|
[t.MD]: r.paddingMD,
|
|
10
10
|
[t.SM]: r.paddingSM
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { c as d } from "../../../../../chunks/vendor-D3hUOusX.js";
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-BvlTqE5R.js";
|
|
4
4
|
const m = ({ children: o, className: t, ...r }) => /* @__PURE__ */ a("div", { className: d(s.cardContentBody, t), ...r, children: o });
|
|
5
5
|
m.displayName = "CardContentBody";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { c as e } from "../../../../../chunks/vendor-D3hUOusX.js";
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-BvlTqE5R.js";
|
|
4
4
|
const m = ({ children: o, className: t, ...r }) => /* @__PURE__ */ a("div", { className: e(s.cardContentFooter, t), ...r, children: o });
|
|
5
5
|
m.displayName = "CardContentFooter";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { c as o } from "../../../../../chunks/vendor-D3hUOusX.js";
|
|
3
|
-
import { c as d } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as d } from "../../../../../chunks/Card.module-BvlTqE5R.js";
|
|
4
4
|
const s = ({ children: r, className: a, ...e }) => /* @__PURE__ */ t("div", { className: o(d.cardContentHeader, a), ...e, children: r });
|
|
5
5
|
s.displayName = "CardContentHeader";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import { c as e } from "../../../chunks/vendor-D3hUOusX.js";
|
|
3
|
-
import { c as m } from "../../../chunks/Card.module-
|
|
3
|
+
import { c as m } from "../../../chunks/Card.module-BvlTqE5R.js";
|
|
4
4
|
const o = ({ children: a, className: r, ...s }) => {
|
|
5
5
|
const c = e(m.cardMedia, r);
|
|
6
6
|
return /* @__PURE__ */ d("div", { className: c, ...s, children: a });
|
package/components/Card/utils.js
CHANGED