@sberbusiness/triplex-next 1.28.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-BIiexkiG.js +41 -0
- package/chunks/{CalendarViewItem-83koObqy.js → CalendarViewItem-DZix7Wi3.js} +23 -23
- package/chunks/Card.module-C57O8DQ9.js +18 -0
- package/chunks/CheckboxTreeExtended.module-D_Xqk2Z0.js +15 -0
- package/chunks/{Chip-BQ_gYzxq.js → Chip-D73o-tIk.js} +18 -18
- package/chunks/Confirm.module-CUcXlA0E.js +15 -0
- package/chunks/{DropdownListItem-CVJjluxY.js → DropdownListItem-PhDNj_sI.js} +22 -22
- package/chunks/DropdownMobile.module-DL87iBcj.js +23 -0
- package/chunks/Footer.module-DZzX_hiB.js +9 -0
- package/chunks/{FormFieldInput-BTVRGCId.js → FormFieldInput-Du3nMTry.js} +24 -24
- package/chunks/HeaderLayoutSidebar.module-BOcwOhH9.js +9 -0
- package/chunks/HeaderTabs.module-D5xnWADy.js +9 -0
- package/chunks/{HeaderTitle.module-Bh2WjxIN.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-BV0_QYb_.js → LightBoxContent-oXmUc0O4.js} +6 -6
- package/chunks/LightBoxControls.module-BOBUS8MF.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-BLxHQH7u.js +9 -0
- package/chunks/{ListItemControlsButton-_-tEvYQM.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-Dp8PruYh.js → SliderExtendedRail-Cr47EmrH.js} +8 -8
- package/chunks/StatusTracker.module-B6VeAoHW.js +24 -0
- package/chunks/{StepperStepArrowBorder-BhxHSVsg.js → StepperStepArrowBorder-C6up4LVv.js} +8 -8
- package/chunks/{SuggestFieldMobileDropdownHint-Dj6gWOOm.js → SuggestFieldMobileDropdownHint-BZyaIt1i.js} +2 -2
- 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-Bhz9sU72.js → UploadZoneInput-BbaamBLA.js} +8 -8
- package/chunks/{constants-CAK3AnS2.js → constants-DG4U-QtS.js} +8 -8
- package/chunks/utils-2vVjLvvg.js +24 -0
- package/chunks/{utils-JveQLn3C.js → utils-BTk2T8x6.js} +2 -2
- package/chunks/{utils-CWZKt6QH.js → utils-Bk10DX0W.js} +15 -15
- package/chunks/{utils-m2ZY7x9c.js → utils-DgpN6CSa.js} +8 -8
- package/chunks/{vendor-DudMBGKr.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 +25 -25
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +6 -6
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +47 -22
- package/components/Badge/Badge.js +9 -9
- package/components/Badge/BadgeDot.js +5 -5
- package/components/Badge/components/BadgeContent.js +16 -16
- package/components/Badge/components/BadgePostfix.js +10 -10
- package/components/Badge/components/BadgePrefix.js +5 -5
- package/components/Body/Body.js +5 -5
- package/components/Button/Button.js +24 -24
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +27 -27
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +12 -12
- package/components/Calendar/Calendar.js +120 -114
- package/components/Calendar/CalendarContext.js +1 -1
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +4 -4
- package/components/Calendar/components/CalendarFooterButton.js +19 -21
- package/components/Calendar/components/CalendarViewDays.js +7 -10
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +29 -29
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Calendar/enums.js +1 -1
- package/components/Card/CardAction.js +16 -16
- 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 +20 -20
- 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/CheckboxTreeExtended/index.js +3 -1
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +8 -8
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +5 -5
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +6 -6
- 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 +2 -2
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +14 -14
- package/components/Col/Col.js +142 -142
- 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/DateField/DateField.js +18 -28
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +5 -5
- package/components/DatePickerExtended/index.js +5 -0
- 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/Calendar.js +34 -42
- 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 +21 -21
- 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 +6 -6
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +3 -3
- package/components/Ellipsis/Ellipsis.js +6 -6
- package/components/EmptyView/EmptyView.js +13 -13
- package/components/ExpandAnimation/ExpandAnimation.js +22 -22
- 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 +27 -27
- package/components/FormField/components/FormFieldClear.js +8 -8
- package/components/FormField/components/FormFieldCounter.js +9 -11
- 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 +20 -20
- package/components/FormField/components/FormFieldTextarea.js +13 -13
- 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 +6 -6
- 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 +10 -10
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +5 -5
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +4 -4
- 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 +27 -27
- package/components/IslandWidget/components/IslandWidgetBody.js +4 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +19 -17
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderControls.js +18 -0
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +21 -6
- package/components/IslandWidget/components/IslandWidgetHeaderTitle.js +18 -0
- package/components/IslandWidget/components/IslandWidgetWrapper.js +2 -2
- package/components/LightBox/LightBox.js +13 -13
- 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 +15 -15
- 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 +18 -18
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +14 -14
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +9 -9
- package/components/List/List.js +7 -7
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +8 -8
- package/components/List/components/ListItemContent.js +22 -17
- package/components/List/components/ListItemContext.js +5 -2
- package/components/List/components/ListItemControls.js +5 -5
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +8 -8
- 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 +6 -6
- package/components/Loader/LoaderSmall/LoaderSmall.js +7 -7
- package/components/LoaderScreen/LoaderScreen.js +10 -10
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +12 -12
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +9 -9
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +3 -3
- package/components/ModalWindow/components/ModalWindowViewManager.js +2 -2
- package/components/ModalWindow/index.js +11 -10
- package/components/MonthYearField/MonthYearField.js +22 -22
- package/components/MonthYearRange/MonthYearRange.js +15 -15
- 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 +8 -8
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +6 -6
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +3 -3
- package/components/OrderedList/OrderedListItem.js +11 -11
- 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 +2 -2
- 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/Page/index.js +10 -4
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +7 -7
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +11 -11
- package/components/Pagination/components/PaginationPageEllipsis.js +5 -5
- package/components/Pagination/components/PaginationSelect.js +2 -2
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +9 -9
- package/components/Radio/RadioXGroup.js +14 -14
- package/components/Radio/RadioYGroup.js +4 -4
- package/components/Row/Row.js +7 -7
- 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/SMSField/index.js +9 -1
- package/components/SegmentedControl/SegmentedControl.js +14 -14
- package/components/SegmentedControl/SegmentedControlSegment.js +10 -10
- package/components/SelectExtendedField/SelectExtendedField.js +11 -11
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +17 -17
- package/components/SelectField/SelectField.js +2 -2
- package/components/Skeleton/Skeleton.js +11 -11
- 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 +6 -6
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +34 -34
- package/components/SmallInput/SmallInput.js +5 -5
- package/components/Spoiler/Spoiler.js +3 -3
- package/components/StatusTracker/StatusTracker.js +15 -11
- 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/StatusTracker/index.js +21 -5
- package/components/Step/Step.js +9 -9
- package/components/Stepper/Stepper.js +2 -2
- package/components/Stepper/StepperExtended.js +6 -6
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperStepArrowBorder.js +1 -1
- package/components/Suggest/SuggestMobileDropdownContent.js +10 -10
- package/components/Suggest/useSuggest.js +1 -1
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +3 -3
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +11 -11
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +29 -25
- package/components/Table/NoColumns.js +2 -2
- package/components/Table/PaginationPanel.js +3 -3
- 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 +8 -8
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +6 -6
- 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/index.js +25 -17
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +16 -16
- 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 +7 -7
- package/components/Tag/Tag.js +26 -26
- package/components/TagColor/TagColor.js +11 -11
- package/components/TagGroup/TagGroup.js +4 -4
- 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 +5 -5
- package/components/TopOverlay/TopOverlay.js +20 -20
- 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/TreeView/index.js +10 -0
- package/components/Triggers/index.js +5 -0
- package/components/Typography/Caption.js +27 -27
- package/components/Typography/CodeText.js +7 -7
- package/components/Typography/Text.js +13 -13
- package/components/Typography/Title.js +11 -11
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +3 -3
- 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 +4 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/WindowResizeListener/index.js +5 -0
- package/components/index.js +643 -575
- package/index.d.ts +508 -93
- package/index.js +666 -598
- package/package.json +25 -1
- package/styles/triplex-next.css +541 -538
- package/types/index.js +2 -0
- package/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-NldQtvco.js +0 -41
- package/chunks/Card.module-c3-33ce8.js +0 -17
- package/chunks/CheckboxTreeExtended.module-DmQ81avO.js +0 -15
- package/chunks/Confirm.module-NvQ6x492.js +0 -15
- package/chunks/DropdownMobile.module-BzplQxLc.js +0 -23
- package/chunks/Footer.module-C5auaCMC.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-CmVwh8YX.js +0 -9
- package/chunks/HeaderTabs.module-BTcgQwsE.js +0 -9
- package/chunks/IslandAccordion.module-B-19rXcD.js +0 -25
- package/chunks/IslandWidgetFooter.module-BO73Tgxq.js +0 -9
- package/chunks/IslandWidgetHeader.module-Df2VlDhN.js +0 -12
- package/chunks/LightBoxControls.module-DbEH8RB1.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-DX1kP1BM.js +0 -9
- package/chunks/ListItemTail.module-BKoqbpG6.js +0 -12
- package/chunks/ListMasterFooter.module-Dbk-k1aZ.js +0 -10
- package/chunks/ModalWindow.module-Dt8kEFNo.js +0 -17
- package/chunks/Notification.module-B9uJ73NL.js +0 -20
- package/chunks/Overlay.module-D6x0Rc2c.js +0 -18
- package/chunks/Page.module-Dp-a8BZr.js +0 -11
- package/chunks/SMSField.module-C2BQO6iZ.js +0 -16
- package/chunks/SliderExtendedMarks.module-DI6EJLUh.js +0 -15
- package/chunks/StatusTracker.module-CF7eqrdv.js +0 -24
- package/chunks/TableFooter.module-BBF-DJGA.js +0 -14
- package/chunks/TabsExtended.module-C4CTakbs.js +0 -16
- package/chunks/TabsLine.module-CQy-1q2X.js +0 -21
- package/chunks/TooltipDesktop.module-BsYuxr3t.js +0 -19
- package/chunks/TreeView.module-BkeBRmgo.js +0 -9
- package/chunks/utils-BeYLwFL4.js +0 -24
- package/components/CollapsableTree/CollapsableTree.js +0 -10
- package/components/CollapsableTree/components/CollapsableTreeNode.js +0 -79
|
@@ -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,31 +1,29 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { CalendarContext as
|
|
4
|
-
import { Button as
|
|
5
|
-
import { EButtonTheme as
|
|
1
|
+
import { jsx as y } from "react/jsx-runtime";
|
|
2
|
+
import A, { useContext as E } from "react";
|
|
3
|
+
import { CalendarContext as O } from "../CalendarContext.js";
|
|
4
|
+
import { Button as g } from "../../Button/Button.js";
|
|
5
|
+
import { EButtonTheme as M } from "../../Button/enums.js";
|
|
6
6
|
import { ECalendarPickType as f, ECalendarViewMode as o } from "../enums.js";
|
|
7
|
-
import { isDateOutOfRange as l, isDayDisabled as
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
E,
|
|
7
|
+
import { isDateOutOfRange as l, isDayDisabled as N } from "../utils.js";
|
|
8
|
+
const R = A.forwardRef(
|
|
9
|
+
({ date: e, currentPeriodSelected: p, disabled: t, onClick: r, ...D }, u) => {
|
|
10
|
+
const { format: d, limitRange: i, pickType: n, viewMode: a, disabledDays: C, onPageChange: m, onViewChange: s, onDateSelect: S } = E(O), T = (h) => {
|
|
11
|
+
p ? S(e) : n === f.DATE ? a === o.DAYS ? m(e, o.DAYS) : s(e, o.DAYS) : a === o.MONTHS ? m(e, o.MONTHS) : s(e, o.MONTHS), r == null || r(h);
|
|
12
|
+
}, c = () => t !== void 0 ? t : n === f.DATE ? l(e, i, "day") || N(e.format(d), C) : l(e, i, "month");
|
|
13
|
+
return /* @__PURE__ */ y(
|
|
14
|
+
g,
|
|
16
15
|
{
|
|
17
|
-
theme:
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
...d,
|
|
16
|
+
theme: M.SECONDARY,
|
|
17
|
+
...D,
|
|
18
|
+
disabled: c(),
|
|
19
|
+
onClick: T,
|
|
22
20
|
ref: u
|
|
23
21
|
}
|
|
24
22
|
);
|
|
25
23
|
}
|
|
26
24
|
);
|
|
27
|
-
|
|
25
|
+
R.displayName = "CalendarFooterButton";
|
|
28
26
|
export {
|
|
29
|
-
|
|
27
|
+
R as CalendarFooterButton
|
|
30
28
|
};
|
|
31
29
|
//# sourceMappingURL=CalendarFooterButton.js.map
|
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
import { jsxs as U, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { useContext as k, useCallback as O, useState as L, useEffect as q } from "react";
|
|
2
|
+
import { useContext as k, useCallback as O, useState as H, useEffect as L } from "react";
|
|
4
3
|
import c from "moment";
|
|
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";
|
|
12
|
-
const me = ({
|
|
13
|
-
pickedDate: o,
|
|
14
|
-
dayHtmlAttributes: D = {}
|
|
15
|
-
}) => {
|
|
12
|
+
const me = ({ pickedDate: o, dayHtmlAttributes: D = {} }) => {
|
|
16
13
|
const { format: m, periodId: x, limitRange: h, viewDate: n, markedDays: f, disabledDays: w, onDateSelect: I, onPageChange: C } = k(ee), { viewItemFocusedRef: S } = k(Q), M = n.clone().startOf("month").startOf("week"), b = O(
|
|
17
14
|
(e) => g(e, h, "day") || z(e.format(m), w),
|
|
18
15
|
[h, w, m]
|
|
@@ -25,8 +22,8 @@ const me = ({
|
|
|
25
22
|
if (e.add(a, "day"), !b(e))
|
|
26
23
|
return e;
|
|
27
24
|
}
|
|
28
|
-
}, [o, n, b]), [T, A] =
|
|
29
|
-
|
|
25
|
+
}, [o, n, b]), [T, A] = H(p());
|
|
26
|
+
L(() => {
|
|
30
27
|
S.current || A(p());
|
|
31
28
|
}, [n, S, p]);
|
|
32
29
|
const N = () => {
|
|
@@ -41,7 +38,7 @@ const me = ({
|
|
|
41
38
|
`calendar-table-header-${t}`
|
|
42
39
|
)) }) });
|
|
43
40
|
}, V = () => /* @__PURE__ */ l("tbody", { className: y.calendarViewDaysBody, children: [0, 1, 2, 3, 4, 5].map((e) => /* @__PURE__ */ l("tr", { children: [0, 1, 2, 3, 4, 5, 6].map((a) => W(e, a)) }, `calendar-table-row-${e}`)) }), W = (e, a) => {
|
|
44
|
-
const t = c(M).add(e * 7 + a, "day"), r =
|
|
41
|
+
const t = c(M).add(e * 7 + a, "day"), r = q({ [y.current]: v(t) }), s = B(t), u = b(t), $ = !u && _(t), j = P(t), R = K(t);
|
|
45
42
|
return /* @__PURE__ */ l(
|
|
46
43
|
X,
|
|
47
44
|
{
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../../chunks/vendor-DudMBGKr.js";
|
|
3
2
|
import "react";
|
|
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
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useContext as
|
|
1
|
+
import { jsx as f } from "react/jsx-runtime";
|
|
2
|
+
import { useContext as O, useCallback as R, useState as H, useEffect as F } from "react";
|
|
3
3
|
import h from "moment";
|
|
4
|
-
import { CalendarContext as
|
|
4
|
+
import { CalendarContext as G } from "../CalendarContext.js";
|
|
5
5
|
import { CalendarViewContext as K } from "../CalendarViewContext.js";
|
|
6
|
-
import { isDateOutOfRange as
|
|
7
|
-
import { s as B, C as U } from "../../../chunks/CalendarViewItem-
|
|
8
|
-
import { isKey as
|
|
6
|
+
import { isDateOutOfRange as S } from "../utils.js";
|
|
7
|
+
import { s as B, C as U } from "../../../chunks/CalendarViewItem-DZix7Wi3.js";
|
|
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 = {} }) => {
|
|
11
|
-
const { pickType: w, periodId:
|
|
12
|
-
(e) =>
|
|
13
|
-
[
|
|
14
|
-
), d =
|
|
11
|
+
const { pickType: w, periodId: A, limitRange: m, viewDate: o, onDateSelect: g, onPageChange: D, onViewChange: E } = O(G), { viewItemFocusedRef: y } = O(K), _ = h.monthsShort(), b = R(
|
|
12
|
+
(e) => S(e, m, "month"),
|
|
13
|
+
[m]
|
|
14
|
+
), d = R(() => {
|
|
15
15
|
if (r && r.isSame(o, "year"))
|
|
16
16
|
return r;
|
|
17
17
|
{
|
|
@@ -20,43 +20,43 @@ const Z = ({ pickedDate: r, monthHtmlAttributes: T = {} }) => {
|
|
|
20
20
|
if (e.add(t, "month"), !b(e))
|
|
21
21
|
return e;
|
|
22
22
|
}
|
|
23
|
-
}, [r, o, b]), [p, C] =
|
|
24
|
-
|
|
23
|
+
}, [r, o, b]), [p, C] = H(d());
|
|
24
|
+
F(() => {
|
|
25
25
|
y.current || C(d());
|
|
26
26
|
}, [o, y, d]);
|
|
27
|
-
const
|
|
28
|
-
const a = e * 3 + t, n = o.clone().startOf("month").month(a),
|
|
29
|
-
return /* @__PURE__ */
|
|
27
|
+
const x = () => /* @__PURE__ */ f("tbody", { children: [0, 1, 2, 3].map((e) => /* @__PURE__ */ f("tr", { children: [0, 1, 2].map((t) => I(e, t)) }, `calendar-view-months-row-${e}`)) }), I = (e, t) => {
|
|
28
|
+
const a = e * 3 + t, n = o.clone().startOf("month").month(a), l = M(n), c = b(n), v = !c && N(n);
|
|
29
|
+
return /* @__PURE__ */ f(
|
|
30
30
|
U,
|
|
31
31
|
{
|
|
32
32
|
...T,
|
|
33
33
|
date: n,
|
|
34
34
|
unit: "month",
|
|
35
|
-
active:
|
|
35
|
+
active: l,
|
|
36
36
|
disabled: c,
|
|
37
37
|
tabbable: v,
|
|
38
|
-
onKeyDown:
|
|
39
|
-
onDateSelect:
|
|
40
|
-
children:
|
|
38
|
+
onKeyDown: P(n),
|
|
39
|
+
onDateSelect: V,
|
|
40
|
+
children: _[a]
|
|
41
41
|
},
|
|
42
42
|
`calendar-table-data-${t}`
|
|
43
43
|
);
|
|
44
|
-
},
|
|
44
|
+
}, M = (e) => r == null ? !1 : r.isSame(e, "month"), N = (e) => p ? e.isSame(p, "month") : !1, P = (e) => (t) => {
|
|
45
45
|
const a = t.code || t.keyCode;
|
|
46
46
|
let n;
|
|
47
|
-
|
|
47
|
+
i(a, "ARROW_RIGHT") ? (n = s(e, "add", 1, "month"), t.preventDefault()) : i(a, "ARROW_LEFT") ? (n = s(e, "subtract", 1, "month"), t.preventDefault()) : i(a, "ARROW_DOWN") ? (n = s(e, "add", 3, "month"), t.preventDefault()) : i(a, "ARROW_UP") ? (n = s(e, "subtract", 3, "month"), t.preventDefault()) : i(a, "PAGE_DOWN") ? (n = s(e, "add", 1, "year"), t.preventDefault()) : i(a, "PAGE_UP") && (n = s(e, "subtract", 1, "year"), t.preventDefault()), n && W(n);
|
|
48
48
|
}, s = (e, t, a, n) => {
|
|
49
|
-
const
|
|
50
|
-
add: h.fn.add.bind(
|
|
51
|
-
subtract: h.fn.subtract.bind(
|
|
49
|
+
const l = e.clone(), c = {
|
|
50
|
+
add: h.fn.add.bind(l),
|
|
51
|
+
subtract: h.fn.subtract.bind(l)
|
|
52
52
|
}[t];
|
|
53
|
-
return c(a, n),
|
|
54
|
-
},
|
|
55
|
-
w === Y.
|
|
56
|
-
},
|
|
53
|
+
return c(a, n), S(l, m, "month") ? e : l;
|
|
54
|
+
}, V = (e) => {
|
|
55
|
+
w === Y.MONTH_YEAR ? g(e) : E(e, u.DAYS);
|
|
56
|
+
}, W = (e) => {
|
|
57
57
|
C(e), e.isBefore(o, "year") ? (e = o.clone().subtract(1, "year"), D(e, u.MONTHS)) : e.isAfter(o, "year") && (e = o.clone().add(1, "year"), D(e, u.MONTHS));
|
|
58
58
|
};
|
|
59
|
-
return /* @__PURE__ */
|
|
59
|
+
return /* @__PURE__ */ f("table", { className: B.calendarViewMonths, role: "grid", "aria-labelledby": A, children: x() });
|
|
60
60
|
};
|
|
61
61
|
export {
|
|
62
62
|
Z as CalendarViewMonths
|
|
@@ -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 = {} }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var I = /* @__PURE__ */ ((A) => (A
|
|
1
|
+
var I = /* @__PURE__ */ ((A) => (A.DATE = "date", A.MONTH_YEAR = "month_year", A))(I || {}), N = /* @__PURE__ */ ((A) => (A.DAYS = "days", A.MONTHS = "months", A.YEARS = "years", A))(N || {}), S = /* @__PURE__ */ ((A) => (A[A.BASIC = 0] = "BASIC", A[A.STANDARD = 1] = "STANDARD", A[A.ATTENTION = 2] = "ATTENTION", A[A.CRITICAL = 3] = "CRITICAL", A))(S || {});
|
|
2
2
|
export {
|
|
3
3
|
S as ECalendarDateMarkType,
|
|
4
4
|
I as ECalendarPickType,
|
|
@@ -8,10 +8,10 @@ import { CardMedia as _ } from "./components/CardMedia.js";
|
|
|
8
8
|
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
|
-
import { isKey as
|
|
12
|
-
import { c as k } from "../../chunks/vendor-
|
|
13
|
-
import { c as B } from "../../chunks/Card.module-
|
|
14
|
-
const O = "
|
|
11
|
+
import { isKey as f } from "../../utils/keyboard.js";
|
|
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
|
|
@@ -35,19 +35,19 @@ class l extends u.Component {
|
|
|
35
35
|
});
|
|
36
36
|
o(this, "handleKeyDown", (e) => {
|
|
37
37
|
const { onKeyDown: s } = this.props;
|
|
38
|
-
s == null || s(e),
|
|
38
|
+
s == null || s(e), f(e.keyCode, "SPACE") ? (e.preventDefault(), this.handleToggle()) : f(e.keyCode, "ENTER") && this.handleToggle();
|
|
39
39
|
});
|
|
40
40
|
o(this, "handleFocus", (e) => {
|
|
41
|
-
const { onFocus: s } = this.props, { focusSource: t } = this.state, { current:
|
|
42
|
-
s == null || s(e), !t &&
|
|
41
|
+
const { onFocus: s } = this.props, { focusSource: t } = this.state, { current: n } = this.ref;
|
|
42
|
+
s == null || s(e), !t && n === e.target && this.setState({ focusSource: r.KEYBOARD });
|
|
43
43
|
});
|
|
44
44
|
o(this, "handleBlur", (e) => {
|
|
45
45
|
const { onBlur: s } = this.props, { current: t } = this.ref;
|
|
46
46
|
s == null || s(e), t !== document.activeElement && t === e.target && this.setState({ focusSource: r.NONE });
|
|
47
47
|
});
|
|
48
48
|
o(this, "handleToggle", () => {
|
|
49
|
-
const { toggle: e, selected: s, onToggle: t } = this.props, { isControlled:
|
|
50
|
-
|
|
49
|
+
const { toggle: e, selected: s, onToggle: t } = this.props, { isControlled: n, isSelected: d } = this.state;
|
|
50
|
+
n ? e == null || e(!s) : this.setState(
|
|
51
51
|
(h) => ({ isSelected: !h.isSelected }),
|
|
52
52
|
() => t == null ? void 0 : t(!d)
|
|
53
53
|
);
|
|
@@ -62,11 +62,11 @@ class l extends u.Component {
|
|
|
62
62
|
children: e,
|
|
63
63
|
className: s,
|
|
64
64
|
onClick: t,
|
|
65
|
-
onMouseDown:
|
|
65
|
+
onMouseDown: n,
|
|
66
66
|
onKeyDown: d,
|
|
67
67
|
onFocus: h,
|
|
68
68
|
onBlur: z,
|
|
69
|
-
roundingSize:
|
|
69
|
+
roundingSize: p = M.MD,
|
|
70
70
|
onToggle: A,
|
|
71
71
|
selected: m,
|
|
72
72
|
toggle: U,
|
|
@@ -74,12 +74,12 @@ class l extends u.Component {
|
|
|
74
74
|
...C
|
|
75
75
|
} = this.props, { isControlled: E, isSelected: g, focusSource: D } = this.state, N = k(
|
|
76
76
|
B.card,
|
|
77
|
-
|
|
77
|
+
a.action,
|
|
78
78
|
K[S],
|
|
79
|
-
x[
|
|
79
|
+
x[p],
|
|
80
80
|
{
|
|
81
|
-
[
|
|
82
|
-
[
|
|
81
|
+
[a.focusVisible]: D === r.KEYBOARD,
|
|
82
|
+
[a.selected]: E ? !!m : g
|
|
83
83
|
},
|
|
84
84
|
s
|
|
85
85
|
);
|
|
@@ -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 = () => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as I, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import N from "react";
|
|
3
|
-
import { c as l } from "../../chunks/vendor-
|
|
3
|
+
import { c as l } from "../../chunks/vendor-82AnkPpo.js";
|
|
4
4
|
import { CheckboxbulkStrokeSrvIcon24 as S, CheckboxtickStrokeSrvIcon24 as C } from "@sberbusiness/icons-next";
|
|
5
5
|
import { ETextSize as n } from "../Typography/enums.js";
|
|
6
6
|
import "../Typography/Caption.js";
|
|
@@ -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__703ce254", M = "sm__876f136f", T = "nonempty__5f3ff633", z = "md__5d53878d", g = "lg__14ca2cfd", A = "disabled__90d9d027", v = "checkbox__b32b9655", B = "checkboxIcon__526eea50", L = "checkmarkIcon__ce07cc4f", c = {
|
|
13
13
|
label: E,
|
|
14
14
|
sm: M,
|
|
15
15
|
nonempty: T,
|
|
@@ -23,30 +23,30 @@ const E = "label__5704982b", M = "sm__39ac5807", T = "nonempty__ca25428e", z = "
|
|
|
23
23
|
[s.LG]: n.B2,
|
|
24
24
|
[s.MD]: n.B3,
|
|
25
25
|
[s.SM]: n.B4
|
|
26
|
-
},
|
|
26
|
+
}, d = y(c), j = N.forwardRef((i, k) => {
|
|
27
27
|
const {
|
|
28
|
-
children:
|
|
28
|
+
children: t,
|
|
29
29
|
className: _,
|
|
30
30
|
disabled: m,
|
|
31
|
-
bulk:
|
|
31
|
+
bulk: b,
|
|
32
32
|
labelAttributes: o,
|
|
33
|
-
size:
|
|
34
|
-
...
|
|
35
|
-
} = i, x = l(
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
{ [
|
|
33
|
+
size: a = s.MD,
|
|
34
|
+
...p
|
|
35
|
+
} = i, x = l(c.checkbox, d[a]), h = l(
|
|
36
|
+
c.label,
|
|
37
|
+
d[a],
|
|
38
|
+
{ [c.disabled]: !!m, [c.nonempty]: !!t },
|
|
39
39
|
_,
|
|
40
40
|
o == null ? void 0 : o.className
|
|
41
|
-
),
|
|
42
|
-
const r =
|
|
43
|
-
return
|
|
41
|
+
), f = () => {
|
|
42
|
+
const r = c.checkmarkIcon;
|
|
43
|
+
return b ? /* @__PURE__ */ e(S, { className: r, paletteIndex: 7 }) : /* @__PURE__ */ e(C, { className: r, paletteIndex: 7 });
|
|
44
44
|
};
|
|
45
|
-
return /* @__PURE__ */
|
|
46
|
-
/* @__PURE__ */
|
|
47
|
-
/* @__PURE__ */
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
return /* @__PURE__ */ I("label", { ...o, className: h, "data-tx": "1.30.0", children: [
|
|
46
|
+
/* @__PURE__ */ e("input", { type: "checkbox", className: x, disabled: m, ...p, ref: k }),
|
|
47
|
+
/* @__PURE__ */ e("span", { className: c.checkboxIcon }),
|
|
48
|
+
f(),
|
|
49
|
+
t && /* @__PURE__ */ e(u, { size: Z[a], tag: "div", children: t })
|
|
50
50
|
] });
|
|
51
51
|
});
|
|
52
52
|
j.displayName = "Checkbox";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import a from "react";
|
|
3
|
-
import { c as _ } from "../../chunks/vendor-
|
|
4
|
-
const l = "
|
|
3
|
+
import { c as _ } from "../../chunks/vendor-82AnkPpo.js";
|
|
4
|
+
const l = "checkboxXGroup__1b7852f8", b = "label__703ce254", e = {
|
|
5
5
|
checkboxXGroup: l,
|
|
6
|
-
"indent-12": "indent-
|
|
6
|
+
"indent-12": "indent-12__58ace41b",
|
|
7
7
|
label: b,
|
|
8
|
-
"indent-16": "indent-
|
|
9
|
-
"indent-20": "indent-
|
|
10
|
-
"indent-24": "indent-
|
|
11
|
-
"indent-28": "indent-
|
|
12
|
-
"indent-32": "indent-
|
|
8
|
+
"indent-16": "indent-16__8b020584",
|
|
9
|
+
"indent-20": "indent-20__73b4922a",
|
|
10
|
+
"indent-24": "indent-24__279eee1c",
|
|
11
|
+
"indent-28": "indent-28__0da84a7c",
|
|
12
|
+
"indent-32": "indent-32__59f13181"
|
|
13
13
|
}, p = a.forwardRef((n, t) => {
|
|
14
|
-
const { children: o, className: c, indent:
|
|
15
|
-
return /* @__PURE__ */ s("div", { className: i, ...
|
|
14
|
+
const { children: o, className: c, indent: r = 12, ...d } = n, i = _(e.checkboxXGroup, e[`indent-${r}`], c);
|
|
15
|
+
return /* @__PURE__ */ s("div", { className: i, ...d, role: "group", ref: t, children: o });
|
|
16
16
|
});
|
|
17
17
|
p.displayName = "CheckboxXGroup";
|
|
18
18
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import p from "react";
|
|
3
|
-
import { c as m } from "../../chunks/vendor-
|
|
4
|
-
const l = "
|
|
3
|
+
import { c as m } from "../../chunks/vendor-82AnkPpo.js";
|
|
4
|
+
const l = "checkboxYGroup__604376ef", u = {
|
|
5
5
|
checkboxYGroup: l
|
|
6
6
|
}, x = p.forwardRef((o, c) => {
|
|
7
7
|
const { children: r, className: e, ...s } = o, t = m(u.checkboxYGroup, e);
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { CollapsibleTreeExtended as n } from "../CollapsibleTreeExtended/CollapsibleTreeExtended.js";
|
|
3
3
|
import { CheckboxTreeExtendedCheckbox as c } from "./components/CheckboxTreeExtendedCheckbox.js";
|
|
4
4
|
import { CheckboxTreeExtendedNode as p } from "./components/CheckboxTreeExtendedNode.js";
|
|
5
5
|
import { CheckboxTreeExtendedContext as s } from "./CheckboxTreeExtendedContext.js";
|
|
6
|
-
import { c as a } from "../../chunks/vendor-
|
|
6
|
+
import { c as a } from "../../chunks/vendor-82AnkPpo.js";
|
|
7
7
|
import { EComponentSize as r } from "../../enums/EComponentSize.js";
|
|
8
8
|
import { EScreenWidth as t } from "../../helpers/breakpoints.js";
|
|
9
9
|
import { useMatchMedia as h } from "../MediaWidth/useMatchMedia.js";
|
|
10
|
-
import { s as f } from "../../chunks/CheckboxTreeExtended.module-
|
|
11
|
-
const e = ({ className:
|
|
10
|
+
import { s as f } from "../../chunks/CheckboxTreeExtended.module-D_Xqk2Z0.js";
|
|
11
|
+
const e = ({ className: d, size: m = r.MD, ...i }) => {
|
|
12
12
|
const x = h(
|
|
13
13
|
`(max-width: ${t.SM_MAX})`,
|
|
14
14
|
window.innerWidth <= parseInt(t.SM_MAX)
|
|
15
15
|
);
|
|
16
|
-
return /* @__PURE__ */ o(s.Provider, { value: { size: x ? r.MD :
|
|
16
|
+
return /* @__PURE__ */ o(s.Provider, { value: { size: x ? r.MD : m }, children: /* @__PURE__ */ o(n, { className: a(f.checkboxTreeExtended, d), ...i }) });
|
|
17
17
|
};
|
|
18
18
|
e.displayName = "CheckboxTreeExtended";
|
|
19
19
|
e.Checkbox = c;
|
|
@@ -5,7 +5,7 @@ import { jsx as p } from "react/jsx-runtime";
|
|
|
5
5
|
import { CaretdownStrokeSrvIcon16 as l } from "@sberbusiness/icons-next";
|
|
6
6
|
import { EVENT_KEY_CODES as d } from "../../../utils/keyboard.js";
|
|
7
7
|
import h from "react";
|
|
8
|
-
import { s as f } from "../../../chunks/CheckboxTreeExtended.module-
|
|
8
|
+
import { s as f } from "../../../chunks/CheckboxTreeExtended.module-D_Xqk2Z0.js";
|
|
9
9
|
class x extends h.Component {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as N, useContext as E, useEffect as T } from "react";
|
|
3
3
|
import { Checkbox as a } from "../../Checkbox/Checkbox.js";
|
|
4
|
-
import { c as x } from "../../../chunks/vendor-
|
|
5
|
-
import { s as m } from "../../../chunks/CheckboxTreeExtended.module-
|
|
4
|
+
import { c as x } from "../../../chunks/vendor-82AnkPpo.js";
|
|
5
|
+
import { s as m } from "../../../chunks/CheckboxTreeExtended.module-D_Xqk2Z0.js";
|
|
6
6
|
import { CheckboxTreeExtendedContext as F } from "../CheckboxTreeExtendedContext.js";
|
|
7
7
|
const L = ({
|
|
8
8
|
active: s,
|