@sberbusiness/triplex-next 1.20.0 → 1.21.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/README.md +60 -22
- package/chunks/{AlertProcessSpoiler-CT4kuQU5.js → AlertProcessSpoiler-io5SjBK8.js} +12 -12
- package/chunks/CalendarViewItem-CW39vnxU.js +101 -0
- package/chunks/Card.module-wkZoieJo.js +17 -0
- package/chunks/CheckboxTreeExtended.module-yaZgGm0h.js +15 -0
- package/chunks/{Chip-Df2PJxv_.js → Chip-CtmEt4Cp.js} +17 -17
- package/chunks/Confirm.module-Bi0IoVgW.js +15 -0
- package/chunks/{DropdownListItem-JDPG7EtK.js → DropdownListItem-gGRZUigY.js} +14 -14
- package/chunks/DropdownMobile.module-D1Tda3VC.js +23 -0
- package/chunks/Footer.module-dEM87TWq.js +9 -0
- package/chunks/FormFieldInput-BXZLkCG-.js +60 -0
- package/chunks/HeaderLayoutSidebar.module-CPuC-nCL.js +9 -0
- package/chunks/HeaderTabs.module-lGf7L-VN.js +9 -0
- package/chunks/{HeaderTitle.module-Cz5VxXST.js → HeaderTitle.module-G-lXVibC.js} +2 -2
- package/chunks/IslandAccordion.module-CmJ_07-4.js +25 -0
- package/chunks/IslandWidgetFooter.module-PAcTvDvE.js +9 -0
- package/chunks/IslandWidgetHeader.module-CCpvQ7cl.js +12 -0
- package/chunks/{LightBoxContent-DcdEm4um.js → LightBoxContent-Dwdsxv-p.js} +12 -12
- package/chunks/LightBoxControls.module-C0ehN4OK.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-DQQjxPZ4.js +9 -0
- package/chunks/{ListItemControlsButton-CWkrMtu6.js → ListItemControlsButton-CXrdUtOj.js} +10 -10
- package/chunks/ListItemTail.module-t77bOXMm.js +12 -0
- package/chunks/ListMasterFooter.module-S-2GdDuq.js +10 -0
- package/chunks/ModalWindow.module-BNDWxL9E.js +17 -0
- package/chunks/Notification.module-BukggXdi.js +20 -0
- package/chunks/Overlay.module-DNkYF6tu.js +18 -0
- package/chunks/Page.module-Bz9n-Dho.js +11 -0
- package/chunks/{RightBorderArrow-CD9RfiqH.js → RightBorderArrow-BStHeZkJ.js} +9 -9
- package/chunks/SMSField.module-DBEf-aa7.js +16 -0
- package/chunks/SliderExtendedMarks.module-QVPE-s18.js +15 -0
- package/chunks/{SliderExtendedRail-Alw2vXQr.js → SliderExtendedRail-1zC_WMFD.js} +15 -15
- package/chunks/StatusTracker.module-_Hh_EXXG.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-BfOcMGUs.js → SuggestFieldMobileDropdownHint-DP7pX8_2.js} +4 -4
- package/chunks/TableFooter.module-nim97iDm.js +14 -0
- package/chunks/TabsExtended.module-33reL6bh.js +16 -0
- package/chunks/TabsLine.module-BS4pWC4f.js +21 -0
- package/chunks/TooltipDesktop.module-CU1qQ4fM.js +19 -0
- package/chunks/TreeView.module-7JefvvHQ.js +9 -0
- package/chunks/{UploadZoneInput-DWEQ023-.js → UploadZoneInput--cEsI9GG.js} +8 -8
- package/chunks/{constants-mUMWgzNs.js → constants-Dag2NxzH.js} +9 -9
- package/chunks/utils-C81PwsD3.js +24 -0
- package/chunks/utils-DKXtpqrd.js +73 -0
- package/chunks/{utils-B269a8Xy.js → utils-mDzXEbG8.js} +6 -6
- package/chunks/{utils-C64rf2gI.js → utils-wIML3CoI.js} +11 -11
- package/chunks/{vendor-BIl4KTrD.js → vendor-CuCj7SgU.js} +7115 -6975
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +10 -10
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +3 -3
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +12 -12
- package/components/Badge/Badge.js +8 -8
- package/components/Badge/BadgeDot.js +8 -8
- package/components/Badge/components/BadgeContent.js +7 -7
- package/components/Badge/components/BadgePostfix.js +9 -9
- package/components/Badge/components/BadgePrefix.js +2 -2
- package/components/Body/Body.js +8 -8
- package/components/Button/Button.js +26 -26
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +2 -2
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +12 -12
- package/components/Calendar/Calendar.js +6 -6
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +4 -4
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- 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 +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +7 -7
- package/components/Checkbox/Checkbox.js +13 -13
- package/components/Checkbox/CheckboxXGroup.js +16 -16
- package/components/Checkbox/CheckboxYGroup.js +7 -7
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +18 -10
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +7 -7
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +25 -24
- package/components/Chip/ChipDropdownArrow.js +2 -2
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +9 -9
- package/components/Chip/ChipSelect/ChipSelect.js +2 -2
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +21 -21
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +12 -12
- package/components/Col/Col.js +135 -135
- package/components/CollapsableTree/components/CollapsableTreeNode.js +12 -12
- package/components/Confirm/Confirm.js +2 -2
- package/components/Confirm/components/ConfirmCloseButton.js +2 -2
- package/components/Confirm/components/ConfirmContent.js +2 -2
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/Confirm/index.js +4 -2
- package/components/DateField/DateField.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +8 -8
- package/components/DateRange/DateRange.js +9 -9
- package/components/DesignTokens/DesignTokenUtils.js +7 -7
- package/components/DesignTokens/DesignTokensCore.js +8 -0
- package/components/DesignTokens/components/Pagination.js +2 -5
- package/components/DesignTokens/types/DesignTokensTypes.js +2 -0
- package/components/Divider/Divider.js +18 -18
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +7 -7
- package/components/Dropdown/desktop/DropdownDesktop.js +8 -8
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- 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 +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +13 -13
- package/components/ExpandAnimation/ExpandAnimation.js +13 -13
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +2 -2
- package/components/Footer/components/FooterDescriptionContent.js +2 -2
- package/components/Footer/components/FooterDescriptionControls.js +2 -2
- package/components/FormField/FormField.js +65 -63
- package/components/FormField/FormFieldContext.js +4 -3
- package/components/FormField/components/FormFieldClear.js +8 -8
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +18 -18
- package/components/FormField/components/FormFieldMaskedInput.js +9 -9
- package/components/FormField/components/FormFieldPostfix.js +8 -8
- package/components/FormField/components/FormFieldPrefix.js +9 -9
- package/components/FormField/components/FormFieldTarget.js +35 -33
- package/components/FormField/components/FormFieldTextarea.js +11 -11
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +4 -4
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +9 -9
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +6 -6
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +3 -3
- package/components/IslandWidget/IslandWidget.js +14 -14
- package/components/IslandWidget/components/IslandWidgetBody.js +4 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +5 -5
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +9 -9
- package/components/LightBox/LightBox.js +40 -40
- package/components/LightBox/LightBoxContent.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxClose.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxControls.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxNext.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +17 -17
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +4 -4
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +4 -4
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +3 -3
- package/components/Link/Link.js +20 -20
- package/components/List/List.js +6 -6
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +3 -3
- package/components/List/components/ListItemControls.js +2 -2
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +2 -2
- package/components/List/components/ListItemSelectable.js +9 -9
- package/components/List/components/ListItemTable.js +4 -4
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +11 -11
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +10 -10
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +6 -6
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +8 -8
- package/components/ListMaster/components/SelectionControls.js +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +10 -10
- package/components/Loader/LoaderSmall/LoaderSmall.js +13 -13
- package/components/LoaderScreen/LoaderScreen.js +10 -10
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +16 -16
- package/components/ModalWindow/ModalWindow.js +14 -14
- package/components/ModalWindow/components/ModalWindowBody.js +2 -2
- package/components/ModalWindow/components/ModalWindowClose.js +10 -10
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +7 -7
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +7 -7
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- 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 +6 -6
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +2 -2
- package/components/Page/components/BodyPage.js +5 -5
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +7 -7
- package/components/Pagination/components/PaginationNavigationButton.js +6 -6
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +24 -16
- package/components/Pagination/components/PaginationPageEllipsis.js +13 -9
- package/components/Pagination/components/PaginationSelect.js +9 -9
- package/components/Pagination/utils/paginationUtils.js +5 -5
- package/components/Portal/index.js +5 -0
- package/components/Radio/Radio.js +15 -15
- package/components/Radio/RadioXGroup.js +11 -11
- package/components/Radio/RadioYGroup.js +2 -2
- package/components/Row/Row.js +7 -7
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +3 -3
- package/components/SMSField/components/SMSFieldRefresh.js +2 -2
- package/components/SMSField/components/SMSFieldSubmit.js +2 -2
- package/components/SMSField/components/SMSFieldTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +14 -14
- package/components/SegmentedControl/SegmentedControlSegment.js +15 -15
- package/components/SelectExtendedField/SelectExtendedField.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +74 -70
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +5 -5
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +27 -27
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +2 -2
- package/components/SliderExtended/components/SliderExtendedRail.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +6 -6
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +24 -24
- package/components/SmallInput/SmallInput.js +4 -4
- package/components/Spoiler/Spoiler.js +20 -20
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +2 -2
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +2 -2
- package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
- package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
- package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
- package/components/StatusTracker/components/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/Step/Step.js +10 -10
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +19 -19
- package/components/Stepper/StepperExtended.js +10 -10
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +3 -3
- package/components/Suggest/SuggestMobileDropdownContent.js +6 -6
- package/components/Suggest/useSuggest.js +1 -1
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +3 -3
- 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 +23 -23
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +7 -7
- package/components/Table/NoColumns.js +5 -5
- package/components/Table/PaginationPanel.js +5 -5
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +4 -4
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +5 -5
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +2 -2
- package/components/Table/TabsLinePanelLinks.js +2 -2
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +20 -20
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +7 -7
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +3 -3
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +7 -7
- package/components/Tag/Tag.js +27 -27
- package/components/TagColor/TagColor.js +20 -18
- package/components/TagGroup/TagGroup.js +11 -11
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +3 -3
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +8 -8
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +12 -12
- package/components/Tooltip/index.js +13 -5
- package/components/TopOverlay/TopOverlay.js +16 -16
- package/components/TreeView/TreeView.js +2 -2
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +2 -2
- package/components/Typography/Caption.js +20 -20
- package/components/Typography/Text.js +19 -19
- package/components/Typography/Title.js +17 -17
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +6 -6
- package/components/UnorderedList/UnorderedListItem.js +3 -3
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +574 -560
- package/generated/refTokenTypes.js +1 -1
- package/helpers/less/colors.less +2 -0
- package/index.d.ts +220 -14
- package/index.js +618 -604
- package/package.json +5 -1
- package/styles/triplex-next.css +547 -546
- package/utils/amountUtils.js +1 -1
- package/chunks/CalendarViewItem-B22G4WdJ.js +0 -101
- package/chunks/Card.module-CYQS3e5D.js +0 -17
- package/chunks/CheckboxTreeExtended.module-Bm15tlJo.js +0 -14
- package/chunks/Confirm.module-B2BrmONy.js +0 -15
- package/chunks/DropdownMobile.module-BEV1I-ay.js +0 -23
- package/chunks/Footer.module-Bd88HiEv.js +0 -9
- package/chunks/FormFieldInput-C4pLJsXx.js +0 -60
- package/chunks/HeaderLayoutSidebar.module-CqfeCJ-B.js +0 -9
- package/chunks/HeaderTabs.module-CWX7b7Dh.js +0 -9
- package/chunks/IslandAccordion.module-CDvdz98b.js +0 -25
- package/chunks/IslandWidgetFooter.module-e4tVz5in.js +0 -9
- package/chunks/IslandWidgetHeader.module-Ch-s_cQT.js +0 -12
- package/chunks/LightBoxControls.module-uaiuwR-r.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CMuFmWFe.js +0 -9
- package/chunks/ListItemTail.module-7mfIAr0W.js +0 -12
- package/chunks/ListMasterFooter.module-P4_LpH8K.js +0 -10
- package/chunks/ModalWindow.module-D-5u9tYs.js +0 -17
- package/chunks/Notification.module-C0ZCimeJ.js +0 -20
- package/chunks/Overlay.module-DllxTgO6.js +0 -18
- package/chunks/Page.module-D8eZ3riP.js +0 -11
- package/chunks/SMSField.module-Ct20kGRY.js +0 -16
- package/chunks/SliderExtendedMarks.module-AiKoZWUL.js +0 -15
- package/chunks/StatusTracker.module-BS9GBa45.js +0 -24
- package/chunks/TableFooter.module-DYutPrdO.js +0 -14
- package/chunks/TabsExtended.module-uL61NvZ4.js +0 -16
- package/chunks/TabsLine.module-ByA3hnWg.js +0 -21
- package/chunks/TooltipDesktop.module-CWKvU1wk.js +0 -19
- package/chunks/TreeView.module-Co4Cu58-.js +0 -9
- package/chunks/utils-C8q6y8Et.js +0 -73
- package/chunks/utils-rInBvmh_.js +0 -24
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
const
|
|
3
|
-
calendarFooter:
|
|
4
|
-
}, t = ({ children: o }) => /* @__PURE__ */
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
const e = "calendarFooter__52b88120", r = {
|
|
3
|
+
calendarFooter: e
|
|
4
|
+
}, t = ({ children: o }) => /* @__PURE__ */ a("div", { className: r.calendarFooter, children: o });
|
|
5
5
|
t.displayName = "CalendarFooter";
|
|
6
6
|
export {
|
|
7
7
|
t as CalendarFooter
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as U, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { c as H } from "../../../chunks/vendor-
|
|
2
|
+
import { c as H } from "../../../chunks/vendor-CuCj7SgU.js";
|
|
3
3
|
import { useContext as k, useCallback as O, useState as L, useEffect as q } from "react";
|
|
4
4
|
import c from "moment";
|
|
5
5
|
import { isDateOutOfRange as g, isDayDisabled as z } from "../utils.js";
|
|
6
6
|
import { WEEKDAYS_SET as J } from "../../../consts/DateConst.js";
|
|
7
7
|
import { CalendarViewContext as Q } from "../CalendarViewContext.js";
|
|
8
|
-
import { s as y, C as X } from "../../../chunks/CalendarViewItem-
|
|
8
|
+
import { s as y, C as X } from "../../../chunks/CalendarViewItem-CW39vnxU.js";
|
|
9
9
|
import { isKey as d } from "../../../utils/keyboard.js";
|
|
10
10
|
import { ECalendarDateMarkType as Z, ECalendarViewMode as E } from "../enums.js";
|
|
11
11
|
import { CalendarContext as ee } from "../CalendarContext.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../../chunks/vendor-
|
|
2
|
+
import "../../../chunks/vendor-CuCj7SgU.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "../enums.js";
|
|
5
5
|
import "../CalendarViewContext.js";
|
|
6
6
|
import "../../../utils/keyboard.js";
|
|
7
|
-
import { C } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { C } from "../../../chunks/CalendarViewItem-CW39vnxU.js";
|
|
8
8
|
export {
|
|
9
9
|
C as CalendarViewItem
|
|
10
10
|
};
|
|
@@ -4,7 +4,7 @@ import h from "moment";
|
|
|
4
4
|
import { CalendarContext as H } from "../CalendarContext.js";
|
|
5
5
|
import { CalendarViewContext as K } from "../CalendarViewContext.js";
|
|
6
6
|
import { isDateOutOfRange as R } from "../utils.js";
|
|
7
|
-
import { s as B, C as U } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as B, C as U } from "../../../chunks/CalendarViewItem-CW39vnxU.js";
|
|
8
8
|
import { isKey as l } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarPickType as Y, ECalendarViewMode as u } from "../enums.js";
|
|
10
10
|
const Z = ({ pickedDate: r, monthHtmlAttributes: T = {} }) => {
|
|
@@ -4,7 +4,7 @@ import w from "moment";
|
|
|
4
4
|
import { CalendarContext as N } from "../CalendarContext.js";
|
|
5
5
|
import { CalendarViewContext as G } from "../CalendarViewContext.js";
|
|
6
6
|
import { isDateOutOfRange as O } from "../utils.js";
|
|
7
|
-
import { s as K, C as H } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as K, C as H } from "../../../chunks/CalendarViewItem-CW39vnxU.js";
|
|
8
8
|
import { isKey as i } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarViewMode as y } from "../enums.js";
|
|
10
10
|
const Q = ({ pickedDate: s, yearHtmlAttributes: S = {} }) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var o = (c, i, e) =>
|
|
1
|
+
var y = Object.defineProperty;
|
|
2
|
+
var b = (c, i, e) => i in c ? y(c, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[i] = e;
|
|
3
|
+
var o = (c, i, e) => b(c, typeof i != "symbol" ? i + "" : i, e);
|
|
4
4
|
import { jsx as R } from "react/jsx-runtime";
|
|
5
5
|
import u from "react";
|
|
6
6
|
import { CardContent as T } from "./components/CardContent/CardContent.js";
|
|
@@ -9,9 +9,9 @@ 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
11
|
import { isKey as f } from "../../utils/keyboard.js";
|
|
12
|
-
import { c as k } from "../../chunks/vendor-
|
|
13
|
-
import { c as B } from "../../chunks/Card.module-
|
|
14
|
-
const O = "
|
|
12
|
+
import { c as k } from "../../chunks/vendor-CuCj7SgU.js";
|
|
13
|
+
import { c as B } from "../../chunks/Card.module-wkZoieJo.js";
|
|
14
|
+
const O = "action__09a6b0fc", F = "selected__17dc0832", V = "focusVisible__239f152c", a = {
|
|
15
15
|
action: O,
|
|
16
16
|
selected: F,
|
|
17
17
|
focusVisible: V
|
|
@@ -72,21 +72,21 @@ class l extends u.Component {
|
|
|
72
72
|
toggle: U,
|
|
73
73
|
theme: S = w.GENERAL,
|
|
74
74
|
...C
|
|
75
|
-
} = this.props, { isControlled: E, isSelected:
|
|
75
|
+
} = this.props, { isControlled: E, isSelected: g, focusSource: D } = this.state, N = k(
|
|
76
76
|
B.card,
|
|
77
77
|
a.action,
|
|
78
78
|
K[S],
|
|
79
79
|
x[p],
|
|
80
80
|
{
|
|
81
|
-
[a.focusVisible]:
|
|
82
|
-
[a.selected]: E ? !!m :
|
|
81
|
+
[a.focusVisible]: D === r.KEYBOARD,
|
|
82
|
+
[a.selected]: E ? !!m : g
|
|
83
83
|
},
|
|
84
84
|
s
|
|
85
85
|
);
|
|
86
86
|
return /* @__PURE__ */ R(
|
|
87
87
|
"div",
|
|
88
88
|
{
|
|
89
|
-
className:
|
|
89
|
+
className: 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.21.0",
|
|
100
100
|
children: e
|
|
101
101
|
}
|
|
102
102
|
);
|
|
@@ -2,8 +2,8 @@ import { jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
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
|
-
import { c } from "../../chunks/vendor-
|
|
6
|
-
import { c as n } from "../../chunks/Card.module-
|
|
5
|
+
import { c } from "../../chunks/vendor-CuCj7SgU.js";
|
|
6
|
+
import { c as n } from "../../chunks/Card.module-wkZoieJo.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.21.0",
|
|
25
25
|
children: r
|
|
26
26
|
}
|
|
27
27
|
);
|
|
@@ -3,8 +3,8 @@ import { CardContentBody as C } from "./components/CardContentBody.js";
|
|
|
3
3
|
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
|
-
import { c as p } from "../../../../chunks/vendor-
|
|
7
|
-
import { c as r } from "../../../../chunks/Card.module-
|
|
6
|
+
import { c as p } from "../../../../chunks/vendor-CuCj7SgU.js";
|
|
7
|
+
import { c as r } from "../../../../chunks/Card.module-wkZoieJo.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
|
-
import { c as d } from "../../../../../chunks/vendor-
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
2
|
+
import { c as d } from "../../../../../chunks/vendor-CuCj7SgU.js";
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-wkZoieJo.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
|
-
import { c as e } from "../../../../../chunks/vendor-
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
2
|
+
import { c as e } from "../../../../../chunks/vendor-CuCj7SgU.js";
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-wkZoieJo.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
|
-
import { c as o } from "../../../../../chunks/vendor-
|
|
3
|
-
import { c as d } from "../../../../../chunks/Card.module-
|
|
2
|
+
import { c as o } from "../../../../../chunks/vendor-CuCj7SgU.js";
|
|
3
|
+
import { c as d } from "../../../../../chunks/Card.module-wkZoieJo.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
|
-
import { c as e } from "../../../chunks/vendor-
|
|
3
|
-
import { c as m } from "../../../chunks/Card.module-
|
|
2
|
+
import { c as e } from "../../../chunks/vendor-CuCj7SgU.js";
|
|
3
|
+
import { c as m } from "../../../chunks/Card.module-wkZoieJo.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
1
|
import { jsxs as p, jsx as b } from "react/jsx-runtime";
|
|
2
|
-
import C, { useState as w, useRef as D, useCallback as L, useEffect as
|
|
3
|
-
import { l as M, c as S } from "../../chunks/vendor-
|
|
2
|
+
import C, { useState as w, useRef as D, useCallback as L, useEffect as n } from "react";
|
|
3
|
+
import { l as M, c as S } from "../../chunks/vendor-CuCj7SgU.js";
|
|
4
4
|
import { scrollSmoothHorizontally as a } from "../../utils/scroll.js";
|
|
5
|
-
const R = "
|
|
5
|
+
const R = "carouselExtended__4fa5af3d", k = {
|
|
6
6
|
carouselExtended: R
|
|
7
7
|
}, y = C.forwardRef(
|
|
8
8
|
({ children: l, buttonPrev: c, 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 = () => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsxs as I, jsx as
|
|
1
|
+
import { jsxs as I, jsx as e } from "react/jsx-runtime";
|
|
2
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";
|
|
@@ -7,8 +7,8 @@ import { Text as C } from "../Typography/Text.js";
|
|
|
7
7
|
import "../Typography/Title.js";
|
|
8
8
|
import { EComponentSize as s } from "../../enums/EComponentSize.js";
|
|
9
9
|
import { createSizeToClassNameMap as u } from "../../utils/classNameMaps.js";
|
|
10
|
-
import { c as r } from "../../chunks/vendor-
|
|
11
|
-
const y = "
|
|
10
|
+
import { c as r } from "../../chunks/vendor-CuCj7SgU.js";
|
|
11
|
+
const y = "label__7cbcd502", M = "sm__2918a17b", T = "nonempty__19fcaf08", g = "md__55a38473", v = "lg__695a366d", B = "disabled__1a70a8f2", j = "checkbox__09706418", D = "checkboxIcon__f2e353b9", E = "checkmarkIcon__88309cd7", c = {
|
|
12
12
|
label: y,
|
|
13
13
|
sm: M,
|
|
14
14
|
nonempty: T,
|
|
@@ -22,7 +22,7 @@ const y = "label__1df2c41a", M = "sm__19698200", T = "nonempty__85e271d9", g = "
|
|
|
22
22
|
[s.LG]: n.B2,
|
|
23
23
|
[s.MD]: n.B3,
|
|
24
24
|
[s.SM]: n.B4
|
|
25
|
-
}, i = u(
|
|
25
|
+
}, i = u(c), R = N.forwardRef((b, k) => {
|
|
26
26
|
const {
|
|
27
27
|
children: a,
|
|
28
28
|
className: d,
|
|
@@ -31,20 +31,20 @@ const y = "label__1df2c41a", M = "sm__19698200", T = "nonempty__85e271d9", g = "
|
|
|
31
31
|
labelAttributes: o,
|
|
32
32
|
size: t = s.MD,
|
|
33
33
|
...x
|
|
34
|
-
} =
|
|
35
|
-
|
|
34
|
+
} = b, h = r(c.checkbox, d, i[t]), _ = r(
|
|
35
|
+
c.label,
|
|
36
36
|
i[t],
|
|
37
|
-
{ [
|
|
37
|
+
{ [c.disabled]: !!m, [c.nonempty]: !!a },
|
|
38
38
|
o == null ? void 0 : o.className
|
|
39
39
|
), f = () => {
|
|
40
|
-
const l =
|
|
41
|
-
return p ? /* @__PURE__ */
|
|
40
|
+
const l = c.checkmarkIcon;
|
|
41
|
+
return p ? /* @__PURE__ */ e(S, { className: l, paletteIndex: 7 }) : /* @__PURE__ */ e(z, { className: l, paletteIndex: 7 });
|
|
42
42
|
};
|
|
43
|
-
return /* @__PURE__ */ I("label", { ...o, className: _, "data-tx": "1.
|
|
44
|
-
/* @__PURE__ */
|
|
45
|
-
/* @__PURE__ */
|
|
43
|
+
return /* @__PURE__ */ I("label", { ...o, className: _, "data-tx": "1.21.0", children: [
|
|
44
|
+
/* @__PURE__ */ e("input", { type: "checkbox", className: h, disabled: m, ...x, ref: k }),
|
|
45
|
+
/* @__PURE__ */ e("span", { className: c.checkboxIcon }),
|
|
46
46
|
f(),
|
|
47
|
-
a && /* @__PURE__ */
|
|
47
|
+
a && /* @__PURE__ */ e(C, { size: L[t], tag: "div", children: a })
|
|
48
48
|
] });
|
|
49
49
|
});
|
|
50
50
|
R.displayName = "Checkbox";
|
|
@@ -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, ...
|
|
14
|
-
return /* @__PURE__ */
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { c as i } from "../../chunks/vendor-CuCj7SgU.js";
|
|
3
|
+
const b = "checkboxXGroup__d4050eab", r = "label__7cbcd502", e = {
|
|
4
|
+
checkboxXGroup: b,
|
|
5
|
+
"indent-12": "indent-12__0ab3fb8c",
|
|
6
|
+
label: r,
|
|
7
|
+
"indent-16": "indent-16__da63226b",
|
|
8
|
+
"indent-20": "indent-20__a32f3a8b",
|
|
9
|
+
"indent-24": "indent-24__06f5e321",
|
|
10
|
+
"indent-28": "indent-28__aba370a4",
|
|
11
|
+
"indent-32": "indent-32__e4b6183d"
|
|
12
|
+
}, _ = (n) => {
|
|
13
|
+
const { children: t, className: c, indent: o = 12, ...d } = n, a = i(e.checkboxXGroup, e[`indent-${o}`], c);
|
|
14
|
+
return /* @__PURE__ */ s("div", { className: a, role: "group", ...d, children: t });
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
_.displayName = "CheckboxXGroup";
|
|
17
17
|
export {
|
|
18
|
-
|
|
18
|
+
_ as CheckboxXGroup
|
|
19
19
|
};
|
|
20
20
|
//# sourceMappingURL=CheckboxXGroup.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import { c as t } from "../../chunks/vendor-
|
|
3
|
-
const a = "
|
|
2
|
+
import { c as t } from "../../chunks/vendor-CuCj7SgU.js";
|
|
3
|
+
const a = "checkboxYGroup__35072835", x = {
|
|
4
4
|
checkboxYGroup: a
|
|
5
|
-
},
|
|
6
|
-
const { children: c, className: s, ...
|
|
7
|
-
return /* @__PURE__ */ p("div", { className:
|
|
5
|
+
}, l = (o) => {
|
|
6
|
+
const { children: c, className: s, ...r } = o, e = t(x.checkboxYGroup, s);
|
|
7
|
+
return /* @__PURE__ */ p("div", { className: e, role: "group", ...r, children: c });
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
l.displayName = "CheckboxYGroup";
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
l as CheckboxYGroup
|
|
12
12
|
};
|
|
13
13
|
//# sourceMappingURL=CheckboxYGroup.js.map
|
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { CollapsableTree as
|
|
3
|
-
import { CheckboxTreeExtendedCheckbox as
|
|
4
|
-
import { CheckboxTreeExtendedNode as
|
|
5
|
-
import { CheckboxTreeExtendedContext as
|
|
6
|
-
import { c as
|
|
7
|
-
import { EComponentSize as
|
|
8
|
-
import {
|
|
9
|
-
|
|
2
|
+
import { CollapsableTree as n } from "../CollapsableTree/CollapsableTree.js";
|
|
3
|
+
import { CheckboxTreeExtendedCheckbox as c } from "./components/CheckboxTreeExtendedCheckbox.js";
|
|
4
|
+
import { CheckboxTreeExtendedNode as p } from "./components/CheckboxTreeExtendedNode.js";
|
|
5
|
+
import { CheckboxTreeExtendedContext as s } from "./CheckboxTreeExtendedContext.js";
|
|
6
|
+
import { c as a } from "../../chunks/vendor-CuCj7SgU.js";
|
|
7
|
+
import { EComponentSize as r } from "../../enums/EComponentSize.js";
|
|
8
|
+
import { EScreenWidth as t } from "../../helpers/breakpoints.js";
|
|
9
|
+
import { useMatchMedia as h } from "../MediaWidth/useMatchMedia.js";
|
|
10
|
+
import { s as f } from "../../chunks/CheckboxTreeExtended.module-yaZgGm0h.js";
|
|
11
|
+
const e = ({ className: m, size: d = r.MD, ...i }) => {
|
|
12
|
+
const x = h(
|
|
13
|
+
`(max-width: ${t.SM_MAX})`,
|
|
14
|
+
window.innerWidth <= parseInt(t.SM_MAX)
|
|
15
|
+
);
|
|
16
|
+
return /* @__PURE__ */ o(s.Provider, { value: { size: x ? r.MD : d }, children: /* @__PURE__ */ o(n, { className: a(f.checkboxTreeExtended, m), ...i }) });
|
|
17
|
+
};
|
|
10
18
|
e.displayName = "CheckboxTreeExtended";
|
|
11
|
-
e.Checkbox =
|
|
12
|
-
e.Node =
|
|
19
|
+
e.Checkbox = c;
|
|
20
|
+
e.Node = p;
|
|
13
21
|
export {
|
|
14
22
|
e as CheckboxTreeExtended
|
|
15
23
|
};
|
|
@@ -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-yaZgGm0h.js";
|
|
9
9
|
class x extends h.Component {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as N, useContext as a, useEffect as E } from "react";
|
|
3
3
|
import { Checkbox as T } from "../../Checkbox/Checkbox.js";
|
|
4
|
-
import { c as s } from "../../../chunks/vendor-
|
|
5
|
-
import { s as x } from "../../../chunks/CheckboxTreeExtended.module-
|
|
4
|
+
import { c as s } from "../../../chunks/vendor-CuCj7SgU.js";
|
|
5
|
+
import { s as x } from "../../../chunks/CheckboxTreeExtended.module-yaZgGm0h.js";
|
|
6
6
|
import { CheckboxTreeExtendedContext as F } from "../CheckboxTreeExtendedContext.js";
|
|
7
7
|
const L = ({
|
|
8
8
|
active: m,
|
|
@@ -2,10 +2,10 @@ import { jsx as p, jsxs as i } from "react/jsx-runtime";
|
|
|
2
2
|
import { useContext as x } from "react";
|
|
3
3
|
import { CollapsableTree as l } from "../../CollapsableTree/CollapsableTree.js";
|
|
4
4
|
import { isStaticCheckboxTreeExtended as f } from "../isStaticCheckboxTreeExtended.js";
|
|
5
|
-
import { c as u } from "../../../chunks/vendor-
|
|
5
|
+
import { c as u } from "../../../chunks/vendor-CuCj7SgU.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-yaZgGm0h.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
|
-
import "../../chunks/vendor-
|
|
4
|
-
import { C as e } from "../../chunks/Chip-
|
|
3
|
+
import "../../chunks/vendor-CuCj7SgU.js";
|
|
4
|
+
import { C as e } from "../../chunks/Chip-CtmEt4Cp.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
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
import { CrossStrokeSrvIcon24 as
|
|
2
|
+
import s from "react";
|
|
3
|
+
import { c as a } from "../../chunks/vendor-CuCj7SgU.js";
|
|
4
|
+
import { CrossStrokeSrvIcon24 as c, CrossStrokeSrvIcon20 as i, CrossStrokeSrvIcon16 as l } from "@sberbusiness/icons-next";
|
|
5
5
|
import { EComponentSize as o } from "../../enums/EComponentSize.js";
|
|
6
6
|
import { ButtonIcon as m } from "../Button/ButtonIcon.js";
|
|
7
|
-
const C = "
|
|
7
|
+
const C = "chipClearButton__b60373df", 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(
|
|
13
|
-
}, I =
|
|
14
|
-
({ className: r, size: e = o.MD, ...n },
|
|
12
|
+
[o.LG]: /* @__PURE__ */ t(c, { paletteIndex: 6 })
|
|
13
|
+
}, I = s.forwardRef(
|
|
14
|
+
({ className: r, size: e = o.MD, ...n }, p) => /* @__PURE__ */ t(m, { className: a(S.chipClearButton, r), ...n, ref: p, 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-CtmEt4Cp.js";
|
|
11
11
|
const L = N.forwardRef((S, V) => {
|
|
12
12
|
const {
|
|
13
13
|
value: o,
|
|
@@ -1,34 +1,35 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { C as
|
|
4
|
-
import { ChipDropdownArrow as
|
|
5
|
-
import { ChipClearButton as
|
|
6
|
-
import { DatePickerExtendedContext as
|
|
7
|
-
import { isKey as
|
|
8
|
-
const
|
|
9
|
-
const { children:
|
|
10
|
-
(
|
|
11
|
-
},
|
|
12
|
-
|
|
13
|
-
},
|
|
14
|
-
|
|
2
|
+
import D, { useContext as k } from "react";
|
|
3
|
+
import { C as w } from "../../../chunks/Chip-CtmEt4Cp.js";
|
|
4
|
+
import { ChipDropdownArrow as P } from "../ChipDropdownArrow.js";
|
|
5
|
+
import { ChipClearButton as g } from "../ChipClearButton.js";
|
|
6
|
+
import { DatePickerExtendedContext as E } from "../../DatePickerExtended/DatePickerExtendedContext.js";
|
|
7
|
+
import { isKey as d } from "../../../utils/keyboard.js";
|
|
8
|
+
const T = D.forwardRef((s, c) => {
|
|
9
|
+
const { children: f, selected: a, onKeyDown: r, onClick: t, onClear: l, size: i, ...m } = s, { dropdownOpen: o, setDropdownOpen: p } = k(E), C = (e) => {
|
|
10
|
+
(d(e.code, "ENTER") || d(e.code, "SPACE")) && (e.preventDefault(), p(!o), r == null || r(e));
|
|
11
|
+
}, h = (e) => {
|
|
12
|
+
p(!o), t == null || t(e);
|
|
13
|
+
}, u = () => a ? /* @__PURE__ */ n(g, { size: i, onClick: x }) : /* @__PURE__ */ n(P, { size: i, rotated: o }), x = (e) => {
|
|
14
|
+
e.stopPropagation(), l();
|
|
15
15
|
};
|
|
16
16
|
return /* @__PURE__ */ n(
|
|
17
|
-
|
|
17
|
+
w,
|
|
18
18
|
{
|
|
19
|
-
postfix:
|
|
20
|
-
selected:
|
|
21
|
-
"aria-expanded":
|
|
22
|
-
onKeyDown:
|
|
23
|
-
onClick:
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
19
|
+
postfix: u(),
|
|
20
|
+
selected: a,
|
|
21
|
+
"aria-expanded": o,
|
|
22
|
+
onKeyDown: C,
|
|
23
|
+
onClick: h,
|
|
24
|
+
size: i,
|
|
25
|
+
...m,
|
|
26
|
+
ref: c,
|
|
27
|
+
children: f
|
|
27
28
|
}
|
|
28
29
|
);
|
|
29
30
|
});
|
|
30
|
-
|
|
31
|
+
T.displayName = "ChipDatePickerTarget";
|
|
31
32
|
export {
|
|
32
|
-
|
|
33
|
+
T as ChipDatePickerTarget
|
|
33
34
|
};
|
|
34
35
|
//# sourceMappingURL=ChipDatePickerTarget.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { CaretdownStrokeSrvIcon24 as p, CaretdownStrokeSrvIcon20 as d, CaretdownStrokeSrvIcon16 as a } from "@sberbusiness/icons-next";
|
|
3
|
-
import { c } from "../../chunks/vendor-
|
|
3
|
+
import { c } from "../../chunks/vendor-CuCj7SgU.js";
|
|
4
4
|
import { EComponentSize as r } from "../../enums/EComponentSize.js";
|
|
5
|
-
const w = "
|
|
5
|
+
const w = "chipDropdownArrow__62766ad1", s = "rotated__45798793", t = {
|
|
6
6
|
chipDropdownArrow: w,
|
|
7
7
|
rotated: s
|
|
8
8
|
}, i = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import f from "react";
|
|
3
|
-
import { C as t } from "../../chunks/Chip-
|
|
3
|
+
import { C as t } from "../../chunks/Chip-CtmEt4Cp.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,11 +1,11 @@
|
|
|
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-CtmEt4Cp.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";
|
|
8
|
-
import { c as g } from "../../chunks/vendor-
|
|
8
|
+
import { c as g } from "../../chunks/vendor-CuCj7SgU.js";
|
|
9
9
|
const B = w.forwardRef(
|
|
10
10
|
({ children: c, className: p, clearSelected: m, disabled: s, label: e, displayedValue: d, selected: a, size: r, ...f }, C) => {
|
|
11
11
|
const h = (o) => {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import r from "react";
|
|
3
3
|
import { OptionsStrokeSrvIcon24 as i } from "@sberbusiness/icons-next";
|
|
4
|
-
import { C } from "../../chunks/Chip-
|
|
5
|
-
import { ChipClearButton as
|
|
6
|
-
const
|
|
7
|
-
chipOptionsContent:
|
|
8
|
-
}, l =
|
|
4
|
+
import { C } from "../../chunks/Chip-CtmEt4Cp.js";
|
|
5
|
+
import { ChipClearButton as f } from "./ChipClearButton.js";
|
|
6
|
+
const m = "chipOptionsContent__7a768130", c = {
|
|
7
|
+
chipOptionsContent: m
|
|
8
|
+
}, l = r.forwardRef(
|
|
9
9
|
({ children: o, clearSelected: e, selected: n, ...p }, s) => /* @__PURE__ */ t(
|
|
10
10
|
C,
|
|
11
11
|
{
|
|
12
12
|
prefix: n ? /* @__PURE__ */ t(i, { paletteIndex: 6 }) : /* @__PURE__ */ t(i, { paletteIndex: 5 }),
|
|
13
|
-
postfix: n ? /* @__PURE__ */ t(
|
|
14
|
-
|
|
13
|
+
postfix: n ? /* @__PURE__ */ t(f, { onClick: (a) => {
|
|
14
|
+
a.stopPropagation(), e();
|
|
15
15
|
}, size: p.size }) : /* @__PURE__ */ t("span", {}),
|
|
16
16
|
selected: n,
|
|
17
17
|
...p,
|
|
18
18
|
ref: s,
|
|
19
|
-
children: typeof o < "u" ? /* @__PURE__ */ t("span", { className:
|
|
19
|
+
children: typeof o < "u" ? /* @__PURE__ */ t("span", { className: c.chipOptionsContent, children: o }) : o
|
|
20
20
|
}
|
|
21
21
|
)
|
|
22
22
|
);
|
|
@@ -5,8 +5,8 @@ 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-
|
|
9
|
-
import { c as g } from "../../../chunks/vendor-
|
|
8
|
+
import { s as T } from "../../../chunks/Chip-CtmEt4Cp.js";
|
|
9
|
+
import { c as g } from "../../../chunks/vendor-CuCj7SgU.js";
|
|
10
10
|
const u = S.forwardRef(
|
|
11
11
|
({ className: d, clearSelected: m, disabled: c, size: o, label: i, displayedValue: l, onChange: p, options: s, value: e, ...n }, f) => {
|
|
12
12
|
const a = (r) => /* @__PURE__ */ t(
|