@sberbusiness/triplex-next 1.29.0 → 1.30.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-B4-vQnzw.js → AlertProcessSpoiler-BIiexkiG.js} +5 -5
- package/chunks/{CalendarViewItem-5_px9kHt.js → CalendarViewItem-DZix7Wi3.js} +26 -26
- package/chunks/Card.module-C57O8DQ9.js +18 -0
- package/chunks/CheckboxTreeExtended.module-D_Xqk2Z0.js +15 -0
- package/chunks/Chip-D73o-tIk.js +77 -0
- package/chunks/Confirm.module-CUcXlA0E.js +15 -0
- package/chunks/{DropdownListItem-C7Maa_Sz.js → DropdownListItem-PhDNj_sI.js} +12 -12
- package/chunks/DropdownMobile.module-DL87iBcj.js +23 -0
- package/chunks/Footer.module-DZzX_hiB.js +9 -0
- package/chunks/{FormFieldInput-BgrEEHVa.js → FormFieldInput-Du3nMTry.js} +18 -18
- package/chunks/HeaderLayoutSidebar.module-BOcwOhH9.js +9 -0
- package/chunks/HeaderTabs.module-D5xnWADy.js +9 -0
- package/chunks/{HeaderTitle.module-fEjlMYZ7.js → HeaderTitle.module-mufXm8bf.js} +2 -2
- package/chunks/IslandAccordion.module-cWQkjySQ.js +25 -0
- package/chunks/IslandWidgetFooter.module-K-i_a4VV.js +9 -0
- package/chunks/IslandWidgetHeader.module-BU39_xm_.js +13 -0
- package/chunks/{LightBoxContent-DdWEYnjf.js → LightBoxContent-oXmUc0O4.js} +7 -7
- package/chunks/LightBoxControls.module-BOBUS8MF.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-BLxHQH7u.js +9 -0
- package/chunks/{ListItemControlsButton-BrWqPMvQ.js → ListItemControlsButton-Cn_qKgVF.js} +8 -8
- package/chunks/ListItemTail.module-D7OEUQSH.js +12 -0
- package/chunks/ListMasterFooter.module-B2oYxI3b.js +10 -0
- package/chunks/ModalWindow.module-B7YcXJ55.js +17 -0
- package/chunks/Notification.module-OkzyDWlc.js +20 -0
- package/chunks/Overlay.module-CBlckNkR.js +18 -0
- package/chunks/Page.module-BkDd7q7x.js +11 -0
- package/chunks/SMSField.module-BBRpa0-4.js +16 -0
- package/chunks/SliderExtendedMarks.module-DOunMVrv.js +15 -0
- package/chunks/{SliderExtendedRail-B7cZIw4b.js → SliderExtendedRail-Cr47EmrH.js} +10 -10
- package/chunks/StatusTracker.module-B6VeAoHW.js +24 -0
- package/chunks/{StepperStepArrowBorder-BDDBpgah.js → StepperStepArrowBorder-C6up4LVv.js} +10 -10
- package/chunks/{SuggestFieldMobileDropdownHint-o1c16I20.js → SuggestFieldMobileDropdownHint-BZyaIt1i.js} +4 -4
- package/chunks/TableFooter.module-Exx3Pc8E.js +14 -0
- package/chunks/TabsExtended.module-D8onFEnM.js +16 -0
- package/chunks/TabsLine.module-BvYF3ue-.js +21 -0
- package/chunks/TooltipDesktop.module-DD0ESKwE.js +19 -0
- package/chunks/TreeView.module-ClEsZNDe.js +9 -0
- package/chunks/{UploadZoneInput-DRnwuj7v.js → UploadZoneInput-BbaamBLA.js} +9 -9
- package/chunks/{constants-BbgGoE1H.js → constants-DG4U-QtS.js} +12 -12
- package/chunks/utils-2vVjLvvg.js +24 -0
- package/chunks/{utils-BG289Tpd.js → utils-BTk2T8x6.js} +5 -5
- package/chunks/{utils-Cev1dXzE.js → utils-Bk10DX0W.js} +11 -11
- package/chunks/{utils-DmWZdfw8.js → utils-DgpN6CSa.js} +8 -8
- package/chunks/{vendor-C_uS77iF.js → vendor-82AnkPpo.js} +47 -44
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +11 -11
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +11 -11
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +25 -25
- package/components/Badge/Badge.js +12 -12
- package/components/Badge/BadgeDot.js +5 -5
- package/components/Badge/components/BadgeContent.js +9 -9
- package/components/Badge/components/BadgePostfix.js +10 -10
- package/components/Badge/components/BadgePrefix.js +6 -6
- package/components/Body/Body.js +7 -7
- package/components/Button/Button.js +28 -28
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +27 -27
- package/components/Button/ButtonDropdownExtended.js +9 -9
- package/components/Button/ButtonIcon.js +11 -11
- package/components/Calendar/Calendar.js +3 -3
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +4 -4
- 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 +4 -4
- 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 +7 -7
- package/components/Checkbox/Checkbox.js +3 -3
- package/components/Checkbox/CheckboxXGroup.js +10 -10
- package/components/Checkbox/CheckboxYGroup.js +2 -2
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +5 -5
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +10 -10
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +7 -7
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +2 -2
- 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 +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +6 -6
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +13 -13
- package/components/Col/Col.js +137 -137
- package/components/CollapsibleTree/CollapsibleTree.js +23 -0
- package/components/CollapsibleTree/components/CollapsibleTreeBranchNode.js +37 -0
- package/components/CollapsibleTree/components/CollapsibleTreeLeafContent.js +13 -0
- package/components/CollapsibleTree/components/CollapsibleTreeLeafNode.js +24 -0
- package/components/CollapsibleTree/components/CollapsibleTreeNodeHeader.js +44 -0
- package/components/CollapsibleTree/components/CollapsibleTreeNodeLabel.js +12 -0
- package/components/CollapsibleTree/index.js +11 -0
- package/components/CollapsibleTree/types.js +5 -0
- package/components/CollapsibleTreeExtended/CollapsibleTreeExtended.js +10 -0
- package/components/CollapsibleTreeExtended/components/CollapsibleTreeExtendedNode.js +71 -0
- package/components/CollapsibleTreeExtended/index.js +7 -0
- 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 +7 -7
- package/components/DateRange/DateRange.js +12 -12
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensComponents.js +89 -84
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +83 -78
- package/components/DesignTokens/components/CollapsibleTree.js +11 -0
- package/components/DesignTokens/components/ListItem.js +7 -4
- package/components/DesignTokens/components/index.js +138 -135
- package/components/Divider/Divider.js +18 -18
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +9 -9
- package/components/Dropdown/desktop/DropdownDesktop.js +22 -22
- 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 +5 -5
- 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 +2 -2
- package/components/Ellipsis/Ellipsis.js +8 -8
- package/components/EmptyView/EmptyView.js +16 -16
- package/components/ExpandAnimation/ExpandAnimation.js +18 -18
- 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 +2 -2
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +7 -7
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +7 -7
- package/components/FormField/components/FormFieldMaskedInput.js +21 -21
- package/components/FormField/components/FormFieldPostfix.js +24 -17
- package/components/FormField/components/FormFieldPrefix.js +24 -17
- package/components/FormField/components/FormFieldTarget.js +19 -19
- package/components/FormField/components/FormFieldTextarea.js +24 -24
- package/components/FormField/components/index.js +1 -1
- package/components/FormField/index.js +1 -1
- 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 +9 -9
- package/components/IconWrapper/IconWrapper.js +8 -8
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +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 +11 -11
- package/components/IslandWidget/components/IslandWidgetBody.js +2 -2
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +8 -8
- 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 +5 -5
- package/components/LightBox/LightBox.js +16 -16
- 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 +11 -11
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +12 -12
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +8 -8
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +11 -11
- package/components/List/List.js +7 -7
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +4 -4
- package/components/List/components/ListItem.js +8 -8
- package/components/List/components/ListItemContent.js +21 -16
- package/components/List/components/ListItemContext.js +5 -2
- 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 +5 -5
- package/components/List/components/ListItemSelectable.js +28 -25
- package/components/List/components/ListItemTable.js +21 -20
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +7 -7
- package/components/List/components/ListSortableItemControls.js +2 -2
- 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 +2 -2
- 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 +6 -6
- package/components/ListMaster/components/SelectionControls.js +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +9 -9
- package/components/Loader/LoaderSmall/LoaderSmall.js +7 -7
- package/components/LoaderScreen/LoaderScreen.js +7 -7
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +13 -13
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +6 -6
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +2 -2
- package/components/MonthYearRange/MonthYearRange.js +6 -6
- package/components/MultiselectField/MultiselectField.js +19 -14
- package/components/MultiselectField/MultiselectFieldContext.js +5 -4
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +34 -31
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +13 -13
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +4 -4
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- 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 +3 -3
- package/components/OrderedList/OrderedListItem.js +6 -6
- 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/Page/components/useStickyCornerRadius.js +16 -16
- package/components/Pagination/components/PaginationExtended.js +7 -7
- package/components/Pagination/components/PaginationNavigationButton.js +1 -1
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +7 -7
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +8 -8
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +6 -6
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +6 -6
- package/components/Row/Row.js +6 -6
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +27 -27
- 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 +14 -14
- package/components/SegmentedControl/SegmentedControlSegment.js +10 -10
- package/components/SelectExtendedField/SelectExtendedField.js +8 -8
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +8 -8
- package/components/SelectField/SelectField.js +2 -2
- package/components/Skeleton/Skeleton.js +9 -9
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +16 -16
- 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 +8 -8
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +25 -25
- package/components/SmallInput/SmallInput.js +2 -2
- package/components/Spoiler/Spoiler.js +16 -16
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +2 -2
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- 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/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/Step/Step.js +9 -9
- package/components/Stepper/Stepper.js +14 -14
- package/components/Stepper/StepperExtended.js +7 -7
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperStepArrowBorder.js +1 -1
- package/components/Suggest/SuggestMobileDropdownContent.js +16 -16
- 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 +21 -21
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +18 -18
- package/components/Table/NoColumns.js +4 -4
- 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 +2 -2
- 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 +5 -5
- 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/TabsLinePanel.js +6 -6
- package/components/Table/TabsLinePanelLinks.js +2 -2
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +18 -18
- 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 +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- 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 +25 -25
- package/components/TagColor/TagColor.js +12 -12
- package/components/TagGroup/TagGroup.js +10 -10
- package/components/TextField/TextField.js +1 -1
- package/components/TextField/TextFieldBase.js +24 -19
- 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 +11 -11
- 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 +2 -2
- package/components/TopOverlay/TopOverlay.js +8 -8
- 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 +24 -24
- package/components/Typography/CodeText.js +11 -11
- package/components/Typography/Text.js +19 -19
- package/components/Typography/Title.js +14 -14
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +9 -9
- package/components/UnorderedList/UnorderedListItem.js +3 -3
- 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 +587 -579
- package/index.d.ts +134 -58
- package/index.js +628 -620
- package/package.json +8 -4
- package/styles/triplex-next.css +541 -538
- package/utils/amountUtils.js +1 -1
- package/chunks/Card.module-Dx8nOFB3.js +0 -17
- package/chunks/CheckboxTreeExtended.module-Bjimmb7-.js +0 -15
- package/chunks/Chip-D-_oIu-h.js +0 -77
- package/chunks/Confirm.module-CLPl_MFI.js +0 -15
- package/chunks/DropdownMobile.module-CaYNuqHU.js +0 -23
- package/chunks/Footer.module-B8adM4Do.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-Cdc1sffY.js +0 -9
- package/chunks/HeaderTabs.module-DmDFhCmD.js +0 -9
- package/chunks/IslandAccordion.module-CNo4iFh8.js +0 -25
- package/chunks/IslandWidgetFooter.module-DZ6hXw2D.js +0 -9
- package/chunks/IslandWidgetHeader.module-CEVaTpbx.js +0 -13
- package/chunks/LightBoxControls.module-CnAa2Vmk.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-Du9-TT1c.js +0 -9
- package/chunks/ListItemTail.module-ZBSoUByF.js +0 -12
- package/chunks/ListMasterFooter.module-CeZvln77.js +0 -10
- package/chunks/ModalWindow.module-lrXOmH_L.js +0 -17
- package/chunks/Notification.module-ZlSN0MGm.js +0 -20
- package/chunks/Overlay.module-BlvGry2e.js +0 -18
- package/chunks/Page.module-BkU_qm35.js +0 -11
- package/chunks/SMSField.module-DQdb4DNu.js +0 -16
- package/chunks/SliderExtendedMarks.module-BWYZDQtm.js +0 -15
- package/chunks/StatusTracker.module-C645B9ye.js +0 -24
- package/chunks/TableFooter.module-Bw739QXw.js +0 -14
- package/chunks/TabsExtended.module-DwTyq4mg.js +0 -16
- package/chunks/TabsLine.module-6sKjO9lB.js +0 -21
- package/chunks/TooltipDesktop.module-D1eY6eNm.js +0 -19
- package/chunks/TreeView.module-B4d0aSMp.js +0 -9
- package/chunks/utils-XC0joCai.js +0 -24
- package/components/CollapsableTree/CollapsableTree.js +0 -10
- package/components/CollapsableTree/components/CollapsableTreeNode.js +0 -79
- package/components/CollapsableTree/index.js +0 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jsxs as i, jsx as
|
|
1
|
+
import { jsxs as i, jsx as x } from "react/jsx-runtime";
|
|
2
2
|
import y from "react";
|
|
3
|
-
import { c as m } from "../../chunks/vendor-
|
|
3
|
+
import { c as m } from "../../chunks/vendor-82AnkPpo.js";
|
|
4
4
|
import { LoaderSmall as R } from "../Loader/LoaderSmall/LoaderSmall.js";
|
|
5
5
|
import { ELoaderSmallTheme as p } from "../Loader/LoaderSmall/enum.js";
|
|
6
6
|
import "../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
@@ -9,22 +9,22 @@ import { EButtonTheme as e } from "./enums.js";
|
|
|
9
9
|
import { EComponentSize as u } from "../../enums/EComponentSize.js";
|
|
10
10
|
import { IconWrapper as D } from "../IconWrapper/IconWrapper.js";
|
|
11
11
|
import { createSizeToClassNameMap as C } from "../../utils/classNameMaps.js";
|
|
12
|
-
const k = "
|
|
12
|
+
const k = "general__2f57aad6", M = "expanded__246bac08", E = {
|
|
13
13
|
general: k,
|
|
14
14
|
expanded: M
|
|
15
|
-
}, I = "
|
|
15
|
+
}, I = "secondary__b3e1d6e8", O = "expanded__246bac08", N = {
|
|
16
16
|
secondary: I,
|
|
17
17
|
expanded: O
|
|
18
|
-
}, G = "
|
|
18
|
+
}, G = "secondaryLight__c097d40d", B = "expanded__246bac08", g = {
|
|
19
19
|
secondaryLight: G,
|
|
20
20
|
expanded: B
|
|
21
|
-
}, Y = "
|
|
21
|
+
}, Y = "danger__18223e84", H = "expanded__246bac08", b = {
|
|
22
22
|
danger: Y,
|
|
23
23
|
expanded: H
|
|
24
|
-
}, P = "
|
|
24
|
+
}, P = "link__9f11ede7", $ = "expanded__246bac08", A = {
|
|
25
25
|
link: P,
|
|
26
26
|
expanded: $
|
|
27
|
-
}, v = "
|
|
27
|
+
}, v = "button__fb159c32", z = "sm__f42efb22", j = "icon__4586e72b", K = "md__e66763d1", w = "lg__03210b21", U = "block__97071934", W = "content__fa613606", X = "loading__20acbf98", Z = "loader__05951adb", q = "hidden__f916299e", n = {
|
|
28
28
|
button: v,
|
|
29
29
|
sm: z,
|
|
30
30
|
icon: j,
|
|
@@ -36,39 +36,39 @@ const k = "general__300a22ae", M = "expanded__87a22bb5", x = {
|
|
|
36
36
|
loader: Z,
|
|
37
37
|
hidden: q
|
|
38
38
|
}, F = {
|
|
39
|
-
[e.GENERAL]:
|
|
40
|
-
[e.SECONDARY]:
|
|
41
|
-
[e.SECONDARY_LIGHT]:
|
|
42
|
-
[e.DANGER]:
|
|
43
|
-
[e.LINK]:
|
|
39
|
+
[e.GENERAL]: E.general,
|
|
40
|
+
[e.SECONDARY]: N.secondary,
|
|
41
|
+
[e.SECONDARY_LIGHT]: g.secondaryLight,
|
|
42
|
+
[e.DANGER]: b.danger,
|
|
43
|
+
[e.LINK]: A.link
|
|
44
44
|
}, J = {
|
|
45
|
-
[e.GENERAL]:
|
|
46
|
-
[e.SECONDARY]:
|
|
47
|
-
[e.SECONDARY_LIGHT]:
|
|
48
|
-
[e.DANGER]:
|
|
49
|
-
[e.LINK]:
|
|
50
|
-
}, Q = C(n), V = (o,
|
|
45
|
+
[e.GENERAL]: E.expanded,
|
|
46
|
+
[e.SECONDARY]: N.expanded,
|
|
47
|
+
[e.SECONDARY_LIGHT]: g.expanded,
|
|
48
|
+
[e.DANGER]: b.expanded,
|
|
49
|
+
[e.LINK]: A.expanded
|
|
50
|
+
}, Q = C(n), V = (o, t) => {
|
|
51
51
|
const d = [e.SECONDARY, e.SECONDARY_LIGHT].includes(o) ? p.BRAND : p.NEUTRAL;
|
|
52
|
-
return /* @__PURE__ */
|
|
53
|
-
}, ee = y.forwardRef((o,
|
|
54
|
-
const { children: d, className:
|
|
52
|
+
return /* @__PURE__ */ x(R, { theme: d, size: t });
|
|
53
|
+
}, ee = y.forwardRef((o, t) => {
|
|
54
|
+
const { children: d, className: S, disabled: s, theme: a, size: r = u.MD, block: f, loading: c, icon: _, ...L } = o, { "aria-expanded": l } = o, h = m(
|
|
55
55
|
n.button,
|
|
56
|
-
F[
|
|
56
|
+
F[a],
|
|
57
57
|
Q[r],
|
|
58
58
|
{
|
|
59
|
-
[n.block]: !!
|
|
59
|
+
[n.block]: !!f,
|
|
60
60
|
[n.loading]: !!c,
|
|
61
61
|
[n.icon]: !!_ && !d,
|
|
62
|
-
[J[
|
|
62
|
+
[J[a]]: !!l
|
|
63
63
|
},
|
|
64
|
-
|
|
64
|
+
S
|
|
65
65
|
);
|
|
66
|
-
return /* @__PURE__ */ i(T, { className: h, tabIndex: c ? -1 : void 0, disabled: s, ...L, ref:
|
|
66
|
+
return /* @__PURE__ */ i(T, { className: h, tabIndex: c ? -1 : void 0, disabled: s, ...L, ref: t, children: [
|
|
67
67
|
/* @__PURE__ */ i(D, { className: n.content, disabled: s, active: !!l, children: [
|
|
68
68
|
_,
|
|
69
69
|
d
|
|
70
70
|
] }),
|
|
71
|
-
/* @__PURE__ */
|
|
71
|
+
/* @__PURE__ */ x("div", { className: m(n.loader, !c && n.hidden), children: V(a, r) })
|
|
72
72
|
] });
|
|
73
73
|
});
|
|
74
74
|
ee.displayName = "Button";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import e from "react";
|
|
3
|
-
const r = e.forwardRef((t, o) => /* @__PURE__ */ a("button", { type: "button", ...t, "data-tx": "1.
|
|
3
|
+
const r = e.forwardRef((t, o) => /* @__PURE__ */ a("button", { type: "button", ...t, "data-tx": "1.30.0", ref: o }));
|
|
4
4
|
r.displayName = "ButtonBase";
|
|
5
5
|
export {
|
|
6
6
|
r as ButtonBase
|
|
@@ -3,7 +3,7 @@ import "./ButtonBase.js";
|
|
|
3
3
|
import "./ButtonIcon.js";
|
|
4
4
|
import { jsx as t, jsxs as x, Fragment as Z } from "react/jsx-runtime";
|
|
5
5
|
import q, { useRef as I, useState as F, createElement as B } from "react";
|
|
6
|
-
import { c as w, u as V } from "../../chunks/vendor-
|
|
6
|
+
import { c as w, u as V } from "../../chunks/vendor-82AnkPpo.js";
|
|
7
7
|
import { DotshorizontalStrokeSrvIcon32 as J, DotshorizontalStrokeSrvIcon20 as y, CaretdownStrokeSrvIcon24 as Q, CaretdownStrokeSrvIcon20 as X, CaretdownStrokeSrvIcon16 as $ } from "@sberbusiness/icons-next";
|
|
8
8
|
import { ButtonDropdownExtended as g } from "./ButtonDropdownExtended.js";
|
|
9
9
|
import { EButtonDotsTheme as N, EButtonTheme as l } from "./enums.js";
|
|
@@ -11,16 +11,16 @@ import { isKey as D } from "../../utils/keyboard.js";
|
|
|
11
11
|
import { DropdownListContext as oo } from "../Dropdown/DropdownListContext.js";
|
|
12
12
|
import "../Dropdown/desktop/DropdownDesktop.js";
|
|
13
13
|
import { DropdownList as L } from "../Dropdown/desktop/DropdownList.js";
|
|
14
|
-
import "../../chunks/DropdownListItem-
|
|
14
|
+
import "../../chunks/DropdownListItem-PhDNj_sI.js";
|
|
15
15
|
import { EDropdownAlignment as to, EDropdownWidth as ro } from "../Dropdown/desktop/enums.js";
|
|
16
16
|
import "../Dropdown/mobile/DropdownMobile.js";
|
|
17
17
|
import { DropdownMobileBody as eo } from "../Dropdown/mobile/DropdownMobileBody.js";
|
|
18
18
|
import { DropdownMobileClose as no } 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
|
|
23
|
+
import { DropdownMobileList as co } from "../Dropdown/mobile/DropdownMobileList.js";
|
|
24
24
|
import { DropdownMobileListItem as so } from "../Dropdown/mobile/DropdownMobileListItem.js";
|
|
25
25
|
import "../Loader/LoaderSmall/LoaderSmall.js";
|
|
26
26
|
import "../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
@@ -31,32 +31,32 @@ import "../Typography/Caption.js";
|
|
|
31
31
|
import "../Typography/CodeText.js";
|
|
32
32
|
import { Text as mo } from "../Typography/Text.js";
|
|
33
33
|
import "../Typography/Title.js";
|
|
34
|
-
const lo = "
|
|
34
|
+
const lo = "buttonDropdown__b6bbc945", uo = "block__97071934", po = "buttonDropdownTarget__5a1b024a", Do = "caretIcon__1143e207", bo = "active__4543bd8a", wo = "buttonDropdownMenuItem__d725b6a2", n = {
|
|
35
35
|
buttonDropdown: lo,
|
|
36
36
|
block: uo,
|
|
37
37
|
buttonDropdownTarget: po,
|
|
38
38
|
caretIcon: Do,
|
|
39
|
-
active:
|
|
39
|
+
active: bo,
|
|
40
40
|
buttonDropdownMenuItem: wo
|
|
41
|
-
},
|
|
41
|
+
}, fo = {
|
|
42
42
|
[d.SM]: /* @__PURE__ */ t(y, { paletteIndex: 0 }),
|
|
43
43
|
[d.MD]: /* @__PURE__ */ t(y, { paletteIndex: 0 }),
|
|
44
44
|
[d.LG]: /* @__PURE__ */ t(J, { paletteIndex: 0 })
|
|
45
45
|
}, G = {
|
|
46
|
-
[d.SM]: (
|
|
47
|
-
[d.MD]: (
|
|
48
|
-
[d.LG]: (
|
|
46
|
+
[d.SM]: (c) => /* @__PURE__ */ t($, { paletteIndex: c, className: n.caretIcon }),
|
|
47
|
+
[d.MD]: (c) => /* @__PURE__ */ t(X, { paletteIndex: c, className: n.caretIcon }),
|
|
48
|
+
[d.LG]: (c) => /* @__PURE__ */ t(Q, { paletteIndex: c, className: n.caretIcon })
|
|
49
49
|
}, So = q.forwardRef(
|
|
50
|
-
(
|
|
51
|
-
const { buttonAttributes: R, children: h, className: P, theme: u, size: s, options: E, selected: m, block:
|
|
52
|
-
const
|
|
53
|
-
[n.block]: !!
|
|
50
|
+
(c, b) => {
|
|
51
|
+
const { buttonAttributes: R, children: h, className: P, theme: u, size: s, options: E, selected: m, block: f, disabled: T, ...W } = c, C = I(null), A = I(null), Y = w(n.buttonDropdown, { [n.block]: !!f }, P), [S, z] = F(), _ = I(V()), H = ({ opened: o, setOpened: e }) => {
|
|
52
|
+
const a = w(n.buttonDropdownTarget, {
|
|
53
|
+
[n.block]: !!f,
|
|
54
54
|
[n.active]: o
|
|
55
55
|
});
|
|
56
56
|
return /* @__PURE__ */ x(
|
|
57
57
|
v,
|
|
58
58
|
{
|
|
59
|
-
className:
|
|
59
|
+
className: a,
|
|
60
60
|
theme: u,
|
|
61
61
|
size: s,
|
|
62
62
|
onKeyDown: O({ opened: o, setOpened: e }),
|
|
@@ -75,13 +75,13 @@ const lo = "buttonDropdown__3fc5f0b7", uo = "block__a3f00a23", po = "buttonDropd
|
|
|
75
75
|
}
|
|
76
76
|
);
|
|
77
77
|
}, K = ({ opened: o, setOpened: e }) => {
|
|
78
|
-
const
|
|
79
|
-
[n.block]: !!
|
|
78
|
+
const a = w(n.buttonDropdownTarget, {
|
|
79
|
+
[n.block]: !!f
|
|
80
80
|
});
|
|
81
81
|
return /* @__PURE__ */ t(
|
|
82
82
|
v,
|
|
83
83
|
{
|
|
84
|
-
className:
|
|
84
|
+
className: a,
|
|
85
85
|
theme: u === N.DOTS_SECONDARY ? l.SECONDARY : l.SECONDARY_LIGHT,
|
|
86
86
|
size: s,
|
|
87
87
|
onKeyDown: O({ opened: o, setOpened: e }),
|
|
@@ -93,12 +93,12 @@ const lo = "buttonDropdown__3fc5f0b7", uo = "block__a3f00a23", po = "buttonDropd
|
|
|
93
93
|
"aria-activedescendant": S,
|
|
94
94
|
...R,
|
|
95
95
|
ref: M,
|
|
96
|
-
icon:
|
|
96
|
+
icon: fo[s]
|
|
97
97
|
}
|
|
98
98
|
);
|
|
99
|
-
}, k = ({ opened: o, setOpened: e }) => () => e(!o), O = ({ opened: o, setOpened: e }) => (
|
|
100
|
-
const { key: i } =
|
|
101
|
-
(D(i, "SPACE") || D(i, "ARROW_UP") || D(i, "ARROW_DOWN")) &&
|
|
99
|
+
}, k = ({ opened: o, setOpened: e }) => () => e(!o), O = ({ opened: o, setOpened: e }) => (a) => {
|
|
100
|
+
const { key: i } = a;
|
|
101
|
+
(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
102
|
}, j = () => {
|
|
103
103
|
switch (u) {
|
|
104
104
|
case l.GENERAL:
|
|
@@ -110,8 +110,8 @@ const lo = "buttonDropdown__3fc5f0b7", uo = "block__a3f00a23", po = "buttonDropd
|
|
|
110
110
|
default:
|
|
111
111
|
return null;
|
|
112
112
|
}
|
|
113
|
-
}, U = ({ opened: o, setOpened: e, className:
|
|
114
|
-
const i = w(n.buttonDropdownMenu,
|
|
113
|
+
}, U = ({ opened: o, setOpened: e, className: a }) => {
|
|
114
|
+
const i = w(n.buttonDropdownMenu, a);
|
|
115
115
|
return /* @__PURE__ */ t(oo.Provider, { value: { activeDescendant: S, setActiveDescendant: z }, children: /* @__PURE__ */ t(
|
|
116
116
|
g.Dropdown,
|
|
117
117
|
{
|
|
@@ -126,13 +126,13 @@ const lo = "buttonDropdown__3fc5f0b7", uo = "block__a3f00a23", po = "buttonDropd
|
|
|
126
126
|
mobileViewProps: {
|
|
127
127
|
children: /* @__PURE__ */ x(Z, { children: [
|
|
128
128
|
/* @__PURE__ */ t(
|
|
129
|
-
|
|
129
|
+
ao,
|
|
130
130
|
{
|
|
131
131
|
controlButtons: /* @__PURE__ */ t(no, { onClick: () => e(!1) }),
|
|
132
132
|
children: /* @__PURE__ */ t(mo, { tag: "div", size: io.B3, children: h })
|
|
133
133
|
}
|
|
134
134
|
),
|
|
135
|
-
/* @__PURE__ */ t(eo, { children: /* @__PURE__ */ t(
|
|
135
|
+
/* @__PURE__ */ t(eo, { children: /* @__PURE__ */ t(co, { children: E.map((r) => /* @__PURE__ */ B(
|
|
136
136
|
so,
|
|
137
137
|
{
|
|
138
138
|
...r,
|
|
@@ -164,7 +164,7 @@ const lo = "buttonDropdown__3fc5f0b7", uo = "block__a3f00a23", po = "buttonDropd
|
|
|
164
164
|
}
|
|
165
165
|
) });
|
|
166
166
|
}, M = (o) => {
|
|
167
|
-
C.current = o, typeof
|
|
167
|
+
C.current = o, typeof b == "function" ? b(o) : b && (b.current = o);
|
|
168
168
|
};
|
|
169
169
|
return /* @__PURE__ */ t(
|
|
170
170
|
g,
|
|
@@ -3,12 +3,12 @@ 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-82AnkPpo.js";
|
|
7
|
+
const K = "buttonDropdownExtended__63111ce8", S = "buttonDropdownExtendedBlock__a38df295", E = {
|
|
8
8
|
buttonDropdownExtended: K,
|
|
9
9
|
buttonDropdownExtendedBlock: S
|
|
10
10
|
}, D = (s) => {
|
|
11
|
-
const { className:
|
|
11
|
+
const { className: v, opened: x, setOpened: c, renderButton: k, renderDropdown: b, 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);
|
|
@@ -25,20 +25,20 @@ const K = "buttonDropdownExtended__3c842b0b", S = "buttonDropdownExtendedBlock__
|
|
|
25
25
|
const n = r.code || r.keyCode;
|
|
26
26
|
e && (w(n, "ESCAPE") || p && w(n, "TAB")) && o(!1);
|
|
27
27
|
}, d = (r) => {
|
|
28
|
-
const n = u.current,
|
|
28
|
+
const n = u.current, a = l.current;
|
|
29
29
|
if (e) {
|
|
30
|
-
const
|
|
31
|
-
|
|
30
|
+
const i = r.target;
|
|
31
|
+
i && !(n != null && n.contains(i)) && !(a != null && a.contains(i)) && o(!1);
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
return document.addEventListener("keydown", t), document.addEventListener("mousedown", d), document.addEventListener("touchstart", d), () => {
|
|
35
35
|
document.removeEventListener("keydown", t), document.removeEventListener("mousedown", d), document.removeEventListener("touchstart", d);
|
|
36
36
|
};
|
|
37
37
|
}, [e, p, l, o, u]);
|
|
38
|
-
const B = A(E.buttonDropdownExtended,
|
|
38
|
+
const B = A(E.buttonDropdownExtended, v);
|
|
39
39
|
return /* @__PURE__ */ h("div", { className: B, ref: u, ...L, children: [
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
k({ opened: e, setOpened: o }),
|
|
41
|
+
b({
|
|
42
42
|
className: E.buttonDropdownExtendedBlock,
|
|
43
43
|
opened: e,
|
|
44
44
|
setOpened: o
|
|
@@ -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-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__3715625d", I = "circle__8a02a808", f = "squircle__d8104184", o = {
|
|
7
7
|
buttonIcon: _,
|
|
8
8
|
circle: I,
|
|
9
9
|
squircle: f
|
|
10
|
-
},
|
|
11
|
-
[t.SQUIRCLE]:
|
|
12
|
-
[t.CIRCLE]:
|
|
13
|
-
},
|
|
14
|
-
({ className: r, disabled:
|
|
15
|
-
const l = m(
|
|
16
|
-
return /* @__PURE__ */ n(p, { displayContents: !0, disabled:
|
|
10
|
+
}, C = {
|
|
11
|
+
[t.SQUIRCLE]: o.squircle,
|
|
12
|
+
[t.CIRCLE]: o.circle
|
|
13
|
+
}, E = a.forwardRef(
|
|
14
|
+
({ className: r, disabled: c, shape: s = t.SQUIRCLE, active: e, ...u }, i) => {
|
|
15
|
+
const l = m(o.buttonIcon, C[s], r);
|
|
16
|
+
return /* @__PURE__ */ n(p, { displayContents: !0, disabled: c, active: e, children: /* @__PURE__ */ n("button", { type: "button", className: l, disabled: c, ...u, ref: i }) });
|
|
17
17
|
}
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
E.displayName = "ButtonIcon";
|
|
20
20
|
export {
|
|
21
|
-
|
|
21
|
+
E 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-82AnkPpo.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__ee82cd11", L = "extraBottom__9b302202", U = "adaptive__ce7be00f", C = {
|
|
18
18
|
calendar: q,
|
|
19
19
|
extraBottom: L,
|
|
20
20
|
adaptive: U
|
|
@@ -143,7 +143,7 @@ class k extends E.PureComponent {
|
|
|
143
143
|
C.calendar,
|
|
144
144
|
this.props.adaptiveMode ? C.adaptive : (P !== l.DAYS || g) && C.extraBottom
|
|
145
145
|
), _ = D(this.props.pickedDate, t);
|
|
146
|
-
return /* @__PURE__ */ f("div", { className: b, "data-tx": "1.
|
|
146
|
+
return /* @__PURE__ */ f("div", { className: b, "data-tx": "1.30.0", children: /* @__PURE__ */ T(
|
|
147
147
|
B.Provider,
|
|
148
148
|
{
|
|
149
149
|
value: {
|
|
@@ -4,11 +4,11 @@ import { CaretleftStrokeSrvIcon24 as B, CaretrightStrokeSrvIcon24 as v } from "@
|
|
|
4
4
|
import { CalendarContext as w } from "../CalendarContext.js";
|
|
5
5
|
import { Button as H } from "../../Button/Button.js";
|
|
6
6
|
import { ButtonIcon as A } from "../../Button/ButtonIcon.js";
|
|
7
|
-
import { EButtonIconShape as
|
|
7
|
+
import { EButtonIconShape as 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__c9936d9e", j = {
|
|
12
12
|
calendarControls: U
|
|
13
13
|
}, X = ({
|
|
14
14
|
children: m,
|
|
@@ -16,12 +16,12 @@ const U = "calendarControls__24f7b7c7", 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__24f7b7c7", 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__24f7b7c7", 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__24f7b7c7", 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,7 +1,7 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
const
|
|
3
|
-
calendarFooter:
|
|
4
|
-
}, t = ({ children: o }) => /* @__PURE__ */
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
const a = "calendarFooter__e5f9d548", r = {
|
|
3
|
+
calendarFooter: a
|
|
4
|
+
}, t = ({ children: o }) => /* @__PURE__ */ e("div", { className: r.calendarFooter, children: o });
|
|
5
5
|
t.displayName = "CalendarFooter";
|
|
6
6
|
export {
|
|
7
7
|
t as 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-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-DZix7Wi3.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-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-DZix7Wi3.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-DZix7Wi3.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-DZix7Wi3.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 = {} }) => {
|
|
@@ -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-82AnkPpo.js";
|
|
13
|
+
import { c as B } from "../../chunks/Card.module-C57O8DQ9.js";
|
|
14
|
+
const O = "action__d696ec8f", F = "selected__61e459d9", V = "focusVisible__92b2f610", 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.30.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-82AnkPpo.js";
|
|
6
|
+
import { c as n } from "../../chunks/Card.module-C57O8DQ9.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.30.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-82AnkPpo.js";
|
|
7
|
+
import { c as r } from "../../../../chunks/Card.module-C57O8DQ9.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-82AnkPpo.js";
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-C57O8DQ9.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-82AnkPpo.js";
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-C57O8DQ9.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-82AnkPpo.js";
|
|
3
|
+
import { c as d } from "../../../../../chunks/Card.module-C57O8DQ9.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-82AnkPpo.js";
|
|
3
|
+
import { c as m } from "../../../chunks/Card.module-C57O8DQ9.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
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { jsxs as p, jsx as b } from "react/jsx-runtime";
|
|
2
|
-
import C, { useState as w, useRef as D, useCallback as L, useEffect as
|
|
3
|
-
import { l as M, c as S } from "../../chunks/vendor-
|
|
2
|
+
import C, { useState as w, useRef as D, useCallback as L, useEffect as d } from "react";
|
|
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__e8a73529", 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
9
|
const [o, m] = w({ hidden: !0, nextDisabled: !1, prevDisabled: !0 }), r = D(null), t = L(() => {
|
|
10
|
-
const e = r.current,
|
|
10
|
+
const e = r.current, n = {
|
|
11
11
|
hidden: e.scrollWidth == e.clientWidth,
|
|
12
12
|
nextDisabled: Math.round(e.scrollLeft) + e.offsetWidth >= e.scrollWidth,
|
|
13
13
|
prevDisabled: Math.round(e.scrollLeft) <= 0
|
|
14
14
|
};
|
|
15
|
-
M.isEqual(
|
|
15
|
+
M.isEqual(n, o) == !1 && m(n);
|
|
16
16
|
}, [o]);
|
|
17
|
-
|
|
17
|
+
d(() => (window.addEventListener("resize", t), document.addEventListener("scroll", t), () => {
|
|
18
18
|
window.removeEventListener("resize", t), document.removeEventListener("scroll", t);
|
|
19
|
-
}), [t]),
|
|
19
|
+
}), [t]), d(() => {
|
|
20
20
|
t();
|
|
21
21
|
}, [l, t]);
|
|
22
22
|
const x = () => {
|