@sberbusiness/triplex-next 1.2.0 → 1.4.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-B3Xzh0I2.js → AlertProcessSpoiler-BQv9QI6L.js} +10 -10
- package/chunks/Card.module-kTbr6OQy.js +17 -0
- package/chunks/Chip-G6cGXuGj.js +90 -0
- package/chunks/DropdownListItem-D2hzyBGc.js +57 -0
- package/chunks/DropdownMobile.module-Fa_t6vz1.js +21 -0
- package/chunks/Footer.module-B3uFxh54.js +9 -0
- package/chunks/FormFieldInput-CO7yZP0Q.js +62 -0
- package/chunks/HeaderLayoutSidebar.module-CGCy_cim.js +9 -0
- package/chunks/HeaderTabs.module-DMuNfILv.js +9 -0
- package/chunks/HeaderTitle.module-BHyH17ZI.js +11 -0
- package/chunks/IslandAccordion.module-7xAwgJVI.js +22 -0
- package/chunks/LightBoxContent-DmoszkOx.js +56 -0
- package/chunks/LightBoxControls.module-42gn-co3.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-B_oIB3rc.js +8 -0
- package/chunks/{ListItemControlsButton-BdtSkcyn.js → ListItemControlsButton-BoEiexyr.js} +6 -6
- package/chunks/ListItemTail.module-BB5TJPEc.js +12 -0
- package/chunks/ListMasterFooter.module-DxZ_nXDV.js +10 -0
- package/chunks/Notification.module-C-HCMpAz.js +21 -0
- package/chunks/Overlay.module-q-oPhooa.js +18 -0
- package/chunks/Page.module-DjGbJ-Uw.js +12 -0
- package/chunks/{RightBorderArrow-BA2_2Ry3.js → RightBorderArrow-BHW7rkmN.js} +15 -15
- package/chunks/SMSInput.module-Ci4GRnk_.js +16 -0
- package/chunks/StatusTracker.module-zTyojoH4.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-Dz-VDDoR.js → SuggestFieldMobileDropdownHint-CMKMF0PQ.js} +2 -2
- package/chunks/TableFooter.module-DrRycaTr.js +13 -0
- package/chunks/TabsExtended.module-Be8qpZYz.js +16 -0
- package/chunks/TabsLine.module-DKAp48Sx.js +23 -0
- package/chunks/TooltipDesktop.module-D72ObNia.js +19 -0
- package/chunks/{UploadZoneInput-CioKsqkV.js → UploadZoneInput-pdhICY56.js} +9 -9
- package/chunks/utils-B7AjUpy-.js +20 -0
- package/chunks/utils-C-1ATq_g.js +24 -0
- package/chunks/{utils-D7E_PKCe.js → utils-C8a4iCV0.js} +5 -5
- package/chunks/{utils-B5p23Ple.js → utils-C9-tOm2Z.js} +7 -7
- package/chunks/{utils-DPXynVs1.js → utils-DwX2_kEA.js} +10 -10
- package/chunks/{vendor-CehxOAkM.js → vendor-Ba_pyhza.js} +5132 -5003
- package/components/AbstractTree/AbstractTreeNode.js +50 -0
- package/components/AccordionBase/protected/AccordionBase.js +83 -0
- 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 +23 -24
- package/components/AmountField/AmountField.js +11 -11
- package/components/Body/Body.js +25 -8
- package/components/Body/enums.js +5 -0
- package/components/Button/Button.js +47 -46
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +13 -13
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +15 -19
- package/components/Button/enums.js +2 -3
- package/components/Button/index.js +9 -10
- package/components/Card/CardAction.js +10 -10
- 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 +2 -2
- package/components/Checkbox/Checkbox.js +15 -15
- package/components/Checkbox/CheckboxXGroup.js +13 -13
- package/components/Checkbox/CheckboxYGroup.js +4 -4
- package/components/CheckboxTree/CheckboxTree.js +39 -0
- package/components/CheckboxTree/types.js +2 -0
- package/components/CheckboxTree/utils.js +22 -0
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +13 -0
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +52 -0
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +39 -0
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +53 -0
- package/components/CheckboxTreeExtended/isStaticCheckboxTreeExtended.js +5 -0
- package/components/Chip/Chip.js +8 -83
- package/components/Chip/ChipClearButton.js +16 -24
- package/components/Chip/ChipDropdownArrow.js +9 -9
- package/components/Chip/ChipIcon.js +4 -4
- package/components/Chip/ChipOptions.js +6 -6
- package/components/Chip/ChipSelect.js +55 -0
- package/components/Chip/ChipSuggest/ChipSuggest.js +21 -0
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +85 -0
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +42 -0
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +81 -0
- package/components/Chip/ChipSuggest/index.js +7 -0
- package/components/Chip/ChipSuggest/types.js +2 -0
- package/components/Chip/index.js +9 -5
- package/components/ChipGroup/ChipGroup.js +15 -15
- package/components/Col/Col.js +141 -141
- package/components/CollapsableTree/CollapsableTree.js +10 -0
- package/components/CollapsableTree/components/CollapsableTreeNode.js +79 -0
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensComponents.js +61 -40
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +60 -34
- package/components/DesignTokens/components/Card.js +6 -3
- package/components/DesignTokens/components/Island.js +1 -1
- package/components/DesignTokens/components/IslandAccordion.js +9 -0
- package/components/DesignTokens/components/LightBox.js +11 -0
- package/components/DesignTokens/components/Loader.js +13 -7
- package/components/DesignTokens/components/LoaderScreen.js +17 -0
- package/components/DesignTokens/components/Marker.js +4 -4
- package/components/DesignTokens/components/Notification.js +15 -0
- package/components/DesignTokens/components/SMSInput.js +26 -0
- package/components/DesignTokens/components/StatusTracker.js +35 -0
- package/components/DesignTokens/components/Step.js +44 -0
- package/components/DesignTokens/components/Tag.js +9 -0
- package/components/DesignTokens/components/index.js +81 -63
- package/components/Divider/Divider.js +21 -21
- package/components/Dropdown/desktop/DropdownDesktop.js +18 -18
- package/components/Dropdown/desktop/DropdownList.js +42 -41
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +6 -6
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Ellipsis/Ellipsis.js +8 -8
- package/components/ExpandAnimation/ExpandAnimation.js +26 -26
- package/components/Footer/Footer.js +9 -20
- 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 +9 -9
- 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 +14 -14
- package/components/FormField/components/FormFieldMaskedInput.js +15 -15
- package/components/FormField/components/FormFieldPostfix.js +6 -6
- package/components/FormField/components/FormFieldPrefix.js +9 -9
- package/components/FormField/components/FormFieldTarget.js +22 -22
- package/components/FormField/components/FormFieldTextarea.js +32 -28
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +15 -27
- 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 +15 -7
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +14 -6
- package/components/HelpBox/HelpBox.js +13 -13
- package/components/Island/Island.js +12 -16
- package/components/Island/components/IslandBody.js +5 -5
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/components/index.js +9 -0
- package/components/Island/index.js +7 -1
- package/components/Island/utils.js +1 -3
- package/components/IslandAccordion/IslandAccordion.js +31 -0
- package/components/IslandAccordion/IslandAccordionContext.js +16 -0
- package/components/IslandAccordion/components/IslandAccordionContent.js +12 -0
- package/components/IslandAccordion/components/IslandAccordionFooter.js +13 -0
- package/components/IslandAccordion/components/IslandAccordionItem.js +122 -0
- package/components/IslandAccordion/components/IslandAccordionTitle.js +21 -0
- package/components/IslandAccordion/components/index.js +11 -0
- package/components/IslandAccordion/index.js +13 -0
- package/components/LightBox/LightBox.js +105 -0
- package/components/LightBox/LightBoxContent.js +10 -0
- package/components/LightBox/LightBoxControls/LightBoxClose.js +53 -0
- package/components/LightBox/LightBoxControls/LightBoxControls.js +15 -0
- package/components/LightBox/LightBoxControls/LightBoxNext.js +58 -0
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +58 -0
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +106 -0
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +35 -0
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +27 -0
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +21 -0
- package/components/LightBox/LightBoxTopOverlay/LightBoxTopOverlay.js +86 -0
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +63 -0
- package/components/LightBox/LightBoxViewManager/LightBoxViewManagerConsts.js +28 -0
- package/components/LightBox/index.js +7 -0
- package/components/Link/Link.js +11 -11
- package/components/List/List.js +11 -11
- 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 +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 +7 -7
- package/components/List/components/ListItemSelectable.js +16 -16
- package/components/List/components/ListItemTable.js +7 -7
- 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 +5 -5
- package/components/List/components/ListSortableItemTarget.js +4 -4
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +2 -2
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +11 -11
- package/components/ListMaster/components/SelectionControls.js +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +18 -17
- package/components/Loader/LoaderSmall/LoaderSmall.js +5 -5
- package/components/LoaderScreen/LoaderScreen.js +28 -0
- package/components/LoaderScreen/index.js +5 -0
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +32 -28
- package/components/Notification/Notification.js +40 -0
- package/components/Notification/NotificationGrouped.js +12 -0
- package/components/Notification/components/NotificationBody.js +19 -0
- package/components/Notification/components/NotificationBodyContent.js +8 -0
- package/components/Notification/components/NotificationBodyList.js +11 -0
- package/components/Notification/components/NotificationClose.js +14 -0
- package/components/Notification/components/NotificationFooter.js +8 -0
- package/components/Notification/components/NotificationGroupedFooter.js +11 -0
- package/components/Notification/components/NotificationHeader.js +8 -0
- package/components/Notification/components/NotificationIcon.js +8 -0
- package/components/Notification/components/NotificationTime.js +8 -0
- package/components/NumberField/NumberField.js +8 -0
- package/components/NumberField/NumberFieldInput.js +38 -0
- package/components/NumberField/index.js +5 -0
- package/components/NumberField/types.js +2 -0
- package/components/OrderedList/OrderedList.js +6 -6
- package/components/OrderedList/OrderedListItem.js +11 -11
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +13 -13
- package/components/Page/components/BodyPage.js +2 -2
- package/components/Page/components/FooterPage.js +35 -29
- package/components/Page/components/HeaderPage.js +22 -28
- package/components/Page/components/useStickyCornerRadius.js +32 -22
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +7 -7
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +6 -6
- package/components/Pagination/components/PaginationPageEllipsis.js +3 -3
- package/components/Pagination/components/PaginationSelect.js +7 -7
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +10 -10
- package/components/Radio/RadioXGroup.js +11 -11
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +5 -5
- package/components/SMSInput/SMSInput.js +41 -0
- package/components/SMSInput/SMSInputContext.js +23 -0
- package/components/SMSInput/components/RefreshIcon.js +35 -0
- package/components/SMSInput/components/SMSInputInput.js +63 -0
- package/components/SMSInput/components/SMSInputRefresh.js +39 -0
- package/components/SMSInput/components/SMSInputSubmit.js +43 -0
- package/components/SMSInput/components/SMSInputTooltip.js +38 -0
- package/components/SMSInput/components/SubmitIcon.js +19 -0
- package/components/SMSInput/index.js +5 -0
- package/components/SMSInput/types.js +2 -0
- package/components/SegmentedControl/SegmentedControl.js +11 -11
- package/components/SegmentedControl/SegmentedControlSegment.js +11 -11
- package/components/SelectExtendedField/SelectExtendedField.js +2 -2
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +4 -4
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +10 -10
- package/components/Spoiler/Spoiler.js +75 -0
- package/components/Spoiler/index.js +5 -0
- package/components/StatusTracker/StatusTracker.js +45 -0
- package/components/StatusTracker/components/StatusTrackerAlert.js +18 -0
- package/components/StatusTracker/components/StatusTrackerBody.js +20 -0
- package/components/StatusTracker/components/StatusTrackerButton.js +16 -0
- package/components/StatusTracker/components/StatusTrackerDescription.js +24 -0
- package/components/StatusTracker/components/StatusTrackerFooter.js +28 -0
- package/components/StatusTracker/components/StatusTrackerHeader.js +22 -0
- package/components/StatusTracker/components/StatusTrackerMedia.js +11 -0
- package/components/StatusTracker/components/StatusTrackerStatus.js +12 -0
- package/components/StatusTracker/components/StatusTrackerSum.js +25 -0
- package/components/StatusTracker/components/StatusTrackerTitle.js +24 -0
- package/components/StatusTracker/enums.js +6 -0
- package/components/StatusTracker/index.js +5 -0
- package/components/Step/Step.js +49 -0
- package/components/Step/enums.js +6 -0
- package/components/Step/index.js +9 -0
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +7 -7
- package/components/Stepper/StepperExtended.js +5 -5
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +5 -5
- package/components/Suggest/Suggest.js +99 -0
- package/components/Suggest/SuggestContext.js +29 -0
- package/components/Suggest/SuggestMobileDropdownContent.js +96 -0
- package/components/Suggest/index.js +8 -0
- package/components/Suggest/types.js +2 -0
- package/components/SuggestField/SuggestField.js +11 -12
- package/components/SuggestField/SuggestFieldTarget.js +35 -32
- package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +81 -80
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +27 -26
- 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 +17 -17
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +3 -3
- package/components/Table/NoColumns.js +6 -6
- package/components/Table/PaginationPanel.js +3 -3
- package/components/Table/TableBasic/TableBasic.js +33 -32
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +19 -18
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +11 -11
- 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 +7 -7
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +10 -10
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +9 -9
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +10 -21
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +6 -6
- package/components/Table/TabsLinePanelLinks.js +2 -2
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +6 -6
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +4 -4
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +10 -10
- package/components/Tag/Tag.js +70 -0
- package/components/Tag/index.js +5 -0
- package/components/Tag/types.js +2 -0
- package/components/TagGroup/TagGroup.js +25 -0
- package/components/TagGroup/index.js +5 -0
- package/components/TagGroup/types.js +2 -0
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +18 -0
- package/components/TextareaField/index.js +5 -0
- package/components/TextareaField/types.js +2 -0
- package/components/ThemeProvider/ThemeProvider.js +3 -3
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +16 -16
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +7 -7
- package/components/TreeView/TreeView.js +88 -0
- package/components/TreeView/TreeViewAbstractNode.js +38 -0
- package/components/TreeView/TreeViewAbstractNodeUtils.js +112 -0
- package/components/TreeView/TreeViewContext.js +30 -0
- package/components/TreeView/components/TreeViewGroup.js +6 -0
- package/components/TreeView/components/TreeViewNode.js +81 -0
- package/components/Triggers/TriggerClickOnKeyDownEvent.js +15 -0
- package/components/Typography/Caption.js +9 -9
- package/components/Typography/Text.js +30 -30
- package/components/Typography/Title.js +15 -15
- package/components/Typography/index.js +15 -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 +18 -0
- package/components/index.js +418 -356
- package/helpers/less/z-indexes.less +3 -3
- package/index.d.ts +952 -88
- package/index.js +426 -364
- package/package.json +49 -5
- package/styles/triplex-next.css +472 -436
- package/utils/amountUtils.js +1 -1
- package/utils/focus/FocusTrapUtils.js +11 -0
- package/utils/scroll/scrollbar.js +14 -0
- package/chunks/Card.module-Dh5vP2zv.js +0 -17
- package/chunks/DropdownListItem-B1GkU8rn.js +0 -57
- package/chunks/DropdownMobile.module-CYlB98Oc.js +0 -21
- package/chunks/Footer.module-Bk8QkaWN.js +0 -11
- package/chunks/FormFieldInput-n8Ee4EcP.js +0 -63
- package/chunks/HeaderLayoutSidebar.module-CDNHX5_G.js +0 -9
- package/chunks/HeaderTabs.module-yaGpurOU.js +0 -9
- package/chunks/HeaderTitle.module-XzB-YndL.js +0 -9
- package/chunks/ListItemTail.module-D_m5pMsh.js +0 -12
- package/chunks/ListMasterFooter.module-DXrsYZZo.js +0 -10
- package/chunks/Overlay.module-BghrPKKn.js +0 -18
- package/chunks/Page.module-D6xCdUbr.js +0 -12
- package/chunks/TableFooter.module-BzfTOGS_.js +0 -13
- package/chunks/TabsExtended.module-B3nvdhKr.js +0 -16
- package/chunks/TabsLine.module-Dlj__Yjk.js +0 -23
- package/chunks/TooltipDesktop.module-TiWl3v5C.js +0 -19
- package/chunks/utils-BtcCJ4_U.js +0 -20
- package/chunks/utils-DjxtOr-n.js +0 -48
- package/components/Chip/enums.js +0 -5
- package/components/DesignTokens/components/LoaderWidget.js +0 -17
- package/components/DesignTokens/components/Page.js +0 -9
- package/components/LoaderWidget/LoaderWidget.js +0 -29
- package/components/LoaderWidget/index.js +0 -5
- /package/components/{Island → AccordionBase}/types.js +0 -0
|
@@ -1,51 +1,52 @@
|
|
|
1
1
|
import { jsxs as d, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { useContext as
|
|
3
|
-
import { i as
|
|
4
|
-
import { MasterTableContext as
|
|
5
|
-
import { s as
|
|
6
|
-
import { TableBasicHeader as
|
|
7
|
-
import { TableBasicBody as
|
|
8
|
-
import { LoaderMiddle as
|
|
9
|
-
|
|
2
|
+
import { useContext as B, useEffect as T } from "react";
|
|
3
|
+
import { i as N } from "../../../chunks/vendor-Ba_pyhza.js";
|
|
4
|
+
import { MasterTableContext as g } from "../MasterTableContext.js";
|
|
5
|
+
import { s as a } from "../../../chunks/utils-DwX2_kEA.js";
|
|
6
|
+
import { TableBasicHeader as C } from "./components/TableBasicHeader.js";
|
|
7
|
+
import { TableBasicBody as E } from "./components/TableBasicBody.js";
|
|
8
|
+
import { LoaderMiddle as L } from "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
9
|
+
import { LoaderScreen as j } from "../../LoaderScreen/LoaderScreen.js";
|
|
10
|
+
const D = ({
|
|
10
11
|
columns: t,
|
|
11
|
-
data:
|
|
12
|
+
data: s,
|
|
12
13
|
highlightRowOnHover: m,
|
|
13
|
-
onOrderBy:
|
|
14
|
+
onOrderBy: c,
|
|
14
15
|
onClickRow: f,
|
|
15
16
|
renderNoColumns: n,
|
|
16
|
-
renderNoData:
|
|
17
|
-
headless:
|
|
18
|
-
...
|
|
17
|
+
renderNoData: p,
|
|
18
|
+
headless: b,
|
|
19
|
+
...v
|
|
19
20
|
}) => {
|
|
20
|
-
const
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}, [t,
|
|
24
|
-
const
|
|
25
|
-
|
|
21
|
+
const o = B(g), y = s.length === 0;
|
|
22
|
+
T(() => {
|
|
23
|
+
N(t, o.columns) || o.setColumns(t);
|
|
24
|
+
}, [t, o]);
|
|
25
|
+
const u = () => t.every((e) => e.hidden) && n ? n() : /* @__PURE__ */ d("table", { ...v, children: [
|
|
26
|
+
b || /* @__PURE__ */ r(C, { columns: t, onOrderBy: c }),
|
|
26
27
|
/* @__PURE__ */ r(
|
|
27
|
-
|
|
28
|
+
E,
|
|
28
29
|
{
|
|
29
30
|
columns: t,
|
|
30
|
-
data:
|
|
31
|
+
data: s,
|
|
31
32
|
onClickRow: f,
|
|
32
33
|
highlightRowOnHover: m
|
|
33
34
|
}
|
|
34
35
|
)
|
|
35
|
-
] }, "table"),
|
|
36
|
-
const { loading:
|
|
37
|
-
return
|
|
38
|
-
},
|
|
39
|
-
/* @__PURE__ */ r("div", { className:
|
|
40
|
-
/* @__PURE__ */ r(
|
|
36
|
+
] }, "table"), h = (e) => {
|
|
37
|
+
const { loading: i } = o;
|
|
38
|
+
return i && e ? l(x()) : !i && e ? l(p()) : i && !e ? /* @__PURE__ */ r("div", { className: a.spinnerWrapper, children: /* @__PURE__ */ r(j, { type: "middle" }) }) : null;
|
|
39
|
+
}, l = (e) => /* @__PURE__ */ r("div", { className: a.footerEmptyData, children: e }), x = () => [
|
|
40
|
+
/* @__PURE__ */ r("div", { className: a.overlayCover }, "overlay"),
|
|
41
|
+
/* @__PURE__ */ r(L, {}, "spinner")
|
|
41
42
|
];
|
|
42
|
-
return /* @__PURE__ */ d("div", { className:
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
return /* @__PURE__ */ d("div", { className: a.tableBasic, children: [
|
|
44
|
+
u(),
|
|
45
|
+
h(y)
|
|
45
46
|
] });
|
|
46
47
|
};
|
|
47
|
-
|
|
48
|
+
D.displayName = "TableBasic";
|
|
48
49
|
export {
|
|
49
|
-
|
|
50
|
+
D as TableBasic
|
|
50
51
|
};
|
|
51
52
|
//# sourceMappingURL=TableBasic.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { TableBasicRow as b } from "./TableBasicRow.js";
|
|
3
|
-
import { c as p } from "../../../../chunks/vendor-
|
|
4
|
-
import { s as r } from "../../../../chunks/utils-
|
|
3
|
+
import { c as p } from "../../../../chunks/vendor-Ba_pyhza.js";
|
|
4
|
+
import { s as r } from "../../../../chunks/utils-DwX2_kEA.js";
|
|
5
5
|
const B = ({ columns: c, data: o, highlightRowOnHover: t, onClickRow: e }) => {
|
|
6
6
|
if (o.length === 0)
|
|
7
7
|
return null;
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { jsx as r, jsxs as
|
|
1
|
+
import { jsx as r, jsxs as m, Fragment as p } from "react/jsx-runtime";
|
|
2
2
|
import { SortdecreaseStrokeSrvIcon16 as x, SortincreaseStrokeSrvIcon16 as I, SortStrokeSrvIcon16 as D } from "@sberbusiness/icons-next";
|
|
3
|
-
import { isNullOrUndefined as
|
|
3
|
+
import { isNullOrUndefined as b } from "../../../../utils/isNullOrUndefined.js";
|
|
4
4
|
import { getAriaHTMLAttributes as H } from "../../../../utils/html/AriaAttributes.js";
|
|
5
5
|
import { getDataHTMLAttributes as y } from "../../../../utils/html/DataAttributes.js";
|
|
6
|
-
import { ECellType as
|
|
7
|
-
import { c as
|
|
8
|
-
import {
|
|
6
|
+
import { ECellType as T, EHorizontalAlign as s, EOrderDirection as t } from "../enums.js";
|
|
7
|
+
import { c as d } from "../../../../chunks/vendor-Ba_pyhza.js";
|
|
8
|
+
import { s as n, m as z } from "../../../../chunks/utils-DwX2_kEA.js";
|
|
9
9
|
import { Text as B } from "../../../Typography/Text.js";
|
|
10
10
|
import { ETextSize as v } from "../../../Typography/enums.js";
|
|
11
11
|
const w = ({ columns: u, onOrderBy: l }) => {
|
|
12
|
-
const N = !
|
|
12
|
+
const N = !b(l), f = (e) => {
|
|
13
13
|
let o;
|
|
14
14
|
switch (e.orderDirection) {
|
|
15
15
|
case t.NONE: {
|
|
16
|
-
o = /* @__PURE__ */ r(D, { paletteIndex:
|
|
16
|
+
o = /* @__PURE__ */ r(D, { paletteIndex: 5 });
|
|
17
17
|
break;
|
|
18
18
|
}
|
|
19
19
|
case t.ASC: {
|
|
20
|
-
o = /* @__PURE__ */ r(I, { paletteIndex:
|
|
20
|
+
o = /* @__PURE__ */ r(I, { paletteIndex: 5 });
|
|
21
21
|
break;
|
|
22
22
|
}
|
|
23
23
|
case t.DESC: {
|
|
24
|
-
o = /* @__PURE__ */ r(x, { paletteIndex:
|
|
24
|
+
o = /* @__PURE__ */ r(x, { paletteIndex: 5 });
|
|
25
25
|
break;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
const i =
|
|
28
|
+
const i = d(n.orderButton, {
|
|
29
29
|
[n.alignLeft]: e.horizontalAlign === s.RIGHT,
|
|
30
30
|
[n.alignRight]: e.horizontalAlign !== s.RIGHT,
|
|
31
31
|
[n.sorted]: e.orderDirection !== t.NONE
|
|
@@ -34,17 +34,18 @@ const w = ({ columns: u, onOrderBy: l }) => {
|
|
|
34
34
|
}, A = (e, o) => {
|
|
35
35
|
if (e.hidden)
|
|
36
36
|
return null;
|
|
37
|
-
const i = e.width ? { maxWidth: e.width, minWidth: e.width, width: e.width } : void 0, a = o && !
|
|
37
|
+
const i = e.width ? { maxWidth: e.width, minWidth: e.width, width: e.width } : void 0, a = o && !b(e.orderDirection), E = a ? () => {
|
|
38
38
|
S(e.fieldKey, e.orderDirection);
|
|
39
|
-
} : void 0,
|
|
40
|
-
[n.checkboxType]: e.cellType ===
|
|
39
|
+
} : void 0, c = a && f(e), C = d(z(e.horizontalAlign), {
|
|
40
|
+
[n.checkboxType]: e.cellType === T.CHECKBOX
|
|
41
|
+
}), O = d(n.thBlock, "hoverable", {
|
|
41
42
|
[n.order]: a
|
|
42
|
-
}),
|
|
43
|
-
d,
|
|
44
|
-
c
|
|
45
|
-
] }) : /* @__PURE__ */ h(m, { children: [
|
|
43
|
+
}), h = [T.TEXT, void 0].includes(e.cellType) ? /* @__PURE__ */ r(B, { size: v.B3, children: e.label }) : e.label, g = e.horizontalAlign === s.RIGHT ? /* @__PURE__ */ m(p, { children: [
|
|
46
44
|
c,
|
|
47
|
-
|
|
45
|
+
h
|
|
46
|
+
] }) : /* @__PURE__ */ m(p, { children: [
|
|
47
|
+
h,
|
|
48
|
+
c
|
|
48
49
|
] });
|
|
49
50
|
return /* @__PURE__ */ r("th", { className: C, title: e.title, style: i, children: /* @__PURE__ */ r(
|
|
50
51
|
"span",
|
|
@@ -2,8 +2,8 @@ import { jsx as a } from "react/jsx-runtime";
|
|
|
2
2
|
import { getAriaHTMLAttributes as w } from "../../../../utils/html/AriaAttributes.js";
|
|
3
3
|
import { getDataHTMLAttributes as z } from "../../../../utils/html/DataAttributes.js";
|
|
4
4
|
import { DataTestId as K } from "../../../../consts/DataTestId.js";
|
|
5
|
-
import { c as m } from "../../../../chunks/vendor-
|
|
6
|
-
import { s as O, a as v, m as D, b as E } from "../../../../chunks/utils-
|
|
5
|
+
import { c as m } from "../../../../chunks/vendor-Ba_pyhza.js";
|
|
6
|
+
import { s as O, a as v, m as D, b as E } from "../../../../chunks/utils-DwX2_kEA.js";
|
|
7
7
|
import { ECellType as H } from "../enums.js";
|
|
8
8
|
import { ETextSize as M } from "../../../Typography/enums.js";
|
|
9
9
|
import { Text as $ } from "../../../Typography/Text.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as s } from "react";
|
|
3
3
|
import { ButtonDropdownExtended as a } from "../../Button/ButtonDropdownExtended.js";
|
|
4
|
-
import { c as l } from "../../../chunks/vendor-
|
|
4
|
+
import { c as l } from "../../../chunks/vendor-Ba_pyhza.js";
|
|
5
5
|
import { TableBasicSettingsBody as u } from "./components/TableBasicSettingsBody.js";
|
|
6
6
|
import { ColumnSettings as B } from "./components/ColumnSettings.js";
|
|
7
7
|
import { TableBasicSettingsFooter as w } from "./components/TableBasicSettingsFooter.js";
|
|
@@ -9,39 +9,39 @@ import { TableBasicSettingsHeader as x } from "./components/TableBasicSettingsHe
|
|
|
9
9
|
import { ETextSize as D } from "../../Typography/enums.js";
|
|
10
10
|
import { Link as T } from "../../Link/Link.js";
|
|
11
11
|
import { Text as k } from "../../Typography/Text.js";
|
|
12
|
-
const L = "
|
|
12
|
+
const L = "tableSettingsLink__da9a023a", h = "tableSettingsDropdown__060fd76f", m = {
|
|
13
13
|
tableSettingsLink: L,
|
|
14
14
|
tableSettingsDropdown: h
|
|
15
|
-
}, t = ({ children:
|
|
16
|
-
const r = s(null), i = s(null),
|
|
15
|
+
}, t = ({ children: d, className: p, linkTitle: c, ...f }) => {
|
|
16
|
+
const r = s(null), i = s(null), g = ({ opened: e, setOpened: n }) => /* @__PURE__ */ o(k, { size: D.B3, children: /* @__PURE__ */ o(
|
|
17
17
|
T,
|
|
18
18
|
{
|
|
19
19
|
href: "#",
|
|
20
20
|
"aria-haspopup": "listbox",
|
|
21
21
|
"aria-controls": "button-dropdown-extended-list",
|
|
22
22
|
"aria-expanded": e,
|
|
23
|
-
onClick: (
|
|
24
|
-
|
|
23
|
+
onClick: (b) => {
|
|
24
|
+
b.preventDefault(), n(!e);
|
|
25
25
|
},
|
|
26
26
|
ref: r,
|
|
27
27
|
children: c
|
|
28
28
|
}
|
|
29
|
-
) }),
|
|
29
|
+
) }), S = ({ className: e, ...n }) => /* @__PURE__ */ o(
|
|
30
30
|
a.Dropdown,
|
|
31
31
|
{
|
|
32
32
|
className: l(m.tableSettingsDropdown, e),
|
|
33
33
|
...n,
|
|
34
34
|
targetRef: r,
|
|
35
35
|
ref: i,
|
|
36
|
-
children:
|
|
36
|
+
children: d
|
|
37
37
|
}
|
|
38
38
|
);
|
|
39
39
|
return /* @__PURE__ */ o(
|
|
40
40
|
a,
|
|
41
41
|
{
|
|
42
|
-
className: l(m.tableSettingsLink,
|
|
43
|
-
renderButton:
|
|
44
|
-
renderDropdown:
|
|
42
|
+
className: l(m.tableSettingsLink, p),
|
|
43
|
+
renderButton: g,
|
|
44
|
+
renderDropdown: S,
|
|
45
45
|
dropdownRef: i,
|
|
46
46
|
...f
|
|
47
47
|
}
|
package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js
CHANGED
|
@@ -2,12 +2,12 @@ import { jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import i from "react";
|
|
3
3
|
import { ListSortableItemTarget as g } from "../../../List/components/ListSortableItemTarget.js";
|
|
4
4
|
import { ListSortableItemControls as l } from "../../../List/components/ListSortableItemControls.js";
|
|
5
|
-
import { c as n } from "../../../../chunks/vendor-
|
|
6
|
-
const c = "
|
|
5
|
+
import { c as n } from "../../../../chunks/vendor-Ba_pyhza.js";
|
|
6
|
+
const c = "columnSettingsSortableListItemTarget__6ccee5c7", S = "dragging__28e6209a", r = {
|
|
7
7
|
columnSettingsSortableListItemTarget: c,
|
|
8
8
|
dragging: S
|
|
9
|
-
},
|
|
10
|
-
({ children: o, className: s, style:
|
|
9
|
+
}, b = i.forwardRef(
|
|
10
|
+
({ children: o, className: s, style: f, dragging: t, ...a }, m) => /* @__PURE__ */ e(
|
|
11
11
|
g,
|
|
12
12
|
{
|
|
13
13
|
className: n(
|
|
@@ -22,8 +22,8 @@ const c = "columnSettingsSortableListItemTarget__78502f3a", S = "dragging__3915c
|
|
|
22
22
|
}
|
|
23
23
|
)
|
|
24
24
|
);
|
|
25
|
-
|
|
25
|
+
b.displayName = "ColumnSettingsSortableListItemTarget";
|
|
26
26
|
export {
|
|
27
|
-
|
|
27
|
+
b as ColumnSettingsSortableListItemTarget
|
|
28
28
|
};
|
|
29
29
|
//# sourceMappingURL=ColumnSettingsSortableListItemTarget.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import { c as o } from "../../../../chunks/vendor-
|
|
3
|
+
import { c as o } from "../../../../chunks/vendor-Ba_pyhza.js";
|
|
4
4
|
import { ListItem as c } from "../../../List/components/ListItem.js";
|
|
5
|
-
const n = "
|
|
5
|
+
const n = "columnSettingsStaticListItem__3a770c86", a = {
|
|
6
6
|
columnSettingsStaticListItem: n
|
|
7
7
|
}, r = e.forwardRef(
|
|
8
8
|
({ className: t, ...i }, s) => /* @__PURE__ */ m(c, { className: o(a.columnSettingsStaticListItem, t), ...i, ref: s })
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import o from "react";
|
|
3
|
-
import { c } from "../../../../chunks/vendor-
|
|
4
|
-
const
|
|
5
|
-
tableBasicSettingsBody:
|
|
6
|
-
},
|
|
7
|
-
({ children: t, className: s, ...a }, e) => /* @__PURE__ */ i("div", { className: c(
|
|
3
|
+
import { c } from "../../../../chunks/vendor-Ba_pyhza.js";
|
|
4
|
+
const d = "tableBasicSettingsBody__4b4de2d9", B = {
|
|
5
|
+
tableBasicSettingsBody: d
|
|
6
|
+
}, l = o.forwardRef(
|
|
7
|
+
({ children: t, className: s, ...a }, e) => /* @__PURE__ */ i("div", { className: c(B.tableBasicSettingsBody, s), ref: e, ...a, children: t })
|
|
8
8
|
);
|
|
9
|
-
|
|
9
|
+
l.displayName = "TableBasicSettingsBody";
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
l as TableBasicSettingsBody
|
|
12
12
|
};
|
|
13
13
|
//# sourceMappingURL=TableBasicSettingsBody.js.map
|
|
@@ -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-Ba_pyhza.js";
|
|
4
|
+
const c = "tableBasicSettingsFooter__07daa96e", 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,26 +1,26 @@
|
|
|
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-Ba_pyhza.js";
|
|
3
3
|
import { Text as r } from "../../../Typography/Text.js";
|
|
4
|
-
import { EFontWeightText as
|
|
5
|
-
const
|
|
6
|
-
tableBasicSettingsHeader:
|
|
7
|
-
},
|
|
4
|
+
import { EFontWeightText as o, ETextSize as c } from "../../../Typography/enums.js";
|
|
5
|
+
const l = "tableBasicSettingsHeader__b953b856", m = {
|
|
6
|
+
tableBasicSettingsHeader: l
|
|
7
|
+
}, n = ({
|
|
8
8
|
children: e,
|
|
9
9
|
className: t,
|
|
10
10
|
...a
|
|
11
11
|
}) => /* @__PURE__ */ s(
|
|
12
12
|
r,
|
|
13
13
|
{
|
|
14
|
-
className: i(
|
|
15
|
-
size:
|
|
16
|
-
weight:
|
|
14
|
+
className: i(m.tableBasicSettingsHeader, t),
|
|
15
|
+
size: c.B3,
|
|
16
|
+
weight: o.SEMIBOLD,
|
|
17
17
|
tag: "div",
|
|
18
18
|
...a,
|
|
19
19
|
children: e
|
|
20
20
|
}
|
|
21
21
|
);
|
|
22
|
-
|
|
22
|
+
n.displayName = "TableBasicSettingsHeader";
|
|
23
23
|
export {
|
|
24
|
-
|
|
24
|
+
n as TableBasicSettingsHeader
|
|
25
25
|
};
|
|
26
26
|
//# sourceMappingURL=TableBasicSettingsHeader.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { c as a } from "../../../chunks/vendor-
|
|
3
|
-
import { s as e } from "../../../chunks/TableFooter.module-
|
|
2
|
+
import { c as a } from "../../../chunks/vendor-Ba_pyhza.js";
|
|
3
|
+
import { s as e } from "../../../chunks/TableFooter.module-DrRycaTr.js";
|
|
4
4
|
import { FooterDescription as i } from "../../Footer/components/FooterDescription.js";
|
|
5
5
|
import { FooterDescriptionControls as l } from "../../Footer/components/FooterDescriptionControls.js";
|
|
6
6
|
import { TableFooterSummary as p } from "./components/TableFooterSummary.js";
|
|
@@ -3,7 +3,7 @@ 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-
|
|
6
|
+
import { s as n } from "../../../../chunks/TableFooter.module-DrRycaTr.js";
|
|
7
7
|
const u = Object.assign(
|
|
8
8
|
({ children: t, ...e }) => /* @__PURE__ */ o(r.Content, { ...e, children: /* @__PURE__ */ o("div", { className: n.tableFooterSummary, children: t }) }),
|
|
9
9
|
{
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { s as
|
|
1
|
+
import { jsxs as e, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { s as m } from "../../../../chunks/TableFooter.module-DrRycaTr.js";
|
|
3
3
|
import { Amount as s } from "../../../Amount/Amount.js";
|
|
4
|
-
import { Text as
|
|
5
|
-
import { ETextSize as
|
|
6
|
-
const n = ({ label:
|
|
7
|
-
/* @__PURE__ */ r("span", { className:
|
|
8
|
-
/* @__PURE__ */
|
|
9
|
-
|
|
4
|
+
import { Text as l } from "../../../Typography/Text.js";
|
|
5
|
+
import { ETextSize as i } from "../../../Typography/enums.js";
|
|
6
|
+
const n = ({ label: o, sum: a, currency: t }) => /* @__PURE__ */ e(l, { size: i.B3, className: m.tableFooterSummaryAmount, children: [
|
|
7
|
+
/* @__PURE__ */ r("span", { className: m.tableFooterSummaryDivider, children: "|" }),
|
|
8
|
+
/* @__PURE__ */ e("span", { className: m.tableFooterSummaryLabel, children: [
|
|
9
|
+
o,
|
|
10
10
|
" ",
|
|
11
|
-
/* @__PURE__ */ r(s, { value:
|
|
11
|
+
/* @__PURE__ */ r(s, { value: a, currency: t })
|
|
12
12
|
] })
|
|
13
13
|
] });
|
|
14
14
|
n.displayName = "TableFooterSummaryAmount";
|
|
@@ -1,31 +1,20 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
const c = ({
|
|
2
|
+
import { s as a } from "../../../../chunks/TableFooter.module-DrRycaTr.js";
|
|
3
|
+
import { ETextSize as s } from "../../../Typography/enums.js";
|
|
4
|
+
import { Link as i } from "../../../Link/Link.js";
|
|
5
|
+
import { Text as p } from "../../../Typography/Text.js";
|
|
6
|
+
const u = ({
|
|
8
7
|
children: o,
|
|
9
|
-
className: m,
|
|
10
8
|
onClick: t,
|
|
11
|
-
...
|
|
9
|
+
...m
|
|
12
10
|
}) => {
|
|
13
|
-
const
|
|
11
|
+
const l = (e) => {
|
|
14
12
|
e.preventDefault(), t == null || t(e);
|
|
15
13
|
};
|
|
16
|
-
return /* @__PURE__ */ r(
|
|
17
|
-
f,
|
|
18
|
-
{
|
|
19
|
-
...l,
|
|
20
|
-
href: "#",
|
|
21
|
-
className: s(i.tableFooterSummarySelectAllButton, m),
|
|
22
|
-
onClick: a,
|
|
23
|
-
children: o
|
|
24
|
-
}
|
|
25
|
-
) });
|
|
14
|
+
return /* @__PURE__ */ r(p, { size: s.B3, className: a.tableFooterSummarySelectAllButton, children: /* @__PURE__ */ r(i, { ...m, href: "#", onClick: l, children: o }) });
|
|
26
15
|
};
|
|
27
|
-
|
|
16
|
+
u.displayName = "TableFooterSummarySelectAllButton";
|
|
28
17
|
export {
|
|
29
|
-
|
|
18
|
+
u as TableFooterSummarySelectAllButton
|
|
30
19
|
};
|
|
31
20
|
//# sourceMappingURL=TableFooterSummarySelectAllButton.js.map
|
|
@@ -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-DrRycaTr.js";
|
|
3
3
|
const a = ({ children: e }) => /* @__PURE__ */ o("span", { className: t.tableFooterSummarySelectedCount, children: e });
|
|
4
4
|
a.displayName = "TableFooterSummarySelectedCount";
|
|
5
5
|
export {
|
|
@@ -1,12 +1,12 @@
|
|
|
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-Ba_pyhza.js";
|
|
3
3
|
import { TabsLinePanelLinks as l } from "./TabsLinePanelLinks.js";
|
|
4
|
-
const o = "
|
|
4
|
+
const o = "tabsLinePanel__954b8aec", L = {
|
|
5
5
|
tabsLinePanel: o
|
|
6
|
-
},
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
}, a = ({ children: s, className: e, ...n }) => /* @__PURE__ */ i("div", { className: t(L.tabsLinePanel, e), ...n, children: s });
|
|
7
|
+
a.Links = l;
|
|
8
|
+
a.displayName = "TabsLinePanel";
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
a as TabsLinePanel
|
|
11
11
|
};
|
|
12
12
|
//# sourceMappingURL=TabsLinePanel.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { c as i } from "../../chunks/vendor-
|
|
3
|
-
const L = "
|
|
2
|
+
import { c as i } from "../../chunks/vendor-Ba_pyhza.js";
|
|
3
|
+
const L = "tabsLinePanelLinks__d80940c3", t = {
|
|
4
4
|
tabsLinePanelLinks: L
|
|
5
5
|
}, l = ({
|
|
6
6
|
children: s,
|
package/components/Tabs/Tabs.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as c, jsxs as N } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as a, useRef as D } from "react";
|
|
3
3
|
import { TabsExtended as s } 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-Ba_pyhza.js";
|
|
6
6
|
import "../TabsExtended/TabsExtendedContext.js";
|
|
7
7
|
import "../TabsExtended/components/TabsExtendedTab.js";
|
|
8
8
|
import "../TabsExtended/components/TabsExtendedTabButton.js";
|
|
@@ -15,7 +15,7 @@ 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 = "tabButtonDropdown__ff5b844f", G = "sm__7fd386fc", H = "md__b2dc47b6", L = "lg__e904da7b", p = {
|
|
19
19
|
tabButtonDropdown: k,
|
|
20
20
|
sm: G,
|
|
21
21
|
md: H,
|
|
@@ -28,10 +28,10 @@ const k = "tabButtonDropdown__d006e213", G = "sm__4c5e0255", H = "md__c9fec0bd",
|
|
|
28
28
|
tabs: t,
|
|
29
29
|
...A
|
|
30
30
|
}) => {
|
|
31
|
-
const [h, m] = a(l || t[0].id), [w, C] = a(""), [F, S] = a(""), d = D(null),
|
|
31
|
+
const [h, m] = a(l || t[0].id), [w, C] = a(""), [F, S] = a(""), d = D(null), f = D(null), B = ({ dropdownItemsIds: e, onSelectTab: o }) => t.filter((n) => e.includes(n.id)).map((n) => ({ ...n, onSelect: () => o(n.id) })), I = (e, o) => /* @__PURE__ */ c(s.Content.Tab, { ...e, children: ({ selected: n, isFirstInlineTab: g, isLastInlineTab: E }) => {
|
|
32
32
|
const O = h === e.id ? 0 : -1, y = () => {
|
|
33
33
|
let r;
|
|
34
|
-
return w === e.id ? r = d : F === e.id && (r =
|
|
34
|
+
return w === e.id ? r = d : F === e.id && (r = f), r;
|
|
35
35
|
};
|
|
36
36
|
return /* @__PURE__ */ c(
|
|
37
37
|
s.Content.TabButton,
|
|
@@ -45,8 +45,8 @@ const k = "tabButtonDropdown__d006e213", G = "sm__4c5e0255", H = "md__c9fec0bd",
|
|
|
45
45
|
},
|
|
46
46
|
onKeyDown: (r) => {
|
|
47
47
|
var T, b;
|
|
48
|
-
const { key:
|
|
49
|
-
_(
|
|
48
|
+
const { key: u } = r;
|
|
49
|
+
_(u, "ARROW_LEFT") ? (g || (m(t[o - 1].id), (T = d.current) == null || T.focus()), r.preventDefault()) : _(u, "ARROW_RIGHT") && (E || (m(t[o + 1].id), (b = f.current) == null || b.focus()), r.preventDefault());
|
|
50
50
|
},
|
|
51
51
|
children: e.label
|
|
52
52
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { useState as r, useRef as T } from "react";
|
|
3
|
-
import { c as b } from "../../chunks/vendor-
|
|
3
|
+
import { c as b } from "../../chunks/vendor-Ba_pyhza.js";
|
|
4
4
|
import { TabsExtendedContext as E } from "./TabsExtendedContext.js";
|
|
5
5
|
import { TabsExtendedContent as I } from "./components/TabsExtendedContent.js";
|
|
6
|
-
import { s as u } from "../../chunks/TabsExtended.module-
|
|
6
|
+
import { s as u } from "../../chunks/TabsExtended.module-Be8qpZYz.js";
|
|
7
7
|
import { ETabsExtendedType as C } from "./enums.js";
|
|
8
|
-
import { t as v } from "../../chunks/utils-
|
|
8
|
+
import { t as v } from "../../chunks/utils-C9-tOm2Z.js";
|
|
9
9
|
import "./components/TabsExtendedDropdownWrapper.js";
|
|
10
10
|
import "./components/TabsExtendedTab.js";
|
|
11
11
|
import "./components/TabsExtendedTabButton.js";
|
|
@@ -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-Ba_pyhza.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-Be8qpZYz.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-Be8qpZYz.js";
|
|
4
|
+
import { c as a } from "../../../chunks/vendor-Ba_pyhza.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 p } from "react/jsx-runtime";
|
|
2
2
|
import x, { useContext as d } from "react";
|
|
3
|
-
import { s as o } from "../../../chunks/TabsExtended.module-
|
|
4
|
-
import { c as I } from "../../../chunks/vendor-
|
|
3
|
+
import { s as o } from "../../../chunks/TabsExtended.module-Be8qpZYz.js";
|
|
4
|
+
import { c as I } from "../../../chunks/vendor-Ba_pyhza.js";
|
|
5
5
|
import { TabsExtendedContext as u } from "../TabsExtendedContext.js";
|
|
6
6
|
import { TabsExtendedTabContext as E } from "./TabsExtendedTabContext.js";
|
|
7
7
|
const h = x.forwardRef(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import x, { useContext as i } from "react";
|
|
3
|
-
import { s as t, t as b, a as T } from "../../../chunks/utils-
|
|
4
|
-
import { c } from "../../../chunks/vendor-
|
|
3
|
+
import { s as t, t as b, a as T } from "../../../chunks/utils-C9-tOm2Z.js";
|
|
4
|
+
import { c } from "../../../chunks/vendor-Ba_pyhza.js";
|
|
5
5
|
import { EComponentSize as l } from "../../../enums/EComponentSize.js";
|
|
6
6
|
import { TabsExtendedContext as f } from "../TabsExtendedContext.js";
|
|
7
7
|
import { Text as u } from "../../Typography/Text.js";
|
|
@@ -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 { u as F, c as N, p as z } from "../../../chunks/vendor-
|
|
3
|
+
import { u as F, c as N, p as z } from "../../../chunks/vendor-Ba_pyhza.js";
|
|
4
4
|
import { TabsExtendedContext as _ } from "../TabsExtendedContext.js";
|
|
5
5
|
import { TabsExtendedTabContext as j } from "./TabsExtendedTabContext.js";
|
|
6
|
-
import { s as l } from "../../../chunks/TabsExtended.module-
|
|
6
|
+
import { s as l } from "../../../chunks/TabsExtended.module-Be8qpZYz.js";
|
|
7
7
|
const G = ({
|
|
8
8
|
children: s,
|
|
9
9
|
className: C,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./enums.js";
|
|
2
2
|
import "../../enums/EComponentSize.js";
|
|
3
|
-
import { a as s, t as i } from "../../chunks/utils-
|
|
3
|
+
import { a as s, t as i } from "../../chunks/utils-C9-tOm2Z.js";
|
|
4
4
|
import "../Typography/enums.js";
|
|
5
5
|
export {
|
|
6
6
|
s as tabsExtendedSizeToTextSizeMap,
|