@sberbusiness/triplex-next 1.25.0 → 1.26.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-Boz5enko.js +41 -0
- package/chunks/{CalendarViewItem-D-POWd2-.js → CalendarViewItem-DHFLturD.js} +13 -13
- package/chunks/Card.module-Bn676gKC.js +17 -0
- package/chunks/CheckboxTreeExtended.module-QbHPuClH.js +15 -0
- package/chunks/{Chip-DTIbYTEg.js → Chip-Di8g8Z6j.js} +19 -19
- package/chunks/Confirm.module-b8ZTqcR2.js +15 -0
- package/chunks/{DropdownListItem-DEiNYa7V.js → DropdownListItem-CjZLy9zZ.js} +16 -16
- package/chunks/DropdownMobile.module-B2yaydF-.js +23 -0
- package/chunks/Footer.module-DlTuw8bG.js +9 -0
- package/chunks/{FormFieldInput-DtYGQ_bi.js → FormFieldInput-C2TczHnQ.js} +29 -29
- package/chunks/HeaderLayoutSidebar.module-BR0oblQF.js +9 -0
- package/chunks/HeaderTabs.module-D88xeP19.js +9 -0
- package/chunks/{HeaderTitle.module-C31ELKBY.js → HeaderTitle.module-BdAYtCP5.js} +2 -2
- package/chunks/IslandAccordion.module-CbGSbbl6.js +25 -0
- package/chunks/IslandWidgetFooter.module-DzcObfJV.js +9 -0
- package/chunks/IslandWidgetHeader.module-_sYg-PBp.js +12 -0
- package/chunks/{LightBoxContent-9gb9WiYK.js → LightBoxContent-B8dwsZcd.js} +8 -8
- package/chunks/LightBoxControls.module-DHrZ8-M9.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-CgO3NViT.js +9 -0
- package/chunks/{ListItemControlsButton-DYBfA1gz.js → ListItemControlsButton-DjUxcey4.js} +11 -11
- package/chunks/ListItemTail.module-CIBEtGa9.js +12 -0
- package/chunks/ListMasterFooter.module-DDv57q5J.js +10 -0
- package/chunks/ModalWindow.module-Cek3j-PN.js +17 -0
- package/chunks/Notification.module-BWxDmBI2.js +20 -0
- package/chunks/Overlay.module-CUZKmhvQ.js +18 -0
- package/chunks/Page.module-BD0MsbnW.js +11 -0
- package/chunks/SMSField.module-B6sFmN1l.js +16 -0
- package/chunks/SliderExtendedMarks.module-jwnpPZXf.js +15 -0
- package/chunks/SliderExtendedRail-BYK2Vyz9.js +40 -0
- package/chunks/StatusTracker.module-DQI30fwP.js +24 -0
- package/chunks/StepperStepArrowBorder-CHpL6Q5q.js +101 -0
- package/chunks/SuggestFieldMobileDropdownHint-BpAuE0ir.js +15 -0
- package/chunks/TableFooter.module-DB3LfuRN.js +14 -0
- package/chunks/TabsExtended.module-DbTk0iCS.js +16 -0
- package/chunks/TabsLine.module-D3zxaGjs.js +21 -0
- package/chunks/TooltipDesktop.module-BTHsU4ca.js +19 -0
- package/chunks/TreeView.module-BXHaAGRo.js +9 -0
- package/chunks/{UploadZoneInput-CUKt0mmY.js → UploadZoneInput-qDtiZYmT.js} +5 -5
- package/chunks/{constants-CmdvDG7U.js → constants-CtrvWwDT.js} +8 -8
- package/chunks/{utils-B8JwCW07.js → utils-4uYqfVa-.js} +4 -4
- package/chunks/{utils-DILds0zQ.js → utils-BYHIu3S4.js} +4 -4
- package/chunks/{utils-D0TxmRz_.js → utils-CqjXJ4Td.js} +8 -8
- package/chunks/utils-DhWCXYI8.js +24 -0
- package/components/Alert/AlertContext/AlertContext.js +25 -25
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +11 -11
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +6 -6
- package/components/Badge/Badge.js +13 -13
- package/components/Badge/BadgeDot.js +7 -7
- package/components/Badge/components/BadgeContent.js +15 -15
- package/components/Badge/components/BadgePostfix.js +1 -1
- package/components/Badge/components/BadgePrefix.js +6 -6
- package/components/Body/Body.js +5 -5
- package/components/Button/Button.js +22 -22
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +2 -2
- package/components/Button/ButtonDropdownExtended.js +4 -4
- package/components/Button/ButtonIcon.js +6 -6
- package/components/Calendar/Calendar.js +5 -5
- package/components/Calendar/components/CalendarControls.js +5 -5
- 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 +23 -23
- 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 +14 -14
- package/components/Checkbox/CheckboxXGroup.js +9 -9
- package/components/Checkbox/CheckboxYGroup.js +1 -1
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +1 -1
- package/components/Chip/Chip.js +1 -1
- package/components/Chip/ChipClearButton.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +1 -1
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +10 -10
- 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 +7 -7
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +28 -27
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +76 -66
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +10 -10
- package/components/Col/Col.js +142 -142
- package/components/CollapsableTree/components/CollapsableTreeNode.js +15 -15
- 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 +11 -11
- package/components/DateRange/DateRange.js +23 -23
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/components/Stepper.js +11 -20
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +6 -6
- package/components/Dropdown/desktop/DropdownDesktop.js +7 -7
- 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 +2 -2
- package/components/EmptyView/EmptyView.js +5 -5
- 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 +20 -20
- package/components/FormField/components/FormFieldClear.js +1 -1
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +7 -7
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +13 -13
- package/components/FormField/components/FormFieldMaskedInput.js +18 -18
- package/components/FormField/components/FormFieldPostfix.js +9 -9
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +10 -10
- package/components/FormField/components/FormFieldTextarea.js +18 -18
- package/components/FormField/components/index.js +1 -1
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +1 -1
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +7 -7
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +1 -1
- package/components/IconWrapper/IconWrapper.js +11 -11
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +1 -1
- package/components/Island/components/IslandFooter.js +5 -5
- 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 +14 -14
- package/components/IslandWidget/components/IslandWidgetBody.js +1 -1
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +10 -10
- 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 +5 -5
- package/components/LightBox/LightBox.js +16 -16
- 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 +10 -10
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +10 -10
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +14 -14
- package/components/Link/Link.js +18 -18
- package/components/List/List.js +3 -3
- package/components/List/components/ListEmptyState.js +5 -5
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +10 -10
- package/components/List/components/ListItemControls.js +7 -7
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +4 -4
- package/components/List/components/ListItemSelectable.js +10 -10
- package/components/List/components/ListItemTable.js +7 -7
- 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 +5 -5
- package/components/List/components/ListSortableItemTarget.js +10 -10
- 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 +9 -9
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +10 -10
- package/components/Loader/LoaderSmall/LoaderSmall.js +6 -6
- package/components/LoaderScreen/LoaderScreen.js +9 -9
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +12 -12
- 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/MonthYearField/MonthYearFieldTarget.js +14 -13
- package/components/MonthYearRange/MonthYearRange.js +76 -0
- package/components/MonthYearRange/enums.js +5 -0
- package/components/MonthYearRange/index.js +7 -0
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +10 -10
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +1 -1
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +1 -1
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +5 -5
- package/components/OrderedList/OrderedListItem.js +2 -2
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayMask.js +1 -1
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +11 -11
- 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 +5 -5
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +1 -1
- package/components/Pagination/components/PaginationPageEllipsis.js +5 -5
- package/components/Pagination/components/PaginationSelect.js +14 -14
- package/components/Radio/Radio.js +16 -16
- package/components/Radio/RadioXGroup.js +10 -10
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +4 -4
- 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 +14 -14
- package/components/SegmentedControl/SegmentedControlSegment.js +16 -16
- package/components/SelectExtendedField/SelectExtendedField.js +4 -4
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +14 -14
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +10 -10
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +20 -20
- 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 +12 -12
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +19 -19
- package/components/SmallInput/SmallInput.js +1 -1
- package/components/Spoiler/Spoiler.js +8 -8
- 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 +8 -8
- package/components/Stepper/Stepper.js +104 -89
- package/components/Stepper/StepperExtended.js +22 -20
- package/components/Stepper/StepperExtendedContext.js +6 -6
- package/components/Stepper/StepperStep.js +62 -63
- package/components/Stepper/StepperStepArrowBorder.js +7 -0
- package/components/Stepper/enums.js +3 -4
- package/components/Stepper/index.js +4 -5
- package/components/Stepper/types.js +2 -0
- package/components/Suggest/SuggestMobileDropdownContent.js +11 -11
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +58 -58
- 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 +19 -19
- package/components/Table/FilterPanel.js +5 -5
- package/components/Table/MasterTable.js +8 -8
- package/components/Table/NoColumns.js +5 -5
- package/components/Table/PaginationPanel.js +4 -4
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +9 -9
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +7 -7
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +5 -5
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +6 -6
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +5 -5
- package/components/Table/TabsLinePanelLinks.js +1 -1
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +4 -4
- 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 +3 -3
- package/components/Tag/Tag.js +25 -25
- package/components/TagColor/TagColor.js +14 -14
- package/components/TagColor/index.js +4 -2
- 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 +3 -3
- 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 +1 -1
- package/components/TopOverlay/TopOverlay.js +5 -5
- 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 +25 -25
- package/components/Typography/CodeText.js +2 -2
- package/components/Typography/Text.js +20 -20
- package/components/Typography/Title.js +24 -24
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +8 -8
- package/components/UnorderedList/UnorderedListItem.js +11 -11
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +299 -294
- package/index.d.ts +56 -22
- package/index.js +329 -324
- package/package.json +6 -2
- package/styles/triplex-next.css +538 -541
- package/chunks/AlertProcessSpoiler-B46jKfAb.js +0 -41
- package/chunks/Card.module-CncHGyjC.js +0 -17
- package/chunks/CheckboxTreeExtended.module-B1Kgd0nu.js +0 -15
- package/chunks/Confirm.module-EXbF7o_5.js +0 -15
- package/chunks/DropdownMobile.module-BoKjV5kN.js +0 -23
- package/chunks/Footer.module-DZkZf8cZ.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-DgEDu6U2.js +0 -9
- package/chunks/HeaderTabs.module-BepwFanR.js +0 -9
- package/chunks/IslandAccordion.module-rpYHTG9-.js +0 -25
- package/chunks/IslandWidgetFooter.module-CGX_gIzr.js +0 -9
- package/chunks/IslandWidgetHeader.module-CBRjot0L.js +0 -12
- package/chunks/LightBoxControls.module-DW8BGlP2.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-DfPgpuEZ.js +0 -9
- package/chunks/ListItemTail.module-BaV7s4hM.js +0 -12
- package/chunks/ListMasterFooter.module-DJ5zh4gk.js +0 -10
- package/chunks/ModalWindow.module-CBYym922.js +0 -17
- package/chunks/Notification.module-DxdRS8Y5.js +0 -20
- package/chunks/Overlay.module-BNFZ_rbt.js +0 -18
- package/chunks/Page.module-C50cd0OD.js +0 -11
- package/chunks/RightBorderArrow-BDD4mS5-.js +0 -146
- package/chunks/SMSField.module-C20gqTPw.js +0 -16
- package/chunks/SliderExtendedMarks.module-CsyPT1yp.js +0 -15
- package/chunks/SliderExtendedRail-D5G6Gddu.js +0 -40
- package/chunks/StatusTracker.module-Dn-2MvTp.js +0 -24
- package/chunks/SuggestFieldMobileDropdownHint-Bl-fHUU9.js +0 -15
- package/chunks/TableFooter.module-CVe7H3F5.js +0 -14
- package/chunks/TabsExtended.module-DAVeemgZ.js +0 -16
- package/chunks/TabsLine.module-DpFaqhk4.js +0 -21
- package/chunks/TooltipDesktop.module-OpglHVA8.js +0 -19
- package/chunks/TreeView.module-D0XjOCzq.js +0 -9
- package/chunks/utils-iU8-da0U.js +0 -24
- package/components/Stepper/RightBorderArrow.js +0 -7
- package/components/Stepper/StepperWrapper.js +0 -12
|
@@ -4,7 +4,7 @@ import w from "moment";
|
|
|
4
4
|
import { CalendarContext as N } from "../CalendarContext.js";
|
|
5
5
|
import { CalendarViewContext as G } from "../CalendarViewContext.js";
|
|
6
6
|
import { isDateOutOfRange as O } from "../utils.js";
|
|
7
|
-
import { s as K, C as H } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as K, C as H } from "../../../chunks/CalendarViewItem-DHFLturD.js";
|
|
8
8
|
import { isKey as i } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarViewMode as y } from "../enums.js";
|
|
10
10
|
const Q = ({ pickedDate: s, yearHtmlAttributes: S = {} }) => {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var o = (c, i, e) =>
|
|
1
|
+
var N = Object.defineProperty;
|
|
2
|
+
var y = (c, i, e) => i in c ? N(c, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[i] = e;
|
|
3
|
+
var o = (c, i, e) => y(c, typeof i != "symbol" ? i + "" : i, e);
|
|
4
4
|
import { jsx as R } from "react/jsx-runtime";
|
|
5
|
-
import
|
|
5
|
+
import u from "react";
|
|
6
6
|
import { CardContent as T } from "./components/CardContent/CardContent.js";
|
|
7
7
|
import { CardMedia as _ } from "./components/CardMedia.js";
|
|
8
8
|
import { ECardRoundingSize as M, ECardTheme as w } from "./enums.js";
|
|
9
9
|
import { EFocusSource as r } from "../../enums/EFocusSource.js";
|
|
10
10
|
import { mapCardRoundingSizeToCssClass as x, mapCardThemeToCssClass as K } from "./utils.js";
|
|
11
|
-
import { isKey as
|
|
11
|
+
import { isKey as p } from "../../utils/keyboard.js";
|
|
12
12
|
import { c as k } from "../../chunks/vendor-DudMBGKr.js";
|
|
13
|
-
import { c as B } from "../../chunks/Card.module-
|
|
14
|
-
const O = "
|
|
13
|
+
import { c as B } from "../../chunks/Card.module-Bn676gKC.js";
|
|
14
|
+
const O = "action__d020aebd", F = "selected__8b6579d3", V = "focusVisible__2c59bdc8", a = {
|
|
15
15
|
action: O,
|
|
16
16
|
selected: F,
|
|
17
17
|
focusVisible: V
|
|
18
18
|
};
|
|
19
|
-
class l extends
|
|
19
|
+
class l extends u.Component {
|
|
20
20
|
constructor() {
|
|
21
21
|
super(...arguments);
|
|
22
22
|
o(this, "state", {
|
|
@@ -24,7 +24,7 @@ class l extends f.Component {
|
|
|
24
24
|
isControlled: this.props.selected !== void 0,
|
|
25
25
|
isSelected: !!this.props.selected
|
|
26
26
|
});
|
|
27
|
-
o(this, "ref",
|
|
27
|
+
o(this, "ref", u.createRef());
|
|
28
28
|
o(this, "handleClick", (e) => {
|
|
29
29
|
const { onClick: s } = this.props;
|
|
30
30
|
s == null || s(e), this.handleToggle();
|
|
@@ -35,19 +35,19 @@ class l extends f.Component {
|
|
|
35
35
|
});
|
|
36
36
|
o(this, "handleKeyDown", (e) => {
|
|
37
37
|
const { onKeyDown: s } = this.props;
|
|
38
|
-
s == null || s(e),
|
|
38
|
+
s == null || s(e), p(e.keyCode, "SPACE") ? (e.preventDefault(), this.handleToggle()) : p(e.keyCode, "ENTER") && this.handleToggle();
|
|
39
39
|
});
|
|
40
40
|
o(this, "handleFocus", (e) => {
|
|
41
|
-
const { onFocus: s } = this.props, { focusSource: t } = this.state, { current:
|
|
42
|
-
s == null || s(e), !t &&
|
|
41
|
+
const { onFocus: s } = this.props, { focusSource: t } = this.state, { current: n } = this.ref;
|
|
42
|
+
s == null || s(e), !t && n === e.target && this.setState({ focusSource: r.KEYBOARD });
|
|
43
43
|
});
|
|
44
44
|
o(this, "handleBlur", (e) => {
|
|
45
45
|
const { onBlur: s } = this.props, { current: t } = this.ref;
|
|
46
46
|
s == null || s(e), t !== document.activeElement && t === e.target && this.setState({ focusSource: r.NONE });
|
|
47
47
|
});
|
|
48
48
|
o(this, "handleToggle", () => {
|
|
49
|
-
const { toggle: e, selected: s, onToggle: t } = this.props, { isControlled:
|
|
50
|
-
|
|
49
|
+
const { toggle: e, selected: s, onToggle: t } = this.props, { isControlled: n, isSelected: d } = this.state;
|
|
50
|
+
n ? e == null || e(!s) : this.setState(
|
|
51
51
|
(h) => ({ isSelected: !h.isSelected }),
|
|
52
52
|
() => t == null ? void 0 : t(!d)
|
|
53
53
|
);
|
|
@@ -62,31 +62,31 @@ class l extends f.Component {
|
|
|
62
62
|
children: e,
|
|
63
63
|
className: s,
|
|
64
64
|
onClick: t,
|
|
65
|
-
onMouseDown:
|
|
65
|
+
onMouseDown: n,
|
|
66
66
|
onKeyDown: d,
|
|
67
67
|
onFocus: h,
|
|
68
68
|
onBlur: z,
|
|
69
|
-
roundingSize:
|
|
69
|
+
roundingSize: f = M.MD,
|
|
70
70
|
onToggle: A,
|
|
71
71
|
selected: m,
|
|
72
72
|
toggle: U,
|
|
73
73
|
theme: S = w.GENERAL,
|
|
74
74
|
...C
|
|
75
|
-
} = this.props, { isControlled: E, isSelected: g, focusSource: D } = this.state,
|
|
75
|
+
} = this.props, { isControlled: E, isSelected: g, focusSource: D } = this.state, b = k(
|
|
76
76
|
B.card,
|
|
77
|
-
|
|
77
|
+
a.action,
|
|
78
78
|
K[S],
|
|
79
|
-
x[
|
|
79
|
+
x[f],
|
|
80
80
|
{
|
|
81
|
-
[
|
|
82
|
-
[
|
|
81
|
+
[a.focusVisible]: D === r.KEYBOARD,
|
|
82
|
+
[a.selected]: E ? !!m : g
|
|
83
83
|
},
|
|
84
84
|
s
|
|
85
85
|
);
|
|
86
86
|
return /* @__PURE__ */ R(
|
|
87
87
|
"div",
|
|
88
88
|
{
|
|
89
|
-
className:
|
|
89
|
+
className: b,
|
|
90
90
|
tabIndex: 0,
|
|
91
91
|
onClick: this.handleClick,
|
|
92
92
|
onMouseDown: this.handleMouseDown,
|
|
@@ -96,7 +96,7 @@ class l extends f.Component {
|
|
|
96
96
|
role: "button",
|
|
97
97
|
...C,
|
|
98
98
|
ref: this.ref,
|
|
99
|
-
"data-tx": "1.
|
|
99
|
+
"data-tx": "1.26.0",
|
|
100
100
|
children: e
|
|
101
101
|
}
|
|
102
102
|
);
|
|
@@ -3,7 +3,7 @@ import { CardContent as s } from "./components/CardContent/CardContent.js";
|
|
|
3
3
|
import { CardMedia as e } from "./components/CardMedia.js";
|
|
4
4
|
import { mapCardRoundingSizeToCssClass as C, mapCardThemeToCssClass as p } from "./utils.js";
|
|
5
5
|
import { c } from "../../chunks/vendor-DudMBGKr.js";
|
|
6
|
-
import { c as n } from "../../chunks/Card.module-
|
|
6
|
+
import { c as n } from "../../chunks/Card.module-Bn676gKC.js";
|
|
7
7
|
import { ECardRoundingSize as f, ECardTheme as l } from "./enums.js";
|
|
8
8
|
const a = ({
|
|
9
9
|
children: r,
|
|
@@ -21,7 +21,7 @@ const a = ({
|
|
|
21
21
|
o
|
|
22
22
|
),
|
|
23
23
|
...d,
|
|
24
|
-
"data-tx": "1.
|
|
24
|
+
"data-tx": "1.26.0",
|
|
25
25
|
children: r
|
|
26
26
|
}
|
|
27
27
|
);
|
|
@@ -4,7 +4,7 @@ import { CardContentHeader as i } from "./components/CardContentHeader.js";
|
|
|
4
4
|
import { CardContentFooter as s } from "./components/CardContentFooter.js";
|
|
5
5
|
import { ECardContentPaddingSize as t } from "../../enums.js";
|
|
6
6
|
import { c as p } from "../../../../chunks/vendor-DudMBGKr.js";
|
|
7
|
-
import { c as r } from "../../../../chunks/Card.module-
|
|
7
|
+
import { c as r } from "../../../../chunks/Card.module-Bn676gKC.js";
|
|
8
8
|
const c = {
|
|
9
9
|
[t.MD]: r.paddingMD,
|
|
10
10
|
[t.SM]: r.paddingSM
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { c as d } from "../../../../../chunks/vendor-DudMBGKr.js";
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-Bn676gKC.js";
|
|
4
4
|
const m = ({ children: o, className: t, ...r }) => /* @__PURE__ */ a("div", { className: d(s.cardContentBody, t), ...r, children: o });
|
|
5
5
|
m.displayName = "CardContentBody";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { c as e } from "../../../../../chunks/vendor-DudMBGKr.js";
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-Bn676gKC.js";
|
|
4
4
|
const m = ({ children: o, className: t, ...r }) => /* @__PURE__ */ a("div", { className: e(s.cardContentFooter, t), ...r, children: o });
|
|
5
5
|
m.displayName = "CardContentFooter";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { c as o } from "../../../../../chunks/vendor-DudMBGKr.js";
|
|
3
|
-
import { c as d } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as d } from "../../../../../chunks/Card.module-Bn676gKC.js";
|
|
4
4
|
const s = ({ children: r, className: a, ...e }) => /* @__PURE__ */ t("div", { className: o(d.cardContentHeader, a), ...e, children: r });
|
|
5
5
|
s.displayName = "CardContentHeader";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import { c as e } from "../../../chunks/vendor-DudMBGKr.js";
|
|
3
|
-
import { c as m } from "../../../chunks/Card.module-
|
|
3
|
+
import { c as m } from "../../../chunks/Card.module-Bn676gKC.js";
|
|
4
4
|
const o = ({ children: a, className: r, ...s }) => {
|
|
5
5
|
const c = e(m.cardMedia, r);
|
|
6
6
|
return /* @__PURE__ */ d("div", { className: c, ...s, children: a });
|
package/components/Card/utils.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as p, jsx as b } from "react/jsx-runtime";
|
|
|
2
2
|
import C, { useState as w, useRef as D, useCallback as L, useEffect as d } from "react";
|
|
3
3
|
import { l as M, c as S } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
4
|
import { scrollSmoothHorizontally as c } from "../../utils/scroll.js";
|
|
5
|
-
const R = "
|
|
5
|
+
const R = "carouselExtended__9ce8b026", k = {
|
|
6
6
|
carouselExtended: R
|
|
7
7
|
}, y = C.forwardRef(
|
|
8
8
|
({ children: l, buttonPrev: a, buttonNext: i, stepPrev: u, stepNext: f, ...h }, s) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsxs as f, jsx as
|
|
1
|
+
import { jsxs as f, jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import N from "react";
|
|
3
3
|
import { c as l } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
4
|
import { CheckboxbulkStrokeSrvIcon24 as S, CheckboxtickStrokeSrvIcon24 as C } from "@sberbusiness/icons-next";
|
|
@@ -9,7 +9,7 @@ import { Text as u } from "../Typography/Text.js";
|
|
|
9
9
|
import "../Typography/Title.js";
|
|
10
10
|
import { EComponentSize as s } from "../../enums/EComponentSize.js";
|
|
11
11
|
import { createSizeToClassNameMap as y } from "../../utils/classNameMaps.js";
|
|
12
|
-
const E = "
|
|
12
|
+
const E = "label__ea41e863", M = "sm__ba9f6bab", T = "nonempty__e443a546", z = "md__3f62270f", g = "lg__d7101c33", A = "disabled__628950ae", v = "checkbox__ee5ca16a", B = "checkboxIcon__95b62459", L = "checkmarkIcon__27baee82", e = {
|
|
13
13
|
label: E,
|
|
14
14
|
sm: M,
|
|
15
15
|
nonempty: T,
|
|
@@ -23,30 +23,30 @@ const E = "label__35321320", M = "sm__99683305", T = "nonempty__5fd9b4b5", z = "
|
|
|
23
23
|
[s.LG]: n.B2,
|
|
24
24
|
[s.MD]: n.B3,
|
|
25
25
|
[s.SM]: n.B4
|
|
26
|
-
}, b = y(
|
|
26
|
+
}, b = y(e), j = N.forwardRef((i, k) => {
|
|
27
27
|
const {
|
|
28
28
|
children: a,
|
|
29
29
|
className: _,
|
|
30
30
|
disabled: m,
|
|
31
|
-
bulk:
|
|
31
|
+
bulk: p,
|
|
32
32
|
labelAttributes: o,
|
|
33
33
|
size: t = s.MD,
|
|
34
|
-
...
|
|
35
|
-
} = i, x = l(
|
|
36
|
-
|
|
34
|
+
...d
|
|
35
|
+
} = i, x = l(e.checkbox, b[t]), h = l(
|
|
36
|
+
e.label,
|
|
37
37
|
b[t],
|
|
38
|
-
{ [
|
|
38
|
+
{ [e.disabled]: !!m, [e.nonempty]: !!a },
|
|
39
39
|
_,
|
|
40
40
|
o == null ? void 0 : o.className
|
|
41
41
|
), I = () => {
|
|
42
|
-
const r =
|
|
43
|
-
return
|
|
42
|
+
const r = e.checkmarkIcon;
|
|
43
|
+
return p ? /* @__PURE__ */ c(S, { className: r, paletteIndex: 7 }) : /* @__PURE__ */ c(C, { className: r, paletteIndex: 7 });
|
|
44
44
|
};
|
|
45
|
-
return /* @__PURE__ */ f("label", { ...o, className: h, "data-tx": "1.
|
|
46
|
-
/* @__PURE__ */
|
|
47
|
-
/* @__PURE__ */
|
|
45
|
+
return /* @__PURE__ */ f("label", { ...o, className: h, "data-tx": "1.26.0", children: [
|
|
46
|
+
/* @__PURE__ */ c("input", { type: "checkbox", className: x, disabled: m, ...d, ref: k }),
|
|
47
|
+
/* @__PURE__ */ c("span", { className: e.checkboxIcon }),
|
|
48
48
|
I(),
|
|
49
|
-
a && /* @__PURE__ */
|
|
49
|
+
a && /* @__PURE__ */ c(u, { size: Z[t], tag: "div", children: a })
|
|
50
50
|
] });
|
|
51
51
|
});
|
|
52
52
|
j.displayName = "Checkbox";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import s from "react";
|
|
3
3
|
import { c as _ } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
|
-
const l = "
|
|
4
|
+
const l = "checkboxXGroup__e85e70e0", b = "label__ea41e863", e = {
|
|
5
5
|
checkboxXGroup: l,
|
|
6
|
-
"indent-12": "indent-
|
|
6
|
+
"indent-12": "indent-12__aa80a868",
|
|
7
7
|
label: b,
|
|
8
|
-
"indent-16": "indent-
|
|
9
|
-
"indent-20": "indent-
|
|
10
|
-
"indent-24": "indent-
|
|
11
|
-
"indent-28": "indent-
|
|
12
|
-
"indent-32": "indent-
|
|
8
|
+
"indent-16": "indent-16__6fe9d888",
|
|
9
|
+
"indent-20": "indent-20__b0802f35",
|
|
10
|
+
"indent-24": "indent-24__a7f4bbef",
|
|
11
|
+
"indent-28": "indent-28__896d7473",
|
|
12
|
+
"indent-32": "indent-32__1e8c8e35"
|
|
13
13
|
}, p = s.forwardRef((n, t) => {
|
|
14
|
-
const { children:
|
|
15
|
-
return /* @__PURE__ */ i("div", { className: a, ...r, role: "group", ref: t, children:
|
|
14
|
+
const { children: o, className: c, indent: d = 12, ...r } = n, a = _(e.checkboxXGroup, e[`indent-${d}`], c);
|
|
15
|
+
return /* @__PURE__ */ i("div", { className: a, ...r, role: "group", ref: t, children: o });
|
|
16
16
|
});
|
|
17
17
|
p.displayName = "CheckboxXGroup";
|
|
18
18
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import p from "react";
|
|
3
3
|
import { c as m } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
|
-
const l = "
|
|
4
|
+
const l = "checkboxYGroup__da5c8075", u = {
|
|
5
5
|
checkboxYGroup: l
|
|
6
6
|
}, x = p.forwardRef((o, c) => {
|
|
7
7
|
const { children: r, className: e, ...s } = o, t = m(u.checkboxYGroup, e);
|
|
@@ -7,7 +7,7 @@ import { c as a } from "../../chunks/vendor-DudMBGKr.js";
|
|
|
7
7
|
import { EComponentSize as r } from "../../enums/EComponentSize.js";
|
|
8
8
|
import { EScreenWidth as t } from "../../helpers/breakpoints.js";
|
|
9
9
|
import { useMatchMedia as h } from "../MediaWidth/useMatchMedia.js";
|
|
10
|
-
import { s as f } from "../../chunks/CheckboxTreeExtended.module-
|
|
10
|
+
import { s as f } from "../../chunks/CheckboxTreeExtended.module-QbHPuClH.js";
|
|
11
11
|
const e = ({ className: m, size: d = r.MD, ...i }) => {
|
|
12
12
|
const x = h(
|
|
13
13
|
`(max-width: ${t.SM_MAX})`,
|
|
@@ -5,7 +5,7 @@ import { jsx as p } from "react/jsx-runtime";
|
|
|
5
5
|
import { CaretdownStrokeSrvIcon16 as l } from "@sberbusiness/icons-next";
|
|
6
6
|
import { EVENT_KEY_CODES as d } from "../../../utils/keyboard.js";
|
|
7
7
|
import h from "react";
|
|
8
|
-
import { s as f } from "../../../chunks/CheckboxTreeExtended.module-
|
|
8
|
+
import { s as f } from "../../../chunks/CheckboxTreeExtended.module-QbHPuClH.js";
|
|
9
9
|
class x extends h.Component {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments);
|
|
@@ -2,7 +2,7 @@ import { jsx as p } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRef as N, useContext as E, useEffect as T } from "react";
|
|
3
3
|
import { Checkbox as a } from "../../Checkbox/Checkbox.js";
|
|
4
4
|
import { c as x } from "../../../chunks/vendor-DudMBGKr.js";
|
|
5
|
-
import { s as m } from "../../../chunks/CheckboxTreeExtended.module-
|
|
5
|
+
import { s as m } from "../../../chunks/CheckboxTreeExtended.module-QbHPuClH.js";
|
|
6
6
|
import { CheckboxTreeExtendedContext as F } from "../CheckboxTreeExtendedContext.js";
|
|
7
7
|
const L = ({
|
|
8
8
|
active: s,
|
|
@@ -5,7 +5,7 @@ import { isStaticCheckboxTreeExtended as f } from "../isStaticCheckboxTreeExtend
|
|
|
5
5
|
import { c as u } from "../../../chunks/vendor-DudMBGKr.js";
|
|
6
6
|
import "./CheckboxTreeExtendedArrow.js";
|
|
7
7
|
import { createSizeToClassNameMap as T } from "../../../utils/classNameMaps.js";
|
|
8
|
-
import { s as o } from "../../../chunks/CheckboxTreeExtended.module-
|
|
8
|
+
import { s as o } from "../../../chunks/CheckboxTreeExtended.module-QbHPuClH.js";
|
|
9
9
|
import { CheckboxTreeExtendedContext as C } from "../CheckboxTreeExtendedContext.js";
|
|
10
10
|
const N = T(o), y = ({
|
|
11
11
|
children: r,
|
package/components/Chip/Chip.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../chunks/vendor-DudMBGKr.js";
|
|
4
|
-
import { C as h } from "../../chunks/Chip-
|
|
4
|
+
import { C as h } from "../../chunks/Chip-Di8g8Z6j.js";
|
|
5
5
|
import "../../enums/EComponentSize.js";
|
|
6
6
|
import "../../utils/classNameMaps.js";
|
|
7
7
|
import "../../utils/keyboard.js";
|
|
@@ -4,7 +4,7 @@ import { c as s } from "../../chunks/vendor-DudMBGKr.js";
|
|
|
4
4
|
import { CrossStrokeSrvIcon24 as c, CrossStrokeSrvIcon20 as i, CrossStrokeSrvIcon16 as l } from "@sberbusiness/icons-next";
|
|
5
5
|
import { EComponentSize as o } from "../../enums/EComponentSize.js";
|
|
6
6
|
import { ButtonIcon as m } from "../Button/ButtonIcon.js";
|
|
7
|
-
const C = "
|
|
7
|
+
const C = "chipClearButton__dba34a04", S = {
|
|
8
8
|
chipClearButton: C
|
|
9
9
|
}, f = {
|
|
10
10
|
[o.SM]: /* @__PURE__ */ t(l, { paletteIndex: 6 }),
|
|
@@ -7,7 +7,7 @@ import { DatePickerExtended as B } from "../../DatePickerExtended/DatePickerExte
|
|
|
7
7
|
import { ChipDatePickerTarget as G } from "./ChipDatePickerTarget.js";
|
|
8
8
|
import { inputDateFormat as D } from "../../DateField/constants.js";
|
|
9
9
|
import { DropdownMobileMaskedInput as C } from "../../Dropdown/mobile/DropdownMobileMaskedInput.js";
|
|
10
|
-
import { s as H } from "../../../chunks/Chip-
|
|
10
|
+
import { s as H } from "../../../chunks/Chip-Di8g8Z6j.js";
|
|
11
11
|
const L = N.forwardRef((S, V) => {
|
|
12
12
|
const {
|
|
13
13
|
value: o,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import D, { useContext as k } from "react";
|
|
3
|
-
import { C as w } from "../../../chunks/Chip-
|
|
3
|
+
import { C as w } from "../../../chunks/Chip-Di8g8Z6j.js";
|
|
4
4
|
import { ChipDropdownArrow as P } from "../ChipDropdownArrow.js";
|
|
5
5
|
import { ChipClearButton as g } from "../ChipClearButton.js";
|
|
6
6
|
import { DatePickerExtendedContext as E } from "../../DatePickerExtended/DatePickerExtendedContext.js";
|
|
@@ -2,7 +2,7 @@ import { jsx as o } from "react/jsx-runtime";
|
|
|
2
2
|
import { CaretdownStrokeSrvIcon24 as p, CaretdownStrokeSrvIcon20 as d, CaretdownStrokeSrvIcon16 as a } from "@sberbusiness/icons-next";
|
|
3
3
|
import { c } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
4
|
import { EComponentSize as r } from "../../enums/EComponentSize.js";
|
|
5
|
-
const w = "
|
|
5
|
+
const w = "chipDropdownArrow__a21b1213", s = "rotated__5c9a5e7d", t = {
|
|
6
6
|
chipDropdownArrow: w,
|
|
7
7
|
rotated: s
|
|
8
8
|
}, i = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import f from "react";
|
|
3
|
-
import { C as t } from "../../chunks/Chip-
|
|
3
|
+
import { C as t } from "../../chunks/Chip-Di8g8Z6j.js";
|
|
4
4
|
const a = f.forwardRef(({ children: p, ...r }, i) => /* @__PURE__ */ o(t, { ...r, prefix: p, postfix: /* @__PURE__ */ o("span", {}), ref: i }));
|
|
5
5
|
a.displayName = "ChipIcon";
|
|
6
6
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import w from "react";
|
|
3
3
|
import { MultiselectField as y } from "../MultiselectField/MultiselectField.js";
|
|
4
|
-
import { s as x, C as D } from "../../chunks/Chip-
|
|
4
|
+
import { s as x, C as D } from "../../chunks/Chip-Di8g8Z6j.js";
|
|
5
5
|
import { ChipClearButton as E } from "./ChipClearButton.js";
|
|
6
6
|
import { ChipDropdownArrow as K } from "./ChipDropdownArrow.js";
|
|
7
7
|
import { isKey as i } from "../../utils/keyboard.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import r from "react";
|
|
3
3
|
import { OptionsStrokeSrvIcon24 as i } from "@sberbusiness/icons-next";
|
|
4
|
-
import { C } from "../../chunks/Chip-
|
|
5
|
-
import { ChipClearButton as
|
|
6
|
-
const
|
|
7
|
-
chipOptionsContent:
|
|
8
|
-
}, l =
|
|
9
|
-
({ children: o, clearSelected: e, selected: n, ...p },
|
|
4
|
+
import { C } from "../../chunks/Chip-Di8g8Z6j.js";
|
|
5
|
+
import { ChipClearButton as f } from "./ChipClearButton.js";
|
|
6
|
+
const c = "chipOptionsContent__6cfa4a30", m = {
|
|
7
|
+
chipOptionsContent: c
|
|
8
|
+
}, l = r.forwardRef(
|
|
9
|
+
({ children: o, clearSelected: e, selected: n, ...p }, a) => /* @__PURE__ */ t(
|
|
10
10
|
C,
|
|
11
11
|
{
|
|
12
12
|
prefix: n ? /* @__PURE__ */ t(i, { paletteIndex: 6 }) : /* @__PURE__ */ t(i, { paletteIndex: 5 }),
|
|
13
|
-
postfix: n ? /* @__PURE__ */ t(
|
|
14
|
-
|
|
13
|
+
postfix: n ? /* @__PURE__ */ t(f, { onClick: (s) => {
|
|
14
|
+
s.stopPropagation(), e();
|
|
15
15
|
}, size: p.size }) : /* @__PURE__ */ t("span", {}),
|
|
16
16
|
selected: n,
|
|
17
17
|
...p,
|
|
18
|
-
ref:
|
|
18
|
+
ref: a,
|
|
19
19
|
children: typeof o < "u" ? /* @__PURE__ */ t("span", { className: m.chipOptionsContent, children: o }) : o
|
|
20
20
|
}
|
|
21
21
|
)
|
|
@@ -5,7 +5,7 @@ import "../../SelectExtendedField/components/SelectExtendedFieldDropdown.js";
|
|
|
5
5
|
import "../../SelectExtendedField/components/SelectExtendedFieldTarget.js";
|
|
6
6
|
import { SelectExtendedFieldDropdownDefault as w } from "../../SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js";
|
|
7
7
|
import { ChipSelectTarget as D } from "./ChipSelectTarget.js";
|
|
8
|
-
import { s as T } from "../../../chunks/Chip-
|
|
8
|
+
import { s as T } from "../../../chunks/Chip-Di8g8Z6j.js";
|
|
9
9
|
import { c as g } from "../../../chunks/vendor-DudMBGKr.js";
|
|
10
10
|
const u = S.forwardRef(
|
|
11
11
|
({ className: m, clearSelected: c, disabled: d, size: o, label: i, displayedValue: p, onChange: l, options: n, value: e, ...s }, f) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import g, { useCallback as t } from "react";
|
|
3
|
-
import { C as x } from "../../../chunks/Chip-
|
|
3
|
+
import { C as x } from "../../../chunks/Chip-Di8g8Z6j.js";
|
|
4
4
|
import { ChipDropdownArrow as y } from "../ChipDropdownArrow.js";
|
|
5
5
|
import { ChipClearButton as D } from "../ChipClearButton.js";
|
|
6
6
|
import { isKey as a } from "../../../utils/keyboard.js";
|
|
@@ -9,7 +9,7 @@ import "../SelectExtendedField/components/SelectExtendedFieldTarget.js";
|
|
|
9
9
|
import { SelectExtendedFieldDropdownDefault as T } from "../SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js";
|
|
10
10
|
import { isKey as s } from "../../utils/keyboard.js";
|
|
11
11
|
import { IconWrapper as b } from "../IconWrapper/IconWrapper.js";
|
|
12
|
-
import { s as k } from "../../chunks/Chip-
|
|
12
|
+
import { s as k } from "../../chunks/Chip-Di8g8Z6j.js";
|
|
13
13
|
const q = D.forwardRef(
|
|
14
14
|
({ className: p, defaultValue: d, disabled: n, label: f, onChange: u, options: h, value: t, size: i, ...x }, I) => {
|
|
15
15
|
const c = E(w()), a = !!t && !C.isEqual(d, t), S = ({ opened: r, setOpened: l }) => /* @__PURE__ */ o(
|
|
@@ -5,7 +5,7 @@ import { c as x } from "../../../chunks/vendor-DudMBGKr.js";
|
|
|
5
5
|
import "../../Suggest/SuggestContext.js";
|
|
6
6
|
import { Suggest as S } from "../../Suggest/Suggest.js";
|
|
7
7
|
import { ChipSuggestDropdown as C } from "./ChipSuggestDropdown.js";
|
|
8
|
-
import { s as j } from "../../../chunks/Chip-
|
|
8
|
+
import { s as j } from "../../../chunks/Chip-Di8g8Z6j.js";
|
|
9
9
|
const w = ({ className: u, displayedValue: c, label: r, prefix: y, targetProps: g, dropdownProps: l, ...o }, t) => {
|
|
10
10
|
const { value: s, size: f } = o, i = p(null), n = p(null), a = (e) => {
|
|
11
11
|
i.current = e, typeof t == "function" ? t(e) : t && (t.current = e);
|
|
@@ -6,7 +6,7 @@ import { useSuggestContext as k } from "../../Suggest/SuggestContext.js";
|
|
|
6
6
|
import "../../Dropdown/DropdownListContext.js";
|
|
7
7
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
8
8
|
import { DropdownList as R } from "../../Dropdown/desktop/DropdownList.js";
|
|
9
|
-
import { D as _ } from "../../../chunks/DropdownListItem-
|
|
9
|
+
import { D as _ } from "../../../chunks/DropdownListItem-CjZLy9zZ.js";
|
|
10
10
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
11
11
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
12
12
|
import "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -21,9 +21,9 @@ import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
|
21
21
|
import { Dropdown as x } from "../../Dropdown/Dropdown.js";
|
|
22
22
|
import { ChipSuggestDesktopDropdownField as b } from "./desktop/ChipSuggestDesktopDropdownField.js";
|
|
23
23
|
import { SuggestMobileDropdownContent as y } from "../../Suggest/SuggestMobileDropdownContent.js";
|
|
24
|
-
const F = [L.ENTER], I = ({ children: c, size:
|
|
24
|
+
const F = [L.ENTER], I = ({ children: c, size: n, targetRef: l, focusTrapProps: e, ...w }, r) => {
|
|
25
25
|
const {
|
|
26
|
-
value:
|
|
26
|
+
value: i,
|
|
27
27
|
options: d,
|
|
28
28
|
dropdownListId: D,
|
|
29
29
|
dropdownOpen: p,
|
|
@@ -43,7 +43,7 @@ const F = [L.ENTER], I = ({ children: c, size: i, targetRef: l, focusTrapProps:
|
|
|
43
43
|
return /* @__PURE__ */ t(
|
|
44
44
|
x,
|
|
45
45
|
{
|
|
46
|
-
size:
|
|
46
|
+
size: n,
|
|
47
47
|
targetRef: l,
|
|
48
48
|
opened: p,
|
|
49
49
|
setOpened: h,
|
|
@@ -62,12 +62,12 @@ const F = [L.ENTER], I = ({ children: c, size: i, targetRef: l, focusTrapProps:
|
|
|
62
62
|
...e == null ? void 0 : e.focusTrapOptions
|
|
63
63
|
},
|
|
64
64
|
children: /* @__PURE__ */ C("div", { role: "presentation", children: [
|
|
65
|
-
/* @__PURE__ */ t(b, { children: c }),
|
|
65
|
+
/* @__PURE__ */ t(b, { size: n, children: c }),
|
|
66
66
|
/* @__PURE__ */ t(
|
|
67
67
|
R,
|
|
68
68
|
{
|
|
69
69
|
id: D,
|
|
70
|
-
size:
|
|
70
|
+
size: n,
|
|
71
71
|
dropdownOpened: p,
|
|
72
72
|
loading: a,
|
|
73
73
|
style: d.length === 0 ? { display: "none" } : void 0,
|
|
@@ -76,7 +76,7 @@ const F = [L.ENTER], I = ({ children: c, size: i, targetRef: l, focusTrapProps:
|
|
|
76
76
|
{
|
|
77
77
|
id: o.id,
|
|
78
78
|
keyCodesForSelection: F,
|
|
79
|
-
selected: o.id === (
|
|
79
|
+
selected: o.id === (i == null ? void 0 : i.id),
|
|
80
80
|
showNotificationIcon: o.showNotificationIcon,
|
|
81
81
|
onSelect: () => u(o),
|
|
82
82
|
children: o.content || o.label
|
|
@@ -1,44 +1,45 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { useSuggestContext as
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import P, { useCallback as r } from "react";
|
|
3
|
+
import { useSuggestContext as T } from "../../Suggest/SuggestContext.js";
|
|
4
4
|
import "../../Suggest/Suggest.js";
|
|
5
|
-
import { C as
|
|
6
|
-
import { ChipClearButton as
|
|
7
|
-
import { ChipDropdownArrow as
|
|
5
|
+
import { C as c } from "../../../chunks/Chip-Di8g8Z6j.js";
|
|
6
|
+
import { ChipClearButton as w } from "../ChipClearButton.js";
|
|
7
|
+
import { ChipDropdownArrow as B } from "../ChipDropdownArrow.js";
|
|
8
8
|
import { isKey as n } from "../../../utils/keyboard.js";
|
|
9
|
-
const
|
|
10
|
-
const { value:
|
|
9
|
+
const R = ({ onKeyDown: p, onClick: s, clearSelected: a, size: d, ...C }, g) => {
|
|
10
|
+
const { value: f, dropdownOpen: t, setDropdownOpen: i } = T(), h = r(
|
|
11
11
|
(o) => {
|
|
12
|
-
|
|
12
|
+
i(!t), s == null || s(o);
|
|
13
13
|
},
|
|
14
|
-
[t,
|
|
15
|
-
),
|
|
14
|
+
[t, i, s]
|
|
15
|
+
), x = r(
|
|
16
16
|
(o) => {
|
|
17
|
-
(n(o.code, "ENTER") || n(o.code, "SPACE")) && (
|
|
17
|
+
(n(o.code, "ENTER") || n(o.code, "SPACE")) && (i(!t), p == null || p(o));
|
|
18
18
|
},
|
|
19
|
-
[t,
|
|
20
|
-
),
|
|
19
|
+
[t, i, p]
|
|
20
|
+
), u = r((o) => {
|
|
21
21
|
(n(o.code, "ENTER") || n(o.code, "SPACE")) && o.stopPropagation();
|
|
22
22
|
}, []), e = r(
|
|
23
23
|
(o) => {
|
|
24
|
-
o.stopPropagation(),
|
|
24
|
+
o.stopPropagation(), a == null || a();
|
|
25
25
|
},
|
|
26
|
-
[
|
|
27
|
-
),
|
|
28
|
-
return /* @__PURE__ */
|
|
29
|
-
|
|
26
|
+
[a]
|
|
27
|
+
), E = r(() => f === void 0 ? /* @__PURE__ */ m(B, { rotated: t, size: d }) : /* @__PURE__ */ m(w, { onClick: e, onKeyDown: u }), [f, d, t, e, u]);
|
|
28
|
+
return /* @__PURE__ */ m(
|
|
29
|
+
c,
|
|
30
30
|
{
|
|
31
|
-
selected:
|
|
31
|
+
selected: f !== void 0,
|
|
32
32
|
"aria-expanded": t,
|
|
33
|
-
postfix:
|
|
34
|
-
onKeyDown:
|
|
35
|
-
onClick:
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
postfix: E(),
|
|
34
|
+
onKeyDown: x,
|
|
35
|
+
onClick: h,
|
|
36
|
+
size: d,
|
|
37
|
+
...C,
|
|
38
|
+
ref: g
|
|
38
39
|
}
|
|
39
40
|
);
|
|
40
|
-
},
|
|
41
|
+
}, k = P.forwardRef(R);
|
|
41
42
|
export {
|
|
42
|
-
|
|
43
|
+
k as ChipSuggestTarget
|
|
43
44
|
};
|
|
44
45
|
//# sourceMappingURL=ChipSuggestTarget.js.map
|