@redocly/theme 0.68.0-next.0 → 0.68.0-next.2
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/lib/components/Accordion/Accordion.d.ts +1 -1
- package/lib/components/Accordion/AccordionBody.d.ts +1 -1
- package/lib/components/Accordion/AccordionHeader.d.ts +1 -1
- package/lib/components/Admonition/Admonition.d.ts +1 -1
- package/lib/components/Breadcrumbs/BreadcrumbDropdown.d.ts +1 -1
- package/lib/components/Button/Button.d.ts +1 -1
- package/lib/components/Buttons/ConnectMCPButton.d.ts +1 -1
- package/lib/components/Buttons/DownloadButton.d.ts +1 -1
- package/lib/components/Buttons/NewTabButton.d.ts +1 -1
- package/lib/components/Catalog/CatalogActionsRow.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntities.js +2 -11
- package/lib/components/Catalog/CatalogEntitiesEmptyState.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntity.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsGraph.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsLinkedNode.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsNode.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsNodeContent.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsRootNode.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityHistoryButton.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityHistorySidebar.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityRevisionItem.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityVersionItem.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityInfoBar.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/CatalogEntityPropertyCard.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityApiDescriptionRelations.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityDefaultRelations.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelations.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTable.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTable.js +3 -16
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTableContent.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityTeamRelations.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntitySchema.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntitySchema.js +3 -9
- package/lib/components/Catalog/CatalogEntity/ShowMoreButton.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntityIcon.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntityTypeIcon.d.ts +1 -1
- package/lib/components/Catalog/CatalogFilter/CatalogFilter.d.ts +1 -1
- package/lib/components/Catalog/CatalogFilter/CatalogFilterCheckboxes.d.ts +1 -1
- package/lib/components/Catalog/CatalogFilter/CatalogFilterCheckboxes.js +1 -7
- package/lib/components/Catalog/CatalogFilter/CatalogFilterContent.d.ts +1 -1
- package/lib/components/Catalog/CatalogFilter/CatalogFilterDateRange.d.ts +1 -1
- package/lib/components/Catalog/CatalogFilter/CatalogFilterSelect.d.ts +1 -1
- package/lib/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanel.d.ts +1 -1
- package/lib/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanelHeader.d.ts +1 -1
- package/lib/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanelOverlay.d.ts +1 -1
- package/lib/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBar.d.ts +1 -1
- package/lib/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBarControls.d.ts +1 -1
- package/lib/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBarFiltersButton.d.ts +1 -1
- package/lib/components/Catalog/CatalogPageDescription.d.ts +1 -1
- package/lib/components/Catalog/CatalogSelector.d.ts +2 -2
- package/lib/components/Catalog/CatalogSortButton.d.ts +1 -1
- package/lib/components/Catalog/CatalogTableView/CatalogEntityRelationCell.d.ts +1 -1
- package/lib/components/Catalog/CatalogTableView/CatalogLastUpdateCell.d.ts +1 -1
- package/lib/components/Catalog/CatalogTags.d.ts +1 -1
- package/lib/components/Catalog/CatalogViewModeToggle.d.ts +1 -1
- package/lib/components/CatalogClassic/CatalogClassicVirtualizedGroups.d.ts +1 -1
- package/lib/components/CodeBlock/CodeBlockControls.d.ts +1 -1
- package/lib/components/Feedback/Comment.d.ts +1 -1
- package/lib/components/Feedback/Feedback.js +4 -1
- package/lib/components/Feedback/ReportDialog.d.ts +1 -1
- package/lib/components/Filter/Filter.d.ts +1 -1
- package/lib/components/Filter/FilterCheckboxes.d.ts +1 -1
- package/lib/components/Filter/FilterContent.d.ts +1 -1
- package/lib/components/Filter/FilterPopover.d.ts +1 -1
- package/lib/components/Filter/FilterSelect.d.ts +1 -1
- package/lib/components/Footer/FooterCopyright.d.ts +1 -1
- package/lib/components/LoadMore/LoadMore.d.ts +1 -1
- package/lib/components/Menu/Menu.d.ts +1 -1
- package/lib/components/Menu/MenuContainer.d.ts +1 -1
- package/lib/components/PageNavigation/NavigationButton.d.ts +1 -1
- package/lib/components/PageNavigation/PageNavigation.d.ts +1 -1
- package/lib/components/Panel/Panel.d.ts +1 -1
- package/lib/components/Portal/Portal.d.ts +1 -1
- package/lib/components/Search/FilterFields/SearchFilterFieldSelect.d.ts +1 -1
- package/lib/components/Search/FilterFields/SearchFilterFieldTags.d.ts +1 -1
- package/lib/components/Search/SearchAiActionButtons.d.ts +1 -1
- package/lib/components/Search/SearchAiConversationInput.d.ts +1 -1
- package/lib/components/Search/SearchAiDialog.d.ts +1 -1
- package/lib/components/Search/SearchAiMessage.d.ts +1 -1
- package/lib/components/Search/SearchAiNegativeFeedbackForm.d.ts +1 -1
- package/lib/components/Search/SearchDialog.d.ts +1 -1
- package/lib/components/Search/SearchFilter.d.ts +1 -1
- package/lib/components/Search/SearchFilterField.d.ts +1 -1
- package/lib/components/Search/SearchGroups.d.ts +1 -1
- package/lib/components/Search/SearchInput.d.ts +1 -1
- package/lib/components/Search/SearchItem.d.ts +1 -1
- package/lib/components/Sidebar/Sidebar.d.ts +1 -1
- package/lib/components/SidebarActions/styled.d.ts +3 -3
- package/lib/components/SidebarLogo/SidebarLogo.d.ts +1 -1
- package/lib/components/SvgViewer/SvgViewer.d.ts +1 -1
- package/lib/components/Switch/Switch.d.ts +1 -1
- package/lib/components/Tags/CounterTag.d.ts +2 -2
- package/lib/components/Tags/HttpTag.d.ts +2 -2
- package/lib/components/Toast/Toast.d.ts +1 -1
- package/lib/components/Typography/CompactTypography.d.ts +8 -8
- package/lib/components/UserMenu/LoginButton.d.ts +1 -1
- package/lib/components/UserMenu/UserAvatar.d.ts +1 -1
- package/lib/components/UserMenu/UserInfoMenuItem.d.ts +1 -1
- package/lib/core/hooks/catalog/use-catalog-entity-details.d.ts +1 -1
- package/lib/core/hooks/catalog/use-catalog-table-header-cell-actions.d.ts +1 -1
- package/lib/core/hooks/code-walkthrough/use-code-walkthrough-steps.d.ts +1 -1
- package/lib/core/hooks/menu/use-collapse.d.ts +1 -1
- package/lib/core/hooks/menu/use-mobile-menu-items.d.ts +2 -2
- package/lib/core/hooks/use-active-heading.js +5 -2
- package/lib/core/hooks/use-connect-mcp-button.d.ts +1 -1
- package/lib/core/hooks/use-element-size.d.ts +1 -1
- package/lib/core/hooks/use-product-picker.d.ts +3 -3
- package/lib/core/hooks/use-store.d.ts +1 -1
- package/lib/core/hooks/use-tabs.d.ts +1 -1
- package/lib/core/hooks/use-telemetry-fallback.d.ts +1 -1
- package/lib/core/hooks/use-telemetry-fallback.js +1 -1
- package/lib/core/hooks/use-toast-logic.d.ts +1 -1
- package/lib/core/hooks/use-tooltip-fallback-placement.d.ts +1 -1
- package/lib/core/styles/dark.js +11 -0
- package/lib/core/styles/global.js +36 -34
- package/lib/core/utils/get-operation-color.d.ts +1 -1
- package/lib/core/utils/load-and-navigate.d.ts +1 -1
- package/lib/core/utils/tooltip-placement.d.ts +2 -2
- package/lib/core/utils/transform-revisions-to-version-history.d.ts +1 -1
- package/lib/icons/AddIcon/AddIcon.d.ts +3 -1
- package/lib/icons/AiStarsGradientIcon/AiStarsGradientIcon.d.ts +3 -1
- package/lib/icons/AiStarsIcon/AiStarsIcon.d.ts +3 -1
- package/lib/icons/AnthropicIcon/AnthropicIcon.d.ts +3 -1
- package/lib/icons/ArrowDownIcon/ArrowDownIcon.d.ts +3 -1
- package/lib/icons/ArrowLeftIcon/ArrowLeftIcon.d.ts +3 -1
- package/lib/icons/ArrowRightIcon/ArrowRightIcon.d.ts +3 -1
- package/lib/icons/ArrowUpRightIcon/ArrowUpRightIcon.d.ts +3 -1
- package/lib/icons/AscSortIcon/AscSortIcon.d.ts +3 -1
- package/lib/icons/BareMetalServerIcon/BareMetalServerIcon.d.ts +3 -1
- package/lib/icons/BookmarkAddIcon/BookmarkAddIcon.d.ts +3 -1
- package/lib/icons/BotIcon/BotIcon.d.ts +3 -1
- package/lib/icons/CDNIcon/CDNIcon.d.ts +3 -1
- package/lib/icons/CardsIcon/CardsIcon.d.ts +3 -1
- package/lib/icons/CaretDownIcon/CaretDownIcon.d.ts +3 -1
- package/lib/icons/CaretUpIcon/CaretUpIcon.d.ts +3 -1
- package/lib/icons/CertificateIcon/CertificateIcon.d.ts +3 -1
- package/lib/icons/CharacterIcon/CharacterIcon.d.ts +3 -1
- package/lib/icons/ChatGptIcon/ChatGptIcon.d.ts +3 -1
- package/lib/icons/ChatIcon/ChatIcon.d.ts +3 -1
- package/lib/icons/CheckboxFilledIcon/CheckboxFilledIcon.d.ts +3 -1
- package/lib/icons/CheckboxIcon/CheckboxIcon.d.ts +6 -4
- package/lib/icons/CheckmarkFilledIcon/CheckmarkFilledIcon.d.ts +3 -1
- package/lib/icons/CheckmarkIcon/CheckmarkIcon.d.ts +3 -1
- package/lib/icons/CheckmarkOutlineIcon/CheckmarkOutlineIcon.d.ts +3 -1
- package/lib/icons/ChevronDownIcon/ChevronDownIcon.d.ts +3 -1
- package/lib/icons/ChevronLeftIcon/ChevronLeftIcon.d.ts +3 -1
- package/lib/icons/ChevronRightIcon/ChevronRightIcon.d.ts +3 -1
- package/lib/icons/ChevronSortIcon/ChevronSortIcon.d.ts +5 -3
- package/lib/icons/ChevronUpIcon/ChevronUpIcon.d.ts +3 -1
- package/lib/icons/CircleDashIcon/CircleDashIcon.d.ts +3 -1
- package/lib/icons/ClaudeIcon/ClaudeIcon.d.ts +3 -1
- package/lib/icons/CleanIcon/CleanIcon.d.ts +3 -1
- package/lib/icons/CloseFilledIcon/CloseFilledIcon.d.ts +3 -1
- package/lib/icons/CloseIcon/CloseIcon.d.ts +3 -1
- package/lib/icons/CloseOutlineIcon/CloseOutlineIcon.d.ts +3 -1
- package/lib/icons/CloudUploadIcon/CloudUploadIcon.d.ts +3 -1
- package/lib/icons/CodeIcon/CodeIcon.d.ts +3 -1
- package/lib/icons/ColorPaletteIcon/ColorPaletteIcon.d.ts +3 -1
- package/lib/icons/ConnectIcon/ConnectIcon.d.ts +3 -1
- package/lib/icons/ContrastIcon/ContrastIcon.d.ts +3 -1
- package/lib/icons/CookieIcon/CookieIcon.d.ts +3 -1
- package/lib/icons/CopyIcon/CopyIcon.d.ts +3 -1
- package/lib/icons/CopyLinkIcon/CopyLinkIcon.d.ts +3 -1
- package/lib/icons/CubeIcon/CubeIcon.d.ts +3 -1
- package/lib/icons/CursorIcon/CursorIcon.d.ts +3 -1
- package/lib/icons/CurveAutoColonIcon/CurveAutoColonIcon.d.ts +3 -1
- package/lib/icons/DataFormatIcon/DataFormatIcon.d.ts +3 -1
- package/lib/icons/DataRefineryIcon/DataRefineryIcon.d.ts +3 -1
- package/lib/icons/DatabaseIcon/DatabaseIcon.d.ts +3 -1
- package/lib/icons/DescSortIcon/DescSortIcon.d.ts +3 -1
- package/lib/icons/DeselectIcon/DeselectIcon.d.ts +3 -1
- package/lib/icons/DirectionRightIcon/DirectionRightIcon.d.ts +3 -1
- package/lib/icons/DocumentAddIcon/DocumentAddIcon.d.ts +3 -1
- package/lib/icons/DocumentBlankIcon/DocumentBlankIcon.d.ts +3 -1
- package/lib/icons/DocumentCssIcon/DocumentCssIcon.d.ts +3 -1
- package/lib/icons/DocumentGraphqlIcon/DocumentGraphqlIcon.d.ts +3 -1
- package/lib/icons/DocumentHtmlIcon/DocumentHtmlIcon.d.ts +3 -1
- package/lib/icons/DocumentIcon/DocumentIcon.d.ts +3 -1
- package/lib/icons/DocumentJavaIcon/DocumentJavaIcon.d.ts +3 -1
- package/lib/icons/DocumentJsIcon/DocumentJsIcon.d.ts +3 -1
- package/lib/icons/DocumentJsonIcon/DocumentJsonIcon.d.ts +3 -1
- package/lib/icons/DocumentMarkdownIcon/DocumentMarkdownIcon.d.ts +3 -1
- package/lib/icons/DocumentPythonIcon/DocumentPythonIcon.d.ts +3 -1
- package/lib/icons/DocumentReactIcon/DocumentReactIcon.d.ts +3 -1
- package/lib/icons/DocumentShellIcon/DocumentShellIcon.d.ts +3 -1
- package/lib/icons/DocumentTsIcon/DocumentTsIcon.d.ts +3 -1
- package/lib/icons/DocumentYamlIcon/DocumentYamlIcon.d.ts +3 -1
- package/lib/icons/DownloadIcon/DownloadIcon.d.ts +3 -1
- package/lib/icons/DraggableIcon/DraggableIcon.d.ts +3 -1
- package/lib/icons/EditIcon/EditIcon.d.ts +3 -1
- package/lib/icons/EmailIcon/EmailIcon.d.ts +3 -1
- package/lib/icons/EntityTypeIcon/EntityTypeIcon.d.ts +3 -1
- package/lib/icons/ErrorFilledIcon/ErrorFilledIcon.d.ts +3 -1
- package/lib/icons/ErrorIcon/ErrorIcon.d.ts +3 -1
- package/lib/icons/ExportIcon/ExportIcon.d.ts +3 -1
- package/lib/icons/FaceDissatisfiedIcon/FaceDissatisfiedIcon.d.ts +3 -1
- package/lib/icons/FaceNeutralIcon/FaceNeutralIcon.d.ts +3 -1
- package/lib/icons/FaceSatisfiedIcon/FaceSatisfiedIcon.d.ts +3 -1
- package/lib/icons/FileIcon/FileIcon.d.ts +3 -1
- package/lib/icons/FileStorageIcon/FileStorageIcon.d.ts +3 -1
- package/lib/icons/FilterIcon/FilterIcon.d.ts +3 -1
- package/lib/icons/FitToViewIcon/FitToViewIcon.d.ts +3 -1
- package/lib/icons/FlowIcon/FlowIcon.d.ts +3 -1
- package/lib/icons/FolderAddIcon/FolderAddIcon.d.ts +3 -1
- package/lib/icons/FolderIcon/FolderIcon.d.ts +3 -1
- package/lib/icons/FolderMoveToIcon/FolderMoveToIcon.d.ts +3 -1
- package/lib/icons/GeminiIcon/GeminiIcon.d.ts +3 -1
- package/lib/icons/GenericIcon/GenericIcon.d.ts +1 -1
- package/lib/icons/GithubIcon/GithubIcon.d.ts +3 -1
- package/lib/icons/GlobalOutlinedIcon/GlobalOutlinedIcon.d.ts +3 -1
- package/lib/icons/GraphIcon/GraphIcon.d.ts +3 -1
- package/lib/icons/GraphqlIcon/GraphqlIcon.d.ts +3 -1
- package/lib/icons/GridIcon/GridIcon.d.ts +3 -1
- package/lib/icons/HashtagIcon/HashtagIcon.d.ts +3 -1
- package/lib/icons/HexagonIcon/HexagonIcon.d.ts +3 -1
- package/lib/icons/HierarchyIcon/HierarchyIcon.d.ts +3 -1
- package/lib/icons/HorizontalViewIcon/HorizontalViewIcon.d.ts +3 -1
- package/lib/icons/IBMCloudHyperProtectCryptoServicesIcon/IBMCloudHyperProtectCryptoServicesIcon.d.ts +3 -1
- package/lib/icons/IdeaIcon/IdeaIcon.d.ts +3 -1
- package/lib/icons/InformationFilledIcon/InformationFilledIcon.d.ts +3 -1
- package/lib/icons/InformationIcon/InformationIcon.d.ts +3 -1
- package/lib/icons/JsonIcon/JsonIcon.d.ts +3 -1
- package/lib/icons/KafkaIcon/KafkaIcon.d.ts +3 -1
- package/lib/icons/LaunchIcon/LaunchIcon.d.ts +3 -1
- package/lib/icons/LinkIcon/LinkIcon.d.ts +3 -1
- package/lib/icons/LogoutIcon/LogoutIcon.d.ts +3 -1
- package/lib/icons/MagicWandIcon/MagicWandIcon.d.ts +3 -1
- package/lib/icons/MarkdownFullIcon/MarkdownFullIcon.d.ts +3 -1
- package/lib/icons/MaximizeIcon/MaximizeIcon.d.ts +3 -1
- package/lib/icons/MenuIcon/MenuIcon.d.ts +3 -1
- package/lib/icons/MinimizeIcon/MinimizeIcon.d.ts +3 -1
- package/lib/icons/MobileSidebarIcon/MobileSidebarIcon.d.ts +3 -1
- package/lib/icons/MoleculesIcon/MoleculesIcon.d.ts +3 -1
- package/lib/icons/MoonIcon/MoonIcon.d.ts +3 -1
- package/lib/icons/NavaidMilitaryIcon/NavaidMilitaryIcon.d.ts +3 -1
- package/lib/icons/NetworkIcon/NetworkIcon.d.ts +3 -1
- package/lib/icons/NoneIcon/NoneIcon.d.ts +3 -1
- package/lib/icons/NoteIcon/NoteIcon.d.ts +3 -1
- package/lib/icons/NotesIcon/NotesIcon.d.ts +3 -1
- package/lib/icons/OverflowMenuHorizontalIcon/OverflowMenuHorizontalIcon.d.ts +3 -1
- package/lib/icons/OverflowMenuVerticalIcon/OverflowMenuVerticalIcon.d.ts +3 -1
- package/lib/icons/PeopleIcon/PeopleIcon.d.ts +3 -1
- package/lib/icons/PlayIcon/PlayIcon.d.ts +3 -1
- package/lib/icons/PlaylistIcon/PlaylistIcon.d.ts +3 -1
- package/lib/icons/PlusCustomIcon/PlusCustomIcon.d.ts +3 -1
- package/lib/icons/RabbitMQIcon/RabbitMQIcon.d.ts +3 -1
- package/lib/icons/RadioCheckButtonIcon/RadioCheckButtonIcon.d.ts +3 -1
- package/lib/icons/RecentlyViewedIcon/RecentlyViewedIcon.d.ts +3 -1
- package/lib/icons/RedoclyIcon/RedoclyIcon.d.ts +3 -1
- package/lib/icons/RenewIcon/RenewIcon.d.ts +3 -1
- package/lib/icons/ResetIcon/ResetIcon.d.ts +3 -1
- package/lib/icons/RestartIcon/RestartIcon.d.ts +3 -1
- package/lib/icons/ReturnKeyIcon/ReturnKeyIcon.d.ts +8 -8
- package/lib/icons/RocketIcon/RocketIcon.d.ts +3 -1
- package/lib/icons/SaveIcon/SaveIcon.d.ts +3 -1
- package/lib/icons/SearchIcon/SearchIcon.d.ts +3 -1
- package/lib/icons/SecurityIcon/SecurityIcon.d.ts +3 -1
- package/lib/icons/SelectIcon/SelectIcon.d.ts +3 -1
- package/lib/icons/SendIcon/SendIcon.d.ts +3 -1
- package/lib/icons/SettingsCogIcon/SettingsCogIcon.d.ts +3 -1
- package/lib/icons/SettingsIcon/SettingsIcon.d.ts +5 -3
- package/lib/icons/ShareIcon/ShareIcon.d.ts +3 -1
- package/lib/icons/SidePanelCloseIcon/SidePanelCloseIcon.d.ts +3 -1
- package/lib/icons/SidePanelOpenIcon/SidePanelOpenIcon.d.ts +3 -1
- package/lib/icons/SlackIcon/SlackIcon.d.ts +3 -1
- package/lib/icons/SortIcon/SortIcon.d.ts +3 -1
- package/lib/icons/SpinnerIcon/SpinnerIcon.d.ts +3 -1
- package/lib/icons/StarFilledIcon/StarFilledIcon.d.ts +3 -1
- package/lib/icons/StarIcon/StarIcon.d.ts +3 -1
- package/lib/icons/StopIcon/StopIcon.d.ts +3 -1
- package/lib/icons/SubtractIcon/SubtractIcon.d.ts +3 -1
- package/lib/icons/SunIcon/SunIcon.d.ts +3 -1
- package/lib/icons/TableBuiltIcon/TableBuiltIcon.d.ts +3 -1
- package/lib/icons/TableIcon/TableIcon.d.ts +3 -1
- package/lib/icons/TagsIcon/TagsIcon.d.ts +3 -1
- package/lib/icons/TaskViewIcon/TaskViewIcon.d.ts +3 -1
- package/lib/icons/ThumbDownFilledIcon/ThumbDownFilledIcon.d.ts +3 -1
- package/lib/icons/ThumbDownIcon/ThumbDownIcon.d.ts +3 -1
- package/lib/icons/ThumbUpFilledIcon/ThumbUpFilledIcon.d.ts +3 -1
- package/lib/icons/ThumbUpIcon/ThumbUpIcon.d.ts +3 -1
- package/lib/icons/TimeIcon/TimeIcon.d.ts +3 -1
- package/lib/icons/TrashCanIcon/TrashCanIcon.d.ts +3 -1
- package/lib/icons/UserIcon/UserIcon.d.ts +3 -1
- package/lib/icons/VSCodeIcon/VSCodeIcon.d.ts +3 -1
- package/lib/icons/ValueVariableIcon/ValueVariableIcon.d.ts +3 -1
- package/lib/icons/VerticalViewIcon/VerticalViewIcon.d.ts +3 -1
- package/lib/icons/ViewIcon/ViewIcon.d.ts +3 -1
- package/lib/icons/ViewOffIcon/ViewOffIcon.d.ts +3 -1
- package/lib/icons/WarningAltFilled/WarningAltFilled.d.ts +3 -1
- package/lib/icons/WarningAltFilledIcon/WarningAltFilledIcon.d.ts +3 -1
- package/lib/icons/WarningAltIcon/WarningAltIcon.d.ts +3 -1
- package/lib/icons/WarningCycleIcon/WarningCycleIcon.d.ts +3 -1
- package/lib/icons/WarningFilledIcon/WarningFilledIcon.d.ts +3 -1
- package/lib/icons/WarningSquareIcon/WarningSquareIcon.d.ts +3 -1
- package/lib/icons/WorkflowAutomationIcon/WorkflowAutomationIcon.d.ts +3 -1
- package/lib/icons/WorkflowHierarchyIcon/WorkflowHierarchyIcon.d.ts +3 -1
- package/lib/layouts/CodeWalkthroughLayout.d.ts +1 -1
- package/lib/layouts/DocumentationLayout.d.ts +1 -1
- package/lib/layouts/DocumentationLayoutBottom.d.ts +1 -1
- package/lib/layouts/DocumentationLayoutTop.d.ts +1 -1
- package/lib/layouts/PageLayout.d.ts +1 -1
- package/lib/markdoc/components/Cards/Card.d.ts +1 -1
- package/lib/markdoc/components/CodeWalkthrough/CodeContainer.d.ts +1 -1
- package/lib/markdoc/components/CodeWalkthrough/CodeFilters.d.ts +1 -1
- package/lib/markdoc/components/CodeWalkthrough/CodePanel.d.ts +1 -1
- package/lib/markdoc/components/CodeWalkthrough/CodePanelHeader.d.ts +1 -1
- package/lib/markdoc/components/CodeWalkthrough/CodeStep.d.ts +1 -1
- package/lib/markdoc/components/ConnectMCP/ConnectMCP.d.ts +1 -1
- package/lib/markdoc/components/Diagram/Diagram.d.ts +1 -1
- package/lib/markdoc/components/Heading/Heading.d.ts +1 -1
- package/lib/markdoc/components/InlineSvg/InlineSvg.d.ts +1 -1
- package/lib/markdoc/components/LoginButton/LoginButton.d.ts +1 -1
- package/lib/markdoc/components/NumberedList/NumberedItem.d.ts +25 -0
- package/lib/markdoc/components/NumberedList/NumberedItem.js +217 -0
- package/lib/markdoc/components/NumberedList/NumberedList.d.ts +5 -0
- package/lib/markdoc/components/NumberedList/NumberedList.js +28 -0
- package/lib/markdoc/components/NumberedList/variables.d.ts +1 -0
- package/lib/markdoc/components/NumberedList/variables.js +42 -0
- package/lib/markdoc/components/Tabs/Tab.d.ts +1 -1
- package/lib/markdoc/components/Tabs/TabList.d.ts +3 -3
- package/lib/markdoc/components/Tabs/Tabs.d.ts +1 -1
- package/lib/markdoc/components/default.d.ts +2 -0
- package/lib/markdoc/components/default.js +2 -0
- package/lib/markdoc/default.d.ts +46 -1
- package/lib/markdoc/default.js +4 -0
- package/lib/markdoc/tags/numbered-item.d.ts +2 -0
- package/lib/markdoc/tags/numbered-item.js +35 -0
- package/lib/markdoc/tags/numbered-list.d.ts +2 -0
- package/lib/markdoc/tags/numbered-list.js +28 -0
- package/lib/plugin.d.ts +2 -2
- package/package.json +6 -6
- package/src/components/Catalog/CatalogEntities.tsx +7 -11
- package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTable.tsx +8 -9
- package/src/components/Catalog/CatalogEntity/CatalogEntitySchema.tsx +6 -8
- package/src/components/Catalog/CatalogFilter/CatalogFilterCheckboxes.tsx +2 -4
- package/src/components/Feedback/Feedback.tsx +11 -1
- package/src/core/hooks/use-active-heading.ts +7 -2
- package/src/core/hooks/use-telemetry-fallback.ts +1 -1
- package/src/core/styles/dark.ts +12 -0
- package/src/core/styles/global.ts +2 -0
- package/src/markdoc/components/NumberedList/NumberedItem.tsx +274 -0
- package/src/markdoc/components/NumberedList/NumberedList.tsx +37 -0
- package/src/markdoc/components/NumberedList/variables.ts +39 -0
- package/src/markdoc/components/default.ts +2 -0
- package/src/markdoc/default.ts +4 -0
- package/src/markdoc/tags/numbered-item.ts +46 -0
- package/src/markdoc/tags/numbered-list.ts +34 -0
|
@@ -9,4 +9,4 @@ export type AccordionProps = {
|
|
|
9
9
|
onToggle?: (expanded: boolean) => void;
|
|
10
10
|
dataTestId?: string;
|
|
11
11
|
};
|
|
12
|
-
export declare function Accordion({ expanded, isExpandable, renderChildrenHidden, header, className, children, onToggle, dataTestId }: PropsWithChildren<AccordionProps>): JSX.Element;
|
|
12
|
+
export declare function Accordion({ expanded, isExpandable, renderChildrenHidden, header, className, children, onToggle, dataTestId, }: PropsWithChildren<AccordionProps>): JSX.Element;
|
|
@@ -5,4 +5,4 @@ export type AccordionBodyProps = {
|
|
|
5
5
|
children?: ReactNode;
|
|
6
6
|
className?: string;
|
|
7
7
|
};
|
|
8
|
-
export declare function AccordionBody({ animate, hidden, children, className }: AccordionBodyProps): JSX.Element;
|
|
8
|
+
export declare function AccordionBody({ animate, hidden, children, className, }: AccordionBodyProps): JSX.Element;
|
|
@@ -7,4 +7,4 @@ export type AccordionHeaderProps = {
|
|
|
7
7
|
className?: string;
|
|
8
8
|
onClick?: (e: BaseSyntheticEvent) => void;
|
|
9
9
|
};
|
|
10
|
-
export declare function AccordionHeader({ isExpandable, expanded, disabled, children, className, onClick }: AccordionHeaderProps): JSX.Element;
|
|
10
|
+
export declare function AccordionHeader({ isExpandable, expanded, disabled, children, className, onClick, }: AccordionHeaderProps): JSX.Element;
|
|
@@ -9,5 +9,5 @@ export type AdmonitionProps = Partial<AdmonitionTypeProps> & {
|
|
|
9
9
|
'data-source'?: string;
|
|
10
10
|
'data-hash'?: string;
|
|
11
11
|
};
|
|
12
|
-
export declare function Admonition({ type, name, children, className, 'data-source': dataSource, 'data-hash': dataHash }: React.PropsWithChildren<AdmonitionProps>): JSX.Element;
|
|
12
|
+
export declare function Admonition({ type, name, children, className, 'data-source': dataSource, 'data-hash': dataHash, }: React.PropsWithChildren<AdmonitionProps>): JSX.Element;
|
|
13
13
|
export {};
|
|
@@ -11,5 +11,5 @@ type BreadcrumbDropdownProps = {
|
|
|
11
11
|
className?: string;
|
|
12
12
|
withChevron?: boolean;
|
|
13
13
|
};
|
|
14
|
-
export declare function BreadcrumbDropdown({ children, label, items, onItemClick, className, withChevron }: BreadcrumbDropdownProps): JSX.Element | null;
|
|
14
|
+
export declare function BreadcrumbDropdown({ children, label, items, onItemClick, className, withChevron, }: BreadcrumbDropdownProps): JSX.Element | null;
|
|
15
15
|
export {};
|
|
@@ -22,6 +22,6 @@ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElemen
|
|
|
22
22
|
onClick?: (e?: any) => void;
|
|
23
23
|
ref?: React.Ref<HTMLButtonElement>;
|
|
24
24
|
}
|
|
25
|
-
export declare function generateClassName({ variant, tone, size, extraClass, className }: ButtonProps): string;
|
|
25
|
+
export declare function generateClassName({ variant, tone, size, extraClass, className, }: ButtonProps): string;
|
|
26
26
|
export declare const Button: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<ButtonProps, keyof ButtonProps> & ButtonProps, never> & Partial<Pick<import("styled-components").FastOmit<ButtonProps, keyof ButtonProps> & ButtonProps, never>>> & string & Omit<React.FC<ButtonProps>, keyof React.Component<any, {}, any>>;
|
|
27
27
|
export {};
|
|
@@ -5,4 +5,4 @@ export type ConnectMCPButtonProps = {
|
|
|
5
5
|
alignment?: 'start' | 'end';
|
|
6
6
|
options?: MCPOption[];
|
|
7
7
|
};
|
|
8
|
-
export declare function ConnectMCPButton({ placement, alignment, options }: ConnectMCPButtonProps): JSX.Element | null;
|
|
8
|
+
export declare function ConnectMCPButton({ placement, alignment, options, }: ConnectMCPButtonProps): JSX.Element | null;
|
|
@@ -3,4 +3,4 @@ export type DownloadButtonProps = {
|
|
|
3
3
|
data: string;
|
|
4
4
|
dataTestId?: string;
|
|
5
5
|
};
|
|
6
|
-
export declare function DownloadButton({ data, dataTestId }: DownloadButtonProps): JSX.Element;
|
|
6
|
+
export declare function DownloadButton({ data, dataTestId, }: DownloadButtonProps): JSX.Element;
|
|
@@ -9,7 +9,7 @@ export type CatalogActionsRowProps = {
|
|
|
9
9
|
onViewModeChange?: (mode: CatalogViewMode) => void;
|
|
10
10
|
isDetailsPage?: boolean;
|
|
11
11
|
};
|
|
12
|
-
export declare function CatalogActionsRow({ searchQuery, setSearchQuery, sortOption, setSortOption, viewMode, onViewModeChange, isDetailsPage }: CatalogActionsRowProps): JSX.Element;
|
|
12
|
+
export declare function CatalogActionsRow({ searchQuery, setSearchQuery, sortOption, setSortOption, viewMode, onViewModeChange, isDetailsPage, }: CatalogActionsRowProps): JSX.Element;
|
|
13
13
|
export declare const CatalogActionsRowWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "isDetailsPage"> & {
|
|
14
14
|
isDetailsPage: boolean;
|
|
15
15
|
}, never> & Partial<Pick<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "isDetailsPage"> & {
|
|
@@ -36,6 +36,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
36
36
|
exports.CatalogEntities = CatalogEntities;
|
|
37
37
|
const react_1 = __importStar(require("react"));
|
|
38
38
|
const hooks_1 = require("../../core/hooks");
|
|
39
|
+
const utils_1 = require("../../core/utils");
|
|
39
40
|
const ArrowDownIcon_1 = require("../../icons/ArrowDownIcon/ArrowDownIcon");
|
|
40
41
|
const CatalogCardView_1 = require("../../components/Catalog/CatalogCardView/CatalogCardView");
|
|
41
42
|
const CatalogTableView_1 = require("../../components/Catalog/CatalogTableView/CatalogTableView");
|
|
@@ -45,9 +46,6 @@ const CatalogEntitiesEmptyState_1 = require("../../components/Catalog/CatalogEnt
|
|
|
45
46
|
const LOAD_MORE_THRESHOLD = 10;
|
|
46
47
|
function CatalogEntities(props) {
|
|
47
48
|
const { catalogConfig, excludedEntities, filterQuery, entitiesTypes, sortOption, searchQuery, viewMode, setEntitiesCounter, handleSortClick, isColumnSorted, } = props;
|
|
48
|
-
const { getEntityDetailsLink } = (0, hooks_1.useCatalogEntityDetails)({
|
|
49
|
-
catalogConfig,
|
|
50
|
-
});
|
|
51
49
|
const { useTelemetry, useFetchCatalogEntities } = (0, hooks_1.useThemeHooks)();
|
|
52
50
|
const telemetry = useTelemetry();
|
|
53
51
|
const { initialFilter } = (0, hooks_1.useCatalogEntities)({
|
|
@@ -65,14 +63,7 @@ function CatalogEntities(props) {
|
|
|
65
63
|
const onRowClick = (entity) => {
|
|
66
64
|
if (searchQuery) {
|
|
67
65
|
telemetry.sendCatalogEntitiesListSearchResultClickedMessage([
|
|
68
|
-
{
|
|
69
|
-
id: entity.id,
|
|
70
|
-
object: 'catalog_entity',
|
|
71
|
-
uri: getEntityDetailsLink(entity),
|
|
72
|
-
query: searchQuery,
|
|
73
|
-
entityKey: entity.key,
|
|
74
|
-
entityType: entity.type,
|
|
75
|
-
},
|
|
66
|
+
Object.assign(Object.assign({}, (0, utils_1.getBaseDataAttributes)('catalogEntitiesListSearchResultId', 'catalogEntitiesListSearchResult')), { query: searchQuery, entityId: entity.id, entityKey: entity.key, entityType: entity.type }),
|
|
76
67
|
]);
|
|
77
68
|
}
|
|
78
69
|
};
|
|
@@ -3,5 +3,5 @@ import type { ListType } from '../../core/types';
|
|
|
3
3
|
interface CatalogEntitiesEmptyStateProps {
|
|
4
4
|
listType?: ListType;
|
|
5
5
|
}
|
|
6
|
-
export declare function CatalogEntitiesEmptyState({ listType }: CatalogEntitiesEmptyStateProps): JSX.Element;
|
|
6
|
+
export declare function CatalogEntitiesEmptyState({ listType, }: CatalogEntitiesEmptyStateProps): JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { CatalogEntityProps } from '../../../core/types';
|
|
3
|
-
export declare function CatalogEntity({ RedocSchema, StoreProvider, GraphqlTypeRenderer }: CatalogEntityProps): React.JSX.Element;
|
|
3
|
+
export declare function CatalogEntity({ RedocSchema, StoreProvider, GraphqlTypeRenderer, }: CatalogEntityProps): React.JSX.Element;
|
package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsGraph.d.ts
CHANGED
|
@@ -3,4 +3,4 @@ import { BffCatalogEntity } from '../../../../core/types';
|
|
|
3
3
|
export type CatalogEntityRelationsGraphProps = {
|
|
4
4
|
entity: BffCatalogEntity;
|
|
5
5
|
};
|
|
6
|
-
export declare function CatalogEntityRelationsGraph({ entity }: CatalogEntityRelationsGraphProps): JSX.Element;
|
|
6
|
+
export declare function CatalogEntityRelationsGraph({ entity, }: CatalogEntityRelationsGraphProps): JSX.Element;
|
|
@@ -5,4 +5,4 @@ export type CatalogEntityRelationsLinkedNodeProps = {
|
|
|
5
5
|
className?: string;
|
|
6
6
|
to: string;
|
|
7
7
|
};
|
|
8
|
-
export declare function CatalogEntityRelationsLinkedNode({ label, entityType, className, to }: CatalogEntityRelationsLinkedNodeProps): React.ReactElement;
|
|
8
|
+
export declare function CatalogEntityRelationsLinkedNode({ label, entityType, className, to, }: CatalogEntityRelationsLinkedNodeProps): React.ReactElement;
|
package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsNode.d.ts
CHANGED
|
@@ -13,4 +13,4 @@ export declare enum HandleType {
|
|
|
13
13
|
Target = "target",
|
|
14
14
|
Source = "source"
|
|
15
15
|
}
|
|
16
|
-
export declare function CatalogEntityRelationsNode({ data, className }: CatalogEntityRelationsNodeProps): React.ReactElement;
|
|
16
|
+
export declare function CatalogEntityRelationsNode({ data, className, }: CatalogEntityRelationsNodeProps): React.ReactElement;
|
|
@@ -4,4 +4,4 @@ export type CatalogEntityRelationsNodeContentProps = {
|
|
|
4
4
|
label: string;
|
|
5
5
|
isRoot: boolean;
|
|
6
6
|
};
|
|
7
|
-
export declare function CatalogEntityRelationsNodeContent({ entityType, label, isRoot }: CatalogEntityRelationsNodeContentProps): React.ReactElement;
|
|
7
|
+
export declare function CatalogEntityRelationsNodeContent({ entityType, label, isRoot, }: CatalogEntityRelationsNodeContentProps): React.ReactElement;
|
package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsRootNode.d.ts
CHANGED
|
@@ -4,4 +4,4 @@ export type CatalogEntityRelationsRootNodeProps = {
|
|
|
4
4
|
entityType: string;
|
|
5
5
|
className?: string;
|
|
6
6
|
};
|
|
7
|
-
export declare function CatalogEntityRelationsRootNode({ label, entityType, className }: CatalogEntityRelationsRootNodeProps): React.ReactElement;
|
|
7
|
+
export declare function CatalogEntityRelationsRootNode({ label, entityType, className, }: CatalogEntityRelationsRootNodeProps): React.ReactElement;
|
package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityHistoryButton.d.ts
CHANGED
|
@@ -3,4 +3,4 @@ export type CatalogHistoryButtonProps = {
|
|
|
3
3
|
version: string | null;
|
|
4
4
|
className?: string;
|
|
5
5
|
};
|
|
6
|
-
export declare function CatalogEntityHistoryButton({ version, className }: CatalogHistoryButtonProps): React.ReactElement;
|
|
6
|
+
export declare function CatalogEntityHistoryButton({ version, className, }: CatalogHistoryButtonProps): React.ReactElement;
|
package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityHistorySidebar.d.ts
CHANGED
|
@@ -5,4 +5,4 @@ export type CatalogHistorySidebarProps = {
|
|
|
5
5
|
version?: string | null;
|
|
6
6
|
className?: string;
|
|
7
7
|
};
|
|
8
|
-
export declare function CatalogEntityHistorySidebar({ entityKey, revision, version, className }: CatalogHistorySidebarProps): React.ReactElement | null;
|
|
8
|
+
export declare function CatalogEntityHistorySidebar({ entityKey, revision, version, className, }: CatalogHistorySidebarProps): React.ReactElement | null;
|
package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityRevisionItem.d.ts
CHANGED
|
@@ -5,4 +5,4 @@ export type CatalogEntityRevisionItemProps = {
|
|
|
5
5
|
basePath: string;
|
|
6
6
|
version?: string | null;
|
|
7
7
|
};
|
|
8
|
-
export declare function CatalogEntityRevisionItem({ revisionItem, basePath, version }: CatalogEntityRevisionItemProps): React.ReactElement;
|
|
8
|
+
export declare function CatalogEntityRevisionItem({ revisionItem, basePath, version, }: CatalogEntityRevisionItemProps): React.ReactElement;
|
package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityVersionItem.d.ts
CHANGED
|
@@ -6,4 +6,4 @@ export type CatalogEntityVersionItemProps = {
|
|
|
6
6
|
isExpanded: boolean;
|
|
7
7
|
onToggle: (version: string) => void;
|
|
8
8
|
};
|
|
9
|
-
export declare function CatalogEntityVersionItem({ group, basePath, isExpanded, onToggle }: CatalogEntityVersionItemProps): React.ReactElement;
|
|
9
|
+
export declare function CatalogEntityVersionItem({ group, basePath, isExpanded, onToggle, }: CatalogEntityVersionItemProps): React.ReactElement;
|
|
@@ -6,4 +6,4 @@ export type CatalogEntityInfoBarProps = {
|
|
|
6
6
|
hoverEffect?: boolean;
|
|
7
7
|
isCodeBlock?: boolean;
|
|
8
8
|
};
|
|
9
|
-
export declare function CatalogEntityInfoBar({ leftContent, rightContent, withSeparator, hoverEffect, isCodeBlock }: CatalogEntityInfoBarProps): JSX.Element;
|
|
9
|
+
export declare function CatalogEntityInfoBar({ leftContent, rightContent, withSeparator, hoverEffect, isCodeBlock, }: CatalogEntityInfoBarProps): JSX.Element;
|
package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/CatalogEntityPropertyCard.d.ts
CHANGED
|
@@ -5,4 +5,4 @@ export type CatalogEntityPropertyCardProps = {
|
|
|
5
5
|
onClick?: () => void;
|
|
6
6
|
hoverEffect?: boolean;
|
|
7
7
|
};
|
|
8
|
-
export declare function CatalogEntityPropertyCard({ header, content, onClick, hoverEffect }: CatalogEntityPropertyCardProps): JSX.Element;
|
|
8
|
+
export declare function CatalogEntityPropertyCard({ header, content, onClick, hoverEffect, }: CatalogEntityPropertyCardProps): JSX.Element;
|
|
@@ -20,4 +20,4 @@ export type CatalogEntityApiDescriptionRelationsProps = {
|
|
|
20
20
|
isColumnSorted: (sortKey: string, direction: 'asc' | 'desc') => boolean;
|
|
21
21
|
shouldShowLoadMore: boolean;
|
|
22
22
|
};
|
|
23
|
-
export declare function CatalogEntityApiDescriptionRelations({ entity, relations, query, searchQuery, setSearchQuery, setFilter, entitiesCatalogConfig, catalogConfig, sortOption, setSortOption, handleSortClick, isColumnSorted, shouldShowLoadMore }: CatalogEntityApiDescriptionRelationsProps): JSX.Element;
|
|
23
|
+
export declare function CatalogEntityApiDescriptionRelations({ entity, relations, query, searchQuery, setSearchQuery, setFilter, entitiesCatalogConfig, catalogConfig, sortOption, setSortOption, handleSortClick, isColumnSorted, shouldShowLoadMore, }: CatalogEntityApiDescriptionRelationsProps): JSX.Element;
|
|
@@ -21,4 +21,4 @@ export type CatalogEntityDefaultRelationsProps = {
|
|
|
21
21
|
shouldShowHeading?: boolean;
|
|
22
22
|
listType?: ListType;
|
|
23
23
|
};
|
|
24
|
-
export declare function CatalogEntityDefaultRelations({ entity, relations, query, searchQuery, setSearchQuery, entitiesCatalogConfig, catalogConfig, sortOption, setSortOption, handleSortClick, isColumnSorted, shouldShowLoadMore, shouldShowHeading, listType }: CatalogEntityDefaultRelationsProps): JSX.Element;
|
|
24
|
+
export declare function CatalogEntityDefaultRelations({ entity, relations, query, searchQuery, setSearchQuery, entitiesCatalogConfig, catalogConfig, sortOption, setSortOption, handleSortClick, isColumnSorted, shouldShowLoadMore, shouldShowHeading, listType, }: CatalogEntityDefaultRelationsProps): JSX.Element;
|
package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelations.d.ts
CHANGED
|
@@ -10,4 +10,4 @@ export type CatalogEntityRelationsProps = {
|
|
|
10
10
|
searchQuery: string;
|
|
11
11
|
setSearchQuery: (query: string) => void;
|
|
12
12
|
};
|
|
13
|
-
export declare function CatalogEntityRelations({ entity, entitiesCatalogConfig, initialRelations, catalogConfig, searchQuery, setSearchQuery }: CatalogEntityRelationsProps): JSX.Element | null;
|
|
13
|
+
export declare function CatalogEntityRelations({ entity, entitiesCatalogConfig, initialRelations, catalogConfig, searchQuery, setSearchQuery, }: CatalogEntityRelationsProps): JSX.Element | null;
|
package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTable.d.ts
CHANGED
|
@@ -23,4 +23,4 @@ export type CatalogEntityRelationsTableProps = {
|
|
|
23
23
|
shouldShowLoadMore: boolean;
|
|
24
24
|
listType?: ListType;
|
|
25
25
|
};
|
|
26
|
-
export declare function CatalogEntityRelationsTable({ entity, entitiesCatalogConfig, catalogConfig, relations, query, searchQuery, setSearchQuery, heading, columns, setSortOption, sortOption, handleSortClick, isColumnSorted, shouldShowLoadMore, listType }: CatalogEntityRelationsTableProps): JSX.Element;
|
|
26
|
+
export declare function CatalogEntityRelationsTable({ entity, entitiesCatalogConfig, catalogConfig, relations, query, searchQuery, setSearchQuery, heading, columns, setSortOption, sortOption, handleSortClick, isColumnSorted, shouldShowLoadMore, listType, }: CatalogEntityRelationsTableProps): JSX.Element;
|
package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTable.js
CHANGED
|
@@ -9,28 +9,15 @@ const styled_components_1 = __importDefault(require("styled-components"));
|
|
|
9
9
|
const CatalogActionsRow_1 = require("../../../../components/Catalog/CatalogActionsRow");
|
|
10
10
|
const CatalogEntityRelationsTableContent_1 = require("../../../../components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTableContent");
|
|
11
11
|
const hooks_1 = require("../../../../core/hooks");
|
|
12
|
+
const utils_1 = require("../../../../core/utils");
|
|
12
13
|
const constants_1 = require("../../../../core/constants");
|
|
13
14
|
function CatalogEntityRelationsTable({ entity, entitiesCatalogConfig, catalogConfig, relations, query, searchQuery, setSearchQuery, heading, columns, setSortOption, sortOption, handleSortClick, isColumnSorted, shouldShowLoadMore, listType, }) {
|
|
14
15
|
const { useTelemetry } = (0, hooks_1.useThemeHooks)();
|
|
15
16
|
const telemetry = useTelemetry();
|
|
16
|
-
const { getEntityDetailsLink } = (0, hooks_1.useCatalogEntityDetails)({
|
|
17
|
-
catalogConfig,
|
|
18
|
-
entitiesCatalogConfig,
|
|
19
|
-
});
|
|
20
17
|
const onRowClick = (relatedEntity) => {
|
|
21
18
|
if (searchQuery) {
|
|
22
|
-
telemetry.
|
|
23
|
-
{
|
|
24
|
-
id: relatedEntity.id,
|
|
25
|
-
object: 'catalog_entity',
|
|
26
|
-
uri: getEntityDetailsLink(relatedEntity),
|
|
27
|
-
query: searchQuery,
|
|
28
|
-
entityKey: entity.key,
|
|
29
|
-
entityType: entity.type,
|
|
30
|
-
relationType: constants_1.reverseRelationMap[relatedEntity.relationType],
|
|
31
|
-
relatedEntityKey: relatedEntity.key,
|
|
32
|
-
relatedEntityType: relatedEntity.type,
|
|
33
|
-
},
|
|
19
|
+
telemetry.sendCatalogEntitiesRelatedEntitiesListSearchResultClickedMessage([
|
|
20
|
+
Object.assign(Object.assign({}, (0, utils_1.getBaseDataAttributes)('catalogEntitiesRelatedEntitiesListSearchResultId', 'catalogEntitiesRelatedEntitiesListSearchResult')), { query: searchQuery, entityKey: entity.key, entityType: entity.type, relationType: constants_1.reverseRelationMap[relatedEntity.relationType], relatedEntityId: relatedEntity.id, relatedEntityKey: relatedEntity.key, relatedEntityType: relatedEntity.type }),
|
|
34
21
|
]);
|
|
35
22
|
}
|
|
36
23
|
};
|
|
@@ -20,4 +20,4 @@ export type CatalogEntityRelationsTableContentProps = {
|
|
|
20
20
|
listType?: ListType;
|
|
21
21
|
onRowClick: (entity: BffCatalogRelatedEntity) => void;
|
|
22
22
|
};
|
|
23
|
-
export declare function CatalogEntityRelationsTableContent({ entitiesCatalogConfig, catalogConfig, relations, query, searchQuery, columns, sortOption, handleSortClick, isColumnSorted, shouldShowLoadMore, listType, onRowClick }: CatalogEntityRelationsTableContentProps): JSX.Element;
|
|
23
|
+
export declare function CatalogEntityRelationsTableContent({ entitiesCatalogConfig, catalogConfig, relations, query, searchQuery, columns, sortOption, handleSortClick, isColumnSorted, shouldShowLoadMore, listType, onRowClick, }: CatalogEntityRelationsTableContentProps): JSX.Element;
|
package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityTeamRelations.d.ts
CHANGED
|
@@ -20,4 +20,4 @@ export type CatalogEntityTeamRelationsProps = {
|
|
|
20
20
|
isColumnSorted: (sortKey: string, direction: 'asc' | 'desc') => boolean;
|
|
21
21
|
shouldShowLoadMore: boolean;
|
|
22
22
|
};
|
|
23
|
-
export declare function CatalogEntityTeamRelations({ entity, relations, query, searchQuery, setSearchQuery, setFilter, entitiesCatalogConfig, catalogConfig, sortOption, setSortOption, handleSortClick, isColumnSorted, shouldShowLoadMore }: CatalogEntityTeamRelationsProps): JSX.Element;
|
|
23
|
+
export declare function CatalogEntityTeamRelations({ entity, relations, query, searchQuery, setSearchQuery, setFilter, entitiesCatalogConfig, catalogConfig, sortOption, setSortOption, handleSortClick, isColumnSorted, shouldShowLoadMore, }: CatalogEntityTeamRelationsProps): JSX.Element;
|
|
@@ -12,4 +12,4 @@ export type CatalogEntitySchemaProps = {
|
|
|
12
12
|
typeName: string;
|
|
13
13
|
}>;
|
|
14
14
|
};
|
|
15
|
-
export declare function CatalogEntitySchema({ entity, relatedEntity,
|
|
15
|
+
export declare function CatalogEntitySchema({ entity, relatedEntity, RedocSchema, StoreProvider, GraphqlTypeRenderer, }: CatalogEntitySchemaProps): React.JSX.Element;
|
|
@@ -42,9 +42,10 @@ const styled_components_1 = __importDefault(require("styled-components"));
|
|
|
42
42
|
const Sampler = __importStar(require("openapi-sampler"));
|
|
43
43
|
const hooks_1 = require("../../../core/hooks");
|
|
44
44
|
const hooks_2 = require("../../../core/hooks");
|
|
45
|
+
const utils_1 = require("../../../core/utils");
|
|
45
46
|
const JsonViewer_1 = require("../../../components/JsonViewer/JsonViewer");
|
|
46
47
|
const CopyButton_1 = require("../../../components/Buttons/CopyButton");
|
|
47
|
-
function CatalogEntitySchema({ entity, relatedEntity,
|
|
48
|
+
function CatalogEntitySchema({ entity, relatedEntity, RedocSchema, StoreProvider, GraphqlTypeRenderer, }) {
|
|
48
49
|
var _a, _b;
|
|
49
50
|
const { useTranslate, useTelemetry } = (0, hooks_1.useThemeHooks)();
|
|
50
51
|
const telemetry = useTelemetry();
|
|
@@ -52,18 +53,11 @@ function CatalogEntitySchema({ entity, relatedEntity, catalogConfig, RedocSchema
|
|
|
52
53
|
const { definition, parsedSchema, rawSchema } = (0, hooks_2.useCatalogEntitySchema)({ entity, relatedEntity });
|
|
53
54
|
const isGraphql = ((_a = entity.metadata) === null || _a === void 0 ? void 0 : _a.specType) === 'graphql';
|
|
54
55
|
const graphqlSDL = (_b = entity === null || entity === void 0 ? void 0 : entity.metadata) === null || _b === void 0 ? void 0 : _b.sdl;
|
|
55
|
-
const { getEntityDetailsLink } = (0, hooks_1.useCatalogEntityDetails)({
|
|
56
|
-
catalogConfig,
|
|
57
|
-
});
|
|
58
56
|
return (react_1.default.createElement(MetadataWrapper, { "data-component-name": "Catalog/CatalogEntity/CatalogEntitySchema" },
|
|
59
57
|
react_1.default.createElement(HeaderWrapper, null,
|
|
60
58
|
react_1.default.createElement(Heading, null, translate('catalog.entity.schema.title')),
|
|
61
59
|
!isGraphql && (react_1.default.createElement(CopyButton_1.CopyButton, { data: rawSchema, buttonText: "Copy Schema", type: "compound", variant: "secondary", iconPosition: "right", size: "medium", onCopyClick: () => telemetry.sendCatalogEntitiesCopyDataSchemaClickedMessage([
|
|
62
|
-
{
|
|
63
|
-
id: entity.id,
|
|
64
|
-
object: 'catalog_entity',
|
|
65
|
-
uri: getEntityDetailsLink(entity),
|
|
66
|
-
},
|
|
60
|
+
Object.assign(Object.assign({}, (0, utils_1.getBaseDataAttributes)('catalogEntitiesCopyDataSchemaId', 'button')), { entityId: entity.id, entityKey: entity.key, entityType: entity.type }),
|
|
67
61
|
]) }))),
|
|
68
62
|
react_1.default.createElement(SplitViewWrapper, null,
|
|
69
63
|
react_1.default.createElement(SchemaContentWrapper, null, isGraphql && graphqlSDL && GraphqlTypeRenderer ? (react_1.default.createElement(GraphqlTypeRenderer, { sdl: graphqlSDL, typeName: entity.title })) : (react_1.default.createElement(StoreProvider, { definition: definition },
|
|
@@ -5,4 +5,4 @@ export type ShowMoreButtonProps = {
|
|
|
5
5
|
className?: string;
|
|
6
6
|
isExpanded?: boolean;
|
|
7
7
|
};
|
|
8
|
-
export declare function ShowMoreButton({ onClick, children, className, isExpanded }: ShowMoreButtonProps): React.ReactElement;
|
|
8
|
+
export declare function ShowMoreButton({ onClick, children, className, isExpanded, }: ShowMoreButtonProps): React.ReactElement;
|
|
@@ -6,4 +6,4 @@ export type CatalogEntityIconProps = {
|
|
|
6
6
|
forceColor?: string;
|
|
7
7
|
entitiesCatalogConfig?: UiAccessibleConfig['entitiesCatalog'];
|
|
8
8
|
};
|
|
9
|
-
export declare function CatalogEntityIcon({ entityType, defaultColor, forceColor }: CatalogEntityIconProps): JSX.Element;
|
|
9
|
+
export declare function CatalogEntityIcon({ entityType, defaultColor, forceColor, }: CatalogEntityIconProps): JSX.Element;
|
|
@@ -4,4 +4,4 @@ export type CatalogEntityTypeIconProps = {
|
|
|
4
4
|
defaultColors?: boolean;
|
|
5
5
|
size?: 'large' | 'medium';
|
|
6
6
|
};
|
|
7
|
-
export declare function CatalogEntityTypeIcon({ entityType, defaultColors, size }: CatalogEntityTypeIconProps): React.JSX.Element;
|
|
7
|
+
export declare function CatalogEntityTypeIcon({ entityType, defaultColors, size, }: CatalogEntityTypeIconProps): React.JSX.Element;
|
|
@@ -3,4 +3,4 @@ import type { FilterProps } from '../../../core/types';
|
|
|
3
3
|
export type CatalogFilterProps = FilterProps & {
|
|
4
4
|
className?: string;
|
|
5
5
|
};
|
|
6
|
-
export declare function CatalogFilter({ filter, filterValuesCasing, showCounter, className }: CatalogFilterProps): JSX.Element | null;
|
|
6
|
+
export declare function CatalogFilter({ filter, filterValuesCasing, showCounter, className, }: CatalogFilterProps): JSX.Element | null;
|
|
@@ -3,4 +3,4 @@ import type { FilterProps } from '../../../core/types';
|
|
|
3
3
|
export type CatalogFilterCheckboxesProps = FilterProps & {
|
|
4
4
|
className?: string;
|
|
5
5
|
};
|
|
6
|
-
export declare function CatalogFilterCheckboxes({ filter, filterValuesCasing, showCounter, className }: CatalogFilterCheckboxesProps): JSX.Element;
|
|
6
|
+
export declare function CatalogFilterCheckboxes({ filter, filterValuesCasing, showCounter, className, }: CatalogFilterCheckboxesProps): JSX.Element;
|
|
@@ -104,13 +104,7 @@ function CatalogFilterCheckboxes({ filter, filterValuesCasing, showCounter = tru
|
|
|
104
104
|
return (react_1.default.createElement(FilterCheckboxOption, { key: id, role: "link", onClick: () => {
|
|
105
105
|
filter.toggleOption(value);
|
|
106
106
|
telemetry.sendCatalogEntitiesFilterCheckboxToggledMessage([
|
|
107
|
-
{
|
|
108
|
-
id: filter.property + '--' + value,
|
|
109
|
-
object: 'checkbox',
|
|
110
|
-
uri: window.location.href,
|
|
111
|
-
category: filter.property,
|
|
112
|
-
value: value,
|
|
113
|
-
},
|
|
107
|
+
Object.assign(Object.assign({}, (0, utils_1.getBaseDataAttributes)('catalogEntitiesFilterCheckboxId', 'checkbox')), { category: filter.property, value: value }),
|
|
114
108
|
]);
|
|
115
109
|
} },
|
|
116
110
|
react_1.default.createElement(CheckboxIcon_1.CheckboxIcon, { checked: filter.selectedOptions instanceof Set
|
|
@@ -11,4 +11,4 @@ export type CatalogFilterContentProps = {
|
|
|
11
11
|
searchInput?: ReactNode;
|
|
12
12
|
className?: string;
|
|
13
13
|
};
|
|
14
|
-
export declare function CatalogFilterContent({ onClear, filters, filterTerm, filterValuesCasing, showCounter, catalogSelector, searchInput, className }: CatalogFilterContentProps): JSX.Element | null;
|
|
14
|
+
export declare function CatalogFilterContent({ onClear, filters, filterTerm, filterValuesCasing, showCounter, catalogSelector, searchInput, className, }: CatalogFilterContentProps): JSX.Element | null;
|
|
@@ -3,4 +3,4 @@ import type { FilterProps } from '../../../core/types';
|
|
|
3
3
|
export type CatalogFilterDateRangeProps = FilterProps & {
|
|
4
4
|
className?: string;
|
|
5
5
|
};
|
|
6
|
-
export declare function CatalogFilterDateRange({ filter, className }: CatalogFilterDateRangeProps): JSX.Element;
|
|
6
|
+
export declare function CatalogFilterDateRange({ filter, className, }: CatalogFilterDateRangeProps): JSX.Element;
|
|
@@ -3,4 +3,4 @@ import type { FilterProps } from '../../../core/types';
|
|
|
3
3
|
export type CatalogFilterSelectProps = FilterProps & {
|
|
4
4
|
className?: string;
|
|
5
5
|
};
|
|
6
|
-
export declare function CatalogFilterSelect({ filter, filterValuesCasing, showCounter, className }: CatalogFilterSelectProps): JSX.Element;
|
|
6
|
+
export declare function CatalogFilterSelect({ filter, filterValuesCasing, showCounter, className, }: CatalogFilterSelectProps): JSX.Element;
|
|
@@ -3,5 +3,5 @@ type CatalogMobileFiltersPanelProps = {
|
|
|
3
3
|
setMobileFiltersPanelOpen: (open: boolean) => void;
|
|
4
4
|
filterContent: React.ReactNode;
|
|
5
5
|
};
|
|
6
|
-
export declare function CatalogMobileFiltersPanel({ setMobileFiltersPanelOpen, filterContent }: CatalogMobileFiltersPanelProps): JSX.Element;
|
|
6
|
+
export declare function CatalogMobileFiltersPanel({ setMobileFiltersPanelOpen, filterContent, }: CatalogMobileFiltersPanelProps): JSX.Element;
|
|
7
7
|
export {};
|
package/lib/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanelHeader.d.ts
CHANGED
|
@@ -2,5 +2,5 @@ import { JSX } from 'react';
|
|
|
2
2
|
type CatalogMobileFiltersPanelHeaderProps = {
|
|
3
3
|
setMobileFiltersPanelOpen: (open: boolean) => void;
|
|
4
4
|
};
|
|
5
|
-
export declare function CatalogMobileFiltersPanelHeader({ setMobileFiltersPanelOpen }: CatalogMobileFiltersPanelHeaderProps): JSX.Element;
|
|
5
|
+
export declare function CatalogMobileFiltersPanelHeader({ setMobileFiltersPanelOpen, }: CatalogMobileFiltersPanelHeaderProps): JSX.Element;
|
|
6
6
|
export {};
|
package/lib/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanelOverlay.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ type CatalogMobileFiltersPanelOverlayProps = {
|
|
|
3
3
|
setMobileFiltersPanelOpen: (open: boolean) => void;
|
|
4
4
|
filterContent: React.ReactNode;
|
|
5
5
|
};
|
|
6
|
-
export declare function CatalogMobileFiltersPanelOverlay({ setMobileFiltersPanelOpen, filterContent }: CatalogMobileFiltersPanelOverlayProps): JSX.Element;
|
|
6
|
+
export declare function CatalogMobileFiltersPanelOverlay({ setMobileFiltersPanelOpen, filterContent, }: CatalogMobileFiltersPanelOverlayProps): JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -8,5 +8,5 @@ type CatalogMobileTopBarProps = {
|
|
|
8
8
|
viewMode: CatalogViewMode;
|
|
9
9
|
setViewMode: (viewMode: CatalogViewMode) => void;
|
|
10
10
|
};
|
|
11
|
-
export declare function CatalogMobileTopBar({ setMobileFiltersPanelOpen, activeFiltersCount, setSortOption, sortOption, viewMode, setViewMode }: CatalogMobileTopBarProps): JSX.Element;
|
|
11
|
+
export declare function CatalogMobileTopBar({ setMobileFiltersPanelOpen, activeFiltersCount, setSortOption, sortOption, viewMode, setViewMode, }: CatalogMobileTopBarProps): JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -6,5 +6,5 @@ type CatalogMobileTopBarControlsProps = {
|
|
|
6
6
|
viewMode: CatalogViewMode;
|
|
7
7
|
setViewMode: (viewMode: CatalogViewMode) => void;
|
|
8
8
|
};
|
|
9
|
-
export declare function CatalogMobileTopBarControls({ setSortOption, sortOption, viewMode, setViewMode }: CatalogMobileTopBarControlsProps): JSX.Element;
|
|
9
|
+
export declare function CatalogMobileTopBarControls({ setSortOption, sortOption, viewMode, setViewMode, }: CatalogMobileTopBarControlsProps): JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -3,5 +3,5 @@ type CatalogMobileTopBarFiltersButtonProps = {
|
|
|
3
3
|
setMobileFiltersPanelOpen: (open: boolean) => void;
|
|
4
4
|
activeFiltersCount: number;
|
|
5
5
|
};
|
|
6
|
-
export declare function CatalogMobileTopBarFiltersButton({ setMobileFiltersPanelOpen, activeFiltersCount }: CatalogMobileTopBarFiltersButtonProps): JSX.Element;
|
|
6
|
+
export declare function CatalogMobileTopBarFiltersButton({ setMobileFiltersPanelOpen, activeFiltersCount, }: CatalogMobileTopBarFiltersButtonProps): JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -6,4 +6,4 @@ export type CatalogPageDescriptionProps = {
|
|
|
6
6
|
descriptionTranslationKey?: string;
|
|
7
7
|
tag: number | string;
|
|
8
8
|
};
|
|
9
|
-
export declare function CatalogPageDescription({ title, titleTranslationKey, description, descriptionTranslationKey, tag }: CatalogPageDescriptionProps): React.JSX.Element;
|
|
9
|
+
export declare function CatalogPageDescription({ title, titleTranslationKey, description, descriptionTranslationKey, tag, }: CatalogPageDescriptionProps): React.JSX.Element;
|
|
@@ -5,6 +5,6 @@ export type CatalogSelectorProps = {
|
|
|
5
5
|
catalogSwitcherItems: CatalogSwitcherItem[];
|
|
6
6
|
onChange: () => void;
|
|
7
7
|
};
|
|
8
|
-
export declare function CatalogSelector({ catalogSwitcherItems, onChange }: CatalogSelectorProps): JSX.Element;
|
|
8
|
+
export declare function CatalogSelector({ catalogSwitcherItems, onChange, }: CatalogSelectorProps): JSX.Element;
|
|
9
9
|
export declare const CatalogSelectWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
10
|
-
export declare const CatalogSelect: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../../
|
|
10
|
+
export declare const CatalogSelect: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../../core/types").SelectProps<unknown>, never> & Partial<Pick<import("../../core/types").SelectProps<unknown>, never>>> & string & Omit<typeof Select, keyof React.Component<any, {}, any>>;
|
|
@@ -3,7 +3,7 @@ export type CatalogSortButtonProps = {
|
|
|
3
3
|
onSortChange: (sortOption: string | null) => void;
|
|
4
4
|
currentSort?: string | null;
|
|
5
5
|
};
|
|
6
|
-
export declare function CatalogSortButton({ onSortChange, currentSort }: {
|
|
6
|
+
export declare function CatalogSortButton({ onSortChange, currentSort, }: {
|
|
7
7
|
onSortChange: (sortOption: string | null) => void;
|
|
8
8
|
currentSort?: string | null;
|
|
9
9
|
}): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { BffCatalogRelatedEntity } from '../../../core/types';
|
|
2
2
|
export type CatalogEntityRelationCellProps = Pick<BffCatalogRelatedEntity, 'relationType' | 'relationRole'>;
|
|
3
|
-
export declare function CatalogEntityRelationCell({ relationType, relationRole }: CatalogEntityRelationCellProps): string;
|
|
3
|
+
export declare function CatalogEntityRelationCell({ relationType, relationRole, }: CatalogEntityRelationCellProps): string;
|
|
@@ -2,4 +2,4 @@ import React from 'react';
|
|
|
2
2
|
export type CatalogLastUpdateCellProps = {
|
|
3
3
|
lastModified: string;
|
|
4
4
|
};
|
|
5
|
-
export declare function CatalogLastUpdateCell({ lastModified }: CatalogLastUpdateCellProps): React.ReactElement;
|
|
5
|
+
export declare function CatalogLastUpdateCell({ lastModified, }: CatalogLastUpdateCellProps): React.ReactElement;
|
|
@@ -8,4 +8,4 @@ export type CatalogTagsProps = {
|
|
|
8
8
|
showAvatars?: boolean;
|
|
9
9
|
maxItemLength?: number;
|
|
10
10
|
};
|
|
11
|
-
export declare function CatalogTags({ items, itemsToShow, showPlaceholder, showAvatars, tagProps, maxItemLength }: CatalogTagsProps): JSX.Element | null;
|
|
11
|
+
export declare function CatalogTags({ items, itemsToShow, showPlaceholder, showAvatars, tagProps, maxItemLength, }: CatalogTagsProps): JSX.Element | null;
|
|
@@ -4,4 +4,4 @@ export type CatalogViewModeToggleProps = {
|
|
|
4
4
|
viewMode: CatalogViewMode;
|
|
5
5
|
onViewModeChange: (mode: CatalogViewMode) => void;
|
|
6
6
|
};
|
|
7
|
-
export declare function CatalogViewModeToggle({ viewMode: initialViewMode, onViewModeChange }: CatalogViewModeToggleProps): React.JSX.Element;
|
|
7
|
+
export declare function CatalogViewModeToggle({ viewMode: initialViewMode, onViewModeChange, }: CatalogViewModeToggleProps): React.JSX.Element;
|
|
@@ -22,4 +22,4 @@ export type CatalogClassicVirtualizedGroupsProps = {
|
|
|
22
22
|
})[];
|
|
23
23
|
filterTerm: string;
|
|
24
24
|
};
|
|
25
|
-
export declare function CatalogClassicVirtualizedGroups({ groups, filters, filterTerm }: CatalogClassicVirtualizedGroupsProps): React.JSX.Element;
|
|
25
|
+
export declare function CatalogClassicVirtualizedGroups({ groups, filters, filterTerm, }: CatalogClassicVirtualizedGroupsProps): React.JSX.Element;
|
|
@@ -35,5 +35,5 @@ type CopyControlProps = ControlProps & {
|
|
|
35
35
|
handleOutside?: boolean;
|
|
36
36
|
};
|
|
37
37
|
export type ControlItemType = 'text' | 'icon';
|
|
38
|
-
export declare function CodeBlockControls({ children, className, title, controls, tabs, dropdown }: CodeBlockControlsProps): JSX.Element | null;
|
|
38
|
+
export declare function CodeBlockControls({ children, className, title, controls, tabs, dropdown, }: CodeBlockControlsProps): JSX.Element | null;
|
|
39
39
|
export {};
|
|
@@ -12,4 +12,4 @@ export type CommentProps = {
|
|
|
12
12
|
isDialog?: boolean;
|
|
13
13
|
className?: string;
|
|
14
14
|
};
|
|
15
|
-
export declare function Comment({ settings, onSubmit, onCancel, className, standAlone, isDialog }: CommentProps): JSX.Element;
|
|
15
|
+
export declare function Comment({ settings, onSubmit, onCancel, className, standAlone, isDialog, }: CommentProps): JSX.Element;
|
|
@@ -47,6 +47,7 @@ const Comment_1 = require("../../components/Feedback/Comment");
|
|
|
47
47
|
const Mood_1 = require("../../components/Feedback/Mood");
|
|
48
48
|
const Scale_1 = require("../../components/Feedback/Scale");
|
|
49
49
|
const constants_1 = require("../../core/constants");
|
|
50
|
+
const utils_1 = require("../../core/utils");
|
|
50
51
|
const feedbackComponents = {
|
|
51
52
|
rating: Rating_1.Rating,
|
|
52
53
|
sentiment: Sentiment_1.Sentiment,
|
|
@@ -74,7 +75,9 @@ function Feedback(props) {
|
|
|
74
75
|
return (React.createElement(FeedbackWrapper, { "data-component-name": "Feedback/Feedback" },
|
|
75
76
|
React.createElement(FeedbackComponent, { settings: settings, onSubmit: (values) => {
|
|
76
77
|
submitFeedback({ type, values, path });
|
|
77
|
-
telemetry.sendFeedbackMessage(
|
|
78
|
+
telemetry.sendFeedbackMessage([
|
|
79
|
+
Object.assign(Object.assign({}, (0, utils_1.getBaseDataAttributes)('feedbackFormId', 'feedbackForm')), { feedbackType: type }),
|
|
80
|
+
]);
|
|
78
81
|
} })));
|
|
79
82
|
};
|
|
80
83
|
return React.createElement(React.Fragment, { key: pathname }, renderFeedbackComponent());
|
|
@@ -11,4 +11,4 @@ export type ReportDialogProps = {
|
|
|
11
11
|
submitFeedback: ({ type, values, path, location }: SubmitFeedbackParams) => Promise<void>;
|
|
12
12
|
className?: string;
|
|
13
13
|
};
|
|
14
|
-
export declare function ReportDialog({ location, settings, onSubmit, onCancel, submitFeedback, lang }: ReportDialogProps): JSX.Element;
|
|
14
|
+
export declare function ReportDialog({ location, settings, onSubmit, onCancel, submitFeedback, lang, }: ReportDialogProps): JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { JSX } from 'react';
|
|
2
2
|
import type { FilterProps } from '../../core/types';
|
|
3
|
-
export declare function Filter({ filter, filterValuesCasing, showCounter }: FilterProps): JSX.Element | null;
|
|
3
|
+
export declare function Filter({ filter, filterValuesCasing, showCounter, }: FilterProps): JSX.Element | null;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { JSX } from 'react';
|
|
2
2
|
import type { FilterProps } from '../../core/types';
|
|
3
|
-
export declare function FilterCheckboxes({ filter, filterValuesCasing, showCounter }: FilterProps): JSX.Element;
|
|
3
|
+
export declare function FilterCheckboxes({ filter, filterValuesCasing, showCounter, }: FilterProps): JSX.Element;
|
|
@@ -9,4 +9,4 @@ export type FilterContentProps = {
|
|
|
9
9
|
hideSearch?: boolean;
|
|
10
10
|
showCounter?: boolean;
|
|
11
11
|
};
|
|
12
|
-
export declare function FilterContent({ setFilterTerm, filters, filterTerm, filterValuesCasing, hideSearch, showCounter }: FilterContentProps): JSX.Element | null;
|
|
12
|
+
export declare function FilterContent({ setFilterTerm, filters, filterTerm, filterValuesCasing, hideSearch, showCounter, }: FilterContentProps): JSX.Element | null;
|