@sberbusiness/triplex-next 1.17.0 → 1.19.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-QOnBvPaB.js +39 -0
- package/chunks/CalendarViewItem-JEkNv5BF.js +101 -0
- package/chunks/Card.module-B-kskzDu.js +17 -0
- package/chunks/CheckboxTreeExtended.module-CZUMscf2.js +14 -0
- package/chunks/{Chip-Cf-GM0CV.js → Chip-Hpw_8UIG.js} +12 -12
- package/chunks/Confirm.module-BCr1BTe_.js +15 -0
- package/chunks/DropdownListItem-DkfeETTd.js +65 -0
- package/chunks/DropdownMobile.module-GswY2cBC.js +23 -0
- package/chunks/Footer.module-eHCIMM8b.js +9 -0
- package/chunks/{FormFieldInput-AMteABRz.js → FormFieldInput-Bf7Hleek.js} +2 -2
- package/chunks/HeaderLayoutSidebar.module-DylAdbY5.js +9 -0
- package/chunks/HeaderTabs.module-ePuFE0tR.js +9 -0
- package/chunks/{HeaderTitle.module-CWH4Qtxu.js → HeaderTitle.module-CKSdXcBH.js} +2 -2
- package/chunks/IslandAccordion.module-CSfaBgt7.js +25 -0
- package/chunks/IslandWidgetFooter.module-Njc7vX7n.js +9 -0
- package/chunks/IslandWidgetHeader.module-Boy2QpEU.js +12 -0
- package/chunks/{LightBoxContent-OGbq-MPG.js → LightBoxContent-BhMRbJFV.js} +13 -13
- package/chunks/LightBoxControls.module-BIML4FtD.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-DO3lZMTa.js +8 -0
- package/chunks/{ListItemControlsButton-D5VCVobZ.js → ListItemControlsButton-WjTBGtRH.js} +12 -12
- package/chunks/ListItemTail.module-DbwOPqPM.js +12 -0
- package/chunks/ListMasterFooter.module-C_iN2cC2.js +10 -0
- package/chunks/ModalWindow.module-BHzR_A-u.js +17 -0
- package/chunks/Notification.module-DKVKCNAc.js +20 -0
- package/chunks/Overlay.module-BA4wfORe.js +18 -0
- package/chunks/Page.module-ClDxwmIg.js +11 -0
- package/chunks/{RightBorderArrow-Cg9t6wps.js → RightBorderArrow-DzKQo2fL.js} +11 -11
- package/chunks/SMSField.module-Bzh5rJPE.js +16 -0
- package/chunks/SliderExtendedMarks.module-CxeVaMq1.js +15 -0
- package/chunks/SliderExtendedRail-Cb5r_qJ5.js +40 -0
- package/chunks/StatusTracker.module-BML0rfx7.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-DFpzFnw4.js → SuggestFieldMobileDropdownHint-B1GcRtym.js} +4 -4
- package/chunks/TableFooter.module-CSQttYnz.js +14 -0
- package/chunks/TabsExtended.module-Dd8drRUU.js +16 -0
- package/chunks/TabsLine.module-BByAjI5u.js +21 -0
- package/chunks/TooltipDesktop.module-FxzkC1sv.js +19 -0
- package/chunks/TreeView.module-Cm7rvpYW.js +9 -0
- package/chunks/{UploadZoneInput-y4jP_J3Z.js → UploadZoneInput-BYWNSrDW.js} +2 -2
- package/chunks/{constants-BVwJOKSH.js → constants-nPkk17A0.js} +12 -12
- package/chunks/utils-9cQ-Vroa.js +73 -0
- package/chunks/utils-DjcQ_hhv.js +27 -0
- package/chunks/{utils-DTJIF2M7.js → utils-OZcknB0Z.js} +6 -6
- package/chunks/utils-v_hn9TAd.js +18 -0
- package/components/Alert/AlertContext/AlertContext.js +10 -10
- 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 +10 -10
- package/components/Badge/Badge.js +9 -9
- package/components/Badge/BadgeDot.js +9 -9
- package/components/Badge/components/BadgeContent.js +16 -16
- package/components/Badge/components/BadgePostfix.js +8 -8
- package/components/Badge/components/BadgePrefix.js +1 -1
- package/components/Body/Body.js +6 -6
- package/components/Button/Button.js +29 -29
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +17 -17
- package/components/Button/ButtonDropdownExtended.js +8 -8
- package/components/Button/ButtonIcon.js +6 -6
- package/components/Calendar/Calendar.js +2 -2
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +1 -1
- package/components/Calendar/components/CalendarViewItem.js +1 -1
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +16 -16
- 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 +9 -9
- package/components/Checkbox/CheckboxYGroup.js +4 -4
- 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 +14 -14
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +13 -14
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +24 -17
- package/components/Chip/ChipOptions.js +2 -2
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +25 -24
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +6 -6
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +12 -12
- 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 +6 -6
- package/components/DateRange/DateRange.js +4 -4
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/Divider/Divider.js +20 -20
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +1 -1
- package/components/Dropdown/desktop/DropdownDesktop.js +7 -7
- package/components/Dropdown/desktop/DropdownList.js +9 -8
- package/components/Dropdown/desktop/DropdownListItem.js +4 -3
- 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 +6 -6
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +16 -15
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +2 -2
- package/components/Ellipsis/Ellipsis.js +13 -13
- package/components/ExpandAnimation/ExpandAnimation.js +1 -1
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +9 -9
- package/components/FormField/components/FormFieldClear.js +7 -7
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +5 -5
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +31 -30
- package/components/FormField/components/FormFieldMaskedInput.js +5 -5
- package/components/FormField/components/FormFieldPostfix.js +8 -8
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +16 -16
- package/components/FormField/components/FormFieldTextarea.js +4 -4
- 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/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 +1 -1
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +2 -2
- package/components/IslandWidget/IslandWidget.js +5 -5
- 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 +4 -4
- package/components/LightBox/LightBox.js +13 -13
- 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 +20 -20
- 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 +7 -7
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +3 -3
- package/components/Link/Link.js +24 -24
- package/components/List/List.js +8 -8
- package/components/List/components/ListEmptyState.js +3 -3
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +6 -6
- package/components/List/components/ListItemControls.js +5 -5
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +3 -3
- package/components/List/components/ListItemSelectable.js +4 -4
- package/components/List/components/ListItemTable.js +3 -3
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +1 -1
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +6 -6
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +5 -5
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +7 -7
- package/components/ListMaster/components/SelectionControls.js +6 -6
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +8 -8
- package/components/Loader/LoaderSmall/LoaderSmall.js +17 -17
- package/components/LoaderScreen/LoaderScreen.js +12 -12
- package/components/Marker/Marker.js +7 -16
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +15 -15
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +1 -1
- package/components/ModalWindow/components/ModalWindowClose.js +3 -3
- 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 +12 -11
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +3 -3
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +1 -1
- 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 +6 -5
- 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 +4 -4
- 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 +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 +8 -8
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +9 -9
- package/components/Radio/Radio.js +16 -16
- package/components/Radio/RadioXGroup.js +12 -12
- package/components/Radio/RadioYGroup.js +1 -1
- 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 +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +23 -23
- package/components/Skeleton/Skeleton.js +9 -9
- 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 +10 -10
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +19 -19
- package/components/SmallInput/SmallInput.js +1 -1
- package/components/Spoiler/Spoiler.js +18 -18
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +7 -9
- 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 +8 -8
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +1 -1
- package/components/Stepper/StepperExtended.js +5 -5
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperWrapper.js +4 -4
- package/components/Suggest/SuggestMobileDropdownContent.js +8 -8
- 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 +18 -18
- package/components/Table/NoColumns.js +9 -9
- package/components/Table/PaginationPanel.js +4 -4
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +9 -9
- 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 +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 +5 -5
- package/components/Table/TabsLinePanelLinks.js +5 -5
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +19 -19
- 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 +16 -16
- 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 +31 -31
- package/components/TabsLine/components/TabsLineMobile.js +7 -7
- package/components/Tag/Tag.js +11 -11
- package/components/TagColor/TagColor.js +13 -13
- 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 +13 -13
- 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 +8 -8
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Typography/Caption.js +15 -15
- package/components/Typography/Text.js +25 -25
- package/components/Typography/Title.js +12 -12
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +6 -6
- package/components/UnorderedList/UnorderedListItem.js +6 -6
- package/components/UploadZone/UploadZone.js +74 -65
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +313 -306
- package/helpers/less/colors.less +110 -0
- package/index.d.ts +44 -17
- package/index.js +147 -140
- package/package.json +5 -5
- package/styles/triplex-next.css +546 -546
- package/chunks/AlertProcessSpoiler-t7fDdqO9.js +0 -39
- package/chunks/CalendarViewItem-C2DNB4Jw.js +0 -101
- 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/DropdownListItem-Cy40lpF7.js +0 -63
- 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/SliderExtendedRail-C3YHkDdA.js +0 -40
- 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-C2wI3ypW.js +0 -27
- package/chunks/utils-CnUVPndw.js +0 -20
- package/chunks/utils-DfZbK225.js +0 -73
- package/components/NotificationIcon/NotificationIcon.js +0 -10
- package/components/NotificationIcon/index.js +0 -5
|
@@ -2,10 +2,10 @@ import { ESegmentedControlTheme as o, ESegmentedControlType as m } from "./enums
|
|
|
2
2
|
import { SegmentedControlSegment as y } from "./SegmentedControlSegment.js";
|
|
3
3
|
import { jsx as c } from "react/jsx-runtime";
|
|
4
4
|
import E from "react";
|
|
5
|
-
import { c as
|
|
6
|
-
import { SegmentedControlContext as
|
|
7
|
-
import { createSizeToClassNameMap as
|
|
8
|
-
const h = "
|
|
5
|
+
import { c as b } from "../../chunks/vendor-Dlne6Znf.js";
|
|
6
|
+
import { SegmentedControlContext as R } from "./SegmentedControlContext.js";
|
|
7
|
+
import { createSizeToClassNameMap as T } from "../../utils/classNameMaps.js";
|
|
8
|
+
const h = "segmentedControl__d7e3b95b", x = "general1__c6879d09", L = "secondary1__c441ba54", A = "general2__00874414", M = "secondary2__0b44c50e", G = "sm__b099dd95", O = "md__5648b7f5", j = "lg__686a941d", e = {
|
|
9
9
|
segmentedControl: h,
|
|
10
10
|
general1: x,
|
|
11
11
|
secondary1: L,
|
|
@@ -19,10 +19,10 @@ const h = "segmentedControl__036fa566", x = "general1__f1e9465e", L = "secondary
|
|
|
19
19
|
[o.GENERAL_2]: e.general2,
|
|
20
20
|
[o.SECONDARY_1]: e.secondary1,
|
|
21
21
|
[o.SECONDARY_2]: e.secondary2
|
|
22
|
-
}, z =
|
|
22
|
+
}, z = T(e), D = Object.assign(
|
|
23
23
|
E.forwardRef(
|
|
24
|
-
({ children: d, className: l, value: n, theme: g, type: r, size: _, disabled:
|
|
25
|
-
const p =
|
|
24
|
+
({ children: d, className: l, value: n, theme: g, type: r, size: _, disabled: i, onSelect: t, ...C }, f) => {
|
|
25
|
+
const p = b(
|
|
26
26
|
e.segmentedControl,
|
|
27
27
|
v[g],
|
|
28
28
|
z[_],
|
|
@@ -40,15 +40,15 @@ const h = "segmentedControl__036fa566", x = "general1__f1e9465e", L = "secondary
|
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
42
|
return /* @__PURE__ */ c(
|
|
43
|
-
|
|
43
|
+
R.Provider,
|
|
44
44
|
{
|
|
45
45
|
value: {
|
|
46
46
|
type: r,
|
|
47
47
|
value: n,
|
|
48
|
-
disabled: !!
|
|
48
|
+
disabled: !!i,
|
|
49
49
|
onSegmentSelect: S
|
|
50
50
|
},
|
|
51
|
-
children: /* @__PURE__ */ c("div", { className: p, ...
|
|
51
|
+
children: /* @__PURE__ */ c("div", { className: p, ...C, "data-tx": "1.19.0", ref: f, children: d })
|
|
52
52
|
}
|
|
53
53
|
);
|
|
54
54
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useContext as
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
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__0391abcb", E = "selected__393767ad", I = "content__450bd521", r = {
|
|
8
8
|
segmentedControlSegment: y,
|
|
9
9
|
selected: E,
|
|
10
10
|
content: I
|
|
@@ -21,8 +21,8 @@ const y = "segmentedControlSegment__e6d7867d", E = "selected__a5310217", I = "co
|
|
|
21
21
|
type: m,
|
|
22
22
|
value: d,
|
|
23
23
|
disabled: p,
|
|
24
|
-
onSegmentSelect:
|
|
25
|
-
} =
|
|
24
|
+
onSegmentSelect: l
|
|
25
|
+
} = x(_), t = (() => {
|
|
26
26
|
switch (m) {
|
|
27
27
|
case n.SINGLE:
|
|
28
28
|
return e === d;
|
|
@@ -35,32 +35,32 @@ const y = "segmentedControlSegment__e6d7867d", E = "selected__a5310217", I = "co
|
|
|
35
35
|
"hoverable",
|
|
36
36
|
{ active: t },
|
|
37
37
|
i
|
|
38
|
-
),
|
|
38
|
+
), b = () => {
|
|
39
39
|
if (c)
|
|
40
40
|
return c;
|
|
41
41
|
if (typeof s == "string")
|
|
42
42
|
return s;
|
|
43
|
-
},
|
|
43
|
+
}, f = (u) => {
|
|
44
44
|
switch (m) {
|
|
45
45
|
case n.SINGLE:
|
|
46
|
-
|
|
46
|
+
l({ value: e, selected: !0 });
|
|
47
47
|
break;
|
|
48
48
|
case n.MULTIPLE:
|
|
49
|
-
|
|
49
|
+
l({ value: e, selected: !t });
|
|
50
50
|
break;
|
|
51
51
|
}
|
|
52
|
-
o == null || o(
|
|
52
|
+
o == null || o(u);
|
|
53
53
|
};
|
|
54
|
-
return /* @__PURE__ */
|
|
54
|
+
return /* @__PURE__ */ a(
|
|
55
55
|
N,
|
|
56
56
|
{
|
|
57
57
|
className: C,
|
|
58
|
-
title:
|
|
58
|
+
title: b(),
|
|
59
59
|
disabled: g || p,
|
|
60
60
|
"aria-pressed": t,
|
|
61
|
-
onClick:
|
|
61
|
+
onClick: f,
|
|
62
62
|
...S,
|
|
63
|
-
children: /* @__PURE__ */
|
|
63
|
+
children: /* @__PURE__ */ a("span", { className: r.content, children: s })
|
|
64
64
|
}
|
|
65
65
|
);
|
|
66
66
|
};
|
|
@@ -5,7 +5,7 @@ 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__87731055", L = {
|
|
9
9
|
selectExtendedField: A
|
|
10
10
|
}, M = Object.assign(
|
|
11
11
|
_.forwardRef((y, n) => {
|
|
@@ -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-DkfeETTd.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
|
-
import { jsx as o, jsxs as
|
|
1
|
+
import { jsx as o, jsxs as u } 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-Bf7Hleek.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__8e703587", j = "caretWrapper__953652a5", K = "caretIcon__5e9c1607", U = "selectOpened__bfc064f6", V = "disabled__5078ff06", e = {
|
|
23
23
|
selectExtendedFieldTarget: G,
|
|
24
24
|
caretWrapper: j,
|
|
25
25
|
caretIcon: K,
|
|
@@ -34,10 +34,10 @@ 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
|
-
(
|
|
37
|
+
(N, i) => {
|
|
38
38
|
const {
|
|
39
39
|
children: J,
|
|
40
|
-
className:
|
|
40
|
+
className: _,
|
|
41
41
|
label: m,
|
|
42
42
|
placeholder: E,
|
|
43
43
|
onKeyDown: p,
|
|
@@ -46,33 +46,33 @@ 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,
|
|
53
|
-
fieldLabel:
|
|
53
|
+
fieldLabel: b,
|
|
54
54
|
...L
|
|
55
|
-
} =
|
|
55
|
+
} = N, R = O(null), g = n(
|
|
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
|
+
_
|
|
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
|
-
return /* @__PURE__ */
|
|
75
|
+
return /* @__PURE__ */ u(
|
|
76
76
|
k,
|
|
77
77
|
{
|
|
78
78
|
onClick: T,
|
|
@@ -82,11 +82,11 @@ 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.19.0",
|
|
86
86
|
...L,
|
|
87
87
|
children: [
|
|
88
88
|
h ? /* @__PURE__ */ o(P, { className: n("hoverable", { disabled: l === d.DISABLED }), children: h }) : null,
|
|
89
|
-
/* @__PURE__ */ o(v, { children:
|
|
89
|
+
/* @__PURE__ */ o(v, { children: b }),
|
|
90
90
|
/* @__PURE__ */ o(
|
|
91
91
|
w,
|
|
92
92
|
{
|
|
@@ -99,7 +99,7 @@ const G = "selectExtendedFieldTarget__dbdd0fe9", j = "caretWrapper__417f0730", K
|
|
|
99
99
|
children: m
|
|
100
100
|
}
|
|
101
101
|
),
|
|
102
|
-
/* @__PURE__ */
|
|
102
|
+
/* @__PURE__ */ u(y, { children: [
|
|
103
103
|
/* @__PURE__ */ o(
|
|
104
104
|
"div",
|
|
105
105
|
{
|
|
@@ -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,19 +1,19 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { c as r } from "../../chunks/vendor-Dlne6Znf.js";
|
|
3
3
|
import { ESkeletonType as t } from "./enums.js";
|
|
4
|
-
const
|
|
5
|
-
skeleton:
|
|
6
|
-
light:
|
|
7
|
-
dark:
|
|
8
|
-
}, _ = ({ className: s, type: e = t.DARK, ...l }) => /* @__PURE__ */
|
|
4
|
+
const a = "skeleton__4fe5b30b", c = "light__b85cda31", k = "dark__33fc6b2b", o = {
|
|
5
|
+
skeleton: a,
|
|
6
|
+
light: c,
|
|
7
|
+
dark: k
|
|
8
|
+
}, _ = ({ className: s, type: e = t.DARK, ...l }) => /* @__PURE__ */ n(
|
|
9
9
|
"div",
|
|
10
10
|
{
|
|
11
|
-
className:
|
|
11
|
+
className: r(o.skeleton, s, {
|
|
12
12
|
[o.dark]: e === t.DARK,
|
|
13
13
|
[o.light]: e === t.LIGHT
|
|
14
14
|
}),
|
|
15
15
|
...l,
|
|
16
|
-
"data-tx": "1.
|
|
16
|
+
"data-tx": "1.19.0"
|
|
17
17
|
}
|
|
18
18
|
);
|
|
19
19
|
export {
|
|
@@ -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-Cb5r_qJ5.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.19.0",
|
|
86
86
|
children: E
|
|
87
87
|
}
|
|
88
88
|
)
|
|
@@ -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__b41f5a7a", xe = "focusedByClick__379ec2ea", he = "disabled__9f1b51de", ge = "dragByMouse__5ed06a82", De = "lg__c301dfe0", i = {
|
|
13
13
|
sliderExtendedDot: pe,
|
|
14
14
|
focusedByClick: xe,
|
|
15
15
|
disabled: he,
|
|
@@ -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-CxeVaMq1.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-CxeVaMq1.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-Cb5r_qJ5.js";
|
|
7
7
|
export {
|
|
8
8
|
d as SliderExtendedRail
|
|
9
9
|
};
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { jsxs as y, jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsxs as y, jsx as d } from "react/jsx-runtime";
|
|
2
|
+
import n 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__54c19721", C = "lg__c301dfe0", N = "tooltipBody__e58ecbf5", O = "tooltipTip__f4d17dac", t = {
|
|
7
7
|
sliderExtendedTooltipOverlay: E,
|
|
8
8
|
lg: C,
|
|
9
9
|
tooltipBody: N,
|
|
10
10
|
tooltipTip: O
|
|
11
11
|
}, h = v(t), W = ({
|
|
12
12
|
value: i,
|
|
13
|
-
children:
|
|
13
|
+
children: r,
|
|
14
14
|
...c
|
|
15
15
|
}) => {
|
|
16
|
-
const o =
|
|
16
|
+
const o = n.useRef(null), { min: l, max: p, size: a } = n.useContext(_), f = () => {
|
|
17
17
|
var s;
|
|
18
18
|
if (!o.current || i === void 0)
|
|
19
19
|
return 0;
|
|
20
|
-
const
|
|
21
|
-
return (T / 2 -
|
|
20
|
+
const m = 8, x = 16, T = ((s = o.current) == null ? void 0 : s.clientWidth) || 0, u = (i - l) / (p - l);
|
|
21
|
+
return (T / 2 - m - 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
|
-
/* @__PURE__ */
|
|
31
|
-
/* @__PURE__ */
|
|
30
|
+
/* @__PURE__ */ d("div", { className: e(t.tooltipBody), style: { left: `${f()}px` }, children: r }),
|
|
31
|
+
/* @__PURE__ */ d("div", { className: e(t.tooltipTip) })
|
|
32
32
|
]
|
|
33
33
|
}
|
|
34
34
|
);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsxs as B, Fragment as L, jsx as h } from "react/jsx-runtime";
|
|
2
2
|
import { useState as c, useContext as ce, useRef as O, useLayoutEffect as P } from "react";
|
|
3
|
-
import { l as X, c as
|
|
4
|
-
import { SliderExtendedContext as
|
|
3
|
+
import { l as X, c as le } from "../../../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
+
import { SliderExtendedContext as de } 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__9b99fac3", ue = "lg__c301dfe0", fe = "focusedByClick__379ec2ea", me = "hoverOrDragByMouse__2017c479", he = "staticSlider__d08b245b", ge = "disabled__9f1b51de", o = {
|
|
12
12
|
sliderExtendedTrack: ne,
|
|
13
13
|
lg: ue,
|
|
14
14
|
focusedByClick: fe,
|
|
@@ -17,7 +17,7 @@ const ne = "sliderExtendedTrack__2e86d18a", ue = "lg__58701d16", fe = "focusedBy
|
|
|
17
17
|
disabled: ge
|
|
18
18
|
}, pe = ie(o), Ee = ({
|
|
19
19
|
className: K,
|
|
20
|
-
draggable:
|
|
20
|
+
draggable: b = !0,
|
|
21
21
|
onBlur: p,
|
|
22
22
|
onFocus: E,
|
|
23
23
|
onMouseDown: x,
|
|
@@ -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, k] = c(!1), [d, C] = c(!1), [H, v] = c(!1), [V, a] = c(!1), [U, S] = c(-1), {
|
|
30
30
|
disabled: M,
|
|
31
31
|
dots: s,
|
|
32
32
|
focused: i,
|
|
@@ -37,10 +37,10 @@ const ne = "sliderExtendedTrack__2e86d18a", ue = "lg__58701d16", fe = "focusedBy
|
|
|
37
37
|
setFocused: R,
|
|
38
38
|
steps: u,
|
|
39
39
|
size: $
|
|
40
|
-
} = ce(
|
|
40
|
+
} = ce(de), f = O(0), m = O(null);
|
|
41
41
|
if (P(() => {
|
|
42
|
-
s.length > 1 &&
|
|
43
|
-
}, [s,
|
|
42
|
+
s.length > 1 && b ? d || C(!0) : d !== !1 && C(!1);
|
|
43
|
+
}, [s, b]), P(() => {
|
|
44
44
|
s.length > 1 && S(i ? 2 : -1);
|
|
45
45
|
}, [i]), !s.length)
|
|
46
46
|
return null;
|
|
@@ -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), k(!0), E == null || E(e);
|
|
83
83
|
}, ee = (e) => {
|
|
84
|
-
i && R(!1), v(!1),
|
|
84
|
+
i && R(!1), v(!1), k(!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 && d ? 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]: !d
|
|
125
125
|
}),
|
|
126
126
|
onBlur: ee,
|
|
127
127
|
onFocus: Z,
|
|
@@ -1,7 +1,7 @@
|
|
|
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 o = "
|
|
4
|
+
const o = "smallInput__808d27b5", n = {
|
|
5
5
|
smallInput: o
|
|
6
6
|
}, e = m.forwardRef(({ className: t, ...l }, s) => /* @__PURE__ */ a("input", { className: p(n.smallInput, t), ...l, type: "text", ref: s }));
|
|
7
7
|
e.displayName = "SmallInput";
|
|
@@ -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__91836dd7", D = "opened__c23b38bc", q = "caretIcon__018e29fb", A = "head__2fd7ad10", G = "content__f07d6a4d", H = "hidden__c6609ade", K = "lg__70fb2ed0", $ = "md__dade925b", F = "sm__7e055eba", e = {
|
|
14
14
|
spoiler: y,
|
|
15
15
|
opened: D,
|
|
16
16
|
caretIcon: q,
|
|
@@ -21,33 +21,33 @@ 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((f, h) => {
|
|
28
28
|
const {
|
|
29
29
|
children: I,
|
|
30
|
-
expanded:
|
|
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:
|
|
37
|
+
size: d = s.MD,
|
|
38
38
|
...b
|
|
39
|
-
} =
|
|
39
|
+
} = f, r = c !== void 0, [C, v] = T(c), t = r ? c : C, m = E(`Spoiler-${j()}`), M = w(() => {
|
|
40
40
|
const i = !t;
|
|
41
|
-
|
|
42
|
-
}, [
|
|
41
|
+
r ? n == null || n(i) : v(i), o == null || o(i);
|
|
42
|
+
}, [r, n, t, o]), k = _(
|
|
43
43
|
e.spoiler,
|
|
44
|
-
O[
|
|
44
|
+
O[d],
|
|
45
45
|
{
|
|
46
46
|
[e.opened]: t
|
|
47
47
|
},
|
|
48
48
|
x
|
|
49
49
|
);
|
|
50
|
-
return /* @__PURE__ */ l("div", { ...b, className: k, "data-tx": "1.
|
|
50
|
+
return /* @__PURE__ */ l("div", { ...b, className: k, "data-tx": "1.19.0", ref: h, children: [
|
|
51
51
|
/* @__PURE__ */ l("div", { className: e.head, children: [
|
|
52
52
|
/* @__PURE__ */ l(
|
|
53
53
|
L,
|
|
@@ -55,17 +55,17 @@ const y = "spoiler__f611c3a9", D = "opened__52c0d8f8", q = "caretIcon__c6c25c2d"
|
|
|
55
55
|
"aria-expanded": t,
|
|
56
56
|
"aria-controls": m.current,
|
|
57
57
|
theme: R.LINK,
|
|
58
|
-
size:
|
|
58
|
+
size: d,
|
|
59
59
|
onClick: M,
|
|
60
60
|
children: [
|
|
61
61
|
t ? u : S,
|
|
62
|
-
J[
|
|
62
|
+
J[d]
|
|
63
63
|
]
|
|
64
64
|
}
|
|
65
65
|
),
|
|
66
66
|
N
|
|
67
67
|
] }),
|
|
68
|
-
/* @__PURE__ */
|
|
68
|
+
/* @__PURE__ */ a("div", { id: m.current, className: _(e.content, { [e.hidden]: !t }), children: I })
|
|
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-BML0rfx7.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.19.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-BML0rfx7.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-BML0rfx7.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 });
|