@sberbusiness/triplex-next 1.16.0 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/{AlertProcessSpoiler-BG_kloAp.js → AlertProcessSpoiler-LkdaQ_Di.js} +6 -6
- package/chunks/{CalendarViewItem-CQQGgtHA.js → CalendarViewItem-pHtA4Vlx.js} +8 -8
- package/chunks/Card.module-BcSOlt-v.js +17 -0
- package/chunks/CheckboxTreeExtended.module-DiHCUVg2.js +14 -0
- package/chunks/{Chip-D_XuO-fG.js → Chip-CO3WBvtA.js} +14 -14
- package/chunks/Confirm.module-Dhpj4ZKo.js +15 -0
- package/chunks/{DropdownListItem-DzngoNVf.js → DropdownListItem-BQHOMeuh.js} +15 -15
- package/chunks/DropdownMobile.module-xbdFMKNS.js +23 -0
- package/chunks/Footer.module-C1SNucJG.js +9 -0
- package/chunks/{FormFieldInput-TbDWEJtn.js → FormFieldInput-BHKqXXmM.js} +9 -9
- package/chunks/HeaderLayoutSidebar.module-DwvmK73d.js +9 -0
- package/chunks/HeaderTabs.module-MEcJFqAB.js +9 -0
- package/chunks/{HeaderTitle.module-DVxCsuq0.js → HeaderTitle.module-DejeYBva.js} +2 -2
- package/chunks/IslandAccordion.module-BxCqLPl3.js +25 -0
- package/chunks/IslandWidgetFooter.module-D1LPR8QN.js +9 -0
- package/chunks/IslandWidgetHeader.module-BM15zmJI.js +12 -0
- package/chunks/{LightBoxContent-CY1Sxlp1.js → LightBoxContent-CAboXCdn.js} +14 -14
- package/chunks/LightBoxControls.module-DGtd3hzE.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-C1IxLp8t.js +8 -0
- package/chunks/{ListItemControlsButton-C55hc-cr.js → ListItemControlsButton-rljKBmYs.js} +7 -7
- package/chunks/ListItemTail.module-DeeZQGZM.js +12 -0
- package/chunks/ListMasterFooter.module-Deinj_Hn.js +10 -0
- package/chunks/ModalWindow.module-B0rsZ6qC.js +17 -0
- package/chunks/Notification.module-nKn4mJRI.js +21 -0
- package/chunks/Overlay.module-DK5sjXuJ.js +18 -0
- package/chunks/Page.module-CUe-R8bM.js +11 -0
- package/chunks/{RightBorderArrow-D4dScyRx.js → RightBorderArrow-VyofIz59.js} +8 -8
- package/chunks/SMSField.module-GiwLpUxs.js +16 -0
- package/chunks/SliderExtendedMarks.module-n3OIn4Fh.js +15 -0
- package/chunks/{SliderExtendedRail-Bgz2tkUx.js → SliderExtendedRail-DgwS0MGB.js} +7 -7
- package/chunks/StatusTracker.module-BMReqWPL.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-CaLnhNmM.js → SuggestFieldMobileDropdownHint-BLejFeyH.js} +5 -5
- package/chunks/TableFooter.module-DFzmhqFH.js +14 -0
- package/chunks/TabsExtended.module-Dn0Lp5NZ.js +16 -0
- package/chunks/TabsLine.module-BXYAgYql.js +21 -0
- package/chunks/TooltipDesktop.module-Dabcv06X.js +19 -0
- package/chunks/TreeView.module-Bv5q9M8W.js +9 -0
- package/chunks/UploadZoneInput-CVEVGrOi.js +33 -0
- package/chunks/{constants-DAn1uZaw.js → constants-RnOklYSN.js} +12 -12
- package/chunks/utils-BecQ3s95.js +24 -0
- package/chunks/utils-CgBTTmNc.js +73 -0
- package/chunks/utils-IR7tW0dD.js +20 -0
- package/chunks/{utils-9tQwQbYj.js → utils-mnZTG3vL.js} +8 -8
- package/components/Alert/AlertContext/AlertContext.js +11 -11
- 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 +15 -15
- package/components/Badge/Badge.js +5 -5
- package/components/Badge/BadgeDot.js +5 -5
- package/components/Badge/components/BadgeContent.js +12 -12
- package/components/Badge/components/BadgePostfix.js +7 -7
- package/components/Badge/components/BadgePrefix.js +4 -4
- package/components/Body/Body.js +7 -7
- package/components/Button/Button.js +28 -28
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +1 -1
- package/components/Button/ButtonDropdownExtended.js +4 -4
- package/components/Button/ButtonIcon.js +9 -9
- package/components/Calendar/Calendar.js +20 -20
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +4 -4
- package/components/Calendar/components/CalendarViewDays.js +1 -1
- package/components/Calendar/components/CalendarViewItem.js +1 -1
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +11 -11
- 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 +6 -6
- package/components/Checkbox/CheckboxXGroup.js +14 -14
- package/components/Checkbox/CheckboxYGroup.js +3 -3
- 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 +6 -6
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +7 -7
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +6 -6
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +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 +11 -11
- package/components/Confirm/Confirm.js +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +1 -1
- package/components/Confirm/components/ConfirmContent.js +1 -1
- package/components/Confirm/components/ConfirmContentTitle.js +1 -1
- package/components/Confirm/components/ConfirmControls.js +1 -1
- package/components/DateField/DateField.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +1 -1
- package/components/DateRange/DateRange.js +12 -12
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/Divider/Divider.js +20 -20
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +4 -4
- package/components/Dropdown/desktop/DropdownDesktop.js +18 -18
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +5 -5
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +2 -2
- 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 +30 -30
- package/components/FormField/components/FormFieldClear.js +9 -9
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +3 -3
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +31 -30
- package/components/FormField/components/FormFieldMaskedInput.js +14 -14
- package/components/FormField/components/FormFieldPostfix.js +5 -5
- package/components/FormField/components/FormFieldPrefix.js +7 -7
- package/components/FormField/components/FormFieldTarget.js +19 -19
- package/components/FormField/components/FormFieldTextarea.js +12 -12
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +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 +8 -8
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +2 -2
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +2 -2
- package/components/IslandWidget/IslandWidget.js +15 -15
- package/components/IslandWidget/components/IslandWidgetBody.js +1 -1
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +7 -7
- package/components/IslandWidget/components/IslandWidgetFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +7 -7
- package/components/LightBox/LightBox.js +12 -12
- 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 +26 -26
- 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 +8 -8
- package/components/Link/Link.js +24 -24
- package/components/List/List.js +2 -2
- package/components/List/components/ListEmptyState.js +1 -1
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +5 -5
- 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 +1 -1
- package/components/List/components/ListItemSelectable.js +3 -3
- package/components/List/components/ListItemTable.js +6 -6
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +8 -8
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +5 -5
- 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 +6 -6
- 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 +1 -1
- package/components/ListMaster/components/SelectionControls.js +6 -6
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +13 -13
- package/components/Loader/LoaderSmall/LoaderSmall.js +9 -9
- package/components/LoaderScreen/LoaderScreen.js +5 -5
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +15 -15
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +1 -1
- package/components/ModalWindow/components/ModalWindowClose.js +1 -1
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +5 -5
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +8 -8
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +3 -3
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyContent.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +1 -1
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +1 -1
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NotificationIcon/NotificationIcon.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +2 -2
- package/components/OrderedList/OrderedListItem.js +11 -11
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayMask.js +13 -11
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Overlay/index.js +12 -0
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +12 -12
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +5 -5
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +4 -4
- package/components/Pagination/components/PaginationPageEllipsis.js +1 -1
- package/components/Pagination/components/PaginationSelect.js +17 -17
- package/components/Radio/Radio.js +18 -18
- package/components/Radio/RadioXGroup.js +12 -12
- package/components/Radio/RadioYGroup.js +6 -6
- 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 +5 -5
- package/components/SegmentedControl/SegmentedControlSegment.js +16 -16
- package/components/SelectExtendedField/SelectExtendedField.js +7 -7
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +21 -21
- package/components/Skeleton/Skeleton.js +12 -12
- 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 +15 -15
- package/components/SmallInput/SmallInput.js +6 -6
- package/components/Spoiler/Spoiler.js +13 -13
- 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 +15 -15
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +10 -10
- package/components/Stepper/StepperExtended.js +3 -3
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperWrapper.js +5 -5
- package/components/Suggest/SuggestMobileDropdownContent.js +7 -7
- 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 +25 -25
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +18 -18
- package/components/Table/NoColumns.js +6 -6
- 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 +7 -7
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +4 -4
- 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 +4 -4
- 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 +13 -13
- 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 +1 -1
- package/components/TagColor/TagColor.js +13 -13
- package/components/TagGroup/TagGroup.js +9 -9
- 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 +4 -4
- package/components/TopOverlay/TopOverlay.js +20 -20
- 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 +22 -22
- package/components/Typography/Text.js +6 -6
- package/components/Typography/Title.js +18 -18
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +4 -4
- package/components/UnorderedList/UnorderedListItem.js +6 -6
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +155 -146
- package/helpers/less/colors.less +110 -0
- package/index.d.ts +34 -4
- package/index.js +139 -130
- package/package.json +5 -1
- package/styles/triplex-next.css +546 -546
- package/chunks/Card.module-D_9Nt5tA.js +0 -17
- package/chunks/CheckboxTreeExtended.module-D7lKoA-a.js +0 -14
- package/chunks/Confirm.module-BFd_0tH_.js +0 -15
- package/chunks/DropdownMobile.module-Ct6WVB7d.js +0 -23
- package/chunks/Footer.module-Cz5Pu1VT.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-Bce5gLLP.js +0 -9
- package/chunks/HeaderTabs.module-Bwx0AJwd.js +0 -9
- package/chunks/IslandAccordion.module-oqHSoL0z.js +0 -25
- package/chunks/IslandWidgetFooter.module-Bp7thdVi.js +0 -9
- package/chunks/IslandWidgetHeader.module-B2SJ3aL2.js +0 -12
- package/chunks/LightBoxControls.module-CXoONiYm.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-BeAPadn5.js +0 -8
- package/chunks/ListItemTail.module-BlucpMEa.js +0 -12
- package/chunks/ListMasterFooter.module-D93cBp3m.js +0 -10
- package/chunks/ModalWindow.module-AO3qbtIE.js +0 -17
- package/chunks/Notification.module-3pjGHWYU.js +0 -21
- package/chunks/Overlay.module-yINooO_5.js +0 -18
- package/chunks/Page.module-fTNmaZZ6.js +0 -11
- package/chunks/SMSField.module-D01Witvu.js +0 -16
- package/chunks/SliderExtendedMarks.module-BLyZ9qYi.js +0 -15
- package/chunks/StatusTracker.module-DPlTQG3M.js +0 -24
- package/chunks/TableFooter.module-zC8u9DwX.js +0 -14
- package/chunks/TabsExtended.module-C65aq0XO.js +0 -16
- package/chunks/TabsLine.module-B3O0egAv.js +0 -21
- package/chunks/TooltipDesktop.module-D1K6FcqB.js +0 -19
- package/chunks/TreeView.module-Vpz40gNk.js +0 -9
- package/chunks/UploadZoneInput-DxG_yQtm.js +0 -33
- package/chunks/utils-D7Yx6kDI.js +0 -20
- package/chunks/utils-DV0NGebi.js +0 -24
- package/chunks/utils-HLMbnICl.js +0 -73
|
@@ -10,8 +10,8 @@ import { EFocusSource as r } from "../../enums/EFocusSource.js";
|
|
|
10
10
|
import { mapCardRoundingSizeToCssClass as x, mapCardThemeToCssClass as K } from "./utils.js";
|
|
11
11
|
import { isKey as p } from "../../utils/keyboard.js";
|
|
12
12
|
import { c as k } from "../../chunks/vendor-Dlne6Znf.js";
|
|
13
|
-
import { c as B } from "../../chunks/Card.module-
|
|
14
|
-
const O = "
|
|
13
|
+
import { c as B } from "../../chunks/Card.module-BcSOlt-v.js";
|
|
14
|
+
const O = "action__d89975d6", F = "selected__238967df", V = "focusVisible__88d4b897", a = {
|
|
15
15
|
action: O,
|
|
16
16
|
selected: F,
|
|
17
17
|
focusVisible: V
|
|
@@ -38,16 +38,16 @@ class l extends u.Component {
|
|
|
38
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,7 +62,7 @@ class l extends u.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,
|
|
@@ -74,12 +74,12 @@ class l extends u.Component {
|
|
|
74
74
|
...C
|
|
75
75
|
} = this.props, { isControlled: E, isSelected: g, focusSource: D } = this.state, N = k(
|
|
76
76
|
B.card,
|
|
77
|
-
|
|
77
|
+
a.action,
|
|
78
78
|
K[S],
|
|
79
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
|
);
|
|
@@ -96,7 +96,7 @@ class l extends u.Component {
|
|
|
96
96
|
role: "button",
|
|
97
97
|
...C,
|
|
98
98
|
ref: this.ref,
|
|
99
|
-
"data-tx": "1.
|
|
99
|
+
"data-tx": "1.18.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-Dlne6Znf.js";
|
|
6
|
-
import { c as n } from "../../chunks/Card.module-
|
|
6
|
+
import { c as n } from "../../chunks/Card.module-BcSOlt-v.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.18.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-Dlne6Znf.js";
|
|
7
|
-
import { c as r } from "../../../../chunks/Card.module-
|
|
7
|
+
import { c as r } from "../../../../chunks/Card.module-BcSOlt-v.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-Dlne6Znf.js";
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-BcSOlt-v.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-Dlne6Znf.js";
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-BcSOlt-v.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-Dlne6Znf.js";
|
|
3
|
-
import { c as d } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as d } from "../../../../../chunks/Card.module-BcSOlt-v.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-Dlne6Znf.js";
|
|
3
|
-
import { c as m } from "../../../chunks/Card.module-
|
|
3
|
+
import { c as m } from "../../../chunks/Card.module-BcSOlt-v.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-Dlne6Znf.js";
|
|
4
4
|
import { scrollSmoothHorizontally as c } from "../../utils/scroll.js";
|
|
5
|
-
const R = "
|
|
5
|
+
const R = "carouselExtended__e721abf8", k = {
|
|
6
6
|
carouselExtended: R
|
|
7
7
|
}, y = C.forwardRef(
|
|
8
8
|
({ children: l, buttonPrev: a, buttonNext: i, stepPrev: u, stepNext: f, ...h }, s) => {
|
|
@@ -8,7 +8,7 @@ import "../Typography/Title.js";
|
|
|
8
8
|
import { EComponentSize as s } from "../../enums/EComponentSize.js";
|
|
9
9
|
import { createSizeToClassNameMap as u } from "../../utils/classNameMaps.js";
|
|
10
10
|
import { c as r } from "../../chunks/vendor-Dlne6Znf.js";
|
|
11
|
-
const y = "
|
|
11
|
+
const y = "label__b947c669", M = "sm__380b350b", T = "nonempty__33e188fd", g = "md__05d64077", v = "lg__f913b234", B = "disabled__37a2bd12", j = "checkbox__eda16092", D = "checkboxIcon__3755ae65", E = "checkmarkIcon__2bbaab47", e = {
|
|
12
12
|
label: y,
|
|
13
13
|
sm: M,
|
|
14
14
|
nonempty: T,
|
|
@@ -22,25 +22,25 @@ const y = "label__711a0321", M = "sm__9f1560ee", T = "nonempty__c3a2db66", g = "
|
|
|
22
22
|
[s.LG]: n.B2,
|
|
23
23
|
[s.MD]: n.B3,
|
|
24
24
|
[s.SM]: n.B4
|
|
25
|
-
},
|
|
25
|
+
}, b = u(e), R = N.forwardRef((i, k) => {
|
|
26
26
|
const {
|
|
27
27
|
children: a,
|
|
28
|
-
className:
|
|
28
|
+
className: d,
|
|
29
29
|
disabled: m,
|
|
30
30
|
bulk: p,
|
|
31
31
|
labelAttributes: o,
|
|
32
32
|
size: t = s.MD,
|
|
33
33
|
...x
|
|
34
|
-
} =
|
|
34
|
+
} = i, h = r(e.checkbox, d, b[t]), _ = r(
|
|
35
35
|
e.label,
|
|
36
|
-
|
|
36
|
+
b[t],
|
|
37
37
|
{ [e.disabled]: !!m, [e.nonempty]: !!a },
|
|
38
38
|
o == null ? void 0 : o.className
|
|
39
39
|
), f = () => {
|
|
40
40
|
const l = e.checkmarkIcon;
|
|
41
41
|
return p ? /* @__PURE__ */ c(S, { className: l, paletteIndex: 7 }) : /* @__PURE__ */ c(z, { className: l, paletteIndex: 7 });
|
|
42
42
|
};
|
|
43
|
-
return /* @__PURE__ */ I("label", { ...o, className: _, "data-tx": "1.
|
|
43
|
+
return /* @__PURE__ */ I("label", { ...o, className: _, "data-tx": "1.18.0", children: [
|
|
44
44
|
/* @__PURE__ */ c("input", { type: "checkbox", className: h, disabled: m, ...x, ref: k }),
|
|
45
45
|
/* @__PURE__ */ c("span", { className: e.checkboxIcon }),
|
|
46
46
|
f(),
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { c as r } from "../../chunks/vendor-Dlne6Znf.js";
|
|
3
|
-
const
|
|
4
|
-
checkboxXGroup:
|
|
5
|
-
"indent-12": "indent-
|
|
6
|
-
label:
|
|
7
|
-
"indent-16": "indent-
|
|
8
|
-
"indent-20": "indent-
|
|
9
|
-
"indent-24": "indent-
|
|
10
|
-
"indent-28": "indent-
|
|
11
|
-
"indent-32": "indent-
|
|
12
|
-
},
|
|
13
|
-
const { children: c, className: t, indent: o = 12, ...
|
|
14
|
-
return /* @__PURE__ */ i("div", { className:
|
|
3
|
+
const _ = "checkboxXGroup__41508781", a = "label__b947c669", e = {
|
|
4
|
+
checkboxXGroup: _,
|
|
5
|
+
"indent-12": "indent-12__dd3fdf99",
|
|
6
|
+
label: a,
|
|
7
|
+
"indent-16": "indent-16__989a6122",
|
|
8
|
+
"indent-20": "indent-20__8561c5cd",
|
|
9
|
+
"indent-24": "indent-24__e22b124e",
|
|
10
|
+
"indent-28": "indent-28__cecd348b",
|
|
11
|
+
"indent-32": "indent-32__f83f3a81"
|
|
12
|
+
}, l = (n) => {
|
|
13
|
+
const { children: c, className: t, indent: o = 12, ...d } = n, s = r(e.checkboxXGroup, e[`indent-${o}`], t);
|
|
14
|
+
return /* @__PURE__ */ i("div", { className: s, role: "group", ...d, children: c });
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
l.displayName = "CheckboxXGroup";
|
|
17
17
|
export {
|
|
18
|
-
|
|
18
|
+
l as CheckboxXGroup
|
|
19
19
|
};
|
|
20
20
|
//# sourceMappingURL=CheckboxXGroup.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import { c as t } from "../../chunks/vendor-Dlne6Znf.js";
|
|
3
|
-
const a = "
|
|
3
|
+
const a = "checkboxYGroup__6f8eec97", x = {
|
|
4
4
|
checkboxYGroup: a
|
|
5
5
|
}, l = (o) => {
|
|
6
|
-
const { children: c, className: s, ...
|
|
7
|
-
return /* @__PURE__ */ p("div", { className:
|
|
6
|
+
const { children: c, className: s, ...e } = o, r = t(x.checkboxYGroup, s);
|
|
7
|
+
return /* @__PURE__ */ p("div", { className: r, role: "group", ...e, children: c });
|
|
8
8
|
};
|
|
9
9
|
l.displayName = "CheckboxYGroup";
|
|
10
10
|
export {
|
|
@@ -5,7 +5,7 @@ import { CheckboxTreeExtendedNode as c } from "./components/CheckboxTreeExtended
|
|
|
5
5
|
import { CheckboxTreeExtendedContext as i } from "./CheckboxTreeExtendedContext.js";
|
|
6
6
|
import { c as p } from "../../chunks/vendor-Dlne6Znf.js";
|
|
7
7
|
import { EComponentSize as s } from "../../enums/EComponentSize.js";
|
|
8
|
-
import { s as n } from "../../chunks/CheckboxTreeExtended.module-
|
|
8
|
+
import { s as n } from "../../chunks/CheckboxTreeExtended.module-DiHCUVg2.js";
|
|
9
9
|
const e = ({ className: r, size: t = s.MD, ...m }) => /* @__PURE__ */ o(i.Provider, { value: { size: t }, children: /* @__PURE__ */ o(x, { className: p(n.checkboxTreeExtended, r), ...m }) });
|
|
10
10
|
e.displayName = "CheckboxTreeExtended";
|
|
11
11
|
e.Checkbox = d;
|
|
@@ -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-DiHCUVg2.js";
|
|
9
9
|
class x extends h.Component {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments);
|
|
@@ -2,7 +2,7 @@ import { jsx as a } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRef as h, useContext as u, useEffect as d } from "react";
|
|
3
3
|
import { Checkbox as f } from "../../Checkbox/Checkbox.js";
|
|
4
4
|
import { c as i } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
5
|
-
import { s as t } from "../../../chunks/CheckboxTreeExtended.module-
|
|
5
|
+
import { s as t } from "../../../chunks/CheckboxTreeExtended.module-DiHCUVg2.js";
|
|
6
6
|
import { CheckboxTreeExtendedContext as k } from "../CheckboxTreeExtendedContext.js";
|
|
7
7
|
const l = ({
|
|
8
8
|
active: r,
|
|
@@ -5,7 +5,7 @@ import { isStaticCheckboxTreeExtended as f } from "../isStaticCheckboxTreeExtend
|
|
|
5
5
|
import { c as u } from "../../../chunks/vendor-Dlne6Znf.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-DiHCUVg2.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-Dlne6Znf.js";
|
|
4
|
-
import { C as e } from "../../chunks/Chip-
|
|
4
|
+
import { C as e } from "../../chunks/Chip-CO3WBvtA.js";
|
|
5
5
|
import "../../enums/EComponentSize.js";
|
|
6
6
|
import "../../utils/classNameMaps.js";
|
|
7
7
|
import "../../utils/keyboard.js";
|
|
@@ -4,17 +4,17 @@ import { c as p } from "../../chunks/vendor-Dlne6Znf.js";
|
|
|
4
4
|
import { CrossStrokeSrvIcon24 as c, CrossStrokeSrvIcon20 as i, CrossStrokeSrvIcon16 as l } from "@sberbusiness/icons-next";
|
|
5
5
|
import { EComponentSize as t } from "../../enums/EComponentSize.js";
|
|
6
6
|
import { ButtonIcon as m } from "../Button/ButtonIcon.js";
|
|
7
|
-
const C = "
|
|
7
|
+
const C = "chipClearButton__4bad223e", f = {
|
|
8
8
|
chipClearButton: C
|
|
9
|
-
},
|
|
9
|
+
}, d = {
|
|
10
10
|
[t.SM]: /* @__PURE__ */ o(l, { paletteIndex: 6 }),
|
|
11
11
|
[t.MD]: /* @__PURE__ */ o(i, { paletteIndex: 6 }),
|
|
12
12
|
[t.LG]: /* @__PURE__ */ o(c, { paletteIndex: 6 })
|
|
13
|
-
},
|
|
14
|
-
({ className: r, size: e = t.MD, ...n }, s) => /* @__PURE__ */ o(m, { className: p(f.chipClearButton, r), ...n, ref: s, children:
|
|
13
|
+
}, u = a.forwardRef(
|
|
14
|
+
({ className: r, size: e = t.MD, ...n }, s) => /* @__PURE__ */ o(m, { className: p(f.chipClearButton, r), ...n, ref: s, children: d[e] })
|
|
15
15
|
);
|
|
16
|
-
|
|
16
|
+
u.displayName = "ChipClearButton";
|
|
17
17
|
export {
|
|
18
|
-
|
|
18
|
+
u as ChipClearButton
|
|
19
19
|
};
|
|
20
20
|
//# sourceMappingURL=ChipClearButton.js.map
|
|
@@ -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-CO3WBvtA.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 x, { useContext as D } from "react";
|
|
3
|
-
import { C as k } from "../../../chunks/Chip-
|
|
3
|
+
import { C as k } from "../../../chunks/Chip-CO3WBvtA.js";
|
|
4
4
|
import { ChipDropdownArrow as w } from "../ChipDropdownArrow.js";
|
|
5
5
|
import { ChipClearButton as P } from "../ChipClearButton.js";
|
|
6
6
|
import { DatePickerExtendedContext as g } from "../../DatePickerExtended/DatePickerExtendedContext.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { CaretdownStrokeSrvIcon20 as p } from "@sberbusiness/icons-next";
|
|
3
|
-
import { c as
|
|
4
|
-
const c = "
|
|
3
|
+
import { c as a } from "../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
+
const c = "chipDropdownArrow__8943b69a", d = "rotated__5779ac44", o = {
|
|
5
5
|
chipDropdownArrow: c,
|
|
6
|
-
rotated:
|
|
7
|
-
},
|
|
6
|
+
rotated: d
|
|
7
|
+
}, e = ({ rotated: r }) => /* @__PURE__ */ t(
|
|
8
8
|
p,
|
|
9
9
|
{
|
|
10
|
-
className:
|
|
10
|
+
className: a(o.chipDropdownArrow, { [o.rotated]: r }),
|
|
11
11
|
paletteIndex: 5
|
|
12
12
|
}
|
|
13
13
|
);
|
|
14
|
-
|
|
14
|
+
e.displayName = "ChipDropdownArrow";
|
|
15
15
|
export {
|
|
16
|
-
|
|
16
|
+
e as ChipDropdownArrow
|
|
17
17
|
};
|
|
18
18
|
//# sourceMappingURL=ChipDropdownArrow.js.map
|
|
@@ -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-CO3WBvtA.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 r } 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-CO3WBvtA.js";
|
|
5
5
|
import { ChipClearButton as E } from "./ChipClearButton.js";
|
|
6
6
|
import { ChipDropdownArrow as K } from "./ChipDropdownArrow.js";
|
|
7
7
|
import { isKey as t } from "../../utils/keyboard.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import a from "react";
|
|
3
3
|
import { OptionsStrokeSrvIcon24 as i } from "@sberbusiness/icons-next";
|
|
4
|
-
import { C } from "../../chunks/Chip-
|
|
4
|
+
import { C } from "../../chunks/Chip-CO3WBvtA.js";
|
|
5
5
|
import { ChipClearButton as c } from "./ChipClearButton.js";
|
|
6
|
-
const f = "
|
|
6
|
+
const f = "chipOptionsContent__c62c0b36", m = {
|
|
7
7
|
chipOptionsContent: f
|
|
8
|
-
}, l =
|
|
8
|
+
}, l = a.forwardRef(
|
|
9
9
|
({ children: o, clearSelected: e, selected: n, ...p }, s) => /* @__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(c, { onClick: (
|
|
14
|
-
|
|
13
|
+
postfix: n ? /* @__PURE__ */ t(c, { onClick: (r) => {
|
|
14
|
+
r.stopPropagation(), e();
|
|
15
15
|
}, size: p.size }) : /* @__PURE__ */ t("span", {}),
|
|
16
16
|
selected: n,
|
|
17
17
|
...p,
|
|
@@ -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-CO3WBvtA.js";
|
|
9
9
|
import { c as g } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
10
10
|
const u = S.forwardRef(
|
|
11
11
|
({ className: d, clearSelected: m, disabled: c, size: o, label: i, displayedValue: l, onChange: p, options: s, value: e, ...n }, f) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import T, { useCallback as t } from "react";
|
|
3
|
-
import { C as g } from "../../../chunks/Chip-
|
|
3
|
+
import { C as g } from "../../../chunks/Chip-CO3WBvtA.js";
|
|
4
4
|
import { ChipDropdownArrow as x } from "../ChipDropdownArrow.js";
|
|
5
5
|
import { ChipClearButton as y } from "../ChipClearButton.js";
|
|
6
6
|
import { isKey as a } from "../../../utils/keyboard.js";
|
|
@@ -7,7 +7,7 @@ import { SelectExtendedField as K } from "../SelectExtendedField/SelectExtendedF
|
|
|
7
7
|
import "../SelectExtendedField/components/SelectExtendedFieldDropdown.js";
|
|
8
8
|
import "../SelectExtendedField/components/SelectExtendedFieldTarget.js";
|
|
9
9
|
import { SelectExtendedFieldDropdownDefault as T } from "../SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js";
|
|
10
|
-
import { s as k } from "../../chunks/Chip-
|
|
10
|
+
import { s as k } from "../../chunks/Chip-CO3WBvtA.js";
|
|
11
11
|
import { isKey as m } from "../../utils/keyboard.js";
|
|
12
12
|
const q = y.forwardRef(
|
|
13
13
|
({ className: d, defaultValue: p, disabled: f, label: u, onChange: x, options: h, value: e, size: i, ...I }, S) => {
|
|
@@ -5,7 +5,7 @@ import { c as x } from "../../../chunks/vendor-Dlne6Znf.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-CO3WBvtA.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 x } from "../../Dropdown/desktop/DropdownList.js";
|
|
9
|
-
import { D as R } from "../../../chunks/DropdownListItem-
|
|
9
|
+
import { D as R } from "../../../chunks/DropdownListItem-BQHOMeuh.js";
|
|
10
10
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
11
11
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
12
12
|
import "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -2,7 +2,7 @@ import { jsx as f } from "react/jsx-runtime";
|
|
|
2
2
|
import E, { useCallback as r } from "react";
|
|
3
3
|
import { useSuggestContext as P } from "../../Suggest/SuggestContext.js";
|
|
4
4
|
import "../../Suggest/Suggest.js";
|
|
5
|
-
import { C as T } from "../../../chunks/Chip-
|
|
5
|
+
import { C as T } from "../../../chunks/Chip-CO3WBvtA.js";
|
|
6
6
|
import { ChipClearButton as c } from "../ChipClearButton.js";
|
|
7
7
|
import { ChipDropdownArrow as w } from "../ChipDropdownArrow.js";
|
|
8
8
|
import { isKey as n } from "../../../utils/keyboard.js";
|
|
@@ -7,7 +7,7 @@ import "../../../FormField/components/FormFieldCounter.js";
|
|
|
7
7
|
import { FormFieldLabel as D } from "../../../FormField/components/FormFieldLabel.js";
|
|
8
8
|
import { FormFieldClear as L } from "../../../FormField/components/FormFieldClear.js";
|
|
9
9
|
import "../../../FormField/components/FormFieldTarget.js";
|
|
10
|
-
import { F as M } from "../../../../chunks/FormFieldInput-
|
|
10
|
+
import { F as M } from "../../../../chunks/FormFieldInput-BHKqXXmM.js";
|
|
11
11
|
import "../../../FormField/components/FormFieldMaskedInput.js";
|
|
12
12
|
import { FormFieldPostfix as O } from "../../../FormField/components/FormFieldPostfix.js";
|
|
13
13
|
import "../../../FormField/components/FormFieldPrefix.js";
|
|
@@ -18,7 +18,7 @@ import { ETooltipSize as R } from "../../../Tooltip/enums.js";
|
|
|
18
18
|
import { LoaderSmall as W } from "../../../Loader/LoaderSmall/LoaderSmall.js";
|
|
19
19
|
import { ELoaderSmallTheme as b } from "../../../Loader/LoaderSmall/enum.js";
|
|
20
20
|
import "../../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
21
|
-
const E = "
|
|
21
|
+
const E = "chipSuggestInputWrapper__a552fc48", j = {
|
|
22
22
|
chipSuggestInputWrapper: E
|
|
23
23
|
}, oe = ({ children: m }) => {
|
|
24
24
|
const {
|
|
@@ -26,8 +26,8 @@ const E = "chipSuggestInputWrapper__5c181ecc", j = {
|
|
|
26
26
|
placeholder: u,
|
|
27
27
|
noOptionsText: c,
|
|
28
28
|
dropdownListId: d,
|
|
29
|
-
activeDescendant:
|
|
30
|
-
loading:
|
|
29
|
+
activeDescendant: f,
|
|
30
|
+
loading: g,
|
|
31
31
|
tooltipOpen: h,
|
|
32
32
|
clearInputOnFocus: p,
|
|
33
33
|
onFilter: e
|
|
@@ -58,7 +58,7 @@ const E = "chipSuggestInputWrapper__5c181ecc", j = {
|
|
|
58
58
|
value: r,
|
|
59
59
|
placeholder: u,
|
|
60
60
|
"aria-controls": d,
|
|
61
|
-
"aria-activedescendant":
|
|
61
|
+
"aria-activedescendant": f,
|
|
62
62
|
autoFocus: !0,
|
|
63
63
|
onFocus: C,
|
|
64
64
|
onBlur: x,
|
|
@@ -71,7 +71,7 @@ const E = "chipSuggestInputWrapper__5c181ecc", j = {
|
|
|
71
71
|
),
|
|
72
72
|
/* @__PURE__ */ i(O, { children: [
|
|
73
73
|
/* @__PURE__ */ t(L, { onClick: S }),
|
|
74
|
-
|
|
74
|
+
g && /* @__PURE__ */ t(W, { theme: b.BRAND, size: a.SM })
|
|
75
75
|
] })
|
|
76
76
|
] });
|
|
77
77
|
};
|
package/components/Chip/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as e } from "../../chunks/Chip-
|
|
1
|
+
import { C as e } from "../../chunks/Chip-CO3WBvtA.js";
|
|
2
2
|
import { ChipDatePicker as t } from "./ChipDatePicker/ChipDatePicker.js";
|
|
3
3
|
import { ChipDatePickerTarget as C } from "./ChipDatePicker/ChipDatePickerTarget.js";
|
|
4
4
|
import { ChipClearButton as h } from "./ChipClearButton.js";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { c
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import r from "react";
|
|
3
|
+
import { c } from "../../chunks/vendor-Dlne6Znf.js";
|
|
4
4
|
import { EComponentSize as a } from "../../enums/EComponentSize.js";
|
|
5
|
-
import { createSizeToClassNameMap as
|
|
6
|
-
const
|
|
7
|
-
chipGroup:
|
|
8
|
-
oneLine:
|
|
9
|
-
multiLine:
|
|
5
|
+
import { createSizeToClassNameMap as l } from "../../utils/classNameMaps.js";
|
|
6
|
+
const _ = "chipGroup__fec4906b", u = "oneLine__4d864186", f = "multiLine__670977a3", d = "lg__152f12b9", L = "md__92285a0c", h = "sm__959c4e46", o = {
|
|
7
|
+
chipGroup: _,
|
|
8
|
+
oneLine: u,
|
|
9
|
+
multiLine: f,
|
|
10
10
|
lg: d,
|
|
11
11
|
md: L,
|
|
12
12
|
sm: h
|
|
13
|
-
}, G =
|
|
14
|
-
({ children: i, className: t, oneLine: e, size: m = a.MD, ...s }, n) => /* @__PURE__ */
|
|
13
|
+
}, G = l(o), C = r.forwardRef(
|
|
14
|
+
({ children: i, className: t, oneLine: e, size: m = a.MD, ...s }, n) => /* @__PURE__ */ p(
|
|
15
15
|
"div",
|
|
16
16
|
{
|
|
17
|
-
className:
|
|
17
|
+
className: c(o.chipGroup, G[m], t, {
|
|
18
18
|
[o.multiLine]: !e,
|
|
19
19
|
[o.oneLine]: !!e
|
|
20
20
|
}),
|
|
21
21
|
...s,
|
|
22
22
|
ref: n,
|
|
23
|
-
"data-tx": "1.
|
|
23
|
+
"data-tx": "1.18.0",
|
|
24
24
|
children: i
|
|
25
25
|
}
|
|
26
26
|
)
|