@sberbusiness/triplex-next 0.10.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/chunks/AlertProcessSpoiler-SFMiAq2e.js +39 -0
- package/chunks/{CalendarViewItem-CNP7C3l_.js → CalendarViewItem-B7_R_3t_.js} +19 -19
- package/chunks/Card.module-B8eF0PyT.js +17 -0
- package/chunks/CheckboxTreeExtended.module-BL2GvhSW.js +11 -0
- package/chunks/{Chip-DaFItkIp.js → Chip-BiNNkTCM.js} +14 -14
- package/chunks/Confirm.module-DtGkChdz.js +15 -0
- package/chunks/{DropdownListItem-lbLsbKwC.js → DropdownListItem-BxEqWaJ8.js} +19 -19
- package/chunks/DropdownMobile.module-hCX_8o3O.js +23 -0
- package/chunks/Footer.module-CmBv6U70.js +9 -0
- package/chunks/{FormFieldInput-BoG8X8Sc.js → FormFieldInput-B4hNuHJx.js} +9 -9
- package/chunks/HeaderLayoutSidebar.module-72lLZguP.js +9 -0
- package/chunks/HeaderTabs.module-Cg4Skmf_.js +9 -0
- package/chunks/{HeaderTitle.module-r9kVKK-W.js → HeaderTitle.module-DlNyNird.js} +2 -2
- package/chunks/IslandAccordion.module-CASKTyF5.js +25 -0
- package/chunks/IslandWidgetFooter.module-BOmbhSZq.js +9 -0
- package/chunks/IslandWidgetHeader.module-Bb1VehSy.js +9 -0
- package/chunks/{LightBoxContent-3M4bOnUh.js → LightBoxContent-DBZCrC3l.js} +11 -11
- package/chunks/LightBoxControls.module-Bd3m7ZxT.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-BOo9E8eM.js +8 -0
- package/chunks/{ListItemControlsButton-rF_5JaM-.js → ListItemControlsButton-B7xM1V5l.js} +10 -10
- package/chunks/ListItemTail.module-Cc6Q6gR8.js +12 -0
- package/chunks/ListMasterFooter.module-CPTvVSEg.js +10 -0
- package/chunks/ModalWindow.module-Cjfs_3lX.js +17 -0
- package/chunks/Notification.module-DRNzc662.js +21 -0
- package/chunks/Overlay.module-CyE4VM64.js +18 -0
- package/chunks/Page.module-CiiwZIG0.js +11 -0
- package/chunks/{RightBorderArrow-C1vPwzXO.js → RightBorderArrow-qUNK7k_Z.js} +12 -12
- package/chunks/SMSField.module-Df8IlNx3.js +16 -0
- package/chunks/SliderExtendedMarks.module-C3yroPQo.js +15 -0
- package/chunks/{SliderExtendedRail-Bw4p-kLW.js → SliderExtendedRail-fxB35VnJ.js} +10 -10
- package/chunks/StatusTracker.module-C3dx5TPW.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-Ciw5Nm9X.js → SuggestFieldMobileDropdownHint-BRLUCupu.js} +2 -2
- package/chunks/TableFooter.module-CJATQpk2.js +14 -0
- package/chunks/TabsExtended.module-mbk25DHy.js +16 -0
- package/chunks/TabsLine.module-eLr2Qyu1.js +21 -0
- package/chunks/TooltipDesktop.module-D4l2yNW-.js +19 -0
- package/chunks/TreeView.module-BZTj2oze.js +9 -0
- package/chunks/UploadZoneInput-ZvLsxymO.js +35 -0
- package/chunks/utils-CkEbPHhV.js +73 -0
- package/chunks/{utils-CxR_OPBn.js → utils-D3BbfI4I.js} +8 -8
- package/chunks/{utils-Ql50x949.js → utils-Kc2jGbAd.js} +8 -8
- package/chunks/utils-bltVmJ1Y.js +24 -0
- package/chunks/{utils-DTmo2xHF.js → utils-pT3qplA1.js} +5 -5
- package/chunks/{vendor-BlJo2ILB.js → vendor-BARd5eYq.js} +5008 -5131
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +10 -10
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +3 -3
- package/components/AmountField/AmountField.js +48 -40
- package/components/Body/Body.js +5 -5
- package/components/Button/Button.js +24 -24
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +13 -13
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +7 -7
- package/components/Calendar/Calendar.js +3 -3
- package/components/Calendar/CalendarContext.js +1 -1
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +4 -4
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +2 -2
- package/components/Calendar/components/CalendarViewYears.js +2 -2
- package/components/Calendar/utils.js +1 -1
- package/components/Card/CardAction.js +7 -7
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +2 -2
- package/components/Checkbox/Checkbox.js +9 -9
- package/components/Checkbox/CheckboxXGroup.js +12 -12
- package/components/Checkbox/CheckboxYGroup.js +7 -7
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +5 -5
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +2 -2
- 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 +2 -2
- package/components/Chip/ChipOptions.js +6 -6
- package/components/Chip/ChipSelect/ChipSelect.js +2 -2
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +2 -2
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +13 -13
- package/components/Col/Col.js +141 -141
- package/components/CollapsableTree/components/CollapsableTreeNode.js +2 -2
- package/components/Confirm/Confirm.js +2 -2
- package/components/Confirm/components/ConfirmCloseButton.js +2 -2
- package/components/Confirm/components/ConfirmContent.js +2 -2
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/DateField/DateField.js +2 -2
- package/components/DateField/utils.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +10 -10
- package/components/DateRange/DateRange.js +10 -10
- package/components/DateRange/index.js +7 -0
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensComponents.js +90 -95
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +92 -97
- package/components/DesignTokens/components/Step.js +1 -1
- package/components/DesignTokens/components/index.js +153 -156
- package/components/Divider/Divider.js +18 -18
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +2 -2
- package/components/Dropdown/desktop/DropdownDesktop.js +13 -13
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +2 -2
- package/components/Ellipsis/Ellipsis.js +9 -9
- package/components/ExpandAnimation/ExpandAnimation.js +20 -20
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +2 -2
- package/components/Footer/components/FooterDescriptionContent.js +2 -2
- package/components/Footer/components/FooterDescriptionControls.js +2 -2
- package/components/FormField/FormField.js +21 -21
- package/components/FormField/components/FormFieldClear.js +10 -10
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +7 -7
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +10 -10
- package/components/FormField/components/FormFieldMaskedInput.js +17 -17
- package/components/FormField/components/FormFieldPostfix.js +6 -6
- package/components/FormField/components/FormFieldPrefix.js +4 -4
- package/components/FormField/components/FormFieldTarget.js +17 -17
- package/components/FormField/components/FormFieldTextarea.js +9 -9
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +5 -5
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +13 -13
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +5 -5
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +6 -7
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +92 -98
- package/components/IslandAccordion/components/index.js +1 -3
- package/components/IslandAccordion/index.js +3 -5
- package/components/IslandWidget/IslandWidget.js +10 -10
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +11 -11
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +7 -7
- package/components/LightBox/LightBox.js +19 -19
- package/components/LightBox/LightBoxContent.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxClose.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxControls.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxNext.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +25 -25
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +4 -4
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +5 -5
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +20 -20
- package/components/List/List.js +8 -8
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +5 -5
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +10 -10
- package/components/List/components/ListItemControls.js +2 -2
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +5 -5
- package/components/List/components/ListItemSelectable.js +11 -11
- package/components/List/components/ListItemTable.js +2 -2
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +2 -2
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +8 -8
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +6 -6
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +7 -7
- package/components/ListMaster/components/SelectionControls.js +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +10 -10
- package/components/Loader/LoaderSmall/LoaderSmall.js +11 -11
- package/components/LoaderScreen/LoaderScreen.js +11 -11
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +16 -16
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +3 -3
- package/components/ModalWindow/components/ModalWindowClose.js +5 -5
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +2 -2
- package/components/MonthYearField/utils.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyContent.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NotificationIcon/NotificationIcon.js +4 -4
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +3 -3
- package/components/OrderedList/OrderedListItem.js +11 -11
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +2 -2
- package/components/Page/components/BodyPage.js +9 -9
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +7 -7
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +2 -2
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +32 -24
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +13 -13
- package/components/Radio/RadioXGroup.js +10 -10
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +6 -6
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +3 -3
- package/components/SMSField/components/SMSFieldRefresh.js +2 -2
- package/components/SMSField/components/SMSFieldSubmit.js +2 -2
- package/components/SMSField/components/SMSFieldTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +8 -8
- package/components/SegmentedControl/SegmentedControlSegment.js +13 -13
- package/components/SelectExtendedField/SelectExtendedField.js +2 -2
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +12 -12
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +10 -10
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +16 -16
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +2 -2
- package/components/SliderExtended/components/SliderExtendedRail.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +25 -25
- package/components/SmallInput/SmallInput.js +5 -5
- package/components/Spoiler/Spoiler.js +13 -13
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +2 -2
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +2 -2
- package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
- package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
- package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
- package/components/StatusTracker/components/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/Step/Step.js +10 -10
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +11 -11
- package/components/Stepper/StepperExtended.js +2 -2
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +3 -3
- package/components/Suggest/Suggest.js +1 -1
- package/components/Suggest/SuggestMobileDropdownContent.js +7 -7
- 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 +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +15 -15
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +16 -16
- package/components/Table/NoColumns.js +4 -4
- package/components/Table/PaginationPanel.js +5 -5
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +8 -8
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +2 -2
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +3 -3
- package/components/Table/TabsLinePanelLinks.js +6 -6
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +12 -12
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +3 -3
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +10 -10
- package/components/Tag/Tag.js +23 -23
- package/components/TagColor/TagColor.js +12 -12
- package/components/TagGroup/TagGroup.js +9 -9
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +8 -8
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +7 -7
- package/components/TopOverlay/TopOverlay.js +23 -23
- package/components/TreeView/TreeView.js +2 -2
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +2 -2
- package/components/Typography/Caption.js +28 -28
- package/components/Typography/Text.js +25 -25
- package/components/Typography/Title.js +18 -18
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +3 -3
- package/components/UnorderedList/UnorderedListItem.js +3 -3
- package/components/UploadZone/UploadZone.js +110 -98
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +209 -207
- package/consts/DateConst.js +1 -1
- package/index.d.ts +73 -55
- package/index.js +269 -267
- package/package.json +5 -1
- package/styles/triplex-next.css +533 -535
- package/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-BthiLiMe.js +0 -39
- package/chunks/Card.module-BxAU0ct3.js +0 -17
- package/chunks/CheckboxTreeExtended.module-8H0Dgq8c.js +0 -11
- package/chunks/Confirm.module-BaXVkVHJ.js +0 -15
- package/chunks/DropdownMobile.module-kHpY8q0l.js +0 -23
- package/chunks/Footer.module-BZTAlpWH.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-Bbxhh0aE.js +0 -9
- package/chunks/HeaderTabs.module-Bo3HPBP_.js +0 -9
- package/chunks/IslandAccordion.module-r5TKHc-1.js +0 -25
- package/chunks/IslandWidgetFooter.module-DANV-WDZ.js +0 -9
- package/chunks/IslandWidgetHeader.module-D9N9d8U0.js +0 -9
- package/chunks/LightBoxControls.module-C1sKSbiw.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-H2K8IoVH.js +0 -8
- package/chunks/ListItemTail.module-rBxpoSGQ.js +0 -12
- package/chunks/ListMasterFooter.module-CjjTF28N.js +0 -10
- package/chunks/ModalWindow.module-BJWhs2p-.js +0 -17
- package/chunks/Notification.module-CoXNIHHx.js +0 -21
- package/chunks/Overlay.module-DqeHrg4k.js +0 -18
- package/chunks/Page.module-JyadpNMJ.js +0 -11
- package/chunks/SMSField.module-BR0BSWtJ.js +0 -16
- package/chunks/SliderExtendedMarks.module-DyfiF83O.js +0 -15
- package/chunks/StatusTracker.module-BzdhWkFm.js +0 -24
- package/chunks/TableFooter.module-BRn2cKAx.js +0 -14
- package/chunks/TabsExtended.module-DW52Fxa9.js +0 -16
- package/chunks/TabsLine.module-Do3KfZpp.js +0 -21
- package/chunks/TooltipDesktop.module-B10Gb93w.js +0 -19
- package/chunks/TreeView.module-oFkxX2oe.js +0 -9
- package/chunks/UploadZoneInput-CQ9bTi-y.js +0 -33
- package/chunks/utils-BHK9pmFJ.js +0 -73
- package/chunks/utils-DbKLiLdh.js +0 -24
- package/components/DesignTokens/components/AmountField.js +0 -11
- package/components/IslandAccordion/components/IslandAccordionTitle.js +0 -21
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var c = Object.defineProperty;
|
|
2
2
|
var d = (t, e, i) => e in t ? c(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i;
|
|
3
3
|
var s = (t, e, i) => d(t, typeof e != "symbol" ? e + "" : e, i);
|
|
4
|
-
import { i as l } from "../../chunks/vendor-
|
|
4
|
+
import { i as l } from "../../chunks/vendor-BARd5eYq.js";
|
|
5
5
|
class u {
|
|
6
6
|
constructor() {
|
|
7
7
|
// Массив дочерних нод.
|
|
@@ -4,7 +4,7 @@ var o = (a, s, e) => l(a, typeof s != "symbol" ? s + "" : s, e);
|
|
|
4
4
|
import { jsxs as O, Fragment as h, jsx as m } from "react/jsx-runtime";
|
|
5
5
|
import g from "react";
|
|
6
6
|
import { ExpandAnimation as f } from "../../ExpandAnimation/ExpandAnimation.js";
|
|
7
|
-
import { a as u, c as B } from "../../../chunks/vendor-
|
|
7
|
+
import { a as u, c as B } from "../../../chunks/vendor-BARd5eYq.js";
|
|
8
8
|
class E extends g.Component {
|
|
9
9
|
constructor(e) {
|
|
10
10
|
super(e);
|
|
@@ -3,12 +3,12 @@ import x from "react";
|
|
|
3
3
|
import { EAlertType as e } from "../EAlertType.js";
|
|
4
4
|
import { alertTypeToClassNameMap as m } from "../AlertTypeUtils.js";
|
|
5
5
|
import { Text as y } from "../../Typography/Text.js";
|
|
6
|
-
import { EFontType as r, ETextSize as
|
|
7
|
-
import { SystemStrokeStsIcon16 as
|
|
8
|
-
import { c as N } from "../../../chunks/vendor-
|
|
9
|
-
const
|
|
10
|
-
alertContext:
|
|
11
|
-
alertContextText:
|
|
6
|
+
import { EFontType as r, ETextSize as f } from "../../Typography/enums.js";
|
|
7
|
+
import { SystemStrokeStsIcon16 as I, ErrorStrokeStsIcon16 as S, WarningStrokeStsIcon16 as i, InfoStrokeStsIcon16 as R } from "@sberbusiness/icons-next";
|
|
8
|
+
import { c as N } from "../../../chunks/vendor-BARd5eYq.js";
|
|
9
|
+
const E = "alertContext__ff4f7169", d = "alertContextText__7ecdb860", C = "alertTypeError__524db4d8", _ = "alertTypeInfo__8b076310", A = "alertTypeWarning__f3889ac7", O = "alertTypeSystem__e48acbe0", n = {
|
|
10
|
+
alertContext: E,
|
|
11
|
+
alertContextText: d,
|
|
12
12
|
alertTypeError: C,
|
|
13
13
|
alertTypeInfo: _,
|
|
14
14
|
alertTypeWarning: A,
|
|
@@ -20,9 +20,9 @@ const d = "alertContext__ffa4539a", E = "alertContextText__05d5b899", C = "alert
|
|
|
20
20
|
case e.WARNING:
|
|
21
21
|
return /* @__PURE__ */ t(i, { paletteIndex: 2 });
|
|
22
22
|
case e.ERROR:
|
|
23
|
-
return /* @__PURE__ */ t(
|
|
23
|
+
return /* @__PURE__ */ t(S, { paletteIndex: 1 });
|
|
24
24
|
case e.SYSTEM:
|
|
25
|
-
return /* @__PURE__ */ t(
|
|
25
|
+
return /* @__PURE__ */ t(I, { paletteIndex: 4 });
|
|
26
26
|
}
|
|
27
27
|
}, u = {
|
|
28
28
|
[e.INFO]: r.INFO,
|
|
@@ -36,11 +36,11 @@ const d = "alertContext__ffa4539a", E = "alertContextText__05d5b899", C = "alert
|
|
|
36
36
|
role: "alert",
|
|
37
37
|
className: N(n.alertContext, m[a](n), l),
|
|
38
38
|
...p,
|
|
39
|
-
"data-tx": "0.
|
|
39
|
+
"data-tx": "0.12.0",
|
|
40
40
|
ref: c,
|
|
41
41
|
children: [
|
|
42
42
|
s || W(a),
|
|
43
|
-
/* @__PURE__ */ t(y, { size:
|
|
43
|
+
/* @__PURE__ */ t(y, { size: f.B4, type: u[a], className: n.alertContextText, children: o })
|
|
44
44
|
]
|
|
45
45
|
}
|
|
46
46
|
)
|
|
@@ -3,10 +3,10 @@ import P, { useState as n } from "react";
|
|
|
3
3
|
import { EAlertType as t } from "../EAlertType.js";
|
|
4
4
|
import { alertTypeToClassNameMap as k } from "../AlertTypeUtils.js";
|
|
5
5
|
import { ButtonIcon as v } from "../../Button/ButtonIcon.js";
|
|
6
|
-
import { s as r, A as i } from "../../../chunks/AlertProcessSpoiler-
|
|
6
|
+
import { s as r, A as i } from "../../../chunks/AlertProcessSpoiler-SFMiAq2e.js";
|
|
7
7
|
import { AlertProcessContext as R } from "./AlertProcessContext.js";
|
|
8
8
|
import { CrossStrokeSrvIcon16 as E, DefaulticonStrokePrdIcon20 as T, SystemStrokeStsIcon20 as y, ErrorStrokeStsIcon20 as j, WarningStrokeStsIcon20 as w, InfoStrokeStsIcon20 as B } from "@sberbusiness/icons-next";
|
|
9
|
-
import { c as C } from "../../../chunks/vendor-
|
|
9
|
+
import { c as C } from "../../../chunks/vendor-BARd5eYq.js";
|
|
10
10
|
const O = (o) => {
|
|
11
11
|
switch (o) {
|
|
12
12
|
case t.INFO:
|
|
@@ -38,7 +38,7 @@ const O = (o) => {
|
|
|
38
38
|
d
|
|
39
39
|
),
|
|
40
40
|
...f,
|
|
41
|
-
"data-tx": "0.
|
|
41
|
+
"data-tx": "0.12.0",
|
|
42
42
|
ref: I,
|
|
43
43
|
children: [
|
|
44
44
|
/* @__PURE__ */ e("div", { className: r.themeIcon, children: c || O(a) }),
|
|
@@ -3,8 +3,8 @@ import "react";
|
|
|
3
3
|
import "@sberbusiness/icons-next";
|
|
4
4
|
import "../../../Button/ButtonIcon.js";
|
|
5
5
|
import "../AlertProcessContext.js";
|
|
6
|
-
import { A as l } from "../../../../chunks/AlertProcessSpoiler-
|
|
7
|
-
import "../../../../chunks/vendor-
|
|
6
|
+
import { A as l } from "../../../../chunks/AlertProcessSpoiler-SFMiAq2e.js";
|
|
7
|
+
import "../../../../chunks/vendor-BARd5eYq.js";
|
|
8
8
|
export {
|
|
9
9
|
l as AlertProcessSpoiler
|
|
10
10
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as d, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { formatAmount as u } from "../../utils/amountUtils.js";
|
|
3
|
-
import { c as f } from "../../chunks/vendor-
|
|
4
|
-
const N = "
|
|
3
|
+
import { c as f } from "../../chunks/vendor-BARd5eYq.js";
|
|
4
|
+
const N = "adaptive__9201c31c", _ = {
|
|
5
5
|
adaptive: N
|
|
6
6
|
}, h = 14, v = ({
|
|
7
7
|
className: o,
|
|
@@ -24,7 +24,7 @@ const N = "adaptive__808f634b", _ = {
|
|
|
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.12.0", children: [
|
|
28
28
|
/* @__PURE__ */ n("span", { "data-test-id": a && `${a}__amount`, children: t }),
|
|
29
29
|
e && p()
|
|
30
30
|
] });
|
|
@@ -1,65 +1,73 @@
|
|
|
1
1
|
import { jsx as l, jsxs as x } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import { EFormFieldStatus as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
2
|
+
import s, { useRef as F, useLayoutEffect as I } from "react";
|
|
3
|
+
import { TextFieldBase as k } from "../TextField/TextFieldBase.js";
|
|
4
|
+
import "../FormField/FormFieldContext.js";
|
|
5
|
+
import { EFormFieldStatus as p } from "../FormField/enums.js";
|
|
6
|
+
import "../FormField/components/FormFieldDescription.js";
|
|
7
|
+
import "../FormField/components/FormFieldCounter.js";
|
|
8
|
+
import "../FormField/components/FormFieldLabel.js";
|
|
9
|
+
import { FormFieldClear as w } from "../FormField/components/FormFieldClear.js";
|
|
10
|
+
import "../FormField/components/FormFieldTarget.js";
|
|
11
|
+
import { F as A } from "../../chunks/FormFieldInput-B4hNuHJx.js";
|
|
12
|
+
import "../FormField/components/FormFieldMaskedInput.js";
|
|
13
|
+
import "../FormField/components/FormFieldPostfix.js";
|
|
14
|
+
import "../FormField/components/FormFieldPrefix.js";
|
|
15
|
+
import "../FormField/components/FormFieldTextarea.js";
|
|
16
|
+
import "../Typography/Title.js";
|
|
17
|
+
import { Text as B } from "../Typography/Text.js";
|
|
18
|
+
import "../Typography/Caption.js";
|
|
19
|
+
import { EFontType as g, ETextSize as R } from "../Typography/enums.js";
|
|
20
|
+
import { AmountBaseInputCore as V } from "./AmountBaseInputCore.js";
|
|
21
|
+
import { setCaretPosition as _ } from "../../utils/inputUtils.js";
|
|
22
|
+
import { createPlaceholder as K, setFallbackCaret as L } from "./utils.js";
|
|
23
|
+
const oe = s.forwardRef(
|
|
24
|
+
({ inputProps: r, currency: i, postfix: d, maxIntegerDigits: u = 16, fractionDigits: o = 2, onClear: f, ...h }, a) => {
|
|
25
|
+
const { status: y, "data-test-id": n } = h, S = r.placeholder || K(o), m = F(null), e = F();
|
|
26
|
+
e.current === void 0 && (e.current = new V(u, o)), I(() => {
|
|
27
|
+
e.current && m.current == document.activeElement && _(m.current, Math.max(e.current.caret, 0));
|
|
19
28
|
}, [r.value]);
|
|
20
|
-
const
|
|
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) => {
|
|
21
30
|
if (!e.current) return;
|
|
22
31
|
const c = t.target.selectionStart ?? t.target.value.length;
|
|
23
|
-
e.current.apply(t.target.value, c),
|
|
24
|
-
},
|
|
32
|
+
e.current.apply(t.target.value, c), L(t.target, e.current, o), r.onChange(e.current.value);
|
|
33
|
+
}, D = (t) => {
|
|
25
34
|
var c;
|
|
26
35
|
e.current && (e.current.cache.key = t.key, (c = r.onKeyDown) == null || c.call(r, t));
|
|
27
|
-
},
|
|
36
|
+
}, T = (t) => {
|
|
28
37
|
var c;
|
|
29
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));
|
|
30
39
|
}, v = (t) => {
|
|
31
|
-
m.current = t, typeof
|
|
40
|
+
m.current = t, typeof a == "function" ? a(t) : a && (a.current = t);
|
|
32
41
|
};
|
|
33
42
|
return /* @__PURE__ */ l(
|
|
34
|
-
|
|
43
|
+
k,
|
|
35
44
|
{
|
|
36
|
-
postfix: /* @__PURE__ */ x(
|
|
37
|
-
|
|
45
|
+
postfix: /* @__PURE__ */ x(s.Fragment, { children: [
|
|
46
|
+
f !== void 0 && /* @__PURE__ */ l(w, { onClick: f }),
|
|
38
47
|
i !== void 0 && /* @__PURE__ */ l(
|
|
39
|
-
|
|
48
|
+
B,
|
|
40
49
|
{
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
"data-test-id": o && `${o}__unit`,
|
|
50
|
+
size: R.B2,
|
|
51
|
+
type: y !== p.DISABLED ? g.SECONDARY : g.DISABLED,
|
|
52
|
+
"data-test-id": n && `${n}__unit`,
|
|
45
53
|
children: i
|
|
46
54
|
}
|
|
47
55
|
),
|
|
48
|
-
|
|
56
|
+
d !== void 0 && d
|
|
49
57
|
] }),
|
|
50
|
-
...
|
|
58
|
+
...h,
|
|
51
59
|
children: /* @__PURE__ */ l(
|
|
52
|
-
|
|
60
|
+
A,
|
|
53
61
|
{
|
|
54
62
|
...r,
|
|
55
|
-
value:
|
|
56
|
-
placeholder:
|
|
63
|
+
value: E(),
|
|
64
|
+
placeholder: S,
|
|
57
65
|
autoComplete: "off",
|
|
58
66
|
inputMode: "decimal",
|
|
59
|
-
"data-test-id":
|
|
60
|
-
onKeyDown:
|
|
61
|
-
onSelect:
|
|
62
|
-
onChange:
|
|
67
|
+
"data-test-id": n && `${n}__input`,
|
|
68
|
+
onKeyDown: D,
|
|
69
|
+
onSelect: T,
|
|
70
|
+
onChange: C,
|
|
63
71
|
ref: v
|
|
64
72
|
}
|
|
65
73
|
)
|
|
@@ -68,6 +76,6 @@ const K = "currency__efbed68c", j = "disabled__81f46b15", g = {
|
|
|
68
76
|
}
|
|
69
77
|
);
|
|
70
78
|
export {
|
|
71
|
-
|
|
79
|
+
oe as AmountField
|
|
72
80
|
};
|
|
73
81
|
//# sourceMappingURL=AmountField.js.map
|
package/components/Body/Body.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import n from "react";
|
|
3
|
-
import { c as
|
|
4
|
-
const
|
|
5
|
-
body:
|
|
6
|
-
bodyInner:
|
|
7
|
-
}, b = n.forwardRef(({ children: r, className: s, ...
|
|
3
|
+
import { c as t } from "../../chunks/vendor-BARd5eYq.js";
|
|
4
|
+
const y = "body__a3e7288a", c = "bodyInner__c624582b", d = {
|
|
5
|
+
body: y,
|
|
6
|
+
bodyInner: c
|
|
7
|
+
}, b = n.forwardRef(({ children: r, className: s, ...a }, e) => /* @__PURE__ */ o("div", { className: t(d.body, s), ...a, "data-tx": "0.12.0", ref: e, children: /* @__PURE__ */ o("div", { className: d.bodyInner, children: r }) }));
|
|
8
8
|
b.displayName = "Body";
|
|
9
9
|
export {
|
|
10
10
|
b as Body
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { jsxs as m, jsx as y } from "react/jsx-runtime";
|
|
2
2
|
import k from "react";
|
|
3
|
-
import { c as p } from "../../chunks/vendor-
|
|
3
|
+
import { c as p } from "../../chunks/vendor-BARd5eYq.js";
|
|
4
4
|
import { LoaderSmall as R } from "../Loader/LoaderSmall/LoaderSmall.js";
|
|
5
|
-
import { ELoaderSmallTheme as
|
|
5
|
+
import { ELoaderSmallTheme as g } from "../Loader/LoaderSmall/enum.js";
|
|
6
6
|
import "../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
7
7
|
import { ButtonBase as C } from "./ButtonBase.js";
|
|
8
8
|
import { EButtonTheme as d } from "./enums.js";
|
|
9
|
-
import { EComponentSize as
|
|
10
|
-
const A = "
|
|
9
|
+
import { EComponentSize as a } from "../../enums/EComponentSize.js";
|
|
10
|
+
const A = "general__11bca21f", B = "expanded__addf5b8c", b = {
|
|
11
11
|
general: A,
|
|
12
12
|
expanded: B
|
|
13
|
-
}, D = "
|
|
13
|
+
}, D = "secondary__2ff6d7c4", T = "expanded__addf5b8c", u = {
|
|
14
14
|
secondary: D,
|
|
15
15
|
expanded: T
|
|
16
|
-
}, G = "
|
|
16
|
+
}, G = "secondaryLight__943cb953", I = "expanded__addf5b8c", f = {
|
|
17
17
|
secondaryLight: G,
|
|
18
18
|
expanded: I
|
|
19
|
-
}, v = "
|
|
19
|
+
}, v = "danger__d0074b6d", O = "expanded__addf5b8c", x = {
|
|
20
20
|
danger: v,
|
|
21
21
|
expanded: O
|
|
22
|
-
}, Y = "
|
|
22
|
+
}, Y = "link__5397a407", $ = "expanded__addf5b8c", h = {
|
|
23
23
|
link: Y,
|
|
24
24
|
expanded: $
|
|
25
|
-
}, w = "
|
|
25
|
+
}, w = "button__aa6c1460", z = "sm__143e408e", M = "icon__b747e3e8", j = "md__fa0de1f1", H = "lg__8622a7a7", K = "block__3ff40bb8", U = "content__38751783", q = "loading__33505dcf", F = "loader__ff54cb48", J = "hidden__6534b654", e = {
|
|
26
26
|
button: w,
|
|
27
27
|
sm: z,
|
|
28
28
|
icon: M,
|
|
@@ -36,7 +36,7 @@ const A = "general__04e36714", B = "expanded__33d041bd", g = {
|
|
|
36
36
|
}, P = (t, n) => {
|
|
37
37
|
switch (t) {
|
|
38
38
|
case d.GENERAL:
|
|
39
|
-
return { [
|
|
39
|
+
return { [b.general]: !0, [b.expanded]: n };
|
|
40
40
|
case d.SECONDARY:
|
|
41
41
|
return {
|
|
42
42
|
[u.secondary]: !0,
|
|
@@ -44,38 +44,38 @@ const A = "general__04e36714", B = "expanded__33d041bd", g = {
|
|
|
44
44
|
};
|
|
45
45
|
case d.SECONDARY_LIGHT:
|
|
46
46
|
return {
|
|
47
|
-
[
|
|
48
|
-
[
|
|
47
|
+
[f.secondaryLight]: !0,
|
|
48
|
+
[f.expanded]: n
|
|
49
49
|
};
|
|
50
50
|
case d.DANGER:
|
|
51
51
|
return {
|
|
52
|
-
[
|
|
53
|
-
[
|
|
52
|
+
[x.danger]: !0,
|
|
53
|
+
[x.expanded]: n
|
|
54
54
|
};
|
|
55
55
|
case d.LINK:
|
|
56
56
|
return {
|
|
57
|
-
[
|
|
58
|
-
[
|
|
57
|
+
[h.link]: !0,
|
|
58
|
+
[h.expanded]: n
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
}, Q = (t) => {
|
|
62
62
|
switch (t) {
|
|
63
|
-
case
|
|
63
|
+
case a.LG:
|
|
64
64
|
return e.lg;
|
|
65
|
-
case
|
|
65
|
+
case a.MD:
|
|
66
66
|
return e.md;
|
|
67
|
-
case
|
|
67
|
+
case a.SM:
|
|
68
68
|
return e.sm;
|
|
69
69
|
}
|
|
70
70
|
}, V = (t, n) => {
|
|
71
|
-
const o = [d.SECONDARY, d.SECONDARY_LIGHT].includes(t) ?
|
|
71
|
+
const o = [d.SECONDARY, d.SECONDARY_LIGHT].includes(t) ? g.BRAND : g.NEUTRAL;
|
|
72
72
|
return /* @__PURE__ */ y(R, { theme: o, size: n });
|
|
73
73
|
}, W = k.forwardRef((t, n) => {
|
|
74
|
-
const { children: o, className: N, disabled: c, theme: r, size: l =
|
|
74
|
+
const { children: o, className: N, disabled: c, theme: r, size: l = a.MD, block: L, loading: s, icon: i, ...S } = t, { "aria-expanded": _ } = t, E = p(
|
|
75
75
|
e.button,
|
|
76
76
|
P(r, !!_),
|
|
77
77
|
Q(l),
|
|
78
|
-
{ [e.block]: !!L, [e.loading]: !!
|
|
78
|
+
{ [e.block]: !!L, [e.loading]: !!s },
|
|
79
79
|
{ [e.icon]: !!i && !o },
|
|
80
80
|
// Классы для иконок, начало.
|
|
81
81
|
"hoverable",
|
|
@@ -86,12 +86,12 @@ const A = "general__04e36714", B = "expanded__33d041bd", g = {
|
|
|
86
86
|
// Классы для иконок, конец.
|
|
87
87
|
N
|
|
88
88
|
);
|
|
89
|
-
return /* @__PURE__ */ m(C, { className: E, tabIndex:
|
|
89
|
+
return /* @__PURE__ */ m(C, { className: E, tabIndex: s ? -1 : void 0, disabled: c, ...S, ref: n, children: [
|
|
90
90
|
/* @__PURE__ */ m("span", { className: e.content, children: [
|
|
91
91
|
i,
|
|
92
92
|
o
|
|
93
93
|
] }),
|
|
94
|
-
/* @__PURE__ */ y("div", { className: p(e.loader, !
|
|
94
|
+
/* @__PURE__ */ y("div", { className: p(e.loader, !s && e.hidden), children: V(r, l) })
|
|
95
95
|
] });
|
|
96
96
|
});
|
|
97
97
|
W.displayName = "Button";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as 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.12.0", ref: o }));
|
|
4
4
|
e.displayName = "ButtonBase";
|
|
5
5
|
export {
|
|
6
6
|
e as ButtonBase
|
|
@@ -3,7 +3,7 @@ import "./ButtonBase.js";
|
|
|
3
3
|
import "./ButtonIcon.js";
|
|
4
4
|
import { jsx as t, jsxs as B, Fragment as q } from "react/jsx-runtime";
|
|
5
5
|
import F, { useRef as R, useState as V, createElement as x } from "react";
|
|
6
|
-
import { c as w, a as J } from "../../chunks/vendor-
|
|
6
|
+
import { c as w, a as J } from "../../chunks/vendor-BARd5eYq.js";
|
|
7
7
|
import { ButtonDropdownExtended as y } from "./ButtonDropdownExtended.js";
|
|
8
8
|
import { EButtonDotsTheme as u, EButtonTheme as d } from "./enums.js";
|
|
9
9
|
import { DotshorizontalStrokeSrvIcon32 as Q, DotshorizontalStrokeSrvIcon20 as L, CaretdownStrokeSrvIcon16 as X, CaretdownStrokeSrvIcon20 as Z, CaretdownStrokeSrvIcon24 as $ } from "@sberbusiness/icons-next";
|
|
@@ -18,20 +18,20 @@ 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 b } from "../../enums/EComponentSize.js";
|
|
21
|
-
const lo = "
|
|
21
|
+
const lo = "buttonDropdown__58dd35ba", io = "block__3ff40bb8", mo = "buttonDropdownTarget__2f112b3b", uo = "caretIcon__8e1af32e", Do = "active__cd478cc6", bo = "buttonDropdownMenuItem__84c1b574", n = {
|
|
22
22
|
buttonDropdown: lo,
|
|
23
23
|
block: io,
|
|
24
24
|
buttonDropdownTarget: mo,
|
|
25
25
|
caretIcon: uo,
|
|
26
26
|
active: Do,
|
|
27
27
|
buttonDropdownMenuItem: bo
|
|
28
|
-
},
|
|
28
|
+
}, fo = {
|
|
29
29
|
[b.SM]: /* @__PURE__ */ t(L, { paletteIndex: 0 }),
|
|
30
30
|
[b.MD]: /* @__PURE__ */ t(L, { paletteIndex: 0 }),
|
|
31
31
|
[b.LG]: /* @__PURE__ */ t(Q, { paletteIndex: 0 })
|
|
32
|
-
}, g = (
|
|
33
|
-
(
|
|
34
|
-
const { buttonAttributes: _, children: h, className: z, theme:
|
|
32
|
+
}, g = (f, c) => f === b.SM ? /* @__PURE__ */ t(X, { paletteIndex: c, className: n.caretIcon }) : f === b.MD ? /* @__PURE__ */ t(Z, { paletteIndex: c, className: n.caretIcon }) : /* @__PURE__ */ t($, { paletteIndex: c, className: n.caretIcon }), po = F.forwardRef(
|
|
33
|
+
(f, c) => {
|
|
34
|
+
const { buttonAttributes: _, children: h, className: z, theme: p, size: s, options: C, selected: i, block: S, disabled: T, ...G } = f, k = R(null), v = R(null), W = w(n.buttonDropdown, { [n.block]: !!S }, z), [N, H] = V(), I = R(J()), P = ({ opened: o, setOpened: r }) => {
|
|
35
35
|
const a = w(n.buttonDropdownTarget, "hoverable", {
|
|
36
36
|
[n.active]: o,
|
|
37
37
|
[n.block]: !!S
|
|
@@ -40,7 +40,7 @@ const lo = "buttonDropdown__ef49e98d", io = "block__c3c2440b", mo = "buttonDropd
|
|
|
40
40
|
M,
|
|
41
41
|
{
|
|
42
42
|
className: a,
|
|
43
|
-
theme:
|
|
43
|
+
theme: p,
|
|
44
44
|
size: s,
|
|
45
45
|
onKeyDown: A({ opened: o, setOpened: r }),
|
|
46
46
|
onClick: E({ opened: o, setOpened: r }),
|
|
@@ -66,7 +66,7 @@ const lo = "buttonDropdown__ef49e98d", io = "block__c3c2440b", mo = "buttonDropd
|
|
|
66
66
|
M,
|
|
67
67
|
{
|
|
68
68
|
className: a,
|
|
69
|
-
theme:
|
|
69
|
+
theme: p === u.DOTS_SECONDARY ? d.SECONDARY : d.SECONDARY_LIGHT,
|
|
70
70
|
size: s,
|
|
71
71
|
onKeyDown: A({ opened: o, setOpened: r }),
|
|
72
72
|
onClick: E({ opened: o, setOpened: r }),
|
|
@@ -77,14 +77,14 @@ const lo = "buttonDropdown__ef49e98d", io = "block__c3c2440b", mo = "buttonDropd
|
|
|
77
77
|
"aria-activedescendant": N,
|
|
78
78
|
..._,
|
|
79
79
|
ref: O,
|
|
80
|
-
icon:
|
|
80
|
+
icon: fo[s]
|
|
81
81
|
}
|
|
82
82
|
);
|
|
83
83
|
}, E = ({ opened: o, setOpened: r }) => () => r(!o), A = ({ opened: o, setOpened: r }) => (a) => {
|
|
84
84
|
const { key: l } = a;
|
|
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
|
-
switch (
|
|
87
|
+
switch (p) {
|
|
88
88
|
case d.GENERAL:
|
|
89
89
|
case d.DANGER:
|
|
90
90
|
case u.DOTS_SECONDARY:
|
|
@@ -155,7 +155,7 @@ const lo = "buttonDropdown__ef49e98d", io = "block__c3c2440b", mo = "buttonDropd
|
|
|
155
155
|
{
|
|
156
156
|
className: W,
|
|
157
157
|
renderButton: [u.DOTS_SECONDARY, u.DOTS_SECONDARY_LIGHT].includes(
|
|
158
|
-
|
|
158
|
+
p
|
|
159
159
|
) ? K : P,
|
|
160
160
|
renderDropdown: U,
|
|
161
161
|
dropdownRef: v,
|
|
@@ -165,8 +165,8 @@ const lo = "buttonDropdown__ef49e98d", io = "block__c3c2440b", mo = "buttonDropd
|
|
|
165
165
|
);
|
|
166
166
|
}
|
|
167
167
|
);
|
|
168
|
-
|
|
168
|
+
po.displayName = "ButtonDropdown";
|
|
169
169
|
export {
|
|
170
|
-
|
|
170
|
+
po as ButtonDropdown
|
|
171
171
|
};
|
|
172
172
|
//# sourceMappingURL=ButtonDropdown.js.map
|
|
@@ -3,12 +3,12 @@ import { useRef as f, useState as C, useCallback as N, useEffect as R } from "re
|
|
|
3
3
|
import { Dropdown as _ } from "../Dropdown/Dropdown.js";
|
|
4
4
|
import { isKey as w } from "../../utils/keyboard.js";
|
|
5
5
|
import { DropdownList as g } from "../Dropdown/desktop/DropdownList.js";
|
|
6
|
-
import { c as A } from "../../chunks/vendor-
|
|
7
|
-
const K = "
|
|
6
|
+
import { c as A } from "../../chunks/vendor-BARd5eYq.js";
|
|
7
|
+
const K = "buttonDropdownExtended__34dacd64", S = "buttonDropdownExtendedBlock__38eb10d7", 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);
|
|
@@ -37,8 +37,8 @@ const K = "buttonDropdownExtended__f37de3e0", 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
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import u from "react";
|
|
3
|
-
import { c as m } from "../../chunks/vendor-
|
|
3
|
+
import { c as m } from "../../chunks/vendor-BARd5eYq.js";
|
|
4
4
|
import { EButtonIconShape as o } from "./enums.js";
|
|
5
|
-
const
|
|
6
|
-
buttonIcon:
|
|
7
|
-
circle:
|
|
8
|
-
squircle:
|
|
5
|
+
const p = "buttonIcon__c7858dfd", I = "circle__4d35ae56", b = "squircle__eb20aaf0", t = {
|
|
6
|
+
buttonIcon: p,
|
|
7
|
+
circle: I,
|
|
8
|
+
squircle: b
|
|
9
9
|
}, f = {
|
|
10
10
|
[o.SQUIRCLE]: t.squircle,
|
|
11
11
|
[o.CIRCLE]: t.circle
|
|
12
12
|
}, _ = u.forwardRef(
|
|
13
|
-
({ className:
|
|
14
|
-
const i = m(t.buttonIcon, f[
|
|
13
|
+
({ className: e, disabled: c, shape: n = o.SQUIRCLE, active: s, ...r }, a) => {
|
|
14
|
+
const i = m(t.buttonIcon, f[n], "hoverable", e, {
|
|
15
15
|
active: !!s,
|
|
16
16
|
disabled: !!c
|
|
17
17
|
});
|
|
@@ -2,7 +2,7 @@ var M = Object.defineProperty;
|
|
|
2
2
|
var H = (m, d, t) => d in m ? M(m, d, { enumerable: !0, configurable: !0, writable: !0, value: t }) : m[d] = t;
|
|
3
3
|
var p = (m, d, t) => H(m, typeof d != "symbol" ? d + "" : d, t);
|
|
4
4
|
import { jsx as h, jsxs as S } from "react/jsx-runtime";
|
|
5
|
-
import { a as I, j as D, c as R } from "../../chunks/vendor-
|
|
5
|
+
import { a as I, j as D, c as R } from "../../chunks/vendor-BARd5eYq.js";
|
|
6
6
|
import V from "react";
|
|
7
7
|
import { globalLimitRange as O, dateFormatYYYYMMDD as x } from "../../consts/DateConst.js";
|
|
8
8
|
import { ECalendarPickType as y, ECalendarViewMode as l } from "./enums.js";
|
|
@@ -12,7 +12,7 @@ import { CalendarView as _ } from "./components/CalendarView.js";
|
|
|
12
12
|
import { CalendarFooter as j } 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 E } from "./utils.js";
|
|
15
|
-
const q = "
|
|
15
|
+
const q = "calendar__b9c2986c", L = "adaptive__057215af", k = {
|
|
16
16
|
calendar: q,
|
|
17
17
|
adaptive: L
|
|
18
18
|
};
|
|
@@ -136,7 +136,7 @@ class g extends V.PureComponent {
|
|
|
136
136
|
} = this.props, { viewMode: A, viewDate: B, header: Y } = this.state, b = R(k.calendar, {
|
|
137
137
|
[k.adaptive]: !!this.props.adaptiveMode
|
|
138
138
|
}), F = f(this.props.pickedDate, t);
|
|
139
|
-
return /* @__PURE__ */ h("div", { className: b, "data-tx": "0.
|
|
139
|
+
return /* @__PURE__ */ h("div", { className: b, "data-tx": "0.12.0", children: /* @__PURE__ */ S(
|
|
140
140
|
w.Provider,
|
|
141
141
|
{
|
|
142
142
|
value: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import e from "react";
|
|
2
|
-
import { j as a } from "../../chunks/vendor-
|
|
2
|
+
import { j as a } from "../../chunks/vendor-BARd5eYq.js";
|
|
3
3
|
import { globalLimitRange as o, dateFormatYYYYMMDD as t } from "../../consts/DateConst.js";
|
|
4
4
|
import { ECalendarViewMode as r, ECalendarPickType as i } from "./enums.js";
|
|
5
5
|
const c = e.createContext({
|
|
@@ -8,7 +8,7 @@ import { EButtonIconShape as b, EButtonTheme as L } from "../../Button/enums.js"
|
|
|
8
8
|
import { ECalendarViewMode as e } from "../enums.js";
|
|
9
9
|
import { globalLimitRange as E } from "../../../consts/DateConst.js";
|
|
10
10
|
import { EComponentSize as V } from "../../../enums/EComponentSize.js";
|
|
11
|
-
const U = "
|
|
11
|
+
const U = "calendarControls__a5d469be", j = {
|
|
12
12
|
calendarControls: U
|
|
13
13
|
}, X = ({
|
|
14
14
|
children: m,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
const
|
|
3
|
-
calendarFooter:
|
|
4
|
-
}, t = ({ children:
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
const a = "calendarFooter__f2bedea0", r = {
|
|
3
|
+
calendarFooter: a
|
|
4
|
+
}, t = ({ children: e }) => /* @__PURE__ */ o("div", { className: r.calendarFooter, children: e });
|
|
5
5
|
t.displayName = "CalendarFooter";
|
|
6
6
|
export {
|
|
7
7
|
t as CalendarFooter
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as U, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { j as c, c as H } from "../../../chunks/vendor-
|
|
2
|
+
import { j as c, c as H } from "../../../chunks/vendor-BARd5eYq.js";
|
|
3
3
|
import { useContext as R, useCallback as O, useState as L, useEffect as q } from "react";
|
|
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-B7_R_3t_.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";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../../chunks/vendor-
|
|
2
|
+
import "../../../chunks/vendor-BARd5eYq.js";
|
|
3
3
|
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-B7_R_3t_.js";
|
|
8
8
|
export {
|
|
9
9
|
C as CalendarViewItem
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as f } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as S, useCallback as O, useState as F, useEffect as G } from "react";
|
|
3
|
-
import { j as h } from "../../../chunks/vendor-
|
|
3
|
+
import { j as h } from "../../../chunks/vendor-BARd5eYq.js";
|
|
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 j, C as k } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as j, C as k } from "../../../chunks/CalendarViewItem-B7_R_3t_.js";
|
|
8
8
|
import { isKey as l } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarPickType as B, ECalendarViewMode as u } from "../enums.js";
|
|
10
10
|
const Z = ({ pickedDate: r, monthHtmlAttributes: T = {} }) => {
|