@redocly/theme 0.70.0-next.9 → 0.71.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +569 -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,355 @@
|
|
|
1
|
+
import { useState, useEffect, useRef, useCallback } from 'react';
|
|
2
|
+
import { useLocation } from 'react-router';
|
|
3
|
+
|
|
4
|
+
import { enhancedSmoothstep } from '../utils';
|
|
5
|
+
import { HEADING_ANCHOR_CLASS } from '../constants';
|
|
6
|
+
|
|
7
|
+
type HeadingEntry = {
|
|
8
|
+
[key: string]: IntersectionObserverEntry;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
type ClickScroll = {
|
|
12
|
+
target: HTMLElement;
|
|
13
|
+
scrollMargin: number;
|
|
14
|
+
closestDistance: number;
|
|
15
|
+
reached: boolean;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
const TARGET_TOLERANCE = 2;
|
|
19
|
+
|
|
20
|
+
export function useActiveHeading(
|
|
21
|
+
contentElement: HTMLDivElement | null,
|
|
22
|
+
displayedHeadings?: Array<{ id: string; depth: number } | null>,
|
|
23
|
+
): { heading: string | undefined; handleHeadingClick: (headingId: string) => void } {
|
|
24
|
+
const [heading, setHeading] = useState<string | undefined>(undefined);
|
|
25
|
+
const [headingElements, setHeadingElements] = useState<HTMLElement[]>([]);
|
|
26
|
+
const headingElementsRef = useRef<HeadingEntry>({});
|
|
27
|
+
const displayedHeadingsRef = useRef(displayedHeadings);
|
|
28
|
+
const lockObserver = useRef<boolean>(false);
|
|
29
|
+
const clickScroll = useRef<ClickScroll | null>(null);
|
|
30
|
+
const location = useLocation();
|
|
31
|
+
|
|
32
|
+
useEffect(() => {
|
|
33
|
+
setHeading(undefined);
|
|
34
|
+
headingElementsRef.current = {};
|
|
35
|
+
clickScroll.current = null;
|
|
36
|
+
lockObserver.current = false;
|
|
37
|
+
}, [location.pathname]);
|
|
38
|
+
|
|
39
|
+
useEffect(() => {
|
|
40
|
+
displayedHeadingsRef.current = displayedHeadings;
|
|
41
|
+
}, [displayedHeadings]);
|
|
42
|
+
|
|
43
|
+
const getVisibleHeadings = () => {
|
|
44
|
+
const visibleHeadings: IntersectionObserverEntry[] = [];
|
|
45
|
+
|
|
46
|
+
for (const key in headingElementsRef.current) {
|
|
47
|
+
const headingElement = headingElementsRef.current[key];
|
|
48
|
+
|
|
49
|
+
if (headingElement.isIntersecting) {
|
|
50
|
+
visibleHeadings.push(headingElement);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
return visibleHeadings;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
const isTopOfPage = () => window.scrollY <= 50;
|
|
58
|
+
|
|
59
|
+
// Returns viewport ratio for intersection observer based on screen height
|
|
60
|
+
const getViewportRatio = () => {
|
|
61
|
+
const vh = window.innerHeight;
|
|
62
|
+
if (vh >= 1400) return 0.4;
|
|
63
|
+
if (vh >= 1000) return 0.3;
|
|
64
|
+
return 0.25;
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
const getIndexFromId = useCallback(
|
|
68
|
+
(id: string) => {
|
|
69
|
+
return headingElements.findIndex((item) => item.id === id);
|
|
70
|
+
},
|
|
71
|
+
[headingElements],
|
|
72
|
+
);
|
|
73
|
+
|
|
74
|
+
const findHeaders = (allContent: HTMLDivElement) => {
|
|
75
|
+
const allHeaders = allContent.querySelectorAll<HTMLElement>(`.${HEADING_ANCHOR_CLASS}`);
|
|
76
|
+
const headers = Array.from(allHeaders);
|
|
77
|
+
|
|
78
|
+
if (displayedHeadingsRef.current && displayedHeadingsRef.current.length > 0) {
|
|
79
|
+
// Resolve targets by id so anchors that are not headings (e.g. numbered
|
|
80
|
+
// list items with a lifted headline) can be scrolled to and tracked.
|
|
81
|
+
return displayedHeadingsRef.current
|
|
82
|
+
.map((heading) =>
|
|
83
|
+
heading?.id ? allContent.querySelector<HTMLElement>(`[id="${heading.id}"]`) : null,
|
|
84
|
+
)
|
|
85
|
+
.filter((element): element is HTMLElement => element !== null);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
return headers;
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
const calculateVirtualPositions = useCallback((headers: HTMLElement[]) => {
|
|
92
|
+
if (!headers.length) return {};
|
|
93
|
+
|
|
94
|
+
const navbarHeight = document.querySelector('nav')?.getBoundingClientRect().height || 0;
|
|
95
|
+
const viewportHeight = window.innerHeight;
|
|
96
|
+
const triggerOffset = navbarHeight + viewportHeight * 0.25;
|
|
97
|
+
|
|
98
|
+
const lastHeader = headers[headers.length - 1];
|
|
99
|
+
const lastHeaderTop = lastHeader.offsetTop;
|
|
100
|
+
const maxScrollableHeight = document.body.scrollHeight - viewportHeight;
|
|
101
|
+
|
|
102
|
+
const requiredUplift = Math.max(0, lastHeaderTop - maxScrollableHeight + triggerOffset);
|
|
103
|
+
|
|
104
|
+
const virtualPositions: Record<string, number> = {};
|
|
105
|
+
|
|
106
|
+
for (let i = 0; i < headers.length; i++) {
|
|
107
|
+
const header = headers[i];
|
|
108
|
+
const headerTop = header.offsetTop;
|
|
109
|
+
|
|
110
|
+
const normalizedPosition = headers.length === 1 ? 0 : i / (headers.length - 1);
|
|
111
|
+
|
|
112
|
+
const adjustmentFactor = enhancedSmoothstep(normalizedPosition, 0.4);
|
|
113
|
+
|
|
114
|
+
const uplift = requiredUplift * adjustmentFactor;
|
|
115
|
+
const virtualTop = headerTop - uplift;
|
|
116
|
+
|
|
117
|
+
virtualPositions[header.id] = virtualTop;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
return virtualPositions;
|
|
121
|
+
}, []);
|
|
122
|
+
|
|
123
|
+
const getTriggerOffset = useCallback(() => {
|
|
124
|
+
const navbarHeight = document.querySelector('nav')?.getBoundingClientRect().height || 0;
|
|
125
|
+
return navbarHeight + window.innerHeight * getViewportRatio();
|
|
126
|
+
}, []);
|
|
127
|
+
|
|
128
|
+
const findActiveHeaderByVirtualPosition = useCallback(
|
|
129
|
+
(headers: HTMLElement[], scrollY: number, triggerOffset: number) => {
|
|
130
|
+
const virtualPositions = calculateVirtualPositions(headers);
|
|
131
|
+
|
|
132
|
+
let activeHeader = headers[0];
|
|
133
|
+
for (const header of headers) {
|
|
134
|
+
const virtualTop = virtualPositions[header.id] || header.offsetTop;
|
|
135
|
+
if (virtualTop <= scrollY + triggerOffset) {
|
|
136
|
+
activeHeader = header;
|
|
137
|
+
} else {
|
|
138
|
+
break;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
return activeHeader;
|
|
142
|
+
},
|
|
143
|
+
[calculateVirtualPositions],
|
|
144
|
+
);
|
|
145
|
+
|
|
146
|
+
const intersectionCallback = useCallback(
|
|
147
|
+
(entries: IntersectionObserverEntry[]) => {
|
|
148
|
+
headingElementsRef.current = entries.reduce(
|
|
149
|
+
(map: HeadingEntry, entry: IntersectionObserverEntry) => {
|
|
150
|
+
map[entry.target.id] = entry;
|
|
151
|
+
return map;
|
|
152
|
+
},
|
|
153
|
+
headingElementsRef.current,
|
|
154
|
+
);
|
|
155
|
+
|
|
156
|
+
if (lockObserver.current) {
|
|
157
|
+
return;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
if (isTopOfPage()) {
|
|
161
|
+
const newHeading = headingElements[0]?.id || undefined;
|
|
162
|
+
setHeading(newHeading);
|
|
163
|
+
return;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
const visibleHeadings = getVisibleHeadings();
|
|
167
|
+
if (!visibleHeadings.length) {
|
|
168
|
+
const triggerOffset = getTriggerOffset();
|
|
169
|
+
|
|
170
|
+
if (isTopOfPage()) {
|
|
171
|
+
setHeading(headingElements[0]?.id || undefined);
|
|
172
|
+
return;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
const totalHeight = window.scrollY + window.innerHeight;
|
|
176
|
+
if (totalHeight >= document.body.scrollHeight - 10) {
|
|
177
|
+
setHeading(headingElements[headingElements.length - 1]?.id || undefined);
|
|
178
|
+
return;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
const activeHeader = findActiveHeaderByVirtualPosition(
|
|
182
|
+
headingElements,
|
|
183
|
+
window.scrollY,
|
|
184
|
+
triggerOffset,
|
|
185
|
+
);
|
|
186
|
+
setHeading(activeHeader.id);
|
|
187
|
+
return;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
if (visibleHeadings.length === 1) {
|
|
191
|
+
setHeading(visibleHeadings[0].target.id);
|
|
192
|
+
return;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
visibleHeadings.sort((a, b) => {
|
|
196
|
+
return getIndexFromId(a.target.id) - getIndexFromId(b.target.id);
|
|
197
|
+
});
|
|
198
|
+
|
|
199
|
+
const firstVisibleHeading = visibleHeadings[0];
|
|
200
|
+
|
|
201
|
+
if (getIndexFromId(firstVisibleHeading.target.id) === 0 && isTopOfPage()) {
|
|
202
|
+
setHeading(firstVisibleHeading.target.id);
|
|
203
|
+
return;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
const totalHeight = scrollY + window.innerHeight;
|
|
207
|
+
if (totalHeight >= document.body.scrollHeight - 10) {
|
|
208
|
+
setHeading(visibleHeadings[visibleHeadings.length - 1].target.id);
|
|
209
|
+
return;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
setHeading(visibleHeadings[0].target.id);
|
|
213
|
+
},
|
|
214
|
+
[getIndexFromId, headingElements, getTriggerOffset, findActiveHeaderByVirtualPosition],
|
|
215
|
+
);
|
|
216
|
+
|
|
217
|
+
const releaseClickScroll = useCallback(() => {
|
|
218
|
+
clickScroll.current = null;
|
|
219
|
+
lockObserver.current = false;
|
|
220
|
+
}, []);
|
|
221
|
+
|
|
222
|
+
const trackClickScroll = useCallback(() => {
|
|
223
|
+
const clickScrollState = clickScroll.current;
|
|
224
|
+
if (!clickScrollState) {
|
|
225
|
+
return;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
const { top } = clickScrollState.target.getBoundingClientRect();
|
|
229
|
+
|
|
230
|
+
if (clickScrollState.reached) {
|
|
231
|
+
if (top >= 0 && top <= getTriggerOffset()) {
|
|
232
|
+
return;
|
|
233
|
+
}
|
|
234
|
+
} else {
|
|
235
|
+
const distance = Math.abs(top - clickScrollState.scrollMargin);
|
|
236
|
+
|
|
237
|
+
if (distance <= TARGET_TOLERANCE) {
|
|
238
|
+
clickScrollState.reached = true;
|
|
239
|
+
return;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
if (distance <= clickScrollState.closestDistance + TARGET_TOLERANCE) {
|
|
243
|
+
clickScrollState.closestDistance = Math.min(clickScrollState.closestDistance, distance);
|
|
244
|
+
return;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
releaseClickScroll();
|
|
249
|
+
intersectionCallback([]);
|
|
250
|
+
}, [releaseClickScroll, intersectionCallback, getTriggerOffset]);
|
|
251
|
+
|
|
252
|
+
const handleHeadingClick = useCallback(
|
|
253
|
+
(headingId: string) => {
|
|
254
|
+
releaseClickScroll();
|
|
255
|
+
setHeading(headingId);
|
|
256
|
+
|
|
257
|
+
const target =
|
|
258
|
+
document.getElementById(headingId) || headingElements.find((el) => el.id === headingId);
|
|
259
|
+
|
|
260
|
+
if (!target?.scrollIntoView) {
|
|
261
|
+
return;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
target.scrollIntoView({ behavior: 'smooth', block: 'start' });
|
|
265
|
+
|
|
266
|
+
if (!target.getClientRects().length) {
|
|
267
|
+
return;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
const scrollMargin = parseFloat(getComputedStyle(target).scrollMarginTop) || 0;
|
|
271
|
+
const distance = Math.abs(target.getBoundingClientRect().top - scrollMargin);
|
|
272
|
+
|
|
273
|
+
lockObserver.current = true;
|
|
274
|
+
clickScroll.current = {
|
|
275
|
+
target,
|
|
276
|
+
scrollMargin,
|
|
277
|
+
closestDistance: distance,
|
|
278
|
+
reached: distance <= TARGET_TOLERANCE,
|
|
279
|
+
};
|
|
280
|
+
},
|
|
281
|
+
[headingElements, releaseClickScroll],
|
|
282
|
+
);
|
|
283
|
+
|
|
284
|
+
useEffect(() => {
|
|
285
|
+
if (!contentElement) {
|
|
286
|
+
return;
|
|
287
|
+
}
|
|
288
|
+
const headers = findHeaders(contentElement);
|
|
289
|
+
// oxlint-disable-next-line react-you-might-not-need-an-effect/no-chain-state-updates -- headings and the initial active heading come from DOM queries and scroll measurement, available only after layout
|
|
290
|
+
setHeadingElements(headers);
|
|
291
|
+
|
|
292
|
+
if (headers.length > 0 && !heading) {
|
|
293
|
+
if (isTopOfPage()) {
|
|
294
|
+
// oxlint-disable-next-line react-you-might-not-need-an-effect/no-chain-state-updates -- see above
|
|
295
|
+
setHeading(headers[0].id);
|
|
296
|
+
} else {
|
|
297
|
+
const totalHeight = scrollY + window.innerHeight;
|
|
298
|
+
if (totalHeight >= document.body.scrollHeight - 10) {
|
|
299
|
+
// oxlint-disable-next-line react-you-might-not-need-an-effect/no-chain-state-updates -- see above
|
|
300
|
+
setHeading(headers[headers.length - 1]?.id || undefined);
|
|
301
|
+
} else {
|
|
302
|
+
const triggerOffset = getTriggerOffset();
|
|
303
|
+
const activeHeader = findActiveHeaderByVirtualPosition(headers, scrollY, triggerOffset);
|
|
304
|
+
// oxlint-disable-next-line react-you-might-not-need-an-effect/no-chain-state-updates -- see above
|
|
305
|
+
setHeading(activeHeader.id);
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
}, [
|
|
310
|
+
contentElement,
|
|
311
|
+
location,
|
|
312
|
+
heading,
|
|
313
|
+
calculateVirtualPositions,
|
|
314
|
+
getTriggerOffset,
|
|
315
|
+
findActiveHeaderByVirtualPosition,
|
|
316
|
+
]);
|
|
317
|
+
|
|
318
|
+
useEffect(() => {
|
|
319
|
+
if (!headingElements?.length) {
|
|
320
|
+
return;
|
|
321
|
+
}
|
|
322
|
+
headingElementsRef.current = {};
|
|
323
|
+
|
|
324
|
+
const triggerOffset = getTriggerOffset();
|
|
325
|
+
|
|
326
|
+
const observer = new IntersectionObserver(intersectionCallback, {
|
|
327
|
+
rootMargin: `-${triggerOffset}px 0px -${window.innerHeight * getViewportRatio()}px 0px`,
|
|
328
|
+
threshold: [0, 0.1, 0.3, 0.5, 0.7, 1],
|
|
329
|
+
});
|
|
330
|
+
|
|
331
|
+
headingElements.forEach((element) => {
|
|
332
|
+
observer.observe(element);
|
|
333
|
+
});
|
|
334
|
+
|
|
335
|
+
const handleScroll = () => {
|
|
336
|
+
if (clickScroll.current) {
|
|
337
|
+
trackClickScroll();
|
|
338
|
+
return;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
if (isTopOfPage()) {
|
|
342
|
+
setHeading(headingElements[0]?.id || undefined);
|
|
343
|
+
}
|
|
344
|
+
};
|
|
345
|
+
|
|
346
|
+
window.addEventListener('scroll', handleScroll, { passive: true });
|
|
347
|
+
|
|
348
|
+
return () => {
|
|
349
|
+
observer.disconnect();
|
|
350
|
+
window.removeEventListener('scroll', handleScroll);
|
|
351
|
+
};
|
|
352
|
+
}, [headingElements, intersectionCallback, getTriggerOffset, trackClickScroll]);
|
|
353
|
+
|
|
354
|
+
return { heading, handleHeadingClick };
|
|
355
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { useThemeHooks } from './use-theme-hooks';
|
|
2
|
+
|
|
3
|
+
export function useActivePageVersion(): string | undefined {
|
|
4
|
+
const { usePageVersions } = useThemeHooks();
|
|
5
|
+
const { versions } = usePageVersions();
|
|
6
|
+
const activeVersion = versions.find((version) => version.active);
|
|
7
|
+
|
|
8
|
+
return activeVersion?.version;
|
|
9
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { useEffect, useState, useMemo } from 'react';
|
|
2
|
+
import throttle from 'lodash.throttle';
|
|
3
|
+
|
|
4
|
+
import type { Location } from 'react-router';
|
|
5
|
+
|
|
6
|
+
import { useNavbarHeight } from './use-navbar-height';
|
|
7
|
+
import { IS_BROWSER } from '../utils/dom';
|
|
8
|
+
|
|
9
|
+
export type UseActiveSectionIdReturnType = string;
|
|
10
|
+
|
|
11
|
+
/** Px below the top where the active section is read (accounts for next-section visibility). */
|
|
12
|
+
export const SECTION_READING_LINE_OFFSET = 150;
|
|
13
|
+
|
|
14
|
+
export function useActiveSectionId(
|
|
15
|
+
location: Location,
|
|
16
|
+
hasOverviewPage = false,
|
|
17
|
+
withNavbar = true,
|
|
18
|
+
sectionOffset = SECTION_READING_LINE_OFFSET,
|
|
19
|
+
): UseActiveSectionIdReturnType {
|
|
20
|
+
const [itemId, setItemId] = useState<string>('');
|
|
21
|
+
const navbarHeight = useNavbarHeight(location);
|
|
22
|
+
const heightOffset = (withNavbar ? navbarHeight : 0) + sectionOffset;
|
|
23
|
+
|
|
24
|
+
const scrollListener = useMemo(
|
|
25
|
+
() =>
|
|
26
|
+
throttle(() => {
|
|
27
|
+
if (!IS_BROWSER) {
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
const sections = document.querySelectorAll('[data-section-id]');
|
|
32
|
+
if (sections.length < 2) {
|
|
33
|
+
setItemId('');
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
if (window.scrollY <= 0) {
|
|
38
|
+
setItemId(sections[0].getAttribute('data-section-id') || '');
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
for (let i = 0; i < sections.length; i++) {
|
|
43
|
+
const section = sections[i];
|
|
44
|
+
const rect = section.getBoundingClientRect();
|
|
45
|
+
if (rect.y < heightOffset && rect.bottom > heightOffset) {
|
|
46
|
+
if (isSkippedContent(section)) continue;
|
|
47
|
+
setItemId(section.getAttribute('data-section-id') || '');
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
if (hasOverviewPage) {
|
|
52
|
+
setItemId('');
|
|
53
|
+
}
|
|
54
|
+
}, 150),
|
|
55
|
+
[heightOffset, hasOverviewPage],
|
|
56
|
+
);
|
|
57
|
+
|
|
58
|
+
useEffect(() => {
|
|
59
|
+
if (!IS_BROWSER) {
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
window.addEventListener('scroll', scrollListener, { capture: false });
|
|
64
|
+
const initialRead = setTimeout(() => {
|
|
65
|
+
scrollListener();
|
|
66
|
+
}, 10);
|
|
67
|
+
|
|
68
|
+
return () => {
|
|
69
|
+
clearTimeout(initialRead);
|
|
70
|
+
scrollListener.cancel();
|
|
71
|
+
window.removeEventListener('scroll', scrollListener);
|
|
72
|
+
};
|
|
73
|
+
}, [location, heightOffset, scrollListener]);
|
|
74
|
+
|
|
75
|
+
return itemId;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
function isSkippedContent(element: Element): boolean {
|
|
79
|
+
return (
|
|
80
|
+
typeof element.checkVisibility === 'function' &&
|
|
81
|
+
!element.checkVisibility({ contentVisibilityAuto: true })
|
|
82
|
+
);
|
|
83
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { useEffect, useState } from 'react';
|
|
2
|
+
|
|
3
|
+
export const useAnchorPositioning = (): { isSupported: boolean } => {
|
|
4
|
+
const [isSupported, setIsSupported] = useState(false);
|
|
5
|
+
|
|
6
|
+
useEffect(() => {
|
|
7
|
+
setIsSupported(isAnchorPositioningSupported());
|
|
8
|
+
}, []);
|
|
9
|
+
|
|
10
|
+
return { isSupported };
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
function isAnchorPositioningSupported(): boolean {
|
|
14
|
+
if (typeof CSS === 'undefined' || typeof CSS.supports !== 'function') {
|
|
15
|
+
return false;
|
|
16
|
+
}
|
|
17
|
+
return (
|
|
18
|
+
CSS.supports('anchor-name: --a') &&
|
|
19
|
+
CSS.supports('position-anchor: --a') &&
|
|
20
|
+
CSS.supports('top: anchor(top)')
|
|
21
|
+
);
|
|
22
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { useMemo } from 'react';
|
|
2
|
+
|
|
3
|
+
import type { DisplayBanner } from '@redocly/theme/components/Banner/Banner';
|
|
4
|
+
|
|
5
|
+
import { useThemeHooks } from './use-theme-hooks';
|
|
6
|
+
import { getBaseDataAttributes } from '../utils/telemetry/get-base-data-attributes';
|
|
7
|
+
|
|
8
|
+
const noop = (): void => {};
|
|
9
|
+
const noopLink = (_href: string): void => {};
|
|
10
|
+
|
|
11
|
+
export type BannerTelemetryActions = {
|
|
12
|
+
sendBannerViewedMessage: () => void;
|
|
13
|
+
sendBannerDismissedMessage: () => void;
|
|
14
|
+
sendBannerLinkClickedMessage: (href: string) => void;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export function useBannerTelemetry(
|
|
18
|
+
displayBanner: DisplayBanner | undefined,
|
|
19
|
+
): BannerTelemetryActions {
|
|
20
|
+
const { useTelemetry } = useThemeHooks();
|
|
21
|
+
const telemetry = useTelemetry();
|
|
22
|
+
|
|
23
|
+
return useMemo(() => {
|
|
24
|
+
if (!displayBanner) {
|
|
25
|
+
return {
|
|
26
|
+
sendBannerViewedMessage: noop,
|
|
27
|
+
sendBannerDismissedMessage: noop,
|
|
28
|
+
sendBannerLinkClickedMessage: noopLink,
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
const payload = {
|
|
33
|
+
...getBaseDataAttributes<'bannerId', 'banner', 'urn:redocly:realm:ui:banner:bannerId'>(
|
|
34
|
+
'bannerId',
|
|
35
|
+
'banner',
|
|
36
|
+
),
|
|
37
|
+
trackingId: displayBanner.trackingId,
|
|
38
|
+
hash: displayBanner.hash,
|
|
39
|
+
color: displayBanner.color,
|
|
40
|
+
target: displayBanner.target,
|
|
41
|
+
dismissible: displayBanner.dismissible,
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
return {
|
|
45
|
+
sendBannerViewedMessage: () => {
|
|
46
|
+
telemetry.sendBannerViewedMessage([payload]);
|
|
47
|
+
},
|
|
48
|
+
sendBannerDismissedMessage: () => {
|
|
49
|
+
const { dismissible: _, ...dismissedPayload } = payload;
|
|
50
|
+
telemetry.sendBannerDismissedMessage([dismissedPayload]);
|
|
51
|
+
},
|
|
52
|
+
sendBannerLinkClickedMessage: (href: string) => {
|
|
53
|
+
telemetry.sendBannerLinkClickedMessage([{ ...payload, href }]);
|
|
54
|
+
},
|
|
55
|
+
};
|
|
56
|
+
}, [displayBanner, telemetry]);
|
|
57
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { useEffect, useState, useCallback, useMemo } from 'react';
|
|
2
|
+
|
|
3
|
+
import type { CodeBlockItems } from '../../components/CodeBlock/CodeBlock';
|
|
4
|
+
|
|
5
|
+
type CodeBlockTabsProps = {
|
|
6
|
+
tabs: CodeBlockItems;
|
|
7
|
+
containerRef: React.RefObject<HTMLDivElement | null>;
|
|
8
|
+
tabRefs: React.RefObject<HTMLButtonElement[]>;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export function useCodeBlockTabsControls({ tabs, containerRef, tabRefs }: CodeBlockTabsProps) {
|
|
12
|
+
const [showControls, setShowControls] = useState(false);
|
|
13
|
+
|
|
14
|
+
const tabsWidth = useMemo(
|
|
15
|
+
() =>
|
|
16
|
+
tabRefs?.current?.reduce((acc, tabRef) => {
|
|
17
|
+
return tabRef ? acc + tabRef.offsetWidth : acc;
|
|
18
|
+
}, 0) || 0,
|
|
19
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
20
|
+
[tabRefs?.current?.length],
|
|
21
|
+
);
|
|
22
|
+
|
|
23
|
+
const { currentIndex, isFirstTab, isLastTab } = useMemo(() => {
|
|
24
|
+
const currentIndex = tabs.items.findIndex((file) => file.name === tabs.value);
|
|
25
|
+
return {
|
|
26
|
+
currentIndex,
|
|
27
|
+
isFirstTab: currentIndex === 0,
|
|
28
|
+
isLastTab: currentIndex === tabs.items.length - 1,
|
|
29
|
+
};
|
|
30
|
+
}, [tabs]);
|
|
31
|
+
|
|
32
|
+
useEffect(() => {
|
|
33
|
+
if (containerRef.current) {
|
|
34
|
+
const container = containerRef.current;
|
|
35
|
+
const resizeObserver = new ResizeObserver((entries) => {
|
|
36
|
+
const containerWidth = entries[0].contentRect.width;
|
|
37
|
+
|
|
38
|
+
setShowControls(tabsWidth > containerWidth);
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
resizeObserver.observe(container);
|
|
42
|
+
|
|
43
|
+
return () => {
|
|
44
|
+
resizeObserver.unobserve(container as HTMLDivElement);
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
48
|
+
}, [containerRef.current]);
|
|
49
|
+
|
|
50
|
+
const handlePrevTab = useCallback(() => {
|
|
51
|
+
if (!isFirstTab) {
|
|
52
|
+
const prevTab = tabs.items[currentIndex - 1].name;
|
|
53
|
+
tabs.onChange(prevTab);
|
|
54
|
+
}
|
|
55
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
56
|
+
}, [currentIndex]);
|
|
57
|
+
|
|
58
|
+
const handleNextTab = useCallback(() => {
|
|
59
|
+
if (!isLastTab) {
|
|
60
|
+
const nextTab = tabs.items[currentIndex + 1].name;
|
|
61
|
+
tabs.onChange(nextTab);
|
|
62
|
+
}
|
|
63
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
64
|
+
}, [currentIndex]);
|
|
65
|
+
|
|
66
|
+
return { showControls, handlePrevTab, handleNextTab };
|
|
67
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { useMemo, useCallback } from 'react';
|
|
2
|
+
|
|
3
|
+
import { useMount } from '@redocly/theme/core/hooks';
|
|
4
|
+
|
|
5
|
+
import { useThemeConfig } from './use-theme-config';
|
|
6
|
+
import { useThemeHooks } from './use-theme-hooks';
|
|
7
|
+
import { createStore, useStore } from './use-store';
|
|
8
|
+
import { DEFAULT_COLOR_MODES } from '../constants';
|
|
9
|
+
import { generateBeforeAfterContext } from '../utils';
|
|
10
|
+
|
|
11
|
+
const COLOR_MODE_KEY = 'colorSchema';
|
|
12
|
+
const colorModeStore = createStore<string>({
|
|
13
|
+
storageKey: COLOR_MODE_KEY,
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
export const useColorSwitcher = () => {
|
|
17
|
+
const themeSettings = useThemeConfig();
|
|
18
|
+
const { useTelemetry } = useThemeHooks();
|
|
19
|
+
const telemetry = useTelemetry();
|
|
20
|
+
const themeColorMode = themeSettings.colorMode;
|
|
21
|
+
|
|
22
|
+
const modes = useMemo(
|
|
23
|
+
() => themeColorMode?.modes || [DEFAULT_COLOR_MODES.LIGHT, DEFAULT_COLOR_MODES.DARK],
|
|
24
|
+
[themeColorMode],
|
|
25
|
+
);
|
|
26
|
+
|
|
27
|
+
const defaultMode = modes[0] || DEFAULT_COLOR_MODES.LIGHT;
|
|
28
|
+
|
|
29
|
+
const [activeColorMode, setActiveColorMode] = useStore<string>(colorModeStore, defaultMode);
|
|
30
|
+
|
|
31
|
+
useMount(() => {
|
|
32
|
+
const activeMode = Array.from(document.documentElement.classList).find((c) =>
|
|
33
|
+
modes.includes(c),
|
|
34
|
+
);
|
|
35
|
+
setActiveColorMode(activeMode || defaultMode);
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
const switchColorMode = (mode?: string): void => {
|
|
39
|
+
if (mode && !modes.includes(mode)) {
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
const activeIndex = modes.indexOf(activeColorMode);
|
|
44
|
+
const newMode = mode || (activeIndex < modes.length - 1 ? modes[activeIndex + 1] : modes[0]);
|
|
45
|
+
|
|
46
|
+
const root = document.documentElement;
|
|
47
|
+
|
|
48
|
+
modes.forEach((mode) => root.classList.remove(mode));
|
|
49
|
+
root.classList.add(newMode, 'notransition');
|
|
50
|
+
|
|
51
|
+
window.requestAnimationFrame(() => {
|
|
52
|
+
root.classList.remove('notransition');
|
|
53
|
+
});
|
|
54
|
+
telemetry.sendColorModeSwitchedMessage([
|
|
55
|
+
...generateBeforeAfterContext<'sendColorModeSwitchedMessage'>(
|
|
56
|
+
'colorMode',
|
|
57
|
+
'button',
|
|
58
|
+
{ mode: activeColorMode },
|
|
59
|
+
{ mode: newMode },
|
|
60
|
+
),
|
|
61
|
+
]);
|
|
62
|
+
setActiveColorMode(newMode);
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* @deprecated color mode is automatically initialized when the hook is mounted
|
|
67
|
+
*/
|
|
68
|
+
const initActiveColorMode = useCallback(() => {}, []);
|
|
69
|
+
|
|
70
|
+
return {
|
|
71
|
+
initActiveColorMode,
|
|
72
|
+
isSwitcherHidden: themeColorMode?.hide,
|
|
73
|
+
switchColorMode,
|
|
74
|
+
activeColorMode,
|
|
75
|
+
};
|
|
76
|
+
};
|