@sberbusiness/triplex-next 1.30.0 → 1.32.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-p-fWJ9CC.js +41 -0
- package/chunks/CalendarViewItem-y_OwskEF.js +101 -0
- package/chunks/Card.module-DLre-hDg.js +18 -0
- package/chunks/CheckboxTreeExtended.module-BsnFYetJ.js +15 -0
- package/chunks/Chip-Fb7_tfTx.js +85 -0
- package/chunks/Confirm.module-ONNAnitW.js +15 -0
- package/chunks/{DropdownListItem-PhDNj_sI.js → DropdownListItem-CBAmYB__.js} +15 -15
- package/chunks/DropdownMobile.module-C99ad0jt.js +23 -0
- package/chunks/Footer.module-fCYYdKPC.js +9 -0
- package/chunks/{FormFieldInput-Du3nMTry.js → FormFieldInput-d6WkPngW.js} +23 -23
- package/chunks/HeaderLayoutSidebar.module-BUlWJH2L.js +9 -0
- package/chunks/HeaderTabs.module-f0pOEOus.js +9 -0
- package/chunks/{HeaderTitle.module-mufXm8bf.js → HeaderTitle.module-CFdpGGVy.js} +2 -2
- package/chunks/ImageGalleryExtendedMain.module-BGe90A85.js +17 -0
- package/chunks/ImageGalleryExtendedThumb-BVI6zmzL.js +28 -0
- package/chunks/IslandAccordion.module-CpsIbUZS.js +25 -0
- package/chunks/IslandWidgetFooter.module-Cv-pFx97.js +9 -0
- package/chunks/IslandWidgetHeader.module-DZ7u5KdZ.js +13 -0
- package/chunks/{LightBoxContent-oXmUc0O4.js → LightBoxContent-CUHF8ym9.js} +8 -8
- package/chunks/LightBoxControls.module-BGzxKeYz.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-CmhYqDUn.js +9 -0
- package/chunks/{ListItemControlsButton-Cn_qKgVF.js → ListItemControlsButton-GwTSx9t3.js} +8 -8
- package/chunks/ListItemTail.module-_zPCXCQZ.js +12 -0
- package/chunks/ListMasterFooter.module-OOs3HMYn.js +10 -0
- package/chunks/ModalWindow.module-BkI79oza.js +17 -0
- package/chunks/Notification.module-CtpYgvcX.js +20 -0
- package/chunks/Overlay.module-C3WPSJN5.js +18 -0
- package/chunks/Page.module-CkMrRJ3E.js +11 -0
- package/chunks/SMSField.module-Bo60-Oyi.js +16 -0
- package/chunks/SliderExtendedMarks.module-kdIHU6Y0.js +15 -0
- package/chunks/{SliderExtendedRail-Cr47EmrH.js → SliderExtendedRail-s3nj0g7A.js} +10 -10
- package/chunks/StatusTracker.module-DiLzRUA8.js +24 -0
- package/chunks/{StepperStepArrowBorder-C6up4LVv.js → StepperStepArrowBorder-7nXw_k6S.js} +10 -10
- package/chunks/{SuggestFieldMobileDropdownHint-BZyaIt1i.js → SuggestFieldMobileDropdownHint-DTd9ZRJc.js} +6 -6
- package/chunks/TableFooter.module-Bq-wqvaF.js +14 -0
- package/chunks/TabsExtended.module-CsY7VuxQ.js +16 -0
- package/chunks/TabsLine.module-BWx30e5X.js +21 -0
- package/chunks/TooltipDesktop.module-BkTwHXKO.js +19 -0
- package/chunks/TreeView.module-seYxUon6.js +9 -0
- package/chunks/{UploadZoneInput-BbaamBLA.js → UploadZoneInput-DH0deFXt.js} +2 -2
- package/chunks/{constants-DG4U-QtS.js → constants-Dsgjokad.js} +10 -10
- package/chunks/utils-BIYQTFij.js +24 -0
- package/chunks/{utils-BTk2T8x6.js → utils-C0vdTK6h.js} +6 -6
- package/chunks/{utils-DgpN6CSa.js → utils-CXTWVT_w.js} +4 -4
- package/chunks/utils-CXwYWTdr.js +73 -0
- package/components/Alert/AlertContext/AlertContext.js +19 -19
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +6 -6
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +27 -27
- package/components/Badge/Badge.js +9 -9
- package/components/Badge/BadgeDot.js +5 -5
- package/components/Badge/components/BadgeContent.js +15 -15
- package/components/Badge/components/BadgePostfix.js +4 -4
- package/components/Badge/components/BadgePrefix.js +6 -6
- package/components/Body/Body.js +4 -4
- package/components/Button/Button.js +24 -24
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +78 -77
- package/components/Button/ButtonDropdownExtended.js +4 -4
- package/components/Button/ButtonIcon.js +8 -8
- package/components/Calendar/Calendar.js +5 -5
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +4 -4
- 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 +6 -6
- 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 +13 -13
- package/components/Checkbox/CheckboxXGroup.js +12 -12
- package/components/Checkbox/CheckboxYGroup.js +1 -1
- 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 +3 -2
- package/components/Chip/ChipClearButton.js +7 -7
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +37 -36
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +15 -15
- package/components/Chip/ChipDropdownArrow.js +4 -4
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +22 -21
- package/components/Chip/ChipOptions.js +2 -2
- package/components/Chip/ChipSelect/ChipSelect.js +40 -27
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +23 -22
- package/components/Chip/ChipSuggest/ChipSuggest.js +14 -14
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +13 -13
- package/components/Chip/enums.js +5 -0
- package/components/Chip/index.js +28 -26
- package/components/ChipGroup/ChipGroup.js +11 -11
- package/components/Col/Col.js +181 -166
- package/components/CollapsibleTree/CollapsibleTree.js +3 -3
- package/components/CollapsibleTree/components/CollapsibleTreeLeafContent.js +5 -5
- package/components/CollapsibleTree/components/CollapsibleTreeLeafNode.js +1 -1
- package/components/CollapsibleTree/components/CollapsibleTreeNodeHeader.js +12 -12
- package/components/CollapsibleTreeExtended/components/CollapsibleTreeExtendedNode.js +1 -1
- 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/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +6 -6
- package/components/DateRange/DateRange.js +5 -5
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/DesignTokensComponents.js +69 -64
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +57 -52
- package/components/DesignTokens/components/Chip.js +12 -6
- package/components/DesignTokens/components/ImageGallery.js +47 -0
- package/components/DesignTokens/components/LightBox.js +1 -1
- package/components/DesignTokens/components/TopOverlay.js +1 -1
- package/components/DesignTokens/components/index.js +116 -113
- package/components/Divider/Divider.js +21 -21
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +12 -12
- package/components/Dropdown/desktop/DropdownDesktop.js +26 -26
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +5 -5
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +8 -8
- package/components/EmptyView/EmptyView.js +11 -11
- package/components/ExpandAnimation/ExpandAnimation.js +9 -9
- 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 +18 -18
- package/components/FormField/components/FormFieldClear.js +8 -8
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +6 -6
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +8 -8
- package/components/FormField/components/FormFieldMaskedInput.js +14 -14
- package/components/FormField/components/FormFieldPostfix.js +7 -7
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +19 -19
- package/components/FormField/components/FormFieldTextarea.js +18 -18
- package/components/FormField/components/index.js +1 -1
- package/components/FormField/index.js +1 -1
- package/components/Gap/Gap.js +15 -5
- 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 +5 -5
- package/components/IconWrapper/IconWrapper.js +5 -5
- package/components/ImageGallery/ImageGallery.js +74 -0
- package/components/ImageGallery/index.js +5 -0
- package/components/ImageGallery/types.js +2 -0
- package/components/ImageGalleryExtended/ImageGalleryExtended.js +72 -0
- package/components/ImageGalleryExtended/ImageGalleryExtendedContext.js +16 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedArrow.js +31 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedDots.js +35 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedMain.js +31 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedNav.js +19 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedSlide.js +20 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedSwipeTrack.js +89 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedThumb.js +8 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedThumbnails.js +40 -0
- package/components/ImageGalleryExtended/components/index.js +15 -0
- package/components/ImageGalleryExtended/enums.js +5 -0
- package/components/ImageGalleryExtended/index.js +21 -0
- package/components/ImageGalleryExtended/types.js +2 -0
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +1 -1
- package/components/Island/components/IslandFooter.js +6 -6
- package/components/Island/components/IslandHeader.js +2 -2
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +2 -2
- package/components/IslandWidget/IslandWidget.js +6 -6
- package/components/IslandWidget/components/IslandWidgetBody.js +1 -1
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +7 -7
- package/components/IslandWidget/components/IslandWidgetFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderTitle.js +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +5 -5
- package/components/LightBox/LightBox.js +66 -76
- 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 +34 -34
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +3 -3
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +7 -7
- package/components/Link/Link.js +8 -8
- package/components/List/List.js +7 -7
- package/components/List/components/ListEmptyState.js +3 -3
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +8 -8
- package/components/List/components/ListItemControls.js +7 -7
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +4 -4
- package/components/List/components/ListItemSelectable.js +6 -6
- package/components/List/components/ListItemTable.js +5 -5
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +6 -6
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +3 -3
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +5 -5
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +7 -7
- package/components/ListMaster/components/SelectionControls.js +5 -5
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +4 -4
- package/components/Loader/LoaderSmall/LoaderSmall.js +8 -8
- package/components/LoaderScreen/LoaderScreen.js +13 -13
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +26 -30
- package/components/ModalWindow/ModalWindow.js +17 -17
- package/components/ModalWindow/components/ModalWindowBody.js +4 -4
- package/components/ModalWindow/components/ModalWindowClose.js +5 -5
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +1 -1
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MonthYearRange/MonthYearRange.js +14 -14
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +3 -3
- 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/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/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +2 -2
- package/components/OrderedList/OrderedListItem.js +2 -2
- 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 +6 -6
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +5 -5
- package/components/Pagination/components/PaginationPageEllipsis.js +1 -1
- package/components/Pagination/components/PaginationSelect.js +6 -6
- package/components/Radio/Radio.js +4 -4
- package/components/Radio/RadioXGroup.js +7 -7
- package/components/Radio/RadioYGroup.js +4 -4
- package/components/Row/Row.js +25 -10
- package/components/Row/RowContext.js +9 -0
- package/components/SMSField/SMSField.js +2 -2
- package/components/SMSField/components/RefreshIcon.js +1 -1
- package/components/SMSField/components/SMSFieldInput.js +2 -2
- package/components/SMSField/components/SMSFieldRefresh.js +1 -1
- package/components/SMSField/components/SMSFieldSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +14 -14
- package/components/SegmentedControl/SegmentedControlSegment.js +10 -10
- package/components/SelectExtendedField/SelectExtendedField.js +15 -15
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +25 -24
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +9 -9
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +28 -28
- 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 +11 -11
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +30 -30
- package/components/SmallInput/SmallInput.js +1 -1
- package/components/Spoiler/Spoiler.js +11 -11
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +10 -8
- 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/StatusTrackerStatusGroup.js +13 -0
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +17 -17
- package/components/Stepper/Stepper.js +9 -9
- package/components/Stepper/StepperExtended.js +9 -9
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperStepArrowBorder.js +1 -1
- package/components/Suggest/SuggestMobileDropdownContent.js +14 -14
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +2 -2
- 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 +77 -81
- package/components/Table/ChipPanel.js +12 -0
- package/components/Table/ChipPanelLinks.js +22 -0
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +24 -24
- package/components/Table/NoColumns.js +1 -1
- package/components/Table/PaginationPanel.js +2 -2
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +20 -20
- package/components/Table/TableBasicSettings/TableBasicSettings.js +1 -1
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +9 -9
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +4 -4
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +4 -4
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/index.js +7 -7
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +40 -35
- package/components/TabsExtended/TabsExtended.js +2 -2
- package/components/TabsExtended/components/TabsExtendedContent.js +1 -1
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTab.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabButton.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +1 -1
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +1 -1
- package/components/TabsLine/components/TabsLineDesktop.js +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +2 -2
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +7 -7
- package/components/Tag/Tag.js +8 -8
- package/components/TagColor/TagColor.js +7 -7
- 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/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +16 -16
- 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 +3 -3
- package/components/TopOverlay/TopOverlay.js +33 -33
- 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 +25 -25
- package/components/Typography/CodeText.js +6 -6
- package/components/Typography/Text.js +20 -20
- package/components/Typography/Title.js +16 -16
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +8 -8
- package/components/UnorderedList/UnorderedListItem.js +2 -2
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/UploadZone/index.js +1 -1
- package/components/index.js +644 -622
- package/index.d.ts +325 -34
- package/index.js +676 -654
- package/package.json +9 -1
- package/styles/triplex-next.css +556 -541
- package/chunks/AlertProcessSpoiler-BIiexkiG.js +0 -41
- package/chunks/CalendarViewItem-DZix7Wi3.js +0 -101
- package/chunks/Card.module-C57O8DQ9.js +0 -18
- package/chunks/CheckboxTreeExtended.module-D_Xqk2Z0.js +0 -15
- package/chunks/Chip-D73o-tIk.js +0 -77
- package/chunks/Confirm.module-CUcXlA0E.js +0 -15
- package/chunks/DropdownMobile.module-DL87iBcj.js +0 -23
- package/chunks/Footer.module-DZzX_hiB.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-BOcwOhH9.js +0 -9
- package/chunks/HeaderTabs.module-D5xnWADy.js +0 -9
- package/chunks/IslandAccordion.module-cWQkjySQ.js +0 -25
- package/chunks/IslandWidgetFooter.module-K-i_a4VV.js +0 -9
- package/chunks/IslandWidgetHeader.module-BU39_xm_.js +0 -13
- package/chunks/LightBoxControls.module-BOBUS8MF.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-BLxHQH7u.js +0 -9
- package/chunks/ListItemTail.module-D7OEUQSH.js +0 -12
- package/chunks/ListMasterFooter.module-B2oYxI3b.js +0 -10
- package/chunks/ModalWindow.module-B7YcXJ55.js +0 -17
- package/chunks/Notification.module-OkzyDWlc.js +0 -20
- package/chunks/Overlay.module-CBlckNkR.js +0 -18
- package/chunks/Page.module-BkDd7q7x.js +0 -11
- package/chunks/SMSField.module-BBRpa0-4.js +0 -16
- package/chunks/SliderExtendedMarks.module-DOunMVrv.js +0 -15
- package/chunks/StatusTracker.module-B6VeAoHW.js +0 -24
- package/chunks/TableFooter.module-Exx3Pc8E.js +0 -14
- package/chunks/TabsExtended.module-D8onFEnM.js +0 -16
- package/chunks/TabsLine.module-BvYF3ue-.js +0 -21
- package/chunks/TooltipDesktop.module-DD0ESKwE.js +0 -19
- package/chunks/TreeView.module-ClEsZNDe.js +0 -9
- package/chunks/utils-2vVjLvvg.js +0 -24
- package/chunks/utils-Bk10DX0W.js +0 -73
- package/components/Table/TabsLinePanel.js +0 -12
- package/components/Table/TabsLinePanelLinks.js +0 -26
|
@@ -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
|
|
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 f, u as F } from "../../chunks/vendor-82AnkPpo.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-CBAmYB__.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 ao } from "../Dropdown/mobile/DropdownMobileClose.js";
|
|
19
19
|
import "../Dropdown/mobile/DropdownMobileFooter.js";
|
|
20
|
-
import { DropdownMobileHeader as
|
|
20
|
+
import { DropdownMobileHeader as co } 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__a15fab77", po = "block__b491e631", Do = "buttonDropdownTarget__597b0278", bo = "dots__a2a596bb", fo = "caretIcon__cb030752", wo = "active__a26d6f29", So = "buttonDropdownMenuItem__a742e27c", n = {
|
|
35
|
+
buttonDropdown: uo,
|
|
36
|
+
block: po,
|
|
37
|
+
buttonDropdownTarget: Do,
|
|
38
|
+
dots: bo,
|
|
39
|
+
caretIcon: fo,
|
|
40
|
+
active: wo,
|
|
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]: (c) => /* @__PURE__ */ t(oo, { paletteIndex: c, className: n.caretIcon }),
|
|
48
|
+
[l.MD]: (c) => /* @__PURE__ */ t($, { paletteIndex: c, className: n.caretIcon }),
|
|
49
|
+
[l.LG]: (c) => /* @__PURE__ */ t(X, { paletteIndex: c, className: n.caretIcon })
|
|
50
|
+
}, Io = Z.forwardRef(
|
|
50
51
|
(c, b) => {
|
|
51
|
-
const { buttonAttributes: R, children: h, className:
|
|
52
|
-
const a =
|
|
53
|
-
[n.block]: !!
|
|
52
|
+
const { buttonAttributes: R, children: h, className: G, theme: u, size: s, options: E, selected: m, block: w, disabled: T, ...z } = c, C = I(null), A = I(null), P = f(n.buttonDropdown, { [n.block]: !!w }, G), [S, W] = q(), _ = I(F()), Y = ({ opened: o, setOpened: e }) => {
|
|
53
|
+
const a = f(n.buttonDropdownTarget, {
|
|
54
|
+
[n.block]: !!w,
|
|
54
55
|
[n.active]: o
|
|
55
56
|
});
|
|
56
57
|
return /* @__PURE__ */ x(
|
|
57
|
-
|
|
58
|
+
M,
|
|
58
59
|
{
|
|
59
60
|
className: a,
|
|
60
61
|
theme: u,
|
|
@@ -67,22 +68,22 @@ const lo = "buttonDropdown__b6bbc945", uo = "block__97071934", 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 a =
|
|
79
|
-
[n.block]: !!
|
|
78
|
+
}, H = ({ opened: o, setOpened: e }) => {
|
|
79
|
+
const a = f(n.buttonDropdownTarget, n.dots, {
|
|
80
|
+
[n.block]: !!w
|
|
80
81
|
});
|
|
81
82
|
return /* @__PURE__ */ t(
|
|
82
|
-
|
|
83
|
+
M,
|
|
83
84
|
{
|
|
84
85
|
className: a,
|
|
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__b6bbc945", uo = "block__97071934", 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 }) => (a) => {
|
|
100
101
|
const { key: i } = a;
|
|
101
102
|
(D(i, "SPACE") || D(i, "ARROW_UP") || D(i, "ARROW_DOWN")) && a.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
|
-
const i =
|
|
115
|
-
return /* @__PURE__ */ t(
|
|
116
|
-
|
|
114
|
+
}, j = ({ opened: o, setOpened: e, className: a }) => {
|
|
115
|
+
const i = f(n.buttonDropdownMenu, a);
|
|
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
|
+
co,
|
|
130
131
|
{
|
|
131
|
-
controlButtons: /* @__PURE__ */ t(
|
|
132
|
-
children: /* @__PURE__ */ t(
|
|
132
|
+
controlButtons: /* @__PURE__ */ t(ao, { 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__b6bbc945", uo = "block__97071934", 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__b6bbc945", uo = "block__97071934", po = "buttonDropd
|
|
|
163
164
|
)) })
|
|
164
165
|
}
|
|
165
166
|
) });
|
|
166
|
-
},
|
|
167
|
+
}, v = (o) => {
|
|
167
168
|
C.current = o, typeof b == "function" ? b(o) : b && (b.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
|
|
@@ -4,11 +4,11 @@ import { Dropdown as _ } from "../Dropdown/Dropdown.js";
|
|
|
4
4
|
import { isKey as w } from "../../utils/keyboard.js";
|
|
5
5
|
import { DropdownList as g } from "../Dropdown/desktop/DropdownList.js";
|
|
6
6
|
import { c as A } from "../../chunks/vendor-82AnkPpo.js";
|
|
7
|
-
const K = "
|
|
7
|
+
const K = "buttonDropdownExtended__65eab571", S = "buttonDropdownExtendedBlock__d3c1e3cd", E = {
|
|
8
8
|
buttonDropdownExtended: K,
|
|
9
9
|
buttonDropdownExtendedBlock: S
|
|
10
10
|
}, D = (s) => {
|
|
11
|
-
const { className: v, opened: x, setOpened: c, renderButton:
|
|
11
|
+
const { className: v, opened: x, setOpened: c, renderButton: b, renderDropdown: k, dropdownRef: l, closeOnTab: p, ...L } = s, u = f(null), m = f(s.opened !== void 0), [O, y] = C((s.opened === void 0, !1)), e = m.current ? !!x : O, o = N(
|
|
12
12
|
(t) => {
|
|
13
13
|
if (m.current) {
|
|
14
14
|
c && c(t);
|
|
@@ -37,8 +37,8 @@ const K = "buttonDropdownExtended__63111ce8", S = "buttonDropdownExtendedBlock__
|
|
|
37
37
|
}, [e, p, l, o, u]);
|
|
38
38
|
const B = A(E.buttonDropdownExtended, v);
|
|
39
39
|
return /* @__PURE__ */ h("div", { className: B, ref: u, ...L, children: [
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
b({ opened: e, setOpened: o }),
|
|
41
|
+
k({
|
|
42
42
|
className: E.buttonDropdownExtendedBlock,
|
|
43
43
|
opened: e,
|
|
44
44
|
setOpened: o
|
|
@@ -3,21 +3,21 @@ import a from "react";
|
|
|
3
3
|
import { c as m } from "../../chunks/vendor-82AnkPpo.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__0e9c58f2", I = "circle__ecae92d3", f = "squircle__5445ba84", 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
|
|
@@ -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__9a92c0ee", L = "extraBottom__c87d16ca", U = "adaptive__c52f1e58", 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, _ = 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
|
+
), b = D(this.props.pickedDate, t);
|
|
146
|
+
return /* @__PURE__ */ f("div", { className: _, "data-tx": "1.32.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: b,
|
|
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 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__0bd98387", j = {
|
|
12
12
|
calendarControls: U
|
|
13
13
|
}, X = ({
|
|
14
14
|
children: m,
|
|
@@ -16,12 +16,12 @@ const U = "calendarControls__c9936d9e", 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__c9936d9e", 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__c9936d9e", 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__c9936d9e", 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
|
|
3
|
-
calendarFooter:
|
|
4
|
-
}, t = ({ children: o }) => /* @__PURE__ */
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
const e = "calendarFooter__5ad50d91", r = {
|
|
3
|
+
calendarFooter: e
|
|
4
|
+
}, t = ({ children: o }) => /* @__PURE__ */ a("div", { className: r.calendarFooter, children: o });
|
|
5
5
|
t.displayName = "CalendarFooter";
|
|
6
6
|
export {
|
|
7
7
|
t as CalendarFooter
|
|
@@ -5,7 +5,7 @@ import { c as q } from "../../../chunks/vendor-82AnkPpo.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-y_OwskEF.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";
|
|
@@ -4,7 +4,7 @@ import "../../../chunks/vendor-82AnkPpo.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-y_OwskEF.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-y_OwskEF.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-y_OwskEF.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,6 +1,6 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var o = (c, i, e) =>
|
|
1
|
+
var b = Object.defineProperty;
|
|
2
|
+
var y = (c, i, e) => i in c ? b(c, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[i] = e;
|
|
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";
|
|
6
6
|
import { CardContent as T } from "./components/CardContent/CardContent.js";
|
|
@@ -10,8 +10,8 @@ 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
12
|
import { c as k } from "../../chunks/vendor-82AnkPpo.js";
|
|
13
|
-
import { c as B } from "../../chunks/Card.module-
|
|
14
|
-
const O = "
|
|
13
|
+
import { c as B } from "../../chunks/Card.module-DLre-hDg.js";
|
|
14
|
+
const O = "action__df1048f2", F = "selected__afa2c300", V = "focusVisible__03b6b661", a = {
|
|
15
15
|
action: O,
|
|
16
16
|
selected: F,
|
|
17
17
|
focusVisible: V
|
|
@@ -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.32.0",
|
|
100
100
|
children: e
|
|
101
101
|
}
|
|
102
102
|
);
|
|
@@ -3,7 +3,7 @@ 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
5
|
import { c } from "../../chunks/vendor-82AnkPpo.js";
|
|
6
|
-
import { c as n } from "../../chunks/Card.module-
|
|
6
|
+
import { c as n } from "../../chunks/Card.module-DLre-hDg.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.32.0",
|
|
25
25
|
children: r
|
|
26
26
|
}
|
|
27
27
|
);
|
|
@@ -4,7 +4,7 @@ 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
6
|
import { c as p } from "../../../../chunks/vendor-82AnkPpo.js";
|
|
7
|
-
import { c as r } from "../../../../chunks/Card.module-
|
|
7
|
+
import { c as r } from "../../../../chunks/Card.module-DLre-hDg.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
2
|
import { c as d } from "../../../../../chunks/vendor-82AnkPpo.js";
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-DLre-hDg.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
2
|
import { c as e } from "../../../../../chunks/vendor-82AnkPpo.js";
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-DLre-hDg.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
2
|
import { c as o } from "../../../../../chunks/vendor-82AnkPpo.js";
|
|
3
|
-
import { c as d } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as d } from "../../../../../chunks/Card.module-DLre-hDg.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
2
|
import { c as e } from "../../../chunks/vendor-82AnkPpo.js";
|
|
3
|
-
import { c as m } from "../../../chunks/Card.module-
|
|
3
|
+
import { c as m } from "../../../chunks/Card.module-DLre-hDg.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
|
@@ -2,7 +2,7 @@ import { jsxs as p, jsx as b } from "react/jsx-runtime";
|
|
|
2
2
|
import C, { useState as w, useRef as D, useCallback as L, useEffect as d } from "react";
|
|
3
3
|
import { l as M, c as S } from "../../chunks/vendor-82AnkPpo.js";
|
|
4
4
|
import { scrollSmoothHorizontally as c } from "../../utils/scroll.js";
|
|
5
|
-
const R = "
|
|
5
|
+
const R = "carouselExtended__97f41faf", k = {
|
|
6
6
|
carouselExtended: R
|
|
7
7
|
}, y = C.forwardRef(
|
|
8
8
|
({ children: l, buttonPrev: a, buttonNext: i, stepPrev: u, stepNext: f, ...h }, s) => {
|
|
@@ -9,7 +9,7 @@ import { Text as u } from "../Typography/Text.js";
|
|
|
9
9
|
import "../Typography/Title.js";
|
|
10
10
|
import { EComponentSize as s } from "../../enums/EComponentSize.js";
|
|
11
11
|
import { createSizeToClassNameMap as y } from "../../utils/classNameMaps.js";
|
|
12
|
-
const E = "
|
|
12
|
+
const E = "label__0621f454", M = "sm__9ae3a286", T = "nonempty__6ecccfa4", z = "md__593f14e3", g = "lg__9a80e45b", A = "disabled__3197c2f9", v = "checkbox__1fee8872", B = "checkboxIcon__03f02ffe", L = "checkmarkIcon__498f64bd", c = {
|
|
13
13
|
label: E,
|
|
14
14
|
sm: M,
|
|
15
15
|
nonempty: T,
|
|
@@ -23,29 +23,29 @@ const E = "label__703ce254", M = "sm__876f136f", T = "nonempty__5f3ff633", z = "
|
|
|
23
23
|
[s.LG]: n.B2,
|
|
24
24
|
[s.MD]: n.B3,
|
|
25
25
|
[s.SM]: n.B4
|
|
26
|
-
},
|
|
26
|
+
}, i = y(c), j = N.forwardRef((k, _) => {
|
|
27
27
|
const {
|
|
28
28
|
children: t,
|
|
29
|
-
className:
|
|
29
|
+
className: b,
|
|
30
30
|
disabled: m,
|
|
31
|
-
bulk:
|
|
31
|
+
bulk: p,
|
|
32
32
|
labelAttributes: o,
|
|
33
33
|
size: a = s.MD,
|
|
34
|
-
...
|
|
35
|
-
} =
|
|
34
|
+
...d
|
|
35
|
+
} = k, x = l(c.checkbox, i[a]), f = l(
|
|
36
36
|
c.label,
|
|
37
|
-
|
|
37
|
+
i[a],
|
|
38
38
|
{ [c.disabled]: !!m, [c.nonempty]: !!t },
|
|
39
|
-
|
|
39
|
+
b,
|
|
40
40
|
o == null ? void 0 : o.className
|
|
41
|
-
),
|
|
41
|
+
), h = () => {
|
|
42
42
|
const r = c.checkmarkIcon;
|
|
43
|
-
return
|
|
43
|
+
return p ? /* @__PURE__ */ e(S, { className: r, paletteIndex: 7 }) : /* @__PURE__ */ e(C, { className: r, paletteIndex: 7 });
|
|
44
44
|
};
|
|
45
|
-
return /* @__PURE__ */ I("label", { ...o, className:
|
|
46
|
-
/* @__PURE__ */ e("input", { type: "checkbox", className: x, disabled: m, ...
|
|
45
|
+
return /* @__PURE__ */ I("label", { ...o, className: f, "data-tx": "1.32.0", children: [
|
|
46
|
+
/* @__PURE__ */ e("input", { type: "checkbox", className: x, disabled: m, ...d, ref: _ }),
|
|
47
47
|
/* @__PURE__ */ e("span", { className: c.checkboxIcon }),
|
|
48
|
-
|
|
48
|
+
h(),
|
|
49
49
|
t && /* @__PURE__ */ e(u, { size: Z[a], tag: "div", children: t })
|
|
50
50
|
] });
|
|
51
51
|
});
|