@redocly/theme 0.70.0-next.9 → 0.70.1
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 +12 -0
- package/lib/components/Accordion/Accordion.js +89 -0
- package/lib/components/Accordion/AccordionBody.d.ts +8 -0
- package/lib/components/Accordion/AccordionBody.js +73 -0
- package/lib/components/Accordion/AccordionHeader.d.ts +10 -0
- package/lib/components/Accordion/AccordionHeader.js +37 -0
- package/lib/components/Accordion/AccordionTitle.d.ts +6 -0
- package/lib/components/Accordion/AccordionTitle.js +20 -0
- package/lib/components/Accordion/variables.d.ts +1 -0
- package/lib/components/Accordion/variables.js +59 -0
- package/lib/components/Admonition/Admonition.d.ts +13 -0
- package/lib/components/Admonition/Admonition.js +130 -0
- package/lib/components/Admonition/variables.d.ts +1 -0
- package/lib/components/Admonition/variables.dark.d.ts +1 -0
- package/lib/components/Admonition/variables.dark.js +21 -0
- package/lib/components/Admonition/variables.js +109 -0
- package/lib/components/ApiOnboarding/AppCustomAttributes.d.ts +5 -0
- package/lib/components/ApiOnboarding/AppCustomAttributes.js +9 -0
- package/lib/components/Badge/Badge.d.ts +11 -0
- package/lib/components/Badge/Badge.js +91 -0
- package/lib/components/Banner/Banner.d.ts +11 -0
- package/lib/components/Banner/Banner.js +215 -0
- package/lib/components/Banner/variables.d.ts +1 -0
- package/lib/components/Banner/variables.dark.d.ts +1 -0
- package/lib/components/Banner/variables.dark.js +14 -0
- package/lib/components/Banner/variables.js +55 -0
- package/lib/components/Breadcrumbs/Breadcrumb.d.ts +10 -0
- package/lib/components/Breadcrumbs/Breadcrumb.js +97 -0
- package/lib/components/Breadcrumbs/BreadcrumbDropdown.d.ts +15 -0
- package/lib/components/Breadcrumbs/BreadcrumbDropdown.js +150 -0
- package/lib/components/Breadcrumbs/BreadcrumbIcon.d.ts +7 -0
- package/lib/components/Breadcrumbs/BreadcrumbIcon.js +23 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +6 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.js +87 -0
- package/lib/components/Breadcrumbs/variables.d.ts +1 -0
- package/lib/components/Breadcrumbs/variables.js +32 -0
- package/lib/components/Button/Button.d.ts +27 -0
- package/lib/components/Button/Button.js +196 -0
- package/lib/components/Button/ButtonGroup.d.ts +10 -0
- package/lib/components/Button/ButtonGroup.js +58 -0
- package/lib/components/Button/ShowMoreToggleButton.d.ts +11 -0
- package/lib/components/Button/ShowMoreToggleButton.js +21 -0
- package/lib/components/Button/variables.d.ts +1 -0
- package/lib/components/Button/variables.dark.d.ts +1 -0
- package/lib/components/Button/variables.dark.js +30 -0
- package/lib/components/Button/variables.js +280 -0
- package/lib/components/Buttons/AIAssistantButton.d.ts +2 -0
- package/lib/components/Buttons/AIAssistantButton.js +142 -0
- package/lib/components/Buttons/ConnectMCPButton.d.ts +8 -0
- package/lib/components/Buttons/ConnectMCPButton.js +99 -0
- package/lib/components/Buttons/CopyButton.d.ts +22 -0
- package/lib/components/Buttons/CopyButton.js +74 -0
- package/lib/components/Buttons/DownloadButton.d.ts +6 -0
- package/lib/components/Buttons/DownloadButton.js +30 -0
- package/lib/components/Buttons/EditPageButton.d.ts +5 -0
- package/lib/components/Buttons/EditPageButton.js +23 -0
- package/lib/components/Buttons/EmailButton.d.ts +6 -0
- package/lib/components/Buttons/EmailButton.js +22 -0
- package/lib/components/Buttons/NewTabButton.d.ts +6 -0
- package/lib/components/Buttons/NewTabButton.js +22 -0
- package/lib/components/Buttons/variables.d.ts +2 -0
- package/lib/components/Buttons/variables.dark.d.ts +1 -0
- package/lib/components/Buttons/variables.dark.js +10 -0
- package/lib/components/Buttons/variables.js +58 -0
- package/lib/components/Catalog/Catalog.d.ts +17 -0
- package/lib/components/Catalog/Catalog.js +198 -0
- package/lib/components/Catalog/CatalogActionsRow.d.ts +20 -0
- package/lib/components/Catalog/CatalogActionsRow.js +80 -0
- package/lib/components/Catalog/CatalogAvatar.d.ts +7 -0
- package/lib/components/Catalog/CatalogAvatar.js +92 -0
- package/lib/components/Catalog/CatalogCardView/CatalogCard.d.ts +8 -0
- package/lib/components/Catalog/CatalogCardView/CatalogCard.js +205 -0
- package/lib/components/Catalog/CatalogCardView/CatalogCardView.d.ts +8 -0
- package/lib/components/Catalog/CatalogCardView/CatalogCardView.js +28 -0
- package/lib/components/Catalog/CatalogEntities.d.ts +17 -0
- package/lib/components/Catalog/CatalogEntities.js +83 -0
- package/lib/components/Catalog/CatalogEntitiesEmptyState.d.ts +7 -0
- package/lib/components/Catalog/CatalogEntitiesEmptyState.js +80 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntity.d.ts +3 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntity.js +132 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsEdge.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsEdge.js +38 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsGraph.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsGraph.js +101 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsGraph.lazy.d.ts +2 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsGraph.lazy.js +39 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsLinkedNode.d.ts +8 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsLinkedNode.js +17 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsNode.d.ts +16 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsNode.js +24 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsNodeContent.d.ts +7 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsNodeContent.js +53 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsRootNode.d.ts +7 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsRootNode.js +16 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityHistoryButton.d.ts +8 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityHistoryButton.js +187 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityHistorySidebar.d.ts +8 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityHistorySidebar.js +210 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityRevisionItem.d.ts +10 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityRevisionItem.js +79 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityVersionItem.d.ts +11 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityVersionItem.js +202 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityInfoBar.d.ts +9 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityInfoBar.js +58 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityLinks.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityLinks.js +50 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityMetadata.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityMetadata.js +115 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityMethodAndPath.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityMethodAndPath.js +52 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/CatalogEntityProperties.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/CatalogEntityProperties.js +78 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/CatalogEntityPropertyCard.d.ts +8 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/CatalogEntityPropertyCard.js +56 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/ContactProperty.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/ContactProperty.js +22 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/DomainsProperty.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/DomainsProperty.js +23 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/EntityTypeProperty.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/EntityTypeProperty.js +28 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/FormatProperty.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/FormatProperty.js +22 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/GitProperty.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/GitProperty.js +26 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/OwnersProperty.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/OwnersProperty.js +31 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/TagsProperty.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/TagsProperty.js +28 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/UserEmailProperty.d.ts +6 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/UserEmailProperty.js +24 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityApiDescriptionRelations.d.ts +23 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityApiDescriptionRelations.js +28 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityDefaultRelations.d.ts +23 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityDefaultRelations.js +58 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelations.d.ts +13 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelations.js +88 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTable.d.ts +25 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTable.js +37 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTableContent.d.ts +22 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTableContent.js +23 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityTeamRelations.d.ts +23 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityTeamRelations.js +65 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntitySchema.d.ts +15 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntitySchema.js +105 -0
- package/lib/components/Catalog/CatalogEntity/ShowMoreButton.d.ts +8 -0
- package/lib/components/Catalog/CatalogEntity/ShowMoreButton.js +35 -0
- package/lib/components/Catalog/CatalogEntityIcon.d.ts +9 -0
- package/lib/components/Catalog/CatalogEntityIcon.js +53 -0
- package/lib/components/Catalog/CatalogEntityTypeIcon.d.ts +7 -0
- package/lib/components/Catalog/CatalogEntityTypeIcon.js +47 -0
- package/lib/components/Catalog/CatalogEntityTypeTag.d.ts +7 -0
- package/lib/components/Catalog/CatalogEntityTypeTag.js +46 -0
- package/lib/components/Catalog/CatalogFilter/CatalogFilter.d.ts +6 -0
- package/lib/components/Catalog/CatalogFilter/CatalogFilter.js +39 -0
- package/lib/components/Catalog/CatalogFilter/CatalogFilterCheckboxes.d.ts +6 -0
- package/lib/components/Catalog/CatalogFilter/CatalogFilterCheckboxes.js +173 -0
- package/lib/components/Catalog/CatalogFilter/CatalogFilterContent.d.ts +14 -0
- package/lib/components/Catalog/CatalogFilter/CatalogFilterContent.js +79 -0
- package/lib/components/Catalog/CatalogFilter/CatalogFilterDateRange.d.ts +6 -0
- package/lib/components/Catalog/CatalogFilter/CatalogFilterDateRange.js +122 -0
- package/lib/components/Catalog/CatalogFilter/CatalogFilterSelect.d.ts +6 -0
- package/lib/components/Catalog/CatalogFilter/CatalogFilterSelect.js +127 -0
- package/lib/components/Catalog/CatalogHighlight.d.ts +5 -0
- package/lib/components/Catalog/CatalogHighlight.js +48 -0
- package/lib/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanel.d.ts +8 -0
- package/lib/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanel.js +24 -0
- package/lib/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanelHeader.d.ts +6 -0
- package/lib/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanelHeader.js +26 -0
- package/lib/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanelOverlay.d.ts +8 -0
- package/lib/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanelOverlay.js +30 -0
- package/lib/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBar.d.ts +12 -0
- package/lib/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBar.js +30 -0
- package/lib/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBarControls.d.ts +10 -0
- package/lib/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBarControls.js +21 -0
- package/lib/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBarFiltersButton.d.ts +7 -0
- package/lib/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBarFiltersButton.js +25 -0
- package/lib/components/Catalog/CatalogPageDescription.d.ts +9 -0
- package/lib/components/Catalog/CatalogPageDescription.js +46 -0
- package/lib/components/Catalog/CatalogSelector.d.ts +11 -0
- package/lib/components/Catalog/CatalogSelector.js +81 -0
- package/lib/components/Catalog/CatalogSortButton.d.ts +9 -0
- package/lib/components/Catalog/CatalogSortButton.js +84 -0
- package/lib/components/Catalog/CatalogTableView/CatalogDomainsCell.d.ts +5 -0
- package/lib/components/Catalog/CatalogTableView/CatalogDomainsCell.js +23 -0
- package/lib/components/Catalog/CatalogTableView/CatalogEntityCell.d.ts +8 -0
- package/lib/components/Catalog/CatalogTableView/CatalogEntityCell.js +51 -0
- package/lib/components/Catalog/CatalogTableView/CatalogEntityRelationCell.d.ts +3 -0
- package/lib/components/Catalog/CatalogTableView/CatalogEntityRelationCell.js +11 -0
- package/lib/components/Catalog/CatalogTableView/CatalogLastUpdateCell.d.ts +5 -0
- package/lib/components/Catalog/CatalogTableView/CatalogLastUpdateCell.js +45 -0
- package/lib/components/Catalog/CatalogTableView/CatalogOwnersCell.d.ts +5 -0
- package/lib/components/Catalog/CatalogTableView/CatalogOwnersCell.js +22 -0
- package/lib/components/Catalog/CatalogTableView/CatalogTableHeaderCell.d.ts +9 -0
- package/lib/components/Catalog/CatalogTableView/CatalogTableHeaderCell.js +107 -0
- package/lib/components/Catalog/CatalogTableView/CatalogTableView.d.ts +32 -0
- package/lib/components/Catalog/CatalogTableView/CatalogTableView.js +104 -0
- package/lib/components/Catalog/CatalogTableView/CatalogTableViewRow.d.ts +29 -0
- package/lib/components/Catalog/CatalogTableView/CatalogTableViewRow.js +101 -0
- package/lib/components/Catalog/CatalogTableView/CatalogTagsCell.d.ts +6 -0
- package/lib/components/Catalog/CatalogTableView/CatalogTagsCell.js +22 -0
- package/lib/components/Catalog/CatalogTableView/CatalogUserEntityCell.d.ts +7 -0
- package/lib/components/Catalog/CatalogTableView/CatalogUserEntityCell.js +49 -0
- package/lib/components/Catalog/CatalogTags.d.ts +11 -0
- package/lib/components/Catalog/CatalogTags.js +63 -0
- package/lib/components/Catalog/CatalogViewModeToggle.d.ts +7 -0
- package/lib/components/Catalog/CatalogViewModeToggle.js +36 -0
- package/lib/components/Catalog/variables.d.ts +1 -0
- package/lib/components/Catalog/variables.dark.d.ts +1 -0
- package/lib/components/Catalog/variables.dark.js +8 -0
- package/lib/components/Catalog/variables.js +588 -0
- package/lib/components/CatalogClassic/CatalogClassic.d.ts +35 -0
- package/lib/components/CatalogClassic/CatalogClassic.js +122 -0
- package/lib/components/CatalogClassic/CatalogClassicActions.d.ts +8 -0
- package/lib/components/CatalogClassic/CatalogClassicActions.js +83 -0
- package/lib/components/CatalogClassic/CatalogClassicCard.d.ts +6 -0
- package/lib/components/CatalogClassic/CatalogClassicCard.js +162 -0
- package/lib/components/CatalogClassic/CatalogClassicHighlight.d.ts +5 -0
- package/lib/components/CatalogClassic/CatalogClassicHighlight.js +81 -0
- package/lib/components/CatalogClassic/CatalogClassicInfoBlock.d.ts +11 -0
- package/lib/components/CatalogClassic/CatalogClassicInfoBlock.js +47 -0
- package/lib/components/CatalogClassic/CatalogClassicVirtualizedGroups.d.ts +25 -0
- package/lib/components/CatalogClassic/CatalogClassicVirtualizedGroups.js +192 -0
- package/lib/components/CatalogClassic/variables.d.ts +1 -0
- package/lib/components/CatalogClassic/variables.js +109 -0
- package/lib/components/CodeBlock/CodeBlock.d.ts +51 -0
- package/lib/components/CodeBlock/CodeBlock.js +138 -0
- package/lib/components/CodeBlock/CodeBlockContainer.d.ts +15 -0
- package/lib/components/CodeBlock/CodeBlockContainer.js +363 -0
- package/lib/components/CodeBlock/CodeBlockControls.d.ts +39 -0
- package/lib/components/CodeBlock/CodeBlockControls.js +120 -0
- package/lib/components/CodeBlock/CodeBlockDropdown.d.ts +3 -0
- package/lib/components/CodeBlock/CodeBlockDropdown.js +26 -0
- package/lib/components/CodeBlock/CodeBlockTabs.d.ts +6 -0
- package/lib/components/CodeBlock/CodeBlockTabs.js +143 -0
- package/lib/components/CodeBlock/variables.d.ts +1 -0
- package/lib/components/CodeBlock/variables.dark.d.ts +1 -0
- package/lib/components/CodeBlock/variables.dark.js +8 -0
- package/lib/components/CodeBlock/variables.js +141 -0
- package/lib/components/ColorModeSwitcher/ColorModeIcon.d.ts +7 -0
- package/lib/components/ColorModeSwitcher/ColorModeIcon.js +29 -0
- package/lib/components/ColorModeSwitcher/ColorModeSwitcher.d.ts +5 -0
- package/lib/components/ColorModeSwitcher/ColorModeSwitcher.js +18 -0
- package/lib/components/Consent/Consent.d.ts +2 -0
- package/lib/components/Consent/Consent.js +17 -0
- package/lib/components/Consent/ConsentBanner.d.ts +2 -0
- package/lib/components/Consent/ConsentBanner.js +120 -0
- package/lib/components/Consent/ConsentDialog.d.ts +2 -0
- package/lib/components/Consent/ConsentDialog.js +128 -0
- package/lib/components/Consent/ConsentSettingsLink.d.ts +2 -0
- package/lib/components/Consent/ConsentSettingsLink.js +35 -0
- package/lib/components/Consent/variables.d.ts +1 -0
- package/lib/components/Consent/variables.js +31 -0
- package/lib/components/DatePicker/DatePicker.d.ts +4 -0
- package/lib/components/DatePicker/DatePicker.js +75 -0
- package/lib/components/DatePicker/variables.d.ts +1 -0
- package/lib/components/DatePicker/variables.js +26 -0
- package/lib/components/Dropdown/Dropdown.d.ts +26 -0
- package/lib/components/Dropdown/Dropdown.js +185 -0
- package/lib/components/Dropdown/DropdownMenu.d.ts +14 -0
- package/lib/components/Dropdown/DropdownMenu.js +51 -0
- package/lib/components/Dropdown/DropdownMenuItem.d.ts +18 -0
- package/lib/components/Dropdown/DropdownMenuItem.js +178 -0
- package/lib/components/Dropdown/DropdownMenuItemContent.d.ts +9 -0
- package/lib/components/Dropdown/DropdownMenuItemContent.js +56 -0
- package/lib/components/Dropdown/variables.d.ts +1 -0
- package/lib/components/Dropdown/variables.js +69 -0
- package/lib/components/Feedback/Comment.d.ts +15 -0
- package/lib/components/Feedback/Comment.js +152 -0
- package/lib/components/Feedback/Feedback.d.ts +5 -0
- package/lib/components/Feedback/Feedback.js +96 -0
- package/lib/components/Feedback/Mood.d.ts +33 -0
- package/lib/components/Feedback/Mood.js +270 -0
- package/lib/components/Feedback/Rating.d.ts +29 -0
- package/lib/components/Feedback/Rating.js +190 -0
- package/lib/components/Feedback/Reasons.d.ts +11 -0
- package/lib/components/Feedback/Reasons.js +91 -0
- package/lib/components/Feedback/ReportDialog.d.ts +14 -0
- package/lib/components/Feedback/ReportDialog.js +67 -0
- package/lib/components/Feedback/Scale.d.ts +31 -0
- package/lib/components/Feedback/Scale.js +227 -0
- package/lib/components/Feedback/Sentiment.d.ts +26 -0
- package/lib/components/Feedback/Sentiment.js +238 -0
- package/lib/components/Feedback/Stars.d.ts +8 -0
- package/lib/components/Feedback/Stars.js +68 -0
- package/lib/components/Feedback/variables.d.ts +1 -0
- package/lib/components/Feedback/variables.js +34 -0
- package/lib/components/Filter/Filter.d.ts +3 -0
- package/lib/components/Filter/Filter.js +30 -0
- package/lib/components/Filter/FilterCheckboxes.d.ts +3 -0
- package/lib/components/Filter/FilterCheckboxes.js +66 -0
- package/lib/components/Filter/FilterContent.d.ts +12 -0
- package/lib/components/Filter/FilterContent.js +105 -0
- package/lib/components/Filter/FilterDateRange.d.ts +3 -0
- package/lib/components/Filter/FilterDateRange.js +95 -0
- package/lib/components/Filter/FilterInput.d.ts +7 -0
- package/lib/components/Filter/FilterInput.js +105 -0
- package/lib/components/Filter/FilterOption.d.ts +8 -0
- package/lib/components/Filter/FilterOption.js +24 -0
- package/lib/components/Filter/FilterOptionLabel.d.ts +5 -0
- package/lib/components/Filter/FilterOptionLabel.js +20 -0
- package/lib/components/Filter/FilterOptions.d.ts +5 -0
- package/lib/components/Filter/FilterOptions.js +20 -0
- package/lib/components/Filter/FilterPopover.d.ts +11 -0
- package/lib/components/Filter/FilterPopover.js +62 -0
- package/lib/components/Filter/FilterSelect.d.ts +3 -0
- package/lib/components/Filter/FilterSelect.js +64 -0
- package/lib/components/Filter/FilterTitle.d.ts +5 -0
- package/lib/components/Filter/FilterTitle.js +17 -0
- package/lib/components/Filter/variables.d.ts +1 -0
- package/lib/components/Filter/variables.js +102 -0
- package/lib/components/Footer/Footer.d.ts +5 -0
- package/lib/components/Footer/Footer.js +88 -0
- package/lib/components/Footer/FooterColumn.d.ts +7 -0
- package/lib/components/Footer/FooterColumn.js +79 -0
- package/lib/components/Footer/FooterCopyright.d.ts +6 -0
- package/lib/components/Footer/FooterCopyright.js +36 -0
- package/lib/components/Footer/FooterItem.d.ts +8 -0
- package/lib/components/Footer/FooterItem.js +64 -0
- package/lib/components/Footer/variables.d.ts +1 -0
- package/lib/components/Footer/variables.js +62 -0
- package/lib/components/Image/Image.d.ts +18 -0
- package/lib/components/Image/Image.js +228 -0
- package/lib/components/Image/variables.d.ts +1 -0
- package/lib/components/Image/variables.js +61 -0
- package/lib/components/JsonViewer/Helpers.d.ts +17 -0
- package/lib/components/JsonViewer/Helpers.js +119 -0
- package/lib/components/JsonViewer/JsonViewer.d.ts +17 -0
- package/lib/components/JsonViewer/JsonViewer.js +99 -0
- package/lib/components/LanguagePicker/LanguagePicker.d.ts +8 -0
- package/lib/components/LanguagePicker/LanguagePicker.js +85 -0
- package/lib/components/LanguagePicker/variables.d.ts +1 -0
- package/lib/components/LanguagePicker/variables.js +40 -0
- package/lib/components/LastUpdated/LastUpdated.d.ts +10 -0
- package/lib/components/LastUpdated/LastUpdated.js +93 -0
- package/lib/components/LastUpdated/variables.d.ts +1 -0
- package/lib/components/LastUpdated/variables.js +11 -0
- package/lib/components/Link/Link.d.ts +5 -0
- package/lib/components/Link/Link.js +61 -0
- package/lib/components/LoadMore/LoadMore.d.ts +8 -0
- package/lib/components/LoadMore/LoadMore.js +19 -0
- package/lib/components/LoadProgressBar/LoadProgressBar.d.ts +8 -0
- package/lib/components/LoadProgressBar/LoadProgressBar.js +122 -0
- package/lib/components/Loaders/Loading.d.ts +5 -0
- package/lib/components/Loaders/Loading.js +27 -0
- package/lib/components/Loaders/SpinnerLoader.d.ts +6 -0
- package/lib/components/Loaders/SpinnerLoader.js +31 -0
- package/lib/components/Logo/Logo.d.ts +7 -0
- package/lib/components/Logo/Logo.js +46 -0
- package/lib/components/Logo/variables.d.ts +1 -0
- package/lib/components/Logo/variables.js +17 -0
- package/lib/components/MCP/McpConnectionTabs.d.ts +7 -0
- package/lib/components/MCP/McpConnectionTabs.js +168 -0
- package/lib/components/Markdown/Markdown.d.ts +26 -0
- package/lib/components/Markdown/Markdown.js +390 -0
- package/lib/components/Markdown/styles/base-table.d.ts +1 -0
- package/lib/components/Markdown/styles/base-table.js +90 -0
- package/lib/components/Markdown/styles/heading-anchor.d.ts +2 -0
- package/lib/components/Markdown/styles/heading-anchor.js +35 -0
- package/lib/components/Markdown/styles/links.d.ts +2 -0
- package/lib/components/Markdown/styles/links.js +27 -0
- package/lib/components/Markdown/variables.d.ts +1 -0
- package/lib/components/Markdown/variables.js +104 -0
- package/lib/components/Marker/Marker.d.ts +10 -0
- package/lib/components/Marker/Marker.js +72 -0
- package/lib/components/Menu/Menu.d.ts +10 -0
- package/lib/components/Menu/Menu.js +34 -0
- package/lib/components/Menu/MenuContainer.d.ts +9 -0
- package/lib/components/Menu/MenuContainer.js +80 -0
- package/lib/components/Menu/MenuItem.d.ts +10 -0
- package/lib/components/Menu/MenuItem.js +367 -0
- package/lib/components/Menu/MenuMobile.d.ts +6 -0
- package/lib/components/Menu/MenuMobile.js +166 -0
- package/lib/components/Menu/MenuSelect.d.ts +7 -0
- package/lib/components/Menu/MenuSelect.js +129 -0
- package/lib/components/Menu/variables.d.ts +2 -0
- package/lib/components/Menu/variables.dark.d.ts +1 -0
- package/lib/components/Menu/variables.dark.js +15 -0
- package/lib/components/Menu/variables.js +226 -0
- package/lib/components/Navbar/Navbar.d.ts +5 -0
- package/lib/components/Navbar/Navbar.js +157 -0
- package/lib/components/Navbar/NavbarItem.d.ts +7 -0
- package/lib/components/Navbar/NavbarItem.js +96 -0
- package/lib/components/Navbar/NavbarLogo.d.ts +3 -0
- package/lib/components/Navbar/NavbarLogo.js +20 -0
- package/lib/components/Navbar/NavbarMenu.d.ts +7 -0
- package/lib/components/Navbar/NavbarMenu.js +33 -0
- package/lib/components/Navbar/variables.d.ts +1 -0
- package/lib/components/Navbar/variables.js +57 -0
- package/lib/components/NavigationTabs/NavigationTab.d.ts +7 -0
- package/lib/components/NavigationTabs/NavigationTab.js +93 -0
- package/lib/components/NavigationTabs/NavigationTabContent.d.ts +7 -0
- package/lib/components/NavigationTabs/NavigationTabContent.js +50 -0
- package/lib/components/NavigationTabs/NavigationTabMenu.d.ts +7 -0
- package/lib/components/NavigationTabs/NavigationTabMenu.js +18 -0
- package/lib/components/NavigationTabs/NavigationTabs.d.ts +7 -0
- package/lib/components/NavigationTabs/NavigationTabs.js +97 -0
- package/lib/components/NavigationTabs/variables.d.ts +1 -0
- package/lib/components/NavigationTabs/variables.js +37 -0
- package/lib/components/OpenApiDocs/hooks/AfterOpenApiOperation.d.ts +1 -0
- package/lib/components/OpenApiDocs/hooks/AfterOpenApiOperation.js +12 -0
- package/lib/components/OpenApiDocs/hooks/AfterOpenApiTitle.d.ts +1 -0
- package/lib/components/OpenApiDocs/hooks/AfterOpenApiTitle.js +12 -0
- package/lib/components/OpenApiDocs/hooks/BeforeOpenApiOperation.d.ts +1 -0
- package/lib/components/OpenApiDocs/hooks/BeforeOpenApiOperation.js +12 -0
- package/lib/components/OpenApiDocs/hooks/OpenApiFooter.d.ts +1 -0
- package/lib/components/OpenApiDocs/hooks/OpenApiFooter.js +9 -0
- package/lib/components/OpenApiDocs/hooks/OpenApiHeader.d.ts +1 -0
- package/lib/components/OpenApiDocs/hooks/OpenApiHeader.js +9 -0
- package/lib/components/PageActions/PageActions.d.ts +9 -0
- package/lib/components/PageActions/PageActions.js +129 -0
- package/lib/components/PageActions/PageActionsMenuItem.d.ts +7 -0
- package/lib/components/PageActions/PageActionsMenuItem.js +42 -0
- package/lib/components/PageActions/variables.d.ts +1 -0
- package/lib/components/PageActions/variables.dark.d.ts +1 -0
- package/lib/components/PageActions/variables.dark.js +9 -0
- package/lib/components/PageActions/variables.js +39 -0
- package/lib/components/PageNavigation/NavigationButton.d.ts +13 -0
- package/lib/components/PageNavigation/NavigationButton.js +48 -0
- package/lib/components/PageNavigation/NextButton.d.ts +7 -0
- package/lib/components/PageNavigation/NextButton.js +56 -0
- package/lib/components/PageNavigation/PageNavigation.d.ts +8 -0
- package/lib/components/PageNavigation/PageNavigation.js +38 -0
- package/lib/components/PageNavigation/PreviousButton.d.ts +7 -0
- package/lib/components/PageNavigation/PreviousButton.js +27 -0
- package/lib/components/PageNavigation/variables.d.ts +1 -0
- package/lib/components/PageNavigation/variables.js +27 -0
- package/lib/components/Panel/Panel.d.ts +14 -0
- package/lib/components/Panel/Panel.js +95 -0
- package/lib/components/Panel/PanelBody.d.ts +9 -0
- package/lib/components/Panel/PanelBody.js +73 -0
- package/lib/components/Panel/PanelHeader.d.ts +9 -0
- package/lib/components/Panel/PanelHeader.js +42 -0
- package/lib/components/Panel/PanelHeaderTitle.d.ts +5 -0
- package/lib/components/Panel/PanelHeaderTitle.js +19 -0
- package/lib/components/Panel/variables.d.ts +2 -0
- package/lib/components/Panel/variables.js +413 -0
- package/lib/components/Portal/Portal.d.ts +6 -0
- package/lib/components/Portal/Portal.js +49 -0
- package/lib/components/Product/Product.d.ts +7 -0
- package/lib/components/Product/Product.js +22 -0
- package/lib/components/Product/ProductPicker.d.ts +2 -0
- package/lib/components/Product/ProductPicker.js +78 -0
- package/lib/components/Product/utils.d.ts +1 -0
- package/lib/components/Product/utils.js +10 -0
- package/lib/components/Product/variables.d.ts +1 -0
- package/lib/components/Product/variables.js +43 -0
- package/lib/components/ReplayGate/ReplayGate.d.ts +13 -0
- package/lib/components/ReplayGate/ReplayGate.js +11 -0
- package/lib/components/ReplaySecuritySchemeActions/ReplaySecuritySchemeActions.d.ts +11 -0
- package/lib/components/ReplaySecuritySchemeActions/ReplaySecuritySchemeActions.js +7 -0
- package/lib/components/ReplayTopBarActions/ReplayTopBarActions.d.ts +13 -0
- package/lib/components/ReplayTopBarActions/ReplayTopBarActions.js +7 -0
- package/lib/components/Scorecard/variables.d.ts +1 -0
- package/lib/components/Scorecard/variables.dark.d.ts +1 -0
- package/lib/components/Scorecard/variables.dark.js +20 -0
- package/lib/components/Scorecard/variables.js +24 -0
- package/lib/components/Search/FilterFields/SearchFilterFieldSelect.d.ts +12 -0
- package/lib/components/Search/FilterFields/SearchFilterFieldSelect.js +113 -0
- package/lib/components/Search/FilterFields/SearchFilterFieldTags.d.ts +10 -0
- package/lib/components/Search/FilterFields/SearchFilterFieldTags.js +48 -0
- package/lib/components/Search/Search.d.ts +5 -0
- package/lib/components/Search/Search.js +26 -0
- package/lib/components/Search/SearchAiActionButtons.d.ts +10 -0
- package/lib/components/Search/SearchAiActionButtons.js +48 -0
- package/lib/components/Search/SearchAiActivity.d.ts +10 -0
- package/lib/components/Search/SearchAiActivity.js +278 -0
- package/lib/components/Search/SearchAiConversationInput.d.ts +11 -0
- package/lib/components/Search/SearchAiConversationInput.js +167 -0
- package/lib/components/Search/SearchAiDialog.d.ts +18 -0
- package/lib/components/Search/SearchAiDialog.js +219 -0
- package/lib/components/Search/SearchAiMessage.d.ts +19 -0
- package/lib/components/Search/SearchAiMessage.js +265 -0
- package/lib/components/Search/SearchAiNegativeFeedbackForm.d.ts +10 -0
- package/lib/components/Search/SearchAiNegativeFeedbackForm.js +170 -0
- package/lib/components/Search/SearchAiResponse.d.ts +14 -0
- package/lib/components/Search/SearchAiResponse.js +174 -0
- package/lib/components/Search/SearchDialog.d.ts +7 -0
- package/lib/components/Search/SearchDialog.js +504 -0
- package/lib/components/Search/SearchFilter.d.ts +13 -0
- package/lib/components/Search/SearchFilter.js +81 -0
- package/lib/components/Search/SearchFilterField.d.ts +13 -0
- package/lib/components/Search/SearchFilterField.js +42 -0
- package/lib/components/Search/SearchGroups.d.ts +11 -0
- package/lib/components/Search/SearchGroups.js +81 -0
- package/lib/components/Search/SearchHighlight.d.ts +2 -0
- package/lib/components/Search/SearchHighlight.js +79 -0
- package/lib/components/Search/SearchInput.d.ts +14 -0
- package/lib/components/Search/SearchInput.js +72 -0
- package/lib/components/Search/SearchItem.d.ts +18 -0
- package/lib/components/Search/SearchItem.js +225 -0
- package/lib/components/Search/SearchRecent.d.ts +6 -0
- package/lib/components/Search/SearchRecent.js +134 -0
- package/lib/components/Search/SearchShortcut.d.ts +7 -0
- package/lib/components/Search/SearchShortcut.js +60 -0
- package/lib/components/Search/SearchSuggestedPages.d.ts +5 -0
- package/lib/components/Search/SearchSuggestedPages.js +101 -0
- package/lib/components/Search/SearchTrigger.d.ts +6 -0
- package/lib/components/Search/SearchTrigger.js +138 -0
- package/lib/components/Search/should-show-load-more.d.ts +9 -0
- package/lib/components/Search/should-show-load-more.js +15 -0
- package/lib/components/Search/variables.d.ts +1 -0
- package/lib/components/Search/variables.js +285 -0
- package/lib/components/Segmented/Segmented.d.ts +5 -0
- package/lib/components/Segmented/Segmented.js +104 -0
- package/lib/components/Segmented/variables.d.ts +1 -0
- package/lib/components/Segmented/variables.dark.d.ts +1 -0
- package/lib/components/Segmented/variables.dark.js +9 -0
- package/lib/components/Segmented/variables.js +26 -0
- package/lib/components/Select/Select.d.ts +9 -0
- package/lib/components/Select/Select.js +239 -0
- package/lib/components/Select/SelectInput.d.ts +27 -0
- package/lib/components/Select/SelectInput.js +150 -0
- package/lib/components/Select/variables.d.ts +1 -0
- package/lib/components/Select/variables.js +48 -0
- package/lib/components/Sidebar/Sidebar.d.ts +27 -0
- package/lib/components/Sidebar/Sidebar.js +105 -0
- package/lib/components/Sidebar/variables.d.ts +1 -0
- package/lib/components/Sidebar/variables.js +60 -0
- package/lib/components/SidebarActions/ChangeViewButton.d.ts +8 -0
- package/lib/components/SidebarActions/ChangeViewButton.js +29 -0
- package/lib/components/SidebarActions/SidebarActions.d.ts +14 -0
- package/lib/components/SidebarActions/SidebarActions.js +48 -0
- package/lib/components/SidebarActions/styled.d.ts +23 -0
- package/lib/components/SidebarActions/styled.js +108 -0
- package/lib/components/SidebarLogo/SidebarLogo.d.ts +10 -0
- package/lib/components/SidebarLogo/SidebarLogo.js +30 -0
- package/lib/components/SkipContent/SkipContent.d.ts +2 -0
- package/lib/components/SkipContent/SkipContent.js +78 -0
- package/lib/components/SkipContent/variables.d.ts +1 -0
- package/lib/components/SkipContent/variables.js +23 -0
- package/lib/components/SplitButton/SplitButton.d.ts +22 -0
- package/lib/components/SplitButton/SplitButton.js +71 -0
- package/lib/components/StatusCode/StatusCode.d.ts +9 -0
- package/lib/components/StatusCode/StatusCode.js +43 -0
- package/lib/components/StatusCode/variables.d.ts +1 -0
- package/lib/components/StatusCode/variables.dark.d.ts +1 -0
- package/lib/components/StatusCode/variables.dark.js +8 -0
- package/lib/components/StatusCode/variables.js +16 -0
- package/lib/components/SvgViewer/SvgViewer.d.ts +15 -0
- package/lib/components/SvgViewer/SvgViewer.js +309 -0
- package/lib/components/SvgViewer/variables.d.ts +1 -0
- package/lib/components/SvgViewer/variables.js +17 -0
- package/lib/components/Switch/Switch.d.ts +10 -0
- package/lib/components/Switch/Switch.js +108 -0
- package/lib/components/Switch/variables.d.ts +1 -0
- package/lib/components/Switch/variables.dark.d.ts +1 -0
- package/lib/components/Switch/variables.dark.js +37 -0
- package/lib/components/Switch/variables.js +37 -0
- package/lib/components/TableOfContent/TableOfContent.d.ts +8 -0
- package/lib/components/TableOfContent/TableOfContent.js +132 -0
- package/lib/components/TableOfContent/variables.d.ts +1 -0
- package/lib/components/TableOfContent/variables.js +50 -0
- package/lib/components/Tag/Tag.d.ts +35 -0
- package/lib/components/Tag/Tag.js +220 -0
- package/lib/components/Tag/variables.d.ts +1 -0
- package/lib/components/Tag/variables.dark.d.ts +1 -0
- package/lib/components/Tag/variables.dark.js +295 -0
- package/lib/components/Tag/variables.js +412 -0
- package/lib/components/Tags/CounterTag.d.ts +6 -0
- package/lib/components/Tags/CounterTag.js +18 -0
- package/lib/components/Tags/HttpTag.d.ts +6 -0
- package/lib/components/Tags/HttpTag.js +29 -0
- package/lib/components/Tags/variables.d.ts +1 -0
- package/lib/components/Tags/variables.js +21 -0
- package/lib/components/Toast/Toast.d.ts +14 -0
- package/lib/components/Toast/Toast.js +239 -0
- package/lib/components/Toast/variables.d.ts +1 -0
- package/lib/components/Toast/variables.js +64 -0
- package/lib/components/Tooltip/AnchorTooltip.d.ts +8 -0
- package/lib/components/Tooltip/AnchorTooltip.js +233 -0
- package/lib/components/Tooltip/JsTooltip.d.ts +4 -0
- package/lib/components/Tooltip/JsTooltip.js +247 -0
- package/lib/components/Tooltip/Tooltip.d.ts +3 -0
- package/lib/components/Tooltip/Tooltip.js +58 -0
- package/lib/components/Tooltip/variables.d.ts +1 -0
- package/lib/components/Tooltip/variables.dark.d.ts +1 -0
- package/lib/components/Tooltip/variables.dark.js +13 -0
- package/lib/components/Tooltip/variables.js +42 -0
- package/lib/components/Typography/CompactTypography.d.ts +37 -0
- package/lib/components/Typography/CompactTypography.js +14 -0
- package/lib/components/Typography/Emphasis.d.ts +5 -0
- package/lib/components/Typography/Emphasis.js +14 -0
- package/lib/components/Typography/H1.d.ts +5 -0
- package/lib/components/Typography/H1.js +18 -0
- package/lib/components/Typography/H2.d.ts +5 -0
- package/lib/components/Typography/H2.js +18 -0
- package/lib/components/Typography/H3.d.ts +5 -0
- package/lib/components/Typography/H3.js +18 -0
- package/lib/components/Typography/H4.d.ts +5 -0
- package/lib/components/Typography/H4.js +18 -0
- package/lib/components/Typography/SectionHeader.d.ts +5 -0
- package/lib/components/Typography/SectionHeader.js +20 -0
- package/lib/components/Typography/Typography.d.ts +18 -0
- package/lib/components/Typography/Typography.js +38 -0
- package/lib/components/UserMenu/LoginButton.d.ts +12 -0
- package/lib/components/UserMenu/LoginButton.js +19 -0
- package/lib/components/UserMenu/LogoutMenuItem.d.ts +6 -0
- package/lib/components/UserMenu/LogoutMenuItem.js +23 -0
- package/lib/components/UserMenu/UserAvatar.d.ts +8 -0
- package/lib/components/UserMenu/UserAvatar.js +46 -0
- package/lib/components/UserMenu/UserInfoMenuItem.d.ts +8 -0
- package/lib/components/UserMenu/UserInfoMenuItem.js +53 -0
- package/lib/components/UserMenu/UserMenu.d.ts +5 -0
- package/lib/components/UserMenu/UserMenu.js +94 -0
- package/lib/components/UserMenu/UserMenuMobile.d.ts +5 -0
- package/lib/components/UserMenu/UserMenuMobile.js +54 -0
- package/lib/components/UserMenu/variables.d.ts +1 -0
- package/lib/components/UserMenu/variables.js +67 -0
- package/lib/components/VersionPicker/VersionPicker.d.ts +9 -0
- package/lib/components/VersionPicker/VersionPicker.js +122 -0
- package/lib/components/VersionPicker/variables.d.ts +1 -0
- package/lib/components/VersionPicker/variables.js +43 -0
- package/lib/config.d.ts +2 -0
- package/lib/config.js +3 -0
- package/lib/core/constants/accordion.d.ts +3 -0
- package/lib/core/constants/accordion.js +7 -0
- package/lib/core/constants/breadcrumb.d.ts +1 -0
- package/lib/core/constants/breadcrumb.js +5 -0
- package/lib/core/constants/catalog.d.ts +16 -0
- package/lib/core/constants/catalog.js +86 -0
- package/lib/core/constants/code-walkthrough.d.ts +1 -0
- package/lib/core/constants/code-walkthrough.js +5 -0
- package/lib/core/constants/common.d.ts +34 -0
- package/lib/core/constants/common.js +42 -0
- package/lib/core/constants/consent.d.ts +2 -0
- package/lib/core/constants/consent.js +30 -0
- package/lib/core/constants/environments.d.ts +10 -0
- package/lib/core/constants/environments.js +18 -0
- package/lib/core/constants/feedback.d.ts +2 -0
- package/lib/core/constants/feedback.js +6 -0
- package/lib/core/constants/heading.d.ts +9 -0
- package/lib/core/constants/heading.js +13 -0
- package/lib/core/constants/index.d.ts +14 -0
- package/lib/core/constants/index.js +31 -0
- package/lib/core/constants/markdown.d.ts +3 -0
- package/lib/core/constants/markdown.js +7 -0
- package/lib/core/constants/mcp.d.ts +5 -0
- package/lib/core/constants/mcp.js +9 -0
- package/lib/core/constants/prompt.d.ts +9 -0
- package/lib/core/constants/prompt.js +33 -0
- package/lib/core/constants/request-methods.d.ts +1 -0
- package/lib/core/constants/request-methods.js +14 -0
- package/lib/core/constants/search.d.ts +21 -0
- package/lib/core/constants/search.js +81 -0
- package/lib/core/constants/toast.d.ts +1 -0
- package/lib/core/constants/toast.js +5 -0
- package/lib/core/contexts/AccordionGroupContext.d.ts +1 -0
- package/lib/core/contexts/AccordionGroupContext.js +6 -0
- package/lib/core/contexts/CodeSnippetContext.d.ts +15 -0
- package/lib/core/contexts/CodeSnippetContext.js +76 -0
- package/lib/core/contexts/CodeWalkthrough/CodeWalkthroughControlsContext.d.ts +2 -0
- package/lib/core/contexts/CodeWalkthrough/CodeWalkthroughControlsContext.js +14 -0
- package/lib/core/contexts/CodeWalkthrough/CodeWalkthroughStepsContext.d.ts +2 -0
- package/lib/core/contexts/CodeWalkthrough/CodeWalkthroughStepsContext.js +14 -0
- package/lib/core/contexts/MarkdownLinkContext.d.ts +5 -0
- package/lib/core/contexts/MarkdownLinkContext.js +6 -0
- package/lib/core/contexts/PageActionsContext.d.ts +5 -0
- package/lib/core/contexts/PageActionsContext.js +10 -0
- package/lib/core/contexts/PortalContainerContext.d.ts +2 -0
- package/lib/core/contexts/PortalContainerContext.js +7 -0
- package/lib/core/contexts/SearchContext.d.ts +10 -0
- package/lib/core/contexts/SearchContext.js +56 -0
- package/lib/core/contexts/ThemeDataContext.d.ts +12 -0
- package/lib/core/contexts/ThemeDataContext.js +6 -0
- package/lib/core/contexts/Toast/ToastContext.d.ts +2 -0
- package/lib/core/contexts/Toast/ToastContext.js +6 -0
- package/lib/core/contexts/Toast/ToastProvider.d.ts +3 -0
- package/lib/core/contexts/Toast/ToastProvider.js +153 -0
- package/lib/core/contexts/index.d.ts +10 -0
- package/lib/core/contexts/index.js +27 -0
- package/lib/core/hoc/index.d.ts +1 -0
- package/lib/core/hoc/index.js +18 -0
- package/lib/core/hoc/typed-memo.d.ts +1 -0
- package/lib/core/hoc/typed-memo.js +6 -0
- package/lib/core/hooks/__tests__/mocks/mock-intersection-observer.d.ts +16 -0
- package/lib/core/hooks/__tests__/mocks/mock-intersection-observer.js +84 -0
- package/lib/core/hooks/catalog/use-catalog-entities.d.ts +4 -0
- package/lib/core/hooks/catalog/use-catalog-entities.js +19 -0
- package/lib/core/hooks/catalog/use-catalog-entity-details.d.ts +13 -0
- package/lib/core/hooks/catalog/use-catalog-entity-details.js +33 -0
- package/lib/core/hooks/catalog/use-catalog-entity-link.d.ts +8 -0
- package/lib/core/hooks/catalog/use-catalog-entity-link.js +43 -0
- package/lib/core/hooks/catalog/use-catalog-entity-schema.d.ts +11 -0
- package/lib/core/hooks/catalog/use-catalog-entity-schema.js +39 -0
- package/lib/core/hooks/catalog/use-catalog-table-header-cell-actions.d.ts +14 -0
- package/lib/core/hooks/catalog/use-catalog-table-header-cell-actions.js +22 -0
- package/lib/core/hooks/catalog/use-graph.d.ts +15 -0
- package/lib/core/hooks/catalog/use-graph.js +165 -0
- package/lib/core/hooks/code-walkthrough/use-code-panel.d.ts +6 -0
- package/lib/core/hooks/code-walkthrough/use-code-panel.js +95 -0
- package/lib/core/hooks/code-walkthrough/use-code-walkthrough-controls.d.ts +19 -0
- package/lib/core/hooks/code-walkthrough/use-code-walkthrough-controls.js +176 -0
- package/lib/core/hooks/code-walkthrough/use-code-walkthrough-steps.d.ts +13 -0
- package/lib/core/hooks/code-walkthrough/use-code-walkthrough-steps.js +328 -0
- package/lib/core/hooks/code-walkthrough/use-code-walkthrough.d.ts +15 -0
- package/lib/core/hooks/code-walkthrough/use-code-walkthrough.js +30 -0
- package/lib/core/hooks/code-walkthrough/use-renderable-files.d.ts +8 -0
- package/lib/core/hooks/code-walkthrough/use-renderable-files.js +30 -0
- package/lib/core/hooks/feedback/use-report-dialog.d.ts +16 -0
- package/lib/core/hooks/feedback/use-report-dialog.js +44 -0
- package/lib/core/hooks/index.d.ts +67 -0
- package/lib/core/hooks/index.js +84 -0
- package/lib/core/hooks/menu/use-collapse.d.ts +32 -0
- package/lib/core/hooks/menu/use-collapse.js +174 -0
- package/lib/core/hooks/menu/use-menu-item-expanded.d.ts +3 -0
- package/lib/core/hooks/menu/use-menu-item-expanded.js +26 -0
- package/lib/core/hooks/menu/use-mobile-menu-items.d.ts +10 -0
- package/lib/core/hooks/menu/use-mobile-menu-items.js +110 -0
- package/lib/core/hooks/menu/use-mobile-menu-levels.d.ts +5 -0
- package/lib/core/hooks/menu/use-mobile-menu-levels.js +51 -0
- package/lib/core/hooks/menu/use-nested-menu.d.ts +20 -0
- package/lib/core/hooks/menu/use-nested-menu.js +85 -0
- package/lib/core/hooks/prompt/use-prompt-actions.d.ts +7 -0
- package/lib/core/hooks/prompt/use-prompt-actions.js +19 -0
- package/lib/core/hooks/prompt/use-prompt-text-limit.d.ts +19 -0
- package/lib/core/hooks/prompt/use-prompt-text-limit.js +35 -0
- package/lib/core/hooks/search/use-feedback-tooltip.d.ts +6 -0
- package/lib/core/hooks/search/use-feedback-tooltip.js +26 -0
- package/lib/core/hooks/search/use-persisted-quick-filter.d.ts +21 -0
- package/lib/core/hooks/search/use-persisted-quick-filter.js +92 -0
- package/lib/core/hooks/search/use-recent-searches.d.ts +5 -0
- package/lib/core/hooks/search/use-recent-searches.js +37 -0
- package/lib/core/hooks/search/use-search-ai-activity.d.ts +11 -0
- package/lib/core/hooks/search/use-search-ai-activity.js +15 -0
- package/lib/core/hooks/search/use-search-dialog.d.ts +5 -0
- package/lib/core/hooks/search/use-search-dialog.js +54 -0
- package/lib/core/hooks/search/use-search-filter.d.ts +9 -0
- package/lib/core/hooks/search/use-search-filter.js +49 -0
- package/lib/core/hooks/search/use-suggested-pages.d.ts +6 -0
- package/lib/core/hooks/search/use-suggested-pages.js +12 -0
- package/lib/core/hooks/use-active-heading.d.ts +7 -0
- package/lib/core/hooks/use-active-heading.js +268 -0
- package/lib/core/hooks/use-active-page-version.d.ts +1 -0
- package/lib/core/hooks/use-active-page-version.js +11 -0
- package/lib/core/hooks/use-active-section-id.d.ts +5 -0
- package/lib/core/hooks/use-active-section-id.js +65 -0
- package/lib/core/hooks/use-anchor-positioning.d.ts +3 -0
- package/lib/core/hooks/use-anchor-positioning.js +21 -0
- package/lib/core/hooks/use-banner-telemetry.d.ts +7 -0
- package/lib/core/hooks/use-banner-telemetry.js +46 -0
- package/lib/core/hooks/use-codeblock-tabs-controls.d.ts +12 -0
- package/lib/core/hooks/use-codeblock-tabs-controls.js +51 -0
- package/lib/core/hooks/use-color-switcher.d.ts +6 -0
- package/lib/core/hooks/use-color-switcher.js +56 -0
- package/lib/core/hooks/use-connect-mcp-button.d.ts +13 -0
- package/lib/core/hooks/use-connect-mcp-button.js +60 -0
- package/lib/core/hooks/use-consent-dialog.d.ts +12 -0
- package/lib/core/hooks/use-consent-dialog.js +36 -0
- package/lib/core/hooks/use-consent-telemetry.d.ts +1 -0
- package/lib/core/hooks/use-consent-telemetry.js +42 -0
- package/lib/core/hooks/use-control.d.ts +6 -0
- package/lib/core/hooks/use-control.js +34 -0
- package/lib/core/hooks/use-controlled-state.d.ts +1 -0
- package/lib/core/hooks/use-controlled-state.js +16 -0
- package/lib/core/hooks/use-dialog-hotkeys.d.ts +2 -0
- package/lib/core/hooks/use-dialog-hotkeys.js +45 -0
- package/lib/core/hooks/use-element-size.d.ts +13 -0
- package/lib/core/hooks/use-element-size.js +75 -0
- package/lib/core/hooks/use-focus-trap.d.ts +2 -0
- package/lib/core/hooks/use-focus-trap.js +34 -0
- package/lib/core/hooks/use-full-height.d.ts +2 -0
- package/lib/core/hooks/use-full-height.js +47 -0
- package/lib/core/hooks/use-input-key-commands.d.ts +8 -0
- package/lib/core/hooks/use-input-key-commands.js +73 -0
- package/lib/core/hooks/use-is-truncated.d.ts +1 -0
- package/lib/core/hooks/use-is-truncated.js +19 -0
- package/lib/core/hooks/use-language-picker.d.ts +11 -0
- package/lib/core/hooks/use-language-picker.js +32 -0
- package/lib/core/hooks/use-local-state.d.ts +1 -0
- package/lib/core/hooks/use-local-state.js +37 -0
- package/lib/core/hooks/use-mcp-config.d.ts +11 -0
- package/lib/core/hooks/use-mcp-config.js +41 -0
- package/lib/core/hooks/use-mobile-menu.d.ts +5 -0
- package/lib/core/hooks/use-mobile-menu.js +24 -0
- package/lib/core/hooks/use-modal-scroll-lock.d.ts +1 -0
- package/lib/core/hooks/use-modal-scroll-lock.js +48 -0
- package/lib/core/hooks/use-mount.d.ts +1 -0
- package/lib/core/hooks/use-mount.js +12 -0
- package/lib/core/hooks/use-navbar-height.d.ts +3 -0
- package/lib/core/hooks/use-navbar-height.js +20 -0
- package/lib/core/hooks/use-outside-click.d.ts +4 -0
- package/lib/core/hooks/use-outside-click.js +25 -0
- package/lib/core/hooks/use-page-actions.d.ts +3 -0
- package/lib/core/hooks/use-page-actions.js +239 -0
- package/lib/core/hooks/use-page-versions.d.ts +7 -0
- package/lib/core/hooks/use-page-versions.js +15 -0
- package/lib/core/hooks/use-pointer-border-highlight.d.ts +7 -0
- package/lib/core/hooks/use-pointer-border-highlight.js +29 -0
- package/lib/core/hooks/use-product-picker.d.ts +5 -0
- package/lib/core/hooks/use-product-picker.js +46 -0
- package/lib/core/hooks/use-scroll-item-into-view.d.ts +2 -0
- package/lib/core/hooks/use-scroll-item-into-view.js +16 -0
- package/lib/core/hooks/use-store.d.ts +17 -0
- package/lib/core/hooks/use-store.js +64 -0
- package/lib/core/hooks/use-tab-list.d.ts +31 -0
- package/lib/core/hooks/use-tab-list.js +49 -0
- package/lib/core/hooks/use-tabs.d.ts +24 -0
- package/lib/core/hooks/use-tabs.js +264 -0
- package/lib/core/hooks/use-telemetry-fallback.d.ts +86 -0
- package/lib/core/hooks/use-telemetry-fallback.js +93 -0
- package/lib/core/hooks/use-theme-config.d.ts +2 -0
- package/lib/core/hooks/use-theme-config.js +23 -0
- package/lib/core/hooks/use-theme-hooks.d.ts +2 -0
- package/lib/core/hooks/use-theme-hooks.js +60 -0
- package/lib/core/hooks/use-time-ago.d.ts +3 -0
- package/lib/core/hooks/use-time-ago.js +39 -0
- package/lib/core/hooks/use-toast-logic.d.ts +18 -0
- package/lib/core/hooks/use-toast-logic.js +141 -0
- package/lib/core/hooks/use-toast.d.ts +11 -0
- package/lib/core/hooks/use-toast.js +17 -0
- package/lib/core/hooks/use-tooltip-fallback-placement.d.ts +15 -0
- package/lib/core/hooks/use-tooltip-fallback-placement.js +46 -0
- package/lib/core/hooks/use-unique-svg-ids.d.ts +6 -0
- package/lib/core/hooks/use-unique-svg-ids.js +15 -0
- package/lib/core/hooks/use-unmount.d.ts +1 -0
- package/lib/core/hooks/use-unmount.js +14 -0
- package/lib/core/hooks/use-user-teams.d.ts +1 -0
- package/lib/core/hooks/use-user-teams.js +10 -0
- package/lib/core/index.d.ts +7 -0
- package/lib/core/index.js +24 -0
- package/lib/core/openapi/index.d.ts +29 -0
- package/lib/core/openapi/index.js +62 -0
- package/lib/core/styles/dark.d.ts +1 -0
- package/lib/core/styles/dark.js +379 -0
- package/lib/core/styles/global.d.ts +8 -0
- package/lib/core/styles/global.js +1379 -0
- package/lib/core/styles/index.d.ts +4 -0
- package/lib/core/styles/index.js +24 -0
- package/lib/core/styles/palette.d.ts +7 -0
- package/lib/core/styles/palette.dark.d.ts +4 -0
- package/lib/core/styles/palette.dark.js +236 -0
- package/lib/core/styles/palette.js +251 -0
- package/lib/core/styles/search-ai-appear.d.ts +1 -0
- package/lib/core/styles/search-ai-appear.js +18 -0
- package/lib/core/styles/xyflow.d.ts +1 -0
- package/lib/core/styles/xyflow.js +623 -0
- package/lib/core/templates/Markdown.d.ts +21 -0
- package/lib/core/templates/Markdown.js +84 -0
- package/lib/core/types/breadcrumb.d.ts +1 -0
- package/lib/core/types/breadcrumb.js +3 -0
- package/lib/core/types/button-group.d.ts +2 -0
- package/lib/core/types/button-group.js +3 -0
- package/lib/core/types/catalog.d.ts +235 -0
- package/lib/core/types/catalog.js +3 -0
- package/lib/core/types/code-walkthrough.d.ts +97 -0
- package/lib/core/types/code-walkthrough.js +3 -0
- package/lib/core/types/common.d.ts +5 -0
- package/lib/core/types/common.js +3 -0
- package/lib/core/types/consent.d.ts +54 -0
- package/lib/core/types/consent.js +3 -0
- package/lib/core/types/dropdown.d.ts +1 -0
- package/lib/core/types/dropdown.js +3 -0
- package/lib/core/types/feedback.d.ts +19 -0
- package/lib/core/types/feedback.js +3 -0
- package/lib/core/types/filter.d.ts +10 -0
- package/lib/core/types/filter.js +3 -0
- package/lib/core/types/hooks.d.ts +192 -0
- package/lib/core/types/hooks.js +3 -0
- package/lib/core/types/index.d.ts +29 -0
- package/lib/core/types/index.js +18 -0
- package/lib/core/types/l10n.d.ts +10 -0
- package/lib/core/types/l10n.js +3 -0
- package/lib/core/types/link.d.ts +19 -0
- package/lib/core/types/link.js +3 -0
- package/lib/core/types/markdown.d.ts +5 -0
- package/lib/core/types/markdown.js +3 -0
- package/lib/core/types/marker.d.ts +4 -0
- package/lib/core/types/marker.js +3 -0
- package/lib/core/types/mcp.d.ts +7 -0
- package/lib/core/types/mcp.js +3 -0
- package/lib/core/types/navbar.d.ts +7 -0
- package/lib/core/types/navbar.js +3 -0
- package/lib/core/types/navigation-tabs.d.ts +49 -0
- package/lib/core/types/navigation-tabs.js +3 -0
- package/lib/core/types/open-api-info.d.ts +34 -0
- package/lib/core/types/open-api-info.js +3 -0
- package/lib/core/types/open-api-server.d.ts +10 -0
- package/lib/core/types/open-api-server.js +3 -0
- package/lib/core/types/page-actions.d.ts +15 -0
- package/lib/core/types/page-actions.js +3 -0
- package/lib/core/types/prompt.d.ts +9 -0
- package/lib/core/types/prompt.js +3 -0
- package/lib/core/types/search.d.ts +157 -0
- package/lib/core/types/search.js +21 -0
- package/lib/core/types/segmented.d.ts +12 -0
- package/lib/core/types/segmented.js +3 -0
- package/lib/core/types/select.d.ts +32 -0
- package/lib/core/types/select.js +3 -0
- package/lib/core/types/sidebar.d.ts +63 -0
- package/lib/core/types/sidebar.js +3 -0
- package/lib/core/types/toast.d.ts +23 -0
- package/lib/core/types/toast.js +3 -0
- package/lib/core/types/tooltip.d.ts +16 -0
- package/lib/core/types/tooltip.js +3 -0
- package/lib/core/types/user-claims.d.ts +6 -0
- package/lib/core/types/user-claims.js +3 -0
- package/lib/core/types/user-menu.d.ts +12 -0
- package/lib/core/types/user-menu.js +3 -0
- package/lib/core/utils/Dynamic.d.ts +16 -0
- package/lib/core/utils/Dynamic.js +90 -0
- package/lib/core/utils/GetFileIcon.d.ts +3 -0
- package/lib/core/utils/GetFileIcon.js +127 -0
- package/lib/core/utils/RenderWithLink.d.ts +2 -0
- package/lib/core/utils/RenderWithLink.js +20 -0
- package/lib/core/utils/add-line-numbers.d.ts +6 -0
- package/lib/core/utils/add-line-numbers.js +18 -0
- package/lib/core/utils/args-typecheck.d.ts +2 -0
- package/lib/core/utils/args-typecheck.js +11 -0
- package/lib/core/utils/assign-ref.d.ts +2 -0
- package/lib/core/utils/assign-ref.js +12 -0
- package/lib/core/utils/attribute-parser.d.ts +1 -0
- package/lib/core/utils/attribute-parser.js +13 -0
- package/lib/core/utils/build-revision-url.d.ts +1 -0
- package/lib/core/utils/build-revision-url.js +15 -0
- package/lib/core/utils/change-text-casing.d.ts +3 -0
- package/lib/core/utils/change-text-casing.js +21 -0
- package/lib/core/utils/class-names.d.ts +2 -0
- package/lib/core/utils/class-names.js +18 -0
- package/lib/core/utils/clipboard-service.d.ts +4 -0
- package/lib/core/utils/clipboard-service.js +35 -0
- package/lib/core/utils/color.d.ts +1 -0
- package/lib/core/utils/color.js +14 -0
- package/lib/core/utils/consent-settings-link-placement.d.ts +3 -0
- package/lib/core/utils/consent-settings-link-placement.js +15 -0
- package/lib/core/utils/content-segments.d.ts +13 -0
- package/lib/core/utils/content-segments.js +107 -0
- package/lib/core/utils/css-variables.d.ts +1 -0
- package/lib/core/utils/css-variables.js +6 -0
- package/lib/core/utils/custom-catalog-options-casing.d.ts +15 -0
- package/lib/core/utils/custom-catalog-options-casing.js +32 -0
- package/lib/core/utils/date.d.ts +14 -0
- package/lib/core/utils/date.js +39 -0
- package/lib/core/utils/details.d.ts +1 -0
- package/lib/core/utils/details.js +43 -0
- package/lib/core/utils/dom.d.ts +1 -0
- package/lib/core/utils/dom.js +5 -0
- package/lib/core/utils/download-code-walkthrough.d.ts +6 -0
- package/lib/core/utils/download-code-walkthrough.js +72 -0
- package/lib/core/utils/dropdown.d.ts +2 -0
- package/lib/core/utils/dropdown.js +12 -0
- package/lib/core/utils/enhanced-smoothstep.d.ts +5 -0
- package/lib/core/utils/enhanced-smoothstep.js +15 -0
- package/lib/core/utils/find-closest-common-directory.d.ts +6 -0
- package/lib/core/utils/find-closest-common-directory.js +51 -0
- package/lib/core/utils/format-date-without-timezone.d.ts +1 -0
- package/lib/core/utils/format-date-without-timezone.js +12 -0
- package/lib/core/utils/frontmatter-translate.d.ts +6 -0
- package/lib/core/utils/frontmatter-translate.js +14 -0
- package/lib/core/utils/get-ai-prompt-link.d.ts +15 -0
- package/lib/core/utils/get-ai-prompt-link.js +29 -0
- package/lib/core/utils/get-auto-dismiss-duration.d.ts +2 -0
- package/lib/core/utils/get-auto-dismiss-duration.js +15 -0
- package/lib/core/utils/get-code-walkthrough-file-text.d.ts +6 -0
- package/lib/core/utils/get-code-walkthrough-file-text.js +23 -0
- package/lib/core/utils/get-navbar-element.d.ts +1 -0
- package/lib/core/utils/get-navbar-element.js +14 -0
- package/lib/core/utils/get-operation-color.d.ts +7 -0
- package/lib/core/utils/get-operation-color.js +13 -0
- package/lib/core/utils/get-scorecard-color-variable.d.ts +1 -0
- package/lib/core/utils/get-scorecard-color-variable.js +15 -0
- package/lib/core/utils/get-user-agent.d.ts +4 -0
- package/lib/core/utils/get-user-agent.js +16 -0
- package/lib/core/utils/icon-resolver.d.ts +28 -0
- package/lib/core/utils/icon-resolver.js +52 -0
- package/lib/core/utils/index.d.ts +56 -0
- package/lib/core/utils/index.js +73 -0
- package/lib/core/utils/is-url.d.ts +12 -0
- package/lib/core/utils/is-url.js +36 -0
- package/lib/core/utils/js-utils.d.ts +56 -0
- package/lib/core/utils/js-utils.js +99 -0
- package/lib/core/utils/lang-to-name.d.ts +1 -0
- package/lib/core/utils/lang-to-name.js +37 -0
- package/lib/core/utils/load-and-navigate.d.ts +8 -0
- package/lib/core/utils/load-and-navigate.js +56 -0
- package/lib/core/utils/markdoc.d.ts +2 -0
- package/lib/core/utils/markdoc.js +8 -0
- package/lib/core/utils/match-code-walkthrough-conditions.d.ts +4 -0
- package/lib/core/utils/match-code-walkthrough-conditions.js +23 -0
- package/lib/core/utils/mcp.d.ts +7 -0
- package/lib/core/utils/mcp.js +63 -0
- package/lib/core/utils/media-css.d.ts +7 -0
- package/lib/core/utils/media-css.js +10 -0
- package/lib/core/utils/menu.d.ts +14 -0
- package/lib/core/utils/menu.js +131 -0
- package/lib/core/utils/navigation-tabs.d.ts +8 -0
- package/lib/core/utils/navigation-tabs.js +71 -0
- package/lib/core/utils/parse-style-string.d.ts +1 -0
- package/lib/core/utils/parse-style-string.js +24 -0
- package/lib/core/utils/replace-hash-in-color.d.ts +1 -0
- package/lib/core/utils/replace-hash-in-color.js +7 -0
- package/lib/core/utils/replace-inputs-with-value.d.ts +3 -0
- package/lib/core/utils/replace-inputs-with-value.js +15 -0
- package/lib/core/utils/search-ai-activity.d.ts +4 -0
- package/lib/core/utils/search-ai-activity.js +83 -0
- package/lib/core/utils/string.d.ts +1 -0
- package/lib/core/utils/string.js +7 -0
- package/lib/core/utils/tabs.d.ts +1 -0
- package/lib/core/utils/tabs.js +8 -0
- package/lib/core/utils/tags-parser.d.ts +1 -0
- package/lib/core/utils/tags-parser.js +10 -0
- package/lib/core/utils/telemetry/generate-before-after-context.d.ts +37 -0
- package/lib/core/utils/telemetry/generate-before-after-context.js +32 -0
- package/lib/core/utils/telemetry/generate-resource-urn.d.ts +7 -0
- package/lib/core/utils/telemetry/generate-resource-urn.js +13 -0
- package/lib/core/utils/telemetry/get-base-data-attributes.d.ts +14 -0
- package/lib/core/utils/telemetry/get-base-data-attributes.js +17 -0
- package/lib/core/utils/text-trimmer.d.ts +1 -0
- package/lib/core/utils/text-trimmer.js +15 -0
- package/lib/core/utils/theme-helpers.d.ts +4 -0
- package/lib/core/utils/theme-helpers.js +76 -0
- package/lib/core/utils/toc.d.ts +4 -0
- package/lib/core/utils/toc.js +40 -0
- package/lib/core/utils/tooltip-placement.d.ts +32 -0
- package/lib/core/utils/tooltip-placement.js +92 -0
- package/lib/core/utils/transform-revisions-to-version-history.d.ts +8 -0
- package/lib/core/utils/transform-revisions-to-version-history.js +61 -0
- package/lib/core/utils/type-guards.d.ts +11 -0
- package/lib/core/utils/type-guards.js +32 -0
- package/lib/core/utils/urls.d.ts +41 -0
- package/lib/core/utils/urls.js +119 -0
- package/lib/core/utils/with-load-progress.d.ts +4 -0
- package/lib/core/utils/with-load-progress.js +43 -0
- package/lib/ext/configure-helpers.d.ts +35 -0
- package/lib/ext/configure-helpers.js +3 -0
- package/lib/ext/configure.d.ts +19 -0
- package/lib/ext/configure.js +86 -0
- package/lib/ext/helpers/is-direct-configure-request-values.d.ts +15 -0
- package/lib/ext/helpers/is-direct-configure-request-values.js +42 -0
- package/lib/ext/use-configure-replay.d.ts +19 -0
- package/lib/ext/use-configure-replay.js +66 -0
- package/lib/icons/AddIcon/AddIcon.d.ts +25 -0
- package/lib/icons/AddIcon/AddIcon.js +22 -0
- package/lib/icons/AiStarsGradientIcon/AiStarsGradientIcon.d.ts +11 -0
- package/lib/icons/AiStarsGradientIcon/AiStarsGradientIcon.js +103 -0
- package/lib/icons/AiStarsIcon/AiStarsIcon.d.ts +11 -0
- package/lib/icons/AiStarsIcon/AiStarsIcon.js +63 -0
- package/lib/icons/AnthropicIcon/AnthropicIcon.d.ts +25 -0
- package/lib/icons/AnthropicIcon/AnthropicIcon.js +20 -0
- package/lib/icons/ArrowDownIcon/ArrowDownIcon.d.ts +25 -0
- package/lib/icons/ArrowDownIcon/ArrowDownIcon.js +22 -0
- package/lib/icons/ArrowLeftIcon/ArrowLeftIcon.d.ts +25 -0
- package/lib/icons/ArrowLeftIcon/ArrowLeftIcon.js +22 -0
- package/lib/icons/ArrowRightIcon/ArrowRightIcon.d.ts +25 -0
- package/lib/icons/ArrowRightIcon/ArrowRightIcon.js +22 -0
- package/lib/icons/ArrowUpRightIcon/ArrowUpRightIcon.d.ts +25 -0
- package/lib/icons/ArrowUpRightIcon/ArrowUpRightIcon.js +22 -0
- package/lib/icons/AscSortIcon/AscSortIcon.d.ts +25 -0
- package/lib/icons/AscSortIcon/AscSortIcon.js +25 -0
- package/lib/icons/BareMetalServerIcon/BareMetalServerIcon.d.ts +25 -0
- package/lib/icons/BareMetalServerIcon/BareMetalServerIcon.js +27 -0
- package/lib/icons/BookmarkAddIcon/BookmarkAddIcon.d.ts +25 -0
- package/lib/icons/BookmarkAddIcon/BookmarkAddIcon.js +22 -0
- package/lib/icons/BotIcon/BotIcon.d.ts +25 -0
- package/lib/icons/BotIcon/BotIcon.js +21 -0
- package/lib/icons/CDNIcon/CDNIcon.d.ts +45 -0
- package/lib/icons/CDNIcon/CDNIcon.js +48 -0
- package/lib/icons/CardsIcon/CardsIcon.d.ts +25 -0
- package/lib/icons/CardsIcon/CardsIcon.js +25 -0
- package/lib/icons/CaretDownIcon/CaretDownIcon.d.ts +25 -0
- package/lib/icons/CaretDownIcon/CaretDownIcon.js +22 -0
- package/lib/icons/CaretUpIcon/CaretUpIcon.d.ts +25 -0
- package/lib/icons/CaretUpIcon/CaretUpIcon.js +22 -0
- package/lib/icons/CertificateIcon/CertificateIcon.d.ts +25 -0
- package/lib/icons/CertificateIcon/CertificateIcon.js +26 -0
- package/lib/icons/CharacterIcon/CharacterIcon.d.ts +25 -0
- package/lib/icons/CharacterIcon/CharacterIcon.js +24 -0
- package/lib/icons/ChatGptIcon/ChatGptIcon.d.ts +25 -0
- package/lib/icons/ChatGptIcon/ChatGptIcon.js +22 -0
- package/lib/icons/ChatIcon/ChatIcon.d.ts +25 -0
- package/lib/icons/ChatIcon/ChatIcon.js +24 -0
- package/lib/icons/CheckboxFilledIcon/CheckboxFilledIcon.d.ts +25 -0
- package/lib/icons/CheckboxFilledIcon/CheckboxFilledIcon.js +22 -0
- package/lib/icons/CheckboxIcon/CheckboxIcon.d.ts +40 -0
- package/lib/icons/CheckboxIcon/CheckboxIcon.js +24 -0
- package/lib/icons/CheckboxIcon/variables.d.ts +1 -0
- package/lib/icons/CheckboxIcon/variables.dark.d.ts +1 -0
- package/lib/icons/CheckboxIcon/variables.dark.js +11 -0
- package/lib/icons/CheckboxIcon/variables.js +22 -0
- package/lib/icons/CheckmarkFilledIcon/CheckmarkFilledIcon.d.ts +25 -0
- package/lib/icons/CheckmarkFilledIcon/CheckmarkFilledIcon.js +22 -0
- package/lib/icons/CheckmarkIcon/CheckmarkIcon.d.ts +25 -0
- package/lib/icons/CheckmarkIcon/CheckmarkIcon.js +22 -0
- package/lib/icons/CheckmarkOutlineIcon/CheckmarkOutlineIcon.d.ts +25 -0
- package/lib/icons/CheckmarkOutlineIcon/CheckmarkOutlineIcon.js +23 -0
- package/lib/icons/ChevronDownIcon/ChevronDownIcon.d.ts +25 -0
- package/lib/icons/ChevronDownIcon/ChevronDownIcon.js +23 -0
- package/lib/icons/ChevronLeftIcon/ChevronLeftIcon.d.ts +25 -0
- package/lib/icons/ChevronLeftIcon/ChevronLeftIcon.js +22 -0
- package/lib/icons/ChevronRightIcon/ChevronRightIcon.d.ts +25 -0
- package/lib/icons/ChevronRightIcon/ChevronRightIcon.js +22 -0
- package/lib/icons/ChevronSortIcon/ChevronSortIcon.d.ts +35 -0
- package/lib/icons/ChevronSortIcon/ChevronSortIcon.js +22 -0
- package/lib/icons/ChevronUpIcon/ChevronUpIcon.d.ts +25 -0
- package/lib/icons/ChevronUpIcon/ChevronUpIcon.js +23 -0
- package/lib/icons/CircleDashIcon/CircleDashIcon.d.ts +25 -0
- package/lib/icons/CircleDashIcon/CircleDashIcon.js +31 -0
- package/lib/icons/ClaudeIcon/ClaudeIcon.d.ts +25 -0
- package/lib/icons/ClaudeIcon/ClaudeIcon.js +22 -0
- package/lib/icons/CleanIcon/CleanIcon.d.ts +25 -0
- package/lib/icons/CleanIcon/CleanIcon.js +25 -0
- package/lib/icons/CloseFilledIcon/CloseFilledIcon.d.ts +25 -0
- package/lib/icons/CloseFilledIcon/CloseFilledIcon.js +21 -0
- package/lib/icons/CloseIcon/CloseIcon.d.ts +25 -0
- package/lib/icons/CloseIcon/CloseIcon.js +23 -0
- package/lib/icons/CloseOutlineIcon/CloseOutlineIcon.d.ts +25 -0
- package/lib/icons/CloseOutlineIcon/CloseOutlineIcon.js +24 -0
- package/lib/icons/CloudUploadIcon/CloudUploadIcon.d.ts +25 -0
- package/lib/icons/CloudUploadIcon/CloudUploadIcon.js +23 -0
- package/lib/icons/CodeIcon/CodeIcon.d.ts +25 -0
- package/lib/icons/CodeIcon/CodeIcon.js +24 -0
- package/lib/icons/CodexIcon/CodexIcon.d.ts +25 -0
- package/lib/icons/CodexIcon/CodexIcon.js +22 -0
- package/lib/icons/ColorPaletteIcon/ColorPaletteIcon.d.ts +25 -0
- package/lib/icons/ColorPaletteIcon/ColorPaletteIcon.js +27 -0
- package/lib/icons/ConnectIcon/ConnectIcon.d.ts +25 -0
- package/lib/icons/ConnectIcon/ConnectIcon.js +17 -0
- package/lib/icons/ContrastIcon/ContrastIcon.d.ts +25 -0
- package/lib/icons/ContrastIcon/ContrastIcon.js +22 -0
- package/lib/icons/CookieIcon/CookieIcon.d.ts +25 -0
- package/lib/icons/CookieIcon/CookieIcon.js +29 -0
- package/lib/icons/CopyIcon/CopyIcon.d.ts +25 -0
- package/lib/icons/CopyIcon/CopyIcon.js +22 -0
- package/lib/icons/CopyLinkIcon/CopyLinkIcon.d.ts +25 -0
- package/lib/icons/CopyLinkIcon/CopyLinkIcon.js +24 -0
- package/lib/icons/CubeIcon/CubeIcon.d.ts +25 -0
- package/lib/icons/CubeIcon/CubeIcon.js +17 -0
- package/lib/icons/CursorIcon/CursorIcon.d.ts +25 -0
- package/lib/icons/CursorIcon/CursorIcon.js +22 -0
- package/lib/icons/CurveAutoColonIcon/CurveAutoColonIcon.d.ts +25 -0
- package/lib/icons/CurveAutoColonIcon/CurveAutoColonIcon.js +22 -0
- package/lib/icons/DataFormatIcon/DataFormatIcon.d.ts +25 -0
- package/lib/icons/DataFormatIcon/DataFormatIcon.js +26 -0
- package/lib/icons/DataRefineryIcon/DataRefineryIcon.d.ts +25 -0
- package/lib/icons/DataRefineryIcon/DataRefineryIcon.js +24 -0
- package/lib/icons/DatabaseIcon/DatabaseIcon.d.ts +25 -0
- package/lib/icons/DatabaseIcon/DatabaseIcon.js +22 -0
- package/lib/icons/DescSortIcon/DescSortIcon.d.ts +25 -0
- package/lib/icons/DescSortIcon/DescSortIcon.js +25 -0
- package/lib/icons/DeselectIcon/DeselectIcon.d.ts +25 -0
- package/lib/icons/DeselectIcon/DeselectIcon.js +26 -0
- package/lib/icons/DirectionRightIcon/DirectionRightIcon.d.ts +25 -0
- package/lib/icons/DirectionRightIcon/DirectionRightIcon.js +24 -0
- package/lib/icons/DocumentAddIcon/DocumentAddIcon.d.ts +25 -0
- package/lib/icons/DocumentAddIcon/DocumentAddIcon.js +23 -0
- package/lib/icons/DocumentBlankIcon/DocumentBlankIcon.d.ts +25 -0
- package/lib/icons/DocumentBlankIcon/DocumentBlankIcon.js +22 -0
- package/lib/icons/DocumentCssIcon/DocumentCssIcon.d.ts +25 -0
- package/lib/icons/DocumentCssIcon/DocumentCssIcon.js +23 -0
- package/lib/icons/DocumentCssIcon/index.d.ts +1 -0
- package/lib/icons/DocumentCssIcon/index.js +6 -0
- package/lib/icons/DocumentGraphqlIcon/DocumentGraphqlIcon.d.ts +25 -0
- package/lib/icons/DocumentGraphqlIcon/DocumentGraphqlIcon.js +31 -0
- package/lib/icons/DocumentGraphqlIcon/index.d.ts +1 -0
- package/lib/icons/DocumentGraphqlIcon/index.js +6 -0
- package/lib/icons/DocumentHtmlIcon/DocumentHtmlIcon.d.ts +25 -0
- package/lib/icons/DocumentHtmlIcon/DocumentHtmlIcon.js +23 -0
- package/lib/icons/DocumentHtmlIcon/index.d.ts +1 -0
- package/lib/icons/DocumentHtmlIcon/index.js +6 -0
- package/lib/icons/DocumentIcon/DocumentIcon.d.ts +25 -0
- package/lib/icons/DocumentIcon/DocumentIcon.js +24 -0
- package/lib/icons/DocumentIcon/index.d.ts +1 -0
- package/lib/icons/DocumentIcon/index.js +6 -0
- package/lib/icons/DocumentJavaIcon/DocumentJavaIcon.d.ts +25 -0
- package/lib/icons/DocumentJavaIcon/DocumentJavaIcon.js +22 -0
- package/lib/icons/DocumentJavaIcon/index.d.ts +1 -0
- package/lib/icons/DocumentJavaIcon/index.js +6 -0
- package/lib/icons/DocumentJsIcon/DocumentJsIcon.d.ts +25 -0
- package/lib/icons/DocumentJsIcon/DocumentJsIcon.js +23 -0
- package/lib/icons/DocumentJsIcon/index.d.ts +1 -0
- package/lib/icons/DocumentJsIcon/index.js +6 -0
- package/lib/icons/DocumentJsonIcon/DocumentJsonIcon.d.ts +25 -0
- package/lib/icons/DocumentJsonIcon/DocumentJsonIcon.js +23 -0
- package/lib/icons/DocumentJsonIcon/index.d.ts +1 -0
- package/lib/icons/DocumentJsonIcon/index.js +6 -0
- package/lib/icons/DocumentMarkdownIcon/DocumentMarkdownIcon.d.ts +25 -0
- package/lib/icons/DocumentMarkdownIcon/DocumentMarkdownIcon.js +23 -0
- package/lib/icons/DocumentMarkdownIcon/index.d.ts +1 -0
- package/lib/icons/DocumentMarkdownIcon/index.js +6 -0
- package/lib/icons/DocumentPythonIcon/DocumentPythonIcon.d.ts +25 -0
- package/lib/icons/DocumentPythonIcon/DocumentPythonIcon.js +23 -0
- package/lib/icons/DocumentPythonIcon/index.d.ts +1 -0
- package/lib/icons/DocumentPythonIcon/index.js +6 -0
- package/lib/icons/DocumentReactIcon/DocumentReactIcon.d.ts +25 -0
- package/lib/icons/DocumentReactIcon/DocumentReactIcon.js +23 -0
- package/lib/icons/DocumentReactIcon/index.d.ts +1 -0
- package/lib/icons/DocumentReactIcon/index.js +6 -0
- package/lib/icons/DocumentShellIcon/DocumentShellIcon.d.ts +25 -0
- package/lib/icons/DocumentShellIcon/DocumentShellIcon.js +22 -0
- package/lib/icons/DocumentShellIcon/index.d.ts +1 -0
- package/lib/icons/DocumentShellIcon/index.js +6 -0
- package/lib/icons/DocumentTsIcon/DocumentTsIcon.d.ts +25 -0
- package/lib/icons/DocumentTsIcon/DocumentTsIcon.js +23 -0
- package/lib/icons/DocumentTsIcon/index.d.ts +1 -0
- package/lib/icons/DocumentTsIcon/index.js +6 -0
- package/lib/icons/DocumentYamlIcon/DocumentYamlIcon.d.ts +25 -0
- package/lib/icons/DocumentYamlIcon/DocumentYamlIcon.js +23 -0
- package/lib/icons/DocumentYamlIcon/index.d.ts +1 -0
- package/lib/icons/DocumentYamlIcon/index.js +6 -0
- package/lib/icons/DownloadIcon/DownloadIcon.d.ts +25 -0
- package/lib/icons/DownloadIcon/DownloadIcon.js +23 -0
- package/lib/icons/DraggableIcon/DraggableIcon.d.ts +25 -0
- package/lib/icons/DraggableIcon/DraggableIcon.js +27 -0
- package/lib/icons/EditIcon/EditIcon.d.ts +25 -0
- package/lib/icons/EditIcon/EditIcon.js +23 -0
- package/lib/icons/EmailIcon/EmailIcon.d.ts +25 -0
- package/lib/icons/EmailIcon/EmailIcon.js +22 -0
- package/lib/icons/EntityTypeIcon/EntityTypeIcon.d.ts +25 -0
- package/lib/icons/EntityTypeIcon/EntityTypeIcon.js +26 -0
- package/lib/icons/ErrorFilledIcon/ErrorFilledIcon.d.ts +25 -0
- package/lib/icons/ErrorFilledIcon/ErrorFilledIcon.js +22 -0
- package/lib/icons/ErrorIcon/ErrorIcon.d.ts +25 -0
- package/lib/icons/ErrorIcon/ErrorIcon.js +22 -0
- package/lib/icons/ExpandCollapseIcon/ExpandCollapseIcon.d.ts +29 -0
- package/lib/icons/ExpandCollapseIcon/ExpandCollapseIcon.js +81 -0
- package/lib/icons/ExportIcon/ExportIcon.d.ts +25 -0
- package/lib/icons/ExportIcon/ExportIcon.js +23 -0
- package/lib/icons/FaceDissatisfiedIcon/FaceDissatisfiedIcon.d.ts +25 -0
- package/lib/icons/FaceDissatisfiedIcon/FaceDissatisfiedIcon.js +25 -0
- package/lib/icons/FaceNeutralIcon/FaceNeutralIcon.d.ts +25 -0
- package/lib/icons/FaceNeutralIcon/FaceNeutralIcon.js +25 -0
- package/lib/icons/FaceSatisfiedIcon/FaceSatisfiedIcon.d.ts +25 -0
- package/lib/icons/FaceSatisfiedIcon/FaceSatisfiedIcon.js +25 -0
- package/lib/icons/FileIcon/FileIcon.d.ts +25 -0
- package/lib/icons/FileIcon/FileIcon.js +22 -0
- package/lib/icons/FileStorageIcon/FileStorageIcon.d.ts +25 -0
- package/lib/icons/FileStorageIcon/FileStorageIcon.js +24 -0
- package/lib/icons/FilterIcon/FilterIcon.d.ts +25 -0
- package/lib/icons/FilterIcon/FilterIcon.js +22 -0
- package/lib/icons/FitToViewIcon/FitToViewIcon.d.ts +25 -0
- package/lib/icons/FitToViewIcon/FitToViewIcon.js +25 -0
- package/lib/icons/FlowIcon/FlowIcon.d.ts +25 -0
- package/lib/icons/FlowIcon/FlowIcon.js +22 -0
- package/lib/icons/FolderAddIcon/FolderAddIcon.d.ts +25 -0
- package/lib/icons/FolderAddIcon/FolderAddIcon.js +23 -0
- package/lib/icons/FolderIcon/FolderIcon.d.ts +25 -0
- package/lib/icons/FolderIcon/FolderIcon.js +22 -0
- package/lib/icons/FolderMoveToIcon/FolderMoveToIcon.d.ts +25 -0
- package/lib/icons/FolderMoveToIcon/FolderMoveToIcon.js +23 -0
- package/lib/icons/GeminiIcon/GeminiIcon.d.ts +25 -0
- package/lib/icons/GeminiIcon/GeminiIcon.js +95 -0
- package/lib/icons/GenericIcon/GenericIcon.d.ts +11 -0
- package/lib/icons/GenericIcon/GenericIcon.js +76 -0
- package/lib/icons/GithubIcon/GithubIcon.d.ts +25 -0
- package/lib/icons/GithubIcon/GithubIcon.js +22 -0
- package/lib/icons/GlobalOutlinedIcon/GlobalOutlinedIcon.d.ts +25 -0
- package/lib/icons/GlobalOutlinedIcon/GlobalOutlinedIcon.js +22 -0
- package/lib/icons/GraphIcon/GraphIcon.d.ts +25 -0
- package/lib/icons/GraphIcon/GraphIcon.js +22 -0
- package/lib/icons/GraphqlIcon/GraphqlIcon.d.ts +25 -0
- package/lib/icons/GraphqlIcon/GraphqlIcon.js +36 -0
- package/lib/icons/GraphqlIcon/index.d.ts +1 -0
- package/lib/icons/GraphqlIcon/index.js +6 -0
- package/lib/icons/GridIcon/GridIcon.d.ts +25 -0
- package/lib/icons/GridIcon/GridIcon.js +25 -0
- package/lib/icons/HashtagIcon/HashtagIcon.d.ts +25 -0
- package/lib/icons/HashtagIcon/HashtagIcon.js +22 -0
- package/lib/icons/HexagonIcon/HexagonIcon.d.ts +25 -0
- package/lib/icons/HexagonIcon/HexagonIcon.js +22 -0
- package/lib/icons/HierarchyIcon/HierarchyIcon.d.ts +25 -0
- package/lib/icons/HierarchyIcon/HierarchyIcon.js +23 -0
- package/lib/icons/HorizontalViewIcon/HorizontalViewIcon.d.ts +25 -0
- package/lib/icons/HorizontalViewIcon/HorizontalViewIcon.js +23 -0
- package/lib/icons/IBMCloudHyperProtectCryptoServicesIcon/IBMCloudHyperProtectCryptoServicesIcon.d.ts +25 -0
- package/lib/icons/IBMCloudHyperProtectCryptoServicesIcon/IBMCloudHyperProtectCryptoServicesIcon.js +24 -0
- package/lib/icons/IdeaIcon/IdeaIcon.d.ts +25 -0
- package/lib/icons/IdeaIcon/IdeaIcon.js +24 -0
- package/lib/icons/InformationFilledIcon/InformationFilledIcon.d.ts +25 -0
- package/lib/icons/InformationFilledIcon/InformationFilledIcon.js +22 -0
- package/lib/icons/InformationIcon/InformationIcon.d.ts +25 -0
- package/lib/icons/InformationIcon/InformationIcon.js +24 -0
- package/lib/icons/JsonIcon/JsonIcon.d.ts +25 -0
- package/lib/icons/JsonIcon/JsonIcon.js +25 -0
- package/lib/icons/KafkaIcon/KafkaIcon.d.ts +25 -0
- package/lib/icons/KafkaIcon/KafkaIcon.js +26 -0
- package/lib/icons/LaunchIcon/LaunchIcon.d.ts +25 -0
- package/lib/icons/LaunchIcon/LaunchIcon.js +23 -0
- package/lib/icons/LinkIcon/LinkIcon.d.ts +25 -0
- package/lib/icons/LinkIcon/LinkIcon.js +23 -0
- package/lib/icons/LinkIcon/LinkIconSymbol.d.ts +12 -0
- package/lib/icons/LinkIcon/LinkIconSymbol.js +41 -0
- package/lib/icons/LogoutIcon/LogoutIcon.d.ts +25 -0
- package/lib/icons/LogoutIcon/LogoutIcon.js +23 -0
- package/lib/icons/MagicWandIcon/MagicWandIcon.d.ts +25 -0
- package/lib/icons/MagicWandIcon/MagicWandIcon.js +25 -0
- package/lib/icons/MarkdownFullIcon/MarkdownFullIcon.d.ts +25 -0
- package/lib/icons/MarkdownFullIcon/MarkdownFullIcon.js +23 -0
- package/lib/icons/MaximizeIcon/MaximizeIcon.d.ts +25 -0
- package/lib/icons/MaximizeIcon/MaximizeIcon.js +23 -0
- package/lib/icons/MenuIcon/MenuIcon.d.ts +25 -0
- package/lib/icons/MenuIcon/MenuIcon.js +22 -0
- package/lib/icons/MinimizeIcon/MinimizeIcon.d.ts +25 -0
- package/lib/icons/MinimizeIcon/MinimizeIcon.js +23 -0
- package/lib/icons/MobileSidebarIcon/MobileSidebarIcon.d.ts +26 -0
- package/lib/icons/MobileSidebarIcon/MobileSidebarIcon.js +27 -0
- package/lib/icons/MoleculesIcon/MoleculesIcon.d.ts +25 -0
- package/lib/icons/MoleculesIcon/MoleculesIcon.js +22 -0
- package/lib/icons/MoonIcon/MoonIcon.d.ts +25 -0
- package/lib/icons/MoonIcon/MoonIcon.js +22 -0
- package/lib/icons/NavaidMilitaryIcon/NavaidMilitaryIcon.d.ts +25 -0
- package/lib/icons/NavaidMilitaryIcon/NavaidMilitaryIcon.js +26 -0
- package/lib/icons/NetworkIcon/NetworkIcon.d.ts +25 -0
- package/lib/icons/NetworkIcon/NetworkIcon.js +23 -0
- package/lib/icons/NewChatIcon/NewChatIcon.d.ts +25 -0
- package/lib/icons/NewChatIcon/NewChatIcon.js +25 -0
- package/lib/icons/NoneIcon/NoneIcon.d.ts +25 -0
- package/lib/icons/NoneIcon/NoneIcon.js +17 -0
- package/lib/icons/NoteIcon/NoteIcon.d.ts +25 -0
- package/lib/icons/NoteIcon/NoteIcon.js +24 -0
- package/lib/icons/NotesIcon/NotesIcon.d.ts +25 -0
- package/lib/icons/NotesIcon/NotesIcon.js +26 -0
- package/lib/icons/OverflowMenuHorizontalIcon/OverflowMenuHorizontalIcon.d.ts +25 -0
- package/lib/icons/OverflowMenuHorizontalIcon/OverflowMenuHorizontalIcon.js +24 -0
- package/lib/icons/OverflowMenuVerticalIcon/OverflowMenuVerticalIcon.d.ts +25 -0
- package/lib/icons/OverflowMenuVerticalIcon/OverflowMenuVerticalIcon.js +24 -0
- package/lib/icons/PeopleIcon/PeopleIcon.d.ts +25 -0
- package/lib/icons/PeopleIcon/PeopleIcon.js +27 -0
- package/lib/icons/PlayIcon/PlayIcon.d.ts +25 -0
- package/lib/icons/PlayIcon/PlayIcon.js +21 -0
- package/lib/icons/PlaylistIcon/PlaylistIcon.d.ts +25 -0
- package/lib/icons/PlaylistIcon/PlaylistIcon.js +24 -0
- package/lib/icons/PlusCustomIcon/PlusCustomIcon.d.ts +25 -0
- package/lib/icons/PlusCustomIcon/PlusCustomIcon.js +23 -0
- package/lib/icons/RabbitMQIcon/RabbitMQIcon.d.ts +25 -0
- package/lib/icons/RabbitMQIcon/RabbitMQIcon.js +26 -0
- package/lib/icons/RadioCheckButtonIcon/RadioCheckButtonIcon.d.ts +25 -0
- package/lib/icons/RadioCheckButtonIcon/RadioCheckButtonIcon.js +16 -0
- package/lib/icons/RecentlyViewedIcon/RecentlyViewedIcon.d.ts +25 -0
- package/lib/icons/RecentlyViewedIcon/RecentlyViewedIcon.js +23 -0
- package/lib/icons/RedoclyIcon/RedoclyIcon.d.ts +25 -0
- package/lib/icons/RedoclyIcon/RedoclyIcon.js +24 -0
- package/lib/icons/RenewIcon/RenewIcon.d.ts +25 -0
- package/lib/icons/RenewIcon/RenewIcon.js +23 -0
- package/lib/icons/ResetIcon/ResetIcon.d.ts +25 -0
- package/lib/icons/ResetIcon/ResetIcon.js +22 -0
- package/lib/icons/RestartIcon/RestartIcon.d.ts +25 -0
- package/lib/icons/RestartIcon/RestartIcon.js +22 -0
- package/lib/icons/ReturnKeyIcon/ReturnKeyIcon.d.ts +33 -0
- package/lib/icons/ReturnKeyIcon/ReturnKeyIcon.js +18 -0
- package/lib/icons/RocketIcon/RocketIcon.d.ts +25 -0
- package/lib/icons/RocketIcon/RocketIcon.js +23 -0
- package/lib/icons/SaveIcon/SaveIcon.d.ts +25 -0
- package/lib/icons/SaveIcon/SaveIcon.js +22 -0
- package/lib/icons/SearchIcon/SearchIcon.d.ts +25 -0
- package/lib/icons/SearchIcon/SearchIcon.js +22 -0
- package/lib/icons/SecurityIcon/SecurityIcon.d.ts +25 -0
- package/lib/icons/SecurityIcon/SecurityIcon.js +23 -0
- package/lib/icons/SelectIcon/SelectIcon.d.ts +25 -0
- package/lib/icons/SelectIcon/SelectIcon.js +26 -0
- package/lib/icons/SendIcon/SendIcon.d.ts +25 -0
- package/lib/icons/SendIcon/SendIcon.js +22 -0
- package/lib/icons/SettingsCogIcon/SettingsCogIcon.d.ts +25 -0
- package/lib/icons/SettingsCogIcon/SettingsCogIcon.js +25 -0
- package/lib/icons/SettingsIcon/SettingsIcon.d.ts +35 -0
- package/lib/icons/SettingsIcon/SettingsIcon.js +39 -0
- package/lib/icons/ShareIcon/ShareIcon.d.ts +25 -0
- package/lib/icons/ShareIcon/ShareIcon.js +22 -0
- package/lib/icons/SidePanelCloseIcon/SidePanelCloseIcon.d.ts +25 -0
- package/lib/icons/SidePanelCloseIcon/SidePanelCloseIcon.js +22 -0
- package/lib/icons/SidePanelOpenIcon/SidePanelOpenIcon.d.ts +25 -0
- package/lib/icons/SidePanelOpenIcon/SidePanelOpenIcon.js +22 -0
- package/lib/icons/SlackIcon/SlackIcon.d.ts +25 -0
- package/lib/icons/SlackIcon/SlackIcon.js +29 -0
- package/lib/icons/SortIcon/SortIcon.d.ts +25 -0
- package/lib/icons/SortIcon/SortIcon.js +25 -0
- package/lib/icons/Spinner/Spinner.d.ts +93 -0
- package/lib/icons/Spinner/Spinner.js +51 -0
- package/lib/icons/SpinnerIcon/SpinnerIcon.d.ts +25 -0
- package/lib/icons/SpinnerIcon/SpinnerIcon.js +34 -0
- package/lib/icons/StarFilledIcon/StarFilledIcon.d.ts +25 -0
- package/lib/icons/StarFilledIcon/StarFilledIcon.js +22 -0
- package/lib/icons/StarIcon/StarIcon.d.ts +25 -0
- package/lib/icons/StarIcon/StarIcon.js +22 -0
- package/lib/icons/StopIcon/StopIcon.d.ts +25 -0
- package/lib/icons/StopIcon/StopIcon.js +22 -0
- package/lib/icons/SubtractIcon/SubtractIcon.d.ts +25 -0
- package/lib/icons/SubtractIcon/SubtractIcon.js +22 -0
- package/lib/icons/SunIcon/SunIcon.d.ts +25 -0
- package/lib/icons/SunIcon/SunIcon.js +30 -0
- package/lib/icons/TableBuiltIcon/TableBuiltIcon.d.ts +25 -0
- package/lib/icons/TableBuiltIcon/TableBuiltIcon.js +22 -0
- package/lib/icons/TableIcon/TableIcon.d.ts +25 -0
- package/lib/icons/TableIcon/TableIcon.js +22 -0
- package/lib/icons/TagsIcon/TagsIcon.d.ts +25 -0
- package/lib/icons/TagsIcon/TagsIcon.js +24 -0
- package/lib/icons/TaskViewIcon/TaskViewIcon.d.ts +25 -0
- package/lib/icons/TaskViewIcon/TaskViewIcon.js +24 -0
- package/lib/icons/ThumbDownFilledIcon/ThumbDownFilledIcon.d.ts +25 -0
- package/lib/icons/ThumbDownFilledIcon/ThumbDownFilledIcon.js +34 -0
- package/lib/icons/ThumbDownIcon/ThumbDownIcon.d.ts +25 -0
- package/lib/icons/ThumbDownIcon/ThumbDownIcon.js +14 -0
- package/lib/icons/ThumbUpFilledIcon/ThumbUpFilledIcon.d.ts +25 -0
- package/lib/icons/ThumbUpFilledIcon/ThumbUpFilledIcon.js +34 -0
- package/lib/icons/ThumbUpIcon/ThumbUpIcon.d.ts +25 -0
- package/lib/icons/ThumbUpIcon/ThumbUpIcon.js +14 -0
- package/lib/icons/TimeIcon/TimeIcon.d.ts +25 -0
- package/lib/icons/TimeIcon/TimeIcon.js +23 -0
- package/lib/icons/TrashCanIcon/TrashCanIcon.d.ts +25 -0
- package/lib/icons/TrashCanIcon/TrashCanIcon.js +26 -0
- package/lib/icons/UserIcon/UserIcon.d.ts +25 -0
- package/lib/icons/UserIcon/UserIcon.js +23 -0
- package/lib/icons/VSCodeIcon/VSCodeIcon.d.ts +25 -0
- package/lib/icons/VSCodeIcon/VSCodeIcon.js +17 -0
- package/lib/icons/ValueVariableIcon/ValueVariableIcon.d.ts +25 -0
- package/lib/icons/ValueVariableIcon/ValueVariableIcon.js +23 -0
- package/lib/icons/VerticalViewIcon/VerticalViewIcon.d.ts +25 -0
- package/lib/icons/VerticalViewIcon/VerticalViewIcon.js +23 -0
- package/lib/icons/ViewIcon/ViewIcon.d.ts +25 -0
- package/lib/icons/ViewIcon/ViewIcon.js +23 -0
- package/lib/icons/ViewOffIcon/ViewOffIcon.d.ts +25 -0
- package/lib/icons/ViewOffIcon/ViewOffIcon.js +24 -0
- package/lib/icons/WarningAltFilled/WarningAltFilled.d.ts +25 -0
- package/lib/icons/WarningAltFilled/WarningAltFilled.js +23 -0
- package/lib/icons/WarningAltFilledIcon/WarningAltFilledIcon.d.ts +25 -0
- package/lib/icons/WarningAltFilledIcon/WarningAltFilledIcon.js +23 -0
- package/lib/icons/WarningAltIcon/WarningAltIcon.d.ts +25 -0
- package/lib/icons/WarningAltIcon/WarningAltIcon.js +24 -0
- package/lib/icons/WarningCycleIcon/WarningCycleIcon.d.ts +25 -0
- package/lib/icons/WarningCycleIcon/WarningCycleIcon.js +24 -0
- package/lib/icons/WarningFilledIcon/WarningFilledIcon.d.ts +25 -0
- package/lib/icons/WarningFilledIcon/WarningFilledIcon.js +22 -0
- package/lib/icons/WarningSquareIcon/WarningSquareIcon.d.ts +25 -0
- package/lib/icons/WarningSquareIcon/WarningSquareIcon.js +24 -0
- package/lib/icons/WorkflowAutomationIcon/WorkflowAutomationIcon.d.ts +25 -0
- package/lib/icons/WorkflowAutomationIcon/WorkflowAutomationIcon.js +24 -0
- package/lib/icons/WorkflowHierarchyIcon/WorkflowHierarchyIcon.d.ts +25 -0
- package/lib/icons/WorkflowHierarchyIcon/WorkflowHierarchyIcon.js +23 -0
- package/lib/icons/__tests__/IconTestUtils.d.ts +6 -0
- package/lib/icons/__tests__/IconTestUtils.js +49 -0
- package/lib/icons/types.d.ts +13 -0
- package/lib/icons/types.js +3 -0
- package/lib/index.d.ts +303 -0
- package/lib/layouts/CodeWalkthroughLayout.d.ts +6 -0
- package/lib/layouts/CodeWalkthroughLayout.js +77 -0
- package/lib/layouts/DocumentationLayout.d.ts +18 -0
- package/lib/layouts/DocumentationLayout.js +95 -0
- package/lib/layouts/DocumentationLayoutBottom.d.ts +11 -0
- package/lib/layouts/DocumentationLayoutBottom.js +28 -0
- package/lib/layouts/DocumentationLayoutTop.d.ts +13 -0
- package/lib/layouts/DocumentationLayoutTop.js +33 -0
- package/lib/layouts/Forbidden.d.ts +2 -0
- package/lib/layouts/Forbidden.js +49 -0
- package/lib/layouts/InternalServerErrorLayout.d.ts +2 -0
- package/lib/layouts/InternalServerErrorLayout.js +49 -0
- package/lib/layouts/McpNotAllowed.d.ts +2 -0
- package/lib/layouts/McpNotAllowed.js +67 -0
- package/lib/layouts/NotFound.d.ts +2 -0
- package/lib/layouts/NotFound.js +49 -0
- package/lib/layouts/OIDCForbidden.d.ts +2 -0
- package/lib/layouts/OIDCForbidden.js +102 -0
- package/lib/layouts/PageLayout.d.ts +7 -0
- package/lib/layouts/PageLayout.js +36 -0
- package/lib/layouts/RootLayout.d.ts +6 -0
- package/lib/layouts/RootLayout.js +23 -0
- package/lib/layouts/ThreePanelLayout.d.ts +35 -0
- package/lib/layouts/ThreePanelLayout.js +93 -0
- package/lib/markdoc/attributes/code-snippet-file.d.ts +5 -0
- package/lib/markdoc/attributes/code-snippet-file.js +16 -0
- package/lib/markdoc/attributes/code-walkthrough-filesets.d.ts +5 -0
- package/lib/markdoc/attributes/code-walkthrough-filesets.js +16 -0
- package/lib/markdoc/attributes/code-walkthrough-filters.d.ts +5 -0
- package/lib/markdoc/attributes/code-walkthrough-filters.js +16 -0
- package/lib/markdoc/attributes/diagram-file.d.ts +5 -0
- package/lib/markdoc/attributes/diagram-file.js +16 -0
- package/lib/markdoc/attributes/img-src.d.ts +5 -0
- package/lib/markdoc/attributes/img-src.js +16 -0
- package/lib/markdoc/attributes/img-srcset.d.ts +5 -0
- package/lib/markdoc/attributes/img-srcset.js +16 -0
- package/lib/markdoc/attributes/relative-path.d.ts +5 -0
- package/lib/markdoc/attributes/relative-path.js +16 -0
- package/lib/markdoc/attributes/svg-content.d.ts +5 -0
- package/lib/markdoc/attributes/svg-content.js +16 -0
- package/lib/markdoc/components/Accordion/Accordion.d.ts +9 -0
- package/lib/markdoc/components/Accordion/Accordion.js +132 -0
- package/lib/markdoc/components/Accordion/AccordionGroup.d.ts +6 -0
- package/lib/markdoc/components/Accordion/AccordionGroup.js +65 -0
- package/lib/markdoc/components/Accordion/variables.d.ts +1 -0
- package/lib/markdoc/components/Accordion/variables.js +40 -0
- package/lib/markdoc/components/Admonition/Admonition.d.ts +3 -0
- package/lib/markdoc/components/Admonition/Admonition.js +12 -0
- package/lib/markdoc/components/Cards/Card.d.ts +23 -0
- package/lib/markdoc/components/Cards/Card.js +186 -0
- package/lib/markdoc/components/Cards/CardBadge.d.ts +9 -0
- package/lib/markdoc/components/Cards/CardBadge.js +30 -0
- package/lib/markdoc/components/Cards/CardIcon.d.ts +16 -0
- package/lib/markdoc/components/Cards/CardIcon.js +37 -0
- package/lib/markdoc/components/Cards/CardImage.d.ts +7 -0
- package/lib/markdoc/components/Cards/CardImage.js +21 -0
- package/lib/markdoc/components/Cards/Cards.d.ts +8 -0
- package/lib/markdoc/components/Cards/Cards.js +59 -0
- package/lib/markdoc/components/Cards/variables.d.ts +1 -0
- package/lib/markdoc/components/Cards/variables.dark.d.ts +1 -0
- package/lib/markdoc/components/Cards/variables.dark.js +60 -0
- package/lib/markdoc/components/Cards/variables.js +163 -0
- package/lib/markdoc/components/CodeBlock/CodeBlock.d.ts +3 -0
- package/lib/markdoc/components/CodeBlock/CodeBlock.js +12 -0
- package/lib/markdoc/components/CodeGroup/CodeGroup.d.ts +4 -0
- package/lib/markdoc/components/CodeGroup/CodeGroup.js +104 -0
- package/lib/markdoc/components/CodeWalkthrough/CodeContainer.d.ts +6 -0
- package/lib/markdoc/components/CodeWalkthrough/CodeContainer.js +112 -0
- package/lib/markdoc/components/CodeWalkthrough/CodeFilters.d.ts +13 -0
- package/lib/markdoc/components/CodeWalkthrough/CodeFilters.js +68 -0
- package/lib/markdoc/components/CodeWalkthrough/CodePanel.d.ts +9 -0
- package/lib/markdoc/components/CodeWalkthrough/CodePanel.js +76 -0
- package/lib/markdoc/components/CodeWalkthrough/CodePanelHeader.d.ts +9 -0
- package/lib/markdoc/components/CodeWalkthrough/CodePanelHeader.js +177 -0
- package/lib/markdoc/components/CodeWalkthrough/CodePanelPreview.d.ts +2 -0
- package/lib/markdoc/components/CodeWalkthrough/CodePanelPreview.js +83 -0
- package/lib/markdoc/components/CodeWalkthrough/CodePanelToolbar.d.ts +6 -0
- package/lib/markdoc/components/CodeWalkthrough/CodePanelToolbar.js +57 -0
- package/lib/markdoc/components/CodeWalkthrough/CodeStep.d.ts +16 -0
- package/lib/markdoc/components/CodeWalkthrough/CodeStep.js +153 -0
- package/lib/markdoc/components/CodeWalkthrough/CodeToggle.d.ts +9 -0
- package/lib/markdoc/components/CodeWalkthrough/CodeToggle.js +79 -0
- package/lib/markdoc/components/CodeWalkthrough/CodeWalkthrough.d.ts +4 -0
- package/lib/markdoc/components/CodeWalkthrough/CodeWalkthrough.js +137 -0
- package/lib/markdoc/components/CodeWalkthrough/Input.d.ts +8 -0
- package/lib/markdoc/components/CodeWalkthrough/Input.js +111 -0
- package/lib/markdoc/components/CodeWalkthrough/variables.d.ts +1 -0
- package/lib/markdoc/components/CodeWalkthrough/variables.js +20 -0
- package/lib/markdoc/components/ConnectMCP/ConnectMCP.d.ts +8 -0
- package/lib/markdoc/components/ConnectMCP/ConnectMCP.js +19 -0
- package/lib/markdoc/components/Diagram/Diagram.d.ts +15 -0
- package/lib/markdoc/components/Diagram/Diagram.js +134 -0
- package/lib/markdoc/components/Diagram/variables.d.ts +1 -0
- package/lib/markdoc/components/Diagram/variables.js +15 -0
- package/lib/markdoc/components/Heading/Heading.d.ts +9 -0
- package/lib/markdoc/components/Heading/Heading.js +110 -0
- package/lib/markdoc/components/HtmlBlock/HtmlBlock.d.ts +4 -0
- package/lib/markdoc/components/HtmlBlock/HtmlBlock.js +41 -0
- package/lib/markdoc/components/Icon/Icon.d.ts +3 -0
- package/lib/markdoc/components/Icon/Icon.js +29 -0
- package/lib/markdoc/components/Image/Image.d.ts +7 -0
- package/lib/markdoc/components/Image/Image.js +45 -0
- package/lib/markdoc/components/InlineSvg/InlineSvg.d.ts +5 -0
- package/lib/markdoc/components/InlineSvg/InlineSvg.js +41 -0
- package/lib/markdoc/components/LoginButton/LoginButton.d.ts +9 -0
- package/lib/markdoc/components/LoginButton/LoginButton.js +48 -0
- package/lib/markdoc/components/MarkdocExample/MarkdocExample.d.ts +12 -0
- package/lib/markdoc/components/MarkdocExample/MarkdocExample.js +56 -0
- package/lib/markdoc/components/MarkdownLink/MarkdownLink.d.ts +7 -0
- package/lib/markdoc/components/MarkdownLink/MarkdownLink.js +61 -0
- 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/Prompt/Prompt.d.ts +15 -0
- package/lib/markdoc/components/Prompt/Prompt.js +163 -0
- package/lib/markdoc/components/Prompt/PromptActions.d.ts +13 -0
- package/lib/markdoc/components/Prompt/PromptActions.js +43 -0
- package/lib/markdoc/components/Prompt/PromptBody.d.ts +14 -0
- package/lib/markdoc/components/Prompt/PromptBody.js +99 -0
- package/lib/markdoc/components/Prompt/PromptCopyButton.d.ts +10 -0
- package/lib/markdoc/components/Prompt/PromptCopyButton.js +28 -0
- package/lib/markdoc/components/Prompt/PromptHeader.d.ts +9 -0
- package/lib/markdoc/components/Prompt/PromptHeader.js +57 -0
- package/lib/markdoc/components/Prompt/PromptShowHideButton.d.ts +7 -0
- package/lib/markdoc/components/Prompt/PromptShowHideButton.js +21 -0
- package/lib/markdoc/components/Prompt/PromptToggleLabel.d.ts +7 -0
- package/lib/markdoc/components/Prompt/PromptToggleLabel.js +28 -0
- package/lib/markdoc/components/Prompt/variables.d.ts +1 -0
- package/lib/markdoc/components/Prompt/variables.dark.d.ts +1 -0
- package/lib/markdoc/components/Prompt/variables.dark.js +8 -0
- package/lib/markdoc/components/Prompt/variables.js +44 -0
- package/lib/markdoc/components/Tabs/Tab.d.ts +16 -0
- package/lib/markdoc/components/Tabs/Tab.js +27 -0
- package/lib/markdoc/components/Tabs/TabItemFragment.d.ts +9 -0
- package/lib/markdoc/components/Tabs/TabItemFragment.js +11 -0
- package/lib/markdoc/components/Tabs/TabList.d.ts +33 -0
- package/lib/markdoc/components/Tabs/TabList.js +439 -0
- package/lib/markdoc/components/Tabs/Tabs.d.ts +18 -0
- package/lib/markdoc/components/Tabs/Tabs.js +159 -0
- package/lib/markdoc/components/Tabs/variables.d.ts +1 -0
- package/lib/markdoc/components/Tabs/variables.js +105 -0
- package/lib/markdoc/components/default.d.ts +31 -0
- package/lib/markdoc/components/default.js +48 -0
- package/lib/markdoc/default.d.ts +61 -0
- package/lib/markdoc/default.js +104 -0
- package/lib/markdoc/tags/accordion-group.d.ts +2 -0
- package/lib/markdoc/tags/accordion-group.js +13 -0
- package/lib/markdoc/tags/accordion.d.ts +2 -0
- package/lib/markdoc/tags/accordion.js +14 -0
- package/lib/markdoc/tags/admonition.d.ts +2 -0
- package/lib/markdoc/tags/admonition.js +19 -0
- package/lib/markdoc/tags/card.d.ts +2 -0
- package/lib/markdoc/tags/card.js +74 -0
- package/lib/markdoc/tags/cards.d.ts +2 -0
- package/lib/markdoc/tags/cards.js +20 -0
- package/lib/markdoc/tags/code-group.d.ts +2 -0
- package/lib/markdoc/tags/code-group.js +23 -0
- package/lib/markdoc/tags/code-snippet.d.ts +2 -0
- package/lib/markdoc/tags/code-snippet.js +60 -0
- package/lib/markdoc/tags/code-step.d.ts +2 -0
- package/lib/markdoc/tags/code-step.js +25 -0
- package/lib/markdoc/tags/code-toggle.d.ts +2 -0
- package/lib/markdoc/tags/code-toggle.js +40 -0
- package/lib/markdoc/tags/code-walkthrough.d.ts +8 -0
- package/lib/markdoc/tags/code-walkthrough.js +245 -0
- package/lib/markdoc/tags/connect-mcp.d.ts +2 -0
- package/lib/markdoc/tags/connect-mcp.js +43 -0
- package/lib/markdoc/tags/debug.d.ts +2 -0
- package/lib/markdoc/tags/debug.js +20 -0
- package/lib/markdoc/tags/diagram.d.ts +2 -0
- package/lib/markdoc/tags/diagram.js +63 -0
- package/lib/markdoc/tags/html.d.ts +2 -0
- package/lib/markdoc/tags/html.js +26 -0
- package/lib/markdoc/tags/icon.d.ts +2 -0
- package/lib/markdoc/tags/icon.js +16 -0
- package/lib/markdoc/tags/img.d.ts +2 -0
- package/lib/markdoc/tags/img.js +90 -0
- package/lib/markdoc/tags/inline-svg.d.ts +2 -0
- package/lib/markdoc/tags/inline-svg.js +16 -0
- package/lib/markdoc/tags/input.d.ts +2 -0
- package/lib/markdoc/tags/input.js +37 -0
- package/lib/markdoc/tags/login-button.d.ts +2 -0
- package/lib/markdoc/tags/login-button.js +32 -0
- package/lib/markdoc/tags/markdoc-example.d.ts +2 -0
- package/lib/markdoc/tags/markdoc-example.js +68 -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/markdoc/tags/partial.d.ts +2 -0
- package/lib/markdoc/tags/partial.js +36 -0
- package/lib/markdoc/tags/prompt.d.ts +2 -0
- package/lib/markdoc/tags/prompt.js +56 -0
- package/lib/markdoc/tags/tab.d.ts +2 -0
- package/lib/markdoc/tags/tab.js +15 -0
- package/lib/markdoc/tags/tabs.d.ts +2 -0
- package/lib/markdoc/tags/tabs.js +35 -0
- package/lib/markdoc/tags/types.d.ts +22 -0
- package/lib/markdoc/tags/types.js +3 -0
- package/lib/plugin.d.ts +4 -0
- package/lib/plugin.js +5 -0
- package/package.json +2 -2
- package/src/components/Accordion/Accordion.tsx +104 -0
- package/src/components/Accordion/AccordionBody.tsx +65 -0
- package/src/components/Accordion/AccordionHeader.tsx +68 -0
- package/src/components/Accordion/AccordionTitle.tsx +26 -0
- package/src/components/Accordion/variables.ts +56 -0
- package/src/components/Admonition/Admonition.tsx +127 -0
- package/src/components/Admonition/variables.dark.ts +18 -0
- package/src/components/Admonition/variables.ts +106 -0
- package/src/components/ApiOnboarding/AppCustomAttributes.tsx +9 -0
- package/src/components/Badge/Badge.tsx +71 -0
- package/src/components/Banner/Banner.tsx +240 -0
- package/src/components/Banner/variables.dark.ts +12 -0
- package/src/components/Banner/variables.ts +53 -0
- package/src/components/Breadcrumbs/Breadcrumb.tsx +102 -0
- package/src/components/Breadcrumbs/BreadcrumbDropdown.tsx +187 -0
- package/src/components/Breadcrumbs/BreadcrumbIcon.tsx +30 -0
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +159 -0
- package/src/components/Breadcrumbs/variables.ts +29 -0
- package/src/components/Button/Button.tsx +244 -0
- package/src/components/Button/ButtonGroup.tsx +71 -0
- package/src/components/Button/ShowMoreToggleButton.tsx +33 -0
- package/src/components/Button/variables.dark.ts +27 -0
- package/src/components/Button/variables.ts +277 -0
- package/src/components/Buttons/AIAssistantButton.tsx +150 -0
- package/src/components/Buttons/ConnectMCPButton.tsx +175 -0
- package/src/components/Buttons/CopyButton.tsx +112 -0
- package/src/components/Buttons/DownloadButton.tsx +49 -0
- package/src/components/Buttons/EditPageButton.tsx +41 -0
- package/src/components/Buttons/EmailButton.tsx +40 -0
- package/src/components/Buttons/NewTabButton.tsx +44 -0
- package/src/components/Buttons/variables.dark.ts +7 -0
- package/src/components/Buttons/variables.ts +56 -0
- package/src/components/Catalog/Catalog.tsx +305 -0
- package/src/components/Catalog/CatalogActionsRow.tsx +79 -0
- package/src/components/Catalog/CatalogAvatar.tsx +64 -0
- package/src/components/Catalog/CatalogCardView/CatalogCard.tsx +260 -0
- package/src/components/Catalog/CatalogCardView/CatalogCardView.tsx +38 -0
- package/src/components/Catalog/CatalogEntities.tsx +126 -0
- package/src/components/Catalog/CatalogEntitiesEmptyState.tsx +96 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntity.tsx +207 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsEdge.tsx +63 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsGraph.lazy.tsx +9 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsGraph.tsx +102 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsLinkedNode.tsx +31 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsNode.tsx +45 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsNodeContent.tsx +82 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsRootNode.tsx +31 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityHistoryButton.tsx +197 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityHistorySidebar.tsx +237 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityRevisionItem.tsx +109 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityVersionItem.tsx +260 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityInfoBar.tsx +78 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityLinks.tsx +67 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityMetadata.tsx +110 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityMethodAndPath.tsx +68 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/CatalogEntityProperties.tsx +94 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/CatalogEntityPropertyCard.tsx +75 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/ContactProperty.tsx +48 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/DomainsProperty.tsx +51 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/EntityTypeProperty.tsx +46 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/FormatProperty.tsx +43 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/GitProperty.tsx +46 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/OwnersProperty.tsx +58 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/TagsProperty.tsx +46 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/UserEmailProperty.tsx +36 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityApiDescriptionRelations.tsx +128 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityDefaultRelations.tsx +123 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelations.tsx +135 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTable.tsx +116 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTableContent.tsx +85 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityTeamRelations.tsx +148 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntitySchema.tsx +126 -0
- package/src/components/Catalog/CatalogEntity/ShowMoreButton.tsx +47 -0
- package/src/components/Catalog/CatalogEntityIcon.tsx +87 -0
- package/src/components/Catalog/CatalogEntityTypeIcon.tsx +67 -0
- package/src/components/Catalog/CatalogEntityTypeTag.tsx +58 -0
- package/src/components/Catalog/CatalogFilter/CatalogFilter.tsx +61 -0
- package/src/components/Catalog/CatalogFilter/CatalogFilterCheckboxes.tsx +190 -0
- package/src/components/Catalog/CatalogFilter/CatalogFilterContent.tsx +132 -0
- package/src/components/Catalog/CatalogFilter/CatalogFilterDateRange.tsx +148 -0
- package/src/components/Catalog/CatalogFilter/CatalogFilterSelect.tsx +137 -0
- package/src/components/Catalog/CatalogHighlight.tsx +57 -0
- package/src/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanel.tsx +32 -0
- package/src/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanelHeader.tsx +35 -0
- package/src/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanelOverlay.tsx +41 -0
- package/src/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBar.tsx +55 -0
- package/src/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBarControls.tsx +34 -0
- package/src/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBarFiltersButton.tsx +40 -0
- package/src/components/Catalog/CatalogPageDescription.tsx +67 -0
- package/src/components/Catalog/CatalogSelector.tsx +68 -0
- package/src/components/Catalog/CatalogSortButton.tsx +80 -0
- package/src/components/Catalog/CatalogTableView/CatalogDomainsCell.tsx +31 -0
- package/src/components/Catalog/CatalogTableView/CatalogEntityCell.tsx +64 -0
- package/src/components/Catalog/CatalogTableView/CatalogEntityRelationCell.tsx +19 -0
- package/src/components/Catalog/CatalogTableView/CatalogLastUpdateCell.tsx +54 -0
- package/src/components/Catalog/CatalogTableView/CatalogOwnersCell.tsx +30 -0
- package/src/components/Catalog/CatalogTableView/CatalogTableHeaderCell.tsx +115 -0
- package/src/components/Catalog/CatalogTableView/CatalogTableView.tsx +195 -0
- package/src/components/Catalog/CatalogTableView/CatalogTableViewRow.tsx +163 -0
- package/src/components/Catalog/CatalogTableView/CatalogTagsCell.tsx +30 -0
- package/src/components/Catalog/CatalogTableView/CatalogUserEntityCell.tsx +58 -0
- package/src/components/Catalog/CatalogTags.tsx +118 -0
- package/src/components/Catalog/CatalogViewModeToggle.tsx +50 -0
- package/src/components/Catalog/variables.dark.ts +5 -0
- package/src/components/Catalog/variables.ts +585 -0
- package/src/components/CatalogClassic/CatalogClassic.tsx +183 -0
- package/src/components/CatalogClassic/CatalogClassicActions.tsx +70 -0
- package/src/components/CatalogClassic/CatalogClassicCard.tsx +176 -0
- package/src/components/CatalogClassic/CatalogClassicHighlight.tsx +58 -0
- package/src/components/CatalogClassic/CatalogClassicInfoBlock.tsx +86 -0
- package/src/components/CatalogClassic/CatalogClassicVirtualizedGroups.tsx +241 -0
- package/src/components/CatalogClassic/variables.ts +106 -0
- package/src/components/CodeBlock/CodeBlock.tsx +213 -0
- package/src/components/CodeBlock/CodeBlockContainer.tsx +350 -0
- package/src/components/CodeBlock/CodeBlockControls.tsx +278 -0
- package/src/components/CodeBlock/CodeBlockDropdown.tsx +44 -0
- package/src/components/CodeBlock/CodeBlockTabs.tsx +145 -0
- package/src/components/CodeBlock/variables.dark.ts +5 -0
- package/src/components/CodeBlock/variables.ts +138 -0
- package/src/components/ColorModeSwitcher/ColorModeIcon.tsx +36 -0
- package/src/components/ColorModeSwitcher/ColorModeSwitcher.tsx +32 -0
- package/src/components/Consent/Consent.tsx +18 -0
- package/src/components/Consent/ConsentBanner.tsx +110 -0
- package/src/components/Consent/ConsentDialog.tsx +210 -0
- package/src/components/Consent/ConsentSettingsLink.tsx +44 -0
- package/src/components/Consent/variables.ts +28 -0
- package/src/components/DatePicker/DatePicker.tsx +74 -0
- package/src/components/DatePicker/variables.ts +23 -0
- package/src/components/Dropdown/Dropdown.tsx +268 -0
- package/src/components/Dropdown/DropdownMenu.tsx +78 -0
- package/src/components/Dropdown/DropdownMenuItem.tsx +201 -0
- package/src/components/Dropdown/DropdownMenuItemContent.tsx +72 -0
- package/src/components/Dropdown/variables.ts +66 -0
- package/src/components/Feedback/Comment.tsx +195 -0
- package/src/components/Feedback/Feedback.tsx +91 -0
- package/src/components/Feedback/Mood.tsx +383 -0
- package/src/components/Feedback/Rating.tsx +270 -0
- package/src/components/Feedback/Reasons.tsx +100 -0
- package/src/components/Feedback/ReportDialog.tsx +86 -0
- package/src/components/Feedback/Scale.tsx +338 -0
- package/src/components/Feedback/Sentiment.tsx +337 -0
- package/src/components/Feedback/Stars.tsx +58 -0
- package/src/components/Feedback/variables.ts +31 -0
- package/src/components/Filter/Filter.tsx +42 -0
- package/src/components/Filter/FilterCheckboxes.tsx +87 -0
- package/src/components/Filter/FilterContent.tsx +119 -0
- package/src/components/Filter/FilterDateRange.tsx +97 -0
- package/src/components/Filter/FilterInput.tsx +90 -0
- package/src/components/Filter/FilterOption.tsx +34 -0
- package/src/components/Filter/FilterOptionLabel.tsx +19 -0
- package/src/components/Filter/FilterOptions.tsx +21 -0
- package/src/components/Filter/FilterPopover.tsx +93 -0
- package/src/components/Filter/FilterSelect.tsx +87 -0
- package/src/components/Filter/FilterTitle.tsx +18 -0
- package/src/components/Filter/variables.ts +99 -0
- package/src/components/Footer/Footer.tsx +113 -0
- package/src/components/Footer/FooterColumn.tsx +103 -0
- package/src/components/Footer/FooterCopyright.tsx +53 -0
- package/src/components/Footer/FooterItem.tsx +106 -0
- package/src/components/Footer/variables.ts +59 -0
- package/src/components/Image/Image.tsx +311 -0
- package/src/components/Image/__tests__/images/test-image.png +0 -0
- package/src/components/Image/variables.ts +58 -0
- package/src/components/JsonViewer/Helpers.tsx +250 -0
- package/src/components/JsonViewer/JsonViewer.tsx +128 -0
- package/src/components/LanguagePicker/LanguagePicker.tsx +115 -0
- package/src/components/LanguagePicker/variables.ts +37 -0
- package/src/components/LastUpdated/LastUpdated.tsx +91 -0
- package/src/components/LastUpdated/variables.ts +8 -0
- package/src/components/Link/Link.tsx +23 -0
- package/src/components/LoadMore/LoadMore.tsx +40 -0
- package/src/components/LoadProgressBar/LoadProgressBar.tsx +113 -0
- package/src/components/Loaders/Loading.tsx +33 -0
- package/src/components/Loaders/SpinnerLoader.tsx +33 -0
- package/src/components/Logo/Logo.tsx +57 -0
- package/src/components/Logo/variables.ts +14 -0
- package/src/components/MCP/McpConnectionTabs.tsx +301 -0
- package/src/components/Markdown/Markdown.tsx +378 -0
- package/src/components/Markdown/styles/base-table.ts +88 -0
- package/src/components/Markdown/styles/heading-anchor.ts +34 -0
- package/src/components/Markdown/styles/links.ts +25 -0
- package/src/components/Markdown/variables.ts +101 -0
- package/src/components/Marker/Marker.tsx +53 -0
- package/src/components/Menu/Menu.tsx +70 -0
- package/src/components/Menu/MenuContainer.tsx +75 -0
- package/src/components/Menu/MenuItem.tsx +495 -0
- package/src/components/Menu/MenuMobile.tsx +188 -0
- package/src/components/Menu/MenuSelect.tsx +198 -0
- package/src/components/Menu/variables.dark.ts +12 -0
- package/src/components/Menu/variables.ts +224 -0
- package/src/components/Navbar/Navbar.tsx +157 -0
- package/src/components/Navbar/NavbarItem.tsx +157 -0
- package/src/components/Navbar/NavbarLogo.tsx +18 -0
- package/src/components/Navbar/NavbarMenu.tsx +48 -0
- package/src/components/Navbar/variables.ts +54 -0
- package/src/components/NavigationTabs/NavigationTab.tsx +148 -0
- package/src/components/NavigationTabs/NavigationTabContent.tsx +66 -0
- package/src/components/NavigationTabs/NavigationTabMenu.tsx +40 -0
- package/src/components/NavigationTabs/NavigationTabs.tsx +83 -0
- package/src/components/NavigationTabs/variables.ts +34 -0
- package/src/components/OpenApiDocs/hooks/AfterOpenApiOperation.tsx +9 -0
- package/src/components/OpenApiDocs/hooks/AfterOpenApiTitle.tsx +9 -0
- package/src/components/OpenApiDocs/hooks/BeforeOpenApiOperation.tsx +9 -0
- package/src/components/OpenApiDocs/hooks/OpenApiFooter.tsx +5 -0
- package/src/components/OpenApiDocs/hooks/OpenApiHeader.tsx +5 -0
- package/src/components/PageActions/PageActions.tsx +141 -0
- package/src/components/PageActions/PageActionsMenuItem.tsx +59 -0
- package/src/components/PageActions/variables.dark.ts +6 -0
- package/src/components/PageActions/variables.ts +36 -0
- package/src/components/PageNavigation/NavigationButton.tsx +78 -0
- package/src/components/PageNavigation/NextButton.tsx +43 -0
- package/src/components/PageNavigation/PageNavigation.tsx +54 -0
- package/src/components/PageNavigation/PreviousButton.tsx +44 -0
- package/src/components/PageNavigation/variables.ts +24 -0
- package/src/components/Panel/Panel.tsx +115 -0
- package/src/components/Panel/PanelBody.tsx +44 -0
- package/src/components/Panel/PanelHeader.tsx +49 -0
- package/src/components/Panel/PanelHeaderTitle.tsx +13 -0
- package/src/components/Panel/variables.ts +411 -0
- package/src/components/Portal/Portal.tsx +25 -0
- package/src/components/Product/Product.tsx +29 -0
- package/src/components/Product/ProductPicker.tsx +95 -0
- package/src/components/Product/utils.ts +6 -0
- package/src/components/Product/variables.ts +40 -0
- package/src/components/ReplayGate/ReplayGate.tsx +21 -0
- package/src/components/ReplaySecuritySchemeActions/ReplaySecuritySchemeActions.tsx +19 -0
- package/src/components/ReplayTopBarActions/ReplayTopBarActions.tsx +14 -0
- package/src/components/Scorecard/variables.dark.ts +17 -0
- package/src/components/Scorecard/variables.ts +21 -0
- package/src/components/Search/FilterFields/SearchFilterFieldSelect.tsx +130 -0
- package/src/components/Search/FilterFields/SearchFilterFieldTags.tsx +76 -0
- package/src/components/Search/Search.tsx +36 -0
- package/src/components/Search/SearchAiActionButtons.tsx +88 -0
- package/src/components/Search/SearchAiActivity.tsx +318 -0
- package/src/components/Search/SearchAiConversationInput.tsx +193 -0
- package/src/components/Search/SearchAiDialog.tsx +317 -0
- package/src/components/Search/SearchAiMessage.tsx +348 -0
- package/src/components/Search/SearchAiNegativeFeedbackForm.tsx +212 -0
- package/src/components/Search/SearchAiResponse.tsx +247 -0
- package/src/components/Search/SearchDialog.tsx +790 -0
- package/src/components/Search/SearchFilter.tsx +95 -0
- package/src/components/Search/SearchFilterField.tsx +87 -0
- package/src/components/Search/SearchGroups.tsx +89 -0
- package/src/components/Search/SearchHighlight.tsx +49 -0
- package/src/components/Search/SearchInput.tsx +122 -0
- package/src/components/Search/SearchItem.tsx +278 -0
- package/src/components/Search/SearchRecent.tsx +134 -0
- package/src/components/Search/SearchShortcut.tsx +34 -0
- package/src/components/Search/SearchSuggestedPages.tsx +102 -0
- package/src/components/Search/SearchTrigger.tsx +145 -0
- package/src/components/Search/should-show-load-more.ts +30 -0
- package/src/components/Search/variables.ts +284 -0
- package/src/components/Segmented/Segmented.tsx +95 -0
- package/src/components/Segmented/variables.dark.ts +6 -0
- package/src/components/Segmented/variables.ts +23 -0
- package/src/components/Select/Select.tsx +329 -0
- package/src/components/Select/SelectInput.tsx +235 -0
- package/src/components/Select/variables.ts +45 -0
- package/src/components/Sidebar/Sidebar.tsx +155 -0
- package/src/components/Sidebar/variables.ts +57 -0
- package/src/components/SidebarActions/ChangeViewButton.tsx +58 -0
- package/src/components/SidebarActions/SidebarActions.tsx +94 -0
- package/src/components/SidebarActions/styled.ts +83 -0
- package/src/components/SidebarLogo/SidebarLogo.tsx +56 -0
- package/src/components/SkipContent/SkipContent.tsx +47 -0
- package/src/components/SkipContent/variables.ts +20 -0
- package/src/components/SplitButton/SplitButton.tsx +104 -0
- package/src/components/StatusCode/StatusCode.tsx +42 -0
- package/src/components/StatusCode/variables.dark.ts +5 -0
- package/src/components/StatusCode/variables.ts +13 -0
- package/src/components/SvgViewer/SvgViewer.tsx +401 -0
- package/src/components/SvgViewer/variables.ts +14 -0
- package/src/components/Switch/Switch.tsx +109 -0
- package/src/components/Switch/variables.dark.ts +34 -0
- package/src/components/Switch/variables.ts +34 -0
- package/src/components/TableOfContent/TableOfContent.tsx +142 -0
- package/src/components/TableOfContent/variables.ts +47 -0
- package/src/components/Tag/Tag.tsx +296 -0
- package/src/components/Tag/variables.dark.ts +292 -0
- package/src/components/Tag/variables.ts +409 -0
- package/src/components/Tags/CounterTag.tsx +13 -0
- package/src/components/Tags/HttpTag.tsx +24 -0
- package/src/components/Tags/variables.ts +18 -0
- package/src/components/Toast/Toast.tsx +289 -0
- package/src/components/Toast/variables.ts +61 -0
- package/src/components/Tooltip/AnchorTooltip.tsx +274 -0
- package/src/components/Tooltip/JsTooltip.tsx +278 -0
- package/src/components/Tooltip/Tooltip.tsx +35 -0
- package/src/components/Tooltip/variables.dark.ts +10 -0
- package/src/components/Tooltip/variables.ts +39 -0
- package/src/components/Typography/CompactTypography.tsx +13 -0
- package/src/components/Typography/Emphasis.tsx +8 -0
- package/src/components/Typography/H1.tsx +13 -0
- package/src/components/Typography/H2.tsx +13 -0
- package/src/components/Typography/H3.tsx +13 -0
- package/src/components/Typography/H4.tsx +13 -0
- package/src/components/Typography/SectionHeader.tsx +14 -0
- package/src/components/Typography/Typography.tsx +47 -0
- package/src/components/UserMenu/LoginButton.tsx +52 -0
- package/src/components/UserMenu/LogoutMenuItem.tsx +39 -0
- package/src/components/UserMenu/UserAvatar.tsx +65 -0
- package/src/components/UserMenu/UserInfoMenuItem.tsx +75 -0
- package/src/components/UserMenu/UserMenu.tsx +129 -0
- package/src/components/UserMenu/UserMenuMobile.tsx +66 -0
- package/src/components/UserMenu/variables.ts +64 -0
- package/src/components/VersionPicker/VersionPicker.tsx +117 -0
- package/src/components/VersionPicker/variables.ts +40 -0
- package/src/config.ts +39 -0
- package/src/core/constants/accordion.ts +4 -0
- package/src/core/constants/breadcrumb.ts +1 -0
- package/src/core/constants/catalog.ts +88 -0
- package/src/core/constants/code-walkthrough.ts +1 -0
- package/src/core/constants/common.ts +40 -0
- package/src/core/constants/consent.ts +29 -0
- package/src/core/constants/environments.ts +13 -0
- package/src/core/constants/feedback.ts +2 -0
- package/src/core/constants/heading.ts +9 -0
- package/src/core/constants/index.ts +14 -0
- package/src/core/constants/markdown.ts +5 -0
- package/src/core/constants/mcp.ts +9 -0
- package/src/core/constants/prompt.ts +34 -0
- package/src/core/constants/request-methods.ts +10 -0
- package/src/core/constants/search.ts +90 -0
- package/src/core/constants/toast.ts +1 -0
- package/src/core/contexts/AccordionGroupContext.tsx +3 -0
- package/src/core/contexts/CodeSnippetContext.tsx +67 -0
- package/src/core/contexts/CodeWalkthrough/CodeWalkthroughControlsContext.tsx +15 -0
- package/src/core/contexts/CodeWalkthrough/CodeWalkthroughStepsContext.tsx +13 -0
- package/src/core/contexts/MarkdownLinkContext.tsx +9 -0
- package/src/core/contexts/PageActionsContext.tsx +7 -0
- package/src/core/contexts/PortalContainerContext.tsx +4 -0
- package/src/core/contexts/SearchContext.tsx +31 -0
- package/src/core/contexts/ThemeDataContext.tsx +16 -0
- package/src/core/contexts/Toast/ToastContext.tsx +5 -0
- package/src/core/contexts/Toast/ToastProvider.tsx +206 -0
- package/src/core/contexts/index.ts +10 -0
- package/src/core/hoc/index.ts +1 -0
- package/src/core/hoc/typed-memo.ts +3 -0
- package/src/core/hooks/__mocks__/index.ts +35 -0
- package/src/core/hooks/__mocks__/search/use-recent-searches.ts +10 -0
- package/src/core/hooks/__mocks__/search/use-search-filter.ts +12 -0
- package/src/core/hooks/__mocks__/search/use-suggested-pages.ts +10 -0
- package/src/core/hooks/__mocks__/use-anchor-positioning.ts +3 -0
- package/src/core/hooks/__mocks__/use-controlled-state.ts +6 -0
- package/src/core/hooks/__mocks__/use-element-size.ts +6 -0
- package/src/core/hooks/__mocks__/use-input-key-commands.ts +13 -0
- package/src/core/hooks/__mocks__/use-mobile-menu.ts +11 -0
- package/src/core/hooks/__mocks__/use-theme-config.ts +10 -0
- package/src/core/hooks/__mocks__/use-theme-hooks.ts +131 -0
- package/src/core/hooks/__mocks__/use-time-ago.ts +5 -0
- package/src/core/hooks/__tests__/mocks/mock-intersection-observer.ts +51 -0
- package/src/core/hooks/catalog/use-catalog-entities.ts +19 -0
- package/src/core/hooks/catalog/use-catalog-entity-details.ts +52 -0
- package/src/core/hooks/catalog/use-catalog-entity-link.ts +46 -0
- package/src/core/hooks/catalog/use-catalog-entity-schema.ts +46 -0
- package/src/core/hooks/catalog/use-catalog-table-header-cell-actions.ts +40 -0
- package/src/core/hooks/catalog/use-graph.ts +236 -0
- package/src/core/hooks/code-walkthrough/__mocks__/MockIntersectionObserver.ts +23 -0
- package/src/core/hooks/code-walkthrough/__mocks__/mock-intersection-observer.ts +25 -0
- package/src/core/hooks/code-walkthrough/use-code-panel.ts +163 -0
- package/src/core/hooks/code-walkthrough/use-code-walkthrough-controls.ts +280 -0
- package/src/core/hooks/code-walkthrough/use-code-walkthrough-steps.ts +452 -0
- package/src/core/hooks/code-walkthrough/use-code-walkthrough.ts +54 -0
- package/src/core/hooks/code-walkthrough/use-renderable-files.ts +48 -0
- package/src/core/hooks/feedback/use-report-dialog.ts +53 -0
- package/src/core/hooks/index.ts +67 -0
- package/src/core/hooks/menu/__mocks__/use-mobile-menu-items.ts +43 -0
- package/src/core/hooks/menu/use-collapse.ts +211 -0
- package/src/core/hooks/menu/use-menu-item-expanded.ts +32 -0
- package/src/core/hooks/menu/use-mobile-menu-items.ts +143 -0
- package/src/core/hooks/menu/use-mobile-menu-levels.ts +59 -0
- package/src/core/hooks/menu/use-nested-menu.ts +92 -0
- package/src/core/hooks/prompt/use-prompt-actions.ts +28 -0
- package/src/core/hooks/prompt/use-prompt-text-limit.ts +59 -0
- package/src/core/hooks/search/use-feedback-tooltip.ts +32 -0
- package/src/core/hooks/search/use-persisted-quick-filter.ts +125 -0
- package/src/core/hooks/search/use-recent-searches.ts +56 -0
- package/src/core/hooks/search/use-search-ai-activity.ts +31 -0
- package/src/core/hooks/search/use-search-dialog.ts +59 -0
- package/src/core/hooks/search/use-search-filter.ts +61 -0
- package/src/core/hooks/search/use-suggested-pages.ts +7 -0
- package/src/core/hooks/use-active-heading.ts +355 -0
- package/src/core/hooks/use-active-page-version.ts +9 -0
- package/src/core/hooks/use-active-section-id.ts +83 -0
- package/src/core/hooks/use-anchor-positioning.ts +22 -0
- package/src/core/hooks/use-banner-telemetry.ts +57 -0
- package/src/core/hooks/use-codeblock-tabs-controls.ts +67 -0
- package/src/core/hooks/use-color-switcher.ts +76 -0
- package/src/core/hooks/use-connect-mcp-button.ts +104 -0
- package/src/core/hooks/use-consent-dialog.ts +51 -0
- package/src/core/hooks/use-consent-telemetry.ts +56 -0
- package/src/core/hooks/use-control.ts +42 -0
- package/src/core/hooks/use-controlled-state.ts +23 -0
- package/src/core/hooks/use-dialog-hotkeys.ts +51 -0
- package/src/core/hooks/use-element-size.ts +99 -0
- package/src/core/hooks/use-focus-trap.ts +39 -0
- package/src/core/hooks/use-full-height.ts +49 -0
- package/src/core/hooks/use-input-key-commands.ts +100 -0
- package/src/core/hooks/use-is-truncated.ts +20 -0
- package/src/core/hooks/use-language-picker.ts +59 -0
- package/src/core/hooks/use-local-state.ts +40 -0
- package/src/core/hooks/use-mcp-config.ts +61 -0
- package/src/core/hooks/use-mobile-menu.ts +25 -0
- package/src/core/hooks/use-modal-scroll-lock.ts +56 -0
- package/src/core/hooks/use-mount.ts +8 -0
- package/src/core/hooks/use-navbar-height.ts +25 -0
- package/src/core/hooks/use-outside-click.ts +34 -0
- package/src/core/hooks/use-page-actions.ts +364 -0
- package/src/core/hooks/use-page-versions.ts +20 -0
- package/src/core/hooks/use-pointer-border-highlight.ts +46 -0
- package/src/core/hooks/use-product-picker.ts +49 -0
- package/src/core/hooks/use-scroll-item-into-view.ts +18 -0
- package/src/core/hooks/use-store.ts +95 -0
- package/src/core/hooks/use-tab-list.ts +63 -0
- package/src/core/hooks/use-tabs.ts +353 -0
- package/src/core/hooks/use-telemetry-fallback.ts +88 -0
- package/src/core/hooks/use-theme-config.ts +33 -0
- package/src/core/hooks/use-theme-hooks.ts +60 -0
- package/src/core/hooks/use-time-ago.ts +55 -0
- package/src/core/hooks/use-toast-logic.ts +203 -0
- package/src/core/hooks/use-toast.ts +47 -0
- package/src/core/hooks/use-tooltip-fallback-placement.ts +73 -0
- package/src/core/hooks/use-unique-svg-ids.ts +12 -0
- package/src/core/hooks/use-unmount.ts +10 -0
- package/src/core/hooks/use-user-teams.ts +8 -0
- package/src/core/index.ts +7 -0
- package/src/core/openapi/index.ts +42 -0
- package/src/core/styles/dark.ts +382 -0
- package/src/core/styles/global.ts +1403 -0
- package/src/core/styles/index.ts +4 -0
- package/src/core/styles/palette.dark.ts +234 -0
- package/src/core/styles/palette.ts +249 -0
- package/src/core/styles/search-ai-appear.ts +16 -0
- package/src/core/styles/xyflow.ts +620 -0
- package/src/core/templates/Markdown.tsx +83 -0
- package/src/core/types/breadcrumb.ts +1 -0
- package/src/core/types/button-group.ts +2 -0
- package/src/core/types/catalog.ts +280 -0
- package/src/core/types/code-walkthrough.ts +118 -0
- package/src/core/types/common.ts +8 -0
- package/src/core/types/consent.ts +51 -0
- package/src/core/types/dropdown.ts +1 -0
- package/src/core/types/feedback.ts +27 -0
- package/src/core/types/filter.ts +13 -0
- package/src/core/types/hooks.ts +238 -0
- package/src/core/types/index.ts +29 -0
- package/src/core/types/l10n.ts +567 -0
- package/src/core/types/link.ts +20 -0
- package/src/core/types/markdown.ts +5 -0
- package/src/core/types/marker.ts +4 -0
- package/src/core/types/mcp.ts +10 -0
- package/src/core/types/navbar.ts +7 -0
- package/src/core/types/navigation-tabs.ts +54 -0
- package/src/core/types/open-api-info.ts +34 -0
- package/src/core/types/open-api-server.ts +13 -0
- package/src/core/types/page-actions.ts +18 -0
- package/src/core/types/prompt.ts +11 -0
- package/src/core/types/search.ts +162 -0
- package/src/core/types/segmented.ts +15 -0
- package/src/core/types/select.ts +35 -0
- package/src/core/types/sidebar.ts +74 -0
- package/src/core/types/toast.ts +28 -0
- package/src/core/types/tooltip.ts +18 -0
- package/src/core/types/user-claims.ts +6 -0
- package/src/core/types/user-menu.ts +12 -0
- package/src/core/utils/Dynamic.tsx +117 -0
- package/src/core/utils/GetFileIcon.tsx +94 -0
- package/src/core/utils/RenderWithLink.tsx +19 -0
- package/src/core/utils/add-line-numbers.ts +16 -0
- package/src/core/utils/args-typecheck.ts +7 -0
- package/src/core/utils/assign-ref.ts +9 -0
- package/src/core/utils/attribute-parser.ts +11 -0
- package/src/core/utils/build-revision-url.ts +16 -0
- package/src/core/utils/change-text-casing.ts +25 -0
- package/src/core/utils/class-names.ts +16 -0
- package/src/core/utils/clipboard-service.ts +27 -0
- package/src/core/utils/color.ts +12 -0
- package/src/core/utils/consent-settings-link-placement.ts +18 -0
- package/src/core/utils/content-segments.ts +119 -0
- package/src/core/utils/css-variables.ts +4 -0
- package/src/core/utils/custom-catalog-options-casing.ts +29 -0
- package/src/core/utils/date.ts +33 -0
- package/src/core/utils/details.ts +47 -0
- package/src/core/utils/dom.ts +1 -0
- package/src/core/utils/download-code-walkthrough.ts +36 -0
- package/src/core/utils/dropdown.ts +14 -0
- package/src/core/utils/enhanced-smoothstep.ts +14 -0
- package/src/core/utils/find-closest-common-directory.ts +51 -0
- package/src/core/utils/format-date-without-timezone.ts +9 -0
- package/src/core/utils/frontmatter-translate.ts +9 -0
- package/src/core/utils/get-ai-prompt-link.ts +30 -0
- package/src/core/utils/get-auto-dismiss-duration.ts +20 -0
- package/src/core/utils/get-code-walkthrough-file-text.ts +33 -0
- package/src/core/utils/get-navbar-element.ts +10 -0
- package/src/core/utils/get-operation-color.ts +18 -0
- package/src/core/utils/get-scorecard-color-variable.ts +18 -0
- package/src/core/utils/get-user-agent.ts +14 -0
- package/src/core/utils/icon-resolver.ts +57 -0
- package/src/core/utils/index.ts +56 -0
- package/src/core/utils/is-url.ts +42 -0
- package/src/core/utils/js-utils.ts +104 -0
- package/src/core/utils/lang-to-name.ts +35 -0
- package/src/core/utils/load-and-navigate.ts +59 -0
- package/src/core/utils/markdoc.ts +6 -0
- package/src/core/utils/match-code-walkthrough-conditions.ts +29 -0
- package/src/core/utils/mcp.ts +68 -0
- package/src/core/utils/media-css.ts +13 -0
- package/src/core/utils/menu.ts +170 -0
- package/src/core/utils/navigation-tabs.ts +99 -0
- package/src/core/utils/parse-style-string.ts +22 -0
- package/src/core/utils/replace-hash-in-color.ts +3 -0
- package/src/core/utils/replace-inputs-with-value.ts +14 -0
- package/src/core/utils/search-ai-activity.ts +110 -0
- package/src/core/utils/string.ts +3 -0
- package/src/core/utils/tabs.ts +4 -0
- package/src/core/utils/tags-parser.ts +8 -0
- package/src/core/utils/telemetry/generate-before-after-context.ts +59 -0
- package/src/core/utils/telemetry/generate-resource-urn.ts +9 -0
- package/src/core/utils/telemetry/get-base-data-attributes.ts +27 -0
- package/src/core/utils/text-trimmer.ts +7 -0
- package/src/core/utils/theme-helpers.ts +82 -0
- package/src/core/utils/toc.ts +42 -0
- package/src/core/utils/tooltip-placement.ts +141 -0
- package/src/core/utils/transform-revisions-to-version-history.ts +83 -0
- package/src/core/utils/type-guards.ts +31 -0
- package/src/core/utils/urls.ts +142 -0
- package/src/core/utils/with-load-progress.ts +30 -0
- package/src/ext/configure-helpers.ts +45 -0
- package/src/ext/configure.ts +99 -0
- package/src/ext/helpers/is-direct-configure-request-values.ts +53 -0
- package/src/ext/use-configure-replay.ts +88 -0
- package/src/icons/AddIcon/AddIcon.tsx +23 -0
- package/src/icons/AiStarsGradientIcon/AiStarsGradientIcon.tsx +90 -0
- package/src/icons/AiStarsIcon/AiStarsIcon.tsx +69 -0
- package/src/icons/AnthropicIcon/AnthropicIcon.tsx +25 -0
- package/src/icons/ArrowDownIcon/ArrowDownIcon.tsx +33 -0
- package/src/icons/ArrowLeftIcon/ArrowLeftIcon.tsx +30 -0
- package/src/icons/ArrowRightIcon/ArrowRightIcon.tsx +23 -0
- package/src/icons/ArrowUpRightIcon/ArrowUpRightIcon.tsx +23 -0
- package/src/icons/AscSortIcon/AscSortIcon.tsx +29 -0
- package/src/icons/BareMetalServerIcon/BareMetalServerIcon.tsx +28 -0
- package/src/icons/BookmarkAddIcon/BookmarkAddIcon.tsx +23 -0
- package/src/icons/BotIcon/BotIcon.tsx +25 -0
- package/src/icons/CDNIcon/CDNIcon.tsx +47 -0
- package/src/icons/CardsIcon/CardsIcon.tsx +38 -0
- package/src/icons/CaretDownIcon/CaretDownIcon.tsx +26 -0
- package/src/icons/CaretUpIcon/CaretUpIcon.tsx +26 -0
- package/src/icons/CertificateIcon/CertificateIcon.tsx +33 -0
- package/src/icons/CharacterIcon/CharacterIcon.tsx +25 -0
- package/src/icons/ChatGptIcon/ChatGptIcon.tsx +23 -0
- package/src/icons/ChatIcon/ChatIcon.tsx +35 -0
- package/src/icons/CheckboxFilledIcon/CheckboxFilledIcon.tsx +23 -0
- package/src/icons/CheckboxIcon/CheckboxIcon.tsx +72 -0
- package/src/icons/CheckboxIcon/variables.dark.ts +8 -0
- package/src/icons/CheckboxIcon/variables.ts +19 -0
- package/src/icons/CheckmarkFilledIcon/CheckmarkFilledIcon.tsx +23 -0
- package/src/icons/CheckmarkIcon/CheckmarkIcon.tsx +23 -0
- package/src/icons/CheckmarkOutlineIcon/CheckmarkOutlineIcon.tsx +24 -0
- package/src/icons/ChevronDownIcon/ChevronDownIcon.tsx +24 -0
- package/src/icons/ChevronLeftIcon/ChevronLeftIcon.tsx +23 -0
- package/src/icons/ChevronRightIcon/ChevronRightIcon.tsx +23 -0
- package/src/icons/ChevronSortIcon/ChevronSortIcon.tsx +32 -0
- package/src/icons/ChevronUpIcon/ChevronUpIcon.tsx +24 -0
- package/src/icons/CircleDashIcon/CircleDashIcon.tsx +32 -0
- package/src/icons/ClaudeIcon/ClaudeIcon.tsx +23 -0
- package/src/icons/CleanIcon/CleanIcon.tsx +26 -0
- package/src/icons/CloseFilledIcon/CloseFilledIcon.tsx +22 -0
- package/src/icons/CloseIcon/CloseIcon.tsx +24 -0
- package/src/icons/CloseOutlineIcon/CloseOutlineIcon.tsx +26 -0
- package/src/icons/CloudUploadIcon/CloudUploadIcon.tsx +24 -0
- package/src/icons/CodeIcon/CodeIcon.tsx +25 -0
- package/src/icons/CodexIcon/CodexIcon.tsx +23 -0
- package/src/icons/ColorPaletteIcon/ColorPaletteIcon.tsx +28 -0
- package/src/icons/ConnectIcon/ConnectIcon.tsx +27 -0
- package/src/icons/ContrastIcon/ContrastIcon.tsx +23 -0
- package/src/icons/CookieIcon/CookieIcon.tsx +30 -0
- package/src/icons/CopyIcon/CopyIcon.tsx +27 -0
- package/src/icons/CopyLinkIcon/CopyLinkIcon.tsx +25 -0
- package/src/icons/CubeIcon/CubeIcon.tsx +27 -0
- package/src/icons/CursorIcon/CursorIcon.tsx +35 -0
- package/src/icons/CurveAutoColonIcon/CurveAutoColonIcon.tsx +26 -0
- package/src/icons/DataFormatIcon/DataFormatIcon.tsx +27 -0
- package/src/icons/DataRefineryIcon/DataRefineryIcon.tsx +34 -0
- package/src/icons/DatabaseIcon/DatabaseIcon.tsx +23 -0
- package/src/icons/DescSortIcon/DescSortIcon.tsx +29 -0
- package/src/icons/DeselectIcon/DeselectIcon.tsx +33 -0
- package/src/icons/DirectionRightIcon/DirectionRightIcon.tsx +35 -0
- package/src/icons/DocumentAddIcon/DocumentAddIcon.tsx +24 -0
- package/src/icons/DocumentBlankIcon/DocumentBlankIcon.tsx +23 -0
- package/src/icons/DocumentCssIcon/DocumentCssIcon.tsx +36 -0
- package/src/icons/DocumentCssIcon/index.ts +1 -0
- package/src/icons/DocumentGraphqlIcon/DocumentGraphqlIcon.tsx +64 -0
- package/src/icons/DocumentGraphqlIcon/index.ts +1 -0
- package/src/icons/DocumentHtmlIcon/DocumentHtmlIcon.tsx +36 -0
- package/src/icons/DocumentHtmlIcon/index.ts +1 -0
- package/src/icons/DocumentIcon/DocumentIcon.tsx +32 -0
- package/src/icons/DocumentIcon/index.ts +1 -0
- package/src/icons/DocumentJavaIcon/DocumentJavaIcon.tsx +33 -0
- package/src/icons/DocumentJavaIcon/index.ts +1 -0
- package/src/icons/DocumentJsIcon/DocumentJsIcon.tsx +36 -0
- package/src/icons/DocumentJsIcon/index.ts +1 -0
- package/src/icons/DocumentJsonIcon/DocumentJsonIcon.tsx +36 -0
- package/src/icons/DocumentJsonIcon/index.ts +1 -0
- package/src/icons/DocumentMarkdownIcon/DocumentMarkdownIcon.tsx +36 -0
- package/src/icons/DocumentMarkdownIcon/index.ts +1 -0
- package/src/icons/DocumentPythonIcon/DocumentPythonIcon.tsx +37 -0
- package/src/icons/DocumentPythonIcon/index.ts +1 -0
- package/src/icons/DocumentReactIcon/DocumentReactIcon.tsx +36 -0
- package/src/icons/DocumentReactIcon/index.ts +1 -0
- package/src/icons/DocumentShellIcon/DocumentShellIcon.tsx +33 -0
- package/src/icons/DocumentShellIcon/index.ts +1 -0
- package/src/icons/DocumentTsIcon/DocumentTsIcon.tsx +38 -0
- package/src/icons/DocumentTsIcon/index.ts +1 -0
- package/src/icons/DocumentYamlIcon/DocumentYamlIcon.tsx +36 -0
- package/src/icons/DocumentYamlIcon/index.ts +1 -0
- package/src/icons/DownloadIcon/DownloadIcon.tsx +24 -0
- package/src/icons/DraggableIcon/DraggableIcon.tsx +28 -0
- package/src/icons/EditIcon/EditIcon.tsx +24 -0
- package/src/icons/EmailIcon/EmailIcon.tsx +23 -0
- package/src/icons/EntityTypeIcon/EntityTypeIcon.tsx +49 -0
- package/src/icons/ErrorFilledIcon/ErrorFilledIcon.tsx +33 -0
- package/src/icons/ErrorIcon/ErrorIcon.tsx +23 -0
- package/src/icons/ExpandCollapseIcon/ExpandCollapseIcon.tsx +56 -0
- package/src/icons/ExportIcon/ExportIcon.tsx +24 -0
- package/src/icons/FaceDissatisfiedIcon/FaceDissatisfiedIcon.tsx +26 -0
- package/src/icons/FaceNeutralIcon/FaceNeutralIcon.tsx +26 -0
- package/src/icons/FaceSatisfiedIcon/FaceSatisfiedIcon.tsx +26 -0
- package/src/icons/FileIcon/FileIcon.tsx +23 -0
- package/src/icons/FileStorageIcon/FileStorageIcon.tsx +25 -0
- package/src/icons/FilterIcon/FilterIcon.tsx +26 -0
- package/src/icons/FitToViewIcon/FitToViewIcon.tsx +26 -0
- package/src/icons/FlowIcon/FlowIcon.tsx +26 -0
- package/src/icons/FolderAddIcon/FolderAddIcon.tsx +24 -0
- package/src/icons/FolderIcon/FolderIcon.tsx +23 -0
- package/src/icons/FolderMoveToIcon/FolderMoveToIcon.tsx +24 -0
- package/src/icons/GeminiIcon/GeminiIcon.tsx +265 -0
- package/src/icons/GenericIcon/GenericIcon.tsx +78 -0
- package/src/icons/GithubIcon/GithubIcon.tsx +35 -0
- package/src/icons/GlobalOutlinedIcon/GlobalOutlinedIcon.tsx +23 -0
- package/src/icons/GraphIcon/GraphIcon.tsx +26 -0
- package/src/icons/GraphqlIcon/GraphqlIcon.tsx +81 -0
- package/src/icons/GraphqlIcon/index.ts +1 -0
- package/src/icons/GridIcon/GridIcon.tsx +38 -0
- package/src/icons/HashtagIcon/HashtagIcon.tsx +23 -0
- package/src/icons/HexagonIcon/HexagonIcon.tsx +23 -0
- package/src/icons/HierarchyIcon/HierarchyIcon.tsx +32 -0
- package/src/icons/HorizontalViewIcon/HorizontalViewIcon.tsx +24 -0
- package/src/icons/IBMCloudHyperProtectCryptoServicesIcon/IBMCloudHyperProtectCryptoServicesIcon.tsx +26 -0
- package/src/icons/IdeaIcon/IdeaIcon.tsx +32 -0
- package/src/icons/InformationFilledIcon/InformationFilledIcon.tsx +23 -0
- package/src/icons/InformationIcon/InformationIcon.tsx +25 -0
- package/src/icons/JsonIcon/JsonIcon.tsx +33 -0
- package/src/icons/KafkaIcon/KafkaIcon.tsx +33 -0
- package/src/icons/LaunchIcon/LaunchIcon.tsx +24 -0
- package/src/icons/LinkIcon/LinkIcon.tsx +37 -0
- package/src/icons/LinkIcon/LinkIconSymbol.tsx +51 -0
- package/src/icons/LogoutIcon/LogoutIcon.tsx +24 -0
- package/src/icons/MagicWandIcon/MagicWandIcon.tsx +26 -0
- package/src/icons/MarkdownFullIcon/MarkdownFullIcon.tsx +24 -0
- package/src/icons/MaximizeIcon/MaximizeIcon.tsx +24 -0
- package/src/icons/MenuIcon/MenuIcon.tsx +27 -0
- package/src/icons/MinimizeIcon/MinimizeIcon.tsx +24 -0
- package/src/icons/MobileSidebarIcon/MobileSidebarIcon.tsx +35 -0
- package/src/icons/MoleculesIcon/MoleculesIcon.tsx +23 -0
- package/src/icons/MoonIcon/MoonIcon.tsx +23 -0
- package/src/icons/NavaidMilitaryIcon/NavaidMilitaryIcon.tsx +43 -0
- package/src/icons/NetworkIcon/NetworkIcon.tsx +31 -0
- package/src/icons/NewChatIcon/NewChatIcon.tsx +39 -0
- package/src/icons/NoneIcon/NoneIcon.tsx +17 -0
- package/src/icons/NoteIcon/NoteIcon.tsx +35 -0
- package/src/icons/NotesIcon/NotesIcon.tsx +43 -0
- package/src/icons/OverflowMenuHorizontalIcon/OverflowMenuHorizontalIcon.tsx +25 -0
- package/src/icons/OverflowMenuVerticalIcon/OverflowMenuVerticalIcon.tsx +25 -0
- package/src/icons/PeopleIcon/PeopleIcon.tsx +46 -0
- package/src/icons/PlayIcon/PlayIcon.tsx +22 -0
- package/src/icons/PlaylistIcon/PlaylistIcon.tsx +25 -0
- package/src/icons/PlusCustomIcon/PlusCustomIcon.tsx +31 -0
- package/src/icons/RabbitMQIcon/RabbitMQIcon.tsx +40 -0
- package/src/icons/RadioCheckButtonIcon/RadioCheckButtonIcon.tsx +29 -0
- package/src/icons/RecentlyViewedIcon/RecentlyViewedIcon.tsx +24 -0
- package/src/icons/RedoclyIcon/RedoclyIcon.tsx +26 -0
- package/src/icons/RenewIcon/RenewIcon.tsx +24 -0
- package/src/icons/ResetIcon/ResetIcon.tsx +26 -0
- package/src/icons/RestartIcon/RestartIcon.tsx +23 -0
- package/src/icons/ReturnKeyIcon/ReturnKeyIcon.tsx +13 -0
- package/src/icons/RocketIcon/RocketIcon.tsx +24 -0
- package/src/icons/SaveIcon/SaveIcon.tsx +23 -0
- package/src/icons/SearchIcon/SearchIcon.tsx +23 -0
- package/src/icons/SecurityIcon/SecurityIcon.tsx +24 -0
- package/src/icons/SelectIcon/SelectIcon.tsx +36 -0
- package/src/icons/SendIcon/SendIcon.tsx +33 -0
- package/src/icons/SettingsCogIcon/SettingsCogIcon.tsx +32 -0
- package/src/icons/SettingsIcon/SettingsIcon.tsx +48 -0
- package/src/icons/ShareIcon/ShareIcon.tsx +23 -0
- package/src/icons/SidePanelCloseIcon/SidePanelCloseIcon.tsx +23 -0
- package/src/icons/SidePanelOpenIcon/SidePanelOpenIcon.tsx +23 -0
- package/src/icons/SlackIcon/SlackIcon.tsx +61 -0
- package/src/icons/SortIcon/SortIcon.tsx +29 -0
- package/src/icons/Spinner/Spinner.tsx +17 -0
- package/src/icons/SpinnerIcon/SpinnerIcon.tsx +45 -0
- package/src/icons/StarFilledIcon/StarFilledIcon.tsx +23 -0
- package/src/icons/StarIcon/StarIcon.tsx +23 -0
- package/src/icons/StopIcon/StopIcon.tsx +23 -0
- package/src/icons/SubtractIcon/SubtractIcon.tsx +30 -0
- package/src/icons/SunIcon/SunIcon.tsx +31 -0
- package/src/icons/TableBuiltIcon/TableBuiltIcon.tsx +23 -0
- package/src/icons/TableIcon/TableIcon.tsx +26 -0
- package/src/icons/TagsIcon/TagsIcon.tsx +41 -0
- package/src/icons/TaskViewIcon/TaskViewIcon.tsx +34 -0
- package/src/icons/ThumbDownFilledIcon/ThumbDownFilledIcon.tsx +38 -0
- package/src/icons/ThumbDownIcon/ThumbDownIcon.tsx +24 -0
- package/src/icons/ThumbUpFilledIcon/ThumbUpFilledIcon.tsx +35 -0
- package/src/icons/ThumbUpIcon/ThumbUpIcon.tsx +24 -0
- package/src/icons/TimeIcon/TimeIcon.tsx +24 -0
- package/src/icons/TrashCanIcon/TrashCanIcon.tsx +27 -0
- package/src/icons/UserIcon/UserIcon.tsx +30 -0
- package/src/icons/VSCodeIcon/VSCodeIcon.tsx +29 -0
- package/src/icons/ValueVariableIcon/ValueVariableIcon.tsx +24 -0
- package/src/icons/VerticalViewIcon/VerticalViewIcon.tsx +24 -0
- package/src/icons/ViewIcon/ViewIcon.tsx +24 -0
- package/src/icons/ViewOffIcon/ViewOffIcon.tsx +25 -0
- package/src/icons/WarningAltFilled/WarningAltFilled.tsx +24 -0
- package/src/icons/WarningAltFilledIcon/WarningAltFilledIcon.tsx +24 -0
- package/src/icons/WarningAltIcon/WarningAltIcon.tsx +25 -0
- package/src/icons/WarningCycleIcon/WarningCycleIcon.tsx +32 -0
- package/src/icons/WarningFilledIcon/WarningFilledIcon.tsx +23 -0
- package/src/icons/WarningSquareIcon/WarningSquareIcon.tsx +25 -0
- package/src/icons/WorkflowAutomationIcon/WorkflowAutomationIcon.tsx +34 -0
- package/src/icons/WorkflowHierarchyIcon/WorkflowHierarchyIcon.tsx +32 -0
- package/src/icons/__tests__/IconTestUtils.tsx +54 -0
- package/src/icons/types.ts +15 -0
- package/src/index.ts +334 -0
- package/src/layouts/CodeWalkthroughLayout.tsx +86 -0
- package/src/layouts/DocumentationLayout.tsx +96 -0
- package/src/layouts/DocumentationLayoutBottom.tsx +42 -0
- package/src/layouts/DocumentationLayoutTop.tsx +52 -0
- package/src/layouts/Forbidden.tsx +69 -0
- package/src/layouts/InternalServerErrorLayout.tsx +69 -0
- package/src/layouts/McpNotAllowed.tsx +107 -0
- package/src/layouts/NotFound.tsx +69 -0
- package/src/layouts/OIDCForbidden.tsx +88 -0
- package/src/layouts/PageLayout.tsx +47 -0
- package/src/layouts/RootLayout.tsx +28 -0
- package/src/layouts/ThreePanelLayout.tsx +69 -0
- package/src/markdoc/attributes/code-snippet-file.ts +9 -0
- package/src/markdoc/attributes/code-walkthrough-filesets.ts +9 -0
- package/src/markdoc/attributes/code-walkthrough-filters.ts +9 -0
- package/src/markdoc/attributes/diagram-file.ts +9 -0
- package/src/markdoc/attributes/img-src.ts +9 -0
- package/src/markdoc/attributes/img-srcset.ts +9 -0
- package/src/markdoc/attributes/relative-path.ts +9 -0
- package/src/markdoc/attributes/svg-content.ts +9 -0
- package/src/markdoc/components/Accordion/Accordion.tsx +134 -0
- package/src/markdoc/components/Accordion/AccordionGroup.tsx +48 -0
- package/src/markdoc/components/Accordion/variables.ts +37 -0
- package/src/markdoc/components/Admonition/Admonition.tsx +10 -0
- package/src/markdoc/components/Cards/Card.tsx +288 -0
- package/src/markdoc/components/Cards/CardBadge.tsx +39 -0
- package/src/markdoc/components/Cards/CardIcon.tsx +51 -0
- package/src/markdoc/components/Cards/CardImage.tsx +22 -0
- package/src/markdoc/components/Cards/Cards.tsx +43 -0
- package/src/markdoc/components/Cards/variables.dark.ts +57 -0
- package/src/markdoc/components/Cards/variables.ts +160 -0
- package/src/markdoc/components/CodeBlock/CodeBlock.tsx +10 -0
- package/src/markdoc/components/CodeGroup/CodeGroup.tsx +107 -0
- package/src/markdoc/components/CodeWalkthrough/CodeContainer.tsx +103 -0
- package/src/markdoc/components/CodeWalkthrough/CodeFilters.tsx +104 -0
- package/src/markdoc/components/CodeWalkthrough/CodePanel.tsx +71 -0
- package/src/markdoc/components/CodeWalkthrough/CodePanelHeader.tsx +215 -0
- package/src/markdoc/components/CodeWalkthrough/CodePanelPreview.tsx +55 -0
- package/src/markdoc/components/CodeWalkthrough/CodePanelToolbar.tsx +32 -0
- package/src/markdoc/components/CodeWalkthrough/CodeStep.tsx +198 -0
- package/src/markdoc/components/CodeWalkthrough/CodeToggle.tsx +67 -0
- package/src/markdoc/components/CodeWalkthrough/CodeWalkthrough.tsx +120 -0
- package/src/markdoc/components/CodeWalkthrough/Input.tsx +103 -0
- package/src/markdoc/components/CodeWalkthrough/variables.ts +17 -0
- package/src/markdoc/components/ConnectMCP/ConnectMCP.tsx +28 -0
- package/src/markdoc/components/Diagram/Diagram.tsx +170 -0
- package/src/markdoc/components/Diagram/variables.ts +12 -0
- package/src/markdoc/components/Heading/Heading.tsx +135 -0
- package/src/markdoc/components/HtmlBlock/HtmlBlock.tsx +5 -0
- package/src/markdoc/components/Icon/Icon.tsx +16 -0
- package/src/markdoc/components/Image/Image.tsx +38 -0
- package/src/markdoc/components/InlineSvg/InlineSvg.tsx +17 -0
- package/src/markdoc/components/LoginButton/LoginButton.tsx +38 -0
- package/src/markdoc/components/MarkdocExample/MarkdocExample.tsx +41 -0
- package/src/markdoc/components/MarkdownLink/MarkdownLink.tsx +21 -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/Prompt/Prompt.tsx +219 -0
- package/src/markdoc/components/Prompt/PromptActions.tsx +104 -0
- package/src/markdoc/components/Prompt/PromptBody.tsx +107 -0
- package/src/markdoc/components/Prompt/PromptCopyButton.tsx +73 -0
- package/src/markdoc/components/Prompt/PromptHeader.tsx +81 -0
- package/src/markdoc/components/Prompt/PromptShowHideButton.tsx +43 -0
- package/src/markdoc/components/Prompt/PromptToggleLabel.tsx +41 -0
- package/src/markdoc/components/Prompt/variables.dark.ts +5 -0
- package/src/markdoc/components/Prompt/variables.ts +41 -0
- package/src/markdoc/components/Tabs/Tab.tsx +65 -0
- package/src/markdoc/components/Tabs/TabItemFragment.tsx +15 -0
- package/src/markdoc/components/Tabs/TabList.tsx +546 -0
- package/src/markdoc/components/Tabs/Tabs.tsx +231 -0
- package/src/markdoc/components/Tabs/variables.ts +102 -0
- package/src/markdoc/components/default.ts +31 -0
- package/src/markdoc/default.ts +65 -0
- package/src/markdoc/tags/accordion-group.ts +11 -0
- package/src/markdoc/tags/accordion.ts +12 -0
- package/src/markdoc/tags/admonition.ts +17 -0
- package/src/markdoc/tags/card.ts +73 -0
- package/src/markdoc/tags/cards.ts +18 -0
- package/src/markdoc/tags/code-group.ts +21 -0
- package/src/markdoc/tags/code-snippet.ts +66 -0
- package/src/markdoc/tags/code-step.ts +24 -0
- package/src/markdoc/tags/code-toggle.ts +37 -0
- package/src/markdoc/tags/code-walkthrough.ts +313 -0
- package/src/markdoc/tags/connect-mcp.ts +42 -0
- package/src/markdoc/tags/debug.ts +17 -0
- package/src/markdoc/tags/diagram.ts +73 -0
- package/src/markdoc/tags/html.ts +23 -0
- package/src/markdoc/tags/icon.ts +14 -0
- package/src/markdoc/tags/img.ts +88 -0
- package/src/markdoc/tags/inline-svg.ts +15 -0
- package/src/markdoc/tags/input.ts +35 -0
- package/src/markdoc/tags/login-button.ts +30 -0
- package/src/markdoc/tags/markdoc-example.ts +88 -0
- package/src/markdoc/tags/numbered-item.ts +46 -0
- package/src/markdoc/tags/numbered-list.ts +34 -0
- package/src/markdoc/tags/partial.ts +47 -0
- package/src/markdoc/tags/prompt.ts +58 -0
- package/src/markdoc/tags/tab.ts +13 -0
- package/src/markdoc/tags/tabs.ts +34 -0
- package/src/markdoc/tags/types.ts +25 -0
- package/src/plugin.js +3 -0
- package/src/settings.yaml +30 -0
- package/README_INTERNAL.md +0 -15
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import React, { useContext, useState, useCallback } from 'react';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
import debounce from 'lodash.debounce';
|
|
4
|
+
|
|
5
|
+
import { CodeWalkthroughControlsStateContext } from '@redocly/theme/core/contexts';
|
|
6
|
+
|
|
7
|
+
export type InputProps = {
|
|
8
|
+
id: string;
|
|
9
|
+
label?: string;
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
value?: string;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
const DEBOUNCE_TIME = 500;
|
|
15
|
+
|
|
16
|
+
export function Input(props: InputProps) {
|
|
17
|
+
const { id, label, placeholder } = props;
|
|
18
|
+
const { getControlState, changeControlState } = useContext(CodeWalkthroughControlsStateContext);
|
|
19
|
+
|
|
20
|
+
const inputState = getControlState(id);
|
|
21
|
+
|
|
22
|
+
const [value, setValue] = useState(inputState?.value || '');
|
|
23
|
+
|
|
24
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
25
|
+
const debouncedSave = useCallback(
|
|
26
|
+
debounce((id: string, value: string) => {
|
|
27
|
+
changeControlState(id, value);
|
|
28
|
+
}, DEBOUNCE_TIME),
|
|
29
|
+
[],
|
|
30
|
+
);
|
|
31
|
+
|
|
32
|
+
if (!inputState?.render) {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
const handleChange = (event: React.ChangeEvent<HTMLInputElement>) => {
|
|
37
|
+
const inputValue = event.target.value;
|
|
38
|
+
|
|
39
|
+
setValue(inputValue);
|
|
40
|
+
debouncedSave(id, inputValue);
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
return (
|
|
44
|
+
<InputWrapper data-component-name="Markdoc/CodeWalkthrough/Input">
|
|
45
|
+
{label && <Label>{label}</Label>}
|
|
46
|
+
<StyledInput
|
|
47
|
+
id={id}
|
|
48
|
+
value={value as string}
|
|
49
|
+
onChange={handleChange}
|
|
50
|
+
aria-label={label}
|
|
51
|
+
placeholder={placeholder}
|
|
52
|
+
/>
|
|
53
|
+
</InputWrapper>
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
const InputWrapper = styled.div`
|
|
58
|
+
display: flex;
|
|
59
|
+
flex-direction: column;
|
|
60
|
+
margin-top: var(--spacing-base);
|
|
61
|
+
margin-bottom: var(--spacing-base);
|
|
62
|
+
`;
|
|
63
|
+
|
|
64
|
+
const Label = styled.p`
|
|
65
|
+
color: var(--text-color-secondary);
|
|
66
|
+
font-size: var(--font-size-base);
|
|
67
|
+
line-height: var(--line-height-base);
|
|
68
|
+
font-family: var(--font-family-base);
|
|
69
|
+
font-weight: var(--font-weight-medium);
|
|
70
|
+
margin-bottom: var(--spacing-xxs) !important;
|
|
71
|
+
`;
|
|
72
|
+
|
|
73
|
+
const StyledInput = styled.input`
|
|
74
|
+
border: 1px solid var(--border-color-primary);
|
|
75
|
+
width: 224px;
|
|
76
|
+
outline: none;
|
|
77
|
+
padding: var(--input-padding) var(--spacing-sm);
|
|
78
|
+
border-radius: var(--input-border-radius);
|
|
79
|
+
background-color: var(--input-bg-color);
|
|
80
|
+
color: var(--text-color-secondary);
|
|
81
|
+
font-family: var(--font-family-base);
|
|
82
|
+
font-size: var(--font-size-base);
|
|
83
|
+
line-height: var(--input-line-height);
|
|
84
|
+
|
|
85
|
+
&::placeholder {
|
|
86
|
+
opacity: 1;
|
|
87
|
+
color: var(--input-content-placeholder-color);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&:hover {
|
|
91
|
+
color: var(--text-color-primary);
|
|
92
|
+
border: 1px solid var(--border-color-primary);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&:focus {
|
|
96
|
+
color: var(--text-color-primary);
|
|
97
|
+
border: 1px solid var(--border-color-primary);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&:-webkit-autofill {
|
|
101
|
+
background-color: var(--input-bg-color);
|
|
102
|
+
}
|
|
103
|
+
`;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { css } from 'styled-components';
|
|
2
|
+
|
|
3
|
+
export const codeWalkthrough = css`
|
|
4
|
+
--code-step-vertical-line-bg-active: var(--color-blue-6);
|
|
5
|
+
--code-step-vertical-line-bg-hover: var(--color-hover-base);
|
|
6
|
+
|
|
7
|
+
--code-step-bg-active: var(--layer-color);
|
|
8
|
+
--code-step-bg-hover: var(--color-hover-base);
|
|
9
|
+
--code-step-bg-active-hover: var(--layer-color-hover);
|
|
10
|
+
--code-step-border-radius: var(--border-radius-lg);
|
|
11
|
+
|
|
12
|
+
--code-panel-bg-color: var(--layer-color);
|
|
13
|
+
--code-panel-line-numbering-color: var(--text-color-disabled);
|
|
14
|
+
--code-panel-header-height: var(--spacing-lg);
|
|
15
|
+
--code-panel-border-color: var(--border-color-secondary);
|
|
16
|
+
--code-panel-border-radius: var(--border-radius-xl);
|
|
17
|
+
`;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
import type { JSX } from 'react';
|
|
4
|
+
import type { MCPOption } from '@redocly/theme/core/types';
|
|
5
|
+
|
|
6
|
+
import { ConnectMCPButton } from '@redocly/theme/components/Buttons/ConnectMCPButton';
|
|
7
|
+
import { useThemeConfig } from '@redocly/theme/core/hooks';
|
|
8
|
+
|
|
9
|
+
export type ConnectMCPProps = {
|
|
10
|
+
placement?: 'top' | 'bottom';
|
|
11
|
+
alignment?: 'start' | 'end';
|
|
12
|
+
options?: MCPOption[];
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export function ConnectMCP({
|
|
16
|
+
placement = 'bottom',
|
|
17
|
+
alignment = 'start',
|
|
18
|
+
options,
|
|
19
|
+
}: ConnectMCPProps): JSX.Element | null {
|
|
20
|
+
const themeConfig = useThemeConfig();
|
|
21
|
+
const isMcpDisabled = themeConfig.mcp?.hide || themeConfig.mcp?.docs?.hide;
|
|
22
|
+
|
|
23
|
+
if (isMcpDisabled) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
return <ConnectMCPButton placement={placement} alignment={alignment} options={options} />;
|
|
28
|
+
}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import React, { useState, type JSX } from 'react';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
|
|
4
|
+
import { concatClassNames } from '@redocly/theme/core/utils';
|
|
5
|
+
import { useColorSwitcher, useThemeHooks } from '@redocly/theme/core/hooks';
|
|
6
|
+
import { SvgViewer } from '@redocly/theme/components/SvgViewer/SvgViewer';
|
|
7
|
+
|
|
8
|
+
type DiagramProps = {
|
|
9
|
+
id?: string;
|
|
10
|
+
diagramHtml: string;
|
|
11
|
+
diagramHtmlDark?: string;
|
|
12
|
+
diagramError?: string;
|
|
13
|
+
diagramType: string;
|
|
14
|
+
align?: 'left' | 'center' | 'right';
|
|
15
|
+
width?: string;
|
|
16
|
+
'data-source'?: string;
|
|
17
|
+
'data-hash'?: string;
|
|
18
|
+
className?: string;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export function Diagram({
|
|
22
|
+
id,
|
|
23
|
+
diagramHtml,
|
|
24
|
+
diagramHtmlDark,
|
|
25
|
+
diagramError,
|
|
26
|
+
diagramType,
|
|
27
|
+
align,
|
|
28
|
+
width,
|
|
29
|
+
'data-source': dataSource,
|
|
30
|
+
'data-hash': dataHash,
|
|
31
|
+
className,
|
|
32
|
+
}: DiagramProps): JSX.Element {
|
|
33
|
+
const { useTranslate } = useThemeHooks();
|
|
34
|
+
const { translate } = useTranslate();
|
|
35
|
+
const { activeColorMode } = useColorSwitcher();
|
|
36
|
+
const [isOpen, setIsOpen] = useState(false);
|
|
37
|
+
const activeDiagramHtml =
|
|
38
|
+
activeColorMode === 'dark' ? diagramHtmlDark || diagramHtml : diagramHtml;
|
|
39
|
+
|
|
40
|
+
const open = () => setIsOpen(true);
|
|
41
|
+
const close = () => setIsOpen(false);
|
|
42
|
+
const handleKeyDown = (event: React.KeyboardEvent<HTMLDivElement>) => {
|
|
43
|
+
if (event.key === 'Enter' || event.key === ' ') {
|
|
44
|
+
event.preventDefault();
|
|
45
|
+
open();
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
if (diagramError) {
|
|
50
|
+
return (
|
|
51
|
+
<ErrorWrapper id={id} className={concatClassNames('diagram-error', className)}>
|
|
52
|
+
{diagramError}
|
|
53
|
+
</ErrorWrapper>
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
return (
|
|
58
|
+
<>
|
|
59
|
+
<Wrapper
|
|
60
|
+
id={id}
|
|
61
|
+
$width={width}
|
|
62
|
+
className={concatClassNames(`diagram-wrapper diagram-${diagramType}`, className)}
|
|
63
|
+
data-component-name="Markdoc/Diagram/Diagram"
|
|
64
|
+
data-diagram-type={diagramType}
|
|
65
|
+
data-source={dataSource}
|
|
66
|
+
data-hash={dataHash}
|
|
67
|
+
onClick={open}
|
|
68
|
+
onKeyDown={handleKeyDown}
|
|
69
|
+
role="button"
|
|
70
|
+
tabIndex={0}
|
|
71
|
+
aria-label={translate('diagram.openFullscreen', 'Click to open diagram in fullscreen')}
|
|
72
|
+
>
|
|
73
|
+
<DiagramVariant
|
|
74
|
+
$align={align}
|
|
75
|
+
$colorMode="light"
|
|
76
|
+
className={`diagram-variant diagram-variant-light diagram-${diagramType}`}
|
|
77
|
+
dangerouslySetInnerHTML={{ __html: diagramHtml }}
|
|
78
|
+
/>
|
|
79
|
+
{diagramHtmlDark ? (
|
|
80
|
+
<DiagramVariant
|
|
81
|
+
$align={align}
|
|
82
|
+
$colorMode="dark"
|
|
83
|
+
className={`diagram-variant diagram-variant-dark diagram-${diagramType}`}
|
|
84
|
+
dangerouslySetInnerHTML={{ __html: diagramHtmlDark }}
|
|
85
|
+
/>
|
|
86
|
+
) : null}
|
|
87
|
+
</Wrapper>
|
|
88
|
+
<SvgViewer
|
|
89
|
+
isOpen={isOpen}
|
|
90
|
+
onClose={close}
|
|
91
|
+
labels={{
|
|
92
|
+
zoomIn: translate('diagram.zoomIn', 'Zoom in'),
|
|
93
|
+
zoomOut: translate('diagram.zoomOut', 'Zoom out'),
|
|
94
|
+
fitToView: translate('diagram.reset', 'Fit to view'),
|
|
95
|
+
close: translate('diagram.close', 'Close'),
|
|
96
|
+
dialogLabel: translate('diagram.viewer', 'Diagram viewer'),
|
|
97
|
+
}}
|
|
98
|
+
>
|
|
99
|
+
<ViewerContent
|
|
100
|
+
className={`diagram-viewer-content diagram-${diagramType}`}
|
|
101
|
+
dangerouslySetInnerHTML={{ __html: activeDiagramHtml }}
|
|
102
|
+
/>
|
|
103
|
+
</SvgViewer>
|
|
104
|
+
</>
|
|
105
|
+
);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
const Wrapper = styled.div<{ $width?: string }>`
|
|
109
|
+
background-color: var(--diagram-bg-color);
|
|
110
|
+
border-radius: var(--diagram-border-radius);
|
|
111
|
+
cursor: pointer;
|
|
112
|
+
transition: box-shadow 0.2s ease;
|
|
113
|
+
|
|
114
|
+
&:hover,
|
|
115
|
+
&:focus {
|
|
116
|
+
outline: none;
|
|
117
|
+
box-shadow: 0 0 0 2px var(--border-color-input-focus);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
svg {
|
|
121
|
+
max-width: 100%;
|
|
122
|
+
display: block;
|
|
123
|
+
${({ $width }) => ($width ? `width: ${$width} !important; height: auto !important;` : '')}
|
|
124
|
+
}
|
|
125
|
+
`;
|
|
126
|
+
|
|
127
|
+
const DiagramVariant = styled.div<{ $colorMode: 'light' | 'dark'; $align?: DiagramProps['align'] }>`
|
|
128
|
+
display: flex;
|
|
129
|
+
justify-content: ${({ $align }) => {
|
|
130
|
+
switch ($align) {
|
|
131
|
+
case 'center':
|
|
132
|
+
return 'center';
|
|
133
|
+
case 'right':
|
|
134
|
+
return 'flex-end';
|
|
135
|
+
default:
|
|
136
|
+
return 'flex-start';
|
|
137
|
+
}
|
|
138
|
+
}};
|
|
139
|
+
width: 100%;
|
|
140
|
+
${({ $colorMode }) =>
|
|
141
|
+
$colorMode === 'dark'
|
|
142
|
+
? `
|
|
143
|
+
html:not(.dark) && {
|
|
144
|
+
display: none;
|
|
145
|
+
}
|
|
146
|
+
`
|
|
147
|
+
: `
|
|
148
|
+
html.dark && {
|
|
149
|
+
display: none;
|
|
150
|
+
}
|
|
151
|
+
`}
|
|
152
|
+
`;
|
|
153
|
+
|
|
154
|
+
const ErrorWrapper = styled.div`
|
|
155
|
+
border: 1px solid var(--color-error-border);
|
|
156
|
+
border-radius: var(--diagram-border-radius);
|
|
157
|
+
background: var(--color-error-bg);
|
|
158
|
+
color: var(--color-error-text);
|
|
159
|
+
font-size: var(--font-size-sm);
|
|
160
|
+
padding: var(--spacing-sm);
|
|
161
|
+
white-space: pre-wrap;
|
|
162
|
+
word-break: break-word;
|
|
163
|
+
`;
|
|
164
|
+
|
|
165
|
+
const ViewerContent = styled.div`
|
|
166
|
+
svg {
|
|
167
|
+
display: block;
|
|
168
|
+
max-width: none !important;
|
|
169
|
+
}
|
|
170
|
+
`;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { css } from "styled-components";
|
|
2
|
+
|
|
3
|
+
export const diagram = css`
|
|
4
|
+
/**
|
|
5
|
+
* @tokens Diagram
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
--diagram-bg-color: var(--bg-color-raised); // @presenter Color
|
|
9
|
+
--diagram-border-radius: var(--border-radius-lg); // @presenter BorderRadius
|
|
10
|
+
|
|
11
|
+
// @tokens End
|
|
12
|
+
`;
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import React, { createElement, isValidElement, useContext } from 'react';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
import { useLocation } from 'react-router';
|
|
4
|
+
|
|
5
|
+
import type { JSX, PropsWithChildren, ReactElement, ReactNode } from 'react';
|
|
6
|
+
|
|
7
|
+
import { Image as MarkdocImage } from '@redocly/theme/markdoc/components/Image/Image';
|
|
8
|
+
import { concatClassNames } from '@redocly/theme/core/utils';
|
|
9
|
+
import { LinkIcon } from '@redocly/theme/icons/LinkIcon/LinkIcon';
|
|
10
|
+
import { PageActions } from '@redocly/theme/components/PageActions/PageActions';
|
|
11
|
+
import { useThemeHooks } from '@redocly/theme/core/hooks';
|
|
12
|
+
import { PageActionsContext } from '@redocly/theme/core/contexts';
|
|
13
|
+
import {
|
|
14
|
+
ANCHOR_CLASS,
|
|
15
|
+
HEADING_ANCHOR_CLASS,
|
|
16
|
+
HEADING_CLASS_PREFIX,
|
|
17
|
+
MARKDOWN_CLASS_NAME,
|
|
18
|
+
} from '@redocly/theme/core/constants';
|
|
19
|
+
|
|
20
|
+
function renderWithSpanWrapper(children: ReactNode): ReactNode {
|
|
21
|
+
const childrenArray = React.Children.toArray(children);
|
|
22
|
+
|
|
23
|
+
if (childrenArray.length === 0) return null;
|
|
24
|
+
|
|
25
|
+
const first = childrenArray[0];
|
|
26
|
+
const last = childrenArray[childrenArray.length - 1];
|
|
27
|
+
|
|
28
|
+
// Check if an element is an <img> or the Markdoc Image component
|
|
29
|
+
const isImage = (node: ReactNode): node is ReactElement => {
|
|
30
|
+
if (!isValidElement(node)) return false;
|
|
31
|
+
if (typeof node.type === 'string') return node.type === 'img';
|
|
32
|
+
return node.type === MarkdocImage;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
const middleChildren = childrenArray.slice(
|
|
36
|
+
isImage(first) ? 1 : 0,
|
|
37
|
+
isImage(last) ? childrenArray.length - 1 : childrenArray.length,
|
|
38
|
+
);
|
|
39
|
+
|
|
40
|
+
return (
|
|
41
|
+
<>
|
|
42
|
+
{isImage(first) && first}
|
|
43
|
+
{middleChildren.length > 0 && <StyledHeadingText>{middleChildren}</StyledHeadingText>}
|
|
44
|
+
{isImage(last) && last}
|
|
45
|
+
</>
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function Heading({
|
|
50
|
+
level,
|
|
51
|
+
id,
|
|
52
|
+
children,
|
|
53
|
+
'data-source': dataSource,
|
|
54
|
+
'data-hash': dataHash,
|
|
55
|
+
className,
|
|
56
|
+
__idx,
|
|
57
|
+
}: PropsWithChildren<{
|
|
58
|
+
level: number;
|
|
59
|
+
id: string;
|
|
60
|
+
'data-source'?: string;
|
|
61
|
+
'data-hash'?: string;
|
|
62
|
+
className?: string;
|
|
63
|
+
__idx?: number;
|
|
64
|
+
}>): JSX.Element {
|
|
65
|
+
const { pathname } = useLocation();
|
|
66
|
+
const { usePageProps } = useThemeHooks();
|
|
67
|
+
const pageProps = usePageProps();
|
|
68
|
+
|
|
69
|
+
// The page-type fallback is only for backward compatibility; templates set the scope.
|
|
70
|
+
const withPageActions =
|
|
71
|
+
useContext(PageActionsContext) ??
|
|
72
|
+
(pageProps?.metadata?.type === 'markdown' || pageProps?.metadata?.type === 'asciidoc');
|
|
73
|
+
const headingTextId = `${id}-heading-text`;
|
|
74
|
+
|
|
75
|
+
const linkEl = (
|
|
76
|
+
<a
|
|
77
|
+
aria-labelledby={headingTextId}
|
|
78
|
+
href={`#${id}`}
|
|
79
|
+
className={concatClassNames(ANCHOR_CLASS, 'before')}
|
|
80
|
+
>
|
|
81
|
+
<LinkIcon aria-hidden="true" focusable="false" color="--heading-anchor-color" />
|
|
82
|
+
</a>
|
|
83
|
+
);
|
|
84
|
+
|
|
85
|
+
const headingText = createElement(
|
|
86
|
+
`h${level}`,
|
|
87
|
+
{ id: headingTextId },
|
|
88
|
+
renderWithSpanWrapper(children),
|
|
89
|
+
);
|
|
90
|
+
|
|
91
|
+
return (
|
|
92
|
+
<div
|
|
93
|
+
id={id}
|
|
94
|
+
className={concatClassNames(
|
|
95
|
+
HEADING_ANCHOR_CLASS,
|
|
96
|
+
MARKDOWN_CLASS_NAME,
|
|
97
|
+
`${HEADING_CLASS_PREFIX}-${level}`,
|
|
98
|
+
className,
|
|
99
|
+
)}
|
|
100
|
+
data-component-name="Markdoc/Heading/Heading"
|
|
101
|
+
data-source={dataSource}
|
|
102
|
+
data-hash={dataHash}
|
|
103
|
+
>
|
|
104
|
+
<HeadingContentWrapper>
|
|
105
|
+
{linkEl}
|
|
106
|
+
{headingText}
|
|
107
|
+
{withPageActions && __idx === 0 ? <PageActions pageSlug={pathname} /> : null}
|
|
108
|
+
</HeadingContentWrapper>
|
|
109
|
+
</div>
|
|
110
|
+
);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
const HeadingContentWrapper = styled.div`
|
|
114
|
+
display: flex;
|
|
115
|
+
gap: var(--spacing-xs);
|
|
116
|
+
|
|
117
|
+
& > .${ANCHOR_CLASS} {
|
|
118
|
+
display: flex;
|
|
119
|
+
align-items: center;
|
|
120
|
+
height: 1lh;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
&:has([data-component-name='PageActions/PageActions']:hover) {
|
|
124
|
+
&& .${ANCHOR_CLASS} svg {
|
|
125
|
+
visibility: hidden;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
`;
|
|
129
|
+
|
|
130
|
+
const StyledHeadingText = styled.span`
|
|
131
|
+
margin: auto 0;
|
|
132
|
+
&& > img:only-child {
|
|
133
|
+
display: inline-block;
|
|
134
|
+
}
|
|
135
|
+
`;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
import type { CDNIconProps } from '@redocly/theme/icons/types';
|
|
4
|
+
|
|
5
|
+
import { CDNIcon } from '@redocly/theme/icons/CDNIcon/CDNIcon';
|
|
6
|
+
import { resolveIcon } from '@redocly/theme/core/utils';
|
|
7
|
+
|
|
8
|
+
export function Icon(props: CDNIconProps) {
|
|
9
|
+
const { name, ...rest } = props;
|
|
10
|
+
|
|
11
|
+
const resolvedIcon = resolveIcon(name);
|
|
12
|
+
if (resolvedIcon.type === 'font-awesome') {
|
|
13
|
+
return <CDNIcon name={resolvedIcon.name} type={resolvedIcon.style} {...rest} />;
|
|
14
|
+
}
|
|
15
|
+
return null;
|
|
16
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
|
|
4
|
+
import { Image as ImageComponent, type ImageProps } from '@redocly/theme/components/Image/Image';
|
|
5
|
+
|
|
6
|
+
type MarkdocImageProps = React.PropsWithChildren<ImageProps> & {
|
|
7
|
+
align?: 'left' | 'right' | 'center' | 'justify' | 'initial' | 'inherit';
|
|
8
|
+
};
|
|
9
|
+
export function Image(props: MarkdocImageProps) {
|
|
10
|
+
const { align, ...rest } = props;
|
|
11
|
+
return align ? (
|
|
12
|
+
<ImageWrapper $align={align}>
|
|
13
|
+
<ImageComponent {...rest} />
|
|
14
|
+
</ImageWrapper>
|
|
15
|
+
) : (
|
|
16
|
+
<ImageComponent {...rest} />
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
const ImageWrapper = styled.div<{ $align?: MarkdocImageProps['align'] }>`
|
|
21
|
+
text-align: ${(props) => props.$align || 'initial'};
|
|
22
|
+
|
|
23
|
+
img {
|
|
24
|
+
display: block;
|
|
25
|
+
${(props) => {
|
|
26
|
+
switch (props.$align) {
|
|
27
|
+
case 'left':
|
|
28
|
+
return 'margin-right: auto; margin-left: 0;';
|
|
29
|
+
case 'right':
|
|
30
|
+
return 'margin-left: auto; margin-right: 0;';
|
|
31
|
+
case 'center':
|
|
32
|
+
return 'margin-left: auto; margin-right: auto;';
|
|
33
|
+
default:
|
|
34
|
+
return '';
|
|
35
|
+
}
|
|
36
|
+
}}
|
|
37
|
+
}
|
|
38
|
+
`;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
export function InlineSvg({
|
|
4
|
+
fileRawContent,
|
|
5
|
+
className,
|
|
6
|
+
}: {
|
|
7
|
+
fileRawContent: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
}) {
|
|
10
|
+
return (
|
|
11
|
+
<span
|
|
12
|
+
className={className}
|
|
13
|
+
data-component-name="Markdoc/InlineSvg/InlineSvg"
|
|
14
|
+
dangerouslySetInnerHTML={{ __html: fileRawContent }}
|
|
15
|
+
/>
|
|
16
|
+
);
|
|
17
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
import type { ButtonVariant, ButtonSize } from '@redocly/theme/components/Button/Button';
|
|
4
|
+
|
|
5
|
+
import { useThemeHooks } from '@redocly/theme/core/hooks';
|
|
6
|
+
import { LoginButton as UserMenuLoginButton } from '@redocly/theme/components/UserMenu/LoginButton';
|
|
7
|
+
|
|
8
|
+
export type MarkdocLoginButtonProps = {
|
|
9
|
+
variant?: ButtonVariant;
|
|
10
|
+
size?: ButtonSize;
|
|
11
|
+
label?: string;
|
|
12
|
+
labelTranslationKey?: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export function LoginButton({
|
|
16
|
+
variant,
|
|
17
|
+
size,
|
|
18
|
+
label,
|
|
19
|
+
labelTranslationKey,
|
|
20
|
+
}: MarkdocLoginButtonProps) {
|
|
21
|
+
const { useUserMenu } = useThemeHooks();
|
|
22
|
+
const { userData, loginUrl } = useUserMenu();
|
|
23
|
+
|
|
24
|
+
if (userData?.isAuthenticated) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
return (
|
|
29
|
+
<UserMenuLoginButton
|
|
30
|
+
href={loginUrl || ''}
|
|
31
|
+
variant={variant}
|
|
32
|
+
size={size}
|
|
33
|
+
label={label}
|
|
34
|
+
labelTranslationKey={labelTranslationKey}
|
|
35
|
+
data-component-name="Markdoc/LoginButton"
|
|
36
|
+
/>
|
|
37
|
+
);
|
|
38
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
|
|
4
|
+
import { CodeBlock } from '@redocly/theme/components/CodeBlock/CodeBlock';
|
|
5
|
+
|
|
6
|
+
export interface MarkdocExampleProps {
|
|
7
|
+
language: string;
|
|
8
|
+
rawContent: string;
|
|
9
|
+
renderDemo?: boolean;
|
|
10
|
+
demoContent: React.ReactNode[];
|
|
11
|
+
withLabels?: boolean;
|
|
12
|
+
codeLabel?: string;
|
|
13
|
+
resultLabel?: string;
|
|
14
|
+
title?: string;
|
|
15
|
+
}
|
|
16
|
+
export function MarkdocExample(props: MarkdocExampleProps) {
|
|
17
|
+
const {
|
|
18
|
+
language,
|
|
19
|
+
rawContent,
|
|
20
|
+
renderDemo,
|
|
21
|
+
demoContent,
|
|
22
|
+
withLabels,
|
|
23
|
+
codeLabel,
|
|
24
|
+
resultLabel,
|
|
25
|
+
title,
|
|
26
|
+
} = props;
|
|
27
|
+
|
|
28
|
+
const renderLabels = renderDemo ? (withLabels === undefined ? true : withLabels) : false;
|
|
29
|
+
return (
|
|
30
|
+
<div data-component-name="Markdoc/MarkdocExample/MarkdocExample">
|
|
31
|
+
{renderLabels ? <Label>{codeLabel ? codeLabel : 'Code:'}</Label> : null}
|
|
32
|
+
<CodeBlock lang={language} source={rawContent} header={{ title, controls: { copy: {} } }} />
|
|
33
|
+
{renderDemo ? <>{renderLabels ? <Label>{resultLabel ? resultLabel : 'Result:'}</Label> : null}
|
|
34
|
+
{...demoContent}</> : null}
|
|
35
|
+
</div>
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
const Label = styled.div`
|
|
40
|
+
margin: 10px 0;
|
|
41
|
+
`;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React, { useCallback, useContext } from 'react';
|
|
2
|
+
|
|
3
|
+
import type { ComponentProps, ReactElement } from 'react';
|
|
4
|
+
|
|
5
|
+
import { MarkdownLinkContext } from '@redocly/theme/core/contexts';
|
|
6
|
+
import { Link } from '@redocly/theme/components/Link/Link';
|
|
7
|
+
|
|
8
|
+
type MarkdownLinkProps = Omit<ComponentProps<typeof Link>, 'to' | 'onClick'> & {
|
|
9
|
+
href: string;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export function MarkdownLink({ href, ...props }: MarkdownLinkProps): ReactElement {
|
|
13
|
+
const markdownLinkContext = useContext(MarkdownLinkContext);
|
|
14
|
+
const onClick = useCallback(() => {
|
|
15
|
+
markdownLinkContext?.onMarkdownLinkClick?.(href);
|
|
16
|
+
}, [markdownLinkContext, href]);
|
|
17
|
+
|
|
18
|
+
const linkProps = { ...props, languageInsensitive: true, onClick };
|
|
19
|
+
|
|
20
|
+
return <Link to={href} {...linkProps} />;
|
|
21
|
+
}
|