@sberbusiness/triplex-next 0.25.0 → 0.26.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-BjHTZKgZ.js +41 -0
- package/chunks/{CalendarViewItem-CQErGrhc.js → CalendarViewItem-BdyVWg8a.js} +20 -20
- package/chunks/Card.module-gPkzcCGo.js +17 -0
- package/chunks/CheckboxTreeExtended.module-BqmTzdxy.js +15 -0
- package/chunks/Chip-CuoqjaG4.js +77 -0
- package/chunks/Confirm.module-bXfHpEZY.js +15 -0
- package/chunks/{DropdownListItem-wT8cLRdZ.js → DropdownListItem-CRdOVwlq.js} +15 -15
- package/chunks/DropdownMobile.module-H5txYrQf.js +23 -0
- package/chunks/Footer.module-Dhevv5cy.js +9 -0
- package/chunks/{FormFieldInput-Dj2JAqj2.js → FormFieldInput-CyAOOwnJ.js} +6 -6
- package/chunks/HeaderLayoutSidebar.module-CqLx3F7A.js +9 -0
- package/chunks/HeaderTabs.module-BQHI-7dx.js +9 -0
- package/chunks/{HeaderTitle.module-SmVWml2y.js → HeaderTitle.module-BDZQCHuH.js} +2 -2
- package/chunks/IslandAccordion.module-ElAylnXP.js +25 -0
- package/chunks/IslandWidgetFooter.module-km-5hDpn.js +9 -0
- package/chunks/IslandWidgetHeader.module-DZJujJ9z.js +12 -0
- package/chunks/{LightBoxContent-DlDaCKV4.js → LightBoxContent-Bp6XRgdB.js} +9 -9
- package/chunks/LightBoxControls.module-Dp8lh2Rg.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-DDGxczL0.js +9 -0
- package/chunks/{ListItemControlsButton-UKjqQcv7.js → ListItemControlsButton-PANaJdYf.js} +8 -8
- package/chunks/ListItemTail.module-BKP1QEpv.js +12 -0
- package/chunks/ListMasterFooter.module-D1BeGub8.js +10 -0
- package/chunks/ModalWindow.module-PJk-BOT5.js +17 -0
- package/chunks/Notification.module-7THtDpDh.js +20 -0
- package/chunks/Overlay.module-B0Fayqn2.js +18 -0
- package/chunks/Page.module-oxsZ2i2v.js +11 -0
- package/chunks/SMSField.module-DQoHDr5D.js +16 -0
- package/chunks/SliderExtendedMarks.module-CEOeXrfd.js +15 -0
- package/chunks/{SliderExtendedRail-jfLPbgEp.js → SliderExtendedRail-B33WytbG.js} +7 -7
- package/chunks/StatusTracker.module-CwUmaWht.js +24 -0
- package/chunks/StepperStepArrowBorder-9OXwuqOn.js +101 -0
- package/chunks/{SuggestFieldMobileDropdownHint-CCyHjS-V.js → SuggestFieldMobileDropdownHint-dcZDUPZa.js} +4 -4
- package/chunks/TableFooter.module-DaFBiojx.js +14 -0
- package/chunks/TabsExtended.module-D4GCJESe.js +16 -0
- package/chunks/TabsLine.module-BEA3Lssg.js +21 -0
- package/chunks/TooltipDesktop.module-hff_h0-q.js +19 -0
- package/chunks/TreeView.module-C-XaQJbB.js +9 -0
- package/chunks/{UploadZoneInput-DYiPRAAI.js → UploadZoneInput-BsJhqlie.js} +2 -2
- package/chunks/{constants-Ctks52i0.js → constants-KINy2OSZ.js} +13 -13
- package/chunks/utils-BVhTB5hC.js +73 -0
- package/chunks/{utils-C6a9XDaC.js → utils-CWqa2skI.js} +4 -4
- package/chunks/utils-DFHOghtD.js +28 -0
- package/chunks/utils-TZKbWcP7.js +24 -0
- package/components/Alert/AlertContext/AlertContext.js +21 -21
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +2 -2
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +4 -4
- package/components/Badge/Badge.js +11 -11
- package/components/Badge/BadgeDot.js +7 -7
- package/components/Badge/components/BadgeContent.js +10 -10
- package/components/Badge/components/BadgePostfix.js +8 -8
- package/components/Badge/components/BadgePrefix.js +1 -1
- package/components/Body/Body.js +4 -4
- package/components/Button/Button.js +26 -26
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +10 -10
- package/components/Button/ButtonDropdownExtended.js +4 -4
- package/components/Button/ButtonIcon.js +3 -3
- package/components/Calendar/Calendar.js +20 -20
- package/components/Calendar/components/CalendarControls.js +13 -13
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +1 -1
- package/components/Calendar/components/CalendarViewItem.js +1 -1
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +7 -7
- package/components/Card/CardStatic.js +2 -2
- package/components/Card/components/CardContent/CardContent.js +1 -1
- package/components/Card/components/CardContent/components/CardContentBody.js +1 -1
- package/components/Card/components/CardContent/components/CardContentFooter.js +1 -1
- package/components/Card/components/CardContent/components/CardContentHeader.js +1 -1
- package/components/Card/components/CardMedia.js +1 -1
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +1 -1
- package/components/Checkbox/Checkbox.js +2 -2
- package/components/Checkbox/CheckboxXGroup.js +14 -14
- package/components/Checkbox/CheckboxYGroup.js +6 -6
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +1 -1
- package/components/Chip/Chip.js +1 -1
- package/components/Chip/ChipClearButton.js +9 -9
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +1 -1
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +5 -5
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +21 -21
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +23 -22
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +76 -66
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +16 -16
- package/components/Col/Col.js +140 -140
- package/components/CollapsableTree/components/CollapsableTreeNode.js +5 -5
- package/components/Confirm/Confirm.js +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +1 -1
- package/components/Confirm/components/ConfirmContent.js +1 -1
- package/components/Confirm/components/ConfirmContentTitle.js +1 -1
- package/components/Confirm/components/ConfirmControls.js +1 -1
- package/components/DateField/DateField.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +9 -9
- package/components/DateRange/DateRange.js +19 -19
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/components/Stepper.js +11 -20
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +6 -6
- package/components/Dropdown/desktop/DropdownDesktop.js +28 -28
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +7 -7
- package/components/EmptyView/EmptyView.js +13 -13
- package/components/ExpandAnimation/ExpandAnimation.js +1 -1
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +18 -18
- package/components/FormField/components/FormFieldClear.js +1 -1
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +7 -7
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +10 -10
- package/components/FormField/components/FormFieldMaskedInput.js +15 -15
- package/components/FormField/components/FormFieldPostfix.js +5 -5
- package/components/FormField/components/FormFieldPrefix.js +9 -9
- package/components/FormField/components/FormFieldTarget.js +11 -11
- package/components/FormField/components/FormFieldTextarea.js +22 -22
- package/components/FormField/components/index.js +1 -1
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +1 -1
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +8 -8
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +1 -1
- package/components/IconWrapper/IconWrapper.js +15 -15
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +2 -2
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +2 -2
- package/components/IslandWidget/IslandWidget.js +12 -12
- package/components/IslandWidget/components/IslandWidgetBody.js +1 -1
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +10 -10
- package/components/IslandWidget/components/IslandWidgetFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +3 -3
- package/components/LightBox/LightBox.js +17 -17
- package/components/LightBox/LightBoxContent.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxClose.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxControls.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxNext.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +10 -10
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +15 -15
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +5 -5
- package/components/Link/Link.js +10 -10
- package/components/List/List.js +2 -2
- package/components/List/components/ListEmptyState.js +4 -4
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +5 -5
- package/components/List/components/ListItemControls.js +1 -1
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +6 -6
- package/components/List/components/ListItemSelectable.js +8 -8
- package/components/List/components/ListItemTable.js +5 -5
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +7 -7
- package/components/List/components/ListSortableItemControls.js +1 -1
- package/components/List/components/ListSortableItemTarget.js +5 -5
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +5 -5
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +5 -5
- package/components/ListMaster/components/SelectionControls.js +6 -6
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +5 -5
- package/components/Loader/LoaderSmall/LoaderSmall.js +6 -6
- package/components/LoaderScreen/LoaderScreen.js +11 -11
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +16 -16
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +1 -1
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +1 -1
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MonthYearField/MonthYearFieldTarget.js +12 -11
- package/components/MonthYearRange/MonthYearRange.js +76 -0
- package/components/MonthYearRange/enums.js +5 -0
- package/components/MonthYearRange/index.js +7 -0
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +9 -9
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +3 -3
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +1 -1
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +1 -1
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +6 -6
- package/components/OrderedList/OrderedListItem.js +2 -2
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayMask.js +1 -1
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +9 -9
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +8 -8
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +1 -1
- package/components/Pagination/components/PaginationPageEllipsis.js +5 -5
- package/components/Pagination/components/PaginationSelect.js +11 -11
- package/components/Radio/Radio.js +18 -18
- package/components/Radio/RadioXGroup.js +11 -11
- package/components/Radio/RadioYGroup.js +5 -5
- package/components/Row/Row.js +9 -9
- package/components/SMSField/SMSField.js +2 -2
- package/components/SMSField/components/RefreshIcon.js +1 -1
- package/components/SMSField/components/SMSFieldInput.js +2 -2
- package/components/SMSField/components/SMSFieldRefresh.js +1 -1
- package/components/SMSField/components/SMSFieldSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +4 -4
- package/components/SegmentedControl/SegmentedControlSegment.js +8 -8
- package/components/SelectExtendedField/SelectExtendedField.js +15 -15
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +24 -24
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +7 -7
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +4 -4
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +1 -1
- package/components/SliderExtended/components/SliderExtendedRail.js +1 -1
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +6 -6
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +29 -29
- package/components/SmallInput/SmallInput.js +6 -6
- package/components/Spoiler/Spoiler.js +18 -18
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +1 -1
- package/components/StatusTracker/components/StatusTrackerDescription.js +1 -1
- package/components/StatusTracker/components/StatusTrackerFooter.js +1 -1
- package/components/StatusTracker/components/StatusTrackerHeader.js +1 -1
- package/components/StatusTracker/components/StatusTrackerMedia.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatus.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +13 -13
- package/components/Stepper/Stepper.js +102 -87
- package/components/Stepper/StepperExtended.js +23 -21
- package/components/Stepper/StepperExtendedContext.js +6 -6
- package/components/Stepper/StepperStep.js +62 -63
- package/components/Stepper/StepperStepArrowBorder.js +7 -0
- package/components/Stepper/enums.js +3 -4
- package/components/Stepper/index.js +4 -5
- package/components/Stepper/types.js +2 -0
- package/components/Suggest/SuggestMobileDropdownContent.js +11 -11
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +63 -63
- 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 +14 -14
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +2 -2
- package/components/Table/NoColumns.js +6 -6
- package/components/Table/PaginationPanel.js +4 -4
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +4 -4
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +1 -1
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +3 -3
- package/components/Table/TabsLinePanelLinks.js +5 -5
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +18 -18
- package/components/TabsExtended/TabsExtended.js +2 -2
- package/components/TabsExtended/components/TabsExtendedContent.js +1 -1
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTab.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabButton.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +1 -1
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +1 -1
- package/components/TabsLine/components/TabsLineDesktop.js +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +2 -2
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +6 -6
- package/components/Tag/Tag.js +15 -15
- package/components/TagColor/TagColor.js +16 -16
- package/components/TagColor/index.js +4 -2
- package/components/TagGroup/TagGroup.js +13 -13
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +15 -15
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +1 -1
- package/components/Tooltip/components/mobile/TooltipMobile.js +3 -3
- package/components/TopOverlay/TopOverlay.js +14 -14
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Typography/Caption.js +19 -19
- package/components/Typography/CodeText.js +11 -11
- package/components/Typography/Text.js +26 -26
- package/components/Typography/Title.js +17 -17
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +2 -2
- package/components/UnorderedList/UnorderedListItem.js +2 -2
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +299 -294
- package/index.d.ts +56 -22
- package/index.js +329 -324
- package/package.json +6 -2
- package/styles/triplex-next.css +538 -541
- package/chunks/AlertProcessSpoiler-DF_eSZ-p.js +0 -41
- package/chunks/Card.module-Ce9rAKOc.js +0 -17
- package/chunks/CheckboxTreeExtended.module-Cj2c6m06.js +0 -15
- package/chunks/Chip-BEnNi0nL.js +0 -77
- package/chunks/Confirm.module-CbAi5bkG.js +0 -15
- package/chunks/DropdownMobile.module-rYB54yd0.js +0 -23
- package/chunks/Footer.module-CzJ_N1fs.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-HXJhEmKU.js +0 -9
- package/chunks/HeaderTabs.module-CjapozXy.js +0 -9
- package/chunks/IslandAccordion.module-YvqRlzmi.js +0 -25
- package/chunks/IslandWidgetFooter.module-iMuqKnPP.js +0 -9
- package/chunks/IslandWidgetHeader.module-CnPne0Uq.js +0 -12
- package/chunks/LightBoxControls.module-laAGRPrR.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-B3L_EV1B.js +0 -9
- package/chunks/ListItemTail.module-igeWTjyg.js +0 -12
- package/chunks/ListMasterFooter.module-C0eM4fK4.js +0 -10
- package/chunks/ModalWindow.module-Cpk4uhwk.js +0 -17
- package/chunks/Notification.module-9japFkgv.js +0 -20
- package/chunks/Overlay.module-B3Az7dZS.js +0 -18
- package/chunks/Page.module-DOHwIYM4.js +0 -11
- package/chunks/RightBorderArrow-C6j8565V.js +0 -146
- package/chunks/SMSField.module-BOpUjsSJ.js +0 -16
- package/chunks/SliderExtendedMarks.module-cdkiaSbT.js +0 -15
- package/chunks/StatusTracker.module-OAxbFucN.js +0 -24
- package/chunks/TableFooter.module-CGWCS8e3.js +0 -14
- package/chunks/TabsExtended.module-BJOWXSHt.js +0 -16
- package/chunks/TabsLine.module-BsiLhw0I.js +0 -21
- package/chunks/TooltipDesktop.module-DVp6GHr8.js +0 -19
- package/chunks/TreeView.module-C2WPNvMq.js +0 -9
- package/chunks/utils-Bz5uKYQD.js +0 -24
- package/chunks/utils-CrkRbGiM.js +0 -28
- package/chunks/utils-QVs0E_e3.js +0 -73
- package/components/Stepper/RightBorderArrow.js +0 -7
- package/components/Stepper/StepperWrapper.js +0 -12
|
@@ -3,7 +3,7 @@ import u, { useState as n } from "react";
|
|
|
3
3
|
import { EAlertType as r } from "../EAlertType.js";
|
|
4
4
|
import { ALERT_TYPE_TO_CLASS_NAME_MAP as N } from "../AlertTypeUtils.js";
|
|
5
5
|
import { ButtonIcon as T } from "../../Button/ButtonIcon.js";
|
|
6
|
-
import { s as t, A as i } from "../../../chunks/AlertProcessSpoiler-
|
|
6
|
+
import { s as t, A as i } from "../../../chunks/AlertProcessSpoiler-BjHTZKgZ.js";
|
|
7
7
|
import { AlertProcessContext as h } from "./AlertProcessContext.js";
|
|
8
8
|
import { EAlertProcessBorderRadius as s } from "./enums.js";
|
|
9
9
|
import { DefaulticonStrokePrdIcon20 as k, SystemStrokeStsIcon20 as M, ErrorStrokeStsIcon20 as O, WarningStrokeStsIcon20 as v, InfoStrokeStsIcon20 as D, CrossStrokeSrvIcon16 as B } from "@sberbusiness/icons-next";
|
|
@@ -45,7 +45,7 @@ const L = {
|
|
|
45
45
|
d
|
|
46
46
|
),
|
|
47
47
|
...f,
|
|
48
|
-
"data-tx": "0.
|
|
48
|
+
"data-tx": "0.26.0",
|
|
49
49
|
ref: I,
|
|
50
50
|
children: [
|
|
51
51
|
/* @__PURE__ */ e("div", { className: t.themeIcon, children: c || L[l] }),
|
|
@@ -3,7 +3,7 @@ import "react";
|
|
|
3
3
|
import "@sberbusiness/icons-next";
|
|
4
4
|
import "../../../Button/ButtonIcon.js";
|
|
5
5
|
import "../AlertProcessContext.js";
|
|
6
|
-
import { A as l } from "../../../../chunks/AlertProcessSpoiler-
|
|
6
|
+
import { A as l } from "../../../../chunks/AlertProcessSpoiler-BjHTZKgZ.js";
|
|
7
7
|
import "../../../../chunks/vendor---Om3uMV.js";
|
|
8
8
|
export {
|
|
9
9
|
l as AlertProcessSpoiler
|
|
@@ -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
3
|
import { c as f } from "../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
const N = "
|
|
4
|
+
const N = "adaptive__ff104013", _ = {
|
|
5
5
|
adaptive: N
|
|
6
6
|
}, h = 14, v = ({
|
|
7
7
|
className: o,
|
|
@@ -24,7 +24,7 @@ const N = "adaptive__4105889d", _ = {
|
|
|
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.26.0", children: [
|
|
28
28
|
/* @__PURE__ */ n("span", { "data-test-id": a && `${a}__amount`, children: t }),
|
|
29
29
|
e && p()
|
|
30
30
|
] });
|
|
@@ -5,7 +5,7 @@ import { EFormFieldStatus as k } from "../FormField/enums.js";
|
|
|
5
5
|
import { FormFieldClear as w } from "../FormField/components/FormFieldClear.js";
|
|
6
6
|
import "../FormField/components/FormFieldCounter.js";
|
|
7
7
|
import "../FormField/components/FormFieldDescription.js";
|
|
8
|
-
import { F as A } from "../../chunks/FormFieldInput-
|
|
8
|
+
import { F as A } from "../../chunks/FormFieldInput-CyAOOwnJ.js";
|
|
9
9
|
import "../FormField/components/FormFieldLabel.js";
|
|
10
10
|
import "../FormField/components/FormFieldMaskedInput.js";
|
|
11
11
|
import "../FormField/components/FormFieldPostfix.js";
|
|
@@ -2,12 +2,12 @@ import { EAvatarSize as a } from "./enums.js";
|
|
|
2
2
|
import { jsx as m } from "react/jsx-runtime";
|
|
3
3
|
import r from "react";
|
|
4
4
|
import { c as l } from "../../chunks/vendor---Om3uMV.js";
|
|
5
|
-
const _ = "
|
|
5
|
+
const _ = "avatar__d5a7cb2c", e = "xxs__6945e2b2", n = "xs__10f71e7e", d = "sm__e332889e", f = "md__97819389", i = "lg__4bc8b12a", v = "xl__fec921af", p = "xxl__d54b6d50", s = {
|
|
6
6
|
avatar: _,
|
|
7
|
-
xxs:
|
|
7
|
+
xxs: e,
|
|
8
8
|
xs: n,
|
|
9
|
-
sm:
|
|
10
|
-
md:
|
|
9
|
+
sm: d,
|
|
10
|
+
md: f,
|
|
11
11
|
lg: i,
|
|
12
12
|
xl: v,
|
|
13
13
|
xxl: p
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c
|
|
2
|
+
import g from "react";
|
|
3
|
+
import { c } from "../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { createSizeToClassNameMap as i } from "../../utils/classNameMaps.js";
|
|
5
5
|
import { BadgeDot as f } from "./BadgeDot.js";
|
|
6
6
|
import { BadgeContent as _ } from "./components/BadgeContent.js";
|
|
7
|
-
import { BadgePrefix as
|
|
8
|
-
import { BadgePostfix as
|
|
9
|
-
const
|
|
10
|
-
badge:
|
|
7
|
+
import { BadgePrefix as p } from "./components/BadgePrefix.js";
|
|
8
|
+
import { BadgePostfix as B } from "./components/BadgePostfix.js";
|
|
9
|
+
const b = "badge__6532641a", P = "sm__226f3df0", N = "md__31ebf2a5", S = "lg__7b824578", s = {
|
|
10
|
+
badge: b,
|
|
11
11
|
sm: P,
|
|
12
12
|
md: N,
|
|
13
13
|
lg: S
|
|
14
|
-
}, h = i(
|
|
15
|
-
|
|
16
|
-
({ children: m, className:
|
|
17
|
-
o ? /* @__PURE__ */ e(
|
|
14
|
+
}, h = i(s), j = Object.assign(
|
|
15
|
+
g.forwardRef(
|
|
16
|
+
({ children: m, className: d, size: t, prefix: o, postfix: a, ...n }, r) => /* @__PURE__ */ l("span", { className: c(s.badge, h[t], d), ...n, ref: r, children: [
|
|
17
|
+
o ? /* @__PURE__ */ e(p, { children: o }) : null,
|
|
18
18
|
m ? /* @__PURE__ */ e(_, { size: t, noPaddingLeft: !!o, noPaddingRight: !!a, children: m }) : null,
|
|
19
|
-
a ? /* @__PURE__ */ e(
|
|
19
|
+
a ? /* @__PURE__ */ e(B, { children: a }) : null
|
|
20
20
|
] })
|
|
21
21
|
),
|
|
22
22
|
{
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c
|
|
2
|
+
import d from "react";
|
|
3
|
+
import { c } from "../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { createSizeToClassNameMap as r } from "../../utils/classNameMaps.js";
|
|
5
|
-
const _ = "
|
|
5
|
+
const _ = "badgeDot__df1bd2b4", f = "sm__226f3df0", g = "md__31ebf2a5", b = "lg__7b824578", o = {
|
|
6
6
|
badgeDot: _,
|
|
7
|
-
sm:
|
|
8
|
-
md:
|
|
9
|
-
lg:
|
|
10
|
-
}, l = r(o), n =
|
|
7
|
+
sm: f,
|
|
8
|
+
md: g,
|
|
9
|
+
lg: b
|
|
10
|
+
}, l = r(o), n = d.forwardRef(({ className: s, size: t, ...a }, e) => /* @__PURE__ */ m("span", { className: c(o.badgeDot, l[t], s), ...a, ref: e }));
|
|
11
11
|
n.displayName = "BadgeDot";
|
|
12
12
|
export {
|
|
13
13
|
n as BadgeDot
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
2
|
import { c as i } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
3
|
import { createSizeToClassNameMap as _ } from "../../../utils/classNameMaps.js";
|
|
4
|
-
const
|
|
5
|
-
badgeContent:
|
|
6
|
-
sm:
|
|
4
|
+
const m = "badgeContent__6bd2958a", c = "sm__226f3df0", f = "md__31ebf2a5", P = "lg__7b824578", b = "noPaddingLeft__09c1ba7e", l = "noPaddingRight__29a2a5ed", n = {
|
|
5
|
+
badgeContent: m,
|
|
6
|
+
sm: c,
|
|
7
7
|
md: f,
|
|
8
|
-
lg:
|
|
9
|
-
noPaddingLeft:
|
|
8
|
+
lg: P,
|
|
9
|
+
noPaddingLeft: b,
|
|
10
10
|
noPaddingRight: l
|
|
11
11
|
}, r = _(n), C = ({
|
|
12
12
|
children: t,
|
|
13
|
-
size:
|
|
14
|
-
noPaddingLeft:
|
|
15
|
-
noPaddingRight:
|
|
13
|
+
size: o,
|
|
14
|
+
noPaddingLeft: a,
|
|
15
|
+
noPaddingRight: d,
|
|
16
16
|
className: e,
|
|
17
17
|
...s
|
|
18
18
|
}) => /* @__PURE__ */ g(
|
|
@@ -20,8 +20,8 @@ const c = "badgeContent__4039cf8e", m = "sm__b682dadf", f = "md__ce970b95", b =
|
|
|
20
20
|
{
|
|
21
21
|
className: i(
|
|
22
22
|
n.badgeContent,
|
|
23
|
-
r[
|
|
24
|
-
{ [n.noPaddingLeft]:
|
|
23
|
+
r[o],
|
|
24
|
+
{ [n.noPaddingLeft]: a, [n.noPaddingRight]: d },
|
|
25
25
|
e
|
|
26
26
|
),
|
|
27
27
|
...s,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { c as e } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
|
-
const
|
|
4
|
-
badgePostfix:
|
|
5
|
-
},
|
|
3
|
+
const i = "badgePostfix__781c1083", x = {
|
|
4
|
+
badgePostfix: i
|
|
5
|
+
}, f = ({
|
|
6
6
|
children: s,
|
|
7
7
|
className: o,
|
|
8
|
-
...
|
|
9
|
-
}) => /* @__PURE__ */
|
|
10
|
-
|
|
8
|
+
...t
|
|
9
|
+
}) => /* @__PURE__ */ a("span", { className: e(x.badgePostfix, o), ...t, children: s });
|
|
10
|
+
f.displayName = "BadgePostfix";
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
f as BadgePostfix
|
|
13
13
|
};
|
|
14
14
|
//# sourceMappingURL=BadgePostfix.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { c as i } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
|
-
const x = "
|
|
3
|
+
const x = "badgePrefix__1555545c", f = {
|
|
4
4
|
badgePrefix: x
|
|
5
5
|
}, o = ({ children: e, className: a, ...s }) => /* @__PURE__ */ r("span", { className: i(f.badgePrefix, a), ...s, children: e });
|
|
6
6
|
o.displayName = "BadgePrefix";
|
package/components/Body/Body.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import n from "react";
|
|
3
3
|
import { c as t } from "../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
const y = "
|
|
4
|
+
const y = "body__d4b2a423", c = "bodyInner__ac6ea9e8", d = {
|
|
5
5
|
body: y,
|
|
6
6
|
bodyInner: c
|
|
7
|
-
},
|
|
8
|
-
|
|
7
|
+
}, b = n.forwardRef(({ children: a, className: e, ...r }, s) => /* @__PURE__ */ o("div", { className: t(d.body, e), ...r, "data-tx": "0.26.0", ref: s, 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,4 +1,4 @@
|
|
|
1
|
-
import { jsxs as i, jsx as
|
|
1
|
+
import { jsxs as i, jsx as b } from "react/jsx-runtime";
|
|
2
2
|
import y from "react";
|
|
3
3
|
import { c as m } from "../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { LoaderSmall as R } from "../Loader/LoaderSmall/LoaderSmall.js";
|
|
@@ -9,22 +9,22 @@ import { EButtonTheme as e } from "./enums.js";
|
|
|
9
9
|
import { EComponentSize as D } from "../../enums/EComponentSize.js";
|
|
10
10
|
import { IconWrapper as u } from "../IconWrapper/IconWrapper.js";
|
|
11
11
|
import { createSizeToClassNameMap as C } from "../../utils/classNameMaps.js";
|
|
12
|
-
const k = "
|
|
12
|
+
const k = "general__16acea7f", M = "expanded__bcbbee85", x = {
|
|
13
13
|
general: k,
|
|
14
14
|
expanded: M
|
|
15
|
-
}, I = "
|
|
15
|
+
}, I = "secondary__7a66024e", O = "expanded__bcbbee85", E = {
|
|
16
16
|
secondary: I,
|
|
17
17
|
expanded: O
|
|
18
|
-
}, G = "
|
|
18
|
+
}, G = "secondaryLight__834a5c82", B = "expanded__bcbbee85", N = {
|
|
19
19
|
secondaryLight: G,
|
|
20
20
|
expanded: B
|
|
21
|
-
}, Y = "
|
|
21
|
+
}, Y = "danger__cda6c76d", H = "expanded__bcbbee85", g = {
|
|
22
22
|
danger: Y,
|
|
23
23
|
expanded: H
|
|
24
|
-
}, P = "
|
|
24
|
+
}, P = "link__383820cc", $ = "expanded__bcbbee85", A = {
|
|
25
25
|
link: P,
|
|
26
26
|
expanded: $
|
|
27
|
-
}, v = "
|
|
27
|
+
}, v = "button__610f7db4", z = "sm__1c4555f8", j = "icon__72c26387", K = "md__74ee81b8", w = "lg__d05c56cf", U = "block__1f5d5b43", W = "content__d5470648", X = "loading__315db6b9", Z = "loader__24fc96d1", q = "hidden__d64e7bf0", n = {
|
|
28
28
|
button: v,
|
|
29
29
|
sm: z,
|
|
30
30
|
icon: j,
|
|
@@ -36,39 +36,39 @@ const k = "general__c3d74477", M = "expanded__01c850e1", E = {
|
|
|
36
36
|
loader: Z,
|
|
37
37
|
hidden: q
|
|
38
38
|
}, F = {
|
|
39
|
-
[e.GENERAL]:
|
|
40
|
-
[e.SECONDARY]:
|
|
41
|
-
[e.SECONDARY_LIGHT]:
|
|
42
|
-
[e.DANGER]:
|
|
43
|
-
[e.LINK]:
|
|
39
|
+
[e.GENERAL]: x.general,
|
|
40
|
+
[e.SECONDARY]: E.secondary,
|
|
41
|
+
[e.SECONDARY_LIGHT]: N.secondaryLight,
|
|
42
|
+
[e.DANGER]: g.danger,
|
|
43
|
+
[e.LINK]: A.link
|
|
44
44
|
}, J = {
|
|
45
|
-
[e.GENERAL]:
|
|
46
|
-
[e.SECONDARY]:
|
|
47
|
-
[e.SECONDARY_LIGHT]:
|
|
48
|
-
[e.DANGER]:
|
|
49
|
-
[e.LINK]:
|
|
45
|
+
[e.GENERAL]: x.expanded,
|
|
46
|
+
[e.SECONDARY]: E.expanded,
|
|
47
|
+
[e.SECONDARY_LIGHT]: N.expanded,
|
|
48
|
+
[e.DANGER]: g.expanded,
|
|
49
|
+
[e.LINK]: A.expanded
|
|
50
50
|
}, Q = C(n), V = (o, t) => {
|
|
51
51
|
const d = [e.SECONDARY, e.SECONDARY_LIGHT].includes(o) ? p.BRAND : p.NEUTRAL;
|
|
52
|
-
return /* @__PURE__ */
|
|
52
|
+
return /* @__PURE__ */ b(R, { theme: d, size: t });
|
|
53
53
|
}, ee = y.forwardRef((o, t) => {
|
|
54
|
-
const { children: d, className:
|
|
54
|
+
const { children: d, className: S, disabled: s, theme: c, size: r = D.MD, block: f, loading: a, icon: _, ...L } = o, { "aria-expanded": l } = o, h = m(
|
|
55
55
|
n.button,
|
|
56
|
-
F[
|
|
56
|
+
F[c],
|
|
57
57
|
Q[r],
|
|
58
58
|
{
|
|
59
|
-
[n.block]: !!
|
|
60
|
-
[n.loading]: !!
|
|
59
|
+
[n.block]: !!f,
|
|
60
|
+
[n.loading]: !!a,
|
|
61
61
|
[n.icon]: !!_ && !d,
|
|
62
|
-
[J[
|
|
62
|
+
[J[c]]: !!l
|
|
63
63
|
},
|
|
64
|
-
|
|
64
|
+
S
|
|
65
65
|
);
|
|
66
|
-
return /* @__PURE__ */ i(T, { className:
|
|
66
|
+
return /* @__PURE__ */ i(T, { className: h, tabIndex: a ? -1 : void 0, disabled: s, ...L, ref: t, children: [
|
|
67
67
|
/* @__PURE__ */ i(u, { className: n.content, disabled: s, active: !!l, children: [
|
|
68
68
|
_,
|
|
69
69
|
d
|
|
70
70
|
] }),
|
|
71
|
-
/* @__PURE__ */
|
|
71
|
+
/* @__PURE__ */ b("div", { className: m(n.loader, !a && n.hidden), children: V(c, r) })
|
|
72
72
|
] });
|
|
73
73
|
});
|
|
74
74
|
ee.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.26.0", ref: o }));
|
|
4
4
|
e.displayName = "ButtonBase";
|
|
5
5
|
export {
|
|
6
6
|
e as ButtonBase
|
|
@@ -11,7 +11,7 @@ import { isKey as D } from "../../utils/keyboard.js";
|
|
|
11
11
|
import { DropdownListContext as oo } from "../Dropdown/DropdownListContext.js";
|
|
12
12
|
import "../Dropdown/desktop/DropdownDesktop.js";
|
|
13
13
|
import { DropdownList as L } from "../Dropdown/desktop/DropdownList.js";
|
|
14
|
-
import "../../chunks/DropdownListItem-
|
|
14
|
+
import "../../chunks/DropdownListItem-CRdOVwlq.js";
|
|
15
15
|
import { EDropdownAlignment as to, EDropdownWidth as ro } from "../Dropdown/desktop/enums.js";
|
|
16
16
|
import "../Dropdown/mobile/DropdownMobile.js";
|
|
17
17
|
import { DropdownMobileBody as eo } from "../Dropdown/mobile/DropdownMobileBody.js";
|
|
@@ -31,14 +31,14 @@ import "../Typography/Caption.js";
|
|
|
31
31
|
import "../Typography/CodeText.js";
|
|
32
32
|
import { Text as mo } from "../Typography/Text.js";
|
|
33
33
|
import "../Typography/Title.js";
|
|
34
|
-
const lo = "
|
|
34
|
+
const lo = "buttonDropdown__29f10125", uo = "block__1f5d5b43", po = "buttonDropdownTarget__767c736b", Do = "caretIcon__a6712ac7", wo = "active__932736ae", fo = "buttonDropdownMenuItem__7bcb9c6a", n = {
|
|
35
35
|
buttonDropdown: lo,
|
|
36
36
|
block: uo,
|
|
37
37
|
buttonDropdownTarget: po,
|
|
38
38
|
caretIcon: Do,
|
|
39
|
-
active:
|
|
39
|
+
active: wo,
|
|
40
40
|
buttonDropdownMenuItem: fo
|
|
41
|
-
},
|
|
41
|
+
}, bo = {
|
|
42
42
|
[d.SM]: /* @__PURE__ */ t(y, { paletteIndex: 0 }),
|
|
43
43
|
[d.MD]: /* @__PURE__ */ t(y, { paletteIndex: 0 }),
|
|
44
44
|
[d.LG]: /* @__PURE__ */ t(J, { paletteIndex: 0 })
|
|
@@ -47,10 +47,10 @@ const lo = "buttonDropdown__f96eb5ca", uo = "block__ba8e34d0", po = "buttonDropd
|
|
|
47
47
|
[d.MD]: (a) => /* @__PURE__ */ t(X, { paletteIndex: a, className: n.caretIcon }),
|
|
48
48
|
[d.LG]: (a) => /* @__PURE__ */ t(Q, { paletteIndex: a, className: n.caretIcon })
|
|
49
49
|
}, So = q.forwardRef(
|
|
50
|
-
(a,
|
|
51
|
-
const { buttonAttributes: R, children: h, className: P, theme: u, size: s, options: E, selected: m, block:
|
|
50
|
+
(a, w) => {
|
|
51
|
+
const { buttonAttributes: R, children: h, className: P, theme: u, size: s, options: E, selected: m, block: b, disabled: T, ...W } = a, C = _(null), A = _(null), Y = f(n.buttonDropdown, { [n.block]: !!b }, P), [S, z] = F(), I = _(V()), H = ({ opened: o, setOpened: e }) => {
|
|
52
52
|
const c = f(n.buttonDropdownTarget, {
|
|
53
|
-
[n.block]: !!
|
|
53
|
+
[n.block]: !!b,
|
|
54
54
|
[n.active]: o
|
|
55
55
|
});
|
|
56
56
|
return /* @__PURE__ */ x(
|
|
@@ -76,7 +76,7 @@ const lo = "buttonDropdown__f96eb5ca", uo = "block__ba8e34d0", po = "buttonDropd
|
|
|
76
76
|
);
|
|
77
77
|
}, K = ({ opened: o, setOpened: e }) => {
|
|
78
78
|
const c = f(n.buttonDropdownTarget, {
|
|
79
|
-
[n.block]: !!
|
|
79
|
+
[n.block]: !!b
|
|
80
80
|
});
|
|
81
81
|
return /* @__PURE__ */ t(
|
|
82
82
|
v,
|
|
@@ -93,7 +93,7 @@ const lo = "buttonDropdown__f96eb5ca", uo = "block__ba8e34d0", po = "buttonDropd
|
|
|
93
93
|
"aria-activedescendant": S,
|
|
94
94
|
...R,
|
|
95
95
|
ref: M,
|
|
96
|
-
icon:
|
|
96
|
+
icon: bo[s]
|
|
97
97
|
}
|
|
98
98
|
);
|
|
99
99
|
}, k = ({ opened: o, setOpened: e }) => () => e(!o), O = ({ opened: o, setOpened: e }) => (c) => {
|
|
@@ -164,7 +164,7 @@ const lo = "buttonDropdown__f96eb5ca", uo = "block__ba8e34d0", po = "buttonDropd
|
|
|
164
164
|
}
|
|
165
165
|
) });
|
|
166
166
|
}, M = (o) => {
|
|
167
|
-
C.current = o, typeof
|
|
167
|
+
C.current = o, typeof w == "function" ? w(o) : w && (w.current = o);
|
|
168
168
|
};
|
|
169
169
|
return /* @__PURE__ */ t(
|
|
170
170
|
g,
|
|
@@ -4,11 +4,11 @@ import { Dropdown as _ } from "../Dropdown/Dropdown.js";
|
|
|
4
4
|
import { isKey as w } from "../../utils/keyboard.js";
|
|
5
5
|
import { DropdownList as g } from "../Dropdown/desktop/DropdownList.js";
|
|
6
6
|
import { c as A } from "../../chunks/vendor---Om3uMV.js";
|
|
7
|
-
const K = "
|
|
7
|
+
const K = "buttonDropdownExtended__a3b47c90", S = "buttonDropdownExtendedBlock__f465132d", E = {
|
|
8
8
|
buttonDropdownExtended: K,
|
|
9
9
|
buttonDropdownExtendedBlock: S
|
|
10
10
|
}, D = (s) => {
|
|
11
|
-
const { className:
|
|
11
|
+
const { className: v, opened: x, setOpened: c, renderButton: b, renderDropdown: k, dropdownRef: l, closeOnTab: p, ...L } = s, u = f(null), m = f(s.opened !== void 0), [O, y] = C((s.opened === void 0, !1)), e = m.current ? !!x : O, o = N(
|
|
12
12
|
(t) => {
|
|
13
13
|
if (m.current) {
|
|
14
14
|
c && c(t);
|
|
@@ -35,9 +35,9 @@ const K = "buttonDropdownExtended__5a99b7bd", S = "buttonDropdownExtendedBlock__
|
|
|
35
35
|
document.removeEventListener("keydown", t), document.removeEventListener("mousedown", d), document.removeEventListener("touchstart", d);
|
|
36
36
|
};
|
|
37
37
|
}, [e, p, l, o, u]);
|
|
38
|
-
const B = A(E.buttonDropdownExtended,
|
|
38
|
+
const B = A(E.buttonDropdownExtended, v);
|
|
39
39
|
return /* @__PURE__ */ h("div", { className: B, ref: u, ...L, children: [
|
|
40
|
-
|
|
40
|
+
b({ opened: e, setOpened: o }),
|
|
41
41
|
k({
|
|
42
42
|
className: E.buttonDropdownExtendedBlock,
|
|
43
43
|
opened: e,
|
|
@@ -3,10 +3,10 @@ import a from "react";
|
|
|
3
3
|
import { c as m } from "../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { EButtonIconShape as t } from "./enums.js";
|
|
5
5
|
import { IconWrapper as p } from "../IconWrapper/IconWrapper.js";
|
|
6
|
-
const I = "
|
|
6
|
+
const I = "buttonIcon__7a419946", _ = "circle__d8dcfa69", f = "squircle__4b2e4080", o = {
|
|
7
7
|
buttonIcon: I,
|
|
8
|
-
circle:
|
|
9
|
-
squircle:
|
|
8
|
+
circle: _,
|
|
9
|
+
squircle: f
|
|
10
10
|
}, b = {
|
|
11
11
|
[t.SQUIRCLE]: o.squircle,
|
|
12
12
|
[t.CIRCLE]: o.circle
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
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
|
-
var
|
|
3
|
+
var c = (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
5
|
import { u as I, c as R } from "../../chunks/vendor---Om3uMV.js";
|
|
6
6
|
import V from "react";
|
|
@@ -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__44043b68", L = "adaptive__82177a94", g = {
|
|
17
17
|
calendar: q,
|
|
18
18
|
adaptive: L
|
|
19
19
|
};
|
|
@@ -21,13 +21,13 @@ class k extends V.PureComponent {
|
|
|
21
21
|
constructor(t) {
|
|
22
22
|
super(t);
|
|
23
23
|
// Уникальный идентификатор для связи периода с таблицей.
|
|
24
|
-
|
|
24
|
+
c(this, "periodId", `calendar-period-${I()}`);
|
|
25
25
|
/** Обработчик выбора даты. */
|
|
26
|
-
|
|
26
|
+
c(this, "handleDateSelect", (t) => {
|
|
27
27
|
this.props.onDateChange(t);
|
|
28
28
|
});
|
|
29
29
|
/** Обработчик смены страницы. */
|
|
30
|
-
|
|
30
|
+
c(this, "handlePageChange", (t, a) => {
|
|
31
31
|
const { onPageChange: o } = this.props;
|
|
32
32
|
this.setState({
|
|
33
33
|
header: P(t, a),
|
|
@@ -35,7 +35,7 @@ class k extends V.PureComponent {
|
|
|
35
35
|
}), o == null || o(t, a);
|
|
36
36
|
});
|
|
37
37
|
/** Обработчик изменения вида отображения. */
|
|
38
|
-
|
|
38
|
+
c(this, "handleViewChange", (t, a) => {
|
|
39
39
|
const { onViewChange: o } = this.props;
|
|
40
40
|
this.setState({
|
|
41
41
|
header: P(t, a),
|
|
@@ -44,13 +44,13 @@ class k extends V.PureComponent {
|
|
|
44
44
|
}), o == null || o(t, a);
|
|
45
45
|
});
|
|
46
46
|
/** Рендер футера. */
|
|
47
|
-
|
|
47
|
+
c(this, "renderFooter", () => {
|
|
48
48
|
const { pickType: t, yesterdayButtonProps: a, todayButtonProps: o, tomorrowButtonProps: r } = this.props, { viewDate: n, viewMode: e } = this.state;
|
|
49
49
|
let i, s;
|
|
50
50
|
t === y.datePick ? (i = D().startOf("day"), s = e === l.DAYS && n.isSame(i, "month")) : (i = D().startOf("month"), s = e === l.MONTHS && n.isSame(i, "year"));
|
|
51
|
-
const
|
|
51
|
+
const p = s && e === l.DAYS;
|
|
52
52
|
return /* @__PURE__ */ S(E, { children: [
|
|
53
|
-
|
|
53
|
+
p && a && /* @__PURE__ */ h(
|
|
54
54
|
v,
|
|
55
55
|
{
|
|
56
56
|
date: i.clone().subtract(1, "day"),
|
|
@@ -66,7 +66,7 @@ class k extends V.PureComponent {
|
|
|
66
66
|
...typeof o == "function" ? o({ viewMode: e, currentPeriodSelected: s }) : o
|
|
67
67
|
}
|
|
68
68
|
),
|
|
69
|
-
|
|
69
|
+
p && r && /* @__PURE__ */ h(
|
|
70
70
|
v,
|
|
71
71
|
{
|
|
72
72
|
date: i.clone().add(1, "day"),
|
|
@@ -107,8 +107,8 @@ class k extends V.PureComponent {
|
|
|
107
107
|
return n;
|
|
108
108
|
}
|
|
109
109
|
componentDidUpdate(t, a) {
|
|
110
|
-
const { format: o } = this.props, { viewDate: r } = this.state, { viewDate: n } = a, e = f(this.props.pickedDate, o), i = e == null ? void 0 : e.isValid(), s = i ? e : n,
|
|
111
|
-
if (!(!i ||
|
|
110
|
+
const { format: o } = this.props, { viewDate: r } = this.state, { viewDate: n } = a, e = f(this.props.pickedDate, o), i = e == null ? void 0 : e.isValid(), s = i ? e : n, p = f(t.pickedDate, o);
|
|
111
|
+
if (!(!i || p != null && p.isSame(s, "day"))) {
|
|
112
112
|
let u = {};
|
|
113
113
|
r && !r.isSame(e, "month") && (u = {
|
|
114
114
|
currentTab: l.DAYS,
|
|
@@ -130,14 +130,14 @@ class k extends V.PureComponent {
|
|
|
130
130
|
dayHtmlAttributes: e,
|
|
131
131
|
monthHtmlAttributes: i,
|
|
132
132
|
yearHtmlAttributes: s,
|
|
133
|
-
prevButtonProps:
|
|
133
|
+
prevButtonProps: p,
|
|
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, b = R(g.calendar, {
|
|
138
138
|
[g.adaptive]: !!this.props.adaptiveMode
|
|
139
|
-
}),
|
|
140
|
-
return /* @__PURE__ */ h("div", { className:
|
|
139
|
+
}), F = f(this.props.pickedDate, t);
|
|
140
|
+
return /* @__PURE__ */ h("div", { className: b, "data-tx": "0.26.0", children: /* @__PURE__ */ S(
|
|
141
141
|
w.Provider,
|
|
142
142
|
{
|
|
143
143
|
value: {
|
|
@@ -157,7 +157,7 @@ class k extends V.PureComponent {
|
|
|
157
157
|
/* @__PURE__ */ h(
|
|
158
158
|
N,
|
|
159
159
|
{
|
|
160
|
-
prevButtonProps:
|
|
160
|
+
prevButtonProps: p,
|
|
161
161
|
nextButtonProps: u,
|
|
162
162
|
viewButtonProps: C,
|
|
163
163
|
children: Y
|
|
@@ -166,7 +166,7 @@ class k extends V.PureComponent {
|
|
|
166
166
|
/* @__PURE__ */ h(
|
|
167
167
|
_,
|
|
168
168
|
{
|
|
169
|
-
pickedDate:
|
|
169
|
+
pickedDate: F,
|
|
170
170
|
dayHtmlAttributes: e,
|
|
171
171
|
monthHtmlAttributes: i,
|
|
172
172
|
yearHtmlAttributes: s
|
|
@@ -178,11 +178,11 @@ class k extends V.PureComponent {
|
|
|
178
178
|
) });
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
|
-
|
|
181
|
+
c(k, "defaultProps", {
|
|
182
182
|
format: x,
|
|
183
183
|
limitRange: O,
|
|
184
184
|
pickType: y.datePick
|
|
185
|
-
}),
|
|
185
|
+
}), c(k, "contextType", w);
|
|
186
186
|
export {
|
|
187
187
|
k as Calendar
|
|
188
188
|
};
|
|
@@ -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__854ffb15", j = {
|
|
12
12
|
calendarControls: U
|
|
13
13
|
}, X = ({
|
|
14
14
|
children: m,
|
|
@@ -16,12 +16,12 @@ const U = "calendarControls__d61a4052", 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__d61a4052", 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,16 +56,16 @@ const U = "calendarControls__d61a4052", 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
|
-
const r = C(),
|
|
65
|
-
h(
|
|
64
|
+
const r = C(), f = y(), l = a.clone().subtract(f, r);
|
|
65
|
+
h(l, n), t == null || t(o);
|
|
66
66
|
}, x = (t) => (o) => {
|
|
67
|
-
const r = C(),
|
|
68
|
-
h(
|
|
67
|
+
const r = C(), f = y(), l = a.clone().add(f, r);
|
|
68
|
+
h(l, n), t == null || t(o);
|
|
69
69
|
}, M = (t) => (o) => {
|
|
70
70
|
n === e.DAYS ? p(a, e.MONTHS) : n === e.MONTHS && p(a, e.YEARS), t == null || t(o);
|
|
71
71
|
}, C = () => {
|
|
@@ -86,7 +86,7 @@ const U = "calendarControls__d61a4052", 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
|
] });
|