@sberbusiness/triplex-next 0.12.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/chunks/AlertProcessSpoiler-DQAI3bgu.js +39 -0
- package/chunks/{CalendarViewItem-B7_R_3t_.js → CalendarViewItem-DML7yFTS.js} +23 -23
- package/chunks/Card.module-Bg8-F1uZ.js +17 -0
- package/chunks/CheckboxTreeExtended.module-CZ2ujs_6.js +14 -0
- package/chunks/{Chip-BiNNkTCM.js → Chip-CI3sEzkq.js} +10 -10
- package/chunks/Confirm.module-C3SyV40Z.js +15 -0
- package/chunks/{DropdownListItem-BxEqWaJ8.js → DropdownListItem-9VgfsLJP.js} +6 -6
- package/chunks/DropdownMobile.module-BLKzmRLM.js +23 -0
- package/chunks/Footer.module-D83FlUYZ.js +9 -0
- package/chunks/{FormFieldInput-B4hNuHJx.js → FormFieldInput-DurMmok0.js} +18 -18
- package/chunks/HeaderLayoutSidebar.module-BhhWfVc-.js +9 -0
- package/chunks/HeaderTabs.module-11xkKwN7.js +9 -0
- package/chunks/{HeaderTitle.module-DlNyNird.js → HeaderTitle.module-e8_DcucZ.js} +2 -2
- package/chunks/IslandAccordion.module-C6INnFmn.js +25 -0
- package/chunks/IslandWidgetFooter.module-q--xXUCF.js +9 -0
- package/chunks/IslandWidgetHeader.module-CcgfF5TF.js +9 -0
- package/chunks/{LightBoxContent-DBZCrC3l.js → LightBoxContent-Dpu6E3Cr.js} +10 -10
- package/chunks/LightBoxControls.module-BkW_w9PJ.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-DAHE1sRE.js +8 -0
- package/chunks/{ListItemControlsButton-B7xM1V5l.js → ListItemControlsButton-BMsTQr9O.js} +9 -9
- package/chunks/ListItemTail.module-CcT-PrXt.js +12 -0
- package/chunks/ListMasterFooter.module-CV05gXbo.js +10 -0
- package/chunks/ModalWindow.module-DlNg_kPu.js +17 -0
- package/chunks/Notification.module-C5D-8Dtt.js +21 -0
- package/chunks/Overlay.module-3QvWfMgh.js +18 -0
- package/chunks/Page.module-BV59uicx.js +11 -0
- package/chunks/{RightBorderArrow-qUNK7k_Z.js → RightBorderArrow-BQ_cZ8U3.js} +8 -8
- package/chunks/SMSField.module-BL9kkhHx.js +16 -0
- package/chunks/SliderExtendedMarks.module-Crtr3nYM.js +15 -0
- package/chunks/{SliderExtendedRail-fxB35VnJ.js → SliderExtendedRail-oI7nifMP.js} +10 -10
- package/chunks/StatusTracker.module-CtjfmWAE.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-BRLUCupu.js → SuggestFieldMobileDropdownHint-Bilm-Pwh.js} +4 -4
- package/chunks/TableFooter.module-Bq2Lm9CG.js +14 -0
- package/chunks/TabsExtended.module-D0-Tp3Ed.js +16 -0
- package/chunks/TabsLine.module-D0stwkA6.js +21 -0
- package/chunks/TooltipDesktop.module-DUucrF7X.js +19 -0
- package/chunks/TreeView.module-CEYl8PNr.js +9 -0
- package/chunks/UploadZoneInput-CfYPrkK_.js +33 -0
- package/chunks/{utils-D3BbfI4I.js → utils-16fU9G4P.js} +6 -6
- package/chunks/utils-Bu0wcDBu.js +73 -0
- package/chunks/{utils-bltVmJ1Y.js → utils-CC47I1cc.js} +5 -5
- package/chunks/{utils-pT3qplA1.js → utils-Ccw--G8d.js} +4 -4
- package/chunks/{utils-Kc2jGbAd.js → utils-SerS_ys8.js} +5 -5
- package/components/Alert/AlertContext/AlertContext.js +5 -5
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +2 -2
- package/components/AmountField/AmountField.js +7 -7
- package/components/Avatar/Avatar.js +27 -0
- package/components/Avatar/enums.js +5 -0
- package/components/Avatar/index.js +7 -0
- package/components/Avatar/types.js +2 -0
- package/components/Body/Body.js +4 -4
- package/components/Button/Button.js +33 -33
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +39 -39
- package/components/Button/ButtonDropdownExtended.js +1 -1
- package/components/Button/ButtonIcon.js +4 -4
- 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 +13 -13
- 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 +1 -1
- package/components/Checkbox/Checkbox.js +11 -11
- package/components/Checkbox/CheckboxXGroup.js +13 -13
- package/components/Checkbox/CheckboxYGroup.js +6 -6
- package/components/CheckboxTree/CheckboxTree.js +14 -13
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +11 -9
- package/components/CheckboxTreeExtended/CheckboxTreeExtendedContext.js +12 -0
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +34 -37
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +38 -45
- package/components/Chip/Chip.js +1 -1
- package/components/Chip/ChipClearButton.js +4 -4
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +1 -1
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +6 -6
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +24 -24
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +8 -8
- package/components/Col/Col.js +130 -130
- package/components/CollapsableTree/components/CollapsableTreeNode.js +7 -7
- 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 +2 -2
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +5 -5
- package/components/DateRange/DateRange.js +13 -13
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/DesignTokensComponents.js +106 -104
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +104 -102
- package/components/DesignTokens/components/Avatar.js +9 -0
- package/components/DesignTokens/components/LightBox.js +1 -1
- package/components/DesignTokens/components/index.js +156 -153
- 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 +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 +1 -1
- package/components/Ellipsis/Ellipsis.js +5 -5
- package/components/ExpandAnimation/ExpandAnimation.js +14 -14
- 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 +51 -45
- package/components/FormField/components/FormFieldClear.js +8 -8
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +7 -7
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +4 -4
- package/components/FormField/components/FormFieldMaskedInput.js +11 -11
- package/components/FormField/components/FormFieldPostfix.js +5 -5
- package/components/FormField/components/FormFieldPrefix.js +8 -8
- package/components/FormField/components/FormFieldTarget.js +6 -6
- package/components/FormField/components/FormFieldTextarea.js +11 -11
- package/components/FormField/index.js +16 -15
- 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 +6 -6
- 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 +41 -42
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +5 -5
- package/components/Island/components/IslandFooter.js +3 -3
- package/components/Island/components/IslandHeader.js +2 -2
- 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 +8 -8
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +4 -4
- 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 +3 -3
- package/components/LightBox/LightBox.js +10 -10
- 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 +7 -7
- 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/LightBoxSidebars/LightBoxLeftSidebar.js +13 -11
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +13 -11
- package/components/Link/Link.js +20 -20
- package/components/List/List.js +3 -3
- package/components/List/components/ListEmptyState.js +1 -1
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +9 -9
- package/components/List/components/ListItemControls.js +5 -5
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +1 -1
- package/components/List/components/ListItemSelectable.js +16 -16
- package/components/List/components/ListItemTable.js +3 -3
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +4 -4
- package/components/List/components/ListSortableItemControls.js +1 -1
- package/components/List/components/ListSortableItemTarget.js +10 -10
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +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 +5 -5
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +5 -5
- package/components/Loader/LoaderSmall/LoaderSmall.js +9 -9
- package/components/LoaderScreen/LoaderScreen.js +12 -12
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +9 -9
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +2 -2
- package/components/ModalWindow/components/ModalWindowClose.js +5 -5
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +1 -1
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +20 -15
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- 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/NotificationIcon/NotificationIcon.js +4 -4
- package/components/NumberField/NumberFieldInput.js +2 -2
- package/components/OrderedList/OrderedList.js +6 -6
- package/components/OrderedList/OrderedListItem.js +6 -6
- 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 +8 -8
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +8 -8
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +1 -1
- package/components/Pagination/components/PaginationPageEllipsis.js +1 -1
- package/components/Pagination/components/PaginationSelect.js +4 -4
- package/components/Radio/Radio.js +6 -6
- package/components/Radio/RadioXGroup.js +7 -7
- package/components/Radio/RadioYGroup.js +7 -7
- package/components/Row/Row.js +5 -5
- package/components/SMSField/SMSField.js +2 -2
- package/components/SMSField/components/RefreshIcon.js +1 -1
- package/components/SMSField/components/SMSFieldInput.js +2 -2
- package/components/SMSField/components/SMSFieldRefresh.js +1 -1
- package/components/SMSField/components/SMSFieldSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +10 -10
- package/components/SegmentedControl/SegmentedControlSegment.js +12 -12
- package/components/SelectExtendedField/SelectExtendedField.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +89 -81
- 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 +3 -3
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +26 -26
- package/components/SmallInput/SmallInput.js +6 -6
- package/components/Spoiler/Spoiler.js +9 -9
- 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 +10 -10
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +10 -10
- 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 +8 -8
- package/components/SuggestField/SuggestField.js +1 -1
- package/components/SuggestField/SuggestFieldTarget.js +1 -1
- package/components/SuggestField/SuggestFieldTargetPostfix.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +5 -5
- 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 +2 -2
- package/components/Table/MasterTable.js +2 -2
- 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 +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +5 -5
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +1 -1
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +5 -5
- package/components/Table/TabsLinePanelLinks.js +5 -5
- 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 +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 +28 -28
- package/components/TagColor/TagColor.js +14 -14
- package/components/TagGroup/TagGroup.js +14 -14
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +2 -2
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +3 -3
- package/components/Tooltip/components/common/TooltipXButton.js +8 -8
- 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 +37 -36
- package/components/TopOverlay/TopOverlay.js +29 -29
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Typography/Caption.js +23 -23
- package/components/Typography/Text.js +25 -25
- package/components/Typography/Title.js +13 -13
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +2 -2
- package/components/UnorderedList/UnorderedListItem.js +2 -2
- package/components/UploadZone/UploadZone.js +68 -90
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +554 -549
- package/index.d.ts +59 -23
- package/index.js +598 -593
- package/package.json +6 -2
- package/styles/triplex-next.css +534 -533
- package/chunks/AlertProcessSpoiler-SFMiAq2e.js +0 -39
- package/chunks/Card.module-B8eF0PyT.js +0 -17
- package/chunks/CheckboxTreeExtended.module-BL2GvhSW.js +0 -11
- package/chunks/Confirm.module-DtGkChdz.js +0 -15
- package/chunks/DropdownMobile.module-hCX_8o3O.js +0 -23
- package/chunks/Footer.module-CmBv6U70.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-72lLZguP.js +0 -9
- package/chunks/HeaderTabs.module-Cg4Skmf_.js +0 -9
- package/chunks/IslandAccordion.module-CASKTyF5.js +0 -25
- package/chunks/IslandWidgetFooter.module-BOmbhSZq.js +0 -9
- package/chunks/IslandWidgetHeader.module-Bb1VehSy.js +0 -9
- package/chunks/LightBoxControls.module-Bd3m7ZxT.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-BOo9E8eM.js +0 -8
- package/chunks/ListItemTail.module-Cc6Q6gR8.js +0 -12
- package/chunks/ListMasterFooter.module-CPTvVSEg.js +0 -10
- package/chunks/ModalWindow.module-Cjfs_3lX.js +0 -17
- package/chunks/Notification.module-DRNzc662.js +0 -21
- package/chunks/Overlay.module-CyE4VM64.js +0 -18
- package/chunks/Page.module-CiiwZIG0.js +0 -11
- package/chunks/SMSField.module-Df8IlNx3.js +0 -16
- package/chunks/SliderExtendedMarks.module-C3yroPQo.js +0 -15
- package/chunks/StatusTracker.module-C3dx5TPW.js +0 -24
- package/chunks/TableFooter.module-CJATQpk2.js +0 -14
- package/chunks/TabsExtended.module-mbk25DHy.js +0 -16
- package/chunks/TabsLine.module-eLr2Qyu1.js +0 -21
- package/chunks/TooltipDesktop.module-D4l2yNW-.js +0 -19
- package/chunks/TreeView.module-BZTj2oze.js +0 -9
- package/chunks/UploadZoneInput-ZvLsxymO.js +0 -35
- package/chunks/utils-CkEbPHhV.js +0 -73
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx as l, jsxs as x } from "react/jsx-runtime";
|
|
2
2
|
import s, { useRef as F, useLayoutEffect as I } from "react";
|
|
3
3
|
import { TextFieldBase as k } from "../TextField/TextFieldBase.js";
|
|
4
|
-
import "../FormField/
|
|
5
|
-
import { EFormFieldStatus as p } from "../FormField/enums.js";
|
|
4
|
+
import "../FormField/FormField.js";
|
|
6
5
|
import "../FormField/components/FormFieldDescription.js";
|
|
7
6
|
import "../FormField/components/FormFieldCounter.js";
|
|
8
7
|
import "../FormField/components/FormFieldLabel.js";
|
|
9
|
-
import { FormFieldClear as
|
|
8
|
+
import { FormFieldClear as p } from "../FormField/components/FormFieldClear.js";
|
|
10
9
|
import "../FormField/components/FormFieldTarget.js";
|
|
11
|
-
import { F as
|
|
10
|
+
import { F as w } from "../../chunks/FormFieldInput-DurMmok0.js";
|
|
12
11
|
import "../FormField/components/FormFieldMaskedInput.js";
|
|
13
12
|
import "../FormField/components/FormFieldPostfix.js";
|
|
14
13
|
import "../FormField/components/FormFieldPrefix.js";
|
|
15
14
|
import "../FormField/components/FormFieldTextarea.js";
|
|
15
|
+
import { EFormFieldStatus as A } from "../FormField/enums.js";
|
|
16
16
|
import "../Typography/Title.js";
|
|
17
17
|
import { Text as B } from "../Typography/Text.js";
|
|
18
18
|
import "../Typography/Caption.js";
|
|
@@ -43,12 +43,12 @@ const oe = s.forwardRef(
|
|
|
43
43
|
k,
|
|
44
44
|
{
|
|
45
45
|
postfix: /* @__PURE__ */ x(s.Fragment, { children: [
|
|
46
|
-
f !== void 0 && /* @__PURE__ */ l(
|
|
46
|
+
f !== void 0 && /* @__PURE__ */ l(p, { onClick: f }),
|
|
47
47
|
i !== void 0 && /* @__PURE__ */ l(
|
|
48
48
|
B,
|
|
49
49
|
{
|
|
50
50
|
size: R.B2,
|
|
51
|
-
type: y !==
|
|
51
|
+
type: y !== A.DISABLED ? g.SECONDARY : g.DISABLED,
|
|
52
52
|
"data-test-id": n && `${n}__unit`,
|
|
53
53
|
children: i
|
|
54
54
|
}
|
|
@@ -57,7 +57,7 @@ const oe = s.forwardRef(
|
|
|
57
57
|
] }),
|
|
58
58
|
...h,
|
|
59
59
|
children: /* @__PURE__ */ l(
|
|
60
|
-
|
|
60
|
+
w,
|
|
61
61
|
{
|
|
62
62
|
...r,
|
|
63
63
|
value: E(),
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { EAvatarSize as a } from "./enums.js";
|
|
2
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
3
|
+
import r from "react";
|
|
4
|
+
import { c as l } from "../../chunks/vendor-BARd5eYq.js";
|
|
5
|
+
const _ = "avatar__5b371621", e = "xxs__317232a4", n = "xs__96b0ba01", d = "sm__e4d54ab7", i = "md__cda3ec30", v = "lg__9361cf12", b = "xl__9b1e067b", f = "xxl__b356328a", s = {
|
|
6
|
+
avatar: _,
|
|
7
|
+
xxs: e,
|
|
8
|
+
xs: n,
|
|
9
|
+
sm: d,
|
|
10
|
+
md: i,
|
|
11
|
+
lg: v,
|
|
12
|
+
xl: b,
|
|
13
|
+
xxl: f
|
|
14
|
+
}, p = {
|
|
15
|
+
[a.XXS]: s.xxs,
|
|
16
|
+
[a.XS]: s.xs,
|
|
17
|
+
[a.SM]: s.sm,
|
|
18
|
+
[a.MD]: s.md,
|
|
19
|
+
[a.LG]: s.lg,
|
|
20
|
+
[a.XL]: s.xl,
|
|
21
|
+
[a.XXL]: s.xxl
|
|
22
|
+
}, X = r.forwardRef(({ className: x, size: t, ...o }, m) => /* @__PURE__ */ c("div", { className: l(s.avatar, p[t], x), ...o, ref: m }));
|
|
23
|
+
X.displayName = "Avatar";
|
|
24
|
+
export {
|
|
25
|
+
X as Avatar
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=Avatar.js.map
|
package/components/Body/Body.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import c from "react";
|
|
3
3
|
import { c as t } from "../../chunks/vendor-BARd5eYq.js";
|
|
4
|
-
const y = "
|
|
4
|
+
const y = "body__0c73778e", a = "bodyInner__bc55463d", d = {
|
|
5
5
|
body: y,
|
|
6
|
-
bodyInner:
|
|
7
|
-
}, b =
|
|
6
|
+
bodyInner: a
|
|
7
|
+
}, b = c.forwardRef(({ children: r, className: s, ...e }, n) => /* @__PURE__ */ o("div", { className: t(d.body, s), ...e, "data-tx": "0.13.0", ref: n, children: /* @__PURE__ */ o("div", { className: d.bodyInner, children: r }) }));
|
|
8
8
|
b.displayName = "Body";
|
|
9
9
|
export {
|
|
10
10
|
b as Body
|
|
@@ -5,24 +5,24 @@ import { LoaderSmall as R } from "../Loader/LoaderSmall/LoaderSmall.js";
|
|
|
5
5
|
import { ELoaderSmallTheme as g } 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 o } from "./enums.js";
|
|
9
|
+
import { EComponentSize as s } from "../../enums/EComponentSize.js";
|
|
10
|
+
const A = "general__f7e41f83", B = "expanded__1370813e", u = {
|
|
11
11
|
general: A,
|
|
12
12
|
expanded: B
|
|
13
|
-
}, D = "
|
|
13
|
+
}, D = "secondary__d1341017", T = "expanded__1370813e", x = {
|
|
14
14
|
secondary: D,
|
|
15
15
|
expanded: T
|
|
16
|
-
}, G = "
|
|
16
|
+
}, G = "secondaryLight__60d6e414", I = "expanded__1370813e", h = {
|
|
17
17
|
secondaryLight: G,
|
|
18
18
|
expanded: I
|
|
19
|
-
}, v = "
|
|
19
|
+
}, v = "danger__cdd8cb87", O = "expanded__1370813e", b = {
|
|
20
20
|
danger: v,
|
|
21
21
|
expanded: O
|
|
22
|
-
}, Y = "
|
|
22
|
+
}, Y = "link__23396664", $ = "expanded__1370813e", f = {
|
|
23
23
|
link: Y,
|
|
24
24
|
expanded: $
|
|
25
|
-
}, w = "
|
|
25
|
+
}, w = "button__a444941c", z = "sm__474532ab", M = "icon__ab1b26ae", j = "md__52669f28", H = "lg__d04741c0", K = "block__09ed7319", U = "content__83b14fbd", q = "loading__f4e0fd58", F = "loader__0f06781c", J = "hidden__421d8a2e", e = {
|
|
26
26
|
button: w,
|
|
27
27
|
sm: z,
|
|
28
28
|
icon: M,
|
|
@@ -35,48 +35,48 @@ const A = "general__11bca21f", B = "expanded__addf5b8c", b = {
|
|
|
35
35
|
hidden: J
|
|
36
36
|
}, P = (t, n) => {
|
|
37
37
|
switch (t) {
|
|
38
|
-
case
|
|
39
|
-
return { [
|
|
40
|
-
case
|
|
38
|
+
case o.GENERAL:
|
|
39
|
+
return { [u.general]: !0, [u.expanded]: n };
|
|
40
|
+
case o.SECONDARY:
|
|
41
41
|
return {
|
|
42
|
-
[
|
|
43
|
-
[
|
|
42
|
+
[x.secondary]: !0,
|
|
43
|
+
[x.expanded]: n
|
|
44
44
|
};
|
|
45
|
-
case
|
|
45
|
+
case o.SECONDARY_LIGHT:
|
|
46
46
|
return {
|
|
47
|
-
[
|
|
48
|
-
[
|
|
47
|
+
[h.secondaryLight]: !0,
|
|
48
|
+
[h.expanded]: n
|
|
49
49
|
};
|
|
50
|
-
case
|
|
50
|
+
case o.DANGER:
|
|
51
51
|
return {
|
|
52
|
-
[
|
|
53
|
-
[
|
|
52
|
+
[b.danger]: !0,
|
|
53
|
+
[b.expanded]: n
|
|
54
54
|
};
|
|
55
|
-
case
|
|
55
|
+
case o.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__ */ y(R, { theme:
|
|
71
|
+
const d = [o.SECONDARY, o.SECONDARY_LIGHT].includes(t) ? g.BRAND : g.NEUTRAL;
|
|
72
|
+
return /* @__PURE__ */ y(R, { theme: d, size: n });
|
|
73
73
|
}, W = k.forwardRef((t, n) => {
|
|
74
|
-
const { children:
|
|
74
|
+
const { children: d, 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 && !d },
|
|
80
80
|
// Классы для иконок, начало.
|
|
81
81
|
"hoverable",
|
|
82
82
|
{
|
|
@@ -86,12 +86,12 @@ const A = "general__11bca21f", B = "expanded__addf5b8c", b = {
|
|
|
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
|
+
d
|
|
93
93
|
] }),
|
|
94
|
-
/* @__PURE__ */ y("div", { className: p(e.loader, !
|
|
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 r } from "react/jsx-runtime";
|
|
2
2
|
import a from "react";
|
|
3
|
-
const e = a.forwardRef((t, o) => /* @__PURE__ */ r("button", { type: "button", ...t, "data-tx": "0.
|
|
3
|
+
const e = a.forwardRef((t, o) => /* @__PURE__ */ r("button", { type: "button", ...t, "data-tx": "0.13.0", ref: o }));
|
|
4
4
|
e.displayName = "ButtonBase";
|
|
5
5
|
export {
|
|
6
6
|
e as ButtonBase
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Button as M } from "./Button.js";
|
|
2
2
|
import "./ButtonBase.js";
|
|
3
3
|
import "./ButtonIcon.js";
|
|
4
|
-
import { jsx as
|
|
4
|
+
import { jsx as e, jsxs as B, Fragment as q } from "react/jsx-runtime";
|
|
5
5
|
import F, { useRef as R, useState as V, createElement as x } from "react";
|
|
6
6
|
import { c as w, a as J } from "../../chunks/vendor-BARd5eYq.js";
|
|
7
7
|
import { ButtonDropdownExtended as y } from "./ButtonDropdownExtended.js";
|
|
@@ -9,29 +9,29 @@ import { EButtonDotsTheme as u, EButtonTheme as d } from "./enums.js";
|
|
|
9
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
11
|
import { DropdownListContext as oo } from "../Dropdown/DropdownListContext.js";
|
|
12
|
-
import { DropdownMobileHeader as
|
|
13
|
-
import { DropdownMobileBody as
|
|
12
|
+
import { DropdownMobileHeader as eo } from "../Dropdown/mobile/DropdownMobileHeader.js";
|
|
13
|
+
import { DropdownMobileBody as to } from "../Dropdown/mobile/DropdownMobileBody.js";
|
|
14
14
|
import { DropdownMobileList as ro } from "../Dropdown/mobile/DropdownMobileList.js";
|
|
15
15
|
import { DropdownMobileListItem as no } from "../Dropdown/mobile/DropdownMobileListItem.js";
|
|
16
16
|
import { DropdownMobileClose as co } from "../Dropdown/mobile/DropdownMobileClose.js";
|
|
17
17
|
import { Text as ao } from "../Typography/Text.js";
|
|
18
18
|
import { ETextSize as so } from "../Typography/enums.js";
|
|
19
19
|
import { DropdownList as Y } from "../Dropdown/desktop/DropdownList.js";
|
|
20
|
-
import { EComponentSize as
|
|
21
|
-
const lo = "
|
|
20
|
+
import { EComponentSize as f } from "../../enums/EComponentSize.js";
|
|
21
|
+
const lo = "buttonDropdown__d006de1d", io = "block__09ed7319", mo = "buttonDropdownTarget__ef3e12e3", uo = "caretIcon__d2a0eb53", Do = "active__fff0b5b2", fo = "buttonDropdownMenuItem__144ed46c", n = {
|
|
22
22
|
buttonDropdown: lo,
|
|
23
23
|
block: io,
|
|
24
24
|
buttonDropdownTarget: mo,
|
|
25
25
|
caretIcon: uo,
|
|
26
26
|
active: Do,
|
|
27
|
-
buttonDropdownMenuItem:
|
|
28
|
-
},
|
|
29
|
-
[
|
|
30
|
-
[
|
|
31
|
-
[
|
|
32
|
-
}, g = (
|
|
33
|
-
(
|
|
34
|
-
const { buttonAttributes: _, children: h, className: z, theme:
|
|
27
|
+
buttonDropdownMenuItem: fo
|
|
28
|
+
}, po = {
|
|
29
|
+
[f.SM]: /* @__PURE__ */ e(L, { paletteIndex: 0 }),
|
|
30
|
+
[f.MD]: /* @__PURE__ */ e(L, { paletteIndex: 0 }),
|
|
31
|
+
[f.LG]: /* @__PURE__ */ e(Q, { paletteIndex: 0 })
|
|
32
|
+
}, g = (p, c) => p === f.SM ? /* @__PURE__ */ e(X, { paletteIndex: c, className: n.caretIcon }) : p === f.MD ? /* @__PURE__ */ e(Z, { paletteIndex: c, className: n.caretIcon }) : /* @__PURE__ */ e($, { paletteIndex: c, className: n.caretIcon }), bo = F.forwardRef(
|
|
33
|
+
(p, c) => {
|
|
34
|
+
const { buttonAttributes: _, children: h, className: z, theme: b, size: s, options: C, selected: i, block: S, disabled: T, ...G } = p, k = R(null), v = R(null), W = w(n.buttonDropdown, { [n.block]: !!S }, z), [N, H] = V(), I = R(J()), P = ({ opened: o, setOpened: r }) => {
|
|
35
35
|
const a = w(n.buttonDropdownTarget, "hoverable", {
|
|
36
36
|
[n.active]: o,
|
|
37
37
|
[n.block]: !!S
|
|
@@ -40,7 +40,7 @@ const lo = "buttonDropdown__58dd35ba", io = "block__3ff40bb8", mo = "buttonDropd
|
|
|
40
40
|
M,
|
|
41
41
|
{
|
|
42
42
|
className: a,
|
|
43
|
-
theme:
|
|
43
|
+
theme: b,
|
|
44
44
|
size: s,
|
|
45
45
|
onKeyDown: A({ opened: o, setOpened: r }),
|
|
46
46
|
onClick: E({ opened: o, setOpened: r }),
|
|
@@ -62,11 +62,11 @@ const lo = "buttonDropdown__58dd35ba", io = "block__3ff40bb8", mo = "buttonDropd
|
|
|
62
62
|
[n.active]: o,
|
|
63
63
|
[n.block]: !!S
|
|
64
64
|
});
|
|
65
|
-
return /* @__PURE__ */
|
|
65
|
+
return /* @__PURE__ */ e(
|
|
66
66
|
M,
|
|
67
67
|
{
|
|
68
68
|
className: a,
|
|
69
|
-
theme:
|
|
69
|
+
theme: b === u.DOTS_SECONDARY ? d.SECONDARY : d.SECONDARY_LIGHT,
|
|
70
70
|
size: s,
|
|
71
71
|
onKeyDown: A({ opened: o, setOpened: r }),
|
|
72
72
|
onClick: E({ opened: o, setOpened: r }),
|
|
@@ -77,14 +77,14 @@ const lo = "buttonDropdown__58dd35ba", io = "block__3ff40bb8", mo = "buttonDropd
|
|
|
77
77
|
"aria-activedescendant": N,
|
|
78
78
|
..._,
|
|
79
79
|
ref: O,
|
|
80
|
-
icon:
|
|
80
|
+
icon: po[s]
|
|
81
81
|
}
|
|
82
82
|
);
|
|
83
83
|
}, E = ({ opened: o, setOpened: r }) => () => r(!o), A = ({ opened: o, setOpened: r }) => (a) => {
|
|
84
84
|
const { key: l } = a;
|
|
85
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);
|
|
86
86
|
}, j = () => {
|
|
87
|
-
switch (
|
|
87
|
+
switch (b) {
|
|
88
88
|
case d.GENERAL:
|
|
89
89
|
case d.DANGER:
|
|
90
90
|
case u.DOTS_SECONDARY:
|
|
@@ -98,7 +98,7 @@ const lo = "buttonDropdown__58dd35ba", io = "block__3ff40bb8", mo = "buttonDropd
|
|
|
98
98
|
}
|
|
99
99
|
}, U = ({ opened: o, setOpened: r, className: a }) => {
|
|
100
100
|
const l = w(n.buttonDropdownMenu, a);
|
|
101
|
-
return /* @__PURE__ */
|
|
101
|
+
return /* @__PURE__ */ e(oo.Provider, { value: { activeDescendant: N, setActiveDescendant: H }, children: /* @__PURE__ */ e(
|
|
102
102
|
y.Dropdown,
|
|
103
103
|
{
|
|
104
104
|
size: s,
|
|
@@ -109,53 +109,53 @@ const lo = "buttonDropdown__58dd35ba", io = "block__3ff40bb8", mo = "buttonDropd
|
|
|
109
109
|
ref: v,
|
|
110
110
|
mobileViewProps: {
|
|
111
111
|
children: /* @__PURE__ */ B(q, { children: [
|
|
112
|
-
/* @__PURE__ */
|
|
113
|
-
|
|
112
|
+
/* @__PURE__ */ e(
|
|
113
|
+
eo,
|
|
114
114
|
{
|
|
115
|
-
controlButtons: /* @__PURE__ */
|
|
116
|
-
children: /* @__PURE__ */
|
|
115
|
+
controlButtons: /* @__PURE__ */ e(co, { onClick: () => r(!1) }),
|
|
116
|
+
children: /* @__PURE__ */ e(ao, { tag: "div", size: so.B3, children: h })
|
|
117
117
|
}
|
|
118
118
|
),
|
|
119
|
-
/* @__PURE__ */
|
|
119
|
+
/* @__PURE__ */ e(to, { children: /* @__PURE__ */ e(ro, { children: C.map((t) => /* @__PURE__ */ x(
|
|
120
120
|
no,
|
|
121
121
|
{
|
|
122
|
-
...
|
|
123
|
-
key:
|
|
124
|
-
selected:
|
|
122
|
+
...t,
|
|
123
|
+
key: t.id,
|
|
124
|
+
selected: t.id === (i == null ? void 0 : i.id),
|
|
125
125
|
onSelect: () => {
|
|
126
126
|
var m;
|
|
127
|
-
(m =
|
|
127
|
+
(m = t.onSelect) == null || m.call(t), r(!1);
|
|
128
128
|
}
|
|
129
129
|
},
|
|
130
|
-
|
|
130
|
+
t.label
|
|
131
131
|
)) }) })
|
|
132
132
|
] })
|
|
133
133
|
},
|
|
134
|
-
children: /* @__PURE__ */
|
|
134
|
+
children: /* @__PURE__ */ e(Y, { dropdownOpened: o, id: I.current, size: s, children: C.map((t) => /* @__PURE__ */ x(
|
|
135
135
|
Y.Item,
|
|
136
136
|
{
|
|
137
|
-
...
|
|
137
|
+
...t,
|
|
138
138
|
className: n.buttonDropdownMenuItem,
|
|
139
|
-
key:
|
|
140
|
-
selected:
|
|
139
|
+
key: t.id,
|
|
140
|
+
selected: t.id === (i == null ? void 0 : i.id),
|
|
141
141
|
onSelect: () => {
|
|
142
142
|
var m;
|
|
143
|
-
(m =
|
|
143
|
+
(m = t.onSelect) == null || m.call(t), r(!1);
|
|
144
144
|
}
|
|
145
145
|
},
|
|
146
|
-
|
|
146
|
+
t.label
|
|
147
147
|
)) })
|
|
148
148
|
}
|
|
149
149
|
) });
|
|
150
150
|
}, O = (o) => {
|
|
151
151
|
k.current = o, typeof c == "function" ? c(o) : c && (c.current = o);
|
|
152
152
|
};
|
|
153
|
-
return /* @__PURE__ */
|
|
153
|
+
return /* @__PURE__ */ e(
|
|
154
154
|
y,
|
|
155
155
|
{
|
|
156
156
|
className: W,
|
|
157
157
|
renderButton: [u.DOTS_SECONDARY, u.DOTS_SECONDARY_LIGHT].includes(
|
|
158
|
-
|
|
158
|
+
b
|
|
159
159
|
) ? K : P,
|
|
160
160
|
renderDropdown: U,
|
|
161
161
|
dropdownRef: v,
|
|
@@ -165,8 +165,8 @@ const lo = "buttonDropdown__58dd35ba", io = "block__3ff40bb8", mo = "buttonDropd
|
|
|
165
165
|
);
|
|
166
166
|
}
|
|
167
167
|
);
|
|
168
|
-
|
|
168
|
+
bo.displayName = "ButtonDropdown";
|
|
169
169
|
export {
|
|
170
|
-
|
|
170
|
+
bo as ButtonDropdown
|
|
171
171
|
};
|
|
172
172
|
//# sourceMappingURL=ButtonDropdown.js.map
|
|
@@ -4,7 +4,7 @@ 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-BARd5eYq.js";
|
|
7
|
-
const K = "
|
|
7
|
+
const K = "buttonDropdownExtended__f0555467", S = "buttonDropdownExtendedBlock__c7179cab", E = {
|
|
8
8
|
buttonDropdownExtended: K,
|
|
9
9
|
buttonDropdownExtendedBlock: S
|
|
10
10
|
}, D = (s) => {
|
|
@@ -2,7 +2,7 @@ import { jsx as l } from "react/jsx-runtime";
|
|
|
2
2
|
import u from "react";
|
|
3
3
|
import { c as m } from "../../chunks/vendor-BARd5eYq.js";
|
|
4
4
|
import { EButtonIconShape as o } from "./enums.js";
|
|
5
|
-
const p = "
|
|
5
|
+
const p = "buttonIcon__2a026064", I = "circle__4414d652", b = "squircle__210245b7", t = {
|
|
6
6
|
buttonIcon: p,
|
|
7
7
|
circle: I,
|
|
8
8
|
squircle: b
|
|
@@ -10,9 +10,9 @@ const p = "buttonIcon__c7858dfd", I = "circle__4d35ae56", b = "squircle__eb20aaf
|
|
|
10
10
|
[o.SQUIRCLE]: t.squircle,
|
|
11
11
|
[o.CIRCLE]: t.circle
|
|
12
12
|
}, _ = u.forwardRef(
|
|
13
|
-
({ className:
|
|
14
|
-
const i = m(t.buttonIcon, f[
|
|
15
|
-
active: !!
|
|
13
|
+
({ className: n, disabled: c, shape: s = o.SQUIRCLE, active: e, ...r }, a) => {
|
|
14
|
+
const i = m(t.buttonIcon, f[s], "hoverable", n, {
|
|
15
|
+
active: !!e,
|
|
16
16
|
disabled: !!c
|
|
17
17
|
});
|
|
18
18
|
return /* @__PURE__ */ l("button", { type: "button", className: i, disabled: c, ...r, ref: a });
|
|
@@ -12,7 +12,7 @@ import { CalendarView as _ } from "./components/CalendarView.js";
|
|
|
12
12
|
import { CalendarFooter as j } 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 E } from "./utils.js";
|
|
15
|
-
const q = "
|
|
15
|
+
const q = "calendar__522a20a9", L = "adaptive__1e35e9a4", k = {
|
|
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, F = R(k.calendar, {
|
|
137
137
|
[k.adaptive]: !!this.props.adaptiveMode
|
|
138
|
-
}),
|
|
139
|
-
return /* @__PURE__ */ h("div", { className:
|
|
138
|
+
}), b = f(this.props.pickedDate, t);
|
|
139
|
+
return /* @__PURE__ */ h("div", { className: F, "data-tx": "0.13.0", children: /* @__PURE__ */ S(
|
|
140
140
|
w.Provider,
|
|
141
141
|
{
|
|
142
142
|
value: {
|
|
@@ -165,7 +165,7 @@ class g extends V.PureComponent {
|
|
|
165
165
|
/* @__PURE__ */ h(
|
|
166
166
|
_,
|
|
167
167
|
{
|
|
168
|
-
pickedDate:
|
|
168
|
+
pickedDate: b,
|
|
169
169
|
dayHtmlAttributes: e,
|
|
170
170
|
monthHtmlAttributes: s,
|
|
171
171
|
yearHtmlAttributes: i
|
|
@@ -8,7 +8,7 @@ import { EButtonIconShape as b, EButtonTheme as L } from "../../Button/enums.js"
|
|
|
8
8
|
import { ECalendarViewMode as e } from "../enums.js";
|
|
9
9
|
import { globalLimitRange as E } from "../../../consts/DateConst.js";
|
|
10
10
|
import { EComponentSize as V } from "../../../enums/EComponentSize.js";
|
|
11
|
-
const U = "
|
|
11
|
+
const U = "calendarControls__86fc3ab4", j = {
|
|
12
12
|
calendarControls: U
|
|
13
13
|
}, X = ({
|
|
14
14
|
children: m,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
const a = "
|
|
2
|
+
const a = "calendarFooter__ede84cfc", r = {
|
|
3
3
|
calendarFooter: a
|
|
4
4
|
}, t = ({ children: e }) => /* @__PURE__ */ o("div", { className: r.calendarFooter, children: e });
|
|
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-DML7yFTS.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-DML7yFTS.js";
|
|
8
8
|
export {
|
|
9
9
|
C as CalendarViewItem
|
|
10
10
|
};
|
|
@@ -4,7 +4,7 @@ import { j as h } from "../../../chunks/vendor-BARd5eYq.js";
|
|
|
4
4
|
import { CalendarContext as H } from "../CalendarContext.js";
|
|
5
5
|
import { CalendarViewContext as K } from "../CalendarViewContext.js";
|
|
6
6
|
import { isDateOutOfRange as R } from "../utils.js";
|
|
7
|
-
import { s as j, C as k } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as j, C as k } from "../../../chunks/CalendarViewItem-DML7yFTS.js";
|
|
8
8
|
import { isKey as l } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarPickType as B, ECalendarViewMode as u } from "../enums.js";
|
|
10
10
|
const Z = ({ pickedDate: r, monthHtmlAttributes: T = {} }) => {
|
|
@@ -4,7 +4,7 @@ import { j as w } from "../../../chunks/vendor-BARd5eYq.js";
|
|
|
4
4
|
import { CalendarContext as N } from "../CalendarContext.js";
|
|
5
5
|
import { CalendarViewContext as G } from "../CalendarViewContext.js";
|
|
6
6
|
import { isDateOutOfRange as O } from "../utils.js";
|
|
7
|
-
import { s as K, C as j } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as K, C as j } from "../../../chunks/CalendarViewItem-DML7yFTS.js";
|
|
8
8
|
import { isKey as i } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarViewMode as y } from "../enums.js";
|
|
10
10
|
const Q = ({ pickedDate: s, yearHtmlAttributes: S = {} }) => {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
var y = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var o = (c, i, e) =>
|
|
4
|
-
import { jsx as
|
|
2
|
+
var R = (c, i, e) => i in c ? y(c, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[i] = e;
|
|
3
|
+
var o = (c, i, e) => R(c, typeof i != "symbol" ? i + "" : i, e);
|
|
4
|
+
import { jsx as T } from "react/jsx-runtime";
|
|
5
5
|
import u from "react";
|
|
6
|
-
import { CardContent as
|
|
6
|
+
import { CardContent as b } from "./components/CardContent/CardContent.js";
|
|
7
7
|
import { CardMedia as M } from "./components/CardMedia.js";
|
|
8
8
|
import { ECardRoundingSize as w, ECardTheme as x } from "./enums.js";
|
|
9
9
|
import { EFocusSource as r } from "../../enums/EFocusSource.js";
|
|
10
10
|
import { mapCardRoundingSizeToCssClass as K, mapCardThemeToCssClass as _ } from "./utils.js";
|
|
11
|
-
import { isKey as
|
|
11
|
+
import { isKey as f } from "../../utils/keyboard.js";
|
|
12
12
|
import { c as k } from "../../chunks/vendor-BARd5eYq.js";
|
|
13
|
-
import { c as B } from "../../chunks/Card.module-
|
|
14
|
-
const O = "
|
|
13
|
+
import { c as B } from "../../chunks/Card.module-Bg8-F1uZ.js";
|
|
14
|
+
const O = "action__74719242", F = "selected__9ef7d141", V = "focusVisible__ea567f7f", a = {
|
|
15
15
|
action: O,
|
|
16
16
|
selected: F,
|
|
17
17
|
focusVisible: V
|
|
@@ -35,7 +35,7 @@ class l extends u.Component {
|
|
|
35
35
|
});
|
|
36
36
|
o(this, "handleKeyDown", (e) => {
|
|
37
37
|
const { onKeyDown: s } = this.props;
|
|
38
|
-
s == null || s(e),
|
|
38
|
+
s == null || s(e), f(e.keyCode, "SPACE") ? (e.preventDefault(), this.handleToggle()) : f(e.keyCode, "ENTER") && this.handleToggle();
|
|
39
39
|
});
|
|
40
40
|
o(this, "handleFocus", (e) => {
|
|
41
41
|
const { onFocus: s } = this.props, { focusSource: t } = this.state, { current: n } = this.ref;
|
|
@@ -66,7 +66,7 @@ class l extends u.Component {
|
|
|
66
66
|
onKeyDown: d,
|
|
67
67
|
onFocus: h,
|
|
68
68
|
onBlur: z,
|
|
69
|
-
roundingSize:
|
|
69
|
+
roundingSize: p = w.MD,
|
|
70
70
|
onToggle: A,
|
|
71
71
|
selected: m,
|
|
72
72
|
toggle: U,
|
|
@@ -76,14 +76,14 @@ class l extends u.Component {
|
|
|
76
76
|
B.card,
|
|
77
77
|
a.action,
|
|
78
78
|
_[S],
|
|
79
|
-
K[
|
|
79
|
+
K[p],
|
|
80
80
|
{
|
|
81
81
|
[a.focusVisible]: D === r.KEYBOARD,
|
|
82
82
|
[a.selected]: E ? !!m : g
|
|
83
83
|
},
|
|
84
84
|
s
|
|
85
85
|
);
|
|
86
|
-
return /* @__PURE__ */
|
|
86
|
+
return /* @__PURE__ */ T(
|
|
87
87
|
"div",
|
|
88
88
|
{
|
|
89
89
|
className: N,
|
|
@@ -96,13 +96,13 @@ class l extends u.Component {
|
|
|
96
96
|
role: "button",
|
|
97
97
|
...C,
|
|
98
98
|
ref: this.ref,
|
|
99
|
-
"data-tx": "0.
|
|
99
|
+
"data-tx": "0.13.0",
|
|
100
100
|
children: e
|
|
101
101
|
}
|
|
102
102
|
);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
o(l, "displayName", "CardAction"), o(l, "Content",
|
|
105
|
+
o(l, "displayName", "CardAction"), o(l, "Content", b), o(l, "Media", M);
|
|
106
106
|
export {
|
|
107
107
|
l as CardAction
|
|
108
108
|
};
|