@sberbusiness/triplex-next 1.26.0 → 1.27.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-kutiygyc.js +41 -0
- package/chunks/{CalendarViewItem-DHFLturD.js → CalendarViewItem-5MWTfOXg.js} +19 -19
- package/chunks/Card.module-BdHlvmcC.js +17 -0
- package/chunks/CheckboxTreeExtended.module-CtU7nxR-.js +15 -0
- package/chunks/Chip-BOBB8hDQ.js +77 -0
- package/chunks/Confirm.module-DX-8Qawd.js +15 -0
- package/chunks/{DropdownListItem-CjZLy9zZ.js → DropdownListItem-kVq_Shxy.js} +17 -17
- package/chunks/DropdownMobile.module-DxT1Mh6q.js +23 -0
- package/chunks/Footer.module-DBFjyD0W.js +9 -0
- package/chunks/{FormFieldInput-C2TczHnQ.js → FormFieldInput-DB9UpgIs.js} +2 -2
- package/chunks/HeaderLayoutSidebar.module-BIMH5ZRB.js +9 -0
- package/chunks/HeaderTabs.module-D62rOoJt.js +9 -0
- package/chunks/{HeaderTitle.module-BdAYtCP5.js → HeaderTitle.module-Ckh2V8ux.js} +2 -2
- package/chunks/IslandAccordion.module-BI69hCoR.js +25 -0
- package/chunks/IslandWidgetFooter.module-BUJQAvCe.js +9 -0
- package/chunks/IslandWidgetHeader.module-DqTmcCwj.js +12 -0
- package/chunks/{LightBoxContent-B8dwsZcd.js → LightBoxContent-CK07PlB9.js} +8 -8
- package/chunks/LightBoxControls.module-DR9tmKz6.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-BiFhnV3i.js +9 -0
- package/chunks/{ListItemControlsButton-DjUxcey4.js → ListItemControlsButton-27xRORri.js} +16 -16
- package/chunks/ListItemTail.module-DKJmlaMg.js +12 -0
- package/chunks/ListMasterFooter.module-DkH4Ou-p.js +10 -0
- package/chunks/ModalWindow.module-Be4wGbwq.js +17 -0
- package/chunks/Notification.module-O5iV5kzx.js +20 -0
- package/chunks/Overlay.module-B0iGlEWG.js +18 -0
- package/chunks/Page.module-D0FFKxyx.js +11 -0
- package/chunks/SMSField.module-DrbNbpz3.js +16 -0
- package/chunks/SliderExtendedMarks.module-A0_OgEiW.js +15 -0
- package/chunks/{SliderExtendedRail-BYK2Vyz9.js → SliderExtendedRail-D7nuFyRp.js} +11 -11
- package/chunks/StatusTracker.module-DenK6Z9K.js +24 -0
- package/chunks/{StepperStepArrowBorder-CHpL6Q5q.js → StepperStepArrowBorder-D9rM6XEL.js} +9 -9
- package/chunks/{SuggestFieldMobileDropdownHint-BpAuE0ir.js → SuggestFieldMobileDropdownHint-CSrNs8VF.js} +4 -4
- package/chunks/TableFooter.module-BqHcJ9ea.js +14 -0
- package/chunks/TabsExtended.module-BtTx6oxY.js +16 -0
- package/chunks/TabsLine.module-C9KVj0hj.js +21 -0
- package/chunks/TooltipDesktop.module-uHaX3xgt.js +19 -0
- package/chunks/TreeView.module-BKi0xbbR.js +9 -0
- package/chunks/{UploadZoneInput-qDtiZYmT.js → UploadZoneInput-Bjnmk93x.js} +7 -7
- package/chunks/{constants-CtrvWwDT.js → constants-1ccyxiKh.js} +9 -9
- package/chunks/utils-BxF0Dq4C.js +24 -0
- package/chunks/{utils-CqjXJ4Td.js → utils-CVIZqPO7.js} +5 -5
- package/chunks/{utils-4uYqfVa-.js → utils-CZzNEYf-.js} +9 -9
- package/chunks/{utils-BYHIu3S4.js → utils-DfVeTN89.js} +4 -4
- package/components/Alert/AlertContext/AlertContext.js +24 -24
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +11 -11
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +19 -19
- package/components/Badge/Badge.js +9 -9
- package/components/Badge/BadgeDot.js +5 -5
- package/components/Badge/components/BadgeContent.js +10 -10
- package/components/Badge/components/BadgePostfix.js +7 -7
- package/components/Badge/components/BadgePrefix.js +4 -4
- package/components/Body/Body.js +2 -2
- package/components/Button/Button.js +16 -16
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +15 -15
- package/components/Button/ButtonDropdownExtended.js +4 -4
- package/components/Button/ButtonIcon.js +3 -3
- package/components/Calendar/Calendar.js +5 -5
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +4 -4
- package/components/Calendar/components/CalendarViewDays.js +1 -1
- package/components/Calendar/components/CalendarViewItem.js +1 -1
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +11 -11
- package/components/Card/CardStatic.js +2 -2
- package/components/Card/components/CardContent/CardContent.js +1 -1
- package/components/Card/components/CardContent/components/CardContentBody.js +1 -1
- package/components/Card/components/CardContent/components/CardContentFooter.js +1 -1
- package/components/Card/components/CardContent/components/CardContentHeader.js +1 -1
- package/components/Card/components/CardMedia.js +1 -1
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +9 -9
- package/components/Checkbox/Checkbox.js +21 -21
- package/components/Checkbox/CheckboxXGroup.js +14 -14
- 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 +4 -4
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +5 -5
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +10 -10
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +17 -17
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +12 -12
- package/components/Col/Col.js +144 -144
- 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 +53 -51
- package/components/DateField/DateFieldTarget.js +39 -38
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +9 -9
- package/components/DateRange/DateRange.js +21 -21
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/Divider/Divider.js +20 -20
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +6 -6
- package/components/Dropdown/desktop/DropdownDesktop.js +2 -2
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +6 -6
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +1 -1
- package/components/Ellipsis/Ellipsis.js +8 -8
- package/components/EmptyView/EmptyView.js +5 -5
- package/components/ExpandAnimation/ExpandAnimation.js +17 -17
- 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 +12 -12
- package/components/FormField/components/FormFieldClear.js +7 -7
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +9 -9
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +9 -9
- package/components/FormField/components/FormFieldMaskedInput.js +10 -10
- package/components/FormField/components/FormFieldPostfix.js +5 -5
- package/components/FormField/components/FormFieldPrefix.js +7 -7
- package/components/FormField/components/FormFieldTarget.js +9 -9
- package/components/FormField/components/FormFieldTextarea.js +29 -29
- package/components/FormField/components/index.js +1 -1
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +1 -1
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +5 -5
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +1 -1
- package/components/IconWrapper/IconWrapper.js +9 -9
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +2 -2
- package/components/Island/components/IslandFooter.js +3 -3
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +69 -63
- package/components/IslandWidget/IslandWidget.js +50 -42
- package/components/IslandWidget/components/IslandWidgetBody.js +1 -1
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +7 -7
- package/components/IslandWidget/components/IslandWidgetFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +7 -7
- package/components/LightBox/LightBox.js +16 -16
- package/components/LightBox/LightBoxContent.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxClose.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxControls.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxNext.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +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 +15 -15
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +8 -8
- package/components/Link/Link.js +13 -13
- package/components/List/List.js +4 -4
- package/components/List/ListSortable.js +30 -55
- package/components/List/components/ListEmptyState.js +4 -4
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +2 -2
- package/components/List/components/ListItemControls.js +7 -7
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +40 -39
- package/components/List/components/ListItemLoading.js +7 -7
- package/components/List/components/ListItemSelectable.js +1 -1
- package/components/List/components/ListItemTable.js +6 -6
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +23 -22
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +4 -4
- package/components/List/index.js +1 -1
- package/components/List/utils.js +20 -0
- package/components/ListMaster/ListMaster.js +20 -13
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +7 -7
- 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 +9 -9
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +10 -10
- package/components/Loader/LoaderSmall/LoaderSmall.js +7 -7
- package/components/LoaderScreen/LoaderScreen.js +12 -12
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +15 -15
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +2 -2
- package/components/ModalWindow/components/ModalWindowClose.js +1 -1
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +1 -1
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MonthYearField/MonthYearField.js +32 -30
- package/components/MonthYearField/MonthYearFieldTarget.js +36 -36
- package/components/MonthYearRange/MonthYearRange.js +13 -13
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +11 -11
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +5 -5
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +1 -1
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +1 -1
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +5 -5
- package/components/OrderedList/OrderedListItem.js +5 -5
- 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 +6 -6
- 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 +1 -1
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +8 -8
- package/components/Pagination/components/PaginationPageEllipsis.js +5 -5
- package/components/Pagination/components/PaginationSelect.js +14 -14
- package/components/Radio/Radio.js +14 -14
- package/components/Radio/RadioXGroup.js +7 -7
- package/components/Radio/RadioYGroup.js +9 -9
- 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 +17 -17
- package/components/SegmentedControl/SegmentedControlSegment.js +11 -11
- package/components/SelectExtendedField/SelectExtendedField.js +7 -7
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +19 -19
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +10 -10
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +15 -15
- 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 +9 -9
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +14 -14
- package/components/SmallInput/SmallInput.js +1 -1
- package/components/Spoiler/Spoiler.js +12 -12
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +1 -1
- package/components/StatusTracker/components/StatusTrackerDescription.js +1 -1
- package/components/StatusTracker/components/StatusTrackerFooter.js +1 -1
- package/components/StatusTracker/components/StatusTrackerHeader.js +1 -1
- package/components/StatusTracker/components/StatusTrackerMedia.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatus.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +30 -24
- package/components/Stepper/Stepper.js +8 -8
- package/components/Stepper/StepperExtended.js +10 -10
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperStepArrowBorder.js +1 -1
- package/components/Suggest/SuggestMobileDropdownContent.js +12 -12
- 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 +10 -10
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +8 -8
- package/components/Table/NoColumns.js +5 -5
- package/components/Table/PaginationPanel.js +4 -4
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +7 -7
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +7 -7
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +5 -5
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +4 -4
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +1 -1
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +1 -1
- package/components/Table/TabsLinePanelLinks.js +8 -8
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +16 -16
- package/components/TabsExtended/TabsExtended.js +2 -2
- package/components/TabsExtended/components/TabsExtendedContent.js +1 -1
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTab.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabButton.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +1 -1
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +1 -1
- package/components/TabsLine/components/TabsLineDesktop.js +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +2 -2
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +3 -3
- package/components/Tag/Tag.js +25 -25
- package/components/TagColor/TagColor.js +9 -9
- package/components/TagGroup/TagGroup.js +14 -14
- 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 +13 -13
- package/components/TopOverlay/TopOverlay.js +20 -20
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Typography/Caption.js +23 -23
- package/components/Typography/CodeText.js +7 -7
- package/components/Typography/Text.js +16 -16
- package/components/Typography/Title.js +9 -9
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +6 -6
- package/components/UnorderedList/UnorderedListItem.js +2 -2
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +5 -5
- package/index.d.ts +59 -20
- package/index.js +5 -5
- package/package.json +1 -1
- package/styles/triplex-next.css +538 -538
- package/chunks/AlertProcessSpoiler-Boz5enko.js +0 -41
- package/chunks/Card.module-Bn676gKC.js +0 -17
- package/chunks/CheckboxTreeExtended.module-QbHPuClH.js +0 -15
- package/chunks/Chip-Di8g8Z6j.js +0 -77
- package/chunks/Confirm.module-b8ZTqcR2.js +0 -15
- package/chunks/DropdownMobile.module-B2yaydF-.js +0 -23
- package/chunks/Footer.module-DlTuw8bG.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-BR0oblQF.js +0 -9
- package/chunks/HeaderTabs.module-D88xeP19.js +0 -9
- package/chunks/IslandAccordion.module-CbGSbbl6.js +0 -25
- package/chunks/IslandWidgetFooter.module-DzcObfJV.js +0 -9
- package/chunks/IslandWidgetHeader.module-_sYg-PBp.js +0 -12
- package/chunks/LightBoxControls.module-DHrZ8-M9.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CgO3NViT.js +0 -9
- package/chunks/ListItemTail.module-CIBEtGa9.js +0 -12
- package/chunks/ListMasterFooter.module-DDv57q5J.js +0 -10
- package/chunks/ModalWindow.module-Cek3j-PN.js +0 -17
- package/chunks/Notification.module-BWxDmBI2.js +0 -20
- package/chunks/Overlay.module-CUZKmhvQ.js +0 -18
- package/chunks/Page.module-BD0MsbnW.js +0 -11
- package/chunks/SMSField.module-B6sFmN1l.js +0 -16
- package/chunks/SliderExtendedMarks.module-jwnpPZXf.js +0 -15
- package/chunks/StatusTracker.module-DQI30fwP.js +0 -24
- package/chunks/TableFooter.module-DB3LfuRN.js +0 -14
- package/chunks/TabsExtended.module-DbTk0iCS.js +0 -16
- package/chunks/TabsLine.module-D3zxaGjs.js +0 -21
- package/chunks/TooltipDesktop.module-BTHsU4ca.js +0 -19
- package/chunks/TreeView.module-BXHaAGRo.js +0 -9
- package/chunks/utils-DhWCXYI8.js +0 -24
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
var
|
|
2
|
-
var y = (c, i, e) => i in c ?
|
|
1
|
+
var b = Object.defineProperty;
|
|
2
|
+
var y = (c, i, e) => i in c ? b(c, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[i] = e;
|
|
3
3
|
var o = (c, i, e) => y(c, typeof i != "symbol" ? i + "" : i, e);
|
|
4
4
|
import { jsx as R } from "react/jsx-runtime";
|
|
5
5
|
import u from "react";
|
|
@@ -8,10 +8,10 @@ import { CardMedia as _ } from "./components/CardMedia.js";
|
|
|
8
8
|
import { ECardRoundingSize as M, ECardTheme as w } from "./enums.js";
|
|
9
9
|
import { EFocusSource as r } from "../../enums/EFocusSource.js";
|
|
10
10
|
import { mapCardRoundingSizeToCssClass as x, mapCardThemeToCssClass as K } from "./utils.js";
|
|
11
|
-
import { isKey as
|
|
11
|
+
import { isKey as f } from "../../utils/keyboard.js";
|
|
12
12
|
import { c as k } from "../../chunks/vendor-DudMBGKr.js";
|
|
13
|
-
import { c as B } from "../../chunks/Card.module-
|
|
14
|
-
const O = "
|
|
13
|
+
import { c as B } from "../../chunks/Card.module-BdHlvmcC.js";
|
|
14
|
+
const O = "action__546084b0", F = "selected__fce2c2f0", V = "focusVisible__7b66df35", a = {
|
|
15
15
|
action: O,
|
|
16
16
|
selected: F,
|
|
17
17
|
focusVisible: V
|
|
@@ -35,7 +35,7 @@ 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
41
|
const { onFocus: s } = this.props, { focusSource: t } = this.state, { current: n } = this.ref;
|
|
@@ -66,17 +66,17 @@ class l extends u.Component {
|
|
|
66
66
|
onKeyDown: d,
|
|
67
67
|
onFocus: h,
|
|
68
68
|
onBlur: z,
|
|
69
|
-
roundingSize:
|
|
69
|
+
roundingSize: p = M.MD,
|
|
70
70
|
onToggle: A,
|
|
71
71
|
selected: m,
|
|
72
72
|
toggle: U,
|
|
73
73
|
theme: S = w.GENERAL,
|
|
74
74
|
...C
|
|
75
|
-
} = this.props, { isControlled: E, isSelected: g, focusSource: D } = this.state,
|
|
75
|
+
} = this.props, { isControlled: E, isSelected: g, focusSource: D } = this.state, N = k(
|
|
76
76
|
B.card,
|
|
77
77
|
a.action,
|
|
78
78
|
K[S],
|
|
79
|
-
x[
|
|
79
|
+
x[p],
|
|
80
80
|
{
|
|
81
81
|
[a.focusVisible]: D === r.KEYBOARD,
|
|
82
82
|
[a.selected]: E ? !!m : g
|
|
@@ -86,7 +86,7 @@ class l extends u.Component {
|
|
|
86
86
|
return /* @__PURE__ */ R(
|
|
87
87
|
"div",
|
|
88
88
|
{
|
|
89
|
-
className:
|
|
89
|
+
className: N,
|
|
90
90
|
tabIndex: 0,
|
|
91
91
|
onClick: this.handleClick,
|
|
92
92
|
onMouseDown: this.handleMouseDown,
|
|
@@ -96,7 +96,7 @@ class l extends u.Component {
|
|
|
96
96
|
role: "button",
|
|
97
97
|
...C,
|
|
98
98
|
ref: this.ref,
|
|
99
|
-
"data-tx": "1.
|
|
99
|
+
"data-tx": "1.27.0",
|
|
100
100
|
children: e
|
|
101
101
|
}
|
|
102
102
|
);
|
|
@@ -3,7 +3,7 @@ import { CardContent as s } from "./components/CardContent/CardContent.js";
|
|
|
3
3
|
import { CardMedia as e } from "./components/CardMedia.js";
|
|
4
4
|
import { mapCardRoundingSizeToCssClass as C, mapCardThemeToCssClass as p } from "./utils.js";
|
|
5
5
|
import { c } from "../../chunks/vendor-DudMBGKr.js";
|
|
6
|
-
import { c as n } from "../../chunks/Card.module-
|
|
6
|
+
import { c as n } from "../../chunks/Card.module-BdHlvmcC.js";
|
|
7
7
|
import { ECardRoundingSize as f, ECardTheme as l } from "./enums.js";
|
|
8
8
|
const a = ({
|
|
9
9
|
children: r,
|
|
@@ -21,7 +21,7 @@ const a = ({
|
|
|
21
21
|
o
|
|
22
22
|
),
|
|
23
23
|
...d,
|
|
24
|
-
"data-tx": "1.
|
|
24
|
+
"data-tx": "1.27.0",
|
|
25
25
|
children: r
|
|
26
26
|
}
|
|
27
27
|
);
|
|
@@ -4,7 +4,7 @@ import { CardContentHeader as i } from "./components/CardContentHeader.js";
|
|
|
4
4
|
import { CardContentFooter as s } from "./components/CardContentFooter.js";
|
|
5
5
|
import { ECardContentPaddingSize as t } from "../../enums.js";
|
|
6
6
|
import { c as p } from "../../../../chunks/vendor-DudMBGKr.js";
|
|
7
|
-
import { c as r } from "../../../../chunks/Card.module-
|
|
7
|
+
import { c as r } from "../../../../chunks/Card.module-BdHlvmcC.js";
|
|
8
8
|
const c = {
|
|
9
9
|
[t.MD]: r.paddingMD,
|
|
10
10
|
[t.SM]: r.paddingSM
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { c as d } from "../../../../../chunks/vendor-DudMBGKr.js";
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-BdHlvmcC.js";
|
|
4
4
|
const m = ({ children: o, className: t, ...r }) => /* @__PURE__ */ a("div", { className: d(s.cardContentBody, t), ...r, children: o });
|
|
5
5
|
m.displayName = "CardContentBody";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { c as e } from "../../../../../chunks/vendor-DudMBGKr.js";
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-BdHlvmcC.js";
|
|
4
4
|
const m = ({ children: o, className: t, ...r }) => /* @__PURE__ */ a("div", { className: e(s.cardContentFooter, t), ...r, children: o });
|
|
5
5
|
m.displayName = "CardContentFooter";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { c as o } from "../../../../../chunks/vendor-DudMBGKr.js";
|
|
3
|
-
import { c as d } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as d } from "../../../../../chunks/Card.module-BdHlvmcC.js";
|
|
4
4
|
const s = ({ children: r, className: a, ...e }) => /* @__PURE__ */ t("div", { className: o(d.cardContentHeader, a), ...e, children: r });
|
|
5
5
|
s.displayName = "CardContentHeader";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import { c as e } from "../../../chunks/vendor-DudMBGKr.js";
|
|
3
|
-
import { c as m } from "../../../chunks/Card.module-
|
|
3
|
+
import { c as m } from "../../../chunks/Card.module-BdHlvmcC.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
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import C, { useState as w, useRef as D, useCallback as L, useEffect as
|
|
1
|
+
import { jsxs as b, jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import C, { useState as w, useRef as D, useCallback as L, useEffect as n } from "react";
|
|
3
3
|
import { l as M, c as S } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
4
|
import { scrollSmoothHorizontally as c } from "../../utils/scroll.js";
|
|
5
|
-
const R = "
|
|
5
|
+
const R = "carouselExtended__73fb70db", k = {
|
|
6
6
|
carouselExtended: R
|
|
7
7
|
}, y = C.forwardRef(
|
|
8
8
|
({ children: l, buttonPrev: a, buttonNext: i, stepPrev: u, stepNext: f, ...h }, s) => {
|
|
9
9
|
const [o, m] = w({ hidden: !0, nextDisabled: !1, prevDisabled: !0 }), r = D(null), t = L(() => {
|
|
10
|
-
const e = r.current,
|
|
10
|
+
const e = r.current, d = {
|
|
11
11
|
hidden: e.scrollWidth == e.clientWidth,
|
|
12
12
|
nextDisabled: Math.round(e.scrollLeft) + e.offsetWidth >= e.scrollWidth,
|
|
13
13
|
prevDisabled: Math.round(e.scrollLeft) <= 0
|
|
14
14
|
};
|
|
15
|
-
M.isEqual(
|
|
15
|
+
M.isEqual(d, o) == !1 && m(d);
|
|
16
16
|
}, [o]);
|
|
17
|
-
|
|
17
|
+
n(() => (window.addEventListener("resize", t), document.addEventListener("scroll", t), () => {
|
|
18
18
|
window.removeEventListener("resize", t), document.removeEventListener("scroll", t);
|
|
19
|
-
}), [t]),
|
|
19
|
+
}), [t]), n(() => {
|
|
20
20
|
t();
|
|
21
21
|
}, [l, t]);
|
|
22
22
|
const x = () => {
|
|
@@ -26,13 +26,13 @@ const R = "carouselExtended__9ce8b026", k = {
|
|
|
26
26
|
}, E = (e) => {
|
|
27
27
|
r.current = e, typeof s == "function" ? s(e) : s && (s.current = e);
|
|
28
28
|
};
|
|
29
|
-
return /* @__PURE__ */
|
|
29
|
+
return /* @__PURE__ */ b("div", { ...h, children: [
|
|
30
30
|
a({
|
|
31
31
|
disabled: o.prevDisabled,
|
|
32
32
|
hidden: o.hidden,
|
|
33
33
|
onClick: x
|
|
34
34
|
}),
|
|
35
|
-
/* @__PURE__ */
|
|
35
|
+
/* @__PURE__ */ p("div", { className: S(k.carouselExtended), onScroll: t, ref: E, children: l }),
|
|
36
36
|
i({
|
|
37
37
|
disabled: o.nextDisabled,
|
|
38
38
|
hidden: o.hidden,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as I, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import N from "react";
|
|
3
3
|
import { c as l } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
4
|
import { CheckboxbulkStrokeSrvIcon24 as S, CheckboxtickStrokeSrvIcon24 as C } from "@sberbusiness/icons-next";
|
|
@@ -9,7 +9,7 @@ import { Text as u } from "../Typography/Text.js";
|
|
|
9
9
|
import "../Typography/Title.js";
|
|
10
10
|
import { EComponentSize as s } from "../../enums/EComponentSize.js";
|
|
11
11
|
import { createSizeToClassNameMap as y } from "../../utils/classNameMaps.js";
|
|
12
|
-
const E = "
|
|
12
|
+
const E = "label__784c199f", M = "sm__6966b9a2", T = "nonempty__2b269f68", z = "md__925d7ac6", g = "lg__ecc781a8", A = "disabled__5fab92bd", v = "checkbox__b87ef135", B = "checkboxIcon__d8273bdf", L = "checkmarkIcon__e8f14dc2", c = {
|
|
13
13
|
label: E,
|
|
14
14
|
sm: M,
|
|
15
15
|
nonempty: T,
|
|
@@ -23,30 +23,30 @@ const E = "label__ea41e863", M = "sm__ba9f6bab", T = "nonempty__e443a546", z = "
|
|
|
23
23
|
[s.LG]: n.B2,
|
|
24
24
|
[s.MD]: n.B3,
|
|
25
25
|
[s.SM]: n.B4
|
|
26
|
-
}, b = y(
|
|
26
|
+
}, b = y(c), j = N.forwardRef((d, i) => {
|
|
27
27
|
const {
|
|
28
|
-
children:
|
|
29
|
-
className:
|
|
28
|
+
children: t,
|
|
29
|
+
className: k,
|
|
30
30
|
disabled: m,
|
|
31
|
-
bulk:
|
|
31
|
+
bulk: _,
|
|
32
32
|
labelAttributes: o,
|
|
33
|
-
size:
|
|
34
|
-
...
|
|
35
|
-
} =
|
|
36
|
-
|
|
37
|
-
b[
|
|
38
|
-
{ [
|
|
39
|
-
|
|
33
|
+
size: a = s.MD,
|
|
34
|
+
...p
|
|
35
|
+
} = d, x = l(c.checkbox, b[a]), h = l(
|
|
36
|
+
c.label,
|
|
37
|
+
b[a],
|
|
38
|
+
{ [c.disabled]: !!m, [c.nonempty]: !!t },
|
|
39
|
+
k,
|
|
40
40
|
o == null ? void 0 : o.className
|
|
41
|
-
),
|
|
42
|
-
const r =
|
|
43
|
-
return
|
|
41
|
+
), f = () => {
|
|
42
|
+
const r = c.checkmarkIcon;
|
|
43
|
+
return _ ? /* @__PURE__ */ e(S, { className: r, paletteIndex: 7 }) : /* @__PURE__ */ e(C, { className: r, paletteIndex: 7 });
|
|
44
44
|
};
|
|
45
|
-
return /* @__PURE__ */
|
|
46
|
-
/* @__PURE__ */
|
|
47
|
-
/* @__PURE__ */
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
return /* @__PURE__ */ I("label", { ...o, className: h, "data-tx": "1.27.0", children: [
|
|
46
|
+
/* @__PURE__ */ e("input", { type: "checkbox", className: x, disabled: m, ...p, ref: i }),
|
|
47
|
+
/* @__PURE__ */ e("span", { className: c.checkboxIcon }),
|
|
48
|
+
f(),
|
|
49
|
+
t && /* @__PURE__ */ e(u, { size: Z[a], tag: "div", children: t })
|
|
50
50
|
] });
|
|
51
51
|
});
|
|
52
52
|
j.displayName = "Checkbox";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import a from "react";
|
|
3
3
|
import { c as _ } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
|
-
const l = "
|
|
4
|
+
const l = "checkboxXGroup__a199518d", b = "label__784c199f", e = {
|
|
5
5
|
checkboxXGroup: l,
|
|
6
|
-
"indent-12": "indent-
|
|
6
|
+
"indent-12": "indent-12__b28233d1",
|
|
7
7
|
label: b,
|
|
8
|
-
"indent-16": "indent-
|
|
9
|
-
"indent-20": "indent-
|
|
10
|
-
"indent-24": "indent-
|
|
11
|
-
"indent-28": "indent-
|
|
12
|
-
"indent-32": "indent-
|
|
13
|
-
},
|
|
14
|
-
const { children: o, className: c, indent: d = 12, ...r } = n,
|
|
15
|
-
return /* @__PURE__ */
|
|
8
|
+
"indent-16": "indent-16__af577456",
|
|
9
|
+
"indent-20": "indent-20__e7ff9df1",
|
|
10
|
+
"indent-24": "indent-24__5e573d8a",
|
|
11
|
+
"indent-28": "indent-28__f13ce2b5",
|
|
12
|
+
"indent-32": "indent-32__9dbb1b4e"
|
|
13
|
+
}, f = a.forwardRef((n, t) => {
|
|
14
|
+
const { children: o, className: c, indent: d = 12, ...r } = n, i = _(e.checkboxXGroup, e[`indent-${d}`], c);
|
|
15
|
+
return /* @__PURE__ */ s("div", { className: i, ...r, role: "group", ref: t, children: o });
|
|
16
16
|
});
|
|
17
|
-
|
|
17
|
+
f.displayName = "CheckboxXGroup";
|
|
18
18
|
export {
|
|
19
|
-
|
|
19
|
+
f as CheckboxXGroup
|
|
20
20
|
};
|
|
21
21
|
//# sourceMappingURL=CheckboxXGroup.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import p from "react";
|
|
3
3
|
import { c as m } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
|
-
const l = "
|
|
4
|
+
const l = "checkboxYGroup__22cad0ec", u = {
|
|
5
5
|
checkboxYGroup: l
|
|
6
6
|
}, x = p.forwardRef((o, c) => {
|
|
7
7
|
const { children: r, className: e, ...s } = o, t = m(u.checkboxYGroup, e);
|
|
@@ -7,7 +7,7 @@ import { c as a } from "../../chunks/vendor-DudMBGKr.js";
|
|
|
7
7
|
import { EComponentSize as r } from "../../enums/EComponentSize.js";
|
|
8
8
|
import { EScreenWidth as t } from "../../helpers/breakpoints.js";
|
|
9
9
|
import { useMatchMedia as h } from "../MediaWidth/useMatchMedia.js";
|
|
10
|
-
import { s as f } from "../../chunks/CheckboxTreeExtended.module-
|
|
10
|
+
import { s as f } from "../../chunks/CheckboxTreeExtended.module-CtU7nxR-.js";
|
|
11
11
|
const e = ({ className: m, size: d = r.MD, ...i }) => {
|
|
12
12
|
const x = h(
|
|
13
13
|
`(max-width: ${t.SM_MAX})`,
|
|
@@ -5,7 +5,7 @@ import { jsx as p } from "react/jsx-runtime";
|
|
|
5
5
|
import { CaretdownStrokeSrvIcon16 as l } from "@sberbusiness/icons-next";
|
|
6
6
|
import { EVENT_KEY_CODES as d } from "../../../utils/keyboard.js";
|
|
7
7
|
import h from "react";
|
|
8
|
-
import { s as f } from "../../../chunks/CheckboxTreeExtended.module-
|
|
8
|
+
import { s as f } from "../../../chunks/CheckboxTreeExtended.module-CtU7nxR-.js";
|
|
9
9
|
class x extends h.Component {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments);
|
|
@@ -2,7 +2,7 @@ import { jsx as p } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRef as N, useContext as E, useEffect as T } from "react";
|
|
3
3
|
import { Checkbox as a } from "../../Checkbox/Checkbox.js";
|
|
4
4
|
import { c as x } from "../../../chunks/vendor-DudMBGKr.js";
|
|
5
|
-
import { s as m } from "../../../chunks/CheckboxTreeExtended.module-
|
|
5
|
+
import { s as m } from "../../../chunks/CheckboxTreeExtended.module-CtU7nxR-.js";
|
|
6
6
|
import { CheckboxTreeExtendedContext as F } from "../CheckboxTreeExtendedContext.js";
|
|
7
7
|
const L = ({
|
|
8
8
|
active: s,
|
|
@@ -5,7 +5,7 @@ import { isStaticCheckboxTreeExtended as f } from "../isStaticCheckboxTreeExtend
|
|
|
5
5
|
import { c as u } from "../../../chunks/vendor-DudMBGKr.js";
|
|
6
6
|
import "./CheckboxTreeExtendedArrow.js";
|
|
7
7
|
import { createSizeToClassNameMap as T } from "../../../utils/classNameMaps.js";
|
|
8
|
-
import { s as o } from "../../../chunks/CheckboxTreeExtended.module-
|
|
8
|
+
import { s as o } from "../../../chunks/CheckboxTreeExtended.module-CtU7nxR-.js";
|
|
9
9
|
import { CheckboxTreeExtendedContext as C } from "../CheckboxTreeExtendedContext.js";
|
|
10
10
|
const N = T(o), y = ({
|
|
11
11
|
children: r,
|
package/components/Chip/Chip.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../chunks/vendor-DudMBGKr.js";
|
|
4
|
-
import { C as h } from "../../chunks/Chip-
|
|
4
|
+
import { C as h } from "../../chunks/Chip-BOBB8hDQ.js";
|
|
5
5
|
import "../../enums/EComponentSize.js";
|
|
6
6
|
import "../../utils/classNameMaps.js";
|
|
7
7
|
import "../../utils/keyboard.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import p from "react";
|
|
3
3
|
import { c as s } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
|
-
import { CrossStrokeSrvIcon24 as
|
|
4
|
+
import { CrossStrokeSrvIcon24 as a, CrossStrokeSrvIcon20 as i, CrossStrokeSrvIcon16 as l } from "@sberbusiness/icons-next";
|
|
5
5
|
import { EComponentSize as o } from "../../enums/EComponentSize.js";
|
|
6
6
|
import { ButtonIcon as m } from "../Button/ButtonIcon.js";
|
|
7
|
-
const C = "
|
|
7
|
+
const C = "chipClearButton__6964b2cb", S = {
|
|
8
8
|
chipClearButton: C
|
|
9
9
|
}, f = {
|
|
10
10
|
[o.SM]: /* @__PURE__ */ t(l, { paletteIndex: 6 }),
|
|
11
11
|
[o.MD]: /* @__PURE__ */ t(i, { paletteIndex: 6 }),
|
|
12
|
-
[o.LG]: /* @__PURE__ */ t(
|
|
12
|
+
[o.LG]: /* @__PURE__ */ t(a, { paletteIndex: 6 })
|
|
13
13
|
}, I = p.forwardRef(
|
|
14
|
-
({ className: r, size: e = o.MD, ...n },
|
|
14
|
+
({ className: r, size: e = o.MD, ...n }, c) => /* @__PURE__ */ t(m, { className: s(S.chipClearButton, r), ...n, ref: c, children: f[e] })
|
|
15
15
|
);
|
|
16
16
|
I.displayName = "ChipClearButton";
|
|
17
17
|
export {
|
|
@@ -7,7 +7,7 @@ import { DatePickerExtended as B } from "../../DatePickerExtended/DatePickerExte
|
|
|
7
7
|
import { ChipDatePickerTarget as G } from "./ChipDatePickerTarget.js";
|
|
8
8
|
import { inputDateFormat as D } from "../../DateField/constants.js";
|
|
9
9
|
import { DropdownMobileMaskedInput as C } from "../../Dropdown/mobile/DropdownMobileMaskedInput.js";
|
|
10
|
-
import { s as H } from "../../../chunks/Chip-
|
|
10
|
+
import { s as H } from "../../../chunks/Chip-BOBB8hDQ.js";
|
|
11
11
|
const L = N.forwardRef((S, V) => {
|
|
12
12
|
const {
|
|
13
13
|
value: o,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import D, { useContext as k } from "react";
|
|
3
|
-
import { C as w } from "../../../chunks/Chip-
|
|
3
|
+
import { C as w } from "../../../chunks/Chip-BOBB8hDQ.js";
|
|
4
4
|
import { ChipDropdownArrow as P } from "../ChipDropdownArrow.js";
|
|
5
5
|
import { ChipClearButton as g } from "../ChipClearButton.js";
|
|
6
6
|
import { DatePickerExtendedContext as E } from "../../DatePickerExtended/DatePickerExtendedContext.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { CaretdownStrokeSrvIcon24 as p, CaretdownStrokeSrvIcon20 as d, CaretdownStrokeSrvIcon16 as
|
|
3
|
-
import { c } from "../../chunks/vendor-DudMBGKr.js";
|
|
2
|
+
import { CaretdownStrokeSrvIcon24 as p, CaretdownStrokeSrvIcon20 as d, CaretdownStrokeSrvIcon16 as c } from "@sberbusiness/icons-next";
|
|
3
|
+
import { c as a } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
4
|
import { EComponentSize as r } from "../../enums/EComponentSize.js";
|
|
5
|
-
const w = "
|
|
5
|
+
const w = "chipDropdownArrow__5e619624", s = "rotated__bdc26889", t = {
|
|
6
6
|
chipDropdownArrow: w,
|
|
7
7
|
rotated: s
|
|
8
8
|
}, i = {
|
|
9
|
-
[r.SM]: /* @__PURE__ */ o(
|
|
9
|
+
[r.SM]: /* @__PURE__ */ o(c, { paletteIndex: 5 }),
|
|
10
10
|
[r.MD]: /* @__PURE__ */ o(d, { paletteIndex: 5 }),
|
|
11
11
|
[r.LG]: /* @__PURE__ */ o(p, { paletteIndex: 5 })
|
|
12
|
-
}, m = ({ rotated: e, size: n = r.MD }) => /* @__PURE__ */ o("span", { className:
|
|
12
|
+
}, m = ({ rotated: e, size: n = r.MD }) => /* @__PURE__ */ o("span", { className: a(t.chipDropdownArrow, { [t.rotated]: e }), children: i[n] });
|
|
13
13
|
m.displayName = "ChipDropdownArrow";
|
|
14
14
|
export {
|
|
15
15
|
m as ChipDropdownArrow
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import f from "react";
|
|
3
|
-
import { C as t } from "../../chunks/Chip-
|
|
3
|
+
import { C as t } from "../../chunks/Chip-BOBB8hDQ.js";
|
|
4
4
|
const a = f.forwardRef(({ children: p, ...r }, i) => /* @__PURE__ */ o(t, { ...r, prefix: p, postfix: /* @__PURE__ */ o("span", {}), ref: i }));
|
|
5
5
|
a.displayName = "ChipIcon";
|
|
6
6
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import w from "react";
|
|
3
3
|
import { MultiselectField as y } from "../MultiselectField/MultiselectField.js";
|
|
4
|
-
import { s as x, C as D } from "../../chunks/Chip-
|
|
4
|
+
import { s as x, C as D } from "../../chunks/Chip-BOBB8hDQ.js";
|
|
5
5
|
import { ChipClearButton as E } from "./ChipClearButton.js";
|
|
6
6
|
import { ChipDropdownArrow as K } from "./ChipDropdownArrow.js";
|
|
7
7
|
import { isKey as i } from "../../utils/keyboard.js";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import a from "react";
|
|
3
3
|
import { OptionsStrokeSrvIcon24 as i } from "@sberbusiness/icons-next";
|
|
4
|
-
import { C } from "../../chunks/Chip-
|
|
4
|
+
import { C } from "../../chunks/Chip-BOBB8hDQ.js";
|
|
5
5
|
import { ChipClearButton as f } from "./ChipClearButton.js";
|
|
6
|
-
const
|
|
7
|
-
chipOptionsContent:
|
|
8
|
-
}, l =
|
|
9
|
-
({ children: o, clearSelected: e, selected: n, ...p },
|
|
6
|
+
const m = "chipOptionsContent__1fb1f197", c = {
|
|
7
|
+
chipOptionsContent: m
|
|
8
|
+
}, l = a.forwardRef(
|
|
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(f, { onClick: (
|
|
14
|
-
|
|
13
|
+
postfix: n ? /* @__PURE__ */ t(f, { onClick: (r) => {
|
|
14
|
+
r.stopPropagation(), e();
|
|
15
15
|
}, size: p.size }) : /* @__PURE__ */ t("span", {}),
|
|
16
16
|
selected: n,
|
|
17
17
|
...p,
|
|
18
|
-
ref:
|
|
19
|
-
children: typeof o < "u" ? /* @__PURE__ */ t("span", { className:
|
|
18
|
+
ref: s,
|
|
19
|
+
children: typeof o < "u" ? /* @__PURE__ */ t("span", { className: c.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-BOBB8hDQ.js";
|
|
9
9
|
import { c as g } from "../../../chunks/vendor-DudMBGKr.js";
|
|
10
10
|
const u = S.forwardRef(
|
|
11
11
|
({ className: m, clearSelected: c, disabled: d, size: o, label: i, displayedValue: p, onChange: l, options: n, value: e, ...s }, f) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import g, { useCallback as t } from "react";
|
|
3
|
-
import { C as x } from "../../../chunks/Chip-
|
|
3
|
+
import { C as x } from "../../../chunks/Chip-BOBB8hDQ.js";
|
|
4
4
|
import { ChipDropdownArrow as y } from "../ChipDropdownArrow.js";
|
|
5
5
|
import { ChipClearButton as D } from "../ChipClearButton.js";
|
|
6
6
|
import { isKey as a } from "../../../utils/keyboard.js";
|
|
@@ -9,7 +9,7 @@ import "../SelectExtendedField/components/SelectExtendedFieldTarget.js";
|
|
|
9
9
|
import { SelectExtendedFieldDropdownDefault as T } from "../SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js";
|
|
10
10
|
import { isKey as s } from "../../utils/keyboard.js";
|
|
11
11
|
import { IconWrapper as b } from "../IconWrapper/IconWrapper.js";
|
|
12
|
-
import { s as k } from "../../chunks/Chip-
|
|
12
|
+
import { s as k } from "../../chunks/Chip-BOBB8hDQ.js";
|
|
13
13
|
const q = D.forwardRef(
|
|
14
14
|
({ className: p, defaultValue: d, disabled: n, label: f, onChange: u, options: h, value: t, size: i, ...x }, I) => {
|
|
15
15
|
const c = E(w()), a = !!t && !C.isEqual(d, t), S = ({ opened: r, setOpened: l }) => /* @__PURE__ */ o(
|
|
@@ -5,7 +5,7 @@ import { c as x } from "../../../chunks/vendor-DudMBGKr.js";
|
|
|
5
5
|
import "../../Suggest/SuggestContext.js";
|
|
6
6
|
import { Suggest as S } from "../../Suggest/Suggest.js";
|
|
7
7
|
import { ChipSuggestDropdown as C } from "./ChipSuggestDropdown.js";
|
|
8
|
-
import { s as j } from "../../../chunks/Chip-
|
|
8
|
+
import { s as j } from "../../../chunks/Chip-BOBB8hDQ.js";
|
|
9
9
|
const w = ({ className: u, displayedValue: c, label: r, prefix: y, targetProps: g, dropdownProps: l, ...o }, t) => {
|
|
10
10
|
const { value: s, size: f } = o, i = p(null), n = p(null), a = (e) => {
|
|
11
11
|
i.current = e, typeof t == "function" ? t(e) : t && (t.current = e);
|
|
@@ -6,7 +6,7 @@ import { useSuggestContext as k } from "../../Suggest/SuggestContext.js";
|
|
|
6
6
|
import "../../Dropdown/DropdownListContext.js";
|
|
7
7
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
8
8
|
import { DropdownList as R } from "../../Dropdown/desktop/DropdownList.js";
|
|
9
|
-
import { D as _ } from "../../../chunks/DropdownListItem-
|
|
9
|
+
import { D as _ } from "../../../chunks/DropdownListItem-kVq_Shxy.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 P, { useCallback as r } from "react";
|
|
3
3
|
import { useSuggestContext as T } from "../../Suggest/SuggestContext.js";
|
|
4
4
|
import "../../Suggest/Suggest.js";
|
|
5
|
-
import { C as c } from "../../../chunks/Chip-
|
|
5
|
+
import { C as c } from "../../../chunks/Chip-BOBB8hDQ.js";
|
|
6
6
|
import { ChipClearButton as w } from "../ChipClearButton.js";
|
|
7
7
|
import { ChipDropdownArrow as B } from "../ChipDropdownArrow.js";
|
|
8
8
|
import { isKey as n } from "../../../utils/keyboard.js";
|
|
@@ -4,21 +4,21 @@ import { useSuggestContext as M } from "../../../Suggest/SuggestContext.js";
|
|
|
4
4
|
import { FormFieldClear as T } from "../../../FormField/components/FormFieldClear.js";
|
|
5
5
|
import "../../../FormField/components/FormFieldCounter.js";
|
|
6
6
|
import "../../../FormField/components/FormFieldDescription.js";
|
|
7
|
-
import { F as
|
|
8
|
-
import { FormFieldLabel as
|
|
7
|
+
import { F as b } from "../../../../chunks/FormFieldInput-DB9UpgIs.js";
|
|
8
|
+
import { FormFieldLabel as k } from "../../../FormField/components/FormFieldLabel.js";
|
|
9
9
|
import "../../../FormField/components/FormFieldMaskedInput.js";
|
|
10
|
-
import { FormFieldPostfix as
|
|
10
|
+
import { FormFieldPostfix as B } from "../../../FormField/components/FormFieldPostfix.js";
|
|
11
11
|
import "../../../FormField/components/FormFieldPrefix.js";
|
|
12
12
|
import "../../../FormField/components/FormFieldTarget.js";
|
|
13
13
|
import "../../../FormField/components/FormFieldTextarea.js";
|
|
14
|
-
import { FormField as
|
|
14
|
+
import { FormField as O } from "../../../FormField/FormField.js";
|
|
15
15
|
import { EComponentSize as r } from "../../../../enums/EComponentSize.js";
|
|
16
16
|
import { Tooltip as p } from "../../../Tooltip/Tooltip.js";
|
|
17
|
-
import { ETooltipSize as
|
|
18
|
-
import { LoaderSmall as
|
|
17
|
+
import { ETooltipSize as R } from "../../../Tooltip/enums.js";
|
|
18
|
+
import { LoaderSmall as W } from "../../../Loader/LoaderSmall/LoaderSmall.js";
|
|
19
19
|
import { ELoaderSmallTheme as E } from "../../../Loader/LoaderSmall/enum.js";
|
|
20
20
|
import "../../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
21
|
-
const j = "
|
|
21
|
+
const j = "chipSuggestInputWrapper__b20527fd", w = {
|
|
22
22
|
chipSuggestInputWrapper: j
|
|
23
23
|
}, re = ({
|
|
24
24
|
children: m,
|
|
@@ -28,8 +28,8 @@ const j = "chipSuggestInputWrapper__797a8146", w = {
|
|
|
28
28
|
inputValue: i,
|
|
29
29
|
placeholder: c,
|
|
30
30
|
noOptionsText: d,
|
|
31
|
-
dropdownListId:
|
|
32
|
-
activeDescendant:
|
|
31
|
+
dropdownListId: f,
|
|
32
|
+
activeDescendant: g,
|
|
33
33
|
loading: h,
|
|
34
34
|
tooltipOpen: F,
|
|
35
35
|
clearInputOnFocus: l,
|
|
@@ -43,16 +43,16 @@ const j = "chipSuggestInputWrapper__797a8146", w = {
|
|
|
43
43
|
s(!0), i.length !== 0 && l === !0 && e("");
|
|
44
44
|
}, [i.length, l, e]), v = o(() => s(!1), []);
|
|
45
45
|
return /* @__PURE__ */ n(
|
|
46
|
-
|
|
46
|
+
O,
|
|
47
47
|
{
|
|
48
48
|
className: w.chipSuggestInputWrapper,
|
|
49
49
|
size: u === r.LG ? r.MD : r.SM,
|
|
50
50
|
children: [
|
|
51
|
-
/* @__PURE__ */ t(
|
|
51
|
+
/* @__PURE__ */ t(k, { children: m }),
|
|
52
52
|
/* @__PURE__ */ n(
|
|
53
53
|
p,
|
|
54
54
|
{
|
|
55
|
-
size:
|
|
55
|
+
size: R.SM,
|
|
56
56
|
isOpen: !!F && S,
|
|
57
57
|
toggle: () => {
|
|
58
58
|
},
|
|
@@ -61,12 +61,12 @@ const j = "chipSuggestInputWrapper__797a8146", w = {
|
|
|
61
61
|
children: [
|
|
62
62
|
/* @__PURE__ */ t(p.Body, { children: d }),
|
|
63
63
|
/* @__PURE__ */ t(p.Target, { children: /* @__PURE__ */ t(
|
|
64
|
-
|
|
64
|
+
b,
|
|
65
65
|
{
|
|
66
66
|
value: i,
|
|
67
67
|
placeholder: c,
|
|
68
|
-
"aria-controls":
|
|
69
|
-
"aria-activedescendant":
|
|
68
|
+
"aria-controls": f,
|
|
69
|
+
"aria-activedescendant": g,
|
|
70
70
|
autoFocus: !0,
|
|
71
71
|
onFocus: x,
|
|
72
72
|
onBlur: v,
|
|
@@ -77,9 +77,9 @@ const j = "chipSuggestInputWrapper__797a8146", w = {
|
|
|
77
77
|
]
|
|
78
78
|
}
|
|
79
79
|
),
|
|
80
|
-
/* @__PURE__ */ n(
|
|
80
|
+
/* @__PURE__ */ n(B, { children: [
|
|
81
81
|
/* @__PURE__ */ t(T, { onClick: I }),
|
|
82
|
-
h && /* @__PURE__ */ t(
|
|
82
|
+
h && /* @__PURE__ */ t(W, { theme: E.BRAND, size: r.SM })
|
|
83
83
|
] })
|
|
84
84
|
]
|
|
85
85
|
}
|