@sberbusiness/triplex-next 1.6.0 → 1.7.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-BCXIqVd5.js → AlertProcessSpoiler-Ce_8Yuvv.js} +9 -9
- package/chunks/{CalendarViewItem-CHiqUGxF.js → CalendarViewItem-BDMvwpK5.js} +17 -17
- package/chunks/Card.module-BvlTqE5R.js +17 -0
- package/chunks/CheckboxTreeExtended.module-DsOQXTb2.js +11 -0
- package/chunks/{Chip-yWyfl_o2.js → Chip-eRAmMCbK.js} +10 -10
- package/chunks/Confirm.module-BQvs_z36.js +15 -0
- package/chunks/DropdownListItem-DjvVx10v.js +57 -0
- package/chunks/DropdownMobile.module-CEPFt9uH.js +21 -0
- package/chunks/Footer.module-CXnDx0Qq.js +9 -0
- package/chunks/{FormFieldInput-BBhoiftf.js → FormFieldInput-Dc0f4nno.js} +15 -15
- package/chunks/HeaderLayoutSidebar.module-CHV51xUH.js +9 -0
- package/chunks/HeaderTabs.module-T3W10WU8.js +9 -0
- package/chunks/{HeaderTitle.module-CBMLSjn-.js → HeaderTitle.module-B6qQsh69.js} +2 -2
- package/chunks/IslandAccordion.module-DoM2x4VR.js +26 -0
- package/chunks/IslandWidgetFooter.module-qNMIN4zr.js +9 -0
- package/chunks/IslandWidgetHeader.module-DUf_HV96.js +9 -0
- package/chunks/{LightBoxContent-BjsBFl6W.js → LightBoxContent--MHZ9Gkl.js} +14 -14
- package/chunks/LightBoxControls.module-C3_q74nl.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-D66ESS7b.js +8 -0
- package/chunks/{ListItemControlsButton-CueYzEGM.js → ListItemControlsButton-CDyUDFUr.js} +9 -9
- package/chunks/ListItemTail.module-DYbacvAR.js +12 -0
- package/chunks/ListMasterFooter.module-ghOvyA19.js +10 -0
- package/chunks/ModalWindow.module-CvIIBPzJ.js +17 -0
- package/chunks/Notification.module-DrKXO_L0.js +21 -0
- package/chunks/Overlay.module-B4exkEG2.js +18 -0
- package/chunks/Page.module-CvSterCP.js +11 -0
- package/chunks/{RightBorderArrow-rROpeCX0.js → RightBorderArrow-B-QGBlRY.js} +14 -14
- package/chunks/SMSInput.module-DkPfMZWv.js +16 -0
- package/chunks/SliderExtendedMarks.module-DZlxonFv.js +15 -0
- package/chunks/{SliderExtendedRail-BmH-0W3L.js → SliderExtendedRail-VV02EHbt.js} +10 -10
- package/chunks/StatusTracker.module-BzVEt7sh.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-Bh4smUeN.js → SuggestFieldMobileDropdownHint-CW9LKnIb.js} +4 -4
- package/chunks/TableFooter.module-DKNnDtzT.js +14 -0
- package/chunks/TabsExtended.module-BQKnCc6i.js +16 -0
- package/chunks/TabsLine.module-Cr-x0ll4.js +23 -0
- package/chunks/TooltipDesktop.module-D3epe_HW.js +19 -0
- package/chunks/{TooltipMobileCloseButton-BUyQFHWX.js → TooltipMobileCloseButton-BCyljTIq.js} +7 -7
- package/chunks/TreeView.module-BXfRfHL4.js +9 -0
- package/chunks/{UploadZoneInput-CjsECm07.js → UploadZoneInput-DNhfVDyP.js} +2 -2
- package/chunks/{utils-D-KMukhm.js → utils-BY1yN3Hq.js} +5 -5
- package/chunks/utils-BtnGErpx.js +20 -0
- package/chunks/utils-CR8DYAi0.js +73 -0
- package/chunks/utils-D9oDaQiI.js +36 -0
- package/chunks/{utils-vwCIbf0H.js → utils-DQX5JZ_3.js} +7 -7
- package/components/Alert/AlertContext/AlertContext.js +8 -8
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +7 -7
- package/components/AmountField/AmountField.js +2 -2
- package/components/Body/Body.js +8 -25
- package/components/Body/index.js +2 -4
- package/components/Button/Button.js +26 -26
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +13 -13
- package/components/Button/ButtonDropdownExtended.js +4 -4
- package/components/Button/ButtonIcon.js +8 -8
- package/components/Calendar/Calendar.js +5 -5
- package/components/Calendar/components/CalendarControls.js +4 -5
- 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 +6 -6
- 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 +11 -11
- package/components/Checkbox/Checkbox.js +14 -14
- package/components/Checkbox/CheckboxXGroup.js +16 -16
- package/components/Checkbox/CheckboxYGroup.js +3 -3
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +1 -1
- package/components/Chip/Chip.js +1 -1
- package/components/Chip/ChipClearButton.js +6 -6
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +91 -0
- package/components/Chip/ChipDatePicker/components/ChipDatePickerTarget.js +34 -0
- package/components/Chip/ChipDropdownArrow.js +1 -1
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +4 -4
- package/components/Chip/ChipSelect.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 +18 -18
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +11 -11
- package/components/Col/Col.js +140 -140
- package/components/CollapsableTree/components/CollapsableTreeNode.js +11 -11
- package/components/Confirm/Confirm.js +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +1 -1
- package/components/Confirm/components/ConfirmContent.js +1 -1
- package/components/Confirm/components/ConfirmContentTitle.js +1 -1
- package/components/Confirm/components/ConfirmControls.js +1 -1
- package/components/DateField/DateField.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +1 -1
- package/components/DateRange/DateRange.js +14 -14
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/DesignTokensComponents.js +36 -31
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +42 -37
- package/components/DesignTokens/components/IslandWidget.js +14 -0
- package/components/DesignTokens/components/index.js +63 -60
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +8 -8
- package/components/Dropdown/desktop/DropdownDesktop.js +12 -12
- package/components/Dropdown/desktop/DropdownList.js +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 +1 -1
- 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 +2 -2
- package/components/Ellipsis/Ellipsis.js +11 -11
- package/components/ExpandAnimation/ExpandAnimation.js +6 -6
- 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 +23 -23
- package/components/FormField/components/FormFieldClear.js +8 -8
- package/components/FormField/components/FormFieldCounter.js +3 -3
- package/components/FormField/components/FormFieldDescription.js +1 -1
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +9 -9
- package/components/FormField/components/FormFieldMaskedInput.js +22 -22
- package/components/FormField/components/FormFieldPostfix.js +4 -4
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +17 -17
- package/components/FormField/components/FormFieldTextarea.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 +1 -1
- 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 +31 -31
- package/components/HelpBox/index.js +5 -0
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +1 -1
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +2 -2
- package/components/IslandWidget/IslandWidget.js +51 -0
- package/components/IslandWidget/IslandWidgetContext.js +10 -0
- package/components/IslandWidget/components/IslandWidgetBody.js +7 -0
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +23 -0
- package/components/IslandWidget/components/IslandWidgetFooter.js +13 -0
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +11 -0
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +11 -0
- package/components/IslandWidget/components/IslandWidgetHeader.js +13 -0
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +13 -0
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +13 -0
- package/components/IslandWidget/components/IslandWidgetWrapper.js +17 -0
- package/components/IslandWidget/components/index.js +15 -0
- package/components/IslandWidget/index.js +17 -0
- package/components/LightBox/LightBox.js +14 -13
- 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 +63 -66
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/enums.js +5 -0
- package/components/LightBox/LightBoxSideOverlay/index.js +7 -0
- package/components/LightBox/index.js +7 -3
- package/components/Link/Link.js +10 -10
- package/components/List/List.js +2 -2
- package/components/List/components/ListEmptyState.js +1 -1
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +6 -6
- package/components/List/components/ListItemControls.js +1 -1
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +3 -3
- 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 +5 -5
- package/components/List/components/ListSortableItemControls.js +1 -1
- package/components/List/components/ListSortableItemTarget.js +4 -4
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +1 -1
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +1 -1
- package/components/ListMaster/components/SelectionControls.js +5 -5
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +11 -11
- package/components/Loader/LoaderSmall/LoaderSmall.js +11 -11
- package/components/LoaderScreen/LoaderScreen.js +1 -1
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +14 -14
- package/components/ModalWindow/ModalWindow.js +37 -36
- package/components/ModalWindow/components/ModalWindowBody.js +10 -10
- package/components/ModalWindow/components/ModalWindowClose.js +4 -4
- package/components/ModalWindow/components/ModalWindowContent.js +15 -9
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +7 -7
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +3 -3
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyContent.js +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 +4 -4
- package/components/OrderedList/OrderedListItem.js +8 -8
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayMask.js +1 -1
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +22 -8
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Page/components/enums.js +5 -3
- package/components/Page/index.js +7 -5
- 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 +1 -1
- package/components/Pagination/components/PaginationPageEllipsis.js +1 -1
- package/components/Pagination/components/PaginationSelect.js +6 -6
- package/components/Radio/Radio.js +12 -12
- package/components/Radio/RadioXGroup.js +12 -12
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +9 -9
- package/components/SMSInput/SMSInput.js +2 -2
- package/components/SMSInput/components/RefreshIcon.js +1 -1
- package/components/SMSInput/components/SMSInputInput.js +2 -2
- package/components/SMSInput/components/SMSInputRefresh.js +1 -1
- package/components/SMSInput/components/SMSInputSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +5 -5
- package/components/SegmentedControl/SegmentedControlSegment.js +5 -5
- package/components/SelectExtendedField/SelectExtendedField.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +15 -15
- package/components/Skeleton/Skeleton.js +10 -10
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +1 -1
- package/components/SliderExtended/components/SliderExtendedRail.js +1 -1
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +9 -9
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +19 -19
- package/components/SmallInput/SmallInput.js +4 -4
- package/components/Spoiler/Spoiler.js +13 -13
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +1 -1
- package/components/StatusTracker/components/StatusTrackerDescription.js +1 -1
- package/components/StatusTracker/components/StatusTrackerFooter.js +1 -1
- package/components/StatusTracker/components/StatusTrackerHeader.js +1 -1
- package/components/StatusTracker/components/StatusTrackerMedia.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatus.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +6 -6
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +1 -1
- package/components/Stepper/StepperExtended.js +5 -5
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperWrapper.js +4 -4
- package/components/Suggest/SuggestMobileDropdownContent.js +8 -8
- package/components/SuggestField/SuggestField.js +1 -1
- package/components/SuggestField/SuggestFieldTarget.js +1 -1
- package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +14 -14
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +2 -2
- package/components/Table/FilterPanel.js +6 -6
- package/components/Table/MasterTable.js +2 -2
- 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 +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +4 -4
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +5 -5
- package/components/Table/TabsLinePanelLinks.js +1 -1
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +21 -21
- 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 +9 -9
- package/components/Tag/Tag.js +12 -12
- package/components/TagGroup/TagGroup.js +13 -13
- 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 +1 -1
- package/components/Tooltip/components/mobile/components/TooltipMobileCloseButton.js +1 -1
- package/components/Tooltip/components/mobile/components/TooltipMobileHeader.js +1 -1
- package/components/TopOverlay/TopOverlay.js +22 -22
- 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 +6 -6
- package/components/Typography/Text.js +13 -13
- package/components/Typography/Title.js +17 -17
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +5 -5
- package/components/UnorderedList/UnorderedListItem.js +6 -6
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +559 -528
- package/index.d.ts +266 -21
- package/index.js +410 -363
- package/package.json +9 -1
- package/styles/triplex-next.css +529 -527
- package/utils/index.js +30 -0
- package/chunks/Card.module-CmXEvD5r.js +0 -17
- package/chunks/CheckboxTreeExtended.module-D-2ZUrcy.js +0 -11
- package/chunks/Confirm.module-Ds4ZMYVB.js +0 -15
- package/chunks/DropdownListItem-DgEkMGvB.js +0 -57
- package/chunks/DropdownMobile.module-thvNKX4t.js +0 -21
- package/chunks/Footer.module-DZhiuTzP.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-DaB6pHPF.js +0 -9
- package/chunks/HeaderTabs.module-DK3rR1yV.js +0 -9
- package/chunks/IslandAccordion.module-D9LSijXT.js +0 -26
- package/chunks/LightBoxControls.module-BHw6I5-d.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-VE4NCDr0.js +0 -8
- package/chunks/ListItemTail.module-Bw2cyg-n.js +0 -12
- package/chunks/ListMasterFooter.module-BfD7OQFa.js +0 -10
- package/chunks/ModalWindow.module-Nps-2rvx.js +0 -17
- package/chunks/Notification.module-DZZnmvDX.js +0 -21
- package/chunks/Overlay.module-BGfiVeol.js +0 -18
- package/chunks/Page.module-CV4uy77C.js +0 -12
- package/chunks/SMSInput.module-Br6FTDVD.js +0 -16
- package/chunks/SliderExtendedMarks.module-Bubs2UAN.js +0 -15
- package/chunks/StatusTracker.module-BVzGbfDD.js +0 -24
- package/chunks/TableFooter.module-hx13-EO6.js +0 -14
- package/chunks/TabsExtended.module-CNjCgifz.js +0 -16
- package/chunks/TabsLine.module-_Jn8K0jv.js +0 -23
- package/chunks/TooltipDesktop.module-Cx6fDiek.js +0 -19
- package/chunks/TreeView.module-oeG4_2Ve.js +0 -9
- package/chunks/utils-C1Q-0uVF.js +0 -36
- package/chunks/utils-C8A7RzC0.js +0 -20
- package/chunks/utils-Cb3psf0n.js +0 -73
- package/components/Body/enums.js +0 -5
|
@@ -1,33 +1,33 @@
|
|
|
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
|
|
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-D3hUOusX.js";
|
|
4
|
-
import { scrollSmoothHorizontally as
|
|
5
|
-
const R = "
|
|
4
|
+
import { scrollSmoothHorizontally as c } from "../../utils/scroll.js";
|
|
5
|
+
const R = "carouselExtended__4f2e2f2d", k = {
|
|
6
6
|
carouselExtended: R
|
|
7
7
|
}, y = C.forwardRef(
|
|
8
|
-
({ children: l, buttonPrev:
|
|
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 = () => {
|
|
23
|
-
|
|
23
|
+
c(r.current, Math.floor(-u));
|
|
24
24
|
}, v = () => {
|
|
25
|
-
|
|
25
|
+
c(r.current, Math.ceil(f));
|
|
26
26
|
}, E = (e) => {
|
|
27
27
|
r.current = e, typeof s == "function" ? s(e) : s && (s.current = e);
|
|
28
28
|
};
|
|
29
29
|
return /* @__PURE__ */ p("div", { ...h, children: [
|
|
30
|
-
|
|
30
|
+
a({
|
|
31
31
|
disabled: o.prevDisabled,
|
|
32
32
|
hidden: o.hidden,
|
|
33
33
|
onClick: 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 z, CheckboxtickStrokeSrvIcon24 as C } from "@sberbusiness/icons-next";
|
|
4
4
|
import "../Typography/Title.js";
|
|
@@ -8,7 +8,7 @@ import { ETextSize as l } from "../Typography/enums.js";
|
|
|
8
8
|
import { EComponentSize as t } from "../../enums/EComponentSize.js";
|
|
9
9
|
import { createSizeToClassNameMap as u } from "../../utils/classNameMaps.js";
|
|
10
10
|
import { c as r } from "../../chunks/vendor-D3hUOusX.js";
|
|
11
|
-
const y = "
|
|
11
|
+
const y = "label__88c4ddf3", T = "md__5c99e209", M = "nonempty__3058818d", g = "lg__d010dfad", j = "disabled__c30d8306", v = "checkbox__2b3cc305", B = "checkboxIcon__12ace6a0", D = "checkmarkIcon__228c92f3", c = {
|
|
12
12
|
label: y,
|
|
13
13
|
md: T,
|
|
14
14
|
nonempty: M,
|
|
@@ -20,29 +20,29 @@ const y = "label__41f259dd", T = "md__c990c0f0", M = "nonempty__4c40f7ed", g = "
|
|
|
20
20
|
}, E = {
|
|
21
21
|
[t.LG]: l.B2,
|
|
22
22
|
[t.MD]: l.B3
|
|
23
|
-
},
|
|
23
|
+
}, d = u(c), L = N.forwardRef((i, k) => {
|
|
24
24
|
const {
|
|
25
25
|
children: s,
|
|
26
|
-
className:
|
|
26
|
+
className: b,
|
|
27
27
|
disabled: n,
|
|
28
28
|
bulk: p,
|
|
29
29
|
labelAttributes: o,
|
|
30
30
|
size: a = t.MD,
|
|
31
31
|
...x
|
|
32
|
-
} =
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
{ [
|
|
32
|
+
} = i, h = r(c.checkbox, b, d[a]), _ = r(
|
|
33
|
+
c.label,
|
|
34
|
+
d[a],
|
|
35
|
+
{ [c.disabled]: !!n, [c.nonempty]: !!s },
|
|
36
36
|
o == null ? void 0 : o.className
|
|
37
37
|
), f = () => {
|
|
38
|
-
const m =
|
|
39
|
-
return p ? /* @__PURE__ */
|
|
38
|
+
const m = c.checkmarkIcon;
|
|
39
|
+
return p ? /* @__PURE__ */ e(z, { className: m, paletteIndex: 7 }) : /* @__PURE__ */ e(C, { className: m, paletteIndex: 7 });
|
|
40
40
|
};
|
|
41
|
-
return /* @__PURE__ */ I("label", { ...o, className: _, "data-tx": "1.
|
|
42
|
-
/* @__PURE__ */
|
|
43
|
-
/* @__PURE__ */
|
|
41
|
+
return /* @__PURE__ */ I("label", { ...o, className: _, "data-tx": "1.7.0", children: [
|
|
42
|
+
/* @__PURE__ */ e("input", { type: "checkbox", className: h, disabled: n, ...x, ref: k }),
|
|
43
|
+
/* @__PURE__ */ e("span", { className: c.checkboxIcon }),
|
|
44
44
|
f(),
|
|
45
|
-
s && /* @__PURE__ */
|
|
45
|
+
s && /* @__PURE__ */ e(S, { size: E[a], children: s })
|
|
46
46
|
] });
|
|
47
47
|
});
|
|
48
48
|
L.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: c, className: t, indent: o = 12, ...d } =
|
|
14
|
-
return /* @__PURE__ */
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { c as r } from "../../chunks/vendor-D3hUOusX.js";
|
|
3
|
+
const _ = "checkboxXGroup__081c4f8e", a = "label__88c4ddf3", e = {
|
|
4
|
+
checkboxXGroup: _,
|
|
5
|
+
"indent-12": "indent-12__2ce34b69",
|
|
6
|
+
label: a,
|
|
7
|
+
"indent-16": "indent-16__eafba112",
|
|
8
|
+
"indent-20": "indent-20__808be847",
|
|
9
|
+
"indent-24": "indent-24__ce440d62",
|
|
10
|
+
"indent-28": "indent-28__929e2222",
|
|
11
|
+
"indent-32": "indent-32__181eebb4"
|
|
12
|
+
}, b = (n) => {
|
|
13
|
+
const { children: c, className: t, indent: o = 12, ...d } = n, s = r(e.checkboxXGroup, e[`indent-${o}`], t);
|
|
14
|
+
return /* @__PURE__ */ i("div", { className: s, role: "group", ...d, children: c });
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
b.displayName = "CheckboxXGroup";
|
|
17
17
|
export {
|
|
18
|
-
|
|
18
|
+
b as CheckboxXGroup
|
|
19
19
|
};
|
|
20
20
|
//# sourceMappingURL=CheckboxXGroup.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import { c as t } from "../../chunks/vendor-D3hUOusX.js";
|
|
3
|
-
const a = "
|
|
3
|
+
const a = "checkboxYGroup__cdf024c5", x = {
|
|
4
4
|
checkboxYGroup: a
|
|
5
5
|
}, l = (o) => {
|
|
6
|
-
const { children: c, className: s, ...
|
|
7
|
-
return /* @__PURE__ */ p("div", { className:
|
|
6
|
+
const { children: c, className: s, ...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 {
|
|
@@ -3,7 +3,7 @@ import { CollapsableTree as m } from "../CollapsableTree/CollapsableTree.js";
|
|
|
3
3
|
import { CheckboxTreeExtendedCheckbox as t } from "./components/CheckboxTreeExtendedCheckbox.js";
|
|
4
4
|
import { CheckboxTreeExtendedNode as d } from "./components/CheckboxTreeExtendedNode.js";
|
|
5
5
|
import { c } from "../../chunks/vendor-D3hUOusX.js";
|
|
6
|
-
import { s } from "../../chunks/CheckboxTreeExtended.module-
|
|
6
|
+
import { s } from "../../chunks/CheckboxTreeExtended.module-DsOQXTb2.js";
|
|
7
7
|
const e = ({ className: o, ...r }) => /* @__PURE__ */ x(m, { className: c(s.checkboxTreeExtended, o), ...r });
|
|
8
8
|
e.displayName = "CheckboxTreeExtended";
|
|
9
9
|
e.Checkbox = t;
|
|
@@ -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-DsOQXTb2.js";
|
|
9
9
|
class x extends h.Component {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments);
|
|
@@ -5,7 +5,7 @@ import { jsx as b } from "react/jsx-runtime";
|
|
|
5
5
|
import d from "react";
|
|
6
6
|
import { Checkbox as m } from "../../Checkbox/Checkbox.js";
|
|
7
7
|
import { c as p } from "../../../chunks/vendor-D3hUOusX.js";
|
|
8
|
-
import { s as a } from "../../../chunks/CheckboxTreeExtended.module-
|
|
8
|
+
import { s as a } from "../../../chunks/CheckboxTreeExtended.module-DsOQXTb2.js";
|
|
9
9
|
class v extends d.Component {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments);
|
|
@@ -7,7 +7,7 @@ import { CollapsableTree as m } from "../../CollapsableTree/CollapsableTree.js";
|
|
|
7
7
|
import { isStaticCheckboxTreeExtended as x } from "../isStaticCheckboxTreeExtended.js";
|
|
8
8
|
import { c as u } from "../../../chunks/vendor-D3hUOusX.js";
|
|
9
9
|
import "./CheckboxTreeExtendedArrow.js";
|
|
10
|
-
import { s as n } from "../../../chunks/CheckboxTreeExtended.module-
|
|
10
|
+
import { s as n } from "../../../chunks/CheckboxTreeExtended.module-DsOQXTb2.js";
|
|
11
11
|
class D extends h.Component {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(...arguments);
|
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-D3hUOusX.js";
|
|
4
|
-
import { C as e } from "../../chunks/Chip-
|
|
4
|
+
import { C as e } from "../../chunks/Chip-eRAmMCbK.js";
|
|
5
5
|
import "../../enums/EComponentSize.js";
|
|
6
6
|
import "../../utils/classNameMaps.js";
|
|
7
7
|
import "../../utils/keyboard.js";
|
|
@@ -4,17 +4,17 @@ import { c as p } from "../../chunks/vendor-D3hUOusX.js";
|
|
|
4
4
|
import { CrossStrokeSrvIcon24 as c, CrossStrokeSrvIcon20 as i, CrossStrokeSrvIcon16 as l } from "@sberbusiness/icons-next";
|
|
5
5
|
import { EComponentSize as t } from "../../enums/EComponentSize.js";
|
|
6
6
|
import { ButtonIcon as m } from "../Button/ButtonIcon.js";
|
|
7
|
-
const C = "
|
|
7
|
+
const C = "chipClearButton__31b020ba", f = {
|
|
8
8
|
chipClearButton: C
|
|
9
|
-
},
|
|
9
|
+
}, u = {
|
|
10
10
|
[t.SM]: /* @__PURE__ */ o(l, { paletteIndex: 6 }),
|
|
11
11
|
[t.MD]: /* @__PURE__ */ o(i, { paletteIndex: 6 }),
|
|
12
12
|
[t.LG]: /* @__PURE__ */ o(c, { paletteIndex: 6 })
|
|
13
|
-
},
|
|
14
|
-
({ className: r, size: e = t.MD, ...n }, s) => /* @__PURE__ */ o(m, { className: p(
|
|
13
|
+
}, I = a.forwardRef(
|
|
14
|
+
({ className: r, size: e = t.MD, ...n }, s) => /* @__PURE__ */ o(m, { className: p(f.chipClearButton, r), ...n, ref: s, children: u[e] })
|
|
15
15
|
);
|
|
16
|
-
|
|
16
|
+
I.displayName = "ChipClearButton";
|
|
17
17
|
export {
|
|
18
|
-
|
|
18
|
+
I as ChipClearButton
|
|
19
19
|
};
|
|
20
20
|
//# sourceMappingURL=ChipClearButton.js.map
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import N, { useState as O, useRef as h, useEffect as _ } from "react";
|
|
3
|
+
import { k } from "../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
import { dateFormatYYYYMMDD as j, globalLimitRange as z } from "../../../consts/DateConst.js";
|
|
5
|
+
import { DateFieldUtils as u } from "../../DateField/utils.js";
|
|
6
|
+
import { DatePickerExtended as B } from "../../DatePickerExtended/DatePickerExtended.js";
|
|
7
|
+
import { ChipDatePickerTarget as G } from "./components/ChipDatePickerTarget.js";
|
|
8
|
+
import { inputDateFormat as D } from "../../DateField/constants.js";
|
|
9
|
+
import { DropdownMobileMaskedInput as C } from "../../Dropdown/mobile/DropdownMobileMaskedInput.js";
|
|
10
|
+
import { s as H } from "../../../chunks/Chip-eRAmMCbK.js";
|
|
11
|
+
const L = N.forwardRef((S, V) => {
|
|
12
|
+
const {
|
|
13
|
+
value: o,
|
|
14
|
+
label: P,
|
|
15
|
+
placeholderMask: w,
|
|
16
|
+
format: n = j,
|
|
17
|
+
limitRange: a = z,
|
|
18
|
+
disabledDays: i,
|
|
19
|
+
disabled: R,
|
|
20
|
+
displayedValue: b,
|
|
21
|
+
onChange: s,
|
|
22
|
+
onDropdownOpen: c,
|
|
23
|
+
onDropdownClose: p,
|
|
24
|
+
size: v,
|
|
25
|
+
...y
|
|
26
|
+
} = S, [r, d] = O(
|
|
27
|
+
u.getPickerValues(o, n, a, i)
|
|
28
|
+
), l = h(r), f = h(!1), g = h(!1);
|
|
29
|
+
_(() => {
|
|
30
|
+
const e = u.getPickerValues(o, n, a, i);
|
|
31
|
+
l.current = e, e.inputString !== r.inputString && d(e);
|
|
32
|
+
}, [o, n, a, i]);
|
|
33
|
+
const F = () => {
|
|
34
|
+
const e = f.current ? l.current : r, t = e.calendarDate !== null;
|
|
35
|
+
return /* @__PURE__ */ m(G, { selected: t, disabled: R, onClear: M, size: v, children: t ? b ?? e.inputString : P });
|
|
36
|
+
}, M = () => {
|
|
37
|
+
s("");
|
|
38
|
+
}, I = () => {
|
|
39
|
+
f.current = !0, c == null || c();
|
|
40
|
+
}, Y = () => {
|
|
41
|
+
f.current = !1, g.current ? g.current = !1 : r.inputString !== l.current.inputString && A(), p == null || p();
|
|
42
|
+
}, x = () => /* @__PURE__ */ m(
|
|
43
|
+
C,
|
|
44
|
+
{
|
|
45
|
+
value: r.inputString,
|
|
46
|
+
mask: C.presets.masks.date,
|
|
47
|
+
placeholderMask: w,
|
|
48
|
+
onChange: T,
|
|
49
|
+
autoFocus: !0
|
|
50
|
+
}
|
|
51
|
+
), T = (e) => {
|
|
52
|
+
let t = null;
|
|
53
|
+
e.target.value.length === D.length && (t = k(e.target.value, D, !0), (!t.isValid() || !u.isAvailableDate(t, t.format(n), a, i)) && (t = null)), d({ calendarDate: t, inputString: e.target.value });
|
|
54
|
+
}, A = () => {
|
|
55
|
+
if (r.inputString.length === 0 && o.length !== 0)
|
|
56
|
+
return s(r.inputString);
|
|
57
|
+
const e = k(r.inputString, D, !0);
|
|
58
|
+
if (e.isValid()) {
|
|
59
|
+
const t = e.format(n);
|
|
60
|
+
if (t === o)
|
|
61
|
+
return;
|
|
62
|
+
if (u.isAvailableDate(e, t, a, i))
|
|
63
|
+
return s(t);
|
|
64
|
+
}
|
|
65
|
+
r.inputString !== l.current.inputString && d(l.current);
|
|
66
|
+
}, E = (e) => {
|
|
67
|
+
g.current = !0, s(e.format(n));
|
|
68
|
+
};
|
|
69
|
+
return /* @__PURE__ */ m(
|
|
70
|
+
B,
|
|
71
|
+
{
|
|
72
|
+
className: H.chipGroupItem,
|
|
73
|
+
renderTarget: F,
|
|
74
|
+
pickedDate: r.calendarDate,
|
|
75
|
+
renderDropdownHeaderTarget: x,
|
|
76
|
+
format: n,
|
|
77
|
+
limitRange: a,
|
|
78
|
+
onDropdownOpen: I,
|
|
79
|
+
onDropdownClose: Y,
|
|
80
|
+
onDateChange: E,
|
|
81
|
+
disabledDays: i,
|
|
82
|
+
...y,
|
|
83
|
+
ref: V
|
|
84
|
+
}
|
|
85
|
+
);
|
|
86
|
+
});
|
|
87
|
+
L.displayName = "ChipDatePicker";
|
|
88
|
+
export {
|
|
89
|
+
L as ChipDatePicker
|
|
90
|
+
};
|
|
91
|
+
//# sourceMappingURL=ChipDatePicker.js.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import x, { useContext as D } from "react";
|
|
3
|
+
import { C as k } from "../../../../chunks/Chip-eRAmMCbK.js";
|
|
4
|
+
import { ChipDropdownArrow as w } from "../../ChipDropdownArrow.js";
|
|
5
|
+
import { ChipClearButton as P } from "../../ChipClearButton.js";
|
|
6
|
+
import { DatePickerExtendedContext as g } from "../../../DatePickerExtended/DatePickerExtendedContext.js";
|
|
7
|
+
import { isKey as p } from "../../../../utils/keyboard.js";
|
|
8
|
+
const E = x.forwardRef((d, s) => {
|
|
9
|
+
const { children: c, selected: i, onKeyDown: e, onClick: t, onClear: f, ...l } = d, { dropdownOpen: r, setDropdownOpen: a } = D(g), m = (o) => {
|
|
10
|
+
(p(o.code, "ENTER") || p(o.code, "SPACE")) && (o.preventDefault(), a(!r), e == null || e(o));
|
|
11
|
+
}, C = (o) => {
|
|
12
|
+
a(!r), t == null || t(o);
|
|
13
|
+
}, h = () => i ? /* @__PURE__ */ n(P, { onClick: u }) : /* @__PURE__ */ n(w, { rotated: r }), u = (o) => {
|
|
14
|
+
o.stopPropagation(), f();
|
|
15
|
+
};
|
|
16
|
+
return /* @__PURE__ */ n(
|
|
17
|
+
k,
|
|
18
|
+
{
|
|
19
|
+
postfix: h(),
|
|
20
|
+
selected: i,
|
|
21
|
+
"aria-expanded": r,
|
|
22
|
+
onKeyDown: m,
|
|
23
|
+
onClick: C,
|
|
24
|
+
...l,
|
|
25
|
+
ref: s,
|
|
26
|
+
children: c
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
});
|
|
30
|
+
E.displayName = "ChipDatePickerTarget";
|
|
31
|
+
export {
|
|
32
|
+
E as ChipDatePickerTarget
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=ChipDatePickerTarget.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { CaretdownStrokeSrvIcon20 as p } from "@sberbusiness/icons-next";
|
|
3
3
|
import { c as d } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
|
-
const e = "
|
|
4
|
+
const e = "chipDropdownArrow__e16d1d56", n = "rotated__a0377380", o = {
|
|
5
5
|
chipDropdownArrow: e,
|
|
6
6
|
rotated: n
|
|
7
7
|
}, w = ({ rotated: r }) => /* @__PURE__ */ t(
|
|
@@ -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-eRAmMCbK.js";
|
|
4
4
|
const a = f.forwardRef(({ children: p, ...r }, i) => /* @__PURE__ */ o(t, { ...r, prefix: p, postfix: /* @__PURE__ */ o("span", {}), ref: i }));
|
|
5
5
|
a.displayName = "ChipIcon";
|
|
6
6
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import u from "react";
|
|
3
3
|
import { MultiselectField as w } from "../MultiselectField/MultiselectField.js";
|
|
4
|
-
import { s as x, C as y } from "../../chunks/Chip-
|
|
4
|
+
import { s as x, C as y } from "../../chunks/Chip-eRAmMCbK.js";
|
|
5
5
|
import { ChipClearButton as D } from "./ChipClearButton.js";
|
|
6
6
|
import { ChipDropdownArrow as K } from "./ChipDropdownArrow.js";
|
|
7
7
|
import { isKey as m } from "../../utils/keyboard.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import r from "react";
|
|
3
3
|
import { OptionsStrokeSrvIcon24 as i } from "@sberbusiness/icons-next";
|
|
4
|
-
import { C } from "../../chunks/Chip-
|
|
4
|
+
import { C } from "../../chunks/Chip-eRAmMCbK.js";
|
|
5
5
|
import { ChipClearButton as f } from "./ChipClearButton.js";
|
|
6
|
-
const
|
|
7
|
-
chipOptionsContent:
|
|
6
|
+
const m = "chipOptionsContent__a84850a7", c = {
|
|
7
|
+
chipOptionsContent: m
|
|
8
8
|
}, l = r.forwardRef(
|
|
9
9
|
({ children: o, clearSelected: e, selected: n, ...p }, a) => /* @__PURE__ */ t(
|
|
10
10
|
C,
|
|
@@ -16,7 +16,7 @@ const c = "chipOptionsContent__a4daf59c", m = {
|
|
|
16
16
|
selected: n,
|
|
17
17
|
...p,
|
|
18
18
|
ref: a,
|
|
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
|
);
|
|
@@ -4,7 +4,7 @@ import { SelectExtendedField as D } from "../SelectExtendedField/SelectExtendedF
|
|
|
4
4
|
import "../SelectExtendedField/components/SelectExtendedFieldDropdown.js";
|
|
5
5
|
import "../SelectExtendedField/components/SelectExtendedFieldTarget.js";
|
|
6
6
|
import { ChipClearButton as S } from "./ChipClearButton.js";
|
|
7
|
-
import { s as b, C as k } from "../../chunks/Chip-
|
|
7
|
+
import { s as b, C as k } from "../../chunks/Chip-eRAmMCbK.js";
|
|
8
8
|
import { ChipDropdownArrow as u } from "./ChipDropdownArrow.js";
|
|
9
9
|
import { SelectExtendedFieldDropdownDefault as B } from "../SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js";
|
|
10
10
|
import { c as g } from "../../chunks/vendor-D3hUOusX.js";
|
|
@@ -7,7 +7,7 @@ import { SelectExtendedField as E } from "../SelectExtendedField/SelectExtendedF
|
|
|
7
7
|
import "../SelectExtendedField/components/SelectExtendedFieldDropdown.js";
|
|
8
8
|
import "../SelectExtendedField/components/SelectExtendedFieldTarget.js";
|
|
9
9
|
import { SelectExtendedFieldDropdownDefault as w } from "../SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js";
|
|
10
|
-
import { s as D } from "../../chunks/Chip-
|
|
10
|
+
import { s as D } from "../../chunks/Chip-eRAmMCbK.js";
|
|
11
11
|
const N = b.forwardRef(
|
|
12
12
|
({ className: m, defaultValue: d, disabled: p, label: s, onChange: c, options: n, value: r, size: t, ...f }, x) => {
|
|
13
13
|
const i = !!r && !u.isEqual(d, r), h = ({ opened: e, setOpened: I }) => /* @__PURE__ */ o(
|
|
@@ -5,7 +5,7 @@ import { c as x } from "../../../chunks/vendor-D3hUOusX.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-eRAmMCbK.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 { Dropdown as O } from "../../Dropdown/Dropdown.js";
|
|
|
6
6
|
import "../../Dropdown/DropdownListContext.js";
|
|
7
7
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
8
8
|
import { DropdownList as _ } from "../../Dropdown/desktop/DropdownList.js";
|
|
9
|
-
import { D as x } from "../../../chunks/DropdownListItem-
|
|
9
|
+
import { D as x } from "../../../chunks/DropdownListItem-DjvVx10v.js";
|
|
10
10
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
11
11
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
12
12
|
import "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -2,7 +2,7 @@ import { jsx as f } from "react/jsx-runtime";
|
|
|
2
2
|
import x, { useCallback as a } from "react";
|
|
3
3
|
import { useSuggestContext as T } from "../../Suggest/SuggestContext.js";
|
|
4
4
|
import "../../Suggest/Suggest.js";
|
|
5
|
-
import { C as B } from "../../../chunks/Chip-
|
|
5
|
+
import { C as B } from "../../../chunks/Chip-eRAmMCbK.js";
|
|
6
6
|
import { ChipClearButton as E } from "../ChipClearButton.js";
|
|
7
7
|
import { ChipDropdownArrow as P } from "../ChipDropdownArrow.js";
|
|
8
8
|
import { isKey as e } from "../../../utils/keyboard.js";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { jsxs as i, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useState as z, useRef as T, useCallback as o } from "react";
|
|
3
|
-
import { useSuggestContext as
|
|
4
|
-
import { FormField as
|
|
3
|
+
import { useSuggestContext as b } from "../../../Suggest/SuggestContext.js";
|
|
4
|
+
import { FormField as k } from "../../../FormField/FormField.js";
|
|
5
5
|
import "../../../FormField/components/FormFieldDescription.js";
|
|
6
6
|
import "../../../FormField/components/FormFieldCounter.js";
|
|
7
|
-
import { FormFieldLabel as
|
|
8
|
-
import { FormFieldClear as
|
|
7
|
+
import { FormFieldLabel as B } from "../../../FormField/components/FormFieldLabel.js";
|
|
8
|
+
import { FormFieldClear as D } from "../../../FormField/components/FormFieldClear.js";
|
|
9
9
|
import "../../../FormField/components/FormFieldTarget.js";
|
|
10
|
-
import { F as
|
|
10
|
+
import { F as L } from "../../../../chunks/FormFieldInput-Dc0f4nno.js";
|
|
11
11
|
import "../../../FormField/components/FormFieldMaskedInput.js";
|
|
12
|
-
import { FormFieldPostfix as
|
|
12
|
+
import { FormFieldPostfix as M } from "../../../FormField/components/FormFieldPostfix.js";
|
|
13
13
|
import "../../../FormField/components/FormFieldPrefix.js";
|
|
14
14
|
import "../../../FormField/components/FormFieldTextarea.js";
|
|
15
15
|
import { EComponentSize as a } from "../../../../enums/EComponentSize.js";
|
|
16
16
|
import { Tooltip as n } from "../../../Tooltip/Tooltip.js";
|
|
17
|
-
import { ETooltipSize as
|
|
18
|
-
import { LoaderSmall as
|
|
19
|
-
import { ELoaderSmallTheme as
|
|
17
|
+
import { ETooltipSize as O } from "../../../Tooltip/enums.js";
|
|
18
|
+
import { LoaderSmall as R } from "../../../Loader/LoaderSmall/LoaderSmall.js";
|
|
19
|
+
import { ELoaderSmallTheme as W } from "../../../Loader/LoaderSmall/enum.js";
|
|
20
20
|
import "../../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
21
|
-
const E = "
|
|
21
|
+
const E = "chipSuggestInputWrapper__a8bf4034", j = {
|
|
22
22
|
chipSuggestInputWrapper: E
|
|
23
23
|
}, oe = ({ children: m }) => {
|
|
24
24
|
const {
|
|
@@ -31,7 +31,7 @@ const E = "chipSuggestInputWrapper__281f0191", j = {
|
|
|
31
31
|
tooltipOpen: h,
|
|
32
32
|
clearInputOnFocus: p,
|
|
33
33
|
onFilter: e
|
|
34
|
-
} =
|
|
34
|
+
} = b(), [F, l] = z(!1), s = T(null), S = o(() => e(""), [e]), I = o(
|
|
35
35
|
(v) => {
|
|
36
36
|
e(v.target.value);
|
|
37
37
|
},
|
|
@@ -39,12 +39,12 @@ const E = "chipSuggestInputWrapper__281f0191", j = {
|
|
|
39
39
|
), C = o(() => {
|
|
40
40
|
l(!0), r.length !== 0 && p === !0 && e("");
|
|
41
41
|
}, [r.length, p, e]), x = o(() => l(!1), []);
|
|
42
|
-
return /* @__PURE__ */ i(
|
|
43
|
-
/* @__PURE__ */ t(
|
|
42
|
+
return /* @__PURE__ */ i(k, { className: j.chipSuggestInputWrapper, size: a.SM, children: [
|
|
43
|
+
/* @__PURE__ */ t(B, { children: m }),
|
|
44
44
|
/* @__PURE__ */ i(
|
|
45
45
|
n,
|
|
46
46
|
{
|
|
47
|
-
size:
|
|
47
|
+
size: O.SM,
|
|
48
48
|
isOpen: !!h && F,
|
|
49
49
|
toggle: () => {
|
|
50
50
|
},
|
|
@@ -53,7 +53,7 @@ const E = "chipSuggestInputWrapper__281f0191", j = {
|
|
|
53
53
|
children: [
|
|
54
54
|
/* @__PURE__ */ t(n.Body, { children: c }),
|
|
55
55
|
/* @__PURE__ */ t(n.Target, { children: /* @__PURE__ */ t(
|
|
56
|
-
|
|
56
|
+
L,
|
|
57
57
|
{
|
|
58
58
|
value: r,
|
|
59
59
|
placeholder: u,
|
|
@@ -69,9 +69,9 @@ const E = "chipSuggestInputWrapper__281f0191", j = {
|
|
|
69
69
|
]
|
|
70
70
|
}
|
|
71
71
|
),
|
|
72
|
-
/* @__PURE__ */ i(
|
|
73
|
-
/* @__PURE__ */ t(
|
|
74
|
-
g && /* @__PURE__ */ t(
|
|
72
|
+
/* @__PURE__ */ i(M, { children: [
|
|
73
|
+
/* @__PURE__ */ t(D, { onClick: S }),
|
|
74
|
+
g && /* @__PURE__ */ t(R, { theme: W.BRAND, size: a.SM })
|
|
75
75
|
] })
|
|
76
76
|
] });
|
|
77
77
|
};
|
package/components/Chip/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as p } from "../../chunks/Chip-
|
|
1
|
+
import { C as p } from "../../chunks/Chip-eRAmMCbK.js";
|
|
2
2
|
import { ChipClearButton as e } from "./ChipClearButton.js";
|
|
3
3
|
import { ChipDropdownArrow as C } from "./ChipDropdownArrow.js";
|
|
4
4
|
import { ChipIcon as h } from "./ChipIcon.js";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
import { EComponentSize as
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import c from "react";
|
|
3
|
+
import { c as p } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
import { EComponentSize as r } from "../../enums/EComponentSize.js";
|
|
5
5
|
import { createSizeToClassNameMap as l } from "../../utils/classNameMaps.js";
|
|
6
|
-
const f = "
|
|
6
|
+
const f = "chipGroup__88d0d3a1", _ = "oneLine__a14af088", u = "multiLine__b9f61cbf", d = "lg__ef7f6a61", L = "md__91a8cacd", h = "sm__ac9213f3", o = {
|
|
7
7
|
chipGroup: f,
|
|
8
8
|
oneLine: _,
|
|
9
9
|
multiLine: u,
|
|
10
10
|
lg: d,
|
|
11
11
|
md: L,
|
|
12
12
|
sm: h
|
|
13
|
-
}, G = l(o), C =
|
|
14
|
-
({ children: i, className: t, oneLine: e, size:
|
|
13
|
+
}, G = l(o), C = c.forwardRef(
|
|
14
|
+
({ children: i, className: t, oneLine: e, size: a = r.MD, ...m }, s) => /* @__PURE__ */ n(
|
|
15
15
|
"div",
|
|
16
16
|
{
|
|
17
|
-
className:
|
|
17
|
+
className: p(o.chipGroup, G[a], t, {
|
|
18
18
|
[o.multiLine]: !e,
|
|
19
19
|
[o.oneLine]: !!e
|
|
20
20
|
}),
|
|
21
|
-
...
|
|
22
|
-
ref:
|
|
23
|
-
"data-tx": "1.
|
|
21
|
+
...m,
|
|
22
|
+
ref: s,
|
|
23
|
+
"data-tx": "1.7.0",
|
|
24
24
|
children: i
|
|
25
25
|
}
|
|
26
26
|
)
|