@sberbusiness/triplex-next 0.15.0 → 0.17.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-DnMeoMRa.js +39 -0
- package/chunks/{CalendarViewItem-C4iZEwoX.js → CalendarViewItem-DJCvUxM5.js} +12 -12
- package/chunks/Card.module-CMUnMJ_k.js +17 -0
- package/chunks/CheckboxTreeExtended.module-CggPosrf.js +14 -0
- package/chunks/{Chip-CQvFfbck.js → Chip-NCNX4aqk.js} +14 -14
- package/chunks/Confirm.module-BYcKID70.js +15 -0
- package/chunks/{DropdownListItem-CcCakDyr.js → DropdownListItem-BuR89hPJ.js} +19 -19
- package/chunks/DropdownMobile.module-D1kNUx6-.js +23 -0
- package/chunks/Footer.module-cBu_SV2P.js +9 -0
- package/chunks/FormFieldInput-EYc8oHbI.js +60 -0
- package/chunks/HeaderLayoutSidebar.module-QC9-L6FM.js +9 -0
- package/chunks/HeaderTabs.module-Bg8pE2hc.js +9 -0
- package/chunks/{HeaderTitle.module-BVJYOrCs.js → HeaderTitle.module-BEtGrxIR.js} +2 -2
- package/chunks/IslandAccordion.module-vTFelMzP.js +25 -0
- package/chunks/IslandWidgetFooter.module-CM5h0W7b.js +9 -0
- package/chunks/IslandWidgetHeader.module-C5Me9IIL.js +12 -0
- package/chunks/{LightBoxContent-MLggVllJ.js → LightBoxContent-tmFMe3Jq.js} +14 -14
- package/chunks/LightBoxControls.module-p6sqZFX7.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-BqbeiAEG.js +8 -0
- package/chunks/{ListItemControlsButton-BShMlm2B.js → ListItemControlsButton-CDYgneeE.js} +10 -10
- package/chunks/ListItemTail.module-BpGKcI6W.js +12 -0
- package/chunks/ListMasterFooter.module-B7YGTi33.js +10 -0
- package/chunks/ModalWindow.module-ZH4YBn7A.js +17 -0
- package/chunks/Notification.module-_VFcjKv9.js +21 -0
- package/chunks/Overlay.module-DJfkOjXa.js +18 -0
- package/chunks/Page.module-hM20h-I6.js +11 -0
- package/chunks/{RightBorderArrow-CxMqoJOA.js → RightBorderArrow-_zjTHek_.js} +4 -4
- package/chunks/SMSField.module-CY9R7ACZ.js +16 -0
- package/chunks/SliderExtendedMarks.module-CcgK2mu-.js +15 -0
- package/chunks/SliderExtendedRail-aR4aPOcb.js +40 -0
- package/chunks/StatusTracker.module-s_qiteNu.js +24 -0
- package/chunks/SuggestFieldMobileDropdownHint-BLvUyupa.js +14 -0
- package/chunks/TableFooter.module-XxoB1ydg.js +14 -0
- package/chunks/TabsExtended.module-Ce6tDS2A.js +16 -0
- package/chunks/TabsLine.module-YxNiuXB5.js +21 -0
- package/chunks/TooltipDesktop.module-CyeERXWq.js +19 -0
- package/chunks/TreeView.module-DV2mpAEi.js +9 -0
- package/chunks/{UploadZoneInput-DRVoNz0G.js → UploadZoneInput-BuIUwilQ.js} +5 -5
- package/chunks/{constants-C0-h2pRq.js → constants-BG01GOrx.js} +2 -2
- package/chunks/{utils-DYe-VisL.js → utils-C3Drcn94.js} +10 -10
- package/chunks/utils-DT0zStlo.js +73 -0
- package/chunks/utils-DYuqi1kC.js +24 -0
- package/chunks/{utils-qhEFBj7O.js → utils-uktTSRz4.js} +4 -4
- package/chunks/{vendor-CalMVkfj.js → vendor-DE8Zvm0w.js} +5 -5
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +4 -4
- package/components/Alert/AlertContext/AlertContext.js +13 -13
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +3 -3
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +18 -18
- package/components/Badge/Badge.js +26 -13
- package/components/Badge/BadgeDot.js +15 -0
- package/components/Badge/components/BadgeContent.js +35 -0
- package/components/Badge/components/BadgePostfix.js +14 -0
- package/components/Badge/components/BadgePrefix.js +10 -0
- package/components/Body/Body.js +6 -6
- package/components/Button/Button.js +25 -25
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +12 -12
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +4 -4
- package/components/Calendar/Calendar.js +6 -6
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +4 -4
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +12 -12
- 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 +5 -5
- package/components/Checkbox/Checkbox.js +14 -14
- package/components/Checkbox/CheckboxXGroup.js +13 -13
- package/components/Checkbox/CheckboxYGroup.js +4 -4
- 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 +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +7 -7
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +5 -5
- package/components/Chip/ChipSelect/ChipSelect.js +2 -2
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +51 -42
- 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 +18 -18
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +12 -12
- package/components/Col/Col.js +141 -141
- package/components/CollapsableTree/components/CollapsableTreeNode.js +19 -19
- 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 +1 -1
- package/components/DateField/DateFieldTarget.js +29 -28
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +2 -2
- package/components/DateRange/DateRange.js +5 -5
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/Divider/Divider.js +18 -18
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +9 -9
- package/components/Dropdown/desktop/DropdownDesktop.js +12 -12
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +5 -5
- package/components/ExpandAnimation/ExpandAnimation.js +13 -13
- package/components/ExpandAnimation/index.js +5 -0
- 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 +16 -16
- package/components/FormField/components/FormFieldClear.js +9 -9
- package/components/FormField/components/FormFieldCounter.js +3 -3
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +14 -14
- package/components/FormField/components/FormFieldMaskedInput.js +28 -28
- package/components/FormField/components/FormFieldPostfix.js +4 -4
- package/components/FormField/components/FormFieldPrefix.js +6 -6
- package/components/FormField/components/FormFieldTarget.js +18 -18
- package/components/FormField/components/FormFieldTextarea.js +16 -16
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +4 -4
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +39 -38
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +5 -5
- package/components/Island/components/IslandFooter.js +2 -2
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +8 -8
- package/components/IslandWidget/IslandWidget.js +7 -7
- package/components/IslandWidget/components/IslandWidgetBody.js +4 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +8 -8
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +7 -7
- package/components/LightBox/LightBox.js +20 -21
- 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 +70 -72
- 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/LightBoxSideOverlay/index.js +0 -2
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +5 -5
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/LightBox/index.js +0 -2
- package/components/Link/Link.js +17 -17
- package/components/List/List.js +9 -9
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +7 -7
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +10 -10
- package/components/List/components/ListItemControls.js +6 -6
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +3 -3
- package/components/List/components/ListItemSelectable.js +2 -2
- package/components/List/components/ListItemTable.js +9 -9
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +2 -2
- package/components/List/components/ListSortableItemControls.js +2 -2
- package/components/List/components/ListSortableItemTarget.js +7 -7
- 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 +7 -7
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +2 -2
- package/components/ListMaster/components/SelectionControls.js +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +10 -10
- package/components/Loader/LoaderSmall/LoaderSmall.js +11 -11
- package/components/LoaderScreen/LoaderScreen.js +7 -7
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +11 -11
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +5 -5
- package/components/ModalWindow/components/ModalWindowClose.js +4 -4
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +3 -3
- package/components/ModalWindow/components/ModalWindowViewManager.js +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +6 -6
- 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 +2 -2
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +6 -6
- 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 +11 -11
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +6 -6
- 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 +5 -5
- package/components/Pagination/components/PaginationSelect.js +15 -15
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +11 -11
- package/components/Radio/RadioXGroup.js +12 -12
- package/components/Radio/RadioYGroup.js +7 -7
- package/components/Row/Row.js +10 -10
- 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 +5 -5
- package/components/SegmentedControl/SegmentedControlSegment.js +6 -6
- package/components/SelectExtendedField/SelectExtendedField.js +9 -9
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +15 -15
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +14 -14
- package/components/SelectField/SelectField.js +5 -5
- package/components/Skeleton/Skeleton.js +9 -9
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +2 -2
- package/components/SliderExtended/components/SliderExtendedRail.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +9 -9
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +22 -22
- package/components/SmallInput/SmallInput.js +5 -5
- package/components/Spoiler/Spoiler.js +7 -7
- 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 +8 -8
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +9 -9
- package/components/Stepper/StepperExtended.js +2 -2
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +5 -5
- package/components/Suggest/SuggestMobileDropdownContent.js +14 -14
- package/components/Suggest/useSuggest.js +3 -3
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +12 -12
- 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 +3 -3
- package/components/Table/FilterPanel.js +6 -6
- package/components/Table/MasterTable.js +18 -18
- package/components/Table/NoColumns.js +2 -2
- package/components/Table/PaginationPanel.js +3 -3
- 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 +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +6 -6
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +5 -5
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +6 -6
- package/components/Table/TabsLinePanelLinks.js +2 -2
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +16 -16
- 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 +14 -14
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +3 -3
- package/components/Tag/Tag.js +28 -28
- package/components/TagColor/TagColor.js +11 -11
- package/components/TagGroup/TagGroup.js +11 -11
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +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 +4 -4
- 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 +13 -13
- 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 +19 -19
- package/components/Typography/Text.js +25 -25
- package/components/Typography/Title.js +26 -26
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +8 -8
- package/components/UnorderedList/UnorderedListItem.js +7 -7
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +162 -162
- package/index.d.ts +40 -13
- package/index.js +161 -161
- package/package.json +5 -1
- package/styles/triplex-next.css +546 -546
- package/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-DwZ5kXLz.js +0 -39
- package/chunks/Card.module-DnZ_SmT7.js +0 -17
- package/chunks/CheckboxTreeExtended.module-CRE6yTt5.js +0 -14
- package/chunks/Confirm.module-BrVl-yob.js +0 -15
- package/chunks/DropdownMobile.module-af6OVs0G.js +0 -23
- package/chunks/Footer.module-tAG-SN8m.js +0 -9
- package/chunks/FormFieldInput-M-BWeUyG.js +0 -60
- package/chunks/HeaderLayoutSidebar.module-Dx11MAi3.js +0 -9
- package/chunks/HeaderTabs.module-HGiK1PZg.js +0 -9
- package/chunks/IslandAccordion.module-BRmaipCD.js +0 -25
- package/chunks/IslandWidgetFooter.module-BXn6GbbA.js +0 -9
- package/chunks/IslandWidgetHeader.module-D3zGpkS_.js +0 -12
- package/chunks/LightBoxControls.module-zJ2jYB7p.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-DjqVi-v8.js +0 -8
- package/chunks/ListItemTail.module-BBVRXBTR.js +0 -12
- package/chunks/ListMasterFooter.module-8-LOEhYM.js +0 -10
- package/chunks/ModalWindow.module-uM-PCOaZ.js +0 -17
- package/chunks/Notification.module-B7fXFvwU.js +0 -21
- package/chunks/Overlay.module-Dtk3whPQ.js +0 -18
- package/chunks/Page.module-CoeirpZV.js +0 -11
- package/chunks/SMSField.module-wdtLV1SH.js +0 -16
- package/chunks/SliderExtendedMarks.module-ll3UD_YO.js +0 -15
- package/chunks/SliderExtendedRail-BdLhibqT.js +0 -40
- package/chunks/StatusTracker.module-DrbWwUtn.js +0 -24
- package/chunks/SuggestFieldMobileDropdownHint-C5OdORCu.js +0 -14
- package/chunks/TableFooter.module-BDsK8o22.js +0 -14
- package/chunks/TabsExtended.module-jfDq5xSa.js +0 -16
- package/chunks/TabsLine.module-BnotsPff.js +0 -21
- package/chunks/TooltipDesktop.module-CAL6IPaE.js +0 -19
- package/chunks/TreeView.module-BYyI_lNS.js +0 -9
- package/chunks/utils-Bdg4Vfo1.js +0 -24
- package/chunks/utils-DykNYdbk.js +0 -73
- package/components/LightBox/LightBoxSideOverlay/enums.js +0 -5
|
@@ -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-DnMeoMRa.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-DE8Zvm0w.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.17.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-DnMeoMRa.js";
|
|
7
|
+
import "../../../../chunks/vendor-DE8Zvm0w.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-DE8Zvm0w.js";
|
|
4
|
+
const N = "adaptive__079cfc43", _ = {
|
|
5
5
|
adaptive: N
|
|
6
6
|
}, h = 14, v = ({
|
|
7
7
|
className: o,
|
|
@@ -24,7 +24,7 @@ const N = "adaptive__6dbab407", _ = {
|
|
|
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.17.0", children: [
|
|
28
28
|
/* @__PURE__ */ n("span", { "data-test-id": a && `${a}__amount`, children: t }),
|
|
29
29
|
e && p()
|
|
30
30
|
] });
|
|
@@ -7,7 +7,7 @@ import "../FormField/components/FormFieldCounter.js";
|
|
|
7
7
|
import "../FormField/components/FormFieldLabel.js";
|
|
8
8
|
import { FormFieldClear as k } from "../FormField/components/FormFieldClear.js";
|
|
9
9
|
import "../FormField/components/FormFieldTarget.js";
|
|
10
|
-
import { F as w } from "../../chunks/FormFieldInput-
|
|
10
|
+
import { F as w } from "../../chunks/FormFieldInput-EYc8oHbI.js";
|
|
11
11
|
import "../FormField/components/FormFieldMaskedInput.js";
|
|
12
12
|
import "../FormField/components/FormFieldPostfix.js";
|
|
13
13
|
import "../FormField/components/FormFieldPrefix.js";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { EAvatarSize as
|
|
2
|
-
import { jsx as
|
|
3
|
-
import
|
|
4
|
-
import { c } from "../../chunks/vendor-
|
|
5
|
-
const _ = "
|
|
1
|
+
import { EAvatarSize as a } from "./enums.js";
|
|
2
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
3
|
+
import r from "react";
|
|
4
|
+
import { c as l } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
5
|
+
const _ = "avatar__6b4ede2e", e = "xxs__c175147b", d = "xs__566f4bd9", n = "sm__86cb2f74", f = "md__598e3322", i = "lg__42579c7f", v = "xl__308694f3", p = "xxl__010d01d0", s = {
|
|
6
6
|
avatar: _,
|
|
7
|
-
xxs:
|
|
8
|
-
xs:
|
|
7
|
+
xxs: e,
|
|
8
|
+
xs: d,
|
|
9
9
|
sm: n,
|
|
10
|
-
md:
|
|
10
|
+
md: f,
|
|
11
11
|
lg: i,
|
|
12
12
|
xl: v,
|
|
13
13
|
xxl: p
|
|
14
14
|
}, X = {
|
|
15
|
-
[
|
|
16
|
-
[
|
|
17
|
-
[
|
|
18
|
-
[
|
|
19
|
-
[
|
|
20
|
-
[
|
|
21
|
-
[
|
|
22
|
-
},
|
|
23
|
-
|
|
15
|
+
[a.XXS]: s.xxs,
|
|
16
|
+
[a.XS]: s.xs,
|
|
17
|
+
[a.SM]: s.sm,
|
|
18
|
+
[a.MD]: s.md,
|
|
19
|
+
[a.LG]: s.lg,
|
|
20
|
+
[a.XL]: s.xl,
|
|
21
|
+
[a.XXL]: s.xxl
|
|
22
|
+
}, b = r.forwardRef(({ className: x, size: t, ...o }, m) => /* @__PURE__ */ c("div", { className: l(s.avatar, X[t], x), ...o, ref: m }));
|
|
23
|
+
b.displayName = "Avatar";
|
|
24
24
|
export {
|
|
25
|
-
|
|
25
|
+
b as Avatar
|
|
26
26
|
};
|
|
27
27
|
//# sourceMappingURL=Avatar.js.map
|
|
@@ -1,17 +1,30 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { c
|
|
4
|
-
import { createSizeToClassNameMap as
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import g from "react";
|
|
3
|
+
import { c } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
4
|
+
import { createSizeToClassNameMap as i } from "../../utils/classNameMaps.js";
|
|
5
|
+
import { BadgeDot as _ } from "./BadgeDot.js";
|
|
6
|
+
import { BadgeContent as f } from "./components/BadgeContent.js";
|
|
7
|
+
import { BadgePrefix as p } from "./components/BadgePrefix.js";
|
|
8
|
+
import { BadgePostfix as B } from "./components/BadgePostfix.js";
|
|
9
|
+
const b = "badge__282b9edc", P = "sm__da6462a7", N = "md__0731505a", S = "lg__a3232a5d", d = {
|
|
10
|
+
badge: b,
|
|
11
|
+
sm: P,
|
|
12
|
+
md: N,
|
|
13
|
+
lg: S
|
|
14
|
+
}, h = i(d), j = Object.assign(
|
|
15
|
+
g.forwardRef(
|
|
16
|
+
({ children: m, className: s, size: t, prefix: o, postfix: a, ...n }, r) => /* @__PURE__ */ l("span", { className: c(d.badge, h[t], s), ...n, ref: r, children: [
|
|
17
|
+
o ? /* @__PURE__ */ e(p, { children: o }) : null,
|
|
18
|
+
m ? /* @__PURE__ */ e(f, { size: t, noPaddingLeft: !!o, noPaddingRight: !!a, children: m }) : null,
|
|
19
|
+
a ? /* @__PURE__ */ e(B, { children: a }) : null
|
|
20
|
+
] })
|
|
21
|
+
),
|
|
22
|
+
{
|
|
23
|
+
Dot: _
|
|
24
|
+
}
|
|
12
25
|
);
|
|
13
|
-
|
|
26
|
+
j.displayName = "Badge";
|
|
14
27
|
export {
|
|
15
|
-
|
|
28
|
+
j as Badge
|
|
16
29
|
};
|
|
17
30
|
//# sourceMappingURL=Badge.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import d from "react";
|
|
3
|
+
import { c } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
4
|
+
import { createSizeToClassNameMap as r } from "../../utils/classNameMaps.js";
|
|
5
|
+
const _ = "badgeDot__e724011b", g = "sm__da6462a7", l = "md__0731505a", n = "lg__a3232a5d", o = {
|
|
6
|
+
badgeDot: _,
|
|
7
|
+
sm: g,
|
|
8
|
+
md: l,
|
|
9
|
+
lg: n
|
|
10
|
+
}, p = r(o), f = d.forwardRef(({ className: a, size: s, ...t }, e) => /* @__PURE__ */ m("span", { className: c(o.badgeDot, p[s], a), ...t, ref: e }));
|
|
11
|
+
f.displayName = "BadgeDot";
|
|
12
|
+
export {
|
|
13
|
+
f as BadgeDot
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=BadgeDot.js.map
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { jsx as g } from "react/jsx-runtime";
|
|
2
|
+
import { c as i } from "../../../chunks/vendor-DE8Zvm0w.js";
|
|
3
|
+
import { createSizeToClassNameMap as _ } from "../../../utils/classNameMaps.js";
|
|
4
|
+
const m = "badgeContent__01730de9", c = "sm__da6462a7", P = "md__0731505a", l = "lg__a3232a5d", r = "noPaddingLeft__47c2578e", C = "noPaddingRight__6d947e1e", n = {
|
|
5
|
+
badgeContent: m,
|
|
6
|
+
sm: c,
|
|
7
|
+
md: P,
|
|
8
|
+
lg: l,
|
|
9
|
+
noPaddingLeft: r,
|
|
10
|
+
noPaddingRight: C
|
|
11
|
+
}, f = _(n), p = ({
|
|
12
|
+
children: t,
|
|
13
|
+
size: o,
|
|
14
|
+
noPaddingLeft: d,
|
|
15
|
+
noPaddingRight: a,
|
|
16
|
+
className: e,
|
|
17
|
+
...s
|
|
18
|
+
}) => /* @__PURE__ */ g(
|
|
19
|
+
"span",
|
|
20
|
+
{
|
|
21
|
+
className: i(
|
|
22
|
+
n.badgeContent,
|
|
23
|
+
f[o],
|
|
24
|
+
{ [n.noPaddingLeft]: d, [n.noPaddingRight]: a },
|
|
25
|
+
e
|
|
26
|
+
),
|
|
27
|
+
...s,
|
|
28
|
+
children: t
|
|
29
|
+
}
|
|
30
|
+
);
|
|
31
|
+
p.displayName = "BadgeContent";
|
|
32
|
+
export {
|
|
33
|
+
p as BadgeContent
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=BadgeContent.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { c as e } from "../../../chunks/vendor-DE8Zvm0w.js";
|
|
3
|
+
const i = "badgePostfix__16569691", x = {
|
|
4
|
+
badgePostfix: i
|
|
5
|
+
}, f = ({
|
|
6
|
+
children: s,
|
|
7
|
+
className: o,
|
|
8
|
+
...t
|
|
9
|
+
}) => /* @__PURE__ */ a("span", { className: e(x.badgePostfix, o), ...t, children: s });
|
|
10
|
+
f.displayName = "BadgePostfix";
|
|
11
|
+
export {
|
|
12
|
+
f as BadgePostfix
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=BadgePostfix.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { c as i } from "../../../chunks/vendor-DE8Zvm0w.js";
|
|
3
|
+
const x = "badgePrefix__6dcb2414", d = {
|
|
4
|
+
badgePrefix: x
|
|
5
|
+
}, f = ({ children: e, className: a, ...s }) => /* @__PURE__ */ r("span", { className: i(d.badgePrefix, a), ...s, children: e });
|
|
6
|
+
f.displayName = "BadgePrefix";
|
|
7
|
+
export {
|
|
8
|
+
f as BadgePrefix
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=BadgePrefix.js.map
|
package/components/Body/Body.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import t from "react";
|
|
3
|
-
import { c as y } from "../../chunks/vendor-
|
|
4
|
-
const a = "
|
|
3
|
+
import { c as y } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
4
|
+
const a = "body__0999914d", c = "bodyInner__ee446fb5", d = {
|
|
5
5
|
body: a,
|
|
6
|
-
bodyInner:
|
|
7
|
-
},
|
|
8
|
-
|
|
6
|
+
bodyInner: c
|
|
7
|
+
}, b = t.forwardRef(({ children: e, className: r, ...s }, n) => /* @__PURE__ */ o("div", { className: y(d.body, r), ...s, "data-tx": "0.17.0", ref: n, children: /* @__PURE__ */ o("div", { className: d.bodyInner, children: e }) }));
|
|
8
|
+
b.displayName = "Body";
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
b as Body
|
|
11
11
|
};
|
|
12
12
|
//# sourceMappingURL=Body.js.map
|
|
@@ -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-DE8Zvm0w.js";
|
|
4
4
|
import { LoaderSmall as R } from "../Loader/LoaderSmall/LoaderSmall.js";
|
|
5
5
|
import { ELoaderSmallTheme as g } from "../Loader/LoaderSmall/enum.js";
|
|
6
6
|
import "../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
7
7
|
import { ButtonBase as C } from "./ButtonBase.js";
|
|
8
|
-
import { EButtonTheme as
|
|
8
|
+
import { EButtonTheme as d } from "./enums.js";
|
|
9
9
|
import { EComponentSize as s } from "../../enums/EComponentSize.js";
|
|
10
|
-
const A = "
|
|
10
|
+
const A = "general__7d3c20ed", B = "expanded__be63da38", u = {
|
|
11
11
|
general: A,
|
|
12
12
|
expanded: B
|
|
13
|
-
}, D = "
|
|
13
|
+
}, D = "secondary__7d4119e9", T = "expanded__be63da38", x = {
|
|
14
14
|
secondary: D,
|
|
15
15
|
expanded: T
|
|
16
|
-
}, G = "
|
|
16
|
+
}, G = "secondaryLight__89230984", I = "expanded__be63da38", b = {
|
|
17
17
|
secondaryLight: G,
|
|
18
18
|
expanded: I
|
|
19
|
-
}, v = "
|
|
19
|
+
}, v = "danger__765da6b2", O = "expanded__be63da38", h = {
|
|
20
20
|
danger: v,
|
|
21
21
|
expanded: O
|
|
22
|
-
}, Y = "
|
|
22
|
+
}, Y = "link__1df36915", $ = "expanded__be63da38", f = {
|
|
23
23
|
link: Y,
|
|
24
24
|
expanded: $
|
|
25
|
-
}, w = "
|
|
25
|
+
}, w = "button__d226e300", z = "sm__10455656", M = "icon__7c0eb1f7", j = "md__4fb97f1c", H = "lg__e98d7ef7", K = "block__370fcf11", U = "content__679c5624", q = "loading__f92ae610", F = "loader__e336cb4f", J = "hidden__d0d489c6", e = {
|
|
26
26
|
button: w,
|
|
27
27
|
sm: z,
|
|
28
28
|
icon: M,
|
|
@@ -33,33 +33,33 @@ const A = "general__67252594", B = "expanded__ec04bd0d", u = {
|
|
|
33
33
|
loading: q,
|
|
34
34
|
loader: F,
|
|
35
35
|
hidden: J
|
|
36
|
-
}, P = (
|
|
37
|
-
switch (
|
|
38
|
-
case
|
|
36
|
+
}, P = (t, n) => {
|
|
37
|
+
switch (t) {
|
|
38
|
+
case d.GENERAL:
|
|
39
39
|
return { [u.general]: !0, [u.expanded]: n };
|
|
40
|
-
case
|
|
40
|
+
case d.SECONDARY:
|
|
41
41
|
return {
|
|
42
|
-
[
|
|
43
|
-
[
|
|
42
|
+
[x.secondary]: !0,
|
|
43
|
+
[x.expanded]: n
|
|
44
44
|
};
|
|
45
|
-
case
|
|
45
|
+
case d.SECONDARY_LIGHT:
|
|
46
46
|
return {
|
|
47
|
-
[
|
|
48
|
-
[
|
|
47
|
+
[b.secondaryLight]: !0,
|
|
48
|
+
[b.expanded]: n
|
|
49
49
|
};
|
|
50
|
-
case
|
|
50
|
+
case d.DANGER:
|
|
51
51
|
return {
|
|
52
52
|
[h.danger]: !0,
|
|
53
53
|
[h.expanded]: n
|
|
54
54
|
};
|
|
55
|
-
case
|
|
55
|
+
case d.LINK:
|
|
56
56
|
return {
|
|
57
57
|
[f.link]: !0,
|
|
58
58
|
[f.expanded]: n
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
|
-
}, Q = (
|
|
62
|
-
switch (
|
|
61
|
+
}, Q = (t) => {
|
|
62
|
+
switch (t) {
|
|
63
63
|
case s.LG:
|
|
64
64
|
return e.lg;
|
|
65
65
|
case s.MD:
|
|
@@ -67,11 +67,11 @@ const A = "general__67252594", B = "expanded__ec04bd0d", u = {
|
|
|
67
67
|
case s.SM:
|
|
68
68
|
return e.sm;
|
|
69
69
|
}
|
|
70
|
-
}, V = (
|
|
71
|
-
const o = [
|
|
70
|
+
}, V = (t, n) => {
|
|
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
|
-
}, W = k.forwardRef((
|
|
74
|
-
const { children: o, className: N, disabled: c, theme: r, size: l = s.MD, block: L, loading: a, icon: i, ...S } =
|
|
73
|
+
}, W = k.forwardRef((t, n) => {
|
|
74
|
+
const { children: o, className: N, disabled: c, theme: r, size: l = s.MD, block: L, loading: a, icon: i, ...S } = t, { "aria-expanded": _ } = t, E = p(
|
|
75
75
|
e.button,
|
|
76
76
|
P(r, !!_),
|
|
77
77
|
Q(l),
|
|
@@ -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.17.0", ref: o }));
|
|
4
4
|
e.displayName = "ButtonBase";
|
|
5
5
|
export {
|
|
6
6
|
e as ButtonBase
|
|
@@ -3,9 +3,9 @@ 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,
|
|
6
|
+
import { c as w, u as J } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
7
7
|
import { ButtonDropdownExtended as y } from "./ButtonDropdownExtended.js";
|
|
8
|
-
import { EButtonDotsTheme as u, EButtonTheme as
|
|
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";
|
|
10
10
|
import { isKey as D } from "../../utils/keyboard.js";
|
|
11
11
|
import { DropdownListContext as oo } from "../Dropdown/DropdownListContext.js";
|
|
@@ -18,7 +18,7 @@ import { Text as ao } from "../Typography/Text.js";
|
|
|
18
18
|
import { ETextSize as so } from "../Typography/enums.js";
|
|
19
19
|
import { DropdownList as Y } from "../Dropdown/desktop/DropdownList.js";
|
|
20
20
|
import { EComponentSize as f } from "../../enums/EComponentSize.js";
|
|
21
|
-
const lo = "
|
|
21
|
+
const lo = "buttonDropdown__f895518e", io = "block__370fcf11", mo = "buttonDropdownTarget__da0f079a", uo = "caretIcon__0c7126fa", Do = "active__7cd0d70a", fo = "buttonDropdownMenuItem__7b0122d3", n = {
|
|
22
22
|
buttonDropdown: lo,
|
|
23
23
|
block: io,
|
|
24
24
|
buttonDropdownTarget: mo,
|
|
@@ -66,7 +66,7 @@ const lo = "buttonDropdown__651487a2", io = "block__7fecf1ce", mo = "buttonDropd
|
|
|
66
66
|
M,
|
|
67
67
|
{
|
|
68
68
|
className: a,
|
|
69
|
-
theme: b === u.DOTS_SECONDARY ?
|
|
69
|
+
theme: b === 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 }),
|
|
@@ -85,13 +85,13 @@ const lo = "buttonDropdown__651487a2", io = "block__7fecf1ce", mo = "buttonDropd
|
|
|
85
85
|
(D(l, "SPACE") || D(l, "ARROW_UP") || D(l, "ARROW_DOWN")) && a.preventDefault(), !o && (D(l, "ARROW_UP") || D(l, "ARROW_DOWN")) && r(!0);
|
|
86
86
|
}, j = () => {
|
|
87
87
|
switch (b) {
|
|
88
|
-
case
|
|
89
|
-
case
|
|
88
|
+
case d.GENERAL:
|
|
89
|
+
case d.DANGER:
|
|
90
90
|
case u.DOTS_SECONDARY:
|
|
91
91
|
case u.DOTS_SECONDARY_LIGHT:
|
|
92
92
|
return g(s, 7);
|
|
93
|
-
case
|
|
94
|
-
case
|
|
93
|
+
case d.SECONDARY:
|
|
94
|
+
case d.SECONDARY_LIGHT:
|
|
95
95
|
return g(s, 0);
|
|
96
96
|
default:
|
|
97
97
|
return null;
|
|
@@ -123,8 +123,8 @@ const lo = "buttonDropdown__651487a2", io = "block__7fecf1ce", mo = "buttonDropd
|
|
|
123
123
|
key: e.id,
|
|
124
124
|
selected: e.id === (i == null ? void 0 : i.id),
|
|
125
125
|
onSelect: () => {
|
|
126
|
-
var
|
|
127
|
-
(
|
|
126
|
+
var m;
|
|
127
|
+
(m = e.onSelect) == null || m.call(e), r(!1);
|
|
128
128
|
}
|
|
129
129
|
},
|
|
130
130
|
e.label
|
|
@@ -139,8 +139,8 @@ const lo = "buttonDropdown__651487a2", io = "block__7fecf1ce", mo = "buttonDropd
|
|
|
139
139
|
key: e.id,
|
|
140
140
|
selected: e.id === (i == null ? void 0 : i.id),
|
|
141
141
|
onSelect: () => {
|
|
142
|
-
var
|
|
143
|
-
(
|
|
142
|
+
var m;
|
|
143
|
+
(m = e.onSelect) == null || m.call(e), r(!1);
|
|
144
144
|
}
|
|
145
145
|
},
|
|
146
146
|
e.label
|
|
@@ -3,8 +3,8 @@ 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-DE8Zvm0w.js";
|
|
7
|
+
const K = "buttonDropdownExtended__7f9449d9", S = "buttonDropdownExtendedBlock__3227be84", E = {
|
|
8
8
|
buttonDropdownExtended: K,
|
|
9
9
|
buttonDropdownExtendedBlock: S
|
|
10
10
|
}, D = (s) => {
|
|
@@ -25,10 +25,10 @@ const K = "buttonDropdownExtended__455c1d3c", 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,8 +1,8 @@
|
|
|
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-DE8Zvm0w.js";
|
|
4
4
|
import { EButtonIconShape as o } from "./enums.js";
|
|
5
|
-
const p = "
|
|
5
|
+
const p = "buttonIcon__36ba09fc", I = "circle__92077d75", b = "squircle__4eea0aba", t = {
|
|
6
6
|
buttonIcon: p,
|
|
7
7
|
circle: I,
|
|
8
8
|
squircle: b
|
|
@@ -10,8 +10,8 @@ const p = "buttonIcon__4132aa05", I = "circle__4ddb113d", b = "squircle__c16f5e8
|
|
|
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 {
|
|
5
|
+
import { u as I, c as R } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
6
6
|
import V from "react";
|
|
7
7
|
import D from "moment";
|
|
8
8
|
import { globalLimitRange as O, dateFormatYYYYMMDD as x } from "../../consts/DateConst.js";
|
|
@@ -13,7 +13,7 @@ import { CalendarView as _ } from "./components/CalendarView.js";
|
|
|
13
13
|
import { CalendarFooter as E } from "./components/CalendarFooter.js";
|
|
14
14
|
import { CalendarFooterButton as v } from "./components/CalendarFooterButton.js";
|
|
15
15
|
import { parsePickedDate as f, formatDate as P, getHeader as j } from "./utils.js";
|
|
16
|
-
const q = "
|
|
16
|
+
const q = "calendar__6d571510", L = "adaptive__3249104c", g = {
|
|
17
17
|
calendar: q,
|
|
18
18
|
adaptive: L
|
|
19
19
|
};
|
|
@@ -134,10 +134,10 @@ class k extends V.PureComponent {
|
|
|
134
134
|
nextButtonProps: u,
|
|
135
135
|
viewButtonProps: C,
|
|
136
136
|
todayButtonProps: T
|
|
137
|
-
} = this.props, { viewMode: A, viewDate: B, header: Y } = this.state,
|
|
137
|
+
} = this.props, { viewMode: A, viewDate: B, header: Y } = this.state, F = R(g.calendar, {
|
|
138
138
|
[g.adaptive]: !!this.props.adaptiveMode
|
|
139
|
-
}),
|
|
140
|
-
return /* @__PURE__ */ h("div", { className:
|
|
139
|
+
}), b = f(this.props.pickedDate, t);
|
|
140
|
+
return /* @__PURE__ */ h("div", { className: F, "data-tx": "0.17.0", children: /* @__PURE__ */ S(
|
|
141
141
|
w.Provider,
|
|
142
142
|
{
|
|
143
143
|
value: {
|
|
@@ -166,7 +166,7 @@ class k extends V.PureComponent {
|
|
|
166
166
|
/* @__PURE__ */ h(
|
|
167
167
|
_,
|
|
168
168
|
{
|
|
169
|
-
pickedDate:
|
|
169
|
+
pickedDate: b,
|
|
170
170
|
dayHtmlAttributes: e,
|
|
171
171
|
monthHtmlAttributes: i,
|
|
172
172
|
yearHtmlAttributes: s
|
|
@@ -4,11 +4,11 @@ import { CaretleftStrokeSrvIcon24 as B, CaretrightStrokeSrvIcon24 as v } from "@
|
|
|
4
4
|
import { CalendarContext as w } from "../CalendarContext.js";
|
|
5
5
|
import { Button as H } from "../../Button/Button.js";
|
|
6
6
|
import { ButtonIcon as A } from "../../Button/ButtonIcon.js";
|
|
7
|
-
import { EButtonIconShape as
|
|
7
|
+
import { EButtonIconShape as b, EButtonTheme as L } from "../../Button/enums.js";
|
|
8
8
|
import { ECalendarViewMode as e } from "../enums.js";
|
|
9
|
-
import { globalLimitRange as
|
|
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__c5b8e2e7", j = {
|
|
12
12
|
calendarControls: U
|
|
13
13
|
}, X = ({
|
|
14
14
|
children: m,
|
|
@@ -16,12 +16,12 @@ const U = "calendarControls__8416fa1a", j = {
|
|
|
16
16
|
nextButtonProps: d = {},
|
|
17
17
|
viewButtonProps: c = {}
|
|
18
18
|
}) => {
|
|
19
|
-
const { viewDate: a, viewMode: n, limitRange: u, periodId: S, onPageChange: h, onViewChange: p } = D(w),
|
|
19
|
+
const { viewDate: a, viewMode: n, limitRange: u, periodId: S, onPageChange: h, onViewChange: p } = D(w), O = () => {
|
|
20
20
|
const { disabled: t, onClick: o, ...r } = typeof i == "function" ? i(n) : i;
|
|
21
21
|
return /* @__PURE__ */ s(
|
|
22
22
|
A,
|
|
23
23
|
{
|
|
24
|
-
shape:
|
|
24
|
+
shape: b.CIRCLE,
|
|
25
25
|
disabled: t || N(),
|
|
26
26
|
onClick: R(o),
|
|
27
27
|
...r,
|
|
@@ -33,7 +33,7 @@ const U = "calendarControls__8416fa1a", j = {
|
|
|
33
33
|
return /* @__PURE__ */ s(
|
|
34
34
|
A,
|
|
35
35
|
{
|
|
36
|
-
shape:
|
|
36
|
+
shape: b.CIRCLE,
|
|
37
37
|
disabled: t || Y(),
|
|
38
38
|
onClick: x(o),
|
|
39
39
|
...r,
|
|
@@ -56,10 +56,10 @@ const U = "calendarControls__8416fa1a", j = {
|
|
|
56
56
|
);
|
|
57
57
|
}, N = () => {
|
|
58
58
|
const t = a.clone();
|
|
59
|
-
return n === e.DAYS ? t.startOf("month") : n === e.MONTHS ? t.startOf("year") : n === e.YEARS && t.startOf("year").subtract(5, "years"), t.subtract(1, "day").isBefore(u.dateFrom ||
|
|
59
|
+
return n === e.DAYS ? t.startOf("month") : n === e.MONTHS ? t.startOf("year") : n === e.YEARS && t.startOf("year").subtract(5, "years"), t.subtract(1, "day").isBefore(u.dateFrom || E.dateFrom, "day");
|
|
60
60
|
}, Y = () => {
|
|
61
61
|
const t = a.clone();
|
|
62
|
-
return n === e.DAYS ? t.endOf("month") : n === e.MONTHS ? t.endOf("year") : n === e.YEARS && t.endOf("year").add(6, "years"), t.add(1, "day").isAfter(u.dateTo ||
|
|
62
|
+
return n === e.DAYS ? t.endOf("month") : n === e.MONTHS ? t.endOf("year") : n === e.YEARS && t.endOf("year").add(6, "years"), t.add(1, "day").isAfter(u.dateTo || E.dateTo, "day");
|
|
63
63
|
}, R = (t) => (o) => {
|
|
64
64
|
const r = C(), l = y(), f = a.clone().subtract(l, r);
|
|
65
65
|
h(f, n), t == null || t(o);
|
|
@@ -86,7 +86,7 @@ const U = "calendarControls__8416fa1a", j = {
|
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
88
|
return /* @__PURE__ */ T("div", { className: j.calendarControls, children: [
|
|
89
|
-
|
|
89
|
+
O(),
|
|
90
90
|
n === e.YEARS ? /* @__PURE__ */ s("span", { id: S, tabIndex: -1, "aria-live": "polite", children: m }) : I(),
|
|
91
91
|
g()
|
|
92
92
|
] });
|
|
@@ -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__6d4ef6e4", 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,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as U, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { c as H } from "../../../chunks/vendor-
|
|
2
|
+
import { c as H } from "../../../chunks/vendor-DE8Zvm0w.js";
|
|
3
3
|
import { useContext as k, useCallback as O, useState as L, useEffect as q } from "react";
|
|
4
4
|
import c from "moment";
|
|
5
5
|
import { isDateOutOfRange as g, isDayDisabled as z } from "../utils.js";
|
|
6
6
|
import { WEEKDAYS_SET as J } from "../../../consts/DateConst.js";
|
|
7
7
|
import { CalendarViewContext as Q } from "../CalendarViewContext.js";
|
|
8
|
-
import { s as y, C as X } from "../../../chunks/CalendarViewItem-
|
|
8
|
+
import { s as y, C as X } from "../../../chunks/CalendarViewItem-DJCvUxM5.js";
|
|
9
9
|
import { isKey as d } from "../../../utils/keyboard.js";
|
|
10
10
|
import { ECalendarDateMarkType as Z, ECalendarViewMode as E } from "../enums.js";
|
|
11
11
|
import { CalendarContext as ee } from "../CalendarContext.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../../chunks/vendor-
|
|
2
|
+
import "../../../chunks/vendor-DE8Zvm0w.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-DJCvUxM5.js";
|
|
8
8
|
export {
|
|
9
9
|
C as CalendarViewItem
|
|
10
10
|
};
|