@sberbusiness/triplex-next 1.31.0 → 1.33.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 +36 -33
- package/chunks/{AlertProcessSpoiler-B-2x6lW0.js → AlertProcessSpoiler-Bw11lY_2.js} +14 -14
- package/chunks/{CalendarViewItem-o4k7U5Dm.js → CalendarViewItem-9zvGz6lK.js} +14 -14
- package/chunks/Card.module-CHntSBGP.js +18 -0
- package/chunks/CheckboxTreeExtended.module-DZCnZPkk.js +15 -0
- package/chunks/{Chip-CoKB4iXT.js → Chip-DUgRidoA.js} +16 -16
- package/chunks/Confirm.module-DzA_7mQO.js +15 -0
- package/chunks/{DropdownListItem-Dy7ejFWN.js → DropdownListItem-DfdRzHWo.js} +20 -20
- package/chunks/DropdownMobile.module-B2_eLIZO.js +23 -0
- package/chunks/Footer.module-CV6e-B3r.js +9 -0
- package/chunks/{FormFieldInput-CkVtqncH.js → FormFieldInput-CxAdhoLS.js} +25 -25
- package/chunks/HeaderLayoutSidebar.module-GsbsfEiJ.js +9 -0
- package/chunks/HeaderTabs.module-fOX5YNsl.js +9 -0
- package/chunks/{HeaderTitle.module-ChThbaCy.js → HeaderTitle.module-tH470aDn.js} +2 -2
- package/chunks/ImageGalleryExtendedMain.module-BRSQsPqY.js +17 -0
- package/chunks/{ImageGalleryExtendedThumb-D9p93wFz.js → ImageGalleryExtendedThumb-Cpk1nE0q.js} +5 -5
- package/chunks/IslandAccordion.module-b2tphik7.js +25 -0
- package/chunks/IslandWidgetFooter.module-CKmwyHR4.js +9 -0
- package/chunks/IslandWidgetHeader.module-CZL2t5u0.js +13 -0
- package/chunks/{LightBoxContent-Cr4psg0Z.js → LightBoxContent-Dzx47lKv.js} +10 -10
- package/chunks/LightBoxControls.module-RG62wDXb.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-B7Fno0cK.js +9 -0
- package/chunks/{ListItemControlsButton-Bv8aFUBc.js → ListItemControlsButton-Dc6wY6Fp.js} +6 -6
- package/chunks/ListItemTail.module-DMJ9K0rM.js +12 -0
- package/chunks/ListMasterFooter.module-C58NLDG2.js +10 -0
- package/chunks/ModalWindow.module-CszS7FwS.js +17 -0
- package/chunks/Notification.module-BNsYZ_Ak.js +20 -0
- package/chunks/Overlay.module-DOk5L_-8.js +18 -0
- package/chunks/Page.module-TORdWU5G.js +11 -0
- package/chunks/SMSField.module-BjG_FEkT.js +16 -0
- package/chunks/SliderExtendedMarks.module-Bt31TtEn.js +15 -0
- package/chunks/SliderExtendedRail-BYOwvNNf.js +40 -0
- package/chunks/StatusTracker.module-jqMWmKxs.js +24 -0
- package/chunks/{StepperStepArrowBorder-6bgUfxhh.js → StepperStepArrowBorder-j6OP5KT9.js} +12 -12
- package/chunks/{SuggestFieldMobileDropdownHint-BYUd-DOC.js → SuggestFieldMobileDropdownHint-C8OEdlFf.js} +2 -2
- package/chunks/TableFooter.module-BrNleOTT.js +14 -0
- package/chunks/TabsExtended.module-BStXryDc.js +16 -0
- package/chunks/TabsLine.module-CR0Zbz9g.js +21 -0
- package/chunks/TooltipDesktop.module-lEItFyAS.js +19 -0
- package/chunks/TreeView.module-SA9BUUel.js +9 -0
- package/chunks/{UploadZoneInput-CUVjN3Kj.js → UploadZoneInput-B_FFSQm7.js} +3 -3
- package/chunks/{constants-Ci0_oXbs.js → constants-Dm1nkJLa.js} +13 -13
- package/chunks/{utils-BFyvyQPY.js → utils-C7AeO50S.js} +2 -2
- package/chunks/utils-C88ipzKd.js +28 -0
- package/chunks/utils-CqED8Odf.js +73 -0
- package/chunks/utils-DIpdLSK7.js +24 -0
- package/chunks/{vendor-82AnkPpo.js → vendor-D5cfSbgz.js} +1114 -1116
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +9 -9
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +5 -5
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +5 -5
- package/components/Badge/Badge.js +2 -2
- package/components/Badge/BadgeDot.js +10 -10
- package/components/Badge/components/BadgeContent.js +5 -5
- package/components/Badge/components/BadgePostfix.js +7 -7
- package/components/Badge/components/BadgePrefix.js +6 -6
- package/components/Body/Body.js +8 -8
- package/components/Button/Button.js +28 -28
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +74 -73
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +9 -9
- package/components/Calendar/Calendar.js +6 -6
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +8 -8
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +12 -12
- package/components/Checkbox/Checkbox.js +12 -12
- package/components/Checkbox/CheckboxXGroup.js +13 -13
- package/components/Checkbox/CheckboxYGroup.js +2 -2
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +10 -10
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +6 -6
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +2 -2
- package/components/Chip/ChipSelect/ChipSelect.js +2 -2
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +15 -15
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +50 -46
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +6 -6
- package/components/Col/Col.js +132 -132
- package/components/CollapsibleTree/CollapsibleTree.js +7 -7
- package/components/CollapsibleTree/components/CollapsibleTreeLeafContent.js +2 -2
- package/components/CollapsibleTree/components/CollapsibleTreeLeafNode.js +2 -2
- package/components/CollapsibleTree/components/CollapsibleTreeNodeHeader.js +2 -2
- package/components/CollapsibleTreeExtended/components/CollapsibleTreeExtendedNode.js +4 -4
- package/components/Confirm/Confirm.js +2 -2
- package/components/Confirm/components/ConfirmCloseButton.js +2 -2
- package/components/Confirm/components/ConfirmContent.js +2 -2
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +5 -5
- package/components/DateRange/DateRange.js +14 -14
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/components/Button.js +1 -1
- package/components/DesignTokens/components/Chip.js +1 -1
- package/components/DesignTokens/components/LightBox.js +10 -4
- package/components/DesignTokens/components/Tabs.js +2 -2
- package/components/Divider/Divider.js +21 -21
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +9 -9
- package/components/Dropdown/desktop/DropdownDesktop.js +24 -24
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -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 +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +3 -3
- package/components/Ellipsis/Ellipsis.js +9 -9
- package/components/EmptyView/EmptyView.js +7 -7
- package/components/ExpandAnimation/ExpandAnimation.js +14 -14
- package/components/FocusTrapExtended/FocusTrapExtended.js +34 -0
- package/components/FocusTrapExtended/index.js +5 -0
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +2 -2
- package/components/Footer/components/FooterDescriptionContent.js +2 -2
- package/components/Footer/components/FooterDescriptionControls.js +2 -2
- package/components/FormField/FormField.js +25 -25
- package/components/FormField/components/FormFieldClear.js +10 -10
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +5 -5
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +11 -11
- package/components/FormField/components/FormFieldMaskedInput.js +6 -6
- package/components/FormField/components/FormFieldPostfix.js +5 -5
- package/components/FormField/components/FormFieldPrefix.js +8 -8
- package/components/FormField/components/FormFieldTarget.js +20 -20
- package/components/FormField/components/FormFieldTextarea.js +23 -23
- package/components/FormField/components/index.js +1 -1
- package/components/FormField/index.js +1 -1
- package/components/Gap/Gap.js +7 -7
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +7 -7
- package/components/IconWrapper/IconWrapper.js +7 -7
- package/components/ImageGallery/ImageGallery.js +5 -4
- package/components/ImageGalleryExtended/ImageGalleryExtended.js +9 -9
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedArrow.js +2 -2
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedDots.js +10 -10
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedMain.js +8 -7
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedSlide.js +2 -2
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedSwipeTrack.js +2 -2
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedThumb.js +2 -2
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedThumbnails.js +2 -2
- package/components/ImageGalleryExtended/components/index.js +1 -1
- package/components/ImageGalleryExtended/index.js +1 -1
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +5 -5
- package/components/Island/components/IslandFooter.js +2 -2
- package/components/Island/components/IslandHeader.js +2 -2
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +3 -3
- package/components/IslandWidget/IslandWidget.js +13 -13
- package/components/IslandWidget/components/IslandWidgetBody.js +2 -2
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderControls.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderTitle.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +8 -8
- package/components/LightBox/LightBox.js +60 -69
- package/components/LightBox/LightBoxContent.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxClose.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxControls.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxNext.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +105 -97
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +8 -8
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +8 -8
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +21 -21
- package/components/List/List.js +6 -6
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +12 -12
- package/components/List/components/ListItemControls.js +7 -7
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +7 -7
- package/components/List/components/ListItemSelectable.js +10 -10
- package/components/List/components/ListItemTable.js +6 -6
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +5 -5
- package/components/List/components/ListSortableItemControls.js +7 -7
- package/components/List/components/ListSortableItemTarget.js +4 -4
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +6 -6
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +8 -8
- package/components/ListMaster/components/SelectionControls.js +6 -6
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +9 -9
- package/components/Loader/LoaderSmall/LoaderSmall.js +8 -8
- package/components/LoaderScreen/LoaderScreen.js +10 -10
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +27 -31
- package/components/MobileView/index.js +3 -1
- package/components/MobileView/useMobileView.js +10 -0
- package/components/ModalWindow/ModalWindow.js +30 -30
- package/components/ModalWindow/components/ModalWindowBody.js +7 -7
- package/components/ModalWindow/components/ModalWindowClose.js +5 -5
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +3 -3
- package/components/ModalWindow/components/ModalWindowViewManager.js +7 -7
- package/components/MonthYearRange/MonthYearRange.js +12 -12
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +10 -10
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +6 -6
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +9 -9
- package/components/OrderedList/OrderedListItem.js +3 -3
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +2 -2
- package/components/Page/components/BodyPage.js +7 -7
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +11 -11
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +13 -13
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +13 -13
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +8 -8
- package/components/Row/Row.js +8 -8
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +3 -3
- package/components/SMSField/components/SMSFieldRefresh.js +2 -2
- package/components/SMSField/components/SMSFieldSubmit.js +2 -2
- package/components/SMSField/components/SMSFieldTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +16 -16
- package/components/SegmentedControl/SegmentedControlSegment.js +6 -6
- package/components/SelectExtendedField/SelectExtendedField.js +19 -19
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +20 -19
- package/components/SelectField/SelectField.js +2 -2
- package/components/Skeleton/Skeleton.js +10 -10
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +2 -2
- package/components/SliderExtended/components/SliderExtendedRail.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +18 -18
- package/components/SmallInput/SmallInput.js +5 -5
- package/components/Spoiler/Spoiler.js +13 -13
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +2 -2
- package/components/StatusTracker/components/StatusTrackerBody.js +11 -9
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +2 -2
- package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
- package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
- package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatusGroup.js +13 -0
- package/components/StatusTracker/components/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/Step/Step.js +18 -18
- package/components/Stepper/Stepper.js +33 -32
- package/components/Stepper/StepperExtended.js +8 -8
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperStepArrowBorder.js +1 -1
- package/components/Stepper/index.js +9 -7
- package/components/Suggest/SuggestMobileDropdownContent.js +10 -10
- package/components/Suggest/useSuggest.js +1 -1
- package/components/SuggestField/SuggestField.js +2 -2
- 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 +2 -2
- 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 +3 -3
- package/components/Table/ChipPanel.js +2 -2
- package/components/Table/ChipPanelLinks.js +5 -5
- package/components/Table/FilterPanel.js +6 -6
- package/components/Table/MasterTable.js +19 -19
- package/components/Table/NoColumns.js +6 -6
- package/components/Table/PaginationPanel.js +5 -5
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +21 -21
- package/components/Table/TableBasicSettings/TableBasicSettings.js +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +4 -4
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +4 -4
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +2 -2
- package/components/Table/TableFooter/TableFooter.js +2 -2
- 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/utils.js +1 -1
- package/components/Tabs/Tabs.js +44 -39
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +7 -7
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +13 -12
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +3 -3
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +1 -1
- package/components/Tag/Tag.js +28 -28
- package/components/TagColor/TagColor.js +11 -11
- package/components/TagGroup/TagGroup.js +10 -10
- package/components/TextField/TextField.js +1 -1
- package/components/TextField/TextFieldBase.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- 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 +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +13 -13
- package/components/TopOverlay/TopOverlay.js +53 -53
- package/components/TreeView/TreeView.js +2 -2
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +2 -2
- package/components/Typography/Caption.js +31 -31
- package/components/Typography/CodeText.js +11 -11
- package/components/Typography/Text.js +18 -18
- package/components/Typography/Title.js +15 -15
- package/components/Typography/constants.js +1 -1
- package/components/Typography/enums.js +1 -1
- package/components/UnorderedList/UnorderedList.js +5 -5
- package/components/UnorderedList/UnorderedListItem.js +6 -6
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/UploadZone/index.js +1 -1
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +363 -359
- package/index.d.ts +42 -42
- package/index.js +397 -393
- package/package.json +5 -1
- package/styles/triplex-next.css +557 -556
- package/utils/amountUtils.js +1 -1
- package/chunks/Card.module-_9W_bDbW.js +0 -18
- package/chunks/CheckboxTreeExtended.module-BW6Er6eg.js +0 -15
- package/chunks/Confirm.module-B7EimS-c.js +0 -15
- package/chunks/DropdownMobile.module-CEUckjjY.js +0 -23
- package/chunks/Footer.module-Btaepr_L.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-Uq7eUhaq.js +0 -9
- package/chunks/HeaderTabs.module-CiK3DS7c.js +0 -9
- package/chunks/ImageGalleryExtendedMain.module-KwgIPfp-.js +0 -17
- package/chunks/IslandAccordion.module-BxoLhMzZ.js +0 -25
- package/chunks/IslandWidgetFooter.module-CxO5dSVu.js +0 -9
- package/chunks/IslandWidgetHeader.module-BZIonIbn.js +0 -13
- package/chunks/LightBoxControls.module-BT6tQ7Ue.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-dV9DEtmo.js +0 -9
- package/chunks/ListItemTail.module-Bp7M4QdS.js +0 -12
- package/chunks/ListMasterFooter.module-DMGAGzUD.js +0 -10
- package/chunks/ModalWindow.module-CcEb5ZBL.js +0 -17
- package/chunks/Notification.module-DmHe2Kv2.js +0 -20
- package/chunks/Overlay.module-f4p8iBuk.js +0 -18
- package/chunks/Page.module-B1W0CUyk.js +0 -11
- package/chunks/SMSField.module-cmbHRm31.js +0 -16
- package/chunks/SliderExtendedMarks.module-DptabtoD.js +0 -15
- package/chunks/SliderExtendedRail-D4NXHvvH.js +0 -40
- package/chunks/StatusTracker.module-BBm6PrHb.js +0 -24
- package/chunks/TableFooter.module-D-gNDmws.js +0 -14
- package/chunks/TabsExtended.module-IBQrFWHl.js +0 -16
- package/chunks/TabsLine.module-CM-pL6UU.js +0 -21
- package/chunks/TooltipDesktop.module-CXZIjsAn.js +0 -19
- package/chunks/TreeView.module-Co2-lRZN.js +0 -9
- package/chunks/utils-B2FzgoVa.js +0 -28
- package/chunks/utils-DEqGmway.js +0 -73
- package/chunks/utils-fAec4Z-1.js +0 -24
|
@@ -1,60 +1,61 @@
|
|
|
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 t, jsxs as x, Fragment as
|
|
5
|
-
import
|
|
6
|
-
import { c as w, u as
|
|
7
|
-
import { DotshorizontalStrokeSrvIcon32 as J, DotshorizontalStrokeSrvIcon20 as
|
|
8
|
-
import { ButtonDropdownExtended as
|
|
9
|
-
import { EButtonDotsTheme as N, EButtonTheme as
|
|
4
|
+
import { jsx as t, jsxs as x, Fragment as U } from "react/jsx-runtime";
|
|
5
|
+
import Z, { useRef as I, useState as q, createElement as B } from "react";
|
|
6
|
+
import { c as w, u as F } from "../../chunks/vendor-D5cfSbgz.js";
|
|
7
|
+
import { DotshorizontalStrokeSrvIcon32 as V, DotshorizontalStrokeSrvIcon24 as J, DotshorizontalStrokeSrvIcon20 as Q, CaretdownStrokeSrvIcon24 as X, CaretdownStrokeSrvIcon20 as $, CaretdownStrokeSrvIcon16 as oo } from "@sberbusiness/icons-next";
|
|
8
|
+
import { ButtonDropdownExtended as y } from "./ButtonDropdownExtended.js";
|
|
9
|
+
import { EButtonDotsTheme as N, EButtonTheme as d } from "./enums.js";
|
|
10
10
|
import { isKey as D } from "../../utils/keyboard.js";
|
|
11
|
-
import { DropdownListContext as
|
|
11
|
+
import { DropdownListContext as to } from "../Dropdown/DropdownListContext.js";
|
|
12
12
|
import "../Dropdown/desktop/DropdownDesktop.js";
|
|
13
|
-
import { DropdownList as
|
|
14
|
-
import "../../chunks/DropdownListItem-
|
|
15
|
-
import { EDropdownAlignment as
|
|
13
|
+
import { DropdownList as g } from "../Dropdown/desktop/DropdownList.js";
|
|
14
|
+
import "../../chunks/DropdownListItem-DfdRzHWo.js";
|
|
15
|
+
import { EDropdownAlignment as ro, EDropdownWidth as eo } from "../Dropdown/desktop/enums.js";
|
|
16
16
|
import "../Dropdown/mobile/DropdownMobile.js";
|
|
17
|
-
import { DropdownMobileBody as
|
|
18
|
-
import { DropdownMobileClose as
|
|
17
|
+
import { DropdownMobileBody as no } from "../Dropdown/mobile/DropdownMobileBody.js";
|
|
18
|
+
import { DropdownMobileClose as co } from "../Dropdown/mobile/DropdownMobileClose.js";
|
|
19
19
|
import "../Dropdown/mobile/DropdownMobileFooter.js";
|
|
20
|
-
import { DropdownMobileHeader as
|
|
20
|
+
import { DropdownMobileHeader as ao } from "../Dropdown/mobile/DropdownMobileHeader.js";
|
|
21
21
|
import "../Dropdown/mobile/DropdownMobileInner.js";
|
|
22
22
|
import "../Dropdown/mobile/DropdownMobileInput.js";
|
|
23
|
-
import { DropdownMobileList as
|
|
24
|
-
import { DropdownMobileListItem as
|
|
23
|
+
import { DropdownMobileList as so } from "../Dropdown/mobile/DropdownMobileList.js";
|
|
24
|
+
import { DropdownMobileListItem as io } from "../Dropdown/mobile/DropdownMobileListItem.js";
|
|
25
25
|
import "../Loader/LoaderSmall/LoaderSmall.js";
|
|
26
26
|
import "../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
27
|
-
import { EComponentSize as
|
|
27
|
+
import { EComponentSize as l } from "../../enums/EComponentSize.js";
|
|
28
28
|
import "../Dropdown/Dropdown.js";
|
|
29
|
-
import { ETextSize as
|
|
29
|
+
import { ETextSize as mo } from "../Typography/enums.js";
|
|
30
30
|
import "../Typography/Caption.js";
|
|
31
31
|
import "../Typography/CodeText.js";
|
|
32
|
-
import { Text as
|
|
32
|
+
import { Text as lo } from "../Typography/Text.js";
|
|
33
33
|
import "../Typography/Title.js";
|
|
34
|
-
const
|
|
35
|
-
buttonDropdown:
|
|
36
|
-
block:
|
|
37
|
-
buttonDropdownTarget:
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
[
|
|
44
|
-
[
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
[
|
|
48
|
-
[
|
|
49
|
-
|
|
34
|
+
const uo = "buttonDropdown__337d053a", po = "block__847f7018", Do = "buttonDropdownTarget__58a2c695", fo = "dots__4005b0bc", wo = "caretIcon__0191e163", bo = "active__f055ab74", So = "buttonDropdownMenuItem__86dae707", n = {
|
|
35
|
+
buttonDropdown: uo,
|
|
36
|
+
block: po,
|
|
37
|
+
buttonDropdownTarget: Do,
|
|
38
|
+
dots: fo,
|
|
39
|
+
caretIcon: wo,
|
|
40
|
+
active: bo,
|
|
41
|
+
buttonDropdownMenuItem: So
|
|
42
|
+
}, _o = {
|
|
43
|
+
[l.SM]: /* @__PURE__ */ t(Q, { paletteIndex: 0 }),
|
|
44
|
+
[l.MD]: /* @__PURE__ */ t(J, { paletteIndex: 0 }),
|
|
45
|
+
[l.LG]: /* @__PURE__ */ t(V, { paletteIndex: 0 })
|
|
46
|
+
}, L = {
|
|
47
|
+
[l.SM]: (a) => /* @__PURE__ */ t(oo, { paletteIndex: a, className: n.caretIcon }),
|
|
48
|
+
[l.MD]: (a) => /* @__PURE__ */ t($, { paletteIndex: a, className: n.caretIcon }),
|
|
49
|
+
[l.LG]: (a) => /* @__PURE__ */ t(X, { paletteIndex: a, className: n.caretIcon })
|
|
50
|
+
}, Io = Z.forwardRef(
|
|
50
51
|
(a, f) => {
|
|
51
|
-
const { buttonAttributes: R, children: h, className:
|
|
52
|
+
const { buttonAttributes: R, children: h, className: G, theme: u, size: s, options: E, selected: m, block: b, disabled: T, ...z } = a, C = I(null), A = I(null), P = w(n.buttonDropdown, { [n.block]: !!b }, G), [S, W] = q(), _ = I(F()), Y = ({ opened: o, setOpened: e }) => {
|
|
52
53
|
const c = w(n.buttonDropdownTarget, {
|
|
53
54
|
[n.block]: !!b,
|
|
54
55
|
[n.active]: o
|
|
55
56
|
});
|
|
56
57
|
return /* @__PURE__ */ x(
|
|
57
|
-
|
|
58
|
+
M,
|
|
58
59
|
{
|
|
59
60
|
className: c,
|
|
60
61
|
theme: u,
|
|
@@ -67,22 +68,22 @@ const lo = "buttonDropdown__30e52421", uo = "block__68510171", po = "buttonDropd
|
|
|
67
68
|
"aria-controls": _.current,
|
|
68
69
|
"aria-activedescendant": S,
|
|
69
70
|
...R,
|
|
70
|
-
ref:
|
|
71
|
+
ref: v,
|
|
71
72
|
children: [
|
|
72
73
|
h,
|
|
73
|
-
|
|
74
|
+
K()
|
|
74
75
|
]
|
|
75
76
|
}
|
|
76
77
|
);
|
|
77
|
-
},
|
|
78
|
-
const c = w(n.buttonDropdownTarget, {
|
|
78
|
+
}, H = ({ opened: o, setOpened: e }) => {
|
|
79
|
+
const c = w(n.buttonDropdownTarget, n.dots, {
|
|
79
80
|
[n.block]: !!b
|
|
80
81
|
});
|
|
81
82
|
return /* @__PURE__ */ t(
|
|
82
|
-
|
|
83
|
+
M,
|
|
83
84
|
{
|
|
84
85
|
className: c,
|
|
85
|
-
theme: u === N.DOTS_SECONDARY ?
|
|
86
|
+
theme: u === N.DOTS_SECONDARY ? d.SECONDARY : d.SECONDARY_LIGHT,
|
|
86
87
|
size: s,
|
|
87
88
|
onKeyDown: O({ opened: o, setOpened: e }),
|
|
88
89
|
onClick: k({ opened: o, setOpened: e }),
|
|
@@ -92,48 +93,48 @@ const lo = "buttonDropdown__30e52421", uo = "block__68510171", po = "buttonDropd
|
|
|
92
93
|
"aria-controls": _.current,
|
|
93
94
|
"aria-activedescendant": S,
|
|
94
95
|
...R,
|
|
95
|
-
ref:
|
|
96
|
-
icon:
|
|
96
|
+
ref: v,
|
|
97
|
+
icon: _o[s]
|
|
97
98
|
}
|
|
98
99
|
);
|
|
99
100
|
}, k = ({ opened: o, setOpened: e }) => () => e(!o), O = ({ opened: o, setOpened: e }) => (c) => {
|
|
100
101
|
const { key: i } = c;
|
|
101
102
|
(D(i, "SPACE") || D(i, "ARROW_UP") || D(i, "ARROW_DOWN")) && c.preventDefault(), !o && (D(i, "ARROW_UP") || D(i, "ARROW_DOWN")) && e(!0);
|
|
102
|
-
},
|
|
103
|
+
}, K = () => {
|
|
103
104
|
switch (u) {
|
|
104
|
-
case
|
|
105
|
-
case
|
|
106
|
-
return
|
|
107
|
-
case
|
|
108
|
-
case
|
|
109
|
-
return
|
|
105
|
+
case d.GENERAL:
|
|
106
|
+
case d.DANGER:
|
|
107
|
+
return L[s](7);
|
|
108
|
+
case d.SECONDARY:
|
|
109
|
+
case d.SECONDARY_LIGHT:
|
|
110
|
+
return L[s](0);
|
|
110
111
|
default:
|
|
111
112
|
return null;
|
|
112
113
|
}
|
|
113
|
-
},
|
|
114
|
+
}, j = ({ opened: o, setOpened: e, className: c }) => {
|
|
114
115
|
const i = w(n.buttonDropdownMenu, c);
|
|
115
|
-
return /* @__PURE__ */ t(
|
|
116
|
-
|
|
116
|
+
return /* @__PURE__ */ t(to.Provider, { value: { activeDescendant: S, setActiveDescendant: W }, children: /* @__PURE__ */ t(
|
|
117
|
+
y.Dropdown,
|
|
117
118
|
{
|
|
118
119
|
className: i,
|
|
119
120
|
size: s,
|
|
120
|
-
width:
|
|
121
|
-
alignment:
|
|
121
|
+
width: eo.MIN_TARGET,
|
|
122
|
+
alignment: ro.RIGHT,
|
|
122
123
|
opened: o,
|
|
123
124
|
setOpened: e,
|
|
124
125
|
targetRef: C,
|
|
125
126
|
ref: A,
|
|
126
127
|
mobileViewProps: {
|
|
127
|
-
children: /* @__PURE__ */ x(
|
|
128
|
+
children: /* @__PURE__ */ x(U, { children: [
|
|
128
129
|
/* @__PURE__ */ t(
|
|
129
|
-
|
|
130
|
+
ao,
|
|
130
131
|
{
|
|
131
|
-
controlButtons: /* @__PURE__ */ t(
|
|
132
|
-
children: /* @__PURE__ */ t(
|
|
132
|
+
controlButtons: /* @__PURE__ */ t(co, { onClick: () => e(!1) }),
|
|
133
|
+
children: /* @__PURE__ */ t(lo, { tag: "div", size: mo.B3, children: h })
|
|
133
134
|
}
|
|
134
135
|
),
|
|
135
|
-
/* @__PURE__ */ t(
|
|
136
|
-
|
|
136
|
+
/* @__PURE__ */ t(no, { children: /* @__PURE__ */ t(so, { children: E.map((r) => /* @__PURE__ */ B(
|
|
137
|
+
io,
|
|
137
138
|
{
|
|
138
139
|
...r,
|
|
139
140
|
key: r.id,
|
|
@@ -147,8 +148,8 @@ const lo = "buttonDropdown__30e52421", uo = "block__68510171", po = "buttonDropd
|
|
|
147
148
|
)) }) })
|
|
148
149
|
] })
|
|
149
150
|
},
|
|
150
|
-
children: /* @__PURE__ */ t(
|
|
151
|
-
|
|
151
|
+
children: /* @__PURE__ */ t(g, { dropdownOpened: o, id: _.current, size: s, children: E.map((r) => /* @__PURE__ */ B(
|
|
152
|
+
g.Item,
|
|
152
153
|
{
|
|
153
154
|
...r,
|
|
154
155
|
className: n.buttonDropdownMenuItem,
|
|
@@ -163,24 +164,24 @@ const lo = "buttonDropdown__30e52421", uo = "block__68510171", po = "buttonDropd
|
|
|
163
164
|
)) })
|
|
164
165
|
}
|
|
165
166
|
) });
|
|
166
|
-
},
|
|
167
|
+
}, v = (o) => {
|
|
167
168
|
C.current = o, typeof f == "function" ? f(o) : f && (f.current = o);
|
|
168
169
|
};
|
|
169
170
|
return /* @__PURE__ */ t(
|
|
170
|
-
|
|
171
|
+
y,
|
|
171
172
|
{
|
|
172
|
-
className:
|
|
173
|
-
renderButton: u === N.DOTS_SECONDARY || u === N.DOTS_SECONDARY_LIGHT ?
|
|
174
|
-
renderDropdown:
|
|
173
|
+
className: P,
|
|
174
|
+
renderButton: u === N.DOTS_SECONDARY || u === N.DOTS_SECONDARY_LIGHT ? H : Y,
|
|
175
|
+
renderDropdown: j,
|
|
175
176
|
dropdownRef: A,
|
|
176
177
|
closeOnTab: !0,
|
|
177
|
-
...
|
|
178
|
+
...z
|
|
178
179
|
}
|
|
179
180
|
);
|
|
180
181
|
}
|
|
181
182
|
);
|
|
182
|
-
|
|
183
|
+
Io.displayName = "ButtonDropdown";
|
|
183
184
|
export {
|
|
184
|
-
|
|
185
|
+
Io as ButtonDropdown
|
|
185
186
|
};
|
|
186
187
|
//# sourceMappingURL=ButtonDropdown.js.map
|
|
@@ -3,8 +3,8 @@ import { useRef as f, useState as C, useCallback as N, useEffect as R } from "re
|
|
|
3
3
|
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
|
-
import { c as A } from "../../chunks/vendor-
|
|
7
|
-
const K = "
|
|
6
|
+
import { c as A } from "../../chunks/vendor-D5cfSbgz.js";
|
|
7
|
+
const K = "buttonDropdownExtended__63355ed1", S = "buttonDropdownExtendedBlock__26960e2f", E = {
|
|
8
8
|
buttonDropdownExtended: K,
|
|
9
9
|
buttonDropdownExtendedBlock: S
|
|
10
10
|
}, D = (s) => {
|
|
@@ -25,10 +25,10 @@ const K = "buttonDropdownExtended__a9f27058", 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), () => {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import a from "react";
|
|
3
|
-
import { c as m } from "../../chunks/vendor-
|
|
3
|
+
import { c as m } from "../../chunks/vendor-D5cfSbgz.js";
|
|
4
4
|
import { EButtonIconShape as t } from "./enums.js";
|
|
5
5
|
import { IconWrapper as p } from "../IconWrapper/IconWrapper.js";
|
|
6
|
-
const _ = "
|
|
6
|
+
const _ = "buttonIcon__0a8d0495", I = "circle__62b180e2", f = "squircle__9a513bf7", o = {
|
|
7
7
|
buttonIcon: _,
|
|
8
8
|
circle: I,
|
|
9
9
|
squircle: f
|
|
10
|
-
},
|
|
10
|
+
}, b = {
|
|
11
11
|
[t.SQUIRCLE]: o.squircle,
|
|
12
12
|
[t.CIRCLE]: o.circle
|
|
13
|
-
},
|
|
14
|
-
({ className: r, disabled: c, shape:
|
|
15
|
-
const l = m(o.buttonIcon,
|
|
16
|
-
return /* @__PURE__ */ n(p, { displayContents: !0, disabled: c, active:
|
|
13
|
+
}, C = a.forwardRef(
|
|
14
|
+
({ className: r, disabled: c, shape: e = t.SQUIRCLE, active: s, ...u }, i) => {
|
|
15
|
+
const l = m(o.buttonIcon, b[e], r);
|
|
16
|
+
return /* @__PURE__ */ n(p, { displayContents: !0, disabled: c, active: s, children: /* @__PURE__ */ n("button", { type: "button", className: l, disabled: c, ...u, ref: i }) });
|
|
17
17
|
}
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
C.displayName = "ButtonIcon";
|
|
20
20
|
export {
|
|
21
|
-
|
|
21
|
+
C as ButtonIcon
|
|
22
22
|
};
|
|
23
23
|
//# sourceMappingURL=ButtonIcon.js.map
|
|
@@ -3,7 +3,7 @@ var F = (h, p, t) => p in h ? x(h, p, { enumerable: !0, configurable: !0, writab
|
|
|
3
3
|
var c = (h, p, t) => F(h, typeof p != "symbol" ? p + "" : p, t);
|
|
4
4
|
import { jsx as f, jsxs as T } from "react/jsx-runtime";
|
|
5
5
|
import E from "react";
|
|
6
|
-
import { u as H, c as R } from "../../chunks/vendor-
|
|
6
|
+
import { u as H, c as R } from "../../chunks/vendor-D5cfSbgz.js";
|
|
7
7
|
import y from "moment";
|
|
8
8
|
import { globalLimitRange as I, dateFormatYYYYMMDD as O } from "../../consts/DateConst.js";
|
|
9
9
|
import { EComponentSize as A } from "../../enums/EComponentSize.js";
|
|
@@ -14,7 +14,7 @@ import { CalendarView as z } from "./components/CalendarView.js";
|
|
|
14
14
|
import { CalendarFooter as N } from "./components/CalendarFooter.js";
|
|
15
15
|
import { CalendarFooterButton as S } from "./components/CalendarFooterButton.js";
|
|
16
16
|
import { parsePickedDate as D, formatDate as w, getHeader as j } from "./utils.js";
|
|
17
|
-
const q = "
|
|
17
|
+
const q = "calendar__97b951f0", L = "extraBottom__a78e6f73", U = "adaptive__0cf56773", C = {
|
|
18
18
|
calendar: q,
|
|
19
19
|
extraBottom: L,
|
|
20
20
|
adaptive: U
|
|
@@ -139,11 +139,11 @@ class k extends E.PureComponent {
|
|
|
139
139
|
nextButtonProps: m,
|
|
140
140
|
viewButtonProps: u,
|
|
141
141
|
todayButtonProps: g
|
|
142
|
-
} = this.props, { viewMode: P, viewDate: M, header: Y } = this.state,
|
|
142
|
+
} = this.props, { viewMode: P, viewDate: M, header: Y } = this.state, b = R(
|
|
143
143
|
C.calendar,
|
|
144
144
|
this.props.adaptiveMode ? C.adaptive : (P !== l.DAYS || g) && C.extraBottom
|
|
145
|
-
),
|
|
146
|
-
return /* @__PURE__ */ f("div", { className:
|
|
145
|
+
), _ = D(this.props.pickedDate, t);
|
|
146
|
+
return /* @__PURE__ */ f("div", { className: b, "data-tx": "1.33.0", children: /* @__PURE__ */ T(
|
|
147
147
|
B.Provider,
|
|
148
148
|
{
|
|
149
149
|
value: {
|
|
@@ -172,7 +172,7 @@ class k extends E.PureComponent {
|
|
|
172
172
|
/* @__PURE__ */ f(
|
|
173
173
|
z,
|
|
174
174
|
{
|
|
175
|
-
pickedDate:
|
|
175
|
+
pickedDate: _,
|
|
176
176
|
dayHtmlAttributes: a,
|
|
177
177
|
monthHtmlAttributes: s,
|
|
178
178
|
yearHtmlAttributes: n
|
|
@@ -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 E, EButtonTheme as L } from "../../Button/enums.js";
|
|
8
8
|
import { ECalendarViewMode as e } from "../enums.js";
|
|
9
|
-
import { globalLimitRange as
|
|
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__6d045031", j = {
|
|
12
12
|
calendarControls: U
|
|
13
13
|
}, X = ({
|
|
14
14
|
children: m,
|
|
@@ -16,12 +16,12 @@ const U = "calendarControls__cb73c3cc", 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), b = () => {
|
|
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: E.CIRCLE,
|
|
25
25
|
disabled: t || N(),
|
|
26
26
|
onClick: R(o),
|
|
27
27
|
...r,
|
|
@@ -33,7 +33,7 @@ const U = "calendarControls__cb73c3cc", j = {
|
|
|
33
33
|
return /* @__PURE__ */ s(
|
|
34
34
|
A,
|
|
35
35
|
{
|
|
36
|
-
shape:
|
|
36
|
+
shape: E.CIRCLE,
|
|
37
37
|
disabled: t || Y(),
|
|
38
38
|
onClick: x(o),
|
|
39
39
|
...r,
|
|
@@ -56,10 +56,10 @@ const U = "calendarControls__cb73c3cc", 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 || O.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 || O.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__cb73c3cc", j = {
|
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
88
|
return /* @__PURE__ */ T("div", { className: j.calendarControls, children: [
|
|
89
|
-
|
|
89
|
+
b(),
|
|
90
90
|
n === e.YEARS ? /* @__PURE__ */ s("span", { id: S, tabIndex: -1, "aria-live": "polite", children: m }) : I(),
|
|
91
91
|
g()
|
|
92
92
|
] });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
const a = "
|
|
2
|
+
const a = "calendarFooter__3343eade", r = {
|
|
3
3
|
calendarFooter: a
|
|
4
4
|
}, t = ({ children: e }) => /* @__PURE__ */ o("div", { className: r.calendarFooter, children: e });
|
|
5
5
|
t.displayName = "CalendarFooter";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as U, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as k, useCallback as O, useState as H, useEffect as L } from "react";
|
|
3
3
|
import c from "moment";
|
|
4
|
-
import { c as q } from "../../../chunks/vendor-
|
|
4
|
+
import { c as q } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
5
5
|
import { isDateOutOfRange as g, isDayDisabled as z } from "../utils.js";
|
|
6
6
|
import { WEEKDAYS_SET as J } from "../../../consts/DateConst.js";
|
|
7
7
|
import { CalendarViewContext as Q } from "../CalendarViewContext.js";
|
|
8
|
-
import { s as y, C as X } from "../../../chunks/CalendarViewItem-
|
|
8
|
+
import { s as y, C as X } from "../../../chunks/CalendarViewItem-9zvGz6lK.js";
|
|
9
9
|
import { isKey as d } from "../../../utils/keyboard.js";
|
|
10
10
|
import { ECalendarDateMarkType as Z, ECalendarViewMode as E } from "../enums.js";
|
|
11
11
|
import { CalendarContext as ee } from "../CalendarContext.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../../../chunks/vendor-
|
|
3
|
+
import "../../../chunks/vendor-D5cfSbgz.js";
|
|
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-9zvGz6lK.js";
|
|
8
8
|
export {
|
|
9
9
|
C as CalendarViewItem
|
|
10
10
|
};
|
|
@@ -4,7 +4,7 @@ import h from "moment";
|
|
|
4
4
|
import { CalendarContext as G } from "../CalendarContext.js";
|
|
5
5
|
import { CalendarViewContext as K } from "../CalendarViewContext.js";
|
|
6
6
|
import { isDateOutOfRange as S } from "../utils.js";
|
|
7
|
-
import { s as B, C as U } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as B, C as U } from "../../../chunks/CalendarViewItem-9zvGz6lK.js";
|
|
8
8
|
import { isKey as i } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarPickType as Y, ECalendarViewMode as u } from "../enums.js";
|
|
10
10
|
const Z = ({ pickedDate: r, monthHtmlAttributes: T = {} }) => {
|
|
@@ -4,7 +4,7 @@ import w from "moment";
|
|
|
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-9zvGz6lK.js";
|
|
8
8
|
import { isKey as i } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarViewMode as y } from "../enums.js";
|
|
10
10
|
const Q = ({ pickedDate: s, yearHtmlAttributes: S = {} }) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
var
|
|
2
|
-
var y = (c, i, e) => i in c ?
|
|
1
|
+
var N = Object.defineProperty;
|
|
2
|
+
var y = (c, i, e) => i in c ? N(c, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[i] = e;
|
|
3
3
|
var o = (c, i, e) => y(c, typeof i != "symbol" ? i + "" : i, e);
|
|
4
4
|
import { jsx as R } from "react/jsx-runtime";
|
|
5
5
|
import u from "react";
|
|
@@ -9,9 +9,9 @@ import { ECardRoundingSize as M, ECardTheme as w } from "./enums.js";
|
|
|
9
9
|
import { EFocusSource as r } from "../../enums/EFocusSource.js";
|
|
10
10
|
import { mapCardRoundingSizeToCssClass as x, mapCardThemeToCssClass as K } from "./utils.js";
|
|
11
11
|
import { isKey as f } from "../../utils/keyboard.js";
|
|
12
|
-
import { c as k } from "../../chunks/vendor-
|
|
13
|
-
import { c as B } from "../../chunks/Card.module-
|
|
14
|
-
const O = "
|
|
12
|
+
import { c as k } from "../../chunks/vendor-D5cfSbgz.js";
|
|
13
|
+
import { c as B } from "../../chunks/Card.module-CHntSBGP.js";
|
|
14
|
+
const O = "action__db611e70", F = "selected__b688b220", V = "focusVisible__cf86ca2f", a = {
|
|
15
15
|
action: O,
|
|
16
16
|
selected: F,
|
|
17
17
|
focusVisible: V
|
|
@@ -72,7 +72,7 @@ class l extends u.Component {
|
|
|
72
72
|
toggle: U,
|
|
73
73
|
theme: S = w.GENERAL,
|
|
74
74
|
...C
|
|
75
|
-
} = this.props, { isControlled: E, isSelected: g, focusSource: D } = this.state,
|
|
75
|
+
} = this.props, { isControlled: E, isSelected: g, focusSource: D } = this.state, b = k(
|
|
76
76
|
B.card,
|
|
77
77
|
a.action,
|
|
78
78
|
K[S],
|
|
@@ -86,7 +86,7 @@ class l extends u.Component {
|
|
|
86
86
|
return /* @__PURE__ */ R(
|
|
87
87
|
"div",
|
|
88
88
|
{
|
|
89
|
-
className:
|
|
89
|
+
className: b,
|
|
90
90
|
tabIndex: 0,
|
|
91
91
|
onClick: this.handleClick,
|
|
92
92
|
onMouseDown: this.handleMouseDown,
|
|
@@ -96,7 +96,7 @@ class l extends u.Component {
|
|
|
96
96
|
role: "button",
|
|
97
97
|
...C,
|
|
98
98
|
ref: this.ref,
|
|
99
|
-
"data-tx": "1.
|
|
99
|
+
"data-tx": "1.33.0",
|
|
100
100
|
children: e
|
|
101
101
|
}
|
|
102
102
|
);
|
|
@@ -2,8 +2,8 @@ import { jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import { CardContent as s } from "./components/CardContent/CardContent.js";
|
|
3
3
|
import { CardMedia as e } from "./components/CardMedia.js";
|
|
4
4
|
import { mapCardRoundingSizeToCssClass as C, mapCardThemeToCssClass as p } from "./utils.js";
|
|
5
|
-
import { c } from "../../chunks/vendor-
|
|
6
|
-
import { c as n } from "../../chunks/Card.module-
|
|
5
|
+
import { c } from "../../chunks/vendor-D5cfSbgz.js";
|
|
6
|
+
import { c as n } from "../../chunks/Card.module-CHntSBGP.js";
|
|
7
7
|
import { ECardRoundingSize as f, ECardTheme as l } from "./enums.js";
|
|
8
8
|
const a = ({
|
|
9
9
|
children: r,
|
|
@@ -21,7 +21,7 @@ const a = ({
|
|
|
21
21
|
o
|
|
22
22
|
),
|
|
23
23
|
...d,
|
|
24
|
-
"data-tx": "1.
|
|
24
|
+
"data-tx": "1.33.0",
|
|
25
25
|
children: r
|
|
26
26
|
}
|
|
27
27
|
);
|
|
@@ -3,8 +3,8 @@ import { CardContentBody as C } from "./components/CardContentBody.js";
|
|
|
3
3
|
import { CardContentHeader as i } from "./components/CardContentHeader.js";
|
|
4
4
|
import { CardContentFooter as s } from "./components/CardContentFooter.js";
|
|
5
5
|
import { ECardContentPaddingSize as t } from "../../enums.js";
|
|
6
|
-
import { c as p } from "../../../../chunks/vendor-
|
|
7
|
-
import { c as r } from "../../../../chunks/Card.module-
|
|
6
|
+
import { c as p } from "../../../../chunks/vendor-D5cfSbgz.js";
|
|
7
|
+
import { c as r } from "../../../../chunks/Card.module-CHntSBGP.js";
|
|
8
8
|
const c = {
|
|
9
9
|
[t.MD]: r.paddingMD,
|
|
10
10
|
[t.SM]: r.paddingSM
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { c as d } from "../../../../../chunks/vendor-
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
2
|
+
import { c as d } from "../../../../../chunks/vendor-D5cfSbgz.js";
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-CHntSBGP.js";
|
|
4
4
|
const m = ({ children: o, className: t, ...r }) => /* @__PURE__ */ a("div", { className: d(s.cardContentBody, t), ...r, children: o });
|
|
5
5
|
m.displayName = "CardContentBody";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { c as e } from "../../../../../chunks/vendor-
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
2
|
+
import { c as e } from "../../../../../chunks/vendor-D5cfSbgz.js";
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-CHntSBGP.js";
|
|
4
4
|
const m = ({ children: o, className: t, ...r }) => /* @__PURE__ */ a("div", { className: e(s.cardContentFooter, t), ...r, children: o });
|
|
5
5
|
m.displayName = "CardContentFooter";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { c as o } from "../../../../../chunks/vendor-
|
|
3
|
-
import { c as d } from "../../../../../chunks/Card.module-
|
|
2
|
+
import { c as o } from "../../../../../chunks/vendor-D5cfSbgz.js";
|
|
3
|
+
import { c as d } from "../../../../../chunks/Card.module-CHntSBGP.js";
|
|
4
4
|
const s = ({ children: r, className: a, ...e }) => /* @__PURE__ */ t("div", { className: o(d.cardContentHeader, a), ...e, children: r });
|
|
5
5
|
s.displayName = "CardContentHeader";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
-
import { c as e } from "../../../chunks/vendor-
|
|
3
|
-
import { c as m } from "../../../chunks/Card.module-
|
|
2
|
+
import { c as e } from "../../../chunks/vendor-D5cfSbgz.js";
|
|
3
|
+
import { c as m } from "../../../chunks/Card.module-CHntSBGP.js";
|
|
4
4
|
const o = ({ children: a, className: r, ...s }) => {
|
|
5
5
|
const c = e(m.cardMedia, r);
|
|
6
6
|
return /* @__PURE__ */ d("div", { className: c, ...s, children: a });
|
package/components/Card/utils.js
CHANGED