@sberbusiness/triplex-next 1.6.1 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/AlertProcessSpoiler-C7qEZRwB.js +39 -0
- package/chunks/{CalendarViewItem-BoFDPLNT.js → CalendarViewItem-CUPkQFFY.js} +20 -20
- package/chunks/Card.module-D1ZooBvB.js +17 -0
- package/chunks/CheckboxTreeExtended.module-CjWzaGb4.js +11 -0
- package/chunks/{Chip-C91-I9zb.js → Chip-CCv72AgN.js} +12 -12
- package/chunks/Confirm.module-DCsU0G6f.js +15 -0
- package/chunks/DropdownListItem-BcXHt5bk.js +63 -0
- package/chunks/DropdownMobile.module-B-UZ3LiZ.js +23 -0
- package/chunks/Footer.module-lZvJ02_q.js +9 -0
- package/chunks/{FormFieldInput-BL8yYnKo.js → FormFieldInput-BnHKlreA.js} +9 -9
- package/chunks/HeaderLayoutSidebar.module-CWZIkcLe.js +9 -0
- package/chunks/HeaderTabs.module-C-ZA_mn1.js +9 -0
- package/chunks/{HeaderTitle.module-29jwPQr2.js → HeaderTitle.module-0YuV_UNN.js} +2 -2
- package/chunks/IslandAccordion.module-h_O6zE1D.js +26 -0
- package/chunks/IslandWidgetFooter.module-Qje3BoKp.js +9 -0
- package/chunks/IslandWidgetHeader.module-CX_EFZUr.js +9 -0
- package/chunks/{LightBoxContent-D9VFXK17.js → LightBoxContent-CzLiq8KE.js} +13 -13
- package/chunks/LightBoxControls.module-BRiJRrAF.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-CCW9Lhhe.js +8 -0
- package/chunks/{ListItemControlsButton-DnuVSFV7.js → ListItemControlsButton-BB9ENDS-.js} +8 -8
- package/chunks/ListItemTail.module-BNCbqffO.js +12 -0
- package/chunks/ListMasterFooter.module-TZgSWuoA.js +10 -0
- package/chunks/ModalWindow.module-Bf1JWUeo.js +17 -0
- package/chunks/Notification.module-BRB3HPvc.js +21 -0
- package/chunks/Overlay.module-BPWZrFj3.js +18 -0
- package/chunks/Page.module-qLhls7XX.js +11 -0
- package/chunks/{RightBorderArrow-esMRIv7g.js → RightBorderArrow-BsoQkq2D.js} +13 -13
- package/chunks/SMSInput.module-C87wEVmB.js +16 -0
- package/chunks/SliderExtendedMarks.module-DwPWr28H.js +15 -0
- package/chunks/SliderExtendedRail-DCMgHGfh.js +40 -0
- package/chunks/StatusTracker.module-8ARjpbBi.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-CpoZIQ7a.js → SuggestFieldMobileDropdownHint-BEzPFmOF.js} +4 -4
- package/chunks/TableFooter.module-DgtjRZYk.js +14 -0
- package/chunks/TabsExtended.module-B0_ktbZ6.js +16 -0
- package/chunks/TabsLine.module-DGic2tTZ.js +21 -0
- package/chunks/TooltipDesktop.module-krYzO0tT.js +19 -0
- package/chunks/{TooltipMobileCloseButton-Bdw8P_WT.js → TooltipMobileCloseButton-D5h1S51t.js} +7 -7
- package/chunks/TreeView.module-7xjkN1j1.js +9 -0
- package/chunks/{UploadZoneInput-Cr1wEu6A.js → UploadZoneInput-BES4iuW5.js} +5 -5
- package/chunks/{utils-PII_juCp.js → utils-Bg2EU04u.js} +7 -7
- package/chunks/{utils-DpVkLh52.js → utils-CIob06mu.js} +4 -4
- package/chunks/utils-D2zZhfuB.js +27 -0
- package/chunks/{utils-BGuB8cgl.js → utils-DRFlp8Cg.js} +16 -16
- package/chunks/utils-TKCSmJUI.js +24 -0
- package/components/Alert/AlertContext/AlertContext.js +9 -9
- 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 +11 -11
- package/components/Body/Body.js +8 -25
- package/components/Body/index.js +2 -4
- package/components/Button/Button.js +28 -28
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +97 -98
- 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 +9 -9
- 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 +17 -17
- 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 +6 -6
- package/components/Checkbox/CheckboxXGroup.js +12 -12
- package/components/Checkbox/CheckboxYGroup.js +3 -3
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +1 -1
- package/components/Chip/Chip.js +1 -1
- package/components/Chip/ChipClearButton.js +10 -10
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +91 -0
- package/components/Chip/ChipDatePicker/components/ChipDatePickerTarget.js +34 -0
- package/components/Chip/ChipDropdownArrow.js +8 -8
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +9 -9
- package/components/Chip/ChipSelect.js +1 -1
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +2 -2
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +4 -4
- package/components/Col/Col.js +136 -136
- package/components/CollapsableTree/components/CollapsableTreeNode.js +11 -11
- package/components/Confirm/Confirm.js +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +1 -1
- package/components/Confirm/components/ConfirmContent.js +1 -1
- package/components/Confirm/components/ConfirmContentTitle.js +1 -1
- package/components/Confirm/components/ConfirmControls.js +1 -1
- package/components/DateField/DateField.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +16 -19
- package/components/DateRange/DateRange.js +9 -9
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/DesignTokensComponents.js +36 -31
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +42 -37
- package/components/DesignTokens/components/DropdownMobile.js +1 -1
- package/components/DesignTokens/components/Island.js +2 -2
- package/components/DesignTokens/components/IslandWidget.js +14 -0
- package/components/DesignTokens/components/ModalWindow.js +2 -2
- package/components/DesignTokens/components/Tabs.js +1 -1
- package/components/DesignTokens/components/TabsLine.js +0 -3
- package/components/DesignTokens/components/index.js +63 -60
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +1 -1
- package/components/Dropdown/desktop/DropdownDesktop.js +5 -5
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +3 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +10 -10
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +4 -4
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +25 -25
- package/components/Dropdown/mobile/DropdownMobileLoader.js +4 -4
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +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 +19 -19
- package/components/FormField/components/FormFieldClear.js +9 -9
- package/components/FormField/components/FormFieldCounter.js +4 -4
- 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 +19 -19
- package/components/FormField/components/FormFieldPostfix.js +9 -9
- package/components/FormField/components/FormFieldPrefix.js +7 -7
- package/components/FormField/components/FormFieldTarget.js +17 -17
- package/components/FormField/components/FormFieldTextarea.js +15 -15
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +1 -1
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +34 -34
- package/components/HelpBox/index.js +5 -0
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +2 -2
- package/components/IslandWidget/IslandWidget.js +51 -0
- package/components/IslandWidget/IslandWidgetContext.js +10 -0
- package/components/IslandWidget/components/IslandWidgetBody.js +7 -0
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +23 -0
- package/components/IslandWidget/components/IslandWidgetFooter.js +13 -0
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +11 -0
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +11 -0
- package/components/IslandWidget/components/IslandWidgetHeader.js +13 -0
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +13 -0
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +13 -0
- package/components/IslandWidget/components/IslandWidgetWrapper.js +17 -0
- package/components/IslandWidget/components/index.js +15 -0
- package/components/IslandWidget/index.js +17 -0
- package/components/LightBox/LightBox.js +16 -15
- package/components/LightBox/LightBoxContent.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxClose.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxControls.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxNext.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +61 -64
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSideOverlay/enums.js +5 -0
- package/components/LightBox/LightBoxSideOverlay/index.js +7 -0
- package/components/LightBox/index.js +7 -3
- package/components/Link/Link.js +21 -21
- package/components/List/List.js +5 -5
- package/components/List/components/ListEmptyState.js +5 -5
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +9 -9
- package/components/List/components/ListItemControls.js +8 -8
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +38 -35
- package/components/List/components/ListItemLoading.js +1 -1
- package/components/List/components/ListItemSelectable.js +7 -7
- package/components/List/components/ListItemTable.js +6 -6
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +8 -8
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +6 -6
- 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 +4 -4
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +1 -1
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +8 -8
- package/components/Loader/LoaderSmall/LoaderSmall.js +10 -10
- package/components/LoaderScreen/LoaderScreen.js +6 -6
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +15 -15
- package/components/ModalWindow/ModalWindow.js +37 -36
- package/components/ModalWindow/components/ModalWindowBody.js +10 -10
- package/components/ModalWindow/components/ModalWindowClose.js +4 -4
- package/components/ModalWindow/components/ModalWindowContent.js +15 -9
- package/components/ModalWindow/components/ModalWindowHeader.js +5 -5
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +3 -3
- 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 +10 -0
- package/components/NotificationIcon/index.js +5 -0
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +2 -2
- package/components/OrderedList/OrderedListItem.js +5 -5
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayMask.js +1 -1
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +22 -8
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Page/components/enums.js +5 -3
- package/components/Page/index.js +7 -5
- package/components/Pagination/components/PaginationExtended.js +6 -6
- 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 +7 -7
- package/components/Pagination/components/PaginationSelect.js +9 -9
- package/components/Radio/Radio.js +10 -10
- package/components/Radio/RadioXGroup.js +12 -12
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +6 -6
- package/components/SMSInput/SMSInput.js +2 -2
- package/components/SMSInput/components/RefreshIcon.js +1 -1
- package/components/SMSInput/components/SMSInputInput.js +2 -2
- package/components/SMSInput/components/SMSInputRefresh.js +1 -1
- package/components/SMSInput/components/SMSInputSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +6 -6
- package/components/SegmentedControl/SegmentedControlSegment.js +11 -11
- package/components/SelectExtendedField/SelectExtendedField.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +6 -12
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +7 -7
- package/components/Skeleton/Skeleton.js +13 -13
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +7 -7
- 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 +1 -1
- package/components/SmallInput/SmallInput.js +5 -5
- package/components/Spoiler/Spoiler.js +10 -10
- 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 +12 -12
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +14 -14
- package/components/Stepper/StepperExtended.js +1 -1
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperWrapper.js +2 -2
- package/components/Suggest/SuggestMobileDropdownContent.js +41 -35
- package/components/SuggestField/SuggestField.js +1 -1
- package/components/SuggestField/SuggestFieldTarget.js +1 -1
- package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +3 -3
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +44 -38
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +2 -2
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +2 -2
- package/components/Table/NoColumns.js +7 -7
- 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 +1 -1
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +3 -3
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +7 -7
- 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 +1 -1
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +31 -30
- package/components/TabsExtended/TabsExtended.js +2 -2
- package/components/TabsExtended/components/TabsExtendedContent.js +1 -1
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTab.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabButton.js +18 -14
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +1 -1
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +18 -17
- package/components/TabsLine/components/TabsLineDesktop.js +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +50 -52
- package/components/TabsLine/components/TabsLineItem.js +16 -15
- package/components/TabsLine/components/TabsLineMobile.js +9 -9
- package/components/Tag/Tag.js +26 -26
- package/components/TagGroup/TagGroup.js +9 -9
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +7 -7
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +1 -1
- package/components/Tooltip/components/mobile/TooltipMobile.js +1 -1
- package/components/Tooltip/components/mobile/components/TooltipMobileCloseButton.js +1 -1
- package/components/Tooltip/components/mobile/components/TooltipMobileHeader.js +9 -11
- package/components/TopOverlay/TopOverlay.js +15 -15
- 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 +23 -23
- package/components/Typography/Title.js +20 -20
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +6 -6
- package/components/UnorderedList/UnorderedListItem.js +10 -10
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +561 -528
- package/index.d.ts +288 -27
- package/index.js +403 -354
- package/package.json +13 -1
- package/styles/triplex-next.css +528 -527
- package/utils/index.js +30 -0
- package/chunks/AlertProcessSpoiler-Dq0fm-3a.js +0 -39
- package/chunks/Card.module-xUBtHcBW.js +0 -17
- package/chunks/CheckboxTreeExtended.module-CzX04UVi.js +0 -11
- package/chunks/Confirm.module-yvrei2lL.js +0 -15
- package/chunks/DropdownListItem-PbfrmOZJ.js +0 -57
- package/chunks/DropdownMobile.module-CvDbPL9W.js +0 -21
- package/chunks/Footer.module-Kij9_qbS.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-CPvbS61i.js +0 -9
- package/chunks/HeaderTabs.module-xhlfJ1R9.js +0 -9
- package/chunks/IslandAccordion.module-C7SBNJJJ.js +0 -26
- package/chunks/LightBoxControls.module-C76N_yWS.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CwTd-n3M.js +0 -8
- package/chunks/ListItemTail.module-DE8OWHba.js +0 -12
- package/chunks/ListMasterFooter.module-FTLh0QAQ.js +0 -10
- package/chunks/ModalWindow.module-C7N9wjxW.js +0 -17
- package/chunks/Notification.module-ByRBfuR2.js +0 -21
- package/chunks/Overlay.module-EIMAbb4c.js +0 -18
- package/chunks/Page.module-BokYwJr5.js +0 -12
- package/chunks/SMSInput.module-5r7uaeim.js +0 -16
- package/chunks/SliderExtendedMarks.module-D1DTVGpV.js +0 -15
- package/chunks/SliderExtendedRail-Ck23Ui6E.js +0 -40
- package/chunks/StatusTracker.module-D1-siBfk.js +0 -24
- package/chunks/TableFooter.module-D8h1OLCP.js +0 -14
- package/chunks/TabsExtended.module-Dvvx9orv.js +0 -16
- package/chunks/TabsLine.module-BW1667el.js +0 -23
- package/chunks/TooltipDesktop.module-E3qNKUvc.js +0 -19
- package/chunks/TreeView.module-CKfLtgeC.js +0 -9
- package/chunks/utils-BJhZJ9SO.js +0 -24
- package/chunks/utils-GixgRYNn.js +0 -26
- package/components/Body/enums.js +0 -5
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as d, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { formatAmount as u } from "../../utils/amountUtils.js";
|
|
3
3
|
import { c as f } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
|
-
const N = "
|
|
4
|
+
const N = "adaptive__10a77c96", _ = {
|
|
5
5
|
adaptive: N
|
|
6
6
|
}, h = 14, v = ({
|
|
7
7
|
className: o,
|
|
@@ -24,7 +24,7 @@ const N = "adaptive__50c5bfa0", _ = {
|
|
|
24
24
|
},
|
|
25
25
|
o
|
|
26
26
|
);
|
|
27
|
-
return /* @__PURE__ */ d("span", { className: l, ...i, "data-tx": "1.
|
|
27
|
+
return /* @__PURE__ */ d("span", { className: l, ...i, "data-tx": "1.8.0", children: [
|
|
28
28
|
/* @__PURE__ */ n("span", { "data-test-id": a && `${a}__amount`, children: t }),
|
|
29
29
|
e && p()
|
|
30
30
|
] });
|
|
@@ -6,12 +6,12 @@ import { FormFieldDescription as T } from "../FormField/components/FormFieldDesc
|
|
|
6
6
|
import { FormFieldLabel as V } from "../FormField/components/FormFieldLabel.js";
|
|
7
7
|
import { FormFieldPostfix as D } from "../FormField/components/FormFieldPostfix.js";
|
|
8
8
|
import { FormFieldClear as K } from "../FormField/components/FormFieldClear.js";
|
|
9
|
-
import { F as
|
|
10
|
-
import { AmountBaseInputCore as
|
|
11
|
-
import { setCaretPosition as
|
|
12
|
-
import { createPlaceholder as
|
|
13
|
-
const
|
|
14
|
-
currency:
|
|
9
|
+
import { F as b } from "../../chunks/FormFieldInput-BnHKlreA.js";
|
|
10
|
+
import { AmountBaseInputCore as j } from "./AmountBaseInputCore.js";
|
|
11
|
+
import { setCaretPosition as A } from "../../utils/inputUtils.js";
|
|
12
|
+
import { createPlaceholder as L, setFallbackCaret as g } from "./utils.js";
|
|
13
|
+
const M = "currency__ff3f1b1c", $ = {
|
|
14
|
+
currency: M
|
|
15
15
|
}, Z = R.forwardRef(
|
|
16
16
|
({
|
|
17
17
|
label: f,
|
|
@@ -23,9 +23,9 @@ const $ = "currency__352158ec", b = {
|
|
|
23
23
|
fractionDigits: n = 2,
|
|
24
24
|
...F
|
|
25
25
|
}, o) => {
|
|
26
|
-
const u = F["data-test-id"], C = t.placeholder ||
|
|
27
|
-
e.current === void 0 && (e.current = new
|
|
28
|
-
e.current && a.current == document.activeElement &&
|
|
26
|
+
const u = F["data-test-id"], C = t.placeholder || L(n), a = y(null), e = y();
|
|
27
|
+
e.current === void 0 && (e.current = new j(m, n)), x(() => {
|
|
28
|
+
e.current && a.current == document.activeElement && A(a.current, Math.max(e.current.caret, 0));
|
|
29
29
|
}, [t.value]);
|
|
30
30
|
const _ = () => e.current ? ((t.value != e.current.value || m != e.current.maxIntegerDigits || n != e.current.fractionDigits) && (e.current.maxIntegerDigits = m, e.current.fractionDigits = n, e.current.apply(t.value, t.value.length)), e.current.cache.formattedValue = e.current.formattedValue, e.current.formattedValue) : "", S = (r) => {
|
|
31
31
|
if (!e.current) return;
|
|
@@ -44,7 +44,7 @@ const $ = "currency__352158ec", b = {
|
|
|
44
44
|
/* @__PURE__ */ d(I, { ...F, children: [
|
|
45
45
|
f ? /* @__PURE__ */ l(V, { children: f }) : null,
|
|
46
46
|
/* @__PURE__ */ l(
|
|
47
|
-
|
|
47
|
+
b,
|
|
48
48
|
{
|
|
49
49
|
...t,
|
|
50
50
|
ref: (r) => {
|
|
@@ -62,7 +62,7 @@ const $ = "currency__352158ec", b = {
|
|
|
62
62
|
),
|
|
63
63
|
/* @__PURE__ */ d(D, { children: [
|
|
64
64
|
/* @__PURE__ */ l(K, { onClick: w }),
|
|
65
|
-
h ? /* @__PURE__ */ l("span", { className:
|
|
65
|
+
h ? /* @__PURE__ */ l("span", { className: $.currency, "data-test-id": u && `${u}__unit`, children: h }) : null,
|
|
66
66
|
s || null
|
|
67
67
|
] })
|
|
68
68
|
] }),
|
package/components/Body/Body.js
CHANGED
|
@@ -1,29 +1,12 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
verticalMargin16: M
|
|
10
|
-
}, b = {
|
|
11
|
-
[r.LARGE]: a.verticalMargin24,
|
|
12
|
-
[r.SMALL]: a.verticalMargin16
|
|
13
|
-
}, v = d.forwardRef(
|
|
14
|
-
({ children: c, className: i, verticalMargin: t = r.LARGE, ...n }, e) => /* @__PURE__ */ o(
|
|
15
|
-
"div",
|
|
16
|
-
{
|
|
17
|
-
className: s(a.body, i, b[t]),
|
|
18
|
-
...n,
|
|
19
|
-
"data-tx": "1.6.1",
|
|
20
|
-
ref: e,
|
|
21
|
-
children: /* @__PURE__ */ o("div", { className: a.bodyInner, children: c })
|
|
22
|
-
}
|
|
23
|
-
)
|
|
24
|
-
);
|
|
25
|
-
v.displayName = "Body";
|
|
2
|
+
import t from "react";
|
|
3
|
+
import { c as a } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
const y = "body__2717e553", c = "bodyInner__973130d6", d = {
|
|
5
|
+
body: y,
|
|
6
|
+
bodyInner: c
|
|
7
|
+
}, m = t.forwardRef(({ children: e, className: r, ...s }, n) => /* @__PURE__ */ o("div", { className: a(d.body, r), ...s, "data-tx": "1.8.0", ref: n, children: /* @__PURE__ */ o("div", { className: d.bodyInner, children: e }) }));
|
|
8
|
+
m.displayName = "Body";
|
|
26
9
|
export {
|
|
27
|
-
|
|
10
|
+
m as Body
|
|
28
11
|
};
|
|
29
12
|
//# sourceMappingURL=Body.js.map
|
package/components/Body/index.js
CHANGED
|
@@ -2,27 +2,27 @@ import { jsxs as m, jsx as y } from "react/jsx-runtime";
|
|
|
2
2
|
import k from "react";
|
|
3
3
|
import { c as p } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { LoaderSmall as R } from "../Loader/LoaderSmall/LoaderSmall.js";
|
|
5
|
-
import { ELoaderSmallTheme as
|
|
5
|
+
import { ELoaderSmallTheme as f } 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 a } from "./enums.js";
|
|
9
|
+
import { EComponentSize as d } from "../../enums/EComponentSize.js";
|
|
10
|
+
const A = "general__9dcee38d", B = "expanded__f52bfa9e", g = {
|
|
11
11
|
general: A,
|
|
12
12
|
expanded: B
|
|
13
|
-
}, D = "
|
|
13
|
+
}, D = "secondary__db01c908", T = "expanded__f52bfa9e", u = {
|
|
14
14
|
secondary: D,
|
|
15
15
|
expanded: T
|
|
16
|
-
}, G = "
|
|
16
|
+
}, G = "secondaryLight__c5238ada", I = "expanded__f52bfa9e", b = {
|
|
17
17
|
secondaryLight: G,
|
|
18
18
|
expanded: I
|
|
19
|
-
}, v = "
|
|
19
|
+
}, v = "danger__6744dbda", O = "expanded__f52bfa9e", x = {
|
|
20
20
|
danger: v,
|
|
21
21
|
expanded: O
|
|
22
|
-
}, Y = "
|
|
22
|
+
}, Y = "link__3f15ac6e", $ = "expanded__f52bfa9e", h = {
|
|
23
23
|
link: Y,
|
|
24
24
|
expanded: $
|
|
25
|
-
}, w = "
|
|
25
|
+
}, w = "button__5a2acef9", z = "sm__c68af6e4", M = "icon__bca39b2d", j = "md__42ff057c", H = "lg__c1195be8", K = "block__a09f3250", U = "content__ae9c5ab0", q = "loading__aa52b888", F = "loader__710c5f57", J = "hidden__58b12c54", e = {
|
|
26
26
|
button: w,
|
|
27
27
|
sm: z,
|
|
28
28
|
icon: M,
|
|
@@ -35,43 +35,43 @@ const A = "general__b74518ad", B = "expanded__2dcf6d95", u = {
|
|
|
35
35
|
hidden: J
|
|
36
36
|
}, P = (t, n) => {
|
|
37
37
|
switch (t) {
|
|
38
|
-
case
|
|
39
|
-
return { [
|
|
40
|
-
case
|
|
38
|
+
case a.GENERAL:
|
|
39
|
+
return { [g.general]: !0, [g.expanded]: n };
|
|
40
|
+
case a.SECONDARY:
|
|
41
41
|
return {
|
|
42
|
-
[
|
|
43
|
-
[
|
|
42
|
+
[u.secondary]: !0,
|
|
43
|
+
[u.expanded]: n
|
|
44
44
|
};
|
|
45
|
-
case
|
|
45
|
+
case a.SECONDARY_LIGHT:
|
|
46
46
|
return {
|
|
47
|
-
[
|
|
48
|
-
[
|
|
47
|
+
[b.secondaryLight]: !0,
|
|
48
|
+
[b.expanded]: n
|
|
49
49
|
};
|
|
50
|
-
case
|
|
50
|
+
case a.DANGER:
|
|
51
51
|
return {
|
|
52
|
-
[
|
|
53
|
-
[
|
|
52
|
+
[x.danger]: !0,
|
|
53
|
+
[x.expanded]: n
|
|
54
54
|
};
|
|
55
|
-
case
|
|
55
|
+
case a.LINK:
|
|
56
56
|
return {
|
|
57
|
-
[
|
|
58
|
-
[
|
|
57
|
+
[h.link]: !0,
|
|
58
|
+
[h.expanded]: n
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
}, Q = (t) => {
|
|
62
62
|
switch (t) {
|
|
63
|
-
case
|
|
63
|
+
case d.LG:
|
|
64
64
|
return e.lg;
|
|
65
|
-
case
|
|
65
|
+
case d.MD:
|
|
66
66
|
return e.md;
|
|
67
|
-
case
|
|
67
|
+
case d.SM:
|
|
68
68
|
return e.sm;
|
|
69
69
|
}
|
|
70
70
|
}, V = (t, n) => {
|
|
71
|
-
const o = [
|
|
71
|
+
const o = [a.SECONDARY, a.SECONDARY_LIGHT].includes(t) ? f.BRAND : f.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: c, theme: r, size: l =
|
|
74
|
+
const { children: o, className: N, disabled: c, theme: r, size: l = d.MD, block: L, loading: s, icon: i, ...S } = t, { "aria-expanded": _ } = t, E = p(
|
|
75
75
|
e.button,
|
|
76
76
|
P(r, !!_),
|
|
77
77
|
Q(l),
|
|
@@ -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.8.0", ref: o }));
|
|
4
4
|
r.displayName = "ButtonBase";
|
|
5
5
|
export {
|
|
6
6
|
r as ButtonBase
|
|
@@ -1,58 +1,54 @@
|
|
|
1
|
-
import { Button as
|
|
1
|
+
import { Button as M } from "./Button.js";
|
|
2
2
|
import "./ButtonBase.js";
|
|
3
3
|
import "./ButtonIcon.js";
|
|
4
|
-
import { jsx as
|
|
5
|
-
import F, { useRef as
|
|
6
|
-
import { c as
|
|
4
|
+
import { jsx as t, jsxs as B, Fragment as q } from "react/jsx-runtime";
|
|
5
|
+
import F, { useRef as I, useState as V, createElement as x } from "react";
|
|
6
|
+
import { c as w, a as J } from "../../chunks/vendor-D3hUOusX.js";
|
|
7
7
|
import { ButtonDropdownExtended as y } from "./ButtonDropdownExtended.js";
|
|
8
8
|
import { EButtonDotsTheme as u, EButtonTheme as d } from "./enums.js";
|
|
9
|
-
import { DotshorizontalStrokeSrvIcon32 as Q, DotshorizontalStrokeSrvIcon20 as
|
|
9
|
+
import { DotshorizontalStrokeSrvIcon32 as Q, DotshorizontalStrokeSrvIcon20 as L, CaretdownStrokeSrvIcon16 as X, CaretdownStrokeSrvIcon20 as Z, CaretdownStrokeSrvIcon24 as $ } from "@sberbusiness/icons-next";
|
|
10
10
|
import { isKey as D } from "../../utils/keyboard.js";
|
|
11
|
-
import { DropdownListContext as
|
|
12
|
-
import { DropdownMobileHeader as
|
|
13
|
-
import { DropdownMobileBody as
|
|
14
|
-
import { DropdownMobileList as
|
|
15
|
-
import { DropdownMobileListItem as
|
|
16
|
-
import { DropdownMobileClose as
|
|
17
|
-
import { Text as
|
|
18
|
-
import { ETextSize as
|
|
19
|
-
import { DropdownList as
|
|
20
|
-
import { EComponentSize as
|
|
21
|
-
const
|
|
22
|
-
buttonDropdown:
|
|
23
|
-
block:
|
|
24
|
-
buttonDropdownTarget:
|
|
25
|
-
caretIcon:
|
|
26
|
-
active:
|
|
27
|
-
buttonDropdownMenuItem:
|
|
28
|
-
},
|
|
29
|
-
[
|
|
30
|
-
[
|
|
31
|
-
[
|
|
32
|
-
},
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
const { buttonAttributes: R, children: h, className: z, theme: f, size: c, options: C, selected: l, block: w, disabled: T, ...G } = g, k = _(null), v = _(null), W = b(n.buttonDropdown, { [n.block]: !!w }, z), [S, H] = V(), I = _(J()), P = ({ opened: e, setOpened: r }) => {
|
|
39
|
-
const a = b(n.buttonDropdownTarget, "hoverable", {
|
|
40
|
-
[n.active]: e,
|
|
41
|
-
[n.block]: !!w
|
|
11
|
+
import { DropdownListContext as oo } from "../Dropdown/DropdownListContext.js";
|
|
12
|
+
import { DropdownMobileHeader as to } from "../Dropdown/mobile/DropdownMobileHeader.js";
|
|
13
|
+
import { DropdownMobileBody as eo } from "../Dropdown/mobile/DropdownMobileBody.js";
|
|
14
|
+
import { DropdownMobileList as ro } from "../Dropdown/mobile/DropdownMobileList.js";
|
|
15
|
+
import { DropdownMobileListItem as no } from "../Dropdown/mobile/DropdownMobileListItem.js";
|
|
16
|
+
import { DropdownMobileClose as ao } from "../Dropdown/mobile/DropdownMobileClose.js";
|
|
17
|
+
import { Text as co } from "../Typography/Text.js";
|
|
18
|
+
import { ETextSize as so } from "../Typography/enums.js";
|
|
19
|
+
import { DropdownList as Y } from "../Dropdown/desktop/DropdownList.js";
|
|
20
|
+
import { EComponentSize as f } from "../../enums/EComponentSize.js";
|
|
21
|
+
const lo = "buttonDropdown__e5b3340f", io = "block__a09f3250", mo = "buttonDropdownTarget__f761387b", uo = "caretIcon__5ff5c2ba", Do = "active__19aa2877", fo = "buttonDropdownMenuItem__05794d0f", n = {
|
|
22
|
+
buttonDropdown: lo,
|
|
23
|
+
block: io,
|
|
24
|
+
buttonDropdownTarget: mo,
|
|
25
|
+
caretIcon: uo,
|
|
26
|
+
active: Do,
|
|
27
|
+
buttonDropdownMenuItem: fo
|
|
28
|
+
}, po = {
|
|
29
|
+
[f.SM]: /* @__PURE__ */ t(L, { paletteIndex: 0 }),
|
|
30
|
+
[f.MD]: /* @__PURE__ */ t(L, { paletteIndex: 0 }),
|
|
31
|
+
[f.LG]: /* @__PURE__ */ t(Q, { paletteIndex: 0 })
|
|
32
|
+
}, g = (p, a) => p === f.SM ? /* @__PURE__ */ t(X, { paletteIndex: a, className: n.caretIcon }) : p === f.MD ? /* @__PURE__ */ t(Z, { paletteIndex: a, className: n.caretIcon }) : /* @__PURE__ */ t($, { paletteIndex: a, className: n.caretIcon }), bo = F.forwardRef(
|
|
33
|
+
(p, a) => {
|
|
34
|
+
const { buttonAttributes: R, children: h, className: z, theme: b, size: s, options: C, selected: i, block: S, disabled: T, ...G } = p, k = I(null), v = I(null), W = w(n.buttonDropdown, { [n.block]: !!S }, z), [N, H] = V(), _ = I(J()), P = ({ opened: o, setOpened: r }) => {
|
|
35
|
+
const c = w(n.buttonDropdownTarget, "hoverable", {
|
|
36
|
+
[n.active]: o,
|
|
37
|
+
[n.block]: !!S
|
|
42
38
|
});
|
|
43
|
-
return /* @__PURE__ */
|
|
44
|
-
|
|
39
|
+
return /* @__PURE__ */ B(
|
|
40
|
+
M,
|
|
45
41
|
{
|
|
46
|
-
className:
|
|
47
|
-
theme:
|
|
48
|
-
size:
|
|
49
|
-
onKeyDown: A({ opened:
|
|
50
|
-
onClick: E({ opened:
|
|
42
|
+
className: c,
|
|
43
|
+
theme: b,
|
|
44
|
+
size: s,
|
|
45
|
+
onKeyDown: A({ opened: o, setOpened: r }),
|
|
46
|
+
onClick: E({ opened: o, setOpened: r }),
|
|
51
47
|
disabled: T,
|
|
52
48
|
"aria-haspopup": "menu",
|
|
53
|
-
"aria-expanded":
|
|
54
|
-
"aria-controls":
|
|
55
|
-
"aria-activedescendant":
|
|
49
|
+
"aria-expanded": o,
|
|
50
|
+
"aria-controls": _.current,
|
|
51
|
+
"aria-activedescendant": N,
|
|
56
52
|
...R,
|
|
57
53
|
ref: O,
|
|
58
54
|
children: [
|
|
@@ -61,102 +57,105 @@ const le = "buttonDropdown__82f92a5a", de = "block__3f50c46e", ie = "buttonDropd
|
|
|
61
57
|
]
|
|
62
58
|
}
|
|
63
59
|
);
|
|
64
|
-
}, K = ({ opened:
|
|
65
|
-
const
|
|
66
|
-
[n.active]:
|
|
67
|
-
[n.block]: !!
|
|
60
|
+
}, K = ({ opened: o, setOpened: r }) => {
|
|
61
|
+
const c = w(n.buttonDropdownTarget, "hoverable", {
|
|
62
|
+
[n.active]: o,
|
|
63
|
+
[n.block]: !!S
|
|
68
64
|
});
|
|
69
|
-
return /* @__PURE__ */
|
|
70
|
-
|
|
65
|
+
return /* @__PURE__ */ t(
|
|
66
|
+
M,
|
|
71
67
|
{
|
|
72
|
-
className:
|
|
73
|
-
theme:
|
|
74
|
-
size:
|
|
75
|
-
onKeyDown: A({ opened:
|
|
76
|
-
onClick: E({ opened:
|
|
68
|
+
className: c,
|
|
69
|
+
theme: b === u.DOTS_SECONDARY ? d.SECONDARY : d.SECONDARY_LIGHT,
|
|
70
|
+
size: s,
|
|
71
|
+
onKeyDown: A({ opened: o, setOpened: r }),
|
|
72
|
+
onClick: E({ opened: o, setOpened: r }),
|
|
77
73
|
disabled: T,
|
|
78
74
|
"aria-haspopup": "menu",
|
|
79
|
-
"aria-expanded":
|
|
80
|
-
"aria-controls":
|
|
81
|
-
"aria-activedescendant":
|
|
75
|
+
"aria-expanded": o,
|
|
76
|
+
"aria-controls": _.current,
|
|
77
|
+
"aria-activedescendant": N,
|
|
82
78
|
...R,
|
|
83
79
|
ref: O,
|
|
84
|
-
icon:
|
|
80
|
+
icon: po[s]
|
|
85
81
|
}
|
|
86
82
|
);
|
|
87
|
-
}, E = ({ opened:
|
|
88
|
-
const { key:
|
|
89
|
-
(D(
|
|
83
|
+
}, E = ({ opened: o, setOpened: r }) => () => r(!o), A = ({ opened: o, setOpened: r }) => (c) => {
|
|
84
|
+
const { key: l } = c;
|
|
85
|
+
(D(l, "SPACE") || D(l, "ARROW_UP") || D(l, "ARROW_DOWN")) && c.preventDefault(), !o && (D(l, "ARROW_UP") || D(l, "ARROW_DOWN")) && r(!0);
|
|
90
86
|
}, j = () => {
|
|
91
|
-
switch (
|
|
87
|
+
switch (b) {
|
|
92
88
|
case d.GENERAL:
|
|
93
89
|
case d.DANGER:
|
|
94
90
|
case u.DOTS_SECONDARY:
|
|
95
91
|
case u.DOTS_SECONDARY_LIGHT:
|
|
96
|
-
return
|
|
92
|
+
return g(s, 7);
|
|
97
93
|
case d.SECONDARY:
|
|
98
94
|
case d.SECONDARY_LIGHT:
|
|
99
|
-
return
|
|
95
|
+
return g(s, 0);
|
|
100
96
|
default:
|
|
101
97
|
return null;
|
|
102
98
|
}
|
|
103
|
-
}, U = ({ opened:
|
|
104
|
-
const
|
|
105
|
-
return /* @__PURE__ */
|
|
99
|
+
}, U = ({ opened: o, setOpened: r, className: c }) => {
|
|
100
|
+
const l = w(n.buttonDropdownMenu, c);
|
|
101
|
+
return /* @__PURE__ */ t(oo.Provider, { value: { activeDescendant: N, setActiveDescendant: H }, children: /* @__PURE__ */ t(
|
|
106
102
|
y.Dropdown,
|
|
107
103
|
{
|
|
108
|
-
size:
|
|
109
|
-
className:
|
|
110
|
-
opened:
|
|
104
|
+
size: s,
|
|
105
|
+
className: l,
|
|
106
|
+
opened: o,
|
|
111
107
|
setOpened: r,
|
|
112
108
|
targetRef: k,
|
|
113
109
|
ref: v,
|
|
114
110
|
mobileViewProps: {
|
|
115
|
-
children: /* @__PURE__ */
|
|
116
|
-
/* @__PURE__ */
|
|
117
|
-
|
|
118
|
-
/* @__PURE__ */ o(ae, { onClick: () => r(!1) })
|
|
119
|
-
] }),
|
|
120
|
-
/* @__PURE__ */ o(oe, { children: /* @__PURE__ */ o(re, { children: C.map((t) => /* @__PURE__ */ M(
|
|
121
|
-
ne,
|
|
111
|
+
children: /* @__PURE__ */ B(q, { children: [
|
|
112
|
+
/* @__PURE__ */ t(
|
|
113
|
+
to,
|
|
122
114
|
{
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
115
|
+
controlButtons: /* @__PURE__ */ t(ao, { onClick: () => r(!1) }),
|
|
116
|
+
children: /* @__PURE__ */ t(co, { tag: "div", size: so.B3, children: h })
|
|
117
|
+
}
|
|
118
|
+
),
|
|
119
|
+
/* @__PURE__ */ t(eo, { children: /* @__PURE__ */ t(ro, { children: C.map((e) => /* @__PURE__ */ x(
|
|
120
|
+
no,
|
|
121
|
+
{
|
|
122
|
+
...e,
|
|
123
|
+
key: e.id,
|
|
124
|
+
selected: e.id === (i == null ? void 0 : i.id),
|
|
126
125
|
onSelect: () => {
|
|
127
126
|
var m;
|
|
128
|
-
(m =
|
|
127
|
+
(m = e.onSelect) == null || m.call(e), r(!1);
|
|
129
128
|
}
|
|
130
129
|
},
|
|
131
|
-
|
|
130
|
+
e.label
|
|
132
131
|
)) }) })
|
|
133
132
|
] })
|
|
134
133
|
},
|
|
135
|
-
children: /* @__PURE__ */
|
|
136
|
-
|
|
134
|
+
children: /* @__PURE__ */ t(Y, { dropdownOpened: o, id: _.current, size: s, children: C.map((e) => /* @__PURE__ */ x(
|
|
135
|
+
Y.Item,
|
|
137
136
|
{
|
|
138
|
-
...
|
|
137
|
+
...e,
|
|
139
138
|
className: n.buttonDropdownMenuItem,
|
|
140
|
-
key:
|
|
141
|
-
selected:
|
|
139
|
+
key: e.id,
|
|
140
|
+
selected: e.id === (i == null ? void 0 : i.id),
|
|
142
141
|
onSelect: () => {
|
|
143
142
|
var m;
|
|
144
|
-
(m =
|
|
143
|
+
(m = e.onSelect) == null || m.call(e), r(!1);
|
|
145
144
|
}
|
|
146
145
|
},
|
|
147
|
-
|
|
146
|
+
e.label
|
|
148
147
|
)) })
|
|
149
148
|
}
|
|
150
149
|
) });
|
|
151
|
-
}, O = (
|
|
152
|
-
k.current =
|
|
150
|
+
}, O = (o) => {
|
|
151
|
+
k.current = o, typeof a == "function" ? a(o) : a && (a.current = o);
|
|
153
152
|
};
|
|
154
|
-
return /* @__PURE__ */
|
|
153
|
+
return /* @__PURE__ */ t(
|
|
155
154
|
y,
|
|
156
155
|
{
|
|
157
156
|
className: W,
|
|
158
157
|
renderButton: [u.DOTS_SECONDARY, u.DOTS_SECONDARY_LIGHT].includes(
|
|
159
|
-
|
|
158
|
+
b
|
|
160
159
|
) ? K : P,
|
|
161
160
|
renderDropdown: U,
|
|
162
161
|
dropdownRef: v,
|
|
@@ -166,8 +165,8 @@ const le = "buttonDropdown__82f92a5a", de = "block__3f50c46e", ie = "buttonDropd
|
|
|
166
165
|
);
|
|
167
166
|
}
|
|
168
167
|
);
|
|
169
|
-
|
|
168
|
+
bo.displayName = "ButtonDropdown";
|
|
170
169
|
export {
|
|
171
|
-
|
|
170
|
+
bo as ButtonDropdown
|
|
172
171
|
};
|
|
173
172
|
//# sourceMappingURL=ButtonDropdown.js.map
|
|
@@ -4,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-D3hUOusX.js";
|
|
7
|
-
const K = "
|
|
7
|
+
const K = "buttonDropdownExtended__486e19ef", S = "buttonDropdownExtendedBlock__7b63e073", E = {
|
|
8
8
|
buttonDropdownExtended: K,
|
|
9
9
|
buttonDropdownExtendedBlock: S
|
|
10
10
|
}, D = (s) => {
|
|
@@ -25,10 +25,10 @@ const K = "buttonDropdownExtended__7887ea82", 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, i = l.current;
|
|
29
29
|
if (e) {
|
|
30
|
-
const
|
|
31
|
-
|
|
30
|
+
const a = r.target;
|
|
31
|
+
a && !(n != null && n.contains(a)) && !(i != null && i.contains(a)) && o(!1);
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
return document.addEventListener("keydown", t), document.addEventListener("mousedown", d), document.addEventListener("touchstart", d), () => {
|
|
@@ -2,16 +2,16 @@ import { jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import u from "react";
|
|
3
3
|
import { c as m } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { EButtonIconShape as o } from "./enums.js";
|
|
5
|
-
const
|
|
6
|
-
buttonIcon:
|
|
7
|
-
circle:
|
|
8
|
-
squircle:
|
|
9
|
-
},
|
|
5
|
+
const p = "buttonIcon__dc8b4f11", I = "circle__32aedc46", f = "squircle__eaadef65", t = {
|
|
6
|
+
buttonIcon: p,
|
|
7
|
+
circle: I,
|
|
8
|
+
squircle: f
|
|
9
|
+
}, b = {
|
|
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, b[n], "hoverable", e, {
|
|
15
15
|
active: !!s,
|
|
16
16
|
disabled: !!c
|
|
17
17
|
});
|
|
@@ -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__6a6f8a19", L = "adaptive__b001b945", 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.8.0", children: /* @__PURE__ */ S(
|
|
140
140
|
k.Provider,
|
|
141
141
|
{
|
|
142
142
|
value: {
|
|
@@ -4,11 +4,11 @@ import { CaretleftStrokeSrvIcon24 as B, CaretrightStrokeSrvIcon24 as v } from "@
|
|
|
4
4
|
import { CalendarContext as w } from "../CalendarContext.js";
|
|
5
5
|
import { Button as H } from "../../Button/Button.js";
|
|
6
6
|
import { ButtonIcon as A } from "../../Button/ButtonIcon.js";
|
|
7
|
-
import { EButtonIconShape as
|
|
7
|
+
import { EButtonIconShape as b, EButtonTheme as L } from "../../Button/enums.js";
|
|
8
8
|
import { ECalendarViewMode as e } from "../enums.js";
|
|
9
|
-
import { globalLimitRange as
|
|
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__d335b471", j = {
|
|
12
12
|
calendarControls: U
|
|
13
13
|
}, X = ({
|
|
14
14
|
children: m,
|
|
@@ -16,12 +16,12 @@ const U = "calendarControls__6c96e423", j = {
|
|
|
16
16
|
nextButtonProps: d = {},
|
|
17
17
|
viewButtonProps: c = {}
|
|
18
18
|
}) => {
|
|
19
|
-
const { viewDate: a, viewMode: n, limitRange: u, periodId: S, onPageChange: h, onViewChange: p } = D(w),
|
|
19
|
+
const { viewDate: a, viewMode: n, limitRange: u, periodId: S, onPageChange: h, onViewChange: p } = D(w), O = () => {
|
|
20
20
|
const { disabled: t, onClick: o, ...r } = typeof i == "function" ? i(n) : i;
|
|
21
21
|
return /* @__PURE__ */ s(
|
|
22
22
|
A,
|
|
23
23
|
{
|
|
24
|
-
shape:
|
|
24
|
+
shape: b.CIRCLE,
|
|
25
25
|
disabled: t || N(),
|
|
26
26
|
onClick: R(o),
|
|
27
27
|
...r,
|
|
@@ -33,7 +33,7 @@ const U = "calendarControls__6c96e423", j = {
|
|
|
33
33
|
return /* @__PURE__ */ s(
|
|
34
34
|
A,
|
|
35
35
|
{
|
|
36
|
-
shape:
|
|
36
|
+
shape: b.CIRCLE,
|
|
37
37
|
disabled: t || Y(),
|
|
38
38
|
onClick: x(o),
|
|
39
39
|
...r,
|
|
@@ -56,10 +56,10 @@ const U = "calendarControls__6c96e423", j = {
|
|
|
56
56
|
);
|
|
57
57
|
}, N = () => {
|
|
58
58
|
const t = a.clone();
|
|
59
|
-
return n === e.DAYS ? t.startOf("month") : n === e.MONTHS ? t.startOf("year") : n === e.YEARS && t.startOf("year").subtract(5, "years"), t.subtract(1, "day").isBefore(u.dateFrom ||
|
|
59
|
+
return n === e.DAYS ? t.startOf("month") : n === e.MONTHS ? t.startOf("year") : n === e.YEARS && t.startOf("year").subtract(5, "years"), t.subtract(1, "day").isBefore(u.dateFrom || E.dateFrom, "day");
|
|
60
60
|
}, Y = () => {
|
|
61
61
|
const t = a.clone();
|
|
62
|
-
return n === e.DAYS ? t.endOf("month") : n === e.MONTHS ? t.endOf("year") : n === e.YEARS && t.endOf("year").add(6, "years"), t.add(1, "day").isAfter(u.dateTo ||
|
|
62
|
+
return n === e.DAYS ? t.endOf("month") : n === e.MONTHS ? t.endOf("year") : n === e.YEARS && t.endOf("year").add(6, "years"), t.add(1, "day").isAfter(u.dateTo || E.dateTo, "day");
|
|
63
63
|
}, R = (t) => (o) => {
|
|
64
64
|
const r = C(), l = y(), f = a.clone().subtract(l, r);
|
|
65
65
|
h(f, n), t == null || t(o);
|
|
@@ -86,7 +86,7 @@ const U = "calendarControls__6c96e423", j = {
|
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
88
|
return /* @__PURE__ */ T("div", { className: j.calendarControls, children: [
|
|
89
|
-
|
|
89
|
+
O(),
|
|
90
90
|
n === e.YEARS ? /* @__PURE__ */ s("span", { id: S, tabIndex: -1, "aria-live": "polite", children: m }) : I(),
|
|
91
91
|
g()
|
|
92
92
|
] });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
const e = "
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
const e = "calendarFooter__a514feba", r = {
|
|
3
3
|
calendarFooter: e
|
|
4
|
-
}, t = ({ children:
|
|
4
|
+
}, t = ({ children: a }) => /* @__PURE__ */ o("div", { className: r.calendarFooter, children: a });
|
|
5
5
|
t.displayName = "CalendarFooter";
|
|
6
6
|
export {
|
|
7
7
|
t as CalendarFooter
|