@sberbusiness/triplex-next 0.25.0 → 0.27.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-DF_eSZ-p.js → AlertProcessSpoiler-CyQjNK-A.js} +10 -10
- package/chunks/{CalendarViewItem-CQErGrhc.js → CalendarViewItem-DRBt_s0Q.js} +19 -19
- package/chunks/Card.module-D8T8SSWF.js +17 -0
- package/chunks/CheckboxTreeExtended.module-BQD7DKNP.js +15 -0
- package/chunks/Chip-BWrXp8b3.js +77 -0
- package/chunks/Confirm.module-D5UicEEs.js +15 -0
- package/chunks/{DropdownListItem-wT8cLRdZ.js → DropdownListItem-BflrX8i-.js} +18 -18
- package/chunks/DropdownMobile.module-3D5LlZCS.js +23 -0
- package/chunks/Footer.module-BfB70vm7.js +9 -0
- package/chunks/FormFieldInput-q8qt9K5c.js +79 -0
- package/chunks/HeaderLayoutSidebar.module-DP3SxiTp.js +9 -0
- package/chunks/HeaderTabs.module-Cx-Ctxui.js +9 -0
- package/chunks/{HeaderTitle.module-SmVWml2y.js → HeaderTitle.module-Y10Bm5lm.js} +2 -2
- package/chunks/IslandAccordion.module-CVxFZsLG.js +25 -0
- package/chunks/IslandWidgetFooter.module-VlqE7l7C.js +9 -0
- package/chunks/IslandWidgetHeader.module-DwIaQr1_.js +12 -0
- package/chunks/{LightBoxContent-DlDaCKV4.js → LightBoxContent-DHs-Qjcp.js} +12 -12
- package/chunks/LightBoxControls.module-D1KjqwKb.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-DPT31Rzn.js +9 -0
- package/chunks/{ListItemControlsButton-UKjqQcv7.js → ListItemControlsButton-pIOQbY1R.js} +15 -15
- package/chunks/ListItemTail.module-Cu4UoxMF.js +12 -0
- package/chunks/ListMasterFooter.module-wznlsgml.js +10 -0
- package/chunks/ModalWindow.module-BrOAz5Ut.js +17 -0
- package/chunks/Notification.module-CyBTQm0m.js +20 -0
- package/chunks/Overlay.module-hR6GT0XD.js +18 -0
- package/chunks/Page.module-DydaWXa2.js +11 -0
- package/chunks/SMSField.module-DoBN7Aba.js +16 -0
- package/chunks/SliderExtendedMarks.module-DZXE3Uju.js +15 -0
- package/chunks/{SliderExtendedRail-jfLPbgEp.js → SliderExtendedRail-ylfekLwv.js} +11 -11
- package/chunks/StatusTracker.module-D8_bnGs2.js +24 -0
- package/chunks/StepperStepArrowBorder-DJAqKqGz.js +101 -0
- package/chunks/{SuggestFieldMobileDropdownHint-CCyHjS-V.js → SuggestFieldMobileDropdownHint-DC3vUbne.js} +2 -2
- package/chunks/TableFooter.module-BG7ShSJ1.js +14 -0
- package/chunks/TabsExtended.module-D60HGy0o.js +16 -0
- package/chunks/TabsLine.module-BfBp0UOt.js +21 -0
- package/chunks/TooltipDesktop.module-BrcbbP-s.js +19 -0
- package/chunks/TreeView.module-lKZg_HMx.js +9 -0
- package/chunks/{UploadZoneInput-DYiPRAAI.js → UploadZoneInput-xOoub0aL.js} +7 -7
- package/chunks/{constants-Ctks52i0.js → constants-CoLWcWYQ.js} +12 -12
- package/chunks/utils-BXp6zjzV.js +28 -0
- package/chunks/utils-CfCPvNY4.js +73 -0
- package/chunks/{utils-C6a9XDaC.js → utils-D_H8vO74.js} +4 -4
- package/chunks/utils-PKY322-t.js +24 -0
- package/components/Alert/AlertContext/AlertContext.js +21 -21
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +7 -7
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +4 -4
- package/components/Badge/Badge.js +14 -14
- package/components/Badge/BadgeDot.js +6 -6
- package/components/Badge/components/BadgeContent.js +14 -14
- package/components/Badge/components/BadgePostfix.js +4 -4
- package/components/Badge/components/BadgePrefix.js +4 -4
- package/components/Body/Body.js +6 -6
- package/components/Button/Button.js +18 -18
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +15 -15
- package/components/Button/ButtonDropdownExtended.js +4 -4
- package/components/Button/ButtonIcon.js +8 -8
- package/components/Calendar/Calendar.js +2 -2
- package/components/Calendar/components/CalendarControls.js +13 -13
- package/components/Calendar/components/CalendarFooter.js +4 -4
- 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 +8 -8
- 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 +10 -10
- package/components/Checkbox/CheckboxYGroup.js +5 -5
- 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 +1 -1
- 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 +8 -8
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +21 -21
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +23 -22
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +73 -63
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +8 -8
- package/components/Col/Col.js +136 -136
- package/components/CollapsableTree/components/CollapsableTreeNode.js +5 -5
- package/components/Confirm/Confirm.js +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +1 -1
- package/components/Confirm/components/ConfirmContent.js +1 -1
- package/components/Confirm/components/ConfirmContentTitle.js +1 -1
- package/components/Confirm/components/ConfirmControls.js +1 -1
- package/components/DateField/DateField.js +53 -51
- package/components/DateField/DateFieldTarget.js +38 -37
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +11 -11
- package/components/DateRange/DateRange.js +15 -15
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/components/Stepper.js +11 -20
- package/components/Divider/Divider.js +20 -20
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +10 -10
- package/components/Dropdown/desktop/DropdownDesktop.js +27 -27
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +1 -1
- package/components/Ellipsis/Ellipsis.js +2 -2
- package/components/EmptyView/EmptyView.js +19 -19
- package/components/ExpandAnimation/ExpandAnimation.js +15 -15
- 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 +3 -3
- package/components/FormField/components/FormFieldDescription.js +6 -6
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +7 -7
- package/components/FormField/components/FormFieldMaskedInput.js +26 -26
- package/components/FormField/components/FormFieldPostfix.js +7 -7
- package/components/FormField/components/FormFieldPrefix.js +8 -8
- package/components/FormField/components/FormFieldTarget.js +1 -1
- package/components/FormField/components/FormFieldTextarea.js +21 -21
- 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 +4 -4
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +1 -1
- package/components/IconWrapper/IconWrapper.js +10 -10
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +2 -2
- package/components/Island/components/IslandHeader.js +2 -2
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +70 -64
- package/components/IslandWidget/IslandWidget.js +42 -34
- package/components/IslandWidget/components/IslandWidgetBody.js +3 -3
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +4 -4
- package/components/IslandWidget/components/IslandWidgetFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +3 -3
- package/components/LightBox/LightBox.js +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 +16 -16
- 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 +10 -10
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +6 -6
- package/components/Link/Link.js +16 -16
- package/components/List/List.js +4 -4
- package/components/List/ListSortable.js +30 -55
- package/components/List/components/ListEmptyState.js +4 -4
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +5 -5
- package/components/List/components/ListItemControls.js +1 -1
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +43 -42
- package/components/List/components/ListItemLoading.js +4 -4
- package/components/List/components/ListItemSelectable.js +4 -4
- package/components/List/components/ListItemTable.js +5 -5
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +21 -20
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +6 -6
- package/components/List/index.js +1 -1
- package/components/List/utils.js +20 -0
- package/components/ListMaster/ListMaster.js +22 -15
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +7 -7
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +5 -5
- package/components/ListMaster/components/SelectionControls.js +6 -6
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +1 -1
- package/components/Loader/LoaderSmall/LoaderSmall.js +5 -5
- package/components/LoaderScreen/LoaderScreen.js +5 -5
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +13 -13
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +1 -1
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +1 -1
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MonthYearField/MonthYearField.js +28 -26
- package/components/MonthYearField/MonthYearFieldTarget.js +37 -36
- package/components/MonthYearRange/MonthYearRange.js +76 -0
- package/components/MonthYearRange/enums.js +5 -0
- package/components/MonthYearRange/index.js +7 -0
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +7 -7
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +3 -3
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +1 -1
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +1 -1
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +9 -9
- package/components/OrderedList/OrderedListItem.js +5 -5
- 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 +4 -4
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- 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 +10 -10
- package/components/Radio/Radio.js +2 -2
- package/components/Radio/RadioXGroup.js +10 -10
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +10 -10
- package/components/SMSField/SMSField.js +2 -2
- package/components/SMSField/components/RefreshIcon.js +1 -1
- package/components/SMSField/components/SMSFieldInput.js +2 -2
- package/components/SMSField/components/SMSFieldRefresh.js +1 -1
- package/components/SMSField/components/SMSFieldSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +4 -4
- package/components/SegmentedControl/SegmentedControlSegment.js +18 -18
- package/components/SelectExtendedField/SelectExtendedField.js +15 -15
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +24 -24
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +11 -11
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +1 -1
- 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 +8 -8
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +22 -22
- package/components/SmallInput/SmallInput.js +4 -4
- package/components/Spoiler/Spoiler.js +14 -14
- 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 +29 -23
- package/components/Stepper/Stepper.js +102 -87
- package/components/Stepper/StepperExtended.js +23 -21
- package/components/Stepper/StepperExtendedContext.js +6 -6
- package/components/Stepper/StepperStep.js +62 -63
- package/components/Stepper/StepperStepArrowBorder.js +7 -0
- package/components/Stepper/enums.js +3 -4
- package/components/Stepper/index.js +4 -5
- package/components/Stepper/types.js +2 -0
- package/components/Suggest/SuggestMobileDropdownContent.js +5 -5
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +63 -63
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +15 -15
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +2 -2
- package/components/Table/NoColumns.js +7 -7
- package/components/Table/PaginationPanel.js +2 -2
- 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 +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +5 -5
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +5 -5
- 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 +3 -3
- package/components/Table/TabsLinePanelLinks.js +5 -5
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +15 -15
- 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 +7 -7
- package/components/Tag/Tag.js +18 -18
- package/components/TagColor/TagColor.js +18 -18
- package/components/TagColor/index.js +4 -2
- 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 +11 -11
- 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 +7 -7
- package/components/TopOverlay/TopOverlay.js +15 -15
- 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 +11 -11
- package/components/Typography/CodeText.js +7 -7
- package/components/Typography/Text.js +21 -21
- package/components/Typography/Title.js +6 -6
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +2 -2
- package/components/UnorderedList/UnorderedListItem.js +2 -2
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +299 -294
- package/index.d.ts +115 -42
- package/index.js +329 -324
- package/package.json +6 -2
- package/styles/triplex-next.css +538 -541
- package/chunks/Card.module-Ce9rAKOc.js +0 -17
- package/chunks/CheckboxTreeExtended.module-Cj2c6m06.js +0 -15
- package/chunks/Chip-BEnNi0nL.js +0 -77
- package/chunks/Confirm.module-CbAi5bkG.js +0 -15
- package/chunks/DropdownMobile.module-rYB54yd0.js +0 -23
- package/chunks/Footer.module-CzJ_N1fs.js +0 -9
- package/chunks/FormFieldInput-Dj2JAqj2.js +0 -79
- package/chunks/HeaderLayoutSidebar.module-HXJhEmKU.js +0 -9
- package/chunks/HeaderTabs.module-CjapozXy.js +0 -9
- package/chunks/IslandAccordion.module-YvqRlzmi.js +0 -25
- package/chunks/IslandWidgetFooter.module-iMuqKnPP.js +0 -9
- package/chunks/IslandWidgetHeader.module-CnPne0Uq.js +0 -12
- package/chunks/LightBoxControls.module-laAGRPrR.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-B3L_EV1B.js +0 -9
- package/chunks/ListItemTail.module-igeWTjyg.js +0 -12
- package/chunks/ListMasterFooter.module-C0eM4fK4.js +0 -10
- package/chunks/ModalWindow.module-Cpk4uhwk.js +0 -17
- package/chunks/Notification.module-9japFkgv.js +0 -20
- package/chunks/Overlay.module-B3Az7dZS.js +0 -18
- package/chunks/Page.module-DOHwIYM4.js +0 -11
- package/chunks/RightBorderArrow-C6j8565V.js +0 -146
- package/chunks/SMSField.module-BOpUjsSJ.js +0 -16
- package/chunks/SliderExtendedMarks.module-cdkiaSbT.js +0 -15
- package/chunks/StatusTracker.module-OAxbFucN.js +0 -24
- package/chunks/TableFooter.module-CGWCS8e3.js +0 -14
- package/chunks/TabsExtended.module-BJOWXSHt.js +0 -16
- package/chunks/TabsLine.module-BsiLhw0I.js +0 -21
- package/chunks/TooltipDesktop.module-DVp6GHr8.js +0 -19
- package/chunks/TreeView.module-C2WPNvMq.js +0 -9
- package/chunks/utils-Bz5uKYQD.js +0 -24
- package/chunks/utils-CrkRbGiM.js +0 -28
- package/chunks/utils-QVs0E_e3.js +0 -73
- package/components/Stepper/RightBorderArrow.js +0 -7
- package/components/Stepper/StepperWrapper.js +0 -12
|
@@ -1,57 +1,58 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { CalendarStrokeSrvIcon20 as
|
|
4
|
-
import { MaskedField as T } from "../TextField/MaskedField.js";
|
|
1
|
+
import { jsx as e, jsxs as w, Fragment as P } from "react/jsx-runtime";
|
|
2
|
+
import { useContext as u } from "react";
|
|
3
|
+
import { CalendarStrokeSrvIcon24 as y, CalendarStrokeSrvIcon20 as K, CalendarStrokeSrvIcon16 as T } from "@sberbusiness/icons-next";
|
|
5
4
|
import { DatePickerExtendedContext as j } from "../DatePickerExtended/DatePickerExtendedContext.js";
|
|
6
|
-
import { DateFieldContext as
|
|
7
|
-
import {
|
|
8
|
-
import { FormFieldClear as
|
|
9
|
-
import {
|
|
10
|
-
import { ButtonIcon as b } from "../Button/ButtonIcon.js";
|
|
5
|
+
import { DateFieldContext as v } from "./DateFieldContext.js";
|
|
6
|
+
import { MaskedField as A } from "../TextField/MaskedField.js";
|
|
7
|
+
import { FormFieldClear as L } from "../FormField/components/FormFieldClear.js";
|
|
8
|
+
import { ButtonIcon as O } from "../Button/ButtonIcon.js";
|
|
11
9
|
import { isKey as C } from "../../utils/keyboard.js";
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
[r.
|
|
10
|
+
import { EComponentSize as r } from "../../enums/EComponentSize.js";
|
|
11
|
+
import { EFormFieldStatus as R } from "../FormField/enums.js";
|
|
12
|
+
const b = {
|
|
13
|
+
[r.SM]: /* @__PURE__ */ e(T, { paletteIndex: 5 }),
|
|
14
|
+
[r.MD]: /* @__PURE__ */ e(K, { paletteIndex: 5 }),
|
|
15
|
+
[r.LG]: /* @__PURE__ */ e(y, { paletteIndex: 5 })
|
|
16
16
|
}, Y = ({
|
|
17
|
-
size:
|
|
17
|
+
size: a = r.MD,
|
|
18
18
|
postfix: x,
|
|
19
19
|
maskedInputProps: F,
|
|
20
|
-
|
|
20
|
+
onClear: l,
|
|
21
|
+
...m
|
|
21
22
|
}) => {
|
|
22
|
-
const { dropdownOpen: t, setDropdownOpen: n } =
|
|
23
|
+
const { dropdownOpen: t, setDropdownOpen: n } = u(j), { inputFocusedRef: p, triggerChangeFromInput: I } = u(v), { status: k } = m, {
|
|
23
24
|
onFocus: i,
|
|
24
25
|
onBlur: c,
|
|
25
|
-
onKeyDown:
|
|
26
|
-
onClick:
|
|
27
|
-
...
|
|
28
|
-
} = F,
|
|
29
|
-
|
|
26
|
+
onKeyDown: s,
|
|
27
|
+
onClick: d,
|
|
28
|
+
...D
|
|
29
|
+
} = F, f = k === R.DISABLED, S = (o) => {
|
|
30
|
+
p.current = !0, i == null || i(o);
|
|
31
|
+
}, h = (o) => {
|
|
32
|
+
p.current = !1, t || I(), c == null || c(o);
|
|
30
33
|
}, E = (o) => {
|
|
31
|
-
|
|
34
|
+
t || n(!0), d == null || d(o);
|
|
32
35
|
}, g = (o) => {
|
|
33
|
-
t
|
|
34
|
-
}, B = (
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
/* @__PURE__ */ e(O, { onClick: w }),
|
|
38
|
-
/* @__PURE__ */ e(b, { active: t, disabled: p, onClick: M, children: v[l] }),
|
|
36
|
+
C(o.code, "ENTER") ? n(!t) : C(o.code, "SPACE") && (o.preventDefault(), n(!t)), s == null || s(o);
|
|
37
|
+
}, B = () => n(!t), M = () => /* @__PURE__ */ w(P, { children: [
|
|
38
|
+
l && /* @__PURE__ */ e(L, { onClick: l }),
|
|
39
|
+
/* @__PURE__ */ e(O, { active: t, disabled: f, onClick: B, children: b[a] }),
|
|
39
40
|
x
|
|
40
41
|
] });
|
|
41
42
|
return /* @__PURE__ */ e(
|
|
42
|
-
|
|
43
|
+
A,
|
|
43
44
|
{
|
|
44
|
-
size:
|
|
45
|
+
size: a,
|
|
45
46
|
maskedInputProps: {
|
|
46
|
-
disabled:
|
|
47
|
+
disabled: f,
|
|
47
48
|
onFocus: S,
|
|
48
|
-
onBlur:
|
|
49
|
-
onClick:
|
|
50
|
-
onKeyDown:
|
|
51
|
-
...
|
|
49
|
+
onBlur: h,
|
|
50
|
+
onClick: E,
|
|
51
|
+
onKeyDown: g,
|
|
52
|
+
...D
|
|
52
53
|
},
|
|
53
|
-
postfix:
|
|
54
|
-
...
|
|
54
|
+
postfix: M(),
|
|
55
|
+
...m
|
|
55
56
|
}
|
|
56
57
|
);
|
|
57
58
|
};
|
|
@@ -5,7 +5,7 @@ import { Calendar as X } from "../Calendar/Calendar.js";
|
|
|
5
5
|
import "../Dropdown/DropdownListContext.js";
|
|
6
6
|
import "../Dropdown/desktop/DropdownDesktop.js";
|
|
7
7
|
import "../Dropdown/desktop/DropdownList.js";
|
|
8
|
-
import "../../chunks/DropdownListItem-
|
|
8
|
+
import "../../chunks/DropdownListItem-BflrX8i-.js";
|
|
9
9
|
import { EDropdownAlignment as Y } from "../Dropdown/desktop/enums.js";
|
|
10
10
|
import "../Dropdown/mobile/DropdownMobile.js";
|
|
11
11
|
import "../Dropdown/mobile/DropdownMobileBody.js";
|
|
@@ -103,7 +103,7 @@ const ee = I.forwardRef((l, r) => {
|
|
|
103
103
|
onKeyDown: F,
|
|
104
104
|
onMouseDown: N,
|
|
105
105
|
...V,
|
|
106
|
-
"data-tx": "0.
|
|
106
|
+
"data-tx": "0.27.0",
|
|
107
107
|
ref: (e) => {
|
|
108
108
|
a.current = e, typeof r == "function" ? r(e) : r && (r.current = e);
|
|
109
109
|
},
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as e, jsxs as s, Fragment as m } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import f, { useContext as u } from "react";
|
|
3
3
|
import { F as D } from "../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
import { Dropdown as
|
|
5
|
-
import { DatePickerExtendedContext as
|
|
4
|
+
import { Dropdown as b } from "../Dropdown/Dropdown.js";
|
|
5
|
+
import { DatePickerExtendedContext as w } from "./DatePickerExtendedContext.js";
|
|
6
6
|
import "../Dropdown/mobile/DropdownMobile.js";
|
|
7
|
-
import { DropdownMobileBody as
|
|
7
|
+
import { DropdownMobileBody as x } from "../Dropdown/mobile/DropdownMobileBody.js";
|
|
8
8
|
import { DropdownMobileClose as k } from "../Dropdown/mobile/DropdownMobileClose.js";
|
|
9
9
|
import "../Dropdown/mobile/DropdownMobileFooter.js";
|
|
10
10
|
import { DropdownMobileHeader as M } from "../Dropdown/mobile/DropdownMobileHeader.js";
|
|
@@ -14,25 +14,25 @@ import "../Dropdown/mobile/DropdownMobileList.js";
|
|
|
14
14
|
import "../Dropdown/mobile/DropdownMobileListItem.js";
|
|
15
15
|
import "../Loader/LoaderSmall/LoaderSmall.js";
|
|
16
16
|
import "../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
17
|
-
const h = "
|
|
17
|
+
const h = "datePickerExtendedMobileDropdown__e9fb5c3b", C = {
|
|
18
18
|
datePickerExtendedMobileDropdown: h
|
|
19
|
-
}, E =
|
|
19
|
+
}, E = f.forwardRef(
|
|
20
20
|
(i, d) => {
|
|
21
|
-
const { children: P, targetRef: r, setOpened:
|
|
21
|
+
const { children: P, targetRef: r, setOpened: c, renderHeaderTarget: a, renderCalendar: t, focusTrapProps: o, ...p } = i, { mouseUsedRef: n, setDropdownOpen: l } = u(w);
|
|
22
22
|
return /* @__PURE__ */ e(
|
|
23
|
-
|
|
23
|
+
b,
|
|
24
24
|
{
|
|
25
25
|
role: "dialog",
|
|
26
26
|
"aria-modal": "true",
|
|
27
27
|
targetRef: r,
|
|
28
28
|
mobileViewProps: {
|
|
29
29
|
children: /* @__PURE__ */ s(m, { children: [
|
|
30
|
-
/* @__PURE__ */ e(M, { controlButtons: /* @__PURE__ */ e(k, { onClick: () => l(!1) }), children:
|
|
31
|
-
/* @__PURE__ */ e(
|
|
30
|
+
/* @__PURE__ */ e(M, { controlButtons: /* @__PURE__ */ e(k, { onClick: () => l(!1) }), children: a() }),
|
|
31
|
+
/* @__PURE__ */ e(x, { children: t(!0) })
|
|
32
32
|
] }),
|
|
33
33
|
className: C.datePickerExtendedMobileDropdown
|
|
34
34
|
},
|
|
35
|
-
setOpened:
|
|
35
|
+
setOpened: c,
|
|
36
36
|
...p,
|
|
37
37
|
ref: d,
|
|
38
38
|
children: /* @__PURE__ */ e(
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { jsxs as v, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import c from "moment";
|
|
3
|
-
import { CaretleftStrokeSrvIcon20 as D,
|
|
3
|
+
import { CaretleftStrokeSrvIcon20 as D, RangeStrokeSrvIcon16 as Y, CaretrightStrokeSrvIcon20 as C } from "@sberbusiness/icons-next";
|
|
4
4
|
import { dateFormatYYYYMMDD as r } from "../../consts/DateConst.js";
|
|
5
|
-
import { EDateRangeShiftUnit as
|
|
5
|
+
import { EDateRangeShiftUnit as E } from "./enums.js";
|
|
6
6
|
import { c as i } from "../../chunks/vendor---Om3uMV.js";
|
|
7
|
-
const
|
|
8
|
-
dateRange:
|
|
9
|
-
dateRangeButton:
|
|
7
|
+
const F = "dateRange__f7925585", M = "dateRangeButton__0d185c9b", h = "separator__2229faf9", d = {
|
|
8
|
+
dateRange: F,
|
|
9
|
+
dateRangeButton: M,
|
|
10
10
|
separator: h
|
|
11
11
|
}, j = ({
|
|
12
12
|
children: y,
|
|
13
|
-
className:
|
|
13
|
+
className: p,
|
|
14
14
|
value: R,
|
|
15
15
|
onChange: o,
|
|
16
16
|
shiftAmount: n = 1,
|
|
17
|
-
shiftUnit: s =
|
|
18
|
-
hideNavigation:
|
|
17
|
+
shiftUnit: s = E.MONTH,
|
|
18
|
+
hideNavigation: f,
|
|
19
19
|
renderPickerFrom: g,
|
|
20
20
|
renderPickerTo: u,
|
|
21
21
|
renderButtonForward: S,
|
|
22
22
|
renderButtonBack: k,
|
|
23
|
-
...
|
|
23
|
+
...b
|
|
24
24
|
}) => {
|
|
25
|
-
const [t, a] = R,
|
|
25
|
+
const [t, a] = R, x = i(d.dateRange, p), B = (e) => {
|
|
26
26
|
!e || !a || e <= a ? o([e, a]) : o([e, ""]);
|
|
27
27
|
}, I = (e) => {
|
|
28
28
|
!e || !t || e >= t ? o([t, e]) : o(["", e]);
|
|
@@ -43,8 +43,8 @@ const E = "dateRange__a76570a9", F = "dateRangeButton__a60206cc", h = "separator
|
|
|
43
43
|
m.add(n, s).format(r)
|
|
44
44
|
]);
|
|
45
45
|
};
|
|
46
|
-
return /* @__PURE__ */ v("div", { className:
|
|
47
|
-
!
|
|
46
|
+
return /* @__PURE__ */ v("div", { className: x, ...b, children: [
|
|
47
|
+
!f && k({
|
|
48
48
|
children: /* @__PURE__ */ l(D, { paletteIndex: 5 }),
|
|
49
49
|
className: i(d.dateRangeButton, { disabled: !(t && a) }),
|
|
50
50
|
disabled: !(t && a),
|
|
@@ -54,13 +54,13 @@ const E = "dateRange__a76570a9", F = "dateRangeButton__a60206cc", h = "separator
|
|
|
54
54
|
onChange: B,
|
|
55
55
|
value: t
|
|
56
56
|
}),
|
|
57
|
-
/* @__PURE__ */ l(
|
|
57
|
+
/* @__PURE__ */ l(Y, { className: d.separator, paletteIndex: 5 }),
|
|
58
58
|
u({
|
|
59
59
|
onChange: I,
|
|
60
60
|
value: a
|
|
61
61
|
}),
|
|
62
|
-
!
|
|
63
|
-
children: /* @__PURE__ */ l(
|
|
62
|
+
!f && S({
|
|
63
|
+
children: /* @__PURE__ */ l(C, { paletteIndex: 5 }),
|
|
64
64
|
className: i(d.dateRangeButton, { disabled: !(t && a) }),
|
|
65
65
|
disabled: !(t && a),
|
|
66
66
|
onClick: _
|
|
@@ -7,7 +7,7 @@ import { k as l } from "../../chunks/vendor---Om3uMV.js";
|
|
|
7
7
|
const n = {
|
|
8
8
|
getCSSVariableByTokenGroup: (t, s) => {
|
|
9
9
|
const e = Object.keys(t)[0], r = "triplex-next";
|
|
10
|
-
let o = "0.
|
|
10
|
+
let o = "0.27.0";
|
|
11
11
|
return o = o.replace(/\./g, "-"), Object.keys(t[e]).map(
|
|
12
12
|
(T) => `--${r}-${e}-${T}-${o}: ${n.getTokenValue(
|
|
13
13
|
t[e][T],
|
|
@@ -13,11 +13,8 @@ const r = [
|
|
|
13
13
|
"Step_Color_Default",
|
|
14
14
|
"Step_Color_Hover",
|
|
15
15
|
"Step_Color_Disabled",
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"ButtonPrev_Background",
|
|
19
|
-
"Wrapper_Background",
|
|
20
|
-
"Wrapper_BoxShadow"
|
|
16
|
+
"ButtonWrapper_Background_Prev",
|
|
17
|
+
"ButtonWrapper_Background_Next"
|
|
21
18
|
], o = {
|
|
22
19
|
Step_Background_Default: [{ ref: "ColorNeutral.90" }, { ref: "ColorDarkNeutral.80" }],
|
|
23
20
|
// var(--triplex-next-Stepper-Step_Background_Default)
|
|
@@ -47,22 +44,16 @@ const r = [
|
|
|
47
44
|
// var(--triplex-next-Stepper-Step_Color_Hover)
|
|
48
45
|
Step_Color_Disabled: [{ ref: "ColorDarkNeutralAlpha.70" }, { ref: "ColorNeutralAlpha.80" }],
|
|
49
46
|
// var(--triplex-next-Stepper-Step_Color_Disabled)
|
|
50
|
-
|
|
51
|
-
{ value: "linear-gradient(to
|
|
52
|
-
{ value: "linear-gradient(to
|
|
47
|
+
ButtonWrapper_Background_Prev: [
|
|
48
|
+
{ value: "linear-gradient(to right, rgba(255,255,255,1) 39.06%, rgba(255,255,255,0) 100%)" },
|
|
49
|
+
{ value: "linear-gradient(to right, rgba(38,38,41,1) 39.06%, rgba(38,38,41,0) 100%)" }
|
|
53
50
|
],
|
|
54
|
-
// var(--triplex-next-Stepper-
|
|
55
|
-
|
|
56
|
-
{ value: "linear-gradient(to
|
|
57
|
-
{ value: "linear-gradient(to
|
|
58
|
-
]
|
|
59
|
-
// var(--triplex-next-Stepper-
|
|
60
|
-
Background: [{ value: "#FFFFFF" }, { value: "#181819" }],
|
|
61
|
-
// var(--triplex-next-Stepper-Background)
|
|
62
|
-
Wrapper_Background: [{ value: "linear-gradient(#FFFFFF 64px, transparent 0)" }, { ref: "ColorNeutral.50" }],
|
|
63
|
-
// var(--triplex-next-Stepper-Wrapper_Background)
|
|
64
|
-
Wrapper_BoxShadow: [{ value: "0 10px 15px 0 rgba(228, 232, 235, 0.5)" }, { value: "none" }]
|
|
65
|
-
// var(--triplex-next-Stepper-Wrapper_BoxShadow)
|
|
51
|
+
// var(--triplex-next-Stepper-ButtonWrapper_Background_Prev)
|
|
52
|
+
ButtonWrapper_Background_Next: [
|
|
53
|
+
{ value: "linear-gradient(to left, rgba(255,255,255,1) 39.06%, rgba(255,255,255,0) 100%)" },
|
|
54
|
+
{ value: "linear-gradient(to left, rgba(38,38,41,1) 39.06%, rgba(38,38,41,0) 100%)" }
|
|
55
|
+
]
|
|
56
|
+
// var(--triplex-next-Stepper-ButtonWrapper_Background_Next)
|
|
66
57
|
};
|
|
67
58
|
export {
|
|
68
59
|
o as Stepper_Tokens,
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { c as g } from "../../chunks/vendor---Om3uMV.js";
|
|
3
|
-
const z = "
|
|
3
|
+
const z = "divider__5fb4367b", i = {
|
|
4
4
|
divider: z,
|
|
5
|
-
"marginTopSize-4": "marginTopSize-
|
|
6
|
-
"marginBottomSize-4": "marginBottomSize-
|
|
7
|
-
"marginTopSize-8": "marginTopSize-
|
|
8
|
-
"marginBottomSize-8": "marginBottomSize-
|
|
9
|
-
"marginTopSize-12": "marginTopSize-
|
|
10
|
-
"marginBottomSize-12": "marginBottomSize-
|
|
11
|
-
"marginTopSize-16": "marginTopSize-
|
|
12
|
-
"marginBottomSize-16": "marginBottomSize-
|
|
13
|
-
"marginTopSize-20": "marginTopSize-
|
|
14
|
-
"marginBottomSize-20": "marginBottomSize-
|
|
15
|
-
"marginTopSize-24": "marginTopSize-
|
|
16
|
-
"marginBottomSize-24": "marginBottomSize-
|
|
17
|
-
"marginTopSize-28": "marginTopSize-
|
|
18
|
-
"marginBottomSize-28": "marginBottomSize-
|
|
19
|
-
"marginTopSize-32": "marginTopSize-
|
|
20
|
-
"marginBottomSize-32": "marginBottomSize-
|
|
5
|
+
"marginTopSize-4": "marginTopSize-4__bd9cf45c",
|
|
6
|
+
"marginBottomSize-4": "marginBottomSize-4__51617bc4",
|
|
7
|
+
"marginTopSize-8": "marginTopSize-8__d4e47771",
|
|
8
|
+
"marginBottomSize-8": "marginBottomSize-8__19417004",
|
|
9
|
+
"marginTopSize-12": "marginTopSize-12__7bf28003",
|
|
10
|
+
"marginBottomSize-12": "marginBottomSize-12__c902b19d",
|
|
11
|
+
"marginTopSize-16": "marginTopSize-16__4d2a7b3b",
|
|
12
|
+
"marginBottomSize-16": "marginBottomSize-16__1e3691c9",
|
|
13
|
+
"marginTopSize-20": "marginTopSize-20__5e92d73f",
|
|
14
|
+
"marginBottomSize-20": "marginBottomSize-20__e4e5aca0",
|
|
15
|
+
"marginTopSize-24": "marginTopSize-24__7f72b840",
|
|
16
|
+
"marginBottomSize-24": "marginBottomSize-24__f08bf4be",
|
|
17
|
+
"marginTopSize-28": "marginTopSize-28__7a81d4ec",
|
|
18
|
+
"marginBottomSize-28": "marginBottomSize-28__fc2391f2",
|
|
19
|
+
"marginTopSize-32": "marginTopSize-32__b3c163fd",
|
|
20
|
+
"marginBottomSize-32": "marginBottomSize-32__ade24e98"
|
|
21
21
|
}, S = (e) => {
|
|
22
|
-
const { className:
|
|
22
|
+
const { className: r, marginTopSize: o, marginBottomSize: m, ...a } = e, t = g(
|
|
23
23
|
i.divider,
|
|
24
24
|
o && i[`marginTopSize-${o}`],
|
|
25
25
|
m && i[`marginBottomSize-${m}`],
|
|
26
|
-
|
|
26
|
+
r
|
|
27
27
|
);
|
|
28
|
-
return /* @__PURE__ */ n("hr", { className: t, ...
|
|
28
|
+
return /* @__PURE__ */ n("hr", { className: t, ...a });
|
|
29
29
|
};
|
|
30
30
|
S.displayName = "Divider";
|
|
31
31
|
export {
|
|
@@ -8,7 +8,7 @@ import { StringUtils as B } from "../../utils/stringUtils.js";
|
|
|
8
8
|
import { isKey as O } from "../../utils/keyboard.js";
|
|
9
9
|
import { c as U } from "../../chunks/vendor---Om3uMV.js";
|
|
10
10
|
import { Link as Y } from "../Link/Link.js";
|
|
11
|
-
const $ = "
|
|
11
|
+
const $ = "documentNumberEdit__8bb4f95e", G = "label__6b18b978", H = "inputEditWrapper__7de4db3d", n = {
|
|
12
12
|
documentNumberEdit: $,
|
|
13
13
|
label: G,
|
|
14
14
|
inputEditWrapper: H
|
|
@@ -18,14 +18,14 @@ const $ = "documentNumberEdit__b57806ee", G = "label__3dc9f02e", H = "inputEditW
|
|
|
18
18
|
buttonLabel: b,
|
|
19
19
|
emptyNumberButtonLabel: _,
|
|
20
20
|
emptyNumberLabel: u,
|
|
21
|
-
numberLabel:
|
|
21
|
+
numberLabel: c,
|
|
22
22
|
maxLength: f = V,
|
|
23
23
|
onBlur: l,
|
|
24
|
-
onChange:
|
|
25
|
-
onKeyDown:
|
|
24
|
+
onChange: d,
|
|
25
|
+
onKeyDown: a,
|
|
26
26
|
...S
|
|
27
27
|
}) => {
|
|
28
|
-
const [p, m] = y(!1), T = z(() => p ?
|
|
28
|
+
const [p, m] = y(!1), T = z(() => p ? c : r ? `${c} ${r}` : u, [r, c, u, p]), x = () => /* @__PURE__ */ i("div", { className: n.inputEditWrapper, children: /* @__PURE__ */ i(
|
|
29
29
|
A,
|
|
30
30
|
{
|
|
31
31
|
...S,
|
|
@@ -40,20 +40,20 @@ const $ = "documentNumberEdit__b57806ee", G = "label__3dc9f02e", H = "inputEditW
|
|
|
40
40
|
) }), I = "0".repeat(f), C = (t) => {
|
|
41
41
|
m(!1), l == null || l(t);
|
|
42
42
|
}, D = (t) => {
|
|
43
|
-
O(t.code, "ENTER") && m(!1),
|
|
43
|
+
O(t.code, "ENTER") && m(!1), a == null || a(t);
|
|
44
44
|
}, M = (t) => {
|
|
45
45
|
const o = F(t.target), s = P(t.target.value), e = s.length - t.target.value.length;
|
|
46
|
-
t.target.value = s, R(t.target, o + e),
|
|
46
|
+
t.target.value = s, R(t.target, o + e), d == null || d(t);
|
|
47
47
|
}, P = (t) => {
|
|
48
48
|
const o = [], s = t.length;
|
|
49
49
|
for (let e = 0; e < s; e++)
|
|
50
50
|
B.isDigit(t[e]) && o.push(t[e]);
|
|
51
51
|
return o.join("");
|
|
52
|
-
}, W = () => /* @__PURE__ */ i(E, { className:
|
|
52
|
+
}, W = () => /* @__PURE__ */ i(E, { className: n.label, tag: "div", size: N.B3, type: h.SECONDARY, children: /* @__PURE__ */ i(Y, { href: "#", onClick: j, children: r ? b : _ }) }), j = (t) => {
|
|
53
53
|
t.preventDefault(), m(!0);
|
|
54
54
|
};
|
|
55
|
-
return /* @__PURE__ */ k("div", { className: U(
|
|
56
|
-
/* @__PURE__ */ i(E, { className:
|
|
55
|
+
return /* @__PURE__ */ k("div", { className: U(n.documentNumberEdit, g), children: [
|
|
56
|
+
/* @__PURE__ */ i(E, { className: n.label, tag: "div", size: N.B3, type: h.SECONDARY, children: T }),
|
|
57
57
|
p ? x() : W()
|
|
58
58
|
] });
|
|
59
59
|
};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { jsx as U } from "react/jsx-runtime";
|
|
2
2
|
import B, { useState as F, useRef as I, useCallback as d, useEffect as O } from "react";
|
|
3
3
|
import { c as j } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
import { EDropdownDirection as
|
|
4
|
+
import { EDropdownDirection as a, EDropdownAlignment as R, EDropdownWidth as T } from "./enums.js";
|
|
5
5
|
import { EComponentSize as K } from "../../../enums/EComponentSize.js";
|
|
6
6
|
import { createSizeToClassNameMap as V } from "../../../utils/classNameMaps.js";
|
|
7
7
|
import { useToken as q } from "../../ThemeProvider/useToken.js";
|
|
8
8
|
import { isKey as n } from "../../../utils/keyboard.js";
|
|
9
|
-
const J = "
|
|
9
|
+
const J = "dropdownDesktop__9f9d9fb0", Q = "sm__bc27c152", X = "md__e82de9b0", Y = "lg__2c4232e9", Z = "dropdownDesktopOverflowHidden__29eb6205", b = {
|
|
10
10
|
dropdownDesktop: J,
|
|
11
11
|
sm: Q,
|
|
12
12
|
md: X,
|
|
13
13
|
lg: Y,
|
|
14
14
|
dropdownDesktopOverflowHidden: Z
|
|
15
|
-
}, $ = V(
|
|
15
|
+
}, $ = V(b), N = b.dropdownDesktopOverflowHidden, ee = B.forwardRef((H, f) => {
|
|
16
16
|
const {
|
|
17
17
|
children: P,
|
|
18
18
|
className: A,
|
|
19
19
|
style: C,
|
|
20
20
|
size: M = K.MD,
|
|
21
|
-
direction:
|
|
22
|
-
alignment:
|
|
21
|
+
direction: u = a.AUTO,
|
|
22
|
+
alignment: k = R.LEFT,
|
|
23
23
|
width: p = T.CONTENT,
|
|
24
24
|
opened: s,
|
|
25
|
-
targetRef:
|
|
25
|
+
targetRef: l,
|
|
26
26
|
setOpened: te,
|
|
27
27
|
...S
|
|
28
|
-
} = H, [W,
|
|
28
|
+
} = H, [W, _] = F({ opacity: 0 }), i = I(null), { scopeClassName: z } = q(), x = j(b.dropdownDesktop, $[M], z, A), w = d(
|
|
29
29
|
(e) => {
|
|
30
30
|
var t;
|
|
31
31
|
(t = i.current) != null && t.contains(e.target) || e.preventDefault();
|
|
@@ -42,10 +42,10 @@ const J = "dropdownDesktop__779caac9", Q = "sm__fc145dc2", X = "md__7dd28963", Y
|
|
|
42
42
|
e ? (document.addEventListener("wheel", w, { passive: !1 }), document.addEventListener("keydown", h)) : (document.removeEventListener("wheel", w), document.removeEventListener("keydown", h));
|
|
43
43
|
},
|
|
44
44
|
[w, h]
|
|
45
|
-
),
|
|
45
|
+
), g = d(
|
|
46
46
|
(e, t, o) => {
|
|
47
47
|
const r = document.documentElement.clientWidth, v = t.left, D = t.right - o;
|
|
48
|
-
if (
|
|
48
|
+
if (k === R.LEFT) {
|
|
49
49
|
const y = v + o <= r;
|
|
50
50
|
e.left = y ? v : Math.max(0, D);
|
|
51
51
|
} else {
|
|
@@ -53,28 +53,28 @@ const J = "dropdownDesktop__779caac9", Q = "sm__fc145dc2", X = "md__7dd28963", Y
|
|
|
53
53
|
e.left = y ? D : Math.max(0, Math.min(v, r - o));
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
|
-
[
|
|
57
|
-
),
|
|
56
|
+
[k]
|
|
57
|
+
), L = d(
|
|
58
58
|
(e, t, o) => {
|
|
59
|
-
|
|
59
|
+
u === a.AUTO ? o.bottom + 4 + t.height < document.documentElement.clientHeight ? e.top = o.bottom + 4 : o.top - 4 - t.height > 0 ? e.bottom = document.documentElement.clientHeight - o.top + 4 : e.top = o.bottom + 4 : u === a.BOTTOM ? e.top = o.bottom + 4 : u === a.TOP && (e.bottom = document.documentElement.clientHeight - o.top + 4);
|
|
60
60
|
},
|
|
61
|
-
[
|
|
62
|
-
),
|
|
63
|
-
if (i.current === null ||
|
|
64
|
-
const e = i.current.getBoundingClientRect(), t =
|
|
61
|
+
[u]
|
|
62
|
+
), c = d(() => {
|
|
63
|
+
if (i.current === null || l.current === null) return;
|
|
64
|
+
const e = i.current.getBoundingClientRect(), t = l.current.getBoundingClientRect(), o = {};
|
|
65
65
|
let r = e.width;
|
|
66
|
-
p === T.TARGET ? (r = t.width, o.width = t.width) : p === T.MIN_TARGET && (r = Math.max(e.width, t.width), o.minWidth = t.width),
|
|
67
|
-
}, [
|
|
66
|
+
p === T.TARGET ? (r = t.width, o.width = t.width) : p === T.MIN_TARGET && (r = Math.max(e.width, t.width), o.minWidth = t.width), L(o, e, t), g(o, t, r), _(o);
|
|
67
|
+
}, [l, p, L, g]);
|
|
68
68
|
O(() => {
|
|
69
|
-
s ?
|
|
70
|
-
}, [s,
|
|
71
|
-
if (!s || i.current === null ||
|
|
72
|
-
const e = new ResizeObserver(
|
|
73
|
-
return e.observe(i.current), e.observe(
|
|
74
|
-
}, [s,
|
|
69
|
+
s ? c() : _({ opacity: 0 });
|
|
70
|
+
}, [s, c]), O(() => {
|
|
71
|
+
if (!s || i.current === null || l.current === null) return;
|
|
72
|
+
const e = new ResizeObserver(c);
|
|
73
|
+
return e.observe(i.current), e.observe(l.current), () => e.disconnect();
|
|
74
|
+
}, [s, l, c]);
|
|
75
75
|
const m = d(() => {
|
|
76
|
-
setTimeout(
|
|
77
|
-
}, [
|
|
76
|
+
setTimeout(c);
|
|
77
|
+
}, [c]);
|
|
78
78
|
O(() => {
|
|
79
79
|
if (s)
|
|
80
80
|
return document.addEventListener("scroll", m, !0), window.addEventListener("resize", m), E(!0), document.body.classList.add(N), m(), () => {
|
|
@@ -90,7 +90,7 @@ const J = "dropdownDesktop__779caac9", Q = "sm__fc145dc2", X = "md__7dd28963", Y
|
|
|
90
90
|
className: x,
|
|
91
91
|
style: { ...W, ...C },
|
|
92
92
|
...S,
|
|
93
|
-
"data-tx": "0.
|
|
93
|
+
"data-tx": "0.27.0",
|
|
94
94
|
ref: G,
|
|
95
95
|
children: P
|
|
96
96
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as y, jsx as h } from "react/jsx-runtime";
|
|
2
2
|
import l, { useContext as B, useRef as b, useState as z, useEffect as f } from "react";
|
|
3
3
|
import { c as _ } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
import { s as D, D as x } from "../../../chunks/DropdownListItem-
|
|
4
|
+
import { s as D, D as x } from "../../../chunks/DropdownListItem-BflrX8i-.js";
|
|
5
5
|
import { EVENT_KEY_CODES as w } from "../../../utils/keyboard.js";
|
|
6
6
|
import { DropdownListContext as V } from "../DropdownListContext.js";
|
|
7
7
|
import { LoaderSmall as W } from "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
@@ -4,7 +4,7 @@ import "../../../chunks/vendor---Om3uMV.js";
|
|
|
4
4
|
import "../../../enums/EComponentSize.js";
|
|
5
5
|
import "../../../utils/keyboard.js";
|
|
6
6
|
import "../../Badge/Badge.js";
|
|
7
|
-
import { D } from "../../../chunks/DropdownListItem-
|
|
7
|
+
import { D } from "../../../chunks/DropdownListItem-BflrX8i-.js";
|
|
8
8
|
export {
|
|
9
9
|
D as DropdownListItem
|
|
10
10
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DropdownDesktop as p } from "./DropdownDesktop.js";
|
|
2
2
|
import { DropdownList as n } from "./DropdownList.js";
|
|
3
|
-
import { D as e } from "../../../chunks/DropdownListItem-
|
|
3
|
+
import { D as e } from "../../../chunks/DropdownListItem-BflrX8i-.js";
|
|
4
4
|
import { EDropdownAlignment as i, EDropdownDirection as m, EDropdownWidth as w } from "./enums.js";
|
|
5
5
|
export {
|
|
6
6
|
p as DropdownDesktop,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DropdownListContext as e } from "./DropdownListContext.js";
|
|
2
2
|
import { DropdownDesktop as t } from "./desktop/DropdownDesktop.js";
|
|
3
3
|
import { DropdownList as d } from "./desktop/DropdownList.js";
|
|
4
|
-
import { D as i } from "../../chunks/DropdownListItem-
|
|
4
|
+
import { D as i } from "../../chunks/DropdownListItem-BflrX8i-.js";
|
|
5
5
|
import { EDropdownAlignment as w, EDropdownDirection as x, EDropdownWidth as f } from "./desktop/enums.js";
|
|
6
6
|
import { DropdownMobile as b } from "./mobile/DropdownMobile.js";
|
|
7
7
|
import { DropdownMobileBody as s } from "./mobile/DropdownMobileBody.js";
|
|
@@ -2,7 +2,7 @@ import { jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import m, { useEffect as a } from "react";
|
|
3
3
|
import { OverlayBase as n, EOverlayDirection as c } from "../../Overlay/OverlayBase.js";
|
|
4
4
|
import { DropdownMobileInner as f } from "./DropdownMobileInner.js";
|
|
5
|
-
import { s as p } from "../../../chunks/DropdownMobile.module-
|
|
5
|
+
import { s as p } from "../../../chunks/DropdownMobile.module-3D5LlZCS.js";
|
|
6
6
|
const r = p.dropdownMobileBodyOverflow, y = m.forwardRef(
|
|
7
7
|
({ children: t, opened: o, setOpened: s, ...d }, i) => (a(() => (o ? document.body.classList.add(r) : document.body.classList.remove(r), () => document.body.classList.remove(r)), [o]), /* @__PURE__ */ e(n, { setOpened: s, opened: o, direction: c.BOTTOM, children: (l) => /* @__PURE__ */ e(
|
|
8
8
|
f,
|
|
@@ -10,7 +10,7 @@ const r = p.dropdownMobileBodyOverflow, y = m.forwardRef(
|
|
|
10
10
|
...l,
|
|
11
11
|
...d,
|
|
12
12
|
ref: i,
|
|
13
|
-
"data-tx": "0.
|
|
13
|
+
"data-tx": "0.27.0",
|
|
14
14
|
children: t
|
|
15
15
|
}
|
|
16
16
|
) }))
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import t from "react";
|
|
3
3
|
import { c as d } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
import { s as i } from "../../../chunks/DropdownMobile.module-
|
|
4
|
+
import { s as i } from "../../../chunks/DropdownMobile.module-3D5LlZCS.js";
|
|
5
5
|
const p = t.forwardRef(
|
|
6
6
|
({ children: o, className: r, ...s }, e) => /* @__PURE__ */ m("div", { className: d(i.dropdownMobileContent, r), ref: e, ...s, children: o })
|
|
7
7
|
);
|
|
@@ -3,7 +3,7 @@ import t from "react";
|
|
|
3
3
|
import { ButtonIcon as m } from "../../Button/ButtonIcon.js";
|
|
4
4
|
import { CrossStrokeSrvIcon16 as l } from "@sberbusiness/icons-next";
|
|
5
5
|
import { c as p } from "../../../chunks/vendor---Om3uMV.js";
|
|
6
|
-
import { s as i } from "../../../chunks/DropdownMobile.module-
|
|
6
|
+
import { s as i } from "../../../chunks/DropdownMobile.module-3D5LlZCS.js";
|
|
7
7
|
const a = t.forwardRef(
|
|
8
8
|
({ className: r, ...e }, s) => /* @__PURE__ */ o(m, { className: p(i.dropdownMobileClose, r), ref: s, ...e, children: /* @__PURE__ */ o(l, { paletteIndex: 5 }) })
|
|
9
9
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import m from "react";
|
|
3
3
|
import { c as i } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
import { s as p } from "../../../chunks/DropdownMobile.module-
|
|
4
|
+
import { s as p } from "../../../chunks/DropdownMobile.module-3D5LlZCS.js";
|
|
5
5
|
const a = m.forwardRef(
|
|
6
6
|
({ children: o, className: r, ...e }, s) => /* @__PURE__ */ t("div", { className: i(p.dropdownMobileFooter, r), ref: s, ...e, children: o })
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import t from "react";
|
|
3
3
|
import { c as m } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
import { s as o } from "../../../chunks/DropdownMobile.module-
|
|
4
|
+
import { s as o } from "../../../chunks/DropdownMobile.module-3D5LlZCS.js";
|
|
5
5
|
const n = t.forwardRef(
|
|
6
6
|
({ children: r, className: s, controlButtons: d, ...a }, i) => /* @__PURE__ */ l("div", { className: m(o.dropdownMobileHeader, s), ref: i, ...a, children: [
|
|
7
7
|
/* @__PURE__ */ e("div", { className: o.dropdownMobileHeaderContent, children: r }),
|
|
@@ -2,7 +2,7 @@ import { jsxs as j, jsx as c } from "react/jsx-runtime";
|
|
|
2
2
|
import y, { useState as l, useEffect as d } from "react";
|
|
3
3
|
import { c as n } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { useToken as B } from "../../ThemeProvider/useToken.js";
|
|
5
|
-
import { s as e } from "../../../chunks/DropdownMobile.module-
|
|
5
|
+
import { s as e } from "../../../chunks/DropdownMobile.module-3D5LlZCS.js";
|
|
6
6
|
const C = y.forwardRef(
|
|
7
7
|
({
|
|
8
8
|
children: m,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import r from "react";
|
|
3
3
|
import { c as e } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
const d = "
|
|
4
|
+
const d = "dropdownMobileInput__220eade4", i = {
|
|
5
5
|
dropdownMobileInput: d
|
|
6
6
|
}, s = r.forwardRef(
|
|
7
7
|
({ className: o, ...p }, n) => /* @__PURE__ */ t("input", { className: e(i.dropdownMobileInput, o), ...p, ref: n })
|