@sberbusiness/triplex-next 1.7.0 → 1.9.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-Ce_8Yuvv.js → AlertProcessSpoiler-D8OxE3FA.js} +10 -10
- package/chunks/{CalendarViewItem-BDMvwpK5.js → CalendarViewItem-DXg4wwUA.js} +24 -24
- package/chunks/Card.module-CDb8O5wa.js +17 -0
- package/chunks/CheckboxTreeExtended.module-D8lQSOEb.js +11 -0
- package/chunks/{Chip-eRAmMCbK.js → Chip-DXegvfGS.js} +16 -16
- package/chunks/Confirm.module-ySc3irOD.js +15 -0
- package/chunks/DropdownListItem-ToJzPBLf.js +63 -0
- package/chunks/DropdownMobile.module-B25s43In.js +23 -0
- package/chunks/Footer.module-CzmEZNfz.js +9 -0
- package/chunks/{FormFieldInput-Dc0f4nno.js → FormFieldInput-kWDtKz1V.js} +15 -15
- package/chunks/HeaderLayoutSidebar.module-C6GIAW7a.js +9 -0
- package/chunks/HeaderTabs.module-BP4HQoDS.js +9 -0
- package/chunks/{HeaderTitle.module-B6qQsh69.js → HeaderTitle.module-DlPGCmxi.js} +2 -2
- package/chunks/IslandAccordion.module-DDPPsI1j.js +25 -0
- package/chunks/IslandWidgetFooter.module-BGcZce5D.js +9 -0
- package/chunks/IslandWidgetHeader.module-BMvYg9LN.js +9 -0
- package/chunks/{LightBoxContent--MHZ9Gkl.js → LightBoxContent-BhFPV40j.js} +11 -11
- package/chunks/LightBoxControls.module-B71hMR9E.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-Bzi7uEUG.js +8 -0
- package/chunks/{ListItemControlsButton-CDyUDFUr.js → ListItemControlsButton-BoYzfwDC.js} +7 -7
- package/chunks/ListItemTail.module-D2THwLyb.js +12 -0
- package/chunks/ListMasterFooter.module-CQmunIov.js +10 -0
- package/chunks/ModalWindow.module-BhR9VsYm.js +17 -0
- package/chunks/Notification.module-BHnUAhdM.js +21 -0
- package/chunks/Overlay.module-BHV5h0kp.js +18 -0
- package/chunks/Page.module-DcF12bw0.js +11 -0
- package/chunks/{RightBorderArrow-B-QGBlRY.js → RightBorderArrow-DmvKTu6m.js} +11 -11
- package/chunks/SMSInput.module-qYyAcTFr.js +16 -0
- package/chunks/SliderExtendedMarks.module-CNaKOqZQ.js +15 -0
- package/chunks/{SliderExtendedRail-VV02EHbt.js → SliderExtendedRail-45DAsx7v.js} +14 -14
- package/chunks/StatusTracker.module-BA-WFHqo.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-CW9LKnIb.js → SuggestFieldMobileDropdownHint-CSddz7zn.js} +4 -4
- package/chunks/TableFooter.module-D6jJ4Btm.js +14 -0
- package/chunks/TabsExtended.module-C87bijNv.js +16 -0
- package/chunks/TabsLine.module-D_ARvYGg.js +21 -0
- package/chunks/TooltipDesktop.module-CehOLtFg.js +19 -0
- package/chunks/{TooltipMobileCloseButton-BCyljTIq.js → TooltipMobileCloseButton-CJByOYY4.js} +8 -8
- package/chunks/TreeView.module-B6tUzJoC.js +9 -0
- package/chunks/{UploadZoneInput-DNhfVDyP.js → UploadZoneInput-D8diOBuf.js} +2 -2
- package/chunks/utils--cyZSVhM.js +27 -0
- package/chunks/utils-3xY20XDV.js +24 -0
- package/chunks/utils-BCJ-APtm.js +20 -0
- package/chunks/{utils-D9oDaQiI.js → utils-BvGDcicX.js} +4 -4
- package/chunks/utils-tUaA-zN1.js +73 -0
- package/components/Alert/AlertContext/AlertContext.js +6 -6
- 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 +6 -6
- package/components/Button/Button.js +28 -28
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +95 -96
- package/components/Button/ButtonDropdownExtended.js +8 -8
- package/components/Button/ButtonIcon.js +7 -7
- package/components/Calendar/Calendar.js +5 -5
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +1 -1
- 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 +18 -18
- 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 +6 -6
- package/components/Checkbox/Checkbox.js +16 -16
- package/components/Checkbox/CheckboxXGroup.js +14 -14
- 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 +8 -8
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/components/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +8 -8
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +24 -22
- package/components/Chip/ChipOptions.js +6 -6
- package/components/Chip/ChipSelect/ChipSelect.js +51 -0
- package/components/Chip/ChipSelect/ChipSelectTarget.js +44 -0
- package/components/Chip/ChipSelect/index.js +7 -0
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +69 -57
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +31 -29
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +21 -21
- package/components/Chip/index.js +13 -11
- package/components/ChipGroup/ChipGroup.js +13 -13
- package/components/Col/Col.js +130 -130
- package/components/CollapsableTree/components/CollapsableTreeNode.js +15 -15
- 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 +15 -18
- package/components/DateRange/DateRange.js +9 -9
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/DesignTokensComponents.js +24 -22
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +20 -18
- package/components/DesignTokens/components/Calendar.js +6 -4
- package/components/DesignTokens/components/DropdownMobile.js +1 -1
- package/components/DesignTokens/components/Island.js +2 -2
- package/components/DesignTokens/components/ModalWindow.js +2 -2
- package/components/DesignTokens/components/Tabs.js +1 -1
- package/components/DesignTokens/components/TabsLine.js +0 -12
- package/components/DesignTokens/components/TagColor.js +26 -0
- package/components/DesignTokens/components/index.js +27 -24
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +6 -6
- package/components/Dropdown/desktop/DropdownDesktop.js +5 -5
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +3 -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 +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +10 -10
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +4 -4
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +25 -25
- package/components/Dropdown/mobile/DropdownMobileLoader.js +4 -4
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +8 -8
- package/components/ExpandAnimation/ExpandAnimation.js +19 -19
- 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 +24 -24
- package/components/FormField/components/FormFieldClear.js +17 -17
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +3 -3
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +13 -13
- package/components/FormField/components/FormFieldMaskedInput.js +18 -18
- package/components/FormField/components/FormFieldPostfix.js +5 -5
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +24 -24
- 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 +5 -5
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +17 -17
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +2 -2
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +73 -81
- package/components/IslandWidget/IslandWidget.js +13 -13
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +7 -7
- package/components/IslandWidget/components/IslandWidgetFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +7 -7
- package/components/LightBox/LightBox.js +15 -15
- package/components/LightBox/LightBoxContent.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxClose.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxControls.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxNext.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/Link/Link.js +24 -24
- package/components/List/List.js +7 -7
- 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 +38 -35
- package/components/List/components/ListItemLoading.js +2 -2
- package/components/List/components/ListItemSelectable.js +10 -10
- 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 +7 -7
- package/components/List/components/ListSortableItemControls.js +1 -1
- package/components/List/components/ListSortableItemTarget.js +8 -8
- 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 +5 -5
- 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 +10 -10
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +9 -9
- package/components/Loader/LoaderSmall/LoaderSmall.js +5 -5
- package/components/LoaderScreen/LoaderScreen.js +7 -7
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +11 -11
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +1 -1
- package/components/ModalWindow/components/ModalWindowClose.js +3 -3
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +10 -10
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +3 -3
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +1 -1
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyContent.js +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/NotificationIcon/NotificationIcon.js +10 -0
- package/components/NotificationIcon/index.js +5 -0
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +2 -2
- package/components/OrderedList/OrderedListItem.js +10 -10
- 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 +13 -13
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +2 -2
- package/components/Pagination/components/PaginationNavigationButton.js +1 -1
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +1 -1
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +3 -3
- package/components/Radio/Radio.js +15 -15
- package/components/Radio/RadioXGroup.js +9 -9
- package/components/Radio/RadioYGroup.js +1 -1
- 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 +8 -8
- package/components/SegmentedControl/SegmentedControlSegment.js +8 -8
- package/components/SelectExtendedField/SelectExtendedField.js +12 -12
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +6 -12
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +11 -11
- package/components/Skeleton/Skeleton.js +11 -11
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +16 -16
- 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 +7 -7
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +27 -27
- package/components/SmallInput/SmallInput.js +4 -4
- package/components/Spoiler/Spoiler.js +14 -14
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +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 +2 -2
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +6 -6
- package/components/Stepper/StepperExtended.js +1 -1
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperWrapper.js +4 -4
- package/components/Suggest/SuggestMobileDropdownContent.js +36 -30
- 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 +3 -3
- 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 +44 -38
- 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 +2 -2
- package/components/Table/MasterTable.js +17 -17
- package/components/Table/NoColumns.js +3 -3
- 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 +5 -5
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +5 -5
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +5 -5
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +6 -6
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +1 -1
- package/components/Table/TabsLinePanelLinks.js +1 -1
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +31 -30
- 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 +18 -14
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +1 -1
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +18 -17
- package/components/TabsLine/components/TabsLineDesktop.js +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +95 -73
- package/components/TabsLine/components/TabsLineItem.js +55 -22
- package/components/TabsLine/components/TabsLineMobile.js +3 -3
- package/components/TabsLine/utils.js +11 -0
- package/components/Tag/Tag.js +11 -11
- package/components/TagColor/TagColor.js +36 -0
- package/components/TagColor/enums.js +5 -0
- package/components/TagColor/index.js +5 -0
- package/components/TagColor/types.js +2 -0
- package/components/TagGroup/TagGroup.js +10 -10
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +17 -17
- 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 +9 -11
- package/components/TopOverlay/TopOverlay.js +17 -17
- 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 +8 -8
- package/components/Typography/Text.js +23 -23
- package/components/Typography/Title.js +17 -17
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +2 -2
- package/components/UnorderedList/UnorderedListItem.js +10 -10
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +514 -510
- package/index.d.ts +50 -8
- package/index.js +543 -539
- package/package.json +9 -1
- package/styles/triplex-next.css +533 -529
- package/chunks/Card.module-BvlTqE5R.js +0 -17
- package/chunks/CheckboxTreeExtended.module-DsOQXTb2.js +0 -11
- package/chunks/Confirm.module-BQvs_z36.js +0 -15
- package/chunks/DropdownListItem-DjvVx10v.js +0 -57
- package/chunks/DropdownMobile.module-CEPFt9uH.js +0 -21
- package/chunks/Footer.module-CXnDx0Qq.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-CHV51xUH.js +0 -9
- package/chunks/HeaderTabs.module-T3W10WU8.js +0 -9
- package/chunks/IslandAccordion.module-DoM2x4VR.js +0 -26
- package/chunks/IslandWidgetFooter.module-qNMIN4zr.js +0 -9
- package/chunks/IslandWidgetHeader.module-DUf_HV96.js +0 -9
- package/chunks/LightBoxControls.module-C3_q74nl.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-D66ESS7b.js +0 -8
- package/chunks/ListItemTail.module-DYbacvAR.js +0 -12
- package/chunks/ListMasterFooter.module-ghOvyA19.js +0 -10
- package/chunks/ModalWindow.module-CvIIBPzJ.js +0 -17
- package/chunks/Notification.module-DrKXO_L0.js +0 -21
- package/chunks/Overlay.module-B4exkEG2.js +0 -18
- package/chunks/Page.module-CvSterCP.js +0 -11
- package/chunks/SMSInput.module-DkPfMZWv.js +0 -16
- package/chunks/SliderExtendedMarks.module-DZlxonFv.js +0 -15
- package/chunks/StatusTracker.module-BzVEt7sh.js +0 -24
- package/chunks/TableFooter.module-DKNnDtzT.js +0 -14
- package/chunks/TabsExtended.module-BQKnCc6i.js +0 -16
- package/chunks/TabsLine.module-Cr-x0ll4.js +0 -23
- package/chunks/TooltipDesktop.module-D3epe_HW.js +0 -19
- package/chunks/TreeView.module-BXfRfHL4.js +0 -9
- package/chunks/utils-BY1yN3Hq.js +0 -26
- package/chunks/utils-BtnGErpx.js +0 -20
- package/chunks/utils-CR8DYAi0.js +0 -73
- package/chunks/utils-DQX5JZ_3.js +0 -24
- package/components/Chip/ChipSelect.js +0 -55
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { jsxs as d, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { formatAmount as u } from "../../utils/amountUtils.js";
|
|
3
3
|
import { c as f } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
|
-
const N = "
|
|
4
|
+
const N = "adaptive__a513b80e", _ = {
|
|
5
5
|
adaptive: N
|
|
6
6
|
}, h = 14, v = ({
|
|
7
7
|
className: o,
|
|
8
8
|
value: r,
|
|
9
9
|
fractionLength: s,
|
|
10
|
-
currency:
|
|
10
|
+
currency: e,
|
|
11
11
|
currencyTitle: m,
|
|
12
12
|
adaptive: c,
|
|
13
|
-
dataTestId:
|
|
13
|
+
dataTestId: a,
|
|
14
14
|
...i
|
|
15
15
|
}) => {
|
|
16
16
|
let t = u(r, s);
|
|
17
17
|
t[0] == "-" && (t = t.replace("-", "−"));
|
|
18
18
|
const p = () => [
|
|
19
19
|
" ",
|
|
20
|
-
/* @__PURE__ */ n("span", { "data-test-id":
|
|
20
|
+
/* @__PURE__ */ n("span", { "data-test-id": a && `${a}__currencyName`, title: m, children: e }, "currencyName")
|
|
21
21
|
], l = f(
|
|
22
22
|
{
|
|
23
23
|
[_.adaptive]: !!c && t.length >= h
|
|
24
24
|
},
|
|
25
25
|
o
|
|
26
26
|
);
|
|
27
|
-
return /* @__PURE__ */ d("span", { className: l, ...i, "data-tx": "1.
|
|
28
|
-
/* @__PURE__ */ n("span", { "data-test-id":
|
|
29
|
-
|
|
27
|
+
return /* @__PURE__ */ d("span", { className: l, ...i, "data-tx": "1.9.0", children: [
|
|
28
|
+
/* @__PURE__ */ n("span", { "data-test-id": a && `${a}__amount`, children: t }),
|
|
29
|
+
e && p()
|
|
30
30
|
] });
|
|
31
31
|
};
|
|
32
32
|
v.displayName = "Amount";
|
|
@@ -6,11 +6,11 @@ import { FormFieldDescription as T } from "../FormField/components/FormFieldDesc
|
|
|
6
6
|
import { FormFieldLabel as V } from "../FormField/components/FormFieldLabel.js";
|
|
7
7
|
import { FormFieldPostfix as D } from "../FormField/components/FormFieldPostfix.js";
|
|
8
8
|
import { FormFieldClear as K } from "../FormField/components/FormFieldClear.js";
|
|
9
|
-
import { F as j } from "../../chunks/FormFieldInput-
|
|
9
|
+
import { F as j } from "../../chunks/FormFieldInput-kWDtKz1V.js";
|
|
10
10
|
import { AmountBaseInputCore as A } from "./AmountBaseInputCore.js";
|
|
11
11
|
import { setCaretPosition as L } from "../../utils/inputUtils.js";
|
|
12
12
|
import { createPlaceholder as M, setFallbackCaret as g } from "./utils.js";
|
|
13
|
-
const $ = "
|
|
13
|
+
const $ = "currency__5896f11a", b = {
|
|
14
14
|
currency: $
|
|
15
15
|
}, Z = R.forwardRef(
|
|
16
16
|
({
|
package/components/Body/Body.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
const y = "
|
|
2
|
+
import n from "react";
|
|
3
|
+
import { c as t } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
const y = "body__ee74424a", c = "bodyInner__07e74e9b", d = {
|
|
5
5
|
body: y,
|
|
6
6
|
bodyInner: c
|
|
7
|
-
},
|
|
8
|
-
|
|
7
|
+
}, b = n.forwardRef(({ children: e, className: r, ...s }, a) => /* @__PURE__ */ o("div", { className: t(d.body, r), ...s, "data-tx": "1.9.0", ref: a, children: /* @__PURE__ */ o("div", { className: d.bodyInner, children: e }) }));
|
|
8
|
+
b.displayName = "Body";
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
b as Body
|
|
11
11
|
};
|
|
12
12
|
//# sourceMappingURL=Body.js.map
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { jsxs as m, jsx as
|
|
1
|
+
import { jsxs as m, jsx as y } from "react/jsx-runtime";
|
|
2
2
|
import k from "react";
|
|
3
3
|
import { c as p } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { LoaderSmall as R } from "../Loader/LoaderSmall/LoaderSmall.js";
|
|
5
5
|
import { ELoaderSmallTheme as b } from "../Loader/LoaderSmall/enum.js";
|
|
6
6
|
import "../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
7
7
|
import { ButtonBase as C } from "./ButtonBase.js";
|
|
8
|
-
import { EButtonTheme as
|
|
9
|
-
import { EComponentSize as
|
|
10
|
-
const A = "
|
|
8
|
+
import { EButtonTheme as d } from "./enums.js";
|
|
9
|
+
import { EComponentSize as s } from "../../enums/EComponentSize.js";
|
|
10
|
+
const A = "general__ed11e048", B = "expanded__9d644bc8", g = {
|
|
11
11
|
general: A,
|
|
12
12
|
expanded: B
|
|
13
|
-
}, D = "
|
|
13
|
+
}, D = "secondary__831a87d2", T = "expanded__9d644bc8", u = {
|
|
14
14
|
secondary: D,
|
|
15
15
|
expanded: T
|
|
16
|
-
}, G = "
|
|
16
|
+
}, G = "secondaryLight__3b458f98", I = "expanded__9d644bc8", x = {
|
|
17
17
|
secondaryLight: G,
|
|
18
18
|
expanded: I
|
|
19
|
-
}, v = "
|
|
19
|
+
}, v = "danger__80bdd930", O = "expanded__9d644bc8", h = {
|
|
20
20
|
danger: v,
|
|
21
21
|
expanded: O
|
|
22
|
-
}, Y = "
|
|
22
|
+
}, Y = "link__847afb50", $ = "expanded__9d644bc8", f = {
|
|
23
23
|
link: Y,
|
|
24
24
|
expanded: $
|
|
25
|
-
}, w = "
|
|
25
|
+
}, w = "button__1ed8a1f5", z = "sm__c38bb2f2", M = "icon__a5f79d8e", j = "md__a9166609", H = "lg__21df9902", K = "block__3b97a234", U = "content__c9cbdebc", q = "loading__6f00487b", F = "loader__4d6e10a2", J = "hidden__512f21f9", e = {
|
|
26
26
|
button: w,
|
|
27
27
|
sm: z,
|
|
28
28
|
icon: M,
|
|
@@ -35,63 +35,63 @@ const A = "general__14126cca", B = "expanded__b4ecc60a", g = {
|
|
|
35
35
|
hidden: J
|
|
36
36
|
}, P = (t, n) => {
|
|
37
37
|
switch (t) {
|
|
38
|
-
case
|
|
38
|
+
case d.GENERAL:
|
|
39
39
|
return { [g.general]: !0, [g.expanded]: n };
|
|
40
|
-
case
|
|
40
|
+
case d.SECONDARY:
|
|
41
41
|
return {
|
|
42
42
|
[u.secondary]: !0,
|
|
43
43
|
[u.expanded]: n
|
|
44
44
|
};
|
|
45
|
-
case
|
|
45
|
+
case d.SECONDARY_LIGHT:
|
|
46
46
|
return {
|
|
47
47
|
[x.secondaryLight]: !0,
|
|
48
48
|
[x.expanded]: n
|
|
49
49
|
};
|
|
50
|
-
case
|
|
50
|
+
case d.DANGER:
|
|
51
51
|
return {
|
|
52
52
|
[h.danger]: !0,
|
|
53
53
|
[h.expanded]: n
|
|
54
54
|
};
|
|
55
|
-
case
|
|
55
|
+
case d.LINK:
|
|
56
56
|
return {
|
|
57
|
-
[
|
|
58
|
-
[
|
|
57
|
+
[f.link]: !0,
|
|
58
|
+
[f.expanded]: n
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
}, Q = (t) => {
|
|
62
62
|
switch (t) {
|
|
63
|
-
case
|
|
63
|
+
case s.LG:
|
|
64
64
|
return e.lg;
|
|
65
|
-
case
|
|
65
|
+
case s.MD:
|
|
66
66
|
return e.md;
|
|
67
|
-
case
|
|
67
|
+
case s.SM:
|
|
68
68
|
return e.sm;
|
|
69
69
|
}
|
|
70
70
|
}, V = (t, n) => {
|
|
71
|
-
const
|
|
72
|
-
return /* @__PURE__ */
|
|
71
|
+
const o = [d.SECONDARY, d.SECONDARY_LIGHT].includes(t) ? b.BRAND : b.NEUTRAL;
|
|
72
|
+
return /* @__PURE__ */ y(R, { theme: o, size: n });
|
|
73
73
|
}, W = k.forwardRef((t, n) => {
|
|
74
|
-
const { children:
|
|
74
|
+
const { children: o, className: N, disabled: c, theme: r, size: l = s.MD, block: L, loading: a, icon: i, ...S } = t, { "aria-expanded": _ } = t, E = p(
|
|
75
75
|
e.button,
|
|
76
76
|
P(r, !!_),
|
|
77
77
|
Q(l),
|
|
78
|
-
{ [e.block]: !!L, [e.loading]: !!
|
|
79
|
-
{ [e.icon]: !!i && !
|
|
78
|
+
{ [e.block]: !!L, [e.loading]: !!a },
|
|
79
|
+
{ [e.icon]: !!i && !o },
|
|
80
80
|
// Классы для иконок, начало.
|
|
81
81
|
"hoverable",
|
|
82
82
|
{
|
|
83
83
|
active: !!_,
|
|
84
|
-
disabled: !!
|
|
84
|
+
disabled: !!c
|
|
85
85
|
},
|
|
86
86
|
// Классы для иконок, конец.
|
|
87
87
|
N
|
|
88
88
|
);
|
|
89
|
-
return /* @__PURE__ */ m(C, { className: E, tabIndex:
|
|
89
|
+
return /* @__PURE__ */ m(C, { className: E, tabIndex: a ? -1 : void 0, disabled: c, ...S, ref: n, children: [
|
|
90
90
|
/* @__PURE__ */ m("span", { className: e.content, children: [
|
|
91
91
|
i,
|
|
92
|
-
|
|
92
|
+
o
|
|
93
93
|
] }),
|
|
94
|
-
/* @__PURE__ */
|
|
94
|
+
/* @__PURE__ */ y("div", { className: p(e.loader, !a && e.hidden), children: V(r, l) })
|
|
95
95
|
] });
|
|
96
96
|
});
|
|
97
97
|
W.displayName = "Button";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import e from "react";
|
|
3
|
-
const r = e.forwardRef((t, o) => /* @__PURE__ */ a("button", { type: "button", ...t, "data-tx": "1.
|
|
3
|
+
const r = e.forwardRef((t, o) => /* @__PURE__ */ a("button", { type: "button", ...t, "data-tx": "1.9.0", ref: o }));
|
|
4
4
|
r.displayName = "ButtonBase";
|
|
5
5
|
export {
|
|
6
6
|
r as ButtonBase
|
|
@@ -1,58 +1,54 @@
|
|
|
1
|
-
import { Button as
|
|
1
|
+
import { Button as M } from "./Button.js";
|
|
2
2
|
import "./ButtonBase.js";
|
|
3
3
|
import "./ButtonIcon.js";
|
|
4
|
-
import { jsx as
|
|
5
|
-
import F, { useRef as
|
|
6
|
-
import { c as
|
|
4
|
+
import { jsx as t, jsxs as B, Fragment as q } from "react/jsx-runtime";
|
|
5
|
+
import F, { useRef as I, useState as V, createElement as x } from "react";
|
|
6
|
+
import { c as w, a as J } from "../../chunks/vendor-D3hUOusX.js";
|
|
7
7
|
import { ButtonDropdownExtended as y } from "./ButtonDropdownExtended.js";
|
|
8
8
|
import { EButtonDotsTheme as u, EButtonTheme as d } from "./enums.js";
|
|
9
|
-
import { DotshorizontalStrokeSrvIcon32 as Q, DotshorizontalStrokeSrvIcon20 as
|
|
9
|
+
import { DotshorizontalStrokeSrvIcon32 as Q, DotshorizontalStrokeSrvIcon20 as L, CaretdownStrokeSrvIcon16 as X, CaretdownStrokeSrvIcon20 as Z, CaretdownStrokeSrvIcon24 as $ } from "@sberbusiness/icons-next";
|
|
10
10
|
import { isKey as D } from "../../utils/keyboard.js";
|
|
11
|
-
import { DropdownListContext as
|
|
12
|
-
import { DropdownMobileHeader as
|
|
13
|
-
import { DropdownMobileBody as
|
|
14
|
-
import { DropdownMobileList as
|
|
15
|
-
import { DropdownMobileListItem as
|
|
16
|
-
import { DropdownMobileClose as
|
|
17
|
-
import { Text as
|
|
18
|
-
import { ETextSize as
|
|
19
|
-
import { DropdownList as
|
|
20
|
-
import { EComponentSize as
|
|
21
|
-
const
|
|
22
|
-
buttonDropdown:
|
|
23
|
-
block:
|
|
24
|
-
buttonDropdownTarget:
|
|
25
|
-
caretIcon:
|
|
26
|
-
active:
|
|
27
|
-
buttonDropdownMenuItem:
|
|
28
|
-
},
|
|
29
|
-
[
|
|
30
|
-
[
|
|
31
|
-
[
|
|
32
|
-
},
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
const { buttonAttributes: R, children: h, className: z, theme: f, size: c, options: C, selected: l, block: w, disabled: T, ...G } = g, k = _(null), v = _(null), W = b(n.buttonDropdown, { [n.block]: !!w }, z), [S, H] = V(), I = _(J()), P = ({ opened: e, setOpened: r }) => {
|
|
39
|
-
const a = b(n.buttonDropdownTarget, "hoverable", {
|
|
40
|
-
[n.active]: e,
|
|
41
|
-
[n.block]: !!w
|
|
11
|
+
import { DropdownListContext as oo } from "../Dropdown/DropdownListContext.js";
|
|
12
|
+
import { DropdownMobileHeader as to } from "../Dropdown/mobile/DropdownMobileHeader.js";
|
|
13
|
+
import { DropdownMobileBody as eo } from "../Dropdown/mobile/DropdownMobileBody.js";
|
|
14
|
+
import { DropdownMobileList as ro } from "../Dropdown/mobile/DropdownMobileList.js";
|
|
15
|
+
import { DropdownMobileListItem as no } from "../Dropdown/mobile/DropdownMobileListItem.js";
|
|
16
|
+
import { DropdownMobileClose as co } from "../Dropdown/mobile/DropdownMobileClose.js";
|
|
17
|
+
import { Text as ao } from "../Typography/Text.js";
|
|
18
|
+
import { ETextSize as so } from "../Typography/enums.js";
|
|
19
|
+
import { DropdownList as Y } from "../Dropdown/desktop/DropdownList.js";
|
|
20
|
+
import { EComponentSize as f } from "../../enums/EComponentSize.js";
|
|
21
|
+
const lo = "buttonDropdown__4c19165a", io = "block__3b97a234", mo = "buttonDropdownTarget__5fd4da61", uo = "caretIcon__1799f96b", Do = "active__125fef73", fo = "buttonDropdownMenuItem__d2c781f4", n = {
|
|
22
|
+
buttonDropdown: lo,
|
|
23
|
+
block: io,
|
|
24
|
+
buttonDropdownTarget: mo,
|
|
25
|
+
caretIcon: uo,
|
|
26
|
+
active: Do,
|
|
27
|
+
buttonDropdownMenuItem: fo
|
|
28
|
+
}, po = {
|
|
29
|
+
[f.SM]: /* @__PURE__ */ t(L, { paletteIndex: 0 }),
|
|
30
|
+
[f.MD]: /* @__PURE__ */ t(L, { paletteIndex: 0 }),
|
|
31
|
+
[f.LG]: /* @__PURE__ */ t(Q, { paletteIndex: 0 })
|
|
32
|
+
}, g = (p, c) => p === f.SM ? /* @__PURE__ */ t(X, { paletteIndex: c, className: n.caretIcon }) : p === f.MD ? /* @__PURE__ */ t(Z, { paletteIndex: c, className: n.caretIcon }) : /* @__PURE__ */ t($, { paletteIndex: c, className: n.caretIcon }), bo = F.forwardRef(
|
|
33
|
+
(p, c) => {
|
|
34
|
+
const { buttonAttributes: R, children: h, className: z, theme: b, size: s, options: C, selected: i, block: S, disabled: T, ...G } = p, k = I(null), v = I(null), W = w(n.buttonDropdown, { [n.block]: !!S }, z), [N, H] = V(), _ = I(J()), P = ({ opened: o, setOpened: r }) => {
|
|
35
|
+
const a = w(n.buttonDropdownTarget, "hoverable", {
|
|
36
|
+
[n.active]: o,
|
|
37
|
+
[n.block]: !!S
|
|
42
38
|
});
|
|
43
|
-
return /* @__PURE__ */
|
|
44
|
-
|
|
39
|
+
return /* @__PURE__ */ B(
|
|
40
|
+
M,
|
|
45
41
|
{
|
|
46
42
|
className: a,
|
|
47
|
-
theme:
|
|
48
|
-
size:
|
|
49
|
-
onKeyDown: A({ opened:
|
|
50
|
-
onClick: E({ opened:
|
|
43
|
+
theme: b,
|
|
44
|
+
size: s,
|
|
45
|
+
onKeyDown: A({ opened: o, setOpened: r }),
|
|
46
|
+
onClick: E({ opened: o, setOpened: r }),
|
|
51
47
|
disabled: T,
|
|
52
48
|
"aria-haspopup": "menu",
|
|
53
|
-
"aria-expanded":
|
|
54
|
-
"aria-controls":
|
|
55
|
-
"aria-activedescendant":
|
|
49
|
+
"aria-expanded": o,
|
|
50
|
+
"aria-controls": _.current,
|
|
51
|
+
"aria-activedescendant": N,
|
|
56
52
|
...R,
|
|
57
53
|
ref: O,
|
|
58
54
|
children: [
|
|
@@ -61,102 +57,105 @@ const le = "buttonDropdown__5b400bf9", de = "block__efdc8eec", ie = "buttonDropd
|
|
|
61
57
|
]
|
|
62
58
|
}
|
|
63
59
|
);
|
|
64
|
-
}, K = ({ opened:
|
|
65
|
-
const a =
|
|
66
|
-
[n.active]:
|
|
67
|
-
[n.block]: !!
|
|
60
|
+
}, K = ({ opened: o, setOpened: r }) => {
|
|
61
|
+
const a = w(n.buttonDropdownTarget, "hoverable", {
|
|
62
|
+
[n.active]: o,
|
|
63
|
+
[n.block]: !!S
|
|
68
64
|
});
|
|
69
|
-
return /* @__PURE__ */
|
|
70
|
-
|
|
65
|
+
return /* @__PURE__ */ t(
|
|
66
|
+
M,
|
|
71
67
|
{
|
|
72
68
|
className: a,
|
|
73
|
-
theme:
|
|
74
|
-
size:
|
|
75
|
-
onKeyDown: A({ opened:
|
|
76
|
-
onClick: E({ opened:
|
|
69
|
+
theme: b === u.DOTS_SECONDARY ? d.SECONDARY : d.SECONDARY_LIGHT,
|
|
70
|
+
size: s,
|
|
71
|
+
onKeyDown: A({ opened: o, setOpened: r }),
|
|
72
|
+
onClick: E({ opened: o, setOpened: r }),
|
|
77
73
|
disabled: T,
|
|
78
74
|
"aria-haspopup": "menu",
|
|
79
|
-
"aria-expanded":
|
|
80
|
-
"aria-controls":
|
|
81
|
-
"aria-activedescendant":
|
|
75
|
+
"aria-expanded": o,
|
|
76
|
+
"aria-controls": _.current,
|
|
77
|
+
"aria-activedescendant": N,
|
|
82
78
|
...R,
|
|
83
79
|
ref: O,
|
|
84
|
-
icon:
|
|
80
|
+
icon: po[s]
|
|
85
81
|
}
|
|
86
82
|
);
|
|
87
|
-
}, E = ({ opened:
|
|
88
|
-
const { key:
|
|
89
|
-
(D(
|
|
83
|
+
}, E = ({ opened: o, setOpened: r }) => () => r(!o), A = ({ opened: o, setOpened: r }) => (a) => {
|
|
84
|
+
const { key: l } = a;
|
|
85
|
+
(D(l, "SPACE") || D(l, "ARROW_UP") || D(l, "ARROW_DOWN")) && a.preventDefault(), !o && (D(l, "ARROW_UP") || D(l, "ARROW_DOWN")) && r(!0);
|
|
90
86
|
}, j = () => {
|
|
91
|
-
switch (
|
|
87
|
+
switch (b) {
|
|
92
88
|
case d.GENERAL:
|
|
93
89
|
case d.DANGER:
|
|
94
90
|
case u.DOTS_SECONDARY:
|
|
95
91
|
case u.DOTS_SECONDARY_LIGHT:
|
|
96
|
-
return
|
|
92
|
+
return g(s, 7);
|
|
97
93
|
case d.SECONDARY:
|
|
98
94
|
case d.SECONDARY_LIGHT:
|
|
99
|
-
return
|
|
95
|
+
return g(s, 0);
|
|
100
96
|
default:
|
|
101
97
|
return null;
|
|
102
98
|
}
|
|
103
|
-
}, U = ({ opened:
|
|
104
|
-
const
|
|
105
|
-
return /* @__PURE__ */
|
|
99
|
+
}, U = ({ opened: o, setOpened: r, className: a }) => {
|
|
100
|
+
const l = w(n.buttonDropdownMenu, a);
|
|
101
|
+
return /* @__PURE__ */ t(oo.Provider, { value: { activeDescendant: N, setActiveDescendant: H }, children: /* @__PURE__ */ t(
|
|
106
102
|
y.Dropdown,
|
|
107
103
|
{
|
|
108
|
-
size:
|
|
109
|
-
className:
|
|
110
|
-
opened:
|
|
104
|
+
size: s,
|
|
105
|
+
className: l,
|
|
106
|
+
opened: o,
|
|
111
107
|
setOpened: r,
|
|
112
108
|
targetRef: k,
|
|
113
109
|
ref: v,
|
|
114
110
|
mobileViewProps: {
|
|
115
|
-
children: /* @__PURE__ */
|
|
116
|
-
/* @__PURE__ */
|
|
117
|
-
|
|
118
|
-
/* @__PURE__ */ o(ae, { onClick: () => r(!1) })
|
|
119
|
-
] }),
|
|
120
|
-
/* @__PURE__ */ o(oe, { children: /* @__PURE__ */ o(re, { children: C.map((t) => /* @__PURE__ */ M(
|
|
121
|
-
ne,
|
|
111
|
+
children: /* @__PURE__ */ B(q, { children: [
|
|
112
|
+
/* @__PURE__ */ t(
|
|
113
|
+
to,
|
|
122
114
|
{
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
115
|
+
controlButtons: /* @__PURE__ */ t(co, { onClick: () => r(!1) }),
|
|
116
|
+
children: /* @__PURE__ */ t(ao, { tag: "div", size: so.B3, children: h })
|
|
117
|
+
}
|
|
118
|
+
),
|
|
119
|
+
/* @__PURE__ */ t(eo, { children: /* @__PURE__ */ t(ro, { children: C.map((e) => /* @__PURE__ */ x(
|
|
120
|
+
no,
|
|
121
|
+
{
|
|
122
|
+
...e,
|
|
123
|
+
key: e.id,
|
|
124
|
+
selected: e.id === (i == null ? void 0 : i.id),
|
|
126
125
|
onSelect: () => {
|
|
127
126
|
var m;
|
|
128
|
-
(m =
|
|
127
|
+
(m = e.onSelect) == null || m.call(e), r(!1);
|
|
129
128
|
}
|
|
130
129
|
},
|
|
131
|
-
|
|
130
|
+
e.label
|
|
132
131
|
)) }) })
|
|
133
132
|
] })
|
|
134
133
|
},
|
|
135
|
-
children: /* @__PURE__ */
|
|
136
|
-
|
|
134
|
+
children: /* @__PURE__ */ t(Y, { dropdownOpened: o, id: _.current, size: s, children: C.map((e) => /* @__PURE__ */ x(
|
|
135
|
+
Y.Item,
|
|
137
136
|
{
|
|
138
|
-
...
|
|
137
|
+
...e,
|
|
139
138
|
className: n.buttonDropdownMenuItem,
|
|
140
|
-
key:
|
|
141
|
-
selected:
|
|
139
|
+
key: e.id,
|
|
140
|
+
selected: e.id === (i == null ? void 0 : i.id),
|
|
142
141
|
onSelect: () => {
|
|
143
142
|
var m;
|
|
144
|
-
(m =
|
|
143
|
+
(m = e.onSelect) == null || m.call(e), r(!1);
|
|
145
144
|
}
|
|
146
145
|
},
|
|
147
|
-
|
|
146
|
+
e.label
|
|
148
147
|
)) })
|
|
149
148
|
}
|
|
150
149
|
) });
|
|
151
|
-
}, O = (
|
|
152
|
-
k.current =
|
|
150
|
+
}, O = (o) => {
|
|
151
|
+
k.current = o, typeof c == "function" ? c(o) : c && (c.current = o);
|
|
153
152
|
};
|
|
154
|
-
return /* @__PURE__ */
|
|
153
|
+
return /* @__PURE__ */ t(
|
|
155
154
|
y,
|
|
156
155
|
{
|
|
157
156
|
className: W,
|
|
158
157
|
renderButton: [u.DOTS_SECONDARY, u.DOTS_SECONDARY_LIGHT].includes(
|
|
159
|
-
|
|
158
|
+
b
|
|
160
159
|
) ? K : P,
|
|
161
160
|
renderDropdown: U,
|
|
162
161
|
dropdownRef: v,
|
|
@@ -166,8 +165,8 @@ const le = "buttonDropdown__5b400bf9", de = "block__efdc8eec", ie = "buttonDropd
|
|
|
166
165
|
);
|
|
167
166
|
}
|
|
168
167
|
);
|
|
169
|
-
|
|
168
|
+
bo.displayName = "ButtonDropdown";
|
|
170
169
|
export {
|
|
171
|
-
|
|
170
|
+
bo as ButtonDropdown
|
|
172
171
|
};
|
|
173
172
|
//# sourceMappingURL=ButtonDropdown.js.map
|
|
@@ -4,11 +4,11 @@ import { Dropdown as _ } from "../Dropdown/Dropdown.js";
|
|
|
4
4
|
import { isKey as w } from "../../utils/keyboard.js";
|
|
5
5
|
import { DropdownList as g } from "../Dropdown/desktop/DropdownList.js";
|
|
6
6
|
import { c as A } from "../../chunks/vendor-D3hUOusX.js";
|
|
7
|
-
const K = "
|
|
7
|
+
const K = "buttonDropdownExtended__b95ea993", S = "buttonDropdownExtendedBlock__d9d838b1", E = {
|
|
8
8
|
buttonDropdownExtended: K,
|
|
9
9
|
buttonDropdownExtendedBlock: S
|
|
10
10
|
}, D = (s) => {
|
|
11
|
-
const { className:
|
|
11
|
+
const { className: b, opened: v, setOpened: c, renderButton: x, renderDropdown: k, dropdownRef: l, closeOnTab: p, ...L } = s, u = f(null), m = f(s.opened !== void 0), [O, y] = C((s.opened === void 0, !1)), e = m.current ? !!v : O, o = N(
|
|
12
12
|
(t) => {
|
|
13
13
|
if (m.current) {
|
|
14
14
|
c && c(t);
|
|
@@ -25,20 +25,20 @@ const K = "buttonDropdownExtended__446e3239", S = "buttonDropdownExtendedBlock__
|
|
|
25
25
|
const n = r.code || r.keyCode;
|
|
26
26
|
e && (w(n, "ESCAPE") || p && w(n, "TAB")) && o(!1);
|
|
27
27
|
}, d = (r) => {
|
|
28
|
-
const n = u.current,
|
|
28
|
+
const n = u.current, a = l.current;
|
|
29
29
|
if (e) {
|
|
30
|
-
const
|
|
31
|
-
|
|
30
|
+
const i = r.target;
|
|
31
|
+
i && !(n != null && n.contains(i)) && !(a != null && a.contains(i)) && o(!1);
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
return document.addEventListener("keydown", t), document.addEventListener("mousedown", d), document.addEventListener("touchstart", d), () => {
|
|
35
35
|
document.removeEventListener("keydown", t), document.removeEventListener("mousedown", d), document.removeEventListener("touchstart", d);
|
|
36
36
|
};
|
|
37
37
|
}, [e, p, l, o, u]);
|
|
38
|
-
const B = A(E.buttonDropdownExtended,
|
|
38
|
+
const B = A(E.buttonDropdownExtended, b);
|
|
39
39
|
return /* @__PURE__ */ h("div", { className: B, ref: u, ...L, children: [
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
x({ opened: e, setOpened: o }),
|
|
41
|
+
k({
|
|
42
42
|
className: E.buttonDropdownExtendedBlock,
|
|
43
43
|
opened: e,
|
|
44
44
|
setOpened: o
|
|
@@ -2,14 +2,14 @@ import { jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import u from "react";
|
|
3
3
|
import { c as m } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { EButtonIconShape as o } from "./enums.js";
|
|
5
|
-
const
|
|
6
|
-
buttonIcon:
|
|
7
|
-
circle:
|
|
8
|
-
squircle:
|
|
5
|
+
const p = "buttonIcon__d16a67a6", I = "circle__6dc89a71", _ = "squircle__013e0617", t = {
|
|
6
|
+
buttonIcon: p,
|
|
7
|
+
circle: I,
|
|
8
|
+
squircle: _
|
|
9
9
|
}, b = {
|
|
10
10
|
[o.SQUIRCLE]: t.squircle,
|
|
11
11
|
[o.CIRCLE]: t.circle
|
|
12
|
-
},
|
|
12
|
+
}, f = u.forwardRef(
|
|
13
13
|
({ className: e, disabled: c, shape: n = o.SQUIRCLE, active: s, ...r }, a) => {
|
|
14
14
|
const l = m(t.buttonIcon, b[n], "hoverable", e, {
|
|
15
15
|
active: !!s,
|
|
@@ -18,8 +18,8 @@ const f = "buttonIcon__2ef3ea1c", p = "circle__0c4f0a45", I = "squircle__f1a9b2e
|
|
|
18
18
|
return /* @__PURE__ */ i("button", { type: "button", className: l, disabled: c, ...r, ref: a });
|
|
19
19
|
}
|
|
20
20
|
);
|
|
21
|
-
|
|
21
|
+
f.displayName = "ButtonIcon";
|
|
22
22
|
export {
|
|
23
|
-
|
|
23
|
+
f as ButtonIcon
|
|
24
24
|
};
|
|
25
25
|
//# sourceMappingURL=ButtonIcon.js.map
|
|
@@ -12,7 +12,7 @@ import { CalendarView as N } from "./components/CalendarView.js";
|
|
|
12
12
|
import { CalendarFooter as E } from "./components/CalendarFooter.js";
|
|
13
13
|
import { CalendarFooterButton as v } from "./components/CalendarFooterButton.js";
|
|
14
14
|
import { parsePickedDate as f, formatDate as P, getHeader as j } from "./utils.js";
|
|
15
|
-
const q = "
|
|
15
|
+
const q = "calendar__106092e2", L = "adaptive__9f96593b", w = {
|
|
16
16
|
calendar: q,
|
|
17
17
|
adaptive: L
|
|
18
18
|
};
|
|
@@ -133,10 +133,10 @@ class g extends V.PureComponent {
|
|
|
133
133
|
nextButtonProps: u,
|
|
134
134
|
viewButtonProps: C,
|
|
135
135
|
todayButtonProps: T
|
|
136
|
-
} = this.props, { viewMode: A, viewDate: B, header: Y } = this.state,
|
|
136
|
+
} = this.props, { viewMode: A, viewDate: B, header: Y } = this.state, b = R(w.calendar, {
|
|
137
137
|
[w.adaptive]: !!this.props.adaptiveMode
|
|
138
|
-
}),
|
|
139
|
-
return /* @__PURE__ */ h("div", { className:
|
|
138
|
+
}), F = f(this.props.pickedDate, t);
|
|
139
|
+
return /* @__PURE__ */ h("div", { className: b, "data-tx": "1.9.0", children: /* @__PURE__ */ S(
|
|
140
140
|
k.Provider,
|
|
141
141
|
{
|
|
142
142
|
value: {
|
|
@@ -165,7 +165,7 @@ class g extends V.PureComponent {
|
|
|
165
165
|
/* @__PURE__ */ h(
|
|
166
166
|
N,
|
|
167
167
|
{
|
|
168
|
-
pickedDate:
|
|
168
|
+
pickedDate: F,
|
|
169
169
|
dayHtmlAttributes: e,
|
|
170
170
|
monthHtmlAttributes: s,
|
|
171
171
|
yearHtmlAttributes: i
|
|
@@ -8,7 +8,7 @@ import { EButtonIconShape as E, EButtonTheme as L } from "../../Button/enums.js"
|
|
|
8
8
|
import { ECalendarViewMode as e } from "../enums.js";
|
|
9
9
|
import { globalLimitRange as O } from "../../../consts/DateConst.js";
|
|
10
10
|
import { EComponentSize as V } from "../../../enums/EComponentSize.js";
|
|
11
|
-
const U = "
|
|
11
|
+
const U = "calendarControls__a7d0e907", j = {
|
|
12
12
|
calendarControls: U
|
|
13
13
|
}, X = ({
|
|
14
14
|
children: m,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
const e = "
|
|
2
|
+
const e = "calendarFooter__25acfce7", r = {
|
|
3
3
|
calendarFooter: e
|
|
4
4
|
}, t = ({ children: o }) => /* @__PURE__ */ a("div", { className: r.calendarFooter, children: o });
|
|
5
5
|
t.displayName = "CalendarFooter";
|
|
@@ -4,7 +4,7 @@ import { useContext as R, useCallback as O, useState as L, useEffect as q } from
|
|
|
4
4
|
import { isDateOutOfRange as g, isDayDisabled as z } from "../utils.js";
|
|
5
5
|
import { WEEKDAYS_SET as J } from "../../../consts/DateConst.js";
|
|
6
6
|
import { CalendarViewContext as Q } from "../CalendarViewContext.js";
|
|
7
|
-
import { s as y, C as X } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as y, C as X } from "../../../chunks/CalendarViewItem-DXg4wwUA.js";
|
|
8
8
|
import { isKey as d } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarDateMarkType as Z, ECalendarViewMode as E } from "../enums.js";
|
|
10
10
|
import { CalendarContext as ee } from "../CalendarContext.js";
|
|
@@ -4,7 +4,7 @@ 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-DXg4wwUA.js";
|
|
8
8
|
export {
|
|
9
9
|
C as CalendarViewItem
|
|
10
10
|
};
|
|
@@ -4,7 +4,7 @@ import { k as h } from "../../../chunks/vendor-D3hUOusX.js";
|
|
|
4
4
|
import { CalendarContext as G } from "../CalendarContext.js";
|
|
5
5
|
import { CalendarViewContext as H } from "../CalendarViewContext.js";
|
|
6
6
|
import { isDateOutOfRange as R } from "../utils.js";
|
|
7
|
-
import { s as K, C as B } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as K, C as B } from "../../../chunks/CalendarViewItem-DXg4wwUA.js";
|
|
8
8
|
import { isKey as l } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarPickType as U, ECalendarViewMode as u } from "../enums.js";
|
|
10
10
|
const Z = ({ pickedDate: r, monthHtmlAttributes: T = {} }) => {
|