@sberbusiness/triplex-next 1.12.0 → 1.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-2ISgLMAv.js → AlertProcessSpoiler-CKP4h8-E.js} +10 -10
- package/chunks/CalendarViewItem-h3bxNCuW.js +101 -0
- package/chunks/Card.module-bJptPqpj.js +17 -0
- package/chunks/CheckboxTreeExtended.module-bphUNnbQ.js +14 -0
- package/chunks/{Chip-DAuhowke.js → Chip-DaZ9JtW-.js} +16 -16
- package/chunks/Confirm.module-BF4VDMnq.js +15 -0
- package/chunks/{DropdownListItem-Dd97YDii.js → DropdownListItem-D52nAe3Z.js} +12 -12
- package/chunks/DropdownMobile.module-ClkvaJLd.js +23 -0
- package/chunks/Footer.module-QvomhMbc.js +9 -0
- package/chunks/{FormFieldInput-CkbWg1jd.js → FormFieldInput-GtoWWQRE.js} +15 -15
- package/chunks/HeaderLayoutSidebar.module-OCqAbr7a.js +9 -0
- package/chunks/HeaderTabs.module-jYlPSHw3.js +9 -0
- package/chunks/{HeaderTitle.module-B5-wunmu.js → HeaderTitle.module-Bvdyra1H.js} +2 -2
- package/chunks/IslandAccordion.module-Z_pjfKJd.js +25 -0
- package/chunks/IslandWidgetFooter.module-ChRxDXcv.js +9 -0
- package/chunks/IslandWidgetHeader.module-RRcKD0BV.js +9 -0
- package/chunks/{LightBoxContent-CkXwpIcr.js → LightBoxContent-BXDZ6C5k.js} +15 -15
- package/chunks/LightBoxControls.module-BkOqYjOz.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-CeFQNtqn.js +8 -0
- package/chunks/{ListItemControlsButton-CzGamwTx.js → ListItemControlsButton-BHqWsm74.js} +14 -14
- package/chunks/ListItemTail.module-CunfwMYT.js +12 -0
- package/chunks/ListMasterFooter.module-Dtv2xqml.js +10 -0
- package/chunks/ModalWindow.module-BHX3St6k.js +17 -0
- package/chunks/Notification.module-C4_TLm8a.js +21 -0
- package/chunks/Overlay.module-B6Jld0v6.js +18 -0
- package/chunks/Page.module-2EjEIDnt.js +11 -0
- package/chunks/{RightBorderArrow-DCUUrij3.js → RightBorderArrow-BomPWl1J.js} +16 -16
- package/chunks/SMSField.module-BKVjFcIn.js +16 -0
- package/chunks/SliderExtendedMarks.module-BGXnGEBx.js +15 -0
- package/chunks/{SliderExtendedRail-BGydR8-k.js → SliderExtendedRail-D96vBE1q.js} +11 -11
- package/chunks/StatusTracker.module-BKem67MH.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-B1y2_WeW.js → SuggestFieldMobileDropdownHint-CmJLz6qx.js} +2 -2
- package/chunks/TableFooter.module-BAduw_pb.js +14 -0
- package/chunks/TabsExtended.module-D_KXJPSZ.js +16 -0
- package/chunks/TabsLine.module-COfUYGXF.js +21 -0
- package/chunks/TooltipDesktop.module-CG3_T63F.js +19 -0
- package/chunks/TreeView.module-CtJTgfbr.js +9 -0
- package/chunks/UploadZoneInput-scXVyf90.js +33 -0
- package/chunks/{utils-x7NpEaSu.js → utils-B-KTHE01.js} +5 -5
- package/chunks/{utils-BxluXyQN.js → utils-C_xmindK.js} +8 -8
- package/chunks/{utils-7DZsULe6.js → utils-CkGPjHGm.js} +6 -6
- package/chunks/utils-esDpM0b2.js +24 -0
- package/chunks/utils-yLrEzIHN.js +36 -0
- package/components/Alert/AlertContext/AlertContext.js +10 -10
- 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 +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 +8 -8
- package/components/Button/Button.js +23 -23
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +38 -38
- package/components/Button/ButtonDropdownExtended.js +4 -4
- package/components/Button/ButtonIcon.js +6 -6
- package/components/Calendar/Calendar.js +2 -2
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +3 -3
- 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 +15 -15
- 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 +14 -14
- package/components/Checkbox/CheckboxXGroup.js +11 -11
- package/components/Checkbox/CheckboxYGroup.js +3 -3
- 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 +5 -5
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +4 -4
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +2 -2
- 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 +2 -2
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +11 -11
- package/components/Col/Col.js +136 -136
- package/components/CollapsableTree/components/CollapsableTreeNode.js +6 -6
- 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 +1 -1
- package/components/DateRange/DateRange.js +17 -17
- 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 +4 -4
- package/components/Dropdown/desktop/DropdownDesktop.js +14 -14
- 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 +4 -4
- package/components/Ellipsis/Ellipsis.js +11 -11
- package/components/ExpandAnimation/ExpandAnimation.js +1 -1
- 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 +52 -46
- package/components/FormField/components/FormFieldClear.js +6 -6
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +9 -9
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +8 -8
- package/components/FormField/components/FormFieldMaskedInput.js +14 -14
- package/components/FormField/components/FormFieldPostfix.js +1 -1
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- 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 +2 -2
- 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 +43 -44
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +5 -5
- 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 +6 -6
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +10 -10
- 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 +20 -20
- 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 +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +13 -11
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +14 -12
- package/components/Link/Link.js +19 -19
- package/components/List/List.js +2 -2
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +9 -9
- package/components/List/components/ListItemControls.js +1 -1
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +1 -1
- package/components/List/components/ListItemSelectable.js +7 -7
- package/components/List/components/ListItemTable.js +1 -1
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +6 -6
- 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 +7 -7
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +12 -12
- package/components/Loader/LoaderSmall/LoaderSmall.js +5 -5
- package/components/LoaderScreen/LoaderScreen.js +8 -8
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +12 -12
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +2 -2
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- 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 +20 -15
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +5 -5
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/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 +5 -5
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +4 -4
- package/components/Pagination/components/PaginationPageEllipsis.js +1 -1
- package/components/Pagination/components/PaginationSelect.js +8 -8
- package/components/Radio/Radio.js +12 -12
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +3 -3
- package/components/Row/Row.js +7 -7
- 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 +3 -3
- package/components/SegmentedControl/SegmentedControlSegment.js +8 -8
- package/components/SelectExtendedField/SelectExtendedField.js +10 -10
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +90 -82
- package/components/Skeleton/Skeleton.js +9 -9
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +20 -20
- 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 +6 -6
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +32 -32
- package/components/SmallInput/SmallInput.js +3 -3
- package/components/Spoiler/Spoiler.js +17 -17
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +1 -1
- package/components/StatusTracker/components/StatusTrackerDescription.js +1 -1
- package/components/StatusTracker/components/StatusTrackerFooter.js +1 -1
- package/components/StatusTracker/components/StatusTrackerHeader.js +1 -1
- package/components/StatusTracker/components/StatusTrackerMedia.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatus.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +6 -6
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +8 -8
- package/components/Stepper/StepperExtended.js +4 -4
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperWrapper.js +2 -2
- package/components/Suggest/SuggestMobileDropdownContent.js +12 -12
- 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 +16 -16
- 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 +12 -12
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +2 -2
- package/components/Table/NoColumns.js +1 -1
- package/components/Table/PaginationPanel.js +2 -2
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +7 -7
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +6 -6
- 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 +4 -4
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +6 -6
- package/components/Table/TabsLinePanelLinks.js +1 -1
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +32 -31
- 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 +5 -5
- package/components/Tag/Tag.js +25 -25
- package/components/TagColor/TagColor.js +12 -12
- package/components/TagGroup/TagGroup.js +11 -11
- 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 +7 -7
- 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 +33 -32
- package/components/TopOverlay/TopOverlay.js +24 -24
- 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 +13 -13
- package/components/Typography/Text.js +16 -16
- package/components/Typography/Title.js +16 -16
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +6 -6
- package/components/UnorderedList/UnorderedListItem.js +6 -6
- 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/CalendarViewItem-DM6giHDZ.js +0 -101
- package/chunks/Card.module-B3p3ckTi.js +0 -17
- package/chunks/CheckboxTreeExtended.module-C9E_PNKd.js +0 -11
- package/chunks/Confirm.module-C8vukyYR.js +0 -15
- package/chunks/DropdownMobile.module-CCITYoi5.js +0 -23
- package/chunks/Footer.module-CvMg6tX7.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-Dsxv0xGF.js +0 -9
- package/chunks/HeaderTabs.module-BByuDFWD.js +0 -9
- package/chunks/IslandAccordion.module-xj0cP0m9.js +0 -25
- package/chunks/IslandWidgetFooter.module-bDnVNRPn.js +0 -9
- package/chunks/IslandWidgetHeader.module-BW5vlxfL.js +0 -9
- package/chunks/LightBoxControls.module-CzUVzNt3.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-DLin9oqm.js +0 -8
- package/chunks/ListItemTail.module-nXIzaumG.js +0 -12
- package/chunks/ListMasterFooter.module-DSwVh_Ga.js +0 -10
- package/chunks/ModalWindow.module-Cve8WlGX.js +0 -17
- package/chunks/Notification.module-CPxgLCeP.js +0 -21
- package/chunks/Overlay.module-CUGc7krZ.js +0 -18
- package/chunks/Page.module-F4pO41fd.js +0 -11
- package/chunks/SMSField.module-DsbfVxJI.js +0 -16
- package/chunks/SliderExtendedMarks.module-gx4fpmmQ.js +0 -15
- package/chunks/StatusTracker.module-BfU9IGap.js +0 -24
- package/chunks/TableFooter.module-B85spOme.js +0 -14
- package/chunks/TabsExtended.module-D5Cengc4.js +0 -16
- package/chunks/TabsLine.module-BIWiErhn.js +0 -21
- package/chunks/TooltipDesktop.module-BHooJ0zu.js +0 -19
- package/chunks/TreeView.module-BlFF2oGU.js +0 -9
- package/chunks/UploadZoneInput-BERiqnOn.js +0 -35
- package/chunks/utils-BSFj4o72.js +0 -24
- package/chunks/utils-Bn_7-Ayu.js +0 -36
|
@@ -3,7 +3,7 @@ import P, { useState as n } from "react";
|
|
|
3
3
|
import { EAlertType as t } from "../EAlertType.js";
|
|
4
4
|
import { alertTypeToClassNameMap as k } from "../AlertTypeUtils.js";
|
|
5
5
|
import { ButtonIcon as v } from "../../Button/ButtonIcon.js";
|
|
6
|
-
import { s as r, A as i } from "../../../chunks/AlertProcessSpoiler-
|
|
6
|
+
import { s as r, A as i } from "../../../chunks/AlertProcessSpoiler-CKP4h8-E.js";
|
|
7
7
|
import { AlertProcessContext as R } from "./AlertProcessContext.js";
|
|
8
8
|
import { CrossStrokeSrvIcon16 as E, DefaulticonStrokePrdIcon20 as T, SystemStrokeStsIcon20 as y, ErrorStrokeStsIcon20 as j, WarningStrokeStsIcon20 as w, InfoStrokeStsIcon20 as B } from "@sberbusiness/icons-next";
|
|
9
9
|
import { c as C } from "../../../chunks/vendor-CwhnMZ7o.js";
|
|
@@ -38,7 +38,7 @@ const O = (o) => {
|
|
|
38
38
|
d
|
|
39
39
|
),
|
|
40
40
|
...f,
|
|
41
|
-
"data-tx": "1.
|
|
41
|
+
"data-tx": "1.13.0",
|
|
42
42
|
ref: u,
|
|
43
43
|
children: [
|
|
44
44
|
/* @__PURE__ */ e("div", { className: r.themeIcon, children: l || O(a) }),
|
|
@@ -3,7 +3,7 @@ import "react";
|
|
|
3
3
|
import "@sberbusiness/icons-next";
|
|
4
4
|
import "../../../Button/ButtonIcon.js";
|
|
5
5
|
import "../AlertProcessContext.js";
|
|
6
|
-
import { A as l } from "../../../../chunks/AlertProcessSpoiler-
|
|
6
|
+
import { A as l } from "../../../../chunks/AlertProcessSpoiler-CKP4h8-E.js";
|
|
7
7
|
import "../../../../chunks/vendor-CwhnMZ7o.js";
|
|
8
8
|
export {
|
|
9
9
|
l as AlertProcessSpoiler
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { formatAmount as
|
|
3
|
-
import { c as
|
|
4
|
-
const N = "
|
|
1
|
+
import { jsxs as d, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { formatAmount as u } from "../../utils/amountUtils.js";
|
|
3
|
+
import { c as f } from "../../chunks/vendor-CwhnMZ7o.js";
|
|
4
|
+
const N = "adaptive__883a13a3", _ = {
|
|
5
5
|
adaptive: N
|
|
6
6
|
}, h = 14, v = ({
|
|
7
7
|
className: o,
|
|
@@ -13,18 +13,18 @@ const N = "adaptive__2bfff0dd", _ = {
|
|
|
13
13
|
dataTestId: a,
|
|
14
14
|
...i
|
|
15
15
|
}) => {
|
|
16
|
-
let t =
|
|
16
|
+
let t = u(r, s);
|
|
17
17
|
t[0] == "-" && (t = t.replace("-", "−"));
|
|
18
18
|
const p = () => [
|
|
19
19
|
" ",
|
|
20
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__ */
|
|
27
|
+
return /* @__PURE__ */ d("span", { className: l, ...i, "data-tx": "1.13.0", children: [
|
|
28
28
|
/* @__PURE__ */ n("span", { "data-test-id": a && `${a}__amount`, children: t }),
|
|
29
29
|
e && p()
|
|
30
30
|
] });
|
|
@@ -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 _ } from "../TextField/TextFieldBase.js";
|
|
4
|
-
import "../FormField/
|
|
5
|
-
import { EFormFieldStatus as k } 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 k } from "../FormField/components/FormFieldClear.js";
|
|
10
9
|
import "../FormField/components/FormFieldTarget.js";
|
|
11
|
-
import { F as
|
|
10
|
+
import { F as p } from "../../chunks/FormFieldInput-GtoWWQRE.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 w } from "../FormField/enums.js";
|
|
16
16
|
import "../Typography/Title.js";
|
|
17
17
|
import { Text as A } from "../Typography/Text.js";
|
|
18
18
|
import "../Typography/Caption.js";
|
|
@@ -43,12 +43,12 @@ const oe = s.forwardRef(
|
|
|
43
43
|
_,
|
|
44
44
|
{
|
|
45
45
|
postfix: /* @__PURE__ */ x(s.Fragment, { children: [
|
|
46
|
-
f !== void 0 && /* @__PURE__ */ l(
|
|
46
|
+
f !== void 0 && /* @__PURE__ */ l(k, { onClick: f }),
|
|
47
47
|
i !== void 0 && /* @__PURE__ */ l(
|
|
48
48
|
A,
|
|
49
49
|
{
|
|
50
50
|
size: B.B2,
|
|
51
|
-
type: y !==
|
|
51
|
+
type: y !== w.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
|
+
p,
|
|
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 m } from "react/jsx-runtime";
|
|
3
|
+
import l from "react";
|
|
4
|
+
import { c as r } from "../../chunks/vendor-CwhnMZ7o.js";
|
|
5
|
+
const _ = "avatar__119713ae", f = "xxs__0e97c311", e = "xs__9b3d7a35", n = "sm__2916216f", d = "md__a9b5ccf5", i = "lg__38f2f8ac", v = "xl__78375b2b", p = "xxl__fdc0f584", s = {
|
|
6
|
+
avatar: _,
|
|
7
|
+
xxs: f,
|
|
8
|
+
xs: e,
|
|
9
|
+
sm: n,
|
|
10
|
+
md: d,
|
|
11
|
+
lg: i,
|
|
12
|
+
xl: v,
|
|
13
|
+
xxl: p
|
|
14
|
+
}, X = {
|
|
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
|
+
}, b = l.forwardRef(({ className: x, size: t, ...o }, c) => /* @__PURE__ */ m("div", { className: r(s.avatar, X[t], x), ...o, ref: c }));
|
|
23
|
+
b.displayName = "Avatar";
|
|
24
|
+
export {
|
|
25
|
+
b as Avatar
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=Avatar.js.map
|
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
|
|
5
|
-
body:
|
|
6
|
-
bodyInner:
|
|
7
|
-
},
|
|
8
|
-
|
|
2
|
+
import t from "react";
|
|
3
|
+
import { c as a } from "../../chunks/vendor-CwhnMZ7o.js";
|
|
4
|
+
const y = "body__b56754f7", b = "bodyInner__bf48b183", d = {
|
|
5
|
+
body: y,
|
|
6
|
+
bodyInner: b
|
|
7
|
+
}, c = t.forwardRef(({ children: r, className: s, ...e }, n) => /* @__PURE__ */ o("div", { className: a(d.body, s), ...e, "data-tx": "1.13.0", ref: n, children: /* @__PURE__ */ o("div", { className: d.bodyInner, children: r }) }));
|
|
8
|
+
c.displayName = "Body";
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
c as Body
|
|
11
11
|
};
|
|
12
12
|
//# sourceMappingURL=Body.js.map
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { jsxs as m, jsx as y } from "react/jsx-runtime";
|
|
2
2
|
import k from "react";
|
|
3
|
-
import { c as
|
|
3
|
+
import { c as b } from "../../chunks/vendor-CwhnMZ7o.js";
|
|
4
4
|
import { LoaderSmall as R } from "../Loader/LoaderSmall/LoaderSmall.js";
|
|
5
|
-
import { ELoaderSmallTheme as
|
|
5
|
+
import { ELoaderSmallTheme as p } from "../Loader/LoaderSmall/enum.js";
|
|
6
6
|
import "../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
7
7
|
import { ButtonBase as C } from "./ButtonBase.js";
|
|
8
8
|
import { EButtonTheme as d } from "./enums.js";
|
|
9
|
-
import { EComponentSize as
|
|
10
|
-
const A = "
|
|
9
|
+
import { EComponentSize as s } from "../../enums/EComponentSize.js";
|
|
10
|
+
const A = "general__536f2d16", B = "expanded__7b348b31", g = {
|
|
11
11
|
general: A,
|
|
12
12
|
expanded: B
|
|
13
|
-
}, D = "
|
|
13
|
+
}, D = "secondary__090d477d", T = "expanded__7b348b31", u = {
|
|
14
14
|
secondary: D,
|
|
15
15
|
expanded: T
|
|
16
|
-
}, G = "
|
|
16
|
+
}, G = "secondaryLight__c64cee2b", I = "expanded__7b348b31", x = {
|
|
17
17
|
secondaryLight: G,
|
|
18
18
|
expanded: I
|
|
19
|
-
}, v = "
|
|
19
|
+
}, v = "danger__732a24bc", O = "expanded__7b348b31", h = {
|
|
20
20
|
danger: v,
|
|
21
21
|
expanded: O
|
|
22
|
-
}, Y = "
|
|
22
|
+
}, Y = "link__ff2869c6", $ = "expanded__7b348b31", f = {
|
|
23
23
|
link: Y,
|
|
24
24
|
expanded: $
|
|
25
|
-
}, w = "
|
|
25
|
+
}, w = "button__c5bd801f", z = "sm__8b4f97e1", M = "icon__92affad6", j = "md__6d1ffcc8", H = "lg__0df54d3e", K = "block__5ca1d64b", U = "content__d3e44a8e", q = "loading__0bb882da", F = "loader__01dd9455", J = "hidden__6ccc2532", e = {
|
|
26
26
|
button: w,
|
|
27
27
|
sm: z,
|
|
28
28
|
icon: M,
|
|
@@ -36,11 +36,11 @@ const A = "general__dcaa33f8", B = "expanded__328d3f20", u = {
|
|
|
36
36
|
}, P = (t, n) => {
|
|
37
37
|
switch (t) {
|
|
38
38
|
case d.GENERAL:
|
|
39
|
-
return { [
|
|
39
|
+
return { [g.general]: !0, [g.expanded]: n };
|
|
40
40
|
case d.SECONDARY:
|
|
41
41
|
return {
|
|
42
|
-
[
|
|
43
|
-
[
|
|
42
|
+
[u.secondary]: !0,
|
|
43
|
+
[u.expanded]: n
|
|
44
44
|
};
|
|
45
45
|
case d.SECONDARY_LIGHT:
|
|
46
46
|
return {
|
|
@@ -54,44 +54,44 @@ const A = "general__dcaa33f8", B = "expanded__328d3f20", u = {
|
|
|
54
54
|
};
|
|
55
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 o = [d.SECONDARY, d.SECONDARY_LIGHT].includes(t) ?
|
|
71
|
+
const o = [d.SECONDARY, d.SECONDARY_LIGHT].includes(t) ? p.BRAND : p.NEUTRAL;
|
|
72
72
|
return /* @__PURE__ */ y(R, { theme: o, size: n });
|
|
73
73
|
}, W = k.forwardRef((t, n) => {
|
|
74
|
-
const { children: o, className: N, disabled:
|
|
74
|
+
const { children: o, className: N, disabled: a, theme: r, size: l = s.MD, block: L, loading: c, icon: i, ...S } = t, { "aria-expanded": _ } = t, E = b(
|
|
75
75
|
e.button,
|
|
76
76
|
P(r, !!_),
|
|
77
77
|
Q(l),
|
|
78
|
-
{ [e.block]: !!L, [e.loading]: !!
|
|
78
|
+
{ [e.block]: !!L, [e.loading]: !!c },
|
|
79
79
|
{ [e.icon]: !!i && !o },
|
|
80
80
|
// Классы для иконок, начало.
|
|
81
81
|
"hoverable",
|
|
82
82
|
{
|
|
83
83
|
active: !!_,
|
|
84
|
-
disabled: !!
|
|
84
|
+
disabled: !!a
|
|
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: c ? -1 : void 0, disabled: a, ...S, ref: n, children: [
|
|
90
90
|
/* @__PURE__ */ m("span", { className: e.content, children: [
|
|
91
91
|
i,
|
|
92
92
|
o
|
|
93
93
|
] }),
|
|
94
|
-
/* @__PURE__ */ y("div", { className:
|
|
94
|
+
/* @__PURE__ */ y("div", { className: b(e.loader, !c && 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.13.0", ref: o }));
|
|
4
4
|
r.displayName = "ButtonBase";
|
|
5
5
|
export {
|
|
6
6
|
r as ButtonBase
|
|
@@ -5,7 +5,7 @@ import { jsx as t, jsxs as B, Fragment as q } from "react/jsx-runtime";
|
|
|
5
5
|
import F, { useRef as I, useState as V, createElement as x } from "react";
|
|
6
6
|
import { c as w, a as J } from "../../chunks/vendor-CwhnMZ7o.js";
|
|
7
7
|
import { ButtonDropdownExtended as y } from "./ButtonDropdownExtended.js";
|
|
8
|
-
import { EButtonDotsTheme as u, EButtonTheme as
|
|
8
|
+
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";
|
|
@@ -13,34 +13,34 @@ import { DropdownMobileHeader as to } from "../Dropdown/mobile/DropdownMobileHea
|
|
|
13
13
|
import { DropdownMobileBody as eo } 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
|
-
import { DropdownMobileClose as
|
|
17
|
-
import { Text as
|
|
16
|
+
import { DropdownMobileClose as co } from "../Dropdown/mobile/DropdownMobileClose.js";
|
|
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 p } from "../../enums/EComponentSize.js";
|
|
21
|
+
const lo = "buttonDropdown__20cce501", io = "block__5ca1d64b", mo = "buttonDropdownTarget__a72a68e3", uo = "caretIcon__5676866b", Do = "active__746233ed", po = "buttonDropdownMenuItem__167776be", 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: R, children: h, className: z, theme:
|
|
35
|
-
const
|
|
27
|
+
buttonDropdownMenuItem: po
|
|
28
|
+
}, bo = {
|
|
29
|
+
[p.SM]: /* @__PURE__ */ t(L, { paletteIndex: 0 }),
|
|
30
|
+
[p.MD]: /* @__PURE__ */ t(L, { paletteIndex: 0 }),
|
|
31
|
+
[p.LG]: /* @__PURE__ */ t(Q, { paletteIndex: 0 })
|
|
32
|
+
}, g = (b, c) => b === p.SM ? /* @__PURE__ */ t(X, { paletteIndex: c, className: n.caretIcon }) : b === p.MD ? /* @__PURE__ */ t(Z, { paletteIndex: c, className: n.caretIcon }) : /* @__PURE__ */ t($, { paletteIndex: c, className: n.caretIcon }), fo = F.forwardRef(
|
|
33
|
+
(b, c) => {
|
|
34
|
+
const { buttonAttributes: R, children: h, className: z, theme: f, size: s, options: C, selected: i, block: S, disabled: T, ...G } = b, 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
36
|
[n.active]: o,
|
|
37
37
|
[n.block]: !!S
|
|
38
38
|
});
|
|
39
39
|
return /* @__PURE__ */ B(
|
|
40
40
|
M,
|
|
41
41
|
{
|
|
42
|
-
className:
|
|
43
|
-
theme:
|
|
42
|
+
className: a,
|
|
43
|
+
theme: f,
|
|
44
44
|
size: s,
|
|
45
45
|
onKeyDown: A({ opened: o, setOpened: r }),
|
|
46
46
|
onClick: E({ opened: o, setOpened: r }),
|
|
@@ -58,15 +58,15 @@ const lo = "buttonDropdown__a9ad6d07", io = "block__0e979a97", mo = "buttonDropd
|
|
|
58
58
|
}
|
|
59
59
|
);
|
|
60
60
|
}, K = ({ opened: o, setOpened: r }) => {
|
|
61
|
-
const
|
|
61
|
+
const a = w(n.buttonDropdownTarget, "hoverable", {
|
|
62
62
|
[n.active]: o,
|
|
63
63
|
[n.block]: !!S
|
|
64
64
|
});
|
|
65
65
|
return /* @__PURE__ */ t(
|
|
66
66
|
M,
|
|
67
67
|
{
|
|
68
|
-
className:
|
|
69
|
-
theme:
|
|
68
|
+
className: a,
|
|
69
|
+
theme: f === 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,27 +77,27 @@ const lo = "buttonDropdown__a9ad6d07", io = "block__0e979a97", mo = "buttonDropd
|
|
|
77
77
|
"aria-activedescendant": N,
|
|
78
78
|
...R,
|
|
79
79
|
ref: O,
|
|
80
|
-
icon:
|
|
80
|
+
icon: bo[s]
|
|
81
81
|
}
|
|
82
82
|
);
|
|
83
|
-
}, E = ({ opened: o, setOpened: r }) => () => r(!o), A = ({ opened: o, setOpened: r }) => (
|
|
84
|
-
const { key: l } =
|
|
85
|
-
(D(l, "SPACE") || D(l, "ARROW_UP") || D(l, "ARROW_DOWN")) &&
|
|
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);
|
|
86
86
|
}, j = () => {
|
|
87
|
-
switch (
|
|
88
|
-
case
|
|
89
|
-
case
|
|
87
|
+
switch (f) {
|
|
88
|
+
case d.GENERAL:
|
|
89
|
+
case d.DANGER:
|
|
90
90
|
case u.DOTS_SECONDARY:
|
|
91
91
|
case u.DOTS_SECONDARY_LIGHT:
|
|
92
92
|
return g(s, 7);
|
|
93
|
-
case
|
|
94
|
-
case
|
|
93
|
+
case d.SECONDARY:
|
|
94
|
+
case d.SECONDARY_LIGHT:
|
|
95
95
|
return g(s, 0);
|
|
96
96
|
default:
|
|
97
97
|
return null;
|
|
98
98
|
}
|
|
99
|
-
}, U = ({ opened: o, setOpened: r, className:
|
|
100
|
-
const l = w(n.buttonDropdownMenu,
|
|
99
|
+
}, U = ({ opened: o, setOpened: r, className: a }) => {
|
|
100
|
+
const l = w(n.buttonDropdownMenu, a);
|
|
101
101
|
return /* @__PURE__ */ t(oo.Provider, { value: { activeDescendant: N, setActiveDescendant: H }, children: /* @__PURE__ */ t(
|
|
102
102
|
y.Dropdown,
|
|
103
103
|
{
|
|
@@ -112,8 +112,8 @@ const lo = "buttonDropdown__a9ad6d07", io = "block__0e979a97", mo = "buttonDropd
|
|
|
112
112
|
/* @__PURE__ */ t(
|
|
113
113
|
to,
|
|
114
114
|
{
|
|
115
|
-
controlButtons: /* @__PURE__ */ t(
|
|
116
|
-
children: /* @__PURE__ */ t(
|
|
115
|
+
controlButtons: /* @__PURE__ */ t(co, { onClick: () => r(!1) }),
|
|
116
|
+
children: /* @__PURE__ */ t(ao, { tag: "div", size: so.B3, children: h })
|
|
117
117
|
}
|
|
118
118
|
),
|
|
119
119
|
/* @__PURE__ */ t(eo, { children: /* @__PURE__ */ t(ro, { children: C.map((e) => /* @__PURE__ */ x(
|
|
@@ -121,7 +121,7 @@ const lo = "buttonDropdown__a9ad6d07", io = "block__0e979a97", mo = "buttonDropd
|
|
|
121
121
|
{
|
|
122
122
|
...e,
|
|
123
123
|
key: e.id,
|
|
124
|
-
selected: e.id === (
|
|
124
|
+
selected: e.id === (i == null ? void 0 : i.id),
|
|
125
125
|
onSelect: () => {
|
|
126
126
|
var m;
|
|
127
127
|
(m = e.onSelect) == null || m.call(e), r(!1);
|
|
@@ -137,7 +137,7 @@ const lo = "buttonDropdown__a9ad6d07", io = "block__0e979a97", mo = "buttonDropd
|
|
|
137
137
|
...e,
|
|
138
138
|
className: n.buttonDropdownMenuItem,
|
|
139
139
|
key: e.id,
|
|
140
|
-
selected: e.id === (
|
|
140
|
+
selected: e.id === (i == null ? void 0 : i.id),
|
|
141
141
|
onSelect: () => {
|
|
142
142
|
var m;
|
|
143
143
|
(m = e.onSelect) == null || m.call(e), r(!1);
|
|
@@ -148,14 +148,14 @@ const lo = "buttonDropdown__a9ad6d07", io = "block__0e979a97", mo = "buttonDropd
|
|
|
148
148
|
}
|
|
149
149
|
) });
|
|
150
150
|
}, O = (o) => {
|
|
151
|
-
k.current = o, typeof
|
|
151
|
+
k.current = o, typeof c == "function" ? c(o) : c && (c.current = o);
|
|
152
152
|
};
|
|
153
153
|
return /* @__PURE__ */ t(
|
|
154
154
|
y,
|
|
155
155
|
{
|
|
156
156
|
className: W,
|
|
157
157
|
renderButton: [u.DOTS_SECONDARY, u.DOTS_SECONDARY_LIGHT].includes(
|
|
158
|
-
|
|
158
|
+
f
|
|
159
159
|
) ? K : P,
|
|
160
160
|
renderDropdown: U,
|
|
161
161
|
dropdownRef: v,
|
|
@@ -165,8 +165,8 @@ const lo = "buttonDropdown__a9ad6d07", io = "block__0e979a97", mo = "buttonDropd
|
|
|
165
165
|
);
|
|
166
166
|
}
|
|
167
167
|
);
|
|
168
|
-
|
|
168
|
+
fo.displayName = "ButtonDropdown";
|
|
169
169
|
export {
|
|
170
|
-
|
|
170
|
+
fo 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-CwhnMZ7o.js";
|
|
7
|
-
const K = "
|
|
7
|
+
const K = "buttonDropdownExtended__3cf4e7fd", S = "buttonDropdownExtendedBlock__2c0fa626", E = {
|
|
8
8
|
buttonDropdownExtended: K,
|
|
9
9
|
buttonDropdownExtendedBlock: S
|
|
10
10
|
}, D = (s) => {
|
|
@@ -25,10 +25,10 @@ const K = "buttonDropdownExtended__0d937d5c", 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), () => {
|
|
@@ -2,24 +2,24 @@ import { jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import u from "react";
|
|
3
3
|
import { c as m } from "../../chunks/vendor-CwhnMZ7o.js";
|
|
4
4
|
import { EButtonIconShape as o } from "./enums.js";
|
|
5
|
-
const p = "
|
|
5
|
+
const p = "buttonIcon__99ba859f", I = "circle__b12efaa2", b = "squircle__05908056", t = {
|
|
6
6
|
buttonIcon: p,
|
|
7
7
|
circle: I,
|
|
8
8
|
squircle: b
|
|
9
|
-
},
|
|
9
|
+
}, f = {
|
|
10
10
|
[o.SQUIRCLE]: t.squircle,
|
|
11
11
|
[o.CIRCLE]: t.circle
|
|
12
|
-
},
|
|
12
|
+
}, _ = u.forwardRef(
|
|
13
13
|
({ className: e, disabled: c, shape: n = o.SQUIRCLE, active: s, ...r }, a) => {
|
|
14
|
-
const l = m(t.buttonIcon,
|
|
14
|
+
const l = m(t.buttonIcon, f[n], "hoverable", e, {
|
|
15
15
|
active: !!s,
|
|
16
16
|
disabled: !!c
|
|
17
17
|
});
|
|
18
18
|
return /* @__PURE__ */ i("button", { type: "button", className: l, disabled: c, ...r, ref: a });
|
|
19
19
|
}
|
|
20
20
|
);
|
|
21
|
-
|
|
21
|
+
_.displayName = "ButtonIcon";
|
|
22
22
|
export {
|
|
23
|
-
|
|
23
|
+
_ 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__b66e0537", L = "adaptive__6c7b5062", w = {
|
|
16
16
|
calendar: q,
|
|
17
17
|
adaptive: L
|
|
18
18
|
};
|
|
@@ -136,7 +136,7 @@ class g extends V.PureComponent {
|
|
|
136
136
|
} = this.props, { viewMode: A, viewDate: B, header: Y } = this.state, b = R(w.calendar, {
|
|
137
137
|
[w.adaptive]: !!this.props.adaptiveMode
|
|
138
138
|
}), F = f(this.props.pickedDate, t);
|
|
139
|
-
return /* @__PURE__ */ h("div", { className: b, "data-tx": "1.
|
|
139
|
+
return /* @__PURE__ */ h("div", { className: b, "data-tx": "1.13.0", children: /* @__PURE__ */ S(
|
|
140
140
|
k.Provider,
|
|
141
141
|
{
|
|
142
142
|
value: {
|
|
@@ -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__7c713dd5", j = {
|
|
12
12
|
calendarControls: U
|
|
13
13
|
}, X = ({
|
|
14
14
|
children: m,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
const e = "
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
const e = "calendarFooter__62a34680", r = {
|
|
3
3
|
calendarFooter: e
|
|
4
|
-
}, t = ({ children:
|
|
4
|
+
}, t = ({ children: o }) => /* @__PURE__ */ a("div", { className: r.calendarFooter, children: o });
|
|
5
5
|
t.displayName = "CalendarFooter";
|
|
6
6
|
export {
|
|
7
7
|
t as CalendarFooter
|
|
@@ -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-h3bxNCuW.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-h3bxNCuW.js";
|
|
8
8
|
export {
|
|
9
9
|
C as CalendarViewItem
|
|
10
10
|
};
|
|
@@ -4,7 +4,7 @@ import { k as h } from "../../../chunks/vendor-CwhnMZ7o.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-h3bxNCuW.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 = {} }) => {
|
|
@@ -4,7 +4,7 @@ import { k as w } from "../../../chunks/vendor-CwhnMZ7o.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 H } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as K, C as H } from "../../../chunks/CalendarViewItem-h3bxNCuW.js";
|
|
8
8
|
import { isKey as i } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarViewMode as y } from "../enums.js";
|
|
10
10
|
const J = ({ pickedDate: s, yearHtmlAttributes: S = {} }) => {
|