@sberbusiness/triplex-next 0.15.0 → 0.16.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-BfExIHyf.js +39 -0
- package/chunks/{CalendarViewItem-C4iZEwoX.js → CalendarViewItem-DjDlwsr-.js} +23 -23
- package/chunks/Card.module-BDhkqA-1.js +17 -0
- package/chunks/CheckboxTreeExtended.module-DvYrGq2d.js +14 -0
- package/chunks/{Chip-CQvFfbck.js → Chip-Is4KDVHc.js} +9 -9
- package/chunks/Confirm.module-DJgmkdgX.js +15 -0
- package/chunks/{DropdownListItem-CcCakDyr.js → DropdownListItem-BdSacGyt.js} +21 -21
- package/chunks/DropdownMobile.module-04Mon9FN.js +23 -0
- package/chunks/Footer.module-B0GfNisY.js +9 -0
- package/chunks/FormFieldInput-DDUEO0k6.js +60 -0
- package/chunks/HeaderLayoutSidebar.module-BvdGzIVf.js +9 -0
- package/chunks/HeaderTabs.module-COsRYfxE.js +9 -0
- package/chunks/{HeaderTitle.module-BVJYOrCs.js → HeaderTitle.module-LN1Fj13p.js} +2 -2
- package/chunks/IslandAccordion.module-GnMVxP0n.js +25 -0
- package/chunks/IslandWidgetFooter.module-Cvl5d8YC.js +9 -0
- package/chunks/IslandWidgetHeader.module-JkauVtWn.js +12 -0
- package/chunks/{LightBoxContent-MLggVllJ.js → LightBoxContent-CN7SmRwX.js} +12 -12
- package/chunks/LightBoxControls.module-koLoz_-f.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-D6FP9Ulx.js +8 -0
- package/chunks/{ListItemControlsButton-BShMlm2B.js → ListItemControlsButton-CgrHz7BO.js} +13 -13
- package/chunks/ListItemTail.module-DNRGTk64.js +12 -0
- package/chunks/ListMasterFooter.module-iy5cZxzC.js +10 -0
- package/chunks/ModalWindow.module-boLwaSVC.js +17 -0
- package/chunks/Notification.module-6l7KFShv.js +21 -0
- package/chunks/Overlay.module-COWWNc0T.js +18 -0
- package/chunks/Page.module-UL2Y8-XU.js +11 -0
- package/chunks/{RightBorderArrow-CxMqoJOA.js → RightBorderArrow-B47Am4iB.js} +7 -7
- package/chunks/SMSField.module-BGqA-NcR.js +16 -0
- package/chunks/SliderExtendedMarks.module-CrvLHlu0.js +15 -0
- package/chunks/{SliderExtendedRail-BdLhibqT.js → SliderExtendedRail-C_eWUceV.js} +9 -9
- package/chunks/StatusTracker.module-BIpb3AbV.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-C5OdORCu.js → SuggestFieldMobileDropdownHint-C_9OyUAk.js} +5 -5
- package/chunks/TableFooter.module-DpjOyrUF.js +14 -0
- package/chunks/TabsExtended.module-hRiksHlb.js +16 -0
- package/chunks/TabsLine.module-3hdH-7s8.js +21 -0
- package/chunks/TooltipDesktop.module-BQ_-qhMK.js +19 -0
- package/chunks/TreeView.module-BHzh1VmC.js +9 -0
- package/chunks/{UploadZoneInput-DRVoNz0G.js → UploadZoneInput--8r5kxhe.js} +6 -6
- package/chunks/{constants-C0-h2pRq.js → constants-BY1BSJmu.js} +7 -7
- package/chunks/{utils-DYe-VisL.js → utils-Bg2bllE8.js} +11 -11
- package/chunks/utils-e1nAN4Kk.js +20 -0
- package/chunks/utils-rqbzWAF8.js +24 -0
- package/chunks/utils-zNOBXKDX.js +73 -0
- 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 +7 -7
- 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 +16 -16
- 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 +8 -8
- package/components/Button/Button.js +29 -29
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +15 -15
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +12 -12
- package/components/Calendar/Calendar.js +3 -3
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +16 -16
- 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 +18 -18
- package/components/Checkbox/CheckboxXGroup.js +14 -14
- 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 +8 -8
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +4 -4
- 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 +21 -21
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +18 -18
- package/components/Col/Col.js +141 -141
- package/components/CollapsableTree/components/CollapsableTreeNode.js +12 -12
- 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 +8 -8
- package/components/DateRange/DateRange.js +2 -2
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/Divider/Divider.js +18 -18
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +7 -7
- package/components/Dropdown/desktop/DropdownDesktop.js +18 -18
- 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 +9 -9
- package/components/ExpandAnimation/ExpandAnimation.js +23 -23
- 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 +26 -26
- package/components/FormField/components/FormFieldClear.js +10 -10
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +8 -8
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +9 -9
- package/components/FormField/components/FormFieldMaskedInput.js +20 -20
- package/components/FormField/components/FormFieldPostfix.js +4 -4
- package/components/FormField/components/FormFieldPrefix.js +8 -8
- package/components/FormField/components/FormFieldTarget.js +12 -12
- package/components/FormField/components/FormFieldTextarea.js +18 -18
- 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 +3 -3
- package/components/Island/components/IslandFooter.js +3 -3
- package/components/Island/components/IslandHeader.js +2 -2
- 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 +9 -9
- 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 +18 -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 +70 -72
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSideOverlay/index.js +0 -2
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +8 -8
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +2 -2
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/LightBox/index.js +0 -2
- package/components/Link/Link.js +25 -25
- package/components/List/List.js +8 -8
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +6 -6
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +11 -11
- package/components/List/components/ListItemControls.js +5 -5
- 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 +5 -5
- package/components/List/components/ListItemTable.js +12 -12
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +5 -5
- package/components/List/components/ListSortableItemControls.js +2 -2
- package/components/List/components/ListSortableItemTarget.js +2 -2
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +2 -2
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +8 -8
- package/components/ListMaster/components/SelectionControls.js +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +7 -7
- package/components/Loader/LoaderSmall/LoaderSmall.js +8 -8
- package/components/LoaderScreen/LoaderScreen.js +6 -6
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +7 -7
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +2 -2
- package/components/ModalWindow/components/ModalWindowClose.js +1 -1
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +13 -13
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +6 -6
- 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 +7 -7
- 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 +2 -2
- 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 +17 -17
- package/components/Radio/RadioXGroup.js +10 -10
- package/components/Radio/RadioYGroup.js +4 -4
- package/components/Row/Row.js +9 -9
- 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 +10 -10
- package/components/SelectExtendedField/SelectExtendedField.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +15 -15
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +9 -9
- package/components/SelectField/SelectField.js +5 -5
- package/components/Skeleton/Skeleton.js +8 -8
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +18 -18
- 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 +12 -12
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +20 -20
- package/components/SmallInput/SmallInput.js +2 -2
- package/components/Spoiler/Spoiler.js +10 -10
- 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 +7 -7
- 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 +11 -11
- 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 +11 -11
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +18 -18
- package/components/Table/NoColumns.js +2 -2
- 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 +2 -2
- 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 +5 -5
- 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 +2 -2
- package/components/Table/TabsLinePanelLinks.js +2 -2
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +18 -18
- 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 +11 -11
- package/components/Tag/Tag.js +22 -22
- package/components/TagColor/TagColor.js +13 -13
- 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 +7 -7
- package/components/TopOverlay/TopOverlay.js +28 -28
- 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 +16 -16
- package/components/Typography/Text.js +31 -31
- package/components/Typography/Title.js +23 -23
- 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/StatusTracker.module-DrbWwUtn.js +0 -24
- 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/chunks/utils-qhEFBj7O.js +0 -20
- package/components/LightBox/LightBoxSideOverlay/enums.js +0 -5
|
@@ -4,9 +4,9 @@ import { EAlertType as e } from "../EAlertType.js";
|
|
|
4
4
|
import { alertTypeToClassNameMap as m } from "../AlertTypeUtils.js";
|
|
5
5
|
import { Text as y } from "../../Typography/Text.js";
|
|
6
6
|
import { EFontType as r, ETextSize as I } from "../../Typography/enums.js";
|
|
7
|
-
import { SystemStrokeStsIcon16 as
|
|
8
|
-
import { c as N } from "../../../chunks/vendor-
|
|
9
|
-
const E = "
|
|
7
|
+
import { SystemStrokeStsIcon16 as S, ErrorStrokeStsIcon16 as i, WarningStrokeStsIcon16 as f, InfoStrokeStsIcon16 as R } from "@sberbusiness/icons-next";
|
|
8
|
+
import { c as N } from "../../../chunks/vendor-DE8Zvm0w.js";
|
|
9
|
+
const E = "alertContext__10652c96", C = "alertContextText__622ae35b", _ = "alertTypeError__ca39c780", d = "alertTypeInfo__bd91a562", A = "alertTypeWarning__30145eb3", O = "alertTypeSystem__75f3e78c", n = {
|
|
10
10
|
alertContext: E,
|
|
11
11
|
alertContextText: C,
|
|
12
12
|
alertTypeError: _,
|
|
@@ -18,11 +18,11 @@ const E = "alertContext__a5217a88", C = "alertContextText__1ff95001", _ = "alert
|
|
|
18
18
|
case e.INFO:
|
|
19
19
|
return /* @__PURE__ */ t(R, { paletteIndex: 3 });
|
|
20
20
|
case e.WARNING:
|
|
21
|
-
return /* @__PURE__ */ t(
|
|
21
|
+
return /* @__PURE__ */ t(f, { paletteIndex: 2 });
|
|
22
22
|
case e.ERROR:
|
|
23
|
-
return /* @__PURE__ */ t(
|
|
23
|
+
return /* @__PURE__ */ t(i, { paletteIndex: 1 });
|
|
24
24
|
case e.SYSTEM:
|
|
25
|
-
return /* @__PURE__ */ t(
|
|
25
|
+
return /* @__PURE__ */ t(S, { paletteIndex: 4 });
|
|
26
26
|
}
|
|
27
27
|
}, u = {
|
|
28
28
|
[e.INFO]: r.INFO,
|
|
@@ -36,7 +36,7 @@ const E = "alertContext__a5217a88", C = "alertContextText__1ff95001", _ = "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.16.0",
|
|
40
40
|
ref: c,
|
|
41
41
|
children: [
|
|
42
42
|
s || W(a),
|
|
@@ -3,10 +3,10 @@ import P, { useState as n } from "react";
|
|
|
3
3
|
import { EAlertType as t } from "../EAlertType.js";
|
|
4
4
|
import { alertTypeToClassNameMap as k } from "../AlertTypeUtils.js";
|
|
5
5
|
import { ButtonIcon as v } from "../../Button/ButtonIcon.js";
|
|
6
|
-
import { s as r, A as i } from "../../../chunks/AlertProcessSpoiler-
|
|
6
|
+
import { s as r, A as i } from "../../../chunks/AlertProcessSpoiler-BfExIHyf.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.16.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-BfExIHyf.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__d51cf506", _ = {
|
|
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.16.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-DDUEO0k6.js";
|
|
11
11
|
import "../FormField/components/FormFieldMaskedInput.js";
|
|
12
12
|
import "../FormField/components/FormFieldPostfix.js";
|
|
13
13
|
import "../FormField/components/FormFieldPrefix.js";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { EAvatarSize as
|
|
1
|
+
import { EAvatarSize as a } from "./enums.js";
|
|
2
2
|
import { jsx as r } from "react/jsx-runtime";
|
|
3
|
-
import
|
|
4
|
-
import { c } from "../../chunks/vendor-
|
|
5
|
-
const _ = "
|
|
3
|
+
import c from "react";
|
|
4
|
+
import { c as l } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
5
|
+
const _ = "avatar__db159b32", e = "xxs__fe111ebc", n = "xs__87094656", f = "sm__8224ff45", d = "md__e1e22375", i = "lg__0779ca00", v = "xl__504e41a5", p = "xxl__5e0aa633", s = {
|
|
6
6
|
avatar: _,
|
|
7
|
-
xxs:
|
|
8
|
-
xs:
|
|
9
|
-
sm:
|
|
10
|
-
md:
|
|
7
|
+
xxs: e,
|
|
8
|
+
xs: n,
|
|
9
|
+
sm: f,
|
|
10
|
+
md: d,
|
|
11
11
|
lg: i,
|
|
12
12
|
xl: v,
|
|
13
13
|
xxl: p
|
|
14
14
|
}, X = {
|
|
15
|
-
[
|
|
16
|
-
[
|
|
17
|
-
[
|
|
18
|
-
[
|
|
19
|
-
[
|
|
20
|
-
[
|
|
21
|
-
[
|
|
22
|
-
}, g =
|
|
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
|
+
}, g = c.forwardRef(({ className: x, size: t, ...o }, m) => /* @__PURE__ */ r("div", { className: l(s.avatar, X[t], x), ...o, ref: m }));
|
|
23
23
|
g.displayName = "Avatar";
|
|
24
24
|
export {
|
|
25
25
|
g as Avatar
|
|
@@ -1,17 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
import { createSizeToClassNameMap as
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { jsxs as c, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import l from "react";
|
|
3
|
+
import { c as g } 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__b038adc7", P = "sm__11fc2dc0", N = "md__d46e217d", S = "lg__0c56c369", t = {
|
|
10
|
+
badge: b,
|
|
11
|
+
sm: P,
|
|
12
|
+
md: N,
|
|
13
|
+
lg: S
|
|
14
|
+
}, h = i(t), j = Object.assign(
|
|
15
|
+
l.forwardRef(
|
|
16
|
+
({ children: d, className: s, size: m, prefix: o, postfix: a, ...n }, r) => /* @__PURE__ */ c("span", { className: g(t.badge, h[m], s), ...n, ref: r, children: [
|
|
17
|
+
o ? /* @__PURE__ */ e(p, { children: o }) : null,
|
|
18
|
+
d ? /* @__PURE__ */ e(f, { size: m, noPaddingLeft: !!o, noPaddingRight: !!a, children: d }) : 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 e } from "react/jsx-runtime";
|
|
2
|
+
import m from "react";
|
|
3
|
+
import { c as d } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
4
|
+
import { createSizeToClassNameMap as r } from "../../utils/classNameMaps.js";
|
|
5
|
+
const _ = "badgeDot__3c0421ab", g = "sm__11fc2dc0", l = "md__d46e217d", n = "lg__0c56c369", o = {
|
|
6
|
+
badgeDot: _,
|
|
7
|
+
sm: g,
|
|
8
|
+
md: l,
|
|
9
|
+
lg: n
|
|
10
|
+
}, p = r(o), f = m.forwardRef(({ className: s, size: t, ...a }, c) => /* @__PURE__ */ e("span", { className: d(o.badgeDot, p[t], s), ...a, ref: c }));
|
|
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 } from "../../../chunks/vendor-DE8Zvm0w.js";
|
|
3
|
+
import { createSizeToClassNameMap as i } from "../../../utils/classNameMaps.js";
|
|
4
|
+
const _ = "badgeContent__9e7c5a08", m = "sm__11fc2dc0", P = "md__d46e217d", f = "lg__0c56c369", l = "noPaddingLeft__54e1de93", r = "noPaddingRight__5cb3e2ec", n = {
|
|
5
|
+
badgeContent: _,
|
|
6
|
+
sm: m,
|
|
7
|
+
md: P,
|
|
8
|
+
lg: f,
|
|
9
|
+
noPaddingLeft: l,
|
|
10
|
+
noPaddingRight: r
|
|
11
|
+
}, C = i(n), p = ({
|
|
12
|
+
children: t,
|
|
13
|
+
size: o,
|
|
14
|
+
noPaddingLeft: d,
|
|
15
|
+
noPaddingRight: e,
|
|
16
|
+
className: a,
|
|
17
|
+
...s
|
|
18
|
+
}) => /* @__PURE__ */ g(
|
|
19
|
+
"span",
|
|
20
|
+
{
|
|
21
|
+
className: c(
|
|
22
|
+
n.badgeContent,
|
|
23
|
+
C[o],
|
|
24
|
+
{ [n.noPaddingLeft]: d, [n.noPaddingRight]: e },
|
|
25
|
+
a
|
|
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__6162602e", 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__36c41233", f = {
|
|
4
|
+
badgePrefix: x
|
|
5
|
+
}, o = ({ children: e, className: a, ...s }) => /* @__PURE__ */ r("span", { className: i(f.badgePrefix, a), ...s, children: e });
|
|
6
|
+
o.displayName = "BadgePrefix";
|
|
7
|
+
export {
|
|
8
|
+
o 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
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
const
|
|
5
|
-
body:
|
|
6
|
-
bodyInner:
|
|
7
|
-
},
|
|
8
|
-
|
|
2
|
+
import e from "react";
|
|
3
|
+
import { c as t } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
4
|
+
const y = "body__f4a9adb2", c = "bodyInner__2cdadad5", d = {
|
|
5
|
+
body: y,
|
|
6
|
+
bodyInner: c
|
|
7
|
+
}, b = e.forwardRef(({ children: a, className: r, ...s }, n) => /* @__PURE__ */ o("div", { className: t(d.body, r), ...s, "data-tx": "0.16.0", ref: n, children: /* @__PURE__ */ o("div", { className: d.bodyInner, children: a }) }));
|
|
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
|
|
9
|
-
import { EComponentSize as
|
|
10
|
-
const A = "
|
|
8
|
+
import { EButtonTheme as a } from "./enums.js";
|
|
9
|
+
import { EComponentSize as c } from "../../enums/EComponentSize.js";
|
|
10
|
+
const A = "general__bb3f3b54", B = "expanded__fc1aa0a0", u = {
|
|
11
11
|
general: A,
|
|
12
12
|
expanded: B
|
|
13
|
-
}, D = "
|
|
13
|
+
}, D = "secondary__71dcd5fe", T = "expanded__fc1aa0a0", b = {
|
|
14
14
|
secondary: D,
|
|
15
15
|
expanded: T
|
|
16
|
-
}, G = "
|
|
16
|
+
}, G = "secondaryLight__c3ce06eb", I = "expanded__fc1aa0a0", x = {
|
|
17
17
|
secondaryLight: G,
|
|
18
18
|
expanded: I
|
|
19
|
-
}, v = "
|
|
19
|
+
}, v = "danger__645216c0", O = "expanded__fc1aa0a0", h = {
|
|
20
20
|
danger: v,
|
|
21
21
|
expanded: O
|
|
22
|
-
}, Y = "
|
|
22
|
+
}, Y = "link__2032698d", $ = "expanded__fc1aa0a0", f = {
|
|
23
23
|
link: Y,
|
|
24
24
|
expanded: $
|
|
25
|
-
}, w = "
|
|
25
|
+
}, w = "button__23c76427", z = "sm__53195ba1", M = "icon__600be232", j = "md__acc190b2", H = "lg__93076006", K = "block__93076e4a", U = "content__b0333b54", q = "loading__3e2e34de", F = "loader__1b3f173c", J = "hidden__c7adc430", e = {
|
|
26
26
|
button: w,
|
|
27
27
|
sm: z,
|
|
28
28
|
icon: M,
|
|
@@ -33,65 +33,65 @@ 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 a.GENERAL:
|
|
39
39
|
return { [u.general]: !0, [u.expanded]: n };
|
|
40
|
-
case
|
|
40
|
+
case a.SECONDARY:
|
|
41
41
|
return {
|
|
42
42
|
[b.secondary]: !0,
|
|
43
43
|
[b.expanded]: n
|
|
44
44
|
};
|
|
45
|
-
case
|
|
45
|
+
case a.SECONDARY_LIGHT:
|
|
46
46
|
return {
|
|
47
47
|
[x.secondaryLight]: !0,
|
|
48
48
|
[x.expanded]: n
|
|
49
49
|
};
|
|
50
|
-
case
|
|
50
|
+
case a.DANGER:
|
|
51
51
|
return {
|
|
52
52
|
[h.danger]: !0,
|
|
53
53
|
[h.expanded]: n
|
|
54
54
|
};
|
|
55
|
-
case
|
|
55
|
+
case a.LINK:
|
|
56
56
|
return {
|
|
57
57
|
[f.link]: !0,
|
|
58
58
|
[f.expanded]: n
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
|
-
}, Q = (
|
|
62
|
-
switch (
|
|
63
|
-
case
|
|
61
|
+
}, Q = (t) => {
|
|
62
|
+
switch (t) {
|
|
63
|
+
case c.LG:
|
|
64
64
|
return e.lg;
|
|
65
|
-
case
|
|
65
|
+
case c.MD:
|
|
66
66
|
return e.md;
|
|
67
|
-
case
|
|
67
|
+
case c.SM:
|
|
68
68
|
return e.sm;
|
|
69
69
|
}
|
|
70
|
-
}, V = (
|
|
71
|
-
const o = [
|
|
70
|
+
}, V = (t, n) => {
|
|
71
|
+
const o = [a.SECONDARY, a.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:
|
|
73
|
+
}, W = k.forwardRef((t, n) => {
|
|
74
|
+
const { children: o, className: N, disabled: d, theme: r, size: l = c.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",
|
|
82
82
|
{
|
|
83
83
|
active: !!_,
|
|
84
|
-
disabled: !!
|
|
84
|
+
disabled: !!d
|
|
85
85
|
},
|
|
86
86
|
// Классы для иконок, конец.
|
|
87
87
|
N
|
|
88
88
|
);
|
|
89
|
-
return /* @__PURE__ */ m(C, { className: E, tabIndex:
|
|
89
|
+
return /* @__PURE__ */ m(C, { className: E, tabIndex: s ? -1 : void 0, disabled: d, ...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.16.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,
|
|
6
|
+
import { c as w, u as J } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
7
7
|
import { ButtonDropdownExtended as y } from "./ButtonDropdownExtended.js";
|
|
8
8
|
import { EButtonDotsTheme as u, EButtonTheme as m } from "./enums.js";
|
|
9
9
|
import { DotshorizontalStrokeSrvIcon32 as Q, DotshorizontalStrokeSrvIcon20 as L, CaretdownStrokeSrvIcon16 as X, CaretdownStrokeSrvIcon20 as Z, CaretdownStrokeSrvIcon24 as $ } from "@sberbusiness/icons-next";
|
|
@@ -17,21 +17,21 @@ import { DropdownMobileClose as co } from "../Dropdown/mobile/DropdownMobileClos
|
|
|
17
17
|
import { Text as ao } from "../Typography/Text.js";
|
|
18
18
|
import { ETextSize as so } from "../Typography/enums.js";
|
|
19
19
|
import { DropdownList as Y } from "../Dropdown/desktop/DropdownList.js";
|
|
20
|
-
import { EComponentSize as
|
|
21
|
-
const lo = "
|
|
20
|
+
import { EComponentSize as b } from "../../enums/EComponentSize.js";
|
|
21
|
+
const lo = "buttonDropdown__aab76be8", io = "block__93076e4a", mo = "buttonDropdownTarget__b07ab153", uo = "caretIcon__bbe91636", Do = "active__567b7498", bo = "buttonDropdownMenuItem__2c6848ec", n = {
|
|
22
22
|
buttonDropdown: lo,
|
|
23
23
|
block: io,
|
|
24
24
|
buttonDropdownTarget: mo,
|
|
25
25
|
caretIcon: uo,
|
|
26
26
|
active: Do,
|
|
27
|
-
buttonDropdownMenuItem:
|
|
27
|
+
buttonDropdownMenuItem: bo
|
|
28
28
|
}, po = {
|
|
29
|
-
[
|
|
30
|
-
[
|
|
31
|
-
[
|
|
32
|
-
}, g = (p, c) => p ===
|
|
29
|
+
[b.SM]: /* @__PURE__ */ t(L, { paletteIndex: 0 }),
|
|
30
|
+
[b.MD]: /* @__PURE__ */ t(L, { paletteIndex: 0 }),
|
|
31
|
+
[b.LG]: /* @__PURE__ */ t(Q, { paletteIndex: 0 })
|
|
32
|
+
}, g = (p, c) => p === b.SM ? /* @__PURE__ */ t(X, { paletteIndex: c, className: n.caretIcon }) : p === b.MD ? /* @__PURE__ */ t(Z, { paletteIndex: c, className: n.caretIcon }) : /* @__PURE__ */ t($, { paletteIndex: c, className: n.caretIcon }), fo = F.forwardRef(
|
|
33
33
|
(p, c) => {
|
|
34
|
-
const { buttonAttributes: _, children: h, className: z, theme:
|
|
34
|
+
const { buttonAttributes: _, children: h, className: z, theme: f, size: s, options: C, selected: i, block: S, disabled: T, ...G } = p, 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__651487a2", io = "block__7fecf1ce", mo = "buttonDropd
|
|
|
40
40
|
M,
|
|
41
41
|
{
|
|
42
42
|
className: a,
|
|
43
|
-
theme:
|
|
43
|
+
theme: f,
|
|
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__651487a2", io = "block__7fecf1ce", mo = "buttonDropd
|
|
|
66
66
|
M,
|
|
67
67
|
{
|
|
68
68
|
className: a,
|
|
69
|
-
theme:
|
|
69
|
+
theme: f === u.DOTS_SECONDARY ? m.SECONDARY : m.SECONDARY_LIGHT,
|
|
70
70
|
size: s,
|
|
71
71
|
onKeyDown: A({ opened: o, setOpened: r }),
|
|
72
72
|
onClick: E({ opened: o, setOpened: r }),
|
|
@@ -84,7 +84,7 @@ const lo = "buttonDropdown__651487a2", io = "block__7fecf1ce", mo = "buttonDropd
|
|
|
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 (f) {
|
|
88
88
|
case m.GENERAL:
|
|
89
89
|
case m.DANGER:
|
|
90
90
|
case u.DOTS_SECONDARY:
|
|
@@ -155,7 +155,7 @@ const lo = "buttonDropdown__651487a2", io = "block__7fecf1ce", mo = "buttonDropd
|
|
|
155
155
|
{
|
|
156
156
|
className: W,
|
|
157
157
|
renderButton: [u.DOTS_SECONDARY, u.DOTS_SECONDARY_LIGHT].includes(
|
|
158
|
-
|
|
158
|
+
f
|
|
159
159
|
) ? K : P,
|
|
160
160
|
renderDropdown: U,
|
|
161
161
|
dropdownRef: v,
|
|
@@ -165,8 +165,8 @@ const lo = "buttonDropdown__651487a2", io = "block__7fecf1ce", mo = "buttonDropd
|
|
|
165
165
|
);
|
|
166
166
|
}
|
|
167
167
|
);
|
|
168
|
-
|
|
168
|
+
fo.displayName = "ButtonDropdown";
|
|
169
169
|
export {
|
|
170
|
-
|
|
170
|
+
fo 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-DE8Zvm0w.js";
|
|
7
|
+
const K = "buttonDropdownExtended__32216639", S = "buttonDropdownExtendedBlock__a6ea5cd7", 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: k, renderDropdown: b, 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__455c1d3c", 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
|
+
k({ opened: e, setOpened: o }),
|
|
41
|
+
b({
|
|
42
42
|
className: E.buttonDropdownExtendedBlock,
|
|
43
43
|
opened: e,
|
|
44
44
|
setOpened: o
|
|
@@ -1,21 +1,21 @@
|
|
|
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
|
|
6
|
-
buttonIcon:
|
|
7
|
-
circle:
|
|
8
|
-
squircle:
|
|
9
|
-
},
|
|
10
|
-
[o.SQUIRCLE]:
|
|
11
|
-
[o.CIRCLE]:
|
|
5
|
+
const f = "buttonIcon__e81ffeed", p = "circle__c61fb954", I = "squircle__f3e424c8", c = {
|
|
6
|
+
buttonIcon: f,
|
|
7
|
+
circle: p,
|
|
8
|
+
squircle: I
|
|
9
|
+
}, b = {
|
|
10
|
+
[o.SQUIRCLE]: c.squircle,
|
|
11
|
+
[o.CIRCLE]: c.circle
|
|
12
12
|
}, _ = u.forwardRef(
|
|
13
|
-
({ className:
|
|
14
|
-
const i = m(
|
|
13
|
+
({ className: e, disabled: t, shape: n = o.SQUIRCLE, active: s, ...r }, a) => {
|
|
14
|
+
const i = m(c.buttonIcon, b[n], "hoverable", e, {
|
|
15
15
|
active: !!s,
|
|
16
|
-
disabled: !!
|
|
16
|
+
disabled: !!t
|
|
17
17
|
});
|
|
18
|
-
return /* @__PURE__ */ l("button", { type: "button", className: i, disabled:
|
|
18
|
+
return /* @__PURE__ */ l("button", { type: "button", className: i, disabled: t, ...r, ref: a });
|
|
19
19
|
}
|
|
20
20
|
);
|
|
21
21
|
_.displayName = "ButtonIcon";
|
|
@@ -2,7 +2,7 @@ var M = Object.defineProperty;
|
|
|
2
2
|
var H = (m, d, t) => d in m ? M(m, d, { enumerable: !0, configurable: !0, writable: !0, value: t }) : m[d] = t;
|
|
3
3
|
var p = (m, d, t) => H(m, typeof d != "symbol" ? d + "" : d, t);
|
|
4
4
|
import { jsx as h, jsxs as S } from "react/jsx-runtime";
|
|
5
|
-
import {
|
|
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__d925673b", L = "adaptive__435cdf31", g = {
|
|
17
17
|
calendar: q,
|
|
18
18
|
adaptive: L
|
|
19
19
|
};
|
|
@@ -137,7 +137,7 @@ class k extends V.PureComponent {
|
|
|
137
137
|
} = this.props, { viewMode: A, viewDate: B, header: Y } = this.state, b = R(g.calendar, {
|
|
138
138
|
[g.adaptive]: !!this.props.adaptiveMode
|
|
139
139
|
}), F = f(this.props.pickedDate, t);
|
|
140
|
-
return /* @__PURE__ */ h("div", { className: b, "data-tx": "0.
|
|
140
|
+
return /* @__PURE__ */ h("div", { className: b, "data-tx": "0.16.0", children: /* @__PURE__ */ S(
|
|
141
141
|
w.Provider,
|
|
142
142
|
{
|
|
143
143
|
value: {
|