@sberbusiness/triplex-next 1.17.0 → 1.18.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 → AlertProcessSpoiler-LkdaQ_Di.js} +10 -10
- package/chunks/{CalendarViewItem-C2DNB4Jw.js → CalendarViewItem-pHtA4Vlx.js} +27 -27
- package/chunks/Card.module-BcSOlt-v.js +17 -0
- package/chunks/CheckboxTreeExtended.module-DiHCUVg2.js +14 -0
- package/chunks/{Chip-Cf-GM0CV.js → Chip-CO3WBvtA.js} +18 -18
- package/chunks/Confirm.module-Dhpj4ZKo.js +15 -0
- package/chunks/{DropdownListItem-Cy40lpF7.js → DropdownListItem-BQHOMeuh.js} +2 -2
- package/chunks/DropdownMobile.module-xbdFMKNS.js +23 -0
- package/chunks/Footer.module-C1SNucJG.js +9 -0
- package/chunks/{FormFieldInput-AMteABRz.js → FormFieldInput-BHKqXXmM.js} +7 -7
- package/chunks/HeaderLayoutSidebar.module-DwvmK73d.js +9 -0
- package/chunks/HeaderTabs.module-MEcJFqAB.js +9 -0
- package/chunks/{HeaderTitle.module-CWH4Qtxu.js → HeaderTitle.module-DejeYBva.js} +2 -2
- package/chunks/IslandAccordion.module-BxCqLPl3.js +25 -0
- package/chunks/IslandWidgetFooter.module-D1LPR8QN.js +9 -0
- package/chunks/IslandWidgetHeader.module-BM15zmJI.js +12 -0
- package/chunks/{LightBoxContent-OGbq-MPG.js → LightBoxContent-CAboXCdn.js} +5 -5
- package/chunks/LightBoxControls.module-DGtd3hzE.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-C1IxLp8t.js +8 -0
- package/chunks/{ListItemControlsButton-D5VCVobZ.js → ListItemControlsButton-rljKBmYs.js} +12 -12
- package/chunks/ListItemTail.module-DeeZQGZM.js +12 -0
- package/chunks/ListMasterFooter.module-Deinj_Hn.js +10 -0
- package/chunks/ModalWindow.module-B0rsZ6qC.js +17 -0
- package/chunks/Notification.module-nKn4mJRI.js +21 -0
- package/chunks/Overlay.module-DK5sjXuJ.js +18 -0
- package/chunks/Page.module-CUe-R8bM.js +11 -0
- package/chunks/{RightBorderArrow-Cg9t6wps.js → RightBorderArrow-VyofIz59.js} +10 -10
- package/chunks/SMSField.module-GiwLpUxs.js +16 -0
- package/chunks/SliderExtendedMarks.module-n3OIn4Fh.js +15 -0
- package/chunks/{SliderExtendedRail-C3YHkDdA.js → SliderExtendedRail-DgwS0MGB.js} +6 -6
- package/chunks/StatusTracker.module-BMReqWPL.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-DFpzFnw4.js → SuggestFieldMobileDropdownHint-BLejFeyH.js} +4 -4
- package/chunks/TableFooter.module-DFzmhqFH.js +14 -0
- package/chunks/TabsExtended.module-Dn0Lp5NZ.js +16 -0
- package/chunks/TabsLine.module-BXYAgYql.js +21 -0
- package/chunks/TooltipDesktop.module-Dabcv06X.js +19 -0
- package/chunks/TreeView.module-Bv5q9M8W.js +9 -0
- package/chunks/{UploadZoneInput-y4jP_J3Z.js → UploadZoneInput-CVEVGrOi.js} +4 -4
- package/chunks/{constants-BVwJOKSH.js → constants-RnOklYSN.js} +12 -12
- package/chunks/utils-BecQ3s95.js +24 -0
- package/chunks/utils-CgBTTmNc.js +73 -0
- package/chunks/utils-IR7tW0dD.js +20 -0
- package/chunks/{utils-C2wI3ypW.js → utils-mnZTG3vL.js} +9 -9
- package/components/Alert/AlertContext/AlertContext.js +14 -14
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +2 -2
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +8 -8
- package/components/Badge/Badge.js +11 -11
- package/components/Badge/BadgeDot.js +5 -5
- 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 +5 -5
- package/components/Button/Button.js +27 -27
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +1 -1
- package/components/Button/ButtonDropdownExtended.js +8 -8
- package/components/Button/ButtonIcon.js +4 -4
- package/components/Calendar/Calendar.js +17 -17
- package/components/Calendar/components/CalendarControls.js +9 -9
- 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 +13 -13
- 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 +6 -6
- package/components/Checkbox/Checkbox.js +2 -2
- package/components/Checkbox/CheckboxXGroup.js +9 -9
- package/components/Checkbox/CheckboxYGroup.js +6 -6
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +1 -1
- package/components/Chip/Chip.js +1 -1
- package/components/Chip/ChipClearButton.js +5 -5
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +8 -8
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +6 -6
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +2 -2
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +10 -10
- package/components/Col/Col.js +134 -134
- package/components/CollapsableTree/components/CollapsableTreeNode.js +5 -5
- package/components/Confirm/Confirm.js +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +1 -1
- package/components/Confirm/components/ConfirmContent.js +1 -1
- package/components/Confirm/components/ConfirmContentTitle.js +1 -1
- package/components/Confirm/components/ConfirmControls.js +1 -1
- package/components/DateField/DateField.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +1 -1
- package/components/DateRange/DateRange.js +10 -10
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/Divider/Divider.js +20 -20
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +4 -4
- package/components/Dropdown/desktop/DropdownDesktop.js +18 -18
- 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 +5 -5
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +8 -8
- package/components/ExpandAnimation/ExpandAnimation.js +9 -9
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +9 -9
- package/components/FormField/components/FormFieldClear.js +9 -9
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +3 -3
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +31 -30
- package/components/FormField/components/FormFieldMaskedInput.js +19 -19
- package/components/FormField/components/FormFieldPostfix.js +8 -8
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +19 -19
- package/components/FormField/components/FormFieldTextarea.js +7 -7
- 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 +5 -5
- 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 +7 -7
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +2 -2
- package/components/IslandWidget/IslandWidget.js +12 -12
- package/components/IslandWidget/components/IslandWidgetBody.js +1 -1
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +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 +7 -7
- 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 +8 -8
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +7 -7
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +7 -7
- package/components/Link/Link.js +15 -15
- package/components/List/List.js +7 -7
- package/components/List/components/ListEmptyState.js +3 -3
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +5 -5
- package/components/List/components/ListItemControls.js +6 -6
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +2 -2
- package/components/List/components/ListItemSelectable.js +4 -4
- package/components/List/components/ListItemTable.js +1 -1
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +5 -5
- package/components/List/components/ListSortableItemControls.js +1 -1
- package/components/List/components/ListSortableItemTarget.js +9 -9
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +1 -1
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +7 -7
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +8 -8
- package/components/Loader/LoaderSmall/LoaderSmall.js +13 -13
- package/components/LoaderScreen/LoaderScreen.js +12 -12
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +11 -11
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +4 -4
- package/components/ModalWindow/components/ModalWindowClose.js +1 -1
- 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/MultiselectField/components/MultiselectFieldDropdownContent.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +3 -3
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +6 -6
- 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/NotificationBodyContent.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/NotificationIcon/NotificationIcon.js +4 -4
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +2 -2
- package/components/OrderedList/OrderedListItem.js +11 -11
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayMask.js +13 -11
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Overlay/index.js +12 -0
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +7 -7
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +7 -7
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +4 -4
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +13 -13
- package/components/Radio/Radio.js +11 -11
- package/components/Radio/RadioXGroup.js +12 -12
- package/components/Radio/RadioYGroup.js +7 -7
- package/components/Row/Row.js +6 -6
- 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 +10 -10
- package/components/SegmentedControl/SegmentedControlSegment.js +14 -14
- package/components/SelectExtendedField/SelectExtendedField.js +4 -4
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +15 -15
- package/components/Skeleton/Skeleton.js +9 -9
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +7 -7
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +1 -1
- package/components/SliderExtended/components/SliderExtendedRail.js +1 -1
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +4 -4
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +19 -19
- package/components/SmallInput/SmallInput.js +5 -5
- package/components/Spoiler/Spoiler.js +16 -16
- 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 +5 -5
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +10 -10
- package/components/Stepper/StepperExtended.js +3 -3
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperWrapper.js +5 -5
- package/components/Suggest/SuggestMobileDropdownContent.js +10 -10
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +14 -14
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +15 -15
- package/components/Table/NoColumns.js +4 -4
- 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 +8 -8
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +9 -9
- 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 +1 -1
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +2 -2
- package/components/Table/TabsLinePanelLinks.js +5 -5
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +17 -17
- 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 +5 -5
- package/components/Tag/Tag.js +23 -23
- package/components/TagColor/TagColor.js +16 -16
- package/components/TagGroup/TagGroup.js +12 -12
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +10 -10
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +1 -1
- package/components/Tooltip/components/mobile/TooltipMobile.js +5 -5
- package/components/TopOverlay/TopOverlay.js +7 -7
- 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 +16 -16
- package/components/Typography/Text.js +22 -22
- package/components/Typography/Title.js +11 -11
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +8 -8
- package/components/UnorderedList/UnorderedListItem.js +6 -6
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +155 -146
- package/helpers/less/colors.less +110 -0
- package/index.d.ts +34 -4
- package/index.js +139 -130
- package/package.json +5 -1
- package/styles/triplex-next.css +546 -546
- package/chunks/Card.module-CoTlxJ6e.js +0 -17
- package/chunks/CheckboxTreeExtended.module-bZi9dSDw.js +0 -14
- package/chunks/Confirm.module-BI8PM4Hz.js +0 -15
- package/chunks/DropdownMobile.module-CiteH_xj.js +0 -23
- package/chunks/Footer.module-DnotaF0A.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-Bd_GF8rz.js +0 -9
- package/chunks/HeaderTabs.module-Cfl_jvQ5.js +0 -9
- package/chunks/IslandAccordion.module-C-ODuVTy.js +0 -25
- package/chunks/IslandWidgetFooter.module-BKWOZe3U.js +0 -9
- package/chunks/IslandWidgetHeader.module-iR-r9VBx.js +0 -12
- package/chunks/LightBoxControls.module-yMjZxWFf.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-DIr7bB-Q.js +0 -8
- package/chunks/ListItemTail.module-psSZKLRd.js +0 -12
- package/chunks/ListMasterFooter.module-B-sVcLFb.js +0 -10
- package/chunks/ModalWindow.module-kWUQDYW7.js +0 -17
- package/chunks/Notification.module-CglusCHB.js +0 -21
- package/chunks/Overlay.module-DrUdkKMZ.js +0 -18
- package/chunks/Page.module-BqOHwRFw.js +0 -11
- package/chunks/SMSField.module-Bu6Qam45.js +0 -16
- package/chunks/SliderExtendedMarks.module-BtIySKC1.js +0 -15
- package/chunks/StatusTracker.module-C6hh8Ogq.js +0 -24
- package/chunks/TableFooter.module-CD1rdwIS.js +0 -14
- package/chunks/TabsExtended.module-dt080T3c.js +0 -16
- package/chunks/TabsLine.module-BxpgcF_Y.js +0 -21
- package/chunks/TooltipDesktop.module-Dg73ZVxN.js +0 -19
- package/chunks/TreeView.module-IDSIrNif.js +0 -9
- package/chunks/utils-CnUVPndw.js +0 -20
- package/chunks/utils-DTJIF2M7.js +0 -24
- package/chunks/utils-DfZbK225.js +0 -73
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { useContext as
|
|
2
|
+
import { useContext as x } from "react";
|
|
3
3
|
import { c as L } from "../../chunks/vendor-Dlne6Znf.js";
|
|
4
4
|
import { ButtonBase as N } from "../Button/ButtonBase.js";
|
|
5
5
|
import { ESegmentedControlType as n } from "./enums.js";
|
|
6
6
|
import { SegmentedControlContext as _ } from "./SegmentedControlContext.js";
|
|
7
|
-
const y = "
|
|
7
|
+
const y = "segmentedControlSegment__fb5b2d43", E = "selected__a773896c", I = "content__b65abe2a", r = {
|
|
8
8
|
segmentedControlSegment: y,
|
|
9
9
|
selected: E,
|
|
10
10
|
content: I
|
|
@@ -19,17 +19,17 @@ const y = "segmentedControlSegment__e6d7867d", E = "selected__a5310217", I = "co
|
|
|
19
19
|
}) => {
|
|
20
20
|
const {
|
|
21
21
|
type: m,
|
|
22
|
-
value:
|
|
22
|
+
value: a,
|
|
23
23
|
disabled: p,
|
|
24
|
-
onSegmentSelect:
|
|
25
|
-
} =
|
|
24
|
+
onSegmentSelect: d
|
|
25
|
+
} = x(_), t = (() => {
|
|
26
26
|
switch (m) {
|
|
27
27
|
case n.SINGLE:
|
|
28
|
-
return e ===
|
|
28
|
+
return e === a;
|
|
29
29
|
case n.MULTIPLE:
|
|
30
|
-
return
|
|
30
|
+
return a.includes(e);
|
|
31
31
|
}
|
|
32
|
-
})(),
|
|
32
|
+
})(), b = L(
|
|
33
33
|
r.segmentedControlSegment,
|
|
34
34
|
{ [r.selected]: t },
|
|
35
35
|
"hoverable",
|
|
@@ -40,25 +40,25 @@ const y = "segmentedControlSegment__e6d7867d", E = "selected__a5310217", I = "co
|
|
|
40
40
|
return c;
|
|
41
41
|
if (typeof s == "string")
|
|
42
42
|
return s;
|
|
43
|
-
},
|
|
43
|
+
}, C = (u) => {
|
|
44
44
|
switch (m) {
|
|
45
45
|
case n.SINGLE:
|
|
46
|
-
|
|
46
|
+
d({ value: e, selected: !0 });
|
|
47
47
|
break;
|
|
48
48
|
case n.MULTIPLE:
|
|
49
|
-
|
|
49
|
+
d({ value: e, selected: !t });
|
|
50
50
|
break;
|
|
51
51
|
}
|
|
52
|
-
o == null || o(
|
|
52
|
+
o == null || o(u);
|
|
53
53
|
};
|
|
54
54
|
return /* @__PURE__ */ l(
|
|
55
55
|
N,
|
|
56
56
|
{
|
|
57
|
-
className:
|
|
57
|
+
className: b,
|
|
58
58
|
title: f(),
|
|
59
59
|
disabled: g || p,
|
|
60
60
|
"aria-pressed": t,
|
|
61
|
-
onClick:
|
|
61
|
+
onClick: C,
|
|
62
62
|
...S,
|
|
63
63
|
children: /* @__PURE__ */ l("span", { className: r.content, children: s })
|
|
64
64
|
}
|
|
@@ -5,11 +5,11 @@ import { KeyDownListener as N } from "../KeyDownListener/KeyDownListener.js";
|
|
|
5
5
|
import { c as j } from "../../chunks/vendor-Dlne6Znf.js";
|
|
6
6
|
import { SelectExtendedFieldTarget as k } from "./components/SelectExtendedFieldTarget.js";
|
|
7
7
|
import { SelectExtendedFieldDropdown as v } from "./components/SelectExtendedFieldDropdown.js";
|
|
8
|
-
const A = "
|
|
8
|
+
const A = "selectExtendedField__d78e3af0", L = {
|
|
9
9
|
selectExtendedField: A
|
|
10
10
|
}, M = Object.assign(
|
|
11
11
|
_.forwardRef((y, n) => {
|
|
12
|
-
const { className: D, onKeyDown: o, children: F, renderTarget: S, closeOnTab: m, onClose:
|
|
12
|
+
const { className: D, onKeyDown: o, children: F, renderTarget: S, closeOnTab: m, onClose: d, onOpen: s, ...g } = y, [t, l] = K(!1), i = x(null), u = x(null), h = (e) => {
|
|
13
13
|
i.current = e, typeof n == "function" ? n(e) : n && (n.current = e);
|
|
14
14
|
}, p = c((e) => {
|
|
15
15
|
l(e);
|
|
@@ -31,8 +31,8 @@ const A = "selectExtendedField__8e57e0ae", L = {
|
|
|
31
31
|
return w(() => (document.addEventListener("mousedown", a), () => {
|
|
32
32
|
document.removeEventListener("mousedown", a);
|
|
33
33
|
}), [a]), w(() => {
|
|
34
|
-
t ?
|
|
35
|
-
}, [t,
|
|
34
|
+
t ? s == null || s() : d == null || d();
|
|
35
|
+
}, [t, s, d]), /* @__PURE__ */ R(N, { onMatch: f, eventKeyCode: C.ESCAPE, children: /* @__PURE__ */ T(
|
|
36
36
|
"div",
|
|
37
37
|
{
|
|
38
38
|
className: j(L.selectExtendedField, D),
|
|
@@ -2,7 +2,7 @@ import { jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import "../../Dropdown/DropdownListContext.js";
|
|
3
3
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
4
4
|
import { DropdownList as m } from "../../Dropdown/desktop/DropdownList.js";
|
|
5
|
-
import "../../../chunks/DropdownListItem-
|
|
5
|
+
import "../../../chunks/DropdownListItem-BQHOMeuh.js";
|
|
6
6
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
7
7
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
8
8
|
import "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o, jsxs as b } from "react/jsx-runtime";
|
|
2
2
|
import M, { useRef as O } from "react";
|
|
3
3
|
import { CaretdownStrokeSrvIcon24 as z, CaretdownStrokeSrvIcon20 as B, CaretdownStrokeSrvIcon16 as W } from "@sberbusiness/icons-next";
|
|
4
|
-
import { EVENT_KEY_CODES as
|
|
4
|
+
import { EVENT_KEY_CODES as c } from "../../../utils/keyboard.js";
|
|
5
5
|
import { LoaderSmall as x } from "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
6
6
|
import { ELoaderSmallTheme as D } from "../../Loader/LoaderSmall/enum.js";
|
|
7
7
|
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
@@ -12,14 +12,14 @@ import "../../FormField/components/FormFieldCounter.js";
|
|
|
12
12
|
import { FormFieldLabel as v } from "../../FormField/components/FormFieldLabel.js";
|
|
13
13
|
import "../../FormField/components/FormFieldClear.js";
|
|
14
14
|
import { FormFieldTarget as w } from "../../FormField/components/FormFieldTarget.js";
|
|
15
|
-
import "../../../chunks/FormFieldInput-
|
|
15
|
+
import "../../../chunks/FormFieldInput-BHKqXXmM.js";
|
|
16
16
|
import "../../FormField/components/FormFieldMaskedInput.js";
|
|
17
17
|
import { FormFieldPostfix as y } from "../../FormField/components/FormFieldPostfix.js";
|
|
18
18
|
import { FormFieldPrefix as P } from "../../FormField/components/FormFieldPrefix.js";
|
|
19
19
|
import "../../FormField/components/FormFieldTextarea.js";
|
|
20
20
|
import { EFormFieldStatus as d } from "../../FormField/enums.js";
|
|
21
21
|
import { EComponentSize as r } from "../../../enums/EComponentSize.js";
|
|
22
|
-
const G = "
|
|
22
|
+
const G = "selectExtendedFieldTarget__a5213836", j = "caretWrapper__80572548", K = "caretIcon__42dabc58", U = "selectOpened__5098fb52", V = "disabled__98d3fb42", e = {
|
|
23
23
|
selectExtendedFieldTarget: G,
|
|
24
24
|
caretWrapper: j,
|
|
25
25
|
caretIcon: K,
|
|
@@ -34,7 +34,7 @@ const G = "selectExtendedFieldTarget__dbdd0fe9", j = "caretWrapper__417f0730", K
|
|
|
34
34
|
[r.MD]: /* @__PURE__ */ o(x, { size: r.MD, theme: D.BRAND }),
|
|
35
35
|
[r.LG]: /* @__PURE__ */ o(x, { size: r.LG, theme: D.BRAND })
|
|
36
36
|
}, H = M.forwardRef(
|
|
37
|
-
(u,
|
|
37
|
+
(u, i) => {
|
|
38
38
|
const {
|
|
39
39
|
children: J,
|
|
40
40
|
className: N,
|
|
@@ -46,7 +46,7 @@ const G = "selectExtendedFieldTarget__dbdd0fe9", j = "caretWrapper__417f0730", K
|
|
|
46
46
|
postfix: I,
|
|
47
47
|
prefix: h,
|
|
48
48
|
setOpened: F,
|
|
49
|
-
loading:
|
|
49
|
+
loading: s,
|
|
50
50
|
size: S = r.MD,
|
|
51
51
|
status: l,
|
|
52
52
|
tabIndex: Q,
|
|
@@ -56,21 +56,21 @@ const G = "selectExtendedFieldTarget__dbdd0fe9", j = "caretWrapper__417f0730", K
|
|
|
56
56
|
e.selectExtendedFieldTarget,
|
|
57
57
|
{
|
|
58
58
|
[e.selectOpened]: a,
|
|
59
|
-
[e.loading]:
|
|
59
|
+
[e.loading]: s,
|
|
60
60
|
[e.disabled]: l === d.DISABLED
|
|
61
61
|
},
|
|
62
62
|
N
|
|
63
63
|
), T = (t) => {
|
|
64
|
-
|
|
64
|
+
s && l === d.DISABLED || (F(!a), f == null || f(t));
|
|
65
65
|
}, A = (t) => {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
66
|
+
s && l === d.DISABLED || (a || [
|
|
67
|
+
c.SPACE,
|
|
68
|
+
c.ENTER,
|
|
69
|
+
c.ARROW_DOWN,
|
|
70
|
+
c.ARROW_UP
|
|
71
71
|
].includes(t.keyCode) && (t.preventDefault(), t.stopPropagation(), F(!a)), p == null || p(t));
|
|
72
72
|
}, C = (t) => {
|
|
73
|
-
R.current = t, typeof
|
|
73
|
+
R.current = t, typeof i == "function" ? i(t) : i && (i.current = t);
|
|
74
74
|
};
|
|
75
75
|
return /* @__PURE__ */ b(
|
|
76
76
|
k,
|
|
@@ -82,7 +82,7 @@ const G = "selectExtendedFieldTarget__dbdd0fe9", j = "caretWrapper__417f0730", K
|
|
|
82
82
|
className: g,
|
|
83
83
|
"aria-expanded": a,
|
|
84
84
|
"aria-haspopup": "listbox",
|
|
85
|
-
"data-tx": "1.
|
|
85
|
+
"data-tx": "1.18.0",
|
|
86
86
|
...L,
|
|
87
87
|
children: [
|
|
88
88
|
h ? /* @__PURE__ */ o(P, { className: n("hoverable", { disabled: l === d.DISABLED }), children: h }) : null,
|
|
@@ -107,7 +107,7 @@ const G = "selectExtendedFieldTarget__dbdd0fe9", j = "caretWrapper__417f0730", K
|
|
|
107
107
|
active: a,
|
|
108
108
|
disabled: l === d.DISABLED
|
|
109
109
|
}),
|
|
110
|
-
children:
|
|
110
|
+
children: s ? q[S] : Y[S]
|
|
111
111
|
}
|
|
112
112
|
),
|
|
113
113
|
I || null
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { c as n } from "../../chunks/vendor-Dlne6Znf.js";
|
|
3
3
|
import { ESkeletonType as t } from "./enums.js";
|
|
4
|
-
const r = "
|
|
4
|
+
const r = "skeleton__b6d0fdff", d = "light__df3fa5cf", k = "dark__99d6a548", o = {
|
|
5
5
|
skeleton: r,
|
|
6
|
-
light:
|
|
7
|
-
dark:
|
|
8
|
-
},
|
|
6
|
+
light: d,
|
|
7
|
+
dark: k
|
|
8
|
+
}, m = ({ className: e, type: s = t.DARK, ...l }) => /* @__PURE__ */ a(
|
|
9
9
|
"div",
|
|
10
10
|
{
|
|
11
|
-
className: n(o.skeleton,
|
|
12
|
-
[o.dark]:
|
|
13
|
-
[o.light]:
|
|
11
|
+
className: n(o.skeleton, e, {
|
|
12
|
+
[o.dark]: s === t.DARK,
|
|
13
|
+
[o.light]: s === t.LIGHT
|
|
14
14
|
}),
|
|
15
15
|
...l,
|
|
16
|
-
"data-tx": "1.
|
|
16
|
+
"data-tx": "1.18.0"
|
|
17
17
|
}
|
|
18
18
|
);
|
|
19
19
|
export {
|
|
20
|
-
|
|
20
|
+
m as Skeleton
|
|
21
21
|
};
|
|
22
22
|
//# sourceMappingURL=Skeleton.js.map
|
|
@@ -4,7 +4,7 @@ import { c as C, l as O } from "../../chunks/vendor-Dlne6Znf.js";
|
|
|
4
4
|
import { SliderExtendedDot as R } from "./components/SliderExtendedDot/SliderExtendedDot.js";
|
|
5
5
|
import { SliderExtendedMarks as j } from "./components/SliderExtendedMarks/SliderExtendedMarks.js";
|
|
6
6
|
import { SliderExtendedMark as H } from "./components/SliderExtendedMarks/SliderExtendedMark.js";
|
|
7
|
-
import { s as c, S as F } from "../../chunks/SliderExtendedRail-
|
|
7
|
+
import { s as c, S as F } from "../../chunks/SliderExtendedRail-DgwS0MGB.js";
|
|
8
8
|
import { SliderExtendedTrack as I } from "./components/SliderExtendedTrack/SliderExtendedTrack.js";
|
|
9
9
|
import { SliderExtendedContext as L } from "./SliderExtendedContext.js";
|
|
10
10
|
import { SliderExtendedUtils as x } from "./SliderExtendedUtils.js";
|
|
@@ -82,7 +82,7 @@ const q = U(c), w = ({
|
|
|
82
82
|
[c.disabled]: !!m
|
|
83
83
|
}),
|
|
84
84
|
...g,
|
|
85
|
-
"data-tx": "1.
|
|
85
|
+
"data-tx": "1.18.0",
|
|
86
86
|
children: E
|
|
87
87
|
}
|
|
88
88
|
)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as B, Fragment as b, jsx as f } from "react/jsx-runtime";
|
|
2
2
|
import { useState as a, useContext as re, useRef as le, useLayoutEffect as L, useEffect as ae } from "react";
|
|
3
3
|
import { u as ie, l as k, c as ne } from "../../../../chunks/vendor-Dlne6Znf.js";
|
|
4
4
|
import { SliderExtendedUtils as o } from "../../SliderExtendedUtils.js";
|
|
@@ -9,7 +9,7 @@ import { useSliderExtendedDotTabIndex as me } from "./useSliderExtendedDotTabInd
|
|
|
9
9
|
import { KeyDownListener as F } from "../../../KeyDownListener/KeyDownListener.js";
|
|
10
10
|
import { EVENT_KEY_CODES as p } from "../../../../utils/keyboard.js";
|
|
11
11
|
import { createSizeToClassNameMap as fe } from "../../../../utils/classNameMaps.js";
|
|
12
|
-
const pe = "
|
|
12
|
+
const pe = "sliderExtendedDot__99279a54", xe = "focusedByClick__9ad0d186", he = "disabled__51323513", ge = "dragByMouse__c866708f", De = "lg__68057309", i = {
|
|
13
13
|
sliderExtendedDot: pe,
|
|
14
14
|
focusedByClick: xe,
|
|
15
15
|
disabled: he,
|
|
@@ -92,17 +92,17 @@ const pe = "sliderExtendedDot__11336e06", xe = "focusedByClick__2d49c8eb", he =
|
|
|
92
92
|
}
|
|
93
93
|
}, T = (e) => {
|
|
94
94
|
e.cancelable && e.preventDefault(), n(!1), document.removeEventListener("touchend", T);
|
|
95
|
-
},
|
|
96
|
-
e.preventDefault(), O.moveToPrevStep(
|
|
95
|
+
}, I = () => z.filter((e) => e.id === l)[0], te = (e) => {
|
|
96
|
+
e.preventDefault(), O.moveToPrevStep(I(), s);
|
|
97
97
|
}, oe = (e) => {
|
|
98
|
-
e.preventDefault(), O.moveToNextStep(
|
|
98
|
+
e.preventDefault(), O.moveToNextStep(I(), s);
|
|
99
99
|
}, se = (e) => {
|
|
100
100
|
y || V(!0), N(!0), h == null || h(e);
|
|
101
101
|
}, de = (e) => {
|
|
102
102
|
y && V(!1), E(!1), N(!1), x == null || x(e);
|
|
103
103
|
};
|
|
104
|
-
return /* @__PURE__ */
|
|
105
|
-
W && /* @__PURE__ */
|
|
104
|
+
return /* @__PURE__ */ B(b, { children: [
|
|
105
|
+
W && /* @__PURE__ */ B(b, { children: [
|
|
106
106
|
/* @__PURE__ */ f(
|
|
107
107
|
F,
|
|
108
108
|
{
|
|
@@ -3,7 +3,7 @@ import C from "react";
|
|
|
3
3
|
import { SliderExtendedContext as M } from "../../SliderExtendedContext.js";
|
|
4
4
|
import { SliderExtendedMarkActions as s } from "./SliderExtendedMarkActions.js";
|
|
5
5
|
import { c as o } from "../../../../chunks/vendor-Dlne6Znf.js";
|
|
6
|
-
import { s as e } from "../../../../chunks/SliderExtendedMarks.module-
|
|
6
|
+
import { s as e } from "../../../../chunks/SliderExtendedMarks.module-n3OIn4Fh.js";
|
|
7
7
|
import { EComponentSize as z } from "../../../../enums/EComponentSize.js";
|
|
8
8
|
import { ETextSize as c } from "../../../Typography/enums.js";
|
|
9
9
|
import { Text as N } from "../../../Typography/Text.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { c as d } from "../../../../chunks/vendor-Dlne6Znf.js";
|
|
3
|
-
import { s as a } from "../../../../chunks/SliderExtendedMarks.module-
|
|
3
|
+
import { s as a } from "../../../../chunks/SliderExtendedMarks.module-n3OIn4Fh.js";
|
|
4
4
|
const t = ({ className: s, ...e }) => /* @__PURE__ */ r("div", { className: d(a.sliderExtendedMarks, s), ...e });
|
|
5
5
|
t.displayName = "SliderExtendedMarks";
|
|
6
6
|
export {
|
|
@@ -3,7 +3,7 @@ import "react";
|
|
|
3
3
|
import "../SliderExtendedContext.js";
|
|
4
4
|
import "../SliderExtendedUtils.js";
|
|
5
5
|
import "../../../chunks/vendor-Dlne6Znf.js";
|
|
6
|
-
import { S as d } from "../../../chunks/SliderExtendedRail-
|
|
6
|
+
import { S as d } from "../../../chunks/SliderExtendedRail-DgwS0MGB.js";
|
|
7
7
|
export {
|
|
8
8
|
d as SliderExtendedRail
|
|
9
9
|
};
|
|
@@ -3,7 +3,7 @@ import r from "react";
|
|
|
3
3
|
import { SliderExtendedContext as _ } from "../../SliderExtendedContext.js";
|
|
4
4
|
import { c as e } from "../../../../chunks/vendor-Dlne6Znf.js";
|
|
5
5
|
import { createSizeToClassNameMap as v } from "../../../../utils/classNameMaps.js";
|
|
6
|
-
const E = "
|
|
6
|
+
const E = "sliderExtendedTooltipOverlay__e6dd8557", C = "lg__68057309", N = "tooltipBody__03b0a649", O = "tooltipTip__63cf56b4", t = {
|
|
7
7
|
sliderExtendedTooltipOverlay: E,
|
|
8
8
|
lg: C,
|
|
9
9
|
tooltipBody: N,
|
|
@@ -13,18 +13,18 @@ const E = "sliderExtendedTooltipOverlay__98ac4217", C = "lg__58701d16", N = "too
|
|
|
13
13
|
children: d,
|
|
14
14
|
...c
|
|
15
15
|
}) => {
|
|
16
|
-
const o = r.useRef(null), { min: l, max:
|
|
16
|
+
const o = r.useRef(null), { min: l, max: p, size: a } = r.useContext(_), m = () => {
|
|
17
17
|
var s;
|
|
18
18
|
if (!o.current || i === void 0)
|
|
19
19
|
return 0;
|
|
20
|
-
const f = 8, x = 16, T = ((s = o.current) == null ? void 0 : s.clientWidth) || 0, u = (i - l) / (
|
|
20
|
+
const f = 8, x = 16, T = ((s = o.current) == null ? void 0 : s.clientWidth) || 0, u = (i - l) / (p - l);
|
|
21
21
|
return (T / 2 - f - x) * (1 - 2 * u);
|
|
22
22
|
};
|
|
23
23
|
return /* @__PURE__ */ y(
|
|
24
24
|
"div",
|
|
25
25
|
{
|
|
26
26
|
ref: o,
|
|
27
|
-
className: e(t.sliderExtendedTooltipOverlay, h[
|
|
27
|
+
className: e(t.sliderExtendedTooltipOverlay, h[a]),
|
|
28
28
|
...c,
|
|
29
29
|
children: [
|
|
30
30
|
/* @__PURE__ */ n("div", { className: e(t.tooltipBody), style: { left: `${m()}px` }, children: d }),
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsxs as B, Fragment as L, jsx as h } from "react/jsx-runtime";
|
|
2
|
-
import { useState as
|
|
3
|
-
import { l as X, c as
|
|
4
|
-
import { SliderExtendedContext as
|
|
2
|
+
import { useState as d, useContext as de, useRef as O, useLayoutEffect as P } from "react";
|
|
3
|
+
import { l as X, c as le } from "../../../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
+
import { SliderExtendedContext as ce } from "../../SliderExtendedContext.js";
|
|
5
5
|
import { SliderExtendedMoveHandler as ae } from "../SliderExtendedMoveHandler.js";
|
|
6
6
|
import { SliderExtendedUtils as z } from "../../SliderExtendedUtils.js";
|
|
7
|
-
import { SliderExtendedTrackActions as
|
|
7
|
+
import { SliderExtendedTrackActions as l } from "./SliderExtendedTrackActions.js";
|
|
8
8
|
import { EVENT_KEY_CODES as g } from "../../../../utils/keyboard.js";
|
|
9
9
|
import { KeyDownListener as F } from "../../../KeyDownListener/KeyDownListener.js";
|
|
10
10
|
import { createSizeToClassNameMap as ie } from "../../../../utils/classNameMaps.js";
|
|
11
|
-
const ne = "
|
|
11
|
+
const ne = "sliderExtendedTrack__dde36d52", ue = "lg__68057309", fe = "focusedByClick__9ad0d186", me = "hoverOrDragByMouse__0951d8bc", he = "staticSlider__045fa770", ge = "disabled__51323513", o = {
|
|
12
12
|
sliderExtendedTrack: ne,
|
|
13
13
|
lg: ue,
|
|
14
14
|
focusedByClick: fe,
|
|
@@ -26,7 +26,7 @@ const ne = "sliderExtendedTrack__2e86d18a", ue = "lg__58701d16", fe = "focusedBy
|
|
|
26
26
|
onTouchStart: y,
|
|
27
27
|
...A
|
|
28
28
|
}) => {
|
|
29
|
-
const [W,
|
|
29
|
+
const [W, C] = d(!1), [c, S] = d(!1), [H, v] = d(!1), [V, a] = d(!1), [U, b] = d(-1), {
|
|
30
30
|
disabled: M,
|
|
31
31
|
dots: s,
|
|
32
32
|
focused: i,
|
|
@@ -37,11 +37,11 @@ const ne = "sliderExtendedTrack__2e86d18a", ue = "lg__58701d16", fe = "focusedBy
|
|
|
37
37
|
setFocused: R,
|
|
38
38
|
steps: u,
|
|
39
39
|
size: $
|
|
40
|
-
} = ce
|
|
40
|
+
} = de(ce), f = O(0), m = O(null);
|
|
41
41
|
if (P(() => {
|
|
42
|
-
s.length > 1 && k ?
|
|
42
|
+
s.length > 1 && k ? c || S(!0) : c !== !1 && S(!1);
|
|
43
43
|
}, [s, k]), P(() => {
|
|
44
|
-
s.length > 1 &&
|
|
44
|
+
s.length > 1 && b(i ? 2 : -1);
|
|
45
45
|
}, [i]), !s.length)
|
|
46
46
|
return null;
|
|
47
47
|
const w = (e) => (t) => {
|
|
@@ -49,7 +49,7 @@ const ne = "sliderExtendedTrack__2e86d18a", ue = "lg__58701d16", fe = "focusedBy
|
|
|
49
49
|
cursorXPosition: t.clientX,
|
|
50
50
|
railNode: r
|
|
51
51
|
})), e(t), x == null || x(t);
|
|
52
|
-
}, G = (e) =>
|
|
52
|
+
}, G = (e) => l.dragDots({
|
|
53
53
|
cursorPrevNormalizedValue: f,
|
|
54
54
|
cursorXPosition: e.clientX,
|
|
55
55
|
dots: s,
|
|
@@ -64,7 +64,7 @@ const ne = "sliderExtendedTrack__2e86d18a", ue = "lg__58701d16", fe = "focusedBy
|
|
|
64
64
|
railNode: r
|
|
65
65
|
})), e(t), y == null || y(t));
|
|
66
66
|
}, q = (e) => {
|
|
67
|
-
e.touches.length == 1 && (e.cancelable && e.preventDefault(),
|
|
67
|
+
e.touches.length == 1 && (e.cancelable && e.preventDefault(), l.dragDots({
|
|
68
68
|
cursorPrevNormalizedValue: f,
|
|
69
69
|
cursorXPosition: e.touches[0].clientX,
|
|
70
70
|
dots: s,
|
|
@@ -75,18 +75,18 @@ const ne = "sliderExtendedTrack__2e86d18a", ue = "lg__58701d16", fe = "focusedBy
|
|
|
75
75
|
}, I = (e) => {
|
|
76
76
|
e.cancelable && e.preventDefault(), a(!1), e.target !== m.current && n(!1), document.removeEventListener("touchend", I);
|
|
77
77
|
}, J = (e) => {
|
|
78
|
-
e.preventDefault(),
|
|
78
|
+
e.preventDefault(), l.moveToPrevStep(s, u);
|
|
79
79
|
}, Q = (e) => {
|
|
80
|
-
e.preventDefault(),
|
|
80
|
+
e.preventDefault(), l.moveToNextStep(s, u);
|
|
81
81
|
}, Z = (e) => {
|
|
82
|
-
i || R(!0),
|
|
82
|
+
i || R(!0), C(!0), E == null || E(e);
|
|
83
83
|
}, ee = (e) => {
|
|
84
|
-
i && R(!1), v(!1),
|
|
84
|
+
i && R(!1), v(!1), C(!1), p == null || p(e);
|
|
85
85
|
}, te = (e) => {
|
|
86
86
|
n(!0), D == null || D(e);
|
|
87
87
|
}, se = (e) => {
|
|
88
88
|
V || n(!1), T == null || T(e);
|
|
89
|
-
}, { left: re, right: oe } =
|
|
89
|
+
}, { left: re, right: oe } = l.getTrackPosition({ dots: s, reverse: _ });
|
|
90
90
|
return /* @__PURE__ */ B(L, { children: [
|
|
91
91
|
W && /* @__PURE__ */ B(L, { children: [
|
|
92
92
|
/* @__PURE__ */ h(
|
|
@@ -114,14 +114,14 @@ const ne = "sliderExtendedTrack__2e86d18a", ue = "lg__58701d16", fe = "focusedBy
|
|
|
114
114
|
"span",
|
|
115
115
|
{
|
|
116
116
|
role: "button",
|
|
117
|
-
tabIndex: !M &&
|
|
117
|
+
tabIndex: !M && c ? U : -1,
|
|
118
118
|
...A,
|
|
119
|
-
className:
|
|
119
|
+
className: le(o.sliderExtendedTrack, pe[$], K, {
|
|
120
120
|
[o.disabled]: M,
|
|
121
121
|
[o.focusedByClick]: H,
|
|
122
122
|
[o.hoverOrDragByMouse]: j,
|
|
123
123
|
// Не перетаскиваемый.
|
|
124
|
-
[o.staticSlider]: !
|
|
124
|
+
[o.staticSlider]: !c
|
|
125
125
|
}),
|
|
126
126
|
onBlur: ee,
|
|
127
127
|
onFocus: Z,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import m from "react";
|
|
3
3
|
import { c as p } from "../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
-
const
|
|
5
|
-
smallInput:
|
|
6
|
-
},
|
|
7
|
-
|
|
4
|
+
const e = "smallInput__efe4d983", o = {
|
|
5
|
+
smallInput: e
|
|
6
|
+
}, n = m.forwardRef(({ className: t, ...l }, s) => /* @__PURE__ */ a("input", { className: p(o.smallInput, t), ...l, type: "text", ref: s }));
|
|
7
|
+
n.displayName = "SmallInput";
|
|
8
8
|
export {
|
|
9
|
-
|
|
9
|
+
n as SmallInput
|
|
10
10
|
};
|
|
11
11
|
//# sourceMappingURL=SmallInput.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as a, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import z, { useState as T, useRef as E, useCallback as w } from "react";
|
|
3
3
|
import { CaretdownStrokeSrvIcon20 as p, CaretdownStrokeSrvIcon16 as B } from "@sberbusiness/icons-next";
|
|
4
4
|
import { Button as L } from "../Button/Button.js";
|
|
@@ -7,10 +7,10 @@ import "../Button/ButtonIcon.js";
|
|
|
7
7
|
import "../Button/ButtonDropdown.js";
|
|
8
8
|
import "../Button/ButtonDropdownExtended.js";
|
|
9
9
|
import { EButtonTheme as R } from "../Button/enums.js";
|
|
10
|
-
import { EComponentSize as
|
|
10
|
+
import { EComponentSize as s } from "../../enums/EComponentSize.js";
|
|
11
11
|
import { createSizeToClassNameMap as g } from "../../utils/classNameMaps.js";
|
|
12
|
-
import { u as j, c as
|
|
13
|
-
const y = "
|
|
12
|
+
import { u as j, c as _ } from "../../chunks/vendor-Dlne6Znf.js";
|
|
13
|
+
const y = "spoiler__68ed5236", D = "opened__d475daf7", q = "caretIcon__91341b72", A = "head__51935aee", G = "content__49807cc4", H = "hidden__a1a4e869", K = "lg__83098502", $ = "md__106b47b4", F = "sm__75d751c4", e = {
|
|
14
14
|
spoiler: y,
|
|
15
15
|
opened: D,
|
|
16
16
|
caretIcon: q,
|
|
@@ -21,25 +21,25 @@ const y = "spoiler__f611c3a9", D = "opened__52c0d8f8", q = "caretIcon__c6c25c2d"
|
|
|
21
21
|
md: $,
|
|
22
22
|
sm: F
|
|
23
23
|
}, J = {
|
|
24
|
-
[
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
}, O = g(e), P = z.forwardRef((
|
|
24
|
+
[s.SM]: /* @__PURE__ */ a(B, { paletteIndex: 5, className: e.caretIcon }),
|
|
25
|
+
[s.MD]: /* @__PURE__ */ a(p, { paletteIndex: 5, className: e.caretIcon }),
|
|
26
|
+
[s.LG]: /* @__PURE__ */ a(p, { paletteIndex: 5, className: e.caretIcon })
|
|
27
|
+
}, O = g(e), P = z.forwardRef((h, I) => {
|
|
28
28
|
const {
|
|
29
|
-
children:
|
|
30
|
-
expanded:
|
|
29
|
+
children: f,
|
|
30
|
+
expanded: c,
|
|
31
31
|
onToggle: o,
|
|
32
32
|
toggle: n,
|
|
33
33
|
className: x,
|
|
34
34
|
labelExpand: S,
|
|
35
35
|
labelCollapse: u,
|
|
36
36
|
rightBlock: N,
|
|
37
|
-
size: r =
|
|
38
|
-
...
|
|
39
|
-
} =
|
|
37
|
+
size: r = s.MD,
|
|
38
|
+
...C
|
|
39
|
+
} = h, d = c !== void 0, [b, v] = T(c), t = d ? c : b, m = E(`Spoiler-${j()}`), M = w(() => {
|
|
40
40
|
const i = !t;
|
|
41
41
|
d ? n == null || n(i) : v(i), o == null || o(i);
|
|
42
|
-
}, [d, n, t, o]), k =
|
|
42
|
+
}, [d, n, t, o]), k = _(
|
|
43
43
|
e.spoiler,
|
|
44
44
|
O[r],
|
|
45
45
|
{
|
|
@@ -47,7 +47,7 @@ const y = "spoiler__f611c3a9", D = "opened__52c0d8f8", q = "caretIcon__c6c25c2d"
|
|
|
47
47
|
},
|
|
48
48
|
x
|
|
49
49
|
);
|
|
50
|
-
return /* @__PURE__ */ l("div", { ...
|
|
50
|
+
return /* @__PURE__ */ l("div", { ...C, className: k, "data-tx": "1.18.0", ref: I, children: [
|
|
51
51
|
/* @__PURE__ */ l("div", { className: e.head, children: [
|
|
52
52
|
/* @__PURE__ */ l(
|
|
53
53
|
L,
|
|
@@ -65,7 +65,7 @@ const y = "spoiler__f611c3a9", D = "opened__52c0d8f8", q = "caretIcon__c6c25c2d"
|
|
|
65
65
|
),
|
|
66
66
|
N
|
|
67
67
|
] }),
|
|
68
|
-
/* @__PURE__ */
|
|
68
|
+
/* @__PURE__ */ a("div", { id: m.current, className: _(e.content, { [e.hidden]: !t }), children: f })
|
|
69
69
|
] });
|
|
70
70
|
});
|
|
71
71
|
P.displayName = "Spoiler";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as n, jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import p from "react";
|
|
3
3
|
import { c as a } from "../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
-
import { s as r } from "../../chunks/StatusTracker.module-
|
|
4
|
+
import { s as r } from "../../chunks/StatusTracker.module-BMReqWPL.js";
|
|
5
5
|
import { EStatusTrackerType as t, EStatusTrackerVerticalAlign as o } from "./enums.js";
|
|
6
6
|
import { StatusTrackerMedia as u } from "./components/StatusTrackerMedia.js";
|
|
7
7
|
import { StatusTrackerHeader as k } from "./components/StatusTrackerHeader.js";
|
|
@@ -23,7 +23,7 @@ const c = {
|
|
|
23
23
|
className: a(r.statusTrackerWrapper, m),
|
|
24
24
|
...d,
|
|
25
25
|
ref: T,
|
|
26
|
-
"data-tx": "1.
|
|
26
|
+
"data-tx": "1.18.0",
|
|
27
27
|
children: [
|
|
28
28
|
/* @__PURE__ */ s("div", { className: a(r.statusTrackerBackground, c[e]), children: /* @__PURE__ */ s("div", { className: a(r.statusTrackerColor, c[e]) }) }, e),
|
|
29
29
|
/* @__PURE__ */ s("div", { className: a(r.statusTracker, S[l]), children: i })
|
|
@@ -3,7 +3,7 @@ import { c as m } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
|
3
3
|
import "../../Alert/AlertContext/AlertContext.js";
|
|
4
4
|
import { AlertProcess as i } from "../../Alert/AlertProcess/AlertProcess.js";
|
|
5
5
|
import "../../Alert/AlertTypeUtils.js";
|
|
6
|
-
import { s as p } from "../../../chunks/StatusTracker.module-
|
|
6
|
+
import { s as p } from "../../../chunks/StatusTracker.module-BMReqWPL.js";
|
|
7
7
|
import { ETextSize as c, EFontType as a } from "../../Typography/enums.js";
|
|
8
8
|
import "../../Typography/Caption.js";
|
|
9
9
|
import { Text as l } from "../../Typography/Text.js";
|
|
@@ -3,7 +3,7 @@ import e from "react";
|
|
|
3
3
|
import { c as m } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
4
4
|
import { StatusTrackerStatus as c } from "./StatusTrackerStatus.js";
|
|
5
5
|
import { StatusTrackerAlert as i } from "./StatusTrackerAlert.js";
|
|
6
|
-
import { s as u } from "../../../chunks/StatusTracker.module-
|
|
6
|
+
import { s as u } from "../../../chunks/StatusTracker.module-BMReqWPL.js";
|
|
7
7
|
const f = Object.assign(
|
|
8
8
|
e.forwardRef(function({ children: t, className: r, ...a }, s) {
|
|
9
9
|
return /* @__PURE__ */ o("div", { className: m(u.statusTrackerChild, r), ...a, ref: s, children: t });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { c as a } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
3
|
-
import { s as c } from "../../../chunks/StatusTracker.module-
|
|
3
|
+
import { s as c } from "../../../chunks/StatusTracker.module-BMReqWPL.js";
|
|
4
4
|
import { Button as e } from "../../Button/Button.js";
|
|
5
5
|
import "../../Button/ButtonBase.js";
|
|
6
6
|
import "../../Button/ButtonIcon.js";
|
|
@@ -4,7 +4,7 @@ import { ETextSize as m, EFontType as p } from "../../Typography/enums.js";
|
|
|
4
4
|
import "../../Typography/Caption.js";
|
|
5
5
|
import { Text as c } from "../../Typography/Text.js";
|
|
6
6
|
import "../../Typography/Title.js";
|
|
7
|
-
import { s as a } from "../../../chunks/StatusTracker.module-
|
|
7
|
+
import { s as a } from "../../../chunks/StatusTracker.module-BMReqWPL.js";
|
|
8
8
|
const D = (r) => {
|
|
9
9
|
const { children: t, className: s, ...o } = r;
|
|
10
10
|
return /* @__PURE__ */ e(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import c from "react";
|
|
3
3
|
import { c as i } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
-
import { s as r } from "../../../chunks/StatusTracker.module-
|
|
4
|
+
import { s as r } from "../../../chunks/StatusTracker.module-BMReqWPL.js";
|
|
5
5
|
import { StatusTrackerDescription as m } from "./StatusTrackerDescription.js";
|
|
6
6
|
import { StatusTrackerButton as p } from "./StatusTrackerButton.js";
|
|
7
7
|
const u = Object.assign(
|
|
@@ -4,7 +4,7 @@ import { c as i } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
|
4
4
|
import { StatusTrackerDescription as m } from "./StatusTrackerDescription.js";
|
|
5
5
|
import { StatusTrackerTitle as c } from "./StatusTrackerTitle.js";
|
|
6
6
|
import { StatusTrackerSum as u } from "./StatusTrackerSum.js";
|
|
7
|
-
import { s as f } from "../../../chunks/StatusTracker.module-
|
|
7
|
+
import { s as f } from "../../../chunks/StatusTracker.module-BMReqWPL.js";
|
|
8
8
|
const p = Object.assign(
|
|
9
9
|
o.forwardRef(function({ children: r, className: t, ...a }, e) {
|
|
10
10
|
return /* @__PURE__ */ s("div", { className: i(f.statusTrackerChild, t), ...a, ref: e, children: r });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { c } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
3
|
-
import { s as o } from "../../../chunks/StatusTracker.module-
|
|
3
|
+
import { s as o } from "../../../chunks/StatusTracker.module-BMReqWPL.js";
|
|
4
4
|
const d = (s) => {
|
|
5
5
|
const { children: r, className: t, ...a } = s;
|
|
6
6
|
return /* @__PURE__ */ e("div", { className: c(o.statusTrackerChild, t), ...a, children: r });
|