@sberbusiness/triplex-next 0.17.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/AlertProcessSpoiler-BHNe1ozS.js +39 -0
- package/chunks/CalendarViewItem-DPBC-Z6J.js +101 -0
- package/chunks/Card.module-B5YIHmus.js +17 -0
- package/chunks/CheckboxTreeExtended.module-CpX20kPI.js +14 -0
- package/chunks/{Chip-NCNX4aqk.js → Chip-Bq-4tQtK.js} +5 -5
- package/chunks/Confirm.module-GA5Dzlmr.js +15 -0
- package/chunks/DropdownListItem-ILfoWhzW.js +65 -0
- package/chunks/DropdownMobile.module-DclcWauT.js +23 -0
- package/chunks/Footer.module-DkDGszHy.js +9 -0
- package/chunks/{FormFieldInput-EYc8oHbI.js → FormFieldInput-ClOpQErr.js} +12 -12
- package/chunks/HeaderLayoutSidebar.module-BZz8z8Wm.js +9 -0
- package/chunks/HeaderTabs.module-C5oTxlpm.js +9 -0
- package/chunks/{HeaderTitle.module-BEtGrxIR.js → HeaderTitle.module-DKHery9U.js} +2 -2
- package/chunks/IslandAccordion.module-WbI4D8ty.js +25 -0
- package/chunks/IslandWidgetFooter.module-DTWh9cNJ.js +9 -0
- package/chunks/IslandWidgetHeader.module-BQRaj4yi.js +12 -0
- package/chunks/LightBoxContent-DwCwTnm8.js +56 -0
- package/chunks/LightBoxControls.module-Dd9isO-M.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-D6dEk7jq.js +8 -0
- package/chunks/{ListItemControlsButton-CDYgneeE.js → ListItemControlsButton-BVv5SEQK.js} +9 -9
- package/chunks/ListItemTail.module-Cl4qnsce.js +12 -0
- package/chunks/ListMasterFooter.module-DhaldysT.js +10 -0
- package/chunks/ModalWindow.module-0Ojlif30.js +17 -0
- package/chunks/Notification.module-PYfR2ux2.js +20 -0
- package/chunks/Overlay.module-DLlM4tJo.js +18 -0
- package/chunks/Page.module-g63XbdMj.js +11 -0
- package/chunks/{RightBorderArrow-_zjTHek_.js → RightBorderArrow-DphWOCKu.js} +10 -10
- package/chunks/SMSField.module-BtkXBfsB.js +16 -0
- package/chunks/SliderExtendedMarks.module-CmYXI7Bc.js +15 -0
- package/chunks/{SliderExtendedRail-aR4aPOcb.js → SliderExtendedRail-LPLejGxq.js} +8 -8
- package/chunks/StatusTracker.module-DvCRrIA3.js +24 -0
- package/chunks/SuggestFieldMobileDropdownHint-BrJJVBqL.js +14 -0
- package/chunks/TableFooter.module--X6CLCIy.js +14 -0
- package/chunks/TabsExtended.module-R-jANZBU.js +16 -0
- package/chunks/TabsLine.module-B1pGQOOh.js +21 -0
- package/chunks/TooltipDesktop.module-DB_qJpGS.js +19 -0
- package/chunks/TreeView.module-DToAhAOL.js +9 -0
- package/chunks/{UploadZoneInput-BuIUwilQ.js → UploadZoneInput-CPReFDxM.js} +6 -6
- package/chunks/{constants-BG01GOrx.js → constants-BJYXBm7r.js} +9 -9
- package/chunks/{utils-DT0zStlo.js → utils-BumZpvr4.js} +13 -13
- package/chunks/utils-C0IvyYX-.js +24 -0
- package/chunks/utils-Di6w1QBl.js +18 -0
- package/chunks/{utils-C3Drcn94.js → utils-hoF6QqvY.js} +9 -9
- package/components/Alert/AlertContext/AlertContext.js +8 -8
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +4 -4
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +6 -6
- package/components/Badge/Badge.js +6 -6
- package/components/Badge/BadgeDot.js +8 -8
- package/components/Badge/components/BadgeContent.js +17 -17
- package/components/Badge/components/BadgePostfix.js +6 -6
- package/components/Badge/components/BadgePrefix.js +4 -4
- package/components/Body/Body.js +6 -6
- package/components/Button/Button.js +25 -25
- 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 +1 -1
- package/components/Calendar/Calendar.js +5 -5
- package/components/Calendar/components/CalendarControls.js +1 -1
- 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 +10 -10
- 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 +4 -4
- package/components/Checkbox/Checkbox.js +13 -13
- package/components/Checkbox/CheckboxXGroup.js +16 -16
- package/components/Checkbox/CheckboxYGroup.js +1 -1
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +1 -1
- package/components/Chip/Chip.js +1 -1
- package/components/Chip/ChipClearButton.js +8 -8
- 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 +6 -6
- 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 +8 -8
- 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 +6 -6
- package/components/DateRange/DateRange.js +12 -12
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +8 -8
- package/components/Dropdown/desktop/DropdownDesktop.js +12 -12
- 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 +1 -1
- 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 +3 -3
- 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 +30 -30
- package/components/FormField/components/FormFieldClear.js +7 -7
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +1 -1
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +30 -29
- package/components/FormField/components/FormFieldMaskedInput.js +25 -25
- package/components/FormField/components/FormFieldPostfix.js +1 -1
- package/components/FormField/components/FormFieldPrefix.js +9 -9
- package/components/FormField/components/FormFieldTarget.js +11 -11
- package/components/FormField/components/FormFieldTextarea.js +6 -6
- 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 +11 -11
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +4 -4
- package/components/Island/components/IslandFooter.js +3 -3
- 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 +19 -19
- package/components/IslandWidget/components/IslandWidgetBody.js +3 -3
- 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 +1 -1
- package/components/LightBox/LightBox.js +11 -11
- 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 +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +3 -3
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +4 -4
- package/components/Link/Link.js +18 -18
- package/components/List/List.js +7 -7
- package/components/List/components/ListEmptyState.js +4 -4
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +8 -8
- package/components/List/components/ListItemControls.js +2 -2
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +2 -2
- package/components/List/components/ListItemSelectable.js +4 -4
- package/components/List/components/ListItemTable.js +7 -7
- 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 +6 -6
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +4 -4
- 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 +5 -5
- package/components/ListMaster/components/SelectionControls.js +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +8 -8
- package/components/Loader/LoaderSmall/LoaderSmall.js +11 -11
- package/components/LoaderScreen/LoaderScreen.js +1 -1
- 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 +1 -1
- package/components/ModalWindow/components/ModalWindowClose.js +4 -4
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +11 -10
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +1 -1
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyContent.js +6 -5
- package/components/Notification/components/NotificationBodyList.js +1 -1
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +1 -1
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +6 -6
- package/components/OrderedList/OrderedListItem.js +10 -10
- 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 +9 -9
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +7 -7
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +1 -1
- package/components/Pagination/components/PaginationPageEllipsis.js +1 -1
- package/components/Pagination/components/PaginationSelect.js +10 -10
- package/components/Radio/Radio.js +10 -10
- 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 +2 -2
- package/components/SegmentedControl/SegmentedControlSegment.js +5 -5
- package/components/SelectExtendedField/SelectExtendedField.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +11 -11
- package/components/Skeleton/Skeleton.js +11 -11
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +7 -7
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +1 -1
- package/components/SliderExtended/components/SliderExtendedRail.js +1 -1
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +3 -3
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +16 -16
- package/components/SmallInput/SmallInput.js +6 -6
- package/components/Spoiler/Spoiler.js +20 -20
- 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 +8 -8
- package/components/Stepper/StepperExtended.js +5 -5
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperWrapper.js +2 -2
- package/components/Suggest/SuggestMobileDropdownContent.js +6 -6
- 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 +2 -2
- package/components/Table/FilterPanel.js +5 -5
- package/components/Table/MasterTable.js +15 -15
- package/components/Table/NoColumns.js +3 -3
- package/components/Table/PaginationPanel.js +2 -2
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +1 -1
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +6 -6
- 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 +1 -1
- package/components/Table/TabsLinePanelLinks.js +1 -1
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +19 -19
- package/components/TabsExtended/TabsExtended.js +2 -2
- package/components/TabsExtended/components/TabsExtendedContent.js +1 -1
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTab.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabButton.js +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 +3 -3
- package/components/Tag/Tag.js +23 -23
- package/components/TagColor/TagColor.js +11 -11
- package/components/TagGroup/TagGroup.js +10 -10
- 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 +6 -6
- package/components/TopOverlay/TopOverlay.js +12 -12
- 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 +28 -28
- package/components/Typography/Text.js +22 -22
- package/components/Typography/Title.js +16 -16
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +2 -2
- package/components/UnorderedList/UnorderedListItem.js +3 -3
- package/components/UploadZone/UploadZone.js +67 -59
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +313 -306
- package/helpers/less/colors.less +110 -0
- package/index.d.ts +44 -17
- package/index.js +147 -140
- package/package.json +5 -5
- package/styles/triplex-next.css +546 -546
- package/chunks/AlertProcessSpoiler-DnMeoMRa.js +0 -39
- package/chunks/CalendarViewItem-DJCvUxM5.js +0 -101
- package/chunks/Card.module-CMUnMJ_k.js +0 -17
- package/chunks/CheckboxTreeExtended.module-CggPosrf.js +0 -14
- package/chunks/Confirm.module-BYcKID70.js +0 -15
- package/chunks/DropdownListItem-BuR89hPJ.js +0 -63
- package/chunks/DropdownMobile.module-D1kNUx6-.js +0 -23
- package/chunks/Footer.module-cBu_SV2P.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-QC9-L6FM.js +0 -9
- package/chunks/HeaderTabs.module-Bg8pE2hc.js +0 -9
- package/chunks/IslandAccordion.module-vTFelMzP.js +0 -25
- package/chunks/IslandWidgetFooter.module-CM5h0W7b.js +0 -9
- package/chunks/IslandWidgetHeader.module-C5Me9IIL.js +0 -12
- package/chunks/LightBoxContent-tmFMe3Jq.js +0 -56
- package/chunks/LightBoxControls.module-p6sqZFX7.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-BqbeiAEG.js +0 -8
- package/chunks/ListItemTail.module-BpGKcI6W.js +0 -12
- package/chunks/ListMasterFooter.module-B7YGTi33.js +0 -10
- package/chunks/ModalWindow.module-ZH4YBn7A.js +0 -17
- package/chunks/Notification.module-_VFcjKv9.js +0 -21
- package/chunks/Overlay.module-DJfkOjXa.js +0 -18
- package/chunks/Page.module-hM20h-I6.js +0 -11
- package/chunks/SMSField.module-CY9R7ACZ.js +0 -16
- package/chunks/SliderExtendedMarks.module-CcgK2mu-.js +0 -15
- package/chunks/StatusTracker.module-s_qiteNu.js +0 -24
- package/chunks/SuggestFieldMobileDropdownHint-BLvUyupa.js +0 -14
- package/chunks/TableFooter.module-XxoB1ydg.js +0 -14
- package/chunks/TabsExtended.module-Ce6tDS2A.js +0 -16
- package/chunks/TabsLine.module-YxNiuXB5.js +0 -21
- package/chunks/TooltipDesktop.module-CyeERXWq.js +0 -19
- package/chunks/TreeView.module-DV2mpAEi.js +0 -9
- package/chunks/utils-DYuqi1kC.js +0 -24
- package/chunks/utils-uktTSRz4.js +0 -20
- package/components/NotificationIcon/NotificationIcon.js +0 -10
- package/components/NotificationIcon/index.js +0 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
1
|
+
import { jsxs as I, jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import N from "react";
|
|
3
3
|
import { CheckboxbulkStrokeSrvIcon24 as S, CheckboxtickStrokeSrvIcon24 as z } from "@sberbusiness/icons-next";
|
|
4
4
|
import { ETextSize as n } from "../Typography/enums.js";
|
|
5
5
|
import "../Typography/Caption.js";
|
|
@@ -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__e9707d2a", M = "sm__855b2a70", T = "nonempty__de9e0e44", g = "md__b4225aa5", v = "lg__da596086", B = "disabled__f055150d", j = "checkbox__a9fffe86", D = "checkboxIcon__f5ad34c7", E = "checkmarkIcon__e2312e16", e = {
|
|
12
12
|
label: u,
|
|
13
13
|
sm: M,
|
|
14
14
|
nonempty: T,
|
|
@@ -22,28 +22,28 @@ const u = "label__3a66e6a3", M = "sm__191138bf", T = "nonempty__2a06e703", g = "
|
|
|
22
22
|
[s.LG]: n.B2,
|
|
23
23
|
[s.MD]: n.B3,
|
|
24
24
|
[s.SM]: n.B4
|
|
25
|
-
},
|
|
25
|
+
}, i = y(e), R = N.forwardRef((k, b) => {
|
|
26
26
|
const {
|
|
27
27
|
children: a,
|
|
28
|
-
className:
|
|
28
|
+
className: d,
|
|
29
29
|
disabled: m,
|
|
30
|
-
bulk:
|
|
30
|
+
bulk: p,
|
|
31
31
|
labelAttributes: o,
|
|
32
32
|
size: t = s.MD,
|
|
33
33
|
...x
|
|
34
|
-
} =
|
|
34
|
+
} = k, h = l(e.checkbox, d, i[t]), _ = l(
|
|
35
35
|
e.label,
|
|
36
|
-
|
|
36
|
+
i[t],
|
|
37
37
|
{ [e.disabled]: !!m, [e.nonempty]: !!a },
|
|
38
38
|
o == null ? void 0 : o.className
|
|
39
|
-
),
|
|
39
|
+
), f = () => {
|
|
40
40
|
const r = e.checkmarkIcon;
|
|
41
|
-
return
|
|
41
|
+
return p ? /* @__PURE__ */ c(S, { className: r, paletteIndex: 7 }) : /* @__PURE__ */ c(z, { className: r, paletteIndex: 7 });
|
|
42
42
|
};
|
|
43
|
-
return /* @__PURE__ */
|
|
44
|
-
/* @__PURE__ */ c("input", { type: "checkbox", className: h, disabled: m, ...x, ref:
|
|
43
|
+
return /* @__PURE__ */ I("label", { ...o, className: _, "data-tx": "0.19.0", children: [
|
|
44
|
+
/* @__PURE__ */ c("input", { type: "checkbox", className: h, disabled: m, ...x, ref: b }),
|
|
45
45
|
/* @__PURE__ */ c("span", { className: e.checkboxIcon }),
|
|
46
|
-
|
|
46
|
+
f(),
|
|
47
47
|
a && /* @__PURE__ */ c(C, { size: L[t], tag: "div", children: a })
|
|
48
48
|
] });
|
|
49
49
|
});
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
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: t, className: c, indent: o = 12, ...d } = n, s =
|
|
14
|
-
return /* @__PURE__ */
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { c as r } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
3
|
+
const _ = "checkboxXGroup__923be097", a = "label__e9707d2a", e = {
|
|
4
|
+
checkboxXGroup: _,
|
|
5
|
+
"indent-12": "indent-12__3b9466e2",
|
|
6
|
+
label: a,
|
|
7
|
+
"indent-16": "indent-16__97d36625",
|
|
8
|
+
"indent-20": "indent-20__be3ccf39",
|
|
9
|
+
"indent-24": "indent-24__8a8eb5f9",
|
|
10
|
+
"indent-28": "indent-28__78e7fb34",
|
|
11
|
+
"indent-32": "indent-32__04fceadb"
|
|
12
|
+
}, b = (n) => {
|
|
13
|
+
const { children: t, className: c, indent: o = 12, ...d } = n, s = r(e.checkboxXGroup, e[`indent-${o}`], c);
|
|
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,6 +1,6 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import { c as t } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
3
|
-
const a = "
|
|
3
|
+
const a = "checkboxYGroup__9c27d316", x = {
|
|
4
4
|
checkboxYGroup: a
|
|
5
5
|
}, l = (o) => {
|
|
6
6
|
const { children: c, className: s, ...r } = o, e = t(x.checkboxYGroup, s);
|
|
@@ -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-CpX20kPI.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-CpX20kPI.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-CpX20kPI.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-CpX20kPI.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-Bq-4tQtK.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 as
|
|
2
|
+
import p from "react";
|
|
3
|
+
import { c as s } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
4
4
|
import { CrossStrokeSrvIcon24 as a, 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__9c69f2d3", S = {
|
|
8
8
|
chipClearButton: C
|
|
9
|
-
},
|
|
9
|
+
}, f = {
|
|
10
10
|
[t.SM]: /* @__PURE__ */ o(m, { paletteIndex: 6 }),
|
|
11
11
|
[t.MD]: /* @__PURE__ */ o(i, { paletteIndex: 6 }),
|
|
12
12
|
[t.LG]: /* @__PURE__ */ o(a, { paletteIndex: 6 })
|
|
13
|
-
},
|
|
14
|
-
({ className: r, size: e = t.MD, ...n },
|
|
13
|
+
}, I = p.forwardRef(
|
|
14
|
+
({ className: r, size: e = t.MD, ...n }, c) => /* @__PURE__ */ o(l, { className: s(S.chipClearButton, r), ...n, ref: c, children: f[e] })
|
|
15
15
|
);
|
|
16
|
-
|
|
16
|
+
I.displayName = "ChipClearButton";
|
|
17
17
|
export {
|
|
18
|
-
|
|
18
|
+
I 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-Bq-4tQtK.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-Bq-4tQtK.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
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
{
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
d.displayName = "ChipDropdownArrow";
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { CaretdownStrokeSrvIcon24 as p, CaretdownStrokeSrvIcon20 as d, CaretdownStrokeSrvIcon16 as a } from "@sberbusiness/icons-next";
|
|
3
|
+
import { c } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
4
|
+
import { EComponentSize as r } from "../../enums/EComponentSize.js";
|
|
5
|
+
const w = "chipDropdownArrow__5f0e0df2", s = "rotated__a39b6ffd", t = {
|
|
6
|
+
chipDropdownArrow: w,
|
|
7
|
+
rotated: s
|
|
8
|
+
}, i = {
|
|
9
|
+
[r.SM]: /* @__PURE__ */ o(a, { paletteIndex: 5 }),
|
|
10
|
+
[r.MD]: /* @__PURE__ */ o(d, { paletteIndex: 5 }),
|
|
11
|
+
[r.LG]: /* @__PURE__ */ o(p, { paletteIndex: 5 })
|
|
12
|
+
}, m = ({ rotated: e, size: n = r.MD }) => /* @__PURE__ */ o("span", { className: c(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-Bq-4tQtK.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-Bq-4tQtK.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
2
|
import a 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:
|
|
4
|
+
import { C } from "../../chunks/Chip-Bq-4tQtK.js";
|
|
5
|
+
import { ChipClearButton as m } from "./ChipClearButton.js";
|
|
6
|
+
const c = "chipOptionsContent__93db09d8", f = {
|
|
7
|
+
chipOptionsContent: c
|
|
8
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(
|
|
13
|
+
postfix: n ? /* @__PURE__ */ t(m, { onClick: (r) => {
|
|
14
14
|
r.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-Bq-4tQtK.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-Bq-4tQtK.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-Bq-4tQtK.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-Bq-4tQtK.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);
|
|
@@ -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 F } from "../../../chunks/DropdownListItem-
|
|
9
|
+
import { D as F } from "../../../chunks/DropdownListItem-ILfoWhzW.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 m } from "react/jsx-runtime";
|
|
|
2
2
|
import E, { useCallback as t } 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-Bq-4tQtK.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 B } from "../../../FormField/components/FormFieldLabel.js";
|
|
8
8
|
import { FormFieldClear as D } from "../../../FormField/components/FormFieldClear.js";
|
|
9
9
|
import "../../../FormField/components/FormFieldTarget.js";
|
|
10
|
-
import { F as L } from "../../../../chunks/FormFieldInput-
|
|
10
|
+
import { F as L } from "../../../../chunks/FormFieldInput-ClOpQErr.js";
|
|
11
11
|
import "../../../FormField/components/FormFieldMaskedInput.js";
|
|
12
12
|
import { FormFieldPostfix as M } from "../../../FormField/components/FormFieldPostfix.js";
|
|
13
13
|
import "../../../FormField/components/FormFieldPrefix.js";
|
|
@@ -18,7 +18,7 @@ import { ETooltipSize as O } from "../../../Tooltip/enums.js";
|
|
|
18
18
|
import { LoaderSmall as R } from "../../../Loader/LoaderSmall/LoaderSmall.js";
|
|
19
19
|
import { ELoaderSmallTheme as W } from "../../../Loader/LoaderSmall/enum.js";
|
|
20
20
|
import "../../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
21
|
-
const E = "
|
|
21
|
+
const E = "chipSuggestInputWrapper__b677d20a", j = {
|
|
22
22
|
chipSuggestInputWrapper: E
|
|
23
23
|
}, oe = ({ children: m }) => {
|
|
24
24
|
const {
|
|
@@ -26,8 +26,8 @@ const E = "chipSuggestInputWrapper__795f869b", j = {
|
|
|
26
26
|
placeholder: u,
|
|
27
27
|
noOptionsText: c,
|
|
28
28
|
dropdownListId: d,
|
|
29
|
-
activeDescendant:
|
|
30
|
-
loading:
|
|
29
|
+
activeDescendant: g,
|
|
30
|
+
loading: f,
|
|
31
31
|
tooltipOpen: h,
|
|
32
32
|
clearInputOnFocus: p,
|
|
33
33
|
onFilter: e
|
|
@@ -58,7 +58,7 @@ const E = "chipSuggestInputWrapper__795f869b", j = {
|
|
|
58
58
|
value: r,
|
|
59
59
|
placeholder: u,
|
|
60
60
|
"aria-controls": d,
|
|
61
|
-
"aria-activedescendant":
|
|
61
|
+
"aria-activedescendant": g,
|
|
62
62
|
autoFocus: !0,
|
|
63
63
|
onFocus: C,
|
|
64
64
|
onBlur: x,
|
|
@@ -71,7 +71,7 @@ const E = "chipSuggestInputWrapper__795f869b", j = {
|
|
|
71
71
|
),
|
|
72
72
|
/* @__PURE__ */ i(M, { children: [
|
|
73
73
|
/* @__PURE__ */ t(D, { onClick: S }),
|
|
74
|
-
|
|
74
|
+
f && /* @__PURE__ */ t(R, { theme: W.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-Bq-4tQtK.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";
|
|
@@ -3,30 +3,30 @@ import p from "react";
|
|
|
3
3
|
import { c as r } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
4
4
|
import { EComponentSize as a } from "../../enums/EComponentSize.js";
|
|
5
5
|
import { createSizeToClassNameMap as l } from "../../utils/classNameMaps.js";
|
|
6
|
-
const _ = "
|
|
6
|
+
const _ = "chipGroup__e176d684", u = "oneLine__5cdcf648", d = "multiLine__74275ec4", f = "lg__12b542fb", L = "md__c171ee63", h = "sm__91dec1c6", o = {
|
|
7
7
|
chipGroup: _,
|
|
8
8
|
oneLine: u,
|
|
9
9
|
multiLine: d,
|
|
10
10
|
lg: f,
|
|
11
|
-
md:
|
|
12
|
-
sm:
|
|
13
|
-
},
|
|
11
|
+
md: L,
|
|
12
|
+
sm: h
|
|
13
|
+
}, G = l(o), C = p.forwardRef(
|
|
14
14
|
({ children: i, className: t, oneLine: e, size: m = a.MD, ...s }, c) => /* @__PURE__ */ n(
|
|
15
15
|
"div",
|
|
16
16
|
{
|
|
17
|
-
className: r(o.chipGroup,
|
|
17
|
+
className: r(o.chipGroup, G[m], t, {
|
|
18
18
|
[o.multiLine]: !e,
|
|
19
19
|
[o.oneLine]: !!e
|
|
20
20
|
}),
|
|
21
21
|
...s,
|
|
22
22
|
ref: c,
|
|
23
|
-
"data-tx": "0.
|
|
23
|
+
"data-tx": "0.19.0",
|
|
24
24
|
children: i
|
|
25
25
|
}
|
|
26
26
|
)
|
|
27
27
|
);
|
|
28
|
-
|
|
28
|
+
C.displayName = "ChipGroup";
|
|
29
29
|
export {
|
|
30
|
-
|
|
30
|
+
C as ChipGroup
|
|
31
31
|
};
|
|
32
32
|
//# sourceMappingURL=ChipGroup.js.map
|