@sberbusiness/triplex-next 1.3.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-BQv9QI6L.js +39 -0
- 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-Ms4q9wDe.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-D6ZllSTT.js → RightBorderArrow-BHW7rkmN.js} +4 -4
- package/chunks/SMSInput.module-Ci4GRnk_.js +16 -0
- package/chunks/StatusTracker.module-zTyojoH4.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-Cc_fZLBH.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-Bkv3b0F5.js → UploadZoneInput-pdhICY56.js} +3 -3
- package/chunks/{utils-CVSz7tV_.js → utils-B7AjUpy-.js} +2 -2
- package/chunks/utils-C-1ATq_g.js +24 -0
- package/chunks/{utils-DWPj89gs.js → utils-C8a4iCV0.js} +6 -6
- package/chunks/{utils-BZFu5eVD.js → utils-C9-tOm2Z.js} +10 -10
- package/chunks/utils-DwX2_kEA.js +72 -0
- package/chunks/{vendor-CehxOAkM.js → vendor-Ba_pyhza.js} +5132 -5003
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +14 -14
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +20 -21
- 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 +42 -41
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +2 -2
- package/components/Button/ButtonDropdownExtended.js +2 -2
- package/components/Button/ButtonIcon.js +9 -9
- package/components/Card/CardAction.js +16 -16
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +7 -7
- package/components/Checkbox/Checkbox.js +21 -21
- package/components/Checkbox/CheckboxXGroup.js +14 -14
- package/components/Checkbox/CheckboxYGroup.js +2 -2
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +3 -3
- package/components/Chip/Chip.js +5 -3
- package/components/Chip/ChipClearButton.js +16 -24
- package/components/Chip/ChipDropdownArrow.js +5 -5
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipOptions.js +6 -6
- package/components/Chip/ChipSelect.js +2 -2
- 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/index.js +7 -3
- package/components/ChipGroup/ChipGroup.js +13 -13
- package/components/Col/Col.js +135 -135
- package/components/CollapsableTree/components/CollapsableTreeNode.js +6 -6
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensComponents.js +54 -40
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +59 -40
- 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/SMSInput.js +26 -0
- package/components/DesignTokens/components/StatusTracker.js +35 -0
- package/components/DesignTokens/components/Step.js +44 -0
- package/components/DesignTokens/components/index.js +76 -64
- package/components/Divider/Divider.js +21 -21
- package/components/Dropdown/desktop/DropdownDesktop.js +15 -15
- 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 +4 -4
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Ellipsis/Ellipsis.js +12 -12
- 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 +9 -9
- package/components/FormField/components/FormFieldClear.js +10 -10
- package/components/FormField/components/FormFieldCounter.js +1 -1
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +4 -3
- package/components/FormField/components/FormFieldLabel.js +9 -9
- package/components/FormField/components/FormFieldMaskedInput.js +22 -22
- package/components/FormField/components/FormFieldPostfix.js +8 -8
- package/components/FormField/components/FormFieldPrefix.js +8 -8
- package/components/FormField/components/FormFieldTarget.js +11 -11
- 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 +6 -6
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +15 -7
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +14 -6
- package/components/HelpBox/HelpBox.js +20 -20
- package/components/Island/Island.js +12 -16
- package/components/Island/components/IslandBody.js +4 -4
- package/components/Island/components/IslandFooter.js +3 -3
- package/components/Island/components/IslandHeader.js +4 -4
- 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 +21 -21
- package/components/List/List.js +8 -8
- 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 +5 -5
- 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 +7 -7
- package/components/List/components/ListItemTable.js +4 -4
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +10 -10
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +5 -5
- 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 +7 -7
- 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 +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +18 -17
- package/components/Loader/LoaderSmall/LoaderSmall.js +11 -11
- package/components/LoaderScreen/LoaderScreen.js +17 -18
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +13 -13
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyContent.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +7 -7
- package/components/OrderedList/OrderedListItem.js +9 -9
- 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 +5 -5
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +6 -6
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +8 -8
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +16 -16
- package/components/Radio/RadioXGroup.js +12 -12
- 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 +14 -14
- package/components/SegmentedControl/SegmentedControlSegment.js +6 -6
- package/components/SelectExtendedField/SelectExtendedField.js +7 -7
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +8 -8
- 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 +2 -2
- 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 +24 -24
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +18 -18
- 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 +2 -2
- 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 +5 -5
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +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 +15 -15
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +3 -3
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +7 -7
- package/components/Tag/Tag.js +12 -12
- package/components/TagGroup/TagGroup.js +10 -10
- 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 +19 -19
- 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 +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Triggers/TriggerClickOnKeyDownEvent.js +15 -0
- package/components/Typography/Caption.js +17 -17
- package/components/Typography/Text.js +28 -28
- package/components/Typography/Title.js +11 -11
- package/components/Typography/index.js +15 -13
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +6 -6
- package/components/UnorderedList/UnorderedListItem.js +11 -11
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +18 -0
- package/components/index.js +418 -366
- package/index.d.ts +740 -58
- package/index.js +424 -372
- package/package.json +33 -1
- package/styles/triplex-next.css +472 -441
- package/utils/amountUtils.js +1 -1
- package/utils/focus/FocusTrapUtils.js +11 -0
- package/utils/scroll/scrollbar.js +14 -0
- package/chunks/AlertProcessSpoiler-B91XiZ7K.js +0 -39
- package/chunks/Card.module-NgdHcwYS.js +0 -17
- package/chunks/Chip-XyednI9u.js +0 -87
- package/chunks/DropdownListItem-g0mYNHIW.js +0 -57
- package/chunks/DropdownMobile.module-BBY44sVr.js +0 -21
- package/chunks/Footer.module-4a0n1yRR.js +0 -11
- package/chunks/FormFieldInput-qaJqBTBV.js +0 -63
- package/chunks/HeaderLayoutSidebar.module-BP0DyJae.js +0 -9
- package/chunks/HeaderTabs.module-CXcyvbb5.js +0 -9
- package/chunks/HeaderTitle.module-B-6xJFnf.js +0 -9
- package/chunks/ListItemTail.module-D5VudFCz.js +0 -12
- package/chunks/ListMasterFooter.module-DzXu5TSC.js +0 -10
- package/chunks/Notification.module-MX1NZXsu.js +0 -21
- package/chunks/Overlay.module-B1IlIRoo.js +0 -18
- package/chunks/Page.module-Cwb_zvqj.js +0 -12
- package/chunks/TableFooter.module-D9_esv5A.js +0 -13
- package/chunks/TabsExtended.module--2PQhvJQ.js +0 -16
- package/chunks/TabsLine.module-CH_sqFyE.js +0 -23
- package/chunks/TooltipDesktop.module-D3cbaDX1.js +0 -19
- package/chunks/utils-D8e1oAR3.js +0 -72
- package/chunks/utils-dyCpsmr1.js +0 -48
- package/components/DesignTokens/components/Page.js +0 -9
- /package/components/{Island → Chip/ChipSuggest}/types.js +0 -0
package/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Context } from 'react';
|
|
2
2
|
import { default as default_2 } from 'react';
|
|
3
3
|
import { FC } from 'react';
|
|
4
|
+
import { FocusTrapProps } from 'focus-trap-react';
|
|
4
5
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
5
6
|
import { MaskedInputProps } from 'react-text-mask';
|
|
6
7
|
import { MouseSensor } from '@dnd-kit/core';
|
|
@@ -8,6 +9,7 @@ import { MouseSensorOptions } from '@dnd-kit/core';
|
|
|
8
9
|
import { SyntheticListenerMap } from '@dnd-kit/core/dist/hooks/utilities';
|
|
9
10
|
import { TouchSensor } from '@dnd-kit/core';
|
|
10
11
|
import { TouchSensorOptions } from '@dnd-kit/core';
|
|
12
|
+
import { Transition } from 'react-transition-group';
|
|
11
13
|
|
|
12
14
|
export declare class AdvancedMouseSensor extends MouseSensor {
|
|
13
15
|
static activators: {
|
|
@@ -65,6 +67,9 @@ export declare const ButtonDropdownExtended: IButtonDropdownExtendedComponent;
|
|
|
65
67
|
/** Кнопка-иконка. */
|
|
66
68
|
export declare const ButtonIcon: default_2.ForwardRefExoticComponent<IButtonIconProps & default_2.RefAttributes<HTMLButtonElement>>;
|
|
67
69
|
|
|
70
|
+
/** Вычисление позиции шага, относительно других. */
|
|
71
|
+
export declare const calcPosition: (stepCount: number, i: number) => EStepPosition;
|
|
72
|
+
|
|
68
73
|
/** Подпись (типографика). */
|
|
69
74
|
export declare const Caption: default_2.ForwardRefExoticComponent<(Omit<{
|
|
70
75
|
/** Размер текста. */
|
|
@@ -726,6 +731,42 @@ export declare const CheckboxXGroup: default_2.FC<ICheckboxXGroupProps>;
|
|
|
726
731
|
/** Группа чекбоксов с направлением по оси Y. */
|
|
727
732
|
export declare const CheckboxYGroup: default_2.FC<ICheckboxYGroupProps>;
|
|
728
733
|
|
|
734
|
+
/**
|
|
735
|
+
* Предоставляет возможность произвести действие по нажатию, также отображает выбранное состояние.
|
|
736
|
+
* Рекомендуется всегда располагать Chip внутри компонента ChipGroup.
|
|
737
|
+
*/
|
|
738
|
+
export declare const Chip: default_2.ForwardRefExoticComponent<IChipProps & default_2.RefAttributes<HTMLSpanElement>>;
|
|
739
|
+
|
|
740
|
+
/** Кнопка отмены выбора для Chip. */
|
|
741
|
+
export declare const ChipClearButton: default_2.ForwardRefExoticComponent<IChipClearButtonProps & default_2.RefAttributes<HTMLButtonElement>>;
|
|
742
|
+
|
|
743
|
+
/** Стрелка выпадающего меню Chip. */
|
|
744
|
+
export declare const ChipDropdownArrow: default_2.FC<IChipDropdownArrowProps>;
|
|
745
|
+
|
|
746
|
+
/**
|
|
747
|
+
* Chip с иконкой.
|
|
748
|
+
*/
|
|
749
|
+
export declare const ChipIcon: default_2.ForwardRefExoticComponent<IChipIconProps & default_2.RefAttributes<HTMLSpanElement>>;
|
|
750
|
+
|
|
751
|
+
/**
|
|
752
|
+
* Chip с иконкой выбора опций.
|
|
753
|
+
*/
|
|
754
|
+
export declare const ChipOptions: default_2.ForwardRefExoticComponent<IChipOptionsProps & default_2.RefAttributes<HTMLSpanElement>>;
|
|
755
|
+
|
|
756
|
+
/**
|
|
757
|
+
* Компонент выбора одного значения из списка.
|
|
758
|
+
* Выбранное значение отображается компонентом Chip.
|
|
759
|
+
*/
|
|
760
|
+
export declare const ChipSelect: default_2.ForwardRefExoticComponent<IChipSelectProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
761
|
+
|
|
762
|
+
/**
|
|
763
|
+
* Компонент выбора одного значения из списка с возможностью фильтрации.
|
|
764
|
+
* Выбранное значение отображается компонентом Chip.
|
|
765
|
+
*/
|
|
766
|
+
export declare const ChipSuggest: <T extends ISuggestOption = ISuggestOption>(props: IChipSuggestProps<T> & default_2.RefAttributes<HTMLDivElement>) => JSX.Element;
|
|
767
|
+
|
|
768
|
+
export declare const ChipSuggestTarget: <T extends ISuggestOption>(props: IChipSuggestTargetProps<T> & default_2.RefAttributes<HTMLSpanElement>) => JSX.Element;
|
|
769
|
+
|
|
729
770
|
export declare const Col: default_2.FC<IColProps>;
|
|
730
771
|
|
|
731
772
|
/** Компонент, для настройки видимости колонок. */
|
|
@@ -750,7 +791,7 @@ declare const designTokensComponentsAlertProcessKeys: readonly ["Info_Background
|
|
|
750
791
|
|
|
751
792
|
declare const designTokensComponentsButtonKeys: readonly ["General_Background_Active", "General_Background_Default", "General_Background_Disabled", "General_Background_Hover", "General_Color_Active", "General_Color_Default", "General_Color_Disabled", "General_Color_Hover", "General_Shadow_Focus", "Secondary_Background_Active", "Secondary_Background_Default", "Secondary_Background_Disabled", "Secondary_Background_Hover", "Secondary_Color_Active", "Secondary_Color_Default", "Secondary_Color_Disabled", "Secondary_Color_Hover", "Secondary_Shadow_Focus", "SecondaryLight_Background_Active", "SecondaryLight_Background_Default", "SecondaryLight_Background_Disabled", "SecondaryLight_Background_Hover", "SecondaryLight_Color_Active", "SecondaryLight_Color_Default", "SecondaryLight_Color_Disabled", "SecondaryLight_Color_Hover", "SecondaryLight_Shadow_Focus", "Danger_Background_Active", "Danger_Background_Default", "Danger_Background_Disabled", "Danger_Background_Hover", "Danger_Color_Active", "Danger_Color_Default", "Danger_Color_Disabled", "Danger_Color_Hover", "Danger_Shadow_Focus", "Icon_Shadow_Focus", "Link_Color_Active", "Link_Color_Default", "Link_Color_Disabled", "Link_Color_Hover", "Link_Shadow_Focus"];
|
|
752
793
|
|
|
753
|
-
declare const designTokensComponentsCardKeys: readonly ["Static_General_Background", "Static_Secondary_Background", "Action_General_Background", "Action_General_Background_Hover", "Action_General_Background_Selected", "Action_General_Background_Selected_Hover", "Action_Secondary_Background", "Action_Secondary_Background_Hover", "Action_Secondary_Background_Selected", "Action_Secondary_Background_Selected_Hover", "Shadow_Default", "Shadow_Focus", "Shadow_Hover", "Shadow_Selected"];
|
|
794
|
+
declare const designTokensComponentsCardKeys: readonly ["Static_General_Background", "Static_Secondary_Background", "Action_General_Background", "Action_General_Background_Hover", "Action_General_Background_Selected", "Action_General_Background_Selected_Hover", "Action_Secondary_Background", "Action_Secondary_Background_Hover", "Action_Secondary_Background_Selected", "Action_Secondary_Background_Selected_Hover", "Shadow_Default", "Shadow_Focus", "Shadow_Hover", "Shadow_Selected", "Shadow_Selected_Hover"];
|
|
754
795
|
|
|
755
796
|
declare const designTokensComponentsCheckboxKeys: readonly ["Background_Default", "Background_Checked_Default", "Background_Checked_Disabled", "Background_Checked_Hover", "Background_Disabled", "Background_Hover", "BorderColor_Default", "BorderColor_Disabled", "BorderColor_Focus", "BorderColor_Hover", "BorderColor_Checked_Default", "BorderColor_Checked_Disabled", "Checkmark_Fill_Default", "Checkmark_Fill_Disabled"];
|
|
756
797
|
|
|
@@ -772,8 +813,12 @@ declare const designTokensComponentsFormFieldKeys: readonly ["Background_Active"
|
|
|
772
813
|
|
|
773
814
|
declare const designTokensComponentsHeaderPageKeys: readonly ["StickyShadow"];
|
|
774
815
|
|
|
816
|
+
declare const designTokensComponentsIslandAccordionKeys: readonly ["Shadow_Focus"];
|
|
817
|
+
|
|
775
818
|
declare const designTokensComponentsIslandKeys: readonly ["Type1_Background", "Type2_Background", "Type3_Background", "Type1_Shadow", "Type2_Shadow", "Type3_Shadow"];
|
|
776
819
|
|
|
820
|
+
declare const designTokensComponentsLightBoxKeys: readonly ["Backdrop_Background", "Content_Background"];
|
|
821
|
+
|
|
777
822
|
declare const designTokensComponentsLinkKeys: readonly ["BorderColor_Focus", "Text_Color_Active", "Text_Color_Default", "Text_Color_Hover"];
|
|
778
823
|
|
|
779
824
|
declare const designTokensComponentsListItemControlsButtonKeys: readonly ["Background_Active", "Background_Default", "Background_Hover", "Color_Active", "Color_Default", "Color_Hover"];
|
|
@@ -782,7 +827,7 @@ declare const designTokensComponentsListItemKeys: readonly ["Background", "Backg
|
|
|
782
827
|
|
|
783
828
|
declare const designTokensComponentsListMasterKeys: readonly ["Background", "Footer_Color", "Footer_Background", "Header_Background", "Header_Color"];
|
|
784
829
|
|
|
785
|
-
declare const designTokensComponentsLoaderKeys: readonly ["
|
|
830
|
+
declare const designTokensComponentsLoaderKeys: readonly ["Element_Background_Neutral", "Element_Background_Brand", "Middle_Background_Default"];
|
|
786
831
|
|
|
787
832
|
declare const designTokensComponentsLoaderScreenKeys: readonly ["Small_Backdrop_Default", "Middle_Backdrop_Default", "Middle_Background_Default"];
|
|
788
833
|
|
|
@@ -794,8 +839,6 @@ declare const designTokensComponentsNotificationKeys: readonly ["Background", "C
|
|
|
794
839
|
|
|
795
840
|
declare const designTokensComponentsOverlayKeys: readonly ["Background", "Panel_Background"];
|
|
796
841
|
|
|
797
|
-
declare const designTokensComponentsPageKeys: readonly ["Background"];
|
|
798
|
-
|
|
799
842
|
declare const designTokensComponentsPaginationKeys: readonly ["PageButton_Background_Active", "PageButton_Background_Hover", "PageButton_Background_Selected", "PageButton_BorderColor_Focus", "PageButton_Color"];
|
|
800
843
|
|
|
801
844
|
declare const designTokensComponentsRadioKeys: readonly ["Background_Checked_Default", "Background_Checked_Disabled", "Background_Checked_Hover", "Background_Default", "Background_Disabled", "Background_Hover", "BorderColor_Default", "BorderColor_Disabled", "BorderColor_Focused", "BorderColor_Checked_Default", "BorderColor_Checked_Disabled", "Dot_Default", "Dot_Disabled"];
|
|
@@ -806,6 +849,12 @@ declare const designTokensComponentsSegmentedControlSegmentKeys: readonly ["Gene
|
|
|
806
849
|
|
|
807
850
|
declare const designTokensComponentsSkeletonKeys: readonly ["BackgroundColor_Light_Start", "BackgroundColor_Light_End", "BackgroundColor_Dark_Start", "BackgroundColor_Dark_End"];
|
|
808
851
|
|
|
852
|
+
declare const designTokensComponentsSMSInputKeys: readonly ["Refresh_Fill_Empty", "Refresh_Fill_Full", "Refresh_Disabled", "Submit_Background_Default", "Submit_Background_Hover", "Submit_Background_Active"];
|
|
853
|
+
|
|
854
|
+
declare const designTokensComponentsStatusTrackerKeys: readonly ["Draft_Background", "Warning_Background", "Waiting_Background", "Rejected_Background", "Approved_Background", "Waiting_Color", "Rejected_Color", "Approved_Color", "Border_Color"];
|
|
855
|
+
|
|
856
|
+
declare const designTokensComponentsStepKeys: readonly ["Color_Active", "Color_Default", "Color_Disabled", "Color_Done", "Color_Error", "Color_Warning", "Background_Active", "Background_Default", "Background_Disabled", "Background_Done", "Background_Error", "Background_Warning"];
|
|
857
|
+
|
|
809
858
|
declare const designTokensComponentsStepperKeys: readonly ["Step_Background_Default", "Step_Background_Disabled", "Step_Background_Hover", "Step_Background_Error", "Step_Background_Error_Hover", "Step_Background_Warning", "Step_Background_Warning_Hover", "Step_BorderColor_Focus", "Step_BorderColor_Error", "Step_BorderColor_Warning", "Step_BorderColor_Success", "Step_Color_Default", "Step_Color_Hover", "Step_Color_Disabled", "Background", "ButtonNext_Background", "ButtonPrev_Background", "Wrapper_Background", "Wrapper_BoxShadow"];
|
|
810
859
|
|
|
811
860
|
declare const designTokensComponentsTableBasicKeys: readonly ["Background_Hover", "Background_Selected", "Color", "Header_Background", "TableFooter_Background", "TableFooter_Highlight", "TableBasicSettings_Footer_BorderColor", "TableBasicSettings_ListItem_Background_Default", "TableBasicSettings_ListItem_Background_Hover", "TableBasicSettings_ListItem_Background_Dragging"];
|
|
@@ -901,6 +950,12 @@ export declare enum EAlertType {
|
|
|
901
950
|
FEATURE = "feature"
|
|
902
951
|
}
|
|
903
952
|
|
|
953
|
+
/** Форма границы кнопки. */
|
|
954
|
+
declare enum EBodyVerticalMargin {
|
|
955
|
+
LARGE = "large",
|
|
956
|
+
SMALL = "small"
|
|
957
|
+
}
|
|
958
|
+
|
|
904
959
|
/** Темы кнопки dots. */
|
|
905
960
|
export declare enum EButtonDotsTheme {
|
|
906
961
|
DOTS_SECONDARY = "dots_secondary",
|
|
@@ -1061,6 +1116,12 @@ export declare enum EIslandType {
|
|
|
1061
1116
|
TYPE_3 = "type_3"
|
|
1062
1117
|
}
|
|
1063
1118
|
|
|
1119
|
+
declare enum ELightBoxSideOverlaySize {
|
|
1120
|
+
SM = 0,
|
|
1121
|
+
MD = 1,
|
|
1122
|
+
LG = 2
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1064
1125
|
/** Возможные типы интерлиньяжа. */
|
|
1065
1126
|
export declare enum ELineType {
|
|
1066
1127
|
NORMAL = "normal",
|
|
@@ -1143,6 +1204,15 @@ export declare enum ESkeletonType {
|
|
|
1143
1204
|
LIGHT = "light"
|
|
1144
1205
|
}
|
|
1145
1206
|
|
|
1207
|
+
/** Тип компонента статус-трекера. */
|
|
1208
|
+
declare enum EStatusTrackerType {
|
|
1209
|
+
DRAFT = "draft",
|
|
1210
|
+
WAITING = "waiting",
|
|
1211
|
+
WARNING = "warning",
|
|
1212
|
+
REJECTED = "rejected",
|
|
1213
|
+
APPROVED = "approved"
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1146
1216
|
/** Возможные размеры шагов Step. */
|
|
1147
1217
|
export declare enum EStepperSize {
|
|
1148
1218
|
SM = "sm",
|
|
@@ -1166,6 +1236,26 @@ export declare enum EStepperStepType {
|
|
|
1166
1236
|
WARNING = "warning"
|
|
1167
1237
|
}
|
|
1168
1238
|
|
|
1239
|
+
/** Позиция шага относительно других. */
|
|
1240
|
+
export declare enum EStepPosition {
|
|
1241
|
+
/** Обычная позиция. */
|
|
1242
|
+
Default = "Default",
|
|
1243
|
+
/** Первый по оси X. */
|
|
1244
|
+
XFirst = "XFirst",
|
|
1245
|
+
/** Последний по оси X. */
|
|
1246
|
+
XLast = "XLast"
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
/** Статус шага. */
|
|
1250
|
+
export declare enum EStepStatus {
|
|
1251
|
+
DEFAULT = "default",
|
|
1252
|
+
DONE = "done",
|
|
1253
|
+
ACTIVE = "active",
|
|
1254
|
+
ERROR = "error",
|
|
1255
|
+
WARNING = "warning",
|
|
1256
|
+
DISABLED = "disabled"
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1169
1259
|
export declare enum ETabsExtendedType {
|
|
1170
1260
|
TYPE_1 = "type1",
|
|
1171
1261
|
TYPE_2 = "type2"
|
|
@@ -1259,6 +1349,13 @@ export declare enum EVerticalAlign {
|
|
|
1259
1349
|
BOTTOM = "bottom"
|
|
1260
1350
|
}
|
|
1261
1351
|
|
|
1352
|
+
/** Вертикальное выравнивание блоков статус-трекера. */
|
|
1353
|
+
declare enum EVerticalAlign_2 {
|
|
1354
|
+
TOP = "top",
|
|
1355
|
+
MIDDLE = "middle",
|
|
1356
|
+
BOTTOM = "bottom"
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1262
1359
|
/** Компонент панели под элементы фильтрации данных для таблицы. */
|
|
1263
1360
|
export declare const FilterPanel: default_2.FC<IFilterPanelProps>;
|
|
1264
1361
|
|
|
@@ -1451,10 +1548,16 @@ export declare interface IAmountProps extends default_2.HTMLAttributes<HTMLSpanE
|
|
|
1451
1548
|
|
|
1452
1549
|
/** Свойства компонента BodyPage. */
|
|
1453
1550
|
declare interface IBodyPageProps extends IBodyProps {
|
|
1551
|
+
children: default_2.ReactNode;
|
|
1454
1552
|
}
|
|
1455
1553
|
|
|
1456
1554
|
/** Свойства компонента Body. */
|
|
1457
1555
|
export declare interface IBodyProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
1556
|
+
/**
|
|
1557
|
+
* Отступы сверху и снизу.
|
|
1558
|
+
* По-умолчанию 24px, в LightBox следует использовать 16px.
|
|
1559
|
+
*/
|
|
1560
|
+
verticalMargin?: EBodyVerticalMargin;
|
|
1458
1561
|
}
|
|
1459
1562
|
|
|
1460
1563
|
export declare interface IButtonBaseProps extends default_2.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
@@ -1718,6 +1821,66 @@ export declare interface ICheckboxXGroupProps extends default_2.HTMLAttributes<H
|
|
|
1718
1821
|
export declare interface ICheckboxYGroupProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
1719
1822
|
}
|
|
1720
1823
|
|
|
1824
|
+
/** Свойства компонента ChipClearButton. */
|
|
1825
|
+
export declare interface IChipClearButtonProps extends Omit<IButtonIconProps, "children"> {
|
|
1826
|
+
size?: EComponentSize;
|
|
1827
|
+
}
|
|
1828
|
+
|
|
1829
|
+
/** Свойства компонента ChipDropdownArrow. */
|
|
1830
|
+
export declare interface IChipDropdownArrowProps {
|
|
1831
|
+
rotated: boolean;
|
|
1832
|
+
}
|
|
1833
|
+
|
|
1834
|
+
export declare interface IChipIconProps extends Omit<IChipProps, "prefix" | "postfix"> {
|
|
1835
|
+
}
|
|
1836
|
+
|
|
1837
|
+
export declare interface IChipOptionsProps extends Omit<IChipProps, "prefix" | "postfix"> {
|
|
1838
|
+
/** Функция отмены выбора. */
|
|
1839
|
+
clearSelected: () => void;
|
|
1840
|
+
}
|
|
1841
|
+
|
|
1842
|
+
/** Свойства компонента Chip. */
|
|
1843
|
+
export declare interface IChipProps extends Omit<default_2.HTMLAttributes<HTMLSpanElement>, "prefix">, DataAttributes {
|
|
1844
|
+
/** Состояние disabled. */
|
|
1845
|
+
disabled?: boolean;
|
|
1846
|
+
/** Выбранное состояние. */
|
|
1847
|
+
selected?: boolean;
|
|
1848
|
+
/** Контент, предшествующий основному контенту, например иконка слева. */
|
|
1849
|
+
prefix?: default_2.ReactNode;
|
|
1850
|
+
/** Контент, следующий за основным контентом, например иконка справа. */
|
|
1851
|
+
postfix?: default_2.ReactNode;
|
|
1852
|
+
/** Размер Chip. */
|
|
1853
|
+
size?: EComponentSize;
|
|
1854
|
+
}
|
|
1855
|
+
|
|
1856
|
+
export declare interface IChipSelectProps extends Pick<IChipProps, "disabled" | "className">, Omit<ISelectFieldProps, "children" | "targetProps" | "dropdownListItemClassName" | "mobileTitle" | "loading" | "status" | "placeholder"> {
|
|
1857
|
+
clearSelected: () => void;
|
|
1858
|
+
label?: default_2.ReactNode;
|
|
1859
|
+
displayedValue?: default_2.ReactNode;
|
|
1860
|
+
}
|
|
1861
|
+
|
|
1862
|
+
/** Свойства компонента ChipSuggestDropdown. */
|
|
1863
|
+
export declare interface IChipSuggestDropdownProps<T extends ISuggestOption> extends Omit<IDropdownProps, "opened" | "setOpened"> {
|
|
1864
|
+
}
|
|
1865
|
+
|
|
1866
|
+
/** Свойства компонента ChipSuggest. */
|
|
1867
|
+
export declare interface IChipSuggestProps<T extends ISuggestOption = ISuggestOption> extends Omit<ISuggestProps<T>, "renderTarget"> {
|
|
1868
|
+
/** Название поля, когда не выбрано значение. */
|
|
1869
|
+
label: React.ReactNode;
|
|
1870
|
+
/** Лейбл, отображаемый вместо выбранного значения. */
|
|
1871
|
+
displayedValue?: React.ReactNode;
|
|
1872
|
+
/** Свойства компонента Chip. */
|
|
1873
|
+
targetProps?: IChipSuggestTargetProps<T>;
|
|
1874
|
+
/** Свойства компонента Dropdown. */
|
|
1875
|
+
dropdownProps?: IChipSuggestDropdownProps<T>;
|
|
1876
|
+
}
|
|
1877
|
+
|
|
1878
|
+
/** Свойства компонента ChipSuggestTarget. */
|
|
1879
|
+
export declare interface IChipSuggestTargetProps<T extends ISuggestOption> extends Omit<IChipProps, "prefix" | "postfix"> {
|
|
1880
|
+
/** Функция отмены выбора. */
|
|
1881
|
+
clearSelected?: () => void;
|
|
1882
|
+
}
|
|
1883
|
+
|
|
1721
1884
|
/** Свойства Col. */
|
|
1722
1885
|
export declare interface IColProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
1723
1886
|
children?: default_2.ReactNode;
|
|
@@ -1801,6 +1964,7 @@ export declare interface IDropdownDesktopProps extends default_2.HTMLAttributes<
|
|
|
1801
1964
|
size?: EComponentSize;
|
|
1802
1965
|
}
|
|
1803
1966
|
|
|
1967
|
+
/** Композиция компонента DropdownList. */
|
|
1804
1968
|
export declare interface IDropdownListComponent extends default_2.FC<IDropdownListProps> {
|
|
1805
1969
|
Item: typeof DropdownListItem;
|
|
1806
1970
|
}
|
|
@@ -1906,6 +2070,20 @@ export declare interface IEllipsisProps extends default_2.HTMLAttributes<HTMLDiv
|
|
|
1906
2070
|
maxLines: number;
|
|
1907
2071
|
}
|
|
1908
2072
|
|
|
2073
|
+
/** Свойства компонента ExpandAnimation. */
|
|
2074
|
+
declare interface IExpandAnimationProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
2075
|
+
/** Время анимации (мс). */
|
|
2076
|
+
animationTime?: number;
|
|
2077
|
+
/** Развёрнут ли компонент. */
|
|
2078
|
+
expanded: boolean;
|
|
2079
|
+
/** Коллбэк на начало анимации. */
|
|
2080
|
+
onStart?: () => void;
|
|
2081
|
+
/** Коллбэк на окончание анимации. */
|
|
2082
|
+
onEnd?: () => void;
|
|
2083
|
+
/** Свойства компонента Transition (react-transition-group). */
|
|
2084
|
+
transitionProps?: default_2.ComponentProps<typeof Transition<HTMLDivElement>>;
|
|
2085
|
+
}
|
|
2086
|
+
|
|
1909
2087
|
/** Свойства компонента FilterPanel. */
|
|
1910
2088
|
export declare interface IFilterPanelProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
1911
2089
|
}
|
|
@@ -1922,17 +2100,32 @@ export declare interface IFooterDescriptionControlsProps extends default_2.HTMLA
|
|
|
1922
2100
|
export declare interface IFooterDescriptionProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
1923
2101
|
}
|
|
1924
2102
|
|
|
1925
|
-
declare interface
|
|
2103
|
+
declare interface IFooterPageTypeFirstProps extends IFooterProps {
|
|
2104
|
+
children: default_2.ReactNode;
|
|
1926
2105
|
/** Тип компонента FooterPage. */
|
|
1927
|
-
type
|
|
2106
|
+
type: EFooterPageType.FIRST;
|
|
2107
|
+
/**
|
|
2108
|
+
* Footer прилипает к нижней границе экрана при скролле. Только для первого типа FooterPage внутри LightBox.
|
|
2109
|
+
* */
|
|
2110
|
+
sticky?: boolean;
|
|
2111
|
+
/** Размер острова. */
|
|
2112
|
+
size?: EComponentSize;
|
|
1928
2113
|
}
|
|
1929
2114
|
|
|
1930
|
-
|
|
1931
|
-
|
|
2115
|
+
declare interface IFooterPageTypeSecondProps extends IFooterProps {
|
|
2116
|
+
children: default_2.ReactNode;
|
|
2117
|
+
/** Тип компонента FooterPage. */
|
|
2118
|
+
type: EFooterPageType.SECOND;
|
|
1932
2119
|
/**
|
|
1933
|
-
* Footer прилипает к нижней границе экрана при скролле.
|
|
2120
|
+
* Footer прилипает к нижней границе экрана при скролле. Не используется.
|
|
1934
2121
|
* */
|
|
1935
|
-
sticky?:
|
|
2122
|
+
sticky?: never;
|
|
2123
|
+
/** Размер острова. */
|
|
2124
|
+
size?: never;
|
|
2125
|
+
}
|
|
2126
|
+
|
|
2127
|
+
/** Свойства компонента Footer. */
|
|
2128
|
+
export declare interface IFooterProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
1936
2129
|
}
|
|
1937
2130
|
|
|
1938
2131
|
/** Свойства компонета FormFieldClear. */
|
|
@@ -2030,17 +2223,32 @@ export declare interface IHeaderLayoutSidebarProps extends default_2.HTMLAttribu
|
|
|
2030
2223
|
export declare interface IHeaderLayoutSidebarSidebarProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
2031
2224
|
}
|
|
2032
2225
|
|
|
2033
|
-
declare interface
|
|
2226
|
+
declare interface IHeaderPageTypeFirstProps extends IHeaderProps {
|
|
2227
|
+
children: default_2.ReactNode;
|
|
2034
2228
|
/** Тип компонента HeaderPage. */
|
|
2035
|
-
type
|
|
2229
|
+
type: EHeaderPageType.FIRST;
|
|
2230
|
+
/**
|
|
2231
|
+
* Header прилипает к верхней границе экрана при скролле. Только для второго типа HeaderPage и только внутри LightBox.
|
|
2232
|
+
* */
|
|
2233
|
+
sticky?: boolean;
|
|
2234
|
+
/** Размер острова. */
|
|
2235
|
+
size?: EComponentSize;
|
|
2036
2236
|
}
|
|
2037
2237
|
|
|
2038
|
-
|
|
2039
|
-
|
|
2238
|
+
declare interface IHeaderPageTypeSecondProps extends IHeaderProps {
|
|
2239
|
+
children: default_2.ReactNode;
|
|
2240
|
+
/** Тип компонента HeaderPage. */
|
|
2241
|
+
type: EHeaderPageType.SECOND;
|
|
2040
2242
|
/**
|
|
2041
|
-
* Header прилипает к верхней границе экрана при скролле.
|
|
2243
|
+
* Header прилипает к верхней границе экрана при скролле. Только для второго типа HeaderPage и только внутри LightBox.
|
|
2042
2244
|
* */
|
|
2043
|
-
sticky?:
|
|
2245
|
+
sticky?: never;
|
|
2246
|
+
/** Размер острова. */
|
|
2247
|
+
size?: never;
|
|
2248
|
+
}
|
|
2249
|
+
|
|
2250
|
+
/** Свойства компонента Header. */
|
|
2251
|
+
export declare interface IHeaderProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
2044
2252
|
}
|
|
2045
2253
|
|
|
2046
2254
|
/** Свойства компонента HeaderSubheader. */
|
|
@@ -2073,22 +2281,60 @@ export declare interface IHeaderTitleControlsProps extends default_2.HTMLAttribu
|
|
|
2073
2281
|
export declare interface IHeaderTitleProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
2074
2282
|
}
|
|
2075
2283
|
|
|
2076
|
-
|
|
2284
|
+
/** Свойства компонента IslandAccordionContent. */
|
|
2285
|
+
export declare interface IIslandAccordionContentProps {
|
|
2286
|
+
children?: default_2.ReactNode;
|
|
2287
|
+
}
|
|
2288
|
+
|
|
2289
|
+
/** Свойства компонента IslandAccordionFooter. */
|
|
2290
|
+
export declare interface IIslandAccordionFooterProps extends IIslandFooterProps {
|
|
2291
|
+
}
|
|
2292
|
+
|
|
2293
|
+
export declare interface IIslandAccordionItemProps extends Omit<default_2.HTMLAttributes<HTMLLIElement>, "title"> {
|
|
2294
|
+
/** Нода с названием заголовка. */
|
|
2295
|
+
title: default_2.ReactNode;
|
|
2296
|
+
/** Идентификатор вкладки (если не передать извне, то используется индекс. Также используется как ключ при рендере списка вкладок). */
|
|
2297
|
+
id: string;
|
|
2298
|
+
/** Цифра в кружке. */
|
|
2299
|
+
num?: number;
|
|
2300
|
+
/** Раскрыт ли элемент. */
|
|
2301
|
+
opened?: boolean;
|
|
2302
|
+
/** Статус шага. */
|
|
2303
|
+
status?: EStepStatus;
|
|
2304
|
+
/** Подсказка к шагу. */
|
|
2305
|
+
stepHint?: string;
|
|
2306
|
+
/** Заблокирован ли элемент. */
|
|
2307
|
+
disabled?: boolean;
|
|
2308
|
+
/** Вызывается при клике по вкладке. */
|
|
2309
|
+
onToggle?: (newOpened: boolean, id: string) => void;
|
|
2310
|
+
/** Вызывается при удалении вкладки. */
|
|
2311
|
+
onRemove?: (id: string) => void;
|
|
2312
|
+
/** Свойства компонента Transition (react-transition-group). */
|
|
2313
|
+
transitionProps?: IExpandAnimationProps["transitionProps"];
|
|
2314
|
+
}
|
|
2315
|
+
|
|
2316
|
+
export declare interface IIslandAccordionProps extends default_2.HTMLAttributes<HTMLUListElement>, Pick<IIslandProps, "type"> {
|
|
2317
|
+
size?: EComponentSize;
|
|
2077
2318
|
}
|
|
2078
2319
|
|
|
2079
|
-
declare
|
|
2320
|
+
export declare type IIslandAccordionTitleProps = Omit<TTitleProps<keyof JSX.IntrinsicElements>, "size"> & {
|
|
2321
|
+
children?: default_2.ReactNode;
|
|
2322
|
+
};
|
|
2323
|
+
|
|
2324
|
+
export declare interface IIslandBodyProps extends default_2.HTMLProps<HTMLDivElement> {
|
|
2080
2325
|
}
|
|
2081
2326
|
|
|
2082
|
-
declare interface
|
|
2327
|
+
export declare interface IIslandFooterProps extends default_2.HTMLProps<HTMLDivElement> {
|
|
2083
2328
|
}
|
|
2084
2329
|
|
|
2085
|
-
export declare interface
|
|
2086
|
-
|
|
2087
|
-
|
|
2330
|
+
export declare interface IIslandHeaderProps extends default_2.HTMLProps<HTMLDivElement> {
|
|
2331
|
+
}
|
|
2332
|
+
|
|
2333
|
+
export declare interface IIslandProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
2088
2334
|
/** Тип компонента Island. Отличаются цвет и тень. */
|
|
2089
2335
|
type?: EIslandType;
|
|
2090
|
-
/** Возможные размеры
|
|
2091
|
-
|
|
2336
|
+
/** Возможные размеры острова. */
|
|
2337
|
+
size?: EComponentSize;
|
|
2092
2338
|
}
|
|
2093
2339
|
|
|
2094
2340
|
/** Свойства компонента ComposedKeyDownListener. */
|
|
@@ -2105,6 +2351,110 @@ export declare interface IKeyDownListenerProps {
|
|
|
2105
2351
|
onMatch: (event: KeyboardEvent) => void;
|
|
2106
2352
|
}
|
|
2107
2353
|
|
|
2354
|
+
/** Свойства LightBoxClose. */
|
|
2355
|
+
declare interface ILightBoxCloseProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
2356
|
+
/** Обработчик закрытия лайтбокса. */
|
|
2357
|
+
onClick: () => void;
|
|
2358
|
+
}
|
|
2359
|
+
|
|
2360
|
+
declare interface ILightBoxContentProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
2361
|
+
children: default_2.ReactNode;
|
|
2362
|
+
isLoading?: boolean;
|
|
2363
|
+
loadingTitle?: default_2.ReactNode;
|
|
2364
|
+
}
|
|
2365
|
+
|
|
2366
|
+
declare interface ILightBoxControlsFC extends default_2.FC<ILightBoxControlsProps> {
|
|
2367
|
+
Close: typeof LightBoxClose;
|
|
2368
|
+
Next: typeof LightBoxNext;
|
|
2369
|
+
Prev: typeof LightBoxPrev;
|
|
2370
|
+
}
|
|
2371
|
+
|
|
2372
|
+
/** Свойства компонента LightBoxControls. */
|
|
2373
|
+
declare interface ILightBoxControlsProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
2374
|
+
}
|
|
2375
|
+
|
|
2376
|
+
declare interface ILightBoxFC extends default_2.FC<ILightBoxProps> {
|
|
2377
|
+
Content: typeof LightBoxContent;
|
|
2378
|
+
SideOverlay: typeof LightBoxSideOverlay;
|
|
2379
|
+
TopOverlay: typeof LightBoxTopOverlay;
|
|
2380
|
+
Controls: typeof LightBoxControls;
|
|
2381
|
+
}
|
|
2382
|
+
|
|
2383
|
+
/** Свойства LightBoxNext. */
|
|
2384
|
+
declare interface ILightBoxNextProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
2385
|
+
/** Кликнуть по кнопке при нажатии стрелки вправо на клавиатуре. */
|
|
2386
|
+
clickByArrowRight?: boolean;
|
|
2387
|
+
/** Обработчик клика по кнопке. */
|
|
2388
|
+
onClick: () => void;
|
|
2389
|
+
/** Идентификатор для обучающего тура. */
|
|
2390
|
+
dataTutorialId?: string;
|
|
2391
|
+
}
|
|
2392
|
+
|
|
2393
|
+
/** Свойства LightBoxPrev. */
|
|
2394
|
+
declare interface ILightBoxPrevProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
2395
|
+
/** Кликнуть по кнопке при нажатии стрелки влево на клавиатуре. */
|
|
2396
|
+
clickByArrowLeft?: boolean;
|
|
2397
|
+
/** Обработчик клика по кнопке. */
|
|
2398
|
+
onClick: () => void;
|
|
2399
|
+
/** Идентификатор для обучающего тура. */
|
|
2400
|
+
dataTutorialId?: string;
|
|
2401
|
+
}
|
|
2402
|
+
|
|
2403
|
+
/** Свойства компонента LightBox. */
|
|
2404
|
+
export declare interface ILightBoxProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
2405
|
+
children: default_2.ReactElement[];
|
|
2406
|
+
/** Свойства FocusTrap. Используется npm-пакет focus-trap-react. */
|
|
2407
|
+
focusTrapProps?: FocusTrapProps;
|
|
2408
|
+
/** Ref на контейнер LightBox. */
|
|
2409
|
+
forwardRef?: default_2.MutableRefObject<HTMLElement | null>;
|
|
2410
|
+
/** DOM-нода в которую будет рендерится лайтбокс. */
|
|
2411
|
+
mountNode?: HTMLDivElement;
|
|
2412
|
+
/** Идентификатор DOM-элемента, в визуальных границах (левая и правая координата) которого рендерится лайтбокс. */
|
|
2413
|
+
lightBoxViewManagerNodeId?: string;
|
|
2414
|
+
/** Флаг состояния загрузки. */
|
|
2415
|
+
isLoading?: boolean;
|
|
2416
|
+
/** Флаг открытия боковой панели. */
|
|
2417
|
+
isSideOverlayOpened?: boolean;
|
|
2418
|
+
/** Флаг открытия верхней панели. */
|
|
2419
|
+
isTopOverlayOpened?: boolean;
|
|
2420
|
+
}
|
|
2421
|
+
|
|
2422
|
+
declare interface ILightBoxSideOverlayCloseDesktopProps extends default_2.HTMLAttributes<HTMLButtonElement> {
|
|
2423
|
+
/**
|
|
2424
|
+
* Триггер click по нажатию Esc.
|
|
2425
|
+
*/
|
|
2426
|
+
clickByEsc: boolean;
|
|
2427
|
+
}
|
|
2428
|
+
|
|
2429
|
+
declare interface ILightBoxSideOverlayCloseMobileProps extends default_2.HTMLAttributes<HTMLButtonElement> {
|
|
2430
|
+
}
|
|
2431
|
+
|
|
2432
|
+
declare interface ILightBoxSideOverlayFC extends default_2.FC<ILightBoxSideOverlayProps> {
|
|
2433
|
+
CloseDesktop: typeof LightBoxSideOverlayCloseDesktop;
|
|
2434
|
+
CloseMobile: typeof LightBoxSideOverlayCloseMobile;
|
|
2435
|
+
}
|
|
2436
|
+
|
|
2437
|
+
/** Свойства компонента LightBoxSideOverlay. */
|
|
2438
|
+
declare interface ILightBoxSideOverlayProps extends default_2.HTMLAttributes<HTMLDivElement>, Pick<IOverlayBaseProps, "opened" | "onClose" | "onOpen"> {
|
|
2439
|
+
/** Свойства FocusTrap. Используется npm-пакет focus-trap-react. */
|
|
2440
|
+
focusTrapProps?: FocusTrapProps;
|
|
2441
|
+
isLoading?: boolean;
|
|
2442
|
+
/** Текст под спиннером. */
|
|
2443
|
+
loadingTitle?: default_2.ReactNode;
|
|
2444
|
+
/** Открыт другой SideOverlay поверх текущего. */
|
|
2445
|
+
isTopLevelSideOverlayOpened?: boolean;
|
|
2446
|
+
/** Открыт TopOverlay в текущей SideOverlay. */
|
|
2447
|
+
isTopOverlayOpened?: boolean;
|
|
2448
|
+
size?: ELightBoxSideOverlaySize;
|
|
2449
|
+
}
|
|
2450
|
+
|
|
2451
|
+
/** Свойства компонента LightBoxTopOverlay. */
|
|
2452
|
+
declare interface ILightBoxTopOverlayProps extends Pick<IOverlayProps, "opened" | "onOpen" | "onClose"> {
|
|
2453
|
+
children?: default_2.ReactNode;
|
|
2454
|
+
/** Свойства FocusTrap. Используется npm-пакет focus-trap-react. */
|
|
2455
|
+
focusTrapProps?: FocusTrapProps;
|
|
2456
|
+
}
|
|
2457
|
+
|
|
2108
2458
|
/** Общие свойства компонента Link. */
|
|
2109
2459
|
export declare interface ILinkCommonProps extends default_2.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
2110
2460
|
/** Тело гиперссылки. */
|
|
@@ -2404,6 +2754,13 @@ declare interface IOverlayChildrenProvideProps extends Pick<IOverlayBaseProps, '
|
|
|
2404
2754
|
setOpening: (opening: boolean) => void;
|
|
2405
2755
|
}
|
|
2406
2756
|
|
|
2757
|
+
declare interface IOverlayProps extends IOverlayBaseProps, Omit<default_2.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
2758
|
+
/**
|
|
2759
|
+
* Оврелей с фиксированным позиционированием на всю страницу, иначе с абсолютным поверх родителя.
|
|
2760
|
+
*/
|
|
2761
|
+
fixed?: boolean;
|
|
2762
|
+
}
|
|
2763
|
+
|
|
2407
2764
|
/** Свойства компонента Page. */
|
|
2408
2765
|
export declare interface IPageProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
2409
2766
|
}
|
|
@@ -2572,12 +2929,93 @@ export declare interface ISkeletonProps extends default_2.HTMLAttributes<HTMLDiv
|
|
|
2572
2929
|
type?: ESkeletonType;
|
|
2573
2930
|
}
|
|
2574
2931
|
|
|
2575
|
-
export declare const Island: default_2.ForwardRefExoticComponent<
|
|
2932
|
+
export declare const Island: default_2.ForwardRefExoticComponent<IIslandProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
2576
2933
|
Body: default_2.ForwardRefExoticComponent<Omit<IIslandBodyProps, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
2577
2934
|
Header: default_2.ForwardRefExoticComponent<Omit<IIslandHeaderProps, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
2578
2935
|
Footer: default_2.ForwardRefExoticComponent<Omit<IIslandFooterProps, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
2579
2936
|
};
|
|
2580
2937
|
|
|
2938
|
+
export declare const IslandAccordion: default_2.ForwardRefExoticComponent<IIslandAccordionProps & default_2.RefAttributes<HTMLUListElement>> & {
|
|
2939
|
+
Item: default_2.ForwardRefExoticComponent<IIslandAccordionItemProps & default_2.RefAttributes<HTMLLIElement>> & {
|
|
2940
|
+
Title: default_2.FC<IIslandAccordionTitleProps>;
|
|
2941
|
+
Content: default_2.FC<IIslandAccordionContentProps>;
|
|
2942
|
+
Footer: default_2.FC<IIslandAccordionFooterProps>;
|
|
2943
|
+
};
|
|
2944
|
+
};
|
|
2945
|
+
|
|
2946
|
+
/** Компонент содержимого элемента аккордеона. */
|
|
2947
|
+
export declare const IslandAccordionContent: default_2.FC<IIslandAccordionContentProps>;
|
|
2948
|
+
|
|
2949
|
+
/** Компонент подвала элемента акоордеона. */
|
|
2950
|
+
export declare const IslandAccordionFooter: default_2.FC<IIslandAccordionFooterProps>;
|
|
2951
|
+
|
|
2952
|
+
export declare const IslandAccordionItem: default_2.ForwardRefExoticComponent<IIslandAccordionItemProps & default_2.RefAttributes<HTMLLIElement>> & {
|
|
2953
|
+
Title: default_2.FC<IIslandAccordionTitleProps>;
|
|
2954
|
+
Content: default_2.FC<IIslandAccordionContentProps>;
|
|
2955
|
+
Footer: default_2.FC<IIslandAccordionFooterProps>;
|
|
2956
|
+
};
|
|
2957
|
+
|
|
2958
|
+
export declare const IslandAccordionTitle: default_2.FC<IIslandAccordionTitleProps>;
|
|
2959
|
+
|
|
2960
|
+
export declare const IslandBody: default_2.ForwardRefExoticComponent<Omit<IIslandBodyProps, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
2961
|
+
|
|
2962
|
+
export declare const IslandFooter: default_2.ForwardRefExoticComponent<Omit<IIslandFooterProps, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
2963
|
+
|
|
2964
|
+
export declare const IslandHeader: default_2.ForwardRefExoticComponent<Omit<IIslandHeaderProps, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
2965
|
+
|
|
2966
|
+
/** Внутренние составляющие SMSInput. */
|
|
2967
|
+
declare interface ISMSInputComposition {
|
|
2968
|
+
Tooltip: typeof SMSInputTooltip;
|
|
2969
|
+
Refresh: typeof SMSInputRefresh;
|
|
2970
|
+
Input: typeof SMSInputInput;
|
|
2971
|
+
Submit: typeof SMSInputSubmit;
|
|
2972
|
+
}
|
|
2973
|
+
|
|
2974
|
+
/** Свойства SMSInput.Input. */
|
|
2975
|
+
declare interface ISMSInputInputProps extends default_2.InputHTMLAttributes<HTMLInputElement> {
|
|
2976
|
+
/** Счётчик символов */
|
|
2977
|
+
counter: default_2.ReactNode;
|
|
2978
|
+
/** Описание поля ввода */
|
|
2979
|
+
description?: default_2.ReactNode;
|
|
2980
|
+
}
|
|
2981
|
+
|
|
2982
|
+
/** Свойства компонента SMSInput. */
|
|
2983
|
+
export declare interface ISMSInputProps extends default_2.HTMLAttributes<HTMLDivElement>, TestProps {
|
|
2984
|
+
/** Значение кода. */
|
|
2985
|
+
code: string;
|
|
2986
|
+
/** Признак блокировки компонента. */
|
|
2987
|
+
disabled?: boolean;
|
|
2988
|
+
/** Признак наличия ошибки. */
|
|
2989
|
+
error?: boolean;
|
|
2990
|
+
/** Обработчик изменения кода. */
|
|
2991
|
+
onChangeCode: (code: string) => void;
|
|
2992
|
+
/** Обработчик отправки кода. */
|
|
2993
|
+
onSubmitCode: (code: string) => void;
|
|
2994
|
+
/** Размер поля. */
|
|
2995
|
+
size: EComponentSize;
|
|
2996
|
+
}
|
|
2997
|
+
|
|
2998
|
+
/** Свойства SMSInput.Refresh. */
|
|
2999
|
+
declare interface ISMSInputRefreshProps extends default_2.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3000
|
+
/** Число секунд обратного отсчета. */
|
|
3001
|
+
countdownTime: number;
|
|
3002
|
+
/** Число оставшихся секунд обратного отсчета. */
|
|
3003
|
+
countdownTimeLeft: number;
|
|
3004
|
+
/** Обработчик запроса кода. */
|
|
3005
|
+
onRefresh: () => void;
|
|
3006
|
+
}
|
|
3007
|
+
|
|
3008
|
+
/** Свойства SMSInput.Submit. */
|
|
3009
|
+
declare interface ISMSInputSubmitProps extends default_2.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3010
|
+
}
|
|
3011
|
+
|
|
3012
|
+
/** Свойства SMSInput.Tooltip. */
|
|
3013
|
+
declare interface ISMSInputTooltipProps extends Partial<Omit<ITooltipProps, "children" | "targetRef">>, Pick<ITooltipProps, "targetRef">, TestProps {
|
|
3014
|
+
children: default_2.ReactElement;
|
|
3015
|
+
/** Текст подсказки. */
|
|
3016
|
+
message: string;
|
|
3017
|
+
}
|
|
3018
|
+
|
|
2581
3019
|
/** Порядок сортировки. */
|
|
2582
3020
|
export declare interface ISortOrder {
|
|
2583
3021
|
/** По какому столбцу производить сортировку. */
|
|
@@ -2586,6 +3024,67 @@ export declare interface ISortOrder {
|
|
|
2586
3024
|
direction: EOrderDirection;
|
|
2587
3025
|
}
|
|
2588
3026
|
|
|
3027
|
+
/** Базовые свойства компонента Spoiler. */
|
|
3028
|
+
declare interface ISpoilerBaseProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
3029
|
+
/** Текст раскрытия содержимого. */
|
|
3030
|
+
labelExpand: string;
|
|
3031
|
+
/** Текст скрытия содержимого. */
|
|
3032
|
+
labelCollapse?: string;
|
|
3033
|
+
/** Обработчик скрытия/раскрытия. */
|
|
3034
|
+
onToggle?: (expanded: boolean) => void;
|
|
3035
|
+
/** Элемент правого блока. */
|
|
3036
|
+
rightBlock?: default_2.ReactNode;
|
|
3037
|
+
/** Размер компонента. */
|
|
3038
|
+
size?: EComponentSize;
|
|
3039
|
+
}
|
|
3040
|
+
|
|
3041
|
+
/** Свойства контролируемого Spoiler. */
|
|
3042
|
+
declare interface ISpoilerControlledProps extends ISpoilerBaseProps {
|
|
3043
|
+
/** Контролируемое состояние скрыт/раскрыт. */
|
|
3044
|
+
expanded: boolean;
|
|
3045
|
+
/** Контролирующая функция скрытия/раскрытия. */
|
|
3046
|
+
toggle: (nextExpanded: boolean) => void;
|
|
3047
|
+
}
|
|
3048
|
+
|
|
3049
|
+
/** Свойства неконтролируемого Spoiler. */
|
|
3050
|
+
declare interface ISpoilerUncontrolledProps extends ISpoilerBaseProps {
|
|
3051
|
+
/** Контролируемое состояние скрыт/раскрыт. */
|
|
3052
|
+
expanded?: never;
|
|
3053
|
+
/** Контролирующая функция скрытия/раскрытия. */
|
|
3054
|
+
toggle?: never;
|
|
3055
|
+
}
|
|
3056
|
+
|
|
3057
|
+
/** Свойства компонента StatusTrackerBody. */
|
|
3058
|
+
declare interface IStatusTrackerBodyProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
3059
|
+
}
|
|
3060
|
+
|
|
3061
|
+
/** Свойства компонента StatusTrackerDescription. */
|
|
3062
|
+
declare interface IStatusTrackerDescriptionProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
3063
|
+
}
|
|
3064
|
+
|
|
3065
|
+
/** Свойства компонента StatusTrackerFooter. */
|
|
3066
|
+
declare interface IStatusTrackerFooterProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
3067
|
+
}
|
|
3068
|
+
|
|
3069
|
+
/** Свойства компонента StatusTrackerHeader. */
|
|
3070
|
+
declare interface IStatusTrackerHeaderProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
3071
|
+
}
|
|
3072
|
+
|
|
3073
|
+
/** Свойства компонента StatusTracker. */
|
|
3074
|
+
export declare interface IStatusTrackerProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
3075
|
+
type: EStatusTrackerType;
|
|
3076
|
+
verticalAlign?: EVerticalAlign_2;
|
|
3077
|
+
}
|
|
3078
|
+
|
|
3079
|
+
/** Свойства компонента StatusTrackerSum. */
|
|
3080
|
+
declare interface IStatusTrackerSumProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
3081
|
+
amountProps: IAmountProps;
|
|
3082
|
+
}
|
|
3083
|
+
|
|
3084
|
+
/** Свойства компонента StatusTrackerTitle. */
|
|
3085
|
+
declare interface IStatusTrackerTitleProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
3086
|
+
}
|
|
3087
|
+
|
|
2589
3088
|
/** Внутренние составляющие Stepper. */
|
|
2590
3089
|
declare interface IStepperComposition {
|
|
2591
3090
|
Step: typeof StepperStep;
|
|
@@ -2644,6 +3143,16 @@ declare interface IStepperStepProps extends default_2.LiHTMLAttributes<HTMLLIEle
|
|
|
2644
3143
|
type: EStepperStepType;
|
|
2645
3144
|
}
|
|
2646
3145
|
|
|
3146
|
+
/** Свойства компонента Step. */
|
|
3147
|
+
export declare interface IStepProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
3148
|
+
/** Номер шага для отображения в кружке. */
|
|
3149
|
+
step: number;
|
|
3150
|
+
/** Статус текущего шага. */
|
|
3151
|
+
status: EStepStatus;
|
|
3152
|
+
/** Позиция шага, относительно других. */
|
|
3153
|
+
position?: EStepPosition;
|
|
3154
|
+
}
|
|
3155
|
+
|
|
2647
3156
|
/** Свойства, передаваемые в рендер-функцию DropdownListItem. */
|
|
2648
3157
|
export declare interface ISuggestFieldDesktopDropdownListItemProvideProps extends Pick<IDropdownListItemProps, "children" | "id" | "keyCodesForSelection" | "selected" | "onMouseDown" | "onSelect"> {
|
|
2649
3158
|
}
|
|
@@ -2714,7 +3223,7 @@ export declare interface ISuggestFieldOption {
|
|
|
2714
3223
|
}
|
|
2715
3224
|
|
|
2716
3225
|
/** Свойства компонента SuggestField. */
|
|
2717
|
-
export declare interface ISuggestFieldProps<T extends ISuggestFieldOption = ISuggestFieldOption> extends Omit<default_2.HTMLAttributes<HTMLDivElement>, "onSelect">, Required<Pick<IFormFieldProps, "size" | "status">>,
|
|
3226
|
+
export declare interface ISuggestFieldProps<T extends ISuggestFieldOption = ISuggestFieldOption> extends Omit<default_2.HTMLAttributes<HTMLDivElement>, "onSelect">, Required<Pick<IFormFieldProps, "size" | "status">>, DataAttributes {
|
|
2718
3227
|
/** Выбранное значение. */
|
|
2719
3228
|
value: T | undefined;
|
|
2720
3229
|
/** Список значений. */
|
|
@@ -2766,17 +3275,13 @@ export declare interface ISuggestFieldTargetPostfixProvideProps extends Pick<ISu
|
|
|
2766
3275
|
}
|
|
2767
3276
|
|
|
2768
3277
|
/** Свойство компонента SuggestFieldTarget. */
|
|
2769
|
-
export declare interface ISuggestFieldTargetProps extends
|
|
3278
|
+
export declare interface ISuggestFieldTargetProps extends default_2.HTMLAttributes<HTMLElement>, Pick<ISuggestFieldProps, "size" | "status" | "label" | "placeholder" | "loading">, Pick<ISuggestFieldTargetPostfixProps, "onClear"> {
|
|
2770
3279
|
/** Значение поля ввода. */
|
|
2771
3280
|
inputValue: string;
|
|
2772
3281
|
/** Идентификатор для тестирования. */
|
|
2773
3282
|
dataTestId?: string;
|
|
2774
|
-
/**
|
|
2775
|
-
|
|
2776
|
-
/** Обработчик потери фокуса Input. */
|
|
2777
|
-
onInputBlur?: (event: default_2.FocusEvent<HTMLInputElement>) => void;
|
|
2778
|
-
/** Обработчик изменения значения Input. */
|
|
2779
|
-
onInputChange?: (event: default_2.FocusEvent<HTMLInputElement>) => void;
|
|
3283
|
+
/** Dropdown открыт. */
|
|
3284
|
+
dropdownOpen: boolean;
|
|
2780
3285
|
/** Рендер поля ввода. */
|
|
2781
3286
|
renderInput?: (props: ISuggestFieldInputProvideProps) => JSX.Element;
|
|
2782
3287
|
/** Рендер лейбла. */
|
|
@@ -2787,6 +3292,44 @@ export declare interface ISuggestFieldTargetProps extends Omit<IFormFieldProps,
|
|
|
2787
3292
|
renderPostfix?: (props: ISuggestFieldTargetPostfixProvideProps) => JSX.Element;
|
|
2788
3293
|
}
|
|
2789
3294
|
|
|
3295
|
+
/** Опция выпадающего списка Suggest. */
|
|
3296
|
+
declare interface ISuggestOption {
|
|
3297
|
+
/** Уникальный идентификатор. */
|
|
3298
|
+
id: string;
|
|
3299
|
+
/** Текст для отображения опции в списке и поле ввода. */
|
|
3300
|
+
label: string;
|
|
3301
|
+
/** Кастомное содержимое опции в списке. */
|
|
3302
|
+
content?: default_2.ReactNode;
|
|
3303
|
+
}
|
|
3304
|
+
|
|
3305
|
+
/** Свойства компонента Suggest. */
|
|
3306
|
+
declare interface ISuggestProps<T extends ISuggestOption = ISuggestOption> extends Omit<default_2.HTMLAttributes<HTMLDivElement>, "onSelect"> {
|
|
3307
|
+
/** Выбранное значение. */
|
|
3308
|
+
value: T | undefined;
|
|
3309
|
+
/** Список значений. */
|
|
3310
|
+
options: T[];
|
|
3311
|
+
/** Размер. */
|
|
3312
|
+
size: EComponentSize;
|
|
3313
|
+
/** Текст подсказки. */
|
|
3314
|
+
placeholder?: string;
|
|
3315
|
+
/** Текст, отображаемый при отсутствии опций. */
|
|
3316
|
+
noOptionsText?: string;
|
|
3317
|
+
/** Флаг управления видимостью Tooltip. */
|
|
3318
|
+
tooltipOpen?: boolean;
|
|
3319
|
+
/** Флаг состояния загрузки. */
|
|
3320
|
+
loading?: boolean;
|
|
3321
|
+
/** Флаг состояния загрукзи DropdownList. */
|
|
3322
|
+
dropdownListLoading?: boolean;
|
|
3323
|
+
/** Определяет, нужно ли очищать поле ввода при получении фокуса. */
|
|
3324
|
+
clearInputOnFocus?: boolean;
|
|
3325
|
+
/** Обработчик выбора элемента из списка. */
|
|
3326
|
+
onSelect: (value: T | undefined) => void;
|
|
3327
|
+
/** Обработчик фильтрации значений. */
|
|
3328
|
+
onFilter: (value: string) => void;
|
|
3329
|
+
/** Обработчик окончания скролла списка (доступные в данный момент элементы закончились). */
|
|
3330
|
+
onScrollEnd?: () => void;
|
|
3331
|
+
}
|
|
3332
|
+
|
|
2790
3333
|
declare interface ISwipeableAreaRef {
|
|
2791
3334
|
/** Закрывает leftSwipeableAreaRef или rightSwipeableArea. */
|
|
2792
3335
|
closeSwipe: () => void;
|
|
@@ -3108,6 +3651,12 @@ export declare interface ITagProps extends React.HTMLAttributes<HTMLSpanElement>
|
|
|
3108
3651
|
removeButtonProps?: IButtonIconProps;
|
|
3109
3652
|
}
|
|
3110
3653
|
|
|
3654
|
+
/** Свойства компонента TextareaField. */
|
|
3655
|
+
export declare interface ITextareaFieldProps extends Omit<ITextFieldBaseProps, "children"> {
|
|
3656
|
+
/** Свойства компонента FormFieldTextarea. */
|
|
3657
|
+
textareaProps: IFormFieldTextareaProps & React.RefAttributes<HTMLTextAreaElement>;
|
|
3658
|
+
}
|
|
3659
|
+
|
|
3111
3660
|
/** Свойства компонента TextFieldBase. */
|
|
3112
3661
|
declare interface ITextFieldBaseProps extends Omit<IFormFieldProps, "prefix" | "postfix"> {
|
|
3113
3662
|
/** Дочерние элементы. */
|
|
@@ -3246,6 +3795,49 @@ export declare class KeyDownListener extends default_2.Component<IKeyDownListene
|
|
|
3246
3795
|
render(): default_2.ReactNode;
|
|
3247
3796
|
}
|
|
3248
3797
|
|
|
3798
|
+
export declare const LightBox: ILightBoxFC;
|
|
3799
|
+
|
|
3800
|
+
/** Кнопка закрытия лайтбокса. */
|
|
3801
|
+
declare const LightBoxClose: default_2.FC<ILightBoxCloseProps>;
|
|
3802
|
+
|
|
3803
|
+
/**
|
|
3804
|
+
* Компонента контента лайтбокса.
|
|
3805
|
+
*/
|
|
3806
|
+
declare const LightBoxContent: default_2.FC<ILightBoxContentProps>;
|
|
3807
|
+
|
|
3808
|
+
/** Контейнер кнопок-действий (закрыть/вперед/назад). */
|
|
3809
|
+
declare const LightBoxControls: ILightBoxControlsFC;
|
|
3810
|
+
|
|
3811
|
+
export declare const lightBoxMountNodeIdDefault = "LightBox-next-mount-node";
|
|
3812
|
+
|
|
3813
|
+
/** Стрелка лайтбокса "Вперёд". */
|
|
3814
|
+
declare const LightBoxNext: default_2.FC<ILightBoxNextProps>;
|
|
3815
|
+
|
|
3816
|
+
/** Стрелка лайтбокса "Назад". */
|
|
3817
|
+
declare const LightBoxPrev: default_2.FC<ILightBoxPrevProps>;
|
|
3818
|
+
|
|
3819
|
+
/**
|
|
3820
|
+
* Боковая панель LightBox.
|
|
3821
|
+
* Выезжает из правой границы LightBox.
|
|
3822
|
+
*/
|
|
3823
|
+
declare const LightBoxSideOverlay: ILightBoxSideOverlayFC;
|
|
3824
|
+
|
|
3825
|
+
/**
|
|
3826
|
+
* Компонент закрытия SideOverlay для десктопа.
|
|
3827
|
+
* Отображается только на десктопе, справа от заголовка SideOverlay.
|
|
3828
|
+
*/
|
|
3829
|
+
declare const LightBoxSideOverlayCloseDesktop: default_2.FC<ILightBoxSideOverlayCloseDesktopProps>;
|
|
3830
|
+
|
|
3831
|
+
/**
|
|
3832
|
+
* Компонент закрытия SideOverlay для мобильного устройства.
|
|
3833
|
+
* Отображается только на мобильном устройстве, внутри заголовка SideOverlay.
|
|
3834
|
+
*/
|
|
3835
|
+
declare const LightBoxSideOverlayCloseMobile: default_2.FC<ILightBoxSideOverlayCloseMobileProps>;
|
|
3836
|
+
|
|
3837
|
+
declare const LightBoxTopOverlay: default_2.FC<ILightBoxTopOverlayProps>;
|
|
3838
|
+
|
|
3839
|
+
export declare const lightBoxViewManagerNodeIdDefault = "LightBox-next-view-manager-node";
|
|
3840
|
+
|
|
3249
3841
|
/** Гиперссылка. */
|
|
3250
3842
|
export declare const Link: default_2.ForwardRefExoticComponent<ILinkCommonProps & default_2.RefAttributes<HTMLAnchorElement>>;
|
|
3251
3843
|
|
|
@@ -3319,6 +3911,21 @@ export declare const LoaderScreen: default_2.FC<ILoaderScreenProps>;
|
|
|
3319
3911
|
|
|
3320
3912
|
export declare const LoaderSmall: default_2.FC<ILoaderSmallProps>;
|
|
3321
3913
|
|
|
3914
|
+
/** Соответствие цвета шрифта стилевому классу. */
|
|
3915
|
+
export declare const mapFontWeightTitleToCssClass: {
|
|
3916
|
+
medium: string;
|
|
3917
|
+
regular: string;
|
|
3918
|
+
semibold: string;
|
|
3919
|
+
bold: string;
|
|
3920
|
+
};
|
|
3921
|
+
|
|
3922
|
+
/** Соответствие размера заголовка стилевому классу. */
|
|
3923
|
+
export declare const mapTitleSizeToCssClass: {
|
|
3924
|
+
h1: string;
|
|
3925
|
+
h2: string;
|
|
3926
|
+
h3: string;
|
|
3927
|
+
};
|
|
3928
|
+
|
|
3322
3929
|
export declare const Marker: default_2.FC<IMarkerProps>;
|
|
3323
3930
|
|
|
3324
3931
|
export declare const MarkerStatus: default_2.FC<IMarkerStatusProps>;
|
|
@@ -3360,7 +3967,7 @@ export declare const MobileView: default_2.FC<IMobileViewProps>;
|
|
|
3360
3967
|
/** Компонент отображающий информацию, когда скрыты все колонки таблицы. */
|
|
3361
3968
|
export declare const NoColumns: default_2.FC<INoColumnsProps>;
|
|
3362
3969
|
|
|
3363
|
-
/**
|
|
3970
|
+
/** Текстовое поле для ввода числовых значений. */
|
|
3364
3971
|
export declare const NumberField: default_2.FC<INumberFieldProps>;
|
|
3365
3972
|
|
|
3366
3973
|
/** Нумерованный список. */
|
|
@@ -3374,7 +3981,7 @@ export declare const OrderedListItem: default_2.ForwardRefExoticComponent<IOrder
|
|
|
3374
3981
|
/** Страница. Может содержать только Body, Header и Footer. */
|
|
3375
3982
|
export declare const Page: default_2.ForwardRefExoticComponent<IPageProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
3376
3983
|
Body: default_2.ForwardRefExoticComponent<IBodyPageProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
3377
|
-
Header: default_2.ForwardRefExoticComponent<
|
|
3984
|
+
Header: default_2.ForwardRefExoticComponent<(IHeaderPageTypeSecondProps | IHeaderPageTypeFirstProps) & default_2.RefAttributes<HTMLDivElement>> & {
|
|
3378
3985
|
LayoutSidebar: default_2.ForwardRefExoticComponent<IHeaderLayoutSidebarProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
3379
3986
|
Content: default_2.ForwardRefExoticComponent<IHeaderLayoutSidebarContentProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
3380
3987
|
Sidebar: default_2.ForwardRefExoticComponent<IHeaderLayoutSidebarSidebarProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -3389,7 +3996,7 @@ export declare const Page: default_2.ForwardRefExoticComponent<IPageProps & defa
|
|
|
3389
3996
|
Controls: default_2.ForwardRefExoticComponent<IHeaderTitleControlsProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
3390
3997
|
};
|
|
3391
3998
|
};
|
|
3392
|
-
Footer: default_2.ForwardRefExoticComponent<
|
|
3999
|
+
Footer: default_2.ForwardRefExoticComponent<(IFooterPageTypeSecondProps | IFooterPageTypeFirstProps) & default_2.RefAttributes<HTMLDivElement>> & {
|
|
3393
4000
|
Description: default_2.ForwardRefExoticComponent<IFooterDescriptionProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
3394
4001
|
Content: default_2.ForwardRefExoticComponent<IFooterDescriptionContentProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
3395
4002
|
Controls: default_2.ForwardRefExoticComponent<IFooterDescriptionControlsProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -3460,6 +4067,46 @@ export declare const SelectField: default_2.ForwardRefExoticComponent<ISelectFie
|
|
|
3460
4067
|
*/
|
|
3461
4068
|
export declare const Skeleton: default_2.FC<ISkeletonProps>;
|
|
3462
4069
|
|
|
4070
|
+
/** Компонент для ввода СМС. */
|
|
4071
|
+
export declare const SMSInput: default_2.FC<ISMSInputProps> & ISMSInputComposition;
|
|
4072
|
+
|
|
4073
|
+
declare const SMSInputInput: default_2.ForwardRefExoticComponent<ISMSInputInputProps & default_2.RefAttributes<HTMLInputElement>>;
|
|
4074
|
+
|
|
4075
|
+
declare const SMSInputRefresh: default_2.ForwardRefExoticComponent<ISMSInputRefreshProps & default_2.RefAttributes<HTMLButtonElement>>;
|
|
4076
|
+
|
|
4077
|
+
declare const SMSInputSubmit: default_2.FC<ISMSInputSubmitProps>;
|
|
4078
|
+
|
|
4079
|
+
declare const SMSInputTooltip: default_2.FC<ISMSInputTooltipProps>;
|
|
4080
|
+
|
|
4081
|
+
/** Компонент "Спойлер", используется для раскрытия внутреннего содержимого. */
|
|
4082
|
+
export declare const Spoiler: default_2.ForwardRefExoticComponent<TSpoilerProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
4083
|
+
|
|
4084
|
+
/**
|
|
4085
|
+
* Компонент предназначен для визуального отображения статуса документа.
|
|
4086
|
+
*/
|
|
4087
|
+
export declare const StatusTracker: default_2.ForwardRefExoticComponent<IStatusTrackerProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
4088
|
+
Media: default_2.FC<StatusTrackerMediaProps>;
|
|
4089
|
+
Header: default_2.ForwardRefExoticComponent<IStatusTrackerHeaderProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
4090
|
+
Title: default_2.FC<IStatusTrackerTitleProps>;
|
|
4091
|
+
Sum: default_2.FC<IStatusTrackerSumProps>;
|
|
4092
|
+
Description: default_2.FC<IStatusTrackerDescriptionProps>;
|
|
4093
|
+
};
|
|
4094
|
+
Body: default_2.ForwardRefExoticComponent<IStatusTrackerBodyProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
4095
|
+
Alert: default_2.FC<IAlertProcessProps>;
|
|
4096
|
+
Status: default_2.FC<IMarkerStatusProps>;
|
|
4097
|
+
};
|
|
4098
|
+
Footer: default_2.ForwardRefExoticComponent<IStatusTrackerFooterProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
4099
|
+
Button: default_2.FC<TButtonProps>;
|
|
4100
|
+
Description: default_2.FC<IStatusTrackerDescriptionProps>;
|
|
4101
|
+
};
|
|
4102
|
+
};
|
|
4103
|
+
|
|
4104
|
+
/** Свойства компонента StatusTrackerMedia. */
|
|
4105
|
+
declare interface StatusTrackerMediaProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
4106
|
+
}
|
|
4107
|
+
|
|
4108
|
+
export declare const Step: default_2.FC<IStepProps>;
|
|
4109
|
+
|
|
3463
4110
|
/** Компонент Stepper, список шагов */
|
|
3464
4111
|
export declare const Stepper: default_2.FC<IStepperProps> & IStepperComposition;
|
|
3465
4112
|
|
|
@@ -3475,7 +4122,8 @@ declare const StepperStepIcon: default_2.FC<TStepperStepIconProps>;
|
|
|
3475
4122
|
/** Компонент StepperWrapper, обёртка для Stepper. */
|
|
3476
4123
|
declare const StepperWrapper: default_2.FC<default_2.HTMLAttributes<HTMLDivElement>>;
|
|
3477
4124
|
|
|
3478
|
-
|
|
4125
|
+
/** Выпадающий список с возможностью поиска по введённому значению. */
|
|
4126
|
+
export declare const SuggestField: (<T extends ISuggestFieldOption = ISuggestFieldOption>(props: ISuggestFieldProps<T>) => JSX.Element) & {
|
|
3479
4127
|
Target: default_2.FC<ISuggestFieldTargetProps> & {
|
|
3480
4128
|
Input: default_2.ForwardRefExoticComponent<IFormFieldInputProps & default_2.RefAttributes<HTMLInputElement>>;
|
|
3481
4129
|
Label: default_2.ForwardRefExoticComponent<IFormFieldLabelProps & default_2.RefAttributes<HTMLLabelElement>>;
|
|
@@ -3484,14 +4132,6 @@ export declare const SuggestField: typeof SuggestFieldBase & {
|
|
|
3484
4132
|
};
|
|
3485
4133
|
};
|
|
3486
4134
|
|
|
3487
|
-
/**
|
|
3488
|
-
* Выпадающий список с возможностью поиска по введённому значению.
|
|
3489
|
-
* @example
|
|
3490
|
-
* <SuggestField value={...} /> - опция имеет тип по умолчанию ISuggestFieldOption
|
|
3491
|
-
* <SuggestField<MyOption> value={...} /> - опция имеет тип MyOption
|
|
3492
|
-
*/
|
|
3493
|
-
declare function SuggestFieldBase<T extends ISuggestFieldOption = ISuggestFieldOption>(props: ISuggestFieldProps<T>): JSX.Element;
|
|
3494
|
-
|
|
3495
4135
|
/**
|
|
3496
4136
|
* Выпадающий список с возможностью поиска по введённому значению, позволяет задать кастомные компоненты для отображения всех
|
|
3497
4137
|
* элементов управления.
|
|
@@ -3648,7 +4288,7 @@ declare type TDataHTMLAttributes = Record<string, string>;
|
|
|
3648
4288
|
|
|
3649
4289
|
declare type TDesignTokens = TDesignTokensCore & TDesignTokensComponents;
|
|
3650
4290
|
|
|
3651
|
-
declare type TDesignTokensComponents = TDesignTokensComponentsAlertContext | TDesignTokensComponentsAlertProcess | TDesignTokensComponentsButton | TDesignTokensComponentsCard | TDesignTokensComponentsCheckbox | TDesignTokensComponentsChip | TDesignTokensComponentsDivider | TDesignTokensComponentsDropdown | TDesignTokensComponentsDropdownList | TDesignTokensComponentsDropdownMobile | TDesignTokensComponentsDropdownMobileList | TDesignTokensComponentsFooterPage | TDesignTokensComponentsFormField | TDesignTokensComponentsHeaderPage | TDesignTokensComponentsIsland | TDesignTokensComponentsLink | TDesignTokensComponentsListItem | TDesignTokensComponentsListItemControlsButton | TDesignTokensComponentsListMaster | TDesignTokensComponentsLoader | TDesignTokensComponentsLoaderScreen | TDesignTokensComponentsMarker | TDesignTokensComponentsMarkerStatus | TDesignTokensComponentsOverlay |
|
|
4291
|
+
declare type TDesignTokensComponents = TDesignTokensComponentsAlertContext | TDesignTokensComponentsAlertProcess | TDesignTokensComponentsButton | TDesignTokensComponentsCard | TDesignTokensComponentsCheckbox | TDesignTokensComponentsChip | TDesignTokensComponentsDivider | TDesignTokensComponentsDropdown | TDesignTokensComponentsDropdownList | TDesignTokensComponentsDropdownMobile | TDesignTokensComponentsDropdownMobileList | TDesignTokensComponentsFooterPage | TDesignTokensComponentsFormField | TDesignTokensComponentsHeaderPage | TDesignTokensComponentsIsland | TDesignTokensComponentsIslandAccordion | TDesignTokensComponentsLink | TDesignTokensComponentsListItem | TDesignTokensComponentsListItemControlsButton | TDesignTokensComponentsListMaster | TDesignTokensComponentsLoader | TDesignTokensComponentsLoaderScreen | TDesignTokensComponentsMarker | TDesignTokensComponentsMarkerStatus | TDesignTokensComponentsOverlay | TDesignTokensComponentsPagination | TDesignTokensComponentsRadio | TDesignTokensComponentsSegmentedControl | TDesignTokensComponentsSegmentedControlSegment | TDesignTokensComponentsSkeleton | TDesignTokensComponentsSMSInput | TDesignTokensComponentsStep | TDesignTokensComponentsStepper | TDesignTokensComponentsTableBasic | TDesignTokensComponentsTabs | TDesignTokensComponentsTag | TDesignTokensComponentsTabsLine | TDesignTokensComponentsTooltip | TDesignTokensComponentsTypography | TDesignTokensComponentsUploadZone | TDesignTokensComponentsLightBox | TDesignTokensComponentsUploadZone | TDesignTokensComponentsNotification | TDesignTokensComponentsStatusTracker;
|
|
3652
4292
|
|
|
3653
4293
|
declare type TDesignTokensComponentsAlertContext = {
|
|
3654
4294
|
AlertContext: TDesignTokensComponentsAlertContextValue;
|
|
@@ -3766,10 +4406,26 @@ declare type TDesignTokensComponentsIsland = {
|
|
|
3766
4406
|
Island: TDesignTokensComponentsIslandValue;
|
|
3767
4407
|
};
|
|
3768
4408
|
|
|
4409
|
+
declare type TDesignTokensComponentsIslandAccordion = {
|
|
4410
|
+
IslandAccordion: TDesignTokensComponentsIslandAccordionValue;
|
|
4411
|
+
};
|
|
4412
|
+
|
|
4413
|
+
declare type TDesignTokensComponentsIslandAccordionKeys = (typeof designTokensComponentsIslandAccordionKeys)[number];
|
|
4414
|
+
|
|
4415
|
+
declare type TDesignTokensComponentsIslandAccordionValue = Record<TDesignTokensComponentsIslandAccordionKeys, TDesignTokenValue>;
|
|
4416
|
+
|
|
3769
4417
|
declare type TDesignTokensComponentsIslandKeys = (typeof designTokensComponentsIslandKeys)[number];
|
|
3770
4418
|
|
|
3771
4419
|
declare type TDesignTokensComponentsIslandValue = Record<TDesignTokensComponentsIslandKeys, TDesignTokenValue>;
|
|
3772
4420
|
|
|
4421
|
+
declare type TDesignTokensComponentsLightBox = {
|
|
4422
|
+
LightBox: TDesignTokensComponentsLightBoxValue;
|
|
4423
|
+
};
|
|
4424
|
+
|
|
4425
|
+
declare type TDesignTokensComponentsLightBoxKeys = (typeof designTokensComponentsLightBoxKeys)[number];
|
|
4426
|
+
|
|
4427
|
+
declare type TDesignTokensComponentsLightBoxValue = Record<TDesignTokensComponentsLightBoxKeys, TDesignTokenValue>;
|
|
4428
|
+
|
|
3773
4429
|
declare type TDesignTokensComponentsLink = {
|
|
3774
4430
|
Link: TDesignTokensComponentsLinkValue;
|
|
3775
4431
|
};
|
|
@@ -3850,14 +4506,6 @@ declare type TDesignTokensComponentsOverlayKeys = (typeof designTokensComponents
|
|
|
3850
4506
|
|
|
3851
4507
|
declare type TDesignTokensComponentsOverlayValue = Record<TDesignTokensComponentsOverlayKeys, TDesignTokenValue>;
|
|
3852
4508
|
|
|
3853
|
-
declare type TDesignTokensComponentsPage = {
|
|
3854
|
-
Page: TDesignTokensComponentsPageValue;
|
|
3855
|
-
};
|
|
3856
|
-
|
|
3857
|
-
declare type TDesignTokensComponentsPageKeys = (typeof designTokensComponentsPageKeys)[number];
|
|
3858
|
-
|
|
3859
|
-
declare type TDesignTokensComponentsPageValue = Record<TDesignTokensComponentsPageKeys, TDesignTokenValue>;
|
|
3860
|
-
|
|
3861
4509
|
declare type TDesignTokensComponentsPagination = {
|
|
3862
4510
|
Pagination: TDesignTokensComponentsPaginationValue;
|
|
3863
4511
|
};
|
|
@@ -3898,6 +4546,28 @@ declare type TDesignTokensComponentsSkeletonKeys = (typeof designTokensComponent
|
|
|
3898
4546
|
|
|
3899
4547
|
declare type TDesignTokensComponentsSkeletonValue = Record<TDesignTokensComponentsSkeletonKeys, TDesignTokenValue>;
|
|
3900
4548
|
|
|
4549
|
+
declare type TDesignTokensComponentsSMSInput = {
|
|
4550
|
+
SMSInput: TDesignTokensComponentsSMSInputValue;
|
|
4551
|
+
};
|
|
4552
|
+
|
|
4553
|
+
declare type TDesignTokensComponentsSMSInputKeys = (typeof designTokensComponentsSMSInputKeys)[number];
|
|
4554
|
+
|
|
4555
|
+
declare type TDesignTokensComponentsSMSInputValue = Record<TDesignTokensComponentsSMSInputKeys, TDesignTokenValue>;
|
|
4556
|
+
|
|
4557
|
+
declare type TDesignTokensComponentsStatusTracker = {
|
|
4558
|
+
StatusTracker: TDesignTokensComponentsStatusTrackerValue;
|
|
4559
|
+
};
|
|
4560
|
+
|
|
4561
|
+
declare type TDesignTokensComponentsStatusTrackerKeys = (typeof designTokensComponentsStatusTrackerKeys)[number];
|
|
4562
|
+
|
|
4563
|
+
declare type TDesignTokensComponentsStatusTrackerValue = Record<TDesignTokensComponentsStatusTrackerKeys, TDesignTokenValue>;
|
|
4564
|
+
|
|
4565
|
+
declare type TDesignTokensComponentsStep = {
|
|
4566
|
+
Step: TDesignTokensComponentsStepValue;
|
|
4567
|
+
};
|
|
4568
|
+
|
|
4569
|
+
declare type TDesignTokensComponentsStepKeys = (typeof designTokensComponentsStepKeys)[number];
|
|
4570
|
+
|
|
3901
4571
|
declare type TDesignTokensComponentsStepper = {
|
|
3902
4572
|
Stepper: TDesignTokensComponentsStepperValue;
|
|
3903
4573
|
};
|
|
@@ -3906,6 +4576,8 @@ declare type TDesignTokensComponentsStepperKeys = (typeof designTokensComponents
|
|
|
3906
4576
|
|
|
3907
4577
|
declare type TDesignTokensComponentsStepperValue = Record<TDesignTokensComponentsStepperKeys, TDesignTokenValue>;
|
|
3908
4578
|
|
|
4579
|
+
declare type TDesignTokensComponentsStepValue = Record<TDesignTokensComponentsStepKeys, TDesignTokenValue>;
|
|
4580
|
+
|
|
3909
4581
|
declare type TDesignTokensComponentsTableBasic = {
|
|
3910
4582
|
TableBasic: TDesignTokensComponentsTableBasicValue;
|
|
3911
4583
|
};
|
|
@@ -4915,6 +5587,9 @@ declare const Text_2: default_2.ForwardRefExoticComponent<(Omit<{
|
|
|
4915
5587
|
} & ITypographyProps & default_2.SVGProps<SVGViewElement>, "ref">) & default_2.RefAttributes<HTMLElement>>;
|
|
4916
5588
|
export { Text_2 as Text }
|
|
4917
5589
|
|
|
5590
|
+
/** Многострочное текстовое поле для ввода большого объема текста. */
|
|
5591
|
+
export declare const TextareaField: default_2.FC<ITextareaFieldProps>;
|
|
5592
|
+
|
|
4918
5593
|
/** Компонент текстового ввода.
|
|
4919
5594
|
* Является более компактным вариантом отображения инпутов, чем FormGroup.
|
|
4920
5595
|
* */
|
|
@@ -4983,10 +5658,6 @@ export declare const ThemeProviderContext: default_2.Context<IThemeProviderConte
|
|
|
4983
5658
|
*/
|
|
4984
5659
|
declare type TIndentSize = 12 | 16 | 20 | 24 | 28 | 32;
|
|
4985
5660
|
|
|
4986
|
-
declare type TIslandBorderRadiusSize = 16 | 24 | 32;
|
|
4987
|
-
|
|
4988
|
-
declare type TIslandPaddingSize = 16 | 24 | 32;
|
|
4989
|
-
|
|
4990
5661
|
/** Заголовок (типографика). */
|
|
4991
5662
|
export declare const Title: default_2.ForwardRefExoticComponent<(Omit<{
|
|
4992
5663
|
/** Размер текста. */
|
|
@@ -5639,6 +6310,9 @@ export declare type TSegmentedControlSingleOnSelect = (value: TSegmentedControlS
|
|
|
5639
6310
|
/** Значение SegmentedControl с одиночным выбором. */
|
|
5640
6311
|
export declare type TSegmentedControlSingleValue = string;
|
|
5641
6312
|
|
|
6313
|
+
/** Комбинированные свойства компонента Spoiler. */
|
|
6314
|
+
declare type TSpoilerProps = ISpoilerControlledProps | ISpoilerUncontrolledProps;
|
|
6315
|
+
|
|
5642
6316
|
/** Свойства иконки в шаге. */
|
|
5643
6317
|
declare type TStepperStepIconProps = {
|
|
5644
6318
|
/** Тип иконки. */
|
|
@@ -5647,6 +6321,14 @@ declare type TStepperStepIconProps = {
|
|
|
5647
6321
|
|
|
5648
6322
|
declare type TTabsExtendedOnSelectTab = (id: string) => void;
|
|
5649
6323
|
|
|
6324
|
+
/** Свойства компонента Title. */
|
|
6325
|
+
export declare type TTitleProps<T extends keyof JSX.IntrinsicElements> = {
|
|
6326
|
+
/** Размер текста. */
|
|
6327
|
+
size: ETitleSize;
|
|
6328
|
+
/** Толщина шрифта. */
|
|
6329
|
+
weight?: EFontWeightTitle;
|
|
6330
|
+
} & ITypographyProps & JSX.IntrinsicElements[T];
|
|
6331
|
+
|
|
5650
6332
|
/** Тип взаимодействия с тултипом. */
|
|
5651
6333
|
declare type TTooltipToggleType = "click" | "hover";
|
|
5652
6334
|
|