@sberbusiness/triplex-next 1.15.0 → 1.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/AlertProcessSpoiler-t7fDdqO9.js +39 -0
- package/chunks/{CalendarViewItem-B0gKGk70.js → CalendarViewItem-C2DNB4Jw.js} +26 -26
- package/chunks/Card.module-CoTlxJ6e.js +17 -0
- package/chunks/CheckboxTreeExtended.module-bZi9dSDw.js +14 -0
- package/chunks/{Chip-L-EcpRzH.js → Chip-Cf-GM0CV.js} +14 -14
- package/chunks/Confirm.module-BI8PM4Hz.js +15 -0
- package/chunks/{DropdownListItem-khM2CJWN.js → DropdownListItem-Cy40lpF7.js} +3 -3
- package/chunks/DropdownMobile.module-CiteH_xj.js +23 -0
- package/chunks/Footer.module-DnotaF0A.js +9 -0
- package/chunks/FormFieldInput-AMteABRz.js +60 -0
- package/chunks/HeaderLayoutSidebar.module-Bd_GF8rz.js +9 -0
- package/chunks/HeaderTabs.module-Cfl_jvQ5.js +9 -0
- package/chunks/{HeaderTitle.module-Dmmc04q6.js → HeaderTitle.module-CWH4Qtxu.js} +2 -2
- package/chunks/IslandAccordion.module-C-ODuVTy.js +25 -0
- package/chunks/IslandWidgetFooter.module-BKWOZe3U.js +9 -0
- package/chunks/IslandWidgetHeader.module-iR-r9VBx.js +12 -0
- package/chunks/{LightBoxContent-CjX1eN8g.js → LightBoxContent-OGbq-MPG.js} +14 -14
- package/chunks/LightBoxControls.module-yMjZxWFf.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-DIr7bB-Q.js +8 -0
- package/chunks/{ListItemControlsButton-OLK_OaQU.js → ListItemControlsButton-D5VCVobZ.js} +13 -13
- package/chunks/ListItemTail.module-psSZKLRd.js +12 -0
- package/chunks/ListMasterFooter.module-B-sVcLFb.js +10 -0
- package/chunks/ModalWindow.module-kWUQDYW7.js +17 -0
- package/chunks/Notification.module-CglusCHB.js +21 -0
- package/chunks/Overlay.module-DrUdkKMZ.js +18 -0
- package/chunks/Page.module-BqOHwRFw.js +11 -0
- package/chunks/{RightBorderArrow-DbiOM5xn.js → RightBorderArrow-Cg9t6wps.js} +13 -13
- package/chunks/SMSField.module-Bu6Qam45.js +16 -0
- package/chunks/SliderExtendedMarks.module-BtIySKC1.js +15 -0
- package/chunks/{SliderExtendedRail-CVnVXjG6.js → SliderExtendedRail-C3YHkDdA.js} +9 -9
- package/chunks/StatusTracker.module-C6hh8Ogq.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-DWutbDoW.js → SuggestFieldMobileDropdownHint-DFpzFnw4.js} +2 -2
- package/chunks/TableFooter.module-CD1rdwIS.js +14 -0
- package/chunks/TabsExtended.module-dt080T3c.js +16 -0
- package/chunks/TabsLine.module-BxpgcF_Y.js +21 -0
- package/chunks/TooltipDesktop.module-Dg73ZVxN.js +19 -0
- package/chunks/TreeView.module-IDSIrNif.js +9 -0
- package/chunks/{UploadZoneInput-BceBvb-b.js → UploadZoneInput-y4jP_J3Z.js} +8 -8
- package/chunks/{constants-BUeoiUro.js → constants-BVwJOKSH.js} +10 -10
- package/chunks/utils-C2wI3ypW.js +27 -0
- package/chunks/{utils-NV5e2Mzn.js → utils-CnUVPndw.js} +4 -4
- package/chunks/utils-DTJIF2M7.js +24 -0
- package/chunks/utils-DfZbK225.js +73 -0
- package/chunks/{vendor-DucOfXwy.js → vendor-Dlne6Znf.js} +5 -5
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +4 -4
- package/components/Alert/AlertContext/AlertContext.js +14 -14
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +8 -8
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +6 -6
- package/components/Badge/Badge.js +26 -13
- package/components/Badge/BadgeDot.js +15 -0
- package/components/Badge/components/BadgeContent.js +35 -0
- package/components/Badge/components/BadgePostfix.js +14 -0
- package/components/Badge/components/BadgePrefix.js +10 -0
- package/components/Body/Body.js +3 -3
- package/components/Button/Button.js +27 -27
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +13 -13
- package/components/Button/ButtonDropdownExtended.js +9 -9
- package/components/Button/ButtonIcon.js +5 -5
- package/components/Calendar/Calendar.js +6 -6
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +14 -14
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +2 -2
- package/components/Checkbox/Checkbox.js +9 -9
- package/components/Checkbox/CheckboxXGroup.js +13 -13
- package/components/Checkbox/CheckboxYGroup.js +9 -9
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +7 -7
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +5 -5
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +8 -8
- package/components/Chip/ChipSelect/ChipSelect.js +2 -2
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +51 -42
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +21 -21
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +13 -13
- package/components/Col/Col.js +146 -146
- package/components/CollapsableTree/components/CollapsableTreeNode.js +6 -6
- package/components/Confirm/Confirm.js +2 -2
- package/components/Confirm/components/ConfirmCloseButton.js +2 -2
- package/components/Confirm/components/ConfirmContent.js +2 -2
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/DateField/DateField.js +1 -1
- package/components/DateField/DateFieldTarget.js +31 -30
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +5 -5
- package/components/DateRange/DateRange.js +7 -7
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/Divider/Divider.js +24 -24
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +9 -9
- package/components/Dropdown/desktop/DropdownDesktop.js +3 -3
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +10 -10
- package/components/ExpandAnimation/ExpandAnimation.js +13 -13
- package/components/ExpandAnimation/index.js +5 -0
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +2 -2
- package/components/Footer/components/FooterDescriptionContent.js +2 -2
- package/components/Footer/components/FooterDescriptionControls.js +2 -2
- package/components/FormField/FormField.js +22 -22
- package/components/FormField/components/FormFieldClear.js +7 -7
- package/components/FormField/components/FormFieldCounter.js +1 -1
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +8 -8
- package/components/FormField/components/FormFieldMaskedInput.js +20 -20
- package/components/FormField/components/FormFieldPostfix.js +9 -9
- package/components/FormField/components/FormFieldPrefix.js +7 -7
- package/components/FormField/components/FormFieldTarget.js +5 -5
- package/components/FormField/components/FormFieldTextarea.js +12 -12
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +5 -5
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +35 -34
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +2 -2
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +4 -4
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +8 -8
- package/components/IslandWidget/IslandWidget.js +6 -6
- package/components/IslandWidget/components/IslandWidgetBody.js +4 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +11 -11
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +5 -5
- package/components/LightBox/LightBox.js +23 -24
- package/components/LightBox/LightBoxContent.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxClose.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxControls.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxNext.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +70 -72
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSideOverlay/index.js +0 -2
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +7 -7
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +2 -2
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/LightBox/index.js +0 -2
- package/components/Link/Link.js +18 -18
- package/components/List/List.js +7 -7
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +4 -4
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +11 -11
- package/components/List/components/ListItemControls.js +2 -2
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +9 -9
- package/components/List/components/ListItemLoading.js +3 -3
- package/components/List/components/ListItemSelectable.js +5 -5
- package/components/List/components/ListItemTable.js +2 -2
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +9 -9
- package/components/List/components/ListSortableItemControls.js +2 -2
- 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 +5 -5
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +8 -8
- package/components/ListMaster/components/SelectionControls.js +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +6 -6
- package/components/Loader/LoaderSmall/LoaderSmall.js +11 -11
- package/components/LoaderScreen/LoaderScreen.js +13 -13
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +9 -9
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +5 -5
- package/components/ModalWindow/components/ModalWindowClose.js +4 -4
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +6 -6
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +4 -4
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +6 -6
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyContent.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NotificationIcon/NotificationIcon.js +2 -2
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +3 -3
- package/components/OrderedList/OrderedListItem.js +11 -11
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +2 -2
- package/components/Page/components/BodyPage.js +8 -8
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +2 -2
- package/components/Pagination/components/PaginationPageEllipsis.js +6 -6
- package/components/Pagination/components/PaginationSelect.js +10 -10
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +8 -8
- package/components/Radio/RadioXGroup.js +11 -11
- package/components/Radio/RadioYGroup.js +5 -5
- package/components/Row/Row.js +7 -7
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +3 -3
- package/components/SMSField/components/SMSFieldRefresh.js +2 -2
- package/components/SMSField/components/SMSFieldSubmit.js +2 -2
- package/components/SMSField/components/SMSFieldTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +11 -11
- package/components/SegmentedControl/SegmentedControlSegment.js +17 -17
- package/components/SelectExtendedField/SelectExtendedField.js +2 -2
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +15 -15
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +16 -16
- package/components/SelectField/SelectField.js +11 -11
- package/components/Skeleton/Skeleton.js +3 -3
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +19 -19
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +2 -2
- package/components/SliderExtended/components/SliderExtendedRail.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +5 -5
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +23 -23
- package/components/SmallInput/SmallInput.js +2 -2
- package/components/Spoiler/Spoiler.js +17 -17
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +2 -2
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +2 -2
- package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
- package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
- package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
- package/components/StatusTracker/components/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/Step/Step.js +14 -14
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +2 -2
- package/components/Stepper/StepperExtended.js +6 -6
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +3 -3
- package/components/Suggest/SuggestMobileDropdownContent.js +6 -6
- package/components/Suggest/useSuggest.js +3 -3
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +8 -8
- 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 +21 -21
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +19 -19
- package/components/Table/NoColumns.js +5 -5
- package/components/Table/PaginationPanel.js +5 -5
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +7 -7
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +6 -6
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +2 -2
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +3 -3
- package/components/Table/TabsLinePanelLinks.js +2 -2
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +21 -21
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +3 -3
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +8 -8
- package/components/Tag/Tag.js +12 -12
- package/components/TagColor/TagColor.js +9 -9
- package/components/TagGroup/TagGroup.js +7 -7
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +8 -8
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +4 -4
- package/components/TopOverlay/TopOverlay.js +16 -16
- package/components/TreeView/TreeView.js +2 -2
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +2 -2
- package/components/Typography/Caption.js +31 -31
- package/components/Typography/Text.js +14 -14
- package/components/Typography/Title.js +12 -12
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +9 -9
- package/components/UnorderedList/UnorderedListItem.js +11 -11
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +162 -162
- package/index.d.ts +40 -13
- package/index.js +161 -161
- package/package.json +5 -1
- package/styles/triplex-next.css +546 -546
- package/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-BHAU8N38.js +0 -39
- package/chunks/Card.module-eeYi3ItS.js +0 -17
- package/chunks/CheckboxTreeExtended.module-CIXQDBeU.js +0 -14
- package/chunks/Confirm.module-BgO9xuES.js +0 -15
- package/chunks/DropdownMobile.module-Bya5zssZ.js +0 -23
- package/chunks/Footer.module-Bxx6jElq.js +0 -9
- package/chunks/FormFieldInput-D2EXurFF.js +0 -60
- package/chunks/HeaderLayoutSidebar.module-C5m0I2xF.js +0 -9
- package/chunks/HeaderTabs.module-C3-8xyq-.js +0 -9
- package/chunks/IslandAccordion.module-Cqv_yxiK.js +0 -25
- package/chunks/IslandWidgetFooter.module-PaNLvdB0.js +0 -9
- package/chunks/IslandWidgetHeader.module-D_ZngNjX.js +0 -12
- package/chunks/LightBoxControls.module-D7BQsPK3.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-DiEMyDDt.js +0 -8
- package/chunks/ListItemTail.module-DxIG-P_H.js +0 -12
- package/chunks/ListMasterFooter.module-DPZnWvfb.js +0 -10
- package/chunks/ModalWindow.module-D4shxCeu.js +0 -17
- package/chunks/Notification.module-B29_MBTz.js +0 -21
- package/chunks/Overlay.module-BJJ7PDLJ.js +0 -18
- package/chunks/Page.module-CzfG8baM.js +0 -11
- package/chunks/SMSField.module-BDZwT1N-.js +0 -16
- package/chunks/SliderExtendedMarks.module-Bhhqk5er.js +0 -15
- package/chunks/StatusTracker.module-CWpv3e3x.js +0 -24
- package/chunks/TableFooter.module-NX6NNBfH.js +0 -14
- package/chunks/TabsExtended.module-Bga_JXqh.js +0 -16
- package/chunks/TabsLine.module-BMBZODMz.js +0 -21
- package/chunks/TooltipDesktop.module-tqRh40wY.js +0 -19
- package/chunks/TreeView.module-Bkn2k1RS.js +0 -9
- package/chunks/utils-DKorGAMQ.js +0 -73
- package/chunks/utils-Sxh3Du0J.js +0 -24
- package/chunks/utils-tf6Rfsu7.js +0 -27
- package/components/LightBox/LightBoxSideOverlay/enums.js +0 -5
|
@@ -5,12 +5,12 @@ import { alertTypeToClassNameMap as m } from "../AlertTypeUtils.js";
|
|
|
5
5
|
import { Text as y } from "../../Typography/Text.js";
|
|
6
6
|
import { EFontType as r, ETextSize as f } from "../../Typography/enums.js";
|
|
7
7
|
import { SystemStrokeStsIcon16 as I, ErrorStrokeStsIcon16 as S, WarningStrokeStsIcon16 as i, InfoStrokeStsIcon16 as R } from "@sberbusiness/icons-next";
|
|
8
|
-
import { c as
|
|
9
|
-
const
|
|
10
|
-
alertContext:
|
|
11
|
-
alertContextText:
|
|
12
|
-
alertTypeError:
|
|
13
|
-
alertTypeInfo:
|
|
8
|
+
import { c as d } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
9
|
+
const N = "alertContext__b50cb57c", _ = "alertContextText__0ce9a525", E = "alertTypeError__eced6c2f", C = "alertTypeInfo__ad132559", u = "alertTypeWarning__fd60e52c", A = "alertTypeSystem__5c4d5fbf", n = {
|
|
10
|
+
alertContext: N,
|
|
11
|
+
alertContextText: _,
|
|
12
|
+
alertTypeError: E,
|
|
13
|
+
alertTypeInfo: C,
|
|
14
14
|
alertTypeWarning: u,
|
|
15
15
|
alertTypeSystem: A
|
|
16
16
|
}, O = (o) => {
|
|
@@ -29,15 +29,15 @@ const _ = "alertContext__551beb21", E = "alertContextText__95077cda", C = "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: a, renderIcon: s, ...
|
|
32
|
+
}, F = x.forwardRef(
|
|
33
|
+
({ children: o, className: l, type: a, renderIcon: s, ...c }, p) => /* @__PURE__ */ T(
|
|
34
34
|
"span",
|
|
35
35
|
{
|
|
36
36
|
role: "alert",
|
|
37
|
-
className:
|
|
38
|
-
...
|
|
39
|
-
"data-tx": "1.
|
|
40
|
-
ref:
|
|
37
|
+
className: d(n.alertContext, m[a](n), l),
|
|
38
|
+
...c,
|
|
39
|
+
"data-tx": "1.17.0",
|
|
40
|
+
ref: p,
|
|
41
41
|
children: [
|
|
42
42
|
s || O(a),
|
|
43
43
|
/* @__PURE__ */ t(y, { size: f.B4, type: W[a], className: n.alertContextText, children: o })
|
|
@@ -45,8 +45,8 @@ const _ = "alertContext__551beb21", E = "alertContextText__95077cda", C = "alert
|
|
|
45
45
|
}
|
|
46
46
|
)
|
|
47
47
|
);
|
|
48
|
-
|
|
48
|
+
F.displayName = "AlertContext";
|
|
49
49
|
export {
|
|
50
|
-
|
|
50
|
+
F as AlertContext
|
|
51
51
|
};
|
|
52
52
|
//# sourceMappingURL=AlertContext.js.map
|
|
@@ -3,10 +3,10 @@ import P, { useState as n } from "react";
|
|
|
3
3
|
import { EAlertType as t } from "../EAlertType.js";
|
|
4
4
|
import { alertTypeToClassNameMap as k } from "../AlertTypeUtils.js";
|
|
5
5
|
import { ButtonIcon as v } from "../../Button/ButtonIcon.js";
|
|
6
|
-
import { s as r, A as i } from "../../../chunks/AlertProcessSpoiler-
|
|
6
|
+
import { s as r, A as i } from "../../../chunks/AlertProcessSpoiler-t7fDdqO9.js";
|
|
7
7
|
import { AlertProcessContext as R } from "./AlertProcessContext.js";
|
|
8
8
|
import { CrossStrokeSrvIcon16 as E, DefaulticonStrokePrdIcon20 as T, SystemStrokeStsIcon20 as y, ErrorStrokeStsIcon20 as j, WarningStrokeStsIcon20 as w, InfoStrokeStsIcon20 as B } from "@sberbusiness/icons-next";
|
|
9
|
-
import { c as C } from "../../../chunks/vendor-
|
|
9
|
+
import { c as C } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
10
10
|
const O = (o) => {
|
|
11
11
|
switch (o) {
|
|
12
12
|
case t.INFO:
|
|
@@ -38,7 +38,7 @@ const O = (o) => {
|
|
|
38
38
|
d
|
|
39
39
|
),
|
|
40
40
|
...f,
|
|
41
|
-
"data-tx": "1.
|
|
41
|
+
"data-tx": "1.17.0",
|
|
42
42
|
ref: u,
|
|
43
43
|
children: [
|
|
44
44
|
/* @__PURE__ */ e("div", { className: r.themeIcon, children: l || O(a) }),
|
|
@@ -3,8 +3,8 @@ import "react";
|
|
|
3
3
|
import "@sberbusiness/icons-next";
|
|
4
4
|
import "../../../Button/ButtonIcon.js";
|
|
5
5
|
import "../AlertProcessContext.js";
|
|
6
|
-
import { A as l } from "../../../../chunks/AlertProcessSpoiler-
|
|
7
|
-
import "../../../../chunks/vendor-
|
|
6
|
+
import { A as l } from "../../../../chunks/AlertProcessSpoiler-t7fDdqO9.js";
|
|
7
|
+
import "../../../../chunks/vendor-Dlne6Znf.js";
|
|
8
8
|
export {
|
|
9
9
|
l as AlertProcessSpoiler
|
|
10
10
|
};
|
|
@@ -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
|
-
import { c as f } from "../../chunks/vendor-
|
|
4
|
-
const N = "
|
|
3
|
+
import { c as f } from "../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
+
const N = "adaptive__9293b93e", _ = {
|
|
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: a,
|
|
11
11
|
currencyTitle: m,
|
|
12
12
|
adaptive: c,
|
|
13
|
-
dataTestId:
|
|
13
|
+
dataTestId: e,
|
|
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": e && `${e}__currencyName`, title: m, children: a }, "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": "1.
|
|
28
|
-
/* @__PURE__ */ n("span", { "data-test-id":
|
|
29
|
-
|
|
27
|
+
return /* @__PURE__ */ d("span", { className: l, ...i, "data-tx": "1.17.0", children: [
|
|
28
|
+
/* @__PURE__ */ n("span", { "data-test-id": e && `${e}__amount`, children: t }),
|
|
29
|
+
a && p()
|
|
30
30
|
] });
|
|
31
31
|
};
|
|
32
32
|
v.displayName = "Amount";
|
|
@@ -7,7 +7,7 @@ import "../FormField/components/FormFieldCounter.js";
|
|
|
7
7
|
import "../FormField/components/FormFieldLabel.js";
|
|
8
8
|
import { FormFieldClear as _ } from "../FormField/components/FormFieldClear.js";
|
|
9
9
|
import "../FormField/components/FormFieldTarget.js";
|
|
10
|
-
import { F as k } from "../../chunks/FormFieldInput-
|
|
10
|
+
import { F as k } from "../../chunks/FormFieldInput-AMteABRz.js";
|
|
11
11
|
import "../FormField/components/FormFieldMaskedInput.js";
|
|
12
12
|
import "../FormField/components/FormFieldPostfix.js";
|
|
13
13
|
import "../FormField/components/FormFieldPrefix.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EAvatarSize as a } from "./enums.js";
|
|
2
2
|
import { jsx as l } from "react/jsx-runtime";
|
|
3
3
|
import r from "react";
|
|
4
|
-
import { c as _ } from "../../chunks/vendor-
|
|
5
|
-
const c = "
|
|
4
|
+
import { c as _ } from "../../chunks/vendor-Dlne6Znf.js";
|
|
5
|
+
const c = "avatar__70a5996b", e = "xxs__006f5336", d = "xs__8b014f23", f = "sm__6bd0351e", n = "md__dfd6736b", i = "lg__2a88852f", v = "xl__2745b93e", p = "xxl__179a6856", s = {
|
|
6
6
|
avatar: c,
|
|
7
7
|
xxs: e,
|
|
8
8
|
xs: d,
|
|
@@ -11,7 +11,7 @@ const c = "avatar__8b31d4d1", e = "xxs__1970d50b", d = "xs__4357c90a", f = "sm__
|
|
|
11
11
|
lg: i,
|
|
12
12
|
xl: v,
|
|
13
13
|
xxl: p
|
|
14
|
-
},
|
|
14
|
+
}, X = {
|
|
15
15
|
[a.XXS]: s.xxs,
|
|
16
16
|
[a.XS]: s.xs,
|
|
17
17
|
[a.SM]: s.sm,
|
|
@@ -19,9 +19,9 @@ const c = "avatar__8b31d4d1", e = "xxs__1970d50b", d = "xs__4357c90a", f = "sm__
|
|
|
19
19
|
[a.LG]: s.lg,
|
|
20
20
|
[a.XL]: s.xl,
|
|
21
21
|
[a.XXL]: s.xxl
|
|
22
|
-
},
|
|
23
|
-
|
|
22
|
+
}, b = r.forwardRef(({ className: x, size: t, ...o }, m) => /* @__PURE__ */ l("div", { className: _(s.avatar, X[t], x), ...o, ref: m }));
|
|
23
|
+
b.displayName = "Avatar";
|
|
24
24
|
export {
|
|
25
|
-
|
|
25
|
+
b as Avatar
|
|
26
26
|
};
|
|
27
27
|
//# sourceMappingURL=Avatar.js.map
|
|
@@ -1,17 +1,30 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { c } from "../../chunks/vendor-
|
|
4
|
-
import { createSizeToClassNameMap as
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import g from "react";
|
|
3
|
+
import { c } from "../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
+
import { createSizeToClassNameMap as _ } from "../../utils/classNameMaps.js";
|
|
5
|
+
import { BadgeDot as i } from "./BadgeDot.js";
|
|
6
|
+
import { BadgeContent as f } from "./components/BadgeContent.js";
|
|
7
|
+
import { BadgePrefix as b } from "./components/BadgePrefix.js";
|
|
8
|
+
import { BadgePostfix as p } from "./components/BadgePostfix.js";
|
|
9
|
+
const B = "badge__fb6318c9", P = "sm__2e24b0eb", u = "md__b045a261", N = "lg__52e1b943", s = {
|
|
10
|
+
badge: B,
|
|
11
|
+
sm: P,
|
|
12
|
+
md: u,
|
|
13
|
+
lg: N
|
|
14
|
+
}, S = _(s), h = Object.assign(
|
|
15
|
+
g.forwardRef(
|
|
16
|
+
({ children: t, className: d, size: m, prefix: o, postfix: a, ...n }, r) => /* @__PURE__ */ l("span", { className: c(s.badge, S[m], d), ...n, ref: r, children: [
|
|
17
|
+
o ? /* @__PURE__ */ e(b, { children: o }) : null,
|
|
18
|
+
t ? /* @__PURE__ */ e(f, { size: m, noPaddingLeft: !!o, noPaddingRight: !!a, children: t }) : null,
|
|
19
|
+
a ? /* @__PURE__ */ e(p, { children: a }) : null
|
|
20
|
+
] })
|
|
21
|
+
),
|
|
22
|
+
{
|
|
23
|
+
Dot: i
|
|
24
|
+
}
|
|
12
25
|
);
|
|
13
|
-
|
|
26
|
+
h.displayName = "Badge";
|
|
14
27
|
export {
|
|
15
|
-
|
|
28
|
+
h as Badge
|
|
16
29
|
};
|
|
17
30
|
//# sourceMappingURL=Badge.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import _ from "react";
|
|
3
|
+
import { c } from "../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
+
import { createSizeToClassNameMap as d } from "../../utils/classNameMaps.js";
|
|
5
|
+
const r = "badgeDot__572dc8f7", g = "sm__2e24b0eb", l = "md__b045a261", b = "lg__52e1b943", o = {
|
|
6
|
+
badgeDot: r,
|
|
7
|
+
sm: g,
|
|
8
|
+
md: l,
|
|
9
|
+
lg: b
|
|
10
|
+
}, f = d(o), n = _.forwardRef(({ className: t, size: s, ...a }, e) => /* @__PURE__ */ m("span", { className: c(o.badgeDot, f[s], t), ...a, ref: e }));
|
|
11
|
+
n.displayName = "BadgeDot";
|
|
12
|
+
export {
|
|
13
|
+
n as BadgeDot
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=BadgeDot.js.map
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { jsx as g } from "react/jsx-runtime";
|
|
2
|
+
import { c as i } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
3
|
+
import { createSizeToClassNameMap as _ } from "../../../utils/classNameMaps.js";
|
|
4
|
+
const m = "badgeContent__08dd1155", c = "sm__2e24b0eb", b = "md__b045a261", P = "lg__52e1b943", f = "noPaddingLeft__92ae7b92", l = "noPaddingRight__1580f932", n = {
|
|
5
|
+
badgeContent: m,
|
|
6
|
+
sm: c,
|
|
7
|
+
md: b,
|
|
8
|
+
lg: P,
|
|
9
|
+
noPaddingLeft: f,
|
|
10
|
+
noPaddingRight: l
|
|
11
|
+
}, r = _(n), C = ({
|
|
12
|
+
children: t,
|
|
13
|
+
size: o,
|
|
14
|
+
noPaddingLeft: d,
|
|
15
|
+
noPaddingRight: e,
|
|
16
|
+
className: a,
|
|
17
|
+
...s
|
|
18
|
+
}) => /* @__PURE__ */ g(
|
|
19
|
+
"span",
|
|
20
|
+
{
|
|
21
|
+
className: i(
|
|
22
|
+
n.badgeContent,
|
|
23
|
+
r[o],
|
|
24
|
+
{ [n.noPaddingLeft]: d, [n.noPaddingRight]: e },
|
|
25
|
+
a
|
|
26
|
+
),
|
|
27
|
+
...s,
|
|
28
|
+
children: t
|
|
29
|
+
}
|
|
30
|
+
);
|
|
31
|
+
C.displayName = "BadgeContent";
|
|
32
|
+
export {
|
|
33
|
+
C as BadgeContent
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=BadgeContent.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { c as e } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
3
|
+
const i = "badgePostfix__45d64ec4", x = {
|
|
4
|
+
badgePostfix: i
|
|
5
|
+
}, d = ({
|
|
6
|
+
children: s,
|
|
7
|
+
className: o,
|
|
8
|
+
...t
|
|
9
|
+
}) => /* @__PURE__ */ a("span", { className: e(x.badgePostfix, o), ...t, children: s });
|
|
10
|
+
d.displayName = "BadgePostfix";
|
|
11
|
+
export {
|
|
12
|
+
d as BadgePostfix
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=BadgePostfix.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { c as i } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
3
|
+
const x = "badgePrefix__e5065176", f = {
|
|
4
|
+
badgePrefix: x
|
|
5
|
+
}, o = ({ children: e, className: a, ...s }) => /* @__PURE__ */ r("span", { className: i(f.badgePrefix, a), ...s, children: e });
|
|
6
|
+
o.displayName = "BadgePrefix";
|
|
7
|
+
export {
|
|
8
|
+
o as BadgePrefix
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=BadgePrefix.js.map
|
package/components/Body/Body.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import n from "react";
|
|
3
|
-
import { c as t } from "../../chunks/vendor-
|
|
4
|
-
const y = "
|
|
3
|
+
import { c as t } from "../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
+
const y = "body__99307489", c = "bodyInner__ae697126", d = {
|
|
5
5
|
body: y,
|
|
6
6
|
bodyInner: c
|
|
7
|
-
}, m = n.forwardRef(({ children: e, className: r, ...s }, a) => /* @__PURE__ */ o("div", { className: t(d.body, r), ...s, "data-tx": "1.
|
|
7
|
+
}, m = n.forwardRef(({ children: e, className: r, ...s }, a) => /* @__PURE__ */ o("div", { className: t(d.body, r), ...s, "data-tx": "1.17.0", ref: a, children: /* @__PURE__ */ o("div", { className: d.bodyInner, children: e }) }));
|
|
8
8
|
m.displayName = "Body";
|
|
9
9
|
export {
|
|
10
10
|
m as Body
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { jsxs as m, jsx as
|
|
1
|
+
import { jsxs as m, jsx as y } from "react/jsx-runtime";
|
|
2
2
|
import k from "react";
|
|
3
|
-
import { c as
|
|
3
|
+
import { c as b } from "../../chunks/vendor-Dlne6Znf.js";
|
|
4
4
|
import { LoaderSmall as R } from "../Loader/LoaderSmall/LoaderSmall.js";
|
|
5
|
-
import { ELoaderSmallTheme as
|
|
5
|
+
import { ELoaderSmallTheme as p } from "../Loader/LoaderSmall/enum.js";
|
|
6
6
|
import "../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
7
7
|
import { ButtonBase as C } from "./ButtonBase.js";
|
|
8
8
|
import { EButtonTheme as o } from "./enums.js";
|
|
9
|
-
import { EComponentSize as
|
|
10
|
-
const A = "
|
|
9
|
+
import { EComponentSize as c } from "../../enums/EComponentSize.js";
|
|
10
|
+
const A = "general__b92a973e", B = "expanded__7400b4c7", g = {
|
|
11
11
|
general: A,
|
|
12
12
|
expanded: B
|
|
13
|
-
}, D = "
|
|
13
|
+
}, D = "secondary__6bce5978", T = "expanded__7400b4c7", u = {
|
|
14
14
|
secondary: D,
|
|
15
15
|
expanded: T
|
|
16
|
-
}, G = "
|
|
16
|
+
}, G = "secondaryLight__b854fecb", I = "expanded__7400b4c7", x = {
|
|
17
17
|
secondaryLight: G,
|
|
18
18
|
expanded: I
|
|
19
|
-
}, v = "
|
|
19
|
+
}, v = "danger__c9b674ef", O = "expanded__7400b4c7", h = {
|
|
20
20
|
danger: v,
|
|
21
21
|
expanded: O
|
|
22
|
-
}, Y = "
|
|
22
|
+
}, Y = "link__17cf38fb", $ = "expanded__7400b4c7", f = {
|
|
23
23
|
link: Y,
|
|
24
24
|
expanded: $
|
|
25
|
-
}, w = "
|
|
25
|
+
}, w = "button__9ba53f4c", z = "sm__dbe98fbc", M = "icon__85f6e1c8", j = "md__7828f46f", H = "lg__13da0134", K = "block__7a933673", U = "content__f991ab72", q = "loading__ebeb67d0", F = "loader__e10ade0a", J = "hidden__7b63916c", e = {
|
|
26
26
|
button: w,
|
|
27
27
|
sm: z,
|
|
28
28
|
icon: M,
|
|
@@ -36,11 +36,11 @@ const A = "general__ac9a2805", B = "expanded__c9f4f244", u = {
|
|
|
36
36
|
}, P = (t, n) => {
|
|
37
37
|
switch (t) {
|
|
38
38
|
case o.GENERAL:
|
|
39
|
-
return { [
|
|
39
|
+
return { [g.general]: !0, [g.expanded]: n };
|
|
40
40
|
case o.SECONDARY:
|
|
41
41
|
return {
|
|
42
|
-
[
|
|
43
|
-
[
|
|
42
|
+
[u.secondary]: !0,
|
|
43
|
+
[u.expanded]: n
|
|
44
44
|
};
|
|
45
45
|
case o.SECONDARY_LIGHT:
|
|
46
46
|
return {
|
|
@@ -54,44 +54,44 @@ const A = "general__ac9a2805", B = "expanded__c9f4f244", u = {
|
|
|
54
54
|
};
|
|
55
55
|
case o.LINK:
|
|
56
56
|
return {
|
|
57
|
-
[
|
|
58
|
-
[
|
|
57
|
+
[f.link]: !0,
|
|
58
|
+
[f.expanded]: n
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
}, Q = (t) => {
|
|
62
62
|
switch (t) {
|
|
63
|
-
case
|
|
63
|
+
case c.LG:
|
|
64
64
|
return e.lg;
|
|
65
|
-
case
|
|
65
|
+
case c.MD:
|
|
66
66
|
return e.md;
|
|
67
|
-
case
|
|
67
|
+
case c.SM:
|
|
68
68
|
return e.sm;
|
|
69
69
|
}
|
|
70
70
|
}, V = (t, n) => {
|
|
71
|
-
const
|
|
72
|
-
return /* @__PURE__ */
|
|
71
|
+
const s = [o.SECONDARY, o.SECONDARY_LIGHT].includes(t) ? p.BRAND : p.NEUTRAL;
|
|
72
|
+
return /* @__PURE__ */ y(R, { theme: s, size: n });
|
|
73
73
|
}, W = k.forwardRef((t, n) => {
|
|
74
|
-
const { children:
|
|
74
|
+
const { children: s, className: N, disabled: a, theme: r, size: l = c.MD, block: L, loading: d, icon: i, ...S } = t, { "aria-expanded": _ } = t, E = b(
|
|
75
75
|
e.button,
|
|
76
76
|
P(r, !!_),
|
|
77
77
|
Q(l),
|
|
78
|
-
{ [e.block]: !!L, [e.loading]: !!
|
|
79
|
-
{ [e.icon]: !!i && !
|
|
78
|
+
{ [e.block]: !!L, [e.loading]: !!d },
|
|
79
|
+
{ [e.icon]: !!i && !s },
|
|
80
80
|
// Классы для иконок, начало.
|
|
81
81
|
"hoverable",
|
|
82
82
|
{
|
|
83
83
|
active: !!_,
|
|
84
|
-
disabled: !!
|
|
84
|
+
disabled: !!a
|
|
85
85
|
},
|
|
86
86
|
// Классы для иконок, конец.
|
|
87
87
|
N
|
|
88
88
|
);
|
|
89
|
-
return /* @__PURE__ */ m(C, { className: E, tabIndex:
|
|
89
|
+
return /* @__PURE__ */ m(C, { className: E, tabIndex: d ? -1 : void 0, disabled: a, ...S, ref: n, children: [
|
|
90
90
|
/* @__PURE__ */ m("span", { className: e.content, children: [
|
|
91
91
|
i,
|
|
92
|
-
|
|
92
|
+
s
|
|
93
93
|
] }),
|
|
94
|
-
/* @__PURE__ */
|
|
94
|
+
/* @__PURE__ */ y("div", { className: b(e.loader, !d && e.hidden), children: V(r, l) })
|
|
95
95
|
] });
|
|
96
96
|
});
|
|
97
97
|
W.displayName = "Button";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import e from "react";
|
|
3
|
-
const r = e.forwardRef((t, o) => /* @__PURE__ */ a("button", { type: "button", ...t, "data-tx": "1.
|
|
3
|
+
const r = e.forwardRef((t, o) => /* @__PURE__ */ a("button", { type: "button", ...t, "data-tx": "1.17.0", ref: o }));
|
|
4
4
|
r.displayName = "ButtonBase";
|
|
5
5
|
export {
|
|
6
6
|
r as ButtonBase
|
|
@@ -3,7 +3,7 @@ import "./ButtonBase.js";
|
|
|
3
3
|
import "./ButtonIcon.js";
|
|
4
4
|
import { jsx as t, jsxs as B, Fragment as q } from "react/jsx-runtime";
|
|
5
5
|
import F, { useRef as I, useState as V, createElement as x } from "react";
|
|
6
|
-
import { c as
|
|
6
|
+
import { c as w, u as J } from "../../chunks/vendor-Dlne6Znf.js";
|
|
7
7
|
import { ButtonDropdownExtended as y } from "./ButtonDropdownExtended.js";
|
|
8
8
|
import { EButtonDotsTheme as u, EButtonTheme as d } from "./enums.js";
|
|
9
9
|
import { DotshorizontalStrokeSrvIcon32 as Q, DotshorizontalStrokeSrvIcon20 as L, CaretdownStrokeSrvIcon16 as X, CaretdownStrokeSrvIcon20 as Z, CaretdownStrokeSrvIcon24 as $ } from "@sberbusiness/icons-next";
|
|
@@ -18,7 +18,7 @@ import { Text as ao } from "../Typography/Text.js";
|
|
|
18
18
|
import { ETextSize as so } from "../Typography/enums.js";
|
|
19
19
|
import { DropdownList as Y } from "../Dropdown/desktop/DropdownList.js";
|
|
20
20
|
import { EComponentSize as f } from "../../enums/EComponentSize.js";
|
|
21
|
-
const lo = "
|
|
21
|
+
const lo = "buttonDropdown__569ec2b7", io = "block__7a933673", mo = "buttonDropdownTarget__ebfbf0f3", uo = "caretIcon__b6998e11", Do = "active__05fa0195", fo = "buttonDropdownMenuItem__4255fa86", n = {
|
|
22
22
|
buttonDropdown: lo,
|
|
23
23
|
block: io,
|
|
24
24
|
buttonDropdownTarget: mo,
|
|
@@ -29,10 +29,10 @@ const lo = "buttonDropdown__2606082c", io = "block__96df6649", mo = "buttonDropd
|
|
|
29
29
|
[f.SM]: /* @__PURE__ */ t(L, { paletteIndex: 0 }),
|
|
30
30
|
[f.MD]: /* @__PURE__ */ t(L, { paletteIndex: 0 }),
|
|
31
31
|
[f.LG]: /* @__PURE__ */ t(Q, { paletteIndex: 0 })
|
|
32
|
-
}, g = (p, c) => p === f.SM ? /* @__PURE__ */ t(X, { paletteIndex: c, className: n.caretIcon }) : p === f.MD ? /* @__PURE__ */ t(Z, { paletteIndex: c, className: n.caretIcon }) : /* @__PURE__ */ t($, { paletteIndex: c, className: n.caretIcon }),
|
|
32
|
+
}, g = (p, c) => p === f.SM ? /* @__PURE__ */ t(X, { paletteIndex: c, className: n.caretIcon }) : p === f.MD ? /* @__PURE__ */ t(Z, { paletteIndex: c, className: n.caretIcon }) : /* @__PURE__ */ t($, { paletteIndex: c, className: n.caretIcon }), bo = F.forwardRef(
|
|
33
33
|
(p, c) => {
|
|
34
|
-
const { buttonAttributes: R, children: h, className: z, theme:
|
|
35
|
-
const a =
|
|
34
|
+
const { buttonAttributes: R, children: h, className: z, theme: b, size: s, options: C, selected: i, block: S, disabled: T, ...G } = p, k = I(null), v = I(null), W = w(n.buttonDropdown, { [n.block]: !!S }, z), [N, H] = V(), _ = I(J()), P = ({ opened: o, setOpened: r }) => {
|
|
35
|
+
const a = w(n.buttonDropdownTarget, "hoverable", {
|
|
36
36
|
[n.active]: o,
|
|
37
37
|
[n.block]: !!S
|
|
38
38
|
});
|
|
@@ -40,7 +40,7 @@ const lo = "buttonDropdown__2606082c", io = "block__96df6649", mo = "buttonDropd
|
|
|
40
40
|
M,
|
|
41
41
|
{
|
|
42
42
|
className: a,
|
|
43
|
-
theme:
|
|
43
|
+
theme: b,
|
|
44
44
|
size: s,
|
|
45
45
|
onKeyDown: A({ opened: o, setOpened: r }),
|
|
46
46
|
onClick: E({ opened: o, setOpened: r }),
|
|
@@ -58,7 +58,7 @@ const lo = "buttonDropdown__2606082c", io = "block__96df6649", mo = "buttonDropd
|
|
|
58
58
|
}
|
|
59
59
|
);
|
|
60
60
|
}, K = ({ opened: o, setOpened: r }) => {
|
|
61
|
-
const a =
|
|
61
|
+
const a = w(n.buttonDropdownTarget, "hoverable", {
|
|
62
62
|
[n.active]: o,
|
|
63
63
|
[n.block]: !!S
|
|
64
64
|
});
|
|
@@ -66,7 +66,7 @@ const lo = "buttonDropdown__2606082c", io = "block__96df6649", mo = "buttonDropd
|
|
|
66
66
|
M,
|
|
67
67
|
{
|
|
68
68
|
className: a,
|
|
69
|
-
theme:
|
|
69
|
+
theme: b === u.DOTS_SECONDARY ? d.SECONDARY : d.SECONDARY_LIGHT,
|
|
70
70
|
size: s,
|
|
71
71
|
onKeyDown: A({ opened: o, setOpened: r }),
|
|
72
72
|
onClick: E({ opened: o, setOpened: r }),
|
|
@@ -84,7 +84,7 @@ const lo = "buttonDropdown__2606082c", io = "block__96df6649", mo = "buttonDropd
|
|
|
84
84
|
const { key: l } = a;
|
|
85
85
|
(D(l, "SPACE") || D(l, "ARROW_UP") || D(l, "ARROW_DOWN")) && a.preventDefault(), !o && (D(l, "ARROW_UP") || D(l, "ARROW_DOWN")) && r(!0);
|
|
86
86
|
}, j = () => {
|
|
87
|
-
switch (
|
|
87
|
+
switch (b) {
|
|
88
88
|
case d.GENERAL:
|
|
89
89
|
case d.DANGER:
|
|
90
90
|
case u.DOTS_SECONDARY:
|
|
@@ -97,7 +97,7 @@ const lo = "buttonDropdown__2606082c", io = "block__96df6649", mo = "buttonDropd
|
|
|
97
97
|
return null;
|
|
98
98
|
}
|
|
99
99
|
}, U = ({ opened: o, setOpened: r, className: a }) => {
|
|
100
|
-
const l =
|
|
100
|
+
const l = w(n.buttonDropdownMenu, a);
|
|
101
101
|
return /* @__PURE__ */ t(oo.Provider, { value: { activeDescendant: N, setActiveDescendant: H }, children: /* @__PURE__ */ t(
|
|
102
102
|
y.Dropdown,
|
|
103
103
|
{
|
|
@@ -155,7 +155,7 @@ const lo = "buttonDropdown__2606082c", io = "block__96df6649", mo = "buttonDropd
|
|
|
155
155
|
{
|
|
156
156
|
className: W,
|
|
157
157
|
renderButton: [u.DOTS_SECONDARY, u.DOTS_SECONDARY_LIGHT].includes(
|
|
158
|
-
|
|
158
|
+
b
|
|
159
159
|
) ? K : P,
|
|
160
160
|
renderDropdown: U,
|
|
161
161
|
dropdownRef: v,
|
|
@@ -165,8 +165,8 @@ const lo = "buttonDropdown__2606082c", io = "block__96df6649", mo = "buttonDropd
|
|
|
165
165
|
);
|
|
166
166
|
}
|
|
167
167
|
);
|
|
168
|
-
|
|
168
|
+
bo.displayName = "ButtonDropdown";
|
|
169
169
|
export {
|
|
170
|
-
|
|
170
|
+
bo as ButtonDropdown
|
|
171
171
|
};
|
|
172
172
|
//# sourceMappingURL=ButtonDropdown.js.map
|
|
@@ -3,12 +3,12 @@ import { useRef as f, useState as C, useCallback as N, useEffect as R } from "re
|
|
|
3
3
|
import { Dropdown as _ } from "../Dropdown/Dropdown.js";
|
|
4
4
|
import { isKey as w } from "../../utils/keyboard.js";
|
|
5
5
|
import { DropdownList as g } from "../Dropdown/desktop/DropdownList.js";
|
|
6
|
-
import { c as A } from "../../chunks/vendor-
|
|
7
|
-
const K = "
|
|
6
|
+
import { c as A } from "../../chunks/vendor-Dlne6Znf.js";
|
|
7
|
+
const K = "buttonDropdownExtended__e9055418", S = "buttonDropdownExtendedBlock__bb6e9c55", E = {
|
|
8
8
|
buttonDropdownExtended: K,
|
|
9
9
|
buttonDropdownExtendedBlock: S
|
|
10
10
|
}, D = (s) => {
|
|
11
|
-
const { className:
|
|
11
|
+
const { className: b, opened: v, setOpened: c, renderButton: x, 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 ? !!v : O, o = N(
|
|
12
12
|
(t) => {
|
|
13
13
|
if (m.current) {
|
|
14
14
|
c && c(t);
|
|
@@ -25,20 +25,20 @@ const K = "buttonDropdownExtended__e16a9e90", S = "buttonDropdownExtendedBlock__
|
|
|
25
25
|
const n = r.code || r.keyCode;
|
|
26
26
|
e && (w(n, "ESCAPE") || p && w(n, "TAB")) && o(!1);
|
|
27
27
|
}, d = (r) => {
|
|
28
|
-
const n = u.current,
|
|
28
|
+
const n = u.current, i = l.current;
|
|
29
29
|
if (e) {
|
|
30
|
-
const
|
|
31
|
-
|
|
30
|
+
const a = r.target;
|
|
31
|
+
a && !(n != null && n.contains(a)) && !(i != null && i.contains(a)) && o(!1);
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
return document.addEventListener("keydown", t), document.addEventListener("mousedown", d), document.addEventListener("touchstart", d), () => {
|
|
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, b);
|
|
39
39
|
return /* @__PURE__ */ h("div", { className: B, ref: u, ...L, children: [
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
x({ opened: e, setOpened: o }),
|
|
41
|
+
k({
|
|
42
42
|
className: E.buttonDropdownExtendedBlock,
|
|
43
43
|
opened: e,
|
|
44
44
|
setOpened: o
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import u from "react";
|
|
3
|
-
import { c as m } from "../../chunks/vendor-
|
|
3
|
+
import { c as m } from "../../chunks/vendor-Dlne6Znf.js";
|
|
4
4
|
import { EButtonIconShape as o } from "./enums.js";
|
|
5
|
-
const p = "
|
|
5
|
+
const p = "buttonIcon__515a111d", I = "circle__9b9a5404", b = "squircle__aa35cd6e", t = {
|
|
6
6
|
buttonIcon: p,
|
|
7
7
|
circle: I,
|
|
8
|
-
squircle:
|
|
9
|
-
},
|
|
8
|
+
squircle: b
|
|
9
|
+
}, _ = {
|
|
10
10
|
[o.SQUIRCLE]: t.squircle,
|
|
11
11
|
[o.CIRCLE]: t.circle
|
|
12
12
|
}, f = u.forwardRef(
|
|
13
13
|
({ className: e, disabled: c, shape: n = o.SQUIRCLE, active: s, ...r }, a) => {
|
|
14
|
-
const l = m(t.buttonIcon,
|
|
14
|
+
const l = m(t.buttonIcon, _[n], "hoverable", e, {
|
|
15
15
|
active: !!s,
|
|
16
16
|
disabled: !!c
|
|
17
17
|
});
|
|
@@ -2,7 +2,7 @@ var M = Object.defineProperty;
|
|
|
2
2
|
var H = (m, d, t) => d in m ? M(m, d, { enumerable: !0, configurable: !0, writable: !0, value: t }) : m[d] = t;
|
|
3
3
|
var p = (m, d, t) => H(m, typeof d != "symbol" ? d + "" : d, t);
|
|
4
4
|
import { jsx as h, jsxs as S } from "react/jsx-runtime";
|
|
5
|
-
import {
|
|
5
|
+
import { u as I, c as R } from "../../chunks/vendor-Dlne6Znf.js";
|
|
6
6
|
import V from "react";
|
|
7
7
|
import D from "moment";
|
|
8
8
|
import { globalLimitRange as _, dateFormatYYYYMMDD as O } from "../../consts/DateConst.js";
|
|
@@ -13,7 +13,7 @@ import { CalendarView as N } 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__54fdddc2", L = "adaptive__0e4adb81", g = {
|
|
17
17
|
calendar: q,
|
|
18
18
|
adaptive: L
|
|
19
19
|
};
|
|
@@ -134,10 +134,10 @@ class k extends V.PureComponent {
|
|
|
134
134
|
nextButtonProps: u,
|
|
135
135
|
viewButtonProps: C,
|
|
136
136
|
todayButtonProps: T
|
|
137
|
-
} = this.props, { viewMode: A, viewDate: B, header: Y } = this.state,
|
|
137
|
+
} = this.props, { viewMode: A, viewDate: B, header: Y } = this.state, 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": "1.17.0", children: /* @__PURE__ */ S(
|
|
141
141
|
w.Provider,
|
|
142
142
|
{
|
|
143
143
|
value: {
|
|
@@ -166,7 +166,7 @@ class k extends V.PureComponent {
|
|
|
166
166
|
/* @__PURE__ */ h(
|
|
167
167
|
N,
|
|
168
168
|
{
|
|
169
|
-
pickedDate:
|
|
169
|
+
pickedDate: F,
|
|
170
170
|
dayHtmlAttributes: e,
|
|
171
171
|
monthHtmlAttributes: i,
|
|
172
172
|
yearHtmlAttributes: s
|