@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
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { JSX, PropsWithChildren, ReactNode } from 'react';
|
|
2
|
+
export declare const NumberedListType: {
|
|
3
|
+
readonly ICON: 'icon';
|
|
4
|
+
readonly NUMBER: 'number';
|
|
5
|
+
readonly DOT: 'dot';
|
|
6
|
+
};
|
|
7
|
+
export type NumberedListType = (typeof NumberedListType)[keyof typeof NumberedListType];
|
|
8
|
+
export declare const NumberedListSize: {
|
|
9
|
+
readonly SMALL: 'small';
|
|
10
|
+
readonly MEDIUM: 'medium';
|
|
11
|
+
};
|
|
12
|
+
export type NumberedListSize = (typeof NumberedListSize)[keyof typeof NumberedListSize];
|
|
13
|
+
export type NumberedItemProps = PropsWithChildren<{
|
|
14
|
+
headline?: ReactNode;
|
|
15
|
+
anchorId?: string;
|
|
16
|
+
headlineLevel?: number;
|
|
17
|
+
icon?: string | ReactNode;
|
|
18
|
+
iconRawContent?: string;
|
|
19
|
+
className?: string;
|
|
20
|
+
type?: NumberedListType;
|
|
21
|
+
size?: NumberedListSize;
|
|
22
|
+
index?: number;
|
|
23
|
+
isLast?: boolean;
|
|
24
|
+
}>;
|
|
25
|
+
export declare function NumberedItem({ headline, anchorId, headlineLevel, icon, iconRawContent, className, type, size, index, isLast, children, }: NumberedItemProps): JSX.Element;
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.NumberedListSize = exports.NumberedListType = void 0;
|
|
37
|
+
exports.NumberedItem = NumberedItem;
|
|
38
|
+
const react_1 = __importStar(require("react"));
|
|
39
|
+
const styled_components_1 = __importStar(require("styled-components"));
|
|
40
|
+
const GenericIcon_1 = require("../../../icons/GenericIcon/GenericIcon");
|
|
41
|
+
const LinkIcon_1 = require("../../../icons/LinkIcon/LinkIcon");
|
|
42
|
+
exports.NumberedListType = {
|
|
43
|
+
ICON: 'icon',
|
|
44
|
+
NUMBER: 'number',
|
|
45
|
+
DOT: 'dot',
|
|
46
|
+
};
|
|
47
|
+
exports.NumberedListSize = {
|
|
48
|
+
SMALL: 'small',
|
|
49
|
+
MEDIUM: 'medium',
|
|
50
|
+
};
|
|
51
|
+
function NumberedItem({ headline, anchorId, headlineLevel, icon, iconRawContent, className, type = exports.NumberedListType.NUMBER, size = exports.NumberedListSize.MEDIUM, index = 1, isLast = true, children, }) {
|
|
52
|
+
const isDot = type === exports.NumberedListType.DOT;
|
|
53
|
+
const headlineTextId = anchorId ? `${anchorId}-heading-text` : undefined;
|
|
54
|
+
const marker = (react_1.default.createElement(Marker, { $type: type, $size: size, "data-dot": isDot || undefined },
|
|
55
|
+
type === exports.NumberedListType.ICON && (react_1.default.createElement(MarkerContent, { className: "numbered-item-marker-content" },
|
|
56
|
+
react_1.default.createElement(GenericIcon_1.GenericIcon, { icon: icon, rawContent: iconRawContent }))),
|
|
57
|
+
type === exports.NumberedListType.NUMBER && (react_1.default.createElement(MarkerContent, { className: "numbered-item-marker-content" }, index)),
|
|
58
|
+
anchorId && (react_1.default.createElement(MarkerLink, { className: "numbered-item-marker-link", $isDot: isDot },
|
|
59
|
+
react_1.default.createElement(MarkerLinkIcon, { "aria-hidden": "true", focusable: "false", color: "--md-numbered-list-marker-text-color" })))));
|
|
60
|
+
return (react_1.default.createElement(NumberedItemWrapper, { "data-component-name": "Markdoc/NumberedList/NumberedItem", className: className, id: anchorId, $size: size, $isDot: isDot },
|
|
61
|
+
react_1.default.createElement(MarkerRail, null,
|
|
62
|
+
anchorId ? (react_1.default.createElement("a", Object.assign({ href: `#${anchorId}` }, (headline
|
|
63
|
+
? { 'aria-labelledby': headlineTextId }
|
|
64
|
+
: { 'aria-label': 'Link to this item' })), marker)) : (marker),
|
|
65
|
+
react_1.default.createElement(Tail, { "data-testid": "numbered-item-tail", $isLast: isLast })),
|
|
66
|
+
react_1.default.createElement(NumberedItemContent, null,
|
|
67
|
+
headline &&
|
|
68
|
+
(0, react_1.createElement)(NumberedItemHeadline, { as: `h${headlineLevel !== null && headlineLevel !== void 0 ? headlineLevel : 3}`, id: headlineTextId }, headline),
|
|
69
|
+
react_1.default.createElement(NumberedItemBody, null, children))));
|
|
70
|
+
}
|
|
71
|
+
const markerSize = (0, styled_components_1.css) `
|
|
72
|
+
${({ $size }) => $size === exports.NumberedListSize.SMALL
|
|
73
|
+
? (0, styled_components_1.css) `
|
|
74
|
+
width: var(--md-numbered-list-marker-small-size);
|
|
75
|
+
height: var(--md-numbered-list-marker-small-size);
|
|
76
|
+
--icon-width: var(--md-numbered-list-icon-small-size);
|
|
77
|
+
--icon-height: var(--md-numbered-list-icon-small-size);
|
|
78
|
+
`
|
|
79
|
+
: (0, styled_components_1.css) `
|
|
80
|
+
width: var(--md-numbered-list-marker-medium-size);
|
|
81
|
+
height: var(--md-numbered-list-marker-medium-size);
|
|
82
|
+
--icon-width: var(--md-numbered-list-icon-medium-size);
|
|
83
|
+
--icon-height: var(--md-numbered-list-icon-medium-size);
|
|
84
|
+
`}
|
|
85
|
+
`;
|
|
86
|
+
const Marker = styled_components_1.default.span `
|
|
87
|
+
position: relative;
|
|
88
|
+
display: flex;
|
|
89
|
+
align-items: center;
|
|
90
|
+
justify-content: center;
|
|
91
|
+
flex-shrink: 0;
|
|
92
|
+
border-radius: 50%;
|
|
93
|
+
color: var(--md-numbered-list-marker-text-color);
|
|
94
|
+
font-size: var(--md-numbered-list-marker-font-size);
|
|
95
|
+
|
|
96
|
+
${({ $type }) => $type === exports.NumberedListType.DOT
|
|
97
|
+
? (0, styled_components_1.css) `
|
|
98
|
+
width: var(--md-numbered-list-dot-size);
|
|
99
|
+
height: var(--md-numbered-list-dot-size);
|
|
100
|
+
background-color: var(--text-color-primary);
|
|
101
|
+
`
|
|
102
|
+
: (0, styled_components_1.css) `
|
|
103
|
+
${markerSize}
|
|
104
|
+
background-color: var(--md-numbered-list-marker-bg-color);
|
|
105
|
+
`}
|
|
106
|
+
`;
|
|
107
|
+
const MarkerContent = styled_components_1.default.span `
|
|
108
|
+
display: flex;
|
|
109
|
+
align-items: center;
|
|
110
|
+
justify-content: center;
|
|
111
|
+
`;
|
|
112
|
+
const MarkerLink = styled_components_1.default.span `
|
|
113
|
+
display: none;
|
|
114
|
+
align-items: center;
|
|
115
|
+
justify-content: center;
|
|
116
|
+
|
|
117
|
+
svg {
|
|
118
|
+
width: var(--icon-width, 16px);
|
|
119
|
+
height: var(--icon-height, 16px);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
${({ $isDot }) => $isDot &&
|
|
123
|
+
(0, styled_components_1.css) `
|
|
124
|
+
position: absolute;
|
|
125
|
+
inset-inline-end: calc(100% + var(--md-numbered-list-dot-link-gap));
|
|
126
|
+
`}
|
|
127
|
+
`;
|
|
128
|
+
const MarkerLinkIcon = (0, styled_components_1.default)(LinkIcon_1.LinkIcon) `
|
|
129
|
+
path:first-of-type {
|
|
130
|
+
fill: var(--md-numbered-list-marker-icon-bg-color);
|
|
131
|
+
}
|
|
132
|
+
`;
|
|
133
|
+
const MarkerRail = styled_components_1.default.span `
|
|
134
|
+
display: flex;
|
|
135
|
+
flex-direction: column;
|
|
136
|
+
align-items: center;
|
|
137
|
+
align-self: stretch;
|
|
138
|
+
flex-shrink: 0;
|
|
139
|
+
|
|
140
|
+
a {
|
|
141
|
+
display: flex;
|
|
142
|
+
border-radius: 50%;
|
|
143
|
+
/* Overrides the global markdown link rule a:not([role='button']), which is more specific. */
|
|
144
|
+
text-decoration: none !important;
|
|
145
|
+
|
|
146
|
+
&:hover,
|
|
147
|
+
&:focus {
|
|
148
|
+
text-decoration: none !important;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
`;
|
|
152
|
+
const Tail = styled_components_1.default.span `
|
|
153
|
+
flex: 1 0 0;
|
|
154
|
+
min-height: var(--spacing-xs);
|
|
155
|
+
width: var(--md-numbered-list-tail-width);
|
|
156
|
+
background: ${({ $isLast }) => $isLast
|
|
157
|
+
? 'var(--md-numbered-list-tail-fade-gradient)'
|
|
158
|
+
: 'var(--md-numbered-list-tail-bg-color)'};
|
|
159
|
+
`;
|
|
160
|
+
const NumberedItemHeadline = styled_components_1.default.h3 `
|
|
161
|
+
margin: 0;
|
|
162
|
+
color: var(--md-numbered-list-headline-text-color);
|
|
163
|
+
font-size: var(--md-numbered-list-headline-font-size);
|
|
164
|
+
font-weight: var(--md-numbered-list-headline-font-weight);
|
|
165
|
+
line-height: var(--md-numbered-list-headline-line-height);
|
|
166
|
+
`;
|
|
167
|
+
const NumberedItemBody = styled_components_1.default.div `
|
|
168
|
+
display: flex;
|
|
169
|
+
flex-direction: column;
|
|
170
|
+
gap: var(--md-numbered-list-body-gap);
|
|
171
|
+
color: var(--md-numbered-list-body-text-color);
|
|
172
|
+
font-size: var(--md-numbered-list-body-font-size);
|
|
173
|
+
|
|
174
|
+
> p {
|
|
175
|
+
margin: 0;
|
|
176
|
+
}
|
|
177
|
+
`;
|
|
178
|
+
const NumberedItemContent = styled_components_1.default.div `
|
|
179
|
+
display: flex;
|
|
180
|
+
flex-direction: column;
|
|
181
|
+
gap: var(--spacing-unit);
|
|
182
|
+
flex: 1;
|
|
183
|
+
min-width: 0;
|
|
184
|
+
padding-bottom: var(--spacing-sm);
|
|
185
|
+
`;
|
|
186
|
+
const NumberedItemWrapper = styled_components_1.default.li `
|
|
187
|
+
display: flex;
|
|
188
|
+
gap: var(--md-numbered-list-gap);
|
|
189
|
+
align-items: stretch;
|
|
190
|
+
|
|
191
|
+
${({ $isDot }) => $isDot &&
|
|
192
|
+
(0, styled_components_1.css) `
|
|
193
|
+
${MarkerRail} {
|
|
194
|
+
padding-top: var(--md-numbered-list-dot-rail-padding-top);
|
|
195
|
+
}
|
|
196
|
+
`}
|
|
197
|
+
|
|
198
|
+
&:last-child ${NumberedItemContent} {
|
|
199
|
+
padding-bottom: 0;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
&:hover,
|
|
203
|
+
&:focus-within {
|
|
204
|
+
${Marker} {
|
|
205
|
+
background-color: ${({ $isDot }) => $isDot ? 'var(--text-color-primary)' : 'var(--md-numbered-list-marker-bg-color-hover)'};
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
a ${Marker}:not([data-dot]) .numbered-item-marker-content {
|
|
209
|
+
display: none;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
a ${Marker} .numbered-item-marker-link {
|
|
213
|
+
display: flex;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
`;
|
|
217
|
+
//# sourceMappingURL=NumberedItem.js.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.NumberedList = NumberedList;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
+
function NumberedList({ className, children }) {
|
|
10
|
+
if (react_1.default.Children.count(children) === 0) {
|
|
11
|
+
return null;
|
|
12
|
+
}
|
|
13
|
+
return (react_1.default.createElement(NumberedListWrapper, { "data-component-name": "Markdoc/NumberedList/NumberedList", className: className }, children));
|
|
14
|
+
}
|
|
15
|
+
const NumberedListWrapper = styled_components_1.default.ol `
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
margin: var(--md-numbered-list-margin);
|
|
19
|
+
padding: 0;
|
|
20
|
+
list-style: none;
|
|
21
|
+
|
|
22
|
+
&& {
|
|
23
|
+
& > li:not(:last-child) {
|
|
24
|
+
margin-bottom: 0;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
`;
|
|
28
|
+
//# sourceMappingURL=NumberedList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const markdownNumberedList: import("styled-components").RuleSet<object>;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.markdownNumberedList = void 0;
|
|
4
|
+
const styled_components_1 = require("styled-components");
|
|
5
|
+
exports.markdownNumberedList = (0, styled_components_1.css) `
|
|
6
|
+
/**
|
|
7
|
+
* @tokens Markdown Numbered List
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
--md-numbered-list-margin: var(--spacing-sm) 0; // @presenter Spacing
|
|
11
|
+
--md-numbered-list-gap: var(--spacing-base); // @presenter Spacing
|
|
12
|
+
|
|
13
|
+
--md-numbered-list-marker-bg-color: var(--color-warm-grey-2); // @presenter Color
|
|
14
|
+
--md-numbered-list-marker-bg-color-hover: var(--color-warm-grey-3); // @presenter Color
|
|
15
|
+
--md-numbered-list-marker-icon-bg-color: transparent; // @presenter Color
|
|
16
|
+
--md-numbered-list-marker-text-color: var(--text-color-primary); // @presenter Color
|
|
17
|
+
--md-numbered-list-marker-font-size: var(--font-size-base); // @presenter FontSize
|
|
18
|
+
|
|
19
|
+
--md-numbered-list-marker-medium-size: 28px; // @presenter Spacing
|
|
20
|
+
--md-numbered-list-icon-medium-size: 16px; // @presenter Spacing
|
|
21
|
+
--md-numbered-list-tail-width: 1px; // @presenter Spacing
|
|
22
|
+
--md-numbered-list-marker-small-size: 24px; // @presenter Spacing
|
|
23
|
+
--md-numbered-list-icon-small-size: 12px; // @presenter Spacing
|
|
24
|
+
--md-numbered-list-dot-size: 10px; // @presenter Spacing
|
|
25
|
+
--md-numbered-list-dot-rail-padding-top: 7px; // @presenter Spacing
|
|
26
|
+
--md-numbered-list-dot-link-gap: 6px; // @presenter Spacing
|
|
27
|
+
|
|
28
|
+
--md-numbered-list-tail-bg-color: var(--md-numbered-list-marker-bg-color); // @presenter Color
|
|
29
|
+
--md-numbered-list-tail-fade-gradient: linear-gradient(to bottom, var(--md-numbered-list-tail-bg-color), transparent); // @presenter Color
|
|
30
|
+
|
|
31
|
+
--md-numbered-list-headline-text-color: var(--text-color-primary); // @presenter Color
|
|
32
|
+
--md-numbered-list-headline-font-size: var(--font-size-base); // @presenter FontSize
|
|
33
|
+
--md-numbered-list-headline-font-weight: var(--font-weight-medium); // @presenter FontWeight
|
|
34
|
+
--md-numbered-list-headline-line-height: var(--line-height-base); // @presenter LineHeight
|
|
35
|
+
|
|
36
|
+
--md-numbered-list-body-text-color: var(--text-color-secondary); // @presenter Color
|
|
37
|
+
--md-numbered-list-body-gap: var(--spacing-xs); // @presenter Spacing
|
|
38
|
+
--md-numbered-list-body-font-size: var(--font-size-base); // @presenter FontSize
|
|
39
|
+
|
|
40
|
+
// @tokens End
|
|
41
|
+
`;
|
|
42
|
+
//# sourceMappingURL=variables.js.map
|
|
@@ -12,5 +12,5 @@ export type TabProps = {
|
|
|
12
12
|
icon?: React.ReactNode;
|
|
13
13
|
iconRawContent?: string;
|
|
14
14
|
};
|
|
15
|
-
export declare function TabComponent({ tabId, label, size, disabled, setRef, onKeyDown, onClick, icon, iconRawContent }: TabProps): JSX.Element;
|
|
15
|
+
export declare function TabComponent({ tabId, label, size, disabled, setRef, onKeyDown, onClick, icon, iconRawContent, }: TabProps): JSX.Element;
|
|
16
16
|
export declare const Tab: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<TabProps, never> & Partial<Pick<TabProps, never>>> & string & Omit<typeof TabComponent, keyof React.Component<any, {}, any>>;
|
|
@@ -10,7 +10,7 @@ type TabListProps = {
|
|
|
10
10
|
containerRef: React.RefObject<HTMLUListElement | null>;
|
|
11
11
|
onReadyChange?: (isReady: boolean) => void;
|
|
12
12
|
};
|
|
13
|
-
export declare function TabList({ childrenArray, size, activeTab, onTabChange, containerRef, onReadyChange }: TabListProps): JSX.Element;
|
|
13
|
+
export declare function TabList({ childrenArray, size, activeTab, onTabChange, containerRef, onReadyChange, }: TabListProps): JSX.Element;
|
|
14
14
|
export declare const TabListContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never>>> & string;
|
|
15
15
|
export declare const TabItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "active" | "className" | "size" | "tabIndex"> & {
|
|
16
16
|
tabIndex?: number;
|
|
@@ -23,10 +23,10 @@ export declare const TabItem: import("styled-components/dist/types").IStyledComp
|
|
|
23
23
|
active?: boolean;
|
|
24
24
|
size: TabsSize;
|
|
25
25
|
}, never>>> & string;
|
|
26
|
-
export declare const TabButtonLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("../../../
|
|
26
|
+
export declare const TabButtonLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("../../../components/Button/Button").ButtonProps, keyof import("../../../components/Button/Button").ButtonProps> & import("../../../components/Button/Button").ButtonProps, never> & Partial<Pick<import("styled-components").FastOmit<import("../../../components/Button/Button").ButtonProps, keyof import("../../../components/Button/Button").ButtonProps> & import("../../../components/Button/Button").ButtonProps, never>>, "as" | "forwardedAs"> & {
|
|
27
27
|
as?: import("styled-components").WebTarget | undefined;
|
|
28
28
|
forwardedAs?: import("styled-components").WebTarget | undefined;
|
|
29
|
-
}, never> & Partial<Pick<import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("../../../
|
|
29
|
+
}, never> & Partial<Pick<import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("../../../components/Button/Button").ButtonProps, keyof import("../../../components/Button/Button").ButtonProps> & import("../../../components/Button/Button").ButtonProps, never> & Partial<Pick<import("styled-components").FastOmit<import("../../../components/Button/Button").ButtonProps, keyof import("../../../components/Button/Button").ButtonProps> & import("../../../components/Button/Button").ButtonProps, never>>, "as" | "forwardedAs"> & {
|
|
30
30
|
as?: import("styled-components").WebTarget | undefined;
|
|
31
31
|
forwardedAs?: import("styled-components").WebTarget | undefined;
|
|
32
32
|
}, never>>> & string;
|
|
@@ -14,5 +14,5 @@ type TabsProps = {
|
|
|
14
14
|
initialTab?: string;
|
|
15
15
|
activeTab?: string;
|
|
16
16
|
};
|
|
17
|
-
export declare function Tabs({ id, children, className, size, initialTab: propInitialTab, activeTab: controlledActiveTab }: TabsProps): JSX.Element | null;
|
|
17
|
+
export declare function Tabs({ id, children, className, size, initialTab: propInitialTab, activeTab: controlledActiveTab, }: TabsProps): JSX.Element | null;
|
|
18
18
|
export declare const TabContent: 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;
|
|
@@ -8,6 +8,8 @@ export * from '../../markdoc/components/Tabs/TabItemFragment';
|
|
|
8
8
|
export * from '../../markdoc/components/Tabs/Tab';
|
|
9
9
|
export * from '../../markdoc/components/Tabs/TabList';
|
|
10
10
|
export * from '../../markdoc/components/Tabs/Tabs';
|
|
11
|
+
export * from '../../markdoc/components/NumberedList/NumberedItem';
|
|
12
|
+
export * from '../../markdoc/components/NumberedList/NumberedList';
|
|
11
13
|
export * from '../../markdoc/components/CodeBlock/CodeBlock';
|
|
12
14
|
export * from '../../markdoc/components/Cards/Cards';
|
|
13
15
|
export * from '../../markdoc/components/Cards/Card';
|
|
@@ -24,6 +24,8 @@ __exportStar(require("../../markdoc/components/Tabs/TabItemFragment"), exports);
|
|
|
24
24
|
__exportStar(require("../../markdoc/components/Tabs/Tab"), exports);
|
|
25
25
|
__exportStar(require("../../markdoc/components/Tabs/TabList"), exports);
|
|
26
26
|
__exportStar(require("../../markdoc/components/Tabs/Tabs"), exports);
|
|
27
|
+
__exportStar(require("../../markdoc/components/NumberedList/NumberedItem"), exports);
|
|
28
|
+
__exportStar(require("../../markdoc/components/NumberedList/NumberedList"), exports);
|
|
27
29
|
__exportStar(require("../../markdoc/components/CodeBlock/CodeBlock"), exports);
|
|
28
30
|
__exportStar(require("../../markdoc/components/Cards/Cards"), exports);
|
|
29
31
|
__exportStar(require("../../markdoc/components/Cards/Card"), exports);
|
package/lib/markdoc/default.d.ts
CHANGED
|
@@ -5,6 +5,51 @@ export * from '../markdoc/attributes/img-srcset';
|
|
|
5
5
|
export * from '../markdoc/attributes/relative-path';
|
|
6
6
|
export * from '../markdoc/attributes/svg-content';
|
|
7
7
|
export * as components from '../markdoc/components/default';
|
|
8
|
+
import { admonition } from '../markdoc/tags/admonition';
|
|
9
|
+
import { html } from '../markdoc/tags/html';
|
|
10
|
+
import { markdocExample } from '../markdoc/tags/markdoc-example';
|
|
11
|
+
import { partial } from '../markdoc/tags/partial';
|
|
12
|
+
import { tab } from '../markdoc/tags/tab';
|
|
13
|
+
import { tabs } from '../markdoc/tags/tabs';
|
|
14
|
+
import { numberedItem } from '../markdoc/tags/numbered-item';
|
|
15
|
+
import { numberedList } from '../markdoc/tags/numbered-list';
|
|
16
|
+
import { debug } from '../markdoc/tags/debug';
|
|
17
|
+
import { codeSnippet } from '../markdoc/tags/code-snippet';
|
|
18
|
+
import { inlineSvg } from '../markdoc/tags/inline-svg';
|
|
19
|
+
import { cards } from '../markdoc/tags/cards';
|
|
20
|
+
import { card } from '../markdoc/tags/card';
|
|
21
|
+
import { img } from '../markdoc/tags/img';
|
|
22
|
+
import { codeWalkthrough } from '../markdoc/tags/code-walkthrough';
|
|
23
|
+
import { codeStep } from '../markdoc/tags/code-step';
|
|
24
|
+
import { input } from '../markdoc/tags/input';
|
|
25
|
+
import { toggle } from '../markdoc/tags/code-toggle';
|
|
26
|
+
import { codeGroup } from '../markdoc/tags/code-group';
|
|
27
|
+
import { icon } from '../markdoc/tags/icon';
|
|
28
|
+
import { connectMcp } from '../markdoc/tags/connect-mcp';
|
|
29
|
+
import { loginButton } from '../markdoc/tags/login-button';
|
|
30
|
+
import { diagram } from '../markdoc/tags/diagram';
|
|
8
31
|
export declare const tags: {
|
|
9
|
-
[
|
|
32
|
+
[admonition.tagName]: import("./tags/types").MarkdocTagSchema;
|
|
33
|
+
[debug.tagName]: import("./tags/types").MarkdocTagSchema;
|
|
34
|
+
[html.tagName]: import("./tags/types").MarkdocTagSchema;
|
|
35
|
+
[markdocExample.tagName]: import("./tags/types").MarkdocTagSchema;
|
|
36
|
+
[partial.tagName]: import("./tags/types").MarkdocTagSchema;
|
|
37
|
+
[tab.tagName]: import("./tags/types").MarkdocTagSchema;
|
|
38
|
+
[tabs.tagName]: import("./tags/types").MarkdocTagSchema;
|
|
39
|
+
[numberedItem.tagName]: import("./tags/types").MarkdocTagSchema;
|
|
40
|
+
[numberedList.tagName]: import("./tags/types").MarkdocTagSchema;
|
|
41
|
+
[codeSnippet.tagName]: import("./tags/types").MarkdocTagSchema;
|
|
42
|
+
[inlineSvg.tagName]: import("./tags/types").MarkdocTagSchema;
|
|
43
|
+
[cards.tagName]: import("./tags/types").MarkdocTagSchema;
|
|
44
|
+
[card.tagName]: import("./tags/types").MarkdocTagSchema;
|
|
45
|
+
[img.tagName]: import("./tags/types").MarkdocTagSchema;
|
|
46
|
+
[codeWalkthrough.tagName]: import("./tags/types").MarkdocTagSchema;
|
|
47
|
+
[codeStep.tagName]: import("./tags/types").MarkdocTagSchema;
|
|
48
|
+
[toggle.tagName]: import("./tags/types").MarkdocTagSchema;
|
|
49
|
+
[input.tagName]: import("./tags/types").MarkdocTagSchema;
|
|
50
|
+
[codeGroup.tagName]: import("./tags/types").MarkdocTagSchema;
|
|
51
|
+
[icon.tagName]: import("./tags/types").MarkdocTagSchema;
|
|
52
|
+
[connectMcp.tagName]: import("./tags/types").MarkdocTagSchema;
|
|
53
|
+
[loginButton.tagName]: import("./tags/types").MarkdocTagSchema;
|
|
54
|
+
[diagram.tagName]: import("./tags/types").MarkdocTagSchema;
|
|
10
55
|
};
|
package/lib/markdoc/default.js
CHANGED
|
@@ -53,6 +53,8 @@ const markdoc_example_1 = require("../markdoc/tags/markdoc-example");
|
|
|
53
53
|
const partial_1 = require("../markdoc/tags/partial");
|
|
54
54
|
const tab_1 = require("../markdoc/tags/tab");
|
|
55
55
|
const tabs_1 = require("../markdoc/tags/tabs");
|
|
56
|
+
const numbered_item_1 = require("../markdoc/tags/numbered-item");
|
|
57
|
+
const numbered_list_1 = require("../markdoc/tags/numbered-list");
|
|
56
58
|
const debug_1 = require("../markdoc/tags/debug");
|
|
57
59
|
const code_snippet_1 = require("../markdoc/tags/code-snippet");
|
|
58
60
|
const inline_svg_1 = require("../markdoc/tags/inline-svg");
|
|
@@ -76,6 +78,8 @@ exports.tags = {
|
|
|
76
78
|
[partial_1.partial.tagName]: partial_1.partial.schema,
|
|
77
79
|
[tab_1.tab.tagName]: tab_1.tab.schema,
|
|
78
80
|
[tabs_1.tabs.tagName]: tabs_1.tabs.schema,
|
|
81
|
+
[numbered_item_1.numberedItem.tagName]: numbered_item_1.numberedItem.schema,
|
|
82
|
+
[numbered_list_1.numberedList.tagName]: numbered_list_1.numberedList.schema,
|
|
79
83
|
[code_snippet_1.codeSnippet.tagName]: code_snippet_1.codeSnippet.schema,
|
|
80
84
|
[inline_svg_1.inlineSvg.tagName]: inline_svg_1.inlineSvg.schema,
|
|
81
85
|
[cards_1.cards.tagName]: cards_1.cards.schema,
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.numberedItem = void 0;
|
|
7
|
+
const markdoc_1 = __importDefault(require("@markdoc/markdoc"));
|
|
8
|
+
const utils_1 = require("../../core/utils");
|
|
9
|
+
const HEADING_TAG_NAME = /^(Heading|h[1-6])$/;
|
|
10
|
+
exports.numberedItem = {
|
|
11
|
+
schema: {
|
|
12
|
+
transform(node, config) {
|
|
13
|
+
const attributes = node.transformAttributes(config);
|
|
14
|
+
const children = node.transformChildren(config);
|
|
15
|
+
const [first, ...body] = children;
|
|
16
|
+
if ((0, utils_1.isTag)(first) && HEADING_TAG_NAME.test(String(first.name))) {
|
|
17
|
+
const headlineLevel = typeof first.attributes.level === 'number'
|
|
18
|
+
? first.attributes.level
|
|
19
|
+
: Number(String(first.name).slice(1)) || undefined;
|
|
20
|
+
return new markdoc_1.default.Tag('NumberedItem', Object.assign(Object.assign({}, attributes), { headline: first.children, anchorId: first.attributes.id, headlineLevel }), body);
|
|
21
|
+
}
|
|
22
|
+
return new markdoc_1.default.Tag('NumberedItem', attributes, children);
|
|
23
|
+
},
|
|
24
|
+
attributes: {
|
|
25
|
+
icon: { type: String, resolver: 'relativeOrCdnIcon' },
|
|
26
|
+
iconRawContent: {
|
|
27
|
+
// internal use only
|
|
28
|
+
type: String,
|
|
29
|
+
render: true,
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
tagName: 'numbered-item',
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=numbered-item.js.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.numberedList = void 0;
|
|
7
|
+
const markdoc_1 = __importDefault(require("@markdoc/markdoc"));
|
|
8
|
+
const utils_1 = require("../../core/utils");
|
|
9
|
+
exports.numberedList = {
|
|
10
|
+
schema: {
|
|
11
|
+
transform(node, config) {
|
|
12
|
+
const attributes = node.transformAttributes(config);
|
|
13
|
+
const items = node
|
|
14
|
+
.transformChildren(config)
|
|
15
|
+
.filter((child) => (0, utils_1.isTag)(child) && child.name === 'NumberedItem');
|
|
16
|
+
items.forEach((item, index) => {
|
|
17
|
+
item.attributes = Object.assign(Object.assign({}, item.attributes), { type: attributes.type, size: attributes.size, index: index + 1, isLast: index === items.length - 1 });
|
|
18
|
+
});
|
|
19
|
+
return new markdoc_1.default.Tag('NumberedList', attributes, items);
|
|
20
|
+
},
|
|
21
|
+
attributes: {
|
|
22
|
+
type: { type: String, matches: ['icon', 'number', 'dot'], default: 'number' },
|
|
23
|
+
size: { type: String, matches: ['small', 'medium'], default: 'medium' },
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
tagName: 'numbered-list',
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=numbered-list.js.map
|
package/lib/plugin.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redocly/theme",
|
|
3
|
-
"version": "0.68.0-next.
|
|
3
|
+
"version": "0.68.0-next.2",
|
|
4
4
|
"description": "Shared UI components lib",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"theme",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"lodash.throttle": "^4.1.1",
|
|
32
32
|
"react": "^19.2.4",
|
|
33
33
|
"react-dom": "^19.2.4",
|
|
34
|
-
"react-router-dom": "^
|
|
34
|
+
"react-router-dom": "^7.18.1",
|
|
35
35
|
"styled-components": "^4.1.1 || ^5.3.11 || ^6.0.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"@types/nprogress": "0.2.3",
|
|
49
49
|
"@types/react": "^19.2.7",
|
|
50
50
|
"@types/react-dom": "^19.2.3",
|
|
51
|
-
"@vitest/coverage-v8": "4.1.
|
|
52
|
-
"@vitest/ui": "4.1.
|
|
51
|
+
"@vitest/coverage-v8": "4.1.10",
|
|
52
|
+
"@vitest/ui": "4.1.10",
|
|
53
53
|
"concurrently": "7.6.0",
|
|
54
|
-
"react-router-dom": "^
|
|
54
|
+
"react-router-dom": "^7.18.1",
|
|
55
55
|
"resize-observer-polyfill": "1.5.1",
|
|
56
56
|
"rimraf": "5.0.7",
|
|
57
57
|
"styled-components": "^6.4.2",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"tsconfig-paths": "4.2.0",
|
|
61
61
|
"tsconfig-paths-webpack-plugin": "3.5.2",
|
|
62
62
|
"typescript": "6.0.3",
|
|
63
|
-
"vitest": "4.1.
|
|
63
|
+
"vitest": "4.1.10",
|
|
64
64
|
"vitest-when": "0.6.2",
|
|
65
65
|
"webpack": "5.105.2",
|
|
66
66
|
"@redocly/realm-asyncapi-sdk": "0.14.0-next.0"
|
|
@@ -3,11 +3,8 @@ import React, { JSX, useEffect } from 'react';
|
|
|
3
3
|
import type { CatalogEntityConfig } from '@redocly/config';
|
|
4
4
|
|
|
5
5
|
import { BffCatalogEntity, BffCatalogEntityList } from '@redocly/theme/core/types';
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
useCatalogEntities,
|
|
9
|
-
useCatalogEntityDetails,
|
|
10
|
-
} from '@redocly/theme/core/hooks';
|
|
6
|
+
import { useThemeHooks, useCatalogEntities } from '@redocly/theme/core/hooks';
|
|
7
|
+
import { getBaseDataAttributes } from '@redocly/theme/core/utils';
|
|
11
8
|
import { ArrowDownIcon } from '@redocly/theme/icons/ArrowDownIcon/ArrowDownIcon';
|
|
12
9
|
import { CatalogCardView } from '@redocly/theme/components/Catalog/CatalogCardView/CatalogCardView';
|
|
13
10
|
import { CatalogTableView } from '@redocly/theme/components/Catalog/CatalogTableView/CatalogTableView';
|
|
@@ -45,9 +42,6 @@ export function CatalogEntities(props: CatalogEntitiesProps): JSX.Element {
|
|
|
45
42
|
isColumnSorted,
|
|
46
43
|
} = props;
|
|
47
44
|
|
|
48
|
-
const { getEntityDetailsLink } = useCatalogEntityDetails({
|
|
49
|
-
catalogConfig,
|
|
50
|
-
});
|
|
51
45
|
const { useTelemetry, useFetchCatalogEntities } = useThemeHooks();
|
|
52
46
|
const telemetry = useTelemetry();
|
|
53
47
|
const { initialFilter } = useCatalogEntities({
|
|
@@ -76,10 +70,12 @@ export function CatalogEntities(props: CatalogEntitiesProps): JSX.Element {
|
|
|
76
70
|
if (searchQuery) {
|
|
77
71
|
telemetry.sendCatalogEntitiesListSearchResultClickedMessage([
|
|
78
72
|
{
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
73
|
+
...getBaseDataAttributes(
|
|
74
|
+
'catalogEntitiesListSearchResultId',
|
|
75
|
+
'catalogEntitiesListSearchResult',
|
|
76
|
+
),
|
|
82
77
|
query: searchQuery,
|
|
78
|
+
entityId: entity.id,
|
|
83
79
|
entityKey: entity.key,
|
|
84
80
|
entityType: entity.type,
|
|
85
81
|
},
|