@sberbusiness/triplex-next 1.1.1 → 1.3.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 +8 -8
- package/chunks/{AlertProcessSpoiler-Caa0745n.js → AlertProcessSpoiler-B91XiZ7K.js} +9 -9
- package/chunks/Card.module-NgdHcwYS.js +17 -0
- package/chunks/Chip-XyednI9u.js +87 -0
- package/chunks/DropdownListItem-g0mYNHIW.js +57 -0
- package/chunks/DropdownMobile.module-BBY44sVr.js +21 -0
- package/chunks/Footer.module-4a0n1yRR.js +11 -0
- package/chunks/{FormFieldInput-rV5ZVe9k.js → FormFieldInput-qaJqBTBV.js} +19 -19
- package/chunks/HeaderLayoutSidebar.module-BP0DyJae.js +9 -0
- package/chunks/HeaderTabs.module-CXcyvbb5.js +9 -0
- package/chunks/HeaderTitle.module-B-6xJFnf.js +9 -0
- package/chunks/{ListItemControlsButton-Ch-5PQYH.js → ListItemControlsButton-Ms4q9wDe.js} +10 -10
- package/chunks/ListItemTail.module-D5VudFCz.js +12 -0
- package/chunks/ListMasterFooter.module-DzXu5TSC.js +10 -0
- package/chunks/Notification.module-MX1NZXsu.js +21 -0
- package/chunks/Overlay.module-B1IlIRoo.js +18 -0
- package/chunks/Page.module-Cwb_zvqj.js +12 -0
- package/chunks/RightBorderArrow-D6ZllSTT.js +146 -0
- package/chunks/SuggestFieldMobileDropdownHint-Cc_fZLBH.js +15 -0
- package/chunks/TableFooter.module-D9_esv5A.js +13 -0
- package/chunks/TabsExtended.module--2PQhvJQ.js +16 -0
- package/chunks/TabsLine.module-CH_sqFyE.js +23 -0
- package/chunks/TooltipDesktop.module-D3cbaDX1.js +19 -0
- package/chunks/{UploadZoneInput-CXjerIVV.js → UploadZoneInput-Bkv3b0F5.js} +6 -6
- package/chunks/utils-BZFu5eVD.js +26 -0
- package/chunks/utils-CVSz7tV_.js +20 -0
- package/chunks/utils-D8e1oAR3.js +72 -0
- package/chunks/utils-DWPj89gs.js +36 -0
- package/chunks/utils-dyCpsmr1.js +48 -0
- package/chunks/vendor-CehxOAkM.js +11907 -0
- package/components/AbstractTree/AbstractTreeNode.js +50 -0
- package/components/AccordionBase/protected/AccordionBase.js +83 -0
- package/components/AccordionBase/types.js +2 -0
- package/components/Alert/AlertContext/AlertContext.js +9 -9
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +37 -0
- package/components/Amount/index.js +5 -0
- package/components/AmountField/AmountBaseInputCore.js +46 -0
- package/components/AmountField/AmountBaseInputFormatter.js +57 -0
- package/components/AmountField/AmountBaseInputParser.js +110 -0
- package/components/AmountField/AmountField.js +76 -0
- package/components/AmountField/index.js +5 -0
- package/components/AmountField/utils.js +38 -0
- package/components/Body/Body.js +6 -6
- package/components/Button/Button.js +68 -67
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +113 -127
- package/components/Button/ButtonDropdownExtended.js +9 -9
- package/components/Button/ButtonIcon.js +16 -20
- package/components/Button/enums.js +2 -3
- package/components/Button/index.js +9 -10
- package/components/Card/CardAction.js +16 -16
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +48 -0
- package/components/Checkbox/Checkbox.js +46 -30
- package/components/Checkbox/CheckboxXGroup.js +15 -15
- package/components/Checkbox/CheckboxYGroup.js +2 -2
- package/components/Checkbox/index.js +4 -6
- 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 +9 -0
- package/components/Chip/ChipClearButton.js +28 -0
- package/components/Chip/ChipDropdownArrow.js +18 -0
- package/components/Chip/ChipIcon.js +9 -0
- package/components/Chip/ChipOptions.js +27 -0
- package/components/Chip/ChipSelect.js +55 -0
- package/components/Chip/index.js +15 -0
- package/components/ChipGroup/ChipGroup.js +32 -0
- package/components/ChipGroup/index.js +5 -0
- 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 +95 -68
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +98 -76
- package/components/DesignTokens/components/Card.js +23 -20
- package/components/DesignTokens/components/Checkbox.js +32 -14
- package/components/DesignTokens/components/Chip.js +59 -0
- package/components/DesignTokens/components/Divider.js +9 -0
- package/components/DesignTokens/components/Dropdown.js +1 -1
- package/components/DesignTokens/components/DropdownList.js +2 -2
- package/components/DesignTokens/components/DropdownMobile.js +3 -3
- package/components/DesignTokens/components/FooterPage.js +3 -3
- package/components/DesignTokens/components/HeaderPage.js +4 -4
- package/components/DesignTokens/components/ListItemControlsButton.js +20 -5
- package/components/DesignTokens/components/LoaderScreen.js +17 -0
- package/components/DesignTokens/components/Marker.js +20 -0
- package/components/DesignTokens/components/MarkerStatus.js +9 -0
- package/components/DesignTokens/components/Notification.js +15 -0
- package/components/DesignTokens/components/Radio.js +22 -13
- package/components/DesignTokens/components/Stepper.js +71 -0
- package/components/DesignTokens/components/TableBasic.js +41 -0
- package/components/DesignTokens/components/Tabs.js +45 -15
- package/components/DesignTokens/components/TabsLine.js +32 -0
- package/components/DesignTokens/components/Tag.js +9 -0
- package/components/DesignTokens/components/index.js +110 -83
- package/components/Divider/Divider.js +34 -0
- package/components/Divider/index.js +5 -0
- package/components/Dropdown/desktop/DropdownDesktop.js +52 -51
- package/components/Dropdown/desktop/DropdownList.js +66 -53
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +9 -0
- package/components/Dropdown/index.js +33 -29
- 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 +9 -8
- package/components/Dropdown/mobile/DropdownMobileList.js +26 -17
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +20 -0
- package/components/Dropdown/mobile/index.js +5 -3
- package/components/Ellipsis/Ellipsis.js +27 -0
- package/components/Ellipsis/index.js +5 -0
- package/components/ExpandAnimation/ExpandAnimation.js +72 -0
- package/components/Footer/Footer.js +3 -3
- 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 +36 -35
- package/components/FormField/FormFieldContext.js +8 -7
- package/components/FormField/components/FormFieldClear.js +24 -20
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +9 -9
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +10 -10
- package/components/FormField/components/FormFieldMaskedInput.js +12 -12
- package/components/FormField/components/FormFieldPostfix.js +5 -5
- package/components/FormField/components/FormFieldPrefix.js +2 -2
- package/components/FormField/components/FormFieldTarget.js +17 -17
- package/components/FormField/components/FormFieldTextarea.js +6 -6
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +12 -12
- 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 +5 -5
- 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 +94 -0
- package/components/Island/Island.js +25 -66
- package/components/Island/components/IslandBody.js +2 -2
- package/components/Island/components/IslandFooter.js +2 -2
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/enums.js +1 -3
- package/components/Island/index.js +4 -6
- package/components/Island/types.js +2 -0
- package/components/Island/utils.js +8 -0
- package/components/Link/Link.js +18 -18
- package/components/List/List.js +12 -20
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -10
- package/components/List/components/ListItemContent.js +3 -3
- package/components/List/components/ListItemControls.js +8 -8
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +4 -2
- package/components/List/components/ListItemLoading.js +9 -7
- package/components/List/components/ListItemSelectable.js +6 -6
- package/components/List/components/ListItemTable.js +9 -9
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +8 -8
- 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 +8 -8
- 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 +7 -7
- package/components/ListMaster/components/SelectionControls.js +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +5 -5
- package/components/Loader/LoaderSmall/LoaderSmall.js +26 -37
- package/components/LoaderScreen/LoaderScreen.js +29 -0
- package/components/LoaderScreen/index.js +5 -0
- package/components/Marker/Marker.js +20 -0
- package/components/Marker/enums.js +5 -0
- package/components/Marker/index.js +7 -0
- package/components/Marker/utils.js +6 -0
- package/components/MarkerStatus/MarkerStatus.js +40 -0
- package/components/MarkerStatus/index.js +5 -0
- 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 +25 -0
- package/components/OrderedList/OrderedListItem.js +27 -0
- package/components/OrderedList/index.js +7 -0
- package/components/OrderedList/types.js +2 -0
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +2 -2
- package/components/Page/components/BodyPage.js +2 -2
- package/components/Page/components/FooterPage.js +28 -31
- package/components/Page/components/HeaderPage.js +26 -29
- package/components/Page/components/useStickyCornerRadius.js +34 -0
- package/components/Pagination/components/PaginationExtended.js +3 -3
- package/components/Pagination/components/PaginationNavigationButton.js +1 -1
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +2 -2
- package/components/Pagination/components/PaginationPageEllipsis.js +3 -3
- package/components/Pagination/components/PaginationSelect.js +9 -9
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +30 -22
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +7 -7
- package/components/Radio/index.js +4 -6
- package/components/Row/Row.js +10 -10
- package/components/SegmentedControl/SegmentedControl.js +39 -42
- package/components/SegmentedControl/SegmentedControlSegment.js +11 -11
- package/components/SelectExtendedField/SelectExtendedField.js +2 -2
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +5 -2
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +22 -18
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +37 -36
- package/components/SelectField/SelectField.js +62 -0
- package/components/SelectField/index.js +5 -0
- package/components/Skeleton/Skeleton.js +8 -8
- package/components/Stepper/RightBorderArrow.js +7 -0
- package/components/Stepper/Stepper.js +103 -0
- package/components/Stepper/StepperExtended.js +26 -0
- package/components/Stepper/StepperExtendedContext.js +12 -0
- package/components/Stepper/StepperStep.js +88 -0
- package/components/Stepper/StepperStepIcon.js +23 -0
- package/components/Stepper/StepperWrapper.js +12 -0
- package/components/Stepper/enums.js +7 -0
- package/components/Stepper/index.js +11 -0
- package/components/SuggestField/SuggestField.js +64 -0
- package/components/SuggestField/SuggestFieldTarget.js +67 -0
- package/components/SuggestField/SuggestFieldTargetPostfix.js +28 -0
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +196 -0
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +76 -0
- package/components/SuggestField/desktop/index.js +7 -0
- package/components/SuggestField/desktop/types.js +2 -0
- package/components/SuggestField/index.js +17 -0
- package/components/SuggestField/mobile/SuggestFieldMobile.js +79 -0
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +94 -0
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +10 -0
- package/components/SuggestField/mobile/SuggestFieldMobileTarget.js +30 -0
- package/components/SuggestField/mobile/index.js +11 -0
- package/components/SuggestField/mobile/types.js +2 -0
- package/components/SuggestField/types.js +2 -0
- package/components/SwipeableArea/SwipeableArea.js +13 -13
- package/components/Table/FilterPanel.js +18 -0
- package/components/Table/MasterTable.js +49 -0
- package/components/Table/MasterTableContext.js +11 -0
- package/components/Table/NoColumns.js +17 -0
- package/components/Table/PaginationPanel.js +18 -0
- package/components/Table/TableBasic/TableBasic.js +51 -0
- package/components/Table/TableBasic/components/TableBasicBody.js +18 -0
- package/components/Table/TableBasic/components/TableBasicHeader.js +83 -0
- package/components/Table/TableBasic/components/TableBasicRow.js +53 -0
- package/components/Table/TableBasic/enums.js +8 -0
- package/components/Table/TableBasic/types.js +2 -0
- package/components/Table/TableBasicSettings/TableBasicSettings.js +58 -0
- package/components/Table/TableBasicSettings/components/ColumnSettings.js +20 -0
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableList.js +24 -0
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItem.js +25 -0
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +29 -0
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticList.js +17 -0
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +14 -0
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +13 -0
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +13 -0
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +26 -0
- package/components/Table/TableFooter/TableFooter.js +14 -0
- package/components/Table/TableFooter/components/TableFooterSummary.js +19 -0
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +18 -0
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +31 -0
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +8 -0
- package/components/Table/TabsLinePanel.js +12 -0
- package/components/Table/TabsLinePanelLinks.js +14 -0
- package/components/Table/index.js +26 -0
- package/components/Table/utils.js +8 -0
- package/components/Tabs/Tabs.js +75 -0
- package/components/Tabs/index.js +5 -0
- package/components/TabsExtended/TabsExtended.js +37 -21
- package/components/TabsExtended/TabsExtendedContext.js +6 -4
- package/components/TabsExtended/components/TabsExtendedContent.js +19 -15
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +17 -15
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +7 -7
- package/components/TabsExtended/components/index.js +15 -0
- package/components/TabsExtended/enums.js +2 -2
- package/components/TabsExtended/index.js +15 -3
- package/components/TabsExtended/utils.js +9 -0
- package/components/TabsLine/TabsLine.js +48 -0
- package/components/TabsLine/components/TabsLineDesktop.js +81 -0
- package/components/TabsLine/components/TabsLineDropdown.js +151 -0
- package/components/TabsLine/components/TabsLineItem.js +26 -0
- package/components/TabsLine/components/TabsLineMobile.js +21 -0
- package/components/TabsLine/components/index.js +11 -0
- package/components/TabsLine/index.js +13 -0
- package/components/TabsLine/types.js +2 -0
- 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/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ThemeProvider/components/ThemeProviderView.js +4 -4
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +11 -11
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +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/Typography/Caption.js +12 -12
- package/components/Typography/Text.js +19 -19
- package/components/Typography/Title.js +11 -11
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +25 -0
- package/components/UnorderedList/UnorderedListItem.js +27 -0
- package/components/UnorderedList/index.js +7 -0
- package/components/UnorderedList/types.js +2 -0
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/index.js +379 -278
- package/consts/AmountConst.js +10 -0
- package/consts/DataTestId.js +19 -0
- package/enums/EComponentSize.js +5 -0
- package/enums/index.js +7 -0
- package/helpers/less/z-indexes.less +3 -3
- package/index.d.ts +1235 -148
- package/index.js +368 -265
- package/package.json +85 -6
- package/styles/triplex-next.css +441 -354
- package/types/CoreTypes.js +2 -0
- package/utils/amountUtils.js +34 -0
- package/utils/classNameMaps.js +10 -0
- package/utils/html/AriaAttributes.js +11 -0
- package/utils/html/DataAttributes.js +11 -0
- package/utils/inputUtils.js +11 -0
- package/utils/isNullOrUndefined.js +5 -0
- package/utils/scroll.js +13 -0
- package/utils/stringUtils.js +13 -0
- package/chunks/Card.module-BRANBAxP.js +0 -17
- package/chunks/DropdownListItem-DIIAnvmw.js +0 -56
- package/chunks/DropdownMobile.module-BUeZuAYr.js +0 -19
- package/chunks/Footer.module-BFo05t5_.js +0 -11
- package/chunks/HeaderLayoutSidebar.module-CEqBuRNu.js +0 -9
- package/chunks/HeaderTabs.module-BEaVu2Hx.js +0 -9
- package/chunks/HeaderTitle.module-Db-1fcNm.js +0 -9
- package/chunks/ListItemTail.module-C5-4SAqt.js +0 -12
- package/chunks/ListMasterFooter.module-Dph-_lLg.js +0 -10
- package/chunks/Overlay.module-D6LEz1jT.js +0 -18
- package/chunks/Page.module-Ct9ky9ko.js +0 -16
- package/chunks/TabsExtended.module-CmU9j8zG.js +0 -13
- package/chunks/TabsExtendedUtils-CkAvE1fA.js +0 -23
- package/chunks/TooltipDesktop.module-KrPZMfQD.js +0 -19
- package/chunks/utils-bbbspEnw.js +0 -36
- package/chunks/vendor-D-uL_icH.js +0 -5895
- package/components/Checkbox/enum.js +0 -5
- package/components/DesignTokens/components/LoaderWidget.js +0 -17
- package/components/LoaderWidget/LoaderWidget.js +0 -28
- package/components/LoaderWidget/index.js +0 -5
- package/components/Radio/enum.js +0 -5
- package/components/TabsExtended/TabsExtendedUtils.js +0 -8
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as i, useEffect as m } from "react";
|
|
3
3
|
import { FormFieldDescriptionContext as n } from "../FormFieldDescriptionContext.js";
|
|
4
|
-
const s = "
|
|
4
|
+
const s = "formFieldCounter__7ce56eb6", u = {
|
|
5
5
|
formFieldCounter: s
|
|
6
|
-
},
|
|
6
|
+
}, l = ({ children: e, ...o }) => {
|
|
7
7
|
const { setWithCounter: t } = i(n);
|
|
8
8
|
return m(() => {
|
|
9
9
|
t(!0);
|
|
10
|
-
}, []), /* @__PURE__ */ r("div", { className: u.formFieldCounter, ...
|
|
10
|
+
}, []), /* @__PURE__ */ r("div", { className: u.formFieldCounter, ...o, children: e });
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
l.displayName = "FormFieldCounter";
|
|
13
13
|
export {
|
|
14
|
-
|
|
14
|
+
l as FormFieldCounter
|
|
15
15
|
};
|
|
16
16
|
//# sourceMappingURL=FormFieldCounter.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useState as n } from "react";
|
|
3
|
-
import { c } from "../../../chunks/vendor-
|
|
3
|
+
import { c } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
4
|
import { FormFieldDescriptionContext as m } from "../FormFieldDescriptionContext.js";
|
|
5
|
-
const l = "
|
|
5
|
+
const l = "formFieldDescription__ecd88c15", p = "withCounter__b4552fba", i = {
|
|
6
6
|
formFieldDescription: l,
|
|
7
|
-
withCounter:
|
|
8
|
-
},
|
|
9
|
-
const [
|
|
10
|
-
return /* @__PURE__ */
|
|
7
|
+
withCounter: p
|
|
8
|
+
}, d = ({ children: e, ...r }) => {
|
|
9
|
+
const [o, s] = n(!1);
|
|
10
|
+
return /* @__PURE__ */ t(m.Provider, { value: { withCounter: o, setWithCounter: s }, children: /* @__PURE__ */ t("div", { className: c(i.formFieldDescription, { [i.withCounter]: o }), ...r, children: e }) });
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
d.displayName = "FormFieldDescription";
|
|
13
13
|
export {
|
|
14
|
-
|
|
14
|
+
d as FormFieldDescription
|
|
15
15
|
};
|
|
16
16
|
//# sourceMappingURL=FormFieldDescription.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../FormFieldContext.js";
|
|
4
|
-
import "../../../chunks/vendor-
|
|
5
|
-
import { F as e } from "../../../chunks/FormFieldInput-
|
|
4
|
+
import "../../../chunks/vendor-CehxOAkM.js";
|
|
5
|
+
import { F as e } from "../../../chunks/FormFieldInput-qaJqBTBV.js";
|
|
6
6
|
import "../enums.js";
|
|
7
7
|
export {
|
|
8
8
|
e as FormFieldInput
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import p, { useContext as T, useState as g, useEffect as E } from "react";
|
|
3
3
|
import { FormFieldContext as h } from "../FormFieldContext.js";
|
|
4
|
-
import { TARGET_PADDING_X_DEFAULT as
|
|
5
|
-
import { k as D, c as N } from "../../../chunks/vendor-
|
|
4
|
+
import { TARGET_PADDING_X_DEFAULT as m } from "../consts.js";
|
|
5
|
+
import { k as D, c as N } from "../../../chunks/vendor-CehxOAkM.js";
|
|
6
6
|
import { EFormFieldStatus as y } from "../enums.js";
|
|
7
|
-
const A = "
|
|
7
|
+
const A = "formFieldLabel__36b5d883", R = "floating__151d1c42", S = "formFieldLabelText__dc9c6c94", C = "disabled__6740a811", s = {
|
|
8
8
|
formFieldLabel: A,
|
|
9
|
-
"size-sm": "size-
|
|
10
|
-
"size-md": "size-
|
|
11
|
-
"size-lg": "size-
|
|
9
|
+
"size-sm": "size-sm__9630bcf7",
|
|
10
|
+
"size-md": "size-md__8548c27f",
|
|
11
|
+
"size-lg": "size-lg__1b21a350",
|
|
12
12
|
floating: R,
|
|
13
13
|
formFieldLabelText: S,
|
|
14
14
|
disabled: C
|
|
15
15
|
}, G = p.forwardRef(
|
|
16
|
-
({ children:
|
|
16
|
+
({ children: f, className: r, style: c, floating: e, ...n }, b) => {
|
|
17
17
|
const { status: F, focused: t, id: _, prefixWidth: L, postfixWidth: x, size: i, valueExist: a } = T(h), [l, o] = g(!1);
|
|
18
18
|
E(() => {
|
|
19
19
|
!D(e) && e !== l ? o(e) : e !== l && o(t || a);
|
|
@@ -28,12 +28,12 @@ const A = "formFieldLabel__c51d74b4", R = "floating__e5ce83ad", S = "formFieldLa
|
|
|
28
28
|
r
|
|
29
29
|
), z = {
|
|
30
30
|
// Левая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
31
|
-
left: L ||
|
|
31
|
+
left: L || m,
|
|
32
32
|
// Правая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
33
|
-
right: x ||
|
|
33
|
+
right: x || m,
|
|
34
34
|
...c
|
|
35
35
|
};
|
|
36
|
-
return /* @__PURE__ */ d("label", { className: u, ref: b, htmlFor: _, ...n, style: z, children: /* @__PURE__ */ d("span", { className: s.formFieldLabelText, children:
|
|
36
|
+
return /* @__PURE__ */ d("label", { className: u, ref: b, htmlFor: _, ...n, style: z, children: /* @__PURE__ */ d("span", { className: s.formFieldLabelText, children: f }) });
|
|
37
37
|
}
|
|
38
38
|
);
|
|
39
39
|
G.displayName = "FormFieldLabel";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsxs as N, jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { useState as O, useRef as A, useContext as B, useEffect as D, useCallback as U } from "react";
|
|
3
|
-
import { c as F,
|
|
3
|
+
import { c as F, m as q, n as p } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
4
|
import { presets as G } from "./FormFieldMaskedInputPresets.js";
|
|
5
|
-
import { s as H, F as J } from "../../../chunks/FormFieldInput-
|
|
5
|
+
import { s as H, F as J } from "../../../chunks/FormFieldInput-qaJqBTBV.js";
|
|
6
6
|
import { FormFieldContext as K } from "../FormFieldContext.js";
|
|
7
|
-
const L = "
|
|
7
|
+
const L = "formFieldMaskedInputWrapper__48d2ab9a", Q = "formFieldMaskedInputPlaceholder__b4bb4c5e", X = "formFieldMaskedInput__a59ccd01", l = {
|
|
8
8
|
formFieldMaskedInputWrapper: L,
|
|
9
9
|
formFieldMaskedInputPlaceholder: Q,
|
|
10
|
-
"size-sm": "size-
|
|
11
|
-
"size-md": "size-
|
|
12
|
-
"size-lg": "size-
|
|
10
|
+
"size-sm": "size-sm__9630bcf7",
|
|
11
|
+
"size-md": "size-md__8548c27f",
|
|
12
|
+
"size-lg": "size-lg__1b21a350",
|
|
13
13
|
formFieldMaskedInput: X
|
|
14
14
|
}, c = ({
|
|
15
15
|
className: I,
|
|
@@ -23,7 +23,7 @@ const L = "formFieldMaskedInputWrapper__ca6ee10c", Q = "formFieldMaskedInputPlac
|
|
|
23
23
|
value: s,
|
|
24
24
|
..._
|
|
25
25
|
}) => {
|
|
26
|
-
const [V, x] = O(""), a = A(!1), { valueExist: y, focused: z, size:
|
|
26
|
+
const [V, x] = O(""), a = A(!1), { valueExist: y, focused: z, size: b } = B(K);
|
|
27
27
|
D(() => {
|
|
28
28
|
x((() => {
|
|
29
29
|
let t = [];
|
|
@@ -40,13 +40,13 @@ const L = "formFieldMaskedInputWrapper__ca6ee10c", Q = "formFieldMaskedInputPlac
|
|
|
40
40
|
return t.join("");
|
|
41
41
|
})());
|
|
42
42
|
}, [s, o, i, u]);
|
|
43
|
-
const
|
|
43
|
+
const k = U(
|
|
44
44
|
(e) => {
|
|
45
45
|
const { value: t } = e.target;
|
|
46
46
|
a.current = !1, s !== t && (d == null || d(e));
|
|
47
47
|
},
|
|
48
48
|
[s, d]
|
|
49
|
-
),
|
|
49
|
+
), T = () => {
|
|
50
50
|
a.current = !0;
|
|
51
51
|
}, E = (e, t) => o === c.presets.masks.phone ? e.length ? P(t.rawValue) : e : o === c.presets.masks.swiftCode ? e.toUpperCase() : e, P = (e) => {
|
|
52
52
|
let t = [];
|
|
@@ -61,7 +61,7 @@ const L = "formFieldMaskedInputWrapper__ca6ee10c", Q = "formFieldMaskedInputPlac
|
|
|
61
61
|
}, W = () => o === c.presets.masks.phone ? (s = P(s).value, s) : p.conformToMask(s, o, { guide: !1, placeholderChar: i }).conformedValue, j = (e) => (t) => {
|
|
62
62
|
t && e(t), typeof f == "function" ? f(t) : f && (f.current = t);
|
|
63
63
|
}, S = () => !y && !z || !s && M ? "" : V;
|
|
64
|
-
return /* @__PURE__ */ N("div", { className: F(l.formFieldMaskedInputWrapper, l[`size-${
|
|
64
|
+
return /* @__PURE__ */ N("div", { className: F(l.formFieldMaskedInputWrapper, l[`size-${b}`]), children: [
|
|
65
65
|
/* @__PURE__ */ m(
|
|
66
66
|
"input",
|
|
67
67
|
{
|
|
@@ -87,8 +87,8 @@ const L = "formFieldMaskedInputWrapper__ca6ee10c", Q = "formFieldMaskedInputPlac
|
|
|
87
87
|
guide: !1,
|
|
88
88
|
render: (e, t) => /* @__PURE__ */ m(J, { ...t, value: s, placeholder: M || "", ref: j(e) }),
|
|
89
89
|
mask: o,
|
|
90
|
-
onChange:
|
|
91
|
-
onPaste:
|
|
90
|
+
onChange: k,
|
|
91
|
+
onPaste: T,
|
|
92
92
|
placeholderChar: i,
|
|
93
93
|
value: W(),
|
|
94
94
|
pipe: E,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import l, { useContext as x, useRef as u, useEffect as a } from "react";
|
|
3
3
|
import { FormFieldContext as F } from "../FormFieldContext.js";
|
|
4
|
-
import { c as p } from "../../../chunks/vendor-
|
|
5
|
-
const P = "
|
|
4
|
+
import { c as p } from "../../../chunks/vendor-CehxOAkM.js";
|
|
5
|
+
const P = "formFieldPostfix__e971da17", R = {
|
|
6
6
|
formFieldPostfix: P
|
|
7
7
|
}, _ = l.forwardRef(
|
|
8
|
-
({ children: s, className:
|
|
9
|
-
const
|
|
8
|
+
({ children: s, className: i, ...r }, o) => {
|
|
9
|
+
const f = p(R.formFieldPostfix, i), { postfixWidth: n, setPostfixWidth: c } = x(F), e = u(), m = (t) => {
|
|
10
10
|
e.current = t, typeof o == "function" ? o(t) : o && (o.current = t);
|
|
11
11
|
};
|
|
12
12
|
return a(() => {
|
|
@@ -14,7 +14,7 @@ const P = "formFieldPostfix__ba8f395d", R = {
|
|
|
14
14
|
return;
|
|
15
15
|
const { width: t } = e.current.getBoundingClientRect();
|
|
16
16
|
t !== n && c(t);
|
|
17
|
-
}), /* @__PURE__ */ d("span", { className:
|
|
17
|
+
}), /* @__PURE__ */ d("span", { className: f, ref: m, ...r, children: s });
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
_.displayName = "FormFieldPostfix";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import d, { useContext as x, useRef as u, useEffect as a } from "react";
|
|
3
3
|
import { FormFieldContext as F } from "../FormFieldContext.js";
|
|
4
|
-
import { c as p } from "../../../chunks/vendor-
|
|
5
|
-
const P = "
|
|
4
|
+
import { c as p } from "../../../chunks/vendor-CehxOAkM.js";
|
|
5
|
+
const P = "formFieldPrefix__2954ab80", R = {
|
|
6
6
|
formFieldPrefix: P
|
|
7
7
|
}, _ = d.forwardRef(
|
|
8
8
|
({ children: o, className: i, ...f }, r) => {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { jsx as I } from "react/jsx-runtime";
|
|
2
2
|
import x, { useContext as E, useRef as T, useEffect as m } from "react";
|
|
3
3
|
import { FormFieldContext as B } from "../FormFieldContext.js";
|
|
4
|
-
import { c as S,
|
|
5
|
-
import { EFormFieldStatus as
|
|
6
|
-
const L = "
|
|
4
|
+
import { c as S, a as A } from "../../../chunks/vendor-CehxOAkM.js";
|
|
5
|
+
import { EFormFieldStatus as o } from "../enums.js";
|
|
6
|
+
const L = "formFieldTarget__9c0f7f73", N = "placeholder__9c805a4f", R = "disabled__6740a811", d = {
|
|
7
7
|
formFieldTarget: L,
|
|
8
8
|
placeholder: N,
|
|
9
9
|
disabled: R,
|
|
10
|
-
"size-sm": "size-
|
|
11
|
-
"size-md": "size-
|
|
12
|
-
"size-lg": "size-
|
|
10
|
+
"size-sm": "size-sm__9630bcf7",
|
|
11
|
+
"size-md": "size-md__8548c27f",
|
|
12
|
+
"size-lg": "size-lg__1b21a350"
|
|
13
13
|
}, y = x.forwardRef((F, _) => {
|
|
14
|
-
const { className: p, id: e, onBlur: l, onFocus: i, placeholder: n, children: s, ...
|
|
15
|
-
[
|
|
16
|
-
[
|
|
17
|
-
}),
|
|
14
|
+
const { className: p, id: e, onBlur: l, onFocus: i, placeholder: n, children: s, ...g } = F, { status: r, setFocused: f, setId: t, setValueExist: u, size: h } = E(B), b = S(d.formFieldTarget, p, d[`size-${h}`], {
|
|
15
|
+
[d.disabled]: r === o.DISABLED,
|
|
16
|
+
[d.placeholder]: !!n && !s && r !== o.DISABLED
|
|
17
|
+
}), a = T(e || A("formFieldTarget_"));
|
|
18
18
|
m(() => {
|
|
19
|
-
t(
|
|
19
|
+
t(a.current);
|
|
20
20
|
}, [t]), m(() => {
|
|
21
|
-
e && (
|
|
21
|
+
e && (a.current = e, t(a.current));
|
|
22
22
|
}, [e, t]), m(() => {
|
|
23
23
|
u(!!s);
|
|
24
24
|
}, [u, s]);
|
|
@@ -30,13 +30,13 @@ const L = "formFieldTarget__626119bb", N = "placeholder__645948c6", R = "disable
|
|
|
30
30
|
return /* @__PURE__ */ I(
|
|
31
31
|
"div",
|
|
32
32
|
{
|
|
33
|
-
...
|
|
34
|
-
className:
|
|
35
|
-
"aria-disabled": r ===
|
|
36
|
-
id:
|
|
33
|
+
...g,
|
|
34
|
+
className: b,
|
|
35
|
+
"aria-disabled": r === o.DISABLED,
|
|
36
|
+
id: a.current,
|
|
37
37
|
onFocus: D,
|
|
38
38
|
onBlur: z,
|
|
39
|
-
tabIndex: r ===
|
|
39
|
+
tabIndex: r === o.DISABLED ? -1 : 0,
|
|
40
40
|
ref: _,
|
|
41
41
|
children: s || n
|
|
42
42
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as I } from "react/jsx-runtime";
|
|
2
2
|
import _, { useContext as h, useRef as N, useEffect as c } from "react";
|
|
3
3
|
import { FormFieldContext as R } from "../FormFieldContext.js";
|
|
4
|
-
import {
|
|
5
|
-
import { EFormFieldStatus as
|
|
6
|
-
const
|
|
7
|
-
formFieldTextarea:
|
|
4
|
+
import { a as y, c as C } from "../../../chunks/vendor-CehxOAkM.js";
|
|
5
|
+
import { EFormFieldStatus as D } from "../enums.js";
|
|
6
|
+
const S = "formFieldTextarea__4f39e5a8", b = {
|
|
7
|
+
formFieldTextarea: S
|
|
8
8
|
}, j = _.forwardRef(
|
|
9
9
|
({ className: i, id: e, onBlur: a, onFocus: s, placeholder: l, value: o, ...n }, x) => {
|
|
10
|
-
const { status: u, focused: F, setFocused: d, setId: t, setValueExist: f } = h(R), r = N(e ||
|
|
10
|
+
const { status: u, focused: F, setFocused: d, setId: t, setValueExist: f } = h(R), r = N(e || y()), p = C(b.formFieldTextarea, i);
|
|
11
11
|
c(() => {
|
|
12
12
|
t(r.current);
|
|
13
13
|
}, [t]), c(() => {
|
|
@@ -26,7 +26,7 @@ const D = "formFieldTextarea__5f79b298", S = {
|
|
|
26
26
|
...n,
|
|
27
27
|
id: r.current,
|
|
28
28
|
className: p,
|
|
29
|
-
disabled: u ===
|
|
29
|
+
disabled: u === D.DISABLED,
|
|
30
30
|
onFocus: E,
|
|
31
31
|
onBlur: T,
|
|
32
32
|
placeholder: F ? l : void 0,
|
|
@@ -4,7 +4,7 @@ import { FormFieldCounter as i } from "./components/FormFieldCounter.js";
|
|
|
4
4
|
import { FormFieldLabel as p } from "./components/FormFieldLabel.js";
|
|
5
5
|
import { FormFieldClear as d } from "./components/FormFieldClear.js";
|
|
6
6
|
import { FormFieldTarget as a } from "./components/FormFieldTarget.js";
|
|
7
|
-
import { F as n } from "../../chunks/FormFieldInput-
|
|
7
|
+
import { F as n } from "../../chunks/FormFieldInput-qaJqBTBV.js";
|
|
8
8
|
import { FormFieldMaskedInput as C } from "./components/FormFieldMaskedInput.js";
|
|
9
9
|
import { FormFieldPostfix as I } from "./components/FormFieldPostfix.js";
|
|
10
10
|
import { FormFieldPrefix as S } from "./components/FormFieldPrefix.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import d from "react";
|
|
3
|
-
import { c as m } from "../../chunks/vendor-
|
|
3
|
+
import { c as m } from "../../chunks/vendor-CehxOAkM.js";
|
|
4
4
|
import { HeaderTabs as s } from "./components/HeaderTabs/HeaderTabs.js";
|
|
5
|
-
import { HeaderTitle as
|
|
6
|
-
import { HeaderSubheader as
|
|
5
|
+
import { HeaderTitle as p } from "./components/HeaderTitle/HeaderTitle.js";
|
|
6
|
+
import { HeaderSubheader as c } from "./components/HeaderSubheader/HeaderSubheader.js";
|
|
7
7
|
import { HeaderLayoutSidebar as f } from "./components/HeaderLayoutSidebar/HeaderLayoutSidebar.js";
|
|
8
8
|
import "./components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js";
|
|
9
9
|
import "./components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js";
|
|
@@ -11,30 +11,30 @@ import "./components/HeaderTabs/HeaderTabsContent.js";
|
|
|
11
11
|
import "./components/HeaderTabs/HeaderTabsControls.js";
|
|
12
12
|
import "./components/HeaderTitle/HeaderTitleContent.js";
|
|
13
13
|
import "./components/HeaderTitle/HeaderTitleControls.js";
|
|
14
|
-
const
|
|
15
|
-
header:
|
|
16
|
-
sticky:
|
|
17
|
-
},
|
|
14
|
+
const b = "header__37be86b5", n = "sticky__df5d66de", e = {
|
|
15
|
+
header: b,
|
|
16
|
+
sticky: n
|
|
17
|
+
}, l = Object.assign(
|
|
18
18
|
d.forwardRef(function({ className: r, sticky: t, ...a }, o) {
|
|
19
19
|
return /* @__PURE__ */ i(
|
|
20
20
|
"div",
|
|
21
21
|
{
|
|
22
22
|
className: m(e.header, { [e.sticky]: !!t }, r),
|
|
23
23
|
...a,
|
|
24
|
-
"data-tx": "1.
|
|
24
|
+
"data-tx": "1.3.0",
|
|
25
25
|
ref: o
|
|
26
26
|
}
|
|
27
27
|
);
|
|
28
28
|
}),
|
|
29
29
|
{
|
|
30
30
|
LayoutSidebar: f,
|
|
31
|
-
Subhead:
|
|
31
|
+
Subhead: c,
|
|
32
32
|
Tabs: s,
|
|
33
|
-
Title:
|
|
33
|
+
Title: p
|
|
34
34
|
}
|
|
35
35
|
);
|
|
36
|
-
|
|
36
|
+
l.displayName = "Header";
|
|
37
37
|
export {
|
|
38
|
-
|
|
38
|
+
l as Header
|
|
39
39
|
};
|
|
40
40
|
//# sourceMappingURL=Header.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import d from "react";
|
|
3
|
-
import { c as i } from "../../../../chunks/vendor-
|
|
3
|
+
import { c as i } from "../../../../chunks/vendor-CehxOAkM.js";
|
|
4
4
|
import { HeaderLayoutSidebarContent as m } from "./HeaderLayoutSidebarContent.js";
|
|
5
5
|
import { HeaderLayoutSidebarSidebar as s } from "./HeaderLayoutSidebarSidebar.js";
|
|
6
|
-
import { s as f } from "../../../../chunks/HeaderLayoutSidebar.module-
|
|
6
|
+
import { s as f } from "../../../../chunks/HeaderLayoutSidebar.module-BP0DyJae.js";
|
|
7
7
|
const b = Object.assign(
|
|
8
8
|
d.forwardRef(function({ children: e, className: r, ...a }, o) {
|
|
9
9
|
return /* @__PURE__ */ t("div", { className: i(f.headerLayoutSidebar, r), ...a, ref: o, children: e });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import s from "react";
|
|
3
|
-
import { c as d } from "../../../../chunks/vendor-
|
|
4
|
-
import { s as m } from "../../../../chunks/HeaderLayoutSidebar.module-
|
|
3
|
+
import { c as d } from "../../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
import { s as m } from "../../../../chunks/HeaderLayoutSidebar.module-BP0DyJae.js";
|
|
5
5
|
const i = s.forwardRef(
|
|
6
6
|
({ children: e, className: a, ...t }, o) => /* @__PURE__ */ r("div", { className: d(m.headerLayoutSidebarContent, a), ...t, ref: o, children: e })
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { c as t } from "../../../../chunks/vendor-
|
|
4
|
-
import { s } from "../../../../chunks/HeaderLayoutSidebar.module-
|
|
3
|
+
import { c as t } from "../../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
import { s } from "../../../../chunks/HeaderLayoutSidebar.module-BP0DyJae.js";
|
|
5
5
|
const m = i.forwardRef(
|
|
6
6
|
({ children: a, className: r, ...e }, o) => /* @__PURE__ */ d("div", { className: t(s.headerLayoutSidebarSidebar, r), ...e, ref: o, children: a })
|
|
7
7
|
);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import h from "react";
|
|
3
|
-
import { c as i } from "../../../../chunks/vendor-
|
|
4
|
-
const u = "
|
|
3
|
+
import { c as i } from "../../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
const u = "headerSubheader__a1efa4de", n = "withoutPaddings__879b0d85", e = {
|
|
5
5
|
headerSubheader: u,
|
|
6
6
|
withoutPaddings: n
|
|
7
|
-
},
|
|
7
|
+
}, c = h.forwardRef(
|
|
8
8
|
({ children: a, className: d, withoutPaddings: r, ...t }, o) => /* @__PURE__ */ s(
|
|
9
9
|
"div",
|
|
10
10
|
{
|
|
@@ -15,8 +15,8 @@ const u = "headerSubheader__a90e6eb1", n = "withoutPaddings__7140d3b9", e = {
|
|
|
15
15
|
}
|
|
16
16
|
)
|
|
17
17
|
);
|
|
18
|
-
|
|
18
|
+
c.displayName = "HeaderSubheader";
|
|
19
19
|
export {
|
|
20
|
-
|
|
20
|
+
c as HeaderSubheader
|
|
21
21
|
};
|
|
22
22
|
//# sourceMappingURL=HeaderSubheader.js.map
|
|
@@ -2,8 +2,8 @@ import { jsx as s } from "react/jsx-runtime";
|
|
|
2
2
|
import t from "react";
|
|
3
3
|
import { HeaderTabsContent as m } from "./HeaderTabsContent.js";
|
|
4
4
|
import { HeaderTabsControls as n } from "./HeaderTabsControls.js";
|
|
5
|
-
import { c as d } from "../../../../chunks/vendor-
|
|
6
|
-
import { s as f } from "../../../../chunks/HeaderTabs.module-
|
|
5
|
+
import { c as d } from "../../../../chunks/vendor-CehxOAkM.js";
|
|
6
|
+
import { s as f } from "../../../../chunks/HeaderTabs.module-CXcyvbb5.js";
|
|
7
7
|
const i = Object.assign(
|
|
8
8
|
t.forwardRef(function({ children: r, className: e, ...a }, o) {
|
|
9
9
|
return /* @__PURE__ */ s("div", { className: d(f.headerTabs, e), ...a, ref: o, children: r });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import s from "react";
|
|
3
|
-
import { c as m } from "../../../../chunks/vendor-
|
|
4
|
-
import { s as n } from "../../../../chunks/HeaderTabs.module-
|
|
3
|
+
import { c as m } from "../../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
import { s as n } from "../../../../chunks/HeaderTabs.module-CXcyvbb5.js";
|
|
5
5
|
const d = s.forwardRef(
|
|
6
6
|
({ children: e, className: r, ...t }, a) => /* @__PURE__ */ o("div", { className: m(n.headerTabsContent, r), ...t, ref: a, children: e })
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import t from "react";
|
|
3
|
-
import { c as m } from "../../../../chunks/vendor-
|
|
4
|
-
import { s as l } from "../../../../chunks/HeaderTabs.module-
|
|
3
|
+
import { c as m } from "../../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
import { s as l } from "../../../../chunks/HeaderTabs.module-CXcyvbb5.js";
|
|
5
5
|
const d = t.forwardRef(
|
|
6
6
|
({ children: o, className: r, ...s }, a) => /* @__PURE__ */ e("div", { className: m(l.headerTabsControls, r), ...s, ref: a, children: o })
|
|
7
7
|
);
|
|
@@ -2,8 +2,8 @@ import { jsx as a } from "react/jsx-runtime";
|
|
|
2
2
|
import i from "react";
|
|
3
3
|
import { HeaderTitleContent as s } from "./HeaderTitleContent.js";
|
|
4
4
|
import { HeaderTitleControls as m } from "./HeaderTitleControls.js";
|
|
5
|
-
import { c as l } from "../../../../chunks/vendor-
|
|
6
|
-
import { s as n } from "../../../../chunks/HeaderTitle.module-
|
|
5
|
+
import { c as l } from "../../../../chunks/vendor-CehxOAkM.js";
|
|
6
|
+
import { s as n } from "../../../../chunks/HeaderTitle.module-B-6xJFnf.js";
|
|
7
7
|
const d = Object.assign(
|
|
8
8
|
i.forwardRef(function({ children: e, className: t, ...r }, o) {
|
|
9
9
|
return /* @__PURE__ */ a("div", { className: l(n.headerTitle, t), ...r, ref: o, children: e });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import s from "react";
|
|
3
|
-
import { c as m } from "../../../../chunks/vendor-
|
|
4
|
-
import { s as i } from "../../../../chunks/HeaderTitle.module-
|
|
3
|
+
import { c as m } from "../../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
import { s as i } from "../../../../chunks/HeaderTitle.module-B-6xJFnf.js";
|
|
5
5
|
const l = s.forwardRef(
|
|
6
6
|
({ children: e, className: t, ...r }, o) => /* @__PURE__ */ a("div", { className: m(t, i.headerTitleContent), ...r, ref: o, children: e })
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import a from "react";
|
|
3
|
-
import { c as l } from "../../../../chunks/vendor-
|
|
4
|
-
import { s as m } from "../../../../chunks/HeaderTitle.module-
|
|
3
|
+
import { c as l } from "../../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
import { s as m } from "../../../../chunks/HeaderTitle.module-B-6xJFnf.js";
|
|
5
5
|
const i = a.forwardRef(
|
|
6
6
|
({ children: o, className: r, ...e }, t) => /* @__PURE__ */ s("div", { className: l(m.headerTitleControls, r), ...e, ref: t, children: o })
|
|
7
7
|
);
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { jsxs as x, Fragment as E, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as M, useState as h, useId as R } from "react";
|
|
3
|
+
import { c as S, x as _ } from "../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
import { HintFilledSrvIcon16 as L } from "@sberbusiness/icons-next";
|
|
5
|
+
import { ButtonIcon as j } from "../Button/ButtonIcon.js";
|
|
6
|
+
import { EButtonIconShape as k } from "../Button/enums.js";
|
|
7
|
+
import { Tooltip as l } from "../Tooltip/Tooltip.js";
|
|
8
|
+
import { TooltipMobileHeader as z } from "../Tooltip/components/mobile/components/TooltipMobileHeader.js";
|
|
9
|
+
import { MobileView as C } from "../MobileView/MobileView.js";
|
|
10
|
+
import { getDataHTMLAttributes as D } from "../../utils/html/DataAttributes.js";
|
|
11
|
+
import { getAriaHTMLAttributes as V } from "../../utils/html/AriaAttributes.js";
|
|
12
|
+
const X = "helpBoxButton__a3accdca", $ = "helpBoxTooltipBody__0184e907", f = {
|
|
13
|
+
helpBoxButton: X,
|
|
14
|
+
helpBoxTooltipBody: $
|
|
15
|
+
}, q = ({
|
|
16
|
+
children: T,
|
|
17
|
+
className: y,
|
|
18
|
+
focusTrapProps: e,
|
|
19
|
+
mobileHeaderContent: c,
|
|
20
|
+
isOpen: i,
|
|
21
|
+
onShow: n,
|
|
22
|
+
tooltipSize: I,
|
|
23
|
+
preferPlace: v,
|
|
24
|
+
toggle: a,
|
|
25
|
+
tooltipAriaAttributes: s,
|
|
26
|
+
tooltipDataAttributes: p,
|
|
27
|
+
...F
|
|
28
|
+
}) => {
|
|
29
|
+
const d = M(null), [O, b] = h(!!i), [m, B] = h(null), u = R(), r = i ?? O, H = (o) => {
|
|
30
|
+
i === void 0 && b(o), o || B(null), a == null || a(o);
|
|
31
|
+
}, N = (o) => {
|
|
32
|
+
B(o), n == null || n(o);
|
|
33
|
+
}, g = (o) => /* @__PURE__ */ t(
|
|
34
|
+
C,
|
|
35
|
+
{
|
|
36
|
+
fallback: /* @__PURE__ */ t(
|
|
37
|
+
_.FocusTrap,
|
|
38
|
+
{
|
|
39
|
+
active: r,
|
|
40
|
+
...e,
|
|
41
|
+
focusTrapOptions: {
|
|
42
|
+
clickOutsideDeactivates: !0,
|
|
43
|
+
initialFocus: `[id='${u}']`,
|
|
44
|
+
preventScroll: !0,
|
|
45
|
+
...e == null ? void 0 : e.focusTrapOptions
|
|
46
|
+
},
|
|
47
|
+
containerElements: [o]
|
|
48
|
+
}
|
|
49
|
+
),
|
|
50
|
+
children: null
|
|
51
|
+
}
|
|
52
|
+
);
|
|
53
|
+
return /* @__PURE__ */ x(E, { children: [
|
|
54
|
+
/* @__PURE__ */ x(
|
|
55
|
+
l,
|
|
56
|
+
{
|
|
57
|
+
id: u,
|
|
58
|
+
tabIndex: -1,
|
|
59
|
+
role: "dialog",
|
|
60
|
+
toggleType: "hover",
|
|
61
|
+
size: I,
|
|
62
|
+
preferPlace: v,
|
|
63
|
+
isOpen: r,
|
|
64
|
+
toggle: H,
|
|
65
|
+
onShow: N,
|
|
66
|
+
targetRef: d,
|
|
67
|
+
...!!s && V(s),
|
|
68
|
+
...!!p && D(p),
|
|
69
|
+
children: [
|
|
70
|
+
/* @__PURE__ */ t(l.Target, { children: /* @__PURE__ */ t(
|
|
71
|
+
j,
|
|
72
|
+
{
|
|
73
|
+
className: S(f.helpBoxButton, y),
|
|
74
|
+
"aria-label": "Подсказка",
|
|
75
|
+
shape: k.CIRCLE,
|
|
76
|
+
ref: d,
|
|
77
|
+
...F,
|
|
78
|
+
children: /* @__PURE__ */ t(L, { paletteIndex: 5 })
|
|
79
|
+
}
|
|
80
|
+
) }),
|
|
81
|
+
c && /* @__PURE__ */ t(z, { children: c }),
|
|
82
|
+
/* @__PURE__ */ t(l.Body, { className: f.helpBoxTooltipBody, children: T }),
|
|
83
|
+
/* @__PURE__ */ t(l.XButton, { "aria-label": "Закрыть" })
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
),
|
|
87
|
+
r && m && g(m)
|
|
88
|
+
] });
|
|
89
|
+
};
|
|
90
|
+
q.displayName = "HelpBox";
|
|
91
|
+
export {
|
|
92
|
+
q as HelpBox
|
|
93
|
+
};
|
|
94
|
+
//# sourceMappingURL=HelpBox.js.map
|