@sberbusiness/triplex-next 0.18.0 → 0.19.1
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-CjSQmvuc.js → AlertProcessSpoiler-CApu9sgV.js} +8 -8
- package/chunks/{CalendarViewItem-Ca-FLo0r.js → CalendarViewItem-CCClPe6W.js} +13 -13
- package/chunks/Card.module-D48lssVF.js +17 -0
- package/chunks/CheckboxTreeExtended.module-BLtvkZsi.js +14 -0
- package/chunks/{Chip-BLKgYv0e.js → Chip-D-F5Ccch.js} +10 -10
- package/chunks/Confirm.module-CvrGGvLz.js +15 -0
- package/chunks/DropdownListItem-B89w0ZP6.js +65 -0
- package/chunks/DropdownMobile.module-CEbQqs2X.js +23 -0
- package/chunks/Footer.module-WHmnrQeq.js +9 -0
- package/chunks/{FormFieldInput-QoI3Qmcf.js → FormFieldInput-CC-nRhb4.js} +14 -14
- package/chunks/HeaderLayoutSidebar.module-Cnl-O6HE.js +9 -0
- package/chunks/HeaderTabs.module-Nz927HlU.js +9 -0
- package/chunks/{HeaderTitle.module-qG7NNUSy.js → HeaderTitle.module-F927IkdE.js} +2 -2
- package/chunks/IslandAccordion.module-CFCDu7K5.js +25 -0
- package/chunks/IslandWidgetFooter.module--vNV-XXe.js +9 -0
- package/chunks/IslandWidgetHeader.module-BhnBnkZk.js +12 -0
- package/chunks/{LightBoxContent-iKg6uhHj.js → LightBoxContent-CWI11Mkg.js} +6 -6
- package/chunks/LightBoxControls.module-Kv0-R_GW.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-DGwWDaQC.js +8 -0
- package/chunks/{ListItemControlsButton-B36AdJX2.js → ListItemControlsButton-CDm9UcL0.js} +5 -5
- package/chunks/ListItemTail.module-DZ2CIKA4.js +12 -0
- package/chunks/ListMasterFooter.module-DMTXvddx.js +10 -0
- package/chunks/ModalWindow.module-CmKHP-l0.js +17 -0
- package/chunks/Notification.module-CtiA4KeZ.js +20 -0
- package/chunks/Overlay.module-BKGmOe22.js +18 -0
- package/chunks/Page.module-BjtGL1n5.js +11 -0
- package/chunks/{RightBorderArrow-COmdqSvG.js → RightBorderArrow-BUP-gfBp.js} +10 -10
- package/chunks/SMSField.module-BM5o6WPK.js +16 -0
- package/chunks/SliderExtendedMarks.module-C4eA55N-.js +15 -0
- package/chunks/{SliderExtendedRail-6lH6RyNF.js → SliderExtendedRail-BtDNU2QU.js} +13 -13
- package/chunks/StatusTracker.module-jKCRT7JR.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-DeExagGp.js → SuggestFieldMobileDropdownHint-B6hhbNqZ.js} +4 -4
- package/chunks/TableFooter.module-BIxc-uz_.js +14 -0
- package/chunks/TabsExtended.module-CWXgdzlB.js +16 -0
- package/chunks/TabsLine.module-BQ_DsA4u.js +21 -0
- package/chunks/TooltipDesktop.module-DMqxtrmh.js +19 -0
- package/chunks/TreeView.module-DwpFo7Sm.js +9 -0
- package/chunks/{UploadZoneInput-CCa8azJA.js → UploadZoneInput-CCOpTzdI.js} +2 -2
- package/chunks/{constants-CBGFTz75.js → constants-BY0--v5J.js} +12 -12
- package/chunks/utils-BD4-x_pW.js +24 -0
- package/chunks/utils-CDZhfAbZ.js +18 -0
- package/chunks/utils-CIrM2Shg.js +73 -0
- package/chunks/{utils-ux-s0pdr.js → utils-DN-l5mfA.js} +10 -10
- package/components/Alert/AlertContext/AlertContext.js +16 -16
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +7 -7
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +4 -4
- package/components/Badge/Badge.js +10 -10
- package/components/Badge/BadgeDot.js +6 -6
- package/components/Badge/components/BadgeContent.js +17 -17
- package/components/Badge/components/BadgePostfix.js +10 -10
- package/components/Badge/components/BadgePrefix.js +6 -6
- package/components/Body/Body.js +8 -8
- package/components/Button/Button.js +14 -14
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +1 -1
- package/components/Button/ButtonDropdownExtended.js +7 -7
- package/components/Button/ButtonIcon.js +15 -15
- package/components/Calendar/Calendar.js +17 -17
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +4 -4
- package/components/Calendar/components/CalendarViewDays.js +1 -1
- package/components/Calendar/components/CalendarViewItem.js +1 -1
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +15 -15
- 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 +9 -9
- 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 +9 -9
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +14 -15
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +25 -18
- package/components/Chip/ChipOptions.js +9 -9
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +23 -22
- 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 +13 -13
- package/components/Col/Col.js +136 -136
- package/components/CollapsableTree/components/CollapsableTreeNode.js +5 -5
- package/components/Confirm/Confirm.js +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +1 -1
- package/components/Confirm/components/ConfirmContent.js +1 -1
- package/components/Confirm/components/ConfirmContentTitle.js +1 -1
- package/components/Confirm/components/ConfirmControls.js +1 -1
- package/components/DateField/DateField.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +1 -1
- package/components/DateRange/DateRange.js +7 -7
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +1 -1
- package/components/Dropdown/desktop/DropdownDesktop.js +18 -18
- package/components/Dropdown/desktop/DropdownList.js +9 -8
- package/components/Dropdown/desktop/DropdownListItem.js +4 -3
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +4 -4
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +16 -15
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +2 -2
- package/components/Ellipsis/Ellipsis.js +2 -2
- package/components/ExpandAnimation/ExpandAnimation.js +15 -15
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +17 -17
- package/components/FormField/components/FormFieldClear.js +5 -5
- 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 +5 -5
- package/components/FormField/components/FormFieldMaskedInput.js +22 -22
- package/components/FormField/components/FormFieldPostfix.js +4 -4
- package/components/FormField/components/FormFieldPrefix.js +9 -9
- package/components/FormField/components/FormFieldTarget.js +4 -4
- package/components/FormField/components/FormFieldTextarea.js +9 -9
- 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 +6 -6
- 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 +10 -10
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +5 -5
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +1 -1
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +2 -2
- package/components/IslandWidget/IslandWidget.js +9 -9
- package/components/IslandWidget/components/IslandWidgetBody.js +1 -1
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +3 -3
- package/components/LightBox/LightBox.js +24 -24
- package/components/LightBox/LightBoxContent.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxClose.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxControls.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxNext.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +8 -8
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +10 -10
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +7 -7
- package/components/Link/Link.js +26 -26
- package/components/List/List.js +8 -8
- package/components/List/components/ListEmptyState.js +1 -1
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +2 -2
- package/components/List/components/ListItemControls.js +1 -1
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +8 -8
- package/components/List/components/ListItemSelectable.js +6 -6
- package/components/List/components/ListItemTable.js +5 -5
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +4 -4
- package/components/List/components/ListSortableItemControls.js +1 -1
- package/components/List/components/ListSortableItemTarget.js +4 -4
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +1 -1
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +1 -1
- package/components/ListMaster/components/SelectionControls.js +6 -6
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +3 -3
- package/components/Loader/LoaderSmall/LoaderSmall.js +6 -6
- package/components/LoaderScreen/LoaderScreen.js +8 -8
- package/components/Marker/Marker.js +7 -16
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +13 -13
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +4 -4
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +1 -1
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +13 -12
- 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/NotificationBodyContent.js +6 -5
- package/components/Notification/components/NotificationBodyList.js +1 -1
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +1 -1
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +6 -6
- package/components/OrderedList/OrderedListItem.js +8 -8
- 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 +9 -9
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +2 -2
- package/components/Pagination/components/PaginationNavigationButton.js +7 -7
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +1 -1
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +8 -8
- package/components/Radio/Radio.js +16 -16
- package/components/Radio/RadioXGroup.js +10 -10
- package/components/Radio/RadioYGroup.js +4 -4
- package/components/Row/Row.js +7 -7
- 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 +11 -11
- package/components/SegmentedControl/SegmentedControlSegment.js +19 -19
- package/components/SelectExtendedField/SelectExtendedField.js +4 -4
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +17 -17
- package/components/Skeleton/Skeleton.js +4 -4
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +26 -26
- 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 +24 -24
- package/components/SmallInput/SmallInput.js +1 -1
- package/components/Spoiler/Spoiler.js +14 -14
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +7 -9
- package/components/StatusTracker/components/StatusTrackerDescription.js +1 -1
- package/components/StatusTracker/components/StatusTrackerFooter.js +1 -1
- package/components/StatusTracker/components/StatusTrackerHeader.js +1 -1
- package/components/StatusTracker/components/StatusTrackerMedia.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatus.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +13 -13
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +3 -3
- package/components/Stepper/StepperExtended.js +4 -4
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperWrapper.js +2 -2
- package/components/Suggest/SuggestMobileDropdownContent.js +11 -11
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +14 -14
- package/components/Table/FilterPanel.js +5 -5
- package/components/Table/MasterTable.js +8 -8
- package/components/Table/NoColumns.js +4 -4
- 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 +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +4 -4
- 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 +2 -2
- package/components/Table/TabsLinePanelLinks.js +1 -1
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +17 -17
- package/components/TabsExtended/TabsExtended.js +2 -2
- package/components/TabsExtended/components/TabsExtendedContent.js +1 -1
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTab.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabButton.js +17 -17
- 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 +35 -35
- package/components/TabsLine/components/TabsLineMobile.js +11 -11
- package/components/Tag/Tag.js +32 -32
- package/components/TagColor/TagColor.js +13 -13
- package/components/TagGroup/TagGroup.js +12 -12
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +7 -7
- 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 +10 -10
- 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 +20 -20
- package/components/Typography/Text.js +20 -20
- package/components/Typography/Title.js +13 -13
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +6 -6
- package/components/UnorderedList/UnorderedListItem.js +9 -9
- package/components/UploadZone/UploadZone.js +67 -59
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +253 -255
- package/index.d.ts +10 -13
- package/index.js +66 -68
- package/package.json +2 -5
- package/styles/triplex-next.css +546 -546
- package/chunks/Card.module-CzLtoScY.js +0 -17
- package/chunks/CheckboxTreeExtended.module-DkdxFQuq.js +0 -14
- package/chunks/Confirm.module-BMyKk7ci.js +0 -15
- package/chunks/DropdownListItem-DeF8AY7t.js +0 -63
- package/chunks/DropdownMobile.module-Ds3kgyp0.js +0 -23
- package/chunks/Footer.module-D2AeYynH.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-CPzyr_Es.js +0 -9
- package/chunks/HeaderTabs.module-CTLu8m8e.js +0 -9
- package/chunks/IslandAccordion.module-C-6vlAWF.js +0 -25
- package/chunks/IslandWidgetFooter.module-xITdAr93.js +0 -9
- package/chunks/IslandWidgetHeader.module-Bvq2rTll.js +0 -12
- package/chunks/LightBoxControls.module-C4hxT62o.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-Bw4ojHvB.js +0 -8
- package/chunks/ListItemTail.module-DRs0pxZe.js +0 -12
- package/chunks/ListMasterFooter.module-DTybJY-0.js +0 -10
- package/chunks/ModalWindow.module-Dw-47OlP.js +0 -17
- package/chunks/Notification.module-BKYlR9Q1.js +0 -21
- package/chunks/Overlay.module-DMP8sff8.js +0 -18
- package/chunks/Page.module-ZgV0sjdJ.js +0 -11
- package/chunks/SMSField.module-kXUXCT5O.js +0 -16
- package/chunks/SliderExtendedMarks.module-DZ2tJis8.js +0 -15
- package/chunks/StatusTracker.module-BiMt5_cO.js +0 -24
- package/chunks/TableFooter.module-Cr1neNvX.js +0 -14
- package/chunks/TabsExtended.module-D_yz2JTI.js +0 -16
- package/chunks/TabsLine.module-Bu6BuWqh.js +0 -21
- package/chunks/TooltipDesktop.module-CVz3e2hU.js +0 -19
- package/chunks/TreeView.module-DSb6I410.js +0 -9
- package/chunks/utils-Bbbhrgqj.js +0 -20
- package/chunks/utils-BoLzdbbW.js +0 -73
- package/chunks/utils-CAZ6n1RH.js +0 -24
- package/components/NotificationIcon/NotificationIcon.js +0 -10
- package/components/NotificationIcon/index.js +0 -5
|
@@ -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-CCClPe6W.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 = {} }) => {
|
|
@@ -8,10 +8,10 @@ import { CardMedia as M } from "./components/CardMedia.js";
|
|
|
8
8
|
import { ECardRoundingSize as w, ECardTheme as x } from "./enums.js";
|
|
9
9
|
import { EFocusSource as r } from "../../enums/EFocusSource.js";
|
|
10
10
|
import { mapCardRoundingSizeToCssClass as K, mapCardThemeToCssClass as _ } from "./utils.js";
|
|
11
|
-
import { isKey as
|
|
11
|
+
import { isKey as f } from "../../utils/keyboard.js";
|
|
12
12
|
import { c as k } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
13
|
-
import { c as B } from "../../chunks/Card.module-
|
|
14
|
-
const O = "
|
|
13
|
+
import { c as B } from "../../chunks/Card.module-D48lssVF.js";
|
|
14
|
+
const O = "action__2fbca07e", F = "selected__b1da75aa", V = "focusVisible__fefd9acd", n = {
|
|
15
15
|
action: O,
|
|
16
16
|
selected: F,
|
|
17
17
|
focusVisible: V
|
|
@@ -35,19 +35,19 @@ class l extends u.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), f(e.keyCode, "SPACE") ? (e.preventDefault(), this.handleToggle()) : f(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: a } = this.ref;
|
|
42
|
+
s == null || s(e), !t && a === 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: a, isSelected: d } = this.state;
|
|
50
|
+
a ? e == null || e(!s) : this.setState(
|
|
51
51
|
(h) => ({ isSelected: !h.isSelected }),
|
|
52
52
|
() => t == null ? void 0 : t(!d)
|
|
53
53
|
);
|
|
@@ -62,11 +62,11 @@ class l extends u.Component {
|
|
|
62
62
|
children: e,
|
|
63
63
|
className: s,
|
|
64
64
|
onClick: t,
|
|
65
|
-
onMouseDown:
|
|
65
|
+
onMouseDown: a,
|
|
66
66
|
onKeyDown: d,
|
|
67
67
|
onFocus: h,
|
|
68
68
|
onBlur: z,
|
|
69
|
-
roundingSize:
|
|
69
|
+
roundingSize: p = w.MD,
|
|
70
70
|
onToggle: A,
|
|
71
71
|
selected: m,
|
|
72
72
|
toggle: U,
|
|
@@ -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
|
+
n.action,
|
|
78
78
|
_[S],
|
|
79
|
-
K[
|
|
79
|
+
K[p],
|
|
80
80
|
{
|
|
81
|
-
[
|
|
82
|
-
[
|
|
81
|
+
[n.focusVisible]: D === r.KEYBOARD,
|
|
82
|
+
[n.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": "0.
|
|
99
|
+
"data-tx": "0.19.1",
|
|
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-DE8Zvm0w.js";
|
|
6
|
-
import { c as n } from "../../chunks/Card.module-
|
|
6
|
+
import { c as n } from "../../chunks/Card.module-D48lssVF.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": "0.
|
|
24
|
+
"data-tx": "0.19.1",
|
|
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-DE8Zvm0w.js";
|
|
7
|
-
import { c as r } from "../../../../chunks/Card.module-
|
|
7
|
+
import { c as r } from "../../../../chunks/Card.module-D48lssVF.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-DE8Zvm0w.js";
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-D48lssVF.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-DE8Zvm0w.js";
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-D48lssVF.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-DE8Zvm0w.js";
|
|
3
|
-
import { c as d } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as d } from "../../../../../chunks/Card.module-D48lssVF.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-DE8Zvm0w.js";
|
|
3
|
-
import { c as m } from "../../../chunks/Card.module-
|
|
3
|
+
import { c as m } from "../../../chunks/Card.module-D48lssVF.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-DE8Zvm0w.js";
|
|
4
4
|
import { scrollSmoothHorizontally as c } from "../../utils/scroll.js";
|
|
5
|
-
const R = "
|
|
5
|
+
const R = "carouselExtended__098883f9", 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 y } from "../../utils/classNameMaps.js";
|
|
10
10
|
import { c as l } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
11
|
-
const u = "
|
|
11
|
+
const u = "label__da70bb36", M = "sm__dbbded2d", T = "nonempty__aab6c620", g = "md__69860f8e", v = "lg__9900ed5a", B = "disabled__1b569f38", j = "checkbox__b796520f", D = "checkboxIcon__ba792b43", E = "checkmarkIcon__3c9ca55e", e = {
|
|
12
12
|
label: u,
|
|
13
13
|
sm: M,
|
|
14
14
|
nonempty: T,
|
|
@@ -22,16 +22,16 @@ const u = "label__7b41535b", M = "sm__ab258f7a", T = "nonempty__1e18e46e", g = "
|
|
|
22
22
|
[s.LG]: n.B2,
|
|
23
23
|
[s.MD]: n.B3,
|
|
24
24
|
[s.SM]: n.B4
|
|
25
|
-
}, b = y(e), R = N.forwardRef((i,
|
|
25
|
+
}, b = y(e), R = N.forwardRef((i, d) => {
|
|
26
26
|
const {
|
|
27
27
|
children: a,
|
|
28
|
-
className:
|
|
28
|
+
className: k,
|
|
29
29
|
disabled: m,
|
|
30
30
|
bulk: p,
|
|
31
31
|
labelAttributes: o,
|
|
32
32
|
size: t = s.MD,
|
|
33
33
|
...x
|
|
34
|
-
} = i, h = l(e.checkbox,
|
|
34
|
+
} = i, h = l(e.checkbox, k, b[t]), _ = l(
|
|
35
35
|
e.label,
|
|
36
36
|
b[t],
|
|
37
37
|
{ [e.disabled]: !!m, [e.nonempty]: !!a },
|
|
@@ -40,8 +40,8 @@ const u = "label__7b41535b", M = "sm__ab258f7a", T = "nonempty__1e18e46e", g = "
|
|
|
40
40
|
const r = e.checkmarkIcon;
|
|
41
41
|
return p ? /* @__PURE__ */ c(S, { className: r, paletteIndex: 7 }) : /* @__PURE__ */ c(z, { className: r, paletteIndex: 7 });
|
|
42
42
|
};
|
|
43
|
-
return /* @__PURE__ */ I("label", { ...o, className: _, "data-tx": "0.
|
|
44
|
-
/* @__PURE__ */ c("input", { type: "checkbox", className: h, disabled: m, ...x, ref:
|
|
43
|
+
return /* @__PURE__ */ I("label", { ...o, className: _, "data-tx": "0.19.1", children: [
|
|
44
|
+
/* @__PURE__ */ c("input", { type: "checkbox", className: h, disabled: m, ...x, ref: d }),
|
|
45
45
|
/* @__PURE__ */ c("span", { className: e.checkboxIcon }),
|
|
46
46
|
f(),
|
|
47
47
|
a && /* @__PURE__ */ c(C, { size: L[t], tag: "div", children: a })
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
const r = "
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { c as a } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
3
|
+
const r = "checkboxXGroup__a95cd666", _ = "label__da70bb36", e = {
|
|
4
4
|
checkboxXGroup: r,
|
|
5
|
-
"indent-12": "indent-
|
|
5
|
+
"indent-12": "indent-12__559ca8f8",
|
|
6
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:
|
|
14
|
-
return /* @__PURE__ */
|
|
7
|
+
"indent-16": "indent-16__ba1857b0",
|
|
8
|
+
"indent-20": "indent-20__8abbe9dd",
|
|
9
|
+
"indent-24": "indent-24__2f5d3525",
|
|
10
|
+
"indent-28": "indent-28__611deee7",
|
|
11
|
+
"indent-32": "indent-32__d0675f90"
|
|
12
|
+
}, b = (n) => {
|
|
13
|
+
const { children: t, className: o, indent: c = 12, ...d } = n, s = a(e.checkboxXGroup, e[`indent-${c}`], o);
|
|
14
|
+
return /* @__PURE__ */ i("div", { className: s, role: "group", ...d, children: t });
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
b.displayName = "CheckboxXGroup";
|
|
17
17
|
export {
|
|
18
|
-
|
|
18
|
+
b as CheckboxXGroup
|
|
19
19
|
};
|
|
20
20
|
//# sourceMappingURL=CheckboxXGroup.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
const
|
|
4
|
-
checkboxYGroup:
|
|
5
|
-
},
|
|
6
|
-
const { children: c, className: s, ...
|
|
7
|
-
return /* @__PURE__ */
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { c as p } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
3
|
+
const t = "checkboxYGroup__cbca7bae", x = {
|
|
4
|
+
checkboxYGroup: t
|
|
5
|
+
}, b = (o) => {
|
|
6
|
+
const { children: c, className: s, ...e } = o, r = p(x.checkboxYGroup, s);
|
|
7
|
+
return /* @__PURE__ */ a("div", { className: r, role: "group", ...e, children: c });
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
b.displayName = "CheckboxYGroup";
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
b as CheckboxYGroup
|
|
12
12
|
};
|
|
13
13
|
//# sourceMappingURL=CheckboxYGroup.js.map
|
|
@@ -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-DE8Zvm0w.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-BLtvkZsi.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 i } from "../../../utils/keyboard.js";
|
|
7
7
|
import h from "react";
|
|
8
|
-
import { s as m } from "../../../chunks/CheckboxTreeExtended.module-
|
|
8
|
+
import { s as m } from "../../../chunks/CheckboxTreeExtended.module-BLtvkZsi.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-DE8Zvm0w.js";
|
|
5
|
-
import { s as t } from "../../../chunks/CheckboxTreeExtended.module-
|
|
5
|
+
import { s as t } from "../../../chunks/CheckboxTreeExtended.module-BLtvkZsi.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-DE8Zvm0w.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-BLtvkZsi.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-DE8Zvm0w.js";
|
|
4
|
-
import { C as e } from "../../chunks/Chip-
|
|
4
|
+
import { C as e } from "../../chunks/Chip-D-F5Ccch.js";
|
|
5
5
|
import "../../enums/EComponentSize.js";
|
|
6
6
|
import "../../utils/classNameMaps.js";
|
|
7
7
|
import "../../utils/keyboard.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
4
|
-
import { CrossStrokeSrvIcon24 as
|
|
2
|
+
import s from "react";
|
|
3
|
+
import { c as a } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
4
|
+
import { CrossStrokeSrvIcon24 as c, CrossStrokeSrvIcon20 as i, CrossStrokeSrvIcon16 as m } from "@sberbusiness/icons-next";
|
|
5
5
|
import { EComponentSize as t } from "../../enums/EComponentSize.js";
|
|
6
6
|
import { ButtonIcon as l } from "../Button/ButtonIcon.js";
|
|
7
|
-
const C = "
|
|
7
|
+
const C = "chipClearButton__11e5a793", S = {
|
|
8
8
|
chipClearButton: C
|
|
9
9
|
}, I = {
|
|
10
10
|
[t.SM]: /* @__PURE__ */ o(m, { paletteIndex: 6 }),
|
|
11
11
|
[t.MD]: /* @__PURE__ */ o(i, { paletteIndex: 6 }),
|
|
12
|
-
[t.LG]: /* @__PURE__ */ o(
|
|
13
|
-
},
|
|
14
|
-
({ className: r, size: e = t.MD, ...n },
|
|
12
|
+
[t.LG]: /* @__PURE__ */ o(c, { paletteIndex: 6 })
|
|
13
|
+
}, f = s.forwardRef(
|
|
14
|
+
({ className: r, size: e = t.MD, ...n }, p) => /* @__PURE__ */ o(l, { className: a(S.chipClearButton, r), ...n, ref: p, children: I[e] })
|
|
15
15
|
);
|
|
16
|
-
|
|
16
|
+
f.displayName = "ChipClearButton";
|
|
17
17
|
export {
|
|
18
|
-
|
|
18
|
+
f as ChipClearButton
|
|
19
19
|
};
|
|
20
20
|
//# sourceMappingURL=ChipClearButton.js.map
|
|
@@ -7,7 +7,7 @@ import { DatePickerExtended as G } from "../../DatePickerExtended/DatePickerExte
|
|
|
7
7
|
import { ChipDatePickerTarget as H } 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 L } from "../../../chunks/Chip-
|
|
10
|
+
import { s as L } from "../../../chunks/Chip-D-F5Ccch.js";
|
|
11
11
|
const U = 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 u, { useContext as D } from "react";
|
|
3
|
-
import { C as k } from "../../../chunks/Chip-
|
|
3
|
+
import { C as k } from "../../../chunks/Chip-D-F5Ccch.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,17 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import { c } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
{
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
n.displayName = "ChipDropdownArrow";
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { CaretdownStrokeSrvIcon24 as p, CaretdownStrokeSrvIcon20 as c, CaretdownStrokeSrvIcon16 as d } from "@sberbusiness/icons-next";
|
|
3
|
+
import { c as a } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
4
|
+
import { EComponentSize as r } from "../../enums/EComponentSize.js";
|
|
5
|
+
const w = "chipDropdownArrow__e4c1b01b", s = "rotated__f48bb7fc", t = {
|
|
6
|
+
chipDropdownArrow: w,
|
|
7
|
+
rotated: s
|
|
8
|
+
}, i = {
|
|
9
|
+
[r.SM]: /* @__PURE__ */ o(d, { paletteIndex: 5 }),
|
|
10
|
+
[r.MD]: /* @__PURE__ */ o(c, { paletteIndex: 5 }),
|
|
11
|
+
[r.LG]: /* @__PURE__ */ o(p, { paletteIndex: 5 })
|
|
12
|
+
}, m = ({ rotated: e, size: n = r.MD }) => /* @__PURE__ */ o("span", { className: a(t.chipDropdownArrow, { [t.rotated]: e }), children: i[n] });
|
|
13
|
+
m.displayName = "ChipDropdownArrow";
|
|
15
14
|
export {
|
|
16
|
-
|
|
15
|
+
m as ChipDropdownArrow
|
|
17
16
|
};
|
|
18
17
|
//# 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 m } from "../../chunks/Chip-
|
|
3
|
+
import { C as m } from "../../chunks/Chip-D-F5Ccch.js";
|
|
4
4
|
const t = f.forwardRef(({ children: p, ...r }, i) => /* @__PURE__ */ o(m, { ...r, prefix: p, postfix: /* @__PURE__ */ o("span", {}), ref: i }));
|
|
5
5
|
t.displayName = "ChipIcon";
|
|
6
6
|
export {
|
|
@@ -1,42 +1,49 @@
|
|
|
1
|
-
import { jsx as
|
|
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-D-F5Ccch.js";
|
|
5
5
|
import { ChipClearButton as E } from "./ChipClearButton.js";
|
|
6
6
|
import { ChipDropdownArrow as K } from "./ChipDropdownArrow.js";
|
|
7
|
-
import { isKey as
|
|
7
|
+
import { isKey as i } from "../../utils/keyboard.js";
|
|
8
8
|
import { c as g } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
9
9
|
const B = w.forwardRef(
|
|
10
|
-
({ children:
|
|
10
|
+
({ children: c, className: p, clearSelected: m, disabled: s, label: n, displayedValue: C, selected: a, size: r, ...d }, f) => {
|
|
11
11
|
const h = (o) => {
|
|
12
|
-
(
|
|
12
|
+
(i(o.code, "ENTER") || i(o.code, "SPACE")) && o.stopPropagation();
|
|
13
13
|
}, u = (o) => {
|
|
14
|
-
o.stopPropagation(),
|
|
14
|
+
o.stopPropagation(), m();
|
|
15
15
|
};
|
|
16
|
-
return /* @__PURE__ */
|
|
16
|
+
return /* @__PURE__ */ t(
|
|
17
17
|
y,
|
|
18
18
|
{
|
|
19
|
-
size:
|
|
20
|
-
renderTarget: ({ opened: o, setOpened:
|
|
19
|
+
size: r,
|
|
20
|
+
renderTarget: ({ opened: o, setOpened: e }) => /* @__PURE__ */ t(
|
|
21
21
|
D,
|
|
22
22
|
{
|
|
23
23
|
"aria-expanded": o,
|
|
24
|
-
disabled:
|
|
25
|
-
size:
|
|
26
|
-
onClick: () =>
|
|
24
|
+
disabled: s,
|
|
25
|
+
size: r,
|
|
26
|
+
onClick: () => e(!o),
|
|
27
27
|
onKeyDown: (l) => {
|
|
28
|
-
(
|
|
28
|
+
(i(l.code, "ENTER") || i(l.code, "SPACE")) && e(!o);
|
|
29
29
|
},
|
|
30
|
-
postfix:
|
|
30
|
+
postfix: a ? /* @__PURE__ */ t(
|
|
31
|
+
E,
|
|
32
|
+
{
|
|
33
|
+
size: r,
|
|
34
|
+
onKeyDown: h,
|
|
35
|
+
onClick: u
|
|
36
|
+
}
|
|
37
|
+
) : /* @__PURE__ */ t(K, { size: r, rotated: o }),
|
|
31
38
|
ref: f,
|
|
32
39
|
role: "listbox",
|
|
33
|
-
selected: !!
|
|
34
|
-
children:
|
|
40
|
+
selected: !!a,
|
|
41
|
+
children: a ? C ?? n : n
|
|
35
42
|
}
|
|
36
43
|
),
|
|
37
|
-
className: g(x.chipGroupItem,
|
|
44
|
+
className: g(x.chipGroupItem, p),
|
|
38
45
|
...d,
|
|
39
|
-
children:
|
|
46
|
+
children: c
|
|
40
47
|
}
|
|
41
48
|
);
|
|
42
49
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
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 =
|
|
4
|
+
import { C } from "../../chunks/Chip-D-F5Ccch.js";
|
|
5
|
+
import { ChipClearButton as m } from "./ChipClearButton.js";
|
|
6
|
+
const c = "chipOptionsContent__aa558465", f = {
|
|
7
|
+
chipOptionsContent: c
|
|
8
|
+
}, l = r.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(
|
|
14
|
-
|
|
13
|
+
postfix: n ? /* @__PURE__ */ t(m, { onClick: (a) => {
|
|
14
|
+
a.stopPropagation(), e();
|
|
15
15
|
}, size: p.size }) : /* @__PURE__ */ t("span", {}),
|
|
16
16
|
selected: n,
|
|
17
17
|
...p,
|
|
18
18
|
ref: s,
|
|
19
|
-
children: typeof o < "u" ? /* @__PURE__ */ t("span", { className:
|
|
19
|
+
children: typeof o < "u" ? /* @__PURE__ */ t("span", { className: f.chipOptionsContent, children: o }) : o
|
|
20
20
|
}
|
|
21
21
|
)
|
|
22
22
|
);
|
|
@@ -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-D-F5Ccch.js";
|
|
9
9
|
import { c as g } from "../../../chunks/vendor-DE8Zvm0w.js";
|
|
10
10
|
const y = S.forwardRef(
|
|
11
11
|
({ className: m, clearSelected: d, disabled: c, size: o, label: i, displayedValue: p, onChange: l, options: s, value: e, ...n }, f) => {
|
|
@@ -1,44 +1,45 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { C as
|
|
4
|
-
import { ChipDropdownArrow as
|
|
5
|
-
import { ChipClearButton as
|
|
2
|
+
import g, { useCallback as t } from "react";
|
|
3
|
+
import { C as x } from "../../../chunks/Chip-D-F5Ccch.js";
|
|
4
|
+
import { ChipDropdownArrow as y } from "../ChipDropdownArrow.js";
|
|
5
|
+
import { ChipClearButton as D } from "../ChipClearButton.js";
|
|
6
6
|
import { isKey as a } from "../../../utils/keyboard.js";
|
|
7
|
-
const
|
|
8
|
-
const { children:
|
|
7
|
+
const P = g.forwardRef((C, m) => {
|
|
8
|
+
const { children: h, selected: s, onKeyDown: i, onClick: n, onClear: c, opened: e, setOpened: r, size: p, ...u } = C, w = t(
|
|
9
9
|
(o) => {
|
|
10
10
|
!e && (a(o.code, "ENTER") || a(o.code, "SPACE")) ? (o.preventDefault(), r(!0)) : e && a(o.code, "TAB") && r(!1), i == null || i(o);
|
|
11
11
|
},
|
|
12
12
|
[e, r, i]
|
|
13
|
-
),
|
|
13
|
+
), E = t(
|
|
14
14
|
(o) => {
|
|
15
15
|
r(!e), n == null || n(o);
|
|
16
16
|
},
|
|
17
17
|
[e, r, n]
|
|
18
|
-
),
|
|
18
|
+
), d = t((o) => {
|
|
19
19
|
(a(o.code, "ENTER") || a(o.code, "SPACE")) && o.stopPropagation();
|
|
20
|
-
}, []),
|
|
20
|
+
}, []), f = t(
|
|
21
21
|
(o) => {
|
|
22
|
-
o.stopPropagation(),
|
|
22
|
+
o.stopPropagation(), c();
|
|
23
23
|
},
|
|
24
|
-
[
|
|
25
|
-
),
|
|
24
|
+
[c]
|
|
25
|
+
), T = t(() => s ? /* @__PURE__ */ l(D, { size: p, onClick: f, onKeyDown: d }) : /* @__PURE__ */ l(y, { size: p, rotated: e }), [s, e, f, d, p]);
|
|
26
26
|
return /* @__PURE__ */ l(
|
|
27
|
-
|
|
27
|
+
x,
|
|
28
28
|
{
|
|
29
|
-
postfix:
|
|
30
|
-
selected:
|
|
29
|
+
postfix: T(),
|
|
30
|
+
selected: s,
|
|
31
31
|
"aria-expanded": e,
|
|
32
|
-
onKeyDown:
|
|
33
|
-
onClick:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
32
|
+
onKeyDown: w,
|
|
33
|
+
onClick: E,
|
|
34
|
+
size: p,
|
|
35
|
+
...u,
|
|
36
|
+
ref: m,
|
|
37
|
+
children: h
|
|
37
38
|
}
|
|
38
39
|
);
|
|
39
40
|
});
|
|
40
|
-
|
|
41
|
+
P.displayName = "ChipSelectTarget";
|
|
41
42
|
export {
|
|
42
|
-
|
|
43
|
+
P as ChipSelectTarget
|
|
43
44
|
};
|
|
44
45
|
//# sourceMappingURL=ChipSelectTarget.js.map
|
|
@@ -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-D-F5Ccch.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-DE8Zvm0w.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-D-F5Ccch.js";
|
|
9
9
|
const w = ({ className: c, displayedValue: g, label: r, prefix: y, targetProps: u, dropdownProps: n, ...o }, t) => {
|
|
10
10
|
const { value: s, size: i } = o, f = p(null), l = p(null), a = (e) => {
|
|
11
11
|
f.current = e, typeof t == "function" ? t(e) : t && (t.current = e);
|