@sberbusiness/triplex-next 0.21.0 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +54 -25
- package/chunks/AlertProcessSpoiler-BoQok_f3.js +39 -0
- package/chunks/CalendarViewItem-DKS15EZ4.js +101 -0
- package/chunks/Card.module-BmZKmkeY.js +17 -0
- package/chunks/CheckboxTreeExtended.module-CGSpV-y1.js +15 -0
- package/chunks/Chip-D5zfQfAA.js +104 -0
- package/chunks/Confirm.module-CtbiIzcl.js +15 -0
- package/chunks/DropdownListItem-C4JE2xV7.js +65 -0
- package/chunks/DropdownMobile.module-BgSbdJtS.js +23 -0
- package/chunks/Footer.module-B469C_XO.js +9 -0
- package/chunks/FormFieldInput-Dr_WBweC.js +79 -0
- package/chunks/HeaderLayoutSidebar.module-DYtQ2wvu.js +9 -0
- package/chunks/HeaderTabs.module-4iOT34Zp.js +9 -0
- package/chunks/{HeaderTitle.module-Cg-I_NJG.js → HeaderTitle.module-D5yAgpuv.js} +2 -2
- package/chunks/IslandAccordion.module-mdAdZwJL.js +25 -0
- package/chunks/IslandWidgetFooter.module-ClvLmtck.js +9 -0
- package/chunks/IslandWidgetHeader.module-CuVaAc4F.js +12 -0
- package/chunks/{LightBoxContent-BLPx_Tsf.js → LightBoxContent-Lme9r-vN.js} +12 -12
- package/chunks/LightBoxControls.module-qhDcQmnH.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-CK8Rh-qO.js +9 -0
- package/chunks/ListItemControlsButton-BLbj6vZS.js +51 -0
- package/chunks/ListItemTail.module-BAmXXpc5.js +12 -0
- package/chunks/ListMasterFooter.module-BhwH8qqm.js +10 -0
- package/chunks/ModalWindow.module-Ciwlg3WX.js +17 -0
- package/chunks/Notification.module-CjpGpuL7.js +20 -0
- package/chunks/Overlay.module-DPHcy5Kd.js +18 -0
- package/chunks/Page.module-98SUxLiM.js +11 -0
- package/chunks/{RightBorderArrow-1OX8NAL9.js → RightBorderArrow-CGThEmc4.js} +6 -6
- package/chunks/SMSField.module-k0lfRov5.js +16 -0
- package/chunks/SliderExtendedMarks.module-Bdz2AHAO.js +15 -0
- package/chunks/{SliderExtendedRail-C_1LnK7I.js → SliderExtendedRail-C51TfjHY.js} +6 -6
- package/chunks/StatusTracker.module-BmBKiCLR.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-DNKfDfM3.js → SuggestFieldMobileDropdownHint-8Km5bFV3.js} +5 -5
- package/chunks/TableFooter.module-D0rUmZhB.js +14 -0
- package/chunks/TabsExtended.module-D5-U63Qf.js +16 -0
- package/chunks/TabsLine.module-DXlTUTm_.js +21 -0
- package/chunks/TooltipDesktop.module-D4z7cwlC.js +19 -0
- package/chunks/TreeView.module-DAOSEOZO.js +9 -0
- package/chunks/{UploadZoneInput-CIib3dEF.js → UploadZoneInput-onwF8t4d.js} +8 -8
- package/chunks/{constants-BamiEgAW.js → constants-CUVfo8-z.js} +7 -7
- package/chunks/{utils-Bt-cuXIX.js → utils-By-UAq7Y.js} +5 -5
- package/chunks/utils-CyxIcdb6.js +73 -0
- package/chunks/utils-DxMHp1hh.js +28 -0
- package/chunks/utils-SSwzNA1R.js +24 -0
- package/chunks/{vendor-DaOifQgP.js → vendor---Om3uMV.js} +43 -47
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +12 -12
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +3 -3
- package/components/AmountField/AmountField.js +9 -9
- package/components/Avatar/Avatar.js +7 -7
- package/components/Badge/Badge.js +2 -2
- package/components/Badge/BadgeDot.js +7 -7
- package/components/Badge/components/BadgeContent.js +11 -11
- package/components/Badge/components/BadgePostfix.js +10 -10
- package/components/Badge/components/BadgePrefix.js +5 -5
- package/components/Body/Body.js +7 -7
- package/components/Button/Button.js +24 -24
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +96 -83
- package/components/Button/ButtonDropdownExtended.js +9 -9
- package/components/Button/ButtonIcon.js +12 -12
- package/components/Calendar/Calendar.js +3 -3
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +3 -3
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +11 -11
- 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 +5 -5
- package/components/Checkbox/Checkbox.js +6 -6
- package/components/Checkbox/CheckboxXGroup.js +14 -14
- package/components/Checkbox/CheckboxYGroup.js +4 -4
- package/components/CheckboxTree/index.js +6 -2
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +15 -15
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +4 -3
- package/components/Chip/ChipClearButton.js +2 -2
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +2 -2
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +6 -6
- package/components/Chip/ChipSelect/ChipSelect.js +9 -10
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +7 -8
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +21 -21
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +18 -18
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +10 -10
- package/components/Col/Col.js +140 -140
- package/components/CollapsableTree/components/CollapsableTreeNode.js +10 -10
- 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 +5 -5
- package/components/DatePickerExtended/DatePickerExtended.js +3 -3
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +7 -7
- package/components/DateRange/DateRange.js +18 -18
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/components/ListItem.js +4 -4
- package/components/DesignTokens/components/ListMaster.js +8 -8
- package/components/DesignTokens/components/Tabs.js +0 -18
- package/components/Divider/Divider.js +21 -21
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +2 -2
- package/components/Dropdown/desktop/DropdownDesktop.js +61 -64
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/enums.js +7 -0
- package/components/Dropdown/desktop/index.js +8 -4
- package/components/Dropdown/index.js +24 -25
- 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 +4 -4
- 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 +13 -13
- 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 +69 -77
- package/components/FormField/FormFieldContext.js +16 -14
- package/components/FormField/components/FormFieldClear.js +25 -23
- package/components/FormField/components/FormFieldCounter.js +1 -1
- package/components/FormField/components/FormFieldDescription.js +5 -5
- package/components/FormField/components/FormFieldInput.js +4 -3
- package/components/FormField/components/FormFieldLabel.js +30 -32
- package/components/FormField/components/FormFieldMaskedInput.js +27 -27
- package/components/FormField/components/FormFieldPostfix.js +8 -8
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +57 -49
- package/components/FormField/components/FormFieldTextarea.js +62 -35
- package/components/FormField/components/index.js +23 -0
- package/components/FormField/components/utils.js +5 -0
- package/components/FormField/index.js +25 -25
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +7 -7
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +4 -4
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +2 -2
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +3 -3
- package/components/IslandWidget/IslandWidget.js +21 -21
- 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 +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +6 -6
- package/components/LightBox/LightBox.js +14 -14
- 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 +17 -17
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +40 -14
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +40 -14
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +14 -14
- package/components/List/List.js +10 -10
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +6 -6
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +7 -7
- 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 +13 -11
- package/components/List/components/ListItemSelectable.js +14 -14
- package/components/List/components/ListItemTable.js +17 -15
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +7 -15
- package/components/List/components/ListSortableItem.js +9 -9
- package/components/List/components/ListSortableItemControls.js +2 -2
- package/components/List/components/ListSortableItemTarget.js +6 -6
- 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 +9 -13
- 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 +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +7 -7
- package/components/Loader/LoaderSmall/LoaderSmall.js +9 -9
- package/components/LoaderScreen/LoaderScreen.js +12 -12
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +9 -9
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +2 -2
- package/components/ModalWindow/components/ModalWindowClose.js +4 -4
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +44 -41
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +27 -20
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +4 -4
- 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 +5 -5
- package/components/OrderedList/OrderedList.js +3 -3
- package/components/OrderedList/OrderedListItem.js +7 -7
- 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 +14 -14
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Page/components/useStickyCornerRadius.js +35 -32
- package/components/Pagination/components/PaginationExtended.js +8 -8
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +11 -11
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +13 -13
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +8 -8
- package/components/Radio/RadioXGroup.js +12 -12
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +6 -6
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +11 -11
- package/components/SMSField/components/SMSFieldRefresh.js +2 -2
- package/components/SMSField/components/SMSFieldSubmit.js +2 -2
- package/components/SMSField/components/SMSFieldTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +9 -9
- package/components/SegmentedControl/SegmentedControlSegment.js +12 -12
- package/components/SelectExtendedField/SelectExtendedField.js +2 -2
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +50 -43
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +16 -16
- package/components/SelectField/SelectField.js +54 -36
- package/components/Skeleton/Skeleton.js +8 -8
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +29 -29
- 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 +7 -7
- package/components/SmallInput/SmallInput.js +7 -7
- package/components/Spoiler/Spoiler.js +9 -9
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +2 -2
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +2 -2
- package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
- package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
- package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
- package/components/StatusTracker/components/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/Step/Step.js +9 -9
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +4 -4
- package/components/Stepper/StepperExtended.js +7 -7
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +3 -3
- package/components/Suggest/SuggestMobileDropdownContent.js +26 -25
- package/components/Suggest/useSuggest.js +1 -1
- package/components/SuggestField/SuggestField.js +6 -6
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +8 -8
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +31 -29
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +6 -6
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +27 -26
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +24 -24
- package/components/Table/FilterPanel.js +6 -6
- package/components/Table/MasterTable.js +9 -9
- package/components/Table/NoColumns.js +6 -6
- 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 +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- 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 +5 -5
- 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 +3 -3
- package/components/Table/TabsLinePanelLinks.js +2 -2
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +16 -16
- package/components/TabsExtended/TabsExtended.js +22 -22
- 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 +37 -18
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +3 -3
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +49 -47
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +3 -3
- package/components/Tag/Tag.js +24 -24
- package/components/TagColor/TagColor.js +11 -11
- package/components/TagGroup/TagGroup.js +9 -9
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +5 -5
- package/components/ThemeProvider/ThemeProvider.js +18 -20
- package/components/ThemeProvider/components/ThemeProviderView.js +29 -27
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +8 -8
- 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 +11 -11
- package/components/TopOverlay/TopOverlay.js +21 -21
- package/components/TreeView/TreeView.js +2 -2
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +2 -2
- package/components/Typography/Caption.js +10 -10
- package/components/Typography/Text.js +19 -19
- package/components/Typography/Title.js +29 -29
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +7 -7
- package/components/UnorderedList/UnorderedListItem.js +11 -11
- 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 +541 -538
- package/index.d.ts +75 -31
- package/index.js +577 -574
- package/package.json +2 -3
- package/styles/triplex-next.css +541 -547
- package/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-DxZ8QVn2.js +0 -39
- package/chunks/CalendarViewItem-D879SDC1.js +0 -101
- package/chunks/Card.module--O3Bx82B.js +0 -17
- package/chunks/CheckboxTreeExtended.module-Cw3yb-cF.js +0 -15
- package/chunks/Chip-M9mPbBOt.js +0 -90
- package/chunks/Confirm.module-DtBiR4Fo.js +0 -15
- package/chunks/DropdownListItem-BdLTF7q1.js +0 -65
- package/chunks/DropdownMobile.module-PpB3KA4H.js +0 -23
- package/chunks/Footer.module-Z4RIi8JP.js +0 -9
- package/chunks/FormFieldInput-C75omt8Y.js +0 -60
- package/chunks/HeaderLayoutSidebar.module-BJZj3qz4.js +0 -9
- package/chunks/HeaderTabs.module-ykRWLBUI.js +0 -9
- package/chunks/IslandAccordion.module-DE-xutGt.js +0 -25
- package/chunks/IslandWidgetFooter.module-DpnJPgi0.js +0 -9
- package/chunks/IslandWidgetHeader.module-lf-NGWlm.js +0 -12
- package/chunks/LightBoxControls.module-Cbi_wgHX.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-Dbzm6FYI.js +0 -9
- package/chunks/ListItemControlsButton-0bXNCLYU.js +0 -43
- package/chunks/ListItemTail.module-DFYWneN6.js +0 -12
- package/chunks/ListMasterFooter.module-CoXWM3Nq.js +0 -10
- package/chunks/ModalWindow.module-DqMffIcE.js +0 -17
- package/chunks/Notification.module-CPSD8BYw.js +0 -20
- package/chunks/Overlay.module-B5Hl3baB.js +0 -18
- package/chunks/Page.module-BbrHHqMK.js +0 -11
- package/chunks/SMSField.module-CPSjUBD-.js +0 -16
- package/chunks/SliderExtendedMarks.module-QNSG8UcN.js +0 -15
- package/chunks/StatusTracker.module-KkpUE8KY.js +0 -24
- package/chunks/TableFooter.module-OEvn0oaX.js +0 -14
- package/chunks/TabsExtended.module-B3Ti-48x.js +0 -16
- package/chunks/TabsLine.module-BgCBcRYT.js +0 -21
- package/chunks/TooltipDesktop.module-CC_4-ATz.js +0 -19
- package/chunks/TreeView.module-CmGHGs81.js +0 -9
- package/chunks/utils-C5IWf42V.js +0 -24
- package/chunks/utils-d7-rkiPs.js +0 -27
- package/chunks/utils-hbQGLR7K.js +0 -73
- package/components/Dropdown/enums.js +0 -8
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { c as r } from "../../../../chunks/vendor
|
|
4
|
-
const c = "
|
|
3
|
+
import { c as r } from "../../../../chunks/vendor---Om3uMV.js";
|
|
4
|
+
const c = "tableBasicSettingsFooter__16d203d1", l = {
|
|
5
5
|
tableBasicSettingsFooter: c
|
|
6
6
|
}, n = i.forwardRef(
|
|
7
7
|
({ children: t, className: e, ...o }, s) => /* @__PURE__ */ a("div", { className: r(l.tableBasicSettingsFooter, e), ref: s, ...o, children: t })
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { c as i } from "../../../../chunks/vendor
|
|
2
|
+
import { c as i } from "../../../../chunks/vendor---Om3uMV.js";
|
|
3
3
|
import { Text as r } from "../../../Typography/Text.js";
|
|
4
|
-
import { EFontWeightText as
|
|
5
|
-
const l = "
|
|
4
|
+
import { EFontWeightText as o, ETextSize as c } from "../../../Typography/enums.js";
|
|
5
|
+
const l = "tableBasicSettingsHeader__440273b0", m = {
|
|
6
6
|
tableBasicSettingsHeader: l
|
|
7
7
|
}, n = ({
|
|
8
8
|
children: e,
|
|
@@ -12,8 +12,8 @@ const l = "tableBasicSettingsHeader__8d98683c", m = {
|
|
|
12
12
|
r,
|
|
13
13
|
{
|
|
14
14
|
className: i(m.tableBasicSettingsHeader, t),
|
|
15
|
-
size:
|
|
16
|
-
weight:
|
|
15
|
+
size: c.B3,
|
|
16
|
+
weight: o.SEMIBOLD,
|
|
17
17
|
tag: "div",
|
|
18
18
|
...a,
|
|
19
19
|
children: e
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as m, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { c as i } from "../../../chunks/vendor
|
|
3
|
-
import { s as r } from "../../../chunks/TableFooter.module-
|
|
2
|
+
import { c as i } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
|
+
import { s as r } from "../../../chunks/TableFooter.module-D0rUmZhB.js";
|
|
4
4
|
import { FooterDescription as l } from "../../Footer/components/FooterDescription.js";
|
|
5
5
|
import { FooterDescriptionControls as p } from "../../Footer/components/FooterDescriptionControls.js";
|
|
6
6
|
import { TableFooterSummary as c } from "./components/TableFooterSummary.js";
|
|
@@ -3,17 +3,17 @@ import { FooterDescription as r } from "../../../Footer/components/FooterDescrip
|
|
|
3
3
|
import { TableFooterSummaryAmount as m } from "./TableFooterSummaryAmount.js";
|
|
4
4
|
import { TableFooterSummarySelectedCount as a } from "./TableFooterSummarySelectedCount.js";
|
|
5
5
|
import { TableFooterSummarySelectAllButton as l } from "./TableFooterSummarySelectAllButton.js";
|
|
6
|
-
import { s as n } from "../../../../chunks/TableFooter.module-
|
|
7
|
-
const
|
|
6
|
+
import { s as n } from "../../../../chunks/TableFooter.module-D0rUmZhB.js";
|
|
7
|
+
const y = Object.assign(
|
|
8
8
|
({ children: t, ...e }) => /* @__PURE__ */ o(r.Content, { ...e, children: /* @__PURE__ */ o("div", { className: n.tableFooterSummary, children: t }) }),
|
|
9
9
|
{
|
|
10
10
|
Amount: m,
|
|
11
11
|
SelectedCount: a,
|
|
12
|
-
SelectAllButton: l
|
|
12
|
+
SelectAllButton: l,
|
|
13
|
+
displayName: "TableFooterSummary"
|
|
13
14
|
}
|
|
14
15
|
);
|
|
15
|
-
u.displayName = "TableFooterSummary";
|
|
16
16
|
export {
|
|
17
|
-
|
|
17
|
+
y as TableFooterSummary
|
|
18
18
|
};
|
|
19
19
|
//# sourceMappingURL=TableFooterSummary.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as e, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { s as m } from "../../../../chunks/TableFooter.module-
|
|
2
|
+
import { s as m } from "../../../../chunks/TableFooter.module-D0rUmZhB.js";
|
|
3
3
|
import { Amount as s } from "../../../Amount/Amount.js";
|
|
4
4
|
import { Text as l } from "../../../Typography/Text.js";
|
|
5
5
|
import { ETextSize as i } from "../../../Typography/enums.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { s as a } from "../../../../chunks/TableFooter.module-
|
|
2
|
+
import { s as a } from "../../../../chunks/TableFooter.module-D0rUmZhB.js";
|
|
3
3
|
import { ETextSize as s } from "../../../Typography/enums.js";
|
|
4
4
|
import { Link as i } from "../../../Link/Link.js";
|
|
5
5
|
import { Text as p } from "../../../Typography/Text.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { s as t } from "../../../../chunks/TableFooter.module-
|
|
2
|
+
import { s as t } from "../../../../chunks/TableFooter.module-D0rUmZhB.js";
|
|
3
3
|
const a = ({ children: e }) => /* @__PURE__ */ o("span", { className: t.tableFooterSummarySelectedCount, children: e });
|
|
4
4
|
a.displayName = "TableFooterSummarySelectedCount";
|
|
5
5
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { c as t } from "../../chunks/vendor
|
|
2
|
+
import { c as t } from "../../chunks/vendor---Om3uMV.js";
|
|
3
3
|
import { TabsLinePanelLinks as l } from "./TabsLinePanelLinks.js";
|
|
4
|
-
const o = "
|
|
4
|
+
const o = "tabsLinePanel__74614e63", L = {
|
|
5
5
|
tabsLinePanel: o
|
|
6
|
-
}, s = ({ children: a, className:
|
|
6
|
+
}, s = ({ children: a, className: e, ...n }) => /* @__PURE__ */ i("div", { className: t(L.tabsLinePanel, e), ...n, children: a });
|
|
7
7
|
s.Links = l;
|
|
8
8
|
s.displayName = "TabsLinePanel";
|
|
9
9
|
export {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { c as t } from "../../chunks/vendor
|
|
2
|
+
import { c as t } from "../../chunks/vendor---Om3uMV.js";
|
|
3
3
|
import { Text as a } from "../Typography/Text.js";
|
|
4
4
|
import { EFontWeightText as o, ETextSize as L } from "../Typography/enums.js";
|
|
5
|
-
const l = "
|
|
5
|
+
const l = "tabsLinePanelLinks__e2d999c1", m = {
|
|
6
6
|
tabsLinePanelLinks: l
|
|
7
7
|
}, r = ({
|
|
8
8
|
children: e,
|
package/components/Tabs/Tabs.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as s, jsxs as y } from "react/jsx-runtime";
|
|
2
2
|
import { useState as l, useRef as D } from "react";
|
|
3
|
-
import { TabsExtended as
|
|
3
|
+
import { TabsExtended as c } from "../TabsExtended/TabsExtended.js";
|
|
4
4
|
import "../TabsExtended/components/TabsExtendedContent.js";
|
|
5
|
-
import { c as W } from "../../chunks/vendor
|
|
5
|
+
import { c as W } from "../../chunks/vendor---Om3uMV.js";
|
|
6
6
|
import "../TabsExtended/TabsExtendedContext.js";
|
|
7
7
|
import "../TabsExtended/components/TabsExtendedTab.js";
|
|
8
8
|
import "../TabsExtended/components/TabsExtendedTabButton.js";
|
|
@@ -15,13 +15,13 @@ import "../Button/ButtonDropdownExtended.js";
|
|
|
15
15
|
import { EButtonDotsTheme as j } from "../Button/enums.js";
|
|
16
16
|
import { EComponentSize as K } from "../../enums/EComponentSize.js";
|
|
17
17
|
import { isKey as _ } from "../../utils/keyboard.js";
|
|
18
|
-
const k = "
|
|
18
|
+
const k = "tabsContent__ef90c892", G = "tabButtonDropdown__e922aa50", H = "sm__239c1ee5", L = "md__8d229811", M = "lg__1529ad68", p = {
|
|
19
19
|
tabsContent: k,
|
|
20
20
|
tabButtonDropdown: G,
|
|
21
21
|
sm: H,
|
|
22
22
|
md: L,
|
|
23
23
|
lg: M
|
|
24
|
-
},
|
|
24
|
+
}, co = ({
|
|
25
25
|
buttonDropdownAttributes: C,
|
|
26
26
|
selectedId: i,
|
|
27
27
|
onSelectTab: h,
|
|
@@ -29,13 +29,13 @@ const k = "tabsContent__67ed5acb", G = "tabButtonDropdown__cf0e8586", H = "sm__d
|
|
|
29
29
|
tabs: t,
|
|
30
30
|
...v
|
|
31
31
|
}) => {
|
|
32
|
-
const [w,
|
|
32
|
+
const [w, m] = l(i || t[0].id), [R, A] = l(""), [F, I] = l(""), d = D(null), u = D(null), S = ({ dropdownItemsIds: n, onSelectTab: o }) => t.filter((e) => n.includes(e.id)).map((e) => ({ ...e, onSelect: () => o(e.id) })), B = (n, o) => /* @__PURE__ */ s(c.Content.Tab, { ...n, children: ({ selected: e, isFirstInlineTab: N, isLastInlineTab: g }) => {
|
|
33
33
|
const E = w === n.id ? 0 : -1, O = () => {
|
|
34
34
|
let r;
|
|
35
|
-
return R === n.id ? r =
|
|
35
|
+
return R === n.id ? r = d : F === n.id && (r = u), r;
|
|
36
36
|
};
|
|
37
|
-
return /* @__PURE__ */
|
|
38
|
-
|
|
37
|
+
return /* @__PURE__ */ s(
|
|
38
|
+
c.Content.TabButton,
|
|
39
39
|
{
|
|
40
40
|
selected: e,
|
|
41
41
|
tabIndex: E,
|
|
@@ -46,17 +46,17 @@ const k = "tabsContent__67ed5acb", G = "tabButtonDropdown__cf0e8586", H = "sm__d
|
|
|
46
46
|
A(t[o - 1] ? t[o - 1].id : ""), I(t[o + 1] ? t[o + 1].id : "");
|
|
47
47
|
},
|
|
48
48
|
onKeyDown: (r) => {
|
|
49
|
-
var
|
|
50
|
-
const { key:
|
|
51
|
-
_(
|
|
49
|
+
var T, b;
|
|
50
|
+
const { key: f } = r;
|
|
51
|
+
_(f, "ARROW_LEFT") ? (N || (m(t[o - 1].id), (T = d.current) == null || T.focus()), r.preventDefault()) : _(f, "ARROW_RIGHT") && (g || (m(t[o + 1].id), (b = u.current) == null || b.focus()), r.preventDefault());
|
|
52
52
|
},
|
|
53
53
|
children: n.label
|
|
54
54
|
}
|
|
55
55
|
);
|
|
56
56
|
} }, o);
|
|
57
|
-
return /* @__PURE__ */ c
|
|
58
|
-
/* @__PURE__ */ c
|
|
59
|
-
/* @__PURE__ */ c
|
|
57
|
+
return /* @__PURE__ */ s(c, { ...v, selectedId: i, onSelectTab: h, children: /* @__PURE__ */ y(c.Content, { className: p.tabsContent, size: a, children: [
|
|
58
|
+
/* @__PURE__ */ s(c.Content.TabsWrapper, { children: t.map(B) }),
|
|
59
|
+
/* @__PURE__ */ s(c.Content.DropdownWrapper, { children: ({ dropdownItemsIds: n, onSelectTab: o }) => /* @__PURE__ */ s(
|
|
60
60
|
x,
|
|
61
61
|
{
|
|
62
62
|
theme: j.DOTS_SECONDARY,
|
|
@@ -72,6 +72,6 @@ const k = "tabsContent__67ed5acb", G = "tabButtonDropdown__cf0e8586", H = "sm__d
|
|
|
72
72
|
] }) });
|
|
73
73
|
};
|
|
74
74
|
export {
|
|
75
|
-
|
|
75
|
+
co as Tabs
|
|
76
76
|
};
|
|
77
77
|
//# sourceMappingURL=Tabs.js.map
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { useState as r, useRef as
|
|
3
|
-
import { c as
|
|
4
|
-
import { TabsExtendedContext as
|
|
2
|
+
import { useState as r, useRef as c } from "react";
|
|
3
|
+
import { c as x } from "../../chunks/vendor---Om3uMV.js";
|
|
4
|
+
import { TabsExtendedContext as b } from "./TabsExtendedContext.js";
|
|
5
5
|
import { TabsExtendedContent as I } from "./components/TabsExtendedContent.js";
|
|
6
|
-
import { s as
|
|
7
|
-
import { ETabsExtendedType as
|
|
8
|
-
import {
|
|
6
|
+
import { s as _ } from "../../chunks/TabsExtended.module-D5-U63Qf.js";
|
|
7
|
+
import { ETabsExtendedType as S } from "./enums.js";
|
|
8
|
+
import { T as u } from "../../chunks/utils-DxMHp1hh.js";
|
|
9
9
|
import "./components/TabsExtendedDropdownWrapper.js";
|
|
10
10
|
import "./components/TabsExtendedTab.js";
|
|
11
11
|
import "./components/TabsExtendedTabButton.js";
|
|
12
12
|
import "./components/TabsExtendedTabContext.js";
|
|
13
13
|
import "./components/TabsExtendedTabsWrapper.js";
|
|
14
|
-
const
|
|
14
|
+
const A = ({
|
|
15
15
|
children: n,
|
|
16
16
|
className: m,
|
|
17
17
|
selectedId: t,
|
|
18
18
|
onSelectTab: d,
|
|
19
|
-
type:
|
|
20
|
-
...
|
|
19
|
+
type: o = S.TYPE_1,
|
|
20
|
+
...i
|
|
21
21
|
}) => {
|
|
22
|
-
const [
|
|
23
|
-
t !==
|
|
22
|
+
const [p, a] = r([]), [l, T] = r([]), E = c(null), f = (e) => {
|
|
23
|
+
t !== e && d(e);
|
|
24
24
|
};
|
|
25
25
|
return /* @__PURE__ */ s(
|
|
26
|
-
|
|
26
|
+
b.Provider,
|
|
27
27
|
{
|
|
28
28
|
value: {
|
|
29
29
|
dropdownItemsIds: l,
|
|
30
|
-
dropdownRef:
|
|
31
|
-
inlineItemsIds:
|
|
32
|
-
onSelectTab:
|
|
30
|
+
dropdownRef: E,
|
|
31
|
+
inlineItemsIds: p,
|
|
32
|
+
onSelectTab: f,
|
|
33
33
|
selectedId: t,
|
|
34
|
-
setDropdownItemsIds:
|
|
35
|
-
setInlineItemsIds:
|
|
36
|
-
type:
|
|
34
|
+
setDropdownItemsIds: T,
|
|
35
|
+
setInlineItemsIds: a,
|
|
36
|
+
type: o
|
|
37
37
|
},
|
|
38
38
|
children: /* @__PURE__ */ s(
|
|
39
39
|
"div",
|
|
40
40
|
{
|
|
41
|
-
className:
|
|
41
|
+
className: x(_.tabsExtended, u[o], m),
|
|
42
42
|
role: "tablist",
|
|
43
|
-
...
|
|
43
|
+
...i,
|
|
44
44
|
children: n
|
|
45
45
|
}
|
|
46
46
|
)
|
|
47
47
|
}
|
|
48
48
|
);
|
|
49
49
|
};
|
|
50
|
-
|
|
50
|
+
A.Content = I;
|
|
51
51
|
export {
|
|
52
|
-
|
|
52
|
+
A as TabsExtended
|
|
53
53
|
};
|
|
54
54
|
//# sourceMappingURL=TabsExtended.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { c as m } from "../../../chunks/vendor
|
|
2
|
+
import { c as m } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
3
|
import { TabsExtendedTabsWrapper as n } from "./TabsExtendedTabsWrapper.js";
|
|
4
4
|
import { TabsExtendedTab as d } from "./TabsExtendedTab.js";
|
|
5
5
|
import { TabsExtendedTabButton as i } from "./TabsExtendedTabButton.js";
|
|
6
6
|
import { EComponentSize as T } from "../../../enums/EComponentSize.js";
|
|
7
7
|
import { TabsExtendedDropdownWrapper as b } from "./TabsExtendedDropdownWrapper.js";
|
|
8
|
-
import { s as r } from "../../../chunks/TabsExtended.module-
|
|
8
|
+
import { s as r } from "../../../chunks/TabsExtended.module-D5-U63Qf.js";
|
|
9
9
|
import { createSizeToClassNameMap as f } from "../../../utils/classNameMaps.js";
|
|
10
10
|
import "./TabsExtendedTabContext.js";
|
|
11
11
|
const x = f(r), o = ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as m } from "react";
|
|
3
|
-
import { s as p } from "../../../chunks/TabsExtended.module-
|
|
4
|
-
import { c as a } from "../../../chunks/vendor
|
|
3
|
+
import { s as p } from "../../../chunks/TabsExtended.module-D5-U63Qf.js";
|
|
4
|
+
import { c as a } from "../../../chunks/vendor---Om3uMV.js";
|
|
5
5
|
import { TabsExtendedContext as i } from "../TabsExtendedContext.js";
|
|
6
6
|
const w = ({
|
|
7
7
|
children: e,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as x } from "react/jsx-runtime";
|
|
2
2
|
import f, { useContext as o } from "react";
|
|
3
|
-
import { s as r } from "../../../chunks/TabsExtended.module-
|
|
4
|
-
import { c as I } from "../../../chunks/vendor
|
|
3
|
+
import { s as r } from "../../../chunks/TabsExtended.module-D5-U63Qf.js";
|
|
4
|
+
import { c as I } from "../../../chunks/vendor---Om3uMV.js";
|
|
5
5
|
import { TabsExtendedContext as u } from "../TabsExtendedContext.js";
|
|
6
6
|
import { TabsExtendedTabContext as E } from "./TabsExtendedTabContext.js";
|
|
7
7
|
const h = f.forwardRef(
|
|
@@ -1,28 +1,47 @@
|
|
|
1
|
-
import { jsxs as x, jsx as
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
import { s as t,
|
|
5
|
-
import { TabsExtendedContext as
|
|
6
|
-
import {
|
|
1
|
+
import { jsxs as x, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import b, { useContext as c } from "react";
|
|
3
|
+
import { c as f } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
|
+
import { s as t, T as _, a as r } from "../../../chunks/utils-DxMHp1hh.js";
|
|
5
|
+
import { TabsExtendedContext as l } from "../TabsExtendedContext.js";
|
|
6
|
+
import { EFontType as u } from "../../Typography/enums.js";
|
|
7
|
+
import "../../Typography/Caption.js";
|
|
8
|
+
import { Text as m } from "../../Typography/Text.js";
|
|
9
|
+
import "../../Typography/Title.js";
|
|
7
10
|
import { Badge as N } from "../../Badge/Badge.js";
|
|
8
|
-
import { EComponentSize as
|
|
9
|
-
const
|
|
10
|
-
({ children:
|
|
11
|
-
const { type:
|
|
11
|
+
import { EComponentSize as B } from "../../../enums/EComponentSize.js";
|
|
12
|
+
const D = b.forwardRef(
|
|
13
|
+
({ children: a, className: n, selected: s, size: o = B.MD, showNotificationIcon: T, ...E }, p) => {
|
|
14
|
+
const { type: d } = c(l), i = f(
|
|
12
15
|
t.tabsExtendedTabButton,
|
|
13
|
-
t[
|
|
14
|
-
|
|
15
|
-
{ [t.selected]: !!
|
|
16
|
+
t[o],
|
|
17
|
+
_[d],
|
|
18
|
+
{ [t.selected]: !!s },
|
|
16
19
|
n
|
|
17
20
|
);
|
|
18
|
-
return /* @__PURE__ */ x("button", { type: "button", className:
|
|
19
|
-
/* @__PURE__ */
|
|
20
|
-
|
|
21
|
+
return /* @__PURE__ */ x("button", { type: "button", className: i, role: "tab", "aria-selected": s, ref: p, ...E, children: [
|
|
22
|
+
/* @__PURE__ */ e(
|
|
23
|
+
m,
|
|
24
|
+
{
|
|
25
|
+
className: t.tabsExtendedTabButtonTextDefault,
|
|
26
|
+
size: r[o],
|
|
27
|
+
type: u.SECONDARY,
|
|
28
|
+
children: a
|
|
29
|
+
}
|
|
30
|
+
),
|
|
31
|
+
/* @__PURE__ */ e(
|
|
32
|
+
m,
|
|
33
|
+
{
|
|
34
|
+
className: t.tabsExtendedTabButtonTextHover,
|
|
35
|
+
size: r[o],
|
|
36
|
+
children: a
|
|
37
|
+
}
|
|
38
|
+
),
|
|
39
|
+
T && /* @__PURE__ */ e(N.Dot, { size: o, className: t.notificationIcon })
|
|
21
40
|
] });
|
|
22
41
|
}
|
|
23
42
|
);
|
|
24
|
-
|
|
43
|
+
D.displayName = "TabsExtendedTabButton";
|
|
25
44
|
export {
|
|
26
|
-
|
|
45
|
+
D as TabsExtendedTabButton
|
|
27
46
|
};
|
|
28
47
|
//# sourceMappingURL=TabsExtendedTabButton.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as k, Fragment as y, jsx as f } from "react/jsx-runtime";
|
|
2
2
|
import a, { useContext as A, useState as D, useRef as g, useLayoutEffect as R, isValidElement as B } from "react";
|
|
3
|
-
import { g as F, c as N, h as z } from "../../../chunks/vendor
|
|
3
|
+
import { g as F, c as N, h as z } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { TabsExtendedContext as j } from "../TabsExtendedContext.js";
|
|
5
5
|
import { TabsExtendedTabContext as P } from "./TabsExtendedTabContext.js";
|
|
6
|
-
import { s as l } from "../../../chunks/TabsExtended.module-
|
|
6
|
+
import { s as l } from "../../../chunks/TabsExtended.module-D5-U63Qf.js";
|
|
7
7
|
const G = ({
|
|
8
8
|
children: s,
|
|
9
9
|
className: C,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./enums.js";
|
|
2
2
|
import "../../enums/EComponentSize.js";
|
|
3
|
-
import { a as
|
|
3
|
+
import { a as o, T as r } from "../../chunks/utils-DxMHp1hh.js";
|
|
4
4
|
import "../Typography/enums.js";
|
|
5
5
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
o as TABS_EXTENDED_SIZE_TO_TEXT_SIZE_MAP,
|
|
7
|
+
r as TABS_EXTENDED_TYPE_TO_CLASS_NAME_MAP
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=utils.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { c as b } from "../../chunks/vendor
|
|
2
|
+
import { c as b } from "../../chunks/vendor---Om3uMV.js";
|
|
3
3
|
import { MobileView as c } from "../MobileView/MobileView.js";
|
|
4
4
|
import { TabsLineDesktop as d } from "./components/TabsLineDesktop.js";
|
|
5
5
|
import { TabsLineMobile as x } from "./components/TabsLineMobile.js";
|
|
6
|
-
import { s as m } from "../../chunks/TabsLine.module-
|
|
6
|
+
import { s as m } from "../../chunks/TabsLine.module-DXlTUTm_.js";
|
|
7
7
|
import "./components/TabsLineDropdown.js";
|
|
8
8
|
import "./components/TabsLineItem.js";
|
|
9
9
|
const v = ({
|
|
@@ -3,8 +3,8 @@ import { useState as D, useRef as T, useEffect as N } from "react";
|
|
|
3
3
|
import { TabsLineDropdown as S } from "./TabsLineDropdown.js";
|
|
4
4
|
import { TabsLineItem as k } from "./TabsLineItem.js";
|
|
5
5
|
import { isKey as u } from "../../../utils/keyboard.js";
|
|
6
|
-
import { l as L } from "../../../chunks/vendor
|
|
7
|
-
import { s as J } from "../../../chunks/TabsLine.module-
|
|
6
|
+
import { l as L } from "../../../chunks/vendor---Om3uMV.js";
|
|
7
|
+
import { s as J } from "../../../chunks/TabsLine.module-DXlTUTm_.js";
|
|
8
8
|
const $ = ({
|
|
9
9
|
tabs: l,
|
|
10
10
|
dropdownTargetHtmlAttributes: g,
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { u as H, c as w } from "../../../chunks/vendor
|
|
1
|
+
import { jsxs as A, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { useState as c, useRef as h, useEffect as K, createElement as j } from "react";
|
|
3
|
+
import { u as H, c as w } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { DropdownListContext as Y } from "../../Dropdown/DropdownListContext.js";
|
|
5
5
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
6
|
-
import { DropdownList as
|
|
7
|
-
import "../../../chunks/DropdownListItem-
|
|
6
|
+
import { DropdownList as S } from "../../Dropdown/desktop/DropdownList.js";
|
|
7
|
+
import "../../../chunks/DropdownListItem-C4JE2xV7.js";
|
|
8
|
+
import { EDropdownWidth as q } from "../../Dropdown/desktop/enums.js";
|
|
8
9
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
9
10
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
10
11
|
import "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -16,49 +17,49 @@ import "../../Dropdown/mobile/DropdownMobileList.js";
|
|
|
16
17
|
import "../../Dropdown/mobile/DropdownMobileListItem.js";
|
|
17
18
|
import "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
18
19
|
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
19
|
-
import { EComponentSize as
|
|
20
|
+
import { EComponentSize as G } from "../../../enums/EComponentSize.js";
|
|
20
21
|
import { Dropdown as U } from "../../Dropdown/Dropdown.js";
|
|
21
22
|
import { CaretdownStrokeSrvIcon16 as Z } from "@sberbusiness/icons-next";
|
|
22
23
|
import { isKey as m } from "../../../utils/keyboard.js";
|
|
23
|
-
import { s as t } from "../../../chunks/TabsLine.module-
|
|
24
|
-
import { createSizeToClassNameMap as
|
|
25
|
-
import { EFontType as
|
|
24
|
+
import { s as t } from "../../../chunks/TabsLine.module-DXlTUTm_.js";
|
|
25
|
+
import { createSizeToClassNameMap as J } from "../../../utils/classNameMaps.js";
|
|
26
|
+
import { EFontType as b } from "../../Typography/enums.js";
|
|
26
27
|
import "../../Typography/Caption.js";
|
|
27
|
-
import { Text as
|
|
28
|
+
import { Text as Q } from "../../Typography/Text.js";
|
|
28
29
|
import "../../Typography/Title.js";
|
|
29
|
-
import { tabsLineSizeToTextSizeMap as
|
|
30
|
-
const
|
|
31
|
-
tabs:
|
|
30
|
+
import { tabsLineSizeToTextSizeMap as V } from "../utils.js";
|
|
31
|
+
const X = J(t), Oe = ({
|
|
32
|
+
tabs: v,
|
|
32
33
|
active: T,
|
|
33
|
-
label:
|
|
34
|
-
onClickTab:
|
|
35
|
-
selected:
|
|
36
|
-
size: p =
|
|
37
|
-
targetHtmlAttributes:
|
|
34
|
+
label: M,
|
|
35
|
+
onClickTab: R,
|
|
36
|
+
selected: g,
|
|
37
|
+
size: p = G.MD,
|
|
38
|
+
targetHtmlAttributes: L,
|
|
38
39
|
...x
|
|
39
40
|
}) => {
|
|
40
|
-
const [D, y] =
|
|
41
|
-
|
|
41
|
+
const [D, y] = c(void 0), [o, d] = c(!1), [O, N] = c(!1), [_, E] = c(!1), l = h(null), C = h(null), I = h(H());
|
|
42
|
+
K(() => {
|
|
42
43
|
if (!o)
|
|
43
44
|
return;
|
|
44
45
|
const e = (r) => {
|
|
45
46
|
var n, s;
|
|
46
|
-
!((n = l.current) != null && n.contains(r.target)) && !((s =
|
|
47
|
+
!((n = l.current) != null && n.contains(r.target)) && !((s = C.current) != null && s.contains(r.target)) && d(!1);
|
|
47
48
|
};
|
|
48
49
|
return document.addEventListener("mouseup", e), () => {
|
|
49
50
|
document.removeEventListener("mouseup", e);
|
|
50
51
|
};
|
|
51
52
|
}, [o]);
|
|
52
|
-
const
|
|
53
|
-
|
|
53
|
+
const k = () => {
|
|
54
|
+
d(!o);
|
|
54
55
|
}, P = (e) => {
|
|
55
|
-
o || (m(e.code, "ARROW_UP") || m(e.code, "ARROW_DOWN")) && (e.preventDefault(),
|
|
56
|
+
o || (m(e.code, "ARROW_UP") || m(e.code, "ARROW_DOWN")) && (e.preventDefault(), d(!0)), o && (m(e.code, "TAB") || m(e.code, "ESCAPE")) && d(!1);
|
|
56
57
|
}, F = (e) => {
|
|
57
|
-
|
|
58
|
-
},
|
|
59
|
-
const { onFocus: e, onBlur: r, onMouseEnter: n, onMouseLeave: s, ...u } =
|
|
58
|
+
R(e), d(!o);
|
|
59
|
+
}, W = () => {
|
|
60
|
+
const { onFocus: e, onBlur: r, onMouseEnter: n, onMouseLeave: s, ...u } = L || {}, f = w(t.tab, X[p], t.dropdownTarget, {
|
|
60
61
|
[t.active]: T
|
|
61
|
-
}),
|
|
62
|
+
}), B = w(t.dropdownTargetCaret, { [t.opened]: o });
|
|
62
63
|
return /* @__PURE__ */ a(
|
|
63
64
|
"button",
|
|
64
65
|
{
|
|
@@ -70,13 +71,13 @@ const V = G(t), xe = ({
|
|
|
70
71
|
N(!1), r == null || r(i);
|
|
71
72
|
},
|
|
72
73
|
onMouseEnter: (i) => {
|
|
73
|
-
|
|
74
|
+
E(!0), n == null || n(i);
|
|
74
75
|
},
|
|
75
76
|
onMouseLeave: (i) => {
|
|
76
|
-
|
|
77
|
+
E(!1), s == null || s(i);
|
|
77
78
|
},
|
|
78
79
|
className: f,
|
|
79
|
-
onClick:
|
|
80
|
+
onClick: k,
|
|
80
81
|
onKeyDown: P,
|
|
81
82
|
type: "button",
|
|
82
83
|
role: "tab",
|
|
@@ -84,32 +85,33 @@ const V = G(t), xe = ({
|
|
|
84
85
|
"aria-expanded": o,
|
|
85
86
|
"aria-controls": I.current,
|
|
86
87
|
"aria-activedescendant": D,
|
|
87
|
-
children: /* @__PURE__ */ a("span", { className: t.tabInner, children: /* @__PURE__ */
|
|
88
|
+
children: /* @__PURE__ */ a("span", { className: t.tabInner, children: /* @__PURE__ */ A("span", { className: t.dropdownTargetInner, children: [
|
|
88
89
|
/* @__PURE__ */ a(
|
|
89
|
-
|
|
90
|
+
Q,
|
|
90
91
|
{
|
|
91
|
-
size:
|
|
92
|
-
type: T || O ||
|
|
93
|
-
children:
|
|
92
|
+
size: V[p],
|
|
93
|
+
type: T || O || _ ? b.PRIMARY : b.SECONDARY,
|
|
94
|
+
children: M
|
|
94
95
|
}
|
|
95
96
|
),
|
|
96
|
-
/* @__PURE__ */ a(Z, { className:
|
|
97
|
+
/* @__PURE__ */ a(Z, { className: B, paletteIndex: 5 })
|
|
97
98
|
] }) })
|
|
98
99
|
}
|
|
99
100
|
);
|
|
100
|
-
},
|
|
101
|
+
}, z = () => /* @__PURE__ */ a(
|
|
101
102
|
U,
|
|
102
103
|
{
|
|
103
104
|
className: t.dropdown,
|
|
104
105
|
opened: o,
|
|
105
|
-
setOpened:
|
|
106
|
+
setOpened: d,
|
|
106
107
|
size: p,
|
|
108
|
+
width: q.MIN_TARGET,
|
|
107
109
|
targetRef: l,
|
|
108
|
-
ref:
|
|
109
|
-
children: /* @__PURE__ */ a(Y.Provider, { value: { activeDescendant: D, setActiveDescendant: y }, children: /* @__PURE__ */ a(
|
|
110
|
+
ref: C,
|
|
111
|
+
children: /* @__PURE__ */ a(Y.Provider, { value: { activeDescendant: D, setActiveDescendant: y }, children: /* @__PURE__ */ a(S, { dropdownOpened: o, id: I.current, children: v.map((e) => {
|
|
110
112
|
const { id: r, label: n, showNotificationIcon: s, ...u } = e, f = w(t.dropdownItem);
|
|
111
113
|
return /* @__PURE__ */ j(
|
|
112
|
-
|
|
114
|
+
S.Item,
|
|
113
115
|
{
|
|
114
116
|
...u,
|
|
115
117
|
className: f,
|
|
@@ -118,7 +120,7 @@ const V = G(t), xe = ({
|
|
|
118
120
|
onSelect: () => {
|
|
119
121
|
F(e);
|
|
120
122
|
},
|
|
121
|
-
selected: e ===
|
|
123
|
+
selected: e === g,
|
|
122
124
|
showNotificationIcon: s
|
|
123
125
|
},
|
|
124
126
|
/* @__PURE__ */ a("span", { className: t.dropdownItemInner, children: n })
|
|
@@ -126,12 +128,12 @@ const V = G(t), xe = ({
|
|
|
126
128
|
}) }) })
|
|
127
129
|
}
|
|
128
130
|
);
|
|
129
|
-
return /* @__PURE__ */
|
|
130
|
-
|
|
131
|
-
|
|
131
|
+
return /* @__PURE__ */ A("div", { className: t.tabsLineDropdown, ref: l, ...x, children: [
|
|
132
|
+
W(),
|
|
133
|
+
z()
|
|
132
134
|
] });
|
|
133
135
|
};
|
|
134
136
|
export {
|
|
135
|
-
|
|
137
|
+
Oe as TabsLineDropdown
|
|
136
138
|
};
|
|
137
139
|
//# sourceMappingURL=TabsLineDropdown.js.map
|