@sberbusiness/triplex-next 1.5.0 → 1.6.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-M7W9D-p3.js → AlertProcessSpoiler-BCXIqVd5.js} +3 -3
- package/chunks/CalendarViewItem-CHiqUGxF.js +101 -0
- package/chunks/Card.module-CmXEvD5r.js +17 -0
- package/chunks/CheckboxTreeExtended.module-D-2ZUrcy.js +11 -0
- package/chunks/{Chip-DpSJGyYK.js → Chip-yWyfl_o2.js} +9 -9
- package/chunks/Confirm.module-Ds4ZMYVB.js +15 -0
- package/chunks/DropdownListItem-DgEkMGvB.js +57 -0
- package/chunks/DropdownMobile.module-thvNKX4t.js +21 -0
- package/chunks/Footer.module-DZhiuTzP.js +9 -0
- package/chunks/{FormFieldInput-BSxKZxcq.js → FormFieldInput-BBhoiftf.js} +15 -15
- package/chunks/HeaderLayoutSidebar.module-DaB6pHPF.js +9 -0
- package/chunks/HeaderTabs.module-DK3rR1yV.js +9 -0
- package/chunks/{HeaderTitle.module-CEMLCR13.js → HeaderTitle.module-CBMLSjn-.js} +2 -2
- package/chunks/IslandAccordion.module-D9LSijXT.js +26 -0
- package/chunks/{LightBoxContent-DTTxRVLQ.js → LightBoxContent-BjsBFl6W.js} +15 -15
- package/chunks/LightBoxControls.module-BHw6I5-d.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-VE4NCDr0.js +8 -0
- package/chunks/{ListItemControlsButton-AbCEipFe.js → ListItemControlsButton-CueYzEGM.js} +11 -11
- package/chunks/ListItemTail.module-Bw2cyg-n.js +12 -0
- package/chunks/ListMasterFooter.module-BfD7OQFa.js +10 -0
- package/chunks/ModalWindow.module-Nps-2rvx.js +17 -0
- package/chunks/Notification.module-DZZnmvDX.js +21 -0
- package/chunks/Overlay.module-BGfiVeol.js +18 -0
- package/chunks/Page.module-CV4uy77C.js +12 -0
- package/chunks/{RightBorderArrow-Co_RT8lZ.js → RightBorderArrow-rROpeCX0.js} +14 -14
- package/chunks/SMSInput.module-Br6FTDVD.js +16 -0
- package/chunks/SliderExtendedMarks.module-Bubs2UAN.js +15 -0
- package/chunks/SliderExtendedRail-BmH-0W3L.js +40 -0
- package/chunks/StatusTracker.module-BVzGbfDD.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-nZwpz9Eo.js → SuggestFieldMobileDropdownHint-Bh4smUeN.js} +2 -2
- package/chunks/TableFooter.module-hx13-EO6.js +14 -0
- package/chunks/TabsExtended.module-CNjCgifz.js +16 -0
- package/chunks/TabsLine.module-_Jn8K0jv.js +23 -0
- package/chunks/TooltipDesktop.module-Cx6fDiek.js +19 -0
- package/chunks/{TooltipMobileCloseButton-DTtQoE3B.js → TooltipMobileCloseButton-BUyQFHWX.js} +4 -4
- package/chunks/TreeView.module-oeG4_2Ve.js +9 -0
- package/chunks/{UploadZoneInput-C2-_7DoS.js → UploadZoneInput-CjsECm07.js} +3 -3
- package/chunks/utils-C1Q-0uVF.js +36 -0
- package/chunks/{utils-CFlJg-k1.js → utils-C8A7RzC0.js} +5 -5
- package/chunks/utils-Cb3psf0n.js +73 -0
- package/chunks/{utils-Dhi5F6Da.js → utils-D-KMukhm.js} +4 -4
- package/chunks/utils-vwCIbf0H.js +24 -0
- package/chunks/{vendor-9KVE23Ri.js → vendor-D3hUOusX.js} +4403 -4403
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +10 -10
- package/components/Alert/AlertContext/AlertContext.js +16 -16
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +8 -8
- package/components/AmountField/AmountField.js +11 -11
- package/components/Body/Body.js +13 -13
- package/components/Body/index.js +4 -2
- package/components/Button/Button.js +26 -26
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +54 -54
- package/components/Button/ButtonDropdownExtended.js +6 -6
- package/components/Button/ButtonIcon.js +14 -14
- package/components/Calendar/Calendar.js +131 -126
- package/components/Calendar/CalendarContext.js +1 -1
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarFooterButton.js +31 -0
- package/components/Calendar/components/CalendarViewDays.js +67 -76
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +9 -9
- package/components/Calendar/components/CalendarViewYears.js +10 -10
- package/components/Calendar/utils.js +5 -5
- 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 +17 -17
- package/components/Checkbox/CheckboxXGroup.js +11 -11
- package/components/Checkbox/CheckboxYGroup.js +4 -4
- package/components/CheckboxTree/index.js +5 -0
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +8 -7
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +4 -3
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +22 -21
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +21 -24
- package/components/CheckboxTreeExtended/index.js +5 -0
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +4 -4
- package/components/Chip/ChipDropdownArrow.js +2 -2
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +46 -0
- package/components/Chip/ChipOptions.js +4 -4
- package/components/Chip/ChipSelect.js +2 -2
- package/components/Chip/ChipSort.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +6 -6
- package/components/Chip/index.js +11 -9
- package/components/ChipGroup/ChipGroup.js +5 -5
- package/components/Col/Col.js +137 -137
- package/components/CollapsableTree/components/CollapsableTreeNode.js +6 -6
- package/components/Confirm/Confirm.js +41 -0
- package/components/Confirm/components/ConfirmClose.js +13 -0
- package/components/Confirm/components/ConfirmCloseButton.js +27 -0
- package/components/Confirm/components/ConfirmContent.js +13 -0
- package/components/Confirm/components/ConfirmContentSubTitle.js +15 -0
- package/components/Confirm/components/ConfirmContentTitle.js +16 -0
- package/components/Confirm/components/ConfirmControls.js +9 -0
- package/components/Confirm/enums.js +5 -0
- package/components/Confirm/index.js +5 -0
- package/components/DateField/DateField.js +8 -8
- package/components/DateField/utils.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +13 -13
- package/components/DateRange/DateRange.js +73 -0
- package/components/DateRange/enums.js +5 -0
- package/components/DesignTokens/DesignTokenUtils.js +7 -7
- package/components/DesignTokens/DesignTokensComponents.js +71 -54
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +64 -47
- package/components/DesignTokens/components/Calendar.js +0 -2
- package/components/DesignTokens/components/Island.js +4 -4
- package/components/DesignTokens/components/IslandAccordion.js +15 -4
- package/components/DesignTokens/components/MultiselectField.js +9 -0
- package/components/DesignTokens/components/Slider.js +59 -0
- package/components/DesignTokens/components/SmallInput.js +15 -0
- package/components/DesignTokens/components/TopOverlay.js +9 -0
- package/components/DesignTokens/components/UploadZone.js +1 -1
- package/components/DesignTokens/components/index.js +95 -83
- package/components/Divider/Divider.js +18 -18
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +64 -0
- package/components/DocumentNumberEdit/index.js +5 -0
- package/components/Dropdown/desktop/DropdownDesktop.js +17 -17
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +9 -9
- package/components/ExpandAnimation/ExpandAnimation.js +14 -14
- 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 +21 -21
- package/components/FormField/components/FormFieldClear.js +6 -6
- package/components/FormField/components/FormFieldCounter.js +3 -3
- package/components/FormField/components/FormFieldDescription.js +6 -6
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +10 -10
- package/components/FormField/components/FormFieldMaskedInput.js +10 -10
- package/components/FormField/components/FormFieldPostfix.js +10 -10
- package/components/FormField/components/FormFieldPrefix.js +6 -6
- package/components/FormField/components/FormFieldTarget.js +38 -37
- package/components/FormField/components/FormFieldTextarea.js +16 -16
- 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 +13 -13
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +4 -4
- package/components/Island/components/IslandFooter.js +5 -5
- 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 +81 -73
- package/components/LightBox/LightBox.js +24 -24
- 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 +9 -9
- 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/LightBoxViewManager/LightBoxViewManager.js +3 -3
- package/components/Link/Link.js +22 -22
- package/components/List/List.js +5 -5
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +3 -3
- package/components/List/components/ListItemControls.js +6 -6
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +4 -4
- package/components/List/components/ListItemSelectable.js +5 -5
- package/components/List/components/ListItemTable.js +6 -6
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +6 -6
- package/components/List/components/ListSortableItemControls.js +8 -8
- package/components/List/components/ListSortableItemTarget.js +9 -9
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +5 -5
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +8 -8
- package/components/ListMaster/components/SelectionControls.js +6 -6
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +5 -5
- package/components/Loader/LoaderSmall/LoaderSmall.js +5 -5
- package/components/LoaderScreen/LoaderScreen.js +13 -13
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +7 -7
- package/components/ModalWindow/ModalWindow.js +6 -6
- package/components/ModalWindow/components/ModalWindowBody.js +14 -182
- 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 +6 -6
- package/components/MonthYearField/utils.js +1 -1
- package/components/MultiselectField/MultiselectField.js +22 -0
- package/components/MultiselectField/MultiselectFieldContext.js +10 -0
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +65 -0
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +23 -0
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +13 -0
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +13 -0
- package/components/MultiselectField/components/index.js +11 -0
- package/components/MultiselectField/index.js +5 -0
- 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/NotificationBodyContent.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/Notification/index.js +7 -0
- 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 +2 -2
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +5 -4
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +10 -10
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +10 -10
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +5 -5
- package/components/Row/Row.js +5 -5
- package/components/SMSInput/SMSInput.js +3 -3
- package/components/SMSInput/components/RefreshIcon.js +2 -2
- package/components/SMSInput/components/SMSInputInput.js +3 -3
- package/components/SMSInput/components/SMSInputRefresh.js +2 -2
- package/components/SMSInput/components/SMSInputSubmit.js +2 -2
- package/components/SMSInput/components/SMSInputTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +5 -5
- package/components/SegmentedControl/SegmentedControlSegment.js +9 -9
- package/components/SelectExtendedField/SelectExtendedField.js +60 -54
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +83 -69
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +9 -9
- package/components/Slider/Slider.js +20 -0
- package/components/Slider/index.js +5 -0
- package/components/SliderExtended/SliderExtended.js +102 -0
- package/components/SliderExtended/SliderExtendedContext.js +30 -0
- package/components/SliderExtended/SliderExtendedUtils.js +32 -0
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +158 -0
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDotActions.js +12 -0
- package/components/SliderExtended/components/SliderExtendedDot/useSliderExtendedDotTabIndex.js +21 -0
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +48 -0
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarkActions.js +27 -0
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +9 -0
- package/components/SliderExtended/components/SliderExtendedMoveHandler.js +25 -0
- package/components/SliderExtended/components/SliderExtendedRail.js +10 -0
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +39 -0
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +147 -0
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrackActions.js +36 -0
- package/components/SliderExtended/index.js +5 -0
- package/components/SliderRange/SliderRange.js +63 -0
- package/components/SliderRange/index.js +5 -0
- package/components/SmallInput/SmallInput.js +11 -0
- package/components/SmallInput/index.js +5 -0
- package/components/Spoiler/Spoiler.js +5 -5
- package/components/StatusTracker/StatusTracker.js +13 -13
- 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/enums.js +1 -1
- package/components/StatusTracker/index.js +3 -0
- package/components/Step/Step.js +7 -7
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +4 -4
- package/components/Stepper/StepperExtended.js +6 -6
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +7 -7
- package/components/Suggest/SuggestMobileDropdownContent.js +6 -6
- package/components/SuggestField/SuggestField.js +1 -1
- package/components/SuggestField/SuggestFieldTarget.js +1 -1
- package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +14 -14
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +3 -3
- package/components/Table/FilterPanel.js +7 -7
- package/components/Table/MasterTable.js +7 -7
- package/components/Table/NoColumns.js +8 -8
- package/components/Table/PaginationPanel.js +5 -5
- package/components/Table/TableBasic/TableBasic.js +20 -20
- 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 +31 -34
- package/components/Table/TableBasicSettings/TableBasicSettings.js +27 -29
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +4 -4
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +6 -6
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +5 -5
- package/components/Table/TableFooter/TableFooter.js +14 -11
- 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 +22 -10
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +14 -14
- 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 +7 -7
- 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 +13 -12
- package/components/TabsLine/components/TabsLineMobile.js +10 -10
- package/components/Tag/Tag.js +7 -7
- package/components/TagGroup/TagGroup.js +13 -13
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ThemeProvider/components/ThemeProviderView.js +3 -3
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +7 -7
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +2 -2
- package/components/Tooltip/components/mobile/components/TooltipMobileCloseButton.js +1 -1
- package/components/Tooltip/components/mobile/components/TooltipMobileHeader.js +1 -1
- package/components/TopOverlay/TopOverlay.js +85 -0
- package/components/TopOverlay/index.js +5 -0
- package/components/TreeView/TreeView.js +9 -8
- package/components/TreeView/components/TreeViewGroup.js +3 -2
- package/components/TreeView/components/TreeViewNode.js +12 -11
- package/components/Typography/Caption.js +8 -8
- package/components/Typography/Text.js +17 -17
- package/components/Typography/Title.js +13 -13
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +3 -3
- package/components/UnorderedList/UnorderedListItem.js +7 -7
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +499 -415
- package/consts/DateConst.js +1 -1
- package/helpers/less/z-indexes.less +6 -1
- package/index.d.ts +1149 -141
- package/index.js +506 -422
- package/package.json +45 -1
- package/styles/triplex-next.css +527 -501
- package/utils/amountUtils.js +1 -1
- package/chunks/CalendarViewItem-Cs4qo2T0.js +0 -105
- package/chunks/Card.module-lZl8x0iL.js +0 -17
- package/chunks/DropdownListItem-SqymKZn5.js +0 -57
- package/chunks/DropdownMobile.module-C_Jtpfxj.js +0 -21
- package/chunks/Footer.module-3tcvZGt3.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-DqrwTmWo.js +0 -9
- package/chunks/HeaderTabs.module-DegB0R8X.js +0 -9
- package/chunks/IslandAccordion.module-DFvQwhSg.js +0 -22
- package/chunks/LightBoxControls.module-Dn4GtUtF.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-BUvFYJwr.js +0 -8
- package/chunks/ListItemTail.module-CZYSMJRz.js +0 -12
- package/chunks/ListMasterFooter.module-Bw6BVPVj.js +0 -10
- package/chunks/ModalWindow.module-DGcF8-xJ.js +0 -17
- package/chunks/Notification.module-Cj_Pd4DQ.js +0 -21
- package/chunks/Overlay.module-BqJXvoeX.js +0 -18
- package/chunks/Page.module-DUQ6i8Ez.js +0 -12
- package/chunks/SMSInput.module-D1TiDw_A.js +0 -16
- package/chunks/StatusTracker.module-DetC6Udk.js +0 -24
- package/chunks/TableFooter.module-BF4P3QCw.js +0 -13
- package/chunks/TabsExtended.module-BciQYRi4.js +0 -16
- package/chunks/TabsLine.module-Cx0n_AdV.js +0 -23
- package/chunks/TooltipDesktop.module-DK06gaHe.js +0 -19
- package/chunks/utils-CXhKCNyM.js +0 -72
- package/chunks/utils-CoHHiBA8.js +0 -24
- package/chunks/utils-D9w2Kvyk.js +0 -36
- package/components/Calendar/CalendarRange.js +0 -28
- package/components/Calendar/components/CalendarTodayButton.js +0 -31
- package/components/LightBox/LightBoxTopOverlay/LightBoxTopOverlay.js +0 -86
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../../chunks/vendor-
|
|
2
|
+
import "../../../chunks/vendor-D3hUOusX.js";
|
|
3
3
|
import "react";
|
|
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-CHiqUGxF.js";
|
|
8
8
|
export {
|
|
9
9
|
C as CalendarViewItem
|
|
10
10
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as f } from "react/jsx-runtime";
|
|
2
|
-
import { useContext as S, useCallback as O, useState as
|
|
3
|
-
import { h } from "../../../chunks/vendor-
|
|
4
|
-
import { CalendarContext as
|
|
5
|
-
import { CalendarViewContext as
|
|
2
|
+
import { useContext as S, useCallback as O, useState as k, useEffect as F } from "react";
|
|
3
|
+
import { k as h } from "../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
import { CalendarContext as G } from "../CalendarContext.js";
|
|
5
|
+
import { CalendarViewContext as H } from "../CalendarViewContext.js";
|
|
6
6
|
import { isDateOutOfRange as R } from "../utils.js";
|
|
7
|
-
import { s as
|
|
7
|
+
import { s as K, C as B } from "../../../chunks/CalendarViewItem-CHiqUGxF.js";
|
|
8
8
|
import { isKey as l } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarPickType as U, ECalendarViewMode as u } from "../enums.js";
|
|
10
10
|
const Z = ({ pickedDate: r, monthHtmlAttributes: T = {} }) => {
|
|
11
|
-
const { pickType: w, periodId: g, limitRange: m, viewDate: o, onDateSelect: A, onPageChange: D, onViewChange: P } = S(
|
|
11
|
+
const { pickType: w, periodId: g, limitRange: m, viewDate: o, onDateSelect: A, onPageChange: D, onViewChange: P } = S(G), { viewItemFocusedRef: y } = S(H), x = h.monthsShort(), b = O(
|
|
12
12
|
(e) => R(e, m, "month"),
|
|
13
13
|
[m]
|
|
14
14
|
), d = O(() => {
|
|
@@ -20,8 +20,8 @@ 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] = k(d());
|
|
24
|
+
F(() => {
|
|
25
25
|
y.current || C(d());
|
|
26
26
|
}, [o, y, d]);
|
|
27
27
|
const E = () => /* @__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) => {
|
|
@@ -56,7 +56,7 @@ const Z = ({ pickedDate: r, monthHtmlAttributes: T = {} }) => {
|
|
|
56
56
|
}, N = (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__ */ f("table", { className:
|
|
59
|
+
return /* @__PURE__ */ f("table", { className: K.calendarViewMonths, role: "grid", "aria-labelledby": g, children: E() });
|
|
60
60
|
};
|
|
61
61
|
export {
|
|
62
62
|
Z as CalendarViewMonths
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as f } from "react/jsx-runtime";
|
|
2
|
-
import { useContext as
|
|
3
|
-
import {
|
|
2
|
+
import { useContext as h, useCallback as C, useState as v, useEffect as F } from "react";
|
|
3
|
+
import { k as w } from "../../../chunks/vendor-D3hUOusX.js";
|
|
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-CHiqUGxF.js";
|
|
8
8
|
import { isKey as i } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarViewMode as y } from "../enums.js";
|
|
10
|
-
const
|
|
11
|
-
const { periodId: g, limitRange: d, viewDate: n, onPageChange: m, onViewChange: A } =
|
|
10
|
+
const J = ({ pickedDate: s, yearHtmlAttributes: S = {} }) => {
|
|
11
|
+
const { periodId: g, limitRange: d, viewDate: n, onPageChange: m, onViewChange: A } = h(N), { viewItemFocusedRef: D } = h(G), T = n.year(), b = C(
|
|
12
12
|
(e) => O(e, d, "year"),
|
|
13
13
|
[d]
|
|
14
14
|
), u = C(() => {
|
|
@@ -20,9 +20,9 @@ const Q = ({ pickedDate: s, yearHtmlAttributes: S = {} }) => {
|
|
|
20
20
|
if (e.add(a, "month"), !b(e))
|
|
21
21
|
return e;
|
|
22
22
|
}
|
|
23
|
-
}, [s, n, b]), [
|
|
23
|
+
}, [s, n, b]), [p, R] = v(u());
|
|
24
24
|
F(() => {
|
|
25
|
-
D.current ||
|
|
25
|
+
D.current || R(u());
|
|
26
26
|
}, [n, D, u]);
|
|
27
27
|
const E = () => /* @__PURE__ */ f("tbody", { children: [0, 1, 2, 3].map((e) => /* @__PURE__ */ f("tr", { children: [0, 1, 2].map((a) => x(e, a)) }, `calendar-view-years-row-${e}`)) }), x = (e, a) => {
|
|
28
28
|
const t = T + e * 3 + a - 5, r = n.clone().startOf("year").year(t), l = I(r), c = b(r), Y = !c && V(r);
|
|
@@ -41,7 +41,7 @@ const Q = ({ pickedDate: s, yearHtmlAttributes: S = {} }) => {
|
|
|
41
41
|
},
|
|
42
42
|
`calendar-table-data-${a}`
|
|
43
43
|
);
|
|
44
|
-
}, I = (e) => s == null ? !1 : s.isSame(e, "year"), V = (e) =>
|
|
44
|
+
}, I = (e) => s == null ? !1 : s.isSame(e, "year"), V = (e) => p ? e.isSame(p, "year") : !1, W = (e) => (a) => {
|
|
45
45
|
const t = a.code || a.keyCode;
|
|
46
46
|
let r;
|
|
47
47
|
i(t, "ARROW_RIGHT") ? (r = o(e, "add", 1, "year"), a.preventDefault()) : i(t, "ARROW_LEFT") ? (r = o(e, "subtract", 1, "year"), a.preventDefault()) : i(t, "ARROW_DOWN") ? (r = o(e, "add", 3, "year"), a.preventDefault()) : i(t, "ARROW_UP") ? (r = o(e, "subtract", 3, "year"), a.preventDefault()) : i(t, "PAGE_DOWN") ? (r = o(e, "add", 12, "year"), a.preventDefault()) : i(t, "PAGE_UP") && (r = o(e, "subtract", 12, "year"), a.preventDefault()), r && P(r);
|
|
@@ -54,11 +54,11 @@ const Q = ({ pickedDate: s, yearHtmlAttributes: S = {} }) => {
|
|
|
54
54
|
}, _ = (e) => {
|
|
55
55
|
A(e, y.MONTHS);
|
|
56
56
|
}, P = (e) => {
|
|
57
|
-
|
|
57
|
+
R(e), e.year() + 5 < n.year() ? (e = n.clone().subtract(12, "years"), m(e, y.YEARS)) : e.year() - 6 > n.year() && (e = n.clone().add(12, "years"), m(e, y.YEARS));
|
|
58
58
|
};
|
|
59
59
|
return /* @__PURE__ */ f("table", { className: K.calendarViewYears, role: "grid", "aria-labelledby": g, children: E() });
|
|
60
60
|
};
|
|
61
61
|
export {
|
|
62
|
-
|
|
62
|
+
J as CalendarViewYears
|
|
63
63
|
};
|
|
64
64
|
//# sourceMappingURL=CalendarViewYears.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { k as s } from "../../chunks/vendor-D3hUOusX.js";
|
|
2
2
|
import { globalLimitRange as f, headerDateFormat as i } from "../../consts/DateConst.js";
|
|
3
3
|
import { ECalendarViewMode as a } from "./enums.js";
|
|
4
4
|
function Y(e, r) {
|
|
@@ -21,18 +21,18 @@ function l(e, r) {
|
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function y(e, r, t) {
|
|
25
25
|
const o = r.dateFrom || f.dateFrom, n = r.dateTo || f.dateTo;
|
|
26
26
|
return e.isBefore(o, t) || e.isAfter(n, t);
|
|
27
27
|
}
|
|
28
|
-
function
|
|
28
|
+
function D(e, r) {
|
|
29
29
|
return r === void 0 ? !1 : r.includes(e);
|
|
30
30
|
}
|
|
31
31
|
export {
|
|
32
32
|
l as formatDate,
|
|
33
33
|
c as getHeader,
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
y as isDateOutOfRange,
|
|
35
|
+
D as isDayDisabled,
|
|
36
36
|
Y as parsePickedDate
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=utils.js.map
|
|
@@ -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 p } 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-D3hUOusX.js";
|
|
13
|
+
import { c as B } from "../../chunks/Card.module-CmXEvD5r.js";
|
|
14
|
+
const O = "action__a8bd1bcf", F = "selected__4175c3c2", V = "focusVisible__247713a4", 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.6.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-D3hUOusX.js";
|
|
6
|
+
import { c as n } from "../../chunks/Card.module-CmXEvD5r.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.6.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-D3hUOusX.js";
|
|
7
|
+
import { c as r } from "../../../../chunks/Card.module-CmXEvD5r.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-D3hUOusX.js";
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-CmXEvD5r.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-D3hUOusX.js";
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-CmXEvD5r.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-D3hUOusX.js";
|
|
3
|
+
import { c as d } from "../../../../../chunks/Card.module-CmXEvD5r.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-D3hUOusX.js";
|
|
3
|
+
import { c as m } from "../../../chunks/Card.module-CmXEvD5r.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,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as p, jsx as b } from "react/jsx-runtime";
|
|
2
2
|
import C, { useState as w, useRef as D, useCallback as L, useEffect as d } from "react";
|
|
3
|
-
import { l as M, c as S } from "../../chunks/vendor-
|
|
4
|
-
import { scrollSmoothHorizontally as
|
|
5
|
-
const R = "
|
|
3
|
+
import { l as M, c as S } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
import { scrollSmoothHorizontally as a } from "../../utils/scroll.js";
|
|
5
|
+
const R = "carouselExtended__605faa23", k = {
|
|
6
6
|
carouselExtended: R
|
|
7
7
|
}, y = C.forwardRef(
|
|
8
|
-
({ children: l, buttonPrev:
|
|
8
|
+
({ children: l, buttonPrev: c, 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
10
|
const e = r.current, n = {
|
|
11
11
|
hidden: e.scrollWidth == e.clientWidth,
|
|
@@ -20,14 +20,14 @@ const R = "carouselExtended__fcaa4ee2", k = {
|
|
|
20
20
|
t();
|
|
21
21
|
}, [l, t]);
|
|
22
22
|
const x = () => {
|
|
23
|
-
|
|
23
|
+
a(r.current, Math.floor(-u));
|
|
24
24
|
}, v = () => {
|
|
25
|
-
|
|
25
|
+
a(r.current, Math.ceil(f));
|
|
26
26
|
}, E = (e) => {
|
|
27
27
|
r.current = e, typeof s == "function" ? s(e) : s && (s.current = e);
|
|
28
28
|
};
|
|
29
29
|
return /* @__PURE__ */ p("div", { ...h, children: [
|
|
30
|
-
|
|
30
|
+
c({
|
|
31
31
|
disabled: o.prevDisabled,
|
|
32
32
|
hidden: o.hidden,
|
|
33
33
|
onClick: x
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsxs as I, jsx as
|
|
1
|
+
import { jsxs as I, jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import N from "react";
|
|
3
3
|
import { CheckboxbulkStrokeSrvIcon24 as z, CheckboxtickStrokeSrvIcon24 as C } from "@sberbusiness/icons-next";
|
|
4
4
|
import "../Typography/Title.js";
|
|
@@ -7,8 +7,8 @@ import "../Typography/Caption.js";
|
|
|
7
7
|
import { ETextSize as l } from "../Typography/enums.js";
|
|
8
8
|
import { EComponentSize as t } from "../../enums/EComponentSize.js";
|
|
9
9
|
import { createSizeToClassNameMap as u } from "../../utils/classNameMaps.js";
|
|
10
|
-
import { c as r } from "../../chunks/vendor-
|
|
11
|
-
const y = "
|
|
10
|
+
import { c as r } from "../../chunks/vendor-D3hUOusX.js";
|
|
11
|
+
const y = "label__41f259dd", T = "md__c990c0f0", M = "nonempty__4c40f7ed", g = "lg__138a5376", j = "disabled__809f9350", v = "checkbox__b4e13950", B = "checkboxIcon__b0e10d49", D = "checkmarkIcon__65ff4c49", e = {
|
|
12
12
|
label: y,
|
|
13
13
|
md: T,
|
|
14
14
|
nonempty: M,
|
|
@@ -20,29 +20,29 @@ const y = "label__1f8cb11d", T = "md__dd7ae17c", M = "nonempty__ca138f53", g = "
|
|
|
20
20
|
}, E = {
|
|
21
21
|
[t.LG]: l.B2,
|
|
22
22
|
[t.MD]: l.B3
|
|
23
|
-
},
|
|
23
|
+
}, i = u(e), L = N.forwardRef((k, b) => {
|
|
24
24
|
const {
|
|
25
25
|
children: s,
|
|
26
|
-
className:
|
|
26
|
+
className: d,
|
|
27
27
|
disabled: n,
|
|
28
28
|
bulk: p,
|
|
29
29
|
labelAttributes: o,
|
|
30
30
|
size: a = t.MD,
|
|
31
31
|
...x
|
|
32
|
-
} =
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
{ [
|
|
32
|
+
} = k, h = r(e.checkbox, d, i[a]), _ = r(
|
|
33
|
+
e.label,
|
|
34
|
+
i[a],
|
|
35
|
+
{ [e.disabled]: !!n, [e.nonempty]: !!s },
|
|
36
36
|
o == null ? void 0 : o.className
|
|
37
|
-
),
|
|
38
|
-
const m =
|
|
39
|
-
return p ? /* @__PURE__ */
|
|
37
|
+
), f = () => {
|
|
38
|
+
const m = e.checkmarkIcon;
|
|
39
|
+
return p ? /* @__PURE__ */ c(z, { className: m, paletteIndex: 7 }) : /* @__PURE__ */ c(C, { className: m, paletteIndex: 7 });
|
|
40
40
|
};
|
|
41
|
-
return /* @__PURE__ */ I("label", { ...o, className:
|
|
42
|
-
/* @__PURE__ */
|
|
43
|
-
/* @__PURE__ */
|
|
44
|
-
|
|
45
|
-
s && /* @__PURE__ */
|
|
41
|
+
return /* @__PURE__ */ I("label", { ...o, className: _, "data-tx": "1.6.0", children: [
|
|
42
|
+
/* @__PURE__ */ c("input", { type: "checkbox", className: h, disabled: n, ...x, ref: b }),
|
|
43
|
+
/* @__PURE__ */ c("span", { className: e.checkboxIcon }),
|
|
44
|
+
f(),
|
|
45
|
+
s && /* @__PURE__ */ c(S, { size: E[a], children: s })
|
|
46
46
|
] });
|
|
47
47
|
});
|
|
48
48
|
L.displayName = "Checkbox";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
const r = "
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { c as i } from "../../chunks/vendor-D3hUOusX.js";
|
|
3
|
+
const r = "checkboxXGroup__86bfacaf", _ = "label__41f259dd", n = {
|
|
4
4
|
checkboxXGroup: r,
|
|
5
|
-
"indent-12": "indent-
|
|
5
|
+
"indent-12": "indent-12__44f47daa",
|
|
6
6
|
label: _,
|
|
7
|
-
"indent-16": "indent-
|
|
8
|
-
"indent-20": "indent-
|
|
9
|
-
"indent-24": "indent-
|
|
10
|
-
"indent-28": "indent-
|
|
11
|
-
"indent-32": "indent-
|
|
7
|
+
"indent-16": "indent-16__f85814cd",
|
|
8
|
+
"indent-20": "indent-20__88baf7ca",
|
|
9
|
+
"indent-24": "indent-24__3a3dc9bf",
|
|
10
|
+
"indent-28": "indent-28__1e2f8ccf",
|
|
11
|
+
"indent-32": "indent-32__1e4d362b"
|
|
12
12
|
}, l = (e) => {
|
|
13
|
-
const { children: c, className: t, indent: o = 12, ...d } = e, s =
|
|
14
|
-
return /* @__PURE__ */
|
|
13
|
+
const { children: c, className: t, indent: o = 12, ...d } = e, s = i(n.checkboxXGroup, n[`indent-${o}`], t);
|
|
14
|
+
return /* @__PURE__ */ a("div", { className: s, role: "group", ...d, children: c });
|
|
15
15
|
};
|
|
16
16
|
l.displayName = "CheckboxXGroup";
|
|
17
17
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import { c as t } from "../../chunks/vendor-
|
|
3
|
-
const a = "
|
|
2
|
+
import { c as t } from "../../chunks/vendor-D3hUOusX.js";
|
|
3
|
+
const a = "checkboxYGroup__13b201ea", x = {
|
|
4
4
|
checkboxYGroup: a
|
|
5
5
|
}, l = (o) => {
|
|
6
|
-
const { children: c, className: s, ...
|
|
7
|
-
return /* @__PURE__ */ p("div", { className:
|
|
6
|
+
const { children: c, className: s, ...e } = o, r = t(x.checkboxYGroup, s);
|
|
7
|
+
return /* @__PURE__ */ p("div", { className: r, role: "group", ...e, children: c });
|
|
8
8
|
};
|
|
9
9
|
l.displayName = "CheckboxYGroup";
|
|
10
10
|
export {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { jsx as x } from "react/jsx-runtime";
|
|
2
|
-
import { CollapsableTree as
|
|
3
|
-
import { CheckboxTreeExtendedCheckbox as
|
|
4
|
-
import { CheckboxTreeExtendedNode as
|
|
5
|
-
import { c
|
|
6
|
-
|
|
2
|
+
import { CollapsableTree as m } from "../CollapsableTree/CollapsableTree.js";
|
|
3
|
+
import { CheckboxTreeExtendedCheckbox as t } from "./components/CheckboxTreeExtendedCheckbox.js";
|
|
4
|
+
import { CheckboxTreeExtendedNode as d } from "./components/CheckboxTreeExtendedNode.js";
|
|
5
|
+
import { c } from "../../chunks/vendor-D3hUOusX.js";
|
|
6
|
+
import { s } from "../../chunks/CheckboxTreeExtended.module-D-2ZUrcy.js";
|
|
7
|
+
const e = ({ className: o, ...r }) => /* @__PURE__ */ x(m, { className: c(s.checkboxTreeExtended, o), ...r });
|
|
7
8
|
e.displayName = "CheckboxTreeExtended";
|
|
8
|
-
e.Checkbox =
|
|
9
|
-
e.Node =
|
|
9
|
+
e.Checkbox = t;
|
|
10
|
+
e.Node = d;
|
|
10
11
|
export {
|
|
11
12
|
e as CheckboxTreeExtended
|
|
12
13
|
};
|
|
@@ -5,7 +5,8 @@ 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
|
-
|
|
8
|
+
import { s as f } from "../../../chunks/CheckboxTreeExtended.module-D-2ZUrcy.js";
|
|
9
|
+
class x extends h.Component {
|
|
9
10
|
constructor() {
|
|
10
11
|
super(...arguments);
|
|
11
12
|
n(this, "arrowNode");
|
|
@@ -35,7 +36,7 @@ class N extends h.Component {
|
|
|
35
36
|
return /* @__PURE__ */ p(
|
|
36
37
|
"span",
|
|
37
38
|
{
|
|
38
|
-
className:
|
|
39
|
+
className: f.caretIconWrapper,
|
|
39
40
|
onClick: this.handleClick,
|
|
40
41
|
onKeyUp: this.handleKeyUp,
|
|
41
42
|
ref: this.setArrowNode,
|
|
@@ -47,6 +48,6 @@ class N extends h.Component {
|
|
|
47
48
|
}
|
|
48
49
|
}
|
|
49
50
|
export {
|
|
50
|
-
|
|
51
|
+
x as CheckboxTreeExtendedArrow
|
|
51
52
|
};
|
|
52
53
|
//# sourceMappingURL=CheckboxTreeExtendedArrow.js.map
|
|
@@ -1,39 +1,40 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { jsx as
|
|
5
|
-
import
|
|
6
|
-
import { Checkbox as
|
|
7
|
-
import { c as
|
|
8
|
-
|
|
1
|
+
var n = Object.defineProperty;
|
|
2
|
+
var x = (c, o, e) => o in c ? n(c, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[o] = e;
|
|
3
|
+
var s = (c, o, e) => x(c, typeof o != "symbol" ? o + "" : o, e);
|
|
4
|
+
import { jsx as b } from "react/jsx-runtime";
|
|
5
|
+
import d from "react";
|
|
6
|
+
import { Checkbox as m } from "../../Checkbox/Checkbox.js";
|
|
7
|
+
import { c as p } from "../../../chunks/vendor-D3hUOusX.js";
|
|
8
|
+
import { s as a } from "../../../chunks/CheckboxTreeExtended.module-D-2ZUrcy.js";
|
|
9
|
+
class v extends d.Component {
|
|
9
10
|
constructor() {
|
|
10
11
|
super(...arguments);
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
s(this, "checkboxNode");
|
|
13
|
+
s(this, "handleFocus", (e) => {
|
|
13
14
|
});
|
|
14
|
-
|
|
15
|
+
s(this, "setCheckboxNode", (e) => {
|
|
15
16
|
this.checkboxNode = e;
|
|
16
17
|
});
|
|
17
18
|
}
|
|
18
19
|
componentDidUpdate(e) {
|
|
19
|
-
var
|
|
20
|
-
const { active:
|
|
21
|
-
|
|
20
|
+
var t, i;
|
|
21
|
+
const { active: r } = this.props, { active: h } = e;
|
|
22
|
+
r && !h && ((t = document.activeElement) != null && t.contains(this.checkboxNode) || (i = this.checkboxNode) == null || i.focus());
|
|
22
23
|
}
|
|
23
24
|
render() {
|
|
24
|
-
const { active: e, className:
|
|
25
|
-
return /* @__PURE__ */
|
|
26
|
-
|
|
25
|
+
const { active: e, className: r, opened: h, ...t } = this.props;
|
|
26
|
+
return /* @__PURE__ */ b(
|
|
27
|
+
m,
|
|
27
28
|
{
|
|
28
|
-
className:
|
|
29
|
+
className: p(a.checkboxTreeCheckbox, r),
|
|
29
30
|
ref: this.setCheckboxNode,
|
|
30
|
-
labelAttributes: { className:
|
|
31
|
-
...
|
|
31
|
+
labelAttributes: { className: a.checkboxTreeCheckboxLabel, onFocus: this.handleFocus },
|
|
32
|
+
...t
|
|
32
33
|
}
|
|
33
34
|
);
|
|
34
35
|
}
|
|
35
36
|
}
|
|
36
37
|
export {
|
|
37
|
-
|
|
38
|
+
v as CheckboxTreeExtendedCheckbox
|
|
38
39
|
};
|
|
39
40
|
//# sourceMappingURL=CheckboxTreeExtendedCheckbox.js.map
|
|
@@ -1,42 +1,39 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { jsx as
|
|
5
|
-
import
|
|
6
|
-
import { CollapsableTree as
|
|
7
|
-
import { isStaticCheckboxTreeExtended as
|
|
8
|
-
import { c as
|
|
1
|
+
var c = Object.defineProperty;
|
|
2
|
+
var i = (o, r, e) => r in o ? c(o, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[r] = e;
|
|
3
|
+
var d = (o, r, e) => i(o, typeof r != "symbol" ? r + "" : r, e);
|
|
4
|
+
import { jsx as p, jsxs as l } from "react/jsx-runtime";
|
|
5
|
+
import h from "react";
|
|
6
|
+
import { CollapsableTree as m } from "../../CollapsableTree/CollapsableTree.js";
|
|
7
|
+
import { isStaticCheckboxTreeExtended as x } from "../isStaticCheckboxTreeExtended.js";
|
|
8
|
+
import { c as u } from "../../../chunks/vendor-D3hUOusX.js";
|
|
9
9
|
import "./CheckboxTreeExtendedArrow.js";
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
checkboxTreeExtendedNodeHeader: T
|
|
13
|
-
};
|
|
14
|
-
class C extends p.Component {
|
|
10
|
+
import { s as n } from "../../../chunks/CheckboxTreeExtended.module-D-2ZUrcy.js";
|
|
11
|
+
class D extends h.Component {
|
|
15
12
|
constructor() {
|
|
16
13
|
super(...arguments);
|
|
17
|
-
|
|
14
|
+
d(this, "handleHeaderMouseDown", (e) => {
|
|
18
15
|
e.target === e.currentTarget && e.preventDefault();
|
|
19
16
|
});
|
|
20
|
-
|
|
21
|
-
const { checkbox: t, children:
|
|
22
|
-
return /* @__PURE__ */
|
|
17
|
+
d(this, "renderHeader", ({ activeNode: e, opened: s, toggle: a }) => {
|
|
18
|
+
const { checkbox: t, children: f } = this.props;
|
|
19
|
+
return /* @__PURE__ */ l(
|
|
23
20
|
"div",
|
|
24
21
|
{
|
|
25
|
-
className:
|
|
22
|
+
className: u(n.checkboxTreeExtendedNodeHeader, { opened: s }),
|
|
26
23
|
onMouseDown: this.handleHeaderMouseDown,
|
|
27
24
|
children: [
|
|
28
|
-
!
|
|
25
|
+
!x,
|
|
29
26
|
t({ active: e, opened: !0 })
|
|
30
27
|
]
|
|
31
28
|
}
|
|
32
29
|
);
|
|
33
30
|
});
|
|
34
|
-
|
|
31
|
+
d(this, "renderBody", () => this.props.children);
|
|
35
32
|
}
|
|
36
33
|
render() {
|
|
37
|
-
const { children: e, checkbox:
|
|
38
|
-
return /* @__PURE__ */
|
|
39
|
-
|
|
34
|
+
const { children: e, checkbox: s, opened: a, ...t } = this.props;
|
|
35
|
+
return /* @__PURE__ */ p(
|
|
36
|
+
m.Node,
|
|
40
37
|
{
|
|
41
38
|
className: n.checkboxTreeExtendedNode,
|
|
42
39
|
opened: !0,
|
|
@@ -48,6 +45,6 @@ class C extends p.Component {
|
|
|
48
45
|
}
|
|
49
46
|
}
|
|
50
47
|
export {
|
|
51
|
-
|
|
48
|
+
D as CheckboxTreeExtendedNode
|
|
52
49
|
};
|
|
53
50
|
//# sourceMappingURL=CheckboxTreeExtendedNode.js.map
|
package/components/Chip/Chip.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../../chunks/vendor-
|
|
4
|
-
import { C as e } from "../../chunks/Chip-
|
|
3
|
+
import "../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
import { C as e } from "../../chunks/Chip-yWyfl_o2.js";
|
|
5
5
|
import "../../enums/EComponentSize.js";
|
|
6
6
|
import "../../utils/classNameMaps.js";
|
|
7
7
|
import "../../utils/keyboard.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import a from "react";
|
|
3
|
-
import { c as p } from "../../chunks/vendor-
|
|
3
|
+
import { c as p } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { CrossStrokeSrvIcon24 as c, CrossStrokeSrvIcon20 as i, CrossStrokeSrvIcon16 as l } from "@sberbusiness/icons-next";
|
|
5
5
|
import { EComponentSize as t } from "../../enums/EComponentSize.js";
|
|
6
6
|
import { ButtonIcon as m } from "../Button/ButtonIcon.js";
|
|
7
|
-
const C = "
|
|
7
|
+
const C = "chipClearButton__ad06a87d", d = {
|
|
8
8
|
chipClearButton: C
|
|
9
|
-
},
|
|
9
|
+
}, f = {
|
|
10
10
|
[t.SM]: /* @__PURE__ */ o(l, { paletteIndex: 6 }),
|
|
11
11
|
[t.MD]: /* @__PURE__ */ o(i, { paletteIndex: 6 }),
|
|
12
12
|
[t.LG]: /* @__PURE__ */ o(c, { paletteIndex: 6 })
|
|
13
13
|
}, u = a.forwardRef(
|
|
14
|
-
({ className: r, size: e = t.MD, ...n }, s) => /* @__PURE__ */ o(m, { className: p(
|
|
14
|
+
({ className: r, size: e = t.MD, ...n }, s) => /* @__PURE__ */ o(m, { className: p(d.chipClearButton, r), ...n, ref: s, children: f[e] })
|
|
15
15
|
);
|
|
16
16
|
u.displayName = "ChipClearButton";
|
|
17
17
|
export {
|