@sberbusiness/triplex-next 0.27.0 → 0.28.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-vonjWRtY.js +41 -0
- package/chunks/{CalendarViewItem-DRBt_s0Q.js → CalendarViewItem-DysxnR-B.js} +18 -18
- package/chunks/Card.module-DLzMeKEe.js +17 -0
- package/chunks/CheckboxTreeExtended.module-_hckc6T1.js +15 -0
- package/chunks/Chip-C8WEqATD.js +77 -0
- package/chunks/Confirm.module-C9UyoM6r.js +15 -0
- package/chunks/{DropdownListItem-BflrX8i-.js → DropdownListItem-DEMHVloq.js} +16 -16
- package/chunks/DropdownMobile.module-D_HYruos.js +23 -0
- package/chunks/Footer.module-BijXXNLX.js +9 -0
- package/chunks/{FormFieldInput-q8qt9K5c.js → FormFieldInput-Cb-NqZOL.js} +25 -25
- package/chunks/HeaderLayoutSidebar.module-BvSSRT60.js +9 -0
- package/chunks/HeaderTabs.module-Yh7VuJr3.js +9 -0
- package/chunks/{HeaderTitle.module-Y10Bm5lm.js → HeaderTitle.module-B2aVG-8s.js} +2 -2
- package/chunks/IslandAccordion.module-DXpQN7Ws.js +25 -0
- package/chunks/IslandWidgetFooter.module-DsHrU6Ao.js +9 -0
- package/chunks/IslandWidgetHeader.module-BntNmew_.js +12 -0
- package/chunks/{LightBoxContent-DHs-Qjcp.js → LightBoxContent-CpxzDBba.js} +11 -11
- package/chunks/LightBoxControls.module-BulvfqYp.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-jdGcrQ0Q.js +9 -0
- package/chunks/{ListItemControlsButton-pIOQbY1R.js → ListItemControlsButton-BcWg1BjZ.js} +15 -15
- package/chunks/ListItemTail.module-lle264d5.js +12 -0
- package/chunks/ListMasterFooter.module-ezPsYAZz.js +10 -0
- package/chunks/ModalWindow.module-CbeisCTo.js +17 -0
- package/chunks/Notification.module-Cdt0qyac.js +20 -0
- package/chunks/Overlay.module-s6l_vTfQ.js +18 -0
- package/chunks/Page.module-DfXEH6KZ.js +11 -0
- package/chunks/SMSField.module-CTGDSJ9H.js +16 -0
- package/chunks/SliderExtendedMarks.module-CEd_dK23.js +15 -0
- package/chunks/{SliderExtendedRail-ylfekLwv.js → SliderExtendedRail-D-T2vfBA.js} +9 -9
- package/chunks/StatusTracker.module-DhavZ4lj.js +24 -0
- package/chunks/{StepperStepArrowBorder-DJAqKqGz.js → StepperStepArrowBorder-DoCkMkMz.js} +9 -9
- package/chunks/{SuggestFieldMobileDropdownHint-DC3vUbne.js → SuggestFieldMobileDropdownHint-DMUtIm6D.js} +2 -2
- package/chunks/TableFooter.module-BEbAVyAP.js +14 -0
- package/chunks/TabsExtended.module-DvTlvDRg.js +16 -0
- package/chunks/TabsLine.module-Dc3Qo19q.js +21 -0
- package/chunks/TooltipDesktop.module-CU7dGBwe.js +19 -0
- package/chunks/TreeView.module-BYYaw1fa.js +9 -0
- package/chunks/{UploadZoneInput-xOoub0aL.js → UploadZoneInput-DBUlHhad.js} +7 -7
- package/chunks/{constants-CoLWcWYQ.js → constants-3hOLYskn.js} +10 -10
- package/chunks/utils-8R7OR9DQ.js +24 -0
- package/chunks/{utils-D_H8vO74.js → utils-BzsnXGYj.js} +5 -5
- package/chunks/utils-C0T4qN0O.js +73 -0
- package/chunks/{utils-BXp6zjzV.js → utils-C3N8DE_4.js} +5 -5
- package/components/Alert/AlertContext/AlertContext.js +15 -15
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +7 -7
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +3 -3
- package/components/Badge/Badge.js +3 -3
- package/components/Badge/BadgeDot.js +7 -7
- package/components/Badge/components/BadgeContent.js +14 -14
- package/components/Badge/components/BadgePostfix.js +5 -5
- package/components/Badge/components/BadgePrefix.js +4 -4
- package/components/Body/Body.js +8 -8
- package/components/Button/Button.js +15 -15
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +11 -11
- package/components/Button/ButtonDropdownExtended.js +4 -4
- package/components/Button/ButtonIcon.js +9 -9
- package/components/Calendar/Calendar.js +2 -2
- 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 +9 -9
- 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 +8 -8
- package/components/Checkbox/CheckboxXGroup.js +12 -12
- 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 +5 -5
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +4 -4
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +9 -9
- 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 +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +6 -6
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +13 -13
- package/components/Col/Col.js +141 -141
- package/components/CollapsableTree/components/CollapsableTreeNode.js +8 -8
- 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 +7 -7
- package/components/DateRange/DateRange.js +5 -5
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/Divider/Divider.js +21 -21
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +10 -10
- package/components/Dropdown/desktop/DropdownDesktop.js +21 -21
- 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 +4 -4
- 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 +5 -5
- package/components/EmptyView/EmptyView.js +17 -17
- package/components/ExpandAnimation/ExpandAnimation.js +9 -9
- 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 +22 -22
- package/components/FormField/components/FormFieldClear.js +5 -5
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +4 -4
- package/components/FormField/components/FormFieldMaskedInput.js +28 -28
- package/components/FormField/components/FormFieldPostfix.js +4 -4
- package/components/FormField/components/FormFieldPrefix.js +8 -8
- package/components/FormField/components/FormFieldTarget.js +9 -9
- package/components/FormField/components/FormFieldTextarea.js +8 -8
- 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 +4 -4
- package/components/IconWrapper/IconWrapper.js +10 -10
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +6 -6
- package/components/Island/components/IslandFooter.js +3 -3
- package/components/Island/components/IslandHeader.js +1 -1
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +2 -2
- package/components/IslandWidget/IslandWidget.js +22 -22
- package/components/IslandWidget/components/IslandWidgetBody.js +3 -3
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +7 -7
- 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 +6 -6
- package/components/LightBox/LightBox.js +10 -10
- 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 +68 -61
- 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 +11 -11
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +13 -13
- package/components/Link/Link.js +11 -11
- package/components/List/List.js +6 -6
- package/components/List/components/ListEmptyState.js +5 -5
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +9 -9
- package/components/List/components/ListItemControls.js +5 -5
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +1 -1
- package/components/List/components/ListItemSelectable.js +1 -1
- package/components/List/components/ListItemTable.js +1 -1
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +1 -1
- package/components/List/components/ListSortableItemControls.js +6 -6
- package/components/List/components/ListSortableItemTarget.js +9 -9
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +1 -1
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +5 -5
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +4 -4
- package/components/Loader/LoaderSmall/LoaderSmall.js +7 -7
- package/components/LoaderScreen/LoaderScreen.js +1 -1
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +10 -10
- package/components/ModalWindow/ModalWindow.js +61 -65
- package/components/ModalWindow/components/ModalWindowBody.js +14 -13
- package/components/ModalWindow/components/ModalWindowClose.js +16 -17
- package/components/ModalWindow/components/ModalWindowContent.js +22 -16
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +27 -26
- package/components/MonthYearRange/MonthYearRange.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +9 -9
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- 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 +5 -5
- 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 +5 -5
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +5 -5
- package/components/Pagination/components/PaginationNavigationButton.js +5 -5
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +5 -5
- package/components/Pagination/components/PaginationPageEllipsis.js +1 -1
- package/components/Pagination/components/PaginationSelect.js +21 -21
- package/components/Radio/Radio.js +15 -15
- package/components/Radio/RadioXGroup.js +9 -9
- package/components/Radio/RadioYGroup.js +7 -7
- package/components/Row/Row.js +5 -5
- 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 +2 -2
- package/components/SegmentedControl/SegmentedControlSegment.js +20 -20
- 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 +13 -13
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +4 -4
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +7 -7
- 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 +5 -5
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +28 -28
- package/components/SmallInput/SmallInput.js +6 -6
- package/components/Spoiler/Spoiler.js +13 -13
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +1 -1
- package/components/StatusTracker/components/StatusTrackerDescription.js +1 -1
- package/components/StatusTracker/components/StatusTrackerFooter.js +1 -1
- package/components/StatusTracker/components/StatusTrackerHeader.js +1 -1
- package/components/StatusTracker/components/StatusTrackerMedia.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatus.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +17 -17
- package/components/Stepper/Stepper.js +3 -3
- package/components/Stepper/StepperExtended.js +9 -9
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperStepArrowBorder.js +1 -1
- package/components/Suggest/SuggestMobileDropdownContent.js +7 -7
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +15 -15
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +15 -15
- package/components/Table/NoColumns.js +5 -5
- package/components/Table/PaginationPanel.js +4 -4
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +5 -5
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +4 -4
- 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 +6 -6
- 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 +1 -1
- package/components/Table/TabsLinePanelLinks.js +8 -8
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +6 -6
- 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 +11 -11
- package/components/Tag/Tag.js +14 -14
- package/components/TagColor/TagColor.js +12 -12
- package/components/TagGroup/TagGroup.js +8 -8
- 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 +10 -10
- 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 +9 -9
- 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 +15 -15
- package/components/Typography/CodeText.js +11 -11
- package/components/Typography/Text.js +21 -21
- package/components/Typography/Title.js +12 -12
- 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 +5 -5
- package/index.d.ts +37 -8
- package/index.js +5 -5
- package/package.json +1 -1
- package/styles/triplex-next.css +538 -538
- package/chunks/AlertProcessSpoiler-CyQjNK-A.js +0 -41
- package/chunks/Card.module-D8T8SSWF.js +0 -17
- package/chunks/CheckboxTreeExtended.module-BQD7DKNP.js +0 -15
- package/chunks/Chip-BWrXp8b3.js +0 -77
- package/chunks/Confirm.module-D5UicEEs.js +0 -15
- package/chunks/DropdownMobile.module-3D5LlZCS.js +0 -23
- package/chunks/Footer.module-BfB70vm7.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-DP3SxiTp.js +0 -9
- package/chunks/HeaderTabs.module-Cx-Ctxui.js +0 -9
- package/chunks/IslandAccordion.module-CVxFZsLG.js +0 -25
- package/chunks/IslandWidgetFooter.module-VlqE7l7C.js +0 -9
- package/chunks/IslandWidgetHeader.module-DwIaQr1_.js +0 -12
- package/chunks/LightBoxControls.module-D1KjqwKb.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-DPT31Rzn.js +0 -9
- package/chunks/ListItemTail.module-Cu4UoxMF.js +0 -12
- package/chunks/ListMasterFooter.module-wznlsgml.js +0 -10
- package/chunks/ModalWindow.module-BrOAz5Ut.js +0 -17
- package/chunks/Notification.module-CyBTQm0m.js +0 -20
- package/chunks/Overlay.module-hR6GT0XD.js +0 -18
- package/chunks/Page.module-DydaWXa2.js +0 -11
- package/chunks/SMSField.module-DoBN7Aba.js +0 -16
- package/chunks/SliderExtendedMarks.module-DZXE3Uju.js +0 -15
- package/chunks/StatusTracker.module-D8_bnGs2.js +0 -24
- package/chunks/TableFooter.module-BG7ShSJ1.js +0 -14
- package/chunks/TabsExtended.module-D60HGy0o.js +0 -16
- package/chunks/TabsLine.module-BfBp0UOt.js +0 -21
- package/chunks/TooltipDesktop.module-BrcbbP-s.js +0 -19
- package/chunks/TreeView.module-lKZg_HMx.js +0 -9
- package/chunks/utils-CfCPvNY4.js +0 -73
- package/chunks/utils-PKY322-t.js +0 -24
|
@@ -4,10 +4,10 @@ import { EAlertType as e } from "../EAlertType.js";
|
|
|
4
4
|
import { ALERT_TYPE_TO_CLASS_NAME_MAP as m } from "../AlertTypeUtils.js";
|
|
5
5
|
import { Text as y } from "../../Typography/Text.js";
|
|
6
6
|
import { EFontType as r, ETextSize as S } from "../../Typography/enums.js";
|
|
7
|
-
import { SystemStrokeStsIcon16 as I, ErrorStrokeStsIcon16 as
|
|
8
|
-
import { c as
|
|
9
|
-
const
|
|
10
|
-
alertContext:
|
|
7
|
+
import { SystemStrokeStsIcon16 as I, ErrorStrokeStsIcon16 as f, WarningStrokeStsIcon16 as i, InfoStrokeStsIcon16 as _ } from "@sberbusiness/icons-next";
|
|
8
|
+
import { c as E } from "../../../chunks/vendor---Om3uMV.js";
|
|
9
|
+
const R = "alertContext__2b919a7d", N = "alertContextText__c582b856", d = "alertTypeError__dca7724b", C = "alertTypeInfo__4e2fd3c7", A = "alertTypeWarning__0e7eb5a1", O = "alertTypeSystem__e24f5a3b", n = {
|
|
10
|
+
alertContext: R,
|
|
11
11
|
alertContextText: N,
|
|
12
12
|
alertTypeError: d,
|
|
13
13
|
alertTypeInfo: C,
|
|
@@ -16,11 +16,11 @@ const f = "alertContext__45d24601", N = "alertContextText__72e60697", d = "alert
|
|
|
16
16
|
}, W = (o) => {
|
|
17
17
|
switch (o) {
|
|
18
18
|
case e.INFO:
|
|
19
|
-
return /* @__PURE__ */ t(
|
|
19
|
+
return /* @__PURE__ */ t(_, { paletteIndex: 3 });
|
|
20
20
|
case e.WARNING:
|
|
21
|
-
return /* @__PURE__ */ t(
|
|
21
|
+
return /* @__PURE__ */ t(i, { paletteIndex: 2 });
|
|
22
22
|
case e.ERROR:
|
|
23
|
-
return /* @__PURE__ */ t(
|
|
23
|
+
return /* @__PURE__ */ t(f, { paletteIndex: 1 });
|
|
24
24
|
case e.SYSTEM:
|
|
25
25
|
return /* @__PURE__ */ t(I, { paletteIndex: 4 });
|
|
26
26
|
}
|
|
@@ -29,24 +29,24 @@ const f = "alertContext__45d24601", N = "alertContextText__72e60697", d = "alert
|
|
|
29
29
|
[e.WARNING]: r.WARNING,
|
|
30
30
|
[e.ERROR]: r.ERROR,
|
|
31
31
|
[e.SYSTEM]: r.SECONDARY
|
|
32
|
-
},
|
|
33
|
-
({ children: o, className: l, type:
|
|
32
|
+
}, b = x.forwardRef(
|
|
33
|
+
({ children: o, className: l, type: a, renderIcon: s, ...p }, c) => /* @__PURE__ */ T(
|
|
34
34
|
"span",
|
|
35
35
|
{
|
|
36
36
|
role: "alert",
|
|
37
|
-
className:
|
|
37
|
+
className: E(n.alertContext, m[a](n), l),
|
|
38
38
|
...p,
|
|
39
|
-
"data-tx": "0.
|
|
39
|
+
"data-tx": "0.28.0",
|
|
40
40
|
ref: c,
|
|
41
41
|
children: [
|
|
42
|
-
s || W(
|
|
43
|
-
/* @__PURE__ */ t(y, { size: S.B4, type: u[
|
|
42
|
+
s || W(a),
|
|
43
|
+
/* @__PURE__ */ t(y, { size: S.B4, type: u[a], className: n.alertContextText, children: o })
|
|
44
44
|
]
|
|
45
45
|
}
|
|
46
46
|
)
|
|
47
47
|
);
|
|
48
|
-
|
|
48
|
+
b.displayName = "AlertContext";
|
|
49
49
|
export {
|
|
50
|
-
|
|
50
|
+
b as AlertContext
|
|
51
51
|
};
|
|
52
52
|
//# sourceMappingURL=AlertContext.js.map
|
|
@@ -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-vonjWRtY.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.28.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-vonjWRtY.js";
|
|
7
7
|
import "../../../../chunks/vendor---Om3uMV.js";
|
|
8
8
|
export {
|
|
9
9
|
l as AlertProcessSpoiler
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { jsxs as d, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { formatAmount as u } from "../../utils/amountUtils.js";
|
|
3
3
|
import { c as f } from "../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
const N = "
|
|
4
|
+
const N = "adaptive__4932c85d", _ = {
|
|
5
5
|
adaptive: N
|
|
6
6
|
}, h = 14, v = ({
|
|
7
7
|
className: o,
|
|
8
8
|
value: r,
|
|
9
9
|
fractionLength: s,
|
|
10
|
-
currency:
|
|
10
|
+
currency: e,
|
|
11
11
|
currencyTitle: m,
|
|
12
12
|
adaptive: c,
|
|
13
|
-
dataTestId:
|
|
13
|
+
dataTestId: a,
|
|
14
14
|
...i
|
|
15
15
|
}) => {
|
|
16
16
|
let t = u(r, s);
|
|
17
17
|
t[0] == "-" && (t = t.replace("-", "−"));
|
|
18
18
|
const p = () => [
|
|
19
19
|
" ",
|
|
20
|
-
/* @__PURE__ */ n("span", { "data-test-id":
|
|
20
|
+
/* @__PURE__ */ n("span", { "data-test-id": a && `${a}__currencyName`, title: m, children: e }, "currencyName")
|
|
21
21
|
], l = f(
|
|
22
22
|
{
|
|
23
23
|
[_.adaptive]: !!c && t.length >= h
|
|
24
24
|
},
|
|
25
25
|
o
|
|
26
26
|
);
|
|
27
|
-
return /* @__PURE__ */ d("span", { className: l, ...i, "data-tx": "0.
|
|
28
|
-
/* @__PURE__ */ n("span", { "data-test-id":
|
|
29
|
-
|
|
27
|
+
return /* @__PURE__ */ d("span", { className: l, ...i, "data-tx": "0.28.0", children: [
|
|
28
|
+
/* @__PURE__ */ n("span", { "data-test-id": a && `${a}__amount`, children: t }),
|
|
29
|
+
e && p()
|
|
30
30
|
] });
|
|
31
31
|
};
|
|
32
32
|
v.displayName = "Amount";
|
|
@@ -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-Cb-NqZOL.js";
|
|
9
9
|
import "../FormField/components/FormFieldLabel.js";
|
|
10
10
|
import "../FormField/components/FormFieldMaskedInput.js";
|
|
11
11
|
import "../FormField/components/FormFieldPostfix.js";
|
|
@@ -2,11 +2,11 @@ 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__6e413f22", e = "xxs__55c4ecb3", d = "xs__a9354df3", n = "sm__3cbfe259", f = "md__9cb989f2", i = "lg__17303bda", v = "xl__0147a0d1", p = "xxl__14d28427", s = {
|
|
6
6
|
avatar: _,
|
|
7
7
|
xxs: e,
|
|
8
|
-
xs:
|
|
9
|
-
sm:
|
|
8
|
+
xs: d,
|
|
9
|
+
sm: n,
|
|
10
10
|
md: f,
|
|
11
11
|
lg: i,
|
|
12
12
|
xl: v,
|
|
@@ -6,14 +6,14 @@ import { BadgeDot as _ } from "./BadgeDot.js";
|
|
|
6
6
|
import { BadgeContent as f } from "./components/BadgeContent.js";
|
|
7
7
|
import { BadgePrefix as p } from "./components/BadgePrefix.js";
|
|
8
8
|
import { BadgePostfix as B } from "./components/BadgePostfix.js";
|
|
9
|
-
const b = "
|
|
9
|
+
const b = "badge__b1272265", P = "sm__86ff8d38", N = "md__93e81934", S = "lg__8910395b", s = {
|
|
10
10
|
badge: b,
|
|
11
11
|
sm: P,
|
|
12
12
|
md: N,
|
|
13
13
|
lg: S
|
|
14
|
-
}, h = i(
|
|
14
|
+
}, h = i(s), j = Object.assign(
|
|
15
15
|
g.forwardRef(
|
|
16
|
-
({ children: m, className:
|
|
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
17
|
o ? /* @__PURE__ */ e(p, { children: o }) : null,
|
|
18
18
|
m ? /* @__PURE__ */ e(f, { size: t, noPaddingLeft: !!o, noPaddingRight: !!a, children: m }) : null,
|
|
19
19
|
a ? /* @__PURE__ */ e(B, { children: a }) : null
|
|
@@ -2,14 +2,14 @@ import { jsx as m } from "react/jsx-runtime";
|
|
|
2
2
|
import c from "react";
|
|
3
3
|
import { c as d } from "../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { createSizeToClassNameMap as r } from "../../utils/classNameMaps.js";
|
|
5
|
-
const _ = "
|
|
5
|
+
const _ = "badgeDot__bf7eba4c", f = "sm__86ff8d38", g = "md__93e81934", l = "lg__8910395b", o = {
|
|
6
6
|
badgeDot: _,
|
|
7
|
-
sm:
|
|
8
|
-
md:
|
|
9
|
-
lg:
|
|
10
|
-
},
|
|
11
|
-
|
|
7
|
+
sm: f,
|
|
8
|
+
md: g,
|
|
9
|
+
lg: l
|
|
10
|
+
}, n = r(o), p = c.forwardRef(({ className: s, size: t, ...a }, e) => /* @__PURE__ */ m("span", { className: d(o.badgeDot, n[t], s), ...a, ref: e }));
|
|
11
|
+
p.displayName = "BadgeDot";
|
|
12
12
|
export {
|
|
13
|
-
|
|
13
|
+
p as BadgeDot
|
|
14
14
|
};
|
|
15
15
|
//# sourceMappingURL=BadgeDot.js.map
|
|
@@ -1,35 +1,35 @@
|
|
|
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 m = "
|
|
4
|
+
const m = "badgeContent__bdbaed15", c = "sm__86ff8d38", f = "md__93e81934", b = "lg__8910395b", P = "noPaddingLeft__8f821b37", l = "noPaddingRight__0079ba30", n = {
|
|
5
5
|
badgeContent: m,
|
|
6
6
|
sm: c,
|
|
7
7
|
md: f,
|
|
8
|
-
lg:
|
|
9
|
-
noPaddingLeft:
|
|
10
|
-
noPaddingRight:
|
|
11
|
-
},
|
|
8
|
+
lg: b,
|
|
9
|
+
noPaddingLeft: P,
|
|
10
|
+
noPaddingRight: l
|
|
11
|
+
}, r = _(n), C = ({
|
|
12
12
|
children: t,
|
|
13
|
-
size:
|
|
14
|
-
noPaddingLeft:
|
|
15
|
-
noPaddingRight:
|
|
16
|
-
className:
|
|
13
|
+
size: o,
|
|
14
|
+
noPaddingLeft: d,
|
|
15
|
+
noPaddingRight: a,
|
|
16
|
+
className: e,
|
|
17
17
|
...s
|
|
18
18
|
}) => /* @__PURE__ */ g(
|
|
19
19
|
"span",
|
|
20
20
|
{
|
|
21
21
|
className: i(
|
|
22
22
|
n.badgeContent,
|
|
23
|
-
|
|
24
|
-
{ [n.noPaddingLeft]:
|
|
25
|
-
|
|
23
|
+
r[o],
|
|
24
|
+
{ [n.noPaddingLeft]: d, [n.noPaddingRight]: a },
|
|
25
|
+
e
|
|
26
26
|
),
|
|
27
27
|
...s,
|
|
28
28
|
children: t
|
|
29
29
|
}
|
|
30
30
|
);
|
|
31
|
-
|
|
31
|
+
C.displayName = "BadgeContent";
|
|
32
32
|
export {
|
|
33
|
-
|
|
33
|
+
C as BadgeContent
|
|
34
34
|
};
|
|
35
35
|
//# sourceMappingURL=BadgeContent.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
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 f = "
|
|
3
|
+
const f = "badgePostfix__3522736f", i = {
|
|
4
4
|
badgePostfix: f
|
|
5
5
|
}, x = ({
|
|
6
6
|
children: s,
|
|
7
|
-
className:
|
|
8
|
-
...
|
|
9
|
-
}) => /* @__PURE__ */
|
|
7
|
+
className: o,
|
|
8
|
+
...t
|
|
9
|
+
}) => /* @__PURE__ */ a("span", { className: e(i.badgePostfix, o), ...t, children: s });
|
|
10
10
|
x.displayName = "BadgePostfix";
|
|
11
11
|
export {
|
|
12
12
|
x as BadgePostfix
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { c as f } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
|
-
const i = "
|
|
3
|
+
const i = "badgePrefix__f42a6c0d", x = {
|
|
4
4
|
badgePrefix: i
|
|
5
|
-
},
|
|
6
|
-
|
|
5
|
+
}, d = ({ children: e, className: a, ...s }) => /* @__PURE__ */ r("span", { className: f(x.badgePrefix, a), ...s, children: e });
|
|
6
|
+
d.displayName = "BadgePrefix";
|
|
7
7
|
export {
|
|
8
|
-
|
|
8
|
+
d as BadgePrefix
|
|
9
9
|
};
|
|
10
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---Om3uMV.js";
|
|
4
|
+
const y = "body__8a5990b6", c = "bodyInner__c9191728", d = {
|
|
5
|
+
body: y,
|
|
6
|
+
bodyInner: c
|
|
7
|
+
}, b = e.forwardRef(({ children: r, className: s, ...n }, a) => /* @__PURE__ */ o("div", { className: t(d.body, s), ...n, "data-tx": "0.28.0", ref: a, children: /* @__PURE__ */ o("div", { className: d.bodyInner, children: r }) }));
|
|
8
|
+
b.displayName = "Body";
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
b as Body
|
|
11
11
|
};
|
|
12
12
|
//# sourceMappingURL=Body.js.map
|
|
@@ -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__65f52a4e", M = "expanded__9e172802", E = {
|
|
13
13
|
general: k,
|
|
14
14
|
expanded: M
|
|
15
|
-
}, I = "
|
|
15
|
+
}, I = "secondary__e1fb28e6", O = "expanded__9e172802", N = {
|
|
16
16
|
secondary: I,
|
|
17
17
|
expanded: O
|
|
18
|
-
}, G = "
|
|
18
|
+
}, G = "secondaryLight__cda60709", B = "expanded__9e172802", g = {
|
|
19
19
|
secondaryLight: G,
|
|
20
20
|
expanded: B
|
|
21
|
-
}, Y = "
|
|
21
|
+
}, Y = "danger__fbd1046c", H = "expanded__9e172802", f = {
|
|
22
22
|
danger: Y,
|
|
23
23
|
expanded: H
|
|
24
|
-
}, P = "
|
|
24
|
+
}, P = "link__529c36f6", $ = "expanded__9e172802", A = {
|
|
25
25
|
link: P,
|
|
26
26
|
expanded: $
|
|
27
|
-
}, v = "
|
|
27
|
+
}, v = "button__dd69042b", z = "sm__b12181c0", j = "icon__576e6616", K = "md__e649c650", w = "lg__6124b547", U = "block__76a2e7ef", W = "content__b9a90136", X = "loading__e18279ff", Z = "loader__fa0fffb7", q = "hidden__5662893a", n = {
|
|
28
28
|
button: v,
|
|
29
29
|
sm: z,
|
|
30
30
|
icon: j,
|
|
@@ -39,36 +39,36 @@ const k = "general__3af8676c", M = "expanded__e7cc134b", E = {
|
|
|
39
39
|
[e.GENERAL]: E.general,
|
|
40
40
|
[e.SECONDARY]: N.secondary,
|
|
41
41
|
[e.SECONDARY_LIGHT]: g.secondaryLight,
|
|
42
|
-
[e.DANGER]:
|
|
42
|
+
[e.DANGER]: f.danger,
|
|
43
43
|
[e.LINK]: A.link
|
|
44
44
|
}, J = {
|
|
45
45
|
[e.GENERAL]: E.expanded,
|
|
46
46
|
[e.SECONDARY]: N.expanded,
|
|
47
47
|
[e.SECONDARY_LIGHT]: g.expanded,
|
|
48
|
-
[e.DANGER]:
|
|
48
|
+
[e.DANGER]: f.expanded,
|
|
49
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
52
|
return /* @__PURE__ */ x(R, { theme: d, size: t });
|
|
53
53
|
}, ee = y.forwardRef((o, t) => {
|
|
54
|
-
const { children: d, className: S, disabled: s, theme:
|
|
54
|
+
const { children: d, className: S, disabled: s, theme: a, size: r = D.MD, block: L, loading: c, icon: _, ...b } = o, { "aria-expanded": l } = o, h = m(
|
|
55
55
|
n.button,
|
|
56
|
-
F[
|
|
56
|
+
F[a],
|
|
57
57
|
Q[r],
|
|
58
58
|
{
|
|
59
|
-
[n.block]: !!
|
|
60
|
-
[n.loading]: !!
|
|
59
|
+
[n.block]: !!L,
|
|
60
|
+
[n.loading]: !!c,
|
|
61
61
|
[n.icon]: !!_ && !d,
|
|
62
|
-
[J[
|
|
62
|
+
[J[a]]: !!l
|
|
63
63
|
},
|
|
64
64
|
S
|
|
65
65
|
);
|
|
66
|
-
return /* @__PURE__ */ i(T, { className: h, tabIndex:
|
|
66
|
+
return /* @__PURE__ */ i(T, { className: h, tabIndex: c ? -1 : void 0, disabled: s, ...b, 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__ */ x("div", { className: m(n.loader, !
|
|
71
|
+
/* @__PURE__ */ x("div", { className: m(n.loader, !c && n.hidden), children: V(a, 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.28.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 x, Fragment as Z } from "react/jsx-runtime";
|
|
5
5
|
import q, { useRef as _, useState as F, createElement as B } from "react";
|
|
6
|
-
import { c as
|
|
6
|
+
import { c as f, u as V } from "../../chunks/vendor---Om3uMV.js";
|
|
7
7
|
import { DotshorizontalStrokeSrvIcon32 as J, DotshorizontalStrokeSrvIcon20 as y, CaretdownStrokeSrvIcon24 as Q, CaretdownStrokeSrvIcon20 as X, CaretdownStrokeSrvIcon16 as $ } from "@sberbusiness/icons-next";
|
|
8
8
|
import { ButtonDropdownExtended as g } from "./ButtonDropdownExtended.js";
|
|
9
9
|
import { EButtonDotsTheme as N, EButtonTheme as l } from "./enums.js";
|
|
@@ -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-DEMHVloq.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,13 +31,13 @@ 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__ea35ca85", uo = "block__76a2e7ef", po = "buttonDropdownTarget__6214a4c8", Do = "caretIcon__af540424", wo = "active__4259b876", fo = "buttonDropdownMenuItem__53c252ce", n = {
|
|
35
35
|
buttonDropdown: lo,
|
|
36
36
|
block: uo,
|
|
37
37
|
buttonDropdownTarget: po,
|
|
38
38
|
caretIcon: Do,
|
|
39
|
-
active:
|
|
40
|
-
buttonDropdownMenuItem:
|
|
39
|
+
active: wo,
|
|
40
|
+
buttonDropdownMenuItem: fo
|
|
41
41
|
}, bo = {
|
|
42
42
|
[d.SM]: /* @__PURE__ */ t(y, { paletteIndex: 0 }),
|
|
43
43
|
[d.MD]: /* @__PURE__ */ t(y, { paletteIndex: 0 }),
|
|
@@ -47,9 +47,9 @@ const lo = "buttonDropdown__408637e3", uo = "block__89ced6b3", 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: b, disabled: T, ...W } = a, C = _(null), A = _(null), Y =
|
|
52
|
-
const c =
|
|
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
|
+
const c = f(n.buttonDropdownTarget, {
|
|
53
53
|
[n.block]: !!b,
|
|
54
54
|
[n.active]: o
|
|
55
55
|
});
|
|
@@ -75,7 +75,7 @@ const lo = "buttonDropdown__408637e3", uo = "block__89ced6b3", po = "buttonDropd
|
|
|
75
75
|
}
|
|
76
76
|
);
|
|
77
77
|
}, K = ({ opened: o, setOpened: e }) => {
|
|
78
|
-
const c =
|
|
78
|
+
const c = f(n.buttonDropdownTarget, {
|
|
79
79
|
[n.block]: !!b
|
|
80
80
|
});
|
|
81
81
|
return /* @__PURE__ */ t(
|
|
@@ -111,7 +111,7 @@ const lo = "buttonDropdown__408637e3", uo = "block__89ced6b3", po = "buttonDropd
|
|
|
111
111
|
return null;
|
|
112
112
|
}
|
|
113
113
|
}, U = ({ opened: o, setOpened: e, className: c }) => {
|
|
114
|
-
const i =
|
|
114
|
+
const i = f(n.buttonDropdownMenu, c);
|
|
115
115
|
return /* @__PURE__ */ t(oo.Provider, { value: { activeDescendant: S, setActiveDescendant: z }, children: /* @__PURE__ */ t(
|
|
116
116
|
g.Dropdown,
|
|
117
117
|
{
|
|
@@ -164,7 +164,7 @@ const lo = "buttonDropdown__408637e3", uo = "block__89ced6b3", 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__c1fea580", S = "buttonDropdownExtendedBlock__92c672dc", 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__fe974e7a", 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
|
|
@@ -3,21 +3,21 @@ import m from "react";
|
|
|
3
3
|
import { c as a } 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__da89c806", _ = "circle__894e20f7", f = "squircle__37291e91", o = {
|
|
7
7
|
buttonIcon: I,
|
|
8
8
|
circle: _,
|
|
9
|
-
squircle:
|
|
10
|
-
},
|
|
9
|
+
squircle: f
|
|
10
|
+
}, C = {
|
|
11
11
|
[t.SQUIRCLE]: o.squircle,
|
|
12
12
|
[t.CIRCLE]: o.circle
|
|
13
|
-
},
|
|
14
|
-
({ className: r, disabled: c, shape:
|
|
15
|
-
const l = a(o.buttonIcon,
|
|
16
|
-
return /* @__PURE__ */ n(p, { displayContents: !0, disabled: c, active:
|
|
13
|
+
}, E = m.forwardRef(
|
|
14
|
+
({ className: r, disabled: c, shape: e = t.SQUIRCLE, active: s, ...i }, u) => {
|
|
15
|
+
const l = a(o.buttonIcon, C[e], r);
|
|
16
|
+
return /* @__PURE__ */ n(p, { displayContents: !0, disabled: c, active: s, children: /* @__PURE__ */ n("button", { type: "button", className: l, disabled: c, ...i, ref: u }) });
|
|
17
17
|
}
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
E.displayName = "ButtonIcon";
|
|
20
20
|
export {
|
|
21
|
-
|
|
21
|
+
E as ButtonIcon
|
|
22
22
|
};
|
|
23
23
|
//# sourceMappingURL=ButtonIcon.js.map
|
|
@@ -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__3f161f57", L = "adaptive__0cdd7e81", 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, F = R(g.calendar, {
|
|
138
138
|
[g.adaptive]: !!this.props.adaptiveMode
|
|
139
139
|
}), b = f(this.props.pickedDate, t);
|
|
140
|
-
return /* @__PURE__ */ h("div", { className: F, "data-tx": "0.
|
|
140
|
+
return /* @__PURE__ */ h("div", { className: F, "data-tx": "0.28.0", children: /* @__PURE__ */ S(
|
|
141
141
|
w.Provider,
|
|
142
142
|
{
|
|
143
143
|
value: {
|
|
@@ -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 E, EButtonTheme as L } from "../../Button/enums.js";
|
|
8
8
|
import { ECalendarViewMode as e } from "../enums.js";
|
|
9
|
-
import { globalLimitRange as
|
|
9
|
+
import { globalLimitRange as O } from "../../../consts/DateConst.js";
|
|
10
10
|
import { EComponentSize as V } from "../../../enums/EComponentSize.js";
|
|
11
|
-
const U = "
|
|
11
|
+
const U = "calendarControls__c7dde4ac", j = {
|
|
12
12
|
calendarControls: U
|
|
13
13
|
}, X = ({
|
|
14
14
|
children: m,
|
|
@@ -16,12 +16,12 @@ const U = "calendarControls__ffb33472", 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), b = () => {
|
|
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: E.CIRCLE,
|
|
25
25
|
disabled: t || N(),
|
|
26
26
|
onClick: R(o),
|
|
27
27
|
...r,
|
|
@@ -33,7 +33,7 @@ const U = "calendarControls__ffb33472", j = {
|
|
|
33
33
|
return /* @__PURE__ */ s(
|
|
34
34
|
A,
|
|
35
35
|
{
|
|
36
|
-
shape:
|
|
36
|
+
shape: E.CIRCLE,
|
|
37
37
|
disabled: t || Y(),
|
|
38
38
|
onClick: x(o),
|
|
39
39
|
...r,
|
|
@@ -56,16 +56,16 @@ const U = "calendarControls__ffb33472", 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 || O.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 || O.dateTo, "day");
|
|
63
63
|
}, R = (t) => (o) => {
|
|
64
|
-
const r = C(),
|
|
65
|
-
h(
|
|
64
|
+
const r = C(), l = y(), f = a.clone().subtract(l, r);
|
|
65
|
+
h(f, n), t == null || t(o);
|
|
66
66
|
}, x = (t) => (o) => {
|
|
67
|
-
const r = C(),
|
|
68
|
-
h(
|
|
67
|
+
const r = C(), l = y(), f = a.clone().add(l, r);
|
|
68
|
+
h(f, 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__ffb33472", j = {
|
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
88
|
return /* @__PURE__ */ T("div", { className: j.calendarControls, children: [
|
|
89
|
-
|
|
89
|
+
b(),
|
|
90
90
|
n === e.YEARS ? /* @__PURE__ */ s("span", { id: S, tabIndex: -1, "aria-live": "polite", children: m }) : I(),
|
|
91
91
|
g()
|
|
92
92
|
] });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
const a = "
|
|
2
|
+
const a = "calendarFooter__c3e8915e", r = {
|
|
3
3
|
calendarFooter: a
|
|
4
4
|
}, t = ({ children: e }) => /* @__PURE__ */ o("div", { className: r.calendarFooter, children: e });
|
|
5
5
|
t.displayName = "CalendarFooter";
|